/* ========== Base ========== */
:root{
  --bg: #ffffff;
  --fg: #0d0f14;
  --muted: rgba(13, 15, 20, .65);
  --line: rgba(13, 15, 20, .12);

  --shadow: 0 18px 40px rgba(15, 20, 40, .08);

  --accent: #0b2e7a;
  --brand-1: #00b7ff;
  --brand-2: #1b7bff;
  --brand-3: #0b2e7a;
  --accent-grad: linear-gradient(90deg, var(--brand-1), var(--brand-2) 55%, var(--brand-3));

  --radius: 22px;
  --container: 1120px;
  --gutter: 20px;
}

*,
*::before,
*::after{ box-sizing: border-box; }

html{ scroll-behavior: smooth; }

body{
  margin: 0;
  font-family: Inter, "Noto Sans JP", system-ui, -apple-system, "Segoe UI", sans-serif;
  color: var(--fg);
  background: var(--bg);
  line-height: 1.65;
  letter-spacing: .01em;
}

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

a{ color: inherit; text-decoration: none; }
a:hover{ text-decoration: underline; text-underline-offset: 4px; }

ul{ margin: 0; padding-left: 1.1em; }
p{ margin: 0; }

.container{
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.sr-only{
  position:absolute !important;
  width:1px; height:1px;
  padding:0; margin:-1px;
  overflow:hidden; clip:rect(0,0,0,0);
  white-space:nowrap; border:0;
}

.skip-link{
  position: absolute;
  left: 12px; top: 12px;
  background: #fff;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid var(--line);
  transform: translateY(-130%);
  transition: transform .25s ease;
  z-index: 2000;
}
.skip-link:focus{ transform: translateY(0); }

/* ========== Buttons ========== */
.btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55em;
  padding: 12px 18px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 600;
  letter-spacing: .02em;
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease, border-color .2s ease;
  user-select: none;
  white-space: nowrap;
}
.btn:hover{ text-decoration: none; transform: translateY(-1px); }
.btn:active{ transform: translateY(0); }

.btn--primary{
  background: var(--accent-grad);
  color: #fff;
  box-shadow: 0 12px 26px rgba(11, 46, 122, .22);
}
.btn--primary:hover{ box-shadow: 0 16px 34px rgba(11, 46, 122, .28); }

.btn--ghost{
  background: transparent;
  border-color: var(--line);
}
.btn--ghost:hover{ background: rgba(13,15,20,.04); }

.btn__arrow{ font-size: 18px; line-height: 1; transform: translateY(-1px); }

/* ========== Header / Nav ========== */
.header{
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255,255,255,.78);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}

/* Headerを画面端基準にする */
.header .container{
  max-width: none;
  margin: 0;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}

.header__inner{
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 74px;
}

