/* トップページ（/）— lp_agent_x5 をベースにしたスタイル（PC/SP レスポンシブ）。フッターは共通フッター（components/common/footer.tsx）を使用 */
:root {
  --bg: #22252c;
  --bg-2: #2b2f38;
  --paper: #f6f5f2;
  --paper-2: #ecebe6;
  --ink: #0b0d12;
  --ink-2: #4a4a48;
  --ink-3: #8a8a86;
  --gold: #bd8700;
  --gold-2: #c8a96a;
  --gold-3: #b3945a;
  --white: #fff;
  --line: rgba(0, 0, 0, 0.08);
  --line-dark: rgba(255, 255, 255, 0.12);
  --radius: 10px;
  --max: 1120px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; }
body {
  font-family: "Noto Sans JP", sans-serif;
  background: var(--paper);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  line-height: 1.8;
  font-size: 15px;
}
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
ul, ol { list-style: none; }
.inner { max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.pc { display: initial; }
.sp { display: none; }
@media (max-width: 767px) {
  .pc { display: none !important; }
  .sp { display: initial; }
}

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 90;
  background: var(--bg);
  color: var(--white);
}
.site-header .inner { display: flex; align-items: center; justify-content: space-between; height: 60px; }
.site-logo img { width: 140px; }
.site-nav { display: flex; align-items: center; gap: 22px; flex-shrink: 0; }
.site-nav a { white-space: nowrap; }
.site-nav-link { font-size: 13px; opacity: 0.85; }
.site-nav-link:hover { opacity: 1; }
.site-nav-login { font-size: 13px; opacity: 0.85; }
.site-nav-login:hover { opacity: 1; }
.site-nav-register {
  font-size: 13px; font-weight: 700; padding: 7px 14px; border-radius: 6px;
  border: 1px solid rgba(255,255,255,0.4);
}
.site-nav-register:hover { border-color: var(--white); }
.site-nav-cta {
  font-size: 13px; font-weight: 700; padding: 8px 16px; border-radius: 6px;
  background: var(--gold); color: var(--white);
}
@media (max-width: 767px) {
  .site-header .inner { height: 52px; gap: 12px; }
  .site-logo { flex-shrink: 1; min-width: 0; }
  .site-logo img { width: 110px; max-width: 100%; }
  .site-nav { gap: 10px; }
  .site-nav-login, .site-nav-register, .site-nav-cta { font-size: 12px; }
  .site-nav-register { padding: 6px 9px; }
  .site-nav-cta { padding: 7px 10px; }
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 16px 28px; border-radius: 6px; font-weight: 700; font-size: 16px; letter-spacing: 0.04em;
  transition: transform 0.15s, opacity 0.15s;
}
.btn:hover { transform: translateY(-1px); opacity: 0.94; }
.btn-primary { background: var(--gold); color: var(--white); }
.btn-ghost { background: transparent; color: var(--ink); border: 1px solid var(--ink); padding: 12px 28px; font-size: 14px; }
.btn-arrow { font-weight: 400; }
.btn-note { font-size: 12px; color: var(--ink-3); margin-top: 8px; }
.btn-sm { padding: 10px 14px; font-size: 13px; border-radius: 5px; }

/* ---------- section common ---------- */
section { padding: 80px 0; }
.section-label { font-size: 11px; letter-spacing: 0.22em; color: var(--gold-3); font-weight: 700; margin-bottom: 10px; }
.section-title { font-size: 32px; line-height: 1.4; font-weight: 800; letter-spacing: 0.02em; }
.section-lead { margin-top: 16px; color: var(--ink-2); max-width: 720px; }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; }
.section-count { font-size: 13px; color: var(--ink-3); white-space: nowrap; }
.section-more { font-size: 13px; color: var(--ink-2); border-bottom: 1px solid currentColor; white-space: nowrap; }
.more-wrap { text-align: center; margin-top: 32px; }
.em { color: var(--gold-2); }
@media (max-width: 767px) {
  body { font-size: 14.5px; -webkit-tap-highlight-color: transparent; }
  .inner { padding: 0 20px; }
  section { padding: 48px 0; }
  .section-label { font-size: 10.5px; margin-bottom: 8px; }
  .section-title { font-size: 26px; line-height: 1.35; }
  .section-lead { font-size: 14px; margin-top: 12px; line-height: 1.75; }
  .section-head { flex-direction: column; align-items: flex-start; gap: 6px; }
  .btn { padding: 15px 20px; font-size: 15px; border-radius: 10px; }
}

