/* ===========================================
   Premium Auto（中古車販売店デモ） 共通スタイル
   =========================================== */

/* ----- リセット ----- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: calc(var(--header-h) + var(--banner-h));
  overflow-x: hidden;
}
body {
  font-family: 'Noto Sans JP', 'Hiragino Kaku Gothic ProN', 'Yu Gothic', sans-serif;
  color: #1d2d3a;
  background: #fafaf7;
  line-height: 1.85;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  /* 本文は禁則のみ（句読点・カッコの孤立を防ぐ） */
  line-break: strict;
  word-break: normal;
  overflow-wrap: normal;
  overflow-x: hidden;
}

/* タイトル・ボタン・テーブル見出しは単語途中で折らない */
h1, h2, h3, h4,
.btn, .nav-list a,
.spec-table th, .info-table th,
.stock-card h3, .stock-card .price,
.strength-card h3, .voice-card h3,
.step-card h3, .faq-item summary,
.notice-card h3, .service-card h3 {
  word-break: keep-all;
  overflow-wrap: anywhere;
  line-break: strict;
}
h1, h2 { text-wrap: pretty; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; transition: color .3s ease; }
ul, ol { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

/* ----- カラー変数 ----- */
:root {
  --navy-deep: #0d2545;
  --navy: #13315c;
  --navy-light: #1d4380;
  --gold: #c9a14e;
  --gold-dark: #a8821e;
  --gold-light: #e0c082;
  --red: #c41e3a;
  --red-dark: #8e1428;
  --offwhite: #fafaf7;
  --white: #ffffff;
  --ink: #1d2d3a;
  --ink-soft: #5a6b7d;
  --line: #e8ecef;
  --bg-soft: #f3f5f7;
  --shadow: 0 6px 24px rgba(13, 37, 69, 0.08);
  --shadow-lg: 0 18px 50px rgba(13, 37, 69, 0.16);
  --banner-h: 44px;
  --header-h: 76px;
}

/* ----- フォント ----- */
.font-mincho, h1, h2, h3, h4 {
  font-family: 'Shippori Mincho', 'Noto Serif JP', 'Yu Mincho', 'Hiragino Mincho ProN', serif;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--ink);
}
.font-en {
  font-family: 'Cormorant Garamond', 'Times New Roman', serif;
  font-weight: 500;
  letter-spacing: 0.08em;
}

/* ===========================================
   デモバナー
   =========================================== */
.demo-banner {
  background: #fef3f3;
  border-bottom: 2px solid #c0392b;
  color: #6b2120;
  padding: 10px 16px;
  text-align: center;
  font-size: 13px;
  position: sticky;
  top: 0;
  z-index: 9999;
  line-height: 1.6;
  min-height: var(--banner-h);
}
.demo-banner a {
  color: #c0392b;
  font-weight: 700;
  text-decoration: underline;
  margin-left: 8px;
}

/* ----- 共通レイアウト ----- */
.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
}
.container-narrow {
  max-width: 880px;
  margin: 0 auto;
  padding: 0 24px;
}
section { padding: 80px 0; }
.section-head { text-align: center; margin-bottom: 56px; }
.section-head .en {
  display: block;
  color: var(--gold);
  font-size: 14px;
  letter-spacing: 0.2em;
  margin-bottom: 8px;
  font-family: 'Cormorant Garamond', serif;
}
.section-head h2 {
  font-size: clamp(26px, 4vw, 38px);
  line-height: 1.4;
}
.section-head p {
  margin-top: 16px;
  color: var(--ink-soft);
  font-size: 15px;
}

/* ===========================================
   ヘッダー
   =========================================== */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--navy-deep);
  color: #fff;
  padding: 8px 16px;
  z-index: 10000;
}
.skip-link:focus { left: 0; }

.site-header {
  position: sticky;
  top: var(--banner-h);
  background: rgba(255,255,255, 0.96);
  backdrop-filter: blur(10px);
  z-index: 100;
  border-bottom: 1px solid var(--line);
  min-height: var(--header-h);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 24px;
  max-width: 1280px;
  margin: 0 auto;
  gap: 16px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}
