/* =========================================================
   Euspec LP — styles
   Palette: #001f3f (navy) / #f7fbff (light) / #c7a24a (gold)
   ========================================================= */

:root {
  /* ブランドネイビー #001f3f を基調に、金は小アクセントのみ */
  --navy: #001f3f;
  --navy-2: #06294c;
  --navy-3: #0e3559;
  --light: #f5f5f3;
  --gold: #c7a24a;
  --gold-soft: #d9bd78;
  --ink: #15181d;
  --ink-soft: #5a6068;
  --line: #e4e4e1;
  --white: #ffffff;
  --radius: 12px;
  --radius-lg: 16px;
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, .05);
  --shadow-md: 0 10px 28px rgba(0, 0, 0, .08);
  --shadow-lg: 0 20px 48px rgba(0, 0, 0, .12);
  --maxw: 1160px;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --font-jp: "Zen Kaku Gothic New", "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Yu Gothic Medium", "Yu Gothic", sans-serif;
  --font-display: "Zen Kaku Gothic New", "Hiragino Sans", sans-serif;
  --font-en: "General Sans", "Helvetica Neue", Arial, sans-serif;
  --font-serif: "Noto Serif JP", "Hiragino Mincho ProN", "Yu Mincho", serif;
  /* 抽象幾何学モチーフ（ネイビー面に重ねるライン＆シャード） */
  --geo: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 800' fill='none'%3E%3Cg stroke='rgba(255,255,255,0.09)' stroke-width='1.2'%3E%3Cpath d='M1030 -80L1440 240L1180 520L820 300Z'/%3E%3Cpath d='M1180 520L1440 720'/%3E%3Cpath d='M820 300L620 80'/%3E%3Cpath d='M-60 620L260 380L560 640L300 860Z'/%3E%3Cpath d='M260 380L180 120'/%3E%3Cpath d='M560 640L780 520'/%3E%3C/g%3E%3Cg stroke='rgba(199,162,74,0.32)' stroke-width='1.4'%3E%3Cpath d='M980 40L1240 230L1080 420'/%3E%3C/g%3E%3Cg fill='rgba(255,255,255,0.04)'%3E%3Cpath d='M1030 -80L1440 240L1440 -80Z'/%3E%3Cpath d='M-60 620L260 380L-60 200Z'/%3E%3C/g%3E%3Cpath d='M1180 520L1440 720L1440 520Z' fill='rgba(199,162,74,0.05)'/%3E%3Cg fill='rgba(199,162,74,0.5)'%3E%3Ccircle cx='1240' cy='230' r='3.5'/%3E%3Ccircle cx='260' cy='380' r='3'/%3E%3Ccircle cx='1180' cy='520' r='3'/%3E%3C/g%3E%3C/svg%3E");
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font-jp);
  font-weight: 500;
  color: var(--ink);
  background: var(--white);
  line-height: 1.85;
  font-size: 16px;
  letter-spacing: .02em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.accent { color: var(--gold); }
.pc-only { display: inline; }
.sp-only { display: none; }

/* ===== Buttons ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  font-family: var(--font-jp); font-weight: 700; letter-spacing: .04em;
  border-radius: 999px; cursor: pointer; border: 2px solid transparent;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), background .3s, color .3s;
  padding: 14px 30px; font-size: 15px; white-space: nowrap;
}
.btn-lg { padding: 18px 40px; font-size: 16.5px; }
.btn-block { width: 100%; }
.btn-arrow { transition: transform .35s var(--ease); }
.btn:hover .btn-arrow { transform: translateX(5px); }

.btn-primary {
  background: var(--ink); color: #fff;
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 26px rgba(0, 0, 0, .18); background: #000; }
/* 黒背景セクション上ではBAT同様「白ピル」に反転 */
.hero .btn-primary, .section-cta .btn-primary, .section-navy .btn-primary, .corp-cta .btn-primary { background: #fff; color: var(--ink); }
.hero .btn-primary:hover, .section-cta .btn-primary:hover, .section-navy .btn-primary:hover, .corp-cta .btn-primary:hover { background: var(--light); box-shadow: 0 12px 26px rgba(0, 0, 0, .35); }

.btn-ghost { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .45); }
.btn-ghost:hover { background: rgba(255, 255, 255, .12); transform: translateY(-3px); }