/* ---------- SP 横スワイプカルーセル（ネイティブアプリ風：端に次カードを見せる） ---------- */
@media (max-width: 767px) {
  .sp-carousel {
    display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch;
    margin-left: -20px; margin-right: -20px; padding: 4px 20px 8px; scroll-padding-left: 20px;
    scrollbar-width: none;
  }
  .sp-carousel::-webkit-scrollbar { display: none; }
  .sp-carousel > * { flex: 0 0 82%; scroll-snap-align: start; }
  .sp-carousel::after { content: ""; flex: 0 0 8px; }
}

/* ---------- FV ---------- */
.fv {
  position: relative; background: var(--bg); color: var(--white); overflow: hidden;
  padding: 72px 0 64px;
}
.fv-inner { position: relative; z-index: 1; display: flex; align-items: center; min-height: 540px; }
.fv-copy { max-width: 580px; }
.fv-kicker { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 18px; }
.fv-kicker-label { font-size: 11px; letter-spacing: 0.22em; color: var(--gold-2); font-weight: 700; }
.fv-title { font-size: 48px; line-height: 1.3; font-weight: 800; letter-spacing: 0.02em; }
.fv-lead { margin-top: 22px; font-size: 16px; color: rgba(255,255,255,0.8); }
.fv-lead-strong { display: block; margin-bottom: 8px; font-size: 21px; line-height: 1.5; font-weight: 800; color: var(--white); letter-spacing: 0.02em; }
.fv-actions { margin-top: 32px; }
.fv-actions .btn { min-width: 360px; }
.fv-actions .btn-note { color: rgba(255,255,255,0.6); }
.fv-why-link { display: block; width: fit-content; margin-top: 18px; font-size: 13.5px; color: rgba(255,255,255,0.78); border-bottom: 1px solid rgba(255,255,255,0.35); line-height: 1.5; }
.fv-why-link:hover { color: var(--white); border-color: var(--white); }

/* 求職者側のビジュアル（PC: 人物が右寄りの横長画像を最大 --fv-visual-max で中央に敷き、コピーが乗る左側だけ暗くする。人物・スマホにはレイヤーをかけない） */
.fv { --fv-visual-max: 1440px; }
.fv-visual { position: absolute; top: 0; bottom: 0; left: 50%; width: 100%; max-width: var(--fv-visual-max); transform: translateX(-50%); z-index: 0; }
.fv-visual img { width: 100%; height: 100%; object-fit: cover; object-position: center 12%; position: absolute; inset: 0; }
.fv-visual::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(90deg, var(--bg) 0%, rgba(34,37,44,0.9) 6%, rgba(34,37,44,0.78) 25%, rgba(34,37,44,0.4) 42%, rgba(34,37,44,0) 56%),
    linear-gradient(270deg, var(--bg) 0%, rgba(34,37,44,0) 8%),
    linear-gradient(180deg, var(--bg) 0%, rgba(34,37,44,0) 7%);
}

@media (max-width: 1023px) {
  .fv-title { font-size: 40px; }
  .fv-inner { min-height: 480px; }
  .fv-copy { max-width: 520px; }
}
@media (max-width: 767px) {
  /* SP: 求職者写真を FV 全面の背景にして、コピーを下部に重ねる（x3 と同じ見せ方） */
  .fv { padding: 0 0 36px; min-height: min(100svh, 760px); display: flex; flex-direction: column; justify-content: flex-end; }
  .fv-inner { position: static; display: block; padding: 0; width: 100%; min-height: 0; }
  .fv-copy { position: relative; z-index: 2; padding: 0 20px; }
  /* 写真は FV より少し縦に大きく取って上へずらし、スマホを持つ手元がコピーに隠れないようにする */
  .fv-visual { inset: -15% 0 0 0; max-width: none; transform: none; }
  .fv-visual img { object-position: center 0; }
  .fv-visual::after { background: linear-gradient(180deg, rgba(34,37,44,0.55) 0%, rgba(34,37,44,0.05) 22%, rgba(34,37,44,0) 40%, rgba(34,37,44,0.55) 58%, rgba(34,37,44,0.94) 78%, var(--bg) 100%); }
  .fv-kicker { margin-bottom: 12px; }
  .fv-title { font-size: 34px; line-height: 1.25; text-shadow: 0 2px 16px rgba(0,0,0,0.45); }
  .fv-lead { font-size: 14px; margin-top: 16px; color: rgba(255,255,255,0.88); text-shadow: 0 1px 8px rgba(0,0,0,0.5); }
  .fv-lead-strong { font-size: 17px; margin-bottom: 6px; }
  .fv-actions { margin-top: 22px; }
  .fv-actions .btn { min-width: 0; width: 100%; }
  .fv-actions .btn-note { text-align: center; }
  .fv-why-link { margin: 14px auto 0; font-size: 13px; text-shadow: 0 1px 8px rgba(0,0,0,0.5); }
}

