/* ==========================================================================
   タイガーラック電動台車サイト 共通CSS
   - トップ・TFS・NARGOページで共有
   - ブランド青は仮値。tiger-rack.co.jp 取得後に :root 内を置換
   ========================================================================== */

:root {
  /* Brand Colors（🔴 仮値：要確認） */
  --color-brand-primary: #0B3D7E;
  --color-brand-secondary: #1E5FAA;
  --color-brand-light: #E8EFF8;

  /* Accent（確定） */
  --color-accent: #E85528;
  --color-accent-hover: #C84520;

  /* Text */
  --color-text-primary: #1A1A1A;
  --color-text-secondary: #555555;
  --color-text-muted: #888888;
  --color-text-white: #FFFFFF;

  /* Background */
  --color-bg-base: #FFFFFF;
  --color-bg-gray: #F5F7FA;
  --color-bg-dark: #1A1A1A;

  /* Border */
  --color-border: #E0E0E0;
  --color-border-strong: #BBBBBB;

  /* State */
  --color-warning: #FFC107;

  /* Typography */
  --font-jp: "Noto Sans JP", -apple-system, BlinkMacSystemFont, "Helvetica Neue", "Yu Gothic", sans-serif;
  --font-en: "Inter", -apple-system, sans-serif;

  /* Spacing */
  --space-xs: 8px;
  --space-sm: 16px;
  --space-md: 24px;
  --space-lg: 40px;
  --space-xl: 60px;
  --space-2xl: 80px;
  --space-3xl: 120px;

  /* Sizing */
  --container-max: 1200px;
  --container-pad-pc: 40px;
  --container-pad-sp: 20px;

  /* Radius */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-pill: 9999px;

  /* Shadow */
  --shadow-card: 0 2px 8px rgba(0,0,0,0.06);
  --shadow-card-hover: 0 4px 16px rgba(0,0,0,0.1);
}

/* ==========================================================================
   Reset & Base
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { font-size: 16px; scroll-behavior: smooth; }

body {
  font-family: var(--font-jp);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.8;
  color: var(--color-text-primary);
  background: var(--color-bg-base);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; transition: opacity 0.2s; }
a:hover { opacity: 0.7; }
ul { list-style: none; }

/* ==========================================================================
   Typography
   ========================================================================== */
.h1-hero { font-size: 56px; font-weight: 700; line-height: 1.4; letter-spacing: -0.02em; }
.h2-section { font-size: 40px; font-weight: 700; line-height: 1.4; }
.h3-subtitle { font-size: 18px; font-weight: 400; line-height: 1.6; color: var(--color-text-secondary); }
.h4-card { font-size: 20px; font-weight: 700; line-height: 1.5; }
.body-lead { font-size: 18px; line-height: 1.8; }
.body-default { font-size: 16px; line-height: 1.8; }
.note { font-size: 13px; line-height: 1.7; color: var(--color-text-muted); }

.spec-value {
  font-family: var(--font-en);
  font-size: 48px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--color-brand-primary);
}
.spec-unit {
  font-family: var(--font-en);
  font-size: 16px;
  font-weight: 500;
  color: var(--color-text-secondary);
  margin-left: 4px;
}

/* ==========================================================================
   Layout
   ========================================================================== */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-pad-pc);
}
.section { padding: var(--space-3xl) 0; }
.section + .section { border-top: 1px solid var(--color-border); }
.section--gray { background: var(--color-bg-gray); }
.section--brand-light { background: var(--color-brand-light); }

.section__header { text-align: center; margin-bottom: var(--space-2xl); }
.section__header--left { text-align: left; }
.section__title { margin-bottom: var(--space-sm); }
.section__subtitle { max-width: 720px; margin: 0 auto; }
.section__header--left .section__subtitle { margin: 0; }

.grid { display: grid; gap: var(--space-md); }
.grid--2 { grid-template-columns: 1fr 1fr; }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); gap: 20px; }
.grid--5 { grid-template-columns: repeat(5, 1fr); gap: var(--space-sm); }

/* ==========================================================================
   Breadcrumb
   ========================================================================== */
.breadcrumb {
  background: var(--color-bg-gray);
  border-bottom: 1px solid var(--color-border);
  padding: 12px 0;
}
.breadcrumb__inner {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-pad-pc);
  font-size: 12px;
  color: var(--color-text-secondary);
}
.breadcrumb__inner a { color: var(--color-text-secondary); }
.breadcrumb__inner a:hover { color: var(--color-brand-primary); opacity: 1; }
.breadcrumb__sep { margin: 0 8px; color: var(--color-text-muted); }

