/* =============================================================
   sections.css — per-section styling for the OVERDRIVE AI page
   Shwat DS tokens only. White base, teal accents, coral旗印.
   ============================================================= */

/* ============================== HERO (S1) ============================== */
#ov .hero {
  position: relative;
  padding: clamp(80px, 13vh, 150px) var(--gut) clamp(60px, 9vh, 110px);
  overflow: hidden;
  background:
    radial-gradient(120% 80% at 80% -10%, var(--surface-teal-light) 0%, rgba(236,251,250,0) 60%),
    var(--base-white);
}
#ov .hero-blobs { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
#ov .hero-blobs .blob {
  position: absolute; border-radius: 50%; filter: blur(48px); opacity: .5;
  animation: float 16s ease-in-out infinite;
}
#ov .hero-blobs .b1 { width: 460px; height: 460px; right: -80px; top: -120px;
  background: radial-gradient(circle, rgba(0,199,176,.55), rgba(0,199,176,0)); }
#ov .hero-blobs .b2 { width: 360px; height: 360px; left: -120px; top: 180px;
  background: radial-gradient(circle, rgba(3,168,168,.42), rgba(3,168,168,0)); animation-delay: -5s; }
#ov .hero-blobs .b3 { width: 280px; height: 280px; right: 22%; bottom: -90px;
  background: radial-gradient(circle, rgba(255,74,51,.16), rgba(255,74,51,0)); animation-delay: -9s; }
@keyframes float {
  0%, 100% { transform: translate(0,0) scale(1); }
  33% { transform: translate(26px,-24px) scale(1.06); }
  66% { transform: translate(-20px,18px) scale(.96); }
}
@media (prefers-reduced-motion: reduce) { #ov .hero-blobs .blob { animation: none; } }

#ov .hero-inner { position: relative; z-index: 1; }
#ov .hero-eyebrow { margin-bottom: 22px; }
#ov .hero-en {
  font-family: var(--font-en); font-weight: var(--weight-heavy);
  font-size: var(--w-small); letter-spacing: 0.16em; color: var(--brand-primary);
  border-left: 5px solid var(--brand-primary); padding-left: 12px;
}
#ov .hero-title {
  font-family: var(--font-jp); font-weight: var(--weight-heavy);
  font-size: var(--w-hero); line-height: 1.12; letter-spacing: var(--ls-title);
  color: var(--text-primary); margin: 0 0 20px;
}
#ov .hero-od { color: var(--brand-primary); }
#ov .hero-od em { font-family: var(--font-en); font-style: normal; font-weight: 900;
  color: var(--brand-primary-dark); letter-spacing: 0.005em; }
#ov .hero-sub {
  font-size: var(--w-h3); font-weight: var(--weight-bold); color: var(--text-deep);
  margin: 0 0 14px; line-height: 1.4;
}
#ov .hero-lead { font-size: var(--w-body); color: var(--text-primary); max-width: 720px; margin: 0 0 clamp(34px,5vh,52px); }

#ov .hero-stats {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(14px,2vw,30px);
  margin-bottom: clamp(34px,5vh,48px);
}
#ov .hstat { position: relative; padding: 22px 22px 20px; background: var(--surface-teal-pale);
  border-radius: var(--radius-md); border-top: 4px solid var(--brand-primary); }
#ov .hstat-num {
  font-family: var(--font-en); font-weight: var(--weight-heavy);
  font-size: var(--w-stat); line-height: .95; color: var(--accent-red);
  letter-spacing: -0.02em;
}
#ov .hstat-label { font-size: var(--w-small); font-weight: var(--weight-bold);
  color: var(--text-primary); margin-top: 10px; line-height: 1.45; }
#ov .hstat-note { display: block; font-weight: var(--weight-regular); color: var(--text-muted);
  font-size: 0.86em; margin-top: 2px; }
#ov .hstat-src { font-size: 11px; color: var(--text-muted); margin-top: 8px; }

#ov .hero-cta { display: flex; flex-wrap: wrap; gap: 14px; }
/* ファーストビュー2行目：LLMO/SEOコンサルティング導線 */
#ov .hero-cta-services { margin-top: 14px; }
/* 別タブ遷移を示す矢印（btn の gap:10px を詰めて調整） */
#ov .btn-ext { font-size: 0.92em; line-height: 1; margin-left: -4px; }

@media (max-width: 760px) {
  #ov .hero-stats { grid-template-columns: repeat(2, 1fr); }
  #ov .hero-cta .btn { flex: 1 1 100%; }
}

/* ============================== POLICY BAND (S2) ============================== */
#ov .policy-band {
  background: var(--brand-primary-dark);
  color: #fff;
  padding: clamp(56px,8vh,104px) var(--gut);
  position: relative; overflow: hidden;
}
#ov .policy-band::after {
  content: "×"; position: absolute; right: -2%; bottom: -36%;
  font-family: var(--font-en); font-weight: 900; font-size: clamp(220px,32vw,460px);
  color: rgba(255,255,255,.07); line-height: 1; pointer-events: none;
}
#ov .policy-main {
  font-family: var(--font-jp); font-weight: var(--weight-heavy); color: #fff;
  font-size: var(--w-display); line-height: 1.3; letter-spacing: var(--ls-title);
  margin: 0 0 22px; position: relative;
}
#ov .policy-sub { font-size: var(--w-body); line-height: 1.85; color: rgba(255,255,255,.92);
  margin: 0; max-width: 760px; position: relative; }