.brand-mark {
  width: 40px;
  height: 40px;
  background: var(--navy-deep);
  color: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
  font-family: 'Cormorant Garamond', serif;
  font-size: 22px;
  font-weight: 600;
  letter-spacing: 0;
  flex-shrink: 0;
}
.brand-name {
  font-family: 'Shippori Mincho', serif;
  font-size: 20px;
  color: var(--navy-deep);
  font-weight: 600;
  white-space: nowrap;
}
.brand-name small {
  display: block;
  font-size: 10px;
  color: var(--ink-soft);
  letter-spacing: 0.2em;
  font-family: 'Cormorant Garamond', serif;
  font-weight: 500;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 24px;
}
.nav-list a {
  font-size: 14px;
  color: var(--ink);
  position: relative;
  padding: 6px 0;
  font-weight: 500;
}
.nav-list a:hover, .nav-list a[aria-current="page"] {
  color: var(--gold-dark);
}
.nav-list a[aria-current="page"]::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: -4px;
  height: 2px;
  background: var(--gold);
}
.nav-cta {
  background: var(--navy-deep);
  color: #fff !important;
  padding: 10px 20px !important;
  border-radius: 4px;
  font-weight: 600 !important;
}
.nav-cta:hover { background: var(--navy) !important; }

.hamburger {
  display: none;
  width: 44px;
  height: 44px;
  position: relative;
  z-index: 110;
  background: transparent;
  border: 0;
  cursor: pointer;
  flex-shrink: 0;
}
.hamburger span {
  display: block;
  position: absolute;
  left: 10px;
  width: 24px;
  height: 2px;
  background: var(--ink);
  transition: all .3s ease;
}
.hamburger span:nth-child(1) { top: 14px; }
.hamburger span:nth-child(2) { top: 21px; }
.hamburger span:nth-child(3) { top: 28px; }
.hamburger.is-open span:nth-child(1) { top: 21px; transform: rotate(45deg); }
.hamburger.is-open span:nth-child(2) { opacity: 0; }
.hamburger.is-open span:nth-child(3) { top: 21px; transform: rotate(-45deg); }
/* メニュー開時はXを白色に（ネイビー背景上で見えるように） */
.hamburger.is-open span { background: #fff; }

/* ===========================================
   ヒーロー
   =========================================== */
.hero {
  position: relative;
  min-height: 72vh;
  display: flex;
  align-items: center;
  color: #fff;
  background: linear-gradient(rgba(13,37,69,.72), rgba(13,37,69,.55)),
              url('https://images.unsplash.com/photo-1583121274602-3e2820c69888?auto=format&fit=crop&w=1600&q=80') center/cover no-repeat;
  padding: 60px 24px;
}
.hero-inner {
  max-width: 1140px;
  margin: 0 auto;
  width: 100%;
}
.hero h1 {
  color: #fff;
  font-size: clamp(30px, 5.5vw, 56px);
  line-height: 1.4;
  margin-bottom: 24px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-shadow: 0 2px 12px rgba(0,0,0,0.3);
}
.hero h1 .gold {
  color: var(--gold-light);
  display: inline-block;
}
.hero p.lead {
  font-size: clamp(15px, 1.8vw, 18px);
  line-height: 2;
  margin-bottom: 32px;
  max-width: 640px;
  text-shadow: 0 2px 8px rgba(0,0,0,0.4);
}
.hero-tagline {
  display: inline-block;
  background: rgba(201, 161, 78, 0.92);
  color: var(--navy-deep);
  padding: 6px 16px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.15em;
  margin-bottom: 28px;
  border-radius: 2px;
}
.hero-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

/* page hero（下層ページ用） */
.page-hero {
  position: relative;
  min-height: 280px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
  background: linear-gradient(rgba(13,37,69,.78), rgba(13,37,69,.62)),
              url('https://images.unsplash.com/photo-1492144534655-ae79c964c9d7?auto=format&fit=crop&w=1600&q=80') center/cover no-repeat;
  padding: 80px 24px 60px;
}
.page-hero h1 {
  color: #fff;
  font-size: clamp(26px, 4vw, 40px);
  margin-bottom: 8px;
}
.page-hero .en {
  color: var(--gold-light);
  font-family: 'Cormorant Garamond', serif;
  letter-spacing: 0.2em;
  font-size: 13px;
}

/* ===========================================
   ボタン
   =========================================== */
.btn {
  display: inline-block;
  padding: 14px 28px;
  font-size: 15px;
  font-weight: 600;
  border-radius: 4px;
  text-align: center;
  transition: all .3s ease;
  cursor: pointer;
  letter-spacing: 0.05em;
  min-height: 48px;
  line-height: 1.5;
}
.btn-primary {
  background: var(--gold);
  color: var(--navy-deep);
  border: 2px solid var(--gold);
}
.btn-primary:hover {
  background: var(--gold-dark);
  border-color: var(--gold-dark);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}
.btn-outline {
  background: transparent;
  color: #fff;
  border: 2px solid #fff;
}
.btn-outline:hover {
  background: #fff;
  color: var(--navy-deep);
}
.btn-navy {
  background: var(--navy-deep);
  color: #fff;
  border: 2px solid var(--navy-deep);
}
.btn-navy:hover {
  background: var(--navy);
  border-color: var(--navy);
}
.btn-red {
  background: var(--red);
  color: #fff;
  border: 2px solid var(--red);
}
.btn-red:hover {
  background: var(--red-dark);
  border-color: var(--red-dark);
}
.btn-block { display: block; width: 100%; }

/* ===========================================
   トップ：強み
   =========================================== */
.strengths {
  background: var(--white);
}
.strengths-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
}
.strength-card {
  background: var(--offwhite);
  padding: 36px 28px;
  border-radius: 6px;
  text-align: center;
  border: 1px solid var(--line);
  transition: all .3s ease;
}
.strength-card:hover {
  border-color: var(--gold);
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}
.strength-card .icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 18px;
  background: var(--navy-deep);
  color: var(--gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
}
.strength-card h3 {
  font-size: 20px;
  margin-bottom: 14px;
  color: var(--navy-deep);
}
.strength-card p {
  font-size: 14px;
  color: var(--ink-soft);
  text-align: left;
  line-height: 1.9;
}

