@charset "UTF-8";

html {
    font-size: 100%; /* html 要素のフォントサイズをブラウザのデフォルト（通常16px）に設定。rem単位を使う際の基準が明確になります（1rem = 16px）。 */
    scroll-behavior: smooth;
}

a {
    color: #333; /* リンクテキストの色を通常のテキストと同じに */
    text-decoration: none; /* デフォルトで付くリンクの下線（text-decoration: underline）を削除し、デザインを整える。 */
}

img {
    max-width: 100%; /* 画像の最大幅を親要素の幅に合わせて調整し、レスポンシブ対応に。 */
    vertical-align: bottom; /* インライン要素として扱われた際の下部にできる隙間を防ぐために設定。 */
}

li {
    list-style: none; /*リストの先頭にある●や番号などのマーカーを削除。 */
}

.wrapper {
    max-width: 900px; /*最大幅を900pxに制限（画面が広くてもこれ以上は広がらない）。 */
    padding: 60px 20px; /*上下に80px、左右に20pxの余白を内部に確保。 */
    margin: 0 auto; /*上下の余白はなし、左右のマージンを自動で設定して中央寄せ。 */
}

.logo {
    width: 200px; /*タイトル部分の幅を200pxに設定。 */
    line-height: 1px; /*行の高さを最小限にすることで、画像表示時の余白を消す目的。 */
}

.logo a {
    display: block; /*通常 a はインライン要素ですが、display: block; を指定することで画像や全体がクリック範囲になるようにし、ユーザビリティを向上。 */
}

h2 {
    font-family: 'Playfair Display';
    color: #444;
    font-size: 2.5rem;
    font-weight: bold;
    text-align: center;
    margin-bottom: 0.5rem;
}

.sec-note {
    color: #888; /* やさしいグレー */
    text-align: center;
    margin-bottom: 2rem;
    letter-spacing: 0.05em;
}

.sec-lead {
    font-size: 1.125rem;
    line-height: 1.8;
    text-align: center;
    margin-bottom: 3rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

h3 {
    font-size: 1.25rem;
    font-weight: bold;
    margin-bottom: 1rem;
    color: #555;
}

body {
    margin: 0;
    font-family: 'Noto Serif JP', serif;
    color: #333;
}

.section-divider {
    margin: 0;
    margin-bottom: -1px; /* 波とセクションがぴったりくっつくように */
    padding: 0;
    line-height: 0;
}
.section-divider svg {
    display: block;
    width: 100%;
    height: 150px;
}

/* fade */
    /* slide-in */
    .slide-in-left {
        opacity: 0;
        transform: translateX(-40px);
        transition: opacity 1s ease, transform 1s ease;
    }
    .slide-in-left.active {
        opacity: 1;
        transform: translateX(0);
    }

    /* fade-in */
    .fade-in {
        opacity: 0;
        transform: translateY(20px);
        transition: opacity 1s ease, transform 1s ease;
    }
    .fade-in.active {
        opacity: 1;
        transform: translateY(0);
    }
    .fade-delay-1 { transition-delay: 0.1s; }
    .fade-delay-2 { transition-delay: 0.3s; }
    .fade-delay-3 { transition-delay: 0.5s; }
    .fade-delay-4 { transition-delay: 0.7s; }
    .fade-delay-5 { transition-delay: 0.9s; }
    .fade-delay-6 { transition-delay: 1.1s; }
    .fade-delay-7 { transition-delay: 1.3s; }
    .fade-delay-8 { transition-delay: 1.5s; }
    .fade-delay-9 { transition-delay: 1.7s; }
    .fade-delay-10 { transition-delay: 1.9s; }
    .fade-delay-11 { transition-delay: 2.1s; }


    /* fade-up */
    .fade-up {
        opacity: 0;
        transform: translateY(30px);
        transition: opacity 1.2s ease, transform 1.2s ease;
    }
    .fade-up.active {
        opacity: 1;
        transform: translateY(0);
    }
    .delay-1 { transition-delay: 0.3s; }
    .delay-2 { transition-delay: 0.6s; }
    .delay-3 { transition-delay: 0.9s; }
    .delay-4 { transition-delay: 1.2s; }
    .delay-5 { transition-delay: 1.5s; }



/* header */
.header {
    position: sticky; /* ← スクロールしても固定 */
    top: 0;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 2rem;
    background: rgba(255, 255, 255, 0.6); /* 半透明の白に変更 */
    backdrop-filter: blur(6px); /* 背景ぼかしを加えると上品に */
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05); /* ← 薄い影を追加 */
    z-index: 999;
}
.logo img {
    height: 50px;
    width: auto;
}
.top-nav {
    display: flex;
    gap: 2rem;
}
.nav-item {
    position: relative;
    font-family: 'Playfair Display', sans-serif;
    padding: 0.3rem 0.5rem;
    transition: color 0.3s ease;
}
.nav-item:hover {
  color: #8ACBC7; /* 淡いミントグリーン */
}
    /* ホバー時に日本語ラベル表示 */
    .nav-item::after {
        content: attr(data-label);
        position: absolute;
        top: 130%;
        left: 50%;
        transform: translateX(-50%);
        font-size: 0.75rem;
        color: #F1D9D9;
        opacity: 0;
        pointer-events: none;
        transition: opacity 0.3s ease, transform 0.3s ease;
        white-space: nowrap;
    }
    .nav-item:hover::after {
        opacity: 1;
        transform: translateX(-50%) translateY(4px);
    }
