/* ============================================================
   東海AMサービス リニューアル提案サイト
   ============================================================ */

:root {
  --ink: #0d1424;
  --ink-soft: #3b475e;
  --muted: #6b7791;
  --line: #dfe5ee;
  --line-2: #eef2f7;
  --surface: #ffffff;
  --surface-2: #f5f8fc;
  --surface-3: #eef3f9;

  --blue: #2367f4;
  --blue-deep: #0e3da8;
  --blue-soft: #e6efff;
  --cyan: #13b8d7;
  --amber: #f59e0b;
  --amber-deep: #c97a06;
  --amber-soft: #fff8e7;
  --green: #16a34a;
  --red: #dc2626;
  --graphite: #14202f;
  --graphite-deep: #0a1421;
  --gold: #d4a017;
  --silver: #9aa3b2;
  --bronze: #b45309;

  --max: 1200px;
  --radius: 10px;
  --radius-sm: 6px;
  --radius-lg: 16px;
  --shadow-sm: 0 2px 6px rgba(15, 26, 50, 0.05);
  --shadow:    0 14px 38px rgba(15, 26, 50, 0.10);
  --shadow-lg: 0 22px 60px rgba(15, 26, 50, 0.15);

  --ease: cubic-bezier(.4, 0, .2, 1);
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  overflow-x: clip;        /* セーフティネット (横スクロール防止 / sticky を壊さない) */
}

body {
  margin: 0;
  color: var(--ink);
  background: #f7f9fc;
  font-family: "Yu Gothic UI", "Hiragino Sans", "Noto Sans JP", Meiryo, sans-serif;
  line-height: 1.65;
  font-feature-settings: "palt" 1;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}

a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
button { cursor: pointer; border: 0; background: none; }
img { display: block; max-width: 100%; }

/* flex/grid アイテムが min-content で膨張しないよう既定で min-width: 0 を許容 */
.finder-panel > *,
.finder-widget,
.finder-body,
.search-line,
.search-line input,
.hero-search-row,
.hero-search-row input { min-width: 0; }

/* ============================================================
   共通ユーティリティ
   ============================================================ */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 14px;
  color: var(--blue);
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 0.18em;
}
.eyebrow.amber { color: var(--amber-deep); }
.eb-dot {
  width: 8px; height: 8px;
  background: var(--blue);
  border-radius: 2px;
  display: inline-block;
}
.eb-dot.amber { background: var(--amber); }

/* ボタン */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.04em;
  border: 1.5px solid transparent;
  transition: all 0.2s var(--ease);
  cursor: pointer;
}
.btn svg { width: 16px; height: 16px; }
.btn-lg { padding: 16px 28px; font-size: 15px; }
.btn-primary {
  color: #fff;
  background: linear-gradient(135deg, var(--blue), var(--blue-deep));
  box-shadow: 0 8px 22px rgba(35, 103, 244, 0.25);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(35, 103, 244, 0.35);
}
.btn-accent {
  color: #fff;
  background: linear-gradient(135deg, var(--amber), var(--amber-deep));
  box-shadow: 0 8px 22px rgba(245, 158, 11, 0.30);
}
.btn-accent:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(245, 158, 11, 0.40);
}
.btn-line {
  color: #fff;
  background: #06C755;
  box-shadow: 0 8px 22px rgba(6, 199, 85, 0.35);
}
.btn-line:hover {
  background: #05a847;
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(6, 199, 85, 0.45);
}
.reason-card.line-card .reason-icon {
  background: linear-gradient(135deg, #06C755, #05a847);
  box-shadow: 0 8px 18px rgba(6, 199, 85, 0.30);
}
.reason-card.line-card strong { color: #064e3b; }
.btn-ghost {
  color: var(--ink);
  background: transparent;
  border-color: var(--line);
}
.btn-ghost:hover {
  border-color: var(--blue);
  color: var(--blue);
}
.btn-outline {
  color: #fff;
  background: transparent;
  border-color: rgba(255, 255, 255, 0.4);
}
.btn-outline:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: #fff;
}

/* ============================================================
   ヘッダー
   ============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid rgba(223, 229, 238, 0.7);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  transition: box-shadow 0.2s, background 0.2s;
}
.site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 6px 22px rgba(20, 34, 57, 0.06);
}

/* ユーティリティバー */
.util-bar {
  background: linear-gradient(90deg, var(--graphite-deep), var(--graphite) 50%, var(--graphite-deep));
  color: #c7d3e6;
  font-size: 11.5px;
  letter-spacing: 0.04em;
}
.util-inner {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
  padding: 7px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.util-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
  color: #e2e8f4;
}
.util-tag svg { width: 12px; height: 12px; color: var(--cyan); }
.util-right {
  display: flex;
  gap: 16px;
  align-items: center;
}
.util-item {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.util-item svg { width: 12px; height: 12px; color: var(--amber); }
.util-link {
  color: #fff;
  font-weight: 700;
  letter-spacing: 0.06em;
}
.util-link:hover { color: var(--amber); }

/* メインヘッダー */
.header-inner {
  width: min(var(--max), calc(100% - 40px));
  min-height: 76px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: auto minmax(280px, 1fr) auto;
  gap: 24px;
  align-items: center;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}
.brand-mark {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  color: #fff;
  background: linear-gradient(145deg, var(--blue) 0%, var(--cyan) 100%);
  border-radius: var(--radius);
  font-weight: 800;
  letter-spacing: 0.04em;
  box-shadow: 0 12px 24px rgba(35, 103, 244, 0.30);
  position: relative;
}
.brand-mark::before {
  content: "";
  position: absolute;
  inset: 1px;
  border-radius: 9px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  pointer-events: none;
}
.brand strong, .brand small { display: block; }
.brand strong {
  font-size: 18.5px;
  line-height: 1.2;
  letter-spacing: 0.02em;
  color: var(--ink);
}
.brand small {
  color: var(--muted);
  font-size: 10.5px;
  letter-spacing: 0.16em;
  margin-top: 2px;
}

.header-search {
  height: 46px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 4px 5px 4px 16px;
  background: var(--surface-2);
  border: 1.5px solid var(--line);
  border-radius: var(--radius);
  transition: border-color 0.15s, background 0.15s;
}
.header-search:focus-within {
  background: #fff;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px var(--blue-soft);
}
.search-icon {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  color: var(--muted);
}
.search-icon svg { width: 16px; height: 16px; }
.header-search input {
  width: 100%;
  min-width: 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--ink);
}
.header-search button {
  height: 36px;
  padding: 0 20px;
  font-size: 13px;
  color: #fff;
  font-weight: 700;
  letter-spacing: 0.04em;
  background: linear-gradient(135deg, var(--blue), var(--blue-deep));
  border-radius: 6px;
  white-space: nowrap;
  transition: all 0.15s;
}
.header-search button:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(35, 103, 244, 0.30);
}