/* ==========================================================================
   Header
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(8px);
  .btn--primary{
    box-shadow: #9e2500 2px 3px;
  }
}
.site-header__inner {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 16px var(--container-pad-pc);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-lg);
}
.site-logo {
  font-size: 20px;
  font-weight: 700;
  color: var(--color-brand-primary);
  letter-spacing: -0.01em;
}
.site-logo__sub { font-size: 11px; color: var(--color-text-muted); display: block; font-weight: 400; margin-top: 2px; }

.site-nav__list { display: flex; align-items: center; gap: var(--space-md); }
.site-nav__list a { font-size: 14px; font-weight: 500; }
.site-nav__list a.active { color: var(--color-brand-primary); }
.site-nav__phone { font-family: var(--font-en); font-weight: 700; color: var(--color-brand-primary); }
.site-nav__list .btn:hover { transform: none; }

/* ハンバーガーメニュー（SP用） */
.site-nav__toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  flex-shrink: 0;
}
.site-nav__toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--color-text-primary);
  transition: transform 0.2s, opacity 0.2s;
}
.site-nav__toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.site-nav__toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.site-nav__toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ==========================================================================
   Button / CTA
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 16px 32px;
  font-size: 15px;
  font-weight: 700;
  font-family: var(--font-jp);
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.2s;
  text-decoration: none;
  line-height: 1.4;
}
.btn:hover { opacity: 1; transform: translateY(-1px); }
.btn__arrow { font-family: var(--font-en); transition: transform 0.2s; }
.btn:hover .btn__arrow { transform: translateX(2px); }

.btn--primary { background: var(--color-accent); color: var(--color-text-white); }
.btn--primary:hover { background: var(--color-accent-hover); }

.btn--secondary { background: #e8f0fc; color: var(--color-brand-primary); border: 2px solid var(--color-brand-primary); font-weight:700; }
.btn--secondary:hover { background: var(--color-brand-light); }

.btn--dark { background: var(--color-text-white); color: var(--color-text-primary); }
.btn--dark-outline { background: transparent; color: var(--color-text-white); border-color: var(--color-text-white); }
.btn--small { height: 40px; padding: 0 20px; font-size: 13px; }

.btn-group { display: flex; gap: 12px; flex-wrap: wrap; }
.btn-group--center { justify-content: center; }

/* ==========================================================================
   Floating CTA
   ========================================================================== */
/* ==========================================================================
   Hero（共通ベース）
   ========================================================================== */
.hero {
  position: relative;
  min-height: 640px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #0a2547 0%, var(--color-brand-primary) 100%);
  color: var(--color-text-white);
  overflow: hidden;
}
.hero--sub { min-height: 480px; }
.hero__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.25;
}
.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(11,61,126,0.7) 0%, rgba(11,61,126,0.85) 100%);
}
.hero__content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 880px;
  padding: 80px 40px;
}
.hero__title { margin-bottom: var(--space-md); }
.hero__sub { font-size: 22px; font-weight: 500; margin-bottom: var(--space-lg); opacity: 0.95; }
.hero__lead { font-size: 14px; margin-bottom: var(--space-lg); opacity: 0.8; letter-spacing: 0.03em; }
.hero__cta { justify-content: center; }
.hero__placeholder-note {
  position: absolute;
  top: 16px;
  left: 16px;
  background: rgba(0,0,0,0.6);
  color: #fff;
  padding: 4px 8px;
  font-size: 11px;
  font-weight: 500;
  border-radius: var(--radius-sm);
  z-index: 2;
}

/* ==========================================================================
   Feature Blocks（TFS主役・NARGO第2訴求）
   ========================================================================== */
.feature-tag {
  display: inline-block;
  padding: 6px 16px;
  background: var(--color-accent);
  color: var(--color-text-white);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  border-radius: var(--radius-pill);
  margin-bottom: var(--space-md);
}
.feature-tag--sub { background: var(--color-brand-primary); }

.feature-tfs {
  background: var(--color-bg-base);
  border: 3px solid var(--color-brand-primary);
  border-radius: var(--radius-md);
  padding: var(--space-2xl);
  position: relative;
  overflow: hidden;
}
.feature-tfs::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 6px;
  background: linear-gradient(90deg, var(--color-brand-primary), var(--color-accent));
}

.feature-nargo {
  background: var(--color-bg-base);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: var(--space-2xl);
}

/* ==========================================================================
   Product Card
   ========================================================================== */