/* ハンバーガーボタンの基本スタイル */
.hamburger {
    display: none; /* PCは非表示 */
    flex-direction: column;
    justify-content: space-around;
    width: 30px;
    height: 25px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 20;
}
.hamburger span {
    display: block;
    width: 100%;
    height: 3px;
    background-color: #333;
    border-radius: 2px;
    transition: all 0.3s ease;
}
    /* メディアクエリ：スマホ表示時 */
    @media (max-width: 768px) {
        .hamburger {
            display: flex;
        }
        .top-nav {
            position: fixed;
            top: 0;
            right: 0;
            background-color: #fff;
            height: 100vh;
            width: 70%;
            max-width: 300px;
            flex-direction: column;
            padding: 4rem 1.5rem 1.5rem;
            box-shadow: -3px 0 10px rgba(0,0,0,0.1);
            transform: translateX(100%);
            transition: transform 0.3s ease;
            z-index: 15;
        }
        /* メニューを開いた状態 */
        .top-nav.open {
            transform: translateX(0);
        }
        .nav-item {
            padding: 1rem 0;
            font-size: 1.2rem;
        }
        /* ヘッダーの配置を調整 */
        .header {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        padding: 1rem 1.5rem;
        background: #fff;
        box-shadow: 0 2px 5px rgba(0,0,0,0.1);
        z-index: 20;
        }
    }
    /* ハンバーガーボタンのアニメーション（開閉時） */
    .hamburger.open span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    .hamburger.open span:nth-child(2) {
        opacity: 0;
    }
    .hamburger.open span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
    }



/* top */
.top-sec {
    height: 100vh;
    overflow: hidden;
}
.slideshow {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}
.slides {
    position: relative;
    width: 100%;
    height: 100%;
}
.slides img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 1s ease;
    z-index: 0;
}
.slides img.active {
    opacity: 1;
    z-index: 1;
}
.top-message {
    background-color: #EAF4F3;
    text-align: center;
    padding: 3rem 1rem;
    padding-bottom: 0;
    font-size: 1.4rem;
    color: #444;
    font-family: 'Noto Serif JP', serif;
    line-height: 2.2rem;
}
.top-message p {
    max-width: 600px;
    margin: 0 auto 0 auto; /* 上下の margin を 0 にして中央寄せ */
    font-weight: 400;
    letter-spacing: 0.05em;
}



/* news */
.news-sec {
    background-color: #FAFAF7;
    text-align: center;
}
/* カード型レイアウト */
.news-card {
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    padding: 2rem 1.5rem;
    margin: 2rem auto;
    max-width: 800px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}
