@use "../../common_dart/base/setting" as *; @use "../../common_dart/base/mixin" as *; /* ************************************************** main ************************************************** */ #main { background: url("../images/main_bg.jpg") no-repeat center center; background-size: cover; text-align: center; padding: 3vw 5.333333333333333vw 6vw; position: relative; &.main-eight{ background: url("../images/eight-aff/main_bg.jpg") no-repeat center center; } &.main-pic{ background: url("../images/pic-aff/main_bg.jpg") no-repeat center center; } } #main .txt1 { font-size: 3.733333333333333vw; font-weight: 700; line-height: 1.571428571428571; &--pic{ line-height: 1.5; } } #main .txt1 strong { font-size: 1.714285714285714em; } #main .logo { margin-top: 5.333333333333333vw; } #main .logo img { width: 100%; } #main .txt2 { font-size: 5.333333333333333vw; font-weight: 700; margin-top: 0.75em; &--pic{ margin-top: 0.5em; } } #main .txt2 span { color: #ff6700; } #main .txt2--pic span{ color: #f70d65; } #main .txt3 { font-size: 4.8vw; font-weight: 700; margin-top: 2.222222222222222em; &--eight{ margin: 1em 0; } &--pic{ margin-top: 1vw; } } #main .txt3 span { display: inline-block; vertical-align: baseline; position: relative; } #main .txt3 span:before { background: #ff6700; display: block; content: ""; width: 1.6vw; height: 1.6vw; border-radius: 50%; position: absolute; top: -2.666666666666667vw; left: 50%; -webkit-transform: translateX(-50%); transform: translateX(-50%); } #main .txt3 strong { font-size: 6vw; color: #ff6700; } #main .txt3--pic strong{ color: #f70d65; } #main .txt4 { position: relative; text-align: center; max-width: 470px; margin: 6vw auto 1vw; font-size: 2.8vw; font-weight: normal; span { position: relative; margin: 0 0.5em 0 0.3em; &:before { content: ""; width: 100%; height: 2px; background-color: #333; transform: translateY(-50%); position: absolute; top: 50%; left: 0; } } strong{ margin-left: 0.2em; font-size: 3.8vw; font-weight: bold; } &::before { content: ""; width: 50px; height: 2px; background-color: #333; transform: translateY(-50%) rotate(62deg); position: absolute; top: 54%; left: -3vw; @include query-min($break) { width: 52px; left: -11%; top: 60%; } } &::after { content: ""; width: 50px; height: 2px; background-color: #333; transform: translateY(-50%) rotate(-62deg); position: absolute; top: 54%; right: -3vw; @include query-min($break) { width: 52px; right: -11%; top: 60%; } } &--pic{ margin: 3vw 0 0; strong{ color: #f70d65; } } &--eight{ strong{ color: #ff6700; } } } #main .btn1 { margin-top: 8vw; } #main .btn1--eight, #main .btn1--pic{ margin-top: 3vw; } @media screen and (min-width: 768px) { #main { padding: 60px 20px; } #main .txt1 { font-size: 18px; } #main .txt1 strong { font-size: 1.666666666666667em; } #main .logo { margin-top: 15px; } #main .logo img { width: 640px; } #main .txt2 { font-size: 22px; margin-top: 0.7692307692307692em; } #main .txt3 { font-size: 28px; margin-top: 50px; &--eight, &--pic{ margin: 30px; } strong { font-size: 40px; } } #main .txt3 span:before { width: 8px; height: 8px; top: -10px; } #main .txt4 { margin: 20px auto -17px; font-size: 16px; strong{ font-size: 24px; } } #main .btn1 { margin-top: 50px; &--eight, &--pic{ margin-top: 30px; } } } @media screen and (min-width: 1024px) { #main .txt2 { font-size: 26px; } #main .txt3 { font-size: 34px; } } /* ************************************************** main2 ************************************************** */ #main2 { background: url(https://d.adlpo.com/697/2233/images/22360.jpg) no-repeat center center; background-size: cover; text-align: center; padding: 10.66666666666667vw 5.333333333333333vw 17.33333333333333vw; position: relative; } #main2 .txt1 { font-size: 3.733333333333333vw; font-weight: 700; line-height: 1.571428571428571; } #main2 .txt1 strong { font-size: 1.714285714285714em; } #main2 .logo { margin-top: 5.333333333333333vw; } #main2 .logo img { width: 100%; } #main2 .txt2 { font-size: 5.333333333333333vw; font-weight: 700; margin-top: 0.75em; } #main2 .txt2 span { color: #ff6700; } #main2 .txt3 { font-size: 4.8vw; font-weight: 700; margin-top: 2.222222222222222em; } #main2 .txt3 span { display: inline-block; vertical-align: baseline; position: relative; } #main2 .txt3 span:before { background: #ff6700; display: block; content: ""; width: 1.6vw; height: 1.6vw; border-radius: 50%; position: absolute; top: -2.666666666666667vw; left: 50%; -webkit-transform: translateX(-50%); transform: translateX(-50%); } #main2 .btn1 { margin-top: 8vw; } @media screen and (min-width: 768px) { #main2 { padding: 90px 20px 70px; } #main2 .txt1 { font-size: 18px; } #main2 .txt1 strong { font-size: 1.666666666666667em; } #main2 .logo { margin-top: 20px; } #main2 .logo img { width: 692px; } #main2 .txt2 { font-size: 22px; margin-top: 0.7692307692307692em; } #main2 .txt3 { font-size: 28px; margin-top: 1.764705882352941em; } #main2 .txt3 span:before { width: 8px; height: 8px; top: -10px; } #main2 .btn1 { margin-top: 60px; } } @media screen and (min-width: 1024px) { #main2 .txt2 { font-size: 26px; } #main2 .txt3 { font-size: 34px; } } /* ************************************************** main3 ************************************************** */ #main3 { background: url(https://d.adlpo.com/697/2233/images/22401.jpg) no-repeat center center; background-size: cover; text-align: center; padding: 10.66666666666667vw 5.333333333333333vw 17.33333333333333vw; position: relative; } #main3 .txt1 { font-size: 3.733333333333333vw; font-weight: 700; line-height: 1.571428571428571; } #main3 .txt1 strong { font-size: 1.714285714285714em; } #main3 .logo { margin-top: 5.333333333333333vw; } #main3 .logo img { width: 100%; } #main3 .txt2 { font-size: 5.333333333333333vw; font-weight: 700; margin-top: 0.75em; } #main3 .txt2 span { color: #ff6700; } #main3 .txt3 { font-size: 4.8vw; font-weight: 700; margin-top: 2.222222222222222em; } #main3 .txt3 span { display: inline-block; vertical-align: baseline; position: relative; } #main3 .txt3 span:before { background: #ff6700; display: block; content: ""; width: 1.6vw; height: 1.6vw; border-radius: 50%; position: absolute; top: -2.666666666666667vw; left: 50%; -webkit-transform: translateX(-50%); transform: translateX(-50%); } #main3 .btn1 { margin-top: 8vw; } @media screen and (min-width: 768px) { #main3 { padding: 90px 20px 70px; } #main3 .txt1 { font-size: 18px; } #main3 .txt1 strong { font-size: 1.666666666666667em; } #main3 .logo { margin-top: 20px; } #main3 .logo img { width: 692px; } #main3 .txt2 { font-size: 22px; margin-top: 0.7692307692307692em; } #main3 .txt3 { font-size: 28px; margin-top: 1.764705882352941em; } #main3 .txt3 span:before { width: 8px; height: 8px; top: -10px; } #main3 .btn1 { margin-top: 60px; } } @media screen and (min-width: 1024px) { #main3 .txt2 { font-size: 26px; } #main3 .txt3 { font-size: 34px; } } /* ************************************************** shadow ************************************************** */ .shadow { position: relative; } .shadow:after { background: rgb(255, 255, 255); background: -moz-linear-gradient( top, rgba(255, 255, 255, 1) 50%, rgba(255, 255, 255, 1) 50%, rgba(249, 249, 249, 1) 100% ); background: -webkit-linear-gradient( top, rgba(255, 255, 255, 1) 50%, rgba(255, 255, 255, 1) 50%, rgba(249, 249, 249, 1) 100% ); background: linear-gradient( to bottom, rgba(255, 255, 255, 1) 50%, rgba(255, 255, 255, 1) 50%, rgba(249, 249, 249, 1) 100% ); filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#f9f9f9',GradientType=0 ); display: block; content: ""; width: 100%; height: 8vw; position: absolute; left: 0; bottom: 0; display: none; } @media screen and (min-width: 768px) { .shadow:after { background: rgb(255, 255, 255); background: -moz-linear-gradient( top, rgba(255, 255, 255, 1) 0%, rgba(249, 249, 249, 1) 100% ); background: -webkit-linear-gradient( top, rgba(255, 255, 255, 1) 0%, rgba(249, 249, 249, 1) 100% ); background: linear-gradient( to bottom, rgba(255, 255, 255, 1) 0%, rgba(249, 249, 249, 1) 100% ); filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#f9f9f9',GradientType=0 ); height: 90px; } } /* ************************************************** benefits ************************************************** */ #benefits { padding-bottom: 5vw; position: relative; z-index: 1; } #benefits .shadowbox { margin-top: -28vw; position: relative; z-index: 10; } @media screen and (min-width: 768px) { #benefits { padding: 60px 20px 90px; padding-bottom: 0; } #benefits .shadowbox { margin-top: -100px; } }