/* ===========================================
   在庫カード
   =========================================== */
.stock-section { background: var(--bg-soft); }
.stock-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
}
.stock-card {
  background: var(--white);
  border-radius: 6px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: all .3s ease;
  display: flex;
  flex-direction: column;
}
.stock-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.stock-card .thumb {
  position: relative;
  aspect-ratio: 4 / 3;
  background: #ccc center/cover no-repeat;
  overflow: hidden;
}
.stock-card .thumb .badge {
  position: absolute;
  top: 12px; left: 12px;
  background: var(--red);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 2px;
  letter-spacing: 0.1em;
}
.stock-card .body {
  padding: 22px 22px 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
  min-width: 0;
}
.stock-card .stk-no {
  font-size: 11px;
  color: var(--ink-soft);
  letter-spacing: 0.1em;
  font-family: 'Cormorant Garamond', serif;
  margin-bottom: 6px;
}
.stock-card h3 {
  font-size: 18px;
  margin-bottom: 12px;
  color: var(--navy-deep);
  line-height: 1.5;
}
.stock-card .specs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px 14px;
  font-size: 13px;
  color: var(--ink-soft);
  margin-bottom: 14px;
  padding-bottom: 14px;
  border-bottom: 1px dashed var(--line);
}
.stock-card .specs span strong {
  color: var(--ink);
  margin-right: 4px;
}
.stock-card .price {
  font-family: 'Noto Sans JP', 'Hiragino Kaku Gothic ProN', sans-serif;
  color: var(--red);
  font-size: 30px;
  font-weight: 700;
  margin-bottom: 14px;
  line-height: 1.2;
  white-space: nowrap;
  overflow-wrap: normal;
  word-break: keep-all;
  letter-spacing: 0.01em;
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum" 1;
}
.stock-card .price .num {
  font-size: 1em;
  font-weight: 700;
}
.stock-card .price .yen {
  font-size: 0.62em;
  font-weight: 600;
  margin-left: 2px;
  letter-spacing: 0.04em;
}
.stock-card .price small {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 12px;
  color: var(--ink-soft);
  font-weight: 400;
  margin-left: 6px;
  white-space: nowrap;
}
.stock-card .stock-cta {
  margin-top: auto;
}

