/*
Theme Name: Aioi Juku School
Theme URI: https://aioijuku.com/
Author: TK Holdings
Description: あいおい塾公式サイトテーマ v1.0 「中学でAIを学び、高校でAIを武器にする」
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 8.0
License: GNU General Public License v2 or later
Text Domain: aioi-juku-school
*/

/* ===== Design Tokens — 「温かな研究室」 ===== */
:root {
  /* Colors */
  --cream        : #FFFAF0;
  --cream-deep   : #F5EBD8;
  --cream-soft   : #FDF4E3;
  --paper        : #FFFFFF;

  --forest       : #2E5D4E;
  --forest-dark  : #1E4438;
  --forest-soft  : #D7E3DE;
  --forest-pale  : #EEF4F1;

  --gold         : #C89B4A;
  --gold-dark    : #A47D30;
  --gold-soft    : #F0E3CB;
  --gold-pale    : #FAF5E8;

  --ink          : #2A2A2A;
  --ink-light    : #6B6B6B;
  --ink-fade     : #B0B0B0;

  --line         : #E6DECE;
  --line-soft    : #F0EADC;

  /* Typography */
  --font-heading : 'Shippori Mincho', 'Noto Serif JP', 'Hiragino Mincho ProN', 'Yu Mincho', serif;
  --font-body    : 'Noto Sans JP', 'Hiragino Sans', 'Yu Gothic', sans-serif;

  /* Radius */
  --radius-sm : 8px;
  --radius-md : 16px;
  --radius-lg : 24px;

  /* Shadow */
  --shadow-sm : 0 2px 10px rgba(42, 42, 42, .05);
  --shadow-md : 0 8px 24px rgba(42, 42, 42, .08);
  --shadow-lg : 0 16px 40px rgba(42, 42, 42, .10);

  /* Container */
  --container : 1120px;
  --container-narrow : 880px;
}

/* ===== Reset & Base ===== */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.8;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--forest); text-decoration: none; transition: opacity .2s; }
a:hover { opacity: .7; }
h1, h2, h3, h4, h5 {
  font-family: var(--font-heading);
  font-weight: 600;
  line-height: 1.5;
  color: var(--ink);
  margin: 0 0 .8em;
}
p { margin: 0 0 1em; }
ul, ol { padding-left: 1.4em; margin: 0 0 1em; }

/* ===== Layout ===== */
.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.container-narrow { max-width: var(--container-narrow); margin: 0 auto; padding: 0 24px; }
.section { padding: 80px 0; }
.section--tight { padding: 48px 0; }
.section--alt { background: var(--cream-soft); }
.section--forest { background: var(--forest-pale); }
.section--flow {
  background: linear-gradient(180deg, var(--cream-soft) 0%, var(--forest-pale) 100%);
  position: relative;
}
.section--flow::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--gold) 0%, var(--forest) 100%);
  border-radius: 2px;
}

/* ===== Header ===== */
.site-header {
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  padding: 16px 0;
  position: sticky;
  top: 0;
  z-index: 100;
}
.site-header__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}
.site-logo {
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 700;
  color: var(--forest-dark);
  letter-spacing: .02em;
}
.site-logo .badge {
  display: inline-block;
  background: var(--forest);
  color: var(--paper);
  padding: 2px 8px;
  font-size: 12px;
  border-radius: 4px;
  margin-right: 6px;
  font-weight: 500;
  vertical-align: middle;
}
.site-nav {
  display: flex;
  gap: 24px;
  align-items: center;
}
.site-nav a {
  color: var(--ink);
  font-size: 15px;
  font-weight: 500;
}
.site-nav .btn--trial {
  background: var(--gold);
  color: var(--paper);
  padding: 10px 20px;
  border-radius: var(--radius-sm);
  font-weight: 600;
}
.site-nav .btn--trial:hover { background: var(--gold-dark); opacity: 1; }

