@charset "UTF-8";

html {
    font-size: 62.5%;
    scroll-behavior: smooth;
}

img {
    max-width: 100%;
    vertical-align: bottom;
}

body {
    font-family: 'Zen Kaku Gothic New', 'A1 Mincho', sans-serif;
    font-style: normal;
    color: #243a53;
    line-height: 1.7;
    background-color: #fcf8e7;
    font-size: 1.5rem;
    font-weight: 500;
    opacity: 0;
    transition: opacity 2.8s cubic-bezier(0.4, 0, 0.2, 1);
}

body.is-loaded {
    opacity: 1;
}

li {
    list-style: none;
}

a {
    text-decoration: none;
    color: #243a53;
    transition: opacity 0.4s ease;
}

a:hover {
    opacity: 0.7;
}

@media screen and (max-width: 768px) {
    body {
        font-size: 1.3rem;
    }
}

/* -----------------------------
common
----------------------------- */
.wrapper {
    max-width: 1440px;
    margin: 0 auto;
}

.btn {
    display: inline-flex;
    width: fit-content;
    padding: 11px 46px 9px 46px;
    background-color: #fff;
    border-radius: 70px;
    gap: 10px;
    position: relative;
    transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.btn img {
    transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.btn:hover {
    transform: translateY(4px);
    opacity: 1;
}

.btn:hover::after {
    transform: scaleX(1);
}

.btn:hover img {
    transform: translateX(6px);
}

.section-title {
    font-size: clamp(2.8rem, 1.2rem + 2.22vw, 3.8rem);
    font-family: 'A1 Mincho', serif;
    letter-spacing: 0.2em;
    line-height: 1.7;
}

.mt60 {
    margin-top: 60px;
}

.mt50 {
    margin-top: 50px;
}

.mt120 {
    margin-top: 120px;
}

.mt140 {
    margin-top: 140px;
}

.lh28 {
    line-height: 2.8;
    font-size: 1.7rem;
}

.fadeIn {
    opacity: 0;
    transform: translateY(80px);
    transition: all 1.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.fadeIn.is-show {
    opacity: 1;
    transform: translateY(0);
}

@media screen and (max-width: 768px) {
    .btn {
        padding: 11px 22px 12px 33px;
        font-size: 1.3rem;
        gap: 8px;
    }

    .mt60 {
        margin-top: 20px;
    }

    .mt120 {
        margin-top: 60px;
    }

    .mt140 {
        margin-top: 80px;
    }

    .lh28 {
        font-size: 1.4rem;
    }
}

/* -----------------------------
header
----------------------------- */
.fv {
    background: url(../img/bg-mainvisual.jpg) no-repeat center / cover;
    padding: 68px 8.3% 180px 2.7%;
    border-top: 18px solid #92caf7;
    position: relative;
}

.fv::after {
    content: '';
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 1440 / 87;
    background: url(../img/wave-y.png) no-repeat center / 100% 100%;
    position: absolute;
    bottom: -1px;
    left: 0;
}

.fv::before {
    content: '';
    display: block;
    width: 177px;
    height: 255px;
    background: url(../img/img-strawberry.png) no-repeat center/cover;

    position: fixed;
    top: 50%;
    right: 0;

    opacity: 0;
    z-index: 20;
}

.fv.is-strawberry-active::before {
    opacity: 1;
    animation: floatInStrawberry 2s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.fv.is-strawberry-leave::before {
    animation: floatOutStrawberry 0.8s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

@keyframes floatInStrawberry {
    0% {
        opacity: 0;
        transform: translateX(40px) translateY(20px) rotate(6deg) scale(0.96);
    }

    100% {
        opacity: 1;
        transform: translateX(0) translateY(0) rotate(0) scale(1);
    }
}

@keyframes floatOutStrawberry {
    0% {
        opacity: 1;
        transform: translateX(0) translateY(0) rotate(0) scale(1);
    }

    100% {
        opacity: 0;
        transform: translateX(30px) translateY(10px) rotate(4deg) scale(0.96);
    }
}

.fv.is-show::before {
    animation: floatInRight 1s ease-out forwards;
}

.fv-inner {
    display: flex;
    justify-content: space-between;
}

.header {
    width: 25%;
    position: relative;
    z-index: 2;
}

.nav {
    margin-top: 51px;
    padding-left: 25%;
}

.nav li {
    position: relative;
    margin-top: 20px;
    padding-left: 23px;
}

.nav li a {
    color: #243a53;
}

.nav li::before {
    content: '';
    display: block;
    width: 15px;
    height: 15px;
    background: url(../img/icon-flower-b.png) no-repeat center / contain;
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
}

.mainvisual-wrap {
    width: 80%;
    margin-left: -10%;
    position: relative;
    margin-top: 130px;
    z-index: 1;
}

.mainvisual-img {
    width: 100%;
    height: 620px;

    -webkit-mask-image: url(../img/mask.svg);
    mask-image: url(../img/mask.svg);

    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;

    -webkit-mask-position: center;
    mask-position: center;

    -webkit-mask-size: contain;
    mask-size: contain;
}

.mainvisual-img img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.mask-border {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
    transform: scale(1.05);
}

@media (min-width: 1250px) and (max-width: 1440px) {
    .mask-border {
        transform: scale(1.05);
    }
}

@media (min-width: 768px) and (max-width: 1249px) {
    .mask-border {
        transform: scale(1.03);
    }
}

@media (max-width: 767px) {
    .mask-border {
        transform: scale(1.05);
    }
}

.logo {
    max-width: 250px;
    width: 100%;
}

.logo img {
    width: 100%;
    object-fit: cover;
}

.logo a {
    display: block;
}

.shop-img {
    position: absolute;
    bottom: -15px;
    right: -58px;
    width: 300px;
    z-index: 999;
}

.btn-wrapper {
    display: flex;
    gap: 52px;
    margin-top: 30px;
    padding-left: 2.7%;
    opacity: 0;
    transform: translateX(-80px);
}

.btn-wrapper.is-show {
    animation: slideInBtn 0.8s ease-out forwards;
}

@keyframes slideInBtn {
    0% {
        opacity: 0;
        transform: translateX(-80px);
    }

    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

.btn-wrapper li {
    position: relative;
}

.btn::before {
    content: '';
    display: block;
    position: absolute;
    top: 50%;
    left: -20px;
    transform: translateY(-50%);
}

.btn-story::before {
    width: 46px;
    height: 90px;
    background: url(../img/img-story.png) no-repeat center/ contain;
}

.btn-products::before {
    width: 56px;
    height: 90px;
    background: url(../img/img-products.png) no-repeat center/ contain;
}

.hero-pc {
    writing-mode: vertical-rl;
    text-orientation: upright;
    font-size: 2.7rem;
    font-family: 'A1 Mincho', serif;
    line-height: 2.4;
    letter-spacing: 0.3em;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        filter: blur(5px);
    } /* 少しぼかすとおしゃれ */
    to {
        opacity: 1;
        filter: blur(0);
    }
}

.hero-sp {
    display: none;
    writing-mode: vertical-rl;
    text-orientation: upright;
    font-size: 1.8rem;
    font-family: 'A1 Mincho', serif;
    line-height: 2.4;
    letter-spacing: 0.5em;
}

@media screen and (max-width: 768px) {
    .fv {
        padding: 48px 7% 74px 7%;
    }

    .fv::before {
        width: 88px;
        height: 127px;
        bottom: -82px;
        right: 0;
    }

    .fv-inner {
        flex-direction: column;
    }

    .header {
        width: 100%;
        margin: 0 auto;
    }

    .logo {
        margin: 0 auto;
        order: 2;
    }

    .mainvisual-wrap {
        width: 100%;
        margin-left: 0;
        order: 3;
        margin-top: 0;
    }

    .mainvisual-img {
        height: 240px;
    }

    .mainvisual-img img {
        width: 100%;
    }

    .shop-img {
        right: 0;
        width: 35vw;
    }

    .hero {
        order: 1;
        margin: 34px auto 0 auto;
        display: flex;
        justify-content: center;
        align-items: flex-start;
    }

    .hero-pc {
        display: none;
    }

    .hero-sp {
        display: block;
        margin-bottom: 15px;
        margin: 0 auto 15px auto;
    }

    .btn-wrapper {
        justify-content: center;
        margin-top: 50px;
        gap: 30px;
        padding-left: 3%;
    }

    .btn::before {
        left: -10%;
    }

    .btn-story::before {
        width: 35px;
        height: 67px;
    }

    .btn-products::before {
        width: 42px;
        height: 67px;
    }
}

/* ===== ボタン ===== */
.nav-btn {
    display: none;
}

.nav-sns {
    display: none;
}

@media screen and (max-width: 768px) {
    .nav-btn {
        display: block;
        position: fixed;
        top: 30px;
        right: 20px;
        width: 40px;
        height: 40px;
        background: none;
        border: none;
        z-index: 1001;
        cursor: pointer;
    }

    .menu-icon {
        width: 100%;
        display: block;
    }

    .close-line {
        position: absolute;
        width: 33px;
        height: 1px;
        background: #fff;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        display: none;
    }

    .nav {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        height: 100dvh;
        background: #92caf7;
        z-index: 1000;
        margin-top: 0;
        padding-left: 0;
        display: block;
        transform: translateY(-100%);
        transition: none; /* ← 通常時はアニメーションしない */
    }

    /* メニューを開くときだけtransitionを有効化 */
    .nav.active {
        transform: translateY(0);
        transition: transform 0.8s;
    }

    /* 閉じるときもアニメーションさせたい場合 */
    .nav.is-closing {
        transition: transform 0.6s;
    }

    .nav-inner {
        height: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .nav ul {
        margin-top: 117px;
    }

    .nav li {
        margin: 20px 0;
        padding-left: 23px;
    }

    .nav li a {
        color: #fff;
    }

    .nav li::before {
        background: url(../img/icon-flower-w.png) no-repeat center / contain;
    }

    .nav.active {
        transform: translateY(0);
    }

    .nav-btn.active .menu-icon {
        display: none;
    }

    .nav-btn.active .close-line {
        display: block;
    }

    .nav-btn.active .line1 {
        transform: translate(-50%, -50%) rotate(25deg);
    }

    .nav-btn.active .line2 {
        transform: translate(-50%, -50%) rotate(-25deg);
    }

    .insta {
        display: block;
        text-align: center;
        margin-top: 60px;
    }

    .nav-logo {
        margin-top: 60px;
    }

    .nav-sns {
        display: block;
    }
}

/* -----------------------------
about
----------------------------- */
.about {
    position: relative;
    padding: 0 0 226px;
    display: flex;
    justify-content: center;
}

.about::before {
    content: '';
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 1440 / 87;
    background: url(../img/wave-w.png) no-repeat center/ cover;
    position: absolute;
    bottom: -1px;
    left: 0;
}

.about .deco {
    position: absolute;
    height: auto;
    width: 16vw;
    max-width: 225px;
    min-width: 100px;
    opacity: 0;
}

.about.is-show .deco--left1 {
    top: 70px;
    left: 8.3%;
    animation: floatInLeft 1s ease-out forwards;
    animation-delay: 0.2s;
}

.about.is-show .deco--left2 {
    top: 340px;
    left: 8.3%;
    animation: floatInLeft 1s ease-out forwards;
    animation-delay: 1s;
}

.about.is-show .deco--right {
    top: 200px;
    right: 8.3%;
    animation: floatInRight 1s ease-out forwards;
    animation-delay: 0.6s;
}

@keyframes floatInLeft {
    0% {
        opacity: 0;
        transform: translateX(-80px) translateY(40px) rotate(-10deg);
    }

    60% {
        opacity: 1;
        transform: translateX(10px) translateY(-10px) rotate(3deg);
    }

    100% {
        opacity: 1;
        transform: translateX(0) translateY(0) rotate(0);
    }
}

@keyframes floatInRight {
    0% {
        opacity: 0;
        transform: translateX(80px) translateY(40px) rotate(10deg);
    }

    60% {
        opacity: 1;
        transform: translateX(-10px) translateY(-10px) rotate(-3deg);
    }

    100% {
        opacity: 1;
        transform: translateX(0) translateY(0) rotate(0);
    }
}

.about .txt-wrapper {
    width: 100%;
    position: relative;
    z-index: 1;
}

.about .txt-wrapper .txt {
    max-width: 376px;
    margin: 0 auto;
}

.about .section-title {
    margin-bottom: 30px;
}

.about p:last-child {
    text-align: center;
}

.bnr-pc {
    max-width: 730px;
    margin: 120px auto 0 auto;
    position: relative;
}

.bnr-sp {
    max-width: 320px;
    margin: 120px auto 0 auto;
    display: none;
}

.bnr-pc::before {
    content: '';
    display: block;
    width: 129px;
    height: 85px;
    background: url(../img/bnr-l.png) no-repeat center/contain;
    position: absolute;
    bottom: 2px;
    left: 23px;
    z-index: 10;
    transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

a.btn-bnr,
a.btn-bnr-sp {
    width: 100%;
    border-radius: 70px;
    background-color: #fff;
    border: 2px solid #92caf7;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 8px 0;
    position: relative;
    transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

a.btn-bnr-sp {
    border-radius: 100px;
    padding: 16px 0 0;
}

a.btn-bnr:hover,
a.btn-bnr-sp:hover {
    opacity: 1;
}

.bnr-pc:hover::before {
    transform: translateY(4px);
}

.bnr-txt {
    text-align: center;
    line-height: 1.4;
}

.bnr-img {
    position: absolute;
    right: 26px;
    transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.bnr-pc:hover a.btn-bnr {
    transform: translateY(4px);
}

.bnr-pc:hover .bnr-img {
    transform: translateX(6px);
}

.en {
    font-family: 'Gothic A1', sans-serif;
    font-weight: 800;
    color: #92caf7;
    font-size: 2.2rem;
    letter-spacing: 0.33em;
    text-align: center;
}

@media screen and (max-width: 768px) {
    .about {
        padding: 0 0 100px;
    }

    .about .txt-wrapper {
        max-width: 100%;
        padding: 550px 7% 0 7%;
    }

    .about .deco {
        position: absolute;
        height: auto;
        width: 50vw;
        max-width: 150px;
        min-width: 100px;
    }

    .about.is-show .deco--left1 {
        top: 0;
        left: 8.3%;
    }

    .about.is-show .deco--left2 {
        top: 300px;
        left: 8.3%;
        animation-delay: 1s;
    }

    .about.is-show .deco--right {
        top: 120px;
        right: 8.3%;
        animation-delay: 0.6s;
    }

    .btn-book {
        margin-top: 40px;
    }

    .bnr-pc {
        display: none;
    }

    .bnr-sp {
        display: block;
    }

    .en {
        font-size: 2.2rem;
    }

    .bnr::before {
        display: none;
    }

    .ja {
        margin-bottom: 6px;
    }
}

/* -----------------------------
maker
----------------------------- */
.maker {
    background-color: #fff;
    padding: 140px 0 256px 0;
    position: relative;
}

.maker::before {
    content: '';
    display: block;
    width: clamp(330px, 27.08vw, 390px);
    aspect-ratio: 390 / 153;
    background: url(../img/deco-maker1.png) no-repeat center/contain;
    position: absolute;
    top: clamp(100px, 9.72vw, 140px);
    right: 0;
}

.maker::after {
    content: '';
    display: block;
    width: clamp(300px, 27.5vw, 396px);
    aspect-ratio: 396 / 278;
    background: url(../img/deco-maker2.png) no-repeat center/contain;
    position: absolute;
    top: 830px;
    left: 0;
}

.maker-wrapper {
    max-width: 740px;
    margin: 0 auto;
    position: relative;
    z-index: 10;
}

.maker-wrapper .section-title {
    text-align: center;
}

.maker-box {
    display: flex;
    gap: 9%;
    margin-bottom: 140px;
}

.maker-box .name-box {
    width: 41%;
}

.maker-box .name-box1,
.maker-box .name-box2 {
    position: relative;
}

.maker-box .name-box1::before {
    content: '';
    display: block;
    width: 97px;
    height: 113px;
    background: url(../img/deco-chef.png) no-repeat center/contain;
    position: absolute;
    top: -30px;
    right: 0;
    z-index: 10;
}

.maker-box .name-box2::before {
    content: '';
    display: block;
    width: 62px;
    height: 134px;
    background: url(../img/deco-yamaguchi.png) no-repeat center/contain;
    position: absolute;
    bottom: 82px;
    left: -20px;
    z-index: 10;
}

.name {
    text-align: center;
    margin-top: 20px;
}

.name p:nth-of-type(2) {
    font-family: 'A1 Mincho', serif;
    letter-spacing: 0.2em;
    line-height: 1.7;
    font-size: 3rem;
}

.maker-box .txt {
    width: 50%;
}

.maker-box .txt p {
    line-height: 2;
}

.maker-box dl {
    margin-top: 30px;
}

.maker-box dt {
    color: #92caf7;
    font-size: 1.7rem;
    line-height: 2;
    font-weight: 700;
    margin-top: 14px;
}

.maker-box dd {
    line-height: 1.5;
}

.txt-yamaguchi p {
    margin-top: 15px;
}

.txt-yamaguchi p:first-child {
    margin-top: 0;
}

.mask-book,
.mask-house {
    mask-size: contain;
    mask-repeat: no-repeat;
    mask-position: center;
}

.mask-book {
    mask-image: url('../img/mask-book.svg');
}

.mask-house {
    mask-image: url('../img/mask-house.svg');
}

.mask-book img,
.mask-house img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@media screen and (max-width: 768px) {
    .maker {
        background-color: #fff;
        padding: 80px 7% 100px 7%;
        position: relative;
    }

    .maker::before {
        width: 100vw;
        top: calc(clamp(100px, 9.72vw, 140px) - 20px);
    }

    .maker::after {
        content: '';
        display: block;

        width: clamp(300px, 27.5vw, 396px);
        aspect-ratio: 396 / 278;

        background: url(../img/deco-maker2.png) no-repeat center / contain;

        position: absolute;
        top: 1370px;
        left: 0;
        width: 100vw;
    }

    .maker-box {
        flex-direction: column;
        margin-bottom: 0;
    }

    .maker-box .name-box1::before {
        content: '';
        display: block;

        width: clamp(90px, 18vw, 97px);
        height: clamp(100px, 20vw, 113px);
        z-index: 10;
    }

    .maker-box .name-box2::before {
        content: '';
        display: block;
        width: clamp(55px, 16vw, 62px);
        height: clamp(120px, 22vw, 134px);
    }

    .maker-box .name-box2 {
        margin-top: 170px;
        z-index: 10;
    }

    .maker-box .name-box {
        width: 100%;
    }

    .maker-box .txt {
        width: 100%;
        margin-top: 30px;
    }

    .maker-box .txt p {
        line-height: 2.8;
        font-size: 1.4rem;
    }

    .maker-box dt {
        font-size: 1.5rem;
    }

    .maker-box dd {
        font-size: 1.5rem;
    }

    .txt-yamaguchi p {
        margin-top: 20px;
    }
}

/* -----------------------------
footer
----------------------------- */
.footer {
    background-color: #92caf7;
    padding: 560px 8.3% 100px 8.3%;
    position: relative;
}

.footer::before {
    content: '';
    display: block;
    width: 701px;
    height: 201px;
    background: url(../img/deco-Island.png) no-repeat center/contain;
    position: absolute;
    top: -60px;
    right: 0;
    left: auto;
    margin: 0;
    z-index: 10;
}

.footer::after {
    content: '';
    display: block;
    width: 473px;
    height: 293px;
    background: url(../img/deco-footer.png) no-repeat center/contain;
    position: absolute;
    top: 150px;
    right: 5%;
    left: auto;
    margin: 0;
    z-index: 10;

    opacity: 0;
    transform: translateY(80px);
    transition: 1.2s ease;
}

.footer.is-active::after {
    opacity: 1;
    transform: translateY(0);
    animation: floatSea 2s ease-in-out 1.2s forwards;
}

@keyframes floatSea {
    0% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(12px);
    }
    100% {
        transform: translateY(0px);
    }
}

.footer-inner {
    max-width: 365px;
    margin: 0 auto;
    padding-bottom: 100px;
}

.time {
    margin-top: 25px;
}

.footer .nav-wrapper {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    padding-top: 100px;
    border-top: 1px solid #243a53;
}

.footer .nav-wrapper ul {
    display: flex;
    gap: 50px;
}

.footer .nav-wrapper ul li {
    position: relative;
    padding-left: 23px;
}

.footer .nav-wrapper ul li::before {
    content: '';
    display: block;
    width: 15px;
    height: 15px;
    background: url(../img/icon-flower-db.png) no-repeat center / contain;
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
}

.footer .nav-wrapper ul li a {
    color: #243a53;
}

.sns {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 50px;
}

.sns img {
    display: block;
}

@media screen and (max-width: 768px) {
    .footer {
        background-color: #92caf7;
        padding: 350px 8.3% 100px 8.3%;
    }

    .footer::before {
        width: 100%;
        left: 0;
        right: 0;
        margin: 0 auto;
        height: 107px;
        top: -32px;
    }

    .footer::after {
        left: 0;
        right: 0;
        margin: 0 auto;
        width: 100%;
        top: 80px;
        height: 156px;
    }

    .footer-inner {
        padding-bottom: 40px;
    }

    .footer-logo {
        text-align: center;
        width: 80%;
        margin: 0 auto;
    }

    .footer-logo img {
        display: block;
        margin: 0 auto;
    }

    .footer .nav-wrapper {
        padding-top: 40px;
        flex-direction: column;
        gap: 40px;
    }

    .footer .nav-wrapper ul {
        flex-direction: column;
        gap: 20px;
    }

    .sns {
        justify-content: flex-start;
    }
}

@media screen and (max-width: 768px) {
    .nav {
        /* 既存のtransform: translateY(-100%) はそのまま */

        /* 追加：overflow を hidden にして、はみ出し要素を隠す */
        overflow: hidden;
    }

    /* 横向き時に高さを明示して再計算のズレを防ぐ */
    @media (orientation: landscape) {
        .nav {
            height: 100dvh;
            overflow-y: auto; /* メニュー内はスクロール可能に */
        }

        .nav-inner {
            height: auto;
            min-height: 100dvh;
            padding: 60px 0 30px;
        }

        .nav ul {
            margin-top: 30px;
        }

        .nav-sns {
            background-color: #92caf7;
            width: 100%;
            padding-bottom: 20px;
        }
    }
}