/* ============================== WHY CHANGE (S3) ============================== */
#ov .why-grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: clamp(24px,3vw,48px); align-items: start; }
@media (max-width: 900px) { #ov .why-grid { grid-template-columns: 1fr; } }

#ov .block-tag {
  display: inline-block; font-family: var(--font-jp); font-weight: var(--weight-bold);
  font-size: var(--w-small); color: #fff; background: var(--brand-primary);
  padding: 8px 18px; border-radius: var(--radius-sm); margin-bottom: 18px; white-space: nowrap;
}
#ov .block-tag.alt { background: var(--text-deep); }
#ov .block-intro { font-size: var(--w-body); margin: 0 0 22px; }

#ov .prod-list { display: flex; flex-direction: column; gap: 12px; }
#ov .prod-item { display: grid; grid-template-columns: 88px 1fr; align-items: center;
  background: var(--surface-teal-pale); border-radius: var(--radius-sm); overflow: hidden; }
#ov .prod-key { background: var(--brand-primary); color: #fff; font-weight: var(--weight-bold);
  font-size: var(--w-small); padding: 16px 10px; text-align: center; align-self: stretch;
  display: flex; align-items: center; justify-content: center; }
#ov .prod-val { padding: 14px 18px; font-size: var(--w-body); font-weight: var(--weight-medium); }

#ov .limits { display: flex; flex-direction: column; gap: 12px; }
#ov .limit {
  display: block; width: 100%; text-align: left; cursor: pointer;
  background: #fff; border: 1px solid var(--line-soft); border-left: 5px solid var(--accent-coral);
  border-radius: var(--radius-sm); padding: 18px 22px; font-family: var(--font-jp);
  transition: border-color .15s ease, box-shadow .2s ease, background .15s ease;
}
#ov .limit:hover { box-shadow: var(--shadow-card); }
#ov .limit.open { border-left-color: var(--accent-red); background: var(--surface-coral-light); }
#ov .limit-head { display: flex; align-items: center; gap: 14px; }
#ov .limit-n { font-family: var(--font-en); font-weight: 900; font-size: 20px; color: var(--accent-red); }
#ov .limit-title { font-weight: var(--weight-bold); font-size: var(--w-h3); color: var(--text-primary); flex: 1; }
#ov .limit-plus { font-family: var(--font-en); font-weight: 700; font-size: 24px; color: var(--accent-coral); line-height: 1; }
#ov .limit-short { font-size: var(--w-small); color: var(--text-muted); margin: 8px 0 0 34px; }
#ov .limit-detail { overflow: hidden; max-height: 0; transition: max-height .35s cubic-bezier(.2,.7,.2,1); }
#ov .limit-detail p { font-size: var(--w-small); line-height: 1.7; color: var(--text-primary); margin: 14px 0 0 34px; }

#ov .sec-foot { margin-top: clamp(28px,4vh,44px); }

/* ============================== THREE AXES (S4) ============================== */
#ov .axes-sec { background: var(--surface-teal-pale); }
#ov .axes-stage { margin-top: 8px; }
#ov .axes-row {
  display: flex; align-items: stretch; justify-content: center; gap: 14px; flex-wrap: wrap;
}
#ov .axis {
  flex: 1 1 200px; max-width: 280px; min-height: 168px;
  background: #fff; border: 2px solid var(--line-soft); border-radius: var(--radius-md);
  padding: 22px 22px 20px; cursor: pointer; position: relative;
  transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
  display: flex; flex-direction: column;
}
#ov .axis:hover { transform: translateY(-3px); }
#ov .axis.on { border-color: var(--brand-primary); box-shadow: var(--shadow-card); }
#ov .axis-en { font-family: var(--font-en); font-weight: 900; font-size: 11px;
  letter-spacing: 0.1em; color: var(--brand-primary); margin-bottom: 10px; }
#ov .axis-label { font-weight: var(--weight-heavy); font-size: var(--w-h3); color: var(--text-primary); line-height: 1.3; }
#ov .axis-q { font-size: var(--w-small); color: var(--text-muted); margin-top: 6px; }
#ov .axis-desc { max-height: 0; overflow: hidden; transition: max-height .35s ease, margin-top .35s ease; }
#ov .axis.on .axis-desc, #ov .axis.expanded .axis-desc { max-height: 120px; margin-top: 14px; }
#ov .axis-desc p { font-size: var(--w-small); line-height: 1.7; color: var(--text-primary);
  margin: 0; padding-top: 14px; border-top: 1px solid var(--surface-teal-light); }

#ov .axis-mult, #ov .axis-eq {
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-en); font-weight: 900; font-size: clamp(28px,3vw,44px);
  color: var(--accent-red); flex: 0 0 auto; padding: 0 4px; align-self: center;
}
#ov .axis-eq { color: var(--brand-primary); }

#ov .axis-result {
  flex: 1 1 200px; max-width: 230px; min-height: 168px; align-self: center;
  border-radius: var(--radius-md); position: relative; overflow: hidden;
  background: #fff; border: 2px dashed var(--line-medium);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  transition: background .4s ease, border-color .4s ease, box-shadow .4s ease;
}
#ov .axis-result.lit { background: var(--brand-primary-dark); border: 2px solid var(--brand-primary-dark); box-shadow: var(--shadow-lift); }
#ov .result-glow { position: absolute; inset: -40%; opacity: 0;
  background: radial-gradient(circle, rgba(0,199,176,.6), rgba(0,199,176,0) 70%); transition: opacity .5s ease; }
#ov .axis-result.lit .result-glow { opacity: 1; animation: pulse 2.6s ease-in-out infinite; }
@keyframes pulse { 0%,100% { transform: scale(1); opacity: .8; } 50% { transform: scale(1.12); opacity: 1; } }
#ov .result-label { position: relative; font-family: var(--font-jp); font-weight: var(--weight-heavy);
  font-size: clamp(30px,3.6vw,46px); color: var(--text-muted); letter-spacing: .08em; transition: color .4s ease; }
