/* ==========================================================================
   BizReco LP — 2026-07 全面刷新
   設計基準:
   - コンテナ: 標準1200px / ナロー880px / ワイド1280px
   - 縦リズム: セクション間 clamp(72px, 9vw, 144px)（モバイル自動縮小）
   - タイポ: h1 clamp(40-68) lh1.2 / h2 clamp(28-42) lh1.35 / h3 18-22 lh1.5 / 本文16 lh1.85
   ========================================================================== */

:root {
  --navy: #031b42;
  --navy-2: #062b61;
  --blue: #075de8;
  --blue-deep: #0347c5;
  --cyan: #00aaf0;
  --ink: #0b1f3f;
  --muted: #51678a;
  --line: #dbe7f6;
  --soft: #f4f8fe;
  --white: #ffffff;

  --container: 1200px;
  --container-narrow: 880px;
  --container-wide: 1280px;
  --gutter: clamp(20px, 4vw, 40px);

  --section-y: clamp(72px, 9vw, 144px);
  --section-y-sm: clamp(56px, 7vw, 104px);

  --radius: 16px;
  --radius-lg: 24px;
  --shadow-card: 0 10px 40px rgba(20, 75, 145, 0.1);
  --shadow-card-hover: 0 18px 56px rgba(20, 75, 145, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: #fff;
  font-family: "Hiragino Kaku Gothic ProN", "Yu Gothic", "Meiryo", system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.85;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
  /* 日本語を文節単位で折り返す。「AIボイスレコ / ーダー」のような
     語中での分断を防ぐ（未対応ブラウザは従来どおりの折り返しになるだけ）。 */
  word-break: auto-phrase;
}

/* 追従ヘッダー(76px)にアンカー先が隠れないようにする */
:target,
section[id],
article[id] {
  scroll-margin-top: 88px;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* <picture> は WebP 出し分けのためのラッパー。
   レイアウト（grid/flex の子）は中の img がそのまま担う。 */
picture {
  display: contents;
}

/* <source> はブラウザの既定が display:none ではないため、上の display:contents で
   picture の箱が消えると grid/flex の「実アイテム」として数えられてしまう。
   （高さ0・幅はトラックに引き伸ばされるため、画像やリストが1つ隣のセルへ押し出される）
   レンダリング対象ではない要素なので、明示的にボックスを持たせない。 */
picture > source {
  display: none;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

.container {
  width: min(var(--container), calc(100% - var(--gutter) * 2));
  margin-inline: auto;
}

.container-narrow {
  width: min(var(--container-narrow), calc(100% - var(--gutter) * 2));
}

.container-wide {
  width: min(var(--container-wide), calc(100% - var(--gutter) * 2));
}

/* --------------------------------------------------------------------------
   ヘッダー
   -------------------------------------------------------------------------- */

.site-header {
  position: sticky;
  z-index: 50;
  top: 0;
  height: 76px;
  border-bottom: 1px solid rgba(214, 229, 247, 0.8);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(18px);
}

.header-inner {
  width: min(var(--container-wide), calc(100% - var(--gutter) * 2));
  height: 100%;
  margin-inline: auto;
  display: flex;
  align-items: center;
  gap: 32px;
}

.brand {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  /* タップ領域の確保（ロゴ画像の高さが44pxを下回る幅があるため） */
  min-height: 44px;
}

.brand-logo {
  height: 60px;
  width: auto;
}

.global-nav {
  display: flex;
  align-items: center;
  gap: clamp(18px, 2vw, 30px);
  margin-left: auto;
  white-space: nowrap;
  font-size: 14px;
  font-weight: 700;
  color: #23395c;
}

.global-nav a {
  position: relative;
  padding: 6px 2px;
}

.global-nav a::after {
  content: "";
  position: absolute;
  inset: auto 50% -4px;
  width: 0;
  height: 2px;
  background: var(--blue);
  transition: 0.2s ease;
}

.global-nav a:hover::after {
  left: 0;
  width: 100%;
}

.header-actions {
  display: flex;
  gap: 12px;
}

/* --------------------------------------------------------------------------
   ボタン
   -------------------------------------------------------------------------- */

.button {
  min-height: 56px;
  padding: 0 40px;
  border: 0;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: #fff;
  font-size: 16px;
  font-weight: 800;
  letter-spacing: 0.02em;
  box-shadow: 0 12px 28px rgba(0, 54, 132, 0.18);
  transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.button:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 36px rgba(0, 54, 132, 0.26);
  filter: brightness(1.05);
}

.button-primary {
  background: linear-gradient(135deg, #0a6bf2, #0246cc);
}

.button-dark {
  background: linear-gradient(135deg, #0a3068, #03152f);
}

.button-small {
  min-height: 44px;
  padding-inline: 22px;
  font-size: 13px;
  border-radius: 10px;
}

/* インラインSVGアイコン（ボタン・リスト・カード共通）。
   線幅と角丸を揃えて、サイト全体でトーンを統一する。 */
.btn-icon,
.line-icon,
.pill-icon,
.reason-icon,
.feature-icon,
.note-icon {
  flex: 0 0 auto;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.btn-icon {
  width: 19px;
  height: 19px;
  opacity: 0.95;
}

.button-small .btn-icon {
  width: 16px;
  height: 16px;
}

.line-icon {
  width: 26px;
  height: 26px;
  color: var(--blue);
}

.note-icon {
  width: 15px;
  height: 15px;
  color: var(--blue);
  vertical-align: -2px;
}

.menu-button {
  display: none;
  width: 46px;
  height: 46px;
  padding: 11px;
  border: 0;
  border-radius: 10px;
  background: var(--navy);
}

.menu-button span {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: #fff;
  transition: 0.2s;
}

/* --------------------------------------------------------------------------
   ヒーロー
   -------------------------------------------------------------------------- */

.hero {
  position: relative;
  overflow: hidden;
  padding: clamp(48px, 6vw, 88px) 0 clamp(56px, 7vw, 104px);
  background: linear-gradient(110deg, #fff 4%, #f8fbff 44%, #e9f3ff 100%);
}

.hero-glow {
  position: absolute;
  width: 640px;
  height: 640px;
  top: -280px;
  right: -4%;
  border-radius: 50%;
  background: rgba(125, 191, 255, 0.24);
  filter: blur(90px);
  pointer-events: none;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr);
  align-items: center;
  gap: clamp(32px, 4vw, 64px);
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--blue);
  font-size: clamp(13px, 1.2vw, 15px);
  font-weight: 900;
  letter-spacing: 0.16em;
}

.hero h1 {
  margin: 0;
  color: #061b3e;
  font-size: clamp(40px, 4.6vw, 66px);
  line-height: 1.2;
  letter-spacing: -0.04em;
  font-weight: 900;
}

.hero-lead {
  margin: 20px 0 0;
  color: var(--blue);
  font-size: clamp(17px, 1.6vw, 21px);
  font-weight: 900;
  line-height: 1.5;
}

.hero-description {
  margin: 14px 0 0;
  max-width: 34em;
  color: #33507a;
  font-size: clamp(14px, 1.15vw, 16px);
  font-weight: 600;
  line-height: 1.9;
}

.hero-benefits {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 28px;
  max-width: 620px;
}

.benefit-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 14px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.92);
  color: #22385a;
  box-shadow: 0 8px 22px rgba(29, 95, 166, 0.06);
  font-size: 12.5px;
  font-weight: 700;
  line-height: 1.6;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 32px;
}

.hero-actions .button {
  min-width: 250px;
}

.secure-note {
  margin: 18px 0 0;
  color: #53698a;
  font-size: 13px;
  font-weight: 700;
}

.secure-note span {
  color: var(--blue);
}

/* ヒーロー右: 画像文字を廃止し、実テキスト+高解像度デバイスで再構成 */

.hero-visual {
  position: relative;
  min-height: clamp(360px, 34vw, 520px);
}

.hero-viz-rings {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  pointer-events: none;
}

.hero-viz-rings::before,
.hero-viz-rings::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  border: 1.5px solid rgba(7, 93, 232, 0.14);
}

.hero-viz-rings::before {
  width: min(88%, 470px);
  aspect-ratio: 1;
}

.hero-viz-rings::after {
  width: min(66%, 350px);
  aspect-ratio: 1;
  border-color: rgba(0, 170, 240, 0.18);
}

.hero-wave {
  position: absolute;
  left: -4%;
  right: 30%;
  top: 50%;
  height: 120px;
  transform: translateY(-50%);
  color: var(--blue);
  opacity: 0.5;
  pointer-events: none;
}

.hero-device {
  position: absolute;
  left: 6%;
  top: 50%;
  width: clamp(240px, 24vw, 360px);
  transform: translateY(-52%) rotate(-8deg);
  filter: drop-shadow(0 30px 40px rgba(9, 46, 104, 0.22));
}

.hero-badge {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-46%);
  width: clamp(230px, 21vw, 300px);
  aspect-ratio: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 28px;
  border-radius: 50%;
  background: radial-gradient(circle at 32% 24%, rgba(255, 255, 255, 0.96), rgba(235, 245, 255, 0.88));
  border: 1.5px solid rgba(7, 93, 232, 0.2);
  box-shadow: 0 22px 54px rgba(9, 56, 128, 0.16), inset 0 0 0 8px rgba(255, 255, 255, 0.55);
  text-align: center;
}

.hero-badge-title {
  margin: 0;
  color: var(--blue-deep);
  font-size: clamp(14.5px, 1.25vw, 17px);
  font-weight: 900;
  line-height: 1.55;
  letter-spacing: 0.03em;
}

.hero-badge ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 6px;
  text-align: left;
}