.product-card {
  background: var(--color-bg-base);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: all 0.2s;
}
.product-card:hover { box-shadow: var(--shadow-card-hover); transform: translateY(-2px); }
.product-card__image-wrap {
  background: var(--color-bg-gray);
  aspect-ratio: 4/3;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.product-card__image { width: 100%; object-fit: contain; display:flex; align-items:center; justify-content:center;}
.product-card__body { padding: var(--space-md); }
.product-card__name { font-size: 17px; font-weight: 700; margin-bottom: var(--space-xs); }
.product-card__catch { font-size: 13px; color: var(--color-text-secondary); margin-bottom: var(--space-md); line-height: 1.7; }
.product-card__specs {
  display: flex;
  gap: var(--space-md);
  padding: var(--space-sm) 0;
  border-top: 1px dashed var(--color-border);
  border-bottom: 1px dashed var(--color-border);
  margin-bottom: var(--space-md);
}
.product-spec { flex: 1; text-align: center; }
.product-spec__value { font-family: var(--font-en); font-size: 22px; font-weight: 700; color: var(--color-brand-primary); line-height: 1.2; }
.product-spec__unit { font-family: var(--font-en); font-size: 12px; color: var(--color-text-secondary); margin-left: 2px; }
.product-spec__label { font-size: 11px; color: var(--color-text-muted); margin-top: 2px; }
.product-card__price { font-size: 14px; font-weight: 700; margin-bottom: var(--space-md); }
.product-card__price-note { font-size: 11px; color: var(--color-text-muted); font-weight: 400; margin-left: 4px; }
.product-card__link {
  display: block; text-align: center; padding: 12px 16px;
  font-size: 14px; font-weight: 700; border-radius: var(--radius-sm);
  color: var(--color-text-white); background: var(--color-brand-primary);
  text-decoration: none; transition: background 0.2s;
}
.product-card__link:hover { background: #0a3060; color: var(--color-text-white); }

/* ==========================================================================
   Spec Table（製品詳細）
   ========================================================================== */
.spec-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  margin: var(--space-md) 0;
}
.spec-table th,
.spec-table td {
  text-align: left;
  padding: 12px 16px;
  border-bottom: 1px solid var(--color-border);
}
.spec-table th {
  background: var(--color-bg-gray);
  width: 36%;
  font-weight: 700;
  color: var(--color-text-primary);
}
.spec-table td { color: var(--color-text-secondary); }
.spec-table--inline th { width: 40%; font-size: 13px; }
.spec-table--inline td { font-size: 13px; }

/* ==========================================================================
   Tag List & Spec Consultation
   ========================================================================== */
.spec-consult {
  background: var(--color-bg-base);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: var(--space-2xl);
}
.spec-consult__lead {
  font-size: 16px;
  line-height: 1.9;
  margin-bottom: var(--space-lg);
  color: var(--color-text-secondary);
}
.tag-list { display: flex; flex-wrap: wrap; gap: 10px; margin: var(--space-lg) 0; }
.tag {
  display: inline-block;
  padding: 12px 24px;
  background: var(--color-brand-primary);
  color: #fff;
  border-radius: var(--radius-sm);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.02em}

/* ==========================================================================
   Price Block (お問い合わせください)
   ========================================================================== */
.price-block {
  background: var(--color-bg-gray);
  border-radius: var(--radius-md);
  padding: var(--space-lg);
  text-align: center;
}
.price-block__title {
  font-size: 14px;
  font-weight: 700;
  color: var(--color-text-muted);
  letter-spacing: 0.05em;
  margin-bottom: var(--space-sm);
}
.price-block__amount {
  font-family: var(--font-en);
  font-size: 48px;
  font-weight: 700;
  color: var(--color-brand-primary);
  margin-bottom: var(--space-sm);
}
.price-block__text {
  font-size: 14px;
  color: var(--color-text-secondary);
  line-height: 1.8;
  max-width: 720px;
  margin: 0 auto var(--space-lg);
}

/* ==========================================================================
   Price Compact (TFS/NARGOページ用：価格判断の補強・要約版)
   ========================================================================== */
.price-compact {
  background: var(--color-bg-base);
  border: 1px solid var(--color-border);
  border-top: 3px solid var(--color-accent);
  border-radius: var(--radius-md);
  padding: var(--space-lg) var(--space-xl);
  margin-top: var(--space-lg);
  max-width: 880px;
  margin-left: auto;
  margin-right: auto;
  text-align: left;
}
.price-compact__title {
  font-size: 17px;
  font-weight: 700;
  color: var(--color-brand-primary);
  margin-bottom: var(--space-sm);
  line-height: 1.5;
}
.price-compact__text {
  font-size: 14px;
  color: var(--color-text-secondary);
  line-height: 1.9;
  margin-bottom: var(--space-md);
}
.price-compact__viewpoints {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: var(--space-md);
}
.price-compact__tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  background: var(--color-brand-light);
  color: var(--color-brand-primary);
  font-size: 12px;
  font-weight: 500;
  border-radius: var(--radius-pill);
}
.price-compact__tag-icon {
  font-size: 14px;
  line-height: 1;
}
.price-compact__cta {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: var(--space-md);
}
.price-compact__note {
  font-size: 11px;
  color: var(--color-text-muted);
  margin-top: var(--space-sm);
  line-height: 1.7;
}

