/* page-special-trans.css — special-trans.html から抽出 */
/* ============================================================
   Tsubame Logistics — 下層ページ共通スタイル
   DESIGN.md(プロジェクト共通)準拠
   ============================================================ */

/* === Design Tokens === */
:root {
  /* Brand core */
  --color-primary: #1A1A1A;
  --color-on-primary: #FFFFFF;
  --color-secondary: #5A5A5A;
  --color-tertiary: #E60012;
  --color-on-tertiary: #FFFFFF;
  --color-tertiary-deep: #B3000F;
  --color-accent-green: #1F7A2E;
  --color-on-green: #FFFFFF;

  /* Surfaces */
  --color-neutral: #FFFFFF;
  --color-surface-soft: #F5F5F5;
  --color-surface-line: #E5E5E5;
  --color-surface-line-strong: #CCCCCC;

  /* Typography */
  --font-jp: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Yu Gothic", system-ui, sans-serif;
  --font-jp-serif: "Noto Serif JP", "Hiragino Mincho ProN", "Yu Mincho", serif;
  --font-en: "Inter", "Noto Sans JP", system-ui, sans-serif;

  /* Spacing scale */
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 24px;
  --space-6: 32px;
  --space-7: 48px;
  --space-8: 64px;
  --space-9: 96px;
  --space-10: 128px;

  /* Container */
  --container-max: 1200px;
  --container-narrow: 880px;

  /* Elevation */
  --elev-card: 0 2px 8px rgba(0, 0, 0, 0.06);
  --elev-card-hover: 0 8px 24px rgba(0, 0, 0, 0.10);

  /* Header height */
  --header-h: 80px;
}

/* === Reset & Base === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-jp);
  color: var(--color-primary);
  background: var(--color-neutral);
  line-height: 1.85;
  letter-spacing: 0.04em;
  font-size: 16px;
  font-weight: 400;
  font-feature-settings: "kern" 1;
  word-break: keep-all;
  line-break: strict;
  overflow-wrap: anywhere;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

h1, h2, h3, h4, h5 {
  font-feature-settings: "palt" 1, "kern" 1;
  line-height: 1.4;
  letter-spacing: 0.06em;
  font-weight: 700;
}

/* ============================================================
   GLOBAL HEADER
   ============================================================ */

/* ============================================================
   PAGE HEADER (下層ページタイトル帯) — 白背景+アクセント線
   ============================================================ */
.page-header {
  margin-top: var(--header-h);
  background: var(--color-primary);
  padding: var(--space-9) var(--space-7) var(--space-8);
  border-bottom: 1px solid var(--color-primary);
  position: relative;
  overflow: hidden;
  min-height: 380px;
  display: flex;
  align-items: flex-end;
}
/* 背景画像レイヤー */
.page-header__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}
.page-header__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 60%;
  filter: brightness(0.55) contrast(1.05) saturate(0.95);
}
/* 暗色グラデーションオーバーレイ(可読性確保) */
.page-header::before {
  /* 細い赤いアクセント線(左端・縦) */
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 4px;
  height: 60%;
  background: var(--color-tertiary);
  z-index: 3;
}
.page-header__inner {
  /* グラデは使わず、文字側の影で可読性を確保 */
  text-shadow: 0 0 15px rgba(0, 0, 0, 0.7);
  /* 親 .page-header が flex のため、幅を明示しないと中身の幅に縮んで中央寄りになる */
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: var(--space-5);
  position: relative;
  z-index: 2;
}
.page-header__main {
  flex: 1;
}
.page-header__tag {
  font-family: var(--font-en);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.32em;
  color: #ffffff;
  margin-bottom: var(--space-3);
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 12px;
}
.page-header__tag::before {
  content: "";
  width: 32px;
  height: 1px;
  background: #ffffff;
}
.page-header__title {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #ffffff;
  line-height: 1.3;
  text-shadow: 0 0 15px rgba(0, 0, 0, 0.7);
}
.page-header__title-en {
  display: block;
  font-family: var(--font-en);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.18em;
  color: rgba(255, 255, 255, 0.75);
  margin-top: var(--space-3);
  text-transform: uppercase;
}
/* 大きい英文ディスプレイ(右側に薄く・装飾) */
.page-header__display {
  text-shadow: none; /* 透かし文字には影をつけない */
  font-family: var(--font-en);
  font-size: clamp(60px, 9vw, 120px);
  font-weight: 900;
  letter-spacing: -0.02em;
  color: rgba(255, 255, 255, 0.17);
  line-height: 0.85;
  pointer-events: none;
  white-space: nowrap;
  text-transform: uppercase;
  /* 長い英文でも左のタイトルを押しつぶさないよう幅を半分までに制限し、入りきらない分は横方向だけ切る */
  flex: 0 1 auto;
  min-width: 0;
  max-width: 50%;
  clip-path: inset(-50% 0 -50% 0);
  user-select: none;
}