.btn-outline { background: transparent; color: var(--ink); border-color: #c9c9c5; }
.btn-outline:hover { border-color: var(--ink); transform: translateY(-2px); }

/* ===== Header ===== */
/* BAT寄せ：常時黒のソリッドヘッダー＋白ピルCTA */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100; height: 76px;
  display: flex; align-items: center;
  background: #001f3f;
  transition: box-shadow .4s var(--ease), height .4s var(--ease);
}
.site-header.scrolled { box-shadow: 0 6px 24px rgba(0, 0, 0, .35); height: 66px; }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.brand-logo { height: 42px; width: auto; }

.nav { display: flex; align-items: center; gap: 26px; }
.nav a { font-size: 14.5px; font-weight: 500; color: rgba(255, 255, 255, .85); position: relative; transition: color .25s; }
.nav a:not(.nav-cta)::after {
  content: ""; position: absolute; left: 0; bottom: -6px; height: 2px; width: 0;
  background: #fff; transition: width .3s var(--ease);
}
.nav a:not(.nav-cta):hover::after { width: 100%; }
.nav a:not(.nav-cta):hover { color: #fff; }
.nav a[aria-current] { color: #fff; }
.nav a:not(.nav-cta)[aria-current]::after { width: 100%; }
.nav-cta {
  background: #fff; color: var(--ink) !important; padding: 9px 22px;
  border-radius: 999px; font-weight: 700; transition: transform .3s var(--ease), box-shadow .3s;
}
.nav-cta:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(0, 0, 0, .35); }

/* ===== Header dropdown (会社情報) ===== */
.nav-item { position: relative; display: flex; align-items: center; }
.nav-parent { display: inline-flex; align-items: center; gap: 4px; cursor: pointer; }
.nav-parent .caret { font-size: 9px; transition: transform .25s var(--ease); }
.nav-item:hover .nav-parent .caret, .nav-item:focus-within .nav-parent .caret { transform: rotate(180deg); }
.dropdown {
  position: absolute; top: 100%; left: 50%; transform: translateX(-50%) translateY(8px);
  padding-top: 16px; opacity: 0; visibility: hidden; z-index: 120;
  transition: opacity .25s var(--ease), transform .25s var(--ease), visibility .25s;
}
.nav-item:hover .dropdown, .nav-item:focus-within .dropdown {
  opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0);
}
.dropdown-menu {
  background: #fff; border: 1px solid var(--line); border-radius: 14px;
  box-shadow: var(--shadow-md); padding: 8px; min-width: 224px;
}
.nav .dropdown a, .site-header:not(.scrolled) .nav .dropdown a {
  display: block; padding: 11px 16px; border-radius: 9px; width: 100%;
  font-size: 14px; font-weight: 500; color: var(--ink); white-space: nowrap;
  transition: background .2s, color .2s;
}
.nav .dropdown a::after { display: none; }
.nav .dropdown a:hover { background: var(--light); color: var(--gold); }