#ov .axis-result.lit .result-label { color: #fff; }
#ov .result-hint { position: relative; font-size: 12px; margin-top: 8px; color: var(--text-muted); transition: color .4s ease; }
#ov .axis-result.lit .result-hint { color: rgba(255,255,255,.85); }

@media (max-width: 820px) {
  #ov .axes-row { flex-direction: column; align-items: stretch; }
  #ov .axis, #ov .axis-result { max-width: none; min-height: 0; }
  /* 縦積み時、.axis-result の align-self:center が幅を縮めてしまうため
     他のカードと同じく全幅へ。薄くなりすぎないよう上下余白を付与。 */
  #ov .axis-result { align-self: stretch; padding: 30px 22px; }
  #ov .axis-mult, #ov .axis-eq { padding: 2px 0; font-size: 30px; }
}

/* ============================== OVERDRIVE DEF (S5) ============================== */
#ov .od-def {
  font-family: var(--font-jp); font-weight: var(--weight-bold);
  font-size: var(--w-display); line-height: 1.5; letter-spacing: var(--ls-title);
  color: var(--text-primary); margin: 8px 0 0; max-width: 1000px;
}
#ov .od-hl { color: var(--brand-primary); position: relative; white-space: nowrap; }
#ov .od-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px,2vw,28px);
  margin-top: clamp(34px,5vh,56px); }
@media (max-width: 860px) { #ov .od-cards { grid-template-columns: 1fr; } }
#ov .od-card { background: var(--surface-teal-pale); border-radius: var(--radius-md);
  padding: 28px 26px; border-top: 4px solid var(--brand-primary); }
#ov .od-card-k { font-family: var(--font-en); font-weight: 900; font-size: 12px;
  letter-spacing: 0.1em; color: var(--brand-primary); margin-bottom: 14px; }
#ov .od-card-title { font-weight: var(--weight-bold); font-size: var(--w-h3); color: var(--text-primary); margin: 0 0 10px; }
#ov .od-card-body { font-size: var(--w-small); line-height: 1.75; color: var(--text-primary); margin: 0; }

/* ============================== TREE (S6) ============================== */
#ov .tree-sec { background: var(--surface-teal-pale); }
#ov .phase-rail {
  display: flex; align-items: stretch; gap: 6px; flex-wrap: wrap;
  margin-bottom: 28px;
}
#ov .phase-chip {
  flex: 1 1 150px; cursor: pointer; text-align: left;
  background: #fff; border: 2px solid var(--line-soft); border-radius: var(--radius-md);
  padding: 16px 16px 14px; font-family: var(--font-jp);
  display: flex; flex-direction: column; gap: 6px; position: relative;
  transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease, background .18s ease;
}
#ov .phase-chip:hover { transform: translateY(-2px); box-shadow: var(--shadow-card); }
#ov .phase-chip.active { background: var(--brand-primary-dark); border-color: var(--brand-primary-dark); }
#ov .chip-num { font-family: var(--font-en); font-weight: 900; font-size: 22px; color: var(--brand-primary); line-height: 1; }
#ov .phase-chip.active .chip-num { color: var(--brand-primary-light); }
#ov .chip-name { font-weight: var(--weight-bold); font-size: var(--w-small); color: var(--text-primary); line-height: 1.35; }
#ov .phase-chip.active .chip-name { color: #fff; }
#ov .chip-count { font-family: var(--font-en); font-weight: 700; font-size: 11px; color: var(--text-muted); }
#ov .phase-chip.active .chip-count { color: rgba(255,255,255,.75); }
#ov .phase-arrow { display: flex; align-items: center; color: var(--line-medium);
  font-family: var(--font-en); font-weight: 700; font-size: 18px; flex: 0 0 auto; }
@media (max-width: 880px) { #ov .phase-arrow { display: none; } #ov .phase-chip { flex: 1 1 44%; } }

#ov .phase-detail {
  background: #fff; border: 1px solid var(--line-soft); border-radius: var(--radius-lg);
  padding: clamp(22px,3vw,36px); margin-bottom: 28px;
  animation: detailIn .4s cubic-bezier(.2,.7,.2,1);
}
@keyframes detailIn { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
#ov .phase-detail-head { display: flex; align-items: center; gap: 18px; margin-bottom: 22px;
  padding-bottom: 18px; border-bottom: 2px solid var(--surface-teal-pale); }
#ov .pd-num { font-family: var(--font-en); font-weight: 900; font-size: clamp(36px,5vw,58px);
  color: var(--brand-primary-light); line-height: .9; flex: 0 0 auto; }
#ov .pd-titles { flex: 1 1 auto; display: flex; flex-direction: column; gap: 4px; }
#ov .pd-en { font-family: var(--font-en); font-weight: 900; font-size: 11px; letter-spacing: .12em; color: var(--brand-primary); }
#ov .pd-name { font-weight: var(--weight-heavy); font-size: var(--w-h3); color: var(--text-primary); margin: 2px 0 0; }
#ov .pd-count { margin-left: auto; font-family: var(--font-en); font-weight: 700; font-size: 13px;
  color: #fff; background: var(--brand-primary); padding: 5px 14px; border-radius: var(--radius-pill); }

#ov .ai-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(248px, 1fr)); gap: 14px; }
#ov .ai-card { background: var(--surface-teal-pale); border-radius: var(--radius-md); padding: 18px;
  border-left: 4px solid var(--brand-primary-light);
  animation: aiIn .45s both cubic-bezier(.2,.7,.2,1); }
