@charset "utf-8";

/* ======================
common
====================== */
:root {
    --primary-whiteLow: #FFFDF2;
    --primary-brown: #54392D;
    --primary-black:#251107;
}

html {
    font-size: 62.5%;
}

body {
    font-family: 
        "Didot",
        "Inter";
    font-style: normal;
    font-weight: 700;
    color: var(--primary-brown, #54392D);
    background-color: var(--primary-whiteLow, #FFFDF2);
    background: linear-gradient(0deg, rgba(255, 253, 242, 0.8) 0%, rgba(255, 253, 242, 0.8) 100%), url(../images/backimg.jpg) lightgray 50% / cover no-repeat;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

.header,
.footer {
    background-color: var(--primary-whiteLow, #FFFDF2);
}

img {
    max-width: 100%;
    height: auto;
}

.topic {
    text-align: center;
    font-family: "Didot";
    font-size: 2.8rem;
    line-height: 1.4;
    letter-spacing: 0.06em;
    margin-top: 60px;
}

.mc_txt {
    text-align: center;
    margin-top: 50px;
    font-size: 1.0rem;
    font-weight: 400;
    line-height: 1.5;
}


/* common pc */
@media screen and (min-width: 769px) {
    .topic {
        margin-top: 300px;
        font-size: 7.0rem;
        line-height: normal;
        letter-spacing: 0.1em;
    }

    .mc_txt {
        margin-top: 80px;
        font-size: 2.0rem;
        line-height: 1.85;
        letter-spacing: 0.06em;
    } 

}/* pc 769px */


/* ===================== 
header
===================== */
.header_inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 4.0% 5.3% 4.0% 37.5%;
}

.header_btn, 
.nav_btn {
    display: block;
    width: 17px;
    height: auto;
}

.logo {
    display: block;
    width: 76px;
    height: auto;
    margin: 0 auto;
}

/* nav初期表示 */
.nav {
    background-color: rgba(255, 253, 242, 0.9);
    width: 70%;
    height: 100vh;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 100;
    transform: translateX(-100%);
    transition: transform 0.4s;
}

.nav_header {
    padding: 4.0% 7.4% 4.0% 37.5%;
    justify-content: space-between;
    display: flex;
    align-items: center;
}

.nav_list {
    margin-top: 44px;
    padding-left: 50px;
}

.nav_item {
    font-size: 2.0rem;
    margin-top: 40px;
    display: flex;
    align-items: center;
}

/* navの表示非表示設定：JavaScriptで付ける.open */
.nav.open {
    transform: translateX(0);
}


@media screen and (min-width: 769px) {
    .header_inner {
        max-width: 1280px;
        height: 150px;
        margin: 0 auto;
        padding: 60px 120px;
    }

    .header_btn, 
    .nav_header {
        display: none;
    }

    .logo {
        width: 168px;
    }

    .nav {
        background: transparent;
        width: auto;
        height: auto;
        padding: 0;
        position: static;
        transform: translateX(0);
    }

    .nav_list {
        display: flex;
        margin-top: auto;
        justify-content: center;
        gap: 50px;
        font-size: 2.0rem;
        font-weight: 400;
    }

    .nav_item {
        margin-top: auto;
        letter-spacing: 0.03em;
    }

    .nav_item:first-of-type {
        display: none;
    }
    
}/* header pc 769px */


/* ===================== 
main
===================== */
.carousel {
    position: relative;
    width: 100%;
    height: 300px;
    overflow: hidden;
}

.carousel-track {
    position: relative;
    height: 100%;
}

.carousel-slide {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.6);
    opacity: 0;
    transition: transform 0.6s ease, opacity 0.6s ease;
}

.carousel-slide img {
    display: block;
    object-fit: contain;
    max-width: 90%;
    max-height: 100%;
}

/* 中央（アクティブ） */
.carousel-slide.active {
    transform: translate(-50%, -50%) scale(0.9);
    opacity: 1;
    z-index: 3;
}

/* 左右のスライド（スマホは控えめにチラ見せ） */
.carousel-slide.prev {
    transform: translate(-140%, -50%) scale(0.8); 
    opacity: 0.8;
    z-index: 2;
}
.carousel-slide.next {
    transform: translate(40%, -50%) scale(0.8); 
    opacity: 0.8;
    z-index: 2;
}


/* ==== Galleryボタン ==== */
.gallery_btn {
    display: block;
    width: 120px;              /* ボタンの横幅 */
    margin: 20px 30px 0 auto;  /* 上20px, 右30px, 左autoで右寄せ */
}

.gallery_btn img {
    width: 100%;               /* ボタン画像を親幅にフィット */
    height: auto;              /* 縦横比を維持 */
    display: block;            /* 余白を消す */
    transition: opacity 0.3s;  /* ホバー時のアニメーション */
}

.gallery_btn img:hover {
    opacity: 0.6;              /* ホバー時に薄くなる */
}



@media screen and (min-width: 769px) {
    .carousel {
        max-width: 1200px;
        height: 800px;
        margin: 0 auto;
    }

    .carousel-slide.active {
        transform: translate(-50%, -50%) scale(1);
    }

    .carousel-slide.prev {
        transform: translate(-150%, -50%) scale(0.8);
    }
    .carousel-slide.next {
        transform: translate(50%, -50%) scale(0.8);
    }

}/* main pc 769px */




/* our story */
.section-ourStory {
    padding: 68px 40px;
}

.img3,
.img8 {
    display: block;
    width: 300px;
    height: auto;
    margin:70px auto;
}


/* menu & pricing */
.menu {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 452px;
    margin: 0 auto;
    margin-top: 50px;
    gap: 40px;
}

.menu_kids,
.menu_still {
    width: 176px;
    height: auto;
    transition: 0.4s;
}

.menu_kids:hover,
.menu_still:hover {
    opacity: 0.6;
}


/* contact */
.contact_btn {
    display: block;
    width: 120px;
    height: auto;
    margin: 40px auto 0;
    transition: 0.4s;
}

.contact_btn:hover {
    opacity: 0.6;
}


/* footer */
.footer {
    padding: 30px 45px 25px;
}

.footerNav_list {
    display: flex;
    justify-content: center;
    gap: 26px;
    margin-top: 15px;
    font-size: 1.3rem;
    font-weight: 400;
}

.copy {
    text-align: center;
    margin-top: 30px;
    font-size: 0.9rem;
    font-weight: 400;
}


/* main pc */
@media screen and (min-width: 769px) {
/* slide pc */
    .slide {
        padding: 180px 60px 120px;
    }

    .slider_slide {
        padding-left: 40px;
    }

    .slider_slide:first-child {
        padding-left: 0;
    }

    .gallery_btn {
        margin-right: 90px;
        width: 200px;
    }

/* our story pc */
    .img3,
    .img8 {
        width: 954px;
        margin-top: 130px;
    }


/* menu & pricing pc */
    .menu{
        display: flex;
        flex-direction: row;
        justify-content: center;
        height: auto;
        gap: 80px;
        margin: 100px 0 200px;
    }

    .menu_kids,
    .menu_still {
        width: 260px;
    }


/* contact pc */
    .contact_btn {
        width: 220px;
        margin-top: 100px;
    }

    .img8 {
        margin: 150px auto 110px;
    }

/* footer pc */
    .footer {
        padding: 60px 120px;
    }

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

    .footerNav_list {
        align-items: center;
        gap: 50px;
        font-size: 2.0rem;
    }

    .copy {
        text-align: right;
        font-size: 1.6rem;
    }

}/* main pc 769px */
