/* ==========================================================
   MEDIRISM corporate site — theme C (SimpleForm benchmark)
   Layout: monochrome, editorial. White ground with near-black
   full-bleed sections. Big light-weight Japanese headlines with a
   strong jump rate; small grey eyebrows; 1px hairlines; asymmetric
   (title-left / text-right) sections and a bento grid for the three
   businesses. One accent (brand navy) used only on links and the
   primary CTA. Visuals are drawn: a canvas flow diagram and an
   HTML product mock. No gradients, no cards-in-a-row.
   ========================================================== */
:root {
  --bg: #FFFFFF;
  --bg-alt: #F8F8F7;
  --fg: #111827;           /* charcoal, never pure black */
  --muted: #6B7280;
  --faint: #9CA3AF;
  --line: #E5E7EB;
  --line-strong: #D1D5DB;
  --accent: #0D345B;       /* brand navy, used sparingly */
  --dark-bg: #141414;      /* full-bleed dark sections */
  --dark-fg: #F3F4F6;
  --dark-muted: #9CA3AF;
  --dark-line: #2A2A2A;
  --header-bg: rgba(255,255,255,.9);
  --font-ja: "Noto Sans JP", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic", system-ui, sans-serif;
  --font-latin: "Inter Tight", "Helvetica Neue", Arial, system-ui, sans-serif;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0F0F0F; --bg-alt: #161616; --fg: #ECEDEF; --muted: #A1A6AE; --faint: #6B7280; --line: #262626; --line-strong: #363636;
    --accent: #9DB8D6; --dark-bg: #000000; --dark-fg: #F3F4F6; --dark-muted: #9CA3AF; --dark-line: #262626;
    --header-bg: rgba(15,15,15,.9);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #0F0F0F; --bg-alt: #161616; --fg: #ECEDEF; --muted: #A1A6AE; --faint: #6B7280; --line: #262626; --line-strong: #363636;
  --accent: #9DB8D6; --dark-bg: #000000; --dark-fg: #F3F4F6; --dark-muted: #9CA3AF; --dark-line: #262626;
  --header-bg: rgba(15,15,15,.9);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }
body { margin: 0; background: var(--bg); color: var(--fg); font-family: var(--font-ja); font-size: 15px; line-height: 1.8; letter-spacing: .02em; font-feature-settings: "palt"; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
h1, h2, h3, h4 { font-family: var(--font-ja); font-weight: 400; line-height: 1.35; margin: 0; text-wrap: balance; letter-spacing: .01em; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
.latin { font-family: var(--font-latin); font-weight: 500; letter-spacing: -.01em; }

/* ----- layout ----- */
.wrap { max-width: 1280px; margin-inline: auto; padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
@media (min-width: 760px) { .wrap { padding-left: max(48px, env(safe-area-inset-left, 0px)); padding-right: max(48px, env(safe-area-inset-right, 0px)); } }
.section { padding-block: clamp(72px, 10vw, 140px); }
.section--tight { padding-block: clamp(48px, 6vw, 80px); }
.band { background: var(--dark-bg); color: var(--dark-fg); }
.band .muted, .band .lead { color: var(--dark-muted); }
.band .eyebrow { color: var(--dark-muted); }
.muted { color: var(--muted); }
.eyebrow { font-family: var(--font-latin); font-size: 14px; font-weight: 400; letter-spacing: .01em; color: var(--muted); margin-bottom: 14px; }
.eyebrow--ja { font-family: var(--font-ja); font-size: 13px; }
.h2 { font-size: clamp(28px, 3.6vw, 44px); font-weight: 300; }
.h3 { font-size: clamp(19px, 2vw, 24px); font-weight: 400; }
.lead { font-size: clamp(15px, 1.2vw, 16px); line-height: 2; max-width: 38em; color: var(--muted); }
.prose { max-width: 36em; }
.prose p + p { margin-top: 1.3em; }
.grid { display: grid; gap: clamp(24px, 3vw, 40px); }
.grid > * { min-width: 0; }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); }
.split { display: grid; gap: clamp(28px, 5vw, 80px); align-items: start; }
@media (min-width: 900px) { .split { grid-template-columns: 5fr 7fr; } .split--even { grid-template-columns: 1fr 1fr; } .split--offset > :last-child { padding-top: clamp(40px, 8vw, 120px); } }
.split > * { min-width: 0; }
hr.rule { border: 0; height: 1px; background: var(--line); margin: 0; }
.band hr.rule { background: var(--dark-line); }

/* ↳ link, the SimpleForm device */
.textlink { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; letter-spacing: .04em; padding-bottom: 6px; border-bottom: 1px solid var(--line-strong); transition: border-color .2s, color .2s; }
.textlink::before { content: "\21B3"; font-family: var(--font-latin); color: var(--muted); }
.textlink:hover { border-bottom-color: var(--fg); }
.band .textlink { border-bottom-color: var(--dark-line); }
.band .textlink:hover { border-bottom-color: var(--dark-fg); }
.band .textlink::before { color: var(--dark-muted); }

/* ----- header ----- */
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 60; background: var(--header-bg); }
.header { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50; background: var(--header-bg); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.header__in { display: flex; align-items: center; justify-content: space-between; gap: 20px; height: 72px; }
.brand { display: flex; align-items: center; gap: 10px; }
.brand img { height: 26px; width: auto; }
.brand .brand__word { height: 12px; }
.nav { display: flex; align-items: center; gap: clamp(14px, 2vw, 28px); font-size: 13.5px; letter-spacing: .04em; }
.nav a { padding: 6px 0; color: var(--fg); border-bottom: 1px solid transparent; transition: border-color .2s; white-space: nowrap; }
.nav a:hover, .nav a[aria-current="page"] { border-bottom-color: var(--fg); }
.nav .nav__cta { border-bottom: 0; padding: 8px 14px; border: 1px solid var(--line-strong); border-radius: 2px; }
.nav .nav__cta:hover { border-color: var(--fg); }
.nav .nav__lang { font-family: var(--font-latin); color: var(--muted); }
.menu-btn { display: none; background: none; border: 1px solid var(--line-strong); border-radius: 2px; padding: 8px 10px; color: var(--fg); font: inherit; font-size: 12px; letter-spacing: .1em; cursor: pointer; }
@media (max-width: 900px) {
  .menu-btn { display: inline-flex; align-items: center; gap: 8px; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 72px; flex-direction: column; align-items: stretch; gap: 0; background: var(--bg); border-bottom: 1px solid var(--line); padding: 10px max(16px, env(safe-area-inset-left, 0px)) 18px; }
  .nav.is-open { display: flex; }
  .nav a { padding: 12px 0; border-bottom: 1px solid var(--line); }
  .nav .nav__cta { margin-top: 12px; text-align: center; border: 1px solid var(--line-strong); }
}

/* ----- hero ----- */
.hero { background: var(--bg); color: var(--fg); }
.hero__in { padding-block: clamp(48px, 7vw, 96px) 0; }
.hero h1 { font-size: clamp(34px, 5.4vw, 72px); font-weight: 300; line-height: 1.25; letter-spacing: 0; }
.hero .lead { margin-top: 28px; }
.hero__visual { margin-top: clamp(28px, 4vw, 56px); background: var(--dark-bg); aspect-ratio: 16 / 7; max-width: 100%; position: relative; overflow: hidden; }
@media (max-width: 640px) { .hero__visual { aspect-ratio: 4 / 3; } }
.hero__visual canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.hero__caption { position: absolute; left: 24px; bottom: 20px; font-family: var(--font-latin); font-size: 12px; color: var(--dark-muted); letter-spacing: .02em; display: flex; gap: 24px; flex-wrap: wrap; }
.hero--page .hero__in { padding-block: clamp(48px, 7vw, 96px) clamp(24px, 3vw, 40px); }
.hero--page h1 { font-size: clamp(30px, 4.4vw, 56px); }
.hero__title-latin { font-family: var(--font-latin); font-weight: 500; font-size: clamp(40px, 6vw, 80px); line-height: 1; letter-spacing: -.03em; display: block; margin-bottom: 18px; }
.hero__mark { display: none; }
.hero__shot { margin-top: clamp(36px, 5vw, 64px); background: var(--dark-bg); padding: clamp(20px, 5vw, 72px); display: grid; justify-content: center; }
.hero__shot .mock { width: min(100%, 960px); }
.statement { font-size: clamp(16px, 1.5vw, 19px); line-height: 2.2; font-weight: 400; max-width: 34em; }
.badges { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.badge { display: inline-flex; align-items: center; gap: 8px; font-size: 12.5px; letter-spacing: .04em; padding: 6px 12px; border: 1px solid var(--line-strong); border-radius: 2px; color: var(--fg); }
.badge::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--fg); }
.badge--solid { background: var(--fg); color: var(--bg); border-color: var(--fg); }
.badge--solid::before { background: var(--bg); }

