/* ============================================================
   ロジたこ DTU-1 — Renewal Website CSS
   Design: BtoB向け 信頼感×わかりやすさ, スマホ対応
   Color: --blue-deep #0b3d6e / --blue-mid #1565c0 / --accent #ff6600
   ============================================================ */

/* ── RESET & BASE ── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --blue-deep: #0b3d6e;
  --blue-mid: #1565c0;
  --blue-light: #e8f0fe;
  --accent: #e65c00;
  --accent-light: #fff3e0;
  --gray-bg: #f5f7fa;
  --gray-border: #e0e4ec;
  --text-main: #1a1a2e;
  --text-sub: #555770;
  --text-light: #ffffff;
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.08);
  --shadow-md: 0 6px 24px rgba(0,0,0,0.12);
  --shadow-lg: 0 16px 48px rgba(0,0,0,0.16);
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --transition: 0.25s ease;
  --font: 'Noto Sans JP', 'Hiragino Kaku Gothic ProN', Meiryo, sans-serif;
  --header-h: 68px;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font);
  color: var(--text-main);
  line-height: 1.75;
  background: #ffffff;
  overflow-x: hidden;
}

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

a {
  color: var(--blue-mid);
  text-decoration: none;
  transition: color var(--transition);
}

a:hover {
  color: var(--accent);
}

ul, ol {
  list-style: none;
}

address {
  font-style: normal;
}

/* ── CONTAINER ── */
.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ── SECTIONS ── */
.section-white   { background: #fff; padding: 96px 0; }
.section-gray    { background: var(--gray-bg); padding: 96px 0; }
.section-blue    { background: var(--blue-deep); padding: 64px 0; }
.section-dark    { background: #0d1a2e; padding: 96px 0; }
.section-contact { background: linear-gradient(135deg, #0b3d6e 0%, #1565c0 100%); padding: 96px 0; }

.section-eyebrow {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 10px;
}

.eyebrow-light {
  color: #ff9966;
}

.section-title {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 900;
  color: var(--blue-deep);
  line-height: 1.3;
  margin-bottom: 48px;
}

.title-light {
  color: #ffffff;
}

/* ── BUTTONS ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.95rem;
  transition: all var(--transition);
  cursor: pointer;
  border: 2px solid transparent;
  white-space: nowrap;
}

.btn-primary {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
  box-shadow: 0 4px 16px rgba(230,92,0,0.35);
}

.btn-primary:hover {
  background: #c94f00;
  border-color: #c94f00;
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(230,92,0,0.4);
}

.btn-outline {
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,0.7);
}

.btn-outline:hover {
  background: rgba(255,255,255,0.15);
  color: #fff;
  transform: translateY(-2px);
}

.btn-lg {
  padding: 16px 36px;
  font-size: 1.05rem;
}

.btn-xl {
  padding: 18px 48px;
  font-size: 1.1rem;
}

/* ============================================================
   HEADER
   ============================================================ */
#site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(11,61,110,0.97);
  backdrop-filter: blur(8px);
  height: var(--header-h);
  box-shadow: 0 2px 12px rgba(0,0,0,0.25);
  transition: background var(--transition);
  overflow: visible;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
  gap: 8px;
  overflow: visible;
}

.logo-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-link {
  display: flex;
  align-items: center;
  line-height: 0;
}

/* 透過背景ロゴ（青+黒）をそのまま表示 */
.logo-link {
  background: #fff;
  border-radius: 6px;
  padding: 5px 10px;
  transition: opacity var(--transition);
}

.logo-img {
  height: 36px;
  width: auto;
  display: block;
}

.logo-link:hover {
  opacity: 0.88;
}

/* ============================================================
   NAV — PC横並び
   ============================================================ */
.pc-nav {
  display: flex;
  align-items: center;
  flex: 1;
  margin-left: 16px;
  overflow: hidden;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 2px;
  list-style: none;
  margin: 0;
  padding: 0;
  flex-wrap: nowrap;
  flex-shrink: 0;
}

.nav-list a {
  display: block;
  padding: 6px 10px;
  color: rgba(255,255,255,0.85);
  font-size: 0.84rem;
  font-weight: 500;
  border-radius: 6px;
  transition: all var(--transition);
  white-space: nowrap;
}

.nav-list a:hover {
  color: #fff;
  background: rgba(255,255,255,0.1);
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--accent);
  color: #fff;
  padding: 8px 16px;
  border-radius: 6px;
  font-size: 0.88rem;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
  flex-shrink: 0;
  transition: background var(--transition);
  margin-left: 8px;
}

.nav-cta:hover {
  background: #c94f00;
}

.nav-download-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: transparent;
  border: 1px solid rgba(255,255,255,0.55);
  color: rgba(255,255,255,0.9);
  font-size: 0.82rem;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 4px;
  cursor: pointer;
  transition: background var(--transition), color var(--transition);
  white-space: nowrap;
  font-family: inherit;
  flex-shrink: 0;
  margin-left: 8px;
}

.nav-download-btn:hover {
  background: rgba(255,255,255,0.15);
  color: #fff;
}

.nav-active {
  color: #fff !important;
  background: rgba(255,255,255,0.15) !important;
}

/* ============================================================
   ハンバーガーボタン — PCでは非表示
   ============================================================ */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 10px;
  z-index: 1200;
  position: relative;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
  user-select: none;
  background: none;
  background-color: transparent;
  border: none;
  border-radius: 0;
  outline: none;
  box-shadow: none;
  -webkit-appearance: none;
  appearance: none;
}