.header-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  color: var(--ink-soft);
  font-size: 13px;
  font-weight: 700;
}
.header-nav a {
  padding: 9px 14px;
  border-radius: 6px;
  letter-spacing: 0.04em;
  transition: all 0.15s;
}
.header-nav a:hover {
  background: var(--surface-2);
  color: var(--blue);
}
.cart-link {
  display: inline-flex !important;
  align-items: center;
  gap: 6px;
  color: #fff !important;
  background: var(--graphite);
}
.cart-link svg { width: 14px; height: 14px; }
.cart-link:hover {
  background: var(--blue) !important;
  color: #fff !important;
}

/* ============================================================
   ヒーロー
   ============================================================ */
.hero {
  position: relative;
  min-height: 720px;
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(circle at 88% 60%, rgba(245, 158, 11, 0.10) 0%, transparent 40%),
    linear-gradient(115deg,
      rgba(13, 20, 36, 1) 0%,
      rgba(20, 32, 47, 1) 28%,
      rgba(28, 44, 70, 1) 45%,
      rgba(243, 247, 252, 1) 45.1%,
      rgba(243, 247, 252, 1) 100%);
}
.hero-bg-grid {
  position: absolute;
  inset: 0;
  opacity: 0.20;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.16) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.16) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(90deg, #000 0%, transparent 65%);
  -webkit-mask-image: linear-gradient(90deg, #000 0%, transparent 65%);
}
.hero-glow {
  position: absolute;
  top: -10%; left: -5%;
  width: 60%; height: 80%;
  background: radial-gradient(ellipse at center, rgba(35, 103, 244, 0.35) 0%, transparent 60%);
  filter: blur(40px);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  width: min(var(--max), calc(100% - 40px));
  min-height: 720px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(380px, 0.95fr);
  gap: 48px;
  align-items: center;
}

.hero-copy {
  max-width: 660px;
  padding: 70px 0 90px;
}
.hero-copy .eyebrow {
  color: var(--cyan);
}
.hero-copy .eb-dot { background: var(--cyan); }

.hero h1 {
  margin: 0;
  font-size: clamp(34px, 4.6vw, 56px);
  line-height: 1.12;
  letter-spacing: 0;
  font-weight: 800;
}
.hero h1 em {
  font-style: normal;
  background: linear-gradient(120deg, var(--cyan), var(--amber));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero .lead {
  max-width: 580px;
  margin: 22px 0 32px;
  color: #d2dceb;
  font-size: 15.5px;
  line-height: 1.75;
}

/* ヒーロー検索 */
.hero-search {
  max-width: 620px;
  padding: 14px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.30);
}
.hero-search-tabs {
  display: flex;
  gap: 4px;
  margin-bottom: 12px;
}
.hero-search-tabs button {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 10px 14px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.7);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 6px;
  transition: all 0.15s;
}
.hero-search-tabs button svg { width: 14px; height: 14px; }
.hero-search-tabs button:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}
.hero-search-tabs button.active {
  background: #fff;
  color: var(--blue-deep);
  border-color: #fff;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.20);
}

.hero-search-row {
  display: flex;
  gap: 6px;
  padding: 6px;
  background: #fff;
  border-radius: var(--radius);
}
.hero-search-row input {
  flex: 1;
  min-width: 0;
  padding: 0 14px;
  font-size: 15px;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--ink);
}
.hero-search-row button {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 48px;
  padding: 0 28px;
  color: #fff;
  font-weight: 700;
  letter-spacing: 0.05em;
  background: linear-gradient(135deg, var(--amber), var(--amber-deep));
  border-radius: 8px;
  transition: all 0.15s;
}
.hero-search-row button svg { width: 15px; height: 15px; }
.hero-search-row button:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(245, 158, 11, 0.40);
}

.suggestions {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
  margin-top: 12px;
}
.sug-label {
  color: #94a3b8;
  font-size: 11.5px;
  letter-spacing: 0.08em;
  font-weight: 700;
  margin-right: 4px;
}
.suggestions button {
  border: 1px solid rgba(255, 255, 255, 0.20);
  color: #e6f0ff;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  padding: 5px 12px;
  font-size: 12px;
  transition: all 0.15s;
}
.suggestions button:hover {
  background: rgba(255, 255, 255, 0.18);
  border-color: rgba(255, 255, 255, 0.4);
}

/* ヒーロー統計 */
.hero-stats {
  display: flex;
  gap: 36px;
  margin-top: 36px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}
