:root {
    --bg-paper: #f9f7f2;
    --text-main: #3a3a3a;
    --accent-green: #2d4033;
    --border-light: #e0ddd5;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-paper);
    color: var(--text-main);
    font-family: 'Noto Serif JP', serif;
    line-height: 2.2;
    letter-spacing: 0.12em;
}

/* Header */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 40px 60px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 100;
}

.logo {
    font-family: 'Cormorant Garamond', serif;
    font-size: 2.2rem;
    font-style: italic;
    color: var(--accent-green);
}

nav ul {
    list-style: none;
    display: flex;
    gap: 40px;
}

nav a {
    text-decoration: none;
    color: var(--text-main);
    font-size: 0.8rem;
    font-weight: 500;
}

/* Hero Section */


.hero {
    height: 100vh;
    width: 100%;
    display: flex;
    justify-content: center; /* 左右中央 */
    align-items: center;     /* 上下中央 */
    position: relative;
    text-align: center;      /* テキスト中央揃え */
    padding: 0 20px;
}

.hero-image-wrapper {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%); /* 画面の真ん中に固定 */
    width: 60%;  /* PCでの幅 */
    height: 70%; /* PCでの高さ */
    overflow: hidden;
    z-index: -1;
}

.hero-img {
    width: 100%;
    height: 100%;
    background: url('https://images.unsplash.com/photo-1516218239102-7945d1d1f044?auto=format&fit=crop&q=80&w=1500') center/cover no-repeat;
    filter: sepia(15%) brightness(90%);
}

.hero-content {
    background: rgba(249, 247, 242, 0.8); /* 文字の可読性を上げるための背景 */
    padding: 40px;
    backdrop-filter: blur(2px); /* わずかに背景をぼかす */
    max-width: 90%;
}

.hero-content h1 {
    font-size: clamp(1.2rem, 5vw, 1.8rem); /* 画面サイズに合わせて自動調整 */
    font-weight: 300;
    margin-bottom: 15px;
    white-space: nowrap; /* 改行させない（スマホで長すぎる場合は解除可） */
}

.hero-content p {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(0.9rem, 3vw, 1.1rem);
    letter-spacing: 0.3em;
}

/* --- スマホ専用の調整 --- */
@media (max-width: 768px) {
    header {
        padding: 20px;
        flex-direction: column;
        background: rgba(249, 247, 242, 0.9);
    }

    nav ul {
        gap: 15px;
        margin-top: 10px;
    }

    .hero-image-wrapper {
        width: 85%;  /* スマホでは画像を広めに見せる */
        height: 60%;
    }

    .hero-content {
        padding: 20px;
    }

    .hero-content h1 {
        white-space: normal; /* スマホでは適宜改行させる */
        line-height: 1.5;
    }

    .gallery-grid {
        grid-template-columns: 1fr; /* スマホでは画像は縦1列 */
    }
}
/* Gallery */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 40px;
}

.gallery-item {
    aspect-ratio: 1 / 1;
    overflow: hidden;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1.5s ease;
    filter: grayscale(20%);
}

.gallery-item:hover img {
    transform: scale(1.05);
}

/* Sections */
section {
    padding: 140px 40px;
    max-width: 1000px;
    margin: 0 auto;
}

.section-label {
    display: block;
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.1rem;
    color: var(--accent-green);
    text-align: center;
    margin-bottom: 60px;
    font-style: italic;
}

.content-body {
    max-width: 650px;
    margin: 0 auto;
    text-align: center;
}

/* Menu */
.menu-container {
    max-width: 500px;
    margin: 0 auto;
}

.menu-item {
    display: flex;
    justify-content: space-between;
    padding: 15px 0;
    border-bottom: 1px solid var(--border-light);
}

/* Info & Guide */
.info-container {
    text-align: center;
}

.info-block {
    margin-bottom: 50px;
}

.info-block h3 {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 400;
    font-size: 1.4rem;
    margin-bottom: 15px;
}

.info-block .sub {
    font-size: 0.85rem;
    color: var(--accent-green);
}

.guide-text {
    font-size: 0.9rem;
    border: 1px solid var(--border-light);
    padding: 30px;
    display: inline-block;
}

/* Footer */
footer {
    padding: 120px 40px 60px;
    background-color: #f0ede6;
    text-align: center;
}

address {
    font-style: normal;
    font-size: 0.9rem;
    margin: 30px 0;
}

.copyright {
    font-size: 0.7rem;
    color: #999;
}

/* Animation */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 1.8s ease, transform 1.8s ease;
}

.fade-in.is-visible {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 768px) {
    header { padding: 20px; flex-direction: column; gap: 15px; }
    .gallery-grid { grid-template-columns: 1fr; }
    .hero-image-wrapper { width: 85%; }
}