.hamburger span {
  display: block;
  width: 26px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: all var(--transition);
}

.hamburger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.is-open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============================================================
   モバイルメニュー（ドロワー） — 常時非表示、is-openで展開
   ============================================================ */
.mobile-menu {
  display: none;
  position: fixed;
  top: var(--header-h);
  left: 0;
  right: 0;
  background: var(--blue-deep);
  box-shadow: 0 8px 32px rgba(0,0,0,0.35);
  z-index: 10000;
  padding: 16px 0 24px;
  border-top: 3px solid var(--accent);
  overflow-y: auto;
  max-height: calc(100vh - var(--header-h));
}

.mobile-menu.is-open {
  display: block;
}

.mobile-menu ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.mobile-menu ul li a {
  display: block;
  padding: 16px 28px;
  font-size: 1rem;
  font-weight: 700;
  color: rgba(255,255,255,0.9);
  text-decoration: none;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  transition: background 0.15s, color 0.15s;
}

.mobile-menu ul li a:hover {
  background: rgba(255,255,255,0.08);
  color: #fff;
}

.mobile-menu-cta {
  padding: 20px 24px 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.mobile-menu-cta a {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--accent);
  color: #fff;
  padding: 14px;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 700;
  text-decoration: none;
  transition: background 0.2s;
}

.mobile-menu-cta a:hover {
  background: #c94f00;
}

.mobile-menu-dl {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: transparent;
  border: 1px solid rgba(255,255,255,0.5);
  color: #fff;
  padding: 14px;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  font-family: inherit;
  transition: background 0.2s;
  width: 100%;
}

.mobile-menu-dl:hover {
  background: rgba(255,255,255,0.1);
}

/* オーバーレイ */
.mobile-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.4);
  z-index: 9999;
}

.mobile-overlay.is-open {
  display: block;
}

/* ============================================================
   ≤860px: ハンバーガー表示、PCナビ非表示
   ============================================================ */
@media (max-width: 860px) {
  .pc-nav         { display: none; }
  .nav-cta        { display: none; }
  .nav-download-btn { display: none; }
  .hamburger      { display: flex; }
}

/* ============================================================
   HERO
   ============================================================ */
#hero {
  position: relative;
  min-height: 100vh;
  background:
    url('../images/hero-bg-v5.jpg') center center / cover no-repeat;
  display: flex;
  align-items: center;
  padding-top: var(--header-h);
  overflow: hidden;
}


/* ヒーロー 2カラムレイアウト */
.hero-layout {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  padding: 80px 24px 80px;
  width: 100%;
  max-width: 1200px;
}

/* 右カラム */
.hero-right {
  display: flex;
  flex-direction: column;
  gap: 20px;
  justify-content: center;
}

.hero-cta-pc {
  margin-top: 4px;
}

#hero::before {
  content: '';
  position: absolute;
  inset: 0;
  /* 物流倉庫・トラック整列写真用:
     左側テキストエリアを深い紺で確保、右側は写真の整然とした構図を見せる */
  background:
    linear-gradient(
      100deg,
      rgba(5, 20, 55, 0.32) 0%,
      rgba(8, 35, 80, 0.18) 45%,
      rgba(10, 30, 65, 0.05) 70%,
      transparent 100%
    );
  z-index: 1;
}

