/* site icon */
.site-icon { width: 36px; height: auto; vertical-align: middle; margin-right: 10px; border-radius: 6px; display: inline-block; }
/* --- 基本設定 --- */
:root {
    --bg-color: #0f172a; /* 深いネイビー（夜のイメージ） */
    --text-color: #f8fafc; /* オフホワイト */
    --accent-gold: #c5a059; /* 高級感のあるマットゴールド */
    --accent-red: #b91c1c; /* 情熱の赤 */
    --line-green: #06c755; /* LINEカラー */
    /* From av-type.html */
    --vata-color: #a855f7; /* 紫 */
    --pitta-color: #f97316; /* オレンジ */
    --kapha-color: #0ea5e9; /* 水色 */
}

body {
    font-family: 'Noto Sans JP', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-color);
    margin: 0;
    padding: 0;
    line-height: 1.8;
}

h1, h2, h3 {
    font-family: 'Noto Serif JP', serif;
    letter-spacing: 0.05em;
}

a {
    text-decoration: none;
    color: inherit;
}

/* --- ヘッダー --- */
header {
     padding: 20px 0;
     text-align: center;
     position: relative; /* フローに含めて重なりを防止 */
     width: 100%;
     z-index: 10;
     box-sizing: border-box;
 }
/* Header background common for index.html and herb.html */
header {
    background: linear-gradient(to bottom, rgba(15, 23, 42, 0.9), rgba(15, 23, 42, 0));
}
/* From av-type.html, header specific background - this should be more specific if not general */
/* This rule needs to be adjusted. If av-type header is different, it needs a specific class.
   For now, we'll assume the general header rule from index.html/herb.html is sufficient unless a specific class is added. */
/* header {
    background: rgba(15, 23, 42, 0.95);
    border-bottom: 1px solid rgba(197, 160, 89, 0.2);
} */


.logo-text {
    color: var(--accent-gold);
    font-size: 1.5rem;
    font-weight: 700;
}

/* --- ヒーローセクション（トップ） --- */
.hero {
    height: 100vh;
    background-image: url(images/helo-bg.png);
    text-align: center;
}

.hero-logo {
    width: 150px; /* ロゴの幅 */
    margin-bottom: 24px; /* ロゴとキャッチコピーの間の余白 */
    filter: drop-shadow(0 4px 8px rgba(0,0,0,0.7)); /* ロゴに影を付けて立体感を出す */
    display: block;
    margin: 0 auto;
}

.hero h1 {
    font-size: 2.5rem;
    line-height: 1.4;
    margin-bottom: 20px;
    text-shadow: 0 4px 10px rgba(0,0,0,0.8);
    display: inline-block;
    text-align: left;
}

.hero h1 span {
    display: block;
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: var(--accent-gold);
}

.hero p {
    font-size: 1.3rem;
    margin-bottom: 40px;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.8);
    font-weight: bold;
}

.btn-main {
    background: var(--accent-gold);
    color: #000;
    padding: 15px 40px;
    font-size: 1.1rem;
    font-weight: bold;
    border-radius: 50px;
    box-shadow: 0 0 20px rgba(197, 160, 89, 0.4);
    transition: transform 0.2s;
    display: inline-block;
}

.btn-main:hover {
    transform: scale(1.05);
    background: #fff;
}

.hero .btn-main {
    margin-bottom: 20px; /* ボタンの下にスペースを追加 */
}

