/* crypto-cpa.jp 新プランLP — 本体HP（output/hp-renewal）のデザイントークンに準拠 */
:root {
  --bg: #FAFAF7;
  --bg-alt: #F3F2EC;
  --bg-ink: #0E1B3D;
  --bg-ink-deep: #08122A;
  --bg-ink-line: rgba(255, 255, 255, 0.1);
  --fg: #0E1013;
  --fg-soft: #3A3E45;
  --fg-muted: #6B7079;
  --line: #E4E2D8;
  --line-soft: #EDEBE2;
  --accent: #2E3E80; /* ロゴネイビー */
  --accent-ink: #ffffff;
  --accent-light: #8FA0D9; /* ダーク背景上の強調 */

  --f-jp-body: 'Noto Sans JP', 'Hiragino Kaku Gothic ProN', 'Yu Gothic', sans-serif;
  --f-jp-head: 'Zen Kaku Gothic New', 'Noto Sans JP', 'Hiragino Kaku Gothic ProN', sans-serif;
  --f-mono: 'JetBrains Mono', 'IBM Plex Mono', ui-monospace, monospace;
}

* {
  box-sizing: border-box;
}
html,
body {
  margin: 0;
  padding: 0;
  max-width: 100%;
}
html {
  scroll-behavior: smooth;
}
body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--f-jp-body);
  font-feature-settings: 'palt';
  font-size: 16px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}
a {
  color: inherit;
  text-decoration: none;
}
.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 56px);
}
.mono {
  font-family: var(--f-mono);
  letter-spacing: 0.04em;
  font-feature-settings: 'tnum' 1;
}

/* ---------- Eyebrow ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--f-mono);
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--fg-soft);
}
.eyebrow__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  display: inline-block;
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 20%, transparent);
}
.eyebrow--light {
  color: rgba(255, 255, 255, 0.78);
}
.eyebrow--light .eyebrow__dot {
  background: #fff;
  box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.2);
}

/* ---------- Section head ---------- */
.section {
  padding: clamp(64px, 8vw, 110px) 0;
}
.section.alt {
  background: var(--bg-alt);
}
.section-head {
  margin-bottom: 48px;
  max-width: 820px;
}
.section-head__title {
  font-family: var(--f-jp-head);
  font-weight: 700;
  font-size: clamp(26px, 3.2vw, 40px);
  line-height: 1.3;
  letter-spacing: 0.01em;
  margin: 18px 0 14px;
  position: relative;
}
.section-head__title::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 46px;
  height: 3px;
  background: var(--accent);
}
.section-head__sub {
  color: var(--fg-soft);
  font-size: 15px;
  max-width: 680px;
  margin: 14px 0 0;
}
.note {
  font-size: 13px;
  color: var(--fg-muted);
  line-height: 1.8;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 15px 26px;
  font-family: var(--f-jp-body);
  font-weight: 600;
  font-size: 15px;
  border: 1px solid transparent;
  border-radius: 2px;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.2, 0.7, 0.2, 1);
  white-space: nowrap;
}
.btn--lg {
  padding: 19px 34px;
  font-size: 16px;
}
.btn--primary {
  background: var(--accent);
  color: var(--accent-ink);
}
.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px -10px color-mix(in srgb, var(--accent) 60%, transparent);
}
.btn--primary:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}
.btn--ghost {
  background: transparent;
  color: var(--fg);
  border-color: var(--fg);
}
.btn--ghost:hover {
  background: var(--fg);
  color: var(--bg);
}
.btn__arrow {
  display: inline-block;
  transition: transform 0.3s;
}
.btn:hover .btn__arrow {
  transform: translateX(4px);
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: color-mix(in srgb, var(--bg) 92%, transparent);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.site-header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 14px;
  padding-bottom: 14px;
  gap: 12px;
}
.brand {
  display: inline-flex;
  align-items: center;
}
.logo-img {
  height: 40px;
  width: auto;
  display: block;
}
.header-cta {
  font-size: 13px;
  padding: 10px 18px;
}
@media (max-width: 720px) {
  body:not(.quote-page) .site-header .container { gap: 8px; }
  body:not(.quote-page) .site-header .brand { flex: 1 1 auto; min-width: 0; }
  body:not(.quote-page) .site-header .logo-img { width: 276px; max-width: 100%; height: auto; }
  .site-header .header-cta { flex: 0 0 auto; font-size: 12px; padding: 10px; min-height: 44px; gap: 6px; }
}

/* ---------- Hero ---------- */
.hero {
  background: linear-gradient(135deg, var(--bg-ink) 0%, var(--bg-ink-deep) 100%);
  color: #F4F2EC;
  padding: clamp(80px, 10vw, 140px) 0 clamp(64px, 8vw, 110px);
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -80px;
  right: -60px;
  width: 420px;
  height: 420px;
  background: radial-gradient(circle, color-mix(in srgb, var(--accent) 55%, transparent), transparent 65%);
  filter: blur(50px);
  pointer-events: none;
}
.hero .container {
  position: relative;
}
.hero h1 {
  font-family: var(--f-jp-head);
  font-weight: 700;
  font-size: clamp(30px, 4.4vw, 56px);
  line-height: 1.3;
  letter-spacing: 0.01em;
  margin: 22px 0 20px;
  color: #fff;
}
.hero h1 em {
  font-style: normal;
  color: var(--accent-light);
}
.hero-note {
  max-width: 640px;
  font-size: 12.5px;
  color: rgba(244, 242, 236, 0.62);
  margin: -16px 0 26px;
}
.hero-lead {
  max-width: 640px;
  font-size: 15.5px;
  color: rgba(244, 242, 236, 0.86);
  margin: 0 0 28px;
}
.hero-price {
  display: flex;
  align-items: baseline;
  gap: 12px;
  flex-wrap: wrap;
  margin: 0 0 32px;
}
.hero-price__label {
  font-size: 14px;
  color: rgba(244, 242, 236, 0.75);
}
.hero-price__num {
  font-family: var(--f-jp-head);
  font-weight: 700;
  font-size: clamp(34px, 4.5vw, 52px);
  color: #fff;
  font-feature-settings: 'tnum' 1;
}
.hero-price__tax {
  font-size: 13px;
  color: rgba(244, 242, 236, 0.65);
}