/* ---------- alumni (出身企業ワードマーク) ---------- */
.alumni { background: var(--bg); color: var(--white); padding: 0 0 56px; border-bottom: 1px solid var(--line-dark); }
.alumni-title { font-size: 11px; letter-spacing: 0.22em; color: var(--gold-2); font-weight: 700; text-align: center; padding-top: 8px; }
.alumni-marquee {
  margin-top: 26px; overflow: hidden; position: relative;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}
.alumni-track { display: flex; align-items: center; gap: 64px; width: max-content; padding-right: 64px; animation: alumni-scroll 45s linear infinite; }
.alumni-track-2 { margin-top: 28px; animation-direction: reverse; animation-duration: 52s; }
.alumni-marquee:hover .alumni-track { animation-play-state: paused; }
@keyframes alumni-scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.wm { white-space: nowrap; color: rgba(255,255,255,0.78); line-height: 1; opacity: 0.9; }
.wm-serif { font-family: Georgia, "Times New Roman", "Hiragino Mincho ProN", serif; font-size: 26px; font-weight: 700; letter-spacing: 0.01em; }
.wm-bold { font-size: 26px; font-weight: 900; letter-spacing: 0.06em; }
.wm-wide { font-size: 20px; font-weight: 800; letter-spacing: 0.26em; }
.wm-light { font-size: 26px; font-weight: 300; letter-spacing: 0.02em; }
.wm-jp { font-size: 19px; font-weight: 800; letter-spacing: 0.12em; }
@media (max-width: 767px) {
  .alumni { padding-bottom: 40px; }
  .alumni-marquee { margin-top: 18px; }
  .alumni-track { gap: 40px; padding-right: 40px; animation-duration: 36s; }
  .alumni-track-2 { margin-top: 18px; animation-duration: 42s; }
  .wm-serif, .wm-bold, .wm-light { font-size: 21px; }
  .wm-wide { font-size: 16px; }
  .wm-jp { font-size: 15px; }
}

/* ---------- voices (エージェント本人の動画スライダー) ---------- */
.voices { background: var(--bg); color: var(--white); padding: 72px 0 80px; }
.voices-inner { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 64px; align-items: center; }
.voices .section-label { color: var(--gold-2); }
.voices-lead { margin-top: 18px; color: rgba(255,255,255,0.78); }
.voices-actions { margin-top: 28px; }
.btn-light { background: var(--white); color: var(--bg); }

.voice-slider { position: relative; aspect-ratio: 4 / 5; border-radius: 14px; overflow: hidden; background: #000; touch-action: pan-y; }
.voice-slide { position: absolute; inset: 0; opacity: 0; transition: opacity 0.6s; }
.voice-slide.is-active { opacity: 1; }
.voice-slide-body { transition: opacity 0.3s 0.3s; }
.voice-slide:not(.is-active) .voice-slide-body { opacity: 0; transition: opacity 0.15s; }
.voice-slide img, .voice-slide video { width: 100%; height: 100%; object-fit: cover; object-position: center top; position: absolute; inset: 0; }
/* ポスターの上に動画/anim を重ね、再生が始まったものだけフェードイン（読込中の黒画面を見せない） */
.voice-slide video, .voice-slide img.voice-anim { opacity: 0; transition: opacity 0.4s; }
.voice-slide.is-playing video, .voice-slide.is-playing img.voice-anim { opacity: 1; }
.voice-slide::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,0) 30%, rgba(0,0,0,0.85) 100%); }
.voice-slide-body { position: absolute; left: 0; right: 0; bottom: 0; padding: 22px; z-index: 1; }
.voice-slide-label { display: none; }
.voice-slide-kicker { display: inline-block; font-size: 10px; letter-spacing: 0.14em; background: var(--gold-3); color: var(--white); padding: 2px 8px; border-radius: 3px; font-weight: 700; }
.voice-slide-name { font-size: 24px; font-weight: 800; margin-top: 8px; line-height: 1.2; }
.voice-slide-name span { font-size: 12px; font-weight: 400; opacity: 0.7; margin-left: 8px; }
.voice-slide-career { margin-top: 10px; display: flex; flex-direction: column; gap: 2px; }
.voice-slide-career li { font-size: 13px; font-weight: 700; padding-left: 14px; position: relative; }
.voice-slide-career li::before { content: ""; position: absolute; left: 0; top: 0.75em; width: 6px; height: 6px; border-radius: 50%; background: rgba(255,255,255,0.5); }
.voice-slide-career li.now::before { background: var(--gold-2); }
.voice-slide-career li span { font-size: 11px; font-weight: 400; opacity: 0.75; margin-left: 6px; }
.voice-slide-tags { margin-top: 10px; font-size: 11px; color: var(--gold-2); }
.voice-dots { position: absolute; top: 14px; right: 14px; display: flex; gap: 6px; z-index: 2; }
.voice-dots button { width: 8px; height: 8px; border-radius: 50%; background: rgba(255,255,255,0.35); }
.voice-dots button.is-active { background: var(--white); }
@media (max-width: 1023px) {
  .voices-inner { gap: 32px; grid-template-columns: 0.9fr 1.1fr; }
}
@media (max-width: 767px) {
  .voices { padding: 48px 0 56px; }
  .voices-inner { display: block; }
  .voices-copy { margin-top: 24px; }
  .voices-lead { font-size: 14px; margin-top: 12px; line-height: 1.75; }
  .voices-lead br { display: none; }
  .voices-actions { margin-top: 20px; }
  .voices-actions .btn { width: 100%; }
  .voice-slider { aspect-ratio: 4 / 5; border-radius: 12px; }
  .voice-slide-body { padding: 18px; }
  .voice-slide-name { font-size: 22px; }
  .voice-slide-career li { font-size: 12.5px; }
}