@media (max-width: 767px) {
  .price-compact {
    padding: var(--space-lg) var(--space-md);
  }
  .price-compact__title { font-size: 15px; }
}

/* ==========================================================================
   Final CTA
   ========================================================================== */
.final-cta {
  background: linear-gradient(135deg, var(--color-bg-dark) 0%, #2a2a2a 100%);
  color: var(--color-text-white);
  text-align: center;
  padding: var(--space-3xl) var(--container-pad-pc);
}
.final-cta__title { color: var(--color-text-white); margin-bottom: var(--space-md); }
.final-cta__subtitle { color: rgba(255,255,255,0.7); margin-bottom: var(--space-lg); font-size: 16px; line-height: 1.8; }
.final-cta__cta { justify-content: center; margin-bottom: var(--space-md); }
.final-cta__note { font-size: 12px; color: rgba(255,255,255,0.5); margin-top: var(--space-md); }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  background: var(--color-bg-dark);
  color: rgba(255,255,255,0.7);
  padding: var(--space-2xl) 0 var(--space-lg);
  font-size: 13px;
  border-top: 1px solid rgba(255,255,255,0.1);
}
.site-footer__inner { text-align: center; line-height: 2; }

.site-footer__grid {
  display: grid;
  grid-template-columns: 1.1fr 1.2fr 1fr 1fr;
  gap: var(--space-lg);
  text-align: left;
  margin-bottom: var(--space-lg);
}
.site-footer__heading {
  font-size: 13px;
  font-weight: 700;
  color: rgba(255,255,255,0.95);
  margin-bottom: var(--space-sm);
}
.site-footer__col p { line-height: 1.9; }
.site-footer__links li { margin-bottom: 8px; }
.site-footer__links a { color: rgba(255,255,255,0.7); }
.site-footer__links a:hover { color: #fff; }

.site-footer__copyright {
  margin-top: var(--space-md);
  padding-top: var(--space-md);
  border-top: 1px solid rgba(255,255,255,0.1);
  font-size: 11px;
  color: rgba(255,255,255,0.5);
  text-align: center;
}

@media (max-width: 767px) {
  .site-footer__grid { grid-template-columns: 1fr; gap: var(--space-md); text-align: center; }
}

/* ==========================================================================
   Markers
   ========================================================================== */
.todo {
  display: inline-block;
  background: var(--color-warning);
  color: var(--color-text-primary);
  font-size: 10px;
  padding: 2px 6px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  letter-spacing: 0.05em;
  vertical-align: middle;
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1023px) {
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .grid--3 { grid-template-columns: repeat(2, 1fr); }
  .site-footer__grid { grid-template-columns: 1fr 1fr; gap: var(--space-lg) var(--space-md); }
}

/* ハンバーガーメニューへの切り替え（1091px以下） */
@media (max-width: 1091px) {
  .site-nav__toggle { display: flex; }

  .site-nav {
    position: fixed;
    top: 65px;
    left: 0;
    right: 0;
    max-height: calc(100vh - 65px);
    overflow-y: auto;
    background: #fff;
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity 0.2s, transform 0.2s, visibility 0.2s;
    z-index: 99;
  }
  .site-nav.is-open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }
  .site-nav__list {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px 20px 24px;
  }
  .site-nav__list > li { width: 100%; border-bottom: 1px solid var(--color-border); }
  .site-nav__list > li:last-child { border-bottom: none; padding-top: 12px; }
  .site-nav__list a { display: block; padding: 14px 0; font-size: 15px; }
  .site-nav__list .btn { display: inline-flex; padding: 14px 32px; }
  .site-nav__list .site-nav__phone,
  .site-nav__list .btn--primary.btn--small {
    width: 100% !important;
    padding: 20px !important;
    box-sizing: border-box;
    justify-content: center;
  }

  /* ドロップダウンを展開表示 */
  .site-nav__item-dropdown > a::after { display: none; }
  .site-nav__dropdown {
    position: static;
    transform: none;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    padding: 0;
    min-width: 0;
    background: transparent;
  }
  .site-nav__dropdown a {
    padding: 4px 0 4px 12px;
    font-size: 13px;
  }
}