/* フィルタUI */
.stock-filter {
  background: var(--white);
  padding: 24px;
  border-radius: 6px;
  margin-bottom: 40px;
  box-shadow: var(--shadow);
}
.stock-filter form {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  align-items: end;
}
.stock-filter label {
  display: block;
  font-size: 13px;
  color: var(--ink-soft);
  margin-bottom: 6px;
  font-weight: 600;
}
.stock-filter select, .stock-filter input {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 4px;
  font-family: inherit;
  font-size: 14px;
  background: var(--white);
  min-width: 0;
}
.filter-actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.filter-result {
  margin-top: 12px;
  font-size: 14px;
  font-weight: 600;
  color: var(--navy);
  letter-spacing: 0.04em;
}
.filter-empty {
  grid-column: 1 / -1;
  text-align: center;
  padding: 60px 20px;
  background: var(--bg-soft);
  border-radius: 8px;
  border: 1px dashed var(--line);
}
.filter-empty p {
  margin: 0;
  color: var(--ink);
  font-weight: 600;
  font-size: 15px;
}

/* ===========================================
   ステップ（流れ）
   =========================================== */
.steps {
  background: var(--white);
}
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}
.step-card {
  position: relative;
  padding: 32px 24px 28px;
  background: var(--offwhite);
  border-radius: 6px;
  border-top: 4px solid var(--gold);
  min-width: 0;
}
.step-card .step-num {
  position: absolute;
  top: -18px;
  left: 24px;
  background: var(--navy-deep);
  color: var(--gold);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Cormorant Garamond', serif;
  font-size: 18px;
  font-weight: 600;
  border: 3px solid var(--white);
}
.step-card h3 {
  font-size: 18px;
  margin-bottom: 12px;
  margin-top: 8px;
  color: var(--navy-deep);
}
.step-card p {
  font-size: 14px;
  color: var(--ink-soft);
  line-height: 1.9;
}

/* タイムライン形式（order.html用） */
.timeline {
  position: relative;
  padding-left: 0;
}
.timeline-item {
  position: relative;
  padding: 24px 28px 24px 80px;
  background: var(--white);
  border-radius: 6px;
  margin-bottom: 24px;
  box-shadow: var(--shadow);
  border-left: 4px solid var(--gold);
  min-width: 0;
}
.timeline-item .num {
  position: absolute;
  left: 18px;
  top: 24px;
  width: 48px;
  height: 48px;
  background: var(--navy-deep);
  color: var(--gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Cormorant Garamond', serif;
  font-size: 20px;
  font-weight: 600;
}
.timeline-item h3 {
  font-size: 19px;
  color: var(--navy-deep);
  margin-bottom: 8px;
}
.timeline-item .label {
  display: inline-block;
  font-size: 11px;
  background: var(--gold);
  color: var(--navy-deep);
  padding: 2px 8px;
  border-radius: 2px;
  margin-bottom: 8px;
  font-weight: 700;
  letter-spacing: 0.1em;
}
.timeline-item p {
  font-size: 14px;
  line-height: 1.9;
  color: var(--ink-soft);
}
.timeline-item.is-key {
  border-left-color: var(--red);
  background: #fff8f8;
}
.timeline-item.is-key .num {
  background: var(--red);
  color: #fff;
}
.timeline-item.is-key .label {
  background: var(--red);
  color: #fff;
}

/* ===========================================
   お客様の声
   =========================================== */
.voice-section { background: var(--bg-soft); }
.voice-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
}
.voice-card {
  background: var(--white);
  padding: 32px 28px 28px;
  border-radius: 6px;
  box-shadow: var(--shadow);
  position: relative;
  min-width: 0;
}
.voice-card::before {
  content: '"';
  position: absolute;
  top: 8px;
  left: 18px;
  font-family: 'Cormorant Garamond', serif;
  font-size: 78px;
  color: var(--gold-light);
  line-height: 1;
  opacity: 0.6;
}
.voice-head {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
  position: relative;
  z-index: 1;
}
.avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--navy-deep);
  color: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Cormorant Garamond', serif;
  font-size: 22px;
  font-weight: 600;
  flex-shrink: 0;
}
.voice-card h3 {
  font-size: 17px;
  color: var(--navy-deep);
  margin-bottom: 2px;
}
.voice-card .who-info {
  font-size: 12px;
  color: var(--ink-soft);
}
.voice-stars {
  color: var(--gold);
  font-size: 14px;
  margin-bottom: 12px;
}
.voice-card p {
  font-size: 14px;
  line-height: 1.95;
  color: var(--ink);
}
.voice-card .car-info {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px dashed var(--line);
  font-size: 12px;
  color: var(--ink-soft);
}