.hero-bg-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  /* 倉庫写真の落ち着いたトーンに合わせてアクセントを加える */
  background: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 0;
  max-width: 100%;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(110deg, rgba(20,10,0,0.55) 0%, rgba(80,40,0,0.45) 100%);
  color: #ffe9b0;
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: 0.22em;
  padding: 12px 28px 12px 20px;
  border-radius: 4px;
  margin-bottom: 28px;
  text-transform: uppercase;
  border: 1px solid rgba(255,200,80,0.55);
  box-shadow:
    0 0 0 1px rgba(255,180,60,0.18),
    0 4px 24px rgba(255,140,0,0.25),
    inset 0 1px 0 rgba(255,220,120,0.25);
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  text-shadow: 0 1px 8px rgba(255,160,0,0.6);
  animation: badge-shimmer 3s ease-in-out infinite;
}

.hero-badge::before {
  content: '★';
  font-size: 1rem;
  background: linear-gradient(135deg, #ffd700, #ff9900);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  flex-shrink: 0;
  filter: drop-shadow(0 0 4px rgba(255,180,0,0.8));
}

.hero-badge::after {
  content: '';
  position: absolute;
  top: 0;
  left: -60%;
  width: 40%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,220,120,0.18), transparent);
  animation: badge-shine 3s ease-in-out infinite;
}

@keyframes badge-shimmer {
  0%, 100% { box-shadow: 0 0 0 1px rgba(255,180,60,0.18), 0 4px 24px rgba(255,140,0,0.25), inset 0 1px 0 rgba(255,220,120,0.25); }
  50%       { box-shadow: 0 0 0 2px rgba(255,200,80,0.35), 0 4px 32px rgba(255,160,0,0.45), inset 0 1px 0 rgba(255,240,160,0.35); }
}

@keyframes badge-shine {
  0%   { left: -60%; }
  60%  { left: 120%; }
  100% { left: 120%; }
}

/* ヒーロー内ロゴ画像ラッパー */
.hero-logo-img-wrap {
  display: block;
  margin-bottom: 20px;
}

.hero-logo-img {
  height: auto;
  width: clamp(280px, 45vw, 560px);
  max-width: 100%;
  border-radius: 12px;
  box-shadow: 0 8px 40px rgba(0,0,0,0.55);
  display: block;
}

.hero-sub-title {
  font-size: clamp(1.1rem, 2.5vw, 1.6rem);
  font-weight: 700;
  color: rgba(255,255,255,0.92);
  display: block;
  margin-top: 10px;
  text-shadow: 0 2px 16px rgba(0,0,0,0.85), 0 0 40px rgba(0,0,0,0.55);
}

.hero-title {
  line-height: 1.2;
  margin-bottom: 24px;
}

.hero-desc {
  font-size: clamp(1.05rem, 2.4vw, 1.3rem);
  font-weight: 600;
  color: #fff;
  margin-bottom: 36px;
  max-width: 560px;
  line-height: 1.9;
  text-shadow: 0 2px 16px rgba(0,0,0,0.9);
  background: rgba(255,255,255,0.10);
  border-left: 4px solid #ff9966;
  border-radius: 0 10px 10px 0;
  padding: 14px 20px;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.hero-cta-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 28px;
  margin-bottom: 0;
}

.hero-cta-wrap .btn {
  flex: 1 1 0;
  min-width: 0;
  width: 100%;
  justify-content: center;
  text-align: center;
  box-sizing: border-box;
}

.hero-kpis {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}