/* ---------- why (トップ転職エージェントに相談する価値) ---------- */
.why { background: var(--paper); }
.why-grid { margin-top: 40px; display: grid; grid-template-columns: 320px 1fr; gap: 48px; align-items: start; }
.why-speaker { margin: 0; position: sticky; top: 96px; }
.why-speaker-photo { display: block; }
.why-speaker img { width: 100%; aspect-ratio: 2 / 3; object-fit: cover; object-position: center top; border-radius: 16px; display: block; }
.why-speaker figcaption { margin-top: 16px; display: flex; flex-direction: column; gap: 2px; }
.why-speaker-name { font-size: 18px; font-weight: 800; letter-spacing: 0.04em; }
.why-speaker-role { font-size: 12px; line-height: 1.6; color: var(--ink-3); }
.why-speaker-quote { margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--line); font-size: 15px; line-height: 1.8; font-weight: 700; color: var(--ink); }
.why-list { display: flex; flex-direction: column; gap: 16px; }
.why-item {
  background: var(--white); border: 1px solid var(--line); border-radius: 16px;
  padding: 28px 32px 30px; box-shadow: 0 10px 30px rgba(11, 13, 18, 0.05);
}
.why-title { font-size: 21px; font-weight: 800; line-height: 1.4; }
.why-toggle { display: grid; grid-template-columns: 48px 1fr; column-gap: 20px; align-items: start; width: 100%; text-align: left; padding: 0; cursor: default; }
.why-num { font-size: 26px; line-height: 1; letter-spacing: 0.02em; color: var(--gold-3); font-weight: 800; padding-top: 4px; }
.why-chevron { display: none; }
.why-body { padding-left: 68px; }
.why-text { margin-top: 12px; font-size: 14.5px; color: var(--ink-2); line-height: 1.85; }
.why-close {
  margin-top: 40px; padding: 36px 40px; border-radius: 16px;
  background: var(--bg); color: var(--white);
  display: flex; align-items: center; justify-content: space-between; gap: 32px;
}
.why-close-text { font-size: 15px; line-height: 1.8; color: rgba(255,255,255,0.82); }
.why-close-text strong { display: block; font-size: 20px; line-height: 1.55; font-weight: 800; color: var(--gold-2); }
.why-close .btn { flex-shrink: 0; min-width: 280px; }
@media (max-width: 1023px) {
  .why-grid { grid-template-columns: 260px 1fr; gap: 32px; }
}
@media (max-width: 767px) {
  .why-grid { margin-top: 24px; grid-template-columns: 1fr; gap: 24px; }
  .why-speaker { position: static; display: grid; grid-template-columns: 1fr; }
  .why-speaker-photo { grid-area: 1 / 1; position: relative; border-radius: 16px; overflow: hidden; }
  .why-speaker img { aspect-ratio: 4 / 5; object-position: center top; border-radius: 0; }
  .why-speaker-photo::after {
    content: ""; position: absolute; inset: 0;
    background: linear-gradient(180deg, rgba(11,13,18,0) 55%, rgba(11,13,18,0.75) 100%);
  }
  .why-speaker figcaption { margin-top: 0; display: contents; }
  .why-speaker-name, .why-speaker-role { grid-area: 1 / 1; align-self: end; justify-self: start; z-index: 1; color: var(--white); margin-left: 18px; }
  .why-speaker-name { margin-bottom: 36px; font-size: 18px; }
  .why-speaker-role { margin-bottom: 16px; font-size: 11px; line-height: 1.4; color: rgba(255,255,255,0.8); }
  .why-speaker-role br { display: none; }
  .why-speaker-quote {
    grid-row: 2; margin-top: 18px; padding: 0 0 0 16px; border-top: 0; border-left: 3px solid var(--gold);
    font-size: 17px; line-height: 1.7; font-weight: 800; color: var(--ink);
  }
  .why-list { gap: 10px; }
  .why-item { padding: 0; border-radius: 14px; box-shadow: none; }
  .why-title { font-size: 15px; }
  .why-toggle { grid-template-columns: 30px 1fr 16px; column-gap: 8px; align-items: center; padding: 18px 14px 18px 16px; cursor: pointer; }
  .why-num { font-size: 18px; padding-top: 0; }
  .why-chevron { display: block; width: 16px; height: 16px; position: relative; }
  .why-chevron::before, .why-chevron::after {
    content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 2px;
    background: var(--gold-3); transform: translate(-50%, -50%); transition: transform 0.2s;
  }
  .why-chevron::after { transform: translate(-50%, -50%) rotate(90deg); }
  .why-item.is-open .why-chevron::after { transform: translate(-50%, -50%) rotate(0); }
  .why-body { display: none; padding: 0 16px 18px 54px; }
  .why-item.is-open .why-body { display: block; }
  .why-text { font-size: 14px; margin-top: 0; line-height: 1.8; }
  .why-close { margin-top: 24px; padding: 26px 20px; border-radius: 14px; flex-direction: column; align-items: stretch; gap: 20px; }
  .why-close-text { font-size: 14px; }
  .why-close-text strong { font-size: 17px; }
  .why-close .btn { min-width: 0; width: 100%; }
}