/* ===== Hero ===== */
.hero {
  padding: 96px 24px 80px;
  text-align: center;
  background:
    radial-gradient(ellipse at top, var(--gold-pale) 0%, transparent 60%),
    var(--cream);
}
.hero__eyebrow {
  font-size: 13px;
  color: var(--forest);
  letter-spacing: .2em;
  margin-bottom: 24px;
  font-weight: 500;
}
.hero__title {
  font-family: var(--font-heading);
  font-size: clamp(28px, 5vw, 48px);
  line-height: 1.4;
  margin: 0 0 20px;
  color: var(--ink);
}
.hero__title .accent { color: var(--forest-dark); }
.hero__sub {
  font-size: clamp(15px, 2vw, 18px);
  color: var(--ink-light);
  max-width: 640px;
  margin: 0 auto 40px;
}
.hero__ctas {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ===== Buttons ===== */
.btn {
  display: inline-block;
  padding: 14px 32px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 15px;
  transition: all .2s;
  border: none;
  cursor: pointer;
  text-align: center;
  line-height: 1.4;
}
.btn--primary {
  background: var(--forest);
  color: var(--paper);
}
.btn--primary:hover { background: var(--forest-dark); opacity: 1; }
.btn--secondary {
  background: var(--gold);
  color: var(--paper);
}
.btn--secondary:hover { background: var(--gold-dark); opacity: 1; }
.btn--outline {
  background: transparent;
  color: var(--forest-dark);
  border: 2px solid var(--forest);
}
.btn--outline:hover { background: var(--forest); color: var(--paper); opacity: 1; }
.btn--line {
  background: #06C755;
  color: var(--paper);
}
.btn--line:hover { background: #04A849; opacity: 1; }

/* ===== Section Titles ===== */
.section-title {
  text-align: center;
  margin-bottom: 56px;
}
.section-title__eyebrow {
  font-size: 12px;
  color: var(--gold-dark);
  letter-spacing: .2em;
  margin-bottom: 12px;
  font-weight: 500;
}
.section-title h2 {
  font-size: clamp(24px, 4vw, 36px);
  margin: 0;
}

/* ===== Cards ===== */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}
.card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 32px 28px;
  transition: transform .2s, box-shadow .2s;
}
.card:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.card h3 {
  font-size: 18px;
  margin-bottom: 12px;
  color: var(--forest-dark);
}
.card p { color: var(--ink-light); font-size: 15px; margin: 0; }
.card .num {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 14px;
  color: var(--gold-dark);
  background: var(--gold-pale);
  padding: 4px 12px;
  border-radius: 12px;
  margin-bottom: 16px;
}

/* ===== Differentiator Trio ===== */
.diff-trio {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 40px;
}
.diff-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 32px 24px;
  text-align: center;
  position: relative;
}
.diff-card--ours {
  border-color: var(--forest);
  background: var(--forest-pale);
  transform: scale(1.03);
}
.diff-card--ours::before {
  content: '私たちの塾';
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--forest);
  color: var(--paper);
  font-size: 12px;
  padding: 4px 16px;
  border-radius: 12px;
  font-weight: 600;
}
.diff-card__label {
  font-family: var(--font-heading);
  font-size: 18px;
  color: var(--ink);
  margin-bottom: 8px;
}
.diff-card__desc {
  font-size: 14px;
  color: var(--ink-light);
  margin: 0;
}
@media (max-width: 768px) {
  .diff-trio { grid-template-columns: 1fr; }
  .diff-card--ours { transform: none; }
}

/* ===== Pricing Table ===== */
.pricing-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--paper);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  margin-bottom: 24px;
}
.pricing-table th,
.pricing-table td {
  padding: 20px 16px;
  text-align: center;
  border-bottom: 1px solid var(--line-soft);
}
.pricing-table th {
  background: var(--forest);
  color: var(--paper);
  font-weight: 500;
  font-size: 14px;
}
.pricing-table td { font-size: 15px; }
.pricing-table tr:last-child td { border-bottom: none; }
.pricing-table .grade { font-weight: 600; color: var(--forest-dark); }
.pricing-table .price { font-family: var(--font-heading); font-size: 20px; color: var(--ink); }
.pricing-table .yearly { font-size: 13px; color: var(--ink-light); }

/* ===== Comparison Table ===== */
.compare-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  overflow: hidden;
}
.compare-table th,
.compare-table td {
  padding: 16px 12px;
  border-bottom: 1px solid var(--line-soft);
  border-right: 1px solid var(--line-soft);
  font-size: 14px;
  text-align: center;
}
.compare-table th { background: var(--cream-deep); font-weight: 600; color: var(--forest-dark); }
.compare-table th:first-child,
.compare-table td:first-child { text-align: left; font-weight: 500; }
.compare-table .ours { background: var(--forest-pale); font-weight: 600; color: var(--forest-dark); }
.compare-table tr:last-child th,
.compare-table tr:last-child td { border-bottom: none; }
.compare-table th:last-child,
.compare-table td:last-child { border-right: none; }