/* === Breadcrumb === */
.breadcrumb {
  background: var(--color-surface-soft);
  border-bottom: 1px solid var(--color-surface-line);
}
.breadcrumb__inner {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 14px var(--space-7);
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--color-secondary);
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.breadcrumb a { color: var(--color-secondary); transition: color 0.2s; }
.breadcrumb a:hover { color: var(--color-tertiary); }
.breadcrumb__sep { color: var(--color-surface-line-strong); }
.breadcrumb__current { color: var(--color-primary); font-weight: 500; }

/* ============================================================
   CONTENT SECTIONS
   ============================================================ */
.section {
  padding: var(--space-9) var(--space-7);
}
.section--soft { background: var(--color-surface-soft); }
.section--dark { background: var(--color-primary); color: var(--color-on-primary); }
.section__inner {
  max-width: var(--container-max);
  margin: 0 auto;
}
.section__inner--narrow {
  max-width: var(--container-narrow);
  margin: 0 auto;
}

/* Section heading */
.section-head {
  margin-bottom: var(--space-8);
}
.section-head__en {
  font-family: var(--font-en);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.24em;
  color: var(--color-tertiary);
  margin-bottom: var(--space-2);
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 12px;
}
.section-head__en::before {
  content: "";
  width: 24px;
  height: 1px;
  background: var(--color-tertiary);
}
.section-head__jp {
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 700;
  letter-spacing: 0.06em;
  margin-bottom: var(--space-4);
  line-height: 1.4;
}
.section-head__lead {
  font-size: 15px;
  color: var(--color-secondary);
  max-width: 720px;
  line-height: 1.95;
}
.section--dark .section-head__jp { color: var(--color-on-primary); }
.section--dark .section-head__lead { color: rgba(255, 255, 255, 0.7); }

/* Generic prose */
.prose p { margin-bottom: 1.4em; line-height: 1.95; }
.prose p:last-child { margin-bottom: 0; }
.prose h3 {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 0.06em;
  margin: 2em 0 0.8em;
  padding-left: 14px;
  border-left: 3px solid var(--color-tertiary);
  line-height: 1.5;
}
.prose h4 {
  font-size: 17px;
  font-weight: 700;
  margin: 1.6em 0 0.6em;
  color: var(--color-primary);
}
.prose ul {
  margin: 1em 0 1.5em;
  padding-left: 0;
}
.prose ul li {
  position: relative;
  padding-left: 1.4em;
  margin-bottom: 0.5em;
  line-height: 1.85;
}
.prose ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.85em;
  width: 8px;
  height: 1px;
  background: var(--color-tertiary);
}
.prose ul li strong {
  font-weight: 700;
  color: var(--color-primary);
}

/* ============================================================
   COMPONENTS
   ============================================================ */

/* Card grid */
.card-grid {
  display: grid;
  gap: var(--space-5);
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}
/* 3カードを横一列に並べる(960px以下は通常の自動折り返しに戻す) */
.card-grid--3 { grid-template-columns: repeat(3, 1fr); }
.card {
  background: var(--color-neutral);
  padding: var(--space-6);
  box-shadow: var(--elev-card);
  border-top: 3px solid var(--color-tertiary);
  transition: box-shadow 0.3s, transform 0.3s;
}
.card:hover {
  box-shadow: var(--elev-card-hover);
  transform: translateY(-2px);
}
.card__num {
  font-family: var(--font-en);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: var(--color-tertiary);
  margin-bottom: var(--space-3);
}
.card__title {
  font-size: 19px;
  font-weight: 700;
  letter-spacing: 0.06em;
  margin-bottom: var(--space-3);
  line-height: 1.5;
}
.card__body {
  font-size: 14px;
  line-height: 1.85;
  color: var(--color-secondary);
}