.brand{
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
.brand__mark{
  width: 160px;
  height: auto;
}
.brand__text{ display: grid; line-height: 1.1; }

.nav{ display:flex; align-items:center; gap: 14px; }

.nav__toggle{
  display: none;
  width: 44px; height: 44px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: #fff;
  cursor: pointer;
}
.nav__toggleLines{
  display:block;
  width: 18px; height: 2px;
  margin: 0 auto;
  background: var(--fg);
  position: relative;
}
.nav__toggleLines::before,
.nav__toggleLines::after{
  content:"";
  position:absolute;
  left:0;
  width:100%; height:2px;
  background: var(--fg);
}
.nav__toggleLines::before{ top:-6px; }
.nav__toggleLines::after{ top:6px; }

.nav__menu{ display:flex; align-items:center; gap: 16px; }
.nav__list{
  list-style: none;
  display:flex;
  align-items:center;
  gap: 16px;
  padding:0;
}
.nav__link{
  font-weight: 600;
  color: rgba(13,15,20,.78);
  padding: 10px 10px;
  border-radius: 999px;
  transition: background .2s ease, color .2s ease;
}
.nav__link:hover{
  text-decoration: none;
  background: rgba(13,15,20,.06);
  color: var(--brand-3);
}
.nav__cta{ margin-left: 8px; }

/* ========== Hero / FV（重複なし最終版） ========== */
.hero{
  position: relative;
  min-height: clamp(620px, 100vh, 860px);
  padding: 0;
  overflow: clip;
}

/* FV背景（全画面） */
.hero__bg{
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden; /* 端対策 */
}

/* フェード用レイヤー */
.hero__bg-layer{
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 900ms ease;
}
.hero__bg-layer.is-active{ opacity: 1; }

/* 背景メディア（PC/Tablet/Mobile：X/Y/Zoom分離 + 端が出ない） */
.hero__bg-media{
  position: absolute;
  inset: -28%; /* PC：端が出ないように大きめ */
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  transform:
    translate(
      var(--bg-shift, 0%),
      var(--bg-shift-y, 0%)
    )
    scale(var(--bg-zoom, 1))
    scaleX(var(--bg-flip, 1));
  will-change: transform;
}

/* テキストを縦中央に */
.hero__wrap{
  position: relative;
  z-index: 3;
  min-height: clamp(620px, 100vh, 860px);
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: 42px 0 72px;
}

/* FVだけ container を中央寄せしない（左寄せ / 余白だけ合わせる） */
.hero .container{
  max-width: none;
  margin: 0;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}

/* コピー */
.hero__copy{
  width: min(760px, calc(100vw - (var(--gutter) * 2)));
  /* コピー全体を少しだけ右へ寄せて、左に“呼吸”を作る */
  padding-left: clamp(10px, 2.2vw, 26px);
  background: transparent;
  border: 0;
  backdrop-filter: none;
  border-radius: 0;
  box-shadow: none;
}

/* FV タイポ */
.eyebrow{
  display: inline-block;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(13,15,20,.70);
  margin: 0 0 10px;
  font-size: 12px;
}

.hero__title{
  margin: 0 0 14px;
  font-family: "Sora", Inter, "Noto Sans JP", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.035em;
  text-wrap: balance;
  font-size: clamp(44px, 5.6vw, 72px);
  background: linear-gradient(90deg, var(--brand-2), var(--accent));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow:
    0 2px 8px rgba(0,0,0,0.12),
    0 10px 30px rgba(0,0,0,0.10);
}

.hero__lead{
  margin: 0 0 22px;
  font-weight: 500;
  color: rgba(13,15,20,.82);
  font-size: clamp(16px, 2.0vw, 22px);
  line-height: 1.6;
}

/* CTA（メンバー募集）とKPIが近づきすぎないように余白を明示 */
.hero__actions{ margin: 16px 0 22px; }

/* 左側の白グラデ（読みやすさ） */
.hero::before{
  content:"";
  position:absolute;
  inset: 0;
  pointer-events:none;
  z-index: 2;
  background:
    radial-gradient(640px 520px at 0% 24%, rgba(255,255,255,.98), rgba(255,255,255,0) 68%),
    linear-gradient(to right,
      rgba(255,255,255,.98) 0%,
      rgba(255,255,255,.92) 26%,
      rgba(255,255,255,.40) 38%,
      rgba(255,255,255,0) 52%
    );
}

/* うっすら色味 */
.hero__fade{
  position:absolute;
  inset: 0;
  pointer-events:none;
  z-index: 1;
  background:
    radial-gradient(900px 420px at 12% 18%, rgba(11,46,122,.06), rgba(11,46,122,0) 70%),
    radial-gradient(900px 420px at 78% 82%, rgba(13,15,20,.05), rgba(13,15,20,0) 70%);
}

/* Hero copy entrance（1回だけ） */
.hero__copy .eyebrow,
.hero__copy .hero__title,
.hero__copy .hero__lead,
.hero__copy .hero__actions{
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 400ms ease, transform 400ms ease;
  will-change: opacity, transform;
}

html.is-hero-in .hero__copy .eyebrow{ opacity: 1; transform: translateY(0); transition-delay: 0ms; }
html.is-hero-in .hero__copy .hero__title{ opacity: 1; transform: translateY(0); transition-delay: 0ms; }
html.is-hero-in .hero__copy .hero__lead{ opacity: 1; transform: translateY(0); transition-delay: 120ms; }
html.is-hero-in .hero__copy .hero__actions{ opacity: 1; transform: translateY(0); transition-delay: 200ms; }

/* 動きを減らす設定の人向け */
@media (prefers-reduced-motion: reduce){
  .hero__copy .eyebrow,
  .hero__copy .hero__title,
  .hero__copy .hero__lead,
  .hero__copy .hero__actions{
    transition: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
}

/* ========== KPI ========== */
.kpi{
  /* ボタンの下に“ひとまとまり”で置く */
  margin: 18px 0 0;
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 14px;
  flex-wrap: nowrap; /* 3つを1列に収める（基本） */
}

.kpi__item{
  position: relative;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  text-align: center;
}

/* ラベル（累計セッション数など） */
.kpi__label{
  grid-area: 1 / 1;
  margin: 0;
  z-index: 3;
  transform: translateY(-62px);
  font-size: 11px;
  letter-spacing: .10em;
  color: rgba(11,42,74,.72);
  font-weight: 700;
  white-space: nowrap;
}

/* 数字（草冠の中） */
.kpi__num{
  grid-area: 1 / 1;
}

/* 草冠を「枠」にして中央に文字を重ねる */
.wreath-wrap{
  position: relative;
  display: inline-block;
  width: 170px;
  height: 94px;
  overflow: visible;
}

.wreath-img{
  position: absolute;
  left: 50%;
  top: 50%;
  width: 205%;
  height: auto;
  transform: translate(-50%, -54%);
  pointer-events: none;
  user-select: none;
  filter:
    drop-shadow(0 6px 14px rgba(11,42,74,.14))
    brightness(1.05)
    sepia(1)
    hue-rotate(2deg)
    saturate(2.6);
  opacity: .30;
}

/* 中央文字（2行） */
.wreath-text{
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  text-align: center;
  transform: translateY(-16px);
}

.wreath-text b{
  color: #1f3b57;
  font-size: 36px;
  letter-spacing: .02em;
  line-height: 1;
}

.wreath-text small{
  display: block;
  font-size: 12px;
  font-weight: 800;
  color: rgba(31,59,87,.9);
  line-height: 1;
  margin-top: -4px;
}

/* ========== Section ========== */
.section{ padding: 92px 0; }
.section--tinted{
  background: linear-gradient(to bottom, rgba(13,15,20,.02), rgba(13,15,20,0));
}
.section__head{ margin-bottom: 28px; }
.section__kicker{
  background: var(--accent-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  font-size: 12px;
  margin-bottom: 12px;
}
.section__title{
  font-size: clamp(22px, 2.25vw, 34px);
  line-height: 1.25;
  margin: 0;
  letter-spacing: -0.01em;
  background: var(--accent-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.prose{
  max-width: 780px;
  font-size: 16px;
  color: rgba(13,15,20,.8);
}
.prose p{ margin: 0 0 10px; }
.prose__spacer{ margin-top: 14px; }

/* ========== Cards ========== */
.cards{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 28px;
}
.card{
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px 22px 20px;
  background: rgba(255,255,255,.78);
  box-shadow: 0 14px 30px rgba(15,20,40,.06);
}
.card__icon{
  width: 40px; height: 40px;
  border-radius: 14px;
  display:grid;
  place-items:center;
  background: rgba(11,46,122,.06);
  color: var(--accent);
  margin-bottom: 14px;
}
.card__icon svg{ width: 22px; height: 22px; }
.card__title{ font-size: 18px; margin: 0 0 8px; letter-spacing: -0.01em; }
.card__text{ color: rgba(13,15,20,.75); margin-bottom: 12px; }
.card__list{ color: rgba(13,15,20,.72); padding-left: 1.1em; }
.card__list li{ margin: 6px 0; }

/* ========== Statement (Vision) ========== */
.statement{
  position: relative;
  padding: 110px 0;
  overflow: clip;
}

/* うっすら曇り */
.statement::before{
  content:"";
  position:absolute;
  inset:0;
  pointer-events:none;
  background: linear-gradient(
    to bottom,
    rgba(255,255,255,.20),
    rgba(255,255,255,.10),
    rgba(255,255,255,.20)
  );
  z-index: 1;
}

/* 背景 */
.statement .statement__bg{
  position:absolute;
  inset:-20px;
  z-index: 0;
  background-image: url("../img/vision.jpeg");
  background-size: cover;
  background-position: center;
  filter: saturate(0.95) contrast(1.05);
  opacity: 0;
  transform: scale(1.06);
  transition: opacity 1.2s ease, transform 1.6s ease;
  will-change: opacity, transform;
}
.statement.is-bg-inview .statement__bg{
  opacity: .22;
  transform: scale(1.04);
}

.statement .container{ position: relative; z-index: 2; }

/* 外枠（Vision/Mission/Valueを囲う枠）を消す */
.statement__block{
  max-width: 920px;
  margin: 0 auto 26px;
  padding: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
}
.statement__block--compact{ margin-bottom: 26px; }

.statement__kicker{
  margin: 0 0 10px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .18em;
  text-transform: uppercase;
  background: var(--accent-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: 0 2px 4px rgba(0,0,0,.08);
}
.statement__title{
  margin: 0;
  font-size: clamp(30px, 3.2vw, 50px);
  line-height: 1.12;
  letter-spacing: -0.02em;
  background: var(--accent-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow:
    0 2px 6px rgba(0,0,0,.10),
    0 10px 30px rgba(0,0,0,.08);
}
.statement__mission{
  margin: 0;
  font-size: clamp(18px, 1.6vw, 22px);
  font-weight: 700;
  letter-spacing: .01em;
  text-shadow:
    0 2px 6px rgba(0,0,0,.10),
    0 10px 30px rgba(0,0,0,.08);
}

/* Value：3カード */
.values{
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 18px;
  align-items: stretch;
}

/* Valueカード：透明ガラス */
.valueCard{
  min-width: 0;
  height: 100%;
  border-radius: var(--radius);
  padding: 18px 18px 16px;

  border: 1px solid rgba(255,255,255,.55);
  box-shadow:
    0 10px 30px rgba(0,0,0,.08),
    inset 0 1px 0 rgba(255,255,255,.6);

  transition: transform .25s ease, box-shadow .25s ease;
}
@media (hover:hover){
  .valueCard:hover{
    transform: translateY(-4px);
    box-shadow:
      0 16px 44px rgba(0,0,0,.12),
      inset 0 1px 0 rgba(255,255,255,.7);
  }
}

.valueCard__icon{
  width: 40px; height: 40px;
  border-radius: 14px;
  display:grid;
  place-items:center;
  background: rgba(11,46,122,.06);
  color: var(--accent);
  margin-bottom: 12px;
}
.valueCard__icon svg{ width: 22px; height: 22px; }
.valueCard__title{ margin: 0 0 8px; font-size: 16px; letter-spacing: -0.01em; }
.valueCard__text{ margin: 0; color: rgba(13,15,20,.74); }

/* ========== Recruit ========== */
.section--recruit{
  position: relative;
  overflow: clip;
  background:
    radial-gradient(620px 320px at 70% 85%, rgba(11,46,122, .12), rgba(11,46,122, 0) 72%),
    linear-gradient(to bottom, rgba(245, 249, 255, 1), rgba(245, 249, 255, 1) 45%, rgba(255,255,255,1));
}
.recruit{ display:grid; grid-template-columns: 1fr; }
.recruit__copy{ max-width: 860px; }
.recruit__title{
  font-size: clamp(26px, 2.4vw, 36px);
  margin: 0 0 12px;
  line-height: 1.22;
}
.recruit__text{ margin: 0 0 18px; color: rgba(13,15,20,.78); }

/* ========== Company ========== */
.company{ border-top: 1px solid var(--line); margin-top: 18px; }
.company__row{
  display:grid;
  grid-template-columns: 180px 1fr;
  gap: 18px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}
.company dt{ font-weight: 700; color: rgba(13,15,20,.82); }
.company dd{ margin: 0; color: rgba(13,15,20,.76); }
.company dd ul{ margin: 0; padding-left: 1.1em; }
.company dd li{ margin: 6px 0; }

/* ========== Footer ========== */
.footer{
  border-top: 1px solid var(--line);
  padding: 30px 0 20px;
  background: rgba(13,15,20,.02);
}

.footer__inner{
  display:flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
}

.footer__left{
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.footer__brand{
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  font-weight: 800;
  letter-spacing: .08em;
}

.footer__mark{
  width: 100px;
  height: auto;
}

.footer__copy{
  margin: 0;
  color: rgba(13,15,20,.55);
  font-size: 12px;
  letter-spacing: .02em;
}

.footer__right{
  margin-left: auto;
  padding-top: 2px;
}

.footer__links{
  display:flex;
  gap: 14px;
  align-items:center;
}

.footer__links a{
  color: rgba(13,15,20,.72);
  font-weight: 600;
}

/* スマホ */
@media (max-width: 720px){
  .footer__inner{
    flex-direction: column;
    align-items: flex-start;
  }

  .footer__right{
    margin-left: 0;
    padding-top: 0;
  }

  .footer__links{
    justify-content:flex-start;
    margin-top: 6px;
  }

  .footer__links a{
    font-size: 13px;
    opacity: .6;
  }
}

/* =========================
   Reveal（サイト全体）
   ========================= */
.reveal{
  opacity: 0;
  transform: translateY(14px);
  filter: blur(2px);
  transition: opacity .9s ease, transform 1.1s ease, filter 1.1s ease;
  will-change: opacity, transform, filter;
}
.reveal.is-visible{
  opacity: 1;
  transform: none;
  filter: none;
}

/* 動きが苦手な人向け */
@media (prefers-reduced-motion: reduce){
  .reveal{
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
    transition: none !important;
  }
}

/* Statement：背景が終わるまで、Statement内のrevealは出さない */
.statement:not(.is-text-ok) .reveal{
  opacity: 0 !important;
  transform: translateY(14px) !important;
  filter: blur(2px) !important;
}

/* ========== Responsive ========== */

/* 〜980px：ナビだけ崩す */
@media (max-width: 980px){
  .cards{ grid-template-columns: 1fr; }
  .values{ grid-template-columns: 1fr; }
  .company__row{ grid-template-columns: 1fr; gap: 8px; }

  .nav__toggle{ display: inline-flex; align-items:center; justify-content:center; }
  .nav__menu{
    position: absolute;
    right: var(--gutter);
    top: 72px;
    width: min(360px, calc(100vw - var(--gutter)*2));
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    padding: 14px;
    border-radius: 18px;
    border: 1px solid var(--line);
    background: rgba(255,255,255,.94);
    box-shadow: var(--shadow);
    transform-origin: top right;
    transform: scale(.98);
    opacity: 0;
    pointer-events: none;
    transition: opacity .18s ease, transform .18s ease;
  }
  .nav__menu.is-open{ opacity: 1; transform: scale(1); pointer-events: auto; }
  .nav__list{ flex-direction: column; align-items: stretch; gap: 6px; }
  .nav__link{ padding: 12px 12px; }
  .nav__cta{ width: 100%; justify-content:center; margin-left:0; }
}

/* タブレット（≤1024）：左上寄せ + 上〜左グラデで文字を守る */
@media (max-width: 1024px){
  .hero__wrap{
    padding: 86px 0 44px;      /* ヘッダー下の余白も確保 */
    align-items: flex-start;   /* 左上 */
  }

  .hero__copy{
    max-width: min(520px, 92vw);
    padding-left: 0;           /* 余計な左ズレを消す */
  }

  /* タブレット：背景調整 */
  .hero__bg-media{
    inset: -42%;
    transform:
      translate(
        var(--bg-shift-tablet, var(--bg-shift, 0%)),
        var(--bg-shift-y-tablet, var(--bg-shift-y, 0%))
      )
      scale(var(--bg-zoom-tablet, var(--bg-zoom, 1)))
      scaleX(var(--bg-flip, 1));
  }

  /* タブレット：タイトルの崩れ（「る。」落ち）を軽減 */
  .hero__title{
    font-size: clamp(34px, 5.4vw, 52px);
    line-height: 1.08;
    margin-bottom: 10px;
  }
  .hero__lead{
    font-size: clamp(14px, 2.4vw, 18px);
    margin-bottom: 12px;
  }

  /* ボタンとKPIの間を確保（被り防止） */
  .hero__actions{ margin-top: 10px; margin-bottom: 22px; }

  /* 上〜左だけグラデ（タブレット用） */
  .hero::before{
    background:
      radial-gradient(640px 420px at 18% 18%, rgba(255,255,255,.92), rgba(255,255,255,0) 72%),
      linear-gradient(to right,
        rgba(255,255,255,.82) 0%,
        rgba(255,255,255,.52) 44%,
        rgba(255,255,255,0) 78%
      ) !important;
  }
  .hero__fade{ display: none; }

  /* KPI：実サイズで縮めて、1列で収める */
  .kpi{ gap: 10px; margin-top: 12px; }
  .wreath-wrap{ width: 128px; height: 74px; }
  .wreath-text{ transform: translateY(-12px); }
  .wreath-text b{ font-size: 28px; }
  .wreath-text small{ font-size: 10px; }
  .kpi__label{ transform: translateY(-48px); font-size: 10px; }
}

/* スマホ（≤720）：さらに左上へ + KPIを確実に1列へ */
@media (max-width: 720px){
  .hero__wrap{
    /* 文字・ボタン・実績を“もっと上へ” */
    padding: 54px 0 26px;
    align-items: flex-start;   /* 左上固定 */
  }

  .hero__copy{
    width: 100%;
    /* 横幅を少し絞って、人物の顔を隠しにくくする */
    max-width: min(300px, 90vw);
    padding-left: 0;           /* さらに左へ */
    padding-right: 0;
  }

  .hero__actions{ margin-top: 8px; margin-bottom: 18px; }
  .hero__actions .btn{ padding: 9px 14px; font-size: 14px; }

  /* スマホ：上〜左グラデ（人物の顔に文字が被らない保険） */
  .hero::before{
    background:
      radial-gradient(520px 320px at 18% 16%, rgba(255,255,255,.92), rgba(255,255,255,0) 74%),
      linear-gradient(to right,
        rgba(255,255,255,.84) 0%,
        rgba(255,255,255,.50) 46%,
        rgba(255,255,255,0) 80%
      ) !important;
  }
  .hero__fade{ display: none; }

  .hero__bg-media{
    inset: -58%;
    background-position:
      calc(50% + var(--bg-shift-mobile, var(--bg-shift, 0%)))
      calc(50% + var(--bg-shift-y-mobile, var(--bg-shift-y, 0%)));
    transform:
      scale(var(--bg-zoom-mobile, var(--bg-zoom, 1)))
      scaleX(var(--bg-flip, 1));
  }

  .hero__title{
    /* タイトルを少し小さくして、人物の顔を隠しにくくする */
    font-size: clamp(24px, 6.8vw, 32px);
    line-height: 1.12;
    margin-bottom: 8px;
  }
  .hero__lead{
    font-size: 13px;
    line-height: 1.6;
    margin-bottom: 8px;
  }

  /* CTAと実績の間に余白を作りつつ、全体は上へ寄せる */
  .hero__actions{ margin: 10px 0 16px; }
  .hero__actions .btn{ padding: 9px 14px; font-size: 13px; }

  /* KPI：さらに小さく＆間隔を詰める（iPhone SEでも収まる想定） */
  .kpi{ gap: 6px; margin-top: 8px; }
  .wreath-wrap{ width: 100px; height: 60px; }
  .wreath-text{ transform: translateY(-10px); }
  .wreath-text b{ font-size: 22px; }
  .wreath-text small{ font-size: 8px; }
  .kpi__label{ transform: translateY(-38px); font-size: 8.5px; }
}

/* =========================================
   FV 最終レイアウト微調整（プロ版Fix）
   ========================================= */

/* ======================
   KPI 共通（間隔を詰める）
   ====================== */

   .kpi{
    margin-top: 42px; /* ボタンとの余白を増やす（全デバイス共通） */
  }
  
  .kpi__item + .kpi__item{
    margin-left: -22px; /* KPI同士をギュッとまとめる */
  }
  
  
  /* ======================
     Tablet調整（1024px以下）
     ====================== */
  
  @media (max-width:1024px){
  
    /* FV全体を少し上へ */
    .hero__wrap{
      padding-top: 64px;
    }
  
    /* KPIサイズを小さく */
    .wreath-wrap{
      width:130px;
      height:76px;
    }
  
    .wreath-text b{
      font-size:26px;
    }
  
    .wreath-text small{
      font-size:10px;
    }
  
    /* KPIの間隔さらに詰める */
    .kpi__item + .kpi__item{
      margin-left:-14px;
    }
  
  }
  
  
  /* ======================
     Mobile調整（720px以下）
     ====================== */
  
  @media (max-width:720px){
  
    /* ===== FV全体をもっと上へ（ヘッダー直下） ===== */
  
    .hero__wrap{
      padding-top:14px;   /* ←これが超重要 */
      align-items:flex-start;
    }
  
    .hero__copy{
      padding-left:0px; /* 左上寄せ強化 */
      max-width:320px;
    }
  
    /* ===== タイトルを小さく ===== */
  
    .hero__title{
      font-size:24px;
      line-height:1.18;
      margin-bottom:8px;
    }
  
    .hero__lead{
      font-size:12px;
      margin-bottom:10px;
    }
  
    /* ===== ボタンとKPIの距離 ===== */
  
    .kpi{
      margin-top:22px;
    }
  
    /* ===== KPIをさらに小型化 ===== */
  
    .wreath-wrap{
      width:94px;
      height:56px;
    }
  
    .wreath-text{
      transform:translateY(-10px);
    }
  
    .wreath-text b{
      font-size:18px;
    }
  
    .wreath-text small{
      font-size:8px;
    }
  
    .kpi__label{
      font-size:8px;
      transform:translateY(-38px);
    }
  
    /* KPIの横間隔をかなり詰める */
    .kpi__item + .kpi__item{
      margin-left:-18px;
    }
  
        /* ===== KPI：スマホだけ2段（2列）＋3つ目を下段中央 ===== */
    .kpi{
      display: grid; /* flexを上書き */
      grid-template-columns: repeat(2, max-content);
      justify-content: start;
      column-gap: 0px; /* 1段目の2つの間隔（好みで調整） */
      row-gap: 6px;     /* 2段目との間隔（好みで調整） */
    }

    /* いまの「詰める用の負のmargin」を無効化（gridだと邪魔になる） */
    .kpi__item + .kpi__item{
      margin-left: 0;
    }

    /* 3つ目（派遣先）を下段中央へ */
    .kpi__item:nth-child(3){
      grid-column: 1 / -1;   /* 2列ぶん使う */
      justify-self: center;  /* 中央寄せ */
    }

        /* 2つ目（所属コーチ人数）を左へ寄せる */
    .kpi__item:nth-child(2){
      transform: translateX(-10px);
    }

    /* 3つ目（派遣先）も少し左へ寄せる（中央のまま“気持ち左”） */
    .kpi__item:nth-child(3){
      transform: translateX(-5px);
    }
  }

  /* ===============================
   LEGAL PAGE
================================ */

.legal {
  padding: 80px 0 120px;
}

.legal__title {
  font-size: 42px;
  font-weight: 700;
  text-align: center;
  margin-bottom: 40px;
}

.legal__lead {
  max-width: 820px;
  margin: 0 auto 40px;
  line-height: 1.9;
  color: #555;
  text-align: center;
}

.legal__box {
  max-width: 820px;
  margin: 0 auto 70px;
  padding: 24px 28px;
  background: #f7f8fb;
  border-left: 4px solid #5b7cff;
  line-height: 1.9;
}

.legal__box ul {
  margin-top: 10px;
  padding-left: 20px;
}

.legal__section {
  max-width: 820px;
  margin: 0 auto 50px;
}

.legal__section h2 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 1px solid #e3e3e3;
}

.legal__section h3 {
  font-size: 17px;
  margin-top: 20px;
  margin-bottom: 8px;
  font-weight: 600;
}

.legal__section p {
  line-height: 1.9;
  color: #444;
}

.legal__section ul,
.legal__section ol {
  padding-left: 20px;
  margin-top: 10px;
  line-height: 1.9;
}

.legal__date {
  text-align: right;
  margin-top: 60px;
  color: #777;
}