/* 画像 */
.news-img img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}
/* テキストブロック */
.news-text {
    max-width: 700px;
    color: #444;
    text-align: left;
}
    @media (min-width: 768px) {
        .news-card {
            flex-direction: column;
            align-items: center;
        }
    }



/* items */
.items-sec {
    background-color: #D1E7E2;
}
.items-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    justify-content: center;
}
/* カード全体 */
.item-card {
    width: 400px;
    height: 266px;
    perspective: 1000px; /* 3Dの視点 */
}
/* カード内の回転要素 */
.card-inner {
    width: 100%;
    height: 100%;
    position: relative;
    transition: transform 0.8s;
    transform-style: preserve-3d;
}
.item-card:hover .card-inner {
    transform: rotateY(180deg);
}
/* 表面と裏面共通スタイル */
.card-front,
.card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}
/* 表面（画像） */
.card-front img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    pointer-events: auto;
}
/* 裏面（商品名） */
.card-back {
    transform: rotateY(180deg);
    display: flex;
    align-items: center;
    justify-content: center;
    writing-mode: vertical-rl; /* 縦書き：右から左へ */
    font-family: 'Noto Serif JP', serif;
    font-size: 1.4rem;
    font-weight: 500;
    color: #bfa14a; /* 落ち着いたゴールド */
    background: linear-gradient(135deg, #fffdf8, #f6f0e4); /* 和紙風の柔らかい背景 */
    border: 2px solid #bfa14a; /* ゴールドの枠線 */
    border-radius: 12px;
    box-shadow: inset 0 0 10px rgba(191, 161, 74, 0.15),
                0 4px 12px rgba(0, 0, 0, 0.1); /* 内外両方に陰影で立体感 */
    padding: 1rem;
    text-align: center;
    letter-spacing: 0.1em;
}




/* gallery */
.gallery-sec {
    background-color: #F9FBFB;
}
.gallery-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 16px;
    list-style: none;
    padding: 0;
    margin: 40px 0;
}
.gallery-list li {
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease;
}
.gallery-list li:hover {
    transform: scale(1.03);
}
.gallery-list img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    border-radius: 12px;
}



/* about */
.about-sec {
    background-color: #EDF7F5;
    text-align: center;
}
.about-materials {
    margin-bottom: 3rem;
}
.materials-list {
    padding: 0;
    margin: 0 auto;
    max-width: 600px;
}
.materials-list li {
    margin: 0.3rem 0;
    padding: 0.3rem 0;
    border-bottom: 1px dotted #ccc;
}
.about-message {
    font-size: 1.125rem; /* 約18px */
    line-height: 1.8;
    color: #444;
    max-width: 700px;
    margin: 0 auto;
}



/* calendar */
.calendar-sec {
    text-align: center;
    background-color: #B8DCD7;
}
#calendar-wrapper {
    display: flex;
    justify-content: center;
    gap: 4rem;
    flex-wrap: wrap;
}
.calendar {
    background: #fff;
    padding: 2.5rem;
    border-radius: 28px;
    box-shadow: 0 6px 18px rgba(0,0,0,0.08);
    max-width: 500px;
    transition: transform 0.2s ease;
}
.calendar:hover {
    transform: scale(1.02);
}
.calendar h3 {
    margin-bottom: 1.5rem;
    font-size: 1.6rem;
    color: #5c4a3d;
    font-weight: bold;
}
.calendar table {
    width: 100%;
    border-collapse: collapse;
    font-family: "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
}
.calendar th,
.calendar td {
    width: 14.2%;
    aspect-ratio: 1 / 1;   /* 正方形維持 */
    text-align: center;
    border: none;
    font-size: 1.2rem;     /* 文字を大きめ */
    position: relative;
}
.calendar td:hover {
    background: #fcefe6;
    transform: scale(1.05);
}
.calendar th {
    background: #fdf7f2;
    font-weight: bold;
    color: #8c6d5a;
}
.calendar td {
    color: #444;
    position: relative;
    border-radius: 50%;
}
/* 定休日・臨時休業 */
.calendar td.holiday {
    background: #ffcccc;
    color: #a33;
    font-weight: bold;
}
.calendar td.today {
    background: #fff4e6;
    border: 2px solid #d4a373;
    font-weight: bold;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}