.hero-badge li {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #16305c;
  font-size: clamp(12.5px, 1.05vw, 14px);
  font-weight: 800;
  line-height: 1.5;
}

.hero-badge li::before {
  content: "✓";
  flex: 0 0 20px;
  height: 20px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #fff;
  background: linear-gradient(135deg, #0a6bf2, #00aaf0);
  font-size: 12px;
  font-weight: 900;
}

/* --------------------------------------------------------------------------
   セクション共通
   -------------------------------------------------------------------------- */

.section {
  padding: var(--section-y) 0;
}

.section-alt {
  background: linear-gradient(180deg, #f7faff, #fdfeff);
}

.section-title {
  margin: 0 0 clamp(36px, 4.5vw, 64px);
  text-align: center;
  color: #0b2449;
  font-size: clamp(27px, 3.1vw, 42px);
  line-height: 1.4;
  font-weight: 900;
  letter-spacing: 0.01em;
}

/* --------------------------------------------------------------------------
   課題共感（活用シーン）
   -------------------------------------------------------------------------- */

/* カードは5枚あるため、3カラム時は2枚・2カラム時は1枚が最終行に余る。
   grid の auto-fit だと余りが左寄せになるので、flex + justify-content: center で
   最終行だけ中央に寄せる。カード幅は従来（auto-fit の 1fr）と同じ計算式のまま。

   --case-cols は auto-fit が実際に折り返す幅で切り替える。auto-fit の条件は
   「カード最小幅300px × 列数 + gap × (列数-1) <= コンテナ幅」で、
   コンテナ幅 = min(1280px, 100vw - gutter*2) / gutter = clamp(20px,4vw,40px)
   / gap = clamp(20px,2.4vw,32px) から、3→2列は約1029px、2→1列は約674px。
   ここを既存の 1180/900/600 のブレークポイントに丸めるとカード幅が変わってしまうため、
   実際の折り返し位置に合わせている。 */
.case-grid {
  --case-gap: clamp(20px, 2.4vw, 32px);
  --case-cols: 3;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--case-gap);
}

.case-card {
  /* 1px 引いているのは、幅の計算誤差で最終カードが折り返されるのを防ぐため。
     余った分は justify-content: center が吸収する。 */
  flex: 0 1 calc((100% - var(--case-gap) * (var(--case-cols) - 1)) / var(--case-cols) - 1px);
  position: relative;
  border: 1px solid #dce8f7;
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow-card);
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.case-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card-hover);
}

