subsidy_window.scss

@import "../wp-content/themes/shipinc/scss/breakpoint.scss"; $sp-design-width: 750; // SPデザインの幅を設定 @function calcvw($num, $width: $sp-design-width) { @if $width==tablet { $width: 1024; } @else if $width==mobile { $width: 750; } @return (1vw * $num / $width * 100); } .new-container { max-width: 980px; margin: 0 auto; padding: 0 20px; box-sizing: border-box; @include mq(tablet) { padding: 0 calcvw(20, tablet); } @include mq(mobile) { padding: 0 calcvw(20, mobile); } } .subsidyWindow { &-fv { &__ttl { text-align: center; background: #3a84c1; &Image { width: 630px; height: 70px; display: inline-block; vertical-align: bottom; @include mq(tablet) { width: calcvw(630, tablet); height: calcvw(70, tablet); } @include mq(mobile) { width: calcvw(708, mobile); height: calcvw(121, mobile); } } } &__catch { padding-bottom: 30px; background: url('../../images/subsidy_window/fv_bg_pc.jpg') 50% 50% / cover no-repeat; text-align: center; box-sizing: border-box; @include mq(mobile) { padding-bottom: 0; } &Image { width: 944px; height: 470px; display: inline-block; vertical-align: bottom; @include mq(tablet) { width: calcvw(944, tablet); height: calcvw(470, tablet); } @include mq(mobile) { width: calcvw(750, mobile); height: calcvw(930, mobile); } } } } &-intro { padding-top: 60px; box-sizing: border-box; @include mq(mobile) { padding-top: 45px; } &__ttl { text-align: center; &Image { width: 442px; height: 75px; display: inline-block; vertical-align: bottom; @include mq(tablet) { width: calcvw(442, tablet); height: calcvw(75, tablet); } @include mq(mobile) { width: calcvw(632, mobile); height: calcvw(107, mobile); } } } &__list { margin: 0 -5px; padding: 30px 0 60px; display: flex; box-sizing: border-box; @include mq(mobile) { padding: 25px 0 40px; flex-wrap: wrap; } &Item { width: 25%; padding: 0 5px; box-sizing: border-box; @include mq(mobile) { width: 50%; } &:nth-of-type(n+3) { @include mq(mobile) { margin-top: 10px; } } } } &__card { padding: 30px 0 30px 50px; font-size: 1.8rem; font-weight: 500; font-feature-settings: "palt"; line-height: 1.38; border-radius: 10px; box-shadow: 0 0 10px rgba(98, 98, 98, 0.2); box-sizing: border-box; position: relative; @include mq(tablet) { font-size: calcvw(18, tablet); } @include mq(mobile) { //padding: 20px 0 20px 35px; //font-size: 13px; padding: calcvw(40, mobile) 0 calcvw(40, mobile) calcvw(80, mobile); font-size: calcvw(26, mobile); border-radius: 5px; box-shadow: 0 0 5px rgba(98, 98, 98, 0.2); } &::before { width: 24px; height: 22px; content: ""; display: inline-block; background: url('../../images/subsidy_window/intro_icon_check.jpg') 50% 50% / cover no-repeat; position: absolute; top: 25px; left: 20px; @include mq(tablet) { width: calcvw(24, tablet); height: calcvw(22, tablet); } @include mq(mobile) { // width: 17px; // height: 15px; // top: 17px; // left: 15px; width: calcvw(34, mobile); height: calcvw(31, mobile); top: calcvw(40, mobile); left: calcvw(30, mobile); } } &:after { position: absolute; } &--num01 { &:after { width: 57px; height: 50px; content: ""; display: inline-block; background: url('../../images/subsidy_window/intro_icon01.png') 50% 50% / cover no-repeat; right: -6px; bottom: 12px; @include mq(tablet) { width: calcvw(57, tablet); height: calcvw(50, tablet); } @include mq(mobile) { // width: 42px; // height: 35px; // right: -5px; // bottom: -1px; width: calcvw(83, mobile); height: calcvw(71, mobile); right: calcvw(-10, mobile); bottom: calcvw(-2, mobile); } } } &--num02 { &:after { width: 65px; height: 57px; content: ""; display: inline-block; background: url('../../images/subsidy_window/intro_icon02.png') 50% 50% / cover no-repeat; right: -6px; bottom: 12px; @include mq(tablet) { width: calcvw(65, tablet); height: calcvw(57, tablet); } @include mq(mobile) { width: calcvw(92, mobile); height: calcvw(81, mobile); right: calcvw(-13, mobile); bottom: calcvw(5, mobile); } } } &--num03 { &:after { width: 44px; height: 43px; content: ""; display: inline-block; background: url('../../images/subsidy_window/intro_icon03.png') 50% 50% / cover no-repeat; right: -6px; bottom: 8px; @include mq(tablet) { width: calcvw(44, tablet); height: calcvw(43, tablet); } @include mq(mobile) { width: calcvw(61, mobile); height: calcvw(61, mobile); right: calcvw(5, mobile); bottom: calcvw(2, mobile); } } } &--num04 { &:after { width: 47px; height: 39px; content: ""; display: inline-block; background: url('../../images/subsidy_window/intro_icon04.png') 50% 50% / cover no-repeat; right: -5px; bottom: 10px; @include mq(tablet) { width: calcvw(47, tablet); height: calcvw(39, tablet); } @include mq(mobile) { width: calcvw(68, mobile); height: calcvw(58, mobile); right: calcvw(-5, mobile); bottom: calcvw(3, mobile); } } } } &__catch { padding: 20px 0 0; background: url('../../images/subsidy_window/intro_bg02_pc.jpg') 50% 50% / cover no-repeat; position: relative; box-sizing: border-box; text-align: center; @include mq(mobile) { padding-top: 0; background: url('../../images/subsidy_window/intro_bg02_sp.jpg') 50% 50% / cover no-repeat; } &::before { content: ""; width: 100%; height: 50px; margin: auto; background: url('../../images/subsidy_window/intro_bg01_pc.png') 50% 0% / auto 100% no-repeat; position: absolute; top: 0; right: 0; left: 0; display: inline-block; z-index: 5; @include mq(tablet) { height: calcvw(50, tablet); } @include mq(mobile) { height: calcvw(60, mobile); background: url('../../images/subsidy_window/intro_bg01_sp.png') 50% 0% / auto 100% no-repeat; } } &Image { width: 830px; height: 252px; display: inline-block; vertical-align: bottom; @include mq(tablet) { width: calcvw(830, tablet); height: calcvw(252, tablet); } @include mq(mobile) { width: calcvw(750, mobile); height: calcvw(348, mobile); } } } } &-recommend { padding-bottom: 40px; box-sizing: border-box; @include mq(tablet) { padding-bottom: 20px; } &__ttl { text-align: center; &--pt02 { padding: 40px 0; background: url('../../images/subsidy_window/recommend_bg_pc.jpg') 50% 50% / cover no-repeat; box-sizing: border-box; @include mq(tablet) { padding: 20px 0 15px; } @include mq(mobile) { background: url('../../images/subsidy_window/recommend_bg_sp.jpg') 50% 50% / cover no-repeat; } } &Belt { padding: 20px 0; background: #ed6942; box-sizing: border-box; @include mq(tablet) { padding: 18px 0; } } &Image { display: inline-block; vertical-align: bottom; &--01 { width: 400px; height: 37px; @include mq(tablet) { width: calcvw(400, tablet); height: calcvw(37, tablet); } @include mq(mobile) { width: calcvw(527, mobile); height: calcvw(48, mobile); } } &--02 { width: 514px; height: 37px; @include mq(tablet) { width: calcvw(514, tablet); height: calcvw(37, tablet); } @include mq(mobile) { width: calcvw(677, mobile); height: calcvw(48, mobile); } } } } &__box { margin-top: 40px; @include mq(tablet) { margin-top: 20px; } &Item {} &Item+&Item { margin-top: 40px; @include mq(tablet) { margin-top: 30px; } } } &__card { border-radius: 10px; box-shadow: 0 0 20px rgba(0, 0, 0, 0.3); overflow: hidden; @include mq(tablet) { box-shadow: 0 0 10px rgba(0, 0, 0, 0.3); } &Head {} &Body { padding: 10px 30px 20px; box-sizing: border-box; @include mq(tablet) { padding: 10px 10px 20px; } } &Info { &Item { position: relative; box-sizing: border-box; display: flex; align-items: flex-start; @include mq(tablet) { display: block; } } &Item+&Item { margin-top: 10px; padding-top: 10px; &::before { content: ""; display: block; background: url('../../images/subsidy_window/recommend_dot.png') 0% 0% / auto 100% repeat-x; content: ''; display: inline-block; height: 4px; width: 100%; position: absolute; top: -2px; @include mq(tablet) { height: 2px; top: -1px; left: 0; } } } &Label { width: 130px; margin-right: 20px; padding: 10px; font-size: 2rem; font-weight: 700; line-height: 1; text-align: center; color: #fff; background: #ed6942; border-radius: 20px; box-sizing: border-box; flex-shrink: 0; @include mq(tablet) { width: 85px; margin-right: 15px; font-size: 1.4rem; float: left; } } &Desc { @include mq(tablet) { padding-top: 10px; box-sizing: border-box; } } &Text { font-size: 1.6rem; font-weight: 500; line-height: 1.75; @include mq(tablet) { font-size: 1.2rem; } } } } } &-supplement { padding: 60px 0; box-sizing: border-box; @include mq(tablet) { padding: 30px 0 50px; } &__wrap { max-width: 940px; margin: 0 auto; } &__head {} &__ttl { padding: 20px 0; text-align: center; background: #3a84c1; box-sizing: border-box; &Image { width: 478px; height: 35px; display: inline-block; vertical-align: bottom; @include mq(tablet) { width: calcvw(478, tablet); height: calcvw(35, tablet); } @include mq(mobile) { width: calcvw(665, mobile); height: calcvw(49, mobile); } } } &__body { margin: 30px -20px 0; display: flex; @include mq(mobile) { margin: 25px 0 0; flex-direction: column; } } &__desc { width: 50%; padding: 0 20px; box-sizing: border-box; @include mq(mobile) { width: 100%; padding: 0; } } &__text { font-size: 1.6rem; font-weight: 500; line-height: 1.75; @include mq(mobile) { font-size: 1.2rem; } } &__thumb { width: 50%; padding: 0 20px; box-sizing: border-box; @include mq(mobile) { width: 100%; margin-top: 20px; padding: 0; } } } &-case { padding: 60px 0; background: #ebf9f9; box-shadow: 0 0 20px rgba(0, 0, 0, 0.3); box-sizing: border-box; position: relative; @include mq(mobile) { padding: 45px 0 40px; box-shadow: 0 0 20px rgba(0, 0, 0, 0.3); } &__ttl { text-align: center; &Image { width: 279px; height: 126px; display: inline-block; vertical-align: bottom; @include mq(tablet) { width: calcvw(279, tablet); height: calcvw(126, tablet); } @include mq(mobile) { width: calcvw(648, mobile); height: calcvw(107, mobile); } } } &__box { margin-top: 40px; @include mq(mobile) { margin-top: 25px; } &Item {} &Item+&Item { margin-top: 40px; @include mq(mobile) { margin-top: 15px; } } } &__card { padding: 40px 40px 35px; border-radius: 10px; background: #fff; box-sizing: border-box; @include mq(mobile) { padding: 15px 15px 25px; border-radius: 5px; } &Head {} &Ttl {} &Body { margin-top: 30px; @include mq(mobile) { margin-top: 20px; } } &Text { font-size: 1.6rem; font-weight: 500; line-height: 1.75; @include mq(mobile) { font-size: 1.2rem; } } &Supplement { margin-top: 20px; font-size: 1.8rem; font-weight: 700; line-height: 1.66; @include mq(mobile) { margin-top: 15px; font-size: 1.4rem; } } } } &-reason { padding: 60px 0 30px; box-sizing: border-box; @include mq(mobile) { padding: 35px 0 30px; } &__ttl { text-align: center; &Image { width: 417px; height: 128px; display: inline-block; vertical-align: bottom; @include mq(tablet) { width: calcvw(417, tablet); height: calcvw(128, tablet); } @include mq(mobile) { width: calcvw(596, mobile); height: calcvw(178, mobile); } } } &__box { margin-top: 40px; @include mq(mobile) { margin-top: 25px; } &Item {} &Item+&Item { margin-top: 40px; @include mq(mobile) { margin-top: 30px; } } } &__card { background: #fff; border-radius: 10px; box-shadow: 0 0 20px rgba(0, 0, 0, 0.3); overflow: hidden; box-sizing: border-box; @include mq(mobile) { border-radius: 5px; box-shadow: 0 0 10px rgba(0, 0, 0, 0.3); } &Head { padding: 10px 20px; background: #ec6942; box-sizing: border-box; @include mq(mobile) { padding: 10px 15px; } } &Ttl { &Image { display: inline-block; vertical-align: bottom; &--01 { width: 615px; height: 100px; @include mq(tablet) { width: calcvw(615, tablet); height: calcvw(100, tablet); } @include mq(mobile) { width: calcvw(511, mobile); height: calcvw(147, mobile); } } &--02 { width: 723px; height: 100px; @include mq(tablet) { width: calcvw(723, tablet); height: calcvw(100, tablet); } @include mq(mobile) { width: calcvw(524, mobile); height: calcvw(100, mobile); } } &--03 { width: 659px; height: 100px; @include mq(tablet) { width: calcvw(659, tablet); height: calcvw(100, tablet); } @include mq(mobile) { width: calcvw(472, mobile); height: calcvw(147, mobile); } } } } &Body { padding: 35px 40px; background: #fff; box-sizing: border-box; @include mq(mobile) { padding: 20px 15px; } &--yellow { background: #fcffad; } } &Text { font-size: 1.6rem; font-weight: 500; line-height: 1.75; @include mq(mobile) { font-size: 1.2rem; } strong { color: #ff3600; font-weight: 700; } } &Thumb { margin: 35px 0; @include mq(mobile) { margin: 20px 0; } } } } &-qa { padding: 60px 0; background: #ebf9f9; box-shadow: 0 0 20px rgba(0, 0, 0, 0.3); box-sizing: border-box; position: relative; @include mq(mobile) { padding: 50px 0 40px; box-shadow: 0 0 10px rgba(0, 0, 0, 0.3); } &__ttl { text-align: center; &Image { width: 240px; height: 76px; display: inline-block; vertical-align: bottom; @include mq(tablet) { width: calcvw(240, tablet); height: calcvw(76, tablet); } @include mq(mobile) { width: calcvw(342, mobile); height: calcvw(108, mobile); } } } &__box { margin-top: 40px; @include mq(mobile) { margin-top: 25px; } &Item {} &Item+&Item { margin-top: 20px; } } &__card { padding: 30px 40px 35px 80px; border-radius: 10px; background: #fff; box-sizing: border-box; @include mq(mobile) { padding: 25px 15px 25px 45px; } &Head {} &Ttl { font-size: 2.4rem; font-weight: 700; line-height: 1.6; color: #ec6942; position: relative; @include mq(mobile) { font-size: 1.6rem; } &::before { content: "Q."; position: absolute; right: 100%; } } &Body { margin-top: 25px; @include mq(mobile) { margin-top: 20px; } } &Text { font-size: 1.6rem; font-weight: 500; line-height: 1.75; position: relative; @include mq(mobile) { font-size: 1.2rem; } &::before { font-size: 2.4rem; font-weight: 700; line-height: 1.6; content: "A."; position: absolute; top: -8px; right: 100%; @include mq(mobile) { font-size: 1.6rem; top: -4px; } } } } } &-form { padding-bottom: 40px; box-sizing: border-box; &__ttl { padding: 40px 0; text-align: center; background: url('../../images/subsidy_window/form_bg_pc.jpg') 50% 50% / cover no-repeat; box-sizing: border-box; @include mq(mobile) { padding: 20px 0; background: url('../../images/subsidy_window/form_bg_sp.jpg') 50% 50% / cover no-repeat; } &Belt { padding: 35px 0 15px; background: #ec6942; box-sizing: border-box; @include mq(mobile) { padding: 15px 0 10px; } } &Image { width: 536px; height: 128px; display: inline-block; vertical-align: bottom; @include mq(tablet) { width: calcvw(536, tablet); height: calcvw(128, tablet); } @include mq(mobile) { width: calcvw(670, mobile); height: calcvw(157, mobile); } } } &__body { margin-top: 50px; @include mq(mobile) { margin-top: 25px; } } } &-cta { padding: 40px 0 30px; background: #fcffad; box-sizing: border-box; @include mq(mobile) { padding: 20px 0 25px; } &--pt2 { background: none; } &__ttl { text-align: center; &Image { width: 546px; height: 45px; display: inline-block; vertical-align: bottom; @include mq(tablet) { width: calcvw(546, tablet); height: calcvw(45, tablet); } @include mq(mobile) { width: calcvw(674, mobile); height: calcvw(55, mobile); } } } &__box { margin: 15px -5px 0; display: flex; justify-content: center; @include mq(mobile) { margin: 8px -3px 0; } &Item { padding: 0 5px; box-sizing: border-box; @include mq(mobile) { padding: 0 3px; } } &Link { display: inline-block; } &Image { display: inline-block; vertical-align: bottom; } } } .adjust { &-zindex5 { position: relative; z-index: 5; } } } #go2form { @include mq(tablet) { margin-top: -100px; padding-top: 100px; } @include mq(mobile) { margin-top: -50px; padding-top: 50px; } }