/* 今日かつ休み */
.calendar td.today.holiday {
    background: #ffcccc;          /* 休み色をベース */
    border: 2px solid #d4a373;    /* 今日のリング */
    box-shadow: 0 2px 4px rgba(0,0,0,0.15);
}
.calendar-legend {
    text-align: center;
    font-size: 0.9rem;
    color: #5c4a3d;
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}
.calendar-legend .legend {
    display: flex;
    align-items: center;
    gap: 0.4rem;
}
.calendar-legend .holiday::before {
    content: "●";
    font-size: 1rem;
}
.calendar-legend .holiday::before {
    color: #ffcccc
}



/* access */
.access-sec {
    background-color: #B8DCD7;
    text-align: center;
}
.map-container {
    max-width: 800px;
    margin: 0 auto 30px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}
.map-container iframe {
    width: 100%;
    height: 300px;
    border: none;
}
.access-info {
    max-width: 700px;
    margin: 0 auto;
    text-align: left;
}
.access-info dl {
    display: grid;
    grid-template-columns: 100px 1fr;
    row-gap: 12px;
    column-gap: 16px;
}
.access-info dt {
    font-weight: bold;
}
.access-info dd {
    margin: 0;
}
.access-info small {
    color: #555;
    font-size: 0.9rem;
    line-height: 1.6;
}



/* link */
.link-sec {
    background-color: #FFFFFF;
}
/* カード全体のレイアウト：スマホ対応 */
.link-cards {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}
/* カード本体 */
.link-card {
    background: #fff;
    border: 1px solid #e5e5e5;
    border-left: 6px solid #8ACBC7; /* やさしいアクセント */
    border-radius: 16px;
    padding: 24px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    position: relative;
    overflow: hidden;
}
.link-card:hover {
    box-shadow: 0 6px 16px rgba(0,0,0,0.1);
    transform: translateY(-3px);
}
/* カードタイトル */
.card-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 12px;
    color: #2b6e65;
    position: relative;
    padding-left: 1.2em;
}
.card-title::before {
    content: "⟡";
    position: absolute;
    left: 0;
    color: #8ACBC7;
    font-size: 1.1rem;
    top: 0.1em;
}
/* 説明文 */
.card-desc {
    font-size: 1rem;
    line-height: 1.8;
    color: #444;
}



/* footer */
.footer {
    background-color: #DDEBE9;
    padding: 40px 20px;
    color: #444;
    font-size: 0.9rem;
    text-align: center;
    max-width: 100%;
    margin: 0 auto;
}
.footer-logo img {
    width: 120px;
    margin-bottom: 20px;
    background-color: rgba(255, 255, 255, 0.8);
    padding: 8px;
    border-radius: 6px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}
.footer-nav ul {
    padding: 0;
    margin: 0 0 20px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}
.footer-nav a {
    color: #2b6e65;
    transition: color 0.3s;
}
.footer-nav a:hover {
    color: #a96464; /* ナチュラルなアクセントカラー */
    text-decoration: underline;
}
.footer-info p {
    margin: 4px 0;
}
.footer-info a {
    color: #444;
    text-decoration: underline;
}
.footer-copy {
    display: block;
    margin-top: 30px;
    font-size: 0.8rem;
    color: #aaa;
}




@media (max-width: 400px) {
    html {
        font-size: 85%;
    }
}



@media (max-width: 480px) {
    .wrapper {
        padding: 50px 12px;
    }

    h2 {
        font-size: 1.75rem;
    }

    .sec-lead {
        font-size: 0.95rem;
    }

    .logo {
        width: 140px;
    }

    h3 {
        font-size: 1rem;
    }

    .sec-note {
        font-size: 0.85rem;
    }

    .top-sec {
        height: 60vh; /* スマホ画面ではさらに高さを抑える */
    }

    .top-message {
        font-size: 1.05rem;
        line-height: 1.8rem;
        padding: 2rem 1rem 0;
    }

    .top-message p {
        font-size: 1rem;
        letter-spacing: 0.03em;
    }

    .card-title {
        font-size: 1.1rem;
    }

    .card-desc {
        font-size: 0.95rem;
    }
}



