/*
Theme Name: 厨房計画
Theme URI: https://chubokeikaku.com/
Author: 株式会社Construct
Description: 弁当屋が作ったテイクアウト管理システム「厨房計画」の公式サイト用テーマ。TOPのランディング、マガジン（使い方／売上アップのヒント）、記事ページ（動画枠つき）を備えます。管理画面の「外観 → 厨房計画 初期設定」から初期コンテンツを読み込めます。
Version: 1.0.9
Requires at least: 6.4
Requires PHP: 8.0
Text Domain: chubokeikaku
License: Proprietary
*/

/* ---------- tokens ---------- */
:root {
  --red: #c1132e;
  --red-dark: #8f0d22;
  --red-tint: #fbe9ec;
  --cream: #efe6d2;
  --paper: #faf6ee;
  --ink: #1d1d1f;
  --ink-2: #4a4542;
  --line: #e3dccd;
  --green: #126b4c;
  --blue: #0067d9;
  --radius: 18px;
  --shadow: 0 1px 0 rgba(29, 29, 31, .06), 0 12px 32px -18px rgba(29, 29, 31, .35);
  --font: "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Noto Sans JP", "Noto Sans CJK JP", "Yu Gothic", "Meiryo", system-ui, sans-serif;
  --mono: ui-monospace, "SFMono-Regular", Menlo, monospace;
  --wrap: 1120px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.85;
  font-size: 16px;
  font-feature-settings: "palt" 1;
  overflow-wrap: anywhere;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--red); }