.hero-stats .stat {
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.hero-stats strong {
  font-size: 32px;
  font-weight: 800;
  color: #fff;
  line-height: 1;
  letter-spacing: 0;
}
.hero-stats strong span {
  font-size: 16px;
  color: var(--amber);
  margin-left: 2px;
}
.hero-stats small {
  font-size: 11.5px;
  color: #94a3b8;
  letter-spacing: 0.08em;
}

/* ============================================================
   ヒーロー商品ビジュアル
   画像 / 情報カード / SPEC カードを縦に分離
   ============================================================ */
.hero-visual {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 14px;
  perspective: 1200px;
}

/* --- 商品画像エリア (純粋に画像のみ・情報カード重ね無し) --- */
.product-stage {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 30% 25%, rgba(35, 103, 244, 0.12) 0%, transparent 55%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.98), rgba(220, 232, 248, 0.98));
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  transition: transform 0.18s var(--ease);
  padding: 40px 36px 44px;
  min-height: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.product-stage::before {
  content: "";
  position: absolute;
  left: 28px;
  top: 56px;
  right: 28px;
  height: 1px;
  background: linear-gradient(90deg, var(--blue), transparent);
  opacity: 0.4;
}
.stage-label {
  position: absolute;
  top: 18px; left: 18px;
  background: var(--graphite);
  color: var(--amber);
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.18em;
  padding: 5px 12px;
  border-radius: 4px;
  z-index: 3;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

.stage-image {
  width: 100%;
  max-width: 440px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 1;
}
.stage-image img {
  width: 100%;
  height: auto;
  filter: drop-shadow(0 24px 32px rgba(19, 31, 49, 0.18));
}

/* --- 商品情報カード (画像の外側・下に配置) --- */
.product-info-card {
  background: #fff;
  border: 1px solid rgba(223, 229, 238, 0.95);
  border-radius: var(--radius);
  padding: 18px 22px;
  box-shadow: var(--shadow);
}
.pl-pill {
  display: inline-block;
  background: var(--graphite);
  color: var(--amber);
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.14em;
  padding: 3px 10px;
  border-radius: 3px;
}
.product-info-card strong {
  display: block;
  margin-top: 10px;
  font-size: 22px;
  line-height: 1.25;
  color: var(--ink);
  letter-spacing: 0.02em;
}
.product-info-card small {
  display: block;
  color: var(--ink-soft);
  font-size: 12.5px;
  margin-top: 3px;
}
.pl-meta {
  list-style: none;
  margin: 12px 0 0;
  padding: 12px 0 0;
  border-top: 1px dashed var(--line);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 16px;
  font-size: 12px;
  color: var(--ink-soft);
}
.pl-meta li {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.pl-meta svg {
  width: 13px; height: 13px;
  color: var(--green);
  flex-shrink: 0;
}

/* --- SPEC カード (情報カードの下に並列配置) --- */
.spec-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.spec-card {
  background: #fff;
  border: 1px solid rgba(223, 229, 238, 0.9);
  border-left: 3px solid var(--blue);
  border-radius: var(--radius);
  padding: 14px 16px 15px;
  box-shadow: var(--shadow-sm);
  transition: all 0.18s var(--ease);
}
.spec-card:nth-child(2) { border-left-color: var(--amber); }
.spec-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}
.spec-card .spec-num {
  display: block;
  color: var(--blue);
  font-size: 10.5px;
  font-weight: 900;
  letter-spacing: 0.14em;
}
.spec-card:nth-child(2) .spec-num { color: var(--amber-deep); }
.spec-card strong {
  display: block;
  margin: 4px 0 2px;
  font-size: 14.5px;
  color: var(--ink);
  letter-spacing: 0.02em;
}
.spec-card small {
  display: block;
  color: var(--muted);
  font-size: 11.5px;
  line-height: 1.55;
}

/* ============================================================
   クイックレーン
   ============================================================ */
.quick-lanes {
  position: relative;
  z-index: 5;
  width: min(var(--max), calc(100% - 40px));
  margin: -64px auto 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.lane {
  min-height: 144px;
  padding: 22px 24px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
  color: #fff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  position: relative;
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.lane:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.lane::before {
  content: "";
  position: absolute;
  right: -40px; top: -40px;
  width: 160px; height: 160px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  pointer-events: none;
}
.lane-arrow {
  position: absolute;
  right: 24px;
  bottom: 22px;
  width: 36px; height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.16);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
}
.lane-arrow svg { width: 16px; height: 16px; color: #fff; }
.lane:hover .lane-arrow {
  background: rgba(255, 255, 255, 0.30);
  transform: translateX(3px);
}
.lane-primary {
  background: linear-gradient(135deg, var(--blue) 0%, var(--blue-deep) 100%);
}
.lane-secondary {
  background: linear-gradient(135deg, var(--amber) 0%, var(--amber-deep) 100%);
}
.lane-dark {
  background: linear-gradient(135deg, #1c2533 0%, #334155 100%);
}
.lane-converter {
  background: linear-gradient(135deg, #0891b2 0%, #155e75 100%);
}
.lane-kicker {
  display: block;
  margin-bottom: 8px;
  opacity: 0.9;
  font-size: 10.5px;
  font-weight: 900;
  letter-spacing: 0.14em;
}
.lane strong {
  display: block;
  width: calc(100% - 50px);
  font-size: 24px;
  line-height: 1.2;
  letter-spacing: 0.01em;
}
.lane small {
  display: block;
  width: calc(100% - 50px);
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.85);
  font-size: 12.5px;
}

/* ============================================================
   主力商品ハイライト
   ============================================================ */
.flagship-section {
  margin-top: 110px;
  padding: 80px 0;
  background:
    radial-gradient(ellipse at top right, rgba(35, 103, 244, 0.06) 0%, transparent 50%),
    linear-gradient(180deg, #fff 0%, var(--surface-2) 100%);
  border-top: 1px solid var(--line-2);
  border-bottom: 1px solid var(--line-2);
}
.flagship-inner {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 60px;
  align-items: center;
}
.flagship-image {
  position: relative;
}
.flagship-frame {
  position: relative;
  background: linear-gradient(145deg, #fff 0%, #e7eef9 100%);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-lg);
  border: 1px solid #fff;
  overflow: hidden;
}
.flagship-frame::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(35, 103, 244, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(35, 103, 244, 0.04) 1px, transparent 1px);
  background-size: 24px 24px;
  pointer-events: none;
}
.frame-label {
  position: absolute;
  top: 20px; left: 20px;
  background: var(--graphite);
  color: var(--amber);
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.18em;
  padding: 5px 12px;
  border-radius: 4px;
  z-index: 2;
}
.flagship-frame img {
  width: 100%;
  filter: drop-shadow(0 24px 36px rgba(15, 26, 50, 0.20));
  position: relative;
  z-index: 1;
}
.flagship-glow {
  position: absolute;
  inset: -20px;
  background: radial-gradient(circle at 30% 30%, rgba(35, 103, 244, 0.15) 0%, transparent 50%);
  filter: blur(40px);
  z-index: -1;
}

.flagship-copy h2 {
  margin: 0;
  font-size: clamp(28px, 3.4vw, 38px);
  line-height: 1.25;
  font-weight: 800;
}
.flagship-copy h2 em {
  font-style: normal;
  color: var(--blue-deep);
  position: relative;
  padding: 0 4px;
}
.flagship-copy h2 em::before {
  content: "";
  position: absolute;
  inset: auto 0 4px;
  height: 8px;
  background: rgba(245, 158, 11, 0.35);
  z-index: -1;
}
.flagship-copy > p {
  margin: 18px 0 24px;
  color: var(--ink-soft);
  font-size: 14.5px;
  line-height: 1.85;
}
.flagship-copy strong { color: var(--blue-deep); }

.flagship-points {
  list-style: none;
  padding: 0;
  margin: 0 0 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.flagship-points li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 14px 16px;
  background: #fff;
  border: 1px solid var(--line-2);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}
.fp-num {
  flex-shrink: 0;
  width: 32px; height: 32px;
  background: linear-gradient(135deg, var(--blue), var(--blue-deep));
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.04em;
  border-radius: 6px;
  display: grid;
  place-items: center;
}
.flagship-points li > span:last-child {
  font-size: 13px;
  color: var(--ink-soft);
  line-height: 1.6;
}
.flagship-points strong {
  display: block;
  color: var(--ink) !important;
  font-size: 14px;
  margin-bottom: 2px;
}
.flagship-cta {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

/* ============================================================
   セクション共通
   ============================================================ */
.section,
.finder-section,
.flow-section {
  width: min(var(--max), calc(100% - 40px));
  margin: 100px auto 0;
}
.section-head {
  max-width: 760px;
  margin-bottom: 36px;
}
.section-head h2,
.finder-copy h2 {
  margin: 0;
  font-size: clamp(26px, 3.2vw, 38px);
  line-height: 1.22;
  letter-spacing: 0.01em;
  font-weight: 800;
}
.section-head h2 em,
.finder-copy h2 em {
  font-style: normal;
  color: var(--blue-deep);
  position: relative;
  padding: 0 4px;
}
.section-head h2 em::before,
.finder-copy h2 em::before {
  content: "";
  position: absolute;
  inset: auto 0 4px;
  height: 8px;
  background: rgba(245, 158, 11, 0.35);
  z-index: -1;
}
.section-head p:not(.eyebrow),
.finder-copy p:not(.eyebrow) {
  margin: 14px 0 0;
  color: var(--ink-soft);
  font-size: 14.5px;
  line-height: 1.8;
}

/* ============================================================
   商品カテゴリ
   ============================================================ */
.category-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
.category-card {
  position: relative;
  min-height: 168px;
  padding: 22px;
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  transition: all 0.2s var(--ease);
  overflow: hidden;
}
.category-card:hover {
  transform: translateY(-5px);
  border-color: rgba(35, 103, 244, 0.4);
  box-shadow: var(--shadow);
}
.cat-num {
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.16em;
  color: var(--blue);
}
.cat-icon {
  width: 38px;
  height: 38px;
  margin-top: 8px;
  border-radius: 8px;
  background: var(--blue-soft);
  color: var(--blue);
  display: grid;
  place-items: center;
}
.cat-icon svg { width: 22px; height: 22px; }
.category-card strong {
  margin-top: auto;
  padding-top: 12px;
  font-size: 18px;
  line-height: 1.3;
  letter-spacing: 0.01em;
}
.category-card small {
  margin-top: 6px;
  color: var(--muted);
  font-size: 11.5px;
  letter-spacing: 0.04em;
}
.cat-arrow {
  position: absolute;
  right: 18px; bottom: 18px;
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--surface-2);
  color: var(--blue);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
}
.cat-arrow svg { width: 14px; height: 14px; }
.category-card:hover .cat-arrow {
  background: var(--blue);
  color: #fff;
  transform: translateX(3px);
}

/* 主力カテゴリ */
.category-card.featured {
  min-height: 200px;
  grid-column: span 2;
  color: #fff;
  background:
    radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.15) 0%, transparent 60%),
    linear-gradient(135deg, var(--blue) 0%, var(--blue-deep) 100%);
  border: 0;
}
.category-card.featured.amber {
  background:
    radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.15) 0%, transparent 60%),
    linear-gradient(135deg, var(--amber) 0%, var(--amber-deep) 100%);
}
.category-card.featured.cyan {
  background:
    radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.15) 0%, transparent 60%),
    linear-gradient(135deg, #0891b2 0%, #155e75 100%);
}
.category-card.featured .cat-num {
  color: rgba(255, 255, 255, 0.85);
}
.category-card.featured .cat-icon {
  background: rgba(255, 255, 255, 0.20);
  color: #fff;
  width: 44px; height: 44px;
}
.category-card.featured .cat-icon svg { width: 26px; height: 26px; }
.category-card.featured strong {
  font-size: 26px;
}
.category-card.featured small {
  color: rgba(255, 255, 255, 0.85);
}
.category-card.featured .cat-arrow {
  background: rgba(255, 255, 255, 0.20);
  color: #fff;
}
.category-card.featured:hover .cat-arrow {
  background: #fff;
  color: var(--blue-deep);
}
.category-card.featured.amber:hover .cat-arrow {
  color: var(--amber-deep);
}
.category-card.featured.cyan:hover .cat-arrow {
  color: #155e75;
}