.nav-toggle { display: none; flex-direction: column; gap: 5px; width: 44px; height: 44px; background: none; border: 0; cursor: pointer; align-items: center; justify-content: center; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: #fff; border-radius: 2px; transition: transform .35s var(--ease), opacity .25s; }

/* ===== Hero ===== */
.hero { position: relative; min-height: 100vh; display: flex; align-items: center; background: var(--navy); color: #fff; overflow: hidden; padding: 120px 0 80px; }
.hero-bg { position: absolute; inset: 0; z-index: 0; background:
    radial-gradient(120% 100% at 80% 0%, #0e3559 0%, #001f3f 55%, #001730 100%); }
.hero-grid {
  position: absolute; inset: -2px;
  background-image: linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(120% 90% at 70% 20%, #000 0%, transparent 75%);
  -webkit-mask-image: radial-gradient(120% 90% at 70% 20%, #000 0%, transparent 75%);
}
/* 背景グリッドに重ねる抽象幾何学モチーフ（奥行き） */
.hero-bg::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: var(--geo); background-size: cover; background-position: center;
}
/* モノクロの淡い光（BAT寄せ：色味を排除） */
.orb { position: absolute; border-radius: 50%; filter: blur(60px); opacity: .5; }
.orb-1 { width: 520px; height: 520px; background: radial-gradient(circle, rgba(255, 255, 255, .10), transparent 70%); top: -120px; right: -80px; animation: float1 18s ease-in-out infinite; }
.orb-2 { width: 440px; height: 440px; background: radial-gradient(circle, rgba(255, 255, 255, .07), transparent 70%); bottom: -140px; left: -60px; animation: float2 22s ease-in-out infinite; }
.orb-3 { width: 300px; height: 300px; background: radial-gradient(circle, rgba(255, 255, 255, .05), transparent 70%); top: 40%; left: 40%; animation: float1 26s ease-in-out infinite reverse; }
@keyframes float1 { 0%, 100% { transform: translate(0, 0); } 50% { transform: translate(-40px, 40px); } }
@keyframes float2 { 0%, 100% { transform: translate(0, 0); } 50% { transform: translate(50px, -30px); } }

.hero-inner { position: relative; z-index: 1; max-width: 920px; }
.hero-eyebrow { font-family: var(--font-en); font-size: 13px; font-weight: 600; letter-spacing: .42em; color: rgba(255, 255, 255, .65); margin-bottom: 26px; }
.hero-title {
  font-family: var(--font-display); font-weight: 900;
  font-size: clamp(30px, 5.4vw, 60px); line-height: 1.32; letter-spacing: .01em; margin-bottom: 30px;
}
.accent-underline { position: relative; display: inline-block; color: #fff; }
.accent-underline::after { content: ""; position: absolute; left: -2px; right: -2px; bottom: .06em; height: .34em; background: linear-gradient(90deg, var(--gold), var(--gold-soft)); opacity: .55; z-index: -1; border-radius: 4px; }
.hero-sub { font-size: clamp(15px, 1.7vw, 18px); line-height: 2; color: rgba(255, 255, 255, .9); margin-bottom: 42px; font-weight: 400; }
.hero-sub strong { color: var(--gold-soft); font-weight: 700; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 16px; margin-bottom: 64px; }

.hero-facts { display: flex; flex-wrap: wrap; gap: 14px 40px; border-top: 1px solid rgba(255, 255, 255, .14); padding-top: 34px; }
.hfact { display: flex; align-items: center; gap: 12px; }
.hfact-label { flex: 0 0 auto; font-size: 12px; font-weight: 700; letter-spacing: .08em; color: rgba(255, 255, 255, .8); border: 1px solid rgba(255, 255, 255, .4); border-radius: 999px; padding: 4px 14px; }
.hfact-value { font-size: 14.5px; font-weight: 700; color: rgba(255, 255, 255, .92); letter-spacing: .03em; }

/* ===== Section base ===== */
/* セクション間余白 従来比1.5倍 */
.section { padding: clamp(108px, 13vw, 195px) 0; position: relative; }
.section-light { background: var(--light); }
.section-soft { background: var(--light); }
.section-gray { background: #efefec; }
.section-navy { background: var(--navy); color: #fff; }
.section-navy::before, .section-cta::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: var(--geo); background-size: cover; background-position: center;
  opacity: .8;
}
.section-navy .section-lead { color: rgba(255, 255, 255, .8); }

/* BAT寄せ：巨大な英字見出し（左寄せ）＋日本語は控えめに下へ */
.section-head { text-align: left; max-width: none; margin: 0 0 clamp(44px, 6vw, 72px); }
.section-tag { display: block; font-family: var(--font-en); font-size: clamp(36px, 5.4vw, 58px); font-weight: 600; letter-spacing: .01em; line-height: 1.05; color: var(--ink); margin-bottom: 14px; }
.section-title { font-family: var(--font-display); font-weight: 700; font-size: clamp(19px, 2.6vw, 27px); line-height: 1.55; color: inherit; }
.section-head-light .section-tag { color: #fff; }
.section-head-light .section-title { color: rgba(255, 255, 255, .92); }
.section-lead { margin-top: 16px; font-size: 15.5px; color: var(--ink-soft); line-height: 1.95; max-width: 720px; }
.section-lead .mail-link { color: var(--gold); font-weight: 700; border-bottom: 1px solid currentColor; }

/* ===== Problem ===== */
.problem-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.problem-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 38px 30px; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; gap: 16px;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .3s;
}
.problem-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: var(--gold-soft); }
.problem-icon { width: 52px; height: 52px; flex: 0 0 auto; display: grid; place-items: center; border-radius: 50%; background: rgba(0, 31, 63, .06); font-size: 26px; line-height: 1; }
.problem-title { font-family: var(--font-display); font-weight: 900; font-size: clamp(18px, 2.2vw, 21px); line-height: 1.55; color: var(--navy); }
.problem-desc { font-size: 14.5px; line-height: 1.95; color: var(--ink-soft); }
.problem-bridge { text-align: center; margin-top: 64px; font-family: var(--font-display); font-weight: 700; font-size: clamp(20px, 3vw, 28px); }
.problem-bridge .accent { font-weight: 900; }
/* 解決策へ視線を誘導する下向き矢印 */
.bridge-arrow { display: grid; place-items: center; margin: 26px auto 0; color: var(--ink); }
.bridge-arrow svg { width: 44px; height: 44px; animation: arrowBob 1.8s ease-in-out infinite; }
@keyframes arrowBob { 0%, 100% { transform: translateY(-4px); opacity: .55; } 50% { transform: translateY(8px); opacity: 1; } }

/* ===== Why Euspec（選ばれる理由ページ） ===== */
.why-rows { display: flex; flex-direction: column; gap: clamp(36px, 5vw, 56px); max-width: 980px; margin: 0 auto; }
.why-row {
  display: grid; grid-template-columns: 300px 1fr; gap: clamp(28px, 4vw, 56px); align-items: center;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: clamp(30px, 4vw, 48px); box-shadow: var(--shadow-sm);
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.why-row:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.why-row:nth-child(even) { grid-template-columns: 1fr 300px; }
.why-row:nth-child(even) .why-graphic { order: 2; }
.why-graphic { display: grid; place-items: center; background: linear-gradient(150deg, rgba(0, 0, 0, .03), rgba(0, 0, 0, .08)); border-radius: var(--radius); padding: 30px; min-height: 200px; }
.why-graphic svg { width: 100%; max-width: 220px; height: auto; }
.why-num { font-family: var(--font-en); font-weight: 700; font-size: 15px; letter-spacing: .2em; color: var(--gold); margin-bottom: 12px; }
.why-title { font-family: var(--font-display); font-weight: 900; font-size: clamp(21px, 2.8vw, 27px); line-height: 1.5; color: var(--navy); margin-bottom: 16px; }
.why-desc { font-size: 15.5px; line-height: 2; color: var(--ink-soft); }
.why-desc strong { color: var(--navy); }

/* INTRODUCTION（現場の不満の吹き出し） */
.gripe-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; max-width: 1020px; margin: 0 auto; }
.gripe {
  position: relative; background: #fff; border: 1px solid var(--line); border-radius: 18px;
  padding: 30px 28px 28px; box-shadow: var(--shadow-sm); font-size: 15.5px; font-weight: 700;
  color: var(--navy); line-height: 1.9;
}
.gripe::after {
  content: ""; position: absolute; left: 44px; bottom: -12px; width: 22px; height: 22px;
  background: #fff; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line);
  transform: rotate(45deg) skew(12deg, 12deg);
}
.gripe-icon { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: rgba(0, 31, 63, .06); font-size: 23px; margin-bottom: 14px; }
.gripe-lead { text-align: center; max-width: 760px; margin: 56px auto 0; font-size: 16.5px; line-height: 2.05; color: var(--ink); }
.gripe-lead strong { color: var(--navy); }

/* ===== Industry ===== */
.industry-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; align-items: stretch; }
.industry-card {
  position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 34px 30px 30px; box-shadow: var(--shadow-sm); display: flex; flex-direction: column;
  border-top: 3px solid var(--ink); overflow: hidden;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
/* 現場を連想させる薄い背景画像（カード上部にフェード） */
.industry-card::before {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 150px; pointer-events: none;
  background-size: cover; background-position: center 30%; opacity: .09;
  -webkit-mask-image: linear-gradient(180deg, #000 30%, transparent 100%);
  mask-image: linear-gradient(180deg, #000 30%, transparent 100%);
}
.industry-sier::before { background-image: url("/assets/voice-sier.webp"); }
.industry-hr::before { background-image: url("/assets/voice-media.webp"); }
.industry-mkt::before { background-image: url("/assets/voice-consult.webp"); }
.industry-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.industry-head { position: relative; display: flex; align-items: center; gap: 14px; margin-bottom: 20px; }
.industry-icon { width: 48px; height: 48px; flex: 0 0 auto; display: grid; place-items: center; border-radius: 14px; background: rgba(0, 31, 63, .07); color: var(--navy); }
.industry-icon svg { width: 26px; height: 26px; }
.industry-head h3 { font-family: var(--font-display); font-weight: 700; font-size: 19px; color: var(--navy); line-height: 1.4; }
/* Before / After の視覚対比 */
.ba { position: relative; display: flex; flex-direction: column; margin-bottom: 20px; }
.ba-row { display: flex; gap: 12px; align-items: flex-start; border-radius: 14px; padding: 16px 18px; }
.ba-row p { font-size: 14px; line-height: 1.8; }
.ba-badge { flex: 0 0 auto; font-size: 11.5px; font-weight: 700; letter-spacing: .08em; border-radius: 6px; padding: 3px 10px; margin-top: 3px; }
.ba-b { background: #eef1f5; }
.ba-b .ba-badge { background: #d5dbe3; color: #55657a; }
.ba-b p { color: var(--ink-soft); }
.ba-a { background: rgba(0, 0, 0, .04); border: 1.5px solid var(--ink); }
.ba-a .ba-badge { background: var(--ink); color: #fff; }
.ba-a p { color: var(--navy); font-weight: 700; }
.ba2-arrow { display: grid; place-items: center; height: 30px; color: var(--ink); }
.ba2-arrow svg { width: 20px; height: 20px; }
/* 得られる成果 */
.industry-gains { margin-top: auto; background: var(--light); border-radius: 14px; padding: 18px 20px; }
.gains-label { font-size: 12px; font-weight: 700; letter-spacing: .14em; color: var(--ink-soft); margin-bottom: 8px; }
.industry-gains li { position: relative; padding: 4px 0 4px 26px; font-size: 15px; font-weight: 700; color: var(--navy); }
.industry-gains li::before { content: "✔"; position: absolute; left: 0; color: var(--ink); font-weight: 900; }
.industry-foot { text-align: center; margin-top: 34px; font-size: 13px; color: var(--ink-soft); }
.section-foot-cta { text-align: center; margin-top: 48px; }

/* ===== Flow ===== */
/* STEP1→4を貫く太いライン＋矢印グラフィック */
.flow-track { position: relative; display: flex; align-items: stretch; justify-content: center; gap: 28px; flex-wrap: wrap; }
.flow-track::before {
  content: ""; position: absolute; left: 2%; right: 2%; top: 72px; height: 6px; border-radius: 3px;
  background: linear-gradient(90deg, rgba(0, 0, 0, .1) 0%, var(--navy-3) 60%, var(--ink) 100%);
}
.flow-track::after {
  content: ""; position: absolute; right: calc(2% - 9px); top: 64px;
  border-left: 16px solid var(--ink); border-top: 11px solid transparent; border-bottom: 11px solid transparent;
}
.flow-step {
  position: relative; z-index: 1; flex: 1 1 220px; max-width: 256px; background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius-lg); padding: 34px 24px; box-shadow: var(--shadow-sm); text-align: center;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.flow-step:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.flow-badge { display: inline-flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; width: 76px; height: 76px; border-radius: 50%; margin: 0 auto 22px; background: var(--navy); color: #fff; font-family: var(--font-en); font-size: 10px; letter-spacing: .18em; font-weight: 600; box-shadow: 0 0 0 6px #fff; }
.flow-badge svg { width: 28px; height: 28px; color: #fff; }
.flow-title { font-family: var(--font-display); font-weight: 700; font-size: 19px; color: var(--navy); margin-bottom: 14px; line-height: 1.5; }
.flow-title small { display: block; font-size: 12.5px; font-weight: 500; color: var(--ink-soft); margin-top: 4px; letter-spacing: .05em; }
.flow-desc { font-size: 13.5px; line-height: 1.85; color: var(--ink-soft); text-align: left; }
.flow-desc strong { color: var(--ink); font-weight: 700; }

/* ===== Program（アコーディオン） ===== */
.program-grid { display: grid; grid-template-columns: 1fr; gap: 20px; max-width: 860px; margin: 0 auto; }
.program-cat { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); overflow: hidden; transition: box-shadow .4s var(--ease); }
.program-cat:hover { box-shadow: var(--shadow-md); }
.program-cat-head {
  display: flex; align-items: center; gap: 14px; padding: 24px 30px; cursor: pointer; list-style: none;
  transition: background .25s;
}
.program-cat-head::-webkit-details-marker { display: none; }
.program-cat-head:hover { background: var(--light); }
.program-icon { width: 44px; height: 44px; flex: 0 0 auto; display: grid; place-items: center; border-radius: 12px; background: rgba(0, 0, 0, .06); color: var(--ink); }
.program-icon svg { width: 24px; height: 24px; }
.program-cat-head h3 { font-family: var(--font-display); font-weight: 700; font-size: 19px; color: var(--navy); flex: 1; }
.acc-caret { flex: 0 0 auto; width: 12px; height: 12px; border-right: 2.5px solid var(--ink); border-bottom: 2.5px solid var(--ink); transform: rotate(45deg); transition: transform .3s var(--ease); margin-top: -4px; }
details[open] > .program-cat-head .acc-caret { transform: rotate(-135deg); margin-top: 6px; }
.program-list { padding: 4px 30px 26px; }
.program-list li { display: flex; align-items: flex-start; gap: 16px; padding: 16px 0; border-bottom: 1px dashed var(--line); }
.program-list li:last-child { border-bottom: 0; padding-bottom: 0; }
.pico { width: 40px; height: 40px; flex: 0 0 auto; display: grid; place-items: center; background: rgba(0, 31, 63, .05); color: var(--navy); border-radius: 12px; margin-top: 2px; }
.pico svg { width: 21px; height: 21px; }
.pname { font-size: 16.5px; font-weight: 700; color: var(--navy); margin-bottom: 4px; }
.pdesc { font-size: 14px; line-height: 1.9; color: var(--ink-soft); }
/* カリキュラム設計の注記 */
.program-note {
  display: flex; align-items: center; gap: 16px; max-width: 860px; margin: 44px auto 0;
  background: #fff; border: 1px solid var(--line); border-left: 4px solid var(--ink); border-radius: var(--radius);
  padding: 22px 28px; font-size: 15px; font-weight: 700; color: var(--navy); line-height: 1.9;
}
.program-note-icon { flex: 0 0 auto; width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; background: var(--ink); color: #fff; }
.program-note-icon svg { width: 22px; height: 22px; }

/* ===== Cases ===== */
.case-summary { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; margin-bottom: 64px; }
.case-stat { background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12); border-left: 4px solid #fff; border-radius: var(--radius); padding: 30px 34px; display: flex; gap: 24px; align-items: center; }
.case-num { font-family: var(--font-en); font-weight: 800; font-size: clamp(40px, 6vw, 60px); line-height: 1; color: #fff; flex: 0 0 auto; }
.case-unit { font-size: .38em; margin-left: 4px; }
.case-stat p { font-size: 13.5px; line-height: 1.8; color: rgba(255, 255, 255, .82); }
.case-stat small { color: rgba(255, 255, 255, .6); }

/* Before → After バッジ（お客様の声カード） */
.voice-ba { display: flex; flex-direction: column; gap: 6px; margin-bottom: 18px; }
.voice-ba .vba { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; line-height: 1.7; }
.voice-ba .vba-badge { flex: 0 0 auto; font-size: 10.5px; font-weight: 700; letter-spacing: .08em; border-radius: 5px; padding: 2px 9px; margin-top: 2px; }
.vba-before .vba-badge { background: #e3e8ee; color: #55657a; }
.vba-before { color: var(--ink-soft); }
.vba-after .vba-badge { background: var(--ink); color: #fff; }
.vba-after { color: var(--navy); font-weight: 700; }
.voice-ba .vba-arrow { color: var(--ink); font-weight: 900; font-size: 15px; line-height: 1; padding-left: 4px; }

.voice-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.voice-card { background: #fff; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-md); color: var(--ink); transition: transform .45s var(--ease), box-shadow .45s var(--ease); }
.voice-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.voice-photo { aspect-ratio: 3 / 2; overflow: hidden; }
.voice-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.voice-card:hover .voice-photo img { transform: scale(1.05); }
.voice-body { padding: 30px 28px 32px; }
.voice-headline { font-family: var(--font-display); font-weight: 900; font-size: 21px; line-height: 1.45; color: var(--navy); margin-bottom: 16px; }
.voice-text { font-size: 13.5px; line-height: 1.9; color: var(--ink-soft); margin-bottom: 20px; }
.voice-author { font-size: 13px; font-weight: 700; color: var(--navy); padding-top: 14px; border-top: 1px solid var(--line); }
.voice-author small { font-weight: 400; color: var(--ink-soft); }

/* ===== Contact ===== */
.section-cta { background: #001f3f; color: #fff; }
.contact-inner { max-width: 760px; }
.contact-form { background: #fff; border-radius: var(--radius-lg); padding: clamp(28px, 4vw, 48px); box-shadow: var(--shadow-lg); color: var(--ink); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.form-field { margin-bottom: 22px; display: flex; flex-direction: column; }
.form-field label { font-size: 14px; font-weight: 700; color: var(--navy); margin-bottom: 9px; display: flex; align-items: center; gap: 8px; }
.req { background: var(--ink); color: #fff; font-size: 10.5px; font-weight: 700; padding: 2px 8px; border-radius: 5px; letter-spacing: .05em; }
.form-field input, .form-field textarea {
  font-family: var(--font-jp); font-size: 15px; color: var(--ink); padding: 13px 16px;
  border: 1.5px solid var(--line); border-radius: 12px; background: var(--light); transition: border-color .25s, box-shadow .25s, background .25s; width: 100%;
}
.form-field input:focus, .form-field textarea:focus { outline: none; border-color: var(--ink); background: #fff; box-shadow: 0 0 0 4px rgba(0, 0, 0, .08); }
.form-field input::placeholder, .form-field textarea::placeholder { color: #a8b4c2; font-weight: 400; }
.form-field textarea { resize: vertical; }
/* ご相談の目的（複数選択可） */
.check-field { border: 0; padding: 0; margin: 0 0 22px; }
.check-field legend { font-size: 14px; font-weight: 700; color: var(--navy); margin-bottom: 12px; padding: 0; }
.check-group { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.check {
  display: flex; align-items: center; gap: 10px; cursor: pointer;
  border: 1.5px solid var(--line); border-radius: 12px; background: var(--light);
  padding: 12px 16px; font-size: 14px; font-weight: 500; transition: border-color .25s, background .25s;
}
.check:hover { border-color: #b9b9b4; }
.check:has(input:checked) { border-color: var(--ink); background: rgba(0, 0, 0, .05); color: var(--navy); font-weight: 700; }
.check input { accent-color: var(--ink); width: 17px; height: 17px; flex: 0 0 auto; }
.form-error { color: #c0392b; font-weight: 700; font-size: 14px; margin-bottom: 14px; }
.form-note { font-size: 12.5px; color: var(--ink-soft); text-align: center; margin-top: 16px; line-height: 1.7; }

/* ===== Company ===== */
.company-table { max-width: 820px; margin: 0 auto; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-sm); }
.company-row { display: grid; grid-template-columns: 200px 1fr; }
.company-row:not(:last-child) { border-bottom: 1px solid var(--line); }
.company-row dt { background: var(--light); padding: 22px 28px; font-weight: 700; color: var(--navy); font-size: 15px; }
.company-row dd { padding: 22px 28px; font-size: 15px; color: var(--ink); line-height: 1.8; }

/* ===== Footer ===== */
/* BAT寄せ：センター積みの黒フッター */
.site-footer { background: #001f3f; color: rgba(255, 255, 255, .82); }
.footer-inner { display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; gap: 30px; padding: 72px 24px 56px; }
.footer-brand { display: flex; flex-direction: column; align-items: center; }
.footer-logo { height: 40px; width: auto; margin-bottom: 18px; }
.footer-tagline { font-size: 14px; color: rgba(255, 255, 255, .6); max-width: 420px; line-height: 1.8; }
.footer-nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px 34px; }
.footer-nav a { font-size: 14px; color: rgba(255, 255, 255, .75); transition: color .25s; }
.footer-nav a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .1); padding: 22px 0; text-align: center; }
.footer-bottom small { font-size: 12.5px; color: rgba(255, 255, 255, .5); font-family: var(--font-en); }

/* ===== Floating CTA ===== */
.floating-cta {
  position: fixed; right: 22px; bottom: 22px; z-index: 90;
  background: var(--ink); color: #fff; font-weight: 700; font-size: 14.5px;
  border: 1px solid rgba(255, 255, 255, .35);
  padding: 16px 26px; border-radius: 999px; box-shadow: 0 12px 30px rgba(0, 0, 0, .3);
  opacity: 0; transform: translateY(20px); pointer-events: none; transition: opacity .4s var(--ease), transform .4s var(--ease);
}
.floating-cta.show { opacity: 1; transform: translateY(0); pointer-events: auto; }
.floating-cta:hover { transform: translateY(-3px); }

/* ===== Reveal animation ===== */
/* Hidden state only applies when JS is confirmed running (html.js).
   If JS fails to load/run, content stays fully visible. */
html.js .reveal { opacity: 0; transform: translateY(34px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
html.js .reveal.in { opacity: 1; transform: none; }

/* ===== Responsive ===== */
@media (max-width: 980px) {
  .problem-list, .industry-grid, .voice-grid, .gripe-list { grid-template-columns: 1fr; max-width: 520px; margin-inline: auto; }
  .case-summary { grid-template-columns: 1fr; }
  .flow-track { flex-direction: column; align-items: center; gap: 24px; }
  .flow-step { max-width: 440px; width: 100%; }
  .flow-track::before { left: 50%; right: auto; top: 3%; bottom: 3%; height: auto; width: 6px; transform: translateX(-50%); background: linear-gradient(180deg, rgba(0, 0, 0, .1) 0%, var(--navy-3) 60%, var(--ink) 100%); }
  .flow-track::after { right: auto; left: 50%; top: auto; bottom: calc(3% - 9px); transform: translateX(-50%); border-left: 11px solid transparent; border-right: 11px solid transparent; border-top: 16px solid var(--ink); border-bottom: 0; }
  .why-row, .why-row:nth-child(even) { grid-template-columns: 1fr; }
  .why-row:nth-child(even) .why-graphic { order: 0; }
  .why-graphic { min-height: 160px; }
  .hero-facts { flex-direction: column; gap: 12px; }
}

@media (max-width: 760px) {
  .pc-only { display: none; }
  .sp-only { display: inline; }
  .nav { position: fixed; inset: 0 0 0 auto; width: min(80vw, 320px); flex-direction: column; align-items: flex-start; justify-content: flex-start; gap: 4px; background: var(--navy); padding: 100px 32px 40px; transform: translateX(100%); transition: transform .4s var(--ease); box-shadow: -20px 0 60px rgba(0, 0, 0, .3); }
  .nav.open { transform: translateX(0); }
  .nav a { color: #fff !important; font-size: 16px; padding: 12px 0; width: 100%; }
  .nav a:not(.nav-cta)::after { display: none; }
  .nav-cta { margin-top: 14px; }
  /* Dropdown expands inline within the mobile panel */
  .nav-item { display: block; width: 100%; }
  .nav-parent .caret { display: none; }
  .dropdown { position: static; transform: none; opacity: 1; visibility: visible; padding-top: 0; }
  .dropdown-menu { background: transparent; border: 0; box-shadow: none; padding: 0 0 6px 16px; min-width: 0; }
  .nav .dropdown a, .site-header:not(.scrolled) .nav .dropdown a { color: rgba(255, 255, 255, .85) !important; font-size: 15px; padding: 9px 0; }
  .nav .dropdown a:hover { background: transparent; color: #fff; }
  .nav-toggle { display: flex; z-index: 110; }
  body.nav-open .nav-toggle span { background: #fff; }
  body.nav-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  body.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
  body.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .check-group { grid-template-columns: 1fr; }
  .company-row { grid-template-columns: 1fr; }
  .company-row dt { padding-bottom: 6px; }
  .company-row dd { padding-top: 6px; }
  .hero { min-height: auto; padding: 130px 0 70px; }
  .footer-inner { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; }
  html.js .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}