@media (max-width: 600px) {
    html {
    font-size: 90%;
    }

    .top-sec {
    height: 60vh;
    }

    .top-message {
        padding-left: 1rem;
        padding-right: 1rem;
        font-size: 1.1rem;
    }

    .top-message p {
        max-width: 100%;
    }
}



@media (max-width: 768px) {
    .wrapper {
        padding: 50px 16px;
    }

    h2 {
        font-size: 2rem;
    }

    .sec-lead {
        font-size: 1rem;
        line-height: 1.7;
        margin-bottom: 2.5rem;
    }

    .logo {
        width: 160px;
    }

    h3 {
        font-size: 1.125rem;
    }

    .header {
        position: sticky; /* ← fixed でもOKですが sticky の方が自然な動き */
        top: 0;
        left: 0;
        right: 0;
        padding: 1rem 1.5rem;
        background: rgba(255, 255, 255, 0.6); /* 半透明の白に変更 */
        backdrop-filter: blur(6px); /* 背景ぼかしを加えると上品に */
        box-shadow: 0 2px 5px rgba(0,0,0,0.1);
        z-index: 999;
    }

    .top-sec {
        height: 70vh; /* 高さをやや抑えて表示エリアにフィットさせる */
    }

    .top-message {
        font-size: 1.2rem;
        padding: 2.5rem 1rem 0;
        line-height: 2rem;
    }

    .top-message p {
        max-width: 90%;
    }

    .items-grid {
        gap: 1rem;
        justify-content: center;
    }

    .item-card {
        width: 90vw; /* スマホ画面の90%幅 */
        max-width: 400px; /* 最大400px */
        height: auto; /* 高さは自動調整 */
        aspect-ratio: unset; /* ← 高さ固定を解除 */
        display: flex;
        flex-direction: column;
    }

    /* 画像をカードいっぱいにフィット */
    .card-front img {
        height: auto;
        width: 100%;
        object-fit: cover;
        border-top-left-radius: 12px;
        border-top-right-radius: 12px;
    }

    /*.  スマホでは見やすくシンプルな縦型表 */
    .card-inner {
        transform: none !important;
        transition: none;
        height: auto;
        display: flex;
        flex-direction: column;
    }

    .card-front,
    .card-back {
        position: static;
        height: auto;
        backface-visibility: visible;
        box-shadow: none;
        border-radius: 12px;
    }

    .card-back {
        transform: none;
        background: #fdfbf6; /* 和紙のような柔らかい色味 */
        font-weight: 500;
        writing-mode: horizontal-tb;
        text-align: center;
        color: #8c6b33; /* 落ち着いた茶系（抹茶や和菓子の雰囲気） */
        padding: 0.6rem 1rem;
        margin-bottom: 1rem;
        border: 1px solid #e4dbc9;
        border-radius: 8px;
        box-shadow: inset 0 0 5px rgba(0,0,0,0.04);
        letter-spacing: 0.05em;
    }

    .item-card:hover .card-inner {
        transform: none;
    }

    .gallery-list {
        grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
        gap: 12px;
        margin: 24px 0;
    }

    .materials-heading {
        font-size: 1.25rem; /* 小見出しを少し小さく */
        margin-bottom: 0.8rem;
    }

    .materials-list {
        padding: 0 1rem;
    }

    .materials-list li {
        font-size: 0.95rem;
    }

    .about-message {
        font-size: 1rem;
        padding: 0 1rem;
    }

    .map-container iframe {
        height: 220px; /* 小さめに調整 */
    }

    .access-info {
        padding: 0 1rem;
    }

    .access-info dl {
        grid-template-columns: 90px 1fr;
        row-gap: 10px;
        column-gap: 12px;
    }

    .link-cards {
        grid-template-columns: 1fr 1fr;
    }

}