/* ===========================================
   サービス（service.html）
   =========================================== */
.service-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
}
.service-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 6px;
  overflow: hidden;
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  align-items: stretch;
  transition: all .3s ease;
  min-width: 0;
}
.service-card:hover { box-shadow: var(--shadow-lg); }
.service-card .ico {
  background: var(--navy-deep);
  color: var(--gold);
  font-size: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.service-card .body {
  padding: 24px 26px;
  min-width: 0;
}
.service-card h3 {
  font-size: 19px;
  color: var(--navy-deep);
  margin-bottom: 10px;
}
.service-card p {
  font-size: 14px;
  color: var(--ink-soft);
  line-height: 1.9;
  margin-bottom: 12px;
}
.service-card .price-row {
  font-size: 13px;
  color: var(--ink);
  font-weight: 600;
  padding-top: 10px;
  border-top: 1px dashed var(--line);
}
.service-card .price-row .amount {
  color: var(--red);
  font-family: 'Cormorant Garamond', serif;
  font-size: 20px;
  font-weight: 600;
  margin-left: 4px;
}

/* ===========================================
   ガイド（guide.html）注意事項
   =========================================== */
.notice-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}
.notice-card {
  background: var(--white);
  padding: 28px 26px;
  border-radius: 6px;
  border-left: 4px solid var(--gold);
  box-shadow: var(--shadow);
  min-width: 0;
}
.notice-card.is-warn {
  border-left-color: var(--red);
  background: #fff8f8;
}
.notice-card .num {
  display: inline-block;
  background: var(--navy-deep);
  color: var(--gold);
  font-family: 'Cormorant Garamond', serif;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  text-align: center;
  line-height: 32px;
  margin-bottom: 10px;
  font-size: 14px;
  font-weight: 600;
}
.notice-card.is-warn .num { background: var(--red); color: #fff; }
.notice-card h3 {
  font-size: 18px;
  margin-bottom: 12px;
  color: var(--navy-deep);
}
.notice-card.is-warn h3 { color: var(--red-dark); }
.notice-card p {
  font-size: 14px;
  color: var(--ink-soft);
  line-height: 1.9;
}
.notice-card ul {
  margin-top: 8px;
  font-size: 14px;
  line-height: 1.9;
  color: var(--ink-soft);
}
.notice-card ul li {
  position: relative;
  padding-left: 18px;
  margin-bottom: 4px;
}
.notice-card ul li::before {
  content: '・';
  position: absolute;
  left: 0;
  color: var(--gold);
  font-weight: 700;
}

/* ===========================================
   FAQ
   =========================================== */
.faq-list {
  max-width: 880px;
  margin: 0 auto;
}
.faq-item {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 6px;
  margin-bottom: 12px;
  overflow: hidden;
}
.faq-item summary {
  padding: 20px 24px;
  font-size: 15px;
  font-weight: 600;
  color: var(--navy-deep);
  cursor: pointer;
  position: relative;
  list-style: none;
  padding-right: 56px;
  line-height: 1.6;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::before {
  content: 'Q';
  display: inline-block;
  background: var(--gold);
  color: var(--navy-deep);
  width: 28px;
  height: 28px;
  border-radius: 50%;
  text-align: center;
  line-height: 28px;
  font-family: 'Cormorant Garamond', serif;
  font-weight: 600;
  margin-right: 12px;
  flex-shrink: 0;
}
.faq-item summary::after {
  content: '+';
  position: absolute;
  right: 24px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 22px;
  color: var(--ink-soft);
  transition: transform .3s ease;
}
.faq-item[open] summary::after { content: '−'; }
.faq-item .answer {
  padding: 0 24px 22px 64px;
  font-size: 14px;
  line-height: 1.95;
  color: var(--ink-soft);
}

/* ===========================================
   テーブル
   =========================================== */
.spec-table, .info-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--white);
  font-size: 14px;
}
.spec-table th, .spec-table td,
.info-table th, .info-table td {
  padding: 14px 18px;
  text-align: left;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}