@keyframes aiIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
#ov .ai-card-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
#ov .ai-name { font-weight: var(--weight-bold); font-size: var(--w-small); color: var(--text-primary); line-height: 1.4; }
#ov .ai-redux { font-family: var(--font-en); font-weight: 900; font-size: 26px; color: var(--accent-red);
  line-height: 1; white-space: nowrap; }
#ov .ai-redux small { font-size: 14px; }
#ov .ai-redux.flow { font-family: var(--font-jp); font-size: 12px; font-weight: 700; color: var(--brand-primary);
  background: var(--surface-teal-light); padding: 3px 8px; border-radius: var(--radius-sm); }
#ov .ai-time { display: flex; align-items: center; gap: 8px; margin-top: 12px; font-family: var(--font-en); }
#ov .ai-time .t-before { font-size: 13px; color: var(--text-muted); text-decoration: line-through; }
#ov .ai-time .t-arrow { color: var(--accent-red); font-weight: 700; }
#ov .ai-time .t-after { font-size: 14px; font-weight: 700; color: var(--brand-primary-dark); }
#ov .ai-note { font-size: 11px; color: var(--text-muted); margin-top: 8px; line-height: 1.5; }
#ov .ai-quality { font-size: 12px; line-height: 1.6; color: var(--text-primary); margin-top: 12px;
  padding-top: 12px; border-top: 1px solid var(--line-soft); }
#ov .q-tag { display: inline-block; font-weight: 700; font-size: 10px; color: #fff;
  background: var(--brand-primary); padding: 1px 7px; border-radius: var(--radius-sm); margin-right: 8px; }

#ov .tree-bands { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 24px; }
@media (max-width: 800px) { #ov .tree-bands { grid-template-columns: 1fr; } }
#ov .tree-band { display: flex; align-items: center; gap: 16px; background: #fff;
  border: 1px solid var(--line-soft); border-radius: var(--radius-md); padding: 16px 20px; flex-wrap: wrap; }
#ov .band-tag { font-weight: var(--weight-bold); font-size: 12px; color: #fff; background: var(--brand-primary);
  padding: 6px 14px; border-radius: var(--radius-sm); flex: 0 0 auto; }
#ov .band-tag.alt { background: var(--text-deep); }
#ov .band-body { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; font-size: var(--w-small); }
#ov .band-body strong { font-weight: var(--weight-bold); color: var(--text-primary); }
#ov .band-chip { font-family: var(--font-en); font-weight: 700; font-size: 12px; color: var(--brand-primary-dark);
  background: var(--surface-teal-light); padding: 4px 12px; border-radius: var(--radius-sm); }
#ov .band-note { font-size: 12px; color: var(--text-muted); }

#ov .tree-human { background: var(--surface-coral-light); border-radius: var(--radius-md);
  padding: 20px 24px; border-left: 5px solid var(--accent-coral); }
#ov .tree-human p { margin: 0; font-size: var(--w-small); line-height: 1.7; }
#ov .tree-human strong { color: var(--accent-red); }
#ov .tree-human .src-tag { display: block; margin-top: 8px; }

/* ============================== DATA TABLE (S7) ============================== */
#ov .table-controls { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px;
  flex-wrap: wrap; margin-bottom: 24px; }
#ov .filter-group { display: flex; flex-wrap: wrap; gap: 8px; flex: 1 1 auto; }
#ov .chip-btn {
  font-family: var(--font-jp); font-weight: var(--weight-medium); font-size: var(--w-small);
  color: var(--text-primary); background: #fff; border: 1.5px solid var(--line-medium);
  padding: 8px 16px; border-radius: var(--radius-pill); cursor: pointer; display: inline-flex; align-items: center; gap: 8px;
  transition: all .15s ease;
}
#ov .chip-btn:hover { border-color: var(--brand-primary); color: var(--brand-primary); }
#ov .chip-btn.on { background: var(--brand-primary); border-color: var(--brand-primary); color: #fff; }
#ov .cb-n { font-family: var(--font-en); font-weight: 700; font-size: 11px; opacity: .7; }
#ov .chip-btn.on .cb-n { opacity: .85; }
#ov .sort-btn { font-family: var(--font-jp); font-weight: var(--weight-medium); font-size: var(--w-small);
  color: var(--text-primary); background: var(--surface-teal-pale); border: none; padding: 9px 18px;
  border-radius: var(--radius-sm); cursor: pointer; white-space: nowrap; }
#ov .sort-btn:hover { background: var(--surface-teal-light); }
#ov .sort-dir { color: var(--brand-primary); font-family: var(--font-en); font-weight: 700; margin-left: 4px; }

#ov .dtable-wrap { overflow-x: auto; border: 1px solid var(--line-soft); border-radius: var(--radius-md); }
#ov .dtable { width: 100%; border-collapse: collapse; font-family: var(--font-jp); min-width: 760px; }
#ov .dtable thead th { background: var(--brand-primary-dark); color: #fff; font-weight: var(--weight-bold);
  font-size: var(--w-small); padding: 13px 14px; text-align: left; white-space: nowrap; }
#ov .dtable th.col-act { text-align: center; }
#ov .dtable td { padding: 12px 14px; border-bottom: 1px solid var(--line-soft); font-size: var(--w-small);
  color: var(--text-primary); vertical-align: middle; }
