/* ==========================================================================
   1. 基本設定・共通スタイル (和モダンデザイン)
   ========================================================================== */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: "游明朝", "Yu Mincho", "YuMincho", "MS 明朝", "MS Mincho", serif;
    background-color: #fcfbf9; /* 温かみのある生成り色 */
    color: #333333;
    line-height: 1.8;
}

a {
    color: #a0522d; /* 落ち着いた木肌色・アクセントカラー */
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: #8b4513;
}

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

/* セクションの共通設定 */
section {
    padding: 60px 0;
}

.bg-light {
    background-color: #f5f2eb; /* 少し濃い和風のベージュ */
}

.section-title {
    font-size: 1.8rem;
    text-align: center;
    margin-bottom: 40px;
    position: relative;
    padding-bottom: 10px;
    letter-spacing: 0.1em;
}

/* タイトルの下に上品な和風の飾り線 */
.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 2px;
    background-color: #d2a679;
}

/* ==========================================================================
   2. ヘッダー・ナビゲーション (PC版横並び / スマホ版完全上下分離)
   ========================================================================== */
header {
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
}

header .container {
    display: table; /* PC環境で崩れにくいテーブルレイアウト */
    width: 100%;
    padding: 15px 20px;
}

/* ロゴエリア（PC版） */
.logo-area {
    display: table-cell;
    vertical-align: middle;
    text-align: left;
}

.logo-area h1 {
    font-size: 1.5rem;
    font-weight: bold;
    color: #5c3a21;
    line-height: 1.2;
    white-space: nowrap; /* 店名が途中で不自然に改行されるのを防ぐ */
}

.logo-area span {
    font-size: 0.8rem;
    display: block;
    color: #888;
    font-weight: normal;
    letter-spacing: 0.1em;
}

/* ナビゲーションメニュー（PC版） */
nav {
    display: table-cell;
    vertical-align: middle;
    text-align: right;
}

nav ul {
    list-style: none;
    display: inline-block;
}

nav ul li {
    display: inline-block;
    margin-left: 20px;
}

nav ul li a {
    font-size: 1rem;
    color: #333;
    font-weight: bold;
    padding: 5px 0;
    position: relative;
}

/* メニューのホバー演出 */
nav ul li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background-color: #a0522d;
    transition: width 0.3s ease;
}

nav ul li a:hover::after {
    width: 100%;
}

/* --------------------------------------------------------------------------
   【最重要】スマートフォン表示（画面幅768px以下）の完全分離設定
   -------------------------------------------------------------------------- */
@media (max-width: 768px) {
    header .container {
        display: block !important;     /* テーブル構造を完全に解除 */
        width: 100% !important;
        padding: 15px 5px !important;  /* 左右の余白を詰めて横幅を広く確保 */
    }

    /* 1段目：店名ロゴエリアを独立した1つのブロックに強制変更 */
    .logo-area {
        display: block !important;
        width: 100% !important;
        text-align: center !important;
        margin-bottom: 15px !important; /* 下のメニューとの間に確実な隙間を開ける */
    }

    .logo-area h1 {
        font-size: 1.6rem !important;
        white-space: nowrap !important; /* スマホ画面でも絶対に文字を改行させない */
        display: inline-block !important;
    }

    /* 2段目：メニューエリアを独立した1つのブロックに強制変更 */
    nav {
        display: block !important;
        width: 100% !important;
        text-align: center !important;  /* メニュー全体を中央寄せ */
    }

    nav ul {
        display: block !important;
        width: 100% !important;
        padding: 0 !important;
        margin: 0 !important;
    }

    /* メニューの各項目（こだわり、本日のおすすめ、店舗情報） */
    nav ul li {
        display: inline-block !important; /* メニュー項目同士は横並び */
        margin: 0 6px !important;         /* 隣との間隔をスマホ用に最適化 */
    }

    nav ul li a {
        font-size: 0.9rem !important;     /* スマホ幅に3つが1行できれいに収まるサイズ */
        padding: 5px 4px !important;
        white-space: nowrap !important;   /* メニューの文字も途中で改行させない */
    }
}

/* ==========================================================================
   3. メインビジュアル (看板画像)
   ========================================================================== */
.hero {
    position: relative;
    background-size: cover;
    background-position: center;
    height: 60vh;
    min-height: 350px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.4);
}

.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    color: #ffffff;
    padding: 0 20px;
    width: 100%;
    top: 50%;
    transform: translateY(-50%);
}

.hero-content h2 {
    font-size: 2.2rem;
    font-weight: bold;
    letter-spacing: 0.15em;
    margin-bottom: 15px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.6);
}

.hero-content p {
    font-size: 1.2rem;
    letter-spacing: 0.1em;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.6);
}

@media (max-width: 768px) {
    .hero {
        height: 50vh;
    }
    .hero-content h2 {
        font-size: 1.6rem;
    }
    .hero-content p {
        font-size: 1rem;
    }
}

/* ==========================================================================
   4. お品書き・本日のランチ (スマホアップロード画像対応)
   ========================================================================== */
.menu-item {
    max-width: 600px;
    margin: 0 auto;
    background: #ffffff;
    padding: 30px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.03);
    border-radius: 4px;
    text-align: center;
}

.menu-item img {
    max-width: 100%;
    height: auto;
    border-radius: 4px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.08);
}

.menu-item p {
    white-space: pre-wrap;
    font-size: 1.05rem;
    line-height: 1.8;
    color: #555555;
}

@media (max-width: 768px) {
    .menu-item {
        padding: 20px 15px;
    }
}

/* ==========================================================================
   5. 店舗情報・Googleマップ・電話番号画像
   ========================================================================== */
.info-table {
    width: 100%;
    max-width: 600px;
    margin: 0 auto 40px auto;
    border-collapse: collapse;
}

.info-table th, .info-table td {
    padding: 15px;
    border-bottom: 1px solid #e0dbd1;
    vertical-align: middle;
}

.info-table th {
    width: 30%;
    text-align: left;
    font-weight: bold;
    color: #5c3a21;
    background-color: #fdfcf7;
}

.info-table td {
    width: 70%;
    text-align: left;
}

.phone-img {
    height: 50px; /* タグ側での拡大設定 */
    width: auto;
    max-width: 100%;
    display: block;
    margin: 0;
    vertical-align: middle;
}

.map-container {
    max-width: 600px;
    margin: 0 auto;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.06);
}

.map-container iframe {
    width: 100%;
    height: 350px;
    border: 0;
    display: block;
}

@media (max-width: 768px) {
    .info-table th, .info-table td {
        padding: 12px 8px;
        font-size: 0.9rem;
    }
    .info-table th {
        width: 35%;
    }
    .map-container iframe {
        height: 280px;
    }
}

/* ==========================================================================
   6. フッター
   ========================================================================== */
footer {
    background-color: #332211;
    color: #e0dbd1;
    text-align: center;
    padding: 30px 0;
    font-size: 0.85rem;
    letter-spacing: 0.05em;
}

footer p {
    margin-bottom: 5px;
}