/* ============================================================
   メーカー
   ============================================================ */
.maker-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}
.maker-tile {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 18px 20px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  transition: all 0.2s var(--ease);
  position: relative;
}
.maker-tile:hover {
  transform: translateY(-3px);
  border-color: var(--blue);
  background: var(--blue-soft);
  box-shadow: var(--shadow);
}
.m-jp {
  font-size: 16px;
  font-weight: 800;
  color: var(--ink);
  letter-spacing: 0.02em;
}
.m-en {
  font-size: 10.5px;
  color: var(--muted);
  letter-spacing: 0.14em;
  font-weight: 600;
}
.m-count {
  position: absolute;
  top: 12px;
  right: 14px;
  background: var(--surface-2);
  color: var(--ink-soft);
  font-size: 11px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 999px;
}
.maker-tile:hover .m-count {
  background: #fff;
  color: var(--blue-deep);
}
.maker-tile.more {
  background: var(--graphite);
  color: #fff;
  border-color: var(--graphite);
}
.maker-tile.more:hover {
  background: var(--blue-deep);
  border-color: var(--blue-deep);
}
.maker-tile.more .m-jp { color: #fff; }
.maker-tile.more .m-en { color: var(--amber); }

/* ============================================================
   人気機種ランキング
   ============================================================ */
.rank-tabs {
  display: flex;
  gap: 4px;
  margin-bottom: 22px;
  border-bottom: 2px solid var(--line);
}
.rank-tabs button {
  padding: 12px 24px;
  font-size: 13.5px;
  font-weight: 800;
  color: var(--muted);
  border-bottom: 3px solid transparent;
  margin-bottom: -2px;
  letter-spacing: 0.04em;
  transition: all 0.15s;
}
.rank-tabs button:hover { color: var(--blue); }
.rank-tabs button.active {
  color: var(--blue-deep);
  border-bottom-color: var(--amber);
}

.rank-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.rank-card {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 18px;
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 14px;
  align-items: center;
  box-shadow: var(--shadow-sm);
  transition: all 0.2s var(--ease);
}
.rank-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
  border-color: rgba(35, 103, 244, 0.3);
}
.rank-medal {
  position: absolute;
  top: -10px; left: -10px;
  width: 38px; height: 38px;
  border-radius: 50%;
  background: var(--graphite);
  color: #fff;
  font-size: 16px;
  font-weight: 800;
  display: grid;
  place-items: center;
  z-index: 2;
  box-shadow: 0 4px 12px rgba(15, 26, 50, 0.20);
  border: 3px solid #fff;
}
.rank-card.gold .rank-medal {
  background: linear-gradient(135deg, #f5d061 0%, #d4a017 100%);
  color: #5d3e00;
}
.rank-card.silver .rank-medal {
  background: linear-gradient(135deg, #d6dde7 0%, #94a3b8 100%);
  color: #1f2937;
}
.rank-card.bronze .rank-medal {
  background: linear-gradient(135deg, #d97e3b 0%, #b45309 100%);
  color: #fff;
}
.rank-img {
  width: 110px;
  height: 95px;
  background: linear-gradient(145deg, #fff 0%, #eef3f9 100%);
  border-radius: var(--radius);
  border: 1px solid var(--line-2);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.rank-img img {
  width: 130%;
  max-width: none;
  margin-left: -15%;
}
.rank-body {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}
.rank-tag {
  font-size: 10.5px;
  color: var(--blue-deep);
  font-weight: 700;
  letter-spacing: 0.06em;
  background: var(--blue-soft);
  padding: 2px 8px;
  border-radius: 3px;
  align-self: flex-start;
}
.rank-card.gold .rank-tag,
.rank-card.silver .rank-tag,
.rank-card.bronze .rank-tag {
  /* keep blue */
}
.rank-body strong {
  font-size: 14px;
  color: var(--ink);
  line-height: 1.4;
  letter-spacing: 0.01em;
  margin-top: 2px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.rank-price {
  font-size: 12px;
  color: var(--red);
  font-weight: 700;
  margin-top: 6px;
}
.rank-price .num {
  font-size: 18px;
  font-weight: 800;
  margin-right: 2px;
}
.rank-price small {
  color: var(--muted);
  font-weight: 600;
  margin-left: 6px;
}

/* ============================================================
   五十音
   ============================================================ */
.aiueo-panel {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 26px 30px 30px;
  box-shadow: var(--shadow-sm);
}
.aiueo-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 20px;
}
.aiueo-tabs button {
  width: 44px; height: 44px;
  border-radius: 8px;
  background: var(--surface-2);
  color: var(--ink-soft);
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.04em;
  transition: all 0.15s;
}
.aiueo-tabs button:hover {
  background: var(--blue-soft);
  color: var(--blue-deep);
}
.aiueo-tabs button.active {
  background: linear-gradient(135deg, var(--blue), var(--blue-deep));
  color: #fff;
  box-shadow: 0 4px 12px rgba(35, 103, 244, 0.30);
}
.aiueo-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px 18px;
}
.aiueo-list a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 12px;
  border-radius: 6px;
  font-size: 13px;
  color: var(--ink-soft);
  transition: all 0.12s;
}
.aiueo-list a:hover {
  background: var(--blue-soft);
  color: var(--blue-deep);
}
.aiueo-list .cnt {
  font-size: 11px;
  color: var(--muted);
  font-weight: 700;
  background: var(--surface-2);
  padding: 1px 7px;
  border-radius: 999px;
}
.aiueo-list a:hover .cnt {
  background: #fff;
  color: var(--blue);
}

/* ============================================================
   MACHINE FINDER
   ============================================================ */
.finder-panel {
  display: grid;
  grid-template-columns: 0.85fr 1fr;
  gap: 44px;
  align-items: center;
  padding: 40px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}
.finder-bullets {
  list-style: none;
  padding: 0;
  margin: 22px 0 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.finder-bullets li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  color: var(--ink);
  font-weight: 700;
}
.b-num {
  width: 26px; height: 26px;
  background: var(--blue-soft);
  color: var(--blue-deep);
  border-radius: 50%;
  font-size: 12px;
  font-weight: 800;
  display: grid;
  place-items: center;
}
.finder-widget {
  padding: 18px;
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.tabs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  margin-bottom: 14px;
}
.tabs button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 44px;
  border: 1px solid var(--line);
  color: var(--ink-soft);
  background: #fff;
  border-radius: 6px;
  font-weight: 800;
  font-size: 13px;
  transition: all 0.15s;
}
.tabs button svg { width: 14px; height: 14px; }
.tabs button:hover { color: var(--blue); border-color: var(--blue); }
.tabs button.active {
  color: #fff;
  background: var(--graphite);
  border-color: var(--graphite);
}
.finder-body {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px;
}
.search-line {
  display: flex;
  gap: 8px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 7px;
}
.search-line input {
  flex: 1;
  min-width: 0;
  padding: 0 12px;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--ink);
}
.search-line button {
  min-height: 42px;
  padding: 0 20px;
  color: #fff;
  background: linear-gradient(135deg, var(--blue), var(--blue-deep));
  border-radius: 6px;
  font-weight: 700;
  font-size: 13px;
  white-space: nowrap;
  transition: all 0.15s;
}
.search-line button:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(35, 103, 244, 0.30);
}
.maker-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 14px;
}
.maker-chips button {
  min-height: 34px;
  padding: 0 13px;
  color: var(--ink-soft);
  background: var(--surface-3);
  border: 1px solid #d8e2f0;
  border-radius: 999px;
  font-weight: 700;
  font-size: 12px;
  transition: all 0.15s;
}
.maker-chips button:hover {
  color: var(--blue-deep);
  background: var(--blue-soft);
  border-color: var(--blue);
}