/* Service card (事業紹介向け) */
.service-card {
  background: var(--color-neutral);
  padding: var(--space-6);
  border: 1px solid var(--color-surface-line);
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  transition: border-color 0.3s, box-shadow 0.3s;
  height: 100%;
}
.service-card:hover {
  border-color: var(--color-tertiary);
  box-shadow: var(--elev-card-hover);
}
.service-card__icon {
  width: 56px; height: 56px;
  display: flex; align-items: center; justify-content: center;
  background: var(--color-surface-soft);
  margin-bottom: var(--space-3);
}
.service-card__icon svg { width: 28px; height: 28px; }
.service-card__title {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.06em;
  line-height: 1.5;
}
.service-card__desc {
  font-size: 14px;
  color: var(--color-secondary);
  line-height: 1.85;
  flex-grow: 1;
}
.service-card__more {
  margin-top: var(--space-3);
  font-size: 12px;
  font-weight: 700;
  color: var(--color-tertiary);
  letter-spacing: 0.12em;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.service-card__more::after {
  content: "→";
  transition: transform 0.2s;
}
.service-card:hover .service-card__more::after { transform: translateX(4px); }

/* Two column layout */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-7);
  align-items: start;
}
.two-col--image-left {
  grid-template-columns: 5fr 6fr;
}

/* Image placeholder */
.img-placeholder {
  background: var(--color-surface-soft);
  border: 1px dashed var(--color-surface-line-strong);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 8px;
  color: var(--color-secondary);
  font-size: 12px;
  letter-spacing: 0.08em;
  aspect-ratio: 4 / 3;
  text-align: center;
  padding: var(--space-4);
}
.img-placeholder svg { width: 40px; height: 40px; opacity: 0.4; }
.img-placeholder strong {
  display: block;
  color: var(--color-primary);
  font-size: 13px;
  margin-top: 4px;
  letter-spacing: 0.12em;
}
.img-placeholder small {
  font-size: 11px;
  color: var(--color-secondary);
  line-height: 1.7;
  letter-spacing: 0.04em;
}

/* Process flow */
.flow {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 0;
  margin: var(--space-5) 0;
  background: var(--color-neutral);
  border: 1px solid var(--color-surface-line);
}
.flow--5cols { grid-template-columns: repeat(5, 1fr); }
.flow--6cols { grid-template-columns: repeat(6, 1fr); }
.flow__step {
  padding: var(--space-5) var(--space-3);
  text-align: center;
  position: relative;
  border-right: 1px solid var(--color-surface-line);
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: center;
}
.flow__step:last-child { border-right: none; }
.flow__step::after {
  content: "›";
  position: absolute;
  right: -8px; top: 50%;
  transform: translateY(-50%);
  font-size: 24px;
  color: var(--color-tertiary);
  background: var(--color-neutral);
  width: 16px;
  z-index: 2;
  line-height: 1;
}
.flow__step:last-child::after { display: none; }
.flow__num {
  font-family: var(--font-en);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: var(--color-tertiary);
}
.flow__icon {
  width: 40px; height: 40px;
  display: flex; align-items: center; justify-content: center;
  color: var(--color-primary);
}
.flow__icon svg { width: 100%; height: 100%; }
.flow__label {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  line-height: 1.5;
}

/* Stat block */
.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1px;
  background: var(--color-surface-line);
  margin: var(--space-5) 0;
}
.stat {
  background: var(--color-neutral);
  padding: var(--space-6);
  text-align: center;
}
.stat__num {
  font-family: var(--font-jp-serif);
  font-size: 56px;
  font-weight: 700;
  color: var(--color-tertiary);
  line-height: 1;
  letter-spacing: -0.02em;
}
.stat__num small {
  font-family: var(--font-jp);
  font-size: 16px;
  font-weight: 700;
  margin-left: 4px;
  color: var(--color-primary);
}
.stat__label {
  font-size: 12px;
  letter-spacing: 0.12em;
  color: var(--color-secondary);
  margin-top: var(--space-3);
  font-weight: 500;
  line-height: 1.6;
}