/* ---------- Price blocks（本体HPの price-block パターン） ---------- */
.price-base {
  background: linear-gradient(135deg, var(--bg-ink) 0%, var(--bg-ink-deep) 100%);
  color: #F4F2EC;
  padding: clamp(26px, 4vw, 40px);
  margin-bottom: 32px;
  position: relative;
  overflow: hidden;
}
.price-base::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 260px;
  height: 260px;
  background: radial-gradient(circle, color-mix(in srgb, var(--accent) 50%, transparent), transparent 65%);
  filter: blur(40px);
  pointer-events: none;
}
.price-base__tag {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.32em;
  color: color-mix(in srgb, var(--accent) 30%, white);
  margin-bottom: 14px;
  position: relative;
}
.price-base__row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 24px;
  flex-wrap: wrap;
  position: relative;
}
.price-base__t {
  font-family: var(--f-jp-head);
  font-weight: 700;
  font-size: clamp(18px, 2.2vw, 24px);
  color: #fff;
  margin: 0;
}
.price-base__d {
  font-size: 13px;
  color: rgba(244, 242, 236, 0.75);
  margin: 8px 0 0;
  max-width: 560px;
}
.price-base__p {
  font-family: var(--f-jp-head);
  font-weight: 700;
  font-size: clamp(30px, 3.6vw, 42px);
  color: #fff;
  white-space: nowrap;
  font-feature-settings: 'tnum' 1;
}
.price-base__p small {
  font-size: 13px;
  font-weight: 500;
  color: rgba(244, 242, 236, 0.65);
  margin-left: 6px;
}
.price-base__includes {
  list-style: none;
  margin: 20px 0 0;
  padding: 16px 0 0;
  border-top: 1px solid var(--bg-ink-line);
  position: relative;
  display: grid;
  gap: 8px;
}
.price-base__includes li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 14.5px;
  color: rgba(244, 242, 236, 0.92);
}
.price-base__includes .check {
  color: var(--accent-light);
  font-weight: 700;
  flex-shrink: 0;
}

.price-block {
  background: #fff;
  border: 1px solid var(--line);
  margin-bottom: 28px;
}
.price-block__head {
  background: var(--fg);
  color: var(--bg);
  padding: 16px 26px;
  display: flex;
  align-items: center;
  gap: 14px;
}
.price-block__head .mono {
  font-size: 11px;
  letter-spacing: 0.22em;
  opacity: 0.7;
}
.price-block__head h3 {
  font-family: var(--f-jp-head);
  font-weight: 700;
  font-size: 17px;
  margin: 0;
}
.price-block__caption {
  margin: 0;
  padding: 14px 26px;
  font-size: 13.5px;
  color: var(--fg-soft);
  background: color-mix(in srgb, var(--accent) 5%, #fff);
  border-bottom: 1px solid var(--line-soft);
}
.price-subhead {
  padding: 12px 26px;
  background: var(--bg-alt);
  border-top: 1px solid var(--line-soft);
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--fg-muted);
  text-transform: uppercase;
}
.price-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  padding: 18px 26px;
  border-top: 1px solid var(--line-soft);
  align-items: center;
}
.price-row__t {
  font-family: var(--f-jp-head);
  font-weight: 600;
  font-size: 15px;
}
.price-row__d {
  font-size: 12.5px;
  color: var(--fg-soft);
  margin-top: 3px;
  line-height: 1.7;
}
.price-row__p {
  text-align: right;
  font-family: var(--f-jp-head);
  font-weight: 700;
  font-size: 15.5px;
  white-space: nowrap;
  font-feature-settings: 'tnum' 1;
}
.price-row__p--consult {
  color: var(--fg-muted);
  font-weight: 600;
}
.price-included {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 12px 26px;
  border-top: 1px solid var(--line-soft);
  font-size: 14.5px;
}
.price-included:first-of-type {
  padding-top: 18px;
}
.price-included .check {
  color: var(--accent);
  font-weight: 700;
  flex-shrink: 0;
}
.price-included__d {
  font-size: 12.5px;
  color: var(--fg-soft);
}