/* ===== Grade Target Section ===== */
.grade-section {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.grade-card {
  background: var(--paper);
  border-left: 4px solid var(--gold);
  padding: 24px 28px;
  border-radius: var(--radius-sm);
}
.grade-card h3 {
  color: var(--forest-dark);
  margin-bottom: 8px;
  font-size: 18px;
}
.grade-card p { color: var(--ink-light); font-size: 15px; margin: 0; }
@media (max-width: 768px) {
  .grade-section { grid-template-columns: 1fr; }
}

/* ===== FAQ ===== */
.faq-list { max-width: 720px; margin: 0 auto; }
.faq-item {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 24px 28px;
  margin-bottom: 16px;
}
.faq-item h3 {
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 600;
  color: var(--forest-dark);
  margin-bottom: 12px;
}
.faq-item h3::before {
  content: 'Q. ';
  color: var(--gold-dark);
  font-weight: 700;
}
.faq-item p { margin: 0; font-size: 15px; line-height: 1.9; }
.faq-item p::before {
  content: 'A. ';
  color: var(--forest);
  font-weight: 700;
}

/* ===== Enrollment Flow（縦型・4ステップ） ===== */
.flow-vertical {
  max-width: 680px;
  margin: 56px auto 24px;
  position: relative;
  padding-left: 8px;
}
/* 各カード全体を貫く縦ライン（ゴールド→深緑グラデ） */
.flow-vertical::before {
  content: '';
  position: absolute;
  left: 44px;
  top: 28px;
  bottom: 28px;
  width: 2px;
  background: linear-gradient(180deg, var(--gold) 0%, var(--gold) 30%, var(--forest) 100%);
  opacity: .35;
  z-index: 0;
}
.flow-v-item {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 28px 32px 28px 112px;
  position: relative;
  box-shadow: var(--shadow-sm);
  margin-bottom: 28px;
  transition: transform .25s ease, box-shadow .25s ease;
}
.flow-v-item:last-child { margin-bottom: 0; }
.flow-v-item:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}
.flow-v-item .step-num {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  width: 58px;
  height: 58px;
  background: linear-gradient(135deg, var(--forest) 0%, var(--forest-dark) 100%);
  color: var(--paper);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 600;
  box-shadow: 0 6px 16px rgba(46, 93, 78, 0.28);
  border: 4px solid var(--cream);
  z-index: 2;
  letter-spacing: .02em;
}
/* 最後のステップ（入塾手続き）は強調色に */
.flow-v-item:last-child .step-num {
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
  box-shadow: 0 6px 16px rgba(200, 155, 74, 0.35);
}
.flow-v-item h3 {
  display: block;
  font-size: 20px;
  color: var(--forest-dark);
  margin: 0 0 10px;
  line-height: 1.4;
  letter-spacing: .02em;
}
.flow-v-item p {
  margin: 0;
  color: var(--ink);
  font-size: 15px;
  line-height: 1.9;
}
.flow-v-item p .note {
  display: inline-block;
  margin-top: 8px;
  padding: 4px 12px;
  background: var(--gold-pale);
  border-radius: 12px;
  font-size: 12px;
  color: var(--gold-dark);
  letter-spacing: .03em;
}
@media (max-width: 560px) {
  .flow-vertical { padding-left: 0; }
  .flow-vertical::before { left: 38px; }
  .flow-v-item { padding: 24px 22px 24px 94px; }
  .flow-v-item .step-num { width: 50px; height: 50px; font-size: 19px; left: 12px; }
  .flow-v-item h3 { font-size: 18px; }
}

/* ===== Trial Flow Steps (旧・3カラム横型・他用途で使用可能) ===== */
.flow-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin: 48px 0;
}
.flow-step {
  text-align: center;
  padding: 32px 24px;
  background: var(--paper);
  border-radius: var(--radius-md);
  position: relative;
  border-top: 3px solid var(--forest);
}
.flow-step__num {
  display: inline-block;
  width: 48px;
  height: 48px;
  line-height: 48px;
  background: var(--forest);
  color: var(--paper);
  border-radius: 50%;
  font-family: var(--font-heading);
  font-size: 20px;
  margin-bottom: 16px;
}
.flow-step h3 { font-size: 17px; margin-bottom: 8px; }
.flow-step p { color: var(--ink-light); font-size: 14px; margin: 0; }
@media (max-width: 768px) {
  .flow-steps { grid-template-columns: 1fr; }
}

