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