/* ---------- Estimate ---------- */
.estimate-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  align-items: start;
}
.estimate-form {
  background: #fff;
  border: 1px solid var(--line);
  padding: clamp(20px, 3vw, 30px);
  display: grid;
  gap: 16px;
}
.estimate-form label {
  display: grid;
  gap: 5px;
  font-family: var(--f-jp-head);
  font-size: 13.5px;
  font-weight: 600;
}
.estimate-form input[type='number'],
.estimate-form input[type='text'],
.estimate-form input[type='email'],
.estimate-form select {
  font-family: var(--f-jp-body);
  font-size: 15px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 2px;
  width: 100%;
  background: var(--bg);
}
.estimate-form input:focus,
.estimate-form select:focus {
  outline: 2px solid color-mix(in srgb, var(--accent) 45%, transparent);
  outline-offset: 0;
}
.estimate-form fieldset {
  border: 1px solid var(--line);
  border-radius: 2px;
  display: grid;
  gap: 8px;
  padding: 14px 16px;
  margin: 0;
}
.estimate-form legend {
  font-family: var(--f-jp-head);
  font-size: 12.5px;
  font-weight: 700;
  padding: 0 8px;
}
.estimate-form .check {
  display: flex;
  gap: 8px;
  align-items: center;
  font-family: var(--f-jp-body);
  font-weight: 400;
  font-size: 14px;
}
.estimate-form .check input {
  width: auto;
  accent-color: var(--accent);
}
.estimate-form .hint {
  font-family: var(--f-jp-body);
  font-weight: 400;
  font-size: 11.5px;
  color: var(--fg-muted);
  line-height: 1.6;
}
.estimate-result {
  background: #fff;
  border: 1px solid var(--line);
  border-top: 3px solid var(--accent);
  padding: clamp(20px, 3vw, 30px);
  position: sticky;
  top: 84px;
}
.estimate-result h3 {
  font-family: var(--f-jp-head);
  font-weight: 700;
  font-size: 17px;
  margin: 0 0 4px;
}
.estimate-result .mono-tag {
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 0.24em;
  color: var(--fg-muted);
  text-transform: uppercase;
}
.breakdown {
  width: 100%;
  border-collapse: collapse;
  margin-top: 12px;
}
.breakdown td {
  border-top: 1px solid var(--line-soft);
  padding: 10px 2px;
  vertical-align: top;
  font-size: 14px;
}
.breakdown tr:first-child td {
  border-top: 0;
}
.breakdown .amount {
  text-align: right;
  white-space: nowrap;
  font-family: var(--f-jp-head);
  font-weight: 700;
  font-feature-settings: 'tnum' 1;
  width: 8.5em;
}
.breakdown .detail {
  display: block;
  font-size: 11.5px;
  color: var(--fg-muted);
  font-weight: 400;
}
.quote-total-line {
  display: flex;
  justify-content: flex-end;
  align-items: baseline;
  gap: 10px;
  border-top: 2px solid var(--fg);
  padding-top: 14px;
  margin: 8px 0 0;
  font-size: 14px;
}
.quote-total-line strong {
  font-family: var(--f-jp-head);
  font-size: 30px;
  font-weight: 700;
  color: var(--accent);
  font-feature-settings: 'tnum' 1;
}
.quote-block {
  background: var(--bg-alt);
  border-left: 3px solid var(--accent);
  padding: 14px 18px;
  font-size: 13px;
  margin: 14px 0;
  line-height: 1.8;
}
.quote-block p {
  margin: 0 0 4px;
}
.quote-block ul {
  margin: 4px 0;
  padding-left: 20px;
}
.ref-note {
  color: var(--fg-soft);
  font-weight: 600;
}
.cta-area {
  display: grid;
  gap: 10px;
  margin: 18px 0 12px;
}

/* ---------- Examples ---------- */
.examples-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.example-card {
  background: #fff;
  border: 1px solid var(--line);
  border-top: 3px solid var(--accent);
  padding: 22px 24px;
}
.example-card .mono-tag {
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 0.24em;
  color: var(--fg-muted);
  text-transform: uppercase;
  display: block;
  margin-bottom: 8px;
}
.example-card h3 {
  font-family: var(--f-jp-head);
  font-weight: 700;
  font-size: 16px;
  margin: 0 0 4px;
}
.example-desc {
  font-size: 12.5px;
  color: var(--fg-soft);
  margin: 0 0 6px;
}
.example-card .breakdown td {
  font-size: 12.5px;
  padding: 7px 2px;
}
.example-card .amount {
  width: 7em;
}
.example-total {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  border-top: 2px solid var(--fg);
  padding-top: 10px;
  margin-top: 4px;
  font-size: 13px;
}
.example-total--top {
  border-top: 0;
  border-bottom: 2px solid var(--fg);
  padding: 0 0 10px;
  margin: 6px 0 0;
}
.example-total--top strong {
  font-size: 26px;
}
.example-total strong {
  font-family: var(--f-jp-head);
  font-size: 22px;
  color: var(--accent);
  font-feature-settings: 'tnum' 1;
}