#ov .dtable tbody tr:nth-child(even) td { background: var(--surface-teal-pale); }
#ov .dtable tbody tr:hover td { background: var(--surface-teal-light); }
#ov .area-pill { display: inline-block; font-size: 11px; font-weight: 700; color: var(--brand-primary-dark);
  background: var(--surface-teal-light); padding: 3px 10px; border-radius: var(--radius-pill); white-space: nowrap; }
#ov .col-name { font-weight: var(--weight-bold); }
#ov .row-note { display: block; font-weight: var(--weight-regular); font-size: 11px; color: var(--text-muted); margin-top: 2px; }
#ov .dtable td.t-before { font-family: var(--font-en); color: var(--text-muted); text-decoration: line-through; white-space: nowrap; font-size: 13px; }
#ov .dtable td.t-after { font-family: var(--font-en); font-weight: 700; color: var(--brand-primary-dark); white-space: nowrap; font-size: 13px; }
#ov .ta-arrow { color: var(--accent-red); margin-right: 6px; }
#ov .auto-tag { font-family: var(--font-jp); font-weight: 700; font-size: 11px; color: var(--brand-primary);
  background: var(--surface-teal-light); padding: 2px 8px; border-radius: var(--radius-sm); }
#ov .redux-cell { display: flex; align-items: center; gap: 8px; min-width: 130px; }
#ov .redux-bar { flex: 1; height: 7px; background: var(--line-soft); border-radius: var(--radius-pill); overflow: hidden; }
#ov .redux-bar span { display: block; height: 100%; background: linear-gradient(90deg, var(--brand-primary-light), var(--accent-red)); border-radius: inherit; }
#ov .redux-cell b { font-family: var(--font-en); font-weight: 900; font-size: 14px; color: var(--accent-red); white-space: nowrap; }
#ov .redux-na { font-size: 11px; color: var(--text-muted); }
#ov .col-q { color: var(--text-primary); line-height: 1.55; min-width: 220px; }
#ov .tbl-src { margin: 12px 0 0; }

#ov .policy-recap { display: flex; align-items: center; gap: 18px; margin-top: clamp(34px,5vh,52px);
  background: var(--brand-primary-dark); border-radius: var(--radius-md); padding: 26px 30px; }
#ov .recap-bar { flex: 0 0 6px; align-self: stretch; background: var(--accent-coral); border-radius: var(--radius-pill); }
#ov .policy-recap p { margin: 0; color: #fff; font-size: var(--w-h3); font-weight: var(--weight-bold); line-height: 1.5; }
#ov .policy-recap strong { color: var(--brand-primary-light); }

/* ============================== MECHANISMS (S8) ============================== */
#ov .mech-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(16px,2vw,24px); }
@media (max-width: 760px) { #ov .mech-grid { grid-template-columns: 1fr; } }
#ov .mech-card { position: relative; background: #fff; border: 1px solid var(--line-soft);
  border-radius: var(--radius-md); padding: 30px 28px; overflow: hidden; }
#ov .mech-n { position: absolute; right: 18px; top: 8px; font-family: var(--font-en); font-weight: 900;
  font-size: 84px; color: var(--surface-teal-pale); line-height: 1; z-index: 0; }
#ov .mech-lead, #ov .mech-title, #ov .mech-body { position: relative; z-index: 1; }
#ov .mech-lead { font-weight: var(--weight-bold); font-size: var(--w-small); color: var(--brand-primary); margin-bottom: 8px; }
#ov .mech-title { font-weight: var(--weight-heavy); font-size: var(--w-h3); color: var(--text-primary); margin: 0 0 12px; line-height: 1.4; max-width: 86%; }

/* SWELL 由来の h3 中央寄せを打ち消し、LP内の h3 見出しは全て左揃えに統一。
   （closing-title / ac-title / sec-title は h2 のため対象外） */
#ov .od-card-title,
#ov .pd-name,
#ov .sc-modal-title,
#ov .showcase-title,
#ov .mech-title,
#ov .case-name,
#ov .diff-title { text-align: left; }
#ov .mech-body { font-size: var(--w-small); line-height: 1.75; color: var(--text-primary); margin: 0; }

#ov .qproof-head { margin-top: clamp(40px,6vh,72px); margin-bottom: clamp(20px,3vh,32px); }
#ov .qproof { display: flex; align-items: center; justify-content: center; gap: clamp(24px,5vw,72px);
  flex-wrap: wrap; margin-top: 0; background: var(--surface-teal-pale);
  border-radius: var(--radius-lg); padding: clamp(30px,4vw,46px); position: relative; }
#ov .qproof-item { display: flex; align-items: baseline; gap: 16px; }
/* ラベルを左・数値を右に表示（order でマークアップ順を入替）。 */
#ov .qproof-label { order: 1; text-align: right; }
#ov .qproof-num   { order: 2; }
#ov .qproof-num { font-family: var(--font-en); font-weight: 900; font-size: clamp(54px,8vw,104px);
  color: var(--accent-red); line-height: 1; letter-spacing: -0.02em; }
#ov .qproof-label { font-weight: var(--weight-bold); font-size: var(--w-body); color: var(--text-primary); line-height: 1.35; }
#ov .qproof-x { width: 1px; height: 70px; background: var(--line-medium); }
#ov .qproof-cap { position: absolute; bottom: 14px; right: 22px; font-size: 12px; color: var(--text-muted); }
@media (max-width: 700px) { #ov .qproof-x { display: none; } #ov .qproof-cap { position: static; margin-top: 10px; flex-basis: 100%; text-align: center; } }

/* ---- Output showcase ---- */
#ov .showcase-wrap { margin-top: clamp(40px,6vh,72px); }
#ov .showcase-head { margin-bottom: clamp(24px,3.5vh,40px); }
#ov .showcase-title { font-family: var(--font-jp); font-weight: var(--weight-heavy);
  font-size: var(--w-h3); color: var(--text-primary); margin: 8px 0 10px; line-height: 1.3; letter-spacing: var(--ls-title); }