.case-label {
  position: absolute;
  z-index: 2;
  top: 14px;
  left: 14px;
  padding: 7px 16px;
  border-radius: 8px;
  color: #fff;
  background: linear-gradient(135deg, #0868ec, #0045c2);
  font-size: 13px;
  font-weight: 900;
  box-shadow: 0 6px 16px rgba(4, 48, 120, 0.3);
}

.case-card > picture > img {
  width: 100%;
  height: 176px;
  object-fit: cover;
}

.case-card > h3 {
  margin: 0;
  padding: 20px 24px 4px;
  color: #102b53;
  font-size: clamp(17px, 1.4vw, 19px);
  line-height: 1.55;
  font-weight: 800;
}

.case-body {
  padding: 12px 24px 26px;
}

.case-body h4 {
  margin: 16px 0 8px;
  color: var(--blue);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.06em;
}

.case-body ul,
.security-card ul,
.device-card ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 6px;
}

.case-body li,
.security-card li,
.device-card li {
  position: relative;
  padding-left: 22px;
  color: #2e4667;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.7;
}

.case-body li::before,
.security-card li::before,
.device-card li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--blue);
  font-weight: 900;
}

.photo-note {
  margin: 20px 4px 0;
  /* 白背景に対して4.5:1以上を確保（旧 #8b99ac は 2.89:1 でコントラスト不足） */
  color: #5d6b80;
  text-align: right;
  font-size: 12px;
}

/* --------------------------------------------------------------------------
   提供価値（なぜ選ばれるのか）
   -------------------------------------------------------------------------- */

.reason-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(20px, 2.2vw, 28px);
}

.reason-card {
  position: relative;
  padding: 32px 30px 36px;
  overflow: hidden;
  border: 1px solid #dce8f7;
  border-radius: var(--radius);
  background: linear-gradient(150deg, #fff, #fafcff);
  box-shadow: var(--shadow-card);
}

.reason-number {
  margin-bottom: 14px;
  color: var(--blue);
  font-size: 26px;
  font-weight: 900;
  letter-spacing: 0.02em;
}

.reason-number::after {
  content: "";
  display: block;
  width: 34px;
  height: 3px;
  margin-top: 6px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--blue), var(--cyan));
}

.reason-card h3 {
  margin: 0 0 14px;
  font-size: clamp(17px, 1.5vw, 20px);
  line-height: 1.5;
  font-weight: 800;
}

.reason-card p {
  margin: 0;
  color: #44608a;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.85;
}