/* ---------- Reveal（スクロールで遅れてフェードイン。本体HPと同挙動） ---------- */
.reveal {
  opacity: 1;
  transform: translateY(0);
  transition:
    opacity 0.9s cubic-bezier(0.2, 0.7, 0.2, 1),
    transform 0.9s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.js-enabled .reveal {
  opacity: 0;
  transform: translateY(24px);
}
.js-enabled .reveal--on {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- Strengths ---------- */
.strengths-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.strength-card {
  background: #fff;
  border: 1px solid var(--line);
  border-top: 3px solid var(--accent);
  padding: 24px 26px;
}
.strength-card .mono-tag {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.24em;
  color: var(--accent);
  display: block;
  margin-bottom: 10px;
}
.strength-card h3 {
  font-family: var(--f-jp-head);
  font-weight: 700;
  font-size: 17px;
  margin: 0 0 10px;
}
.strength-card p {
  font-size: 14px;
  color: var(--fg-soft);
  margin: 0;
}
.strength-card,
.example-card {
  transition:
    opacity 0.9s cubic-bezier(0.2, 0.7, 0.2, 1),
    transform 0.9s cubic-bezier(0.2, 0.7, 0.2, 1),
    background 0.25s,
    box-shadow 0.25s,
    border-color 0.25s;
}
.strength-card:hover,
.example-card:hover {
  background: color-mix(in srgb, var(--accent) 6%, #fff);
  border-top-color: var(--accent);
  box-shadow: 0 14px 34px -18px color-mix(in srgb, var(--accent) 55%, transparent);
  transform: translateY(-4px);
}
.strength-card:hover h3,
.example-card:hover h3 {
  color: var(--accent);
}
/* ---------- Compare table（施策③） ---------- */
.compare-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.compare-table {
  width: 100%;
  min-width: 640px;
  border-collapse: collapse;
  background: #fff;
  border: 1px solid var(--line);
  font-size: 14px;
}
.compare-table th,
.compare-table td {
  border: 1px solid var(--line);
  padding: 12px 16px;
  text-align: left;
  vertical-align: top;
}
.compare-table thead th {
  font-family: var(--f-jp-head);
  font-weight: 700;
  font-size: 13.5px;
  background: var(--bg-alt);
}
.compare-table tbody td:first-child {
  font-weight: 700;
  font-size: 13.5px;
  width: 22%;
  background: var(--bg-alt);
}
.compare-table tbody td:nth-child(2) {
  color: var(--fg-soft);
}
.compare-table .compare-table__ours {
  background: color-mix(in srgb, var(--accent) 6%, #fff);
  border-left: 2px solid var(--accent);
  font-weight: 600;
}
.compare-table thead .compare-table__ours {
  color: var(--accent);
}
.compare-note {
  margin-top: 12px;
  font-size: 12.5px;
  color: var(--fg-soft);
}

.ai-note {
  margin-top: 28px;
  background: var(--bg-alt);
  border-left: 3px solid var(--accent);
  padding: 18px 24px;
}
.ai-note h4 {
  font-family: var(--f-jp-head);
  font-weight: 700;
  font-size: 14.5px;
  margin: 0 0 6px;
}
.ai-note p {
  font-size: 13.5px;
  color: var(--fg-soft);
  margin: 0;
}
.ai-note a {
  color: var(--accent);
  text-decoration: underline;
}

/* ---------- Flow ---------- */
.flow-list {
  counter-reset: flow;
  list-style: none;
  margin: 0;
  padding: 0;
  max-width: 760px;
}
.flow-list li {
  counter-increment: flow;
  display: flex;
  gap: 18px;
  align-items: flex-start;
  padding: 16px 0;
  border-bottom: 1px solid var(--line-soft);
  font-size: 15px;
}
.flow-list li::before {
  content: counter(flow, decimal-leading-zero);
  font-family: var(--f-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--accent);
  border: 1px solid color-mix(in srgb, var(--accent) 40%, transparent);
  padding: 3px 8px;
  flex-shrink: 0;
  margin-top: 3px;
}

/* ---------- FAQ ---------- */
.faq-list {
  display: grid;
  gap: 16px;
  max-width: 820px;
}
.faq-item {
  background: #fff;
  border: 1px solid var(--line);
  padding: 20px 24px;
}
.faq-q {
  display: flex;
  gap: 12px;
  align-items: baseline;
  font-family: var(--f-jp-head);
  font-weight: 700;
  font-size: 15.5px;
  margin-bottom: 8px;
}
.faq-q .mono-tag {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--accent);
  flex-shrink: 0;
}
.faq-a {
  font-size: 14px;
  color: var(--fg-soft);
  padding-left: 34px;
  line-height: 1.8;
}

/* ---------- Footer（本体HPトップと同スタイル・項目は絞る） ---------- */
.footer {
  background: #0B0D10;
  color: rgba(255, 255, 255, 0.72);
  padding: 64px 0 0;
}
.footer__inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  padding-bottom: 48px;
}
@media (min-width: 880px) {
  .footer__inner {
    grid-template-columns: 2fr 1fr;
    gap: 88px;
  }
}
.footer__brand-name {
  font-family: var(--f-jp-head);
  font-weight: 700;
  font-size: 18px;
  color: #fff;
  margin: 0;
}
.footer__addr {
  font-size: 13px;
  line-height: 1.85;
  color: rgba(255, 255, 255, 0.6);
  margin: 20px 0 12px;
}
.footer__tel {
  font-size: 16px;
  color: #fff;
  letter-spacing: 0.1em;
  margin: 0;
}
.footer__h {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.5);
  letter-spacing: 0.22em;
  margin-bottom: 14px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
  text-transform: uppercase;
}
.footer__nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}
.footer__nav a {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.72);
  transition: color 0.15s;
}
.footer__nav a:hover {
  color: #fff;
  padding-left: 8px;
  transition: padding 0.25s, color 0.15s;
}
.footer__copy {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 22px 0;
}
.footer__copy .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.5);
}

/* ---------- Apply modal ---------- */
body.modal-open {
  overflow: hidden;
}
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(8, 18, 42, 0.55);
  z-index: 50;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 4vh 16px;
  overflow-y: auto;
}
.modal-overlay[hidden] {
  display: none;
}
.modal {
  background: var(--bg);
  border-top: 3px solid var(--accent);
  max-width: 640px;
  width: 100%;
  padding: clamp(20px, 3vw, 32px);
  position: relative;
  margin-bottom: 4vh;
}
.modal h3 {
  font-family: var(--f-jp-head);
  font-weight: 700;
  font-size: 20px;
  margin: 0 0 14px;
}
.modal-close {
  position: absolute;
  top: 12px;
  right: 14px;
  background: none;
  border: 0;
  font-size: 26px;
  line-height: 1;
  color: var(--fg-muted);
  cursor: pointer;
}
.modal-quote {
  background: #fff;
  border: 1px solid var(--line);
  padding: 14px 18px;
  margin-bottom: 18px;
}
.modal-quote .quote-total-line strong {
  font-size: 24px;
}
#apply-form {
  display: grid;
  gap: 14px;
}
#apply-form label {
  display: grid;
  gap: 4px;
  font-family: var(--f-jp-head);
  font-size: 13.5px;
  font-weight: 600;
}
#apply-form textarea {
  font-family: var(--f-jp-body);
  font-size: 15px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 2px;
  background: #fff;
  resize: vertical;
}
#apply-form input[type='text'],
#apply-form input[type='email'] {
  font-family: var(--f-jp-body);
  font-size: 15px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 2px;
  background: #fff;
}
#apply-form .hint {
  font-family: var(--f-jp-body);
  font-weight: 400;
  font-size: 11.5px;
  color: var(--fg-muted);
}
.terms-wrap .mono-tag {
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 0.24em;
  color: var(--fg-muted);
  text-transform: uppercase;
  display: block;
  margin-bottom: 6px;
}
.terms-box {
  background: #fff;
  border: 1px solid var(--line);
  height: 260px;
  overflow-y: auto;
  padding: 14px 18px;
  font-size: 12.5px;
  line-height: 1.8;
  color: var(--fg-soft);
}
.terms-box h2 {
  font-size: 15px;
  margin: 0 0 10px;
}
.terms-box h3 {
  font-size: 13px;
  margin: 16px 0 6px;
  color: var(--fg);
}
.terms-box table {
  border-collapse: collapse;
  width: 100%;
  font-size: 11.5px;
  margin: 8px 0;
}
.terms-box th,
.terms-box td {
  border: 1px solid var(--line);
  padding: 4px 8px;
  text-align: left;
}
.consent-check {
  font-size: 14.5px;
}
.consent-check input {
  accent-color: var(--accent);
  width: auto;
}
.modal-error {
  background: #FBEAEA;
  border-left: 3px solid #C0392B;
  color: #7B241C;
  padding: 10px 14px;
  font-size: 13.5px;
}