#ov .showcase-title .accent { color: var(--brand-primary); }
#ov .showcase-lead { font-size: var(--w-small); line-height: 1.7; color: var(--text-primary); margin: 0; max-width: 720px; }

#ov .showcase-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(18px,2.4vw,32px); }
@media (max-width: 760px) { #ov .showcase-grid { grid-template-columns: 1fr; } }
#ov .showcase-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line-soft);
  border-radius: var(--radius-md); overflow: hidden; }

#ov .sc-thumb { position: relative; display: block; width: 100%; padding: 0; border: none; cursor: pointer;
  background: var(--surface-teal-pale); aspect-ratio: 16 / 9; overflow: hidden; }
#ov .sc-thumb img, #ov .sc-thumb .sc-thumb-img { width: 100%; height: 100%; object-fit: cover; object-position: top center; display: block;
  transition: transform .4s cubic-bezier(.2,.7,.2,1); }
#ov .sc-thumb .img-skeleton { background: linear-gradient(135deg, var(--surface-teal-light), var(--surface-teal-pale)); }
#ov .sc-thumb-overlay { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  background: linear-gradient(180deg, rgba(0,166,172,.10), rgba(0,166,172,.22));
  opacity: .96; transition: background .25s ease; }
#ov .sc-thumb:hover img { transform: scale(1.04); }
#ov .sc-thumb:hover .sc-thumb-overlay { background: linear-gradient(180deg, rgba(0,166,172,.18), rgba(0,166,172,.34)); }
#ov .sc-thumb-btn { display: inline-flex; align-items: center; gap: 9px; font-family: var(--font-jp);
  font-weight: var(--weight-bold); font-size: var(--w-small); color: var(--brand-primary-dark);
  background: rgba(255,255,255,.95); padding: 13px 26px; border-radius: var(--radius-pill);
  box-shadow: var(--shadow-card); transition: transform .2s ease; white-space: nowrap; }
#ov .sc-thumb:hover .sc-thumb-btn { transform: translateY(-2px); }
#ov .mag-icon { flex: 0 0 auto; color: var(--brand-primary); }

#ov .sc-card-body { padding: 22px 24px 24px; display: flex; flex-direction: column; flex: 1; }
#ov .sc-card-label { font-family: var(--font-en); font-weight: 900; font-size: 11px; letter-spacing: .12em;
  color: var(--brand-primary); margin-bottom: 8px; }
#ov .sc-card-title { font-family: var(--font-jp); font-weight: var(--weight-bold); font-size: var(--w-h3);
  color: var(--text-primary); margin: 0 0 8px; }
#ov .sc-card-desc { font-size: var(--w-small); color: var(--text-muted); margin: 0 0 18px; line-height: 1.6; }
#ov .sc-card-metric { margin-top: auto; padding-top: 16px; border-top: 1px solid var(--line-soft); }
#ov .sc-metric-label { font-size: 12px; color: var(--text-muted); margin-bottom: 4px; }
#ov .sc-metric-val { font-family: var(--font-en); font-weight: 900; font-size: clamp(26px,3vw,36px);
  color: var(--accent-red); line-height: 1; letter-spacing: -0.01em; }
#ov .sc-bang { margin-left: 2px; }

/* modal / lightbox */
#ov .sc-overlay { position: fixed; inset: 0; z-index: 200; background: rgba(27,27,43,.62);
  backdrop-filter: blur(3px); display: flex; align-items: flex-start; justify-content: center;
  padding: clamp(16px,4vh,56px) clamp(12px,4vw,40px); overflow-y: auto;
  animation: scFade .2s ease; }
@keyframes scFade { from { opacity: 0; } to { opacity: 1; } }
#ov .sc-modal { position: relative; width: min(960px, 100%); background: #fff; border-radius: var(--radius-lg);
  padding: clamp(26px,3.5vw,44px); box-shadow: var(--shadow-lift); animation: scPop .28s cubic-bezier(.2,.7,.2,1); }
@keyframes scPop { from { opacity: 0; transform: translateY(18px) scale(.98); } to { opacity: 1; transform: none; } }
#ov .sc-close { position: absolute; top: 18px; right: 18px; width: 42px; height: 42px; border-radius: 50%;
  border: 1px solid var(--line-medium); background: #fff; color: var(--text-primary); cursor: pointer;
  font-size: 24px; line-height: 1; display: flex; align-items: center; justify-content: center;
  transition: background .15s ease, color .15s ease; z-index: 1; }
#ov .sc-close:hover { background: var(--brand-primary); color: #fff; border-color: var(--brand-primary); }
#ov .sc-modal-head { max-width: 640px; margin-bottom: 24px; padding-right: 44px; }
#ov .sc-pill { display: inline-block; font-family: var(--font-en); font-weight: 900; font-size: 11px;
  letter-spacing: .12em; color: var(--brand-primary-dark); background: var(--surface-teal-light);
  padding: 6px 14px; border-radius: var(--radius-pill); margin-bottom: 14px; white-space: nowrap; }
#ov .sc-modal-title { font-family: var(--font-jp); font-weight: var(--weight-heavy); font-size: clamp(24px,3vw,34px);
  color: var(--text-primary); margin: 0 0 12px; letter-spacing: var(--ls-title); }
