@charset "utf-8"; // リセットCSS $green: #6d896e; $black: #222222; $white: #fcfcfc; * { margin: 0; padding: 0; box-sizing: border-box; } html { font-size: 62.5%; scroll-behavior: smooth; body { font-size: 1.6rem; -webkit-font-smoothing: antialiased; color: $black; background-color: $white; font-family: "Zen Kaku Gothic New", sans-serif; font-weight: 400; font-style: normal; } } li { list-style-type: none; } a { text-decoration: none; color: $black; } img { max-width: 100%; } main { position: relative; } p, dd { line-height: 1.5; letter-spacing: 2px; text-align: justify; } address { font-style: normal; } section { padding: 150px 0 100px; } .section-title { text-align: center; padding: 50px 0; margin: auto; position: relative; font-size: 2.4rem; font-weight: bold; &::before { content: url(../img/banboo.svg); position: absolute; top: 15px; left: 50%; transform: translateX(-50%); } } .inner-wrapper { max-width: 1440px; padding: 0 200px; } .flex { display: flex; align-items: center; justify-content: space-between; } .gap-20 { gap: 20px; } .gap-30 { gap: 30px; } .flex-wrap { flex-wrap: wrap; } .flex-reverse { flex-direction: row-reverse; } // header header { padding: 30px 100px; .header-right { vertical-align: auto; } } .fv { width: 100%; display: flex; align-items: center; justify-content: center; padding: 0 100px; position: relative; .fv-copy { padding: 40px 15px; color: $black; background-color: $white; position: absolute; writing-mode: vertical-rl; height: auto; font-size: 2.4rem; min-height: 400px; text-align: center; font-weight: bold; display: inline; span { font-size: 1.6rem; font-weight: normal; } } .fv-copy1 { top: 50%; right: 200px; transform: translateY(-50%); } .fv-copy2 { top: 60%; right: 280px; transform: translateY(-50%); } .fv_img { background-image: url("../img/fv-img1.jpg"); background-repeat: no-repeat; background-size: cover; height: 80vh; width: 100%; animation: image_anime 16s ease infinite; animation-fill-mode: forwards; } @keyframes image_anime { 0% { background-image: url(../img/fv-img3.jpg); } 20% { background-image: url(../img/fv-img1.jpg); } 35% { background-image: url(../img/fv-img1.jpg); } 53% { background-image: url(../img/fv-img2.jpg); } 68% { background-image: url(../img/fv-img2.jpg); } 85% { background-image: url(../img/fv-img3.jpg); } 100% { background-image: url(../img/fv-img3.jpg); } } } #what { .flex-left { width: 50%; &-above { .what-title { color: $green; font-size: 3.2rem; } .what-text { margin: 30px 0; } } .what-left-middle { dt { font-weight: bold; font-size: 2.4rem; margin: 10px 0; } dd { span { font-size: 14px; } .dd-child { margin-bottom: 10px; } .menu { text-decoration: underline; } } } .what-left-below { margin-top: 30px; .what-left-below-item { margin-bottom: 7px; figcaption { font-weight: bold; } } } } .what-right-img { width: 400px; max-width: 500px; } } .enjoy { background-image: url("../img/enjoy_bg.jpg"); background-repeat: no-repeat; background-size: cover; color: $white; &_list { max-width: 900px; margin: 0 auto; } &_box { background-color: $white; color: $black; padding: 70px 50px; margin: 50px 0; h3 { padding: 24px 10px; border-top: 1px solid $black; border-bottom: 1px solid $black; margin-bottom: 30px; } } &_img { max-width: 420px; width: 420px; object-fit: cover; } } .gallary { background-color: #989898; .grid { display: grid; grid-template: "c1 c2 c3" 240px "c4 c5 c6" 240px "c7 c8 c9" 240px; grid-column-gap: 20px; grid-row-gap: 20px; } .grid-child { min-height: 230px; } .grid-child1 { grid-area: c1; } .grid-child2 { grid-area: c2; } .grid-child3 { grid-area: c3; } .grid-child4 { grid-area: c4; } .grid-child5 { grid-area: c5; } .grid-child6 { grid-area: c6; } .grid-child7 { grid-area: c7; } .grid-child8 { grid-area: c8; } .grid-child9 { grid-area: c9; } .grid-item { object-fit: cover; } } .map-wrapper { iframe { width: 100%; height: 350px; display: block; } } .footer { background-color: $black; color: $white; padding: 70px 100px; &-wrapper { align-items: flex-end; } &-left { .footer-logo { width: 350px; max-width: 350px; } &-detail { dt { font-weight: bold; font-size: 2.4rem; margin: 20px 0 10px; } dd { span { font-size: 1.2rem; } .dd-child { margin-bottom: 7px; } } } } &-right { &-list { li { margin-left: 30px; } } } } @media screen and (max-width: 540px) { .flex { display: block; } header { padding: 20px 30px; .flex { // display: flex; .gap-20 { display: flex; justify-content: flex-end; .tel, .menu { display: none; } } } .header-logo { width: 80%; } } .fv { padding: 0 30px; .fv_img { background-image: url("../img/fv-img1_sp.jpg"); background-repeat: no-repeat; background-size: cover; background-position: center; height: 80vh; width: 100%; animation: image_anime 16s ease infinite; animation-fill-mode: forwards; } @keyframes image_anime { 0% { background-image: url(../img/fv-img3_sp.jpg); } 20% { background-image: url(../img/fv-img1_sp.jpg); } 35% { background-image: url(../img/fv-img1_sp.jpg); } 53% { background-image: url(../img/fv-img2_sp.jpg); } 68% { background-image: url(../img/fv-img2_sp.jpg); } 85% { background-image: url(../img/fv-img3_sp.jpg); } 100% { background-image: url(../img/fv-img3_sp.jpg); } } .fv-copy { font-size: 1.6rem; min-height: 180px; padding: 20px 10px; span { font-size: 1.2rem; } } .fv-copy1 { top: 25%; right: 50px; } .fv-copy2 { top: 35%; right: 110px; } } section { padding: 70px 0; } .inner-wrapper { padding: 0 30px; } #what { .flex-left { width: 100%; .what-left-below { display: flex; gap: 20px; .gap-20 { gap: 10px; } .what-left-below-item { .flex { display: flex; } } } } .flex-left-above { .what-title { font-size: 2.4rem; } } .flex-right { img { width: 100%; display: block; margin-bottom: 30px; height: 300px; object-fit: cover; } } } .enjoy { .enjoy_list_item { margin-bottom: 70px; img { display: flex; width: 100%; height: 280px; object-fit: cover; &:nth-of-type(1) { object-position: left; } } } .enjoy_box { margin: 0; padding: 50px 30px; } } .gallary { .grid { // display: grid; // grid-template: // "c1 c2" 200px // "c3 c4" 200px // "c5 c5" 200px; // grid-column-gap: 20px; // grid-row-gap: 20px; display: block; .grid-child { margin-bottom: 20px; } } } .footer { padding: 50px 30px; .footer-logo { width: 100%; } } .footer-left-detail { dt { font-size: 2rem; } dd { font-size: 1.4rem; } } .footer-right { .footer-right-list { display: flex; justify-content: flex-start; .footer-right-list-item { margin: 30px 30px 0 0; } } } }