@media (max-width: 767px) {
  :root {
    --space-3xl: 60px;
    --container-pad-pc: 20px;
  }

  .h1-hero { font-size: 32px; }
  .h2-section { font-size: 24px; }
  .h3-subtitle { font-size: 14px; }
  .h4-card { font-size: 16px; }

  .grid--2, .grid--3, .grid--4, .grid--5 { grid-template-columns: 1fr; }

  .feature-tfs, .feature-nargo, .spec-consult { padding: var(--space-lg) var(--space-md); }

  .hero { min-height: 480px; }
  .hero--sub { min-height: 360px; }
  .hero__content { padding: 60px 20px; }
  .hero__sub { font-size: 16px; }

  .spec-table { font-size: 12px; }
  .spec-table th, .spec-table td { padding: 8px 10px; }
}


/* ==========================================================================
   お問い合わせフォーム（contact/ 配下で使用）
   - 入力 / 確認 / 完了の3画面共通スタイル
   ========================================================================== */

/* フォームページのレイアウト */
.contact-page {
  background: var(--color-bg-gray);
  min-height: 60vh;
  padding: var(--space-2xl) 0;
}

.contact-page__inner {
  max-width: 880px;
  margin: 0 auto;
  padding: 0 var(--container-pad-pc);
}

.contact-page__title {
  font-size: 32px;
  font-weight: 700;
  color: var(--color-brand-primary);
  margin-bottom: var(--space-sm);
  line-height: 1.4;
}

.contact-page__lead {
  font-size: 15px;
  color: var(--color-text-secondary);
  margin-bottom: var(--space-lg);
  line-height: 1.8;
}

/* フォームのカード */
.contact-card {
  background: #fff;
  border-radius: var(--radius-md);
  padding: var(--space-xl) var(--space-lg);
  box-shadow: var(--shadow-card);
}

/* ステップインジケーター */
.contact-steps {
  display: flex;
  justify-content: center;
  gap: var(--space-md);
  margin-bottom: var(--space-xl);
  list-style: none;
  padding: 0;
}

.contact-steps li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--color-text-muted);
  font-weight: 500;
}

.contact-steps li .num {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--color-border);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 13px;
}

.contact-steps li.is-active {
  color: var(--color-brand-primary);
  font-weight: 700;
}

.contact-steps li.is-active .num {
  background: var(--color-brand-primary);
}

.contact-steps li.is-done .num {
  background: var(--color-brand-secondary);
}

.contact-steps li.is-done {
  color: var(--color-text-secondary);
}

.contact-steps li::after {
  content: "›";
  margin-left: var(--space-sm);
  color: var(--color-border-strong);
  font-size: 18px;
}

.contact-steps li:last-child::after {
  content: "";
  margin: 0;
}

/* フォームグループ */
.form-group {
  margin-bottom: var(--space-md);
}

.form-group__label {
  display: block;
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--color-text-primary);
}

.form-group__label .required {
  display: inline-block;
  background: var(--color-accent);
  color: #fff;
  font-size: 11px;
  padding: 1px 7px;
  border-radius: var(--radius-sm);
  margin-left: 8px;
  vertical-align: middle;
  font-weight: 700;
}

.form-group__label .optional {
  display: inline-block;
  background: var(--color-border);
  color: var(--color-text-secondary);
  font-size: 11px;
  padding: 1px 7px;
  border-radius: var(--radius-sm);
  margin-left: 8px;
  vertical-align: middle;
  font-weight: 500;
}

.form-group__hint {
  display: block;
  font-size: 12px;
  color: var(--color-text-muted);
  margin-top: 4px;
}

/* 入力フィールド */
.form-input,
.form-textarea,
.form-select {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--color-border-strong);
  border-radius: var(--radius-sm);
  font-size: 15px;
  font-family: var(--font-jp);
  background: #fff;
  color: var(--color-text-primary);
  line-height: 1.6;
  transition: border-color 0.15s, box-shadow 0.15s;
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
  outline: none;
  border-color: var(--color-brand-primary);
  box-shadow: 0 0 0 3px rgba(11,61,126,0.15);
}

.form-textarea {
  min-height: 140px;
  resize: vertical;
}

/* ラジオ・チェックボックス */
.form-choice-group {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 20px;
}

.form-choice {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  cursor: pointer;
}

.form-choice input {
  margin: 0;
  cursor: pointer;
  accent-color: var(--color-brand-primary);
}