.hero-kpis li {
  background: rgba(5, 30, 80, 0.55);
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: var(--radius-md);
  padding: 18px 28px;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 120px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.kpi-num {
  font-size: 1.9rem;
  font-weight: 900;
  color: #fff;
  line-height: 1;
}

.kpi-num small {
  font-size: 1rem;
  font-weight: 700;
}

.kpi-label {
  font-size: 0.72rem;
  color: rgba(255,255,255,0.72);
  margin-top: 6px;
  text-align: center;
}

/* ── ヒーロー 3大特長カード ── */
.hero-features {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 0;
  width: 100%;
}

.hero-feature-card {
  display: flex;
  align-items: center;
  gap: 16px;
  background: rgba(5, 20, 60, 0.45);
  border: 1px solid rgba(255,255,255,0.28);
  border-left: 4px solid var(--accent);
  border-radius: var(--radius-md);
  padding: 18px 24px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  flex: 1 1 0;
  min-width: 0;
  max-width: none;
  transition: transform var(--transition), background var(--transition);
}

.hero-feature-card:hover {
  transform: translateY(-3px);
  background: rgba(5, 20, 60, 0.58);
}

/* ── hf-icon ベース ───────────────────── */
.hf-icon {
  width: 54px;
  height: 54px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: #fff;
  flex-shrink: 0;
  position: relative;
  overflow: visible;
}

/* ── アイコン個別カラー ────────────────── */
/* 安い : ゴールドグラデーション + バウンス */
.hf-icon--cheap {
  background: linear-gradient(135deg, #ffd700 0%, #ff9900 100%);
  box-shadow: 0 4px 18px rgba(255,180,0,0.55), 0 0 0 3px rgba(255,200,0,0.25);
  animation: hf-bounce 2s ease-in-out infinite;
}
.hf-icon--cheap::after {
  content: '✦';
  position: absolute;
  top: -6px;
  right: -6px;
  font-size: 0.75rem;
  color: #ffe44a;
  animation: hf-spin-star 3s linear infinite;
  text-shadow: 0 0 6px rgba(255,220,0,0.9);
}

/* 小さい : シアン〜ブルーグラデーション + 揺れ */
.hf-icon--small {
  background: linear-gradient(135deg, #00e5ff 0%, #1565c0 100%);
  box-shadow: 0 4px 18px rgba(0,200,255,0.50), 0 0 0 3px rgba(0,200,255,0.20);
  animation: hf-wiggle 2.4s ease-in-out infinite;
}
.hf-icon--small::after {
  content: '●';
  position: absolute;
  top: -5px;
  right: -5px;
  font-size: 0.55rem;
  color: #80deea;
  animation: hf-pulse 1.8s ease-in-out infinite;
}

/* 簡単 : ライムグリーン〜ティールグラデーション + フラッシュ */
.hf-icon--easy {
  background: linear-gradient(135deg, #69f0ae 0%, #00897b 100%);
  box-shadow: 0 4px 18px rgba(0,200,120,0.50), 0 0 0 3px rgba(0,200,120,0.20);
  animation: hf-flash 2.8s ease-in-out infinite;
}
.hf-icon--easy::after {
  content: '★';
  position: absolute;
  top: -6px;
  right: -6px;
  font-size: 0.7rem;
  color: #b9f6ca;
  animation: hf-spin-star 4s linear infinite reverse;
  text-shadow: 0 0 6px rgba(100,255,180,0.9);
}

/* ── カード左ボーダー個別カラー ──────────── */
.hfc-cheap  { border-left-color: #ffd700; }
.hfc-small  { border-left-color: #00e5ff; }
.hfc-easy   { border-left-color: #69f0ae; }

/* ── アニメーション定義 ────────────────── */
@keyframes hf-bounce {
  0%, 100% { transform: translateY(0);   }
  45%       { transform: translateY(-6px); }
  60%       { transform: translateY(-3px); }
}
@keyframes hf-wiggle {
  0%, 100% { transform: rotate(0deg);   }
  20%       { transform: rotate(-8deg);  }
  40%       { transform: rotate(8deg);   }
  60%       { transform: rotate(-4deg);  }
  80%       { transform: rotate(4deg);   }
}
@keyframes hf-flash {
  0%, 100% { box-shadow: 0 4px 18px rgba(0,200,120,0.50), 0 0 0 3px rgba(0,200,120,0.20); }
  50%       { box-shadow: 0 4px 28px rgba(0,255,160,0.80), 0 0 0 6px rgba(0,255,160,0.30); }
}
@keyframes hf-spin-star {
  from { transform: rotate(0deg);   }
  to   { transform: rotate(360deg); }
}
@keyframes hf-pulse {
  0%, 100% { transform: scale(1);   opacity: 0.7; }
  50%       { transform: scale(1.8); opacity: 1;   }
}

.hf-body {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.hf-label {
  font-size: 1.2rem;
  font-weight: 900;
  color: #fff;
  line-height: 1;
  letter-spacing: 0.04em;
  text-shadow: 0 1px 6px rgba(0,0,0,0.5);
}

.hf-desc {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.78);
  line-height: 1.55;
  text-shadow: 0 1px 4px rgba(0,0,0,0.4);
}

.hero-scroll-hint {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  color: rgba(255,255,255,0.5);
  font-size: 0.72rem;
  letter-spacing: 0.15em;
  animation: bounce 2s infinite;
}

@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(8px); }
}

/* ============================================================
   PROBLEM SECTION
   ============================================================ */
.problem-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
  margin-bottom: 48px;
}

.problem-card {
  background: #fff;
  border-radius: var(--radius-md);
  padding: 32px 24px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-border);
  transition: transform var(--transition), box-shadow var(--transition);
}

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

.problem-icon {
  font-size: 2.2rem;
  color: var(--accent);
  margin-bottom: 16px;
}

.problem-card h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--blue-deep);
  margin-bottom: 10px;
  line-height: 1.5;
}

.problem-card p {
  font-size: 0.88rem;
  color: var(--text-sub);
  line-height: 1.7;
}

.problem-arrow {
  text-align: center;
  padding: 24px 0 0;
}

.problem-arrow i {
  font-size: 2rem;
  color: var(--accent);
  display: block;
  margin-bottom: 8px;
  animation: pulse-down 1.5s infinite;
}

@keyframes pulse-down {
  0%, 100% { transform: translateY(0); opacity: 1; }
  50% { transform: translateY(6px); opacity: 0.6; }
}

.problem-arrow p {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--blue-deep);
}