/* ---------- compare (既存サービスとの違い) ---------- */
.compare { background: var(--paper-2); }
.compare-list { margin-top: 40px; display: grid; gap: 18px; }
.compare-item {
  display: grid;
  grid-template-columns: minmax(0, 11fr) 56px minmax(0, 13fr);
  align-items: stretch;
  border-radius: 16px;
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: 0 10px 30px rgba(11, 13, 18, 0.06);
}
.compare-before, .compare-after { padding: 30px 34px; display: flex; flex-direction: column; justify-content: center; }
.compare-before { background: var(--white); color: var(--ink-3); }
.compare-arrow {
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(90deg, var(--white) 0%, var(--white) 50%, var(--bg) 50%, var(--bg) 100%);
  position: relative;
}
.compare-arrow::before {
  content: "→";
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--gold);
  color: var(--white);
  font-size: 18px; font-weight: 800;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 6px 16px rgba(189, 135, 0, 0.35);
}
.compare-arrow { font-size: 0; }
.compare-after { background: var(--bg); color: var(--white); }
.compare-tag { font-size: 12px; letter-spacing: 0.18em; font-weight: 700; color: var(--ink-3); }
.compare-after .compare-tag { color: var(--gold-2); }
.compare-text { margin-top: 12px; font-size: 18px; line-height: 1.65; font-weight: 600; }
.compare-before .compare-text { color: var(--ink-2); font-weight: 500; }
.compare-after .compare-text { font-size: 21px; line-height: 1.6; font-weight: 700; }
.compare-after .compare-text strong { font-weight: 800; color: var(--gold-2); }
.compare-line { display: block; }
.compare-line + .compare-line { margin-top: 8px; }
@media (max-width: 767px) {
  .compare-list { margin-top: 24px; gap: 14px; }
  .compare-item { grid-template-columns: 1fr; border-radius: 14px; box-shadow: none; }
  .compare-before, .compare-after { padding: 20px 20px; }
  .compare-before { padding-bottom: 34px; }
  .compare-arrow { height: 0; background: none; justify-content: center; }
  .compare-arrow::before { content: "↓"; width: 34px; height: 34px; font-size: 16px; transform: translateY(-50%); box-shadow: 0 0 0 4px var(--white); }
  .compare-after { padding-top: 32px; }
  .compare-text { font-size: 15.5px; }
  .compare-after .compare-text { font-size: 18px; }
  .compare-line + .compare-line { margin-top: 10px; }
}

/* ---------- ask / chips ---------- */
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.chip {
  padding: 10px 18px; border-radius: 999px; border: 1px solid var(--ink); font-size: 14px; font-weight: 600;
  background: var(--white); transition: all 0.15s;
}
.chip:hover { background: var(--paper-2); }
.chip.is-active { background: var(--ink); color: var(--white); }
@media (max-width: 767px) {
  .chips { gap: 8px; margin-top: 18px; flex-wrap: nowrap; overflow-x: auto; padding-bottom: 6px; margin-left: -20px; margin-right: -20px; padding-left: 20px; padding-right: 20px; scrollbar-width: none; }
  .chips::-webkit-scrollbar { display: none; }
  .chip { white-space: nowrap; font-size: 13.5px; padding: 10px 16px; }
}