/* ----- buttons ----- */
.actions { display: flex; flex-wrap: wrap; gap: 14px 28px; margin-top: 32px; align-items: center; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 13px 22px; border-radius: 2px; font-size: 14px; letter-spacing: .04em; border: 1px solid transparent; transition: background .2s, color .2s, border-color .2s; cursor: pointer; font-family: inherit; }
.btn--navy, .btn--gold { background: var(--fg); color: var(--bg); }
.btn--navy:hover, .btn--gold:hover { background: var(--accent); color: #fff; }
.btn--line, .btn--ghost { border-color: var(--line-strong); color: var(--fg); }
.btn--line:hover, .btn--ghost:hover { border-color: var(--fg); }
.band .btn--navy, .band .btn--gold, .cta .btn--navy, .cta .btn--gold { background: var(--dark-fg); color: var(--dark-bg); }
.band .btn--navy:hover, .band .btn--gold:hover, .cta .btn--navy:hover, .cta .btn--gold:hover { background: #fff; }
.band .btn--line, .band .btn--ghost, .cta .btn--ghost { border-color: var(--dark-line); color: var(--dark-fg); }
.band .btn--line:hover, .band .btn--ghost:hover, .cta .btn--ghost:hover { border-color: var(--dark-fg); }
.btn .arrow { font-family: var(--font-latin); }

/* ----- bento grid for the three businesses ----- */
.bento { display: grid; gap: 1px; background: var(--dark-line); border-top: 1px solid var(--dark-line); border-bottom: 1px solid var(--dark-line); }
@media (min-width: 900px) { .bento { grid-template-columns: 2fr 1fr; grid-template-rows: auto auto; } .bento__main { grid-row: 1 / 3; } }
.bento > * { background: var(--dark-bg); padding: clamp(24px, 3vw, 40px); display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.bento h3 { font-size: clamp(22px, 2.4vw, 30px); font-weight: 300; }
.bento p { color: var(--dark-muted); font-size: 14.5px; max-width: 40em; }
.bento .eyebrow { margin-bottom: 0; }
.bento .textlink { margin-top: auto; align-self: flex-start; padding-top: 10px; }
.bento__main .mock { margin-top: 10px; }

/* ----- product mock (dark variant for bento, light elsewhere) ----- */
.mock { background: var(--bg); color: var(--fg); border: 1px solid var(--line); border-radius: 6px; overflow: hidden; font-size: 12.5px; line-height: 1.6; max-width: 100%; }
.mock__bar { display: flex; align-items: center; gap: 10px; padding: 9px 14px; border-bottom: 1px solid var(--line); color: var(--muted); font-family: var(--font-latin); font-size: 11.5px; }
.mock__dots { display: flex; gap: 5px; }
.mock__dots i { width: 8px; height: 8px; border-radius: 50%; background: var(--line-strong); display: block; }
.mock__bar b { color: var(--fg); font-weight: 500; margin-left: 4px; }
.mock__body { display: grid; grid-template-columns: 150px 1fr; min-height: 300px; }
.mock__side { border-right: 1px solid var(--line); padding: 14px 12px; background: var(--bg-alt); display: flex; flex-direction: column; gap: 4px; }
.mock__side span { padding: 6px 8px; border-radius: 4px; color: var(--muted); font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mock__side span.on { background: var(--bg); color: var(--fg); border: 1px solid var(--line); }
.mock__side .lbl { font-family: var(--font-latin); font-size: 10px; letter-spacing: .08em; text-transform: uppercase; color: var(--faint); margin: 8px 0 2px; padding: 0 8px; }
.mock__main { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.mock__q { align-self: flex-end; background: var(--fg); color: var(--bg); padding: 9px 13px; border-radius: 10px 10px 2px 10px; max-width: 86%; }
.mock__a { border: 1px solid var(--line); border-radius: 10px 10px 10px 2px; padding: 12px 14px; display: flex; flex-direction: column; gap: 8px; }
.mock__a .cite { display: inline-block; font-family: var(--font-latin); font-size: 10px; font-weight: 500; color: var(--fg); border: 1px solid var(--line-strong); border-radius: 3px; padding: 0 4px; line-height: 1.5; vertical-align: 2px; margin-left: 2px; }
.mock__src { display: flex; flex-wrap: wrap; gap: 6px; padding-top: 8px; border-top: 1px dashed var(--line); }
.mock__src span { display: inline-flex; align-items: center; gap: 5px; font-size: 11px; color: var(--muted); background: var(--bg-alt); border-radius: 3px; padding: 3px 8px; }
.mock__src span::before { content: ""; width: 6px; height: 6px; border-radius: 1px; background: var(--faint); }
.mock__src span.in::before { background: var(--fg); }
.mock__input { margin-top: auto; border: 1px solid var(--line-strong); border-radius: 6px; padding: 9px 12px; color: var(--muted); display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.mock__input i { width: 22px; height: 22px; border-radius: 4px; background: var(--fg); display: block; flex: none; }
.mock--lg { font-size: 13.5px; }
.mock--lg .mock__body { min-height: 340px; }
@media (max-width: 520px) { .mock__body { grid-template-columns: 1fr; } .mock__side { display: none; } }

/* ----- numbered rows (facts, steps, cases) ----- */
.rows { border-top: 1px solid var(--line); }
.rows > li { display: grid; grid-template-columns: 1fr; gap: 10px; padding: clamp(24px, 3vw, 40px) 0; border-bottom: 1px solid var(--line); counter-increment: row; }
@media (min-width: 760px) { .rows > li { grid-template-columns: 120px 1fr 1fr; gap: 32px; } }
.rows .rows__n { font-family: var(--font-latin); font-size: 14px; color: var(--muted); padding-top: 4px; }
.rows h3 { font-size: clamp(20px, 2vw, 26px); font-weight: 400; }
.rows p { color: var(--muted); font-size: 14.5px; max-width: 36em; }
.rows .rows__v { font-size: clamp(28px, 3.4vw, 44px); font-weight: 300; line-height: 1.2; letter-spacing: -.01em; }
.rows .rows__v small { font-size: .5em; margin-left: 4px; font-weight: 400; }
.band .rows, .band .rows > li { border-color: var(--dark-line); }
.band .rows p, .band .rows .rows__n { color: var(--dark-muted); }
.steps { counter-reset: step; border-top: 1px solid var(--line); }
.steps > li { display: grid; grid-template-columns: 56px 1fr; gap: 16px; padding: 22px 0; border-bottom: 1px solid var(--line); counter-increment: step; }
.steps > li::before { content: counter(step, decimal-leading-zero); font-family: var(--font-latin); font-size: 14px; color: var(--muted); padding-top: 3px; }
.steps h3 { font-size: 17px; margin-bottom: 6px; }
.steps p { color: var(--muted); font-size: 14.5px; }
.band .steps, .band .steps > li { border-color: var(--dark-line); }
.band .steps p, .band .steps > li::before { color: var(--dark-muted); }
.card { border-top: 1px solid var(--line-strong); padding: 22px 0 8px; display: flex; flex-direction: column; gap: 12px; }
.card h3 { font-size: 20px; }
.card .card__kicker, .card .card__num { font-family: var(--font-latin); font-size: 13px; color: var(--muted); }
.card p { color: var(--muted); font-size: 14.5px; }
.card--link:hover { border-top-color: var(--fg); }
.card .card__more { margin-top: auto; padding-top: 6px; align-self: flex-start; }
.band .card { border-top-color: var(--dark-line); }
.band .card p, .band .card .card__kicker { color: var(--dark-muted); }
.deflist { border-top: 1px solid var(--line); }
.deflist > div { display: grid; grid-template-columns: 1fr; gap: 4px; padding: 18px 0; border-bottom: 1px solid var(--line); }
@media (min-width: 640px) { .deflist > div { grid-template-columns: 200px 1fr; gap: 24px; } }
.deflist dt { font-size: 13px; color: var(--muted); }
.deflist dd { margin: 0; }
.checklist li { position: relative; padding-left: 22px; margin-top: 10px; }
.checklist li::before { content: "\21B3"; position: absolute; left: 0; top: 0; color: var(--muted); font-family: var(--font-latin); }
.stage { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); }
@media (min-width: 760px) { .stage { grid-template-columns: repeat(4, 1fr); } }
.stage > div { background: var(--bg); padding: 22px 20px; display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.stage .stage__k { font-family: var(--font-latin); font-size: 13px; color: var(--muted); }
.stage h3 { font-size: 17px; }
.stage p { font-size: 14px; color: var(--muted); }
.stage .status { font-size: 11px; letter-spacing: .06em; padding: 3px 9px; border-radius: 2px; border: 1px solid var(--line-strong); color: var(--muted); align-self: flex-start; margin-top: auto; }
.stage .status--on { border-color: var(--fg); color: var(--fg); }

/* ----- news ----- */
.news-list { border-top: 1px solid var(--line); }
.news-list li { display: grid; grid-template-columns: 1fr; gap: 6px; padding: 18px 0; border-bottom: 1px solid var(--line); }
@media (min-width: 640px) { .news-list li { grid-template-columns: 110px 100px 1fr; gap: 24px; align-items: baseline; } }
.news-list time { font-family: var(--font-latin); font-size: 14px; color: var(--muted); font-variant-numeric: tabular-nums; }
.news-list .tag { font-size: 11px; letter-spacing: .06em; color: var(--muted); border: 1px solid var(--line-strong); padding: 1px 8px; border-radius: 2px; justify-self: start; }
.news-list a { border-bottom: 1px solid transparent; }
.news-list a:hover { border-bottom-color: var(--fg); }

/* ----- CTA (dark) ----- */
.cta { background: var(--dark-bg); color: var(--dark-fg); }
.cta__in { padding-block: clamp(64px, 9vw, 120px); display: grid; gap: 28px; }
@media (min-width: 900px) { .cta__in { grid-template-columns: 5fr 7fr; align-items: end; } }
.cta h2 { font-size: clamp(26px, 3.4vw, 40px); font-weight: 300; }
.cta p { color: var(--dark-muted); margin-top: 12px; max-width: 36em; }
.cta .actions { margin-top: 0; }
.cta .textlink { border-bottom-color: var(--dark-line); }
.cta .textlink::before { color: var(--dark-muted); }

/* ----- footer ----- */
.footer { background: var(--dark-bg); color: var(--dark-muted); font-size: 13px; border-top: 1px solid var(--dark-line); }
.footer__in { padding-block: 56px 36px; display: grid; gap: 32px; }
@media (min-width: 760px) { .footer__in { grid-template-columns: 1.4fr 1fr 1fr; } }
.footer .brand img { height: 30px; }
.footer .brand .brand__word { height: 14px; }
.footer address { font-style: normal; margin-top: 16px; line-height: 1.8; }
.footer h4 { font-family: var(--font-latin); font-size: 13px; color: var(--dark-fg); margin-bottom: 12px; font-weight: 500; }
.footer ul li { margin-top: 8px; }
.footer a:hover { color: var(--dark-fg); }
.footer__bottom { border-top: 1px solid var(--dark-line); padding-block: 18px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; font-size: 12px; }

/* ----- misc ----- */
br.pc { display: none; }
@media (min-width: 760px) { br.pc { display: inline; } }
.note { font-size: 13px; color: var(--muted); }
.table-wrap { overflow-x: auto; }
.form { display: grid; gap: 18px; max-width: 640px; }
.form label { display: grid; gap: 6px; font-size: 13px; color: var(--muted); }
.form input, .form select, .form textarea { font: inherit; font-size: 15px; padding: 12px 14px; border: 1px solid var(--line-strong); background: var(--bg); color: var(--fg); border-radius: 2px; width: 100%; }
.form textarea { min-height: 160px; resize: vertical; }
.form .form__msg { font-size: 14px; color: var(--accent); min-height: 1.5em; }
.photo { filter: grayscale(100%); }

/* ----- nav group (Solution dropdown) ----- */
.nav__group { position: relative; }
.nav__group .nav__parent::after { content: ""; display: inline-block; width: 5px; height: 5px; border-right: 1px solid currentColor; border-bottom: 1px solid currentColor; transform: rotate(45deg); margin: 0 0 3px 8px; opacity: .6; }
.nav__sub { display: none; position: absolute; left: -16px; top: 100%; padding: 10px 0; min-width: 200px; background: var(--bg); border: 1px solid var(--line); box-shadow: 0 12px 30px rgba(0,0,0,.08); z-index: 5; }
.nav__sub a { display: block; padding: 8px 16px !important; border: 0 !important; white-space: nowrap; }
.nav__sub a::before { content: "\21B3\00a0"; color: var(--muted); font-family: var(--font-latin, inherit); }
.nav__group:hover .nav__sub, .nav__group:focus-within .nav__sub { display: block; }
@media (max-width: 900px) {
  .nav__group { display: flex; flex-direction: column; }
  .nav__sub { display: block; position: static; border: 0; box-shadow: none; padding: 0 0 6px 0; min-width: 0; background: transparent; }
  .nav__sub a { padding: 8px 0 8px 18px !important; border-bottom: 1px solid var(--line) !important; }
  .nav__group .nav__parent::after { display: none; }
}

/* review-only hero visual switcher */
.hero__pick { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 12px; }
.hero__pick button { font: inherit; font-size: 12px; letter-spacing: .02em; padding: 6px 10px; border: 1px solid var(--line-strong); border-radius: 2px; background: var(--bg); color: var(--muted); cursor: pointer; }
.hero__pick button[aria-pressed="true"] { border-color: var(--fg); color: var(--fg); }

/* Leave room for the sticky header when jumping to #sections */
[id] { scroll-margin-top: 88px; }

/* Japanese line breaking: break only at phrase boundaries (<wbr> inserted in headings/leads) */
h1, h2, h3, .lead, .statement { word-break: keep-all; overflow-wrap: break-word; }
h1, h2, h3 { text-wrap: balance; }
.rows__v { white-space: nowrap; }
img.photo { box-sizing: border-box; }

.h2.h2--sm { font-size: clamp(24px, 2.8vw, 36px); }
/* Avoid one- or two-character last lines in body text */
p, li, dd { text-wrap: pretty; }

/* Headings in the narrow left column of two-column sections */
@media (min-width: 900px) { .split .h2 { font-size: clamp(26px, 3vw, 38px); } }

.hero--page h1 { font-size: clamp(26px, 4.4vw, 56px); }

/* Privacy policy */
.policy h2.h3 { margin-top: 44px; }
.policy h2.h3:first-child { margin-top: 0; }
.policy > p, .policy > ul { margin-top: 12px; }

/* Contact thank-you page */
.thanks .hero__in { padding-bottom: clamp(80px, 10vw, 140px); }
.thanks__mark { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: var(--fg); color: var(--bg); font-size: 26px; margin: 8px 0 24px; }

/* Footer: Follow (SNS) block under Company */
.footer h4.footer__follow { margin-top: 28px; }
