@use "../../foundation/import" as f; /* cv ----------------------------------- */ .c-cv { padding: 44px 0 52px; background-color: #F5F5F5; .l-kv + & { margin-top: -30px; //padding-top: 124px; } &__ttl { margin: 0 auto 1em; text-align: center; font-size: 1.3em; font-weight: bold; } &__area { display: flex; justify-content: center; align-items: center; } &__btn { position: relative; margin: 0 20px; display: block; width: calc(50% - 10px); max-width: 560px; padding: 0.8em 3.5em; text-align: center; font-size: 25.6px; color: #000; border-radius: 50px; background-color: #DDD; box-shadow: 0 0 6px #fff; transition: transform 0.3s 0s; &:hover { transform: scale(1.03); } &::after { content: ""; position: absolute; right: 5%; top: 27%; display: block; width: 1.25em; height: 1.25em; background: url('#{f.$imgPath}icon_button-arrow--white.png') no-repeat 0 0; background-size: contain; } span { display: inline-block; } &--yl { background: url('#{f.$imgPath}grade_yellow.png') rgba(255, 255, 255, 0) repeat 50% 50%; background-size: 1px 100%; &::before { content: ""; position: absolute; left: 10%; top: 0; bottom: 0; margin: auto; display: block; width: 1.9535em; height: 1.992em; background: url('#{f.$imgPath}icon_button-smart-phone.png') rgba(255, 255, 255, 0) repeat 0 0; background-size: 100% 100%; } } &--bl { background: url('#{f.$imgPath}grade_blue.png') rgba(255, 255, 255, 0) repeat 50% 50%; background-size: 1px 100%; &::before { content: ""; position: absolute; left: 10%; top: 0; bottom: 0; margin: auto; display: block; width: 2.031em; height: 2.149em; background: url('#{f.$imgPath}icon_button-smart-light.png') rgba(255, 255, 255, 0) repeat 0 0; background-size: 100% 100%; } } } &__link { margin: 20px auto 0; text-align: center; font-size: 14px; font-weight: normal; a { text-decoration: underline; color: #00affd; &:hover { text-decoration: none; } } } @media screen and (min-width:768px) and ( max-width:1245px) { &__btn { //font-size: 2vw; } } @include f.mq(sp) { padding: 37px 10px; .l-kv + & { margin: 5px 0 10px; padding: 20px 10px 37px; } &__ttl { margin-bottom: 0.4em; font-size: 4.6vw; line-height: 1.6; } &__area { display: block; } &__btn { margin: 4vw 0 0; width: 100%; max-width: 100%; font-size: 16px; } } }