#ov .sc-modal-desc { font-size: var(--w-small); line-height: 1.75; color: var(--text-primary); margin: 0; }
#ov .sc-modal-body { display: flex; flex-direction: column; gap: 22px; }
#ov .sc-figure { margin: 0; background: var(--surface-teal-pale); border-radius: var(--radius-md);
  padding: clamp(14px,2vw,24px); }
#ov .sc-figure img, #ov .sc-figure .sc-fig-img { width: 100%; height: auto; display: block; border-radius: var(--radius-sm); box-shadow: var(--shadow-card); }
#ov .sc-figure .img-skeleton { min-height: 320px; border-radius: var(--radius-sm);
  background: linear-gradient(135deg, var(--surface-teal-light), var(--surface-teal-pale)); }
#ov .sc-figure figcaption { font-size: 12px; color: var(--text-muted); margin-top: 12px; text-align: center; }
#ov .sc-modal-foot { margin-top: 20px; padding-top: 16px; border-top: 1px solid var(--line-soft); text-align: right; }

/* ============================== CASES (S9) ============================== */
#ov .case-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px,2vw,26px); }
@media (max-width: 900px) { #ov .case-grid { grid-template-columns: 1fr; } }
#ov .case-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line-soft);
  border-top: 5px solid var(--brand-primary); border-radius: var(--radius-md); padding: 26px 26px 22px;
  transition: box-shadow .2s ease, transform .2s ease; }
#ov .case-card:hover { box-shadow: var(--shadow-lift); transform: translateY(-3px); }
#ov .case-tag { align-self: flex-start; font-weight: var(--weight-bold); font-size: 12px; color: #fff;
  background: var(--accent-coral); padding: 5px 14px; border-radius: var(--radius-pill); margin-bottom: 14px; }
#ov .case-name { font-weight: var(--weight-heavy); font-size: var(--w-h3); color: var(--text-primary); margin: 0 0 4px; }
#ov .case-kind { font-size: var(--w-small); color: var(--text-muted); margin-bottom: 18px; }
#ov .case-metrics { display: flex; flex-direction: column; gap: 16px; padding: 18px 0; border-top: 1px solid var(--line-soft); }
#ov .cmetric { display: flex; align-items: baseline; justify-content: space-between; gap: 14px; }
#ov .cm-big { font-family: var(--font-en); font-weight: 900; font-size: clamp(18px,1.9vw,23px); color: var(--accent-red); line-height: 1.2; flex: 1 1 auto; }
#ov .cm-small { font-size: 12px; color: var(--text-muted); text-align: right; line-height: 1.4; flex: 0 0 auto; max-width: 40%; }
#ov .case-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px;
  margin-top: auto; padding-top: 16px; border-top: 1px solid var(--line-soft); }
#ov .case-foot .src-tag { white-space: nowrap; }
#ov .cases-cta { margin-top: clamp(28px,4vh,42px); text-align: center; }

/* ============================== COMPARISON (S10) ============================== */
#ov .diff-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px,2vw,24px); margin-bottom: clamp(34px,5vh,52px); }
@media (max-width: 860px) { #ov .diff-grid { grid-template-columns: 1fr; } }
#ov .diff-card { background: var(--surface-teal-pale); border-radius: var(--radius-md); padding: 28px 26px; }
#ov .diff-n { width: 46px; height: 46px; display: flex; align-items: center; justify-content: center;
  font-family: var(--font-en); font-weight: 900; font-size: 22px; color: #fff;
  background: var(--brand-primary); border-radius: var(--radius-sm); margin-bottom: 16px; }
#ov .diff-title { font-weight: var(--weight-bold); font-size: var(--w-h3); color: var(--text-primary); margin: 0 0 10px; line-height: 1.4; }
#ov .diff-body { font-size: var(--w-small); line-height: 1.7; color: var(--text-primary); margin: 0; }

#ov .ctable-wrap { overflow-x: auto; }
#ov .ctable { width: 100%; border-collapse: collapse; font-family: var(--font-jp); min-width: 620px; }
#ov .ctable thead th { padding: 16px 18px; font-size: var(--w-small); font-weight: var(--weight-bold); text-align: left; }
#ov .ctable thead .c-aspect { background: transparent; color: var(--text-muted); width: 22%; }
#ov .ctable thead .c-other { background: var(--line-soft); color: var(--text-primary); }
#ov .ctable thead .c-shwat { background: var(--brand-primary-dark); color: #fff; width: 34%; }
#ov .ctable td { padding: 16px 18px; border-bottom: 1px solid var(--line-soft); font-size: var(--w-small); vertical-align: middle; }
#ov .ctable td.c-aspect { font-weight: var(--weight-bold); color: var(--text-primary); }
#ov .ctable td.c-other { color: var(--text-muted); }
#ov .ctable td.c-shwat { background: var(--surface-teal-pale); }
#ov .ctable tbody tr:last-child td { border-bottom: none; }
#ov .mark { font-family: var(--font-en); font-weight: 900; font-size: 22px; margin-right: 10px; display: inline-block; vertical-align: middle; }
#ov .mark.mk-best { color: var(--brand-primary); }
#ov .mark.mk-ok { color: var(--brand-primary-light); }
#ov .mark.mk-mid { color: var(--accent-gold); }
#ov .mark.mk-no { color: var(--accent-warning); }
#ov .mark.mk-text { font-family: var(--font-jp); font-size: var(--w-small); font-weight: 700; }
#ov .c-note { font-size: 13px; color: var(--text-primary); }
#ov .c-other .c-note, #ov .ctable td.c-other.mk-text { color: var(--text-muted); }
#ov .s-note { color: var(--brand-primary-dark); font-weight: var(--weight-medium); }
/* lighting-up ◎ in shwat column */
#ov .mark.lite { color: var(--brand-primary); opacity: 0; transform: scale(.4); transform-origin: center;
  transition: opacity .5s cubic-bezier(.2,.7,.2,1), transform .5s cubic-bezier(.2,.7,.2,1); }