/* ===== Inquiry Block (全ページ共通) ===== */
.inquiry-block {
  background: var(--forest-pale);
  padding: 72px 0;
  border-top: 1px solid var(--line);
}
.inquiry-block__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
  align-items: start;
}
.inquiry-block__title {
  text-align: center;
  margin-bottom: 40px;
}
.inquiry-block__title h2 {
  font-size: 28px;
  margin-bottom: 12px;
}
.inquiry-block__title p {
  color: var(--ink-light);
  font-size: 15px;
  margin: 0;
}
.inquiry-col {
  background: var(--paper);
  border-radius: var(--radius-md);
  padding: 36px 32px;
  box-shadow: var(--shadow-sm);
}
.inquiry-col h3 {
  font-size: 18px;
  color: var(--forest-dark);
  margin-bottom: 8px;
}
.inquiry-col p.lead {
  color: var(--ink-light);
  font-size: 14px;
  margin-bottom: 24px;
}
.inquiry-col__line-visual {
  text-align: center;
  padding: 24px 0;
}
.inquiry-col__qr {
  width: 180px;
  height: 180px;
  margin: 0 auto 20px;
  background: var(--cream-deep);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ink-fade);
  font-size: 13px;
  text-align: center;
  padding: 20px;
}
.inquiry-col__qr img { width: 100%; height: 100%; object-fit: contain; }
@media (max-width: 768px) {
  .inquiry-block__inner { grid-template-columns: 1fr; gap: 24px; }
}

/* ===== Form (self-hosted, no plugin) ===== */
.aioi-form label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 6px;
  margin-top: 16px;
}
.aioi-form label:first-of-type { margin-top: 0; }
.aioi-form .req { color: #C0392B; font-weight: 700; margin-left: 2px; }
.aioi-form input[type="text"],
.aioi-form input[type="email"],
.aioi-form input[type="tel"],
.aioi-form select,
.aioi-form textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  font-size: 15px;
  font-family: inherit;
  background: var(--paper);
  color: var(--ink);
  transition: border-color .2s, box-shadow .2s;
}
.aioi-form input::placeholder,
.aioi-form textarea::placeholder {
  color: var(--ink-fade);
}
.aioi-form input:focus,
.aioi-form select:focus,
.aioi-form textarea:focus {
  outline: none;
  border-color: var(--forest);
  background: var(--paper);
  box-shadow: 0 0 0 3px rgba(46, 93, 78, 0.08);
}
.aioi-form textarea { min-height: 100px; resize: vertical; }
.aioi-form .btn-submit {
  background: var(--forest);
  color: var(--paper);
  padding: 14px 32px;
  border: none;
  border-radius: var(--radius-sm);
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  margin-top: 24px;
  transition: background .2s;
  width: 100%;
  font-family: inherit;
}
.aioi-form .btn-submit:hover { background: var(--forest-dark); }

/* ハニーポット（人間には非表示） */
.aioi-form .hp-wrap {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* 送信結果メッセージ */
.form-msg {
  padding: 16px 20px;
  border-radius: var(--radius-sm);
  margin-bottom: 24px;
  font-size: 14px;
  line-height: 1.7;
}
.form-msg--success {
  background: var(--forest-pale);
  border: 1px solid var(--forest);
  color: var(--forest-dark);
}
.form-msg--error {
  background: #FDECEA;
  border: 1px solid #C0392B;
  color: #8E2A20;
}

/* ===== Footer ===== */
.site-footer {
  background: var(--forest-dark);
  color: var(--paper);
  padding: 56px 0 32px;
}
.site-footer__inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}
.site-footer__top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 40px;
}
.site-footer h4 {
  color: var(--paper);
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 16px;
  letter-spacing: .1em;
}
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 8px; }
.site-footer a {
  color: var(--cream-deep);
  font-size: 14px;
  opacity: .85;
}
.site-footer a:hover { opacity: 1; }
.site-footer__brand .site-logo { color: var(--cream); font-size: 20px; }
.site-footer__brand p {
  font-size: 13px;
  color: var(--cream-deep);
  opacity: .7;
  margin-top: 16px;
  line-height: 1.8;
}
.site-footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, .1);
  padding-top: 24px;
  text-align: center;
  font-size: 12px;
  color: var(--cream-deep);
  opacity: .7;
}
@media (max-width: 768px) {
  .site-footer__top { grid-template-columns: 1fr; gap: 32px; }
}