/* ---------- agents ---------- */
.agents { background: var(--paper); }
.agents-head { display: flex; align-items: baseline; gap: 16px; margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line); }
.agents-sub { font-size: 15px; font-weight: 800; color: var(--ink); white-space: nowrap; }
.agents-note { font-size: 13px; color: var(--ink-3); }
.agent-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 20px; }
.agent-card {
  position: relative; background: var(--white); border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line);
  display: flex; flex-direction: column;
}
.agent-card-body { padding: 20px 18px 16px; display: flex; flex-direction: column; flex: 1; }
.agent-card-head { display: flex; gap: 12px; align-items: center; }
.agent-photo { display: block; width: 60px; height: 60px; border-radius: 50%; object-fit: cover; flex-shrink: 0; background: #ddd; }
.agent-name { font-size: 17px; font-weight: 800; line-height: 1.3; }
.agent-company { font-size: 11.5px; color: var(--ink-3); line-height: 1.5; }
.agent-pr { margin-top: 12px; font-size: 14px; font-weight: 700; color: var(--ink); line-height: 1.6; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.agent-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.agent-tags li { font-size: 11px; background: var(--paper-2); color: var(--ink-2); padding: 3px 9px; border-radius: 4px; }
.agent-tags li.hit { background: var(--ink); color: var(--white); }
.agent-actions { display: flex; gap: 8px; margin-top: auto; padding-top: 16px; }
.agent-actions .btn { flex: 1; padding-left: 8px; padding-right: 8px; }

.agent-card.is-teaser .agent-card-body { filter: blur(5px); opacity: 0.55; user-select: none; pointer-events: none; }
.agent-card.is-teaser .agent-photo { filter: blur(6px); }
.teaser-overlay {
  position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px;
  background: linear-gradient(180deg, rgba(246,245,242,0.2), rgba(246,245,242,0.75)); text-align: center;
}
.teaser-overlay strong { font-size: 32px; font-weight: 800; color: var(--ink); line-height: 1.1; }
.teaser-overlay span { font-size: 13px; font-weight: 700; color: var(--gold); border-bottom: 1px solid currentColor; }

.app-lock-cta { margin-top: 28px; padding: 28px 24px; border-radius: var(--radius); background: var(--white); border: 1px solid var(--line); text-align: center; }
.app-lock-cta:empty { display: none; }
.app-lock-title { font-size: 18px; font-weight: 800; line-height: 1.5; }
.app-lock-title strong { color: var(--gold); font-size: 24px; }
.app-lock-note { margin-top: 6px; font-size: 13px; color: var(--ink-2); }
.app-lock-cta .btn { margin-top: 18px; min-width: 280px; }
.app-lock-cta.dark { background: var(--bg-2); border-color: var(--line-dark); color: var(--white); }
.app-lock-cta.dark .app-lock-title strong { color: var(--gold-2); }
.app-lock-cta.dark .app-lock-note { color: rgba(255,255,255,0.7); }
@media (max-width: 1023px) { .agent-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; } }
@media (max-width: 767px) {
  .agents-head { flex-direction: column; gap: 6px; margin-top: 28px; padding-top: 20px; }
  .agents-note { font-size: 12.5px; line-height: 1.6; }
  .agent-grid { display: flex; margin-top: 16px; }
  .agent-card { border-radius: 16px; box-shadow: 0 6px 20px rgba(0,0,0,0.05); }
  .agent-card-body { padding: 18px 16px 14px; }
  .agent-photo { width: 56px; height: 56px; }
  .agent-name { font-size: 17px; }
  .agent-pr { font-size: 14px; }
  .agent-card.is-teaser .agent-actions { display: none; }
  .agent-card.is-teaser .agent-card-body { padding-bottom: 18px; }
  .teaser-overlay strong { font-size: 30px; }
  .app-lock-cta { margin-top: 18px; padding: 20px 18px; border-radius: 14px; }
  .app-lock-title { font-size: 16px; }
  .app-lock-title strong { font-size: 22px; }
  .app-lock-note { font-size: 12.5px; }
  .app-lock-cta .btn { margin-top: 14px; min-width: 0; width: 100%; }
}

/* ---------- cases ---------- */
.cases { background: var(--bg); color: var(--white); }
.cases .section-lead { color: rgba(255,255,255,0.75); }
.cases .section-count { color: rgba(255,255,255,0.5); }
.cases .btn-ghost { color: var(--white); border-color: rgba(255,255,255,0.5); }
.case-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 32px; }
.case-card { background: var(--bg-2); border: 1px solid var(--line-dark); border-radius: var(--radius); padding: 22px; display: flex; flex-direction: column; }
.case-row { display: grid; grid-template-columns: 52px 1fr; gap: 10px; align-items: baseline; }
.case-row + .case-row { margin-top: 8px; }
.case-row .k { font-size: 10px; letter-spacing: 0.18em; color: var(--gold-2); font-weight: 700; }
.case-row .v { font-size: 14px; line-height: 1.6; }
.case-row.after .v { font-size: 16px; font-weight: 800; }
.case-meta { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 12px; font-size: 12px; color: rgba(255,255,255,0.6); }
.case-meta strong { color: var(--white); font-weight: 700; }
.case-comment { margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--line-dark); font-size: 13px; color: rgba(255,255,255,0.8); line-height: 1.7; display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
.case-agent { display: flex; align-items: center; gap: 10px; margin-top: auto; padding-top: 16px; }
.case-agent img { width: 34px; height: 34px; border-radius: 50%; object-fit: cover; }
.case-agent .n { font-size: 13px; font-weight: 700; }
.case-agent .n small { display: block; font-size: 10.5px; font-weight: 400; color: rgba(255,255,255,0.55); }
.case-agent a { margin-left: auto; font-size: 12px; color: var(--gold-2); border-bottom: 1px solid currentColor; white-space: nowrap; }
@media (max-width: 1023px) { .case-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 767px) {
  .case-grid { display: flex; margin-top: 20px; }
  .case-card { border-radius: 16px; padding: 20px 18px; }
  .case-row .v { font-size: 14px; }
  .case-row.after .v { font-size: 17px; }
  .case-comment { -webkit-line-clamp: 5; font-size: 13.5px; }
}