#ov .mark.lite.lit { opacity: 1; transform: scale(1); }

/* ============================== ARTICLE CTA (集約導線) ============================== */
#ov .article-cta-sec { padding-top: 0; }
#ov .article-cta { display: flex; align-items: center; justify-content: space-between; gap: clamp(24px,4vw,56px);
  flex-wrap: wrap; background: var(--surface-teal-pale); border-radius: var(--radius-lg);
  padding: clamp(30px,4vw,52px) clamp(28px,4vw,56px); border-left: 6px solid var(--brand-primary); }
#ov .ac-text { flex: 1 1 460px; }
#ov .ac-title { font-family: var(--font-jp); font-weight: var(--weight-heavy); color: var(--text-primary);
  font-size: var(--w-h3); line-height: 1.35; letter-spacing: var(--ls-title); margin: 6px 0 12px; }
#ov .ac-lead { font-size: var(--w-small); line-height: 1.75; color: var(--text-primary); margin: 0; max-width: 680px; }
#ov .ac-btn { flex: 0 0 auto; white-space: nowrap; }
@media (max-width: 640px) { #ov .ac-btn { width: 100%; } }

/* ============================== CLOSING (S11) ============================== */
#ov .closing-sec { position: relative; overflow: hidden; background: var(--brand-primary-dark); color: #fff;
  padding: clamp(70px,11vh,140px) var(--gut); }
#ov .closing-blobs { position: absolute; inset: 0; pointer-events: none; }
#ov .closing-blobs .cblob { position: absolute; border-radius: 50%; filter: blur(60px); opacity: .4; }
#ov .closing-blobs .c1 { width: 420px; height: 420px; right: -100px; top: -120px;
  background: radial-gradient(circle, rgba(0,199,176,.7), rgba(0,199,176,0)); }
#ov .closing-blobs .c2 { width: 320px; height: 320px; left: -80px; bottom: -100px;
  background: radial-gradient(circle, rgba(255,74,51,.22), rgba(255,74,51,0)); }
#ov .closing-inner { position: relative; z-index: 1; text-align: center; }
#ov .closing-title { font-family: var(--font-jp); font-weight: var(--weight-heavy); color: #fff;
  font-size: var(--w-display); line-height: 1.35; letter-spacing: var(--ls-title); margin: 0 0 22px; }
#ov .closing-lead { font-size: var(--w-body); line-height: 1.85; color: rgba(255,255,255,.92);
  margin: 0 auto clamp(34px,5vh,46px); max-width: 680px; }
#ov .closing-cta { display: flex; flex-direction: column; align-items: center; gap: 14px; max-width: 560px; margin: 0 auto; }
#ov .closing-cta .btn { width: 100%; }
#ov .closing-readmore { margin-top: 24px; }
#ov .read-more.on-dark { color: #fff; }
#ov .read-more.on-dark:hover { border-color: rgba(255,255,255,.7); }

/* ============================== FOOTER ============================== */
#ov .foot-grid { display: flex; align-items: flex-start; justify-content: space-between; gap: 32px; flex-wrap: wrap; padding-bottom: 36px; }
#ov .foot-brand img { height: 38px; width: auto; margin-bottom: 14px; display: block; }
#ov .foot-tag { font-size: var(--w-small); color: rgba(255,255,255,.85); margin: 0; max-width: 320px; }
#ov .foot-links { display: flex; flex-wrap: wrap; gap: 8px 26px; }
#ov .foot-links a { font-size: var(--w-small); color: rgba(255,255,255,.9); text-decoration: none; }
#ov .foot-links a:hover { color: #fff; text-decoration: underline; }
#ov .foot-note { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  padding: 22px 0; border-top: 1px solid rgba(255,255,255,.18); font-size: 12px; color: rgba(255,255,255,.7); }

#ov .br-sp { display: none; }
@media (max-width: 640px) { #ov .br-sp { display: inline; } }

/* ============================== SP: TABLE 横スクロール維持 ============================== */
/* SWELL本体のスマホ用テーブル整形（td/tr を display:block 化）が #ov 内の表にも効き、
   min-width による横スクロールが無効化されてセルが縦1列に割れるのを打ち消す。
   #ov 内の dtable / ctable のみ、SP でも table レイアウトを強制する。 */
@media (max-width: 768px) {
  #ov .dtable-wrap,
  #ov .ctable-wrap { -webkit-overflow-scrolling: touch; }
  #ov .dtable,
  #ov .ctable { display: table !important; }
  #ov .dtable thead,
  #ov .ctable thead { display: table-header-group !important; }
  #ov .dtable tbody,
  #ov .ctable tbody { display: table-row-group !important; }
  #ov .dtable tr,
  #ov .ctable tr { display: table-row !important; }
  #ov .dtable th, #ov .dtable td,
  #ov .ctable th, #ov .ctable td { display: table-cell !important; }

  /* CJK は1文字単位で改行可のため、テキスト列の最小コンテンツ幅が「1文字」と判定され、
     nowrap 列や min-width 指定列に幅を奪われてセルが縦長（1〜2文字折返し）になる。
     テキスト列に min-width を与え、横スクロールで吸収させて自然な幅で表示する。 */
  #ov .dtable .col-name { min-width: 132px; }
  #ov .ctable .c-aspect { min-width: 96px; }
  #ov .ctable .c-other,
  #ov .ctable .c-shwat  { min-width: 168px; }
}
