/* ==========================================================================
   デザインシステム & 共通設定
   ========================================================================== */

:root {
    /* カラーパレット */
    --primary-color: #1a4332;       /* ディープフォレストグリーン（メインテーマ） */
    --primary-light: #2d5a44;       /* 明るめのグリーン */
    --secondary-color: #588b76;     /* セージグリーン（サブテーマ） */
    --accent-color: #c5a059;        /* ゴールド（アクセント・上品さ） */
    --accent-hover: #b08d4b;        /* ゴールドホバー用 */
    
    --bg-light: #f5f6f3;            /* 非常に薄いグリーンを含んだオフホワイト */
    --bg-white: #ffffff;            /* カードなどの背景用 */
    --bg-dark: #11261d;             /* フッターや濃い背景用 */
    
    --text-main: #2b332f;           /* メインの文字色（濃いチャコールグレー） */
    --text-muted: #6b7771;          /* 補足などの薄い文字色 */
    --text-light: #f5f6f3;          /* 暗い背景での文字色 */
    
    /* フォントファミリー */
    --font-serif: 'Noto Serif JP', 'Playfair Display', Georgia, serif;
    --font-sans: 'Noto Sans JP', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    
    /* シャドウ */
    --shadow-sm: 0 2px 8px rgba(26, 67, 50, 0.05);
    --shadow-md: 0 8px 24px rgba(26, 67, 50, 0.08);
    --shadow-lg: 0 16px 40px rgba(26, 67, 50, 0.12);
    
    /* 角丸 */
    --radius-sm: 4px;
    --radius-md: 12px;
    --radius-lg: 24px;
    
    /* トランジション */
    --transition-smooth: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    --transition-fast: all 0.2s ease;
}

/* リセット & ベース */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-sans);
    color: var(--text-main);
    background-color: var(--bg-white);
    line-height: 1.8;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

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

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition-fast);
}

ul {
    list-style: none;
}

input, select, textarea, button {
    font-family: inherit;
    font-size: inherit;
    color: inherit;
}

/* ==========================================================================
   共通レイアウト & パーツ
   ========================================================================== */

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.container-sm {
    max-width: 760px;
}

.section-padding {
    padding: 100px 0;
}

@media (max-width: 768px) {
    .section-padding {
        padding: 60px 0;
    }
}

.bg-light {
    background-color: var(--bg-light);
}

/* グリッドレイアウト */
.grid {
    display: grid;
    gap: 40px;
}

.grid-2col {
    grid-template-columns: repeat(2, 1fr);
}

.grid-3col {
    grid-template-columns: repeat(3, 1fr);
}

@media (max-width: 992px) {
    .grid-2col, .grid-3col {
        grid-template-columns: 1fr;
        gap: 32px;
    }
}

.align-center {
    align-items: center;
}

.align-stretch {
    align-items: stretch;
}

/* ユーティリティクラス */
.text-center { text-align: center; }
.margin-bottom-sm { margin-bottom: 16px; }
.margin-bottom-md { margin-bottom: 32px; }
.margin-bottom-lg { margin-bottom: 56px; }
.margin-top-md { margin-top: 32px; }
.margin-top-lg { margin-top: 56px; }
.gap-sm { gap: 16px; }
.img-responsive { width: 100%; }
.rounded { border-radius: var(--radius-md); }
.shadow { box-shadow: var(--shadow-md); }
.hidden { display: none !important; }

/* 見出しスタイル */
.section-subtitle {
    display: inline-block;
    font-family: var(--font-sans);
    font-weight: 700;
    font-size: 14px;
    letter-spacing: 0.2em;
    color: var(--accent-color);
    margin-bottom: 12px;
    text-transform: uppercase;
}

.section-title {
    font-family: var(--font-serif);
    font-size: 32px;
    font-weight: 600;
    line-height: 1.4;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.section-description {
    font-size: 16px;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto;
}

@media (max-width: 768px) {
    .section-title {
        font-size: 26px;
    }
}

/* ボタンスタイル */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 32px;
    border-radius: var(--radius-lg);
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition-smooth);
    border: 1px solid transparent;
    letter-spacing: 0.05em;
}

.btn-primary {
    background-color: var(--accent-color);
    color: var(--bg-white);
}

.btn-primary:hover {
    background-color: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(197, 160, 89, 0.3);
}

.btn-secondary {
    background-color: transparent;
    color: var(--bg-white);
    border-color: rgba(255, 255, 255, 0.4);
}

.btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.8);
    transform: translateY(-2px);
}

.btn-lg {
    padding: 16px 40px;
    font-size: 16px;
}

.btn-block {
    width: 100%;
}

/* ==========================================================================
   ヘッダー / ナビゲーション
   ========================================================================== */

.main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 24px 0;
    transition: var(--transition-smooth);
    background-color: transparent;
}

/* スクロール時のスタイル (JSで制御) */
.main-header.scrolled {
    padding: 16px 0;
    background-color: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: var(--shadow-sm);
    border-bottom: 1px solid rgba(26, 67, 50, 0.06);
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 24px;
}

.logo {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.logo-en {
    font-family: var(--font-serif);
    font-size: 14px;
    letter-spacing: 0.15em;
    color: var(--accent-color);
    text-transform: uppercase;
}

.logo-jp {
    font-family: var(--font-serif);
    font-size: 22px;
    font-weight: 700;
    color: var(--bg-white);
    transition: var(--transition-smooth);
}

.main-header.scrolled .logo-jp {
    color: var(--primary-color);
}

/* ナビメニュー */
.nav-list {
    display: flex;
    gap: 32px;
}

.nav-link {
    font-size: 15px;
    font-weight: 500;
    color: var(--bg-white);
    position: relative;
    padding: 8px 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--accent-color);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.3s ease;
}

.nav-link:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}

.main-header.scrolled .nav-link {
    color: var(--text-main);
}

.main-header.scrolled .nav-link:hover {
    color: var(--primary-color);
}

/* ヘッダー右側CTA */
.header-cta {
    display: flex;
    align-items: center;
    gap: 20px;
}

.cta-tel {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-serif);
    font-weight: 700;
    font-size: 16px;
    color: var(--bg-white);
}

.icon-tel {
    width: 18px;
    height: 18px;
    fill: var(--accent-color);
}

.main-header.scrolled .cta-tel {
    color: var(--primary-color);
}

/* ハンバーガーメニュー */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 24px;
    height: 18px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 1100;
}

.hamburger span {
    width: 100%;
    height: 2px;
    background-color: var(--bg-white);
    transition: var(--transition-smooth);
}

.main-header.scrolled .hamburger span {
    background-color: var(--primary-color);
}

/* スマホ表示対応のレスポンシブヘッダー */
@media (max-width: 992px) {
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 320px;
        height: 100vh;
        background-color: var(--bg-dark);
        padding: 100px 40px;
        box-shadow: var(--shadow-lg);
        transition: var(--transition-smooth);
        z-index: 1050;
    }

    .nav-menu.open {
        right: 0;
    }

    .nav-list {
        flex-direction: column;
        gap: 24px;
    }

    .nav-link {
        font-size: 18px;
        color: var(--text-light);
    }
    
    .hamburger {
        display: flex;
    }

    /* ハンバーガーアニメーション */
    .hamburger.open span:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
        background-color: var(--text-light) !important;
    }
    .hamburger.open span:nth-child(2) {
        opacity: 0;
    }
    .hamburger.open span:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
        background-color: var(--text-light) !important;
    }
}

/* ==========================================================================
   ヒーローセクション
   ========================================================================== */

.hero-section {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
    text-align: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transform: scale(1.05);
    animation: slowZoom 15s infinite alternate ease-in-out;
    z-index: 1;
}

@keyframes slowZoom {
    0% { transform: scale(1); }
    100% { transform: scale(1.08); }
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(185deg, rgba(17, 38, 29, 0.4) 0%, rgba(17, 38, 29, 0.8) 100%);
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    max-width: 800px;
    padding: 0 24px;
    margin-top: 60px;
}

.hero-subtitle {
    font-family: var(--font-serif);
    font-size: 16px;
    letter-spacing: 0.3em;
    color: var(--accent-color);
    text-transform: uppercase;
    margin-bottom: 24px;
}

.hero-title {
    font-family: var(--font-serif);
    font-size: 52px;
    font-weight: 600;
    line-height: 1.35;
    margin-bottom: 24px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.hero-description {
    font-size: 18px;
    line-height: 1.8;
    color: rgba(245, 246, 243, 0.85);
    margin-bottom: 40px;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 16px;
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 34px;
    }
    .hero-description {
        font-size: 15px;
    }
    .hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: 12px;
    }
    .hero-buttons .btn {
        width: 100%;
        max-width: 280px;
    }
}