.spec-table th, .info-table th {
  background: var(--bg-soft);
  color: var(--navy-deep);
  font-weight: 600;
  width: 30%;
}
.spec-table tr:last-child th,
.spec-table tr:last-child td,
.info-table tr:last-child th,
.info-table tr:last-child td { border-bottom: none; }

/* ===========================================
   フォーム
   =========================================== */
.form-card {
  background: var(--white);
  padding: 40px 36px;
  border-radius: 8px;
  box-shadow: var(--shadow);
  max-width: 720px;
  margin: 0 auto;
}
.form-row { margin-bottom: 22px; }
.form-row label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--navy-deep);
  margin-bottom: 8px;
}
.form-row label .required {
  background: var(--red);
  color: #fff;
  font-size: 11px;
  padding: 2px 6px;
  border-radius: 2px;
  margin-left: 8px;
  font-weight: 700;
}
.form-row input, .form-row select, .form-row textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 4px;
  font-family: inherit;
  font-size: 15px;
  background: var(--bg-soft);
  min-width: 0;
}
.form-row textarea { min-height: 140px; resize: vertical; }
.form-row .hint {
  font-size: 12px;
  color: var(--ink-soft);
  margin-top: 4px;
}
.form-note {
  background: #fff8e8;
  border: 1px solid var(--gold-light);
  padding: 14px 18px;
  border-radius: 4px;
  font-size: 13px;
  color: var(--ink);
  margin-bottom: 24px;
  line-height: 1.8;
}

/* ===========================================
   CTA バナー
   =========================================== */
.cta-banner {
  background: linear-gradient(135deg, var(--navy-deep), var(--navy));
  color: #fff;
  padding: 80px 24px;
  text-align: center;
}
.cta-banner h2 {
  color: #fff;
  font-size: clamp(24px, 3.6vw, 34px);
  margin-bottom: 14px;
}
.cta-banner p {
  font-size: 15px;
  margin-bottom: 32px;
  opacity: 0.92;
}
.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
}

/* ===========================================
   フッター
   =========================================== */