.reason-icon {
  position: absolute;
  right: 22px;
  bottom: 22px;
  width: 46px;
  height: 46px;
  color: rgba(7, 93, 232, 0.18);
  stroke-width: 1.5;
}

/* 選ばれる理由ピル */

.reason-pills {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-bottom: clamp(28px, 3.2vw, 44px);
}

.reason-pills span {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 20px;
  border: 1px solid #dbe8f7;
  border-radius: 999px;
  color: var(--blue-deep);
  background: #fff;
  box-shadow: 0 8px 24px rgba(25, 76, 135, 0.07);
  /* 本文は左揃え（中央揃えは読みにくいため） */
  text-align: left;
  font-size: 13.5px;
  font-weight: 800;
  line-height: 1.5;
}

.pill-icon {
  width: 22px;
  height: 22px;
  color: var(--blue);
}

/* 実証カード（比較/セキュリティ/デバイス） */

/* 比較カードは「同一サイズの2枚 + VS」を内包するぶん、他の2枚より横幅が要る。
   ここを 1.15fr のままにすると1枚あたり120px前後まで痩せて数値が入らない。 */
.proof-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.85fr 0.85fr;
  gap: clamp(20px, 2.2vw, 28px);
}

.proof-card {
  padding: 32px 30px;
  border: 1px solid #d8e6f6;
  border-radius: var(--radius);
  background: linear-gradient(140deg, #fff, #f7faff);
  box-shadow: var(--shadow-card);
}

.proof-card h3 {
  margin: 0 0 14px;
  text-align: center;
  font-size: clamp(18px, 1.6vw, 21px);
  line-height: 1.5;
  font-weight: 800;
}

.proof-caption {
  margin: 0 0 20px;
  color: #4f6480;
  text-align: center;
  font-size: 13.5px;
  font-weight: 600;
  line-height: 1.75;
}

/* 精度比較。左右は「同一サイズ・同一タイポ・同一余白」の一対にし、
   優劣は地の色と量的バー（--bar）だけで伝える。
   VS は中央の auto カラムに独立して置くので、カードとは gap 分だけ必ず離れる。 */
.comparison {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: stretch;
  gap: 16px;
}

.comparison > div {
  --bar: 80%;
  --bar-fill: var(--muted);
  --bar-track: var(--line);
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--white);
  text-align: center;
}

.comparison .biz {
  --bar: 95%;
  --bar-fill: var(--white);
  --bar-track: rgba(255, 255, 255, 0.3);
  border-color: transparent;
  background: linear-gradient(110deg, #075edc, #1040b4);
  box-shadow: 0 14px 30px rgba(9, 62, 175, 0.28);
}

/* 量的な差の可視化。1本のグラデーションで「トラック(100%)＋実測値」を描く。
   装飾なので擬似要素で持たせる（情報は数値テキスト側が担保する）。 */
.comparison > div::after {
  content: "";
  align-self: stretch;
  height: 6px;
  margin-top: 8px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--bar-fill) 0 var(--bar), var(--bar-track) var(--bar));
}

/* ラベルはカード内側の上部。2行分を確保して左右の数値のベースラインを揃える */
.comparison small {
  display: block;
  min-height: 40px;
  font-size: 12px;
  font-weight: 800;
  color: #40587c;
  line-height: 1.5;
  /* 「一般的なAIボイスレ / コーダー」のような語中での分断を避ける */
  word-break: keep-all;
  overflow-wrap: anywhere;
}

.comparison .biz small {
  color: var(--soft);
}

.comparison strong {
  display: inline-flex;
  align-items: baseline;
  justify-content: center;
  gap: 2px;
  color: #18335d;
  /* 数値は必ず1行に収める（折り返すとボックスが縦に伸びて不格好になる） */
  white-space: nowrap;
  /* 3カラムの proof-grid ではカード1枚が120px前後まで痩せるため、
     ここに収まる上限に抑える（広い幅の値は max-width:1180px 側で上書き）。
     桁は等幅で揃える。 */
  font-size: clamp(26px, 2.4vw, 38px);
  font-variant-numeric: tabular-nums;
  line-height: 1.1;
  font-weight: 900;
}

.comparison .biz strong {
  color: var(--white);
}

.comparison em {
  font-size: 0.42em;
  font-style: normal;
  font-weight: 900;
  white-space: nowrap;
}

.versus {
  align-self: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #fff;
  background: var(--navy);
  font-size: 13px;
  font-weight: 900;
}

.footnote {
  display: block;
  margin-top: 16px;
  /* カード地に対して4.5:1以上を確保（旧 #8897aa は 2.85:1 でコントラスト不足）。
     .photo-note と同じ補足色に揃えた。 */
  color: #5d6b80;
  text-align: center;
  font-size: 11.5px;
  line-height: 1.6;
}

.security-content,
.device-content {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 18px;
  padding-top: 8px;
}

.security-card li,
.device-card li {
  font-size: 14px;
  line-height: 2.1;
}