/* ===== Midband（メッセージバンド） ===== */
.midband {
  background: linear-gradient(180deg, var(--cream-deep) 0%, var(--gold-pale) 100%);
  padding: 56px 24px;
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
}
.midband__inner { text-align: center; }
.midband__quote {
  font-family: var(--font-heading);
  font-size: clamp(18px, 2.6vw, 24px);
  line-height: 1.7;
  color: var(--forest-dark);
  margin: 0 0 12px;
  letter-spacing: .02em;
}
.midband__quote::before { content: '"'; color: var(--gold); margin-right: 4px; font-size: 1.2em; }
.midband__quote::after { content: '"'; color: var(--gold); margin-left: 4px; font-size: 1.2em; }
.midband__attr {
  font-size: 12px;
  color: var(--ink-light);
  letter-spacing: .15em;
  margin: 0;
}

/* ===== CTA Banner ===== */
.cta-banner {
  background: linear-gradient(135deg, var(--forest) 0%, var(--forest-dark) 100%);
  color: var(--paper);
  padding: 72px 24px;
  text-align: center;
}
.cta-banner h2 {
  color: var(--paper);
  font-size: clamp(22px, 3.5vw, 32px);
  margin-bottom: 16px;
}
.cta-banner p {
  color: var(--cream-deep);
  opacity: .9;
  margin-bottom: 32px;
  font-size: 16px;
}
.cta-banner .btn { box-shadow: var(--shadow-md); }

/* ===== Mobile Nav Toggle ===== */
.nav-toggle { display: none; background: none; border: none; font-size: 24px; color: var(--ink); cursor: pointer; }
@media (max-width: 768px) {
  .site-nav {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    background: var(--paper);
    padding: 24px;
    flex-direction: column;
    gap: 16px;
    border-top: 1px solid var(--line);
    box-shadow: var(--shadow-md);
  }
  .site-nav.is-open { display: flex; }
  .nav-toggle { display: block; }
}

/* ===== Generic Page Content ===== */
.page-content {
  max-width: var(--container-narrow);
  margin: 0 auto;
  padding: 48px 24px 80px;
}
.page-content h1 {
  font-size: clamp(26px, 4vw, 36px);
  margin-bottom: 32px;
  padding-bottom: 16px;
  border-bottom: 3px solid var(--gold);
  display: inline-block;
}
.page-content h2 {
  font-size: 22px;
  margin-top: 40px;
  color: var(--forest-dark);
}

/* ===== Policy（プライバシー）本文 ===== */
.policy-body { font-size: 15px; line-height: 1.9; }
.policy-body .policy-lead {
  background: var(--cream-soft);
  padding: 20px 24px;
  border-left: 4px solid var(--forest);
  border-radius: var(--radius-sm);
  margin-bottom: 40px;
}
.policy-body h2 {
  font-size: 20px;
  margin-top: 48px;
  margin-bottom: 16px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--gold);
  color: var(--forest-dark);
  display: inline-block;
}
.policy-body h2:first-of-type { margin-top: 32px; }
.policy-body p { margin-bottom: 16px; }
.policy-body ul { padding-left: 1.6em; margin-bottom: 20px; }
.policy-body ul li { margin-bottom: 8px; }

/* ===== 特商法・法務ページ用テーブル ===== */
.tokushoho-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
  line-height: 1.8;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  overflow: hidden;
}
.tokushoho-table th,
.tokushoho-table td {
  padding: 18px 20px;
  border-bottom: 1px solid var(--line-soft);
  vertical-align: top;
  text-align: left;
}
.tokushoho-table th {
  width: 32%;
  font-weight: 600;
  color: var(--forest-dark);
  background: var(--cream-deep);
  white-space: nowrap;
}
.tokushoho-table td {
  color: var(--ink);
}
.tokushoho-table tr:last-child th,
.tokushoho-table tr:last-child td { border-bottom: none; }
.tokushoho-table .note {
  display: block;
  margin-top: 6px;
  font-size: 12px;
  color: var(--ink-light);
}

.tokushoho-note {
  margin-top: 32px;
  padding: 20px 24px;
  background: var(--gold-pale);
  border-left: 4px solid var(--gold);
  font-size: 13px;
  color: var(--ink-light);
  line-height: 1.9;
  border-radius: var(--radius-sm);
}

@media (max-width: 600px) {
  .tokushoho-table,
  .tokushoho-table tbody,
  .tokushoho-table tr,
  .tokushoho-table th,
  .tokushoho-table td { display: block; width: 100%; }
  .tokushoho-table th { border-bottom: none; padding-bottom: 6px; white-space: normal; }
  .tokushoho-table td { padding-top: 6px; }
}

/* ===== Utilities ===== */
.text-center { text-align: center; }
.mt-8 { margin-top: 64px; }
.mb-4 { margin-bottom: 32px; }
.note { font-size: 13px; color: var(--ink-light); }