.site-footer {
  background: #0a1d36;
  color: #b8c4d0;
  padding: 60px 24px 30px;
  font-size: 14px;
}
.footer-inner {
  max-width: 1140px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
}
.footer-brand .brand {
  margin-bottom: 16px;
}
.footer-brand .brand-name { color: #fff; }
.footer-brand .brand-name small { color: var(--gold-light); }
.footer-brand p {
  font-size: 13px;
  line-height: 1.9;
  color: #8da0b6;
}
.footer-col h4 {
  font-size: 13px;
  color: var(--gold-light);
  margin-bottom: 14px;
  letter-spacing: 0.1em;
  border-bottom: 1px solid #1a3358;
  padding-bottom: 8px;
}
.footer-col ul li {
  margin-bottom: 8px;
}
.footer-col a {
  color: #b8c4d0;
  font-size: 13px;
}
.footer-col a:hover { color: var(--gold-light); }
.footer-info dt {
  font-size: 11px;
  color: var(--gold-light);
  margin-top: 10px;
  letter-spacing: 0.1em;
}
.footer-info dd {
  font-size: 13px;
  color: #b8c4d0;
  margin-bottom: 4px;
}
.footer-bottom {
  max-width: 1140px;
  margin: 40px auto 0;
  padding-top: 20px;
  border-top: 1px solid #1a3358;
  text-align: center;
  font-size: 12px;
  color: #6e8094;
  line-height: 1.8;
}
.footer-bottom .demo-note {
  display: inline-block;
  background: #5a1010;
  color: #ffd0d0;
  padding: 4px 12px;
  border-radius: 2px;
  margin-bottom: 8px;
  font-size: 11px;
}

/* ===========================================
   ご注意セクション（共通の警告ブロック）
   =========================================== */
.callout {
  background: #fff8e8;
  border: 1px solid var(--gold);
  border-left: 4px solid var(--gold-dark);
  padding: 22px 26px;
  border-radius: 4px;
  margin: 28px 0;
}
.callout h3 {
  font-size: 16px;
  color: var(--navy-deep);
  margin-bottom: 10px;
}
.callout p, .callout ul li {
  font-size: 14px;
  line-height: 1.9;
  color: var(--ink);
}
.callout ul {
  margin-top: 8px;
  padding-left: 18px;
}
.callout ul li {
  list-style: disc;
  margin-bottom: 4px;
}
.callout.is-danger {
  background: #fef0f0;
  border-color: var(--red);
  border-left-color: var(--red-dark);
}

/* ===========================================
   その他ユーティリティ
   =========================================== */
.text-center { text-align: center; }
.mt-32 { margin-top: 32px; }
.mt-48 { margin-top: 48px; }
.mb-24 { margin-bottom: 24px; }
.bg-soft { background: var(--bg-soft); }
.section-tight { padding: 56px 0; }

/* 価格表（service.html等） */
.price-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--white);
  font-size: 14px;
  box-shadow: var(--shadow);
  border-radius: 6px;
  overflow: hidden;
}
.price-table th, .price-table td {
  padding: 14px 18px;
  text-align: left;
  border-bottom: 1px solid var(--line);
}
.price-table thead th {
  background: var(--navy-deep);
  color: var(--gold-light);
  font-weight: 600;
}
.price-table tbody th {
  background: var(--bg-soft);
  width: 40%;
  font-weight: 600;
}
.price-table .amount {
  color: var(--red);
  font-family: 'Noto Sans JP', 'Hiragino Kaku Gothic ProN', sans-serif;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.02em;
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum" 1;
}
.service-card .price-row .amount {
  font-family: 'Noto Sans JP', 'Hiragino Kaku Gothic ProN', sans-serif !important;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum" 1;
}

/* ===========================================
   レスポンシブ
   =========================================== */
/* ナビ7項目+ロゴが収まらない中間帯（〜1100px）でハンバーガー化 */
@media (max-width: 1100px) {
  .nav-list { gap: 18px; }
  .nav-list a { font-size: 13px; }
}