/* スクロールインジケーター */
.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: center;
    font-size: 11px;
    letter-spacing: 0.2em;
    color: rgba(255, 255, 255, 0.6);
}

.scroll-line {
    width: 1px;
    height: 60px;
    background-color: rgba(255, 255, 255, 0.2);
    margin-top: 12px;
    position: relative;
    overflow: hidden;
}

.scroll-line::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 20px;
    background-color: var(--accent-color);
    animation: scrollAnim 2s infinite ease-in-out;
}

@keyframes scrollAnim {
    0% { top: -20px; }
    100% { top: 60px; }
}

/* ==========================================================================
   コンセプトセクション
   ========================================================================== */

.concept-lead {
    font-size: 18px;
    font-weight: 500;
    color: var(--primary-light);
    line-height: 1.8;
    margin-bottom: 24px;
}

.concept-description {
    font-size: 15px;
    color: var(--text-muted);
    margin-bottom: 40px;
}

.concept-features {
    display: flex;
    flex-direction: column;
    gap: 24px;
    border-top: 1px solid rgba(26, 67, 50, 0.08);
    padding-top: 32px;
}

.feature-item {
    display: flex;
    gap: 16px;
}

.feature-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background-color: rgba(88, 139, 118, 0.1);
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-icon svg {
    width: 24px;
    height: 24px;
}

.feature-content h3 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 4px;
    color: var(--primary-color);
}

.feature-content p {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.6;
}

/* ==========================================================================
   メニューセクション
   ========================================================================== */

.menu-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}

@media (max-width: 992px) {
    .menu-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
}

.menu-category-card {
    background-color: var(--bg-white);
    border-radius: var(--radius-md);
    padding: 40px;
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(26, 67, 50, 0.04);
    transition: var(--transition-smooth);
}

.menu-category-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: rgba(197, 160, 89, 0.2);
}

.category-title {
    font-family: var(--font-serif);
    font-size: 22px;
    font-weight: 600;
    color: var(--primary-color);
    border-bottom: 2px solid var(--accent-color);
    padding-bottom: 12px;
    margin-bottom: 28px;
    display: flex;
    justify-content: space-between;
    align-items: baseline;
}

.category-title .jp-sub {
    font-family: var(--font-sans);
    font-size: 13px;
    font-weight: 400;
    color: var(--text-muted);
    letter-spacing: 0.05em;
}

.menu-list-items {
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.menu-item-info {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 4px;
}

.item-name {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-main);
}

.item-price {
    font-family: var(--font-serif);
    font-size: 17px;
    font-weight: 600;
    color: var(--primary-light);
    white-space: nowrap;
}

.item-desc {
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.6;
}

.menu-note {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.6;
}

/* ==========================================================================
   スタイルギャラリー
   ========================================================================== */

.gallery-filter {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 48px;
    flex-wrap: wrap;
}