/* エラー表示 */
.form-error-summary {
  background: #FFF2F0;
  border: 1px solid #FFB3A8;
  color: #B82E1F;
  padding: var(--space-sm) var(--space-md);
  border-radius: var(--radius-sm);
  margin-bottom: var(--space-md);
  font-size: 14px;
}

.form-error-summary p {
  font-weight: 700;
  margin-bottom: 6px;
}

.form-error-summary ul {
  margin: 0;
  padding-left: 20px;
}

.form-group__error {
  display: block;
  color: #B82E1F;
  font-size: 13px;
  margin-top: 4px;
  font-weight: 500;
}

.form-input.is-error,
.form-textarea.is-error,
.form-select.is-error {
  border-color: #B82E1F;
  background: #FFF8F7;
}

/* 確認画面の表示 */
.confirm-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: var(--space-lg);
}

.confirm-table th,
.confirm-table td {
  text-align: left;
  padding: 14px 16px;
  border-bottom: 1px solid var(--color-border);
  font-size: 14px;
  vertical-align: top;
}

.confirm-table th {
  background: var(--color-bg-gray);
  font-weight: 700;
  width: 35%;
  color: var(--color-text-secondary);
}

.confirm-table td {
  word-break: break-word;
  white-space: pre-wrap;
}

/* ボタングループ */
.form-actions {
  display: flex;
  justify-content: center;
  gap: var(--space-sm);
  margin-top: var(--space-lg);
  padding-top: var(--space-lg);
  border-top: 1px solid var(--color-border);
}

.form-actions .btn {
  min-width: 200px;
}

/* 必須項目の説明 */
.form-required-note {
  font-size: 13px;
  color: var(--color-text-secondary);
  margin-bottom: var(--space-md);
  text-align: right;
}

.form-required-note .required {
  display: inline-block;
  background: var(--color-accent);
  color: #fff;
  font-size: 11px;
  padding: 1px 7px;
  border-radius: var(--radius-sm);
  margin-right: 4px;
  font-weight: 700;
}

/* 完了画面 */
.thanks-icon {
  font-size: 64px;
  text-align: center;
  margin-bottom: var(--space-sm);
  color: var(--color-brand-primary);
}

.thanks-message {
  text-align: center;
  font-size: 16px;
  line-height: 2;
  margin-bottom: var(--space-lg);
}

.thanks-message strong {
  color: var(--color-brand-primary);
}

.thanks-next {
  background: var(--color-bg-gray);
  border-radius: var(--radius-md);
  padding: var(--space-md);
  margin-bottom: var(--space-lg);
}

.thanks-next h3 {
  font-size: 15px;
  margin-bottom: 8px;
  color: var(--color-text-primary);
}

.thanks-next p {
  font-size: 14px;
  line-height: 1.8;
  color: var(--color-text-secondary);
}

/* SP対応 */
@media (max-width: 767px) {
  .contact-page { padding: var(--space-lg) 0; }
  .contact-page__title { font-size: 24px; }
  .contact-card { padding: var(--space-md) var(--space-sm); }
  .contact-steps { gap: var(--space-xs); }
  .contact-steps li { font-size: 11px; }
  .contact-steps li::after { display: none; }
  .form-actions { flex-direction: column-reverse; gap: 12px; }
  .form-actions .btn { width: 100%; }
  .confirm-table th, .confirm-table td { display: block; width: 100%; }
  .confirm-table th { padding-bottom: 4px; border-bottom: none; }
  .confirm-table td { padding-top: 4px; }
}


/* ==========================================================================
   グローバルナビ：ドロップダウン（v4で追加）
   - 「製品一覧」ホバー／クリックで「一般用途／特殊用途」を表示
   ========================================================================== */

.site-nav__list { position: relative; }

.site-nav__item-dropdown {
  position: relative;
}

.site-nav__item-dropdown > a {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  cursor: pointer;
}

.site-nav__item-dropdown > a::after { content: ""; display: none; }

.site-nav__dropdown {
  position: absolute;
  top: calc(100% + 4px);
  left: 50%;
  transform: translateX(-50%);
  background: #fff;
  border-radius: var(--radius-md);
  box-shadow: 0 6px 24px rgba(0,0,0,0.12);
  list-style: none;
  padding: 8px 0;
  min-width: 200px;
  margin: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.15s, visibility 0.15s, transform 0.15s;
  z-index: 100;
}

.site-nav__item-dropdown:hover > a::after,
.site-nav__item-dropdown:focus-within > a::after {
  transform: rotate(180deg);
}

.site-nav__item-dropdown:hover > .site-nav__dropdown,
.site-nav__item-dropdown:focus-within > .site-nav__dropdown {
  opacity: 1;
  visibility: visible;
}

