Parts
<div class="simpleButton">
<a href="#">詳細はこちら</a>
</div>
.simpleButton a {
box-shadow: 0 3px 0 0 rgba(0, 0, 0, 1), 0 4px 4px -1px rgba(0, 0, 0, 0.6),
0 4px 6px 1px rgba(0, 0, 0, 0.3), 0 1px 2px 1px rgba(0, 0, 0, 0) inset,
0 18px 32px -2px rgba(255, 255, 255, 0.1) inset;
background-color: #000;
background-image: linear-gradient(-45deg, #1a1a1a, #333333);
color: #fff;
display: inline-block;
line-height: 1.4em;
padding: 0.8em 3em 0.8em 1.6em;
border-width: 0;
border-style: solid;
border-radius: 0.27em;
vertical-align: bottom;
transition: 0.3s all ease;
position: relative;
}
.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;
filter: brightness(0) saturate(100%) invert(100%) sepia(0%) saturate(0%)
hue-rotate(228deg) brightness(106%) contrast(101%);
position: absolute;
top: 50%;
right: 1.4em;
margin-top: -0.4em;
transition: 0.3s all ease;
}
.simpleButton a:hover {
color: #fff;
box-shadow: 0 3px 0 0 rgba(0, 0, 0, 1), 0 6px 4px -1px rgba(0, 0, 0, 0.3),
0 4px 16px rgba(0, 0, 0, 0.5), 0 1px 2px 1px rgba(0, 0, 0, 0) inset,
0 18px 32px -2px rgba(255, 255, 255, 0.14) inset;
}
.simpleButton a:hover::after {
right: 1em;
}
.simpleButton a:hover:active {
box-shadow: 0 0px 0 0 rgba(0, 0, 0, 1), 0 3px 0 0 rgba(0, 0, 0, 0),
0 4px 16px rgba(0, 0, 0, 0), 0 1px 2px 1px rgba(0, 0, 0, 0.5) inset,
0 -18px 32px -2px rgba(255, 255, 255, 0.1) inset;
transition: 0s;
color: #666;
text-shadow: 0 1px 0 rgba(255, 255, 255, 0.3);
transform: translateY(3px);
}
.simpleButton a:hover:active::after {
opacity: 0.4;
}
.simpleButton {
a {
box-shadow: 0 3px 0 0 rgba(0, 0, 0, 1), 0 4px 4px -1px rgba(0, 0, 0, 0.6),
0 4px 6px 1px rgba(0, 0, 0, 0.3), 0 1px 2px 1px rgba(0, 0, 0, 0) inset,
0 18px 32px -2px rgba(255, 255, 255, 0.1) inset;
background-color: #000;
background-image: linear-gradient(-45deg, #1a1a1a, #333333);
color: #fff;
display: inline-block;
line-height: 1.4em;
padding: 0.8em 3em 0.8em 1.6em;
border-width: 0;
border-style: solid;
border-radius: 0.27em;
vertical-align: bottom;
transition: 0.3s all ease;
position: relative;
&::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;
filter: brightness(0) saturate(100%) invert(100%) sepia(0%) saturate(0%)
hue-rotate(228deg) brightness(106%) contrast(101%);
position: absolute;
top: 50%;
right: 1.4em;
margin-top: -0.4em;
transition: 0.3s all ease;
}
&:hover{
color: #fff;
box-shadow: 0 3px 0 0 rgba(0, 0, 0, 1), 0 6px 4px -1px rgba(0, 0, 0, 0.3),
0 4px 16px rgba(0, 0, 0, 0.5), 0 1px 2px 1px rgba(0, 0, 0, 0) inset,
0 18px 32px -2px rgba(255, 255, 255, 0.14) inset;
&::after {
right: 1em;
}
&:active {
box-shadow: 0 0px 0 0 rgba(0, 0, 0, 1), 0 3px 0 0 rgba(0, 0, 0, 0),
0 4px 16px rgba(0, 0, 0, 0), 0 1px 2px 1px rgba(0, 0, 0, 0.5) inset,
0 -18px 32px -2px rgba(255, 255, 255, 0.1) inset;
transition: 0s;
color: #666;
text-shadow: 0 1px 0 rgba(255, 255, 255, 0.3);
transform: translateY(3px);
&::after {
opacity: 0.4;
}
}
}
}
}