@use "../../foundation/import" as f; /* contact ----------------------------------- */ .p-contact { padding: 60px 0 80px; background-color: #FBC933; &__ttl { text-align: center; font-size: 3em; } &__boxs { margin: 3em 0 0; display: flex; justify-content: space-between; } &-box { width: calc(50% - 10px); padding: 1em 1em 1.2em; display: flex; justify-content: center; align-items: center; text-align: center; background-color: #FFF; border: #EBEBEB 5px solid; &--tel { padding-top: 1.4em; padding-bottom: 1.4em; } &__inner { width: 100%; display: flex; justify-content: center; align-items: center; flex-direction: column; } &__ttl { display: flex; justify-content: center; align-items: center; font-size: 2.2em; font-weight: bold; .icon { margin: 0 0.5em 0 0; } } &__btn { margin: 30px auto 0; width: calc(100% - 40px); .btn { margin: 0 auto; max-width: 540px; width: 100%; padding: 0.8em 3.2em; display: block; text-align: center; font-size: 1.6em; font-weight: bold; background: url('#{f.$imgPath}icon_button-arrow.png') #FFF no-repeat 92% 50%; background-size: 1.25em 1.25em; border-radius: 50px; border: 3px solid #EBEBEB; transition: background-color 0.3s 0s; &:hover { background-color: #FFF9D6; } } } &__tel { margin: 0.2em 0 0; font-size: 3em; font-weight: bold; a { color: #59A1C2; } } &__notes { margin: 1.2em 0 0; font-size: 0.81em; line-height: 1.5; small { font-size: 0.9em; } } } @media screen and (min-width: 768px) and (max-width: 1240px) { font-size: 1.4vw; &-box { &__ttl { .icon { width: 13%; } } } } @include f.mq(sp) { padding: 40px 0 30px; &__ttl { font-size: 8vw; } &__boxs { margin: 10vw auto 0; width: calc(100% - 20px); display: block; } &-box { margin: 4vw auto 0; width: 100%; padding: 5vw; &__ttl { font-size: 1.4em; .icon { width: 14vw; } } &__btn { margin-top: 20px; .btn { font-size: 1.2em; padding: 0.8em 2.3em; background-size: 20px auto; } } &__tel { font-size: 2.4em; } } } }