a:hover { color: var(--red-dark); }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; border-radius: 4px; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link:focus { position: fixed; top: 8px; left: 8px; z-index: 100; width: auto; height: auto; clip: auto; background: #fff; padding: 8px 14px; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.wrap--narrow { max-width: 760px; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  min-height: 52px; padding: 0 26px; border-radius: 999px;
  font-weight: 700; text-decoration: none; letter-spacing: .02em;
  border: 2px solid transparent; transition: transform .15s ease, background .15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn--primary { background: var(--red); color: #fff; }
.btn--primary:hover { background: var(--red-dark); color: #fff; }
.btn--ghost { background: #fff; color: var(--ink); border-color: var(--ink); }
.btn--ghost:hover { color: var(--ink); background: var(--cream); }
.btn--small { min-height: 40px; padding: 0 18px; font-size: 14px; }
.btn .arrow { font-family: var(--mono); }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(250, 246, 238, .92);
  backdrop-filter: saturate(1.2) blur(8px);
  border-bottom: 1px solid var(--line);
}
.site-header__inner { display: flex; align-items: center; gap: 20px; min-height: 68px; }
.site-logo { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.site-logo svg { height: 34px; width: auto; }
.site-logo__tag { font-size: 11px; color: var(--ink-2); line-height: 1.3; border-left: 1px solid var(--line); padding-left: 10px; }
.site-nav { margin-left: auto; }
.site-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 22px; align-items: center; }
.site-nav a { color: var(--ink); text-decoration: none; font-size: 14px; font-weight: 600; }
.site-nav a:hover { color: var(--red); }
.nav-toggle { display: none; margin-left: auto; background: none; border: 1px solid var(--ink); border-radius: 10px; min-height: 40px; padding: 0 12px; font: inherit; font-weight: 700; }
@media (max-width: 900px) {
  .site-logo__tag { display: none; }
  .nav-toggle { display: inline-flex; align-items: center; }
  .site-nav { display: none; position: absolute; top: 100%; left: 0; right: 0; background: var(--paper); border-bottom: 1px solid var(--line); }
  .site-nav.is-open { display: block; }
  .site-nav ul { flex-direction: column; align-items: stretch; gap: 0; padding: 8px 20px 18px; }
  .site-nav li a { display: block; padding: 12px 0; border-bottom: 1px dashed var(--line); }
  .site-nav .btn { margin-top: 12px; width: 100%; }
}

/* ---------- section scaffolding ---------- */
.section { padding: 96px 0; }
.section--tight { padding: 64px 0; }
.section--white { background: #fff; }
.section--cream { background: var(--cream); }
.section--ink { background: var(--ink); color: #f3eee4; }
.section--ink a { color: #fff; }
.section--red { background: var(--red); color: #fff; }
.eyebrow {
  display: inline-block; font-size: 13px; font-weight: 800; letter-spacing: .14em;
  color: var(--red); margin: 0 0 14px;
}
.section--ink .eyebrow, .section--red .eyebrow { color: var(--cream); }
.section-title { font-size: clamp(26px, 4.2vw, 40px); line-height: 1.4; margin: 0 0 20px; font-weight: 800; letter-spacing: .01em; }
.lead { font-size: clamp(16px, 1.9vw, 18px); color: var(--ink-2); max-width: 46em; }
.section--ink .lead { color: #d9d1c3; }
.center { text-align: center; }
.center .lead { margin-left: auto; margin-right: auto; }
.marker { background: linear-gradient(transparent 62%, rgba(193, 19, 46, .18) 62%); }

/* ---------- hero ---------- */
.hero { padding: 72px 0 88px; position: relative; overflow: hidden; }
.hero__grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center; }
.hero__name { display: inline-flex; gap: 8px; align-items: center; font-weight: 800; font-size: 14px; background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 6px 14px 6px 8px; margin-bottom: 22px; }
.hero__name i { font-style: normal; background: var(--red); color: #fff; border-radius: 999px; padding: 1px 10px; font-size: 12px; }
.hero h1 { font-size: clamp(32px, 5.6vw, 58px); line-height: 1.28; margin: 0 0 22px; font-weight: 900; letter-spacing: -.01em; }
.hero h1 em { font-style: normal; color: var(--red); }
.hero__sub { font-size: clamp(16px, 2vw, 19px); color: var(--ink-2); margin: 0 0 28px; }
.hero__chips { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 0 0 30px; }
.hero__chips li { background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 6px 12px; font-size: 14px; font-weight: 700; }
.hero__chips li::before { content: "✓ "; color: var(--green); }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; }
.hero__note { font-size: 13px; color: var(--ink-2); margin-top: 14px; }
@media (max-width: 900px) { .hero__grid { grid-template-columns: 1fr; } .hero { padding-top: 40px; } }

/* ---------- device mockups (illustrations) ---------- */
.stage { position: relative; min-height: 540px; }
.tablet {
  position: absolute; right: 0; top: 0; width: 82%;
  background: #1d1d1f; border-radius: 26px; padding: 14px; box-shadow: var(--shadow);
}
.tablet__screen { background: #f7f5f1; border-radius: 14px; padding: 14px; font-size: 12px; line-height: 1.5; }
.phone {
  position: absolute; left: -8px; bottom: -20px; width: 42%; min-width: 220px;
  background: #1d1d1f; border-radius: 30px; padding: 10px; box-shadow: var(--shadow);
}
.phone__screen { background: #fff; border-radius: 22px; padding: 14px 12px; font-size: 11.5px; line-height: 1.5; min-height: 300px; }
.ui-bar { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; font-weight: 800; }
.ui-bar small { font-weight: 600; color: #6b6560; }
.ui-metrics { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; margin-bottom: 10px; }
.ui-metric { background: #fff; border: 1px solid #e7e2d8; border-radius: 10px; padding: 6px 8px; }
.ui-metric b { display: block; font-size: 20px; line-height: 1.1; }
.ui-metric span { color: #6b6560; font-size: 10px; }
.ui-block { background: #fff; border: 1px solid #e7e2d8; border-radius: 10px; padding: 8px; margin-bottom: 6px; }
.ui-block__head { display: flex; justify-content: space-between; font-weight: 800; margin-bottom: 6px; }
.ui-row { display: flex; justify-content: space-between; align-items: center; padding: 5px 0; border-top: 1px dashed #e7e2d8; }
.ui-row:first-of-type { border-top: 0; }
.ui-pill { border-radius: 999px; padding: 1px 8px; font-size: 10px; font-weight: 800; }
.ui-pill--wait { background: #fff4d6; color: #8a5a00; }
.ui-pill--done { background: #e3f3ea; color: var(--green); }
.ui-btn { background: var(--blue); color: #fff; border-radius: 8px; padding: 3px 8px; font-size: 10px; font-weight: 800; }
.ui-step { font-size: 10px; color: #6b6560; margin-bottom: 4px; }
.ui-h { font-weight: 800; font-size: 13px; margin: 0 0 8px; }
.ui-slots { display: grid; grid-template-columns: repeat(3, 1fr); gap: 5px; margin-bottom: 10px; }
.ui-slot { border: 1px solid #d9d3c7; border-radius: 8px; text-align: center; padding: 5px 0; font-weight: 700; }
.ui-slot.is-on { background: var(--green); border-color: var(--green); color: #fff; }
.ui-slot.is-off { color: #b5aea4; text-decoration: line-through; }
.ui-item { display: flex; gap: 8px; align-items: center; padding: 6px 0; border-top: 1px solid #eee; }
.ui-item__img { width: 36px; height: 36px; border-radius: 8px; background: linear-gradient(135deg, #f1c27d, #c46a2b); flex: none; }
.ui-item__img--2 { background: linear-gradient(135deg, #e9d9a6, #8aa05a); }
.ui-qty { margin-left: auto; display: flex; align-items: center; gap: 6px; font-weight: 800; }
.ui-qty i { font-style: normal; width: 20px; height: 20px; border-radius: 999px; border: 1px solid #ccc; display: inline-grid; place-items: center; }
.ui-cta { display: block; text-align: center; background: var(--green); color: #fff; border-radius: 10px; padding: 8px; font-weight: 800; margin-top: 10px; }
.mock-caption { position: absolute; bottom: -34px; right: 0; font-size: 12px; color: var(--ink-2); }
@media (max-width: 900px) {
  .stage { min-height: 0; display: grid; gap: 16px; }
  .tablet, .phone { position: relative; width: 100%; }
  .phone { max-width: 300px; margin: 0 auto; }
  .mock-caption { position: static; }
}

/* ---------- problem (tickets) ---------- */
.tickets { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 40px; }
.ticket {
  background: #fffdf6; border: 1px solid var(--line); border-radius: 6px; padding: 22px 22px 20px;
  position: relative; box-shadow: var(--shadow);
}
.ticket::before {
  content: ""; position: absolute; left: 0; right: 0; top: -1px; height: 10px;
  background: radial-gradient(circle at 8px -2px, var(--paper) 7px, transparent 7.5px) repeat-x;
  background-size: 16px 10px;
}
.section--white .ticket::before { background-image: radial-gradient(circle at 8px -2px, #fff 7px, transparent 7.5px); }
.ticket:nth-child(odd) { transform: rotate(-.6deg); }
.ticket:nth-child(even) { transform: rotate(.5deg); }
.ticket__no { font-family: var(--mono); font-size: 12px; color: #8b847a; }
.ticket h3 { margin: 6px 0 8px; font-size: 18px; line-height: 1.5; }
.ticket p { margin: 0; color: var(--ink-2); font-size: 15px; }
@media (max-width: 900px) { .tickets { grid-template-columns: 1fr; } }

.story {
  margin-top: 56px; display: grid; grid-template-columns: 120px 1fr; gap: 28px; align-items: start;
  background: #fff; border-radius: var(--radius); padding: 32px; border: 1px solid var(--line);
}
.story__mark { font-size: 64px; line-height: 1; color: var(--red); font-weight: 900; }
.story p { margin: 0 0 1em; }
.story p:last-child { margin: 0; }
@media (max-width: 700px) { .story { grid-template-columns: 1fr; padding: 24px; } .story__mark { font-size: 44px; } }

/* ---------- definition ---------- */
.definition { font-size: clamp(22px, 3.4vw, 34px); line-height: 1.6; font-weight: 800; margin: 0 auto; max-width: 30em; }
.definition strong { color: var(--cream); background: rgba(255, 255, 255, .08); padding: 0 .2em; border-radius: 4px; }
.definition-sub { margin-top: 24px; font-size: 17px; color: #d9d1c3; }

/* ---------- features ---------- */
.feature { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; padding: 56px 0; border-top: 1px solid var(--line); }
.feature:first-of-type { border-top: 0; }
.feature--flip .feature__text { order: 2; }
.feature__num { font-family: var(--mono); font-weight: 800; color: var(--red); font-size: 14px; letter-spacing: .1em; }
.feature h3 { font-size: clamp(24px, 3.4vw, 34px); line-height: 1.45; margin: 8px 0 16px; }
.feature p { color: var(--ink-2); margin: 0 0 1em; }
.feature ul { padding-left: 1.2em; color: var(--ink-2); margin: 0; }
.feature li { margin: .3em 0; }
@media (max-width: 900px) { .feature { grid-template-columns: 1fr; gap: 24px; } .feature--flip .feature__text { order: 0; } }

.panel { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); }

/* allocation demo */
.alloc__title { font-weight: 800; display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 12px; }
.alloc__title small { color: var(--ink-2); font-weight: 600; }
.alloc__bar { display: flex; height: 64px; border-radius: 12px; overflow: hidden; border: 1px solid var(--line); }
.alloc__seg { display: flex; align-items: center; justify-content: center; flex-direction: column; color: #fff; font-weight: 800; transition: flex-basis .5s ease; line-height: 1.2; font-size: 14px; }
.alloc__seg small { font-weight: 600; font-size: 11px; opacity: .9; }
.alloc__seg--store { background: var(--red); }
.alloc__seg--resv { background: var(--blue); }
.alloc__legend { display: flex; justify-content: space-between; font-size: 13px; color: var(--ink-2); margin: 10px 0 16px; }
.alloc__btns { display: flex; flex-wrap: wrap; gap: 8px; }
.alloc__btns button { font: inherit; font-size: 14px; font-weight: 700; border: 1px solid var(--ink); background: #fff; border-radius: 999px; padding: 8px 14px; cursor: pointer; }
.alloc__btns button[aria-pressed="true"] { background: var(--ink); color: #fff; }
.alloc__msg { margin: 14px 0 0; font-size: 14px; color: var(--ink-2); min-height: 3.4em; }

/* time blocks */
.blocks { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.blocks div { background: var(--paper); border: 1px solid var(--line); border-radius: 12px; padding: 12px; }
.blocks b { display: block; font-size: 15px; }
.blocks span { font-size: 12px; color: var(--ink-2); font-family: var(--mono); }
.blocks em { display: block; font-style: normal; font-size: 13px; margin-top: 6px; color: var(--red); font-weight: 800; }

/* flow */
.flow { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; counter-reset: flow; margin-top: 40px; list-style: none; padding: 0; }
.flow li { background: #fff; border-radius: var(--radius); padding: 22px 18px; border: 1px solid var(--line); position: relative; counter-increment: flow; }
.flow li::before { content: counter(flow); display: inline-grid; place-items: center; width: 32px; height: 32px; border-radius: 999px; background: var(--red); color: #fff; font-weight: 800; margin-bottom: 10px; }
.flow h3 { font-size: 17px; margin: 0 0 6px; line-height: 1.5; }
.flow p { margin: 0; font-size: 14px; color: var(--ink-2); }
@media (max-width: 900px) { .flow { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .flow { grid-template-columns: 1fr; } }

.share { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.share span { background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 8px 16px; font-weight: 700; font-size: 14px; }

/* simple grid cards */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 36px; }
.cards--2 { grid-template-columns: repeat(2, 1fr); }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.section--cream .card { border-color: #e0d4b8; }
.card h3 { margin: 0 0 8px; font-size: 18px; line-height: 1.5; }
.card p { margin: 0; color: var(--ink-2); font-size: 15px; }
.card__icon { width: 44px; height: 44px; border-radius: 12px; background: var(--red-tint); color: var(--red); display: grid; place-items: center; font-weight: 900; margin-bottom: 12px; }
@media (max-width: 900px) { .cards, .cards--2 { grid-template-columns: 1fr; } }

/* not doing */
.nots { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin-top: 36px; }
.not { border: 1px solid rgba(255, 255, 255, .16); border-radius: 14px; padding: 18px 20px; }
.not b { display: inline-block; font-size: 17px; color: #fff; margin-bottom: 6px; text-decoration: line-through; text-decoration-color: var(--red); text-decoration-thickness: 3px; }
.not p { margin: 0; font-size: 14px; color: #d9d1c3; }
@media (max-width: 760px) { .nots { grid-template-columns: 1fr; } }
.pin { margin-top: 36px; font-size: clamp(18px, 2.4vw, 22px); font-weight: 800; }

/* pricing */
.price { display: grid; grid-template-columns: 1.1fr .9fr; gap: 20px; margin-top: 36px; align-items: stretch; }
.price__main { background: #fff; border: 2px solid var(--ink); border-radius: 22px; padding: 32px; }
.price__label { font-weight: 800; color: var(--red); }
.price__amount { font-size: clamp(44px, 7vw, 64px); font-weight: 900; line-height: 1.1; margin: 8px 0 4px; letter-spacing: -.02em; }
.price__amount small { font-size: 18px; font-weight: 700; letter-spacing: 0; }
.price__tax { font-size: 13px; color: var(--ink-2); }
.price__incl { list-style: none; padding: 0; margin: 20px 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.price__incl li { background: var(--paper); border-radius: 10px; padding: 10px 12px; font-weight: 700; font-size: 14px; }
.price__incl li span { display: block; font-weight: 600; font-size: 12px; color: var(--ink-2); }
.price__opt { background: var(--cream); border-radius: 22px; padding: 32px; }
.price__opt h3 { margin: 0 0 10px; }
.price__opt table { width: 100%; border-collapse: collapse; font-size: 15px; }
.price__opt td { padding: 10px 0; border-bottom: 1px solid #dacda9; }
.price__opt td:last-child { text-align: right; font-weight: 800; white-space: nowrap; }
.price__notes { font-size: 13px; color: var(--ink-2); margin-top: 18px; }
@media (max-width: 900px) { .price { grid-template-columns: 1fr; } }

/* maker */
.maker { display: grid; grid-template-columns: 300px 1fr; gap: 40px; align-items: start; }
.maker__badge { background: var(--ink); color: #fff; border-radius: 22px; padding: 28px 24px; }
.maker__badge b { display: block; font-size: 20px; line-height: 1.5; margin-top: 4px; }
.maker__badge span { font-size: 13px; opacity: .9; }
.maker__facts { display: flex; gap: 10px; margin-top: 18px; flex-wrap: wrap; }
.maker__facts div { background: rgba(255, 255, 255, .14); border-radius: 12px; padding: 8px 12px; }
.maker__facts strong { display: block; font-size: 24px; line-height: 1.1; }
.maker__facts small { font-size: 11px; }
.maker p { margin: 0 0 1em; }
@media (max-width: 800px) { .maker { grid-template-columns: 1fr; } }

/* magazine cards */
.posts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.post-card { background: #fff; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); display: flex; flex-direction: column; text-decoration: none; color: var(--ink); transition: transform .15s ease, box-shadow .15s ease; }
.post-card:hover { transform: translateY(-2px); box-shadow: var(--shadow); color: var(--ink); }
.post-card__img { aspect-ratio: 16 / 9; background: var(--cream); overflow: hidden; }
.post-card__img img { width: 100%; height: 100%; object-fit: cover; }
.post-card__body { padding: 16px 18px 20px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.post-card__cat { font-size: 12px; font-weight: 800; color: var(--red); }
.post-card__title { font-size: 17px; line-height: 1.55; margin: 0; font-weight: 800; }
.post-card__meta { margin-top: auto; font-size: 12px; color: var(--ink-2); display: flex; gap: 10px; align-items: center; }
.post-card__video { background: var(--ink); color: #fff; border-radius: 6px; padding: 0 6px; font-weight: 800; }
@media (max-width: 900px) { .posts { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .posts { grid-template-columns: 1fr; } }
.mag-head { display: flex; justify-content: space-between; align-items: end; gap: 16px; margin-bottom: 24px; flex-wrap: wrap; }
.mag-head h3 { margin: 0; font-size: 22px; }
.mag-head p { margin: 4px 0 0; color: var(--ink-2); font-size: 14px; }
.mag-group + .mag-group { margin-top: 56px; }

/* faq */
.faq { max-width: 860px; margin: 36px auto 0; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 14px; margin-bottom: 10px; }
.faq summary { cursor: pointer; list-style: none; padding: 18px 52px 18px 20px; font-weight: 800; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before { content: "Q"; color: var(--red); font-family: var(--mono); margin-right: 10px; }
.faq summary::after { content: "+"; position: absolute; right: 20px; top: 50%; transform: translateY(-50%); font-size: 22px; font-weight: 400; }
.faq details[open] summary::after { content: "−"; }
.faq details > div { padding: 0 20px 18px 44px; color: var(--ink-2); }
.faq details > div p { margin: 0; }

/* final CTA */
.final { text-align: center; }
.final h2 { font-size: clamp(26px, 4.4vw, 42px); line-height: 1.4; margin: 0 0 14px; }
.final p { margin: 0 auto 28px; max-width: 40em; opacity: .92; }
.final .btn--primary { background: #fff; color: var(--red); }
.final .btn--primary:hover { background: var(--cream); color: var(--red-dark); }
.final .btn--ghost { background: transparent; color: #fff; border-color: #fff; }

/* ---------- footer ---------- */
.site-footer { background: var(--ink); color: #cfc8bb; padding: 56px 0 28px; font-size: 14px; }
.site-footer a { color: #f3eee4; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; color: #fff; }
.site-footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; }
.site-footer__brand svg { height: 34px; width: auto; margin-bottom: 12px; }
.site-footer h2 { font-size: 13px; letter-spacing: .12em; color: #8f887c; margin: 0 0 10px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin: 6px 0; }
.site-footer__bottom { border-top: 1px solid #3a3734; margin-top: 40px; padding-top: 20px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; font-size: 12px; }
@media (max-width: 760px) { .site-footer__grid { grid-template-columns: 1fr; } }

/* ---------- article / page ---------- */
.page-hero { padding: 56px 0 36px; border-bottom: 1px solid var(--line); background: #fff; }
.page-hero h1 { font-size: clamp(26px, 4.4vw, 40px); line-height: 1.45; margin: 8px 0 12px; }
.page-hero p { color: var(--ink-2); margin: 0; }
.breadcrumb { font-size: 13px; color: var(--ink-2); }
.breadcrumb a { color: var(--ink-2); }
.article-meta { display: flex; gap: 12px; align-items: center; font-size: 13px; color: var(--ink-2); margin-top: 6px; flex-wrap: wrap; }
.cat-chip { display: inline-block; background: var(--red-tint); color: var(--red); font-weight: 800; border-radius: 999px; padding: 2px 12px; text-decoration: none; font-size: 13px; }
.article { padding: 40px 0 80px; }
.article__eyecatch { border-radius: var(--radius); overflow: hidden; margin-bottom: 32px; border: 1px solid var(--line); }
.video { position: relative; aspect-ratio: 16 / 9; border-radius: var(--radius); overflow: hidden; background: #000; margin-bottom: 32px; }
.video iframe, .video video { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-note { font-size: 13px; color: var(--ink-2); margin: -22px 0 32px; }

.entry { font-size: 17px; }
.entry > * { margin-top: 0; margin-bottom: 1.4em; }
.entry h2 { font-size: clamp(21px, 3vw, 26px); line-height: 1.5; margin: 2.4em 0 .9em; padding: 0 0 .5em; border-bottom: 3px solid var(--ink); }
.entry h2:first-child { margin-top: 0; }
.entry h3 { font-size: 19px; line-height: 1.55; margin: 2em 0 .7em; padding-left: 12px; border-left: 5px solid var(--red); }
.entry ul, .entry ol { padding-left: 1.4em; }
.entry li { margin: .35em 0; }
.entry strong { background: linear-gradient(transparent 64%, rgba(193, 19, 46, .16) 64%); }
.entry hr, .entry .wp-block-separator { border: 0; border-top: 1px dashed #cfc5b0; margin: 3em 0; }
.entry table { width: 100%; border-collapse: collapse; font-size: 15px; }
.entry th, .entry td { border: 1px solid var(--line); padding: 10px 12px; text-align: left; vertical-align: top; }
.entry th { background: var(--paper); }
.entry figure { margin-left: 0; margin-right: 0; }
.entry .conclusion { background: #fff; border: 2px solid var(--ink); border-radius: var(--radius); padding: 20px 24px; }
.entry blockquote { margin-left: 0; padding: 4px 0 4px 18px; border-left: 4px solid var(--cream); color: var(--ink-2); }
.entry a { text-decoration-thickness: 1px; text-underline-offset: 3px; }

.article-cta { margin-top: 48px; background: var(--ink); color: #f3eee4; border-radius: 22px; padding: 30px; display: grid; grid-template-columns: 1fr auto; gap: 20px; align-items: center; }
.article-cta h2 { margin: 0 0 6px; font-size: 20px; border: 0; padding: 0; }
.article-cta p { margin: 0; color: #d9d1c3; font-size: 14px; }
@media (max-width: 700px) { .article-cta { grid-template-columns: 1fr; } }

.related { margin-top: 64px; }
.related h2 { font-size: 20px; margin: 0 0 18px; }

.archive-tabs { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 20px; }
.archive-tabs a { border: 1px solid var(--ink); border-radius: 999px; padding: 6px 16px; text-decoration: none; color: var(--ink); font-weight: 700; font-size: 14px; background: #fff; }
.archive-tabs a.is-current { background: var(--ink); color: #fff; }
.pagination { margin-top: 40px; display: flex; gap: 8px; justify-content: center; }
.pagination .page-numbers { display: inline-grid; place-items: center; min-width: 40px; height: 40px; border: 1px solid var(--line); border-radius: 10px; text-decoration: none; color: var(--ink); background: #fff; }
.pagination .current { background: var(--ink); color: #fff; }
.empty { background: #fff; border: 1px dashed var(--line); border-radius: var(--radius); padding: 28px; text-align: center; color: var(--ink-2); }
.notice-box { background: #fff8e1; border: 1px solid #f1d58a; border-radius: 12px; padding: 14px 16px; font-size: 14px; }

@media (max-width: 560px) {
  .blocks { grid-template-columns: 1fr 1fr; }
  .hero__name { font-size: 12px; }
  .section { padding: 72px 0; }
}

/* 申込み受付開始前の案内。リンク・操作ボタンにはしない。 */
.btn--coming-soon { cursor: default; pointer-events: none; }

/* Role comparison: keep row labels visible when scrolling on phones. */
.roles { padding-top: 0; }
.roles__legend { font-size: 14px; color: var(--ink-2); margin: 24px 0 10px; }
.roles__legend span { display: block; }
.roles__scroll { overflow-x: auto; border: 1px solid var(--line); border-radius: 16px; }
.roles__table { border-collapse: separate; border-spacing: 0; width: 100%; min-width: 940px; font-size: 14px; line-height: 1.6; }
.roles__table th, .roles__table td { padding: 18px 12px; border-bottom: 1px solid var(--line); text-align: center; background: #fff; }
.roles__table thead th { background: var(--cream); font-size: 13px; }
.roles__table th:first-child { position: sticky; left: 0; z-index: 1; width: 250px; text-align: left; border-right: 1px solid var(--line); }
.roles__table tbody th { font-size: 16px; }
.roles__table th span, .roles__table th small { display: block; font-weight: 400; }
.roles__table th span { font-size: 13px; margin-top: 4px; }
.roles__table th small { font-size: 12px; color: var(--ink-2); margin-top: 6px; }
.roles__table th b { display: inline-block; padding: 2px 7px; border-radius: 5px; background: var(--red); color: #fff; font-size: 10px; vertical-align: middle; }
.roles__table td { font-size: 20px; font-weight: 700; }
.roles__table .roles__optional > * { background: #fff4f5; }
.roles__table tr:last-child > * { border-bottom: 0; }
.roles__note { font-size: 13px; color: var(--ink-2); }
.roles__explain { background: var(--paper); border-radius: 16px; padding: 24px; margin-top: 28px; }
.roles__explain h3 { margin: 0 0 12px; }
.roles__explain p { margin: 10px 0 0; }
@media (max-width: 600px) {
  .roles__table { min-width: 850px; }
  .roles__table th:first-child { width: 180px; min-width: 180px; max-width: 180px; }
  .roles__table th, .roles__table td { padding: 14px 10px; }
  .roles__explain { padding: 20px; }
}

/* News posts are shown on the fixed news page and home. */
.news-list { margin: 28px 0; border-top: 1px solid var(--line); }
.news-item { padding: 24px 0; border-bottom: 1px solid var(--line); }
.news-item h2, .news-item h3 { margin: 8px 0; font-size: clamp(19px, 3vw, 24px); line-height: 1.6; }
.news-item h2 a, .news-item h3 a { color: var(--ink); text-decoration-thickness: 1px; text-underline-offset: .2em; }
.news-item h2 a:hover, .news-item h3 a:hover { color: var(--red); }
.news-item p { margin: 8px 0 0; }
.news-item .news-item__meta { display: flex; align-items: center; gap: 16px; font-size: 13px; color: var(--ink-2); }
.news-item__meta span { background: var(--red-tint); color: var(--red); border-radius: 999px; padding: 2px 10px; font-weight: 700; }
