/* 変数定義（配色など一括管理するため） */
:root {
    --color-primary: #d1abaa;
    /* ピンクベージュ: メインカラー */
    --color-secondary: #fffdd0;
    /* クリーム色: 背景のアクセントなど */
    --color-background: #fffffb;
    /* 白色: ベース背景色 */
    --color-text: #5a4b4b;
    /* 文字色: 真っ黒を避け、柔らかいブラウン系で親しみやすく */
    --color-text-light: #8a7b7b;
    /* 薄い文字色 */
    --font-main: 'Zen Maru Gothic', sans-serif;
    /* 丸みを帯びたフォントを指定 */
}

/* リセットと基本設定 */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    /* ページ内リンクでなめらかに移動する設定 */
}

body {
    font-family: var(--font-main);
    color: var(--color-text);
    background-color: var(--color-background);
    line-height: 1.8;
    /* 文字間隔（行間）を広めに設定して読みやすく */
    letter-spacing: 0.05em;
    /* 文字間隔を少し広めに */
}

a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s ease;
    /* ホバー時の色変化を滑らかに */
}

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

/* 共通コンテナ（コンテンツ幅の制限） */
.container {
    width: 90%;
    max-width: 1000px;
    margin: 0 auto;
}

/* セクション共通の余白 */
.section {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    font-size: 2rem;
    color: var(--color-primary);
    margin-bottom: 40px;
    font-weight: 700;
}

.section-desc {
    text-align: center;
    margin-bottom: 40px;
}

/* ヘッダー */
.header {
    position: fixed;
    top: 0;
    width: 100%;
    background-color: rgba(255, 255, 251, 0.9);
    /* 少し透過させて後ろを透かす */
    backdrop-filter: blur(5px);
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    /* 軽い影で浮き出させる */
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 5%;
}

.logo a {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-primary);
}

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

.nav-list a {
    font-weight: 500;
}

.nav-list a:hover {
    color: var(--color-primary);
}

/* ハンバーガーメニュー (スマホ用) */
.menu-toggle {
    display: none;
    /* PCでは非表示 */
    background: none;
    border: none;
    cursor: pointer;
    flex-direction: column;
    gap: 6px;
}

.menu-toggle span {
    width: 25px;
    height: 3px;
    background-color: var(--color-primary);
    border-radius: 3px;
    transition: 0.3s;
}

/* メインビジュアル */
.hero {
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--color-secondary);
    /* 生成した写真による背景設定 */
    background-image: url('hero_bg.png');
    background-size: cover;
    background-position: center;
    position: relative;
    padding-top: 60px;
    /* ヘッダーの高さ分下げる */
}

/* ヒーロー画像の上に少し透過のクリーム色を重ねて文字を見やすくする */
.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(255, 253, 208, 0.6);
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    background: rgba(255, 255, 251, 0.85);
    /* テキストの背景を少し白く */
    padding: 40px;
    border-radius: 20px;
    /* 角を丸くして柔らかい印象に */
}

.hero-title {
    font-size: 2.5rem;
    color: var(--color-primary);
    margin-bottom: 10px;
    line-height: 1.5;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--color-text);
}

/* コンセプト */
.concept {
    background-color: var(--color-background);
}

.concept-content {
    display: flex;
    align-items: center;
    gap: 40px;
}

.concept-text {
    flex: 1;
}

.concept-text h3 {
    font-size: 1.8rem;
    color: var(--color-primary);
    margin-bottom: 20px;
}

.concept-text p {
    margin-bottom: 20px;
}

.concept-image {
    flex: 1;
}

.concept-image img {
    border-radius: 20px;
    /* 画像の角を丸くする設定（radius追加） */
    box-shadow: 0 10px 20px rgba(209, 171, 170, 0.2);
    /* ピンクベージュの淡い影 */
}

/* おすすめメニュー */
.menu {
    background-color: var(--color-secondary);
    /* クリーム色背景でメリハリ */
}

.menu-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    /* 自動折り返し */
    gap: 30px;
}

.menu-item {
    background-color: var(--color-background);
    border-radius: 20px;
    /* カードの角を丸くする */
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
    /* ホバー時の動きを滑らかに */
}

.menu-item:hover {
    transform: translateY(-5px);
    /* ホバー時に少し浮くアニメーション */
}

.menu-img img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    /* 画像の比率を維持して切り抜く */
}

.menu-info {
    padding: 20px;
    text-align: center;
}

.menu-name {
    font-size: 1.2rem;
    color: var(--color-primary);
    margin-bottom: 10px;
}

.menu-price {
    font-weight: bold;
    font-size: 1.1rem;
    margin-bottom: 15px;
}

.menu-desc {
    font-size: 0.9rem;
    color: var(--color-text-light);
}

/* 店舗情報 */
.info {
    background-color: var(--color-background);
}

.info-content {
    max-width: 600px;
    margin: 0 auto;
    background-color: var(--color-secondary);
    /* クリーム色で囲む */
    padding: 40px;
    border-radius: 20px;
    /* 角丸 */
}

.info-list {
    display: flex;
    flex-wrap: wrap;
}

.info-list dt {
    width: 30%;
    font-weight: bold;
    color: var(--color-primary);
    padding: 15px 0;
    border-bottom: 1px dashed var(--color-primary);
    /* 点線でかわいく */
}

.info-list dd {
    width: 70%;
    padding: 15px 0;
    border-bottom: 1px dashed var(--color-primary);
}

.info-list dt:last-of-type,
.info-list dd:last-of-type {
    border-bottom: none;
    /* 最後は線を消す */
}

/* アクセス */
.access {
    background-color: var(--color-secondary);
    /* 再びクリーム色背景 */
}

.map-container {
    border-radius: 20px;
    overflow: hidden;
    /* iframeの角を丸くするための設定 */
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

/* フッター */
.footer {
    background-color: var(--color-primary);
    /* フッターはピンクベージュ */
    color: var(--color-background);
    text-align: center;
    padding: 40px 0;
}

.footer-logo {
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 10px;
}

.copyright {
    font-size: 0.8rem;
}

/* レスポンシブ (タブレット・スマートフォン対応) */
@media (max-width: 768px) {
    .nav {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: rgba(255, 255, 251, 0.98);
        display: none;
        /* 初期状態では非表示 */
        flex-direction: column;
        padding: 20px 0;
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.05);
    }

    .nav.active {
        display: flex;
        /* JavaScriptで.activeクラスが付与されたら表示 */
    }

    .nav-list {
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }

    .menu-toggle {
        display: flex;
        /* スマホではハンバーガーメニューを表示 */
    }

    .concept-content {
        flex-direction: column;
        /* 縦並びに変更 */
    }

    .info-list dt {
        width: 100%;
        padding-bottom: 5px;
        border-bottom: none;
        /* スマホでは線を消す */
    }

    .info-list dd {
        width: 100%;
        padding-top: 0;
        margin-bottom: 15px;
        border-bottom: 1px dashed var(--color-primary);
        /* スマホ用の線配置 */
    }

    .info-list dd:last-of-type {
        border-bottom: none;
    }
}