/* ============================================================
   FEATURES
   ============================================================ */
.feature-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  margin-bottom: 96px;
  padding-bottom: 96px;
  border-bottom: 1px solid var(--gray-border);
}

.feature-block:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

.feature-block.feature-reverse {
  direction: rtl;
}

.feature-block.feature-reverse > * {
  direction: ltr;
}

.feature-img-wrap {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.feature-img-wrap img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

.feature-num {
  font-size: 3.5rem;
  font-weight: 900;
  color: var(--blue-light);
  line-height: 1;
  margin-bottom: 8px;
  letter-spacing: -0.02em;
}

.feature-tag {
  display: inline-block;
  background: var(--accent-light);
  color: var(--accent);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  padding: 3px 12px;
  border-radius: 50px;
  margin-bottom: 8px;
}

.feature-heading {
  font-size: clamp(1.3rem, 2.5vw, 1.8rem);
  font-weight: 900;
  color: var(--blue-deep);
  line-height: 1.35;
  margin-bottom: 18px;
}

.feature-text p {
  font-size: 0.96rem;
  color: var(--text-sub);
  line-height: 1.85;
  margin-bottom: 20px;
}

.feature-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.9rem;
  color: var(--text-main);
  font-weight: 500;
}

.feature-list .fa-check {
  color: #2e7d32;
  margin-top: 3px;
  flex-shrink: 0;
}

/* ============================================================
   DRIVER VOICE
   ============================================================ */
.driver-voice-inner {
  display: flex;
  align-items: center;
  gap: 48px;
  justify-content: center;
}

.driver-img {
  width: 220px;
  flex-shrink: 0;
  border-radius: var(--radius-md);
  filter: drop-shadow(0 8px 24px rgba(0,0,0,0.3));
}

.driver-quote p {
  font-size: clamp(1.4rem, 3vw, 2.2rem);
  font-weight: 900;
  color: #fff;
  margin-bottom: 12px;
  line-height: 1.4;
}

.driver-quote p::before {
  content: '"';
  color: #ff9966;
  font-size: 3rem;
  line-height: 0.5;
  vertical-align: -0.5em;
  margin-right: 4px;
}

.driver-quote footer {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.65);
  font-weight: 500;
}

/* ============================================================
   SPEC TABLE
   ============================================================ */
.spec-layout {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 56px;
  align-items: start;
}

.spec-img-wrap img {
  width: 100%;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  background: #fff;
  padding: 24px;
}

.spec-badge-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}

.spec-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--blue-deep);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 50px;
}

/* ============================================================
   MODAL
   ============================================================ */
.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(5, 15, 40, 0.75);
  z-index: 2000;
  align-items: flex-start;
  justify-content: center;
  padding: 40px 16px;
  overflow-y: auto;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.modal-overlay.is-open {
  display: flex;
}

.modal-inner {
  background: #fff;
  border-radius: var(--radius-lg);
  width: 100%;
  max-width: 860px;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  animation: modalIn 0.25s ease;
}

@keyframes modalIn {
  from { opacity: 0; transform: translateY(-20px); }
  to   { opacity: 1; transform: translateY(0); }
}

.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 28px;
  background: var(--blue-deep);
  color: #fff;
}

.modal-title {
  font-size: 1rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 10px;
  color: #fff;
}

.modal-close {
  background: rgba(255,255,255,0.15);
  border: none;
  color: #fff;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  font-size: 1.1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition);
  flex-shrink: 0;
}

.modal-close:hover {
  background: rgba(255,255,255,0.28);
}