/* ---------- Doc pages (terms / tokusho / thanks) ---------- */
.doc-page {
  max-width: 820px;
  margin: 0 auto;
  padding: clamp(32px, 6vw, 64px) 20px 80px;
}
.doc-page h1 {
  font-family: var(--f-jp-head);
  font-weight: 700;
  font-size: clamp(24px, 3vw, 32px);
  border-left: 5px solid var(--accent);
  padding-left: 0.5em;
  margin: 0 0 28px;
}
.doc-body {
  font-size: 14.5px;
  line-height: 1.9;
  color: var(--fg-soft);
}
.doc-body h2 {
  font-family: var(--f-jp-head);
  font-size: 19px;
  color: var(--fg);
  margin: 36px 0 12px;
}
.doc-body h3 {
  font-family: var(--f-jp-head);
  font-size: 15.5px;
  color: var(--fg);
  margin: 26px 0 8px;
}
.doc-body table {
  border-collapse: collapse;
  width: 100%;
  font-size: 13px;
  margin: 12px 0;
  background: #fff;
}
.doc-body th,
.doc-body td {
  border: 1px solid var(--line);
  padding: 8px 12px;
  text-align: left;
  vertical-align: top;
}
.doc-body th {
  background: var(--bg-alt);
  font-family: var(--f-jp-head);
  white-space: nowrap;
}
.doc-back {
  display: inline-block;
  margin-bottom: 20px;
  font-size: 13px;
  color: var(--accent);
  text-decoration: underline;
}
.doc-banner {
  background: var(--bg-alt);
  border-left: 3px solid var(--accent);
  padding: 12px 16px;
  font-size: 13px;
  color: var(--fg-soft);
  margin-bottom: 24px;
}

@media (max-width: 860px) {
  .estimate-grid,
  .examples-grid,
  .strengths-grid {
    grid-template-columns: 1fr;
  }
  .estimate-result {
    position: static;
  }
  .price-row {
    grid-template-columns: 1fr;
    gap: 6px;
  }
  .price-row__p {
    text-align: left;
  }
}

/* ---------- Proof bar（実績帯・2026-09-03） ---------- */
.proof-bar {
  background: #fff;
  border-bottom: 1px solid var(--line);
}
.proof-bar__inner {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  padding-top: 18px;
  padding-bottom: 18px;
}
.proof-item {
  display: grid;
  gap: 2px;
  padding-left: 14px;
  border-left: 3px solid var(--accent);
}
.proof-item strong {
  font-family: var(--f-jp-head);
  font-size: 16px;
  font-weight: 700;
}
.proof-item span {
  font-size: 12.5px;
  color: var(--fg-muted);
}
@media (max-width: 720px) {
  .proof-bar__inner {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .proof-item strong {
    font-size: 15px;
  }
}

/* ---------- Profile card（担当者・2026-09-03） ---------- */
.profile-card {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 22px;
  align-items: center;
  background: #fff;
  border: 1px solid var(--line);
  border-left: 3px solid var(--accent);
  padding: 20px 24px;
  margin-bottom: 28px;
}
.profile-card__img {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  background: var(--bg-alt);
}
.profile-card__name {
  font-family: var(--f-jp-head);
  font-size: 19px;
  font-weight: 700;
  margin: 4px 0 8px;
}
.profile-card__name small {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--fg-muted);
  margin-left: 6px;
}
.profile-card__text {
  margin: 0 0 8px;
  font-size: 14px;
  line-height: 1.8;
}
.profile-card__meta {
  font-size: 11px;
  color: var(--fg-muted);
  margin: 0;
}
@media (max-width: 720px) {
  .profile-card {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
  }
  .profile-card__img {
    width: 96px;
    height: 96px;
  }
}

/* ---------- Scope（お取引の状況の段階表示・2026-09-03） ---------- */
.scope-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}
.scope-option {
  display: flex !important;
  gap: 10px;
  align-items: flex-start;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 2px;
  background: var(--bg);
  cursor: pointer;
  font-weight: 400 !important;
}
.scope-option:has(input:checked) {
  border-color: var(--accent);
  background: #fff;
  box-shadow: 0 0 0 1px var(--accent) inset;
}
.scope-option input {
  width: auto;
  margin-top: 3px;
  accent-color: var(--accent);
}
.scope-option strong {
  display: block;
  font-family: var(--f-jp-head);
  font-size: 14px;
}
.scope-option small {
  display: block;
  font-size: 11.5px;
  color: var(--fg-muted);
  line-height: 1.5;
}
.scope-group + .scope-group {
  margin-top: 14px;
}
@media (max-width: 720px) {
  .scope-grid {
    grid-template-columns: 1fr;
  }
}

/* ---------- Quote form（見積相談・2026-09-03） ---------- */
/* 条件表示の欄（ウォレットの数・証券口座数・FX口座数・過去の年数）は hidden 属性で出し分ける。
   .estimate-form label { display: grid } や .inline-num { display: flex } が UA の [hidden] より強いため明示する */
