@charset "UTF-8";

/* ==========================================================================
   CSS変数の定義（カスタムプロパティ）
   サイト全体で再利用する色やフォントを定義し、変更を一箇所で管理しやすくします。
   ========================================================================== */
:root {
    --color-main: #6B4423; /* 落ち着いたブラウン（メインカラー） */
    --color-bg: #F5EFE6;   /* アイボリー（背景色） */
    --color-text: #333333; /* ダークグレー（テキスト色） */
    --color-white: #FFFFFF;
    --color-light-gray: #E8DFD5; /* ボーダーや控えめな背景用 */
    
    --font-family: 'Noto Serif JP', serif; /* 明朝体ベースのフォント */
    
    --transition-smooth: 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

/* ==========================================================================
   リセットCSS & ベーススタイル
   ブラウザ固有のスタイルを無効化し、一貫したデザインの土台を作ります。
   ========================================================================== */
*, *::before, *::after {
    box-sizing: border-box; /* 要素の幅と高さにpaddingとborderを含める */
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth; /* スムーズスクロールを有効にする */
    font-size: 16px;
}

body {
    font-family: var(--font-family);
    color: var(--color-text);
    /* 変更: 背景色に微細なグラデーションと光のボケ（オーロラ風）を追加し、奥行きを出す */
    background: linear-gradient(135deg, #F5EFE6 0%, #FFFFFF 50%, #f0e6d2 100%);
    background-attachment: fixed;
    line-height: 1.8;
    letter-spacing: 0.05em; /* 文字間隔を少し開けて上品さを演出 */
    -webkit-font-smoothing: antialiased; /* フォントを滑らかに表示 */
}

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

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

ul {
    list-style: none;
}

/* ==========================================================================
   レイアウト用ユーティリティ
   ========================================================================== */
.container {
    width: 100%;
    max-width: 1000px; /* PCでの最大幅 */
    margin: 0 auto;
    padding: 0 5%; /* スマホでの左右の余白 */
}

.section {
    padding: 100px 0; /* セクション間の十分な余白 */
}

.section-title {
    text-align: center;
    font-size: 2rem;
    font-weight: 400;
    margin-bottom: 3rem;
    color: var(--color-main);
    letter-spacing: 0.1em;
}

/* ==========================================================================
   ヘッダー（ナビゲーション）
   ========================================================================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    transition: background-color var(--transition-smooth), padding var(--transition-smooth);
    padding: 20px 0;
}

.header.scrolled {
    background-color: rgba(245, 239, 230, 0.95);
    backdrop-filter: blur(10px); /* すりガラス効果 */
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    padding: 15px 0;
}

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

.logo {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--color-main);
    letter-spacing: 0.05em;
}

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

.nav-list a {
    font-size: 0.95rem;
    position: relative;
}

.nav-list a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 1px;
    background-color: var(--color-main);
    transition: width var(--transition-smooth);
}

.nav-list a:hover::after {
    width: 100%; /* ホバー時に下線が伸びるアニメーション */
}

/* ==========================================================================
   1. ヒーローセクション
   ========================================================================== */
.hero {
    position: relative;
    height: 100vh; /* 画面いっぱいの高さ */
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.hero-bg::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.4); /* 画像の上に暗いオーバーレイを重ねて文字を見やすくする */
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover; /* 画像の比率を維持したまま枠いっぱいに表示 */
    animation: slowZoom 20s ease-out infinite alternate; /* ゆっくりズームするアニメーション */
}

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

.hero-content {
    text-align: center;
    color: var(--color-main);
    padding: 40px 60px;
    /* すりガラス風（Glassmorphism）のカードデザイン */
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 24px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    max-width: 90%;
}

.hero-copy {
    font-size: clamp(2rem, 5vw, 3.5rem); /* 画面サイズに応じてフォントサイズを可変 */
    font-weight: 300;
    line-height: 1.6;
    margin-bottom: 2rem;
    text-shadow: 0 2px 5px rgba(255,255,255,0.8); /* 文字が見やすいように白系の影に */
}

.hero-sub {
    font-size: 1.2rem;
    letter-spacing: 0.2em;
    font-weight: 300;
    opacity: 0.9;
}

/* ==========================================================================
   2. コンセプトセクション
   ========================================================================== */
.concept-text {
    text-align: center;
    font-size: 1.1rem;
    line-height: 2.2;
}

.concept-text p {
    margin-bottom: 1rem;
}

.concept-text p:last-child {
    margin-bottom: 0;
}

/* ==========================================================================
   3. メニューセクション
   ========================================================================== */
.menu-grid {
    display: flex;
    flex-wrap: wrap; /* 横に並べ、幅が足りなければ次の行に折り返す */
    justify-content: center; /* 項目を中央に寄せて綺麗に配置する */
    gap: 30px;
}

.menu-item {
    flex: 1 1 calc(33.333% - 20px); /* 最大で3つまで横並びになるように幅を計算 (gapの分を引く) */
    min-width: 280px; /* 画面が狭い時に潰れすぎないよう最低幅を設定 */
    max-width: calc(33.333% - 20px); /* 3列の幅以上に広がらないように制限 */
    /* ポラロイド写真風 ＆ すりガラス風のデザイン */
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.8);
    border-radius: 16px; /* 角丸を大きく */
    padding: 12px; /* 内側に余白をとってポラロイド感を出す */
    box-shadow: 0 12px 30px rgba(107, 68, 35, 0.08); /* ふんわりとした影 */
    transition: transform var(--transition-smooth), box-shadow var(--transition-smooth);
}