/* デバイスカードは縦1カラム（見出し → 画像 → チェックリスト）。
   画像は不透明部分が左右対称なアセット（余白 20px/20px）なので、
   margin-inline:auto だけで見た目の中心もカード中心と一致する。 */
.device-content {
  grid-template-columns: minmax(0, 1fr);
  justify-items: center;
  gap: 24px;
}

.device-content img {
  /* 240px まで上げると proof-grid の行の高さが3割増え、他2枚に大きな余白が出る。
     カード幅（3カラム時 290〜340px）に対して収まりの良い 200px に留める。 */
  width: 200px;
  max-width: 100%;
  height: auto;
  margin-inline: auto;
  object-fit: contain;
}

/* リスト全体を中央に置きつつ、各行は左揃えのまま。
   幅指定を残さないことで、カード内幅いっぱいまで自然に折り返す。 */
.device-content ul {
  width: fit-content;
  max-width: 100%;
  margin-inline: auto;
}

/* 見出し→画像 = 16 + 8(device-content の padding-top) = 24px（8pxグリッド） */
.device-card h3 {
  margin-bottom: 16px;
}

/* --------------------------------------------------------------------------
   機能（特長）
   -------------------------------------------------------------------------- */

.feature-band {
  padding: var(--section-y) 0;
  background:
    radial-gradient(720px 340px at 12% 0%, rgba(0, 170, 240, 0.07), transparent 62%),
    linear-gradient(115deg, #f4f9ff 0%, #fff 50%, #f0f7ff 100%);
}

.feature-layout {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: clamp(28px, 3.6vw, 60px);
  align-items: center;
}

.device-visual {
  display: flex;
  align-items: center;
  justify-content: center;
}

.device-visual img {
  width: min(280px, 100%);
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 24px 30px rgba(9, 46, 104, 0.16));
}

.feature-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(16px, 1.8vw, 24px);
}

.feature-row article {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 22px 20px;
  border: 1px solid #e0ebf8;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 8px 24px rgba(25, 76, 135, 0.06);
}

.feature-row article > .feature-icon {
  width: 30px;
  height: 30px;
  margin-top: 2px;
  color: var(--blue);
}

.feature-row h3 {
  margin: 0 0 6px;
  font-size: 15.5px;
  line-height: 1.5;
  font-weight: 800;
}

.feature-row p {
  margin: 0;
  color: #516784;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.75;
}

/* --------------------------------------------------------------------------
   導入実績マーキー
   -------------------------------------------------------------------------- */

.clients {
  padding: var(--section-y-sm) 0;
  border-block: 1px solid #e2eaf5;
  background: #fff;
}

.clients-title {
  margin: 0 0 clamp(24px, 3vw, 40px);
  color: #0b2449;
  text-align: center;
  font-size: clamp(20px, 2.2vw, 28px);
  font-weight: 900;
}

.clients-marquee {
  width: min(var(--container-wide), 100%);
  margin-inline: auto;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.clients-track {
  display: flex;
  align-items: center;
  gap: 72px;
  width: max-content;
  padding-inline: 36px;
  animation: clients-marquee 32s linear infinite;
}

.clients-track img {
  width: 840px;
  max-width: none;
  height: auto;
  mix-blend-mode: multiply;
}

.clients-marquee:hover .clients-track {
  animation-play-state: paused;
}

@keyframes clients-marquee {
  to {
    transform: translateX(calc(-840px - 72px));
  }
}

/* --------------------------------------------------------------------------
   CTAバンド（節目の再訴求。ボタンのみ・コピー追加なし）
   -------------------------------------------------------------------------- */

.cta-band {
  padding: clamp(36px, 4vw, 56px) 0;
  background: linear-gradient(120deg, #0751b7, #063581 70%, #052a66);
}

.cta-band-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}

.cta-band .button {
  min-width: 270px;
}

.cta-band .button-dark {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.45);
}

/* --------------------------------------------------------------------------
   FAQ
   -------------------------------------------------------------------------- */

.faq-card {
  margin-inline: auto;
}

.faq-card h2 {
  margin: 0 0 clamp(28px, 3.4vw, 48px);
  text-align: center;
  color: #0b2449;
  font-size: clamp(26px, 3vw, 38px);
  font-weight: 900;
}

.faq-list {
  border: 1px solid #d9e7f6;
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow-card);
  overflow: hidden;
}

.faq-item + .faq-item {
  border-top: 1px solid #e3edf9;
}

.faq-item button {
  width: 100%;
  min-height: 64px;
  padding: 18px 24px;
  border: 0;
  display: flex;
  align-items: center;
  gap: 12px;
  color: #22385c;
  background: transparent;
  text-align: left;
  font: inherit;
  font-size: 15.5px;
  font-weight: 700;
  line-height: 1.6;
  cursor: pointer;
  transition: background 0.15s ease;
}

.faq-item button:hover {
  background: #f6faff;
}

