/* --- Reset & Basic Settings --- */
:root {
    --font-primary: 'Playfair Display', serif;
    --font-secondary: 'Noto Sans JP', sans-serif;
    --color-text: #EAEAEA;
    --color-bg: rgba(40, 30, 25, 0.7); /* コンテンツ背景色、少し透明 */
    --color-accent: #C2A594;
    --color-dark: #281E19;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-secondary);
    background-color: var(--color-dark);
    color: var(--color-text);
    line-height: 1.8;
    overflow-x: hidden; /* 横スクロールを防止 */
}

a {
    color: var(--color-accent);
    text-decoration: none;
    transition: opacity 0.3s ease;
}

a:hover {
    opacity: 0.8;
}

ul {
    list-style: none;
}

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

/* --- Background Video --- */
.video-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -1; /* 最背面に配置 */
    overflow: hidden;
}

/* ドット柄のオーバーレイを追加 */
.video-background::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(circle at 1px 1px, rgba(0, 0, 0, 0.15) 1px, transparent 0);
    background-size: 3px 3px;
    pointer-events: none; /* オーバーレイがクリックイベントを妨げないようにする */
}


.video-background video {
    width: 100%;
    height: 100%;
    object-fit: cover; /* アスペクト比を保ちつつ全体をカバー */
    filter: brightness(0.6); /* 動画を少し暗くして文字を読みやすく */
}

/* --- Header --- */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 20px 5%;
    z-index: 100;
    background: linear-gradient(to bottom, rgba(0,0,0,0.5), transparent);
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.site-logo {
    font-family: var(--font-primary);
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 1px;
}

.header-nav ul {
    display: flex;
    gap: 30px;
}

.header-nav a {
    color: var(--color-text);
    font-weight: 300;
    font-size: 0.9rem;
    position: relative;
    padding-bottom: 5px;
}

.header-nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background-color: var(--color-accent);
    transition: width 0.3s ease;
}

.header-nav a:hover::after {
    width: 100%;
}


/* --- Main Content Area --- */
.main-content {
    width: 100%;
    /* ヘッダーとかぶらないように、コンテンツは後から開始 */
    /* このpadding-topはヒーローセクションの高さとして機能 */
    padding-top: 100vh; 
}

.content-section {
    max-width: 900px;
    margin: 0 auto;
    padding: 100px 5%;
    /* 背景を透過させないように、不透明な色を指定 */
    background-color: var(--color-dark);
}

/* 最初のセクションだけ上のマージンをなくす */
.main-content > section:first-of-type {
    padding-top: 0;
    background: none;
}

/* セクション間の区切り */
.content-section:not(:first-of-type) {
    border-top: 1px solid rgba(255,255,255,0.1);
}

h2 {
    font-family: var(--font-primary);
    font-size: 3rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 10px;
    letter-spacing: 2px;
}

.section-subtitle {
    text-align: center;
    color: var(--color-accent);
    margin-bottom: 60px;
    font-weight: 300;
    font-size: 1.3rem; /* 文字サイズをさらに大きく */
}

/* --- Hero Section --- */
.hero-section {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    text-align: center;
    position: absolute; /* main-contentの開始位置に固定 */
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1;
}

.hero-text {
    font-family: var(--font-primary);
    font-size: 3.5rem;
    line-height: 1.4;
    font-weight: 400;
    color: #fff;
    text-shadow: 0 2px 10px rgba(0,0,0,0.5);
}

/* --- Concept Section --- */
.concept-text {
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.concept-image {
    margin-top: 50px;
}

.concept-image img {
    border-radius: 8px;
    width: 100%;
}

/* --- Menu Section --- */
.menu-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 60px;
}

.menu-category {
    text-align: center;
}

.menu-category-header {
    position: relative;
    margin-bottom: 30px;
    display: inline-block;
}

.menu-category-header img {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--color-accent);
    filter: brightness(0.8);
    transition: filter 0.3s ease;
}

.menu-category-header h3 {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-family: var(--font-primary);
    font-size: 1.7rem;
    font-weight: 700;
    color: #fff;
    text-shadow: 0 1px 5px rgba(0,0,0,0.7);
    width: 100%;
}

.menu-category:hover .menu-category-header img {
    filter: brightness(0.6);
}

.menu-category ul {
    display: flex;
    flex-direction: column;
    gap: 20px;
    text-align: left;
}

.menu-category li {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    cursor: pointer;
}

.menu-category li span:first-child {
    position: relative;
    padding-bottom: 3px;
}

.menu-category li span:first-child::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background-color: var(--color-accent);
    transition: width 0.4s ease;
}

.menu-category li:hover span:first-child::after {
    width: 100%;
}


/* --- Gallery Section --- */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}
.gallery-grid img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
    transition: transform 0.4s ease, filter 0.4s ease;
}
.gallery-grid img:hover {
    transform: scale(1.05);
    filter: brightness(1.1);
}

/* --- Access Section --- */
.access-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}
.access-info {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.access-info p {
    line-height: 2;
}
.social-links {
    margin-top: 20px;
    display: flex;
    gap: 20px;
}
.social-links a {
    font-size: 1.5rem;
    color: var(--color-text);
}
.access-map iframe {
    border-radius: 8px;
}

/* --- Footer --- */
.site-footer {
    padding: 30px 5%;
    text-align: center;
    font-size: 0.8rem;
    font-weight: 300;
    color: rgba(255,255,255,0.5);
    background-color: var(--color-dark);
}

/* --- Scroll Animation --- */
/* アニメーションのトリガーとなる親要素。ここ自体は動かない */
.scroll-animation {
    /* アニメーション関連のプロパティを削除 */
}

/* アニメーションさせたい子要素の初期状態 */
.anim-item {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

/* 親に.is-visibleがついたら、子要素をアニメーションさせる */
.scroll-animation.is-visible .anim-item {
    opacity: 1;
    transform: translateY(0);
}

/* スタガー効果（要素が順番に表示される）のための遅延設定 */
.scroll-animation.is-visible .anim-item:nth-child(1) {
    transition-delay: 0.1s;
}
.scroll-animation.is-visible .anim-item:nth-child(2) {
    transition-delay: 0.2s;
}
.scroll-animation.is-visible .anim-item:nth-child(3) {
    transition-delay: 0.3s;
}
.scroll-animation.is-visible .anim-item:nth-child(4) {
    transition-delay: 0.4s;
}


/* --- Responsive Design --- */
@media (max-width: 768px) {
    h2 {
        font-size: 2.5rem;
    }
    .hero-text {
        font-size: 2.5rem;
    }
    .header-nav {
        display: none; /* 簡単のため、スマホではナビを非表示に。ハンバーガーメニューにする場合はJSとCSSの追加が必要 */
    }
    .access-container {
        grid-template-columns: 1fr;
    }
    .gallery-grid {
        grid-template-columns: 1fr;
    }
    .menu-grid {
        gap: 80px;
    }
}