@media (max-width: 1024px) {
  .strengths-grid, .stock-grid, .steps-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .stock-filter form { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-inner { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; }
  .footer-brand { grid-column: 1 / -1; }
}

/* 950px以下で7項目ナビは破綻するためハンバーガー化 */
@media (max-width: 950px) {
  :root { --header-h: 64px; }
  .hamburger {
    display: block;
    margin-left: auto; /* ブランドの右側に押し出して右端に配置 */
  }
  /* ブランド名はモバイルで縮小・小さい英語注記は隠す */
  .brand-name { font-size: 17px; }
  .brand-name small { display: none; }
  .brand-mark { width: 36px; height: 36px; font-size: 19px; }

  .nav-list {
    position: fixed;
    top: 0;
    right: -100%;
    width: 82%;
    max-width: 320px;
    height: 100vh;
    background: var(--navy-deep);
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    padding: 80px 28px 32px;
    transition: right .3s ease;
    gap: 0;
    box-shadow: -4px 0 20px rgba(0,0,0,0.2);
    overflow-y: auto;
    z-index: 105;
  }
  .nav-list.is-open { right: 0; }
  .nav-list li { width: 100%; }
  .nav-list a {
    display: block;
    color: #fff !important;
    padding: 16px 4px;
    border-bottom: 1px solid rgba(255,255,255,0.12);
    width: 100%;
    font-size: 15px;
    line-height: 1.4;
    /* aria-current下線を完全リセット */
    position: relative;
  }
  .nav-list a[aria-current="page"] {
    color: var(--gold-light) !important;
    background: rgba(255,255,255,0.05);
  }
  .nav-list a[aria-current="page"]::after { display: none; }
  .nav-cta {
    margin-top: 16px;
    background: var(--gold) !important;
    color: var(--navy-deep) !important;
    border-bottom: none !important;
    text-align: center;
    padding: 14px 20px !important;
    border-radius: 4px;
  }
}

@media (max-width: 768px) {
  section { padding: 60px 0; }
  .container, .container-narrow { padding: 0 18px; }

  .hero { min-height: 64vh; padding: 50px 20px; }
  .hero h1 { font-size: clamp(26px, 8vw, 40px); }
  .hero-cta-row { flex-direction: column; align-items: stretch; }
  .hero-cta-row .btn { width: 100%; }

  .strengths-grid, .stock-grid, .steps-grid,
  .service-grid, .voice-grid, .notice-grid {
    grid-template-columns: 1fr;
  }
  .service-card { grid-template-columns: 1fr; }
  .service-card .ico { padding: 24px; font-size: 36px; }

  .stock-filter form { grid-template-columns: 1fr; }

  .timeline-item { padding: 24px 22px 22px 22px; }
  .timeline-item .num {
    position: static;
    margin-bottom: 12px;
  }

  .footer-inner { grid-template-columns: 1fr; gap: 28px; }
  .form-card { padding: 28px 22px; }
}

@media (max-width: 480px) {
  body { font-size: 15px; }
  .demo-banner { font-size: 12px; padding: 8px 12px; }
  .demo-banner a { display: block; margin-left: 0; margin-top: 4px; }
  .brand-name { font-size: 17px; }
  .section-head { margin-bottom: 36px; }
  .stock-card .specs { grid-template-columns: 1fr; }
  .stock-card .price { font-size: 24px; }
  .price-table th, .price-table td { padding: 10px 12px; font-size: 13px; }
  .price-table .amount { font-size: 15px; }
  .spec-table th, .spec-table td,
  .info-table th, .info-table td { padding: 12px 14px; }
  .spec-table th, .info-table th { width: 42%; font-size: 13px; }
  .spec-table td, .info-table td { font-size: 13px; }

  /* タイムライン内ulの段下げ調整 */
  .timeline-item ul { padding-left: 18px !important; }

  /* ヒーロー長単語折返し */
  .hero h1 { word-break: keep-all; overflow-wrap: anywhere; }
  .page-hero h1 { word-break: keep-all; overflow-wrap: anywhere; }

  /* ボタン文字サイズ縮小（在庫CTA等） */
  .btn { font-size: 14px; padding: 12px 20px; }
}

/* 中間帯のデモバナー長文対応（768pxまで折返しを許可） */
@media (max-width: 768px) {
  .demo-banner { font-size: 12px; line-height: 1.7; }
  .demo-banner strong { display: inline-block; }
}

/* フッター情報の日本語dt: letter-spacing過多を抑制 */
.footer-info dt {
  letter-spacing: 0.05em;
}