.quote-form [hidden] {
  display: none !important;
}
.quote-form .field-group {
  display: grid;
  gap: 8px;
}
.quote-form .field-group__title {
  font-family: var(--f-jp-head);
  font-size: 13.5px;
  font-weight: 700;
}
.quote-form .field-group__hint {
  font-family: var(--f-jp-body);
  font-size: 11.5px;
  color: var(--fg-muted);
  line-height: 1.6;
}
.quote-form .check-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px 14px;
}
.quote-form .check-grid .check {
  font-size: 13.5px;
}
.quote-form textarea {
  font-family: var(--f-jp-body);
  font-size: 15px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 2px;
  width: 100%;
  background: var(--bg);
  resize: vertical;
}
.quote-form .inline-num {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 400;
  font-size: 13.5px;
}
.quote-form .inline-num input {
  width: 5em;
}
.quote-form .consent-check {
  align-items: flex-start;
  line-height: 1.6;
}
.quote-form .req {
  display: inline-block;
  margin-left: 8px;
  padding: 1px 6px;
  font-size: 10.5px;
  font-weight: 700;
  color: #fff;
  background: #c0392b;
  border-radius: 2px;
  vertical-align: middle;
}
.quote-form .field-error {
  font-family: var(--f-jp-body);
  font-weight: 600;
  font-size: 12.5px;
  color: #c0392b;
}
.quote-form input.is-invalid {
  border-color: #c0392b;
  background: #fff8f6;
}
.quote-error {
  background: #fff3f0;
  border-left: 3px solid #c0392b;
  color: #7a1f14;
  padding: 10px 14px;
  font-size: 13px;
}
.quote-done {
  background: #fff;
  border: 1px solid var(--line);
  border-top: 3px solid var(--accent);
  padding: clamp(20px, 3vw, 30px);
}
.quote-done h3 {
  font-family: var(--f-jp-head);
  font-weight: 700;
  font-size: 18px;
  margin: 0 0 10px;
}
.quote-steps {
  margin: 12px 0 0;
  padding-left: 0;
  list-style: none;
  display: grid;
  gap: 12px;
}
.quote-steps li {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 10px;
  font-size: 14px;
  line-height: 1.7;
}
.quote-steps .step-no {
  font-family: var(--f-mono);
  font-size: 12px;
  color: var(--accent);
  border: 1px solid var(--accent);
  border-radius: 50%;
  width: 26px;
  height: 26px;
  display: inline-grid;
  place-items: center;
  margin-top: 2px;
}
.quote-terms {
  margin: 28px 0 8px;
  padding: 18px 22px;
  background: #fff;
  border: 1px solid var(--accent);
  border-left-width: 4px;
  border-radius: 8px;
  font-size: 14px;
  line-height: 1.8;
}
.quote-terms h4 { margin: 0 0 8px; font-size: 15px; }
.quote-terms ul { margin: 0; padding-left: 1.2em; }
.quote-terms li + li { margin-top: 6px; }
#quote-form-wrap .quote-terms { margin: 0 0 20px; }

.quote-sla {
  margin-top: 16px;
  padding: 12px 14px;
  background: var(--bg-alt);
  border-left: 3px solid var(--accent);
  font-size: 13px;
  line-height: 1.7;
}
@media (max-width: 720px) {
  .quote-form .check-grid {
    grid-template-columns: 1fr;
  }
}

/* ---------- Mobile collapse（スマホ折りたたみ・2026-09-03） ----------
   <details data-mobile-collapse open> を SSR し、720px 以下では JS が閉じる。PC では summary を隠して常時展開。 */
.collapse-mobile > summary {
  display: none;
}
.collapse-mobile > summary::-webkit-details-marker {
  display: none;
}
@media (max-width: 720px) {
  .collapse-mobile > summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    cursor: pointer;
    list-style: none;
    font-family: var(--f-jp-head);
    font-size: 13.5px;
    font-weight: 700;
    color: var(--accent);
    padding: 12px 14px;
    border: 1px solid var(--line);
    border-radius: 2px;
    background: #fff;
    margin: 6px 0;
  }
  .collapse-mobile > summary::after {
    content: '＋';
    font-size: 16px;
    line-height: 1;
  }
  .collapse-mobile[open] > summary::after {
    content: '－';
  }
}

/* 常時折りたたみ（PC でも summary を表示・初期は閉じる） */
.collapse-always > summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  cursor: pointer;
  list-style: none;
  font-family: var(--f-jp-head);
  font-size: 13.5px;
  font-weight: 700;
  color: var(--accent);
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 2px;
  background: #fff;
  margin: 6px 0;
}
.collapse-always > summary::-webkit-details-marker {
  display: none;
}
.collapse-always > summary::after {
  content: '＋';
  font-size: 16px;
  line-height: 1;
}
.collapse-always[open] > summary::after {
  content: '－';
}
.collapse-always[open] > .check-grid {
  margin-top: 8px;
}

/* FAQ アコーディオン（details 化）。PC は SSR の open で全展開、スマホは JS で閉じる */
details.faq-item > summary.faq-q {
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: flex-start;
  gap: 10px;
}
details.faq-item > summary.faq-q::-webkit-details-marker {
  display: none;
}
@media (max-width: 720px) {
  details.faq-item > summary.faq-q::after {
    content: '＋';
    margin-left: auto;
    color: var(--accent);
    flex: none;
  }
  details.faq-item[open] > summary.faq-q::after {
    content: '－';
  }
}

/* スマホ専用の固定CTA */
.sticky-cta {
  display: none;
}
@media (max-width: 720px) {
  .sticky-cta {
    position: fixed;
    left: 12px;
    right: 12px;
    bottom: 12px;
    z-index: 50;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
    padding: 13px 16px;
    background: var(--accent);
    color: #fff;
    text-decoration: none;
    font-family: var(--f-jp-head);
    font-weight: 700;
    font-size: 15px;
    border-radius: 4px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
    transition: transform 0.25s ease, opacity 0.25s ease;
  }
  .sticky-cta__sub {
    font-size: 11px;
    font-weight: 500;
    opacity: 0.9;
  }
  .sticky-cta--hidden {
    transform: translateY(120%);
    opacity: 0;
    pointer-events: none;
  }
  body {
    padding-bottom: 84px; /* 固定CTAに隠れないよう余白 */
  }
}