.menu-item:hover {
    /* ホバー時に少し上に浮き、ほんの少し傾く「映え」アニメーション */
    transform: translateY(-8px) rotate(1.5deg);
    box-shadow: 0 20px 40px rgba(107, 68, 35, 0.15);
}

.menu-image-wrapper {
    width: 100%;
    height: 240px;
    border-radius: 10px; /* 画像自体も角を丸くする */
    overflow: hidden;
}

.menu-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease;
}

.menu-item:hover .menu-image {
    transform: scale(1.05); /* ホバー時に画像が少し拡大 */
}

.menu-info {
    padding: 20px 10px 10px; /* ポラロイド風に下部の余白を調整 */
}

.menu-name {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 5px;
    color: var(--color-main);
}

.menu-price {
    font-size: 1.1rem;
    margin-bottom: 15px;
    color: #666;
}

.menu-desc {
    font-size: 0.95rem;
    color: #555;
    line-height: 1.6;
}

/* ==========================================================================
   4. 店舗情報セクション
   ========================================================================== */
.info-wrapper {
    max-width: 600px;
    margin: 0 auto;
    /* すりガラス風の美しいパネル */
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.8);
    padding: 50px;
    border-radius: 20px; /* 角丸を大きく */
    box-shadow: 0 15px 35px rgba(107, 68, 35, 0.08); /* 柔らかな影 */
}

.info-list {
    margin-bottom: 40px;
}

.info-row {
    display: flex;
    padding: 20px 0;
    border-bottom: 1px solid var(--color-light-gray);
}

.info-row:first-child {
    border-top: 1px solid var(--color-light-gray);
}

.info-row dt {
    width: 120px;
    font-weight: 600;
    color: var(--color-main);
}

.info-row dd {
    flex: 1;
}

/* ==========================================================================
   ボタン・SNSリンク
   ========================================================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 15px 40px;
    font-size: 1rem;
    font-family: inherit;
    cursor: pointer;
    border-radius: 4px;
    transition: all var(--transition-smooth);
    text-align: center;
    border: none;
}

.btn-outline {
    border: 1px solid var(--color-main);
    color: var(--color-main);
    background-color: transparent;
}

.btn-outline:hover {
    background-color: var(--color-main);
    color: var(--color-white);
}

.btn-primary {
    background-color: var(--color-main);
    color: var(--color-white);
    width: 100%;
    max-width: 300px;
}

.btn-primary:hover {
    background-color: #54341b; /* ホバー時に少し暗く */
}

.sns-link {
    text-align: center;
}

/* ==========================================================================
   6. お問い合わせフォーム
   ========================================================================== */
.contact-lead {
    text-align: center;
    margin-bottom: 40px;
}

.contact-form {
    max-width: 600px;
    margin: 0 auto;
}

.form-group {
    margin-bottom: 30px;
}

.form-label {
    display: block;
    margin-bottom: 10px;
    font-weight: 600;
}

.required {
    font-size: 0.75rem;
    background-color: var(--color-main);
    color: white;
    padding: 2px 6px;
    border-radius: 2px;
    margin-left: 10px;
    vertical-align: middle;
}

.form-control {
    width: 100%;
    padding: 15px;
    border: 1px solid rgba(107, 68, 35, 0.2); /* 枠線をメインカラーの薄い色に */
    border-radius: 12px; /* 入力欄も角を丸く */
    font-family: inherit;
    font-size: 1rem;
    background-color: rgba(255, 255, 255, 0.9);
    transition: all var(--transition-smooth);
}

.form-control:focus {
    outline: none;
    border-color: var(--color-main);
    box-shadow: 0 0 0 3px rgba(107, 68, 35, 0.1); /* フォーカス時にふんわり光る */
}

.form-submit {
    text-align: center;
    margin-top: 40px;
}

/* ==========================================================================
   フッター
   ========================================================================== */
.footer {
    background-color: var(--color-main);
    color: var(--color-white);
    text-align: center;
    padding: 30px 0;
}

.copyright {
    font-size: 0.9rem;
    opacity: 0.8;
}

/* ==========================================================================
   アニメーション用クラス（JavaScriptと連動）
   ========================================================================== */
/* フェードイン */
.fade-in {
    opacity: 0;
    transition: opacity 1s ease;
}

.fade-in.is-visible {
    opacity: 1;
}

/* 下からフワッと浮かび上がるフェードイン */
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

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

/* ==========================================================================
   レスポンシブ対応（スマホ・タブレット向け調整）
   画面幅が768px以下（タブレット・スマホ）の場合に適用されるスタイルです。
   ========================================================================== */
@media screen and (max-width: 768px) {
    /* ナビゲーションを非表示に（必要に応じてハンバーガーメニューに変更可能ですが、
       今回はシンプルなLPとして下部にスクロールさせます） */
    .nav {
        display: none;
    }
    
    .header-container {
        justify-content: center; /* スマホではロゴを中央寄せ */
    }
    
    .section {
        padding: 60px 0; /* セクション間の余白を小さく */
    }
    
    .section-title {
        font-size: 1.8rem;
        margin-bottom: 2rem;
    }
    
    .hero-copy {
        font-size: 1.8rem; /* スマホでは文字サイズを小さく */
    }
    
    /* 店舗情報を行ごとに縦並びに変更 */
    .info-wrapper {
        padding: 30px 20px;
    }
    
    .info-row {
        flex-direction: column;
        padding: 15px 0;
    }
    
    .info-row dt {
        margin-bottom: 5px;
    }
}
