Parts
<div class="simpleButton">
<a href="#">詳細はこちら</a>
</div>
.simpleButton a {
color: #000;
display: inline-block;
line-height: 1.4em;
padding: 0.6em 3em 0.6em 2.2em;
border-radius: 2.8em;
border: #fff solid 0.2em;
position: relative;
background: #ccc;
box-shadow: 0 0.3em 0 0 rgba(0, 0, 0, 1);
transition: 0.3s all ease;
}
.simpleButton a::after {
content: "";
width: 1em;
height: 1em;
display: block;
background: url("/img/icon/long-arrow-right.svg") no-repeat center center;
background-size: 100% auto;
position: absolute;
top: 50%;
right: 1.4em;
margin-top: -0.5em;
transition: 0.3s all ease;
}
.simpleButton a:hover {
color: #000;
box-shadow: 0 0 0 0 rgba(0, 0, 0, 1);
transform: translateY(0.3em);
}
.simpleButton a:hover:active {
box-shadow: 0 -0.3em 0 0 rgba(0, 0, 0, 0.3);
transform: translateY(0.5em);
}
.simpleButton a {
color: #000;
display: inline-block;
line-height: 1.4em;
padding: 0.6em 3em 0.6em 2.2em;
border-radius: 2.8em;
border: #fff solid 0.2em;
position: relative;
background: #ccc;
box-shadow: 0 0.3em 0 0 rgba(0, 0, 0, 1);
transition: 0.3s all ease;
&::after {
content: "";
width: 1em;
height: 1em;
display: block;
background: url("/img/icon/long-arrow-right.svg") no-repeat center center;
background-size: 100% auto;
position: absolute;
top: 50%;
right: 1.4em;
margin-top: -0.5em;
transition: 0.3s all ease;
}
&:hover{
color: #000;
box-shadow: 0 0 0 0 rgba(0, 0, 0, 1);
transform: translateY(0.3em);
&:active {
box-shadow: 0 -0.3em 0 0 rgba(0, 0, 0, 0.3);
transform: translateY(0.5em);
}
}
}