// Scss Document /*-------------------- 共通設定 ----------------------*/ $eng:'Cinzel', serif; $ryumin:"a-otf-ryumin-pr6n", serif; $adobe:"adobe-garamond-pro", serif; $breakpoint-notepad: 1500px; $breakpoint-tablet: 1000px; $breakpoint-mobile: 600px; @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:-apple-system, BlinkMacSystemFont, Roboto, "Segoe UI", "Helvetica Neue", HelveticaNeue, YuGothic, "Yu Gothic Medium", "Yu Gothic", Verdana, Meiryo, sans-serif; font-weight: 400; font-size: 16px; color: #3e3a39; list-style: none; text-align: center; } img { width: 100%; } a { text-decoration: none; &.disabled { pointer-events: 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 1.5s; } .footer_copy { text-align: center; & p { font-size: 0.7em; padding-bottom: 20px; font-family: $adobe; } } #global-nav { width: 100%; opacity: 0; text-align: center; height: 50px; background: rgba(255,255,255,0.8); position: relative; & 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; } } body { overflow-x: hidden; } /*------------------------------------------------*/ .mv { & img { width: 100%; } } .lp_warapper { max-width: 1000px; margin: 0 auto; width: 90%; @include max-screen($breakpoint-notepad) { max-width: 800px; } @include max-screen($breakpoint-tablet) { width: 100%; } } .main-txt { margin: 15% auto; & p { font-size: 0.9em; line-height: 2.5; text-align: center; margin: 3% auto; @include max-screen($breakpoint-mobile) { font-size: 0.8em; letter-spacing: 0; line-height: 2.0; } } } .main-code { position: relative; max-width: 800px; margin: 0 auto 7%; @include max-screen($breakpoint-tablet) { width: 95%; } & img { max-width: 800px; } & .ttl { & img { max-width: 180px; @include max-screen($breakpoint-tablet) { width: 60%; } @include max-screen($breakpoint-mobile) { max-width: 70px; width: 100%; } } &.left { position: absolute; left: -90px; top: 50%; transform: translateY(-50%); @include max-screen($breakpoint-tablet) { left: -4%; } @include max-screen($breakpoint-mobile) { left: 2%; } } &.right { position: absolute; right: -90px; top: 50%; transform: translateY(-50%); @include max-screen($breakpoint-tablet) { right: -4%; } @include max-screen($breakpoint-mobile) { right: 2%; } } } } .code_img { max-width: 800px; margin: 0 auto; @include max-screen($breakpoint-tablet) { width: 95%; } &.code_left { text-align: right; } &.code_right { text-align: left; } & img { max-width: 650px; @include max-screen($breakpoint-tablet) { width: 80%; } } } .code_txt { width: 70%; text-align: left; font-size: 0.8em; line-height: 2.0; margin: 8% auto; @include max-screen($breakpoint-mobile) { font-size: 0.7em; width: 80%; } } section { margin: 15% auto 50%; & ol { display: flex; flex-wrap: wrap; width: 80%; justify-content: flex-start; align-items: flex-start; margin: 0 auto; @include max-screen($breakpoint-tablet) { width: 90%; } & li { width: 50%; padding: 0.5% 1%; @include max-screen($breakpoint-tablet) { width: 100%; } & a { display: flex; justify-content: flex-start; & img { width: 20%; } & dl { font-size: 0.7em; padding: 2% 0 2% 5%; width: 80%; @include max-screen($breakpoint-tablet) { width: 70%; } & dd, & dt { text-align: left; font-size: 100%; & span { font-size: 70%; } } } } } } } /*------------------------------------- スライダー -------------------------------------*/ .gray { background: #f4f4f4; padding: 20% 10% 10%; margin: 15% auto; position: relative; text-align: center; & .ttl { position: absolute; top: 3%; left: 50%; transform: translateX(-50%); width: 100%; z-index: 1000; @include max-screen($breakpoint-tablet) { top: 5%; } @include max-screen($breakpoint-mobile) { top: 1%; } & h3 { font-size: 5.0em; font-family: $adobe; line-height: 1.3; @include max-screen($breakpoint-notepad) { font-size: 4.0em; } @include max-screen($breakpoint-tablet) { font-size: 3.0em; } @include max-screen($breakpoint-mobile) { font-size: 2.3em; } & span { font-size: 30%; font-family: $ryumin; } } } & .slider { & .slick-dots{ bottom: -25px; display: flex; justify-content: space-between; width: auto; left: 50%; transform: translateX(-50%); & li{ width: 30px; height: 3px; margin: 0; padding: 0; cursor: pointer; background: #ffffff; overflow: hidden; &:not(:last-child){ margin-right:10px; } & button { padding: 2px; } &.slick-active button::after{ content: ""; position:absolute; top: 0; left: 0; width: 0; height: 100%; background-color: #7c7c7c; animation: progress 2s linear 0s forwards; z-index:1; } } } } } @keyframes progress { 0%{ width:0; } 100% { width:100%; } }