/* ============================================================
   BLAST Co., Ltd. コーポレートサイト共通スタイル
   爽やか（白×スカイブルー×明るい写真）× 力強い（ネイビー色面
   ×巨大タイポ×ビーコンオレンジ）
   ============================================================ */

:root {
  --blue: #1A5FC4;       /* ビビッドブルー（英字見出し・アクセント） */
  --navy: #0E2A4E;       /* ディープネイビー（色面・フッター） */
  --navy-2: #14406F;     /* ネイビーのグラデ相方 */
  --sky: #E3F0FC;        /* アイコン円・淡色面 */
  --sky-2: #F3F8FD;      /* 淡い背景 */
  --line: #D9E4EE;       /* 罫線 */
  --ink: #22384F;        /* 本文 */
  --muted: #5A6E84;      /* 補足テキスト */
  --steel: #5A6E84;      /* （旧テーマ互換）補足テキスト */
  --paper: #FFFFFF;
  --beacon: #F39200;     /* ビーコンオレンジ */
  --beacon-deep: #DB7F00;
  --danger: #E4572E;
  --maxw: 1120px;
  --en: "Montserrat", "Noto Sans JP", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--paper); }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Meiryo", sans-serif;
  line-height: 1.9;
  font-size: 15.5px;
}
body.has-fixed-bar { padding-bottom: 96px; }
img { max-width: 100%; display: block; }
a { color: var(--blue); text-decoration: none; }
a:hover { opacity: 0.85; }
h1, h2, h3, h4, h5 { line-height: 1.4; color: var(--navy); }
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.center { text-align: center; }