/* ============================================================
   選ばれる理由
   ============================================================ */
.reasons-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.reason-card {
  position: relative;
  padding: 26px 22px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: all 0.2s var(--ease);
  overflow: hidden;
}
.reason-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
  border-color: rgba(35, 103, 244, 0.3);
}
.reason-card::before {
  content: "";
  position: absolute;
  right: -30px; bottom: -30px;
  width: 120px; height: 120px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--blue-soft) 0%, transparent 70%);
}
.reason-num {
  position: absolute;
  top: 14px; right: 18px;
  font-size: 36px;
  font-weight: 900;
  color: var(--blue);
  opacity: 0.10;
  letter-spacing: 0;
}
.reason-icon {
  display: grid;
  place-items: center;
  width: 52px; height: 52px;
  background: linear-gradient(135deg, var(--blue), var(--blue-deep));
  color: #fff;
  border-radius: 12px;
  margin-bottom: 14px;
  box-shadow: 0 8px 18px rgba(35, 103, 244, 0.30);
  position: relative;
  z-index: 1;
}
.reason-icon svg { width: 26px; height: 26px; }
.reason-card strong {
  display: block;
  font-size: 17px;
  letter-spacing: 0.02em;
  margin-bottom: 6px;
  position: relative;
}
.reason-card p {
  margin: 0;
  font-size: 12.5px;
  color: var(--ink-soft);
  line-height: 1.7;
  position: relative;
}