/* Table */
.tbl {
  width: 100%;
  border-collapse: collapse;
  margin: var(--space-5) 0;
  font-size: 14px;
}
.tbl th, .tbl td {
  padding: 14px var(--space-4);
  text-align: left;
  border-bottom: 1px solid var(--color-surface-line);
  letter-spacing: 0.04em;
  line-height: 1.7;
  vertical-align: middle;
}
.tbl th {
  background: var(--color-primary);
  color: var(--color-on-primary);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.08em;
  border-bottom: none;
}
.tbl tr:nth-child(even) td { background: var(--color-surface-soft); }
.tbl .tbl__total {
  font-weight: 700;
  background: rgba(230, 0, 18, 0.06) !important;
  border-top: 2px solid var(--color-tertiary);
}
.tbl .tbl__total td { color: var(--color-primary); background: rgba(230, 0, 18, 0.06) !important; }
.tbl .tbl__num { font-family: var(--font-en); font-weight: 700; text-align: right; white-space: nowrap; }

/* Compare bar (CO2比較) */
.compare-bar {
  display: grid;
  gap: var(--space-3);
  margin: var(--space-5) 0;
}
.compare-bar__row {
  display: grid;
  grid-template-columns: 220px 1fr 100px;
  gap: var(--space-4);
  align-items: center;
}
.compare-bar__label {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.04em;
  line-height: 1.5;
}
.compare-bar__track {
  height: 32px;
  background: var(--color-surface-soft);
  position: relative;
  overflow: hidden;
}
.compare-bar__fill {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding-right: 12px;
  color: var(--color-on-primary);
  font-family: var(--font-en);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  transition: width 0.6s ease;
}
.compare-bar__fill--low { background: var(--color-accent-green); }
.compare-bar__fill--high { background: var(--color-primary); }
.compare-bar__value {
  font-family: var(--font-en);
  font-size: 13px;
  font-weight: 700;
  text-align: right;
  letter-spacing: 0.04em;
  color: var(--color-primary);
}

/* Note callout */
.callout {
  background: var(--color-surface-soft);
  border-left: 3px solid var(--color-tertiary);
  padding: var(--space-5) var(--space-6);
  margin: var(--space-5) 0;
  font-size: 14px;
  line-height: 1.95;
}
.callout--green { border-left-color: var(--color-accent-green); }
.callout strong {
  display: block;
  font-size: 12px;
  letter-spacing: 0.16em;
  color: var(--color-tertiary);
  margin-bottom: 6px;
  font-weight: 700;
}
.callout--green strong { color: var(--color-accent-green); }

/* Definition list */
.dl {
  width: 100%;
  border-top: 1px solid var(--color-surface-line);
}
.dl__row {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: var(--space-5);
  padding: var(--space-4) var(--space-3);
  border-bottom: 1px solid var(--color-surface-line);
  font-size: 14px;
  line-height: 1.85;
}
.dl__term {
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--color-primary);
}
.dl__desc { color: var(--color-secondary); }

/* Quote block */
.quote {
  background: var(--color-neutral);
  padding: var(--space-7);
  border-top: 3px solid var(--color-tertiary);
  text-align: center;
  margin: var(--space-5) 0;
  box-shadow: var(--elev-card);
}
.quote__en {
  font-family: var(--font-en);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.24em;
  color: var(--color-tertiary);
  margin-bottom: var(--space-3);
}
.quote__jp {
  font-family: var(--font-jp-serif);
  font-size: clamp(22px, 2.8vw, 30px);
  font-weight: 700;
  line-height: 1.6;
  letter-spacing: 0.08em;
  color: var(--color-primary);
}