/* ---------- ヘッダー / ナビ ---------- */
.site-header {
  position: sticky; top: 0; z-index: 200;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav {
  max-width: var(--maxw); margin: 0 auto; padding: 12px 24px;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
}
.brand {
  display: flex; align-items: center; gap: 10px;
  color: var(--navy); font-size: 24px; font-weight: 800; letter-spacing: 0.06em;
  font-family: var(--en);
}
.brand small { font-size: 10.5px; font-weight: 500; letter-spacing: 0.06em; color: var(--muted); }
.beacon-dot {
  width: 12px; height: 12px; border-radius: 50%; background: var(--beacon);
  box-shadow: 0 0 12px rgba(243, 146, 0, 0.9);
  animation: beaconPulse 2.2s ease-in-out infinite;
}
@keyframes beaconPulse {
  0%, 100% { opacity: 1; box-shadow: 0 0 12px rgba(243, 146, 0, 0.9); }
  50% { opacity: 0.45; box-shadow: 0 0 4px rgba(243, 146, 0, 0.4); }
}
@media (prefers-reduced-motion: reduce) {
  .beacon-dot { animation: none; }
}
.nav-links {
  display: flex; gap: 24px; list-style: none; margin: 0; padding: 0;
}
.nav-links a { color: var(--navy); font-size: 14.5px; font-weight: bold; }
.nav-links a:hover { color: var(--blue); opacity: 1; }
.nav-tel { text-align: right; line-height: 1.25; }
.nav-tel-label { display: block; font-size: 10.5px; font-weight: bold; color: var(--muted); letter-spacing: 0.08em; }
.nav-tel-num {
  font-family: var(--en); font-weight: 800; font-size: 21px;
  color: var(--navy); letter-spacing: 0.02em;
}
.nav-tel-num:hover { color: var(--blue); opacity: 1; }
.nav-cta {
  background: var(--beacon); color: var(--navy);
  border: none; border-radius: 8px; padding: 11px 20px;
  font-size: 14px; font-weight: 800; font-family: inherit; cursor: pointer;
  box-shadow: 0 3px 12px rgba(243, 146, 0, 0.35);
  transition: transform 0.15s, box-shadow 0.15s, background 0.15s;
}
.nav-cta:hover { transform: translateY(-1px); background: #FFA51F; box-shadow: 0 5px 16px rgba(243, 146, 0, 0.5); }
.nav-toggle {
  display: none;
  flex-direction: column; justify-content: center; gap: 5px;
  width: 40px; height: 40px; padding: 8px;
  background: none; border: 1px solid var(--line); border-radius: 8px; cursor: pointer;
}
.nav-toggle span {
  display: block; height: 2px; width: 100%; background: var(--navy);
  border-radius: 2px; transition: transform 0.2s, opacity 0.2s;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- ヒーロー（幾何学切り抜き×3フェーズ入替アニメーション） ---------- */
.hero {
  position: relative;
  overflow: hidden;
  background: #fff;
  border-bottom: 1px solid var(--line);
  min-height: clamp(560px, 82vh, 800px);
  --hero-inset: max(24px, calc((100vw - var(--maxw)) / 2 + 24px));
}
.hero-copy {
  position: absolute; top: 0; bottom: 0;
  left: var(--hero-inset);
  width: min(560px, 46vw);
  --swapX: calc(100vw - 2 * var(--hero-inset) - 100%);
  z-index: 2;
  display: flex; flex-direction: column; justify-content: center;
  align-items: flex-start;
  padding-top: 48px; padding-bottom: 64px;
  animation: copySwap 18s ease-in-out infinite;
}
/* サイド入替: 消えて反対側で現れる（スライドしない） */
@keyframes copySwap {
  0%, 61.5% { transform: translateX(0) scale(1); opacity: 1; }
  64%       { transform: translateX(0) scale(0.97); opacity: 0; }
  64.2%     { transform: translateX(var(--swapX)) scale(0.97); opacity: 0; }
  66.5%     { transform: translateX(var(--swapX)) scale(1); opacity: 1; }
  95%       { transform: translateX(var(--swapX)) scale(1); opacity: 1; }
  97.5%     { transform: translateX(var(--swapX)) scale(0.97); opacity: 0; }
  97.7%     { transform: translateX(0) scale(0.97); opacity: 0; }
  100%      { transform: translateX(0) scale(1); opacity: 1; }
}

/* テキストを囲う「」: 横棒と縦棒が両方向（左右・上下）から滑り込んで角で合体する */
.copy-corner { position: absolute; width: 76px; height: 76px; pointer-events: none; }
.copy-corner::before, .copy-corner::after {
  content: ""; position: absolute; background: var(--c);
}
.cc-tl { --c: var(--blue); top: 9%; left: -30px; animation: ccTLd 18s ease-in-out infinite; }
.cc-tl::before { left: 0; top: 0; width: 100%; height: 3px; animation: barTLh 18s ease-in-out infinite; }
.cc-tl::after  { left: 0; top: 0; width: 3px; height: 100%; animation: barTLv 18s ease-in-out infinite; }
.cc-br { --c: var(--beacon); bottom: 11%; right: -6px; animation: ccBRd 18s ease-in-out infinite; }
.cc-br::before { right: 0; bottom: 0; width: 100%; height: 3px; animation: barBRh 18s ease-in-out infinite; }
.cc-br::after  { right: 0; bottom: 0; width: 3px; height: 100%; animation: barBRv 18s ease-in-out infinite; }

/* 本体は到着後も静止せず漂う。入替時は消えて反対側で再構成 */
@keyframes ccTLd {
  0%        { transform: translate(0, 0); opacity: 1; }
  22%       { transform: translate(6px, 5px); }
  40%       { transform: translate(-3px, -2px); }
  61.5%     { transform: translate(4px, 3px); opacity: 1; }
  63.5%     { transform: translate(4px, 3px); opacity: 0; }
  66%       { transform: translate(0, 0); opacity: 0; }
  66.2%     { opacity: 1; }
  83%       { transform: translate(5px, 4px); }
  95%       { transform: translate(-2px, -2px); opacity: 1; }
  97.5%, 100% { transform: translate(0, 0); opacity: 0; }
}
@keyframes ccBRd {
  0%        { transform: translate(0, 0); opacity: 1; }
  24%       { transform: translate(-6px, -4px); }
  42%       { transform: translate(3px, 2px); }
  61.5%     { transform: translate(-4px, -3px); opacity: 1; }
  63.5%     { transform: translate(-4px, -3px); opacity: 0; }
  66%       { transform: translate(0, 0); opacity: 0; }
  66.2%     { opacity: 1; }
  84%       { transform: translate(-5px, -4px); }
  95%       { transform: translate(2px, 2px); opacity: 1; }
  97.5%, 100% { transform: translate(0, 0); opacity: 0; }
}
/* 棒の飛来: 横棒は左右から、縦棒は上下から */
@keyframes barTLh {
  0%    { transform: translateX(-44vw); opacity: 0; }
  5%    { transform: translateX(0); opacity: 1; }
  63.5% { transform: translateX(0); opacity: 1; }
  66%   { transform: translateX(-26vw); opacity: 0; }
  71%   { transform: translateX(0); opacity: 1; }
  100%  { transform: translateX(0); opacity: 1; }
}
@keyframes barTLv {
  0%    { transform: translateY(-36vh); opacity: 0; }
  5.5%  { transform: translateY(0); opacity: 1; }
  63.5% { transform: translateY(0); opacity: 1; }
  66%   { transform: translateY(-22vh); opacity: 0; }
  71.5% { transform: translateY(0); opacity: 1; }
  100%  { transform: translateY(0); opacity: 1; }
}
@keyframes barBRh {
  0%    { transform: translateX(44vw); opacity: 0; }
  5%    { transform: translateX(0); opacity: 1; }
  63.5% { transform: translateX(0); opacity: 1; }
  66%   { transform: translateX(26vw); opacity: 0; }
  71%   { transform: translateX(0); opacity: 1; }
  100%  { transform: translateX(0); opacity: 1; }
}
@keyframes barBRv {
  0%    { transform: translateY(36vh); opacity: 0; }
  5.5%  { transform: translateY(0); opacity: 1; }
  63.5% { transform: translateY(0); opacity: 1; }
  66%   { transform: translateY(22vh); opacity: 0; }
  71.5% { transform: translateY(0); opacity: 1; }
  100%  { transform: translateY(0); opacity: 1; }
}
.hero-copy .eyebrow {
  position: static; transform: none;
  font-family: inherit;
  font-size: 14px; font-weight: 800; letter-spacing: 0.22em;
  color: var(--beacon); margin: 0;
  line-height: 1.6;
}
.hero-copy h1 {
  font-size: clamp(29px, 3.2vw, 46px);
  font-weight: 900;
  color: var(--navy);
  margin: 16px 0 20px;
  line-height: 1.42;
  max-width: 15em;
}
.hero-copy h1 em { font-style: normal; color: var(--beacon); }
.hero-lead { color: var(--muted); font-size: 16px; margin: 0; max-width: 34ch; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 32px; }
.hero-badges { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 24px; }

/* ============ 幾何学ビジュアル（シーン方式: 分解→白→再構成） ============
   18秒ループ × 3シーン。モーフィングなし。
   シーンA(右・六角形) → 分解 → シーンB(右・宝石型) → 分解 →
   シーンC(左・反転六角形/テキストは右へ) → 分解 → Aへ。
   写真はケンバーンズで常時パン、色面は常時漂い、静止時間ゼロ。 */
.hero-stage { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.hero-geo, .hero-geo-left {
  position: absolute; top: 0; bottom: 0;
  width: 50%; min-width: 480px;
}
.hero-geo { right: 0; }
.hero-geo-left { left: 0; }
.scene { position: absolute; inset: 0; }

/* 写真（マスク＋クロスフェード＋ケンバーンズ） */
.geo-slides { position: absolute; inset: 0; opacity: 0; }
.scene-a .geo-slides {
  clip-path: polygon(0% 46%, 38% 0%, 100% 0%, 100% 100%, 56% 100%);
  animation: gsA 18s linear infinite;
}
.scene-b .geo-slides {
  clip-path: polygon(24% 10%, 80% 0%, 100% 44%, 88% 100%, 40% 100%, 4% 56%);
  animation: gsB 18s linear infinite;
}
.scene-c .geo-slides {
  clip-path: polygon(100% 46%, 62% 0%, 0% 0%, 0% 100%, 44% 100%);
  animation: gsC 18s linear infinite;
}
.kb { position: absolute; inset: -6%; animation: kbPan 13s ease-in-out infinite alternate; }
.scene-b .kb { animation-duration: 15s; }
.scene-c .kb { animation-duration: 14s; }
.kb img {
  position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: cover;
  opacity: 0;
}
@keyframes kbPan {
  from { transform: translate(-1.6%, -1.2%) scale(1.04); }
  to   { transform: translate(1.6%, 1.4%) scale(1.1); }
}
@keyframes gsA { 0% { opacity: 0; } 4.5% { opacity: 1; } 29.5% { opacity: 1; } 33% { opacity: 0; } 100% { opacity: 0; } }
@keyframes gsB { 0%, 33.5% { opacity: 0; } 38% { opacity: 1; } 62.5% { opacity: 1; } 66% { opacity: 0; } 100% { opacity: 0; } }
@keyframes gsC { 0%, 66.5% { opacity: 0; } 71% { opacity: 1; } 96% { opacity: 1; } 99.5% { opacity: 0; } 100% { opacity: 0; } }
.scene-a .kb img:nth-child(1) { animation: iA1 18s linear infinite; }
.scene-a .kb img:nth-child(2) { animation: iA2 18s linear infinite; }
.scene-b .kb img:nth-child(1) { animation: iB1 18s linear infinite; }
.scene-b .kb img:nth-child(2) { animation: iB2 18s linear infinite; }
.scene-c .kb img:nth-child(1) { animation: iC1 18s linear infinite; }
.scene-c .kb img:nth-child(2) { animation: iC2 18s linear infinite; }
@keyframes iA1 { 0% { opacity: 0; } 4.5% { opacity: 1; } 15% { opacity: 1; } 18.5% { opacity: 0; } 100% { opacity: 0; } }
@keyframes iA2 { 0%, 14.5% { opacity: 0; } 18% { opacity: 1; } 33.5% { opacity: 1; } 34% { opacity: 0; } 100% { opacity: 0; } }
@keyframes iB1 { 0%, 33.5% { opacity: 0; } 38% { opacity: 1; } 48% { opacity: 1; } 51.5% { opacity: 0; } 100% { opacity: 0; } }
@keyframes iB2 { 0%, 47.5% { opacity: 0; } 51% { opacity: 1; } 66.5% { opacity: 1; } 67% { opacity: 0; } 100% { opacity: 0; } }
@keyframes iC1 { 0%, 66.5% { opacity: 0; } 71% { opacity: 1; } 81% { opacity: 1; } 84.5% { opacity: 0; } 100% { opacity: 0; } }
@keyframes iC2 { 0%, 80.5% { opacity: 0; } 84% { opacity: 1; } 99.5% { opacity: 1; } 100% { opacity: 0; } }

/* 色面ファセット: 外枠は外から飛来し、滞在中も漂い、分解時は流れ去る */
.facet { position: absolute; inset: 0; opacity: 0; }
.facet i { position: absolute; inset: 0; display: block; }
.f-sky i    { background: #9CC4F0;      animation: driftA 6.5s ease-in-out infinite alternate; }
.f-blue i   { background: var(--blue);  animation: driftB 8s   ease-in-out infinite alternate; }
.f-orange i { background: var(--beacon); animation: driftC 7.2s ease-in-out infinite alternate; }
@keyframes driftA { from { transform: translate(-0.8%, 0.6%); } to { transform: translate(0.9%, -0.8%); } }
@keyframes driftB { from { transform: translate(0.8%, -0.5%); } to { transform: translate(-0.9%, 0.8%); } }
@keyframes driftC { from { transform: translate(-0.6%, -0.6%); } to { transform: translate(0.7%, 0.7%); } }

/* 形状（シーンごとに固定。変形はしない） */
.scene-a .f-sky i    { clip-path: polygon(9.5% 34.5%, 38% 0%, 46% 0%, 17.5% 34.5%); }
.scene-a .f-blue i   { clip-path: polygon(14% 73%, 42% 100%, 56% 100%, 28% 73%); }
.scene-a .f-orange i { clip-path: polygon(1.4% 54.1%, 18.2% 70.3%, 25.2% 70.3%, 8.4% 54.1%); }
.scene-b .f-sky i    { clip-path: polygon(4% 56%, 24% 10%, 32% 10%, 12% 56%); }
.scene-b .f-blue i   { clip-path: polygon(-8% 56%, 28% 100%, 40% 100%, 4% 56%); }
.scene-b .f-orange i { clip-path: polygon(16% 78%, 34% 100%, 42% 100%, 24% 78%); }
.scene-c .f-sky i    { clip-path: polygon(90.5% 34.5%, 62% 0%, 54% 0%, 82.5% 34.5%); }
.scene-c .f-blue i   { clip-path: polygon(86% 73%, 58% 100%, 44% 100%, 72% 73%); }
.scene-c .f-orange i { clip-path: polygon(98.6% 54.1%, 81.8% 70.3%, 74.8% 70.3%, 91.6% 54.1%); }

/* 飛来・退場の振り付け（スタッガー付き） */
.scene-a .f-sky    { animation: fASky 18s ease-in-out infinite; }
.scene-a .f-blue   { animation: fABlue 18s ease-in-out infinite; }
.scene-a .f-orange { animation: fAOrange 18s ease-in-out infinite; }
.scene-b .f-sky    { animation: fBSky 18s ease-in-out infinite; }
.scene-b .f-blue   { animation: fBBlue 18s ease-in-out infinite; }
.scene-b .f-orange { animation: fBOrange 18s ease-in-out infinite; }
.scene-c .f-sky    { animation: fCSky 18s ease-in-out infinite; }
.scene-c .f-blue   { animation: fCBlue 18s ease-in-out infinite; }
.scene-c .f-orange { animation: fCOrange 18s ease-in-out infinite; }
@keyframes fASky {
  0%   { transform: translate(-24vw, -18vh) rotate(-12deg); opacity: 0; }
  5.5% { transform: translate(0, 0) rotate(0deg); opacity: 1; }
  29.5% { transform: translate(0, 0); opacity: 1; }
  34%  { transform: translate(10vw, -8vh) rotate(9deg); opacity: 0; }
  100% { opacity: 0; }
}
@keyframes fABlue {
  0%, 1.5% { transform: translate(-18vw, 22vh) rotate(10deg); opacity: 0; }
  7%   { transform: translate(0, 0) rotate(0deg); opacity: 1; }
  30%  { transform: translate(0, 0); opacity: 1; }
  34.5% { transform: translate(-9vw, 12vh) rotate(-7deg); opacity: 0; }
  100% { opacity: 0; }
}
@keyframes fAOrange {
  0%, 2.5% { transform: translate(-26vw, 4vh) rotate(-16deg); opacity: 0; }
  7.5% { transform: translate(0, 0) rotate(0deg); opacity: 1; }
  30.5% { transform: translate(0, 0); opacity: 1; }
  35%  { transform: translate(-6vw, 10vh) rotate(-8deg); opacity: 0; }
  100% { opacity: 0; }
}
@keyframes fBSky {
  0%, 33.5% { transform: translate(8vw, -20vh) rotate(12deg); opacity: 0; }
  38.5% { transform: translate(0, 0) rotate(0deg); opacity: 1; }
  62.5% { transform: translate(0, 0); opacity: 1; }
  67%  { transform: translate(14vw, -6vh) rotate(8deg); opacity: 0; }
  100% { opacity: 0; }
}
@keyframes fBBlue {
  0%, 34.5% { transform: translate(-16vw, 18vh) rotate(-10deg); opacity: 0; }
  39.5% { transform: translate(0, 0) rotate(0deg); opacity: 1; }
  63%  { transform: translate(0, 0); opacity: 1; }
  67.5% { transform: translate(-10vw, 10vh) rotate(-6deg); opacity: 0; }
  100% { opacity: 0; }
}
@keyframes fBOrange {
  0%, 35.5% { transform: translate(12vw, 16vh) rotate(14deg); opacity: 0; }
  40%  { transform: translate(0, 0) rotate(0deg); opacity: 1; }
  63.5% { transform: translate(0, 0); opacity: 1; }
  68%  { transform: translate(8vw, 12vh) rotate(7deg); opacity: 0; }
  100% { opacity: 0; }
}
@keyframes fCSky {
  0%, 66.5% { transform: translate(20vw, -16vh) rotate(12deg); opacity: 0; }
  71.5% { transform: translate(0, 0) rotate(0deg); opacity: 1; }
  96%  { transform: translate(0, 0); opacity: 1; }
  100% { transform: translate(10vw, -8vh) rotate(8deg); opacity: 0; }
}
@keyframes fCBlue {
  0%, 67.5% { transform: translate(16vw, 18vh) rotate(-10deg); opacity: 0; }
  72.5% { transform: translate(0, 0) rotate(0deg); opacity: 1; }
  96.5% { transform: translate(0, 0); opacity: 1; }
  100% { transform: translate(8vw, 10vh) rotate(-6deg); opacity: 0; }
}
@keyframes fCOrange {
  0%, 68.5% { transform: translate(22vw, 6vh) rotate(16deg); opacity: 0; }
  73%  { transform: translate(0, 0) rotate(0deg); opacity: 1; }
  97%  { transform: translate(0, 0); opacity: 1; }
  100% { transform: translate(12vw, 4vh) rotate(9deg); opacity: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .hero-copy, .copy-corner { animation: none; opacity: 1; transform: none; }
  .copy-corner::before, .copy-corner::after { animation: none; }
  .geo-slides, .kb, .kb img, .facet, .facet i { animation: none; }
  .scene-b, .scene-c { display: none; }
  .scene-a .geo-slides { opacity: 1; }
  .scene-a .kb img:first-child { opacity: 1; }
  .scene-a .facet { opacity: 1; transform: none; }
}
.badge {
  display: inline-block; font-size: 12.5px; font-weight: bold; color: var(--navy);
  border: 1px solid var(--line); border-radius: 30px; padding: 6px 16px;
  background: var(--sky-2);
}
.badge:hover { border-color: var(--beacon); color: var(--beacon); opacity: 1; }

/* ---------- ボタン ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border-radius: 8px; padding: 15px 32px;
  font-size: 15.5px; font-weight: 800; font-family: inherit;
  border: none; cursor: pointer;
  transition: transform 0.15s, box-shadow 0.15s, opacity 0.15s, background 0.15s, color 0.15s;
}
.btn:hover { transform: translateY(-1px); opacity: 1; }
.btn-primary {
  background: var(--beacon); color: var(--navy);
  box-shadow: 0 4px 16px rgba(243, 146, 0, 0.4);
}
.btn-primary:hover { background: #FFA51F; box-shadow: 0 6px 20px rgba(243, 146, 0, 0.55); }
.btn-ghost {
  background: transparent; color: var(--navy);
  border: 2px solid var(--navy);
  padding: 13px 30px;
}
.btn-ghost:hover { background: var(--navy); color: #fff; }
.btn-dark {
  background: var(--navy); color: #fff;
  border: 1px solid var(--navy);
}

/* ---------- 緊急電話バー（画面下固定） ---------- */
.road-emergency {
  background: var(--navy);
  color: #fff;
  border-top: 3px solid var(--beacon);
}
.road-emergency .wrap { padding: 12px 24px; text-align: center; }
.road-emergency .label { font-size: 13px; font-weight: bold; }
.road-emergency .tel {
  font-size: 25px; font-weight: 800; letter-spacing: 0.04em; color: var(--beacon);
  font-family: var(--en);
}
.fixed-bottom {
  position: fixed; bottom: 0; left: 0; width: 100%; z-index: 150;
  box-shadow: 0 -4px 18px rgba(14, 42, 78, 0.3);
}

/* ---------- 電話CTAの全幅帯 ---------- */
.cta-band {
  background: linear-gradient(100deg, var(--beacon) 0%, #F7A81E 100%);
  padding: 52px 24px;
  text-align: center;
}
.cta-band .cta-label {
  color: var(--navy); font-size: 18px; font-weight: 900; margin: 0;
  letter-spacing: 0.06em;
}
.cta-band .cta-tel {
  color: var(--navy);
  font-family: var(--en); font-weight: 800;
  font-size: clamp(30px, 5vw, 48px);
  letter-spacing: 0.02em; line-height: 1.3;
  margin: 8px 0 0;
}

/* ---------- セクション共通 ---------- */
section { padding: 96px 0; }
.section-alt {
  background: var(--sky-2);
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
}
.section-navy {
  background: linear-gradient(120deg, var(--navy) 0%, var(--navy-2) 100%);
  color: #fff;
}
.section-head { margin-bottom: 52px; }
.section-head h2 {
  font-size: clamp(23px, 3vw, 30px); font-weight: 900;
  margin: 4px 0 16px; color: var(--navy);
}
.section-navy h2, .section-navy h3, .section-navy h4,
.section-navy .section-head h2 { color: #fff; }
.section-navy .eyebrow { color: #fff; }
.section-navy .lead { color: rgba(255, 255, 255, 0.8); }
.eyebrow {
  font-family: var(--en);
  font-size: clamp(38px, 5.6vw, 58px);
  font-weight: 800; letter-spacing: -0.01em; line-height: 1.05;
  color: var(--blue); margin: 0;
}
.lead { color: var(--muted); font-size: 16px; margin: 0; }

/* 透かし英字見出し（VOICE等） */
.section-head.watermark { position: relative; padding-top: 44px; }
.section-head.watermark .eyebrow {
  position: absolute; top: -18px; left: 50%; transform: translateX(-50%);
  font-size: clamp(68px, 12vw, 128px);
  color: rgba(26, 95, 196, 0.08);
  white-space: nowrap; z-index: 0; line-height: 1;
}
.section-head.watermark h2 { position: relative; z-index: 1; }

/* ---------- グリッド / カード ---------- */
.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.card {
  background: #fff; border: 1px solid var(--line); border-radius: 12px;
  padding: 28px 26px;
}
.card h3 { font-size: 17px; margin: 0 0 10px; }
.card p { font-size: 14px; color: var(--muted); margin: 0; }

/* ---------- WHY：写真＋ずらし色フレーム / 円形アイコン特長 ---------- */
.why-intro {
  display: grid; grid-template-columns: 1fr 0.92fr;
  gap: clamp(32px, 5vw, 64px); align-items: center;
  margin-bottom: 64px;
}
.why-intro .section-head { margin-bottom: 0; }
.photo-frame { position: relative; margin: 0 20px 20px 0; }
.photo-frame::after {
  content: ""; position: absolute; inset: 0;
  transform: translate(20px, 20px);
  background: var(--blue);
  z-index: 0;
}
.photo-frame img {
  position: relative; z-index: 1;
  width: 100%; aspect-ratio: 4 / 3; object-fit: cover;
}
.features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; }
.feature { text-align: center; }
.feature .icon-circle {
  width: 108px; height: 108px; border-radius: 50%;
  background: var(--sky); color: var(--blue);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 18px;
  position: relative;
  transition: transform 0.25s ease, background 0.25s ease;
}
.feature:hover .icon-circle { transform: scale(1.06); background: #D6E9FB; }
.feature h3 { font-size: 17px; font-weight: 900; margin: 0 0 8px; }
.feature p { font-size: 14px; color: var(--muted); margin: 0; text-align: left; }

/* ---------- WHY：不安のひとこと ＋ セクション内モーション ---------- */
.feature-voice {
  font-size: 13px; font-weight: bold; color: var(--blue);
  margin: 0 0 6px;
}
.why-section { position: relative; overflow: hidden; }
.why-section .wrap { position: relative; z-index: 1; }

/* 背景：淡いスカイの光がゆっくり漂う */
.why-bg { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.why-blob {
  position: absolute; border-radius: 50%;
  background: radial-gradient(circle, rgba(199, 224, 248, 0.55) 0%, rgba(227, 240, 252, 0) 68%);
}
.why-blob.blob-1 {
  width: 640px; height: 640px; top: -180px; right: -160px;
  animation: blobDrift 34s ease-in-out infinite alternate;
}
.why-blob.blob-2 {
  width: 520px; height: 520px; bottom: -220px; left: -140px;
  animation: blobDrift 42s ease-in-out infinite alternate-reverse;
}
@keyframes blobDrift {
  from { transform: translate(0, 0) scale(1); }
  to   { transform: translate(-70px, 50px) scale(1.12); }
}

/* アイコン列の背後を走る「駆けつけルート」 */
.features { position: relative; }
.why-route {
  position: absolute; z-index: 0; pointer-events: none;
  left: -24px; right: -24px; top: -6px; height: 120px; width: calc(100% + 48px);
}
.why-route .route-line {
  stroke: var(--line); stroke-width: 2;
  stroke-dasharray: 3 9; stroke-linecap: round;
  animation: routeFlow 1.4s linear infinite;
}
@keyframes routeFlow {
  to { stroke-dashoffset: -12; }
}
.why-route .route-beacon {
  fill: var(--beacon);
  filter: drop-shadow(0 0 6px rgba(243, 146, 0, 0.9));
}
.feature { position: relative; z-index: 1; }

/* アイコン：ゆったり浮遊 ＋ ビーコンの波紋 */
.feature .icon-circle { animation: iconFloat 5.2s ease-in-out infinite; }
.feature:nth-child(odd) .icon-circle { animation-delay: -2.6s; }
.feature .icon-circle::after {
  content: ""; position: absolute; inset: 0; border-radius: 50%;
  border: 2px solid rgba(26, 95, 196, 0.35);
  animation: iconSonar 3.2s ease-out infinite;
}
/* .why-route が先頭子要素のため、feature は nth-child(2)〜(5) */
.feature:nth-child(3) .icon-circle::after { animation-delay: 0.8s; }
.feature:nth-child(4) .icon-circle::after { animation-delay: 1.6s; }
.feature:nth-child(5) .icon-circle::after { animation-delay: 2.4s; }
@keyframes iconFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-7px); }
}
@keyframes iconSonar {
  0% { transform: scale(1); opacity: 0.9; }
  70%, 100% { transform: scale(1.32); opacity: 0; }
}
.feature:hover .icon-circle { animation-play-state: paused; }

/* スクロールで順に表示（JS有効時のみ初期非表示にする） */
.features.reveal-ready .feature {
  opacity: 0; transform: translateY(26px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}
.features.reveal-ready .feature:nth-child(3) { transition-delay: 0.1s; }
.features.reveal-ready .feature:nth-child(4) { transition-delay: 0.2s; }
.features.reveal-ready .feature:nth-child(5) { transition-delay: 0.3s; }
.features.reveal-ready .feature.in-view { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .why-blob, .feature .icon-circle, .why-route .route-line { animation: none; }
  .feature .icon-circle::after { animation: none; opacity: 0; }
  .why-route { display: none; }
  .features.reveal-ready .feature { opacity: 1; transform: none; transition: none; }
}

/* ---------- ご依頼の流れ（ネイビー色面） ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px; }
.step { position: relative; background: transparent; border: none; padding: 0 16px 0 0; }
.step .num {
  display: block; font-size: 44px; font-weight: 800; color: var(--beacon);
  letter-spacing: 0.02em; margin-bottom: 6px; line-height: 1.1;
  font-family: var(--en);
  font-variant-numeric: tabular-nums;
}
.step h4 { font-size: 17px; font-weight: 900; margin: 0 0 10px; }
.step p { font-size: 13.5px; color: rgba(255, 255, 255, 0.8); margin: 0; }
.step:not(:last-child)::after {
  content: ""; position: absolute; right: -8px; top: 84px;
  width: 12px; height: 12px;
  border-top: 2.5px solid rgba(255, 255, 255, 0.5);
  border-right: 2.5px solid rgba(255, 255, 255, 0.5);
  transform: rotate(45deg);
}

/* ---------- 対応トラブル ---------- */
.service-card {
  background: #fff; border: none; border-radius: 14px;
  overflow: hidden; padding: 0;
  box-shadow: 0 10px 30px rgba(14, 42, 78, 0.10);
  display: flex; flex-direction: column;
}
.service-photo { position: relative; aspect-ratio: 16 / 10; overflow: hidden; }
.service-photo img { width: 100%; height: 100%; object-fit: cover; }
.tag {
  position: absolute; top: 14px; left: 14px; z-index: 1;
  display: inline-block; font-size: 12px; font-weight: 800;
  color: #fff; background: var(--navy);
  border-radius: 4px; padding: 3px 14px;
  letter-spacing: 0.04em;
}
.service-card.main .tag { background: var(--beacon); color: var(--navy); }
.service-body { padding: 22px 26px 26px; }
.service-card h3 { font-size: 18px; font-weight: 900; margin: 0 0 8px; }
.service-card p { font-size: 14px; color: var(--muted); margin: 0; }
.service-card.main {
  grid-column: 1 / -1;
  display: grid; grid-template-columns: 1.15fr 1fr;
}
.service-card.main .service-photo { aspect-ratio: auto; height: 100%; min-height: 300px; }
.service-card.main .service-body {
  display: flex; flex-direction: column; justify-content: center;
  padding: 36px 44px;
}
.service-card.main h3 { font-size: 25px; margin: 0 0 12px; }
.service-card.main p { font-size: 15px; }

/* ---------- お客様の声 ---------- */
.review-card {
  background: #fff; border: none; border-radius: 16px;
  padding: 28px 26px;
  box-shadow: 0 10px 30px rgba(14, 42, 78, 0.08);
}
.review-card > p { font-size: 13.5px; color: var(--muted); margin: 0; }
.review-top { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; }
.avatar-circle {
  width: 46px; height: 46px; border-radius: 50%; flex-shrink: 0;
  background: var(--sky);
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; color: var(--blue); font-size: 17px;
  font-family: var(--en);
}
.review-name { font-weight: bold; font-size: 14.5px; color: var(--ink); }
.review-meta { font-size: 12px; color: var(--muted); }
.stars { color: var(--beacon); letter-spacing: 3px; font-size: 15px; margin-bottom: 8px; }

/* ---------- 下層ページヘッダー ---------- */
.page-header {
  padding: 64px 0 56px;
  background: linear-gradient(120deg, var(--navy) 0%, #17457C 100%);
}
.page-header h1 { font-size: clamp(27px, 3.4vw, 34px); font-weight: 900; margin: 8px 0 12px; color: #fff; }
.page-header p { margin: 0; max-width: 72ch; color: rgba(255, 255, 255, 0.85); }
.page-header a { color: #fff; }
.breadcrumb { font-size: 12.5px; color: rgba(255, 255, 255, 0.65); margin: 0 0 4px; }
.breadcrumb a { color: rgba(255, 255, 255, 0.65); text-decoration: underline; }

/* ---------- フォーム ---------- */
.form-wrap {
  background: #fff; border: 1px solid var(--line); border-radius: 14px;
  padding: 32px 30px;
  box-shadow: 0 10px 30px rgba(14, 42, 78, 0.06);
}
.form-row { margin-bottom: 20px; }
.form-row label {
  display: flex; align-items: center; gap: 8px;
  font-size: 14px; font-weight: bold; margin-bottom: 8px; color: var(--navy);
}
.req {
  background: var(--danger); color: #fff; font-size: 10.5px; font-weight: bold;
  border-radius: 4px; padding: 1px 8px; line-height: 1.7;
}
.form-row input,
.form-row textarea,
.form-row select {
  width: 100%; padding: 13px 14px; font-size: 15px; font-family: inherit;
  background: #fff; color: var(--ink);
  border: 1px solid #C3D3E2; border-radius: 8px;
}
.form-row input::placeholder,
.form-row textarea::placeholder { color: #9FB1C2; }
.form-row input:focus,
.form-row textarea:focus,
.form-row select:focus {
  outline: 2px solid var(--blue); border-color: var(--blue);
}
.form-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-cols .form-row { margin-bottom: 20px; }
.form-submit-note { font-size: 12px; color: var(--muted); margin: 14px 0 0; }
.thanks-box {
  display: none;
  background: rgba(243, 146, 0, 0.08); border: 1px solid rgba(243, 146, 0, 0.45);
  border-radius: 12px; padding: 22px 24px; font-size: 15px; color: var(--ink);
}

/* ---------- テーブル（会社概要・特商法） ---------- */
.reg-table {
  width: 100%; border-collapse: collapse;
  background: #fff; border: 1px solid var(--line); border-radius: 12px;
  overflow: hidden; font-size: 14.5px;
}
.reg-table th, .reg-table td {
  padding: 16px 20px; text-align: left; vertical-align: top;
  border-bottom: 1px solid var(--line);
}
.reg-table tr:last-child th, .reg-table tr:last-child td { border-bottom: none; }
.reg-table th {
  width: 200px; background: var(--sky-2);
  color: var(--blue); font-weight: bold; white-space: nowrap;
}
.reg-table td { color: var(--ink); }

/* ---------- 事例カード（採用・依頼ページ） ---------- */
.case-card {
  background: #fff; border: none; border-radius: 14px;
  padding: 26px 24px;
  box-shadow: 0 10px 30px rgba(14, 42, 78, 0.08);
}
.case-card h3, .case-card h4 { font-size: 16px; margin: 10px 0 8px; }
.case-card p { font-size: 13.5px; color: var(--muted); margin: 0; }
.case-tag {
  display: inline-block; font-size: 11.5px; font-weight: 800;
  color: #fff; background: var(--blue);
  border-radius: 4px; padding: 2px 12px;
}

/* ---------- フッター ---------- */
footer {
  background: var(--navy);
  padding: 60px 0 28px;
  color: rgba(255, 255, 255, 0.75);
}
.footer-grid {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px;
}
.footer-grid h5 { font-size: 14px; margin: 0 0 12px; letter-spacing: 0.06em; color: #fff; }
.footer-grid p { color: rgba(255, 255, 255, 0.72); margin: 0; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; }
.footer-grid li { font-size: 13.5px; color: rgba(255, 255, 255, 0.72); margin-bottom: 8px; }
.footer-grid li a { color: rgba(255, 255, 255, 0.72); }
.footer-grid li a:hover { color: var(--beacon); }
.footer-bottom {
  display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap;
  border-top: 1px solid rgba(255, 255, 255, 0.18); margin-top: 44px; padding-top: 20px;
  font-size: 12px; color: rgba(255, 255, 255, 0.6);
}

/* ---------- モーダル ---------- */
.modal-overlay {
  display: none;
  position: fixed; inset: 0; z-index: 500;
  background: rgba(14, 42, 78, 0.55);
  align-items: center; justify-content: center; padding: 20px;
}
.modal-overlay.open { display: flex; }
.modal-box {
  position: relative;
  background: #fff; border-radius: 16px;
  padding: 34px 30px; max-width: 480px; width: 100%;
  box-shadow: 0 20px 60px rgba(14, 42, 78, 0.35);
}
.modal-box h3 { font-size: 19px; margin: 0 0 10px; }
.modal-box p { font-size: 14px; color: var(--muted); margin: 0 0 22px; }
.modal-choice { display: flex; flex-direction: column; gap: 12px; }
.modal-choice .btn { justify-content: center; }
.modal-close {
  position: absolute; top: 12px; right: 14px;
  background: none; border: none; color: var(--muted);
  font-size: 26px; line-height: 1; cursor: pointer; padding: 4px;
}
.modal-close:hover { color: var(--ink); }

/* ---------- レスポンシブ ---------- */
@media (max-width: 1080px) {
  .nav-tel { display: none; }
}
@media (max-width: 900px) {
  .nav-links {
    display: none;
    position: absolute; top: 100%; left: 0; width: 100%;
    flex-direction: column; gap: 0;
    background: rgba(255, 255, 255, 0.98);
    border-bottom: 1px solid var(--line);
    padding: 8px 0;
  }
  .nav-links.open { display: flex; }
  .nav-links li a { display: block; padding: 14px 24px; }
  .nav-toggle { display: flex; }
  .nav { position: relative; }
  .hero { min-height: 0; }
  .hero-copy {
    position: static; width: auto;
    animation: none; transform: none; opacity: 1;
    padding: 56px 24px 8px;
  }
  .copy-corner { display: none; }
  .hero-copy h1 { max-width: none; font-size: clamp(27px, 6vw, 34px); }
  .hero-lead { max-width: none; }
  .hero-stage {
    position: relative; inset: auto; width: 100%; height: 340px;
    margin-top: 16px;
  }
  .hero-geo, .hero-geo-left {
    position: absolute; inset: 0; width: auto; min-width: 0;
  }
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .why-intro { grid-template-columns: 1fr; gap: 40px; }
  .features { grid-template-columns: repeat(2, 1fr); gap: 36px 24px; }
  .why-route { display: none; } /* 2列以下ではルート線が交差して見えるため非表示 */
  .steps { grid-template-columns: repeat(2, 1fr); gap: 32px; }
  .step:not(:last-child)::after { display: none; }
  .service-card.main { grid-template-columns: 1fr; }
  .service-card.main .service-photo { min-height: 0; aspect-ratio: 16 / 9; }
  .service-card.main .service-body { padding: 26px 28px 30px; }
  .service-card.main h3 { font-size: 20px; }
  section { padding: 64px 0; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .wrap { padding: 0 18px; }
  .brand { font-size: 20px; }
  .nav-cta { padding: 9px 14px; font-size: 12.5px; }
  .hero-copy h1 { font-size: 27px; }
  .hero-stage { height: 250px; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .features { grid-template-columns: 1fr; }
  .feature p { text-align: center; }
  .steps { grid-template-columns: 1fr; }
  .section-head h2 { font-size: 21px; }
  .eyebrow { font-size: 32px; }
  .section-head.watermark .eyebrow { font-size: 64px; }
  .page-header h1 { font-size: 25px; }
  .form-cols { grid-template-columns: 1fr; }
  .form-wrap { padding: 24px 18px; }
  .reg-table th { width: 120px; white-space: normal; }
  .reg-table th, .reg-table td { padding: 13px 14px; font-size: 13.5px; }
  .road-emergency .tel { font-size: 20px; }
  .cta-band .cta-label { font-size: 15px; }
  .footer-grid { grid-template-columns: 1fr; gap: 24px; }
  body.has-fixed-bar { padding-bottom: 110px; }
}
