/* =========================================================
   研修見積ナビ LP
   Claude Design「研修見積ナビ LP.dc.html」からのローカル実装
   ブレークポイント: desktop >= 1040px
   ========================================================= */

:root {
  --ink: #10283f;
  --ink-900: #0c1f33;
  --ink-800: #12314e;
  --ink-700: #1c3652;
  --text: #3c4d5e;
  --muted: #5b6b7a;
  --muted-light: #93a2b0;
  --muted-lighter: #7d8b99;
  --note: #8a99a8;

  --blue: #0b6bbd;
  --blue-dark: #0d5296;
  --blue-darker: #0a437c;
  --blue-header: #0b68b8;
  --blue-cta: #0e73cd;
  --cyan: #0085B2;
  --navy: #0b2743;

  --bg: #ffffff;
  --bg-gray: #f7f9fb;
  --bg-footer: #f8f9fa;

  --line: #e8edf2;
  --line-card: #e5ebf1;
  --line-faq: #e0e7ee;
  --line-btn: #c9d5e0;
  --line-soft: #eef2f6;
  --line-stat: #e6ecf1;
  --line-flow: #e3ecf3;
  --line-sns: #b9c6d2;

  --header-h: 72px;
  --maxw: 1180px;
  --radius: 8px;
}

* { box-sizing: border-box; }

html, body { margin: 0; padding: 0; }

body {
  font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; }