.site-nav__dropdown::before {
  content: "";
  position: absolute;
  top: -8px;
  left: 0;
  right: 0;
  height: 8px;
}

.site-nav__dropdown li {
  list-style: none;
}

.site-nav__dropdown a {
  display: block;
  padding: 10px 20px;
  font-size: 14px;
  color: var(--color-text-primary);
  text-decoration: none;
  white-space: nowrap;
  border-radius: 0;
}

.site-nav__dropdown a:hover {
  background: var(--color-bg-gray);
  color: var(--color-brand-primary);
}

.site-nav__dropdown a strong {
  display: block;
  font-weight: 700;
  font-size: 14px;
}

.site-nav__dropdown a small {
  display: block;
  font-size: 11px;
  color: var(--color-text-muted);
  margin-top: 2px;
  font-weight: 400;
}

/* ==========================================================================
   製品一覧ページ用スタイル（v4で追加）
   ========================================================================== */

.products-section {
  padding: var(--space-2xl) 0;
}

.products-section + .products-section {
  background: var(--color-bg-gray);
}

.products-section__header {
  text-align: center;
  margin-bottom: var(--space-xl);
}

.products-section__tag {
  display: inline-block;
  padding: 4px 16px;
  border-radius: var(--radius-pill);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  margin-bottom: var(--space-sm);
}

.products-section__tag--general {
  background: var(--color-brand-light);
  color: var(--color-brand-primary);
}

.products-section__tag--special {
  background: #FFF4E6;
  color: #D26B00;
}

.products-section__title {
  font-size: 32px;
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: 8px;
}

.products-section__subtitle {
  font-size: 15px;
  color: var(--color-text-secondary);
  line-height: 1.8;
}

/* 製品カードグリッド */
.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
}

.product-card {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  transition: transform 0.15s, box-shadow 0.15s, border-color 0.15s;
}

.product-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-card-hover);
  border-color: var(--color-brand-secondary);
}

.product-card--featured {
  border: 2px solid var(--color-accent);
  position: relative;
}

.product-card--featured::before { display: none; }

.product-card__image {
  aspect-ratio: 4 / 3;
  background: var(--color-bg-gray);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
 display:flex; align-items:center; justify-content:center;}

.product-card__image img {
  max-width: 90%;
  max-height: 90%;
  width: auto;
  height: auto;
  object-fit: contain;
  margin: auto;
  transition: transform 0.3s;
}

.product-card:hover .product-card__image img {
  transform: scale(1.04);
}

.product-card__body {
  padding: var(--space-md);
  display: flex;
  flex-direction: column;
  flex: 1;
}

.product-card__category {
  font-size: 11px;
  font-weight: 700;
  color: var(--color-brand-secondary);
  letter-spacing: 0.08em;
  margin-bottom: 6px;
  text-transform: uppercase;
}

.product-card__name {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 8px;
  line-height: 1.4;
}

.product-card__desc {
  font-size: 13px;
  color: var(--color-text-secondary);
  line-height: 1.7;
  margin-bottom: var(--space-sm);
  flex: 1;
}

.product-card__specs {
  display: flex;
  gap: 12px;
  font-size: 12px;
  color: var(--color-text-secondary);
  padding-top: var(--space-sm);
  border-top: 1px solid var(--color-border);
  margin-top: auto;
}

.product-card__specs span strong {
  display: block;
  font-size: 15px;
  color: var(--color-text-primary);
  font-weight: 700;
}

.product-card__more {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 13px;
  font-weight: 700;
  color: var(--color-brand-primary);
  margin-top: var(--space-sm);
}

.product-card:hover .product-card__more {
  color: var(--color-accent);
}

@media (max-width: 1023px) {
  .product-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 767px) {
  .product-grid { grid-template-columns: 1fr; }
  .products-section__title { font-size: 24px; }
}


/* ==========================================================================
   製品詳細ページ：SP対応（v5追加）
   ========================================================================== */

/* 製品ヒーロー：SP時は1カラムに */
@media (max-width: 767px) {
  .section > .container > div[style*="grid-template-columns: 1fr 1fr"] {
    display: flex !important;
    flex-direction: column !important;
    gap: var(--space-md) !important;
  }

  /* ヒーローのスペック数値を横スクロール防止 */
  .section > .container div[style*="display:flex; gap: 24px"] {
    gap: 16px !important;
    flex-wrap: wrap !important;
  }

  /* ヒーローのh1を少し小さく */
  .section > .container h1[style*="font-size: 32px"],
  .section > .container h1[style*="font-size: 36px"] {
    font-size: 24px !important;
  }
}

