@charset "UTF-8";

/* 見出し用の欧文書体。Space Grotesk（SIL OFL, 同梱の SpaceGrotesk-OFL.txt 参照）。
   Google Fonts 経由だと第三者リクエストが増えるので self-host。latinサブセットのみ12.8KB。
   和文は既存のスタックにフォールバックする（この書体に和文グリフは無い）。 */
@font-face {
  font-family: "Space Grotesk";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/space-grotesk-700-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC,
                 U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193,
                 U+2212, U+2215, U+FEFF, U+FFFD;
}
/* ==========================================================================
   Robo Renta — Design System (Clean & Light)
   Brand: #00729f / #00466d  (現行サイトのブランドカラーを踏襲)
   ========================================================================== */

/* ---------- Tokens ---------- */
:root {
  --brand: #00729f;
  --brand-dark: #00466d;
  --brand-deep: #06304a;
  --brand-tint: #e6f2f8;
  --brand-tint-2: #f3f9fc;
  --brand-soft: rgba(0, 114, 159, .08);

  --ink: #12212b;
  --ink-2: #3a4b58;
  --ink-muted: #6a7a86;
  --ink-faint: #93a2ad;

  --surface: #ffffff;
  --surface-alt: #f5f8fb;
  --surface-deep: #eef3f7;
  --line: #e2e9ef;
  --line-strong: #cfdae3;

  --accent: #e8761d;
  --accent-tint: #fdf1e6;
  --ok: #17825f;

  --radius-xs: 8px;
  --radius: 14px;
  --radius-lg: 22px;
  --radius-pill: 999px;

  --shadow-sm: 0 1px 2px rgba(18, 33, 43, .05), 0 2px 8px rgba(18, 33, 43, .04);
  --shadow-md: 0 2px 6px rgba(18, 33, 43, .06), 0 12px 28px rgba(18, 33, 43, .07);
  --shadow-lg: 0 4px 12px rgba(18, 33, 43, .07), 0 24px 56px rgba(18, 33, 43, .10);
  --shadow-brand: 0 8px 24px rgba(0, 114, 159, .24);

  --wrap: 1150px;
  --wrap-narrow: 840px;
  --header-h: 76px;
  --ease: cubic-bezier(.22, 1, .36, 1);

  --mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace;
  --display: "Space Grotesk", "Noto Sans JP", -apple-system, BlinkMacSystemFont,
    "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Yu Gothic UI", Meiryo, sans-serif;
  --ink-deep: #06222f;

  --font: "Inter", "Noto Sans JP", -apple-system, BlinkMacSystemFont, "Segoe UI",
    "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Yu Gothic UI", "Yu Gothic",
    Meiryo, sans-serif;
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
/* Components that set their own display (cards, flex rows) would otherwise beat
   the browser's [hidden] rule and stay on screen when scripts hide them. */
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.9;
  color: var(--ink);
  background: var(--surface);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-wrap: anywhere;
  word-break: normal;
  line-break: strict;
}
body.is-locked { overflow: hidden; }
body { counter-reset: sec; }
img, svg, video { max-width: 100%; height: auto; display: block; }
a { color: var(--brand); text-decoration: none; transition: color .18s var(--ease); }
a:hover { color: var(--brand-dark); }
button { font: inherit; color: inherit; }
a, button, summary, label, input, select, textarea, [role="button"] {
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}
h1, h2, h3, h4, h5 {
  margin: 0;
  font-family: var(--display);
  line-height: 1.45;
  font-weight: 700;
  letter-spacing: .01em;
  font-feature-settings: "palt" 1;
  text-wrap: balance;
}
p, li, dd, figcaption { text-wrap: pretty; }
/* 価格・スペック値は桁を揃えて、数字が変わっても幅がぶれないようにする */
.stats__list b, .hero__price .num, .price-box, .stat-tile,
.spec-table td, .price-table td, table td, table th {
  font-variant-numeric: tabular-nums;
}
p, ul, ol, dl, table, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
table { border-collapse: collapse; width: 100%; }
:focus-visible {
  outline: 3px solid rgba(0, 114, 159, .55);
  outline-offset: 2px;
  border-radius: 4px;
}
::selection { background: rgba(0, 114, 159, .18); }