.filter-btn {
    background-color: var(--bg-light);
    border: none;
    padding: 10px 24px;
    border-radius: var(--radius-lg);
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.filter-btn:hover, .filter-btn.active {
    background-color: var(--primary-color);
    color: var(--bg-white);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

@media (max-width: 1200px) {
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .gallery-grid {
        grid-template-columns: 1fr;
    }
}

.gallery-item {
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    background-color: var(--bg-white);
    aspect-ratio: 3 / 4;
    transition: var(--transition-smooth);
}

.gallery-img-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.gallery-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.gallery-hover-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(17, 38, 29, 0.9) 0%, rgba(17, 38, 29, 0.4) 60%, rgba(17, 38, 29, 0.1) 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 24px;
    opacity: 0;
    transition: var(--transition-smooth);
    z-index: 2;
    color: var(--text-light);
}

.gallery-category {
    font-size: 11px;
    letter-spacing: 0.1em;
    color: var(--accent-color);
    text-transform: uppercase;
    margin-bottom: 6px;
    font-weight: 500;
}

.gallery-item-title {
    font-family: var(--font-serif);
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 8px;
}

.gallery-item-desc {
    font-size: 12px;
    line-height: 1.5;
    color: rgba(245, 246, 243, 0.8);
}

/* ホバーエフェクト */
.gallery-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

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

.gallery-item:hover .gallery-hover-overlay {
    opacity: 1;
}

/* フィルタリングのアニメーション用 */
.gallery-item.hide {
    display: none;
}

/* ==========================================================================
   店舗情報 & アクセス
   ========================================================================== */

.shop-details-card {
    background-color: var(--bg-white);
    border-radius: var(--radius-md);
    padding: 48px;
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    justify-content: center;
    border: 1px solid rgba(26, 67, 50, 0.04);
}

@media (max-width: 768px) {
    .shop-details-card {
        padding: 32px 24px;
    }
}

.shop-name {
    font-family: var(--font-serif);
    font-size: 28px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 8px;
}

.shop-tagline {
    font-size: 14px;
    color: var(--accent-color);
    font-weight: 500;
    margin-bottom: 24px;
}

.shop-info-list {
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.flex-row {
    display: flex;
    gap: 20px;
}

.info-icon {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    color: var(--secondary-color);
    margin-top: 4px;
}

.info-icon svg {
    width: 24px;
    height: 24px;
}

.info-text strong {
    display: block;
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 4px;
    font-weight: 500;
    letter-spacing: 0.05em;
}

.info-text p {
    font-size: 16px;
    font-weight: 500;
}

.map-link {
    display: inline-block;
    font-size: 14px;
    color: var(--accent-color);
    font-weight: 700;
    margin-top: 6px;
}

.map-link:hover {
    color: var(--accent-hover);
    text-decoration: underline;
}

.phone-number-highlight {
    font-family: var(--font-serif);
    font-size: 24px;
    font-weight: 700;
    color: var(--primary-color);
}

.info-sub-note {
    display: block;
    font-size: 12px;
    color: var(--text-muted);
    margin-top: 4px;
}

.shop-photo-card {
    display: flex;
    align-items: center;
    justify-content: center;
}

.store-image-container {
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 400px;
}

.store-image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
}

.image-caption {
    position: absolute;
    bottom: 16px;
    right: 16px;
    background-color: rgba(17, 38, 29, 0.8);
    color: var(--text-light);
    padding: 6px 16px;
    border-radius: var(--radius-sm);
    font-size: 12px;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

@media (max-width: 992px) {
    .store-image-container {
        min-height: 300px;
    }
}

/* ==========================================================================
   フッター
   ========================================================================== */

.main-footer {
    background-color: var(--bg-dark);
    color: var(--text-light);
    padding: 80px 0 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 64px;
    margin-bottom: 60px;
}

@media (max-width: 992px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.footer-logo {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.footer-desc {
    font-size: 14px;
    color: rgba(245, 246, 243, 0.7);
    line-height: 1.8;
    max-width: 360px;
}

.footer-links h4, .footer-contact h4 {
    font-size: 14px;
    letter-spacing: 0.1em;
    color: var(--accent-color);
    margin-bottom: 24px;
    font-weight: 700;
}

.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a {
    font-size: 14px;
    color: rgba(245, 246, 243, 0.8);
}

.footer-links a:hover {
    color: var(--accent-color);
    padding-left: 4px;
}

.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 12px;
    font-size: 14px;
    color: rgba(245, 246, 243, 0.8);
}

.footer-tel {
    font-family: var(--font-serif);
    font-size: 20px;
    color: var(--accent-color) !important;
    font-weight: 700;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 24px;
    font-size: 12px;
    color: rgba(245, 246, 243, 0.4);
}

/* ==========================================================================
   スクロールアニメーション (Reveal)
   ========================================================================== */

.fade-in-up {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 1s cubic-bezier(0.25, 1, 0.5, 1) forwards;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-content .fade-in-up:nth-child(1) { animation-delay: 0.1s; }
.hero-content .fade-in-up:nth-child(2) { animation-delay: 0.3s; }
.hero-content .fade-in-up:nth-child(3) { animation-delay: 0.5s; }
.hero-content .fade-in-up:nth-child(4) { animation-delay: 0.7s; }

/* スクロールトリガーのアニメーションベース */
.reveal-up, .reveal-left, .reveal-right {
    opacity: 0;
    transition: opacity 1.2s cubic-bezier(0.25, 1, 0.5, 1), transform 1.2s cubic-bezier(0.25, 1, 0.5, 1);
}

.reveal-up {
    transform: translateY(40px);
}

.reveal-left {
    transform: translateX(-40px);
}

.reveal-right {
    transform: translateX(40px);
}

.reveal-up.active, .reveal-left.active, .reveal-right.active {
    opacity: 1;
    transform: translate(0, 0);
}

/* デレイ設定 */
.reveal-up[data-delay="1"] { transition-delay: 0.15s; }
.reveal-up[data-delay="2"] { transition-delay: 0.3s; }
.reveal-up[data-delay="3"] { transition-delay: 0.45s; }