/* スペック表のSP対応 */
@media (max-width: 767px) {
  .spec-table th,
  .spec-table td {
    display: block;
    width: 100%;
  }
  .spec-table th {
    padding-bottom: 2px;
    border-bottom: none;
    font-size: 12px;
  }
  .spec-table td {
    padding-top: 2px;
    padding-bottom: 16px;
  }
}

/* ロゴ画像のSP対応 */
@media (max-width: 767px) {
  .site-logo img {
    height: 24px !important;
  }
}


/* ==========================================================================
   製品詳細：荷台仕様カード＋特徴グリッド（v6追加）
   ========================================================================== */

/* 荷台タイプカード */
.cargo-types {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: var(--space-md);
}
.cargo-type-card {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  text-align: center;
  background: #fff;
}
.cargo-type-card__img {
  aspect-ratio: 4 / 3;
  background: var(--color-bg-gray);
  display: flex;
  align-items: center;
  justify-content: center;
}
.cargo-type-card__img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 8px;
}
.cargo-type-card__img--empty {
  font-size: 40px;
  color: var(--color-border-strong);
  font-weight: 700;
}
.cargo-type-card__label {
  padding: 10px 4px;
  font-size: 13px;
  font-weight: 700;
  border-top: 1px solid var(--color-border);
}
.cargo-sizes {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin-top: 12px;
}
.cargo-size-cell {
  background: var(--color-brand-light);
  color: var(--color-brand-primary);
  text-align: center;
  padding: 12px 4px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 700;
}

/* 特徴グリッド（見出し＋写真＋説明） */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-lg) var(--space-md);
  margin-top: var(--space-md);
}
.feature-item__img {
  aspect-ratio: 16 / 10;
  background: var(--color-bg-gray);
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-bottom: 12px;
}
.feature-item__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.feature-item__title {
  font-size: 16px;
  font-weight: 700;
  color: var(--color-brand-primary);
  margin-bottom: 6px;
  padding-bottom: 6px;
  border-bottom: 2px solid var(--color-accent);
  display: inline-block;
}
.feature-item__desc {
  font-size: 14px;
  line-height: 1.8;
  color: var(--color-text-secondary);
}

@media (max-width: 767px) {
  .cargo-types { grid-template-columns: repeat(2, 1fr); }
  .cargo-sizes { grid-template-columns: repeat(2, 1fr); }
  .feature-grid { grid-template-columns: 1fr; }
}

/* ==========================================================================
   Model Spec Grid（モデル別スペック比較：画像＋スペック表の固定px列）
   ========================================================================== */
.model-spec-grid--2col { display: grid; grid-template-columns: 280px 1fr; gap: var(--space-lg); align-items: start; }
.model-spec-grid--3col { display: grid; grid-template-columns: 200px 1fr 1fr; gap: var(--space-lg); align-items: start; }

@media (max-width: 767px) {
  .model-spec-grid--2col,
  .model-spec-grid--3col { grid-template-columns: 1fr; }
}


/* Scroll to top button */
.scroll-top {
  position: fixed; bottom: 24px; right: 24px; z-index: 999;
  width: 48px; height: 48px; border-radius: 50%;
  background: var(--color-brand-primary); color: #fff;
  border: none; cursor: pointer; font-size: 22px; line-height: 48px;
  text-align: center; box-shadow: 0 2px 8px rgba(0,0,0,0.25);
  opacity: 0; visibility: hidden; transition: opacity 0.3s, visibility 0.3s;
}
.scroll-top.is-visible { opacity: 1; visibility: visible; }
.scroll-top:hover { background: #0a3060; }

/* Before/After images */
.beforeafter__img {
  width: 100%; border-radius: var(--radius-sm);
  border: 1px solid var(--color-border);
}

/* Phone number styled as a button to match the CTA button next to it */
.site-nav__phone {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  gap: 6px;
  height: 40px;
  border: 2px solid var(--color-brand-primary) !important;
  box-shadow: #002b63 2px 2px;
  border-radius: var(--radius-sm);
  padding: 0 16px !important;
  font-weight: 700;
  line-height: 1;
}
.site-nav__phone:hover { background: #dbe8fb; opacity: 1; }
.site-nav__phone-icon { font-size: 15px; }
/* 8つの視点カード拡大 */
.viewpoint-card {
  padding: 32px 24px !important;
}

.viewpoint-card__icon {
  font-size: 40px !important;
  margin-bottom: 12px;
  color: var(--color-brand-primary);
}

.viewpoint-card__title {
  font-size: 18px !important;
  font-weight: 700;
}

.viewpoint-card__text {
  font-size: 14px !important;
  line-height: 1.7;
}