/* ============================================================
   購入フロー
   ============================================================ */
.flow-section { margin-bottom: 100px; }
.flow-track {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  position: relative;
}
.flow-track::before {
  content: "";
  position: absolute;
  top: 60px;
  left: 12.5%;
  right: 12.5%;
  height: 2px;
  background: linear-gradient(90deg, var(--blue) 0%, var(--cyan) 50%, var(--amber) 100%);
  opacity: 0.3;
  z-index: 0;
}
.flow-card {
  position: relative;
  z-index: 1;
  min-height: 200px;
  padding: 24px 22px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: all 0.2s var(--ease);
}
.flow-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
  border-color: rgba(35, 103, 244, 0.3);
}
.flow-step {
  display: block;
  font-size: 10.5px;
  font-weight: 900;
  letter-spacing: 0.16em;
  color: var(--blue);
}
.flow-icon {
  width: 48px; height: 48px;
  margin: 12px 0 14px;
  border-radius: 12px;
  background: var(--blue-soft);
  color: var(--blue-deep);
  display: grid;
  place-items: center;
  box-shadow: 0 8px 18px rgba(35, 103, 244, 0.15);
}
.flow-icon svg { width: 24px; height: 24px; }
.flow-card.goal .flow-icon {
  background: linear-gradient(135deg, var(--amber), var(--amber-deep));
  color: #fff;
  box-shadow: 0 8px 18px rgba(245, 158, 11, 0.30);
}
.flow-card.goal .flow-step { color: var(--amber-deep); }
.flow-card strong {
  font-size: 17px;
  line-height: 1.3;
  letter-spacing: 0.01em;
}
.flow-card small {
  margin-top: 6px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.6;
}

/* ============================================================
   お知らせ
   ============================================================ */