.modal-body {
  padding: 0;
  overflow: hidden;
}

.modal-body iframe {
  display: block;
}

.spec-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}

.spec-table caption {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--text-sub);
  text-align: left;
  margin-bottom: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.spec-table th,
.spec-table td {
  padding: 14px 16px;
  text-align: left;
  border-bottom: 1px solid var(--gray-border);
  vertical-align: top;
}

.spec-table th {
  width: 36%;
  font-weight: 700;
  color: var(--blue-deep);
  background: var(--blue-light);
  white-space: nowrap;
}

.spec-table td {
  color: var(--text-main);
}

.spec-table tr:last-child th,
.spec-table tr:last-child td {
  border-bottom: none;
}

/* ============================================================
   HOW TO USE
   ============================================================ */
.howto-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
  counter-reset: step;
}

.step-card {
  background: #fff;
  border: 1px solid var(--gray-border);
  border-radius: var(--radius-md);
  padding: 36px 24px;
  text-align: center;
  position: relative;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition);
}

.step-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.step-num {
  display: inline-block;
  background: var(--blue-mid);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  padding: 4px 12px;
  border-radius: 50px;
  margin-bottom: 16px;
}

.step-icon {
  font-size: 2.8rem;
  color: var(--blue-mid);
  margin-bottom: 16px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.step-card h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--blue-deep);
  margin-bottom: 10px;
  line-height: 1.5;
}

.step-card p {
  font-size: 0.87rem;
  color: var(--text-sub);
  line-height: 1.7;
}

/* ============================================================
   DATA CENTER SECTION
   ============================================================ */
/* データセンター：縦1カラム中央揃え */
#data-center .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  width: 100%;
  box-sizing: border-box;
}

#data-center .section-eyebrow,
#data-center .section-title {
  width: 100%;
}

#data-center .datacenter-diagram {
  width: 100%;
  max-width: 100%;
  margin: 40px 0 48px;
  box-sizing: border-box;
}

#data-center .datacenter-text {
  width: 100%;
  max-width: 720px;
  text-align: left;
  box-sizing: border-box;
}

.datacenter-desc {
  font-size: 0.96rem;
  color: rgba(255,255,255,0.85);
  line-height: 1.85;
  margin-bottom: 28px;
}

.datacenter-points {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 36px;
}

.datacenter-points li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.9rem;
  color: rgba(255,255,255,0.85);
  font-weight: 500;
}

.datacenter-points li i {
  color: #ff9966;
  font-size: 1rem;
  margin-top: 3px;
  flex-shrink: 0;
}

/* Diagram */
.datacenter-diagram {
  display: flex;
  justify-content: center;
}

.diagram-box {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  justify-content: center;
  padding: 32px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 20px;
  backdrop-filter: blur(6px);
}

/* ── ノード共通ベース ── */
.diagram-node {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  border-radius: 16px;
  padding: 22px 18px;
  min-width: 96px;
  text-align: center;
  color: #fff;
  font-size: 0.78rem;
  font-weight: 800;
  line-height: 1.4;
  letter-spacing: 0.02em;
  position: relative;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  border: 2px solid transparent;
}

.diagram-node:hover {
  transform: translateY(-4px);
}

/* アイコンラッパー（円形バッジ） */
.diagram-node i {
  font-size: 2.2rem;
  display: block;
  filter: drop-shadow(0 2px 6px rgba(0,0,0,0.3));
}