/* Form */
.form {
  display: grid;
  gap: var(--space-5);
  background: var(--color-neutral);
  padding: var(--space-7);
  border: 1px solid var(--color-surface-line);
}
.form__row {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: var(--space-5);
  align-items: start;
  padding-bottom: var(--space-4);
  border-bottom: 1px solid var(--color-surface-line);
}
.form__row:last-of-type { border-bottom: none; padding-bottom: 0; }
.form__label {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.06em;
  padding-top: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.form__label-req {
  background: var(--color-tertiary);
  color: var(--color-on-tertiary);
  font-size: 10px;
  padding: 2px 6px;
  letter-spacing: 0.08em;
  border-radius: 2px;
  font-weight: 700;
}
.form__label-opt {
  background: var(--color-surface-line);
  color: var(--color-secondary);
  font-size: 10px;
  padding: 2px 6px;
  letter-spacing: 0.08em;
  border-radius: 2px;
  font-weight: 700;
}
.form__input,
.form__textarea,
.form__select {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--color-surface-line);
  border-radius: 4px;
  font-family: inherit;
  font-size: 14px;
  letter-spacing: 0.04em;
  line-height: 1.7;
  background: var(--color-neutral);
  transition: border-color 0.2s;
  color: var(--color-primary);
}
.form__input:focus,
.form__textarea:focus,
.form__select:focus {
  outline: none;
  border-color: var(--color-tertiary);
}
.form__textarea { resize: vertical; min-height: 140px; }
.form__radio-group { display: flex; gap: var(--space-4); flex-wrap: wrap; padding-top: 12px; }
.form__radio { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; cursor: pointer; }
.form__radio input { cursor: pointer; }
.form__hint { font-size: 12px; color: var(--color-secondary); margin-top: 6px; line-height: 1.7; }
.form__submit {
  background: var(--color-tertiary);
  color: var(--color-on-tertiary);
  padding: 18px 64px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.16em;
  border-radius: 4px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  transition: background 0.2s, transform 0.2s;
}
.form__submit:hover { background: var(--color-tertiary-deep); transform: translateY(-2px); }
.form__submit-wrap { text-align: center; margin-top: var(--space-7); }

/* CTA Strip */
.cta-strip {
  background: var(--color-primary);
  color: var(--color-on-primary);
  padding: var(--space-8) var(--space-7);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-strip__display {
  position: absolute;
  left: 0; right: 0;
  bottom: -10px;
  font-family: var(--font-en);
  font-size: clamp(80px, 13vw, 200px);
  font-weight: 900;
  letter-spacing: -0.02em;
  color: rgba(255, 255, 255, 0.04);
  line-height: 0.8;
  pointer-events: none;
  text-align: center;
  white-space: nowrap;
  user-select: none;
}
.cta-strip__inner { position: relative; z-index: 2; max-width: 800px; margin: 0 auto; }
.cta-strip__en {
  font-family: var(--font-en);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.32em;
  color: var(--color-tertiary);
  margin-bottom: var(--space-3);
}
.cta-strip__title {
  font-size: clamp(24px, 3.5vw, 36px);
  font-weight: 700;
  letter-spacing: 0.08em;
  margin-bottom: var(--space-4);
  line-height: 1.5;
}
.cta-strip__lead {
  font-size: 14px;
  line-height: 1.95;
  margin-bottom: var(--space-6);
  color: rgba(255, 255, 255, 0.85);
}
.cta-strip__buttons {
  display: flex; gap: var(--space-4); justify-content: center; flex-wrap: wrap;
}

/* Buttons */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: var(--color-tertiary);
  color: var(--color-on-tertiary);
  padding: 18px 40px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.12em;
  border-radius: 4px;
  transition: background 0.2s, transform 0.2s;
}
.btn-primary:hover { background: var(--color-tertiary-deep); transform: translateY(-2px); }
.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: transparent;
  color: var(--color-on-primary);
  padding: 18px 40px;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.12em;
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 4px;
  transition: border-color 0.2s, background 0.2s;
}
.btn-outline:hover { border-color: var(--color-on-primary); background: rgba(255, 255, 255, 0.06); }
.btn-arrow::after {
  content: "→";
  transition: transform 0.2s;
  display: inline-block;
}
.btn-primary:hover .btn-arrow::after,
.btn-arrow:hover::after { transform: translateX(4px); }

/* ============================================================
   GLOBAL FOOTER
   ============================================================ */
