// Scss Document /*-------------------- 共通設定 ----------------------*/ $white:#ffffff; $eng:'Noto Serif Display', serif; $ja:'Noto Serif JP', serif; $breakpoint-notepad: 1500px; $breakpoint-tablet: 800px; $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: 'Noto Sans JP', sans-serif; font-weight: 400; color: #f1f1f1; font-size: 16px; color: #222222; } img { width: 100%; } a { text-decoration: none; &.disabled { pointer-events: none; text-decoration: none; } } .pc { display: block; @include max-screen($breakpoint-mobile) { display: none; } } .sp { display: none; @include max-screen($breakpoint-mobile) { display: block; } } .fadein { opacity: 0; transform: translateY(0px); transition: all 1.5s; } body { background: #f1f1f1; overflow-x: hidden; } .cd-header { position: fixed; top: 0; left: 0; width: 100%; height: 50px; z-index: 9999; background: rgba(255,255,255,0.7); & #cd-logo { position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); & img { display: block; width: 100%; max-width: 200px; } } } #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: 10px; & p { font-size: 0.7em; } } /*------------------------------------------------*/ .wrapper { margin: 50px auto; & .mv { margin-bottom: 15%; } & .MainTxt { text-align: center; & h1 { font-size: 1.3em; line-height: 2.0; @include max-screen($breakpoint-tablet) { font-size: 1.0em; } } & p { font-size: 0.8em; line-height: 2.0; @include max-screen($breakpoint-tablet) { font-size: 0.7em; } } } & section { margin: 15% auto; @include max-screen($breakpoint-mobile) { margin: 25% auto; } & .sub-ttl { position: relative; text-align: center; margin-bottom: 10%; & h2 { position: relative; font-size: 1.8em; font-family: $ja; @include max-screen($breakpoint-notepad) { font-size: 1.5em; } @include max-screen($breakpoint-tablet) { font-size: 1.2em; } @include max-screen($breakpoint-mobile) { font-size: 1.0em; } } & h3 { position: absolute; color: #fff; font-family: $eng; top: 50%; left: 50%; transform: translate(-50%,-50%); font-size: 6.0em; line-height: 0.7; @include max-screen($breakpoint-notepad) { font-size: 4.5em; } @include max-screen($breakpoint-tablet) { font-size: 4.0em; } } } &#search { max-width: 800px; @include max-screen($breakpoint-tablet) { width: 97%; } & ul { list-style: none; margin: 5% auto; & li { border: 1px solid #222222; background: #fff; margin-bottom: 1.5%; & a { padding: 2%; display: block; position: relative; font-size: 0.8em; @include max-screen($breakpoint-mobile) { padding: 3%; font-size: 0.7em; } &::before { content: "▶"; position: absolute; top: 50%; right: 3%; transform: translateY(-50%); font-size: 1.0em; @include max-screen($breakpoint-mobile) { font-size: 0.8em; } } } } } & .modal-wrapper { z-index: 999; position: fixed; top: 0; right: 0; bottom: 0; left: 0; padding: 40px 10px; text-align: center; &:not(:target) { opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s; } &:target { opacity: 1; visibility: visible; transition: opacity .4s, visibility .4s; } &::after { display: inline-block; height: 100%; margin-left: -.05em; vertical-align: middle; content: ""; } & .modal-window { box-sizing: border-box; display: inline-block; z-index: 20; position: relative; width: 95%; max-width: 1000px; border-radius: 2px; background: #fff; vertical-align: middle; & .modal-content { max-height: 85vh; overflow-y: auto; text-align: left; padding: 3% ; & ul { display: flex; justify-content: flex-start; align-items:inherit; flex-wrap: wrap; width: 98%; max-width: 1000px; list-style: none; padding: 2% 0 0; margin: 0 auto; position: relative; & li { width: 33.3%; padding: 3%; border: none; @include max-screen($breakpoint-mobile) { width: 50%; padding: 2%; margin: 0; } &:nth-child(2),&:nth-child(5) { padding: 2.8%; border-left: 1px solid #222222; border-right: 1px solid #222222; @include max-screen($breakpoint-mobile) { padding: 1.8%; border:none; } } &:nth-child(2n+1) { @include max-screen($breakpoint-mobile) { border-right: 1px solid #222222; } } & a { &::before { display: none; } } & p { text-align: left; padding-bottom: 15px; border-bottom: 1px solid #222222; font-size: 0.9em; } & img { padding-top: 15px; } } } } } } & .modal-overlay { z-index: 10; position: absolute; top: 0; right: 0; bottom: 0; left: 0; background: rgba(0, 0, 0, .3) } & .modal-close { z-index: 20; position: absolute; width: 40px; height: 40px; top: 5px; right: 25px; color: #222222; font-size: 1.0em; line-height: 2.5; @include max-screen($breakpoint-mobile) { width: 25px; height: 25px; right: 10px; } } } &#itemList { text-align: center; & .ttl { max-width: 350px; margin: 0 auto 7%; @include max-screen($breakpoint-mobile) { width: 50%; } } & ul { display: flex; justify-content: flex-start; align-items:inherit; flex-wrap: wrap; width: 98%; max-width: 1000px; list-style: none; padding: 2% 0 0; margin: 0 auto; position: relative; &::before { content: ""; position: absolute; width: 94%; border-top: 1px solid #222222; top: 0; left: 3%; } & li { width: 33.3%; padding: 3%; @include max-screen($breakpoint-mobile) { width: 50%; padding: 3%; } &:nth-child(2),&:nth-child(5) { padding: 2.8%; border-left: 1px solid #222222; border-right: 1px solid #222222; @include max-screen($breakpoint-mobile) { border: none; padding: 3%; } } &:nth-child(2n+1){ @include max-screen($breakpoint-tablet) { border-right: 1px solid #222222; } } & p { text-align: left; padding-bottom: 15px; border-bottom: 1px solid #222222; font-size: 0.9em; @include max-screen($breakpoint-mobile) { font-size: 0.7em; } } & img { padding-top: 15px; } } } } &#banner { & a { display: block; text-align: center; width: 95%; margin: 0 auto; & img { max-width: 1500px; margin: 0 auto 4%; @include max-screen($breakpoint-mobile) { margin-bottom: 1.5%; } &.max-800 { max-width: 800px; } } } } &.itemStyle { max-width: 1200px; margin: 15% auto; @include max-screen($breakpoint-tablet) { margin: 25% auto; } & .box { position: relative; width: 97%; margin: 0 auto; & .detail { position: absolute; margin-top: 5%; top: 0; right: 0; width: 48%; max-width: 500px; @include max-screen($breakpoint-notepad) { margin-top: 3%; } @include max-screen($breakpoint-tablet) { position: static; width: 90%; margin: 10% auto; } & h5 { font-size: 1.0em; text-align: center; margin-bottom: 30px; position: relative; z-index: 10; @include max-screen($breakpoint-tablet) { margin-bottom: 10px; } & span { border-bottom: 1px solid #222222; } } & .sub-ttl { margin-bottom: 15%; @include max-screen($breakpoint-notepad) { margin-bottom: 10%; } @include max-screen($breakpoint-tablet) { margin-bottom: 5%; } } & p { font-size: 0.8em; line-height: 2.0; @include max-screen($breakpoint-tablet) { font-size: 0.7em; } } & .itemImage { position: relative; text-align: center; margin-top: 10%; @include max-screen($breakpoint-tablet) { margin: 3% auto 10%; } & h3 { position: absolute; color: #fff; font-family: $eng; top: 50%; left: 50%; transform: translate(-50%,-50%); font-size: 5.5em; z-index: 0; @include max-screen($breakpoint-tablet) {font-size: 5.0em;} @include max-screen($breakpoint-mobile) {font-size: 4.0em} } & img { width: auto; max-height: 550px; @include max-screen($breakpoint-notepad) { max-height: 400px; } @include max-screen($breakpoint-tablet) { max-height: 350px; position: relative; z-index: 2; } } } } & .image { & img { max-width: 880px; width: 60%; @include max-screen($breakpoint-tablet) { width: 85%; } } } } & .flex { display: flex; justify-content: space-between; align-items: flex-start; width: 100%; margin: 3% auto 10%; @include max-screen($breakpoint-tablet) { width: 97%; flex-wrap: wrap; margin-top: 5%; } & div { width: 50%; @include max-screen($breakpoint-tablet) { width: 100%; } &:first-child { padding-right: 3%; margin-top: 15%; @include max-screen($breakpoint-tablet) { width: 90%; margin-top: 5%; } } &:last-child { @include max-screen($breakpoint-tablet) { order: -1; width: 85%; margin: 0 0 5% auto; } } } } } & .item-Detail { display: flex; align-items: flex-start; justify-content:center; margin-bottom: 5%; @include max-screen($breakpoint-mobile) { display: block; } & div { padding: 0 5%; @include max-screen($breakpoint-mobile) { padding: 2%; width: 80%; margin: 0 auto; } & img { margin: 0 auto; &.info { max-width: 513px; } &.price{ max-width: 283px; @include max-screen($breakpoint-mobile) { width: 60%; } } } } } & .moreBtn { max-width: 200px; margin: 3% auto; @include max-screen($breakpoint-mobile) { width: 40%; } & a { display: block; background: #222222; border: 1px solid #222222; border-radius: 50vh; color: #fff; font-size: 1.2em; text-align: center; padding: 0.5em 0; @include max-screen($breakpoint-mobile) { font-size: 0.8em; } &:hover { transition: .4s; background: #fff; color: #222222; } } } &.itemStyle-02 { max-width: 1200px; margin: 15% auto; @include max-screen($breakpoint-tablet) { margin: 25% auto; } & .box { width: 97%; position: relative; margin: 0 auto; & .detail { position: absolute; margin-top: 5%; top: 0; left: 0; width: 48%; max-width: 500px; @include max-screen($breakpoint-tablet) { position: static; width: 90%; margin: 10% auto; } & h5 { font-size: 1.0em; text-align: center; margin-bottom: 30px; @include max-screen($breakpoint-tablet) { margin-bottom: 10px; } & span { border-bottom: 1px solid #222222; } } & .sub-ttl { margin-bottom: 15%; @include max-screen($breakpoint-notepad) { margin-bottom: 10%; } @include max-screen($breakpoint-tablet) { margin-bottom: 5%; } } & p { font-size: 0.8em; line-height: 2.0; @include max-screen($breakpoint-tablet) { font-size: 0.7em; } } & .itemImage { position: relative; text-align: center; margin-top: 10%; @include max-screen($breakpoint-tablet) { margin: 3% auto 10%; } & h3 { position: absolute; color: #fff; font-family: $eng; top: 50%; left: 50%; transform: translate(-50%,-50%); font-size: 5.5em; z-index: 0; @include max-screen($breakpoint-tablet) { font-size: 5.0em; } @include max-screen($breakpoint-mobile) { font-size: 4.0em; } } & img { max-height: 550px; width: auto; @include max-screen($breakpoint-notepad) { max-height: 400px; } @include max-screen($breakpoint-tablet) { position: relative; z-index: 2; } } } } & .image { text-align: right; @include max-screen($breakpoint-tablet) { text-align: left; } & img { max-width: 880px; width: 60%; @include max-screen($breakpoint-tablet) { width: 85%; } } } } & .flex { display: flex; justify-content: space-between; align-items: flex-start; width: 100%; margin: 3% auto 10%; @include max-screen($breakpoint-tablet) { width: 97%; display: block; margin-top: 5%; } & div { width: 50%; @include max-screen($breakpoint-tablet) { width: 85%; } &:first-child { @include max-screen($breakpoint-tablet) { margin: 5% 0 0 auto; } } &:last-child { padding-left: 3%; margin-top: 15%; @include max-screen($breakpoint-tablet) { padding: 0; } } } } } } }