a { color: var(--blue); text-decoration: none; }
a:hover { color: var(--blue-dark); }
h1, h2, h3, h4 { margin: 0; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
button { font-family: inherit; }

.container { max-width: var(--maxw); margin: 0 auto; padding: 0 18px; }
.container-narrow { max-width: 1080px; }

.chev { font-size: 1.08em; }

/* ---------- 共通ボタン ---------- */
.btn-ghost {
  display: inline-flex; align-items: center; justify-content: center;
  height: 34px; padding: 0 18px;
  border: 1px solid var(--line-btn); border-radius: 4px;
  background: #fff; color: var(--ink-700);
  font-size: 12px; font-weight: 700; white-space: nowrap;
  transition: border-color .18s, color .18s;
}
.btn-ghost:hover { border-color: var(--blue); color: var(--blue); }
.btn-ghost-lg { height: 42px; padding: 0 26px; font-size: 13px; color: var(--ink-800); }

.btn-solid-sm {
  display: inline-flex; align-items: center; gap: 10px;
  height: 34px; padding: 0 16px; border-radius: 4px;
  background: var(--blue-header); color: #fff;
  font-size: 12px; font-weight: 700; white-space: nowrap;
  transition: background .18s;
}
.btn-solid-sm:hover { background: var(--blue-dark); color: #fff; }

.btn-solid-xs {
  display: inline-flex; align-items: center;
  height: 36px; padding: 0 14px; border-radius: 4px;
  background: var(--blue-header); color: #fff;
  font-size: 12px; font-weight: 700; white-space: nowrap;
}
.btn-solid-xs:hover { color: #fff; }

.btn-primary,
.btn-outline {
  display: inline-flex; align-items: center; justify-content: space-between; gap: 22px;
  height: 54px; padding: 0 22px; border-radius: 5px;
  font-size: 15px; font-weight: 700;
  transition: background .18s;
}
.btn-primary {
  min-width: 236px; background: var(--blue-dark); color: #fff;
  box-shadow: 0 2px 6px rgba(13, 82, 150, .25);
}
.btn-primary:hover { background: var(--blue-darker); color: #fff; }
.btn-outline {
  min-width: 216px; background: #fff;
  border: 1.5px solid var(--blue); color: var(--blue);
}
.btn-outline:hover { background: #f2f8fd; color: var(--blue); }

.btn-pill {
  display: inline-flex; align-items: center; gap: 16px;
  height: 54px; padding: 0 12px 0 32px;
  border: 1.5px solid var(--blue); border-radius: 999px;
  background: #fff; color: var(--blue);
  font-size: 13.5px; font-weight: 700; letter-spacing: .06em;
  transition: background .2s, color .2s;
}
.btn-pill:hover { background: var(--blue); color: #fff; }
.pill-chev {
  display: inline-flex; align-items: center; justify-content: center;
  width: 32px; height: 32px; border-radius: 50%;
  border: 1.5px solid currentColor; font-size: 14px;
}
.more-wrap { display: flex; justify-content: center; margin-top: 34px; }

/* ---------- ヘッダー ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: #fff; border-bottom: 1px solid var(--line);
}
.header-inner {
  max-width: var(--maxw); margin: 0 auto; padding: 0 18px;
  height: var(--header-h);
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.logo img { height: 34px; width: auto; }

.nav-desktop { display: none; align-items: center; gap: 26px; white-space: nowrap; }
.nav-link { font-size: 13px; font-weight: 700; color: var(--ink-700); }
.nav-link:hover { color: var(--blue); }
.nav-actions { display: flex; align-items: center; gap: 10px; margin-left: 6px; }

.nav-mobile-actions { display: flex; align-items: center; gap: 10px; }
.hamburger {
  width: 44px; height: 40px;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px;
  background: #fff; border: 1px solid #d7e0e8; border-radius: 4px; cursor: pointer;
}
.hamburger span { display: block; width: 18px; height: 2px; background: var(--ink-700); }

.nav-mobile {
  display: flex; flex-direction: column;
  padding: 8px 18px 18px; gap: 2px;
  border-top: 1px solid var(--line-soft); background: #fff;
}
.nav-mobile a {
  padding: 13px 4px; font-size: 14px; font-weight: 700;
  color: var(--ink-700); border-bottom: 1px solid #f0f4f7;
}
.nav-mobile a:last-child { border-bottom: 0; }
[hidden] { display: none !important; }

@media (min-width: 1040px) {
  .nav-desktop { display: flex; }
  .nav-mobile-actions, .nav-mobile { display: none !important; }
}

/* ---------- ヒーロー ---------- */
.hero {
  position: relative;
  background: linear-gradient(180deg, #fff 0%, #eef4f9 100%);
  overflow: hidden;
}
.hero-bg { display: none; }
.hero-row {
  position: relative;
  display: flex; flex-wrap: wrap; align-items: center;
  min-height: 540px; padding: 52px 0 48px;
}
.hero-copy { flex: 1 1 460px; max-width: 560px; padding-right: 20px; }
.hero-eyebrow {
  margin-bottom: 18px; font-size: 14px; font-weight: 700;
  color: var(--ink-700); letter-spacing: .02em;
}
.hero-title {
  margin-bottom: 22px;
  font-size: clamp(30px, 4.2vw, 44px); line-height: 1.46;
  font-weight: 900; letter-spacing: .01em; color: var(--ink-900);
}
.hero-title .emphasis {
  -webkit-text-emphasis: filled dot var(--blue);
  text-emphasis: filled dot var(--blue);
  -webkit-text-emphasis-position: over right;
  text-emphasis-position: over right;
}
.hero-title .accent { color: var(--blue); }
.hero-lead {
  margin-bottom: 30px; font-size: 15px; line-height: 2.05;
  font-weight: 500; color: var(--text);
}
.hero-buttons { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 26px; }
.hero-checks { display: flex; flex-wrap: wrap; gap: 24px; }
.hero-checks li {
  display: flex; align-items: center; gap: 8px;
  font-size: 14px; font-weight: 700; color: var(--ink-700);
}
.hero-img-mobile { width: 100%; height: auto; object-fit: cover; }

@media (min-width: 1040px) {
  .hero-bg {
    display: block;
    position: absolute; top: 0; right: 0; bottom: 0; width: 62%;
    background-image: url(../img/hero-consultation.jpg);
    background-size: cover; background-position: center 34%;
    -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 14%);
    mask-image: linear-gradient(to right, transparent 0%, #000 14%);
  }
  .hero-img-mobile { display: none; }
}

/* ---------- 実績バー ---------- */
.stats {
  background: #fff;
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
  padding: 26px 0 14px;
}
.stats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 8px 0; }
.stat { display: flex; align-items: center; justify-content: center; gap: 18px; padding: 8px 10px; }
.stat + .stat { border-left: 1px solid var(--line-stat); }
.stat-icon { flex: 0 0 auto; }
.stat-label { font-size: 13px; font-weight: 700; color: var(--text); margin-bottom: 2px; }
.stat-value { display: flex; align-items: baseline; gap: 4px; }
.stat-value .num {
  font-family: Barlow, sans-serif; font-size: 44px; font-weight: 700;
  color: var(--blue); letter-spacing: .005em; line-height: 1;
}
.stat-value .unit { font-size: 15px; font-weight: 700; color: var(--ink-800); }
.stats-note { margin-top: 2px; text-align: right; font-size: 9.5px; color: var(--note); }

@media (max-width: 767px) {
  .stat + .stat { border-left: 0; border-top: 1px solid var(--line-stat); }
}

/* ---------- セクション共通 ---------- */
.section { padding: clamp(40px, 5vw, 58px) 0; background: #fff; }
.section-gray { background: var(--bg-gray); }
.section-navy { background: var(--navy); padding: clamp(44px, 5.5vw, 62px) 0; }
.section-tight { padding: clamp(30px, 4vw, 46px) 0; }
.section-faq { padding: clamp(30px, 4vw, 46px) 0 clamp(44px, 5vw, 60px); }

.section-head { margin-bottom: 34px; text-align: center; }
.section-head-lg { margin-bottom: 44px; }
.section-head h2 {
  margin-bottom: 8px;
  font-size: clamp(20px, 2.6vw, 25px); font-weight: 900;
  letter-spacing: .04em; color: var(--ink-800);
}
.section-navy .section-head h2 { color: #fff; font-size: clamp(19px, 2.6vw, 25px); }
.h2-sub { font-size: .72em; }
.eyebrow {
  display: block; font-size: 11.5px; font-weight: 700;
  letter-spacing: .22em; color: var(--cyan);
}
.eyebrow-light { color: #5cc9ec; }

/* ---------- CONCERNS ---------- */
.concern-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); gap: 22px; }
.concern-card {
  display: flex; align-items: flex-start; gap: 16px;
  background: #fff; border: 1px solid var(--line-card);
  border-radius: var(--radius); padding: 22px;
}
.concern-card svg { flex: 0 0 auto; }
.concern-card h3 { margin-bottom: 8px; font-size: 15px; font-weight: 700; color: var(--ink-800); }
.concern-card p { font-size: 12.5px; line-height: 1.85; color: var(--muted); }

/* ---------- FEATURES ---------- */
.feature-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 30px 0; }
.feature { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 0 22px; }
.feature + .feature { border-left: 1px solid rgba(255,255,255,.16); }
.feature h3 { margin: 20px 0 12px; font-size: 16px; font-weight: 700; color: #fff; }
.feature p { font-size: 12.5px; line-height: 2; color: #c6d4e1; }

@media (max-width: 799px) {
  .feature + .feature { border-left: 0; border-top: 1px solid rgba(255,255,255,.16); padding-top: 26px; }
}

/* ---------- CATEGORY ---------- */
.category-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; }
.category-card {
  display: block; background: #fff; border: 1px solid var(--line-card);
  border-radius: var(--radius); overflow: hidden;
  transition: border-color .2s, box-shadow .2s;
}
.category-card:hover { border-color: var(--blue); box-shadow: 0 6px 18px rgba(16, 45, 74, .10); }
.category-card img { width: 100%; aspect-ratio: 4 / 2.25; object-fit: cover; }
.category-card .label {
  display: flex; align-items: center; justify-content: space-between;
  gap: 10px; padding: 14px 16px;
}
.category-card .label span:first-child { font-size: 13.5px; font-weight: 700; color: var(--ink-800); }
.category-card .arrow { font-size: 15px; color: var(--blue); }

/* ---------- FLOW ---------- */
.flow-row { display: flex; flex-wrap: wrap; align-items: stretch; justify-content: center; gap: 14px; }
.flow-card {
  position: relative; flex: 1 1 280px; max-width: 360px;
  background: #fff; border: 1px solid var(--line-flow); border-radius: 12px;
  padding: 34px 26px 30px;
  display: flex; flex-direction: column; align-items: center; text-align: center;
  overflow: hidden; box-shadow: 0 4px 18px rgba(16, 45, 74, .06);
  transition: box-shadow .2s, border-color .2s;
}
.flow-card:hover { box-shadow: 0 12px 28px rgba(16, 45, 74, .13); border-color: #bfe0ee; }
.flow-bar {
  position: absolute; top: 0; left: 0; right: 0; height: 4px;
  background: linear-gradient(90deg, var(--cyan) 0%, var(--blue-dark) 100%);
}
.flow-step { display: flex; align-items: center; gap: 9px; margin-bottom: 16px; }
.flow-step-label { font-size: 10.5px; font-weight: 700; letter-spacing: .24em; color: var(--cyan); }
.flow-step-num {
  font-family: Barlow, sans-serif; font-size: 34px; font-weight: 700;
  line-height: 1; color: var(--blue-dark); letter-spacing: .01em;
}
.flow-icon {
  width: 76px; height: 76px; padding: 17px;
  border-radius: 50%; background: #eef8fc; margin-bottom: 18px;
}
.flow-card h3 { margin-bottom: 11px; font-size: 16px; font-weight: 700; color: var(--ink-800); }
.flow-card p { font-size: 12.5px; line-height: 1.9; color: var(--muted); }

.flow-arrow {
  display: none; align-items: center; justify-content: center;
  flex: 0 0 auto; align-self: center;
  width: 34px; height: 34px; border-radius: 50%;
  background: var(--cyan); color: #fff; font-size: 17px; font-weight: 700;
}
@media (min-width: 1040px) { .flow-arrow { display: flex; } }

/* ---------- VOICE ---------- */
.voice-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); gap: 20px; }
.voice-card {
  display: flex; align-items: flex-start; gap: 16px;
  background: #fff; border: 1px solid var(--line-card);
  border-radius: var(--radius); padding: 22px 20px;
}
.voice-card img { width: 60px; height: 60px; border-radius: 50%; object-fit: cover; flex: 0 0 auto; }
.voice-body { flex: 1; min-width: 0; }
.voice-quote { margin-bottom: 20px; font-size: 12.5px; line-height: 1.95; color: var(--text); }
.voice-company { font-size: 11.5px; line-height: 1.9; color: var(--muted); }
.voice-meta { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; }
.voice-role { font-size: 11.5px; color: var(--muted); }
.voice-name { font-size: 12.5px; font-weight: 700; color: var(--ink-800); }

/* ---------- COLUMN ---------- */
.post-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); gap: 22px; }
.post-card {
  display: block; background: #fff; border: 1px solid var(--line-card);
  border-radius: var(--radius); overflow: hidden;
  transition: border-color .2s, box-shadow .2s;
}
.post-card:hover { border-color: var(--blue); box-shadow: 0 6px 18px rgba(16, 45, 74, .10); }
.post-thumb { position: relative; }
.post-thumb img { width: 100%; aspect-ratio: 16 / 9.2; object-fit: cover; }
.post-tag {
  position: absolute; left: 12px; bottom: 10px;
  padding: 4px 12px; border-radius: 3px;
  background: var(--blue); color: #fff; font-size: 10.5px; font-weight: 700;
}
.post-body { padding: 16px 18px 18px; }
.post-body h3 { margin-bottom: 10px; font-size: 15px; font-weight: 700; color: var(--ink-800); }
.post-body p { margin-bottom: 14px; font-size: 12.5px; line-height: 1.9; color: var(--muted); }
.post-date {
  font-family: Barlow, sans-serif; font-size: 12.5px; font-weight: 500;
  letter-spacing: .05em; color: var(--muted-light);
}

/* ---------- FAQ ---------- */
.faq-list { display: flex; flex-direction: column; gap: 12px; }
.faq-item { border: 1px solid var(--line-faq); border-radius: 6px; background: #fff; overflow: hidden; }
.faq-q {
  width: 100%; display: flex; align-items: center; gap: 18px;
  padding: 17px 20px; background: #fff; border: 0; cursor: pointer; text-align: left;
}
.faq-q .mark { font-size: 15px; font-weight: 700; color: var(--blue); flex: 0 0 auto; }
.faq-q .text { flex: 1; font-size: 14px; font-weight: 700; color: var(--ink-800); }
.faq-q .sign { font-size: 19px; font-weight: 400; color: var(--blue); flex: 0 0 auto; }
.faq-item:has(.faq-a:not([hidden])) { border-color: #bcd9ef; box-shadow: 0 3px 14px rgba(16, 45, 74, .07); }
.faq-a {
  display: flex; gap: 18px;
  padding: 18px 20px 22px; border-top: 1px solid #dcebf7;
  background: #f4f9fd;
}
.faq-a .mark { font-size: 16px; font-weight: 700; color: var(--blue-dark); flex: 0 0 auto; }
.faq-a p { font-size: 14px; line-height: 1.95; font-weight: 500; color: var(--ink-800); }
.faq-a p strong { font-weight: 700; color: var(--blue-dark); }

/* ---------- CTA ---------- */
.cta { background: var(--blue-cta); padding: clamp(28px, 3.5vw, 34px) 0; }
.cta-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 26px; }
.cta-badge {
  flex: 0 0 auto; width: 104px; height: 104px; border-radius: 50%; background: #fff;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px;
}
.cta-badge span { font-size: 13px; font-weight: 700; color: var(--blue-dark); }
.cta-copy { flex: 1 1 380px; min-width: 280px; }
.cta-copy h2 {
  margin-bottom: 10px; font-size: clamp(18px, 2.4vw, 24px);
  font-weight: 900; color: #fff; line-height: 1.5;
}
.cta-copy p { font-size: 13px; color: #d8ebfb; }
.btn-cta {
  flex: 0 0 auto;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  min-width: 276px; height: 62px; padding: 0 26px; border-radius: 5px;
  background: #fff; color: var(--blue); font-size: 15.5px; font-weight: 700;
  transition: background .18s;
}
.btn-cta:hover { background: #eaf4fe; color: var(--blue); }

/* ---------- フッター ---------- */
.site-footer { background: var(--bg-footer); padding: clamp(36px, 4.5vw, 52px) 0 22px; }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 34px 24px; }
.footer-logo { height: 34px; width: auto; margin-bottom: 20px; }
.footer-brand p { margin-bottom: 22px; font-size: 12px; line-height: 1.95; color: var(--muted); }
.sns { display: flex; gap: 12px; margin-top: 22px; }
.sns a {
  width: 34px; height: 34px; border: 1px solid var(--line-sns); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  transition: border-color .18s;
}
.sns a:hover { border-color: var(--blue); }
.footer-col h4 { margin-bottom: 20px; font-size: 13px; font-weight: 700; color: var(--ink-800); }
.footer-col a { display: block; font-size: 12.5px; color: var(--text); margin-bottom: 14px; }
.footer-col a:last-child { margin-bottom: 0; }
.footer-col a:hover { color: var(--blue); }
.copyright {
  margin-top: 38px; text-align: center;
  font-family: Barlow, sans-serif; font-size: 12.5px; font-weight: 500;
  letter-spacing: .03em; color: var(--muted-lighter);
}

/* ---------- スクロール表示アニメーション ---------- */
[data-reveal] { opacity: 0; transform: translateY(22px); }
[data-reveal].is-visible {
  opacity: 1; transform: none;
  transition: opacity .75s cubic-bezier(.16,.84,.44,1), transform .75s cubic-bezier(.16,.84,.44,1);
}
@media (prefers-reduced-motion: reduce) {
  [data-reveal] { opacity: 1; transform: none; }
}