/* ── 各車両 DTU-1（トラック：ライムグリーン） ── */
.node-truck {
  background: linear-gradient(145deg, #1a3a1a 0%, #2e7d32 100%);
  border-color: #66bb6a;
  box-shadow: 0 0 0 3px rgba(102,187,106,0.25), 0 8px 24px rgba(46,125,50,0.4);
}
.node-truck i { color: #a5d6a7; }
.node-truck::before {
  content: '車両';
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
  background: #2e7d32;
  color: #a5d6a7;
  font-size: 0.55rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  padding: 2px 8px;
  border-radius: 20px;
  border: 1px solid #66bb6a;
  white-space: nowrap;
}

/* ── 各支店 事務所PC（ビル：シアンブルー） ── */
.node-branch {
  background: linear-gradient(145deg, #0d2d3d 0%, #0277bd 100%);
  border-color: #29b6f6;
  box-shadow: 0 0 0 3px rgba(41,182,246,0.25), 0 8px 24px rgba(2,119,189,0.4);
}
.node-branch i { color: #81d4fa; }
.node-branch::before {
  content: '拠点';
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
  background: #0277bd;
  color: #81d4fa;
  font-size: 0.55rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  padding: 2px 8px;
  border-radius: 20px;
  border: 1px solid #29b6f6;
  white-space: nowrap;
}

/* ── データセンター（サーバー：パープル） ── */
.node-dc {
  background: linear-gradient(145deg, #1a0a2e 0%, #6a1b9a 100%);
  border-color: #ce93d8;
  box-shadow: 0 0 0 3px rgba(206,147,216,0.25), 0 8px 24px rgba(106,27,154,0.5);
}
.node-dc i { color: #e1bee7; }
.node-dc::before {
  content: 'データセンター';
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
  background: #6a1b9a;
  color: #e1bee7;
  font-size: 0.55rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  padding: 2px 8px;
  border-radius: 20px;
  border: 1px solid #ce93d8;
  white-space: nowrap;
}

/* ── 本社 一元管理（ゴールド） ── */
.node-hq {
  background: linear-gradient(145deg, #3d2000 0%, #e65100 100%);
  border-color: #ffb74d;
  box-shadow: 0 0 0 3px rgba(255,183,77,0.30), 0 8px 28px rgba(230,81,0,0.5);
}
.node-hq i { color: #ffe082; }
.node-hq::before {
  content: '本社';
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
  background: #e65100;
  color: #ffe082;
  font-size: 0.55rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  padding: 2px 8px;
  border-radius: 20px;
  border: 1px solid #ffb74d;
  white-space: nowrap;
}

/* ── 矢印 ── */
.diagram-arrow {
  color: rgba(255,255,255,0.7);
  font-size: 1.4rem;
  filter: drop-shadow(0 0 4px rgba(255,255,255,0.3));
}

/* ── スマホ：ダイアグラム横一列に収める ── */
@media (max-width: 640px) {
  .diagram-box {
    gap: 6px;
    padding: 20px 10px;
    flex-wrap: nowrap;
  }
  .diagram-node {
    min-width: 60px;
    padding: 12px 8px;
    font-size: 0.62rem;
    gap: 6px;
    border-radius: 12px;
  }
  .diagram-node i {
    font-size: 1.5rem;
  }
  .diagram-node::before {
    font-size: 0.45rem;
    padding: 1px 5px;
    top: -8px;
  }
  .diagram-arrow {
    font-size: 0.85rem;
    flex-shrink: 0;
  }
}

/* ============================================================
   FAQ
   ============================================================ */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background: #fff;
  border: 1px solid var(--gray-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--transition);
}

.faq-item[open] {
  box-shadow: var(--shadow-md);
}

.faq-item[open] .faq-q {
  background: var(--blue-light);
  color: var(--blue-deep);
}

.faq-q {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 20px 24px;
  cursor: pointer;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-main);
  list-style: none;
  transition: background var(--transition);
  user-select: none;
}

.faq-q::-webkit-details-marker { display: none; }

.faq-q:hover {
  background: var(--blue-light);
}

.faq-q::after {
  content: '\f078';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  margin-left: auto;
  font-size: 0.8rem;
  color: var(--blue-mid);
  transition: transform var(--transition);
  flex-shrink: 0;
}

.faq-item[open] .faq-q::after {
  transform: rotate(180deg);
}

.faq-q-icon {
  color: var(--blue-mid);
  font-size: 1.1rem;
  flex-shrink: 0;
}

.faq-a {
  padding: 20px 24px 24px 52px;
  font-size: 0.92rem;
  color: var(--text-sub);
  line-height: 1.8;
  border-top: 1px solid var(--gray-border);
}

/* ============================================================
   CONTACT FORM
   ============================================================ */
.contact-lead {
  font-size: 1rem;
  color: rgba(255,255,255,0.82);
  margin-bottom: 48px;
  max-width: 560px;
}

/* kintone iframeフォーム */
.contact-iframe-wrap {
  max-width: 820px;
  background: #fff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}


/* ============================================================
   FOOTER
   ============================================================ */
#site-footer {
  background: var(--blue-deep);
  padding: 56px 0 0;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.12);
}

.footer-logo {
  display: inline-block;
  margin-bottom: 14px;
  line-height: 0;
  background: #fff;
  border-radius: 6px;
  padding: 5px 10px;
}

.footer-logo-img {
  height: 32px;
  width: auto;
  display: block;
}

.footer-copy-line {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.65);
  margin-bottom: 6px;
}

.footer-company {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.5);
}

.footer-company a {
  color: rgba(255,255,255,0.7);
  text-decoration: none;
  transition: color var(--transition);
}

.footer-company a:hover {
  color: #ff9966;
}

.footer-nav ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-nav a {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.72);
  transition: color var(--transition);
}

.footer-nav a:hover {
  color: #ff9966;
}

.footer-bottom {
  text-align: center;
  padding: 20px 24px;
  font-size: 0.78rem;
  color: rgba(255,255,255,0.45);
}

/* ============================================================
   FLOATING CTA
   ============================================================ */
.floating-cta {
  position: fixed;
  bottom: 28px;
  right: 28px;
  background: var(--accent);
  color: #fff;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 14px 22px;
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 700;
  box-shadow: 0 6px 20px rgba(230,92,0,0.45);
  z-index: 900;
  opacity: 0;
  transform: translateY(20px);
  transition: all var(--transition);
  pointer-events: none;
}

.floating-cta.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.floating-cta:hover {
  background: #c94f00;
  color: #fff;
  transform: translateY(-3px);
  box-shadow: 0 10px 28px rgba(230,92,0,0.5);
}

/* ============================================================
   SCROLL ANIMATION
   ============================================================ */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

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

/* ============================================================
   RESPONSIVE — TABLET (≤900px)
   ============================================================ */
@media (max-width: 900px) {
  .feature-block {
    grid-template-columns: 1fr;
    gap: 36px;
    margin-bottom: 64px;
    padding-bottom: 64px;
  }

  .feature-block.feature-reverse {
    direction: ltr;
  }

  .spec-layout {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .datacenter-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }

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

/* ============================================================
   RESPONSIVE — MOBILE (≤640px)
   ============================================================ */
@media (max-width: 640px) {
  :root {
    --header-h: 60px;
  }

  .section-white,
  .section-gray,
  .section-dark,
  .section-contact { padding: 64px 0; }
  .section-blue { padding: 48px 0; }

  /* Hero */
  .hero-layout { grid-template-columns: 1fr; gap: 24px; padding: 40px 20px 60px; }
  .hero-right { width: 100%; }
  .hero-content { padding: 0; }
  /* CTAボタンをスマホで同幅に */
  .hero-cta-wrap { flex-direction: column; align-items: stretch; }
  .hero-cta-wrap .btn {
    display: flex;
    width: 100%;
    box-sizing: border-box;
    justify-content: center;
    min-width: 0;
  }
  /* バッジを写真と同幅に */
  .hero-badge { display: block; width: 100%; box-sizing: border-box; text-align: center; font-size: 1rem; padding: 14px 20px; }
  /* 製品写真をスマホ幅いっぱいに */
  .hero-logo-img { width: 100%; max-width: 100%; }

  .hero-kpis { gap: 12px; }
  .hero-kpis li { min-width: 100px; padding: 14px 16px; }
  .hero-features { gap: 10px; flex-direction: row; flex-wrap: wrap; }
  .hero-feature-card { flex: 1 1 100%; padding: 14px 18px; }
  .hf-icon { width: 40px; height: 40px; font-size: 1.1rem; border-radius: 10px; }
  .hf-label { font-size: 1.05rem; }
  .hf-desc { font-size: 0.75rem; }

  /* Problem */
  .problem-grid { grid-template-columns: 1fr 1fr; }

  /* Feature */
  .feature-num { font-size: 2.5rem; }

  /* Driver */
  .driver-voice-inner {
    flex-direction: column;
    gap: 24px;
    text-align: center;
  }
  .driver-img { width: 160px; }

  /* Steps */
  .howto-steps { grid-template-columns: 1fr; }

  /* Spec table */
  .spec-table th,
  .spec-table td { padding: 10px 12px; font-size: 0.84rem; }

  /* Contact */
  .contact-form {
    padding: 28px 20px;
  }
  .form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }

  /* Floating CTA */
  .floating-cta span { display: none; }
  .floating-cta { width: 54px; height: 54px; padding: 0; justify-content: center; border-radius: 50%; }

  /* Footer */
  .footer-nav ul {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 12px;
  }
}

@media (max-width: 380px) {
  .problem-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   CONTACT IFRAME HEIGHT
   ============================================================ */
#contact-iframe {
  height: 2350px;
}

/* スマートフォン（640px以下）*/
@media (max-width: 640px) {
  #contact-iframe {
    height: 3500px;
  }
}
