:root {
  --paper: #f7f2e9;
  --paper-light: #fffdf8;
  --ink: #171715;
  --ink-soft: #5c5750;
  --red: #c92f27;
  --indigo: #233f6a;
  --line: rgba(23, 23, 21, 0.16);
  --font-ui: "Manrope", "Helvetica Neue", Arial, sans-serif;
  --font-hand: "Kalam", "Trebuchet MS", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; min-width: 320px; color: var(--ink); background: var(--paper); font-family: var(--font-ui); line-height: 1.65; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
.skip-link { position: fixed; top: 8px; left: 8px; z-index: 10; padding: 8px 12px; color: #fff; background: var(--ink); transform: translateY(-150%); }
.skip-link:focus { transform: translateY(0); }

.content-header { position: sticky; top: 0; z-index: 5; display: grid; grid-template-columns: 1fr auto; align-items: center; min-height: 76px; padding: 12px clamp(22px, 5vw, 76px); background: rgba(247, 242, 233, 0.96); border-bottom: 1px solid var(--line); backdrop-filter: blur(12px); }
.content-brand { display: inline-flex; flex-direction: column; width: fit-content; font-weight: 800; line-height: .9; }
.content-brand strong { font-family: var(--font-hand); font-size: 28px; }
.content-brand strong span, .content-brand small { color: var(--red); }
.content-brand small { margin-top: 7px; font-size: 8px; letter-spacing: .32em; }
.content-header nav, .content-footer nav { display: flex; flex-wrap: wrap; gap: 24px; align-items: center; font-size: 13px; font-weight: 800; }
.content-header nav a:hover, .content-footer nav a:hover { color: var(--red); }

.content-main { width: min(1180px, calc(100% - 40px)); margin: 0 auto; }
.content-breadcrumbs { display: flex; align-items: center; flex-wrap: wrap; gap: 9px; margin: 28px 0 0; color: var(--ink-soft); font-size: 12px; font-weight: 700; letter-spacing: .03em; }
.content-breadcrumbs a { color: var(--indigo); }
.content-breadcrumbs a:hover { text-decoration: underline; text-underline-offset: 3px; }
.content-breadcrumbs span { color: #a17625; }
.content-hero { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(260px, .7fr); gap: 56px; align-items: end; padding: clamp(72px, 11vw, 150px) 0 70px; border-bottom: 1px solid var(--line); }
.content-hero.compact-hero { grid-template-columns: 1fr; max-width: 850px; align-items: start; }
.content-kicker, .article-label { margin: 0 0 14px; color: var(--red); font-size: 12px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.content-hero h1, .article-header h1 { max-width: 920px; margin: 0; font-family: var(--font-hand); font-size: clamp(48px, 7vw, 104px); line-height: .98; letter-spacing: 0; }
.content-hero p { max-width: 680px; margin: 26px 0 0; color: var(--ink-soft); font-size: clamp(18px, 2vw, 24px); }
.hero-aside { padding: 28px 0 8px 28px; border-left: 3px solid var(--red); }
.hero-aside strong { display: block; font-family: var(--font-hand); font-size: 28px; line-height: 1.1; }
.hero-aside span { display: block; margin-top: 12px; color: var(--ink-soft); }

.trust-grid, .notes-index { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; margin: 0 0 80px; background: var(--line); border: 1px solid var(--line); }
.trust-grid article, .notes-index article { min-height: 260px; padding: clamp(28px, 4vw, 52px); background: var(--paper-light); }
.trust-grid article > p:first-child, .notes-index article > p:first-child { margin: 0 0 20px; color: var(--red); font-size: 11px; font-weight: 800; letter-spacing: .12em; }
.trust-grid h2, .trust-grid h3, .notes-index h2 { margin: 0 0 16px; font-family: var(--font-hand); font-size: clamp(28px, 3vw, 42px); line-height: 1.08; }
.trust-grid article p, .notes-index article p { color: var(--ink-soft); }
.trust-grid article a, .notes-index article a, .source-list a { display: inline-flex; margin-top: 18px; padding-bottom: 4px; color: var(--red); border-bottom: 2px solid currentColor; font-weight: 800; }

.content-section { padding: 76px 0; border-bottom: 1px solid var(--line); }
.content-section.narrow { max-width: 850px; }
.content-section h2 { margin: 0 0 22px; font-family: var(--font-hand); font-size: clamp(34px, 4.2vw, 58px); line-height: 1.08; }
.content-section h3 { margin: 34px 0 10px; font-size: 19px; }
.content-section p, .content-section li { color: var(--ink-soft); }
.content-section li + li { margin-top: 10px; }
.content-section a:not(.content-button) { color: var(--red); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.policy-callout { margin: 30px 0; padding: 24px 28px; background: var(--paper-light); border-left: 4px solid var(--red); }
.policy-callout strong { display: block; margin-bottom: 6px; }
.policy-callout p { margin: 0; }

.article-main { width: min(1100px, calc(100% - 40px)); margin: 0 auto; }
.article-header { max-width: 900px; padding: clamp(72px, 10vw, 128px) 0 54px; }
.article-header h1 { font-size: clamp(46px, 6.8vw, 88px); }
.article-summary { max-width: 740px; margin: 26px 0; color: var(--ink-soft); font-size: clamp(18px, 2vw, 23px); }
.article-meta { display: flex; flex-wrap: wrap; gap: 10px 22px; padding-top: 22px; color: var(--ink-soft); border-top: 1px solid var(--line); font-size: 12px; font-weight: 700; }
.article-layout { display: grid; grid-template-columns: minmax(0, 720px) 260px; gap: clamp(50px, 8vw, 110px); align-items: start; padding: 34px 0 90px; }
.article-body h2 { margin: 54px 0 16px; font-family: var(--font-hand); font-size: clamp(31px, 4vw, 48px); line-height: 1.1; }
.article-body h2:first-child { margin-top: 0; }
.article-body h3 { margin: 34px 0 10px; font-size: 20px; }
.article-body p, .article-body li { color: var(--ink-soft); }
.article-body li + li { margin-top: 11px; }
.article-body ol, .article-body ul { padding-left: 22px; }
.article-body .answer-box { margin: 34px 0; padding: 28px; color: var(--paper-light); background: var(--indigo); }
.article-body .answer-box strong { display: block; margin-bottom: 8px; color: #fff; font-size: 20px; }
.article-body .answer-box p { margin: 0; color: rgba(255,255,255,.76); }
.number-check { margin: 42px 0 56px; padding: clamp(24px, 4vw, 38px); background: var(--ink); border: 1px solid var(--ink); overflow: hidden; }
.number-check figcaption { display: grid; gap: 8px; margin-bottom: 30px; color: var(--paper-light); }
.number-check figcaption span { color: #ef746c; font-size: 10px; font-weight: 800; letter-spacing: .16em; }
.number-check figcaption strong { max-width: 560px; font-family: var(--font-hand); font-size: clamp(27px, 4vw, 40px); line-height: 1.08; }
.number-check-flow { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr) auto minmax(0, 1fr); gap: 10px; align-items: stretch; }
.number-check-step { position: relative; display: grid; grid-template-rows: auto 1fr auto; gap: 18px; min-width: 0; min-height: 238px; padding: 20px; color: var(--paper-light); background: rgba(255,255,255,.055); border: 1px solid rgba(255,255,255,.16); animation: number-check-focus 7.2s ease-in-out infinite; }
.number-check-step:nth-of-type(2) { animation-delay: 2.4s; }
.number-check-step:nth-of-type(3) { animation-delay: 4.8s; }
.number-check-step .step-number { color: #ef746c; font-size: 11px; font-weight: 800; letter-spacing: .14em; }
.number-check-step div > strong { display: block; color: #fff; font-family: var(--font-hand); font-size: 25px; line-height: 1.05; }
.number-check-step p { margin: 9px 0 0; color: rgba(255,255,255,.68); font-size: 13px; line-height: 1.55; }
.number-check-step .step-result { align-self: end; padding-top: 14px; color: #fff; border-top: 1px solid rgba(255,255,255,.18); font-size: 11px; font-weight: 800; }
.flow-arrow { align-self: center; color: #ef746c; font-size: 20px; }
.number-check-note { margin: 24px 0 0; padding-top: 20px; color: rgba(255,255,255,.72) !important; border-top: 1px solid rgba(255,255,255,.18); font-size: 13px; }
.number-check-note strong { color: #fff; }
.plan-compare { margin: 42px 0 56px; padding: clamp(24px, 4vw, 38px); color: var(--paper-light); background: var(--ink); }
.plan-compare figcaption { display: grid; gap: 8px; margin-bottom: 30px; }
.plan-compare figcaption span { color: #ef746c; font-size: 10px; font-weight: 800; letter-spacing: .16em; }
.plan-compare figcaption strong { max-width: 560px; font-family: var(--font-hand); font-size: clamp(27px, 4vw, 40px); line-height: 1.08; }
.plan-compare-grid { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); gap: 18px; align-items: stretch; }
.plan-compare-grid section { padding: 24px; background: rgba(255,255,255,.055); border: 1px solid rgba(255,255,255,.16); }
.plan-compare-grid section > span { color: #ef746c; font-size: 10px; font-weight: 800; letter-spacing: .13em; }
.plan-compare-grid section > strong { display: block; margin: 14px 0 18px; color: #fff; font-family: var(--font-hand); font-size: 25px; line-height: 1.1; }
.plan-compare-grid ul { margin: 0; padding: 0; list-style: none; }
.plan-compare-grid li { padding: 9px 0; color: rgba(255,255,255,.7); border-top: 1px solid rgba(255,255,255,.14); font-size: 13px; }
.compare-mark { align-self: center; color: #ef746c; font-family: var(--font-hand); font-size: 38px; }
.plan-compare > p { margin: 24px 0 0; padding-top: 20px; color: rgba(255,255,255,.72); border-top: 1px solid rgba(255,255,255,.18); font-size: 13px; }
.plan-compare > p strong { color: #fff; }
@keyframes number-check-focus {
  0%, 28%, 100% { background: rgba(255,255,255,.055); border-color: rgba(255,255,255,.16); transform: translateY(0); }
  8%, 20% { background: rgba(201,47,39,.22); border-color: rgba(239,116,108,.8); transform: translateY(-4px); }
}
.case-signal { margin-bottom: 46px; padding: clamp(26px, 4vw, 42px); background: var(--paper-light); border: 1px solid var(--line); border-left: 5px solid var(--red); }
.case-signal > p:first-child { margin: 0 0 12px; color: var(--red); font-size: 11px; font-weight: 800; letter-spacing: .14em; }
.case-signal h2 { margin: 0 0 14px; font-size: clamp(30px, 4vw, 44px); }
.case-signal > p:last-child { margin-bottom: 0; }
.decision-list { display: grid; gap: 1px; margin: 28px 0 42px; background: var(--line); border: 1px solid var(--line); }
.decision-list section { padding: 24px 26px; background: var(--paper-light); }
.decision-list strong { display: block; margin-bottom: 7px; color: var(--ink); font-size: 17px; }
.decision-list p { margin: 0; }
.message-template { margin: 28px 0 42px; padding: clamp(26px, 4vw, 38px); background: var(--paper-light); border: 1px solid var(--line); }
.message-template p { margin: 0; }
.message-template p + p { margin-top: 12px; }
.message-template p[lang="ja"] { color: var(--ink); font-size: 17px; line-height: 1.85; }
.review-note { margin-top: 34px; padding: 20px 22px; border: 1px solid var(--line); background: rgba(255,255,255,.35); font-size: 14px; }
.article-aside { position: sticky; top: 104px; padding-top: 20px; border-top: 3px solid var(--red); }
.article-aside strong { display: block; margin-bottom: 12px; font-family: var(--font-hand); font-size: 25px; }
.article-aside p { color: var(--ink-soft); font-size: 14px; }
.article-aside a { display: block; margin-top: 18px; color: var(--red); font-weight: 800; }
.source-list { padding: 0; list-style: none; }
.source-list li { padding: 18px 0; border-top: 1px solid var(--line); }
.source-list a { margin-top: 0; }

.content-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.content-button { display: inline-flex; min-height: 50px; align-items: center; justify-content: center; padding: 0 22px; border: 1px solid var(--ink); font-weight: 800; }
.content-button.primary { color: #fff; background: var(--red); border-color: var(--red); }
.content-button:hover { transform: translateY(-2px); }

.content-footer { display: flex; justify-content: space-between; gap: 30px; align-items: center; padding: 42px clamp(22px, 5vw, 76px); color: var(--paper-light); background: var(--ink); font-size: 12px; }

@media (max-width: 760px) {
  .content-header { grid-template-columns: 1fr; gap: 12px; padding: 14px 20px; }
  .content-header nav { gap: 14px; }
  .content-main, .article-main { width: min(100% - 28px, 1100px); }
  .content-hero { grid-template-columns: 1fr; gap: 34px; padding: 62px 0 48px; }
  .hero-aside { padding-left: 20px; }
  .trust-grid, .notes-index { grid-template-columns: 1fr; }
  .article-layout { grid-template-columns: 1fr; gap: 36px; }
  .number-check-flow { grid-template-columns: 1fr; }
  .number-check-step { min-height: 0; }
  .flow-arrow { justify-self: center; transform: rotate(90deg); }
  .plan-compare-grid { grid-template-columns: 1fr; }
  .compare-mark { justify-self: center; transform: rotate(90deg); }
  .article-aside { position: static; }
  .content-footer { align-items: flex-start; flex-direction: column; }
  .content-footer nav { gap: 14px; }
}

@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; transition: none !important; }
  .number-check-step { animation: none !important; }
}