.news-list {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.news-item {
  display: grid;
  grid-template-columns: 110px 80px 1fr 24px;
  gap: 18px;
  align-items: center;
  padding: 16px 22px;
  border-bottom: 1px dashed var(--line);
  transition: background 0.15s;
}
.news-item:last-child { border-bottom: 0; }
.news-item:hover {
  background: var(--surface-2);
  text-decoration: none;
}
.n-date {
  font-size: 12.5px;
  color: var(--muted);
  letter-spacing: 0.06em;
  font-weight: 600;
}
.n-tag {
  font-size: 11px;
  font-weight: 800;
  text-align: center;
  padding: 3px 10px;
  border-radius: 4px;
  letter-spacing: 0.05em;
}
.n-tag.new { background: var(--red); color: #fff; }
.n-tag.info { background: var(--blue); color: #fff; }
.n-tag.maint { background: var(--muted); color: #fff; }
.n-title {
  font-size: 13.5px;
  color: var(--ink);
  line-height: 1.55;
}
.n-arrow {
  width: 24px; height: 24px;
  color: var(--muted);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
}
.n-arrow svg { width: 14px; height: 14px; }
.news-item:hover .n-arrow {
  color: var(--blue);
  transform: translateX(3px);
}

/* ============================================================
   フッター CTA
   ============================================================ */
.footer-cta {
  margin-top: 100px;
  padding: 72px 0;
  color: #fff;
  background:
    radial-gradient(ellipse at 80% 20%, rgba(245, 158, 11, 0.18) 0%, transparent 50%),
    radial-gradient(ellipse at 20% 80%, rgba(35, 103, 244, 0.18) 0%, transparent 50%),
    linear-gradient(135deg, var(--graphite-deep), var(--graphite));
  position: relative;
  overflow: hidden;
}
.footer-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 32px 32px;
  pointer-events: none;
}
.fc-inner {
  position: relative;
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 32px;
  align-items: center;
}
.fc-text .eyebrow { color: var(--amber); }
.fc-text h2 {
  margin: 0;
  font-size: clamp(22px, 2.6vw, 30px);
  line-height: 1.4;
  font-weight: 800;
  color: #fff;
}
.fc-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* ============================================================
   フッター
   ============================================================ */
.site-footer {
  background: #051226;
  color: #94a3b8;
  font-size: 13px;
}
.footer-grid {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
  padding: 56px 0 36px;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 36px;
}
.f-brand .brand strong { color: #fff; font-size: 17px; }
.f-brand .brand small { color: #5d6d8a; }
.f-brand p {
  margin: 14px 0 0;
  font-size: 12.5px;
  line-height: 1.8;
  color: #94a3b8;
  max-width: 320px;
}
.f-col h4 {
  color: #fff;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.06em;
  margin: 0 0 14px;
}
.f-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.f-col a {
  color: #94a3b8;
  font-size: 12.5px;
  transition: color 0.15s;
}
.f-col a:hover { color: #fff; }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 20px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 11.5px;
  color: #5d6d8a;
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
}

/* ============================================================
   reveal アニメーション
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .reveal { opacity: 1; transform: none; }
}

/* ============================================================
   レスポンシブ
   ============================================================ */
@media (max-width: 1100px) {
  .category-grid,
  .reasons-grid,
  .maker-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .category-card.featured {
    grid-column: span 3;
  }
}

@media (max-width: 980px) {
  .util-bar { display: none; }
  .header-inner {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 14px 0;
  }
  .header-nav {
    overflow-x: auto;
    padding-bottom: 2px;
  }

  .hero {
    background: linear-gradient(180deg,
      var(--graphite-deep) 0%,
      #1c2c44 56%,
      #f3f7fc 56.1%,
      #f3f7fc 100%);
    min-height: 0;
  }
  .hero-inner {
    grid-template-columns: 1fr;
    min-height: 0;
    padding-bottom: 80px;
    gap: 24px;
  }
  .hero-copy {
    padding: 56px 0 10px;
  }
  .hero h1 { font-size: 36px; }
  .hero-stats {
    gap: 24px;
    margin-top: 28px;
    padding-top: 18px;
  }
  .hero-stats strong { font-size: 26px; }
  .product-stage { min-height: 280px; padding: 32px 28px 36px; }
  .stage-image { max-width: 380px; }

  .quick-lanes {
    grid-template-columns: 1fr;
    margin-top: -40px;
  }

  .flagship-section { margin-top: 80px; padding: 56px 0; }
  .flagship-inner { grid-template-columns: 1fr; gap: 32px; }
  .flagship-frame { padding: 28px; }

  .category-grid,
  .maker-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .category-card.featured { grid-column: auto; }

  .rank-grid { grid-template-columns: repeat(2, 1fr); }

  .aiueo-list { grid-template-columns: repeat(2, 1fr); }

  .finder-panel {
    grid-template-columns: 1fr;
    padding: 28px;
  }

  .reasons-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .flow-track {
    grid-template-columns: repeat(2, 1fr);
  }
  .flow-track::before { display: none; }

  .news-item {
    grid-template-columns: 80px 70px 1fr;
    gap: 12px;
    padding: 14px 16px;
  }
  .n-arrow { display: none; }

  .fc-inner {
    grid-template-columns: 1fr;
    gap: 24px;
  }

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

  .section, .finder-section, .flow-section { margin-top: 70px; }
}

@media (max-width: 640px) {
  /* === コンテナ幅 (左右 12px ずつの余白を確保) === */
  .header-inner, .hero-inner, .quick-lanes,
  .section, .finder-section, .flow-section,
  .footer-grid, .footer-bottom, .fc-inner,
  .flagship-inner, .util-inner {
    width: min(100% - 24px, var(--max));
  }

  .brand strong { font-size: 16px; }
  .brand-mark { width: 40px; height: 40px; }

  /* === ヘッダー検索 === */
  .header-search {
    padding: 10px;
    height: auto;
    flex-direction: column;
    align-items: stretch;
    gap: 6px;
  }
  .header-search input { padding: 0 4px; }
  .header-search button { min-height: 42px; padding: 0 16px; white-space: normal; }
  .search-icon { display: none; }

  /* === ヒーロー === */
  .hero h1 { font-size: 28px; line-height: 1.22; }
  .hero .lead { font-size: 14px; line-height: 1.7; }

  .hero-search { padding: 10px; }
  .hero-search-tabs { gap: 4px; }
  .hero-search-tabs button {
    font-size: 11.5px;
    padding: 8px 4px;
    gap: 4px;
  }
  .hero-search-tabs button svg { width: 12px; height: 12px; }
  .hero-search-row { flex-direction: column; padding: 6px; gap: 6px; }
  .hero-search-row input { min-height: 44px; padding: 10px 14px; }
  .hero-search-row button { width: 100%; min-height: 44px; padding: 0 16px; white-space: normal; }
  .suggestions { gap: 4px; }
  .suggestions button { font-size: 11px; padding: 4px 9px; }
  .sug-label { font-size: 10.5px; margin-right: 0; }

  .hero-stats {
    flex-wrap: wrap;
    gap: 16px 24px;
    margin-top: 24px;
    padding-top: 18px;
  }
  .hero-stats strong { font-size: 20px; }
  .hero-stats small { font-size: 10.5px; }

  /* === 商品ビジュアル === */
  .product-stage { min-height: 220px; padding: 22px 16px 26px; }
  .stage-image { max-width: 100%; }
  .stage-label {
    top: 12px; left: 12px;
    font-size: 9.5px;
    padding: 4px 10px;
  }
  .product-info-card { padding: 14px 16px; }
  .product-info-card strong { font-size: 18px; }
  .pl-meta { grid-template-columns: 1fr; gap: 6px; padding-top: 10px; }
  .spec-row { grid-template-columns: 1fr; gap: 8px; }
  .spec-card { padding: 12px 14px; }

  /* === クイックレーン === */
  .lane { min-height: 120px; padding: 16px 18px; }
  .lane strong { font-size: 19px; }
  .lane-arrow { right: 16px; bottom: 16px; width: 32px; height: 32px; }

  /* === フラッグシップ === */
  .flagship-section { padding: 50px 0; }
  .flagship-frame { padding: 22px 20px; }
  .flagship-points li { padding: 12px; gap: 12px; }
  .flagship-points strong { font-size: 13.5px; }
  .flagship-cta { flex-direction: column; }
  .flagship-cta .btn { width: 100%; justify-content: center; }

  /* === セクション 共通 === */
  .section, .finder-section, .flow-section { margin-top: 60px; }
  .section-head { margin-bottom: 24px; }

  /* === グリッド系 (1列に集約) === */
  .category-grid, .maker-grid, .reasons-grid, .rank-grid, .flow-track {
    grid-template-columns: 1fr;
  }
  .aiueo-list { grid-template-columns: 1fr; }

  .category-card { min-height: 130px; padding: 18px; }
  .category-card.featured { min-height: 150px; }
  .maker-tile { padding: 14px 16px; }
  .reason-card { padding: 22px 18px; }
  .flow-card { min-height: auto; padding: 20px 18px; }

  /* === 商品ランキングカード === */
  .rank-card {
    grid-template-columns: 80px 1fr;
    padding: 12px;
    gap: 10px;
  }
  .rank-img { width: 80px; height: 70px; }
  .rank-body strong { font-size: 13px; }

  /* === MACHINE FINDER (主要修正) === */
  .finder-panel {
    padding: 20px 16px;
    gap: 22px;
  }
  .finder-copy h2 { font-size: 22px; line-height: 1.3; }
  .finder-bullets li { font-size: 13px; gap: 10px; }
  .finder-bullets .b-num { width: 22px; height: 22px; font-size: 11px; flex-shrink: 0; }
  .finder-widget { padding: 12px; }
  .finder-body { padding: 12px; }

  .tabs { grid-template-columns: 1fr; gap: 4px; }
  .tabs button {
    min-height: 40px;
    font-size: 12.5px;
    padding: 0 12px;
  }
  .tabs button svg { width: 13px; height: 13px; }

  .search-line {
    flex-direction: column;
    gap: 6px;
    padding: 6px;
  }
  .search-line input {
    width: 100%;
    padding: 10px 14px;
    min-height: 40px;
  }
  .search-line button {
    width: 100%;
    min-height: 42px;
    padding: 0 16px;
    white-space: normal;
  }

  .maker-chips { gap: 4px; }
  .maker-chips button {
    min-height: 30px;
    padding: 0 10px;
    font-size: 11px;
  }

  /* === 五十音 === */
  .aiueo-panel { padding: 18px; }
  .aiueo-tabs { gap: 4px; padding-bottom: 16px; margin-bottom: 16px; }
  .aiueo-tabs button { width: 38px; height: 38px; font-size: 13px; }

  /* === フッター === */
  .footer-grid {
    grid-template-columns: 1fr;
    padding: 40px 0 24px;
    gap: 24px;
  }
  .footer-bottom { flex-direction: column; gap: 6px; text-align: center; }

  /* === お知らせ === */
  .news-item {
    grid-template-columns: 1fr;
    gap: 4px;
    padding: 14px 16px;
  }
  .n-date { font-size: 11.5px; }
  .n-tag { align-self: flex-start; }
  .n-title { font-size: 13px; }

  /* === フッター CTA === */
  .footer-cta { padding: 56px 0; }
  .fc-actions { width: 100%; }
  .fc-actions .btn { width: 100%; justify-content: center; }
}