/* ---------- flow ---------- */
.flow { background: var(--paper); }
.flow-list { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-top: 36px; }
.flow-item { display: flex; flex-direction: column; gap: 10px; }
.flow-num { font-size: 12px; letter-spacing: 0.2em; color: var(--gold-3); font-weight: 800; }
.flow-title { font-size: 17px; font-weight: 800; line-height: 1.4; }
.flow-text { font-size: 13.5px; color: var(--ink-2); margin-top: 6px; }
.flow-note { font-size: 11px; color: var(--ink-3); margin-top: 6px; }
@media (max-width: 1023px) { .flow-list { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 767px) {
  .flow-list { grid-template-columns: 1fr; gap: 0; margin-top: 20px; }
  .flow-item { flex-direction: row; gap: 14px; padding: 18px 0; border-bottom: 1px solid var(--line); }
  .flow-item:last-child { border-bottom: 0; }
  .flow-num { padding-top: 5px; }
  .flow-title { font-size: 16px; }
  .flow-text { margin-top: 4px; }
}

/* ---------- app ---------- */
.app { background: var(--paper-2); overflow: hidden; }
.app-inner { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 48px; align-items: center; }
.store-btns { display: flex; gap: 12px; margin-top: 28px; flex-wrap: wrap; }
.store-btn {
  display: inline-flex; align-items: center; gap: 10px; background: var(--ink); color: var(--white);
  padding: 10px 18px; border-radius: 8px; min-width: 180px;
}
.store-btn svg { width: 22px; height: 22px; flex-shrink: 0; }
.store-btn span { display: flex; flex-direction: column; line-height: 1.15; font-size: 17px; font-weight: 700; }
.store-btn small { font-size: 9.5px; font-weight: 400; opacity: 0.8; letter-spacing: 0.02em; }
.app-note { font-size: 12px; color: var(--ink-3); margin-top: 16px; }
.app-visual { display: flex; justify-content: center; align-items: flex-end; }
.app-shot { width: 260px; border-radius: 28px; box-shadow: 0 30px 60px rgba(0,0,0,0.25); }
.app-qr-cta { display: block; }
.app-qr-btns { display: flex; gap: 10px; margin-top: 12px; flex-wrap: wrap; }
.qr-btn { padding: 10px 18px; font-size: 13px; border-color: rgba(11,13,18,0.35); background: var(--white); }
.qr-btn:hover { border-color: var(--ink); }

/* QRモーダル（PCのみ。1枚だけ大きく表示し、隣のQRを誤読しないようにする） */
.qr-modal { position: fixed; inset: 0; z-index: 100; display: flex; align-items: center; justify-content: center; padding: 24px; }
.qr-modal[hidden] { display: none; }
.qr-modal-backdrop { position: absolute; inset: 0; background: rgba(11,13,18,0.6); }
.qr-modal-panel {
  position: relative; background: var(--white); color: var(--ink); border-radius: 16px;
  padding: 36px 40px 28px; width: 360px; max-width: 100%; text-align: center;
  box-shadow: 0 30px 80px rgba(0,0,0,0.35);
}
.qr-modal-close {
  position: absolute; top: 10px; right: 12px; width: 36px; height: 36px; border: 0; background: transparent;
  color: var(--ink-3); font-size: 28px; line-height: 1; cursor: pointer;
}
.qr-modal-close:hover { color: var(--ink); }
.qr-modal-kicker { font-size: 12px; color: var(--ink-3); }
.qr-modal-title { font-size: 20px; font-weight: 800; margin-top: 4px; }
.qr-modal-img { display: block; width: 240px; height: 240px; margin: 18px auto 0; image-rendering: pixelated; }
.qr-modal-store { font-size: 12px; color: var(--ink-2); margin-top: 12px; word-break: break-all; }
.qr-modal-switch { display: inline-flex; margin-top: 20px; border: 1px solid rgba(11,13,18,0.2); border-radius: 999px; padding: 3px; }
.qr-modal-switch button {
  border: 0; background: transparent; color: var(--ink-2); font-size: 13px; font-weight: 700;
  padding: 7px 18px; border-radius: 999px; cursor: pointer;
}
.qr-modal-switch button.is-active { background: var(--ink); color: var(--white); }
@media (max-width: 767px) {
  .app { padding-bottom: 0; }
  .app-inner { grid-template-columns: 1fr; gap: 24px; }
  .app-visual { align-items: flex-start; margin-bottom: -80px; }
  .app-shot { width: 220px; border-radius: 24px 24px 0 0; box-shadow: 0 20px 40px rgba(0,0,0,0.2); }
  .store-btns { flex-direction: row; gap: 10px; margin-top: 22px; }
  .store-btn { flex: 1; justify-content: center; min-width: 0; padding: 10px 12px; }
  .store-btn span { font-size: 15px; }
}

/* ---------- movies ---------- */
.movies { background: var(--paper); }
.movie-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px 16px; margin-top: 32px; }
.movie-card { display: block; color: inherit; }
.movie-card .thumb { aspect-ratio: 16 / 9; border-radius: 8px; overflow: hidden; background: #111; }
.movie-card .thumb img { width: 100%; height: 100%; object-fit: cover; }
.movie-card p { margin-top: 10px; font-size: 13px; font-weight: 700; line-height: 1.55; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
@media (max-width: 1023px) { .movie-row { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 767px) {
  .movies { padding-top: 56px; }
  .movie-row { display: flex; margin-top: 20px; }
  .movie-row > * { flex: 0 0 62%; }
  .movie-card .thumb { border-radius: 12px; }
  .movie-card p { font-size: 13px; -webkit-line-clamp: 2; }
}

/* ---------- faq ---------- */
.faq { background: var(--white); }
.faq-list { margin-top: 28px; border-top: 1px solid var(--line); max-width: 820px; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary { cursor: pointer; list-style: none; padding: 18px 40px 18px 0; font-weight: 700; font-size: 16px; position: relative; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; position: absolute; right: 4px; top: 50%; transform: translateY(-50%); font-size: 22px; font-weight: 300; color: var(--gold-3); }
.faq-item[open] summary::after { content: "−"; }
.faq-item p { padding: 0 0 18px; color: var(--ink-2); font-size: 14px; }
.faq-item p a { color: var(--gold); border-bottom: 1px solid currentColor; }

/* ---------- closing ---------- */
.closing { background: var(--bg); color: var(--white); text-align: center; }
.closing-title { font-size: 34px; line-height: 1.4; font-weight: 800; }
.closing-text { margin-top: 20px; color: rgba(255,255,255,0.75); max-width: 640px; margin-left: auto; margin-right: auto; }
.closing-actions { margin-top: 40px; }
.closing-actions .btn { min-width: 380px; }
.closing-actions .btn-note { color: rgba(255,255,255,0.6); }

@media (max-width: 767px) {
  .closing-title { font-size: 26px; }
  .closing-text { font-size: 14px; }
  .closing-actions { margin-top: 28px; }
  .closing-actions .btn { min-width: 0; width: 100%; }
  .faq-item summary { font-size: 15px; padding: 16px 36px 16px 0; }
  .faq-item p { font-size: 13.5px; }
}

/* ---------- footer ---------- */
/* 共通フッター（.Footer）のスタイルは footer_standalone.scss。ここでは SP のスティッキーCTA と重ならない余白のみ足す */
@media (max-width: 767px) { .Footer { padding-bottom: env(safe-area-inset-bottom); } }

/* ---------- sticky cta (SP) ---------- */
.sticky-cta {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 80; padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
  background: rgba(34,37,44,0.94); backdrop-filter: blur(8px); transform: translateY(110%); transition: transform 0.3s;
}
.sticky-cta.is-visible { transform: translateY(0); }
.sticky-cta .btn { width: 100%; padding: 14px; font-size: 15px; border-radius: 10px; }
