:root {
  --navy: #101c35;
  --navy-2: #19294a;
  --cream: #fffaf0;
  --white: #ffffff;
  --red: #ef5b45;
  --yellow: #ffcf5a;
  --ink: #172039;
  --muted: #667085;
  --line: #dde2ea;
  --green: #1e8c68;
  --shadow: 0 22px 60px rgba(16, 28, 53, .14);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--cream);
  font-family: "Hiragino Sans", "Yu Gothic", "Noto Sans JP", system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.75;
}
button, select { font: inherit; }
button { cursor: pointer; }
a { color: inherit; }

.site-header {
  min-height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 5vw;
  color: var(--white);
  background: var(--navy);
}
.brand { color: inherit; text-decoration: none; display: flex; align-items: center; gap: 11px; font-weight: 800; }
.brand-mark { width: 39px; height: 39px; display: grid; place-items: center; border-radius: 50%; background: var(--yellow); color: var(--navy); }
.brand-mark svg { width: 32px; height: 32px; fill: none; stroke: currentColor; stroke-width: 2.1; stroke-linecap: round; stroke-linejoin: round; }
.brand-copy { display: grid; line-height: 1.05; }
.brand-copy strong { font-size: 1rem; letter-spacing: .03em; }
.brand-copy small { margin-top: 4px; color: #aeb9cd; font-size: .55rem; font-weight: 700; letter-spacing: .13em; }
.header-note { font-size: .875rem; color: #d6dceb; }
.site-nav { display: flex; align-items: center; gap: 24px; }
.site-nav a { color: #dce2ef; text-decoration: none; font-size: .88rem; font-weight: 800; }
.site-nav a:hover { color: white; }
.site-nav .nav-diagnosis { padding: 8px 15px; border-radius: 999px; background: var(--yellow); color: var(--navy); }

.media-hero { min-height: 610px; display: grid; grid-template-columns: 1fr 1fr; background: var(--navy); color: white; }
.media-hero-copy { align-self: center; padding: 72px clamp(28px, 7vw, 110px); }
.media-hero h1 { margin: 0; font-size: clamp(2.8rem, 6vw, 5.7rem); line-height: 1.05; letter-spacing: -.055em; }
.media-hero h1 span { color: var(--yellow); }
.media-hero-copy > p:not(.eyebrow) { max-width: 590px; margin: 26px 0; color: #dce2ef; font-size: 1.05rem; }
.media-hero-image { min-height: 610px; background: linear-gradient(90deg, var(--navy) 0%, transparent 22%), url("./assets/dinner-hero.png") center / cover no-repeat; }
.media-hero-actions { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.media-hero-actions .primary-btn { text-decoration: none; }
.instant-answer-section { display: flex; align-items: center; justify-content: space-between; gap: 32px; padding: 46px max(20px, 8vw); background: #fff4cf; border-top: 1px solid #f0dfa7; border-bottom: 1px solid #f0dfa7; }
.instant-answer-section h2 { margin: 5px 0 8px; font-size: clamp(1.8rem, 3.5vw, 3rem); }
.instant-answer-section p { margin: 0; max-width: 720px; }
.secondary-link { color: white; font-weight: 900; text-underline-offset: 5px; }
.media-section { padding: 86px max(20px, 8vw); }
.media-section-alt { background: #f4f6fa; }
.media-section h2, .diagnosis-feature h2 { margin: 0; font-size: clamp(2rem, 4vw, 3.5rem); line-height: 1.2; }
.concern-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 30px; }
.concern-card { min-height: 210px; padding: 25px; display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: 18px; background: white; text-decoration: none; box-shadow: 0 7px 25px rgba(16,28,53,.05); }
.concern-card:hover { border-color: var(--red); transform: translateY(-2px); }
.concern-card span { color: var(--red); font-size: .78rem; font-weight: 900; }
.concern-card h3 { margin: 18px 0 8px; font-size: 1.25rem; line-height: 1.45; }
.concern-card p { margin: auto 0 0; color: var(--muted); font-size: .9rem; }
.section-heading-row { display: flex; justify-content: space-between; align-items: end; gap: 20px; }
.choice-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin-top: 30px; }
.choice-feature { padding: clamp(26px, 4vw, 44px); border-radius: 22px; background: white; box-shadow: 0 9px 30px rgba(16,28,53,.06); }
.choice-feature h3 { margin: 10px 0 14px; font-size: clamp(1.35rem, 2.4vw, 2rem); line-height: 1.4; }
.choice-feature > p:not(.article-route) { color: var(--muted); }
.choice-feature > a { font-weight: 900; text-underline-offset: 4px; }
.diagnosis-feature { margin: 70px max(20px, 8vw); padding: clamp(30px, 6vw, 64px); display: grid; grid-template-columns: 1fr auto; gap: 36px; align-items: center; border-radius: 28px; background: radial-gradient(circle at 90% 0%, rgba(255,207,90,.35), transparent 34%), var(--navy); color: white; }
.diagnosis-feature p:not(.section-label) { max-width: 650px; color: #c9d1df; }
.diagnosis-feature .primary-btn { width: auto; min-width: 300px; text-decoration: none; }

.screen { display: none; }
.screen.active { display: block; }
.intro-screen.active {
  min-height: calc(100vh - 68px);
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  background: var(--navy);
  color: var(--white);
}
.hero-photo {
  min-height: 680px;
  background: linear-gradient(90deg, transparent 70%, var(--navy) 100%), url("./assets/dinner-hero.png") center / cover no-repeat;
}
.hero-panel { align-self: center; padding: 64px clamp(30px, 6vw, 96px) 64px clamp(28px, 4vw, 72px); max-width: 720px; }
.eyebrow, .section-label { margin: 0 0 12px; color: var(--red); font-size: .78rem; font-weight: 900; letter-spacing: .16em; }
.hero-panel h1 { margin: 0; font-size: clamp(2.55rem, 5vw, 5.4rem); line-height: 1.06; letter-spacing: -.05em; }
.hero-panel h1 span { color: var(--yellow); }
.lead { max-width: 550px; margin: 28px 0; color: #dce2ef; font-size: 1.08rem; }
.primary-btn {
  width: min(100%, 430px); border: 0; border-radius: 16px; padding: 18px 22px; display: flex; justify-content: space-between;
  color: var(--navy); background: var(--yellow); font-weight: 900; box-shadow: 0 10px 30px rgba(255, 207, 90, .18);
}
.primary-btn:hover { transform: translateY(-2px); }
.microcopy { font-size: .78rem; color: #9eabc1; }
.invite-banner { margin: 0 0 18px; padding: 13px 16px; border-left: 4px solid var(--red); background: rgba(255,255,255,.08); border-radius: 0 12px 12px 0; }
.invite-banner strong, .invite-banner span { display: block; }
.invite-banner span { font-size: .85rem; color: #dce2ef; }

.quiz-screen { min-height: calc(100vh - 68px); padding: 54px 18px 90px; background: linear-gradient(135deg, #fffaf0 0%, #f5f7fb 100%); }
.quiz-shell { width: min(100%, 740px); margin: 0 auto; }
.quiz-top { display: flex; justify-content: space-between; align-items: center; color: var(--muted); font-size: .9rem; }
.text-btn { border: 0; background: transparent; color: var(--navy); font-weight: 800; }
.progress-track { height: 8px; margin: 14px 0 48px; overflow: hidden; background: #e4e8ef; border-radius: 999px; }
#progress-bar { width: 10%; height: 100%; background: var(--red); border-radius: inherit; transition: width .3s ease; }
.question-tag { color: var(--red); font-size: .8rem; font-weight: 900; letter-spacing: .12em; }
.question-title { margin: 7px 0 12px; font-size: clamp(1.65rem, 4vw, 2.45rem); line-height: 1.35; letter-spacing: -.03em; }
.question-help { color: var(--muted); margin: 0 0 28px; }
.options { display: grid; gap: 12px; }
.option-btn {
  width: 100%; min-height: 64px; padding: 16px 18px; border: 1px solid var(--line); border-radius: 16px;
  display: flex; align-items: center; gap: 14px; text-align: left; color: var(--ink); background: var(--white); box-shadow: 0 4px 18px rgba(16,28,53,.04);
}
.option-btn:hover, .option-btn:focus-visible { border-color: var(--red); outline: 3px solid rgba(239,91,69,.14); transform: translateY(-1px); }
.option-key { flex: 0 0 34px; height: 34px; display: grid; place-items: center; border-radius: 10px; color: var(--red); background: #fff0ec; font-weight: 900; }
.select-stack { display: grid; gap: 16px; }
.field-label { display: grid; gap: 7px; font-weight: 800; }
.field-label small { font-weight: 500; color: var(--muted); }
.field-label select { width: 100%; min-height: 58px; border: 1px solid var(--line); border-radius: 14px; padding: 0 14px; background: white; color: var(--ink); }
.profile-next { margin-top: 24px; }

.result-screen { background: #f4f6fa; padding: 42px 18px 100px; }
.result-wrap { width: min(100%, 930px); margin: auto; }
.result-card {
  position: relative; overflow: hidden; padding: clamp(30px, 6vw, 66px); border-radius: 28px; color: white;
  background: radial-gradient(circle at 90% 0%, rgba(255,207,90,.42), transparent 32%), var(--navy); box-shadow: var(--shadow);
}
.result-card::after { content: ""; position: absolute; z-index: 0; width: 240px; height: 240px; right: -145px; bottom: -155px; border: 34px solid var(--red); border-radius: 50%; opacity: .5; }
.result-card > * { position: relative; z-index: 1; }
.result-overline { margin: 0; color: #bdc7d8; font-size: .84rem; font-weight: 800; }
.result-code { margin: 28px 0 6px; color: var(--yellow); font-size: 1.05rem; font-weight: 900; letter-spacing: .14em; }
.result-card h2 { max-width: 700px; margin: 0; font-size: clamp(2.15rem, 6vw, 4.8rem); line-height: 1.08; letter-spacing: -.05em; }
.result-catch { max-width: 590px; margin: 20px 0 28px; color: #f1f4fa; font-size: 1.05rem; line-height: 1.8; font-weight: 600; }
.score-row { width: min(100%, 390px); display: flex; justify-content: space-between; border-top: 1px solid #52617c; padding-top: 14px; }
.score-row strong { color: var(--yellow); font-size: 1.35rem; }
.result-body { display: grid; gap: 18px; margin-top: 20px; }
.insight-card, .action-card, .comparison-card, .share-section, .recommend-section { padding: clamp(24px, 5vw, 44px); border-radius: 22px; background: white; box-shadow: 0 9px 30px rgba(16,28,53,.06); }
.result-body h3 { margin: 0 0 14px; font-size: 1.45rem; }
.inline-link, .text-link { display: inline-block; margin-top: 12px; color: var(--navy); font-weight: 900; text-underline-offset: 4px; }
.action-card ul { margin: 0; padding-left: 1.25em; }
.action-card li + li { margin-top: 8px; }
.action-intro, .product-intro { margin: 0 0 18px; color: #3f4960; }
.ad-note { margin-bottom: 22px; padding: 10px 13px; background: #f5f6f8; color: var(--muted); border-radius: 10px; font-size: .78rem; }
.product-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.product-card { display: flex; flex-direction: column; min-height: 180px; padding: 20px; border: 1px solid var(--line); border-radius: 16px; text-decoration: none; }
.product-card:hover, .product-card:focus-visible { border-color: var(--red); outline: 3px solid rgba(239,91,69,.12); transform: translateY(-2px); }
.product-rank { color: var(--red); font-size: .75rem; font-weight: 900; }
.product-card h4 { margin: 10px 0 8px; font-size: 1.08rem; }
.product-card p { margin: 0 0 18px; color: var(--muted); font-size: .88rem; line-height: 1.6; }
.product-link { margin-top: auto; color: var(--navy); font-size: .86rem; font-weight: 900; }
.comparison-card { border: 2px solid var(--yellow); }
.share-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 9px; }
.share-btn { min-height: 50px; border: 1px solid var(--line); border-radius: 12px; background: white; color: var(--navy); font-weight: 900; }
.share-btn.accent { border-color: var(--navy); background: var(--navy); color: white; }
.family-btn { width: 100%; margin-top: 12px; padding: 16px; display: flex; justify-content: space-between; border: 0; border-radius: 12px; background: var(--yellow); color: var(--navy); font-weight: 900; }
.share-feedback { min-height: 1.5em; margin: 8px 0 0; color: var(--green); font-size: .85rem; }
.retry-btn { justify-self: center; border: 0; background: transparent; color: var(--navy); text-decoration: underline; }

.about-section { padding: 90px max(20px, 8vw); background: var(--navy); color: white; }
.about-section h2 { max-width: 730px; margin: 0 0 18px; font-size: clamp(2rem, 5vw, 4rem); line-height: 1.2; }
.about-section p:last-child { max-width: 680px; color: #c9d1df; }
.home-articles { padding: 82px max(20px, 8vw); background: #f4f6fa; }
.home-articles h2 { margin: 0; font-size: clamp(2rem, 4vw, 3.35rem); line-height: 1.25; }
.section-intro { max-width: 720px; color: var(--muted); }
.article-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 28px; }
.article-tile { min-height: 150px; padding: 24px; display: flex; flex-direction: column; justify-content: space-between; border: 1px solid var(--line); border-radius: 18px; background: white; text-decoration: none; box-shadow: 0 7px 25px rgba(16,28,53,.05); }
.article-tile:hover { border-color: var(--red); transform: translateY(-2px); }
.article-tile span { color: var(--red); font-size: .78rem; font-weight: 900; letter-spacing: .08em; }
.article-tile strong { font-size: 1.08rem; line-height: 1.5; }
footer { padding: 45px max(20px, 8vw); background: #0a1326; color: #b7c0d1; }
footer details { max-width: 850px; padding: 13px 0; border-bottom: 1px solid #2d3951; }
footer summary { color: white; cursor: pointer; font-weight: 800; }
footer details p { font-size: .86rem; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 28px; }
.footer-nav a { color: white; font-size: .85rem; text-underline-offset: 4px; }
.copyright { margin-top: 34px; font-size: .76rem; }

.content-main { background: #f4f6fa; min-height: 70vh; padding: 56px 18px 90px; }
.content-wrap { width: min(100%, 900px); margin: auto; }
.breadcrumbs { margin: 0 0 24px; color: var(--muted); font-size: .82rem; }
.breadcrumbs a { text-underline-offset: 3px; }
.article-hero, .content-card { padding: clamp(26px, 6vw, 58px); border-radius: 24px; background: white; box-shadow: 0 9px 30px rgba(16,28,53,.06); }
.article-hero { margin-bottom: 18px; }
.article-hero h1 { margin: 0; font-size: clamp(2rem, 5vw, 3.55rem); line-height: 1.25; letter-spacing: -.04em; }
.article-hero .lead-copy { margin: 20px 0 0; color: var(--muted); font-size: 1.05rem; }
.content-card + .content-card { margin-top: 18px; }
.content-card h2 { margin: 0 0 16px; font-size: clamp(1.45rem, 3vw, 2rem); line-height: 1.4; }
.content-card h3 { margin: 28px 0 10px; font-size: 1.18rem; }
.content-card p { margin: 0 0 18px; }
.content-card p:last-child { margin-bottom: 0; }
.content-card ul { padding-left: 1.25em; }
.content-card li + li { margin-top: 8px; }
.callout { border-left: 5px solid var(--yellow); }
.article-cta { padding: 30px; border-radius: 20px; background: var(--navy); color: white; }
.article-cta h2 { margin: 0 0 10px; }
.article-cta p { color: #c9d1df; }
.article-cta .primary-btn { margin-top: 16px; text-decoration: none; }
.article-meta { margin-top: 22px; color: var(--muted); font-size: .8rem; }
.policy-note { padding: 16px 18px; border-radius: 14px; background: #fff7df; }
.article-route { display: inline-flex; align-items: center; margin: 0 0 14px; padding: 6px 11px; border-radius: 999px; background: #fff0ec; color: var(--red); font-size: .78rem; font-weight: 900; }
.quick-cta { display: grid; grid-template-columns: 1fr auto; gap: 22px; align-items: center; margin-bottom: 18px; padding: clamp(22px, 4vw, 32px); border-radius: 20px; background: var(--navy); color: white; }
.quick-cta h2 { margin: 0 0 7px; font-size: 1.35rem; }
.quick-cta p { margin: 0; color: #c9d1df; }
.quick-cta .primary-btn { width: auto; min-width: 220px; text-decoration: none; }
.check-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; padding: 0; list-style: none; }
.check-list li { position: relative; margin: 0; padding: 14px 15px 14px 43px; border-radius: 13px; background: #f5f7fb; }
.check-list li::before { content: "✓"; position: absolute; left: 15px; color: var(--green); font-weight: 900; }
.comparison-table-wrap { overflow-x: auto; margin: 18px 0; }
.comparison-table { width: 100%; min-width: 620px; border-collapse: collapse; font-size: .92rem; }
.comparison-table th, .comparison-table td { padding: 13px 14px; border: 1px solid var(--line); text-align: left; vertical-align: top; }
.comparison-table th { background: var(--navy); color: white; }
.comparison-table tr:nth-child(even) td { background: #f7f8fb; }
.faq-list details { padding: 16px 0; border-bottom: 1px solid var(--line); }
.faq-list details:first-child { border-top: 1px solid var(--line); }
.faq-list summary { cursor: pointer; font-weight: 900; }
.faq-list details p { margin: 10px 0 0; color: #3f4960; }
.related-links { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.related-links a { padding: 16px; border: 1px solid var(--line); border-radius: 14px; text-decoration: none; font-weight: 800; }
.related-links a:hover { border-color: var(--red); }
.flow-guide { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin-bottom: 18px; }
.flow-guide article { padding: clamp(22px, 4vw, 34px); border-radius: 20px; background: white; box-shadow: 0 9px 30px rgba(16,28,53,.06); }
.flow-guide h2 { margin: 0 0 10px; font-size: 1.35rem; }
.flow-guide p { color: var(--muted); }
.flow-guide a { font-weight: 900; text-underline-offset: 4px; }
.index-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.index-card { padding: 25px; border: 1px solid var(--line); border-radius: 17px; background: white; text-decoration: none; }
.index-card:hover { border-color: var(--red); }
.index-card span { color: var(--red); font-size: .78rem; font-weight: 900; }
.index-card h2 { margin: 8px 0; font-size: 1.25rem; }
.index-card p { margin: 0; color: var(--muted); font-size: .9rem; }

.pathway-section { padding: 82px max(20px, 8vw); background: var(--white); }
.quick-answer { margin: 0 0 34px; padding: 28px; border-radius: 18px; background: #fff8df; border: 1px solid #f0dda0; }
.quick-answer h2 { margin-top: 4px; }
.decision-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin: 20px 0 34px; }
.decision-grid a { display: flex; flex-direction: column; gap: 5px; padding: 20px; border: 1px solid var(--line); border-radius: 14px; background: white; color: var(--navy); text-decoration: none; }
.decision-grid a:hover { border-color: var(--yellow); transform: translateY(-1px); }
.decision-grid span { color: var(--muted); font-size: .92rem; }
.source-note { margin-top: 40px; padding: 24px; border-radius: 16px; background: #f4f6f9; }
.source-note h2 { margin-top: 0; font-size: 1.25rem; }
.source-note li + li { margin-top: 8px; }
.pathway-section h2, .solution-section h2, .trust-section h2 { margin: 0; font-size: clamp(2rem, 4vw, 3.35rem); line-height: 1.25; }
.pathway-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 28px; counter-reset: pathway; }
.pathway-card { position: relative; min-height: 190px; padding: 24px; border: 1px solid var(--line); border-radius: 18px; background: #f7f8fb; }
.pathway-card::before { counter-increment: pathway; content: "0" counter(pathway); display: block; margin-bottom: 24px; color: var(--red); font-size: .82rem; font-weight: 900; letter-spacing: .12em; }
.pathway-card:not(:last-child)::after { content: "→"; position: absolute; z-index: 2; top: 50%; right: -19px; width: 28px; height: 28px; display: grid; place-items: center; border-radius: 50%; color: white; background: var(--navy); font-weight: 900; }
.pathway-card h3 { margin: 0 0 8px; font-size: 1.08rem; }
.pathway-card p { margin: 0; color: var(--muted); font-size: .9rem; }
.solution-section { padding: 82px max(20px, 8vw); background: #f4f6fa; }
.solution-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; margin-top: 28px; }
.solution-card { min-height: 210px; padding: 22px; display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: 18px; background: white; text-decoration: none; }
.solution-card:hover { border-color: var(--red); transform: translateY(-2px); }
.solution-card .solution-icon { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 13px; background: #fff0ec; font-size: 1.25rem; }
.solution-card h3 { margin: 18px 0 8px; font-size: 1.05rem; }
.solution-card p { margin: 0 0 18px; color: var(--muted); font-size: .86rem; }
.solution-card strong { margin-top: auto; font-size: .84rem; }
.trust-section { padding: 74px max(20px, 8vw); display: grid; grid-template-columns: 1fr 1fr; gap: clamp(26px, 7vw, 90px); background: var(--navy); color: white; }
.trust-section p { color: #c9d1df; }
.trust-list { display: grid; gap: 10px; align-content: start; }
.trust-list p { margin: 0; padding: 15px 17px; border: 1px solid #394660; border-radius: 13px; color: white; }
.types-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 20px; }
.type-card { display:block; padding:20px; border:1px solid var(--line); border-radius:16px; background:white; color:inherit; text-decoration:none; transition:transform .18s ease, box-shadow .18s ease, border-color .18s ease; }
.type-card:hover { transform:translateY(-2px); border-color:#bdc7d8; box-shadow:0 10px 24px rgba(16,28,53,.08); }
.type-card code { color: var(--red); font-family: inherit; font-size: .78rem; font-weight: 900; }
.type-card h2 { margin: 8px 0 6px; font-size: 1.05rem; }
.type-card p { margin: 0; color: var(--muted); font-size: .83rem; }
.type-card span { display:inline-block; margin-top:14px; color:var(--navy); font-size:.78rem; font-weight:800; }
.type-detail { max-width:980px; }
.type-detail-hero { padding:clamp(28px,6vw,64px); margin-bottom:24px; color:white; border-radius:28px; background:linear-gradient(135deg,#101c35,#243a64); box-shadow:0 20px 50px rgba(16,28,53,.16); }
.type-detail-hero .section-label { color:#ffcf5a; }
.type-detail-hero h1 { margin:10px 0 14px; font-size:clamp(2rem,6vw,4rem); line-height:1.12; }
.type-detail-hero .lead-copy { color:#eef2f8; max-width:720px; }
.type-mode-label { margin:0; color:#bdc7d8; font-weight:800; }
.answer-first { border-left:6px solid #ffcf5a; }
.answer-first h2 { margin-top:0; }
.type-scene-list, .type-action-list { display:grid; gap:12px; padding-left:1.4em; }
.type-action-list { list-style:none; padding-left:0; }
.type-action-list li { padding:16px 18px; border-radius:14px; background:#f4f6fa; line-height:1.75; }
.type-action-list strong { color:var(--red); margin-right:6px; }
.type-choice-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:14px; margin-top:22px; }
.type-choice { display:flex; flex-direction:column; gap:8px; min-height:180px; padding:20px; color:inherit; text-decoration:none; border:1px solid var(--line); border-radius:16px; background:#fff; }
.type-choice:hover { border-color:#bdc7d8; box-shadow:0 10px 24px rgba(16,28,53,.08); }
.type-choice strong { font-size:1.05rem; }
.type-choice span { color:var(--muted); line-height:1.7; }
.type-choice small { margin-top:auto; color:var(--navy); font-weight:800; }
.type-method-note { background:#f4f6fa; }
.article-disclosure { margin: 0 0 18px; padding: 13px 16px; border-radius: 12px; background: #fff7df; color: #58491a; font-size: .83rem; }
.decision-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.decision-box { padding: 18px; border-radius: 14px; background: #f5f7fb; }
.decision-box strong { display: block; margin-bottom: 6px; }

@media (max-width: 800px) {
  .site-header { min-height: 60px; padding: 0 18px; }
  .header-note { display: none; }
  .site-nav a:not(.nav-diagnosis) { display: none; }
  .site-nav { gap: 0; }
  .media-hero { min-height: auto; grid-template-columns: 1fr; }
  .media-hero-copy { padding: 52px 22px 42px; }
  .media-hero-image { min-height: 260px; background-image: linear-gradient(0deg, var(--navy) 0%, transparent 42%), url("./assets/dinner-hero.png"); }
  .media-hero-actions { align-items: stretch; flex-direction: column; }
  .media-hero-actions .primary-btn { width: 100%; }
  .instant-answer-section { align-items: stretch; flex-direction: column; padding: 34px 22px; }
  .instant-answer-section .primary-btn { width: 100%; }
  .decision-grid { grid-template-columns: 1fr; }
  .concern-grid, .choice-grid { grid-template-columns: 1fr; }
  .concern-card { min-height: 170px; }
  .section-heading-row { align-items: start; flex-direction: column; }
  .diagnosis-feature { margin: 36px 18px; grid-template-columns: 1fr; }
  .diagnosis-feature .primary-btn { width: 100%; min-width: 0; }
  .intro-screen.active { min-height: auto; grid-template-columns: 1fr; }
  .hero-photo { min-height: 270px; background-image: linear-gradient(0deg, var(--navy) 0%, transparent 40%), url("./assets/dinner-hero.png"); }
  .hero-panel { padding: 22px 22px 56px; }
  .hero-panel h1 { font-size: clamp(2.35rem, 11vw, 3.6rem); }
  .lead { margin: 20px 0; }
  .quiz-screen { min-height: calc(100vh - 60px); padding-top: 32px; }
  .progress-track { margin-bottom: 34px; }
  .product-grid { grid-template-columns: 1fr; }
  .article-grid, .index-grid { grid-template-columns: 1fr; }
  .quick-cta { grid-template-columns: 1fr; }
  .quick-cta .primary-btn { width: 100%; min-width: 0; }
  .check-list, .related-links, .flow-guide { grid-template-columns: 1fr; }
  .pathway-grid, .solution-grid, .types-grid, .decision-grid, .type-choice-grid { grid-template-columns: 1fr; }
  .pathway-card { min-height: auto; }
  .pathway-card:not(:last-child)::after { content: "↓"; top: auto; bottom: -20px; right: 22px; }
  .trust-section { grid-template-columns: 1fr; }
  .share-grid { grid-template-columns: repeat(2, 1fr); }
  .about-section { padding-top: 68px; padding-bottom: 68px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}

/* A continuous result story, followed by concrete service choices. */
.result-reading { display:block; background:#fff; border-radius:24px; padding:clamp(24px,5vw,56px); }
.result-reading > .insight-card, .result-reading > .action-card, .result-reading > .recommend-section { padding:0; border-radius:0; box-shadow:none; background:transparent; max-width:800px; margin:0 auto; }
.result-reading > .action-card, .result-reading > .recommend-section { margin-top:48px; }
.result-reading p { line-height:1.95; }
.result-reading .reading-subheading { margin-top:32px; }
.result-reading #result-article-link { font-size:.9rem; }
.service-feature { margin:28px 0 32px; border:1px solid var(--line); border-radius:18px; overflow:hidden; }
.service-feature[hidden] { display:none; }
.service-image { margin:0; position:relative; }
.service-image > img { display:block; width:100%; height:auto; max-height:320px; object-fit:cover; }
.service-image figcaption { padding:8px 16px; color:var(--muted); font-size:.75rem; }
.service-copy { padding:clamp(20px,4vw,32px); }
.service-copy h4 { margin:10px 0 14px; font-size:clamp(1.3rem,3vw,1.65rem); line-height:1.6; }
.service-cta a { display:flex; justify-content:center; align-items:center; text-align:center; padding:16px 20px; min-height:56px; background:var(--red); color:#fff; border-radius:10px; font-weight:900; text-decoration:none; }
.service-cta a:hover, .service-cta a:focus-visible { background:var(--navy); outline:3px solid var(--yellow); }
.service-copy .service-next { text-align:center; font-size:.9rem; margin:8px 0 16px; }
.service-copy .service-conditions { font-size:.85rem; color:var(--muted); margin-bottom:0; }
.result-reading .product-card { min-height:160px; }
.result-reading > .comparison-card, .result-reading > .share-section { margin-top:40px; box-shadow:none; }

.kirari-service { border-top:1px solid var(--line, #e4ddd5); margin-top:12px; }
.kirari-banner { display:flex; justify-content:center; padding:0 16px; }
.kirari-banner a { display:block; max-width:100%; }
.kirari-banner a img { display:block; max-width:100%; height:auto; }
.kirari-banner > img { width:1px; height:1px; }
.delipicks-service:not(:first-child) { border-top:1px solid var(--line, #e4ddd5); margin-top:12px; }
.delipicks-banner { display:flex; justify-content:center; padding:0 16px; }
.delipicks-banner a { display:block; max-width:100%; }
.delipicks-banner a img { display:block; max-width:100%; height:auto; }
.delipicks-banner > img { width:1px; height:1px; }

.watami-service:not(:first-child) { border-top:1px solid var(--line, #e4ddd5); margin-top:12px; }
.watami-banner { display:flex; justify-content:center; padding:0 16px; }
.watami-banner a { display:block; max-width:100%; }
.watami-banner a img { display:block; max-width:100%; height:auto; }
.watami-banner a:focus-visible { outline:3px solid var(--red); outline-offset:4px; }
.watami-banner > img { width:1px; height:1px; }

.yoshikei-banner { padding:0 clamp(16px,3vw,32px); }
.yoshikei-banner a { display:block; width:100%; border-radius:10px; overflow:hidden; }
.yoshikei-banner a img { display:block; width:100%; height:auto; }
.yoshikei-banner a:focus-visible { outline:3px solid var(--red); outline-offset:4px; }
.yoshikei-banner > img { display:block; width:1px; height:1px; }

.foodable-service:not(:first-child) { border-top:1px solid var(--line, #e4ddd5); margin-top:12px; }
.foodable-banner { display:flex; justify-content:center; padding:0 16px; }
.foodable-banner a { display:block; max-width:100%; }
.foodable-banner a img { display:block; max-width:100%; height:auto; }
.foodable-banner a:focus-visible { outline:3px solid var(--red); outline-offset:4px; }
.foodable-banner > img { width:1px; height:1px; }

.muk-rangemate-service:not(:first-child) { border-top:1px solid var(--line, #e4ddd5); margin-top:12px; }
.muk-rangemate-banner { display:flex; justify-content:center; padding:0 16px; }
.muk-rangemate-banner a { display:block; max-width:100%; }
.muk-rangemate-banner a img { display:block; max-width:100%; height:auto; }
.muk-rangemate-banner a:focus-visible { outline:3px solid var(--red); outline-offset:4px; }
.muk-rangemate-banner > img { width:1px; height:1px; }

.rangemate-service[hidden] { display:none; }
#affiliate-content:not([hidden]) + .rangemate-service { border-top:1px solid var(--line, #e4ddd5); }
.rangemate-banner { padding:0 20px; text-align:center; }
.rangemate-banner .a8ad { display:block; min-height:200px; }
.rangemate-banner a { display:block; width:100%; max-width:360px; margin:0 auto; border-radius:12px; }
.rangemate-banner a img { display:block; width:100%; height:auto; }
.rangemate-banner a:focus-visible { outline:3px solid var(--red); outline-offset:4px; }
.rangemate-banner .a8ad > img { width:1px; height:1px; }

.dinner-reading { max-width:860px; }
.site-ad-slot { text-align:center; margin:24px auto; width:min(300px,100%); }
.site-ad-slot[hidden] { display:none; }
.site-ad-slot iframe { display:block; max-width:100%; border:0; }
@media (min-width:1240px) {
  .site-ad-columns { display:grid; grid-template-columns:minmax(0,860px) 300px; gap:32px; justify-content:center; align-items:start; }
  .site-ad-columns > .content-wrap { margin:0; }
  .site-ad-columns > .site-ad-slot { margin:44px 0 0; }
}
.dinner-ad-rail { display:none; }
@media (min-width:1240px) {
  .dinner-with-rail { max-width:1192px; margin:auto; display:grid; grid-template-columns:minmax(0,860px) 300px; gap:32px; align-items:start; }
  .dinner-ad-rail { display:block; text-align:center; margin-top:44px; }
  .dinner-ad-rail iframe { display:block; border:0; }
  .dinner-ad-rail-lower { margin-top:clamp(48px,14vh,150px); }
}
.dinner-reading h2 { margin-top:2.5em; }
.dinner-reading h3 { margin-top:1.8em; }
.dinner-reading p { line-height:1.95; }

/* Search- and answer-friendly editorial clusters. */
.growth-article .article-hero h1 { max-width:760px; }
.growth-article .quick-answer { margin-bottom:28px; padding:22px 24px; border-left:5px solid var(--yellow); border-radius:12px; background:#fff9e8; }
.growth-article .quick-answer h2 { margin:.2em 0 .55em; }
.growth-article .quick-answer p:last-child { margin-bottom:0; }
.growth-article .faq-list { margin-top:42px; }
.growth-article .faq-list details { border-top:1px solid var(--line); padding:16px 0; }
.growth-article .faq-list details:last-child { border-bottom:1px solid var(--line); }
.growth-article .faq-list summary { color:var(--navy); font-weight:900; cursor:pointer; }
.growth-article .faq-list details p { margin:12px 0 0; }
.growth-articles-block { width:min(1180px,calc(100% - 32px)); margin:48px auto; }
.growth-articles-heading { margin-bottom:22px; }
.growth-articles-heading h2 { margin:4px 0 10px; color:var(--navy); font-size:clamp(1.65rem,4vw,2.35rem); }
.growth-articles-heading > p:last-child { color:var(--muted); }
.growth-index-card { min-height:250px; }

/* Shared reading layout and editorial covers. */
.dinner-reading .article-hero h1 { font-size:clamp(1.75rem,4.4vw,2.7rem); line-height:1.5; }
.article-cover { margin:0 0 22px; border-radius:20px; overflow:hidden; background:var(--cream); }
.article-cover img { display:block; width:100%; height:auto; }
.dinner-reading .article-intro { font-size:1.05rem; }
.article-toc { margin:28px 0 36px; padding:20px 24px; border:1px solid var(--line); border-radius:14px; }
.article-toc p { margin:0 0 10px; font-weight:800; }
.article-toc ol { margin:0; padding-left:1.4em; }
.article-toc li + li { margin-top:8px; }
.article-toc a { color:var(--navy); text-underline-offset:4px; }
.dinner-reading section h2 { scroll-margin-top:24px; }
.article-example { margin:22px 0; padding:18px 22px; border-left:4px solid var(--yellow); background:var(--cream); line-height:1.95; }
.reading-cta { margin-top:40px; }
.dinner-reading .reading-cta h2 { margin-top:0; font-size:clamp(1.3rem,3vw,1.7rem); }
.reading-cta .primary-btn { min-width:0; max-width:100%; white-space:normal; text-align:center; }
.dinner-roulette { margin:0 0 46px; padding:clamp(22px,4vw,38px); border:1px solid #d9e0ec; border-radius:24px; background:linear-gradient(145deg,#f8fbff 0%,#fff9e7 100%); box-shadow:0 18px 42px rgba(16,28,53,.09); }
.roulette-heading { text-align:center; }
.dinner-reading .roulette-heading h2 { margin:4px 0 10px; font-size:clamp(1.45rem,3.5vw,2.15rem); }
.roulette-heading > p:last-child { margin-bottom:24px; color:var(--muted); }
.roulette-kicker { margin:0; color:var(--red); font-size:.76rem; font-weight:900; letter-spacing:.16em; }
.roulette-controls { display:grid; grid-template-columns:repeat(3,1fr); gap:12px; }
.roulette-controls label { display:grid; gap:7px; color:var(--navy); font-size:.84rem; font-weight:900; }
.roulette-controls select { width:100%; min-height:48px; padding:10px 38px 10px 12px; border:1px solid #cbd4e2; border-radius:12px; color:var(--ink); background:white; }
.roulette-controls select:focus-visible { outline:3px solid rgba(239,91,69,.28); border-color:var(--red); }
.roulette-machine { box-sizing:border-box; height:210px; min-height:210px; margin:20px 0 14px; padding:22px 24px; display:grid; grid-template-rows:20px 100px 20px; place-items:center; align-content:center; gap:3px; border-radius:20px; color:white; background:radial-gradient(circle at 85% 0%,rgba(255,207,90,.34),transparent 35%),var(--navy); text-align:center; overflow:hidden; }
.roulette-machine-label { color:#bdc8dc; font-size:.8rem; font-weight:800; }
.roulette-machine strong { width:100%; height:100px; display:flex; align-items:center; justify-content:center; overflow:hidden; color:var(--yellow); font-size:clamp(1.8rem,5.5vw,3.2rem); line-height:1.14; letter-spacing:-.04em; overflow-wrap:anywhere; }
.roulette-machine #roulette-status { color:#dce2ef; font-size:.82rem; }
.roulette-spin { width:100%; min-height:58px; border:0; border-radius:14px; color:var(--navy); background:var(--yellow); font-weight:950; box-shadow:0 8px 20px rgba(255,207,90,.34); transition:transform .18s ease,filter .18s ease; }
.roulette-spin:hover { transform:translateY(-2px); filter:saturate(1.08); }
.roulette-spin:disabled { cursor:wait; opacity:.72; transform:none; }
.roulette-result { margin-top:18px; padding:clamp(20px,4vw,30px); border:2px solid var(--yellow); border-radius:18px; background:white; }
.roulette-result-label { margin:0!important; color:var(--red); font-size:.78rem; font-weight:950; letter-spacing:.09em; }
.dinner-reading .roulette-result h3 { margin:6px 0 9px; color:var(--navy); font-size:clamp(1.7rem,5vw,2.6rem); line-height:1.3; }
.roulette-result-meta { display:flex; flex-wrap:wrap; gap:7px; margin-bottom:16px; }
.roulette-result-meta span { padding:5px 10px; border-radius:999px; color:var(--navy); background:#edf2f8; font-size:.75rem; font-weight:850; }
.roulette-result-grid { display:grid; grid-template-columns:.85fr 1.15fr; gap:14px; margin:18px 0; }
.roulette-result-grid > div { padding:16px; border-radius:13px; background:var(--cream); }
.roulette-result-grid h4 { margin:0 0 7px; color:var(--navy); font-size:.9rem; }
.roulette-result-grid p,.roulette-result-grid ol { margin:0; font-size:.9rem; line-height:1.7; }
.roulette-result-grid ol { padding-left:1.3em; }
.roulette-fallback { padding:12px 14px; border-left:4px solid var(--yellow); background:#fff9e5; font-size:.88rem; }
.roulette-actions { display:flex; align-items:center; flex-wrap:wrap; gap:10px; }
.secondary-btn { min-height:42px; padding:9px 15px; border:1px solid #cbd4e2; border-radius:10px; color:var(--navy); background:white; font-weight:850; }
.secondary-btn:hover { border-color:var(--red); }
.roulette-actions .text-link { margin:0 0 0 auto; }
.roulette-note { margin:14px 0 0!important; color:var(--muted); font-size:.72rem; line-height:1.6!important; }
.display-ad { width:100%; margin:32px auto 8px; text-align:center; }
.display-ad--article-end { max-width:100%; }
.display-ad--roulette { min-height:290px; margin:0 auto 34px; padding:16px 0 0; display:flex; flex-direction:column; align-items:center; justify-content:flex-start; border-bottom:1px solid var(--line); }
.display-ad--roulette[hidden] { display:none; }
.display-ad--roulette iframe { max-width:100%; border:0; }
.display-ad-label { margin:0 0 8px; color:#7a7a7a; font-size:.72rem; letter-spacing:.08em; }
.affiliate-offer { margin-top:28px; padding:24px; border:1px solid #eadfce; border-radius:18px; background:#fffaf3; text-align:center; }
.affiliate-offer h2 { margin:8px 0 10px; }
.affiliate-offer p:not(.display-ad-label) { max-width:680px; margin:0 auto 18px; text-align:left; }
.affiliate-offer > a { display:inline-block; line-height:0; }
.affiliate-offer > a img { max-width:100%; height:auto; border-radius:10px; }
.affiliate-choice-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:18px; margin-top:18px; }
.affiliate-choice-grid .affiliate-offer { margin:0; }
.affiliate-choice-grid .affiliate-offer h2 { font-size:1.2rem; }
.affiliate-choice-grid .affiliate-offer p { font-size:.96rem; }
.affiliate-choice-grid--three { grid-template-columns:repeat(3,minmax(0,1fr)); }
.affiliate-offer .service-cta { margin:18px auto 0; text-align:center; }
.affiliate-offer .service-cta a { display:inline-flex; align-items:center; justify-content:center; min-height:48px; padding:12px 18px; border-radius:999px; background:#8d4d2d; color:#fff; font-weight:700; line-height:1.4; text-decoration:none; }
@media(max-width:760px) { .affiliate-choice-grid { grid-template-columns:1fr; } }
.topic-hub-callout { margin:16px 0 30px; padding:16px 18px; display:flex; align-items:center; justify-content:space-between; gap:16px; border:1px solid #d9e0ec; border-radius:14px; color:var(--navy); background:#f8fbff; text-decoration:none; }
.topic-hub-callout span { color:var(--muted); font-size:.8rem; font-weight:800; }
.topic-hub-callout strong { text-align:right; }
.topic-hubs-block { width:min(1180px,calc(100% - 32px)); margin:28px auto 52px; }
.topic-hub-index-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:18px; }
.topic-hub-index-card { min-height:220px; padding:26px; display:flex; flex-direction:column; border:1px solid #d9e0ec; border-radius:18px; color:var(--ink); background:linear-gradient(145deg,#ffffff 0%,#f8fbff 100%); text-decoration:none; box-shadow:0 12px 30px rgba(16,28,53,.07); }
.topic-hub-index-card > span { color:var(--red); font-size:.72rem; font-weight:900; letter-spacing:.12em; }
.topic-hub-index-card h2 { margin:8px 0 10px; color:var(--navy); font-size:1.35rem; }
.topic-hub-index-card p { margin:0 0 18px; color:var(--muted); }
.topic-hub-index-card strong { margin-top:auto; color:var(--navy); }
.topic-hub-page .quick-answer { margin-bottom:34px; }
.hub-section { margin:54px 0; }
.hub-section > h2 { margin:5px 0 10px; color:var(--navy); }
.hub-section > p:not(.section-label) { color:var(--muted); }
.hub-route-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:14px; margin-top:20px; }
.hub-route-card { min-height:190px; padding:22px; display:flex; flex-direction:column; border:1px solid #eadfce; border-radius:16px; color:var(--ink); background:var(--cream); text-decoration:none; }
.hub-route-card h2 { margin:0 0 9px; color:var(--navy); font-size:1.08rem; }
.hub-route-card p { margin:0 0 16px; font-size:.9rem; }
.hub-route-card span { margin-top:auto; color:var(--red); font-weight:900; }
.hub-article-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:14px; margin-top:22px; }
.hub-article-card { padding:22px; border:1px solid var(--line); border-radius:16px; color:var(--ink); background:white; text-decoration:none; }
.hub-article-card > span { color:var(--red); font-size:.7rem; font-weight:900; letter-spacing:.1em; }
.hub-article-card h2 { margin:7px 0 8px; color:var(--navy); font-size:1.08rem; }
.hub-article-card p { margin:0; color:var(--muted); font-size:.9rem; }
.other-topic-hubs { margin:34px 0; padding:22px; border:1px solid var(--line); border-radius:16px; }
.other-topic-hubs h2 { margin:0 0 14px; font-size:1.08rem; }
.other-topic-hubs div { display:flex; flex-wrap:wrap; gap:10px 18px; }
.other-topic-hubs a { color:var(--navy); font-weight:800; }
.index-card.has-cover, .concern-card.has-cover { padding:0; overflow:hidden; display:flex; flex-direction:column; }
.article-card-image { display:block; width:100%; height:auto; aspect-ratio:1734/907; object-fit:cover; }
.index-card-copy { padding:24px; }
.concern-card-copy { padding:22px; flex:1; display:flex; flex-direction:column; }
.concern-card-copy p { margin-top:auto; }
@media (max-width:600px) {
  .dinner-roulette { margin-left:-10px; margin-right:-10px; padding:20px 16px; border-radius:18px; }
  .roulette-controls { grid-template-columns:1fr; }
  .roulette-machine { height:185px; min-height:185px; padding:18px 14px; grid-template-rows:18px 82px 20px; }
  .roulette-machine strong { height:82px; font-size:clamp(1.55rem,8vw,2.35rem); }
  .roulette-result-grid { grid-template-columns:1fr; }
  .roulette-actions { align-items:stretch; }
  .roulette-actions .secondary-btn { flex:1; }
  .roulette-actions .text-link { width:100%; margin:4px 0 0; text-align:center; }
  .article-toc { padding:18px; }
  .index-card-copy, .concern-card-copy { padding:20px; }
  .article-example { margin-left:0; margin-right:0; padding:16px; }
  .dinner-reading .reading-cta { padding:24px 20px; }
  .topic-hub-index-grid, .hub-route-grid, .hub-article-grid { grid-template-columns:1fr; }
  .topic-hub-index-card { min-height:0; padding:22px; }
  .topic-hub-callout { align-items:flex-start; flex-direction:column; }
  .topic-hub-callout strong { text-align:left; }
}