.faq-item button span {
  color: var(--blue);
  font-weight: 900;
}

.faq-item button i {
  margin-left: auto;
  color: var(--blue);
  font-size: 20px;
  font-style: normal;
  transition: transform 0.2s;
}

.faq-answer {
  display: grid;
  grid-template-rows: 0fr;
  color: #4d6483;
  font-size: 14.5px;
  line-height: 1.9;
  transition: grid-template-rows 0.25s ease;
}

.faq-answer p {
  min-height: 0;
  margin: 0;
  overflow: hidden;
}

.faq-item.is-open .faq-answer p {
  padding: 0 52px 22px;
}

.faq-item.is-open .faq-answer {
  grid-template-rows: 1fr;
}

.faq-item.is-open button i {
  transform: rotate(45deg);
}

/* --------------------------------------------------------------------------
   最終CTA
   -------------------------------------------------------------------------- */

.cta-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: clamp(56px, 6.5vw, 96px) clamp(24px, 4vw, 64px);
  border-radius: var(--radius-lg);
  color: #fff;
  text-align: center;
  background:
    radial-gradient(circle at 50% -10%, #1a74dd, transparent 55%),
    linear-gradient(120deg, #0751b7, #052969 72%, #041f4c);
  box-shadow: 0 24px 60px rgba(6, 54, 128, 0.28);
}

.cta-kicker {
  margin: 0;
  font-size: clamp(24px, 2.8vw, 36px);
  font-weight: 900;
  line-height: 1.4;
}

.cta-card h2 {
  margin: 14px 0 36px;
  color: #cfe2ff;
  font-size: clamp(15px, 1.4vw, 18px);
  font-weight: 600;
  line-height: 1.8;
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  width: 100%;
  justify-content: center;
}

.cta-actions .button {
  min-width: 270px;
}

.cta-actions .button-dark {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.45);
}

/* --------------------------------------------------------------------------
   フッター
   -------------------------------------------------------------------------- */