/*
.g-footer {
  background: var(--color-primary);
  color: rgba(255, 255, 255, 0.85);
  padding: var(--space-9) var(--space-7) var(--space-6);
  position: relative;
  overflow: hidden;
}
.g-footer__display {
  position: absolute;
  left: 0; right: 0;
  bottom: -20px;
  font-family: var(--font-en);
  font-size: clamp(80px, 11vw, 160px);
  font-weight: 900;
  letter-spacing: -0.02em;
  color: rgba(255, 255, 255, 0.04);
  line-height: 0.85;
  pointer-events: none;
  white-space: nowrap;
  text-align: center;
  user-select: none;
}
.g-footer__inner {
  position: relative; z-index: 2;
  max-width: var(--container-max);
  margin: 0 auto;
}
.g-footer__top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: var(--space-7);
  padding-bottom: var(--space-7);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}
.g-footer__brand {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}
.g-footer__brand-mark {
  width: 40px; height: 40px;
  display: flex; align-items: center; justify-content: center;
}
.g-footer__brand-name {
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--color-on-primary);
  line-height: 1.4;
}
.g-footer__brand-en {
  font-family: var(--font-en);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.18em;
  color: rgba(255, 255, 255, 0.5);
  text-transform: uppercase;
  display: block;
  margin-top: 2px;
}
.g-footer__address {
  font-size: 12px;
  line-height: 1.85;
  color: rgba(255, 255, 255, 0.7);
  letter-spacing: 0.06em;
  margin-top: var(--space-4);
}
.g-footer__cert {
  display: flex; gap: var(--space-3); margin-top: var(--space-5); flex-wrap: wrap;
}
.g-footer__cert-badge {
  width: 60px; height: 60px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-en);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-align: center;
  line-height: 1.3;
  color: rgba(255, 255, 255, 0.7);
  padding: 4px;
}
.g-footer__col-title {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: var(--color-tertiary);
  text-transform: uppercase;
  margin-bottom: var(--space-4);
  font-family: var(--font-en);
}
.g-footer__nav {
  display: flex; flex-direction: column; gap: 12px;
  font-size: 13px;
  letter-spacing: 0.06em;
}
.g-footer__nav a {
  color: rgba(255, 255, 255, 0.85);
  transition: color 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.g-footer__nav a::before {
  content: "›";
  color: var(--color-tertiary);
  font-size: 14px;
  margin-right: 2px;
}
.g-footer__nav a:hover { color: var(--color-tertiary); }
.g-footer__nav-sub {
  margin-left: var(--space-3);
  margin-top: 4px;
  display: flex; flex-direction: column; gap: 8px;
  font-size: 12px;
}
.g-footer__nav-sub a {
  color: rgba(255, 255, 255, 0.6);
  font-size: 12px;
}
.g-footer__nav-sub a::before { content: "—"; opacity: 0.5; color: rgba(255, 255, 255, 0.3); }

.g-footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: var(--space-5);
  flex-wrap: wrap;
  gap: var(--space-4);
  font-size: 11px;
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.5);
}
.g-footer__lang {
  display: flex; gap: var(--space-3);
  font-family: var(--font-en);
  letter-spacing: 0.12em;
}
.g-footer__lang button {
  color: rgba(255, 255, 255, 0.7);
  font-size: 11px;
  font-family: inherit;
  transition: color 0.2s;
  letter-spacing: inherit;
}
.g-footer__lang button.is-active {
  color: var(--color-on-primary);
  font-weight: 700;
}
.g-footer__lang button:hover { color: var(--color-tertiary); }
.g-footer__legal { display: flex; gap: var(--space-5); }
.g-footer__legal a {
  color: rgba(255, 255, 255, 0.6);
  transition: color 0.2s;
}
.g-footer__legal a:hover { color: var(--color-tertiary); }
*/
/* ============================================================
   PYRAMID DIAGRAM (経営ビジョン用 — company.html)
   ============================================================ */
