@use "../../foundation/import" as f; /* steps ----------------------------------- */ .p-steps { margin: 60px 0 0; padding: 40px 24px; border: #EBEBEB 5px solid; background-color: #FFF; &__ttl { font-size: 2.6em; font-weight: bold; } &__boxs { margin: 40px 0 0; display: flex; justify-content: space-between; } &__box { width: calc(33.33% - 9px); .ttl { display: flex; justify-content: flex-start; align-items: center; font-size: 1.2em; .num { margin-right: 0.2em; width: 1.5em; height: 1.5em; padding: 0 0 0.1em; display: inline-flex; align-items: center; justify-content: center; text-align: center; font-size: 2em; line-height: 1; color: #FFF; background-color: #59A1C2; border-radius: 50%; } .text { width: calc(100% - 65px); } } .img { margin: 18px 0 0; width: 100%; display: block; } } &__notes { margin: 20px 0 0; font-size: 0.65em; p { @include f.justify; &:nth-of-type(n+2) { margin-top: 0.4em; } } } @include f.mq(sp) { margin: 10vw auto 0; width: calc(100% - 20px); padding: 8vw 2vw; font-size: 2.6vw; &__ttl { text-align: center; font-size: 19.5px; } &__boxs { margin-top: 8vw; display: block; } &__box { width: 100%; &:nth-of-type(n+2) { margin-top: 10vw; } .ttl { font-size: 2em; .num { font-size: 1.6em; } .text { font-size: 18px; } } } &__notes { margin-top: 3vw; font-size: 1.4em; line-height: 1.4; } } }