// Scss Document /*-------------------- 共通設定 ----------------------*/ $back:#d2cecb; $line:#ffffff; $breakpoint-notepad: 1600px; $breakpoint-tablet: 1000px; $breakpoint-mobile: 769px; @mixin max-screen($break-point) { @media screen and (max-width: $break-point) { @content; } } @mixin min-screen($break-point) { @media screen and (min-width: $break-point) { @content; } } @mixin screen($break-point-min, $break-point-max) { @media screen and (min-width: $break-point-min) and (max-width: $break-point-max) { @content; } } * { margin: 0; padding: 0; letter-spacing: 0.1em; font-family: 'Shippori Mincho', serif; font-weight: 400; color: #333333; font-size: 16px; text-align: center; } img { max-width: 100%; height: auto; vertical-align: bottom; } a { text-decoration: none; &.disabled { pointer-events: none; text-decoration: none; } } ul,ol { list-style: none; } .pc { display: block; @include max-screen($breakpoint-tablet) { display: none; } } .sp { display: none; @include max-screen($breakpoint-tablet) { display: block; } } .fadein { opacity: 0; transform: translateY(0px); transition: all .8s; } body { overflow-x: hidden; background: #ededed; } #pagetop { width: 50px; height: 50px; position: fixed; right: 11px; bottom: 30px; background: #FFF; opacity: 0.6; border-radius: 5px; border: 0.5px solid #666; z-index: 50; & a { position: relative; display: block; width: 50px; height: 50px; text-decoration: none; text-align: center; &::before { content: ''; display: block; position: absolute; top: 39%; left: 36%; width: 14px; height: 14px; border-right: 2px solid #666; border-bottom: 2px solid #666; -webkit-transform: rotate(-135deg); transform: rotate(-135deg); } } } .footer_copy { text-align: center; margin-bottom: 50px; & p { font-size: 0.7em; } } #global-nav { width: 100%; opacity: 0; text-align: center; height: 50px; background: rgba(255,255,255,0.8); position: absolute; & a { max-width: 300px; & img { position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); max-width: 180px; @include max-screen($breakpoint-mobile) { max-width: 120px; } } } &.m_fixed { opacity: 1; position: fixed; top: 0; z-index: 9999; transition: all .5s; } &.hide { transform: translateY(-70px); } } /*--------------------------------------------*/ .lp_wrapper { overflow-x: hidden; } section { margin: 15% auto; @include max-screen($breakpoint-mobile) { margin: 20% auto; } @include max-screen($breakpoint-mobile) { margin: 30% auto; } &#style_02 { position: relative; &::before { background-color: $back; content: ""; position: absolute; width: 100%; height: 140%; top: -20%; left: 0; @include max-screen($breakpoint-notepad) { top: -17%; height: 130%; } @include max-screen($breakpoint-mobile) { top: -20%; height: 140%; } } } &#style_07 { position: relative; &::before { background-color: $back; content: ""; position: absolute; width: 100%; height: 85%; top: 20%; left: 0; @include max-screen($breakpoint-mobile) { top: 15%; height: 95%; } } } &#style_08 { @include max-screen($breakpoint-mobile) { padding-top: 30%; } } &#style_09 { position: relative; &::before { background-color: $back; content: ""; position: absolute; width: 100%; height: 60%; top: 20%; left: 0; } } } .mv { margin: 0 auto 15%; } .swiper { &.swiper-fade { @include max-screen($breakpoint-notepad) { max-width: 45%; } @include max-screen($breakpoint-mobile) { max-width: 65%; } & .swiper-slide { transition-property: opacity !important; } } } .ttl { position: relative; max-width: 1000px; margin: 0 auto; & .svg_ttl { position: absolute; top: 0; left: 0; z-index: 50; width: 35%; @include max-screen($breakpoint-mobile) { width: 43%; } } & .svg_ttl_r { position: absolute; top: 0; right: 0; z-index: 50; width: 40%; } } .credit { margin: 1% auto; & p { font-size: 0.9em; line-height: 2.0; @include max-screen($breakpoint-notepad) { font-size: 0.8em; } @include max-screen($breakpoint-mobile) { font-size: 0.7em; line-height: 2.2; } & a { font-size: 100%; display: block; text-align: left; & span { font-size: 90%; margin-left: 1.0em; } } } } .code01_01 { margin-bottom: 10%; @include max-screen($breakpoint-notepad) { width: 60%; } @include max-screen($breakpoint-mobile) { width: 85%; } } .code01_02 { position: relative; margin-bottom: 10%; @include max-screen($breakpoint-mobile) { margin-bottom: 20%; } & .maxSize { max-width: 1980px; margin: 0 auto; text-align: right; @include max-screen($breakpoint-notepad) { width: 80%; margin: 0 0 0 auto; } } & .line { position: absolute; top: 70%; left: 0%; width: 100%; text-align: right; padding-right: 15%; @include max-screen($breakpoint-notepad) { padding-right: 7%; } @include max-screen($breakpoint-tablet) { padding-right: 0; } & img { @include max-screen($breakpoint-mobile) { width: 45%; } } &::after { content: ""; border-bottom: 0.5px solid #ffffff; width: 0%; position: absolute; bottom: 0; left: 0; } &.isActive::after { width: 100%; transition: 1.5s; } } } .code02_01 { margin-bottom: 20%; @include max-screen($breakpoint-notepad) { width: 60%; } @include max-screen($breakpoint-mobile) { width: 85%; } } .code02_02 { max-width: 1000px; margin: 0 auto 15%; position: relative; @include max-screen($breakpoint-notepad) { width: 70%; } @include max-screen($breakpoint-mobile) { width: 100%; } & .code02_02_1 { margin-bottom: 5%; } & .code02_02_2 { text-align: right; @include max-screen($breakpoint-mobile) { width: 60%; margin: 0 0 0 auto; } } & .line_vertical { position: absolute; top: 0; left: 0; height: 100%; width: 100%; text-align: right; padding-top: 35%; padding-right: 20%; @include max-screen($breakpoint-notepad) { padding-right: 3%; } & img { width: 43%; @include max-screen($breakpoint-mobile) { width: 50%; } } &::after { content: ""; border-left: 0.5px solid #ffffff; height: 0%; position: absolute; top: 0; left: 60%; } &.isActive::after { height: 100%; transition: 2.0s; } } } #style_03 { & .credit { margin-left: 10%; } } .code03_01 { max-width: 1700px; margin: 0 auto 0 0; @include max-screen($breakpoint-notepad) { width: 90%; } @include max-screen($breakpoint-mobile) { width: 100%; } & .svg_ttl_r { width: 20%; @include max-screen($breakpoint-mobile) { width: 35%; } } } .code03_box { position: relative; margin: 15% auto; max-width: 650px; @include max-screen($breakpoint-notepad) { max-width: 500px; } @include max-screen($breakpoint-mobile) { width: 70%; margin-top: 20%; } & .code03_02 { margin-bottom: 0.5em; } & .code03_03 { margin-bottom: 0.5em; } & .line_vertical { position: absolute; top: 0; left: 50%; transform: translateX(-50%); height: 100%; width: 100%; text-align: center; padding-top: 60%; z-index: 50; & img { width: 60%; } &::after { content: ""; border-left: 0.5px solid #ffffff; height: 0%; position: absolute; top: 0; left: 50%; transform: translateX(-50%); } &.isActive::after { height: 100%; transition: 3.0s; left: 50%; transform: translateX(-50%); } } } .code04_01 { max-width: 1300px; @include max-screen($breakpoint-notepad) { max-width: 1000px; } & .svg_ttl_r { width: 25%; @include max-screen($breakpoint-mobile) { width: 40%; } } & .credit { @include max-screen($breakpoint-mobile) { margin-left: 10%; } } } .code04_02 { position: relative; margin: 10% auto; @include max-screen($breakpoint-notepad) { max-width: 1200px; } @include max-screen($breakpoint-mobile) { margin: 20% auto; } & .line { position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); width: 100%; text-align: center; & img { @include max-screen($breakpoint-mobile) { width: 45%; } } &::after { content: ""; border-bottom: 0.5px solid #ffffff; width: 0%; position: absolute; bottom: 0; left: 0; } &.isActive::after { width: 100%; transition: 1.5s; } } } .code04_03 { margin: 10% auto 20%; } .code05_01 { @include max-screen($breakpoint-notepad) { width: 60%; } @include max-screen($breakpoint-mobile) { width: 85%; } & .svg_ttl_r { width: 30%; @include max-screen($breakpoint-mobile) { width: 40%; } } } .code05_02 { margin: 10% auto 20%; @include max-screen($breakpoint-mobile) { margin: 25% auto 30%; } & .swiper { @include max-screen($breakpoint-notepad) { max-width: 40%; } @include max-screen($breakpoint-mobile) { max-width: 60%; } } } .code06_01 { max-width: 1493px; margin: 0 auto 0 0; @include max-screen($breakpoint-notepad) { max-width: 1000px; } & .svg_ttl_r { width: 20%; @include max-screen($breakpoint-mobile) { width: 35%; } } & .credit { margin-left: 10%; } } .code06_02 { margin: 15% auto 10%; & .swiper { @include max-screen($breakpoint-notepad) { max-width: 40%; } @include max-screen($breakpoint-mobile) { margin: 0 0 0 auto; max-width: 75%; } } } .code06_03 { margin-bottom: 30%; @include max-screen($breakpoint-notepad) { width: 60%; margin: 0 auto 30%; } @include max-screen($breakpoint-mobile) { width: 80%; margin: 0 auto 50%; } } .code07_01 { @include max-screen($breakpoint-notepad) { width: 60%; } @include max-screen($breakpoint-mobile) { width: 85%; } } .code07_02 { position: relative; & .maxSize { max-width: 1980px; margin: 15% auto 5%; } & img { margin: 0 0 0 auto; display: block; @include max-screen($breakpoint-notepad) { width: 90%; } @include max-screen($breakpoint-mobile) { width: 95%; } } & .line { position: absolute; top: 50%; transform: translateY(-50%); left: 0%; width: 100%; text-align: right; padding-right: 15%; @include max-screen($breakpoint-notepad) { padding-right: 10%; } @include max-screen($breakpoint-mobile) { padding-right: 0; } & img { width: 30%; @include max-screen($breakpoint-mobile) { width: 40%; } } &::after { content: ""; border-bottom: 0.5px solid #ffffff; width: 0%; position: absolute; bottom: 0; left: 0; } &.isActive::after { width: 100%; transition: 1.5s; } } } .code07_03 { max-width: 1000px; margin: 0 auto; @include max-screen($breakpoint-mobile) { margin-bottom: 30%; } & .swiper { margin: 0 0 0 auto; max-width: 680px; @include max-screen($breakpoint-notepad) { width: 40%; margin: 0 15% 0 auto; } @include max-screen($breakpoint-mobile) { width: 65%; margin: 0 5% 0 auto; } } } .code08_01 { margin: 20% auto 15%; max-width: 800px; @include max-screen($breakpoint-notepad) { max-width: 600px; } @include max-screen($breakpoint-mobile) { margin-top: 5%; width: 85%; } & .svg_ttl { width: 35%; @include max-screen($breakpoint-mobile) { width: 40%; } } } .code08_02 { position: relative; width: 100%; & img { @include max-screen($breakpoint-notepad) { max-width: 700px; } @include max-screen($breakpoint-tablet) { max-width: 100%; } } & .line { position: absolute; top: 40%; width: 100%; text-align: center; @include max-screen($breakpoint-mobile) { top: 37%; } & img { @include max-screen($breakpoint-mobile) { width: 50%; } } &::after { content: ""; border-bottom: 0.5px solid #ffffff; width: 0%; position: absolute; bottom: 0; left: 0; } &.isActive::after { width: 100%; transition: 1.5s; } } } .code09_01 { max-width: 1600px; @include max-screen($breakpoint-notepad) { max-width: 1000px; } & .svg_ttl { width: 25%; @include max-screen($breakpoint-mobile) { width: 35%; } } & .credit { @include max-screen($breakpoint-mobile) { margin-left: 10%; } } } .code09_02 { margin: 15% auto; } .code10_01 { max-width: 1600px; @include max-screen($breakpoint-notepad) { max-width: 1000px; } & .svg_ttl_r { width: 20%; @include max-screen($breakpoint-mobile) { width: 40%; } } & .credit { margin-left: 10%; } } .code10_02 { margin: 10% auto; @include max-screen($breakpoint-notepad) { width: 60%; } @include max-screen($breakpoint-mobile) { width: 80%; } } .code11_01 { max-width: 500px; margin: 0 auto; @include max-screen($breakpoint-notepad) { width: 50%; } @include max-screen($breakpoint-mobile) { width: 70%; } & .swiper { @include max-screen($breakpoint-notepad) { max-width: 100%; } @include max-screen($breakpoint-mobile) { max-width: 90%; } } } .code11_02 { max-width: 800px; margin: 5% auto 10%; @include max-screen($breakpoint-notepad) { width:60%; } @include max-screen($breakpoint-mobile) { margin: 30% auto; width: 85%; } & .svg_ttl { left: 0; right: 0; margin: auto; } } .popup-wrap { position: fixed; top: 0px; left: 0px; z-index: 2; width: 100vw; height: 100vh; background-color: rgba(0, 0, 0, 0.5); opacity: 0; visibility: hidden; transition: 0.5s; &.active { visibility: visible; opacity: 1; } & .popup-content { position: absolute; top: 50%; left: 50%; transform: translateX(-50%) translateY(-50%); background-color: #fff; padding: 50px 10px 10px; text-align: center; @include max-screen($breakpoint-mobile) { left: 30%; transform: translateX(-20%) translateY(-50%); } } & .onetime_popup_title_close { position: absolute; top: 6px; right: 32px; cursor: pointer; &::before { position: absolute; font-size: 25px; content: "×"; color: #666; } } & .image_popup { max-width: 350px; } } #answer { background: #fff; padding: 2.0em 0; & h3 { font-size: 1.0em; margin-bottom: 1.0em; } & p { font-size: 0.8em; line-height: 2.0; @include max-screen($breakpoint-mobile) { font-size: 0.7em; } & span { font-size: 110%; } & br { @include max-screen($breakpoint-mobile) { display: none; } } } & a { border: 1px solid #666; background: #666; color: #fff; padding: 0.5em 1.0em; display: block; max-width: 200px; margin: 1% auto; font-size: 0.7em; } }