Parts
<div class="simpleButton">
<a href="#">詳細はこちら</a>
</div>
.simpleButton a {
color: #000;
display: inline-block;
line-height: 1.4em;
padding: 0.5em 3em 0.5em 2.2em;
background: transparent;
border-radius: 1.46em;
vertical-align: bottom;
position: relative;
background-color: #ccc;
background-image: linear-gradient(0deg, #e0e0e0, #fafafa);
box-shadow: 0 1px 1px rgba(0, 0, 0, 0.2), 0 1px 4px rgba(0, 0, 0, 0.2),
0 2px 7px rgba(0, 0, 0, 0.3);
transition: 0.3s all ease;
}
.simpleButton a::after {
content: "";
width: 0.8em;
height: 0.8em;
display: block;
background: url("/img/icon/arrow-circle-o-right.svg") no-repeat center center;
background-size: 100% auto;
position: absolute;
top: 50%;
right: 1.4em;
margin-top: -0.4em;
transition: 0.3s all ease;
}
.simpleButton a:hover {
color: #000;
background-color: #ccc;
background-image: linear-gradient(0deg, #eee, #ddd);
box-shadow: 0 1px 1px rgba(0, 0, 0, 0.1), 0 1px 4px rgba(0, 0, 0, 0.1),
0 2px 7px rgba(0, 0, 0, 0.1);
}
.simpleButton a:hover::after {
right: 1em;
}
.simpleButton {
a {
color: #000;
display: inline-block;
line-height: 1.4em;
padding: 0.5em 3em 0.5em 2.2em;
background: transparent;
border-radius: 1.46em;
vertical-align: bottom;
position: relative;
background-color: #ccc;
background-image: linear-gradient(0deg, #e0e0e0, #fafafa);
box-shadow: 0 1px 1px rgba(0, 0, 0, 0.2), 0 1px 4px rgba(0, 0, 0, 0.2),
0 2px 7px rgba(0, 0, 0, 0.3);
transition: 0.3s all ease;
}
&::after {
content: "";
width: 0.8em;
height: 0.8em;
display: block;
background: url("/img/icon/arrow-circle-o-right.svg") no-repeat center center;
background-size: 100% auto;
position: absolute;
top: 50%;
right: 1.4em;
margin-top: -0.4em;
transition: 0.3s all ease;
}
&:hover {
color: #000;
background-color: #ccc;
background-image: linear-gradient(0deg, #eee, #ddd);
box-shadow: 0 1px 1px rgba(0, 0, 0, 0.1), 0 1px 4px rgba(0, 0, 0, 0.1),
0 2px 7px rgba(0, 0, 0, 0.1);
&::after {
right: 1em;
}
}
}