.skip-link {
  position: absolute; left: 12px; top: -100px; z-index: 3000;
  background: var(--brand); color: #fff; padding: 12px 20px;
  border-radius: 0 0 var(--radius-xs) var(--radius-xs); font-weight: 700;
  transition: top .2s var(--ease);
}
.skip-link:focus { top: 0; color: #fff; }
.sr-only {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; border: 0;
}

/* ---------- Layout ---------- */
.wrap { width: min(100% - 40px, var(--wrap)); margin-inline: auto; }
.wrap--narrow { width: min(100% - 40px, var(--wrap-narrow)); margin-inline: auto; }
.section { padding: 88px 0; position: relative; }
.section--alt { background: var(--surface-alt); }
.section--tint { background: linear-gradient(180deg, var(--brand-tint-2), #fff); }
.section--tight { padding: 60px 0; }
.section--lead { padding-top: 64px; }

.section__head { max-width: 760px; margin-bottom: 44px; }
.section__head--center { margin-inline: auto; text-align: center; }
/* 英語アイキャッチ（News / Lineup / Features …）は量産型LPの記号なので、
   §NN の自動採番に置き換える。意味は隣の h2 が持つので装飾扱いでよい。 */
.eyebrow {
  counter-increment: sec;
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--mono); font-size: 11.5px; font-weight: 700; letter-spacing: .18em;
  color: var(--brand); margin-bottom: 14px;
}
.eyebrow::before { content: ""; width: 22px; height: 1px; background: var(--brand); }
.eyebrow::after { content: "\A7" counter(sec, decimal-leading-zero); }
.section__head--center .eyebrow { justify-content: center; }
.section__title { font-size: clamp(26px, 3.4vw, 38px); line-height: 1.35; letter-spacing: .02em; }
.section__lead { margin-top: 16px; color: var(--ink-2); font-size: 16px; }
.section__foot { margin-top: 44px; text-align: center; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 54px; padding: 0 30px;
  border: 2px solid transparent; border-radius: var(--radius-pill);
  font-size: 15px; font-weight: 700; letter-spacing: .04em; text-align: center;
  cursor: pointer; background: none;
  transition: background-color .22s var(--ease), color .22s var(--ease),
    border-color .22s var(--ease), box-shadow .22s var(--ease), transform .22s var(--ease);
}
.btn svg { flex: 0 0 auto; }
.btn--primary { background: var(--brand); color: #fff; box-shadow: var(--shadow-brand); }
.btn--primary:hover { background: var(--brand-dark); color: #fff; transform: translateY(-2px); box-shadow: 0 12px 30px rgba(0, 70, 109, .3); }
.btn--outline { border-color: var(--line-strong); color: var(--ink); background: #fff; }
.btn--outline:hover { border-color: var(--brand); color: var(--brand); transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.btn--ghost { color: var(--brand); background: var(--brand-tint); }
.btn--ghost:hover { background: var(--brand); color: #fff; }
.btn--white { background: #fff; color: var(--brand-dark); }
.btn--white:hover { background: var(--brand-tint); color: var(--brand-dark); transform: translateY(-2px); }
.btn--onbrand { border-color: rgba(255, 255, 255, .7); color: #fff; }
.btn--onbrand:hover { background: rgba(255, 255, 255, .14); color: #fff; border-color: #fff; }
.btn--lg { min-height: 62px; padding: 0 40px; font-size: 16px; }
.btn--sm { min-height: 42px; padding: 0 20px; font-size: 13px; }
.btn--block { width: 100%; }
/* タップ/クリックの手応え。hover の translateY より後に置いて確実に勝たせる */
.btn:active, .tab:active, .product-nav a:active, .article-nav a:active,
.footer-sns a:active, .to-top:active, .hamburger:active, .drawer__close:active {
  transform: scale(.96);
}
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }
.btn-row--center { justify-content: center; }

.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: 15px; }
.link-arrow::after {
  content: ""; width: 16px; height: 8px; flex: 0 0 auto;
  background: currentColor; transition: transform .2s var(--ease);
  clip-path: polygon(0 40%, 62% 40%, 62% 0, 100% 50%, 62% 100%, 62% 60%, 0 60%);
}
.link-arrow:hover::after { transform: translateX(4px); }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 1100;
  height: var(--header-h);
  display: flex; align-items: center;
  background: rgba(255, 255, 255, .82);
  backdrop-filter: blur(14px) saturate(1.6);
  -webkit-backdrop-filter: blur(14px) saturate(1.6);
  border-bottom: 1px solid transparent;
  transition: box-shadow .3s var(--ease), border-color .3s var(--ease), background .3s var(--ease);
}
/* ダークヒーローの上では、白い半透明バーが濁って見える。
   最上部にいる間だけヘッダーを透過させ、ロゴと文字を白に反転する。
   スクロールすると .is-scrolled が付いて通常の白バーに戻る（JS側は既存のまま）。 */
.home .site-header:not(.is-scrolled) {
  background: transparent;
  -webkit-backdrop-filter: none; backdrop-filter: none;
  border-bottom-color: transparent; box-shadow: none;
}
.home .site-header:not(.is-scrolled) .site-logo img {
  filter: brightness(0) invert(1);
}
.home .site-header:not(.is-scrolled) .nav__link {
  color: rgba(255, 255, 255, .86);
}
.home .site-header:not(.is-scrolled) .nav__link:hover,
.home .site-header:not(.is-scrolled) .nav__link[aria-current="page"] {
  color: #fff;
}
.home .site-header:not(.is-scrolled) .nav__link[aria-current="page"]::after,
.home .site-header:not(.is-scrolled) .nav__item.is-open > .nav__link::after {
  background: #fff;
}
.home .site-header:not(.is-scrolled) .header-cta .btn--primary {
  background: #fff; color: var(--brand-dark); box-shadow: none;
}
.home .site-header:not(.is-scrolled) .header-cta .btn--primary:hover {
  background: var(--brand-tint); color: var(--brand-dark);
}
.home .site-header:not(.is-scrolled) .hamburger {
  background: transparent; border-color: rgba(255, 255, 255, .32);
}
.home .site-header:not(.is-scrolled) .hamburger span { background: #fff; }

.site-header.is-scrolled {
  background: rgba(255, 255, 255, .95);
  border-bottom-color: var(--line);
  box-shadow: 0 4px 20px rgba(18, 33, 43, .06);
}
.site-header__inner {
  width: min(100% - 32px, 1360px); margin-inline: auto;
  display: flex; align-items: center; gap: 22px;
}
.site-logo { display: flex; align-items: center; flex: 0 0 auto; }
.site-logo img { width: 124px; height: auto; }

.nav { margin-left: auto; }
.nav__list { display: flex; align-items: center; gap: 2px; }
.nav__link {
  position: relative; display: flex; align-items: center; gap: 6px;
  padding: 10px 14px; border-radius: var(--radius-xs);
  font-size: 14.5px; font-weight: 700; color: var(--ink); letter-spacing: .02em;
  background: none; border: 0; cursor: pointer; white-space: nowrap;
}
.nav__link::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 4px; height: 2px;
  background: var(--brand); border-radius: 2px; transform: scaleX(0); transform-origin: left;
  transition: transform .24s var(--ease);
}
.nav__link:hover { color: var(--brand); }
.nav__link:hover::after, .nav__link[aria-current="page"]::after, .nav__item.is-open > .nav__link::after { transform: scaleX(1); }
.nav__link[aria-current="page"] { color: var(--brand); }
.nav__caret { width: 9px; height: 6px; background: currentColor; clip-path: polygon(0 0, 100% 0, 50% 100%); transition: transform .2s var(--ease); }
.nav__item.is-open .nav__caret { transform: rotate(180deg); }

.nav__item { position: relative; }
.nav__sub {
  position: absolute; top: calc(100% + 10px); left: 50%; transform: translate(-50%, 8px);
  min-width: 232px; padding: 10px; background: #fff;
  border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-md);
  opacity: 0; visibility: hidden;
  transition: opacity .22s var(--ease), visibility .22s var(--ease), transform .22s var(--ease);
}
.nav__item.is-open .nav__sub { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.nav__sub a {
  display: flex; align-items: center; gap: 10px; padding: 11px 14px;
  border-radius: var(--radius-xs); font-size: 14px; font-weight: 600; color: var(--ink);
}
.nav__sub a:hover { background: var(--brand-tint); color: var(--brand-dark); }
.nav__sub a::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--brand); flex: 0 0 auto; }

.header-cta { flex: 0 0 auto; }
.header-cta .btn { min-height: 46px; padding: 0 22px; font-size: 14px; }

/* Hamburger */
.hamburger {
  display: none; flex: 0 0 auto;
  width: 46px; height: 46px; padding: 0; margin-left: auto;
  border: 1px solid var(--line); border-radius: 12px; background: #fff; cursor: pointer;
  position: relative;
}
.hamburger span {
  position: absolute; left: 50%; width: 20px; height: 2px; border-radius: 2px;
  background: var(--ink); transform: translateX(-50%);
  transition: transform .3s var(--ease), opacity .2s var(--ease), top .3s var(--ease);
}
.hamburger span:nth-child(1) { top: 16px; }
.hamburger span:nth-child(2) { top: 22px; }
.hamburger span:nth-child(3) { top: 28px; }
.hamburger[aria-expanded="true"] span:nth-child(1) { top: 22px; transform: translateX(-50%) rotate(45deg); }
.hamburger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.hamburger[aria-expanded="true"] span:nth-child(3) { top: 22px; transform: translateX(-50%) rotate(-45deg); }

/* Drawer */
.drawer-overlay {
  position: fixed; inset: 0; z-index: 1190; background: rgba(9, 24, 34, .45);
  opacity: 0; visibility: hidden; transition: opacity .3s var(--ease), visibility .3s var(--ease);
  backdrop-filter: blur(2px);
}
.drawer-overlay.is-open { opacity: 1; visibility: visible; }
.drawer {
  position: fixed; top: 0; right: 0; bottom: 0; z-index: 1200;
  width: min(88vw, 400px); background: #fff;
  transform: translateX(100%); transition: transform .38s var(--ease);
  display: flex; flex-direction: column; box-shadow: -12px 0 40px rgba(18, 33, 43, .16);
  visibility: hidden;
}
.drawer.is-open { transform: translateX(0); visibility: visible; }
.drawer__head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 20px; border-bottom: 1px solid var(--line); flex: 0 0 auto;
}
.drawer__head img { width: 130px; }
.drawer__close {
  width: 42px; height: 42px; border: 1px solid var(--line); border-radius: 12px;
  background: #fff; cursor: pointer; position: relative;
}
.drawer__close::before, .drawer__close::after {
  content: ""; position: absolute; left: 50%; top: 50%; width: 18px; height: 2px;
  background: var(--ink); border-radius: 2px;
}
.drawer__close::before { transform: translate(-50%, -50%) rotate(45deg); }
.drawer__close::after { transform: translate(-50%, -50%) rotate(-45deg); }
.drawer__body {
  flex: 1 1 auto; overflow-y: auto; -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
  padding: 12px 16px calc(24px + env(safe-area-inset-bottom));
}
.drawer__nav > li { border-bottom: 1px solid var(--line); }
.drawer__nav a, .drawer__toggle {
  display: flex; align-items: center; justify-content: space-between; gap: 10px; width: 100%;
  padding: 16px 8px; font-size: 16px; font-weight: 700; color: var(--ink);
  background: none; border: 0; text-align: left; cursor: pointer;
}
.drawer__nav a[aria-current="page"] { color: var(--brand); }
.drawer__nav a:hover, .drawer__toggle:hover { color: var(--brand); }
.drawer__toggle .nav__caret { width: 11px; height: 7px; }
.drawer__toggle[aria-expanded="true"] .nav__caret { transform: rotate(180deg); }
.drawer__sub { overflow: hidden; max-height: 0; transition: max-height .32s var(--ease); }
.drawer__sub ul { padding: 0 0 10px 12px; border-left: 2px solid var(--brand-tint); margin-left: 8px; }
.drawer__sub a { padding: 12px 8px; font-size: 14.5px; font-weight: 600; color: var(--ink-2); }
.drawer__cta { display: grid; gap: 10px; margin-top: 24px; }
.drawer__meta { margin-top: 22px; font-size: 13px; color: var(--ink-muted); line-height: 1.8; }
.drawer__meta a { font-weight: 700; }

/* Mobile sticky CTA */
.mobile-cta {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 1050;
  display: none; gap: 10px; padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
  background: rgba(255, 255, 255, .96); backdrop-filter: blur(12px);
  border-top: 1px solid var(--line); box-shadow: 0 -4px 20px rgba(18, 33, 43, .08);
  transform: translateY(110%); transition: transform .3s var(--ease);
}
.mobile-cta.is-visible { transform: translateY(0); }
.mobile-cta .btn { flex: 1; min-height: 48px; padding: 0 12px; font-size: 14px; }

/* ---------- Page header / breadcrumb ---------- */
.page-hero {
  position: relative; padding: calc(var(--header-h) + 62px) 0 58px;
  background:
    radial-gradient(1000px 400px at 85% -10%, rgba(0, 114, 159, .10), transparent 65%),
    linear-gradient(180deg, var(--brand-tint-2), #fff);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}
.page-hero::after {
  content: ""; position: absolute; inset: auto 0 -1px 0; height: 1px; background: var(--line);
}
.page-hero__inner { position: relative; z-index: 2; }
.page-hero__eyebrow { color: var(--brand); font-size: 12px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; }
.page-hero h1 { margin-top: 12px; font-size: clamp(28px, 4.2vw, 44px); line-height: 1.3; letter-spacing: .02em; }
.page-hero__lead { margin-top: 18px; max-width: 720px; color: var(--ink-2); }

.breadcrumb { padding: 14px 0 0; font-size: 12.5px; color: var(--ink-muted); }
.breadcrumb ol { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.breadcrumb li { display: flex; align-items: center; gap: 6px; }
.breadcrumb li + li::before { content: "›"; color: var(--ink-faint); }
.breadcrumb a { color: var(--ink-muted); font-weight: 600; }
.breadcrumb a:hover { color: var(--brand); }
.breadcrumb [aria-current="page"] { color: var(--ink); font-weight: 700; }

/* ---------- Home hero — 実機一本のプロダクト・ステージ ----------
   偽の場面を敷くとコラージュに見えるので、背景に写真は置かない。
   暗い面・同心円のステージ・方眼だけで奥行きを作り、実機の切り抜きを主役に置く。 */
.hero {
  position: relative; overflow: hidden;
  min-height: 100svh;
  display: flex; flex-direction: column;
  padding: 0;
  background:
    radial-gradient(88% 70% at 72% 42%, #1d4a63 0%, #0d2c3d 42%, #071c27 72%, #05141c 100%);
  color: #fff;
}
/* 方眼。図面の下敷きのつもりで、主張はさせない */
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, .055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .055) 1px, transparent 1px);
  background-size: 84px 84px;
  -webkit-mask-image: radial-gradient(70% 70% at 70% 46%, #000, transparent 78%);
  mask-image: radial-gradient(70% 70% at 70% 46%, #000, transparent 78%);
}

/* --- ステージ：実機の背後に置く同心円。計器の目盛りのつもり --- */
.hero__stage { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.hero__ring {
  position: absolute; top: 50%; right: 20%; transform: translate(50%, -50%);
  width: min(78vh, 780px); aspect-ratio: 1;
  border-radius: 50%;
  border: 1px solid rgba(140, 214, 245, .22);
  box-shadow:
    inset 0 0 0 1px rgba(140, 214, 245, .06),
    0 0 120px 30px rgba(60, 150, 195, .16);
}
.hero__ring::before,
.hero__ring::after {
  content: ""; position: absolute; inset: 12%;
  border-radius: 50%; border: 1px solid rgba(140, 214, 245, .14);
}
.hero__ring::after { inset: 26%; border-color: rgba(140, 214, 245, .09); }
/* 実機の背後に回す光 */
.hero__glow {
  position: absolute; top: 50%; right: 20%; transform: translate(50%, -46%);
  width: min(86vh, 860px); aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(96, 186, 226, .3), transparent 70%);
}

/* --- 実機 --- */
.hero__figure {
  position: absolute; right: 8vw; bottom: 0; z-index: 2; width: auto;
  height: min(88svh, 900px);
  transform: scaleX(-1);
  filter: saturate(1.03) contrast(1.07) brightness(1.04)
          drop-shadow(28px 24px 54px rgba(0, 0, 0, .72));
}
/* 足元の影。床が無いと浮くので必ず敷く */
.hero__figure-shadow {
  position: absolute; right: 8vw; bottom: 8px; z-index: 1;
  width: min(26vw, 340px); height: 30px; transform: translateX(26%);
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(0, 0, 0, .62), transparent);
}

/* 右端に立てる mono ラベル。ドシエの計器表記 */
.hero__rail {
  position: absolute; right: 22px; top: 50%; z-index: 3;
  transform: translateY(-50%) rotate(180deg);
  writing-mode: vertical-rl;
  font-family: var(--mono); font-size: 10.5px; font-weight: 700;
  letter-spacing: .34em; color: rgba(190, 226, 242, .42);
}

/* --- タイトル層：下端寄せ --- */
.hero__title {
  position: relative; z-index: 4;
  margin-top: auto;
  width: min(100% - 40px, var(--wrap));
  margin-inline: auto;
  padding: calc(var(--header-h) + 40px) 0 6vh;
}
.hero__meta {
  font-family: var(--mono); font-size: 11.5px; font-weight: 700;
  letter-spacing: .16em; text-transform: uppercase;
  color: rgba(255, 255, 255, .5);
}
.hero__eyebrow {
  display: inline-flex; align-items: center; gap: 10px; margin-top: 16px;
  font-size: clamp(13px, 1.5vw, 15.5px); font-weight: 700; letter-spacing: .06em;
  color: #fff;
}
.dotpulse {
  width: 9px; height: 9px; border-radius: 50%; flex: none;
  background: #4cc4f0; box-shadow: 0 0 0 0 rgba(76, 196, 240, .6);
  animation: dotpulse 1.9s infinite;
}
@keyframes dotpulse {
  0% { box-shadow: 0 0 0 0 rgba(76, 196, 240, .5); }
  70% { box-shadow: 0 0 0 13px rgba(76, 196, 240, 0); }
  100% { box-shadow: 0 0 0 0 rgba(76, 196, 240, 0); }
}
.hero__brand {
  margin-top: 14px;
  font-family: var(--display);
  font-size: clamp(50px, 10.4vw, 126px); line-height: .94; font-weight: 700;
  letter-spacing: -.035em; color: #fff;
  text-shadow: 0 14px 50px rgba(0, 0, 0, .5);
}
.hero__brand span {
  display: block; margin-top: 18px;
  font-size: clamp(13px, 1.5vw, 17px); font-weight: 800;
  letter-spacing: .34em; color: rgba(255, 255, 255, .74);
}
.hero__lead {
  margin-top: 24px; max-width: 42em;
  font-size: clamp(14px, 1.5vw, 16px); line-height: 1.95;
  color: rgba(255, 255, 255, .8);
}
.hero__lead b { color: #fff; font-weight: 700; }
.hero__acts { margin-top: 30px; }

/* --- 実績ストリップ --- */
.hero__proof {
  position: relative; z-index: 4;
  width: min(100% - 40px, var(--wrap));
  margin-inline: auto;
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid rgba(255, 255, 255, .18);
}
.hero__proof li {
  padding: 18px 24px 22px 0;
  font-size: 13px; font-weight: 700; color: rgba(255, 255, 255, .9); line-height: 1.7;
}
.hero__proof li + li { padding-left: 24px; border-left: 1px solid rgba(255, 255, 255, .18); }
.hero__proof span {
  display: block; margin-bottom: 6px;
  font-family: var(--mono); font-size: 10px; font-weight: 700; letter-spacing: .2em;
  color: #4cc4f0; opacity: .85;
}

/* 写真は縁が背景に溶けるので、髪の毛一本分の輪郭を足して奥行きを揃える。
   背景透過の切り抜きには掛けない — 透明部分に箱が出るため */
.news-card__media img, .blog-card__media img, .ig-grid img {
  outline: 1px solid rgba(0, 0, 0, .1);
  outline-offset: -1px;
}

/* チェック付き箇条書き。index のヒーローからは外れたが products/quadruped.html が使う */
.hero__points { display: flex; flex-wrap: wrap; gap: 10px 26px; margin-top: 30px; }
.hero__points li { display: flex; align-items: center; gap: 9px; font-size: 14px; font-weight: 700; color: var(--ink-2); }
.hero__points li::before {
  content: ""; width: 20px; height: 20px; border-radius: 50%; flex: 0 0 auto;
  background: var(--brand-tint) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2300729f' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center/12px no-repeat;
}

.image-note {
  position: absolute; z-index: 2; top: 12px; right: 12px; padding: 5px 9px;
  border-radius: var(--radius-pill); background: rgba(0, 48, 72, .78);
  color: #fff; font-size: 10.5px; font-weight: 700; letter-spacing: .04em;
}

/* ---------- Home hero 変種B — 動画背景 / 立ちロボット無し ----------
   ロボリー(.s-hero.fullbleed)と同じ構成。メディアを背面全面に敷き、
   スクリムで沈めて文字を重ねる。合成が無いのでコラージュ感が出ない。
   .hero--video を付けたときだけ効く。既定版(A)には影響しない。 */
.hero--video { background: #05141c; }
.hero--video::before { display: none; }          /* 方眼は動画と喧嘩するので出さない */
.hero--video .hero__stage { position: absolute; inset: 0; z-index: 0; }
.hero__video {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: 50% 45%;
  background: #05141c;
  filter: saturate(.78) contrast(1.05) brightness(.66);
}
/* スクリム三層：文字側の左と、下端を最も濃く */
.hero--video .hero__scrim {
  position: absolute; inset: 0; z-index: 2; pointer-events: none;
  background:
    linear-gradient(180deg, rgba(5, 20, 28, .72) 0%, rgba(5, 20, 28, .16) 26%, rgba(5, 20, 28, .24) 52%, rgba(5, 20, 28, .95) 100%),
    linear-gradient(90deg, rgba(5, 20, 28, .92) 0%, rgba(5, 20, 28, .6) 34%, rgba(5, 20, 28, .12) 68%, transparent 88%);
}
.hero--video .hero__title,
.hero--video .hero__proof { z-index: 3; }
.hero--video .hero__brand,
.hero--video .hero__eyebrow,
.hero--video .hero__lead { text-shadow: 0 4px 22px rgba(0, 0, 0, .6); }

/* Stats strip */
.stats { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: #fff; }
.stats__list { display: grid; grid-template-columns: repeat(4, 1fr); }
.stats__list li { padding: 30px 20px; text-align: center; border-left: 1px solid var(--line); }
.stats__list li:first-child { border-left: 0; }
.stats__list b { display: block; font-size: clamp(22px, 2.6vw, 30px); color: var(--brand); letter-spacing: .01em; line-height: 1.3; }
.stats__list span { display: block; margin-top: 4px; font-size: 13px; font-weight: 700; color: var(--ink-muted); }

/* ---------- Cards ---------- */
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm); transition: transform .28s var(--ease), box-shadow .28s var(--ease), border-color .28s var(--ease);
}
.card--pad { padding: 30px; }
a.card:hover, .card--hover:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--line-strong); }

.grid { display: grid; gap: 26px; }
.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

/* Product card */
.product-card { container-type: inline-size; display: flex; flex-direction: column; overflow: hidden; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); transition: transform .28s var(--ease), box-shadow .28s var(--ease); }
.product-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
/* 商品写真は3点とも 1200x1200 の正方形。枠を 16/11 にすると contain で左右に
   帯が出て、写真自身の背景（薄青グラデ）との継ぎ目が見えるため枠を正方形に揃える。 */
.product-card__media { position: relative; aspect-ratio: 1 / 1; background: var(--surface-alt); overflow: hidden; }
.product-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.product-card:hover .product-card__media img { transform: scale(1.05); }
.product-card__tags { position: absolute; left: 14px; top: 14px; display: flex; gap: 6px; }
.product-card__body { display: flex; flex-direction: column; flex: 1; padding: 24px 24px 26px; }
.product-card__title { font-size: 21px; letter-spacing: .01em; }
.product-card__price { margin-top: 12px; display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.product-card__price em { font-style: normal; font-size: 12px; font-weight: 700; color: var(--ink-muted); }
.product-card__price strong { font-size: 27px; color: var(--brand); letter-spacing: .01em; }
/* The tax line always takes its own row, so the price block is the same
   height on every card no matter how long the amount is. */
.product-card__price small { flex: 1 0 100%; font-size: 12.5px; color: var(--ink-muted); font-weight: 600; }
.product-card__specs { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 16px; }
/* Narrow cards: fix the chips to two per row instead of letting each card wrap
   at its own text length — that is what threw the rows out of line ~1024px. */
@container (max-width: 330px) {
  .product-card__specs { display: grid; grid-template-columns: auto auto; justify-content: start; }
}
/* Four or more chips never fit on one line, so lay them out two-up everywhere. */
.product-card__specs:has(> :nth-child(4)) { display: grid; grid-template-columns: auto auto; justify-content: start; }
@container (max-width: 300px) {
  .product-card__specs .chip { padding: 5px 9px; font-size: 11.5px; letter-spacing: .02em; }
}
.product-card__desc { margin-top: 14px; font-size: 14px; color: var(--ink-2); line-height: 1.85; }
.product-card__actions { display: flex; gap: 10px; margin-top: auto; padding-top: 22px; }
.product-card__actions .btn { flex: 1; min-height: 46px; padding: 0 14px; font-size: 13.5px; }

.chip {
  /* Chips are often stretched by a grid track — keep the label centred in the
     pill rather than pinned to the left edge. */
  display: inline-flex; align-items: center; justify-content: center; text-align: center;
  padding: 5px 12px; border-radius: var(--radius-pill);
  font-size: 12px; font-weight: 700; letter-spacing: .04em;
  background: var(--surface-deep); color: var(--ink-2);
}
.chip--brand { background: var(--brand); color: #fff; }
.chip--tint { background: var(--brand-tint); color: var(--brand-dark); }
.chip--new { background: var(--accent); color: #fff; }
.chip--outline { background: #fff; border: 1px solid var(--line-strong); color: var(--ink-2); }

/* ---------- News list ---------- */
.news-list li + li { border-top: 1px solid var(--line); }
.news-list a {
  display: grid; grid-template-columns: 108px 108px 1fr auto; align-items: center; gap: 18px;
  padding: 20px 8px; color: var(--ink); transition: background .2s var(--ease), padding .2s var(--ease);
}
.news-list a:hover { background: var(--brand-tint-2); padding-inline: 16px; color: var(--brand-dark); }
.news-list time { font-size: 13.5px; font-weight: 700; color: var(--ink-muted); letter-spacing: .04em; }
.news-list__title { font-size: 15.5px; font-weight: 700; line-height: 1.7; }
.news-list__go { color: var(--brand); font-size: 18px; transition: transform .2s var(--ease); }
.news-list a:hover .news-list__go { transform: translateX(4px); }

/* News card (archive) */
.news-card { display: flex; flex-direction: column; overflow: hidden; }
.news-card__media { aspect-ratio: 16 / 9; overflow: hidden; background: var(--surface-alt); }
.news-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.news-card:hover .news-card__media img { transform: scale(1.05); }
.news-card__body { padding: 22px 24px 26px; display: flex; flex-direction: column; flex: 1; }
.news-card__meta { display: flex; align-items: center; gap: 10px; font-size: 12.5px; color: var(--ink-muted); font-weight: 700; }
.news-card__title {
  margin-top: 10px; font-size: 17px; line-height: 1.65; min-height: 4.95em;
}
.news-card__excerpt {
  margin-top: 10px; font-size: 13.5px; color: var(--ink-muted); line-height: 1.8; min-height: 5.4em;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}

/* ---------- Feature grid — 仕様書のような罫線グリッド ----------
   丸アイコン＋丸カード＋中央揃えの9枚は量産型LPの典型なので、
   角丸ゼロ・1px罫線・01〜09の等幅採番に組み替える。 */
.feature-grid { gap: 0; counter-reset: feat; border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.feature-grid .card {
  counter-increment: feat;
  border: 0; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line);
  border-radius: 0; box-shadow: none; background: #fff;
  transition: background-color .22s var(--ease);
}
.feature-grid .card:hover { transform: none; box-shadow: none; background: var(--brand-tint-2); }
.feature-card { display: flex; flex-direction: column; padding: 30px 28px 32px; text-align: left; height: 100%; }
.feature-card::before {
  content: counter(feat, decimal-leading-zero);
  font-family: var(--mono); font-size: 11.5px; font-weight: 700; letter-spacing: .2em;
  color: var(--brand); margin-bottom: 20px;
}
.feature-card__icon {
  width: 44px; height: 44px; margin: 0 0 18px; padding: 0;
  border-radius: 0; background: none;
  display: grid; place-items: center; color: var(--brand);
}
.feature-card__icon svg { width: 100%; height: 100%; display: block; }
.feature-card__icon img { width: 100%; height: 100%; object-fit: contain; }
.feature-card h3 {
  font-size: 16.5px; line-height: 1.6; letter-spacing: .01em;
}
.feature-card p { margin-top: 12px; font-size: 13.5px; color: var(--ink-2); line-height: 1.9; text-align: left; }
.feature-card .note {
  margin-top: auto; padding-top: 14px; font-size: 12px; color: var(--ink-muted); text-align: left;
  font-family: var(--mono); letter-spacing: .04em;
}

/* ---------- Steps ---------- */
.steps-mini { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; counter-reset: st; }
.steps-mini li {
  position: relative; padding: 24px 16px; text-align: center; background: #fff;
  border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm);
}
.steps-mini li::before {
  counter-increment: st; content: counter(st);
  display: grid; place-items: center; width: 34px; height: 34px; margin: 0 auto 12px;
  background: var(--brand); color: #fff; border-radius: 50%; font-size: 14px; font-weight: 800;
}
.steps-mini li b { display: block; font-size: 14px; line-height: 1.6; }
.steps-mini li span { display: block; margin-top: 6px; font-size: 12px; color: var(--ink-muted); line-height: 1.7; }

/* Full timeline (guide) */
.timeline { position: relative; padding-left: 74px; }
.timeline::before {
  content: ""; position: absolute; left: 26px; top: 10px; bottom: 40px; width: 2px;
  background: linear-gradient(180deg, var(--brand) 0%, var(--brand-tint) 100%);
}
.timeline__item { position: relative; padding-bottom: 56px; }
.timeline__item:last-child { padding-bottom: 0; }
.timeline__num {
  position: absolute; left: -74px; top: 0; width: 54px; height: 54px; border-radius: 50%;
  display: grid; place-items: center; background: #fff; border: 2px solid var(--line-strong);
  color: var(--ink-muted); font-weight: 800; font-size: 12px; line-height: 1.1; text-align: center;
  z-index: 2;
  transition: background-color .4s var(--ease), border-color .4s var(--ease),
    color .4s var(--ease), box-shadow .4s var(--ease), transform .4s var(--ease);
}
.timeline__num small { display: block; font-size: 9px; letter-spacing: .1em; }
.timeline__item.is-active .timeline__num,
.timeline__item.is-seen .timeline__num { background: var(--brand); border-color: var(--brand); color: #fff; box-shadow: 0 0 0 6px rgba(0, 114, 159, .12); }
.timeline__title { font-size: 22px; letter-spacing: .01em; }
.timeline__body { margin-top: 16px; }
.timeline__body > * + * { margin-top: 14px; }
.timeline__figs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 20px; align-items: stretch; }
.timeline__figs figure { margin: 0; display: flex; flex-direction: column; }
/* The three screenshots have different proportions — a shared frame keeps the
   images the same size and the captions on one line. */
.timeline__figs img {
  width: 100%; aspect-ratio: 16 / 10; object-fit: contain; background: #fff;
  border: 1px solid var(--line); border-radius: var(--radius-xs); box-shadow: var(--shadow-sm);
}
.timeline__figs figcaption { margin-top: auto; padding-top: 8px; font-size: 12px; color: var(--ink-muted); text-align: center; }

/* ---------- Prose (article body / legal) ---------- */
.prose { font-size: 15.5px; line-height: 1.95; color: var(--ink-2); }
.prose > * + * { margin-top: 18px; }
.prose h2 { margin-top: 46px; font-size: 24px; color: var(--ink); padding-bottom: 12px; border-bottom: 2px solid var(--brand-tint); }
.prose h3 { margin-top: 34px; font-size: 19px; color: var(--ink); padding-left: 14px; border-left: 4px solid var(--brand); }
.prose h4 { margin-top: 26px; font-size: 16.5px; color: var(--ink); }
.prose strong { color: var(--ink); font-weight: 700; }
.prose a { font-weight: 700; text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1.5px; }
.prose ul, .prose ol { padding-left: 4px; }
.prose ul > li { position: relative; padding-left: 22px; }
.prose ul > li + li, .prose ol > li + li { margin-top: 8px; }
.prose ul > li::before { content: ""; position: absolute; left: 4px; top: .78em; width: 7px; height: 7px; border-radius: 50%; background: var(--brand); }
.prose ol { counter-reset: pol; }
.prose ol > li { position: relative; padding-left: 30px; counter-increment: pol; }
.prose ol > li::before {
  content: counter(pol); position: absolute; left: 0; top: .28em; width: 21px; height: 21px;
  background: var(--brand-tint); color: var(--brand-dark); border-radius: 50%;
  font-size: 11.5px; font-weight: 800; display: grid; place-items: center;
}
.prose img { border-radius: var(--radius); box-shadow: var(--shadow-sm); border: 1px solid var(--line); }
.prose figure { margin: 26px 0; }
.prose figcaption { margin-top: 10px; font-size: 12.5px; color: var(--ink-muted); text-align: center; }
.prose hr { border: 0; border-top: 1px solid var(--line); margin: 34px 0; }
.prose .lead { font-size: 17px; color: var(--ink); font-weight: 600; }

.notice {
  padding: 20px 24px; background: var(--brand-tint-2); border-left: 4px solid var(--brand);
  border-radius: 0 var(--radius-xs) var(--radius-xs) 0; font-size: 14px; color: var(--ink-2); line-height: 1.85;
}
.notice--warn { background: var(--accent-tint); border-left-color: var(--accent); }
.notice p + p { margin-top: 8px; }
.notice__title { display: block; font-weight: 800; color: var(--ink); margin-bottom: 6px; }

.notes { font-size: 13px; color: var(--ink-muted); line-height: 1.85; }
.notes li { position: relative; padding-left: 18px; }
.notes li + li { margin-top: 6px; }
.notes li::before { content: "※"; position: absolute; left: 0; top: 0; color: var(--ink-faint); }

/* ---------- Tables ---------- */
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; overscroll-behavior-x: contain; border-radius: var(--radius); border: 1px solid var(--line); background: #fff; }
.table-wrap table { min-width: 100%; }
.data-table { font-size: 14px; }
.data-table th, .data-table td { padding: 14px 18px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); line-height: 1.75; }
.data-table thead th { background: var(--brand); color: #fff; font-weight: 700; font-size: 13px; letter-spacing: .04em; white-space: nowrap; border-bottom: 0; }
.data-table tbody th { background: var(--surface-alt); font-weight: 700; color: var(--ink); width: 34%; white-space: normal; }
.data-table tbody tr:last-child th, .data-table tbody tr:last-child td { border-bottom: 0; }
.data-table tbody tr:hover td, .data-table tbody tr:hover th { background: var(--brand-tint-2); }
.data-table td b { color: var(--ink); }

/* Spec table -> stacked cards on mobile */
.spec-table tbody th { width: 42%; }

/* Comparison table with sticky first column */
.compare-table { font-size: 13.5px; min-width: 760px; }
.compare-table th, .compare-table td { padding: 13px 16px; border-bottom: 1px solid var(--line); border-left: 1px solid var(--line); text-align: center; vertical-align: middle; line-height: 1.7; }
.compare-table thead th { background: var(--brand); color: #fff; font-size: 13px; position: sticky; top: 0; z-index: 3; border-left-color: rgba(255, 255, 255, .25); }
.compare-table tbody th {
  position: sticky; left: 0; z-index: 2; background: var(--surface-alt); text-align: left;
  font-weight: 700; color: var(--ink); border-left: 0; min-width: 190px;
  box-shadow: 1px 0 0 var(--line);
}
.compare-table thead th:first-child { position: sticky; left: 0; z-index: 4; border-left: 0; }
.compare-table .yes { color: var(--ok); font-weight: 800; font-size: 15px; }
.compare-table .no { color: var(--ink-faint); }

/* Price tables */
.price-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.price-table { font-size: 14px; }
.price-table th, .price-table td { padding: 13px 18px; border-bottom: 1px solid var(--line); line-height: 1.7; }
.price-table thead th { background: var(--brand); color: #fff; font-size: 13px; text-align: left; letter-spacing: .04em; }
.price-table thead th + th { text-align: right; }
.price-table tbody th { text-align: left; font-weight: 700; background: var(--surface-alt); white-space: nowrap; width: 36%; }
.price-table td { text-align: right; }
.price-table .plan { display: block; font-size: 13px; }
.price-table .plan + .plan { margin-top: 4px; }
.price-table .plan b { color: var(--brand-dark); }
.price-table .plan i { font-style: normal; display: inline-block; min-width: 46px; font-size: 11px; font-weight: 800; letter-spacing: .06em; color: var(--ink-muted); }
.price-table tbody tr:last-child th, .price-table tbody tr:last-child td { border-bottom: 0; }
.price-table .is-ask td { text-align: center; color: var(--ink-muted); font-size: 13px; }
.price-strike { text-decoration: line-through; color: var(--ink-faint); font-size: 12.5px; margin-right: 6px; }
.price-hot { color: var(--accent); font-weight: 800; }

/* ---------- Tabs ---------- */
.tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
.tab {
  padding: 11px 22px; border: 1px solid var(--line-strong); border-radius: var(--radius-pill);
  background: #fff; font-size: 14px; font-weight: 700; color: var(--ink-2); cursor: pointer;
  white-space: nowrap;
  transition: background-color .2s var(--ease), border-color .2s var(--ease),
    color .2s var(--ease), box-shadow .2s var(--ease), transform .2s var(--ease);
}
.tab:hover { border-color: var(--brand); color: var(--brand); }
.tab[aria-selected="true"] { background: var(--brand); border-color: var(--brand); color: #fff; box-shadow: var(--shadow-brand); }
.tab-panel[hidden] { display: none; }

/* ---------- FAQ ---------- */
.faq-search { position: relative; margin-bottom: 22px; }
.faq-search input {
  width: 100%; min-height: 56px; padding: 0 20px 0 52px;
  border: 1px solid var(--line-strong); border-radius: var(--radius-pill); background: #fff;
  font-size: 15px; color: var(--ink); transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.faq-search input:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 4px rgba(0, 114, 159, .12); }
.faq-search::before {
  content: ""; position: absolute; left: 20px; top: 50%; transform: translateY(-50%);
  width: 20px; height: 20px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236a7a86' stroke-width='2.2' stroke-linecap='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='m20 20-3.5-3.5'/%3E%3C/svg%3E") center/contain no-repeat;
}
.faq-count { font-size: 13.5px; color: var(--ink-muted); margin-bottom: 18px; font-weight: 600; }
.faq-empty { padding: 50px 20px; text-align: center; color: var(--ink-muted); }

.faq-group + .faq-group { margin-top: 46px; }
.faq-group__title { display: flex; align-items: center; gap: 12px; font-size: 20px; margin-bottom: 18px; }
.faq-group__title::before { content: ""; width: 5px; height: 22px; background: var(--brand); border-radius: 3px; }

.faq-item { border: 1px solid var(--line); border-radius: var(--radius); background: #fff; box-shadow: var(--shadow-sm); overflow: hidden; }
.faq-item + .faq-item { margin-top: 12px; }
.faq-item[open] { border-color: var(--brand); box-shadow: 0 4px 18px rgba(0, 114, 159, .1); }
.faq-item summary {
  display: flex; align-items: flex-start; gap: 14px; padding: 20px 56px 20px 22px;
  cursor: pointer; list-style: none; position: relative; font-weight: 700; font-size: 15.5px; line-height: 1.7;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::before {
  content: "Q"; flex: 0 0 auto; width: 28px; height: 28px; border-radius: 50%;
  background: var(--brand); color: #fff; display: grid; place-items: center;
  font-size: 13px; font-weight: 800; margin-top: 1px;
}
.faq-item summary::after {
  content: ""; position: absolute; right: 22px; top: 26px; width: 14px; height: 2px;
  background: var(--brand); border-radius: 2px; box-shadow: 0 0 0 0 transparent;
  transition: transform .25s var(--ease);
}
.faq-item summary .plus {
  position: absolute; right: 22px; top: 26px; width: 14px; height: 2px; background: var(--brand);
  border-radius: 2px; transform: rotate(90deg); transition: transform .25s var(--ease), opacity .2s var(--ease);
}
.faq-item[open] summary .plus { transform: rotate(0deg); opacity: 0; }
.faq-item summary:hover { background: var(--brand-tint-2); }
.faq-item__answer { padding: 0 22px 24px 64px; font-size: 14.5px; color: var(--ink-2); line-height: 1.95; }
.faq-item__answer a { font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.faq-item[hidden] { display: none; }

/* ---------- Blog list ---------- */
.filter-bar { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; justify-content: space-between; margin-bottom: 28px; }
.filter-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.blog-card { display: flex; flex-direction: column; overflow: hidden; height: 100%; }
.blog-card__media { aspect-ratio: 16 / 10; overflow: hidden; background: var(--surface-deep); }
.blog-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.blog-card:hover .blog-card__media img { transform: scale(1.06); }
.blog-card__media--empty { display: grid; place-items: center; background: linear-gradient(135deg, var(--brand-tint), #fff); }
.blog-card__media--empty img { width: 96px; height: auto; object-fit: contain; opacity: .6; }
.blog-card__body { display: flex; flex-direction: column; flex: 1; padding: 20px 22px 24px; }
.blog-card { container-type: inline-size; }
.blog-card__meta { display: flex; align-items: center; gap: 10px; font-size: 12px; color: var(--ink-muted); font-weight: 700; }
/* On narrow cards the tag + date row would wrap in some cards and not others,
   pushing their titles out of line — tighten it so it always stays one row. */
@container (max-width: 310px) {
  .blog-card__meta { gap: 6px; font-size: 11px; }
  .blog-card__meta .chip { padding: 4px 8px; font-size: 10.5px; letter-spacing: .02em; }
}
/* Two lines for the title, three for the excerpt — reserved whether or not the
   text fills them, so every card in a row breaks at the same heights. */
/* Three lines are reserved for the title so the excerpt and link below start on
   the same line in every card — no clamping, the full title always shows. */
.blog-card__title {
  margin-top: 10px; font-size: 16px; line-height: 1.65; color: var(--ink);
  min-height: 4.95em;
}
/* On the narrowest cards a long title would need a fourth line — a hair smaller
   keeps it within the three. */
@container (max-width: 272px) {
  .blog-card__title { font-size: 14.5px; }
}
@container (max-width: 244px) {
  .blog-card__title { font-size: 13.5px; }
}
.blog-card:hover .blog-card__title { color: var(--brand); }
.blog-card__excerpt {
  margin-top: 10px; font-size: 13px; color: var(--ink-muted); line-height: 1.8;
  min-height: 5.4em;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.blog-card__foot { margin-top: auto; padding-top: 16px; display: flex; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 700; color: var(--brand); }
.ext-icon { width: 12px; height: 12px; flex: 0 0 auto; }

/* ---------- Forms ---------- */
.form { display: grid; gap: 24px; }
.field { display: grid; gap: 8px; }
.field__label { display: flex; align-items: center; gap: 10px; font-size: 14.5px; font-weight: 700; color: var(--ink); }
.req { font-size: 10.5px; font-weight: 800; letter-spacing: .08em; padding: 3px 8px; border-radius: 4px; background: #e8463c; color: #fff; }
.opt { font-size: 10.5px; font-weight: 800; letter-spacing: .08em; padding: 3px 8px; border-radius: 4px; background: var(--surface-deep); color: var(--ink-muted); }
.field__hint { font-size: 12.5px; color: var(--ink-muted); }
.field input[type="text"], .field input[type="email"], .field input[type="tel"], .field input[type="date"],
.field input[type="number"], .field select, .field textarea {
  width: 100%; min-height: 54px; padding: 14px 18px;
  border: 1px solid var(--line-strong); border-radius: var(--radius-xs); background: #fff;
  font-family: inherit; font-size: 15px; color: var(--ink); line-height: 1.7;
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.field textarea { min-height: 180px; resize: vertical; }
.field select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8' fill='none' stroke='%236a7a86' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m1 1 5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 18px center; background-size: 12px;
  padding-right: 46px;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--brand); box-shadow: 0 0 0 4px rgba(0, 114, 159, .12);
}
.field input::placeholder, .field textarea::placeholder { color: var(--ink-faint); }
.field.is-invalid input, .field.is-invalid select, .field.is-invalid textarea { border-color: #e8463c; background: #fff8f7; }
.field__error { display: none; align-items: center; gap: 6px; font-size: 13px; font-weight: 700; color: #d33b31; }
.field.is-invalid .field__error { display: flex; }
.field__error::before { content: "!"; width: 16px; height: 16px; border-radius: 50%; background: #e8463c; color: #fff; font-size: 11px; display: grid; place-items: center; flex: 0 0 auto; }
.field-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }

.form-summary {
  display: none; padding: 18px 22px; border-radius: var(--radius-xs);
  background: #fff3f2; border: 1px solid #f5c9c5; color: #b83228; font-size: 14px; font-weight: 600;
}
.form-summary.is-visible { display: block; }
.form-summary ul { margin-top: 8px; }
.form-summary li { padding-left: 16px; position: relative; }
.form-summary li::before { content: "・"; position: absolute; left: 0; }
.form-consent { font-size: 13px; color: var(--ink-muted); line-height: 1.8; }
.form-consent a { font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }

/* Modal */
.modal { position: fixed; inset: 0; z-index: 1300; display: grid; place-items: center; padding: 20px; opacity: 0; visibility: hidden; transition: opacity .25s var(--ease), visibility .25s var(--ease); }
.modal.is-open { opacity: 1; visibility: visible; }
.modal__backdrop { position: absolute; inset: 0; background: rgba(9, 24, 34, .5); backdrop-filter: blur(3px); }
.modal__panel {
  position: relative; width: min(100%, 520px); max-height: 86vh; overflow-y: auto;
  background: #fff; border-radius: var(--radius-lg); padding: 40px 34px 32px; box-shadow: var(--shadow-lg);
  transform: translateY(14px) scale(.98); transition: transform .3s var(--ease); text-align: center;
}
.modal.is-open .modal__panel { transform: translateY(0) scale(1); }
.modal__icon { width: 64px; height: 64px; margin: 0 auto 20px; border-radius: 50%; background: var(--brand-tint); display: grid; place-items: center; }
.modal__panel h2 { font-size: 21px; }
.modal__panel p { margin-top: 14px; font-size: 14.5px; color: var(--ink-2); line-height: 1.9; text-align: left; }
.modal__list { margin-top: 20px; text-align: left; border: 1px solid var(--line); border-radius: var(--radius-xs); overflow: hidden; font-size: 13.5px; }
.modal__list div { display: grid; grid-template-columns: 34% 1fr; gap: 0; }
.modal__list div + div { border-top: 1px solid var(--line); }
.modal__list dt { padding: 11px 14px; background: var(--surface-alt); font-weight: 700; color: var(--ink); }
.modal__list dd { padding: 11px 14px; margin: 0; color: var(--ink-2); }
.modal__actions { display: grid; gap: 10px; margin-top: 26px; }

/* ---------- CTA band ---------- */
.cta-band {
  position: relative; overflow: hidden; padding: 78px 0;
  background: linear-gradient(120deg, var(--brand-dark) 0%, var(--brand) 60%, #0a86b4 100%);
  color: #fff; text-align: center;
}
.cta-band::before {
  content: ""; position: absolute; inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, .16) 1px, transparent 1px);
  background-size: 26px 26px; opacity: .45;
}
.cta-band__inner { position: relative; z-index: 2; }
.cta-band h2 { font-size: clamp(24px, 3.2vw, 34px); line-height: 1.4; }
.cta-band p { margin-top: 16px; font-size: 15.5px; color: rgba(255, 255, 255, .9); }
.cta-band .btn-row { margin-top: 32px; justify-content: center; }
.cta-band__note { margin-top: 22px; font-size: 13px; color: rgba(255, 255, 255, .78); }

/* ---------- Rental-days figure ----------
   Rebuilt from the old flat artwork, where the dates sat off-centre inside the
   chevrons. Each chevron's notch and point cancel out, so the label centred in
   the box is centred in the visible shape too. */
.days-figure {
  --chev-point: 22px;
  --ink-figure: #3c3c3b;
  --accent-arrive: #35a2a4;
  --accent-period: #6d577b;
  background: #f1f3f2; border-radius: var(--radius-lg); padding: 30px 32px 32px; margin: 26px 0;
}
.days-figure__title {
  text-align: center; font-size: clamp(19px, 2.5vw, 27px); font-weight: 800;
  color: var(--ink-figure); line-height: 1.4; letter-spacing: .02em;
}
.days-figure__bar { display: flex; margin-top: 22px; padding: 0; list-style: none; }
/* the figure carries its own numbering, so opt out of .prose list decoration */
.prose .days-figure__bar > li { padding-left: 0; counter-increment: none; }
.prose .days-figure__notes > li { padding-left: 0; counter-increment: none; }
.prose .days-figure__bar > li::before, .prose .days-figure__notes > li::before { content: none; }
.prose .days-figure__notes > li + li { margin-top: 0; }
.days-chev {
  /* Basis of one point-width, so the notched chevrons end up the same visible
     size as the flat-edged first one. The date then sits on the box centre,
     which for a chevron is exactly its area centroid — measuring from the notch
     tip instead makes the number read as pushed to the right. */
  flex: 1 1 var(--chev-point); min-width: 0;
  display: flex; align-items: center; justify-content: center;
  height: clamp(42px, 5.6vw, 58px); color: #fff; font-weight: 800;
  font-size: clamp(13px, 1.8vw, 21px); letter-spacing: .04em;
  clip-path: polygon(0 0, calc(100% - var(--chev-point)) 0, 100% 50%,
                     calc(100% - var(--chev-point)) 100%, 0 100%, var(--chev-point) 50%);
}
.days-chev:first-child {
  /* No notch on this one, so its centroid sits a quarter of a point-width left
     of the box centre. */
  flex-basis: 0; padding-right: calc(var(--chev-point) / 2);
  clip-path: polygon(0 0, calc(100% - var(--chev-point)) 0, 100% 50%,
                     calc(100% - var(--chev-point)) 100%, 0 100%);
}
.days-chev + .days-chev { margin-left: calc(5px - var(--chev-point)); }
.days-chev--before { background: #c7d0d9; }
.days-chev--rental { background: #0097b2; }
.days-chev--end { background: #b66576; }

.days-figure__notes {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 0 16px;
  margin-top: 18px; padding: 0; list-style: none;
}
.days-note--period { grid-column: 2 / 4; }
.days-note--return { grid-column: 4 / 5; }
.days-note__num {
  display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%;
  color: #fff; font-size: 14px; font-weight: 800; line-height: 1;
}
.days-note--arrive .days-note__num { background: var(--accent-arrive); }
.days-note--period .days-note__num,
.days-note--return .days-note__num { background: var(--accent-period); }
.days-note__body { margin-top: 10px; padding-left: 12px; border-left: 4px solid var(--accent-period); }
.days-note--arrive .days-note__body { border-left-color: var(--accent-arrive); }
.days-note__body b { display: block; font-size: clamp(14px, 1.5vw, 17px); color: var(--ink-figure); line-height: 1.5; }
.days-note__body span { display: block; margin-top: 4px; font-size: clamp(12px, 1.2vw, 13.5px); color: #5c5f5e; line-height: 1.7; }

@media (max-width: 640px) {
  .days-figure { --chev-point: 12px; padding: 22px 18px 24px; }
  .days-figure__notes { grid-template-columns: 1fr; gap: 18px; }
  .days-note, .days-note--period, .days-note--return { grid-column: 1 / -1; }
}

/* ---------- Clients ---------- */
/* Flex rather than fixed columns so a short final row stays centred. Each tile
   holds a logo when one is available and falls back to the company name. */
.clients { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; }
.clients li {
  flex: 1 1 170px; display: grid; place-items: center; gap: 10px;
  min-height: 116px; padding: 20px 16px; text-align: center;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  transition: border-color .25s var(--ease), box-shadow .25s var(--ease), transform .25s var(--ease);
}
.clients li:hover { border-color: var(--brand); box-shadow: var(--shadow-sm); transform: translateY(-2px); }
.client__logo { display: block; width: 100%; height: 48px; }
/* object-fit does the letterboxing, so wide and tall logos both sit inside the
   same slot without one of them blowing past it. */
.client__logo img { width: 100%; height: 100%; object-fit: contain; object-position: center; }
.client__name { font-size: 14px; font-weight: 700; color: var(--ink-2); letter-spacing: .01em; line-height: 1.5; }
.clients li:hover .client__name { color: var(--brand-dark); }
/* tiles that only carry a name centre it on the full tile height */
.clients li:not(:has(.client__logo)) .client__name { font-size: 14.5px; }

/* ---------- Instagram teaser ---------- */
.ig-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.ig-grid a { position: relative; aspect-ratio: 1; border-radius: var(--radius); overflow: hidden; background: var(--surface-deep); display: block; }
.ig-grid img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s var(--ease); }
.ig-grid a:hover img { transform: scale(1.07); }
.ig-grid a::after {
  content: ""; position: absolute; inset: 0; background: rgba(0, 70, 109, 0); transition: background .25s var(--ease);
}
.ig-grid a:hover::after { background: rgba(0, 70, 109, .22); }
.ig-head { display: flex; align-items: center; gap: 14px; margin-bottom: 22px; }
.ig-head img { width: 54px; height: 54px; border-radius: 50%; border: 2px solid var(--line); }
.ig-head b { display: block; font-size: 16px; }
.ig-head span { display: block; font-size: 13px; color: var(--ink-muted); }

/* ---------- Product detail ---------- */
.product-hero { padding: calc(var(--header-h) + 40px) 0 56px; background: linear-gradient(180deg, var(--brand-tint-2), #fff); border-bottom: 1px solid var(--line); }
.product-hero__grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 50px; align-items: center; margin-top: 26px; }
.product-hero__media {
  position: relative; background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius-lg); padding: 30px; box-shadow: var(--shadow-md);
  display: grid; place-items: center; min-height: 420px;
}
/* 元画像は 900x1200 のうち左右50pxが単色パディングで、しかも枠(5/6)と画像(3/4)の比率が
   合わずレターボックスになっていた。背景を抜いた切り抜きを高さ基準で置き、枠いっぱいに使う。 */
.product-hero__media img {
  width: auto; max-width: 100%;
  height: clamp(300px, 32vw, 500px);
  object-fit: contain;
}
/* 白地に浮かないよう足元に影を敷く */
.product-hero__media::after {
  content: ""; position: absolute; left: 50%; bottom: 34px; transform: translateX(-50%);
  width: 46%; height: 18px; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(18, 33, 43, .18), transparent);
}
.product-hero__tags { display: flex; gap: 8px; flex-wrap: wrap; }
.product-hero h1 { margin-top: 16px; font-size: clamp(28px, 4vw, 42px); letter-spacing: .01em; }
.product-hero__sub { margin-top: 12px; font-size: 16px; color: var(--ink-2); font-weight: 600; }
.price-box { margin-top: 26px; padding: 22px 26px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); }
.price-box__label { font-size: 12.5px; font-weight: 800; letter-spacing: .1em; color: var(--ink-muted); }
.price-box__main { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; margin-top: 6px; }
.price-box__main strong { font-size: clamp(32px, 4.4vw, 42px); color: var(--brand); line-height: 1.2; letter-spacing: .01em; }
.price-box__main span { font-size: 14px; font-weight: 700; color: var(--ink-2); }
.price-box__tax { margin-top: 4px; font-size: 13.5px; color: var(--ink-muted); font-weight: 600; }
.spec-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.product-hero__actions { margin-top: 26px; }
.product-hero__note { margin-top: 16px; font-size: 13.5px; color: var(--ink-muted); }

.detail-block + .detail-block { margin-top: 54px; }
.detail-block__title { font-size: 22px; padding-left: 14px; border-left: 4px solid var(--brand); }
.detail-block__text { margin-top: 16px; font-size: 15px; color: var(--ink-2); line-height: 1.95; }
.stat-tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 14px; margin-top: 24px; }
.stat-tile { padding: 22px 18px; text-align: center; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); }
.stat-tile b { display: block; font-size: clamp(19px, 2.4vw, 26px); color: var(--brand); line-height: 1.3; letter-spacing: .01em; }
.stat-tile span { display: block; margin-top: 6px; font-size: 12.5px; font-weight: 700; color: var(--ink-muted); line-height: 1.6; }

.option-card { display: grid; grid-template-columns: 180px 1fr; gap: 26px; align-items: center; padding: 26px; }
.option-card img { width: 100%; border-radius: var(--radius-xs); background: var(--surface-alt); }
.option-card h3 { font-size: 18px; }
.option-card p { margin-top: 10px; font-size: 14px; color: var(--ink-2); }

.product-nav { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.product-nav a { display: flex; align-items: center; gap: 14px; padding: 14px 16px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); color: var(--ink); font-weight: 700; font-size: 14px;
  transition: background-color .22s var(--ease), border-color .22s var(--ease),
    color .22s var(--ease), box-shadow .22s var(--ease), transform .22s var(--ease); }
.product-nav a:hover { border-color: var(--brand); color: var(--brand); box-shadow: var(--shadow-sm); transform: translateY(-2px); }
.product-nav a[aria-current="page"] { background: var(--brand-tint); border-color: var(--brand); color: var(--brand-dark); }
.product-nav img { width: 52px; height: 46px; object-fit: contain; flex: 0 0 auto; }

.model-switch { display: none; }

/* ---------- TOC (legal pages) ---------- */
.legal-layout { display: grid; grid-template-columns: minmax(0, 1fr) 258px; gap: 56px; align-items: start; }
.toc { position: sticky; top: calc(var(--header-h) + 24px); padding: 24px 22px; background: var(--surface-alt); border: 1px solid var(--line); border-radius: var(--radius); }
.toc h2 { font-size: 14px; letter-spacing: .08em; color: var(--ink-muted); margin-bottom: 14px; }
.toc ol { max-height: 60vh; overflow-y: auto; }
.toc li + li { margin-top: 2px; }
.toc a { display: block; padding: 7px 10px; border-radius: 6px; font-size: 13px; font-weight: 600; color: var(--ink-2); line-height: 1.6; }
.toc a:hover { background: #fff; color: var(--brand); }
.toc a.is-active { background: var(--brand); color: #fff; }

.article-nav { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin-top: 56px; }
.article-nav a { display: flex; flex-direction: column; gap: 6px; padding: 20px 24px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  transition: border-color .22s var(--ease), box-shadow .22s var(--ease), transform .22s var(--ease); }
.article-nav a:hover { border-color: var(--brand); box-shadow: var(--shadow-sm); transform: translateY(-2px); }
.article-nav span { font-size: 11.5px; font-weight: 800; letter-spacing: .1em; color: var(--ink-muted); }
.article-nav b { font-size: 14.5px; color: var(--ink); line-height: 1.6; }
.article-nav a:hover b { color: var(--brand); }
.article-nav .is-next { text-align: right; align-items: flex-end; }
.article-nav .is-empty { visibility: hidden; }

/* ---------- Company ---------- */
.profile-table th { width: 30%; }
.timeline-simple li { position: relative; padding: 0 0 22px 30px; border-left: 2px solid var(--brand-tint); }
.timeline-simple li:last-child { border-left-color: transparent; padding-bottom: 0; }
.timeline-simple li::before { content: ""; position: absolute; left: -7px; top: 8px; width: 12px; height: 12px; border-radius: 50%; background: #fff; border: 3px solid var(--brand); }
.timeline-simple b { display: block; font-size: 14px; color: var(--brand-dark); letter-spacing: .04em; }
.timeline-simple p { font-size: 14.5px; color: var(--ink-2); line-height: 1.85; }

/* ---------- Footer ---------- */
.site-footer { background: var(--surface-alt); border-top: 1px solid var(--line); padding-top: 66px; }
.footer-top { display: grid; grid-template-columns: minmax(0, 1.25fr) repeat(3, minmax(0, 1fr)); gap: 40px; padding-bottom: 52px; }
.footer-brand img { width: 168px; }
.footer-brand p { margin-top: 18px; font-size: 13.5px; color: var(--ink-muted); line-height: 1.9; }
.footer-sns { display: flex; gap: 10px; margin-top: 20px; }
.footer-sns a {
  display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px;
  background: #fff; border: 1px solid var(--line); color: var(--ink-2);
  transition: background-color .22s var(--ease), border-color .22s var(--ease),
    color .22s var(--ease), transform .22s var(--ease);
}
.footer-sns a:hover { background: var(--brand); border-color: var(--brand); color: #fff; transform: translateY(-2px); }
.footer-col h3 { font-size: 13px; font-weight: 800; letter-spacing: .1em; color: var(--ink); margin-bottom: 16px; }
.footer-col li + li { margin-top: 11px; }
.footer-col a { font-size: 13.5px; color: var(--ink-2); font-weight: 600; display: inline-flex; align-items: center; gap: 6px; }
.footer-col a:hover { color: var(--brand); }
.footer-bottom { border-top: 1px solid var(--line); padding: 22px 0; display: flex; flex-wrap: wrap; gap: 14px; align-items: center; justify-content: space-between; }
.footer-bottom small { font-size: 12.5px; color: var(--ink-muted); }
.footer-legal { display: flex; flex-wrap: wrap; gap: 20px; }
.footer-legal a { font-size: 12.5px; color: var(--ink-muted); font-weight: 600; }
.footer-legal a:hover { color: var(--brand); }

.to-top {
  position: fixed; right: 24px; bottom: 24px; z-index: 1040;
  width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--line);
  background: #fff; box-shadow: var(--shadow-md); cursor: pointer;
  display: grid; place-items: center; color: var(--brand);
  opacity: 0; visibility: hidden; transform: translateY(10px);
  transition: opacity .28s var(--ease), visibility .28s var(--ease), transform .28s var(--ease),
    background-color .28s var(--ease), color .28s var(--ease), border-color .28s var(--ease);
}
.to-top.is-visible { opacity: 1; visibility: visible; transform: translateY(0); }
.to-top:hover { background: var(--brand); color: #fff; border-color: var(--brand); }

/* ---------- Reveal animation ----------
   Gated on `.js` so content is never hidden when scripting is unavailable. */
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }
.js .reveal-stagger > * { opacity: 0; transform: translateY(20px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.js .reveal-stagger.is-in > * { opacity: 1; transform: none; }
.reveal-stagger.is-in > *:nth-child(1) { transition-delay: .04s; }
.reveal-stagger.is-in > *:nth-child(2) { transition-delay: .1s; }
.reveal-stagger.is-in > *:nth-child(3) { transition-delay: .16s; }
.reveal-stagger.is-in > *:nth-child(4) { transition-delay: .22s; }
.reveal-stagger.is-in > *:nth-child(5) { transition-delay: .28s; }
.reveal-stagger.is-in > *:nth-child(6) { transition-delay: .34s; }
.reveal-stagger.is-in > *:nth-child(7) { transition-delay: .40s; }
.reveal-stagger.is-in > *:nth-child(8) { transition-delay: .46s; }
.reveal-stagger.is-in > *:nth-child(9) { transition-delay: .52s; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1200px) {
  .site-header__inner { width: min(100% - 28px, 100%); }
  .nav__link { padding: 10px 10px; font-size: 13.5px; }
  .site-logo img { width: 104px; }
}

@media (max-width: 1024px) {
  :root { --header-h: 68px; }
  .nav, .header-cta { display: none; }
  .hamburger { display: block; }
  /* SPではロボットを右下に小さく逃がし、文字の可読性を優先する */
  /* SPは文字が全幅に乗るので、実機の上にスクリムを1枚敷いて可読性を確保する
     （文字は z-index:4、このスクリムは z-index:3） */
  .hero::after {
    content: ""; position: absolute; inset: 0; z-index: 3; pointer-events: none;
    background: linear-gradient(180deg,
      rgba(5, 20, 28, .55) 0%, rgba(5, 20, 28, .22) 26%,
      rgba(5, 20, 28, .78) 62%, rgba(5, 20, 28, .95) 100%);
  }
  .hero__figure { right: -10vw; bottom: 0; height: min(44svh, 400px); opacity: .78; }
  .hero__figure-shadow { right: 2vw; width: 42vw; }
  .hero__ring { right: 6%; width: min(56vh, 420px); }
  .hero__glow { right: 6%; width: min(64vh, 480px); }
  .hero__rail { display: none; }
  .hero__title { padding-bottom: 4vh; }
  .hero__lead { max-width: 26em; }
  .hero__proof { grid-template-columns: 1fr; }
  .hero__proof li { padding: 14px 0; }
  .hero__proof li + li { padding-left: 0; border-left: 0; border-top: 1px solid rgba(255, 255, 255, .18); }
  .grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps-mini { grid-template-columns: repeat(3, 1fr); }
  .legal-layout { grid-template-columns: 1fr; gap: 32px; }
  .toc { position: static; max-height: none; }
  .toc ol { max-height: none; display: grid; grid-template-columns: repeat(2, 1fr); gap: 2px 12px; }
  .product-hero__grid { grid-template-columns: 1fr; gap: 32px; }
  .product-hero__media { order: -1; }
  .section { padding: 68px 0; }
}

@media (max-width: 860px) {
  .grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .price-grid { grid-template-columns: 1fr; }
  .ig-grid { grid-template-columns: repeat(3, 1fr); }
  .timeline__figs { grid-template-columns: 1fr; max-width: 460px; }
  .footer-top { grid-template-columns: repeat(2, 1fr); gap: 34px; }
  .footer-brand { grid-column: 1 / -1; }
  .news-list a { grid-template-columns: 96px 1fr; gap: 6px 14px; padding: 18px 8px; }
  .news-list .chip { grid-row: 1; grid-column: 2; justify-self: start; }
  .news-list__title { grid-column: 1 / -1; }
  .news-list__go { display: none; }
}

@media (max-width: 768px) {
  /* Single column below this width: nothing to line up, so drop the reserved
     heights and let every title show in full. */
  .feature-card h3, .blog-card__title, .blog-card__excerpt,
  .news-card__title, .news-card__excerpt { min-height: 0; }

  body { font-size: 15px; }
  .wrap, .wrap--narrow { width: calc(100% - 32px); }
  .section { padding: 56px 0; }
  .section__head { margin-bottom: 32px; }
  .mobile-cta { display: flex; }
  .site-footer { padding-bottom: 78px; }
  .to-top { bottom: 84px; right: 16px; width: 42px; height: 42px; }
  .hero { min-height: 92svh; }
  .hero__points { gap: 8px 18px; }
  .grid { gap: 18px; }
  .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; }
  .steps-mini { grid-template-columns: repeat(2, 1fr); }
  .ig-grid { grid-template-columns: repeat(2, 1fr); }
  .field-row { grid-template-columns: 1fr; gap: 24px; }
  .article-nav { grid-template-columns: 1fr; }
  .article-nav .is-next { text-align: left; align-items: flex-start; }
  .article-nav .is-empty { display: none; }
  .product-nav { grid-template-columns: 1fr; }
  .option-card { grid-template-columns: 1fr; gap: 18px; text-align: center; }
  .option-card img { max-width: 190px; margin-inline: auto; }
  .card--pad { padding: 22px; }
  .toc ol { grid-template-columns: 1fr; }

  /* Timeline: numbers move inline */
  .timeline { padding-left: 0; }
  .timeline::before { display: none; }
  .timeline__item { padding-bottom: 40px; }
  .timeline__num { position: static; width: auto; height: auto; border: 0; border-radius: var(--radius-pill); background: var(--brand); color: #fff; display: inline-flex; gap: 6px; align-items: baseline; padding: 6px 16px; margin-bottom: 12px; box-shadow: none; }
  .timeline__num small { display: inline; }
  .timeline__title { font-size: 19px; }

  /* Stacked spec tables */
  .spec-table, .spec-table tbody, .spec-table tr, .spec-table th, .spec-table td { display: block; width: auto; }
  .spec-table thead { display: none; }
  .spec-table tr { border-bottom: 1px solid var(--line); padding: 4px 0; }
  .spec-table tr:last-child { border-bottom: 0; }
  .spec-table tbody th { width: auto; background: transparent; padding: 12px 16px 2px; font-size: 12.5px; color: var(--ink-muted); border: 0; }
  .spec-table tbody td { padding: 0 16px 12px; border: 0; font-weight: 600; color: var(--ink); }
  .spec-table tbody tr:hover th, .spec-table tbody tr:hover td { background: transparent; }

  /* Price tables stacked */
  .price-table thead th { font-size: 12px; }
  .price-table th, .price-table td { padding: 11px 12px; font-size: 13px; }
  .price-table tbody th { width: 34%; white-space: normal; }

  /* Comparison: one model at a time */
  .model-switch { display: flex; gap: 8px; margin-bottom: 16px; flex-wrap: wrap; }
  .compare-table { min-width: 0; }
  .compare-table th, .compare-table td { padding: 11px 12px; font-size: 13px; }
  .compare-table tbody th { min-width: 130px; }
  .compare-table [data-model].is-hidden { display: none; }

  .modal__panel { padding: 32px 22px 26px; }
  .modal__list div { grid-template-columns: 38% 1fr; }
  .cta-band { padding: 58px 0; }
  .footer-top { grid-template-columns: 1fr; gap: 28px; padding-bottom: 40px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 10px; }
  .stats__list { grid-template-columns: repeat(2, 1fr); }
  .stats__list li { border-left: 0; border-top: 1px solid var(--line); padding: 22px 12px; }
  .stats__list li:nth-child(-n+2) { border-top: 0; }
  .stats__list li:nth-child(even) { border-left: 1px solid var(--line); }
  .page-hero { padding: calc(var(--header-h) + 34px) 0 40px; }
  .prose h2 { font-size: 20px; margin-top: 36px; }
  .prose h3 { font-size: 17px; }
  .faq-item summary { padding: 16px 46px 16px 16px; font-size: 14.5px; gap: 10px; }
  .faq-item summary::before { width: 24px; height: 24px; font-size: 12px; }
  .faq-item summary::after, .faq-item summary .plus { right: 16px; top: 22px; }
  .faq-item__answer { padding: 0 16px 20px 50px; font-size: 14px; }
  .drawer { width: min(100%, 100%); }
}

@media (max-width: 420px) {
  .steps-mini { grid-template-columns: 1fr; }
  .product-card__actions { flex-direction: column; }
  .btn { padding: 0 22px; font-size: 14px; }
}

/* ---------- Print ---------- */
@media print {
  .site-header, .drawer, .drawer-overlay, .mobile-cta, .to-top, .cta-band, .hamburger { display: none !important; }
  body { font-size: 12px; }
  .section { padding: 20px 0; }
  a { color: #000; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important; animation-iteration-count: 1 !important;
    transition-duration: .001ms !important; scroll-behavior: auto !important;
  }
  .reveal, .reveal-stagger > * { opacity: 1 !important; transform: none !important; }
}

/* September review: remove decorative strokes and align rental dates. */
.eyebrow::before, .nav__link::after { display: none; }
.prose h3, .detail-block__title { border-left: 0; padding-left: 0; }
.prose h2 { border-bottom: 0; }
.days-figure .days-figure__bar { padding: 0; gap: 4px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.prose .days-figure__bar > li, .prose .days-figure__bar > li + li { margin: 0; padding: 0; }
.days-figure .days-chev { clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 50%, calc(100% - 12px) 100%, 0 100%); }
.days-figure .days-figure__notes { padding: 0; }
.days-note__body { border-left: 0; padding-left: 0; }
.days-note__body b { overflow-wrap: anywhere; }
