/*----------------------------------------------------- Pitapa Teiki CSS -----------------------------------------------------*/ /*----------------------------------------------------- common -----------------------------------------------------*/ img[src$=".svg"] { width: 100%; height: auto; flex-shrink: 0; } @media (max-width: 768px) { header { /* position: fixed; */ top: 0; /* z-index: 11; */ } } /*pc sp only*/ @media all and (min-width: 768px) { .nonePC { display: none !important; } } @media all and (max-width: 767px) { .noneSP { display: none !important; } } #wrapper{ min-width: 1200px; font-family: "游ゴシック Medium", "Yu Gothic Medium", "游ゴシック体", YuGothic, YuGothicM, "ヒラギノ角ゴ ProN W3", "Hiragino Kaku Gothic ProN", "メイリオ", Meiryo, sans-serif; font-feature-settings: "palt"; } @media screen and (min-width: 1240px) { } @media screen and (min-width: 768px) and (max-width: 1063px) { } @media only screen and (max-width: 767px), only screen and (max-width: 812px) and (orientation: landscape) { } @media only screen and (max-width: 767px){ #wrapper{ min-width: auto; /* padding-top: 64px; */ } } @media only screen and (min-width: 320px) and (max-width: 374px) { } /*----------------------------------------------------- mv -----------------------------------------------------*/ .mv { height: 512px; background-color: #bae3f9; background-image: url(../img/mv.svg); background-position: center top; background-repeat: no-repeat; background-size: auto 100%; position: relative; /*padding-top: 36.5718%;*/ } .mv h1{ width: 1200px; margin-left: auto; margin-right: auto; } img.mv_txt { position: absolute; bottom: 57px; /*left: 10.6%;*/ margin-left: 50px; width: 726px; /*width: 47.929vw;*/ height: auto; } .mvArrow { position: absolute; bottom: -0.5em; z-index: 2; width: 1em; height: auto; left: 50%; margin-left: -0.5em; font-size: 44px; pointer-events: none; } @media screen and (max-width: 1400px) { } @media screen and (min-width: 1240px) { } @media screen and (max-width: 1200px) { } @media screen and (min-width: 768px) and (max-width: 1063px) { } @media only screen and (max-width: 767px), only screen and (max-width: 812px) and (orientation: landscape) { } @media only screen and (max-width: 767px){ .mv { height: 0; background-image: url(@/views/static/pitapa_teiki/img/mv_sp.svg); padding-top: 110.2%; } img.mv_txt { bottom: 6.3%; left: 4%; width: 78.8vw; margin-left: 0; } } @media only screen and (min-width: 320px) and (max-width: 374px) { } /*----------------------------------------------------- what -----------------------------------------------------*/ .whatWrap{ padding-top: 75px; padding-bottom: 100px; } .whatWrap h2 { width: 488px; height: auto; margin-left: auto; margin-right: auto; /* min-width: 657px; */ position: relative; display: block; /* justify-content: space-between; */ } .whatWrap h2 img{ width: 100%; height: auto; display: block; } .whatWrap h2::before { /* position: relative; */ content: ''; width: 54px; height: 73px; background-image: url(@/views/static/pitapa_teiki/img/ttlL_bk.svg); background-position: center; background-repeat: no-repeat; background-size: contain; left: -7em; top: 0; margin-top: 0.8em; position: absolute; } .whatWrap h2::after { /*position: relative;*/ content: ''; width: 54px; height: 73px; background-image: url(@/views/static/pitapa_teiki/img/ttlR_bk.svg); background-position: center; background-repeat: no-repeat; background-size: contain; right: -7em; top: 0; margin-top: 0.8em; position: absolute; } .whatCon{ width: 950px; display: flex; justify-content: space-between; margin-top: 160px; margin-left: auto; margin-right: auto; } .whatCon > div{ width: 30%; } .whatCon__01 { background-image: url(@/views/static/pitapa_teiki/img/whatImg01.svg); background-position: center bottom; background-repeat: no-repeat; background-size: contain; height: 0; padding-bottom: 48.3%; position: relative; } .whatCon__02 { background-image: url(@/views/static/pitapa_teiki/img/whatImg02.svg); background-position: center bottom; background-repeat: no-repeat; background-size: contain; height: 0; padding-bottom: 48.3%; position: relative; } .whatCon__03 { background-image: url(@/views/static/pitapa_teiki/img/whatImg03.svg); background-position: center bottom; background-repeat: no-repeat; background-size: contain; height: 0; padding-bottom: 48.3%; position: relative; } img.whatCon_txt { width: auto; height: 76px; position: relative; margin-left: auto; margin-right: auto; display: block; top: 50px; } @media screen and (max-width: 1400px) { } @media screen and (min-width: 1240px) { } @media screen and (max-width: 1200px) { /*.whatWrap h2 { width: 563px; } .whatWrap h2::before { width: 11%; } .whatWrap h2::after { width: 11%; }*/ } @media screen and (min-width: 768px) and (max-width: 1063px) { } @media only screen and (max-width: 767px), only screen and (max-width: 812px) and (orientation: landscape) { } @media only screen and (max-width: 767px){ .whatWrap { padding-top: 15vw; padding-bottom: 13vw; } .whatWrap h2 { width: 77%; min-width: auto; } .whatWrap h2::before { background-image: url(@/views/static/pitapa_teiki/img/ttlL_bk_sp.svg); width: 6vw; height: 14.1vw; left: -3.7em; } .whatWrap h2::after { background-image: url(@/views/static/pitapa_teiki/img/ttlR_bk_sp.svg); width: 6vw; height: 14.1vw; right: -3.7em; } .whatCon { flex-direction: column; width: 100%; margin-top: 10vw; } .whatCon > div { width: 100%; } .whatCon > h3{ width: calc(85% - 30px); margin-left: auto; margin-right: auto; } /*.whatCon > div + div{ margin-top: 6vw; }*/ .whatCon__01 { background-image: url(@/views/static/pitapa_teiki/img/whatImg01_sp.svg); background-position: center bottom; background-repeat: no-repeat; background-size: contain; height: 0; padding-bottom: 48.3%; position: relative; } .whatCon__02 { background-image: url(@/views/static/pitapa_teiki/img/whatImg02_sp.svg); background-position: center bottom; background-repeat: no-repeat; background-size: contain; height: 0; padding-bottom: 48.3%; position: relative; } .whatCon__03 { background-image: url(@/views/static/pitapa_teiki/img/whatImg03_sp.svg); background-position: center bottom; background-repeat: no-repeat; background-size: contain; height: 0; padding-bottom: 48.3%; position: relative; } img.whatCon_txt { height: 16.5vw; margin-left: 13vw; top: 17.3vw; } .whatCon__02 { margin-top: 6vw; } .whatCon__02 img.whatCon_txt { margin-left: 14.9vw; top: 15.2vw; height: 15.8vw; } .whatCon__03 { margin-top: 3vw; } .whatCon__03 img.whatCon_txt { margin-left: 13.5vw; top: 16.7vw; } } @media only screen and (min-width: 320px) and (max-width: 374px) { } /*----------------------------------------------------- service -----------------------------------------------------*/ .serviceWrap { width: 100%; height: 0; padding-bottom: 148.27%; } .serviceWrap h3 { background-image: url(@/views/static/pitapa_teiki/img/serviceTtl_bg.svg); background-position: center top; background-repeat: no-repeat; background-size: cover; width: 732px; height: 92px; z-index: 10; margin-left: auto; margin-right: auto; position: relative; display: flex; align-items: center; justify-content: center; bottom: -7.9vw; } .serviceWrap h3 img{ width: 607px; height: auto; margin-bottom: 22px; margin-right: 8px; } .serviceInner__wrap{ position: relative; } .service__con{ } .service__con p { /* font-size: 13.8pt; */ line-height: 1.77; /* margin-top: 24px; */ font-weight: bold; font-size: 1.314vw; margin-top: 1.3em; letter-spacing: -0.02em; } .service__con p small { display: block; /* margin-top: 5px; */ /* font-size: 11pt; */ font-size: 1.054vw; margin-top: 0.7em; text-indent: -1em; padding-left: 1em; } .service__con p small + small { margin-top: 0.2em; } .service1 { background-image: url(@/views/static/pitapa_teiki/img/service01.svg); background-position: center top; background-repeat: no-repeat; background-size: cover; width: 100%; height: 0; padding-top: 57.3%; position: absolute; z-index: 1; } .service1 .service__con { position: absolute; /* width: 397px; */ height: auto; right: 15.9%; top: 23.5%; width: 28.358vw; } .service2 { background-image: url(@/views/static/pitapa_teiki/img/service02.svg); background-position: center top; background-repeat: no-repeat; background-size: cover; width: 100%; height: 0; padding-top: 57.2%; position: absolute; z-index: 2; /* top: -24.6vw; */ top: 32.6vw; } .service2 .service__con { position: absolute; /* width: 397px; */ height: auto; left: 17.3%; top: 28.8%; width: 28.358vw; } .service3 { background-image: url(@/views/static/pitapa_teiki/img/service03.svg); background-position: center top; background-repeat: no-repeat; background-size: cover; width: 100%; height: 0; padding-top: 57.2%; position: absolute; z-index: 3; /* top: -24.6vw; */ top: 67.2vw; } .service3 .service__con { position: absolute; /* width: 397px; */ height: auto; right: 15.5%; top: 28.2%; width: 30vw; } .service4 { background-image: url(@/views/static/pitapa_teiki/img/service04.svg); background-position: center top; background-repeat: no-repeat; background-size: cover; width: 100%; height: 0; padding-top: 44.6%; position: relative; z-index: 4; /* top: -24.6vw; */ top: 99vw; } .service4 .service__con { position: absolute; /* width: 397px; */ height: auto; left: 17.3%; top: 35%; width: 28.658vw; } @media screen and (max-width: 1400px) { } @media screen and (max-width: 1200px) and (min-width: 768px) { .serviceWrap h3 { bottom: -95px; } .service1 { padding-top: 687px; width: 100%; } .service1 .service__con { width: 340.28px; right: 15.9%; top: 23.5%; } .service__con p { font-size: 15.7549px; } .service__con p small { font-size: 12.65px; } .service2 { top: 391.7px; width: 100%; } .service2 .service__con { width: 340.28px; left: 17.3%; top: 28.8%; } .service3 { top: 806.5px; width: 100%; } .service3 .service__con { width: 360px; right: 15.5%; top: 28.2%; } .service4 { top: 1188px; width: 100%; } .service4 .service__con { width: 343.89px; left: 17.3%; top: 35%; } } @media screen and (min-width: 1240px) { } @media screen and (min-width: 768px) and (max-width: 1063px) { } @media only screen and (max-width: 767px), only screen and (max-width: 812px) and (orientation: landscape) { } @media only screen and (max-width: 767px){ .serviceWrap { width: 100vw; padding-bottom: 755.82vw; } .serviceWrap h3 { background-image: url(@/views/static/pitapa_teiki/img/serviceTtl_bg_sp.svg); width: 90%; height: 26vw; bottom: -7.9vw; } .serviceWrap h3 img { width: 57.5vw; height: auto; margin-bottom: 2%; margin-right: 0; } .service1 { background-image: url(@/views/static/pitapa_teiki/img/service01_sp.svg); padding-top: 204%; } .service1 .service__con { right: 0; top: 42vw; width: 65.6vw; left: calc(50% - 32.8vw); } .service2 { background-image: url(@/views/static/pitapa_teiki/img/service02_sp.svg); padding-top: 216.7vw; top: 172.6vw; } .service2 .service__con { top: 41vw; width: 65.6vw; left: calc(50% - 32.8vw); } .service3 { background-image: url(@/views/static/pitapa_teiki/img/service03_sp.svg); padding-top: 204.3vw; top: 364.6vw; } .service3 .service__con { right: 0; top: 43vw; width: 65.6vw; left: calc(50% - 32.8vw); } .service4 { background-image: url(@/views/static/pitapa_teiki/img/service04_sp.svg); padding-top: 195.5vw; top: 534.6vw; } .service4 .service__con { top: 41vw; width: 65.6vw; left: calc(50% - 32.8vw); } .service__con p { line-height: 2; font-size: 3.7vw; margin-top: 1.3em; letter-spacing: 0; } .service__con p small { font-size: 2.7vw; margin-top: 0.9em; line-height: 1.77; } } @media only screen and (min-width: 320px) and (max-width: 374px) { } /*----------------------------------------------------- convWrap -----------------------------------------------------*/ .convWrap{ background-color: #5f67ae; } .convWrap{ padding-top: 75px; padding-bottom: 45px; } /*.convWrap h2 { width: 890px; margin-left: auto; margin-right: auto; position: relative; display: flex; justify-content: space-between; } .convWrap h2::before { position: relative; content: ''; width: 73px; height: auto; background-image: url(@/views/static/pitapa_teiki/img/ttlL_w.svg); background-position: center; background-repeat: no-repeat; background-size: contain; margin-right: 1em; margin-top: 0.8em; } .convWrap h2::after { position: relative; content: ''; width: 73px; height: auto; background-image: url(@/views/static/pitapa_teiki/img/ttlR_w.svg); background-position: center; background-repeat: no-repeat; background-size: contain; margin-left: 1em; margin-top: 0.8em; }*/ /*.convWrap h2 { width: 51%; margin-left: auto; margin-right: auto; position: relative; display: flex; justify-content: space-between; } .convWrap h2::before { background-image: url(@/views/static/pitapa_teiki/img/ttlL_w_sp.svg); width: 6vw; height: 14.1vw; left: -3.7em; } .convWrap h2::after { background-image: url(@/views/static/pitapa_teiki/img/ttlR_w_sp.svg); width: 6vw; height: 14.1vw; right: -3.7em; }*/ .convWrap h2 { width: 713px; height: auto; margin-left: auto; margin-right: auto; /* min-width: 657px; */ position: relative; display: block; /* justify-content: space-between; */ } .convWrap h2 img{ width: 100%; height: auto; display: block; } .convWrap h2::before { /* position: relative; */ content: ''; width: 56px; height: 78px; background-image: url(@/views/static/pitapa_teiki/img/ttlL_w.svg); background-position: center; background-repeat: no-repeat; background-size: contain; left: -7em; top: 0.2em; margin-top: 0.8em; position: absolute; } .convWrap h2::after { /*position: relative;*/ content: ''; width: 56px; height: 78px; background-image: url(@/views/static/pitapa_teiki/img/ttlR_w.svg); background-position: center; background-repeat: no-repeat; background-size: contain; right: -7em; top: 0.2em; margin-top: 0.8em; position: absolute; } /*.convWrap h2::before { background-image: url(@/views/static/pitapa_teiki/img/ttlL_w_sp.svg); width: 6%; height: 90%; left: -7.7%; } .convWrap h2::after { background-image: url(@/views/static/pitapa_teiki/img/ttlR_w_sp.svg); width: 6%; height: 90%; right: -7.7%; }*/ .conbBtn{ width: 476px; height: 94px; background-color: #ffff00; position: relative; display: flex; align-items: center; justify-content: center; margin-left: auto; margin-right: auto; margin-top: 45px; border-radius: 15px; border:5px solid #fff; box-shadow: 6px 8px 0 #364a97; transform: translate(0,0); transition: 0.3s; } .conbBtn .btnTxt { width: 265px; height: auto; } .conbBtn .btnArrow{ width: 29px; height: auto; position: absolute; right: 20px; top: calc(50% - 14.5px); } .convWrap p{ text-align: center; font-size: 14px; color: #fff; margin-top: 25px; } @media screen and (max-width: 1400px) { } @media screen and (max-width: 1200px) { } @media screen and (min-width: 1240px) { } @media screen and (min-width: 768px) and (max-width: 1063px) { } @media screen and (min-width: 768px){ .conbBtn:hover{ box-shadow: 0px 0px 0 #364a97; transform: translate(6px,8px); transition: 0.3s; } } @media only screen and (max-width: 767px), only screen and (max-width: 812px) and (orientation: landscape) { } @media only screen and (max-width: 767px) { .convWrap { padding-top: 12vw; padding-bottom: 13vw; } .convWrap h2 { width: 64%; min-width: auto; } .convWrap h2::before { position: absolute; height: 95%; width: 13.9%; background-image: url(@/views/static/pitapa_teiki/img/ttlL_w_sp.svg); margin-top: 0.6em; left: -4.1em; } .convWrap h2::after { position: absolute; height: 95%; width: 13.9%; background-image: url(@/views/static/pitapa_teiki/img/ttlR_w_sp.svg); margin-top: 0.6em; right: -4.1em; } .conbBtn { width: 76%; height: 0; border-radius: 3vw; border: 5px solid #fff; box-shadow: 12px 12px 0 #364a97; transform: translate(0,0); transition: 0.3s; padding-top: 20%; margin-top: 7vw; } .conbBtn .btnTxt { width: 50vw; position: relative; top: -9vw; margin-left: -7%; } .conbBtn .btnArrow { width: 5.4vw; height: auto; position: absolute; right: 3%; top: calc(50% - 2.7vw); } .convWrap p { margin-top: 5vw; font-size: 3vw; } } @media only screen and (min-width: 320px) and (max-width: 374px) { } /*----------------------------------------------------- useWrap -----------------------------------------------------*/ .useWrap{ padding: 120px 0 180px; background-image: url(@/views/static/pitapa_teiki/img/bg01.svg); background-size: 32px; } .useWrap h3 { background-image: url(@/views/static/pitapa_teiki/img/useTtlBg.svg); background-position: center top; background-repeat: no-repeat; background-size: cover; width: 689px; height: 203px; z-index: 10; margin-left: auto; margin-right: auto; position: relative; display: flex; align-items: center; justify-content: center; } .useWrap h3 img{ width: 514px; height: auto; margin-bottom: 22px; margin-right: 8px; } .useWrap .inner { margin-top: 65px; width: 1029px; } .useWrap .useContent { margin-left: auto; margin-right: auto; padding: 145px 85px 60px; } .useWrap .inner .useContent + .useContent{ margin-top: 110px; } .useTxt{ margin-top: 55px; font-size: 18px; line-height: 1.77; } .useImg { height: 318px; width: 100%; display: flex; justify-content: space-between; align-items: center; margin-top: 30px; } .useImg img{ height: 100%; width: auto; flex-shrink: 0; } .use01{ background-image: url(@/views/static/pitapa_teiki/img/useBg1.svg); background-position: center; background-repeat: no-repeat; background-size: contain; height: 922px; } .use01 .usettl{ background-color: #ffdf45; width: 767px; height: 114px; border-radius: 10px; position: relative; } .use01 .usettl__txt img{ width: 614px; height: auto; margin-left: 82px; margin-top: 21px; } .use01 .usettl__img { width: 311px; height: auto; position: absolute; right: -237px; top:-75px; } .use01 .useImg img:last-child{ width: 353px; } .use02{ background-image: url(@/views/static/pitapa_teiki/img/useBg2.svg); background-position: center; background-repeat: no-repeat; background-size: contain; height: 892px; } .use02 .usettl{ background-color: #f4a370; width: 767px; height: 114px; border-radius: 10px; position: relative; } .use02 .usettl__txt img{ width: 625px; height: auto; margin-left: 82px; margin-top: 22px; } .use02 .usettl__img { width: 322px; height: auto; position: absolute; right: -238px; top:-65px; } .use02 .useImg{ margin-top: 55px; } .use02 .useImg img:last-child{ width: 352px; } .use03{ background-image: url(@/views/static/pitapa_teiki/img/useBg3.svg); background-position: center; background-repeat: no-repeat; background-size: contain; height: 892px; } .use03 .usettl{ background-color: #7bc7b1; width: 767px; height: 114px; border-radius: 10px; position: relative; } .use03 .usettl__txt img{ width: 664px; height: auto; margin-left: 82px; margin-top: 23px; } .use03 .usettl__img { width: 306px; height: auto; position: absolute; right: -228px; top:-65px; } .use03 .useImg img:last-child{ width: 354px; } @media screen and (max-width: 1400px) { } @media screen and (max-width: 1200px) { } @media screen and (min-width: 1240px) { } @media screen and (min-width: 768px) and (max-width: 1063px) { } @media screen and (min-width: 768px){ } @media only screen and (max-width: 767px), only screen and (max-width: 812px) and (orientation: landscape) { } @media only screen and (max-width: 767px) { .useWrap{ padding: 15vw 6vw 13vw; background-size: 32px; } .useWrap h3 { background-image: url(@/views/static/pitapa_teiki/img/useTtlBg_sp.svg); width: 100%; height: 26.25vw; } .useWrap h3 img { width: 68vw; height: auto; margin-bottom: 4%; margin-right: 1.5%; } .useWrap .inner { margin-top: 10vw; width: 100%; padding: 0; } .useWrap .useContent { margin-left: auto; margin-right: auto; padding: 49vw 7vw 10vw; } .useWrap .inner .useContent + .useContent{ margin-top: 7vw; } .useTxt { /* margin-top: 55px; */ /* font-size: 18px; */ line-height: 8.5vw; margin-top: 11vw; font-size: 4.2vw; } .useImg { margin-top: 10vw; flex-direction: column; height: auto; } .useImg img { /* height: 100%; */ /* width: auto; */ flex-shrink: 0; width: 100%; height: auto; } .useImg img + img{ margin-top: 8vw; } .use01{ background-image: url(@/views/static/pitapa_teiki/img/useBg1_sp.svg); /*height: 922px;*/ height: 324vw; } .use01 .usettl{ width: 100%; height: 27.5vw; border-radius: 3vw; display: flex; align-items: center; justify-content: center; } .use01 .usettl__txt img { width: 62vw; height: auto; margin-left: 0; margin-top: 0; right: -1.5vw; position: relative; bottom: -1.4vw; } .use01 .usettl__img { width: 48.6vw; height: auto; position: absolute; right: 50%; top: -33vw; z-index: 10; margin-right: -48%; } .use01 .useImg img:last-child{ width: 90%; margin-left: auto; margin-right: auto; } .use02{ background-image: url(@/views/static/pitapa_teiki/img/useBg2_sp.svg); height: 308vw; } .use02 .usettl{ width: 100%; height: 27.5vw; border-radius: 3vw; display: flex; align-items: center; justify-content: center; } .use02 .usettl__txt img{ width: 62vw; height: auto; margin-left: 0; margin-top: 0; right: -5.1vw; position: relative; bottom: -1.4vw; } .use02 .usettl__img { width: 48.6vw; height: auto; position: absolute; right: 50%; top: -32.2vw; z-index: 10; margin-right: -48%; } .use02 .useImg{ margin-top: 10vw; } .use02 .useImg img:last-child{ width: 90%; margin-left: auto; margin-right: auto; } .use03{ background-image: url(@/views/static/pitapa_teiki/img/useBg3_sp.svg); height: 316vw; } .use03 .usettl{ width: 100%; height: 27.5vw; border-radius: 3vw; display: flex; align-items: center; justify-content: center; } .use03 .usettl__txt img{ width: 62vw; height: auto; margin-left: 0; margin-top: 0; right: -3.8vw; position: relative; bottom: -1.4vw; } .use03 .usettl__img { width: 48.6vw; height: auto; position: absolute; right: 50%; top: -34.05vw; z-index: 10; margin-right: -48%; } .use03 .useImg img:last-child{ width: 90%; margin-left: auto; margin-right: auto; } } @media only screen and (min-width: 320px) and (max-width: 374px) { } /*----------------------------------------------------- koutuWrap -----------------------------------------------------*/ .koutuWrap{ padding-top: 110px; padding-bottom: 90px } .koutuWrap h2{ font-size: 41px; font-weight: bold; color: #7974b6; text-align: center; display: flex; justify-content: center; align-items: center; } .koutuWrap h2::before{ content: ''; background-color: #7974b6; width: 55px; height: 5px; margin-right: 0.3em; } .koutuWrap h2::after{ content: ''; background-color: #7974b6; width: 55px; height: 5px; margin-left: 0.3em; } /*.koutuWrap ul{ display: flex; flex-wrap: wrap; margin-top: 68px; margin-left: 100px; }*/ .koutuWrap ul { display: flex; flex-wrap: wrap; /* justify-content: center; */ margin-top: 68px; /* margin-left: 162px; */ width: 990px; margin-left: auto; margin-right: auto; padding-left: 45px; } .koutuWrap ul li{ width: 30%; font-size: 24px; display: flex; align-items: center; flex-shrink: 0; font-weight: bold; } .koutuWrap ul li.train::before { content: ''; width: 48px; height: 40px; background-image: url(@/views/static/pitapa_teiki/img/ico_train.svg); background-position: center; background-repeat: no-repeat; background-size: contain; margin-right: 18px; position: relative; top: -4px; flex-shrink: 0; } .koutuWrap ul li.bus::before { content: ''; width: 48px; height: 28px; background-image: url(@/views/static/pitapa_teiki/img/ico_bus.svg); background-position: center; background-repeat: no-repeat; background-size: contain; margin-right: 18px; position: relative; flex-shrink: 0; } .attention{ width: 960px; margin-left: auto; margin-right: auto; margin-top: 125px; padding: 65px 50px 70px; border:5px solid #7974b6; border-radius: 20px; } .attention .box1{ display: flex; } .attention .box1 span{ width: 94px; margin-right: 30px; display: block; flex-shrink: 0; } .attentionTxt p{ font-size: 20px; line-height: 2; margin-top: 0; } .attentionTxt p + p{ margin-top: 20px; } .conbBtn2{ width: 668px; } .conbBtn2 .btnTxt{ width: 546px; margin-right: 20px; } @media screen and (max-width: 1400px) { } @media screen and (max-width: 1200px) { } @media screen and (min-width: 1240px) { } @media screen and (min-width: 768px) and (max-width: 1063px) { } @media screen and (min-width: 768px){ .koutuWrap ul li + li + li + li{ margin-top: 28px; } .koutuWrap ul li:nth-child(3n + 1){ width: 36%; } .koutuWrap ul li:nth-child(3n + 2){ width: 28%; } .koutuWrap ul li:nth-child(3n){ width: 36%; } } @media only screen and (max-width: 767px), only screen and (max-width: 812px) and (orientation: landscape) { } @media only screen and (max-width: 767px){ .koutuWrap{ padding: 15vw 6vw 13vw; } .koutuWrap h2 { font-size: 6vw; line-height: 1.3; } .koutuWrap h2::before{ content: none; } .koutuWrap h2::after{ content: none; } .koutuWrap ul { display: flex; flex-wrap: wrap; margin-top: 6vw; margin-left: 0; justify-content: space-between; width: 100%; padding-left: 5%; } .koutuWrap ul li { width: 46%; font-size: 4vw; line-height: 1.3; display: flex; align-items: center; flex-shrink: 0; font-weight: bold; } .koutuWrap ul li + li + li{ margin-top: 3vw; } .koutuWrap ul li.train::before { width: 7vw; height: 5.7vw; margin-right: 2vw; top: -0.5vw; } .koutuWrap ul li.bus::before { width: 7vw; height: 10.5vw; margin-right: 2vw; } .attention { width: 100%; margin-left: auto; margin-right: auto; margin-top: 15vw; /*padding: 65px 50px 70px;*/ border: 3px solid #7974b6; border-radius: 3vw; position: relative; padding: 13vw 6vw 14vw; } .attention .box1{ display: flex; display: block; } .attention .box1 span { width: 17.5vw; margin-right: 0; position: absolute; top: calc(-17.5vw / 2); left: calc(50% - (17.5vw / 2)); } .attentionTxt p { font-size: 3.6vw; line-height: 2; } .attentionTxt p + p{ margin-top: 6vw; } .conbBtn2{ width: 90%; padding-top: 29%; } .conbBtn2 .btnTxt { width: 47vw; margin-right: -5vw; margin-top: -1vw; } .conbBtn2 .btnArrow{ display: none; } } @media only screen and (min-width: 320px) and (max-width: 374px) { } .inner { min-width: 1064px; max-width: 1240px; margin: 0 auto; padding: 0 20px; } @media only screen and (max-width: 767px), only screen and (max-width: 812px) and (orientation: landscape) { .inner { min-width: auto; max-width: none; padding: 0 15px; } } h1, h2, h3 { margin: 0; /* margin-bottom: 0; */ width: auto; font-size: unset; }