/* ---------- 見積専用ページ /quote/（2026-09-07） ---------- */
.quote-page .site-header .container { justify-content: space-between; }
.quote-page__back { font-size: 13px; color: var(--fg-muted); text-decoration: underline; text-underline-offset: 3px; }
.quote-page__back:hover { color: var(--accent); }
.quote-page__main { padding-top: 36px; }
.quote-page__container { max-width: 780px; }
.quote-page__title { font-size: clamp(24px, 3.4vw, 34px); line-height: 1.35; margin: 8px 0 14px; }
.quote-page__facts { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin: 0 0 12px; }
.quote-page__facts li { font-size: 13px; border: 1px solid var(--line); border-radius: 999px; padding: 5px 12px; background: #fff; color: var(--fg-soft); }
.quote-page__links { font-size: 13px; color: var(--fg-muted); margin: 0 0 22px; line-height: 1.8; }
.quote-page__links a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.quote-page #quote-form-wrap { max-width: none; }
.quote-terms--compact { padding: 12px 16px; font-size: 13px; line-height: 1.75; margin: 20px 0 14px; }
.quote-terms--compact p { margin: 0; }
.quote-terms--compact details { margin-top: 8px; }
.quote-terms--compact summary { cursor: pointer; color: var(--accent); font-size: 13px; }
.quote-terms--compact ul { margin: 8px 0 0; padding-left: 1.2em; }
.quote-terms--compact li + li { margin-top: 6px; }
.quote-page__after { margin-top: 36px; border-top: 1px solid var(--line); padding-top: 26px; }
.quote-page__after h2 { font-size: 18px; margin: 0 0 12px; }
.quote-steps--compact li { padding: 8px 0; }
.quote-page__details { margin-top: 16px; font-size: 13.5px; color: var(--fg-soft); line-height: 1.8; }
.quote-page__details summary { cursor: pointer; color: var(--accent); }
.quote-page__details p { margin: 10px 0 0; }
.quote-page .footer { margin-top: 40px; }

/* ---------- 紹介ページ側の見積案内ボックス（フォーム置換） ---------- */
.quote-cta-box { background: #fff; border: 1px solid var(--line); border-top: 3px solid var(--accent); padding: 24px 26px; }
.quote-cta-box__title { margin: 8px 0 8px; font-size: 19px; }
.quote-cta-box p { margin: 0 0 16px; font-size: 14px; line-height: 1.85; color: var(--fg-soft); }
.quote-cta-box__note { margin: 12px 0 0 !important; font-size: 12px !important; color: var(--fg-muted) !important; }

/* 必須バッジはラベル内で幅いっぱいに伸びないようにする */
.estimate-form label > .req, .estimate-form legend > .req { display: inline-block; width: auto; align-self: flex-start; margin-left: 6px; }
.quote-page__back { white-space: nowrap; }
@media (max-width: 480px) { .quote-page__back { font-size: 12px; } .quote-page .site-header .logo-img { width: 200px; height: auto; } }

/* ---------- PR動画（#video・2026-09-28） ----------
   ヒーロー＋実績帯の直後。左=見出し・内容、右=動画（900px以下は 見出し→動画→内容 の縦積み）。
   再生前は自前サムネイル＋CSSの再生ボタン（YouTube へは通信しない）。再生ボタンはサムネイル右下の余白に置く
   （画像中央は「確定申告」の文字、右側中段は顔写真のため）。720px以下は再生ボタンが小さくなるので、
   サムネイルの下に「動画を再生」のバー（ボタンの一部）を足す（画像の文字にはかぶせない）。 */
.main-lp .lp-video { background: var(--bg); }
.lp-video__inner {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  grid-template-rows: auto 1fr;
  grid-template-areas: 'head media' 'list media';
  column-gap: 48px;
}
.lp-video__head { grid-area: head; }
.lp-video__media { grid-area: media; align-self: center; min-width: 0; }
.lp-video__chapters { grid-area: list; align-self: start; }
.main-lp .lp-video .section-head { margin-bottom: 22px; }
.main-lp .lp-video .section-head__title { font-size: clamp(22px, 2.3vw, 28px); margin: 14px 0 0; text-wrap: balance; }
.lp-video__line { display: block; }
.main-lp .lp-video .section-head__sub { font-size: 14px; line-height: 1.9; margin-top: 14px; }
.lp-video__chapters {
  list-style: none;
  margin: 0;
  padding: 0;
  border-bottom: 1px solid var(--line);
  font-size: 13px;
  color: var(--fg-soft);
}
.lp-video__chapters li {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 8px;
  padding: 8px 0;
  border-top: 1px solid var(--line);
  line-height: 1.7;
}
.lp-video__chapters .mono { color: var(--accent); font-size: 12px; }
.lp-video__note { margin: 12px 0 0; font-size: 12px; color: var(--fg-muted); line-height: 1.8; }
.lp-video__note a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; } /* JS なし向けの「YouTubeで動画を見る」 */

/* 16:9 の枠（再生前・再生後とも同じ大きさ＝レイアウトのずれなし） */
.pr-video {
  position: relative;
  aspect-ratio: 16 / 9;
  background: var(--bg-ink);
  border-radius: 2px;
  box-shadow: 0 24px 48px -30px rgba(8, 18, 42, 0.6);
}
@supports not (aspect-ratio: 16 / 9) {
  .pr-video::before { content: ''; display: block; padding-top: 56.25%; }
}
.pr-video__facade {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: inherit;
  background: none;
  cursor: pointer;
  text-align: left;
}
/* サムネイルの表示枠（16:9）。拡大ホバーのはみ出しはここで切る。再生ボタンもこの枠を基準に置く */
.pr-video__art {
  position: absolute;
  inset: 0;
  display: block;
  overflow: hidden;
  border-radius: inherit;
}
.pr-video__facade img,
.pr-video iframe {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}
.pr-video__facade img { object-fit: cover; transition: transform 0.6s cubic-bezier(0.2, 0.7, 0.2, 1); }
.pr-video__facade:hover img { transform: scale(1.015); }
.pr-video__facade:focus-visible { outline: 3px solid var(--accent); outline-offset: 4px; }
/* 再生ボタン（円・三角はCSSで描画）。幅と padding-top を同じ%にして正円にする。
   サムネイル（1280×720）の右下の空き（名前「村上 裕一」の右・資格の行の下）に収まる大きさに固定比率で置く
   ＝ 画像座標でおよそ x 1146〜1251・y 603〜708。どの画面幅でも文字や顔に重ならない（再生はサムネイル全体で受ける） */
.pr-video__play {
  position: absolute;
  right: 2.3%;
  bottom: 1.6%;
  width: 8.2%;
  height: 0;
  padding-top: 8.2%;
  border-radius: 50%;
  background: var(--bg);
  box-shadow: 0 6px 18px rgba(8, 18, 42, 0.45), 0 0 0 1px rgba(255, 255, 255, 0.55);
  transition: transform 0.25s cubic-bezier(0.2, 0.7, 0.2, 1), background-color 0.25s;
}
.pr-video__play::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 54%;
  width: 32%;
  height: 36%;
  transform: translate(-50%, -50%);
  background: var(--bg-ink);
  clip-path: polygon(0 0, 100% 50%, 0 100%);
  transition: background-color 0.25s;
}
.pr-video__facade:hover .pr-video__play,
.pr-video__facade:focus-visible .pr-video__play { transform: scale(1.08); background: var(--accent); }
.pr-video__facade:hover .pr-video__play::before,
.pr-video__facade:focus-visible .pr-video__play::before { background: #fff; }
/* 720px以下だけ表示する「動画を再生」バー（下の @media で表示） */
.pr-video__bar { display: none; }
/* 動画IDが未設定のまま押された場合だけ出る表示（本番はビルドと deploy_lp.sh の検査で未設定を防ぐ） */
.pr-video__pending {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  margin: 0;
  padding: 0 16px;
  background: rgba(8, 18, 42, 0.78);
  color: #fff;
  font-size: 14px;
  text-align: center;
  border-radius: inherit;
  pointer-events: none;
}

/* お悩みセクションの下の「動画でまとめて見る」リンク（押すと #video までスクロールして再生） */
.lp-video-cue { margin: 18px 0 0; text-align: center; }
.lp-video-link {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  max-width: 100%;
  padding: 6px 20px 6px 6px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 2px;
  color: var(--accent);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
  transition: border-color 0.25s, box-shadow 0.25s;
}
.lp-video-link:hover { border-color: var(--accent); box-shadow: 0 10px 24px -18px rgba(14, 27, 61, 0.6); }
.lp-video-link:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
.lp-video-link__thumb { display: block; flex: none; width: 96px; height: 54px; object-fit: cover; border-radius: 1px; }
.lp-video-link__icon {
  display: inline-block;
  width: 9px;
  height: 10px;
  margin-right: 8px;
  background: currentColor;
  clip-path: polygon(0 0, 100% 50%, 0 100%);
}

@media (max-width: 900px) {
  .lp-video__inner { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto; grid-template-areas: 'head' 'media' 'list'; }
  .lp-video__chapters { margin-top: 22px; }
}
@media (max-width: 720px) {
  /* 再生バーの分（44px）＋注記との間（12px）を枠の下に空けておく（注記の margin-top と相殺されるため合計で指定）。再生後は不要 */
  .pr-video:not([data-state='playing']) { margin-bottom: 56px; box-shadow: none; }
  .pr-video__facade { bottom: auto; height: auto; }
  .pr-video__art { position: relative; inset: auto; aspect-ratio: 16 / 9; border-radius: 2px 2px 0 0; }
  .pr-video__bar {
    display: flex;
    align-items: center;
    gap: 10px;
    height: 44px;
    padding: 0 14px 0 10px;
    background: var(--bg-ink-deep);
    color: #fff;
    font-size: 13.5px;
    font-weight: 600;
    letter-spacing: 0.04em;
    line-height: 1;
    border-radius: 0 0 2px 2px;
    box-shadow: 0 24px 48px -30px rgba(8, 18, 42, 0.6);
    transition: background-color 0.25s;
  }
  .pr-video__bar-icon {
    position: relative;
    flex: none;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: #fff;
  }
  .pr-video__bar-icon::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 55%;
    width: 9px;
    height: 10px;
    transform: translate(-50%, -50%);
    background: var(--bg-ink-deep);
    clip-path: polygon(0 0, 100% 50%, 0 100%);
  }
  .pr-video__bar-time { margin-left: auto; font-weight: 500; font-size: 12.5px; color: var(--accent-light); letter-spacing: 0.02em; }
  .pr-video__facade:hover .pr-video__bar,
  .pr-video__facade:focus-visible .pr-video__bar { background: var(--accent); }
  .main-lp .lp-video .section-head { margin-bottom: 18px; }
  .main-lp .lp-video .section-head__sub { font-size: 13.5px; }
  .lp-video__chapters { font-size: 12.5px; }
  .lp-video__chapters li { grid-template-columns: 42px 1fr; padding: 7px 0; }
  .lp-video-link { gap: 12px; padding-right: 14px; font-size: 13px; }
  .lp-video-link__thumb { width: 80px; height: 45px; }
}
@supports not (aspect-ratio: 16 / 9) {
  @media (max-width: 720px) { .pr-video__art { height: 0; padding-top: 56.25%; } }
}
@media (prefers-reduced-motion: reduce) {
  .pr-video__facade img, .pr-video__play, .pr-video__play::before, .pr-video__bar, .lp-video-link { transition: none; }
  .pr-video__facade:hover img { transform: none; }
}