.pyramid {
  margin: 0 auto;
  max-width: 1000px;
}
.pyramid__stage {
  position: relative;
  width: 100%;
  aspect-ratio: 1000 / 760;
}
.pyramid__svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
/* 各階層のテキストレイヤー */
.pyramid__layer {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  z-index: 2;
  color: var(--color-on-primary);
  width: 100%;
  pointer-events: none;
}
.pyramid__layer-label {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.16em;
  margin-bottom: 8px;
  display: inline-block;
  padding-bottom: 6px;
  border-bottom: 1px solid currentColor;
  line-height: 1;
}
.pyramid__layer-title {
  font-family: var(--font-jp-serif);
  font-size: clamp(20px, 2.4vw, 28px);
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1.4;
}
.pyramid__layer-title-en {
  font-family: var(--font-en);
  font-size: clamp(18px, 2.2vw, 26px);
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1.3;
  margin-bottom: 14px;
}
.pyramid__layer-text {
  font-size: clamp(12px, 1.3vw, 14px);
  font-weight: 400;
  letter-spacing: 0.04em;
  line-height: 1.85;
  color: rgba(255, 255, 255, 0.95);
}
/* 頂点レイヤー(経営理念) — y軸: 60〜240 → 中央 ≈ 19.7% */
.pyramid__layer--top {
  top: 9%;
  width: auto;
  white-space: nowrap;
}
.pyramid__layer--top .pyramid__layer-title {
  font-size: clamp(15px, 1.7vw, 19px);
  letter-spacing: 0.1em;
}
.pyramid__layer--top .pyramid__layer-label {
  font-size: 11px;
  letter-spacing: 0.18em;
  margin-bottom: 5px;
}
/* 中段レイヤー(経営ビジョン) — y軸: 240〜470 → 中央 ≈ 47% */
.pyramid__layer--mid {
  top: 36%;
  max-width: 60%;
}
/* 底辺レイヤー(バリュー) — y軸: 470〜720 → 中央 ≈ 78% */
.pyramid__layer--bottom {
  top: 67%;
  color: var(--color-primary);
  max-width: 70%;
}
.pyramid__layer--bottom .pyramid__layer-label {
  color: var(--color-primary);
  border-bottom-color: var(--color-primary);
}
.pyramid__values {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px 28px;
  margin: 14px auto 0;
  max-width: 480px;
  text-align: left;
  list-style: none;
  padding: 0;
}
.pyramid__values li {
  position: relative;
  padding-left: 16px;
  font-size: clamp(12px, 1.4vw, 14px);
  font-weight: 700;
  letter-spacing: 0.06em;
  line-height: 1.6;
  color: var(--color-primary);
}
.pyramid__values li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.7em;
  width: 8px;
  height: 1px;
  background: var(--color-tertiary);
}
/* 右側のサイドラベル(お客さまへの約束) */
.pyramid__aside {
  position: absolute;
  right: -2%;
  top: 38%;
  text-align: left;
  color: rgba(255, 255, 255, 0.55);
  z-index: 3;
  line-height: 1.4;
}
.pyramid__aside-jp {
  display: block;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.12em;
  padding-bottom: 4px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.25);
  margin-bottom: 4px;
}
.pyramid__aside-en {
  display: block;
  font-family: var(--font-en);
  font-size: 11px;
  letter-spacing: 0.18em;
  color: rgba(255, 255, 255, 0.4);
}

/* レスポンシブ: タブレット以下 */
@media (max-width: 960px) {
  .pyramid__stage { aspect-ratio: 1000 / 820; }
  .pyramid__layer--top { top: 8%; }
  .pyramid__layer--mid { top: 35%; max-width: 70%; }
  .pyramid__layer--bottom { top: 67%; max-width: 80%; }
  .pyramid__values { grid-template-columns: 1fr; max-width: 280px; gap: 4px; }
  .pyramid__aside { right: 0; font-size: 11px; }
  .pyramid__aside-jp { font-size: 11px; }
  .pyramid__aside-en { font-size: 9px; }
}
@media (max-width: 600px) {
  .pyramid__layer-text br { display: none; }
  .pyramid__aside { display: none; }
  .pyramid__layer--top { top: 6%; }
  .pyramid__layer--mid { top: 33%; max-width: 78%; }
  .pyramid__layer--bottom { top: 66%; max-width: 85%; }
}


/* ============================================================
   IMAGE NEEDS NOTE BLOCK (画像入稿指示用 — 制作中表示)
   ============================================================ */