.site-footer {
  margin-top: var(--section-y);
  padding: clamp(48px, 5.5vw, 80px) 0 clamp(36px, 4vw, 56px);
  color: #fff;
  background: linear-gradient(105deg, #072b59, #041d40 65%, #06152b);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(4, 0.8fr);
  gap: clamp(28px, 3.5vw, 48px);
  align-items: start;
}

.footer-brand {
  font-size: 28px;
  font-weight: 800;
  white-space: nowrap;
}

.iot-mark {
  letter-spacing: -8px;
  font-size: 34px;
  margin-right: 10px;
}

.footer-grid h3 {
  margin: 0 0 14px;
  font-size: 14px;
  font-weight: 800;
  color: #9fc0ea;
}

.footer-grid a {
  display: block;
  margin: 10px 0;
  color: #dbe8f9;
  font-size: 13.5px;
  transition: color 0.15s;
}

.footer-grid a:hover {
  color: #fff;
}

.copyright {
  grid-column: 1 / -1;
  margin-top: clamp(24px, 3vw, 40px);
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  color: #b9cdea;
  font-size: 12.5px;
  line-height: 2;
}

.copyright a {
  display: inline;
}

.back-to-top {
  position: fixed;
  z-index: 40;
  right: 22px;
  bottom: 22px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #fff;
  background: var(--blue);
  box-shadow: 0 10px 24px rgba(3, 62, 157, 0.3);
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  transition: 0.2s;
}

.back-to-top.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

/* --------------------------------------------------------------------------
   モーション
   -------------------------------------------------------------------------- */

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* --------------------------------------------------------------------------
   レスポンシブ
   -------------------------------------------------------------------------- */

@media (min-width: 1536px) {
  body {
    font-size: 17px;
  }
}

/* 活用シーンのカード列数（.case-grid のコメント参照）。
   従来 auto-fit が折り返していた幅と同じ位置で切り替える。 */
@media (max-width: 1029px) {
  .case-grid {
    --case-cols: 2;
  }
}

@media (max-width: 673px) {
  .case-grid {
    --case-cols: 1;
  }
}

@media (max-width: 1180px) {
  .global-nav {
    gap: 14px;
    font-size: 13px;
  }

  /* タブレット幅はヘッダーに収まらないため末尾1項目（よくあるご質問）のみ隠す。
     ナビが6→5項目になり（C: 2026-07-31 ナビ全面修正）、旧「末尾2項目」では
     導入実績まで隠れてしまうため1項目に緩和（表示幅は旧構成と同等） */
  .global-nav a:nth-last-child(-n + 1) {
    display: none;
  }

  .header-actions .button-small:first-child {
    display: none;
  }

  .reason-grid {
    grid-template-columns: 1fr 1fr;
  }

  .reason-pills {
    grid-template-columns: 1fr 1fr;
  }

  .proof-grid {
    grid-template-columns: 1fr 1fr;
  }

  .proof-card:first-child {
    grid-column: 1 / -1;
  }

  /* 比較カードが proof-grid の全幅を使うので、余白も数値も一段大きくできる */
  .comparison {
    gap: 24px;
  }

  .comparison > div {
    padding: 24px 16px;
  }

  .comparison strong {
    font-size: clamp(36px, 4.6vw, 52px);
  }

  .feature-layout {
    grid-template-columns: 240px 1fr;
  }

  .feature-row {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 900px) {
  .site-header {
    height: 68px;
  }

  .brand-logo {
    height: 52px;
  }

  .global-nav {
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    display: grid;
    gap: 0;
    padding: 14px 24px 24px;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 16px 30px rgba(2, 35, 81, 0.14);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: 0.2s;
  }

  .global-nav.is-open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .global-nav a,
  .global-nav a:nth-last-child(-n + 1) {
    display: block;
    padding: 14px 4px;
    border-bottom: 1px solid #edf2f8;
    font-size: 15px;
  }

  .header-actions {
    margin-left: auto;
  }

  .header-actions .button-small {
    display: none;
  }

  .menu-button {
    display: block;
  }

  .menu-button.is-open span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .menu-button.is-open span:nth-child(2) {
    opacity: 0;
  }

  .menu-button.is-open span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .hero-grid {
    grid-template-columns: 1fr;
  }

  /* 縦積みになる幅では本文を左揃えにする。
     中央揃えは行頭が揃わず、長い日本語の本文だと可読性が落ちるため。
     CTAボタンは従来どおり横幅いっぱい（下の600px指定）。 */
  .hero-copy {
    text-align: left;
  }

  .hero-description {
    margin-inline: 0;
    max-width: 40em;
  }

  .hero-description br {
    display: none;
  }

  .hero-benefits,
  .hero-actions {
    margin-inline: 0;
    justify-content: flex-start;
  }

  .hero-visual {
    max-width: 560px;
    margin-inline: auto;
    width: 100%;
  }

  .feature-layout {
    grid-template-columns: 1fr;
  }

  .device-visual img {
    width: min(240px, 60%);
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }

  /* タッチ操作になる幅では、リンクのタップ領域を44px以上そろえる */
  .footer-grid a {
    min-height: 44px;
    display: flex;
    align-items: center;
    margin: 0;
    font-size: 14px;
  }

  .copyright a,
  .global-nav a {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
  }
}

/* 精度比較は 768px 未満で1カラム縦積みにする。
   3カラムのままだとカード1枚あたりが 70px 前後まで痩せて数値が入らない。 */
@media (max-width: 767px) {
  .comparison {
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
  }

  .versus {
    justify-self: center;
  }

  /* 縦積みではラベルが1行に収まるので、2行ぶんの高さ確保は不要 */
  .comparison small {
    min-height: 0;
  }
}

@media (max-width: 600px) {
  :root {
    --section-y: clamp(64px, 16vw, 96px);
    --section-y-sm: 56px;
  }

  body {
    font-size: 15px;
  }

  .brand-logo {
    height: 46px;
  }

  .hero {
    padding-top: 36px;
  }

  .hero h1 {
    font-size: clamp(34px, 9.6vw, 44px);
  }

  .hero-benefits {
    grid-template-columns: 1fr;
    max-width: 360px;
    gap: 10px;
  }

  .benefit-card {
    padding: 14px 18px;
    font-size: 13px;
  }

  .benefit-card br {
    display: none;
  }

  .hero-actions,
  .cta-actions,
  .cta-band-inner {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-actions .button,
  .cta-actions .button,
  .cta-band .button {
    width: 100%;
    min-width: 0;
  }

  /* モバイルは円形バッジをカード化して画像の下に配置（重なり回避） */
  .hero-visual {
    min-height: 0;
    display: grid;
    gap: 18px;
    justify-items: center;
    padding-top: 8px;
  }

  .hero-viz-rings {
    display: none;
  }

  .hero-wave {
    display: none;
  }

  .hero-device {
    position: static;
    transform: rotate(-8deg);
    width: min(230px, 62%);
  }

  /* スマホでは円形バッジをカード化。見出し・リストとも左揃えにして
     「騒音環境に強 / い」のような不自然な折り返しを防ぐ。 */
  .hero-badge {
    position: static;
    transform: none;
    width: 100%;
    max-width: 360px;
    aspect-ratio: auto;
    border-radius: 18px;
    padding: 22px 24px;
    align-items: stretch;
    text-align: left;
  }

  .hero-badge-title {
    text-align: left;
  }

  .hero-badge-title br {
    display: none;
  }

  .hero-badge ul {
    width: 100%;
  }

  .hero-badge li {
    text-align: left;
  }

  .case-card > picture > img {
    height: 160px;
  }

  .reason-grid,
  .proof-grid,
  .reason-pills {
    grid-template-columns: 1fr;
  }

  .feature-row {
    grid-template-columns: 1fr;
  }

  .clients-track {
    gap: 48px;
  }

  .clients-track img {
    width: 640px;
  }

  @keyframes clients-marquee {
    to {
      transform: translateX(calc(-640px - 48px));
    }
  }

  /* 装飾の shield を廃止したので、リストが幅いっぱいを使えるよう1カラムにする */
  .security-content {
    grid-template-columns: 1fr;
  }

  .comparison small {
    font-size: 12.5px;
  }

  /* --- スマホの可読性・操作性 --------------------------------------------
     本文は14px以上、タップ領域は44px以上を確保する（広告品質の要件）。
     注釈(footnote/photo-note)は補足情報なので12pxのままとする。 */
  .eyebrow,
  .secure-note,
  .proof-caption,
  .feature-row p,
  .reason-card p,
  .faq-answer p {
    font-size: 14px;
  }

  /* 本文・箇条書きは左揃えを基本にする（見出しは中央のまま） */
  .proof-caption,
  .security-card li,
  .device-card li {
    text-align: left;
  }

  /* フローティングのトップ戻りが最下部CTAに重ならないようにする */
  .back-to-top {
    right: 14px;
    bottom: 14px;
  }

  /* カード右下の装飾アイコンは、幅が狭いと本文に接触するので出さない
     （aria-hidden の装飾で情報は持たないため、消しても内容は欠けない） */
  .reason-icon {
    display: none;
  }

  .device-content img {
    width: min(64%, 220px);
  }

  .faq-item button {
    min-height: 56px;
    padding: 16px 18px;
    font-size: 14px;
  }

  .faq-item.is-open .faq-answer p {
    padding: 0 18px 20px;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 28px 20px;
  }

  .menu-button {
    width: 46px;
    height: 46px;
  }
}

@media (max-width: 400px) {
  .header-inner {
    gap: 12px;
  }

  .hero h1 {
    font-size: clamp(30px, 9.2vw, 36px);
  }

  .brand-logo {
    height: 42px;
  }
}

/* 動きを減らす設定 */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }

  .clients-track {
    animation: none;
    width: 100%;
    justify-content: center;
    padding-inline: 0;
  }

  .clients-track .marquee-dup {
    display: none;
  }

  .clients-track img {
    width: min(840px, 92vw);
  }
}

/* --------------------------------------------------------------------------
   下層ページ（フォーム・サンクス）
   -------------------------------------------------------------------------- */

.page-hero {
  padding: clamp(48px, 6vw, 80px) 0 clamp(28px, 3.5vw, 44px);
  background: linear-gradient(110deg, #fff 4%, #f8fbff 44%, #e9f3ff 100%);
  text-align: center;
}

.page-hero h1 {
  margin: 0;
  color: #061b3e;
  font-size: clamp(28px, 3.4vw, 44px);
  line-height: 1.35;
  font-weight: 900;
}

.page-hero p {
  margin: 14px auto 0;
  max-width: 38em;
  color: #33507a;
  font-size: clamp(14px, 1.2vw, 16px);
  font-weight: 600;
  line-height: 1.9;
}

.form-shell {
  margin-top: clamp(32px, 4vw, 56px);
  padding: clamp(24px, 3.5vw, 48px);
  border: 1px solid #d9e7f6;
  border-radius: var(--radius-lg);
  background: #fff;
  box-shadow: var(--shadow-card);
}

/* BowNow が生成するフォームを中央に整える */
.form-shell form,
.form-shell table {
  margin-inline: auto !important;
  max-width: 100% !important;
}

.form-note {
  margin: 18px 0 0;
  color: #6d80a0;
  text-align: center;
  font-size: 12.5px;
}

.thanks-card {
  margin-top: clamp(32px, 4vw, 56px);
  padding: clamp(40px, 5vw, 72px) clamp(24px, 4vw, 56px);
  border: 1px solid #d9e7f6;
  border-radius: var(--radius-lg);
  background: #fff;
  box-shadow: var(--shadow-card);
  text-align: center;
}

.thanks-icon {
  width: 72px;
  height: 72px;
  margin: 0 auto 20px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #fff;
  background: linear-gradient(135deg, #0a6bf2, #00aaf0);
  font-size: 34px;
  font-weight: 900;
}

.thanks-card h1 {
  margin: 0;
  color: #061b3e;
  font-size: clamp(22px, 2.6vw, 32px);
  line-height: 1.5;
  font-weight: 900;
}

.thanks-card p {
  margin: 18px auto 0;
  max-width: 36em;
  color: #33507a;
  font-size: 15px;
  line-height: 2;
}

.thanks-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
  margin-top: 32px;
}

.thanks-actions .button {
  min-width: 260px;
}

.thanks-back {
  display: inline-block;
  margin-top: 26px;
  color: var(--blue);
  font-size: 14px;
  font-weight: 700;
}

.thanks-back:hover {
  text-decoration: underline;
}

@media (max-width: 600px) {
  .thanks-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .thanks-actions .button {
    width: 100%;
    min-width: 0;
  }
}