/* --- コンセプト --- */
.section {
    padding: 80px 20px;
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.section-title {
    color: var(--accent-gold);
    font-size: 1.8rem;
    margin-bottom: 40px;
    display: inline-block;
    border-bottom: 1px solid var(--accent-gold);
    padding-bottom: 10px;
}

.concept-text {
    font-size: 1.1rem;
    margin-bottom: 30px;
}

.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.feature-item {
    background: rgba(255,255,255,0.05);
    padding: 30px;
    border-radius: 10px;
    border: 1px solid rgba(197, 160, 89, 0.2);
}

.feature-icon {
    font-size: 2rem;
    margin-bottom: 15px;
    display: block;
}

/* --- メニュー --- */
.menu-grid {
    display: grid;
    gap: 40px;
}

.menu-item {
    display: flex;
    flex-direction: column;
    background: #1e293b;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.menu-img {
    height: 300px;
    background-color: #333; /* 画像プレイスホルダー */
    background-size: cover;
    background-position: center;
}

.menu-img2 {
    height: 450px;
    background-color: #333; /* 画像プレイスホルダー */
    background-size: cover;
    background-position: center;
}

.menu-content {
    padding: 25px;
    text-align: left;
}

.menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.menu-title {
    font-size: 1.4rem;
    font-weight: bold;
    font-family: 'Noto Serif JP', serif;
}

.spicy-level {
    font-weight: bold;
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 0.9rem;
}

.spicy-5 { background: var(--accent-red); color: white; }
.spicy-4 { background: #eab308; color: black; }
.spicy-3 { background: #9fc522; color: black; }
.spicy-2 { background: #22c55e; color: black; }
.spicy-1 { background: #22afc5; color: black; }

.menu-desc {
    font-size: 0.95rem;
    color: #cbd5e1;
    margin-bottom: 15px;
}

/* --- 注文方法 --- */
.order-flow {
    text-align: left;
    margin-top: 30px;
}

.step {
    display: flex;
    align-items: flex-start;
    margin-bottom: 25px;
}

.step-num {
    background: var(--accent-gold);
    color: #000;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: bold;
    margin-right: 15px;
    flex-shrink: 0;
}

/* --- 固定フッターボタン（スマホ用） --- */
.sticky-footer {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 400px;
    z-index: 100;
}

.btn-line {
    display: block;
    background-color: #000000;
    color: white;
    text-align: center;
    padding: 15px;
    border-radius: 50px;
    font-weight: bold;
    font-size: 1.1rem;
    box-shadow: 0 5px 20px rgba(6, 199, 85, 0.4);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

/* --- フッター --- */
footer {
    background: #000;
    padding: 40px 20px 100px; /* ボタン分の余白 */
    text-align: center;
    font-size: 0.8rem;
    color: #64748b;
}

/* map 用の画像を大きく表示（menu-item 幅にフィット） */
/* オープン記念プロモーション（トップページ） */
.promo-banner {
    background: var(--accent-gold);
    color: #000;
    display: inline-block;
    padding: 10px 18px;
    border-radius: 999px;
    font-weight: 800;
    box-shadow: 0 8px 24px rgba(197,160,89,0.18);
    margin: 8px 0 22px;
}
@media (max-width:640px){
    .promo-banner { padding: 12px 16px; font-size: 0.95rem; }
}

.promo {
    background: var(--accent-gold);
    color: #000;
    display: inline-block;
    padding: 10px 14px;
    border-radius: 999px;
    font-weight: 700;
    box-shadow: 0 6px 18px rgba(197,160,89,0.18);
    margin-bottom: 16px;
}
/* 営業時間バッジ */
.hours {
    display: inline-block;
    background: rgba(197,160,89,0.10);
    color: var(--accent-gold);
    padding: 6px 12px;
    border-radius: 999px;
    font-weight: 700;
    font-size: 0.95rem;
    margin-left: 12px;
    box-shadow: 0 6px 18px rgba(197,160,89,0.08);
}

/* Styles from allergy.html */
:root {
    --container-w: 880px;
}

html,
body {
    height: 100%;
    margin: 0;
    padding: 0;
    font-family: 'Noto Sans JP', system-ui, -apple-system, "Hiragino Kaku Gothic ProN", "Noto Sans JP", "Yu Gothic", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* site icon */
.site-icon {
    width: 42px;
    height: auto;
    vertical-align: middle;
    margin-right: 12px;
    border-radius: 8px;
    display: inline-block;
}

.wrap {
    max-width: var(--container-w);
    margin: 56px auto;
    padding: 36px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0.00));
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
}

header {
    margin-bottom: 18px;
}

.top-link {
    margin-bottom: 12px;
    opacity: 0.9;
}

.promo {
    padding: 8px 14px;
    box-shadow: 0 8px 22px rgba(197, 160, 89, 0.14);
    margin-bottom: 16px;
}

h1 {
    margin: 8px 0 0 0;
    font-family: 'Noto Serif JP', serif;
    font-size: 1.9rem;
    letter-spacing: 0.03em;
    display: flex;
    align-items: center;
    gap: 10px;
}

h2 {
    font-size: 1.05rem;
    margin: 20px 0 8px 0;
}

p,
li,
dd {
    margin: 0 0 12px 0;
    font-size: 1rem;
}

ul {
    margin: 8px 0 16px 20px;
}

dl {
    margin: 8px 0 16px 0;
}

dt {
    margin-top: 12px;
}

dd {
    margin-left: 0;
    padding-left: 0.6rem;
    color: #cbd5e1;
}

.allergen-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 12px;
    margin-top: 12px;
}

.allergen-item {
    background: rgba(255, 255, 255, 0.02);
    padding: 12px 14px;
    border-radius: 8px;
    border: 1px solid rgba(197, 160, 89, 0.06);
}

footer {
    margin-top: 30px;
    font-size: 0.95rem;
    color: rgba(248, 250, 252, 0.85);
}

@media(max-width:640px) {
    .wrap {
        margin: 24px 16px;
        padding: 20px;
    }

    h1 {
        font-size: 1.5rem;
    }

    .site-icon {
        width: 36px;
        margin-right: 8px;
    }
}
/* Styles from av-type.html */
/* I'm commenting out the generic header rule as index.html and herb.html have specific gradients.
   If av-type.html needs a different header, it should have a specific class. */
/* header {
    background: rgba(15, 23, 42, 0.95);
    border-bottom: 1px solid rgba(197, 160, 89, 0.2);
} */

/* --- 診断セクション --- */
.section {
    padding: 60px 20px;
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.page-title {
    font-size: 2rem;
    color: var(--accent-gold);
    margin-bottom: 20px;
}

.page-desc {
    margin-bottom: 40px;
    color: #cbd5e1;
}

/* 診断カードスタイル */
.quiz-container {
    background: #1e293b;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    border: 1px solid rgba(197, 160, 89, 0.2);
    min-height: 400px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* 質問表示 */
.question-box {
    display: none; /* JSで制御 */
}
.question-box.active {
    display: block;
    animation: fadeIn 0.5s ease;
}

.question-text {
    font-size: 1.3rem;
    font-weight: bold;
    margin-bottom: 30px;
    color: var(--text-color);
}

.options {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.option-btn {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--text-color);
    padding: 10px 20px;
    border-radius: 10px;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s;
    display: inline-block;
}

.option-btn:hover {
    background: var(--accent-gold);
    color: #000;
    border-color: var(--accent-gold);
}

/* プログレスバー */
.progress-indicator {
    margin-top: 30px;
    height: 4px;
    background: #334155;
    border-radius: 2px;
    overflow: hidden;
}
.progress-bar {
    height: 100%;
    background: var(--accent-gold);
    width: 0%;
    transition: width 0.3s;
}

/* 結果表示 */
.result-box {
    display: none;
    text-align: left;
    animation: fadeIn 0.8s ease;
}
.result-box.active {
    display: block;
}

.result-title {
    font-size: 1.5rem;
    color: var(--accent-gold);
    text-align: center;
    margin-bottom: 30px;
}

/* パラメータバー */
.param-grid {
    margin-bottom: 40px;
}
.param-row {
    margin-bottom: 15px;
}
.param-label {
    display: flex;
    justify-content: space-between;
    margin-bottom: 5px;
    font-weight: bold;
}
.param-bg {
    height: 10px;
    background: #334155;
    border-radius: 5px;
    overflow: hidden;
}
.param-fill {
    height: 100%;
    width: 0%;
    border-radius: 5px;
    transition: width 1s ease 0.5s; /* 遅延アニメーション */
}
.fill-vata { background: var(--vata-color); }
.fill-pitta { background: var(--pitta-color); }
.fill-kapha { background: var(--kapha-color); }

.type-desc {
    font-size: 0.95rem;
    color: #cbd5e1;
    margin-bottom: 10px;
}

/* おすすめカレー */
.recommendation {
    background: rgba(0,0,0,0.2);
    padding: 20px;
    border-radius: 10px;
    margin-top: 30px;
    text-align: center;
}
.recommendation h3 {
    color: var(--accent-gold);
    margin-top: 0;
}
.rec-img {
    width: 100%;
    max-width: 300px;
    border-radius: 10px;
    margin: 15px 0;
    box-shadow: 0 5px 15px rgba(0,0,0,0.5);
}

.btn-restart {
    background: transparent;
    border: 1px solid var(--accent-gold);
    color: var(--accent-gold);
    padding: 10px 20px;
    border-radius: 50px;
    margin-top: 20px;
    cursor: pointer;
    transition: 0.3s;
    display: inline-block;
}
.btn-restart:hover {
    background: var(--accent-gold);
    color: #000;
}

.btn-top {
    display: inline-block;
    margin-top: 20px;
    color: #94a3b8;
    font-size: 0.9rem;
    text-decoration: underline;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* --- フッター --- */
footer {
    padding: 40px 20px;
    margin-top: 50px;
}

/* Styles from herb.html */
/* header styles are already covered */
/* .section is already covered, but herb.html uses max-width: 1200px */
.section-herb { /* Renaming to be specific to herb.html */
    padding: 80px 20px;
    max-width: 1200px; /* Specific to herb.html */
    margin: 0 auto;
    text-align: center;
}

/* --- テーブル --- */
.herb-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 50px;
    background: rgba(255,255,255,0.05);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.herb-table th, .herb-table td {
    padding: 15px;
    text-align: left;
    border-bottom: 1px solid rgba(197, 160, 89, 0.2);
}

.herb-table th {
    background: var(--accent-gold);
    color: #000;
    font-weight: bold;
}

.herb-table tr:nth-child(even) {
    background: rgba(255,255,255,0.02);
}

.herb-img {
    width: 100px;
    height: 100px;
    object-fit: cover;
    border-radius: 5px;
}

/* --- フッター --- */
footer {
    background: #000;
    padding: 40px 20px 100px; /* ボタン分の余白 */
    text-align: center;
    font-size: 0.8rem;
    color: #64748b;
}

.site-footer a {
    color: #cbd5e1;
    margin: 0 10px;
}

/* Styles from privacy.html */
.hero-logo {
    width: 150px;
    margin-bottom: 24px;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.7));
}

.wrap {
    max-width: var(--container-w);
    margin: 56px auto;
    padding: 36px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0.00));
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
}

.top-link {
    margin-bottom: 16px;
    opacity: 0.85;
}