.img-needs {
  background: #FFF8E7;
  border: 1px dashed #D4A017;
  padding: var(--space-4) var(--space-5);
  margin: var(--space-5) 0;
  font-size: 12px;
  line-height: 1.85;
  color: #6B5400;
  letter-spacing: 0.04em;
}
.img-needs::before {
  content: "📷 画像入稿指示 — ";
  font-weight: 700;
  color: #8B6914;
  letter-spacing: 0.08em;
}
.img-needs strong { color: #6B4400; font-weight: 700; }

/* ============================================================
   SERVICE CARD IMAGE (特殊輸送カードのアイキャッチ画像。総合物流ページと同じ仕様)
   ============================================================ */
.service-card {
  position: relative;
}
.service-card__image {
  position: relative;
  width: calc(100% + var(--space-6) * 2);
  margin: calc(var(--space-6) * -1) calc(var(--space-6) * -1) var(--space-4);
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--color-surface-soft);
}
.service-card__image picture,
.service-card__image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.service-card:hover .service-card__image img {
  transform: scale(1.03);
}
/* 画像があるときアイコンを右上の小型バッジに変える */
.service-card:has(.service-card__image) .service-card__icon {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.95);
  border: none;
  margin: 0;
  padding: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.16);
  z-index: 3;
}
.service-card:has(.service-card__image) .service-card__icon svg {
  width: 22px;
  height: 22px;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 960px) {
  .g-header { padding: 0 var(--space-4); }
  .g-header__menu, .g-header__lang, .g-header__cta { display: none; }
  .g-header__hamburger { display: flex; }
  .page-header { padding: var(--space-7) var(--space-4) var(--space-6); min-height: 280px; }
  .page-header__inner { flex-direction: column; align-items: flex-start; gap: var(--space-4); }
  .page-header__display { font-size: 60px; align-self: flex-end; max-width: 100%; }
  .section { padding: var(--space-7) var(--space-4); }
  .two-col, .two-col--image-left { grid-template-columns: 1fr; gap: var(--space-5); }
  .flow, .flow--5cols, .flow--6cols { grid-template-columns: repeat(2, 1fr); }
  .flow__step { border-right: 1px solid var(--color-surface-line); border-bottom: 1px solid var(--color-surface-line); }
  .flow__step:nth-child(2n) { border-right: none; }
  .flow__step::after { display: none; }
  .form__row, .dl__row { grid-template-columns: 1fr; gap: 8px; }
  .compare-bar__row { grid-template-columns: 1fr; gap: 8px; }
  .g-footer__top { grid-template-columns: 1fr 1fr; }
  .g-footer__bottom { flex-direction: column; align-items: flex-start; }
  .breadcrumb__inner { padding: 12px var(--space-4); font-size: 11px; }
  .cta-strip { padding: var(--space-7) var(--space-4); }
  .card-grid--3 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
}
@media (max-width: 600px) {
  .g-footer__top { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr 1fr; }
  .stat__num { font-size: 40px; }
  .form { padding: var(--space-4); }
  .quote { padding: var(--space-5); }
}

/* サービスメニューのカードはリンクではないのでホバー演出を無効化 */
#services .service-card:hover {
  border-color: var(--color-surface-line);
  box-shadow: none;
}

/* 横並びのカードで .service-card__title の高さ位置を揃える
   （カード内の各行を親グリッドと共有する subgrid。1列表示のときは各カードが単独で積まれる）
   上段: <a> の中に article → 行: 画像 / アイコン / 番号 / タイトル / 説明
   下段: article 直下 → 行: アイコン / 番号 / タイトル / 説明
   ※危険物輸送カード(非表示中)は画像なしのため、復活させる場合は画像を足すこと */
.card-grid--align > a {
  display: grid;
  grid-row: span 5;
  grid-template-rows: subgrid;
  row-gap: var(--space-3);
}
.card-grid--align > a > .service-card {
  grid-row: span 5;
}
.card-grid--align > a > .service-card,
.card-grid--align > .service-card {
  display: grid;
  grid-template-rows: subgrid;
  row-gap: var(--space-3);
  align-content: start;
}
.card-grid--align > .service-card { grid-row: span 4; }

/* KVの透かし文字：英文が長くなったため、3階層目(.page-hero__display)と同じく完全な背景扱いにする。
   .page-header 直下に置き、全幅・中央揃え・1行。入りきらない分は .page-header の overflow:hidden で切る */
.page-header__display {
  position: absolute;
  left: 0; right: 0; bottom: -18px;
  font-size: clamp(80px, 14vw, 220px);
  line-height: 0.8;
  text-align: center;
  max-width: none;
  clip-path: none;
  align-self: auto;
  z-index: 1;
}
