// Scss Document /*-------------------- 共通設定 ----------------------*/ $eng:"norman-stencil", sans-serif; $back:#f6f6f6; $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; } } html { /*scroll-behavior: smooth;*/ } * { margin: 0; padding: 0; letter-spacing: 0.1em; font-family: "a-otf-ryumin-pr6n", serif; font-weight: 400; color: #555555; font-size: 16px; text-align: left; } img { width: 100%; height: auto; } 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; } body { overflow-x: hidden; } #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 { margin-bottom: 10px; & p { text-align: center; font-size: 0.7em; } } #global-nav { width: 100%; text-align: center; height: 50px; background: rgba(255,255,255,0.8); position:fixed; z-index: 9999; & 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; } } } } /*----------------------------------------------------------*/ .lp_wrapper { margin: 0 auto; padding-top: 50px; } section { margin: 0 auto 15%; padding-top: 70px; @include max-screen($breakpoint-mobile) { margin: 0 auto 25%; } } .mv { margin: 0 auto; max-width: 1000px; } .mainTxt { margin: 10% auto; max-width: 800px; @include max-screen($breakpoint-tablet) { width: 85%; } & p { font-size: 0.8em; line-height: 2.0; @include max-screen($breakpoint-mobile) { font-size: 0.7em; line-height: 2.5; } } } .coupon { margin: 10% auto; padding: 2em; border: 1px solid #555555; max-width: 550px; position: relative; @include max-screen($breakpoint-mobile) { width: 85%; padding: 1.5em 0.5em; } &::before { position: absolute; content: ""; background: #fff; width: 110%; height: 60%; top: 50%; left: 50%; transform: translate(-50%,-50%); z-index: 2; } &::after { position: absolute; content: ""; background: #fff; width: 60%; height: 110%; top: 50%; left: 50%; transform: translate(-50%,-50%); z-index: 2; } & h5 { text-align: center; position: relative; z-index: 3; font-size: 1.2em; line-height: 2.5; letter-spacing: 0.2em; & span { font-size: 80%; } @include max-screen($breakpoint-mobile) { font-size: 0.8em; } } & p { text-align: center; position: relative; z-index: 3; font-size: 1.2em; line-height: 2.5; @include max-screen($breakpoint-mobile) { font-size: 0.7em; } } } .coupon_mall { margin: 10% auto; text-align: center; & img { max-width: 650px; width: 90%; } } h2 { text-align: center; margin-bottom: 2%; & img { max-height: 75px; @include max-screen($breakpoint-mobile) { max-height: 50px; } } } .back { background: $back; } .flexstyle { max-width: 900px; display: flex; justify-content: center; align-items: flex-start; flex-wrap: wrap; margin: 0 auto; padding: 5% 0 1%; @include max-screen($breakpoint-mobile) { display: block; position: relative; padding: 8% 0 3%; } & div { padding: 0 2% 5%; &.img { max-width: 600px; width: 60%; @include max-screen($breakpoint-mobile) { width: 80%; } &.navy { margin: 0 0 0 auto; } } &.txt { width: 40%; max-width: 400px; padding-top: 8%; @include max-screen($breakpoint-mobile) { position: absolute; top: 1.0em; right: 0; } &.navy { right: auto; left: 0; } } & h4 { & img { max-width: 100px; } } & p { font-size: 0.8em; line-height: 2.0; @include max-screen($breakpoint-mobile) { font-size: 0.7em; } } } } .bntImage { max-width: 800px; margin: 5% auto; position: relative; & .btn_hide { position: absolute; top: 0; left: 0; width: 100%; & .btn_position { cursor: pointer; position: absolute; &.clickPosition { cursor: pointer; position: absolute; &::after { content: ""; position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); width: 9px; height: 9px; border: 1px solid rgba(255,255,255,0.8); border-radius: 50%; background: rgba(255,255,255,0.8); } &::before { content: ""; position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); width: 14px; height: 14px; border: 1px solid rgba(255,255,255,0.8); border-radius: 50%; } &.hide { visibility: hidden; } } &#btn_01 { top: 300px; right: 25%; @include max-screen($breakpoint-mobile) { top: 150px; right: 15%; } } &#btn_02 { top: 200px; left: 35%; @include max-screen($breakpoint-mobile) { top: 70px; left: 25%; } } &#btn_03 { top: 400px; left: 20%; @include max-screen($breakpoint-mobile) { top: 200px; } } &#btn_04 { top: 650px; left: 45%; @include max-screen($breakpoint-mobile) { top: 250px; } } } } & button { visibility: hidden; color: #fff; font-size: 0.6em; background: rgba(0,0,0,0.4); border: 1px solid #fff; padding: 0.5em 1.0em;; border-radius: 0.7em; &.visible { visibility: visible; } } } /*-----------------------------------*/ /* モーダル */ .modal { position: fixed; top: 0; left: 0; width: 100%; height: 100vh; display: flex; align-items: center; justify-content: center; transition: opacity 0.3s; pointer-events: none; opacity: 0; z-index: 9998; background-color: rgba(0, 0, 0, 0.7); &.is-active { opacity: 1; pointer-events: auto; } & .modal__overlay { position: absolute; width: 100%; height: 100%; cursor: pointer; } & .modal__content { top: 50px; position: relative; background-color: #fff; overflow-x: hidden; width: 100%; max-height: 90vh; max-width: 900px; padding: 3% 5%; @include max-screen($breakpoint-notepad) { max-width: 600px; } @include max-screen($breakpoint-mobile) { padding: 10%; } &::-webkit-scrollbar{ width: 5px; } &::-webkit-scrollbar-track{ background-color: #ccc; } &::-webkit-scrollbar-thumb{ background-color: #222222; } & .modal__close-btn { position: absolute; right: 0; top: 0; font-size: 2.0em; width: 40px; height: 40px; cursor: pointer; z-index: 10; } & .modal__slider { overflow-x: hidden; & a { display: block; } & .swiper-slide { text-align: center; margin: 0 auto; & img { max-width: 326px; &.ttl { margin-bottom: 2%; max-width: 200px; } &.btn { display: block; max-width: 326px; margin: 0 auto; } } } & .swiper-button-next:after, & .swiper-button-prev:after { filter: grayscale(1); font-size: 1.8em; } & .swiper-button-next, & .swiper-button-prev { top: 40%; @include max-screen($breakpoint-notepad) { top: 50%; } @include max-screen($breakpoint-mobile) { top: 40%; } } & .swiper-button-prev, .swiper-container-rtl .swiper-button-next { left: 25%; } & .swiper-button-next, .swiper-container-rtl .swiper-button-prev { right: 25%; } } & .modal_image { margin-top: 7%; display: flex; justify-content: space-between; align-items: center; width: 100%; & a { width: 23%; } } } } /*----------------------------------*/ .item { text-align: center; & .subttl { & img { max-height: 50px; @include max-screen($breakpoint-mobile) { max-height: 35px; } } } & .itemHira { max-width: 400px; margin: 3% auto 5%; @include max-screen($breakpoint-mobile) { width: 60%; } } & h2 { padding: 5% 0 0; } } .btn_click { margin-bottom: 10%; @include max-screen($breakpoint-tablet) { text-align: center; width: 90%; margin: 0 auto 10%; } & button { width: 100%; margin: 0 auto; text-align: center; @include max-screen($breakpoint-mobile) { width: 90%; } &.more { &::before { background: url("../image/detail_cl_btn.jpg"); content: ""; background-size: contain; background-repeat: no-repeat; display: inline-block; max-width: 550px; width: 100%; height: 82px; margin: 0 auto; } &.on-click::before { content: ""; background: url("../image/detail_op_btn.jpg"); background-size: contain; background-repeat: no-repeat; display: inline-block; } } &.more2 { &::before { background: url("../image/detail_cl_btn.jpg"); content: ""; background-size: contain; background-repeat: no-repeat; display: inline-block; max-width: 550px; width: 100%; height: 82px; margin: 0 auto; } &.on-click::before { content: ""; background: url("../image/detail_op_btn.jpg"); background-size: contain; background-repeat: no-repeat; display: inline-block; } } &.more3 { &::before { background: url("../image/detail_cl_btn.jpg"); content: ""; background-size: contain; background-repeat: no-repeat; display: inline-block; max-width: 550px; width: 100%; height: 82px; margin: 0 auto; } &.on-click::before { content: ""; background: url("../image/detail_op_btn.jpg"); background-size: contain; background-repeat: no-repeat; display: inline-block; } } &.more4 { &::before { background: url("../image/detail_cl_btn.jpg"); content: ""; background-size: contain; background-repeat: no-repeat; display: inline-block; max-width: 550px; width: 100%; height: 82px; margin: 0 auto; } &.on-click::before { content: ""; background: url("../image/detail_op_btn.jpg"); background-size: contain; background-repeat: no-repeat; display: inline-block; } } } & .img-hide,& .img--hide,& .img---hide,& .img----hide{ display: none; max-width: 640px; margin: 5% auto; width: 100%; } } .itemList { max-width: 800px; margin: 2% auto 5%; display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-start; padding-bottom: 5%; & div { width: 50%; display: flex; align-items: flex-start; justify-content: flex-start; @include max-screen($breakpoint-mobile) { width: 90%; margin: 0 auto; } & a { font-size: 0.7em; line-height: 2.0; padding: 1%; & p { font-size: 100%; } &:first-child { width: 25%; @include max-screen($breakpoint-mobile) { width: 30%; } } } } } .town { text-align: center; & .center { max-width: 500px; @include max-screen($breakpoint-mobile) { width: 70%; } } } #item_01,#item_03 { & .coordinate { & a { display: block; } & .center { max-width: 1000px; margin: 1% auto 5%; } & .right { max-width: 1000px; margin: 0 auto; text-align: right; @include max-screen($breakpoint-mobile) { text-align: left; } & img { margin-right: 7%; max-width: 600px; @include max-screen($breakpoint-mobile) { width: 70%; margin: 0; } } } } } #item_02,#item_04 { & .coordinate { max-width: 1000px; margin: 0 auto; & a { display: block; } & .left { text-align: left; & img { max-width: 600px; @include max-screen($breakpoint-mobile) { width: 75%; } } } & .right { text-align: right; margin-top: 2%; & img { max-width: 600px; @include max-screen($breakpoint-mobile) { width: 75%; } } } } } #foot { text-align: center; & img { max-width: 790px; } }