/* ================================================================
   新卒向け就活エージェント集客LP — CLARITY NOTE
   コバルトブルー #2454FF ／ 明るく編集的、売り込まない
   スマホファースト（390px基準 → 768px → 1080px+）
================================================================ */

:root {
  --blue: #2454FF;          /* Clarity Blue */
  --blue-dark: #1B41CC;
  --blue-deep: #12277A;     /* 宣言セクションの濃紺 */
  --ink: #111319;           /* Deep Ink */
  --ink-60: rgba(17, 19, 25, 0.66);
  --ink-40: rgba(17, 19, 25, 0.42);
  --ink-12: rgba(17, 19, 25, 0.12);
  --white: #FFFFFF;
  --air: #EAF3FF;           /* Air Blue */
  --coral: #FF6B55;         /* Coral Signal */
  --mist: #F4F6F9;          /* Mist Gray */
  --sans: "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic", "YuGothic", "Meiryo", sans-serif;
  --mono: "SF Mono", "Menlo", "Consolas", "Courier New", monospace;
  --radius: 10px;
  --sticky-h: 76px;
}

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

html { scroll-behavior: smooth; scroll-padding-top: 72px; }

body {
  font-family: var(--sans);
  color: var(--ink);
  background: var(--white);
  font-size: 16px;
  line-height: 1.9;
  -webkit-font-smoothing: antialiased;
  overflow-wrap: break-word;
}

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

a { color: var(--blue); }

::selection { background: var(--blue); color: #fff; }

/* キーボードフォーカス（コーラル） */
:focus-visible {
  outline: 3px solid var(--coral);
  outline-offset: 3px;
  border-radius: 4px;
}

.mono { font-family: var(--mono); letter-spacing: 0.06em; }

/* PC専用改行の制御 */
.sp { display: inline; }

/* ---------------------------------------------------------------
   共通
--------------------------------------------------------------- */
.section-inner { max-width: 1120px; margin: 0 auto; padding: 0 24px; }

.eyebrow {
  font-size: 12px;
  font-weight: 600;
  color: var(--ink-60);
  letter-spacing: 0.16em;
  margin-bottom: 18px;
}
.eyebrow .slash { color: var(--coral); padding: 0 2px; }
.eyebrow.on-blue { color: rgba(255, 255, 255, 0.75); }
.eyebrow.on-blue .slash { color: var(--coral); }

.section-title {
  font-size: clamp(26px, 6.6vw, 40px);
  font-weight: 800;
  line-height: 1.45;
  letter-spacing: 0.01em;
  margin-bottom: 36px;
}

/* ---------------------------------------------------------------
   ボタン
--------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--sans);
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  border: none;
  border-radius: var(--radius);
  transition: background 0.16s ease, transform 0.16s ease, box-shadow 0.16s ease;
}

.btn-cta {
  background: var(--blue);
  color: #fff;
  font-size: 16px;
  letter-spacing: 0.04em;
  padding: 15px 30px;
  min-height: 52px;
  box-shadow: 0 6px 18px rgba(36, 84, 255, 0.28);
  position: relative;
}
.btn-cta::after {
  content: "→";
  font-family: var(--mono);
  font-weight: 400;
  transition: transform 0.16s ease;
}
.btn-cta:hover {
  background: var(--blue-dark);
  transform: translateY(-1px);
  box-shadow: 0 10px 22px rgba(36, 84, 255, 0.34);
}
.btn-cta:hover::after { transform: translateX(3px); }
.btn-cta:active { transform: translateY(0); }

.btn-lg { width: 100%; max-width: 400px; min-height: 58px; font-size: 17px; }

.btn-header { min-height: 42px; padding: 8px 18px; font-size: 13.5px; box-shadow: none; }
.btn-header::after { content: none; }

.cta-note {
  font-size: 11.5px;
  color: var(--ink-60);
  margin-top: 12px;
  letter-spacing: 0.04em;
}

.section-cta { margin-top: 44px; }

/* ---------------------------------------------------------------
   ヘッダー
--------------------------------------------------------------- */
.header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--ink-12);
}
.header-inner {
  max-width: 1120px; margin: 0 auto;
  padding: 12px 24px;
  display: flex; align-items: center; gap: 20px;
}

.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.brand-mark {
  width: 30px; height: 30px;
  background: var(--blue);
  border-radius: 8px;
  position: relative;
  flex-shrink: 0;
}
.brand-mark::after {
  content: "";
  position: absolute; inset: 9px 8px 10px 8px;
  border-left: 2.5px solid #fff;
  border-bottom: 2.5px solid #fff;
  transform: rotate(-45deg) scale(1.05);
  transform-origin: center;
}
.brand-text { display: flex; flex-direction: column; line-height: 1.25; }
.brand-name { font-family: var(--sans); font-size: 16px; font-weight: 800; letter-spacing: 0.05em; }
.brand-sub { font-size: 10px; color: var(--ink-60); letter-spacing: 0.08em; }

.header-nav { display: none; }

.header .btn-header { margin-left: auto; }

/* ---------------------------------------------------------------
   ヒーロー
--------------------------------------------------------------- */
.hero {
  background: linear-gradient(180deg, var(--white) 0%, var(--air) 130%);
  overflow: hidden;
}
.hero-inner {
  max-width: 1120px; margin: 0 auto;
  padding: 48px 24px 56px;
  display: flex; flex-direction: column; gap: 36px;
}

.hero-title {
  font-size: clamp(34px, 9.7vw, 52px);
  font-weight: 800;
  line-height: 1.32;
  letter-spacing: 0.01em;
  margin-bottom: 20px;
}

.hero-body {
  font-size: 15.5px;
  color: var(--ink-60);
  max-width: 500px;
  margin-bottom: 28px;
}

.trust-line {
  list-style: none;
  display: flex; flex-wrap: wrap;
  gap: 8px;
  margin-top: 22px;
}
.trust-line li {
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: var(--blue-deep);
  background: var(--air);
  border: 1px solid rgba(36, 84, 255, 0.18);
  border-radius: 999px;
  padding: 5px 14px;
}

/* --- 写真 + Clarity Note --- */
.hero-visual { position: relative; }
.hero-photo {
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 18px 44px rgba(18, 39, 122, 0.16);
}
.hero-photo img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  object-position: 72% 30%; /* モバイル: 学生の表情を切らない */
}

.clarity-note {
  position: absolute;
  left: 14px; bottom: -26px;
  width: 232px;
  background: var(--white);
  border: 1px solid var(--ink-12);
  border-radius: 10px;
  box-shadow: 0 14px 30px rgba(17, 19, 25, 0.14);
  padding: 16px 18px 14px;
  transform: rotate(-2deg);
}
.clarity-note-title {
  font-size: 10px;
  font-weight: 700;
  color: var(--blue);
  letter-spacing: 0.14em;
  border-bottom: 1px solid var(--ink-12);
  padding-bottom: 8px;
  margin-bottom: 10px;
}
.clarity-note-label {
  font-size: 10.5px;
  font-weight: 600;
  color: var(--ink-40);
  letter-spacing: 0.08em;
  margin-bottom: 4px;
}
.clarity-note-list { list-style: none; margin-bottom: 10px; }
.clarity-note-list li {
  font-size: 12px;
  font-weight: 600;
  line-height: 1.6;
  padding: 3px 0 3px 24px;
  position: relative;
}
.clarity-note-list li::before {
  content: "";
  position: absolute; left: 2px; top: 7px;
  width: 12px; height: 12px;
  border: 1.5px solid var(--ink-40);
  border-radius: 3px;
}
.clarity-note-list li.unchecked { color: var(--ink-40); text-decoration: line-through; text-decoration-thickness: 1px; }
.clarity-note-list li.checked::before {
  background: var(--blue);
  border-color: var(--blue);
}
.clarity-note-list li.checked::after {
  content: "";
  position: absolute; left: 5px; top: 10px;
  width: 6px; height: 3.5px;
  border-left: 1.5px solid #fff;
  border-bottom: 1.5px solid #fff;
  transform: rotate(-45deg);
}
.clarity-note-list li.checked { color: var(--ink); }

/* ---------------------------------------------------------------
   共感（独り言）
--------------------------------------------------------------- */
.empathy { padding: 88px 0 72px; }
.voices { max-width: 640px; }
.voice {
  font-size: clamp(17px, 4.6vw, 22px);
  font-weight: 700;
  line-height: 1.75;
  color: var(--ink);
  padding: 14px 0 14px 22px;
  border-left: 3px solid var(--air);
  position: relative;
}
.voice::before {
  content: "";
  position: absolute; left: -3px; top: 14px;
  height: 26px; width: 3px;
  background: var(--coral);
}
.voice + .voice { margin-top: 10px; }
.voice:nth-child(even) { margin-left: 0; }

/* ---------------------------------------------------------------
   相談後に得られるもの
--------------------------------------------------------------- */
.value { background: var(--mist); padding: 80px 0; }
.value-grid { display: grid; grid-template-columns: 1fr; gap: 18px; }
.value-item {
  background: var(--white);
  border: 1px solid var(--ink-12);
  border-radius: 12px;
  padding: 26px 24px;
  position: relative;
}
.value-num {
  font-size: 13px;
  font-weight: 700;
  color: var(--blue);
  letter-spacing: 0.14em;
  margin-bottom: 12px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--air);
}
.value-item h3 {
  font-size: 18.5px;
  font-weight: 800;
  letter-spacing: 0.02em;
  margin-bottom: 8px;
}
.value-item p { font-size: 14px; color: var(--ink-60); }

/* ---------------------------------------------------------------
   売り込まない宣言
--------------------------------------------------------------- */
.promise {
  background: var(--blue-deep);
  color: #fff;
  padding: 88px 0;
}
.promise-title {
  font-size: clamp(26px, 6.8vw, 42px);
  font-weight: 800;
  line-height: 1.5;
  letter-spacing: 0.01em;
  margin-bottom: 22px;
}
.promise-body {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.8);
  max-width: 560px;
  margin-bottom: 32px;
}
.promise-points { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.promise-points li {
  font-size: 14.5px;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding-left: 30px;
  position: relative;
}
.promise-points li::before {
  content: "";
  position: absolute; left: 2px; top: 8px;
  width: 14px; height: 8px;
  border-left: 2.5px solid var(--coral);
  border-bottom: 2.5px solid var(--coral);
  transform: rotate(-45deg);
}

/* ---------------------------------------------------------------
   利用の流れ
--------------------------------------------------------------- */
.flow { padding: 88px 0 80px; }
.flow-list {
  list-style: none;
  display: flex; flex-direction: column;
  gap: 0;
  max-width: 640px;
}
.flow-step {
  position: relative;
  padding: 0 0 34px 58px;
}
.flow-step:not(:last-child)::after {
  content: "";
  position: absolute; left: 20px; top: 46px; bottom: 8px;
  border-left: 2px dashed rgba(36, 84, 255, 0.25);
}
.flow-num {
  position: absolute; left: 0; top: 0;
  width: 41px; height: 41px;
  display: flex; align-items: center; justify-content: center;
  background: var(--air);
  color: var(--blue);
  font-size: 14px;
  font-weight: 700;
  border-radius: 50%;
  letter-spacing: 0.04em;
}
.flow-step h3 {
  font-size: 18px;
  font-weight: 800;
  letter-spacing: 0.02em;
  padding-top: 6px;
  margin-bottom: 6px;
}
.flow-step p { font-size: 14px; color: var(--ink-60); }
.flow-note {
  font-size: 13.5px;
  color: var(--ink-60);
  border-top: 1px solid var(--ink-12);
  max-width: 640px;
  padding-top: 18px;
}

/* ---------------------------------------------------------------
   FAQ
--------------------------------------------------------------- */
.faq { background: var(--mist); padding: 80px 0; }
.faq-list { max-width: 760px; }
.faq-item {
  background: var(--white);
  border: 1px solid var(--ink-12);
  border-radius: 12px;
  margin-bottom: 12px;
}
.faq-item summary {
  list-style: none;
  display: flex; align-items: baseline; gap: 14px;
  cursor: pointer;
  font-size: 15.5px;
  font-weight: 700;
  line-height: 1.7;
  padding: 18px 52px 18px 20px;
  position: relative;
  border-radius: 12px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-q { font-size: 12px; font-weight: 700; color: var(--blue); flex-shrink: 0; }
.faq-toggle {
  position: absolute; right: 20px; top: 50%;
  width: 14px; height: 14px;
  transform: translateY(-50%);
}
.faq-toggle::before, .faq-toggle::after {
  content: "";
  position: absolute;
  background: var(--blue);
  transition: transform 0.18s ease;
}
.faq-toggle::before { left: 0; right: 0; top: 6px; height: 2px; }
.faq-toggle::after { top: 0; bottom: 0; left: 6px; width: 2px; }
.faq-item[open] .faq-toggle::after { transform: scaleY(0); }
.faq-a { padding: 0 20px 20px 54px; }
.faq-a p { font-size: 14px; color: var(--ink-60); }

/* 実データ差し替えプレースホルダー（公開前に必ず消す） */
.ph {
  background: #FFF3C4;
  color: #7A5C00;
  font-size: 0.92em;
  padding: 1px 6px;
  border-radius: 4px;
  border: 1px dashed #D9A800;
}

/* ---------------------------------------------------------------
   最終CTA
--------------------------------------------------------------- */
.final {
  background: linear-gradient(180deg, var(--white) 0%, var(--air) 100%);
  padding: 96px 0 104px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.final .section-inner { position: relative; }
.final-note {
  display: inline-block;
  background: var(--white);
  border: 1px solid var(--ink-12);
  border-radius: 10px;
  box-shadow: 0 10px 24px rgba(17, 19, 25, 0.1);
  padding: 12px 18px 4px;
  transform: rotate(2deg);
  margin-bottom: 30px;
  text-align: left;
}
.final-title {
  font-size: clamp(26px, 7vw, 46px);
  font-weight: 800;
  line-height: 1.45;
  letter-spacing: 0.01em;
  margin-bottom: 18px;
}
.final-body { font-size: 15px; color: var(--ink-60); margin-bottom: 8px; }
.final .section-cta { margin-top: 32px; display: flex; flex-direction: column; align-items: center; }

/* ---------------------------------------------------------------
   フッター
--------------------------------------------------------------- */
.footer {
  background: var(--ink);
  color: rgba(255, 255, 255, 0.7);
  padding: 48px 0 32px;
  /* スマホ追従CTAの高さ分 */
  padding-bottom: calc(32px + var(--sticky-h) + env(safe-area-inset-bottom));
}
.footer-inner { max-width: 1120px; margin: 0 auto; padding: 0 24px; }
.footer-brand { font-size: 15px; font-weight: 700; color: #fff; letter-spacing: 0.12em; margin-bottom: 10px; }
.footer-company { font-size: 13px; margin-bottom: 14px; }
.footer-links { list-style: none; display: flex; flex-wrap: wrap; gap: 18px; margin-bottom: 18px; }
.footer-links a { color: rgba(255, 255, 255, 0.7); font-size: 13px; }
.footer-note { font-size: 12px; line-height: 1.9; color: rgba(255, 255, 255, 0.5); max-width: 560px; margin-bottom: 22px; }
.footer-copy { font-size: 11px; color: rgba(255, 255, 255, 0.4); letter-spacing: 0.1em; }

/* ---------------------------------------------------------------
   スマホ追従CTA
--------------------------------------------------------------- */
.sticky-cta {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 90;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(8px);
  border-top: 1px solid var(--ink-12);
  padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
  transform: translateY(110%);
  transition: transform 0.25s ease;
}
.sticky-cta.visible { transform: translateY(0); }
.sticky-cta .btn-cta {
  width: 100%;
  min-height: 52px;
  flex-direction: column;
  gap: 0;
  line-height: 1.3;
  padding: 8px 20px;
}
.sticky-cta .btn-cta::after { content: none; }
.sticky-sub {
  font-size: 10.5px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.85);
  letter-spacing: 0.08em;
}

/* ---------------------------------------------------------------
   法務ページ（プライバシーポリシー・利用規約）
--------------------------------------------------------------- */
.legal { padding: 56px 0 72px; }
.legal .section-inner { max-width: 760px; }
.legal h1 {
  font-size: clamp(24px, 6vw, 32px);
  font-weight: 800;
  margin-bottom: 8px;
}
.legal-date { font-size: 12.5px; color: var(--ink-40); margin-bottom: 36px; }
.legal-lead { font-size: 15px; color: var(--ink-60); margin-bottom: 36px; }
.legal h2 {
  font-size: 18px;
  font-weight: 800;
  margin: 36px 0 10px;
  padding-top: 24px;
  border-top: 1px solid var(--ink-12);
}
.legal p { font-size: 14.5px; color: var(--ink-60); margin-bottom: 12px; }
.legal ul, .legal ol { margin: 0 0 12px 22px; }
.legal li { font-size: 14.5px; color: var(--ink-60); margin-bottom: 4px; }
.legal .back { display: inline-block; margin-top: 36px; font-size: 14px; font-weight: 600; }

/* ---------------------------------------------------------------
   出現アニメーション（JSが .in を付与）
--------------------------------------------------------------- */
.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.reveal.in { opacity: 1; transform: none; }

/* ---------------------------------------------------------------
   タブレット（768px〜）
--------------------------------------------------------------- */
@media (min-width: 768px) {
  .sp { display: none; }

  .header-nav { display: flex; gap: 26px; margin-left: 36px; }
  .header-nav a {
    color: var(--ink);
    text-decoration: none;
    font-size: 13.5px;
    font-weight: 600;
    letter-spacing: 0.05em;
  }
  .header-nav a:hover { color: var(--blue); }

  .hero-inner { padding: 64px 24px 72px; }
  .hero-photo img { height: 420px; object-position: 65% 30%; }
  .clarity-note { left: auto; right: 20px; bottom: -30px; width: 250px; }

  .btn-lg { width: auto; padding-left: 40px; padding-right: 40px; }

  .value-grid { grid-template-columns: repeat(3, 1fr); }

  .promise-points { flex-direction: row; gap: 36px; }

  .voice { padding-left: 26px; }
  .voice:nth-child(even) { margin-left: 56px; }

  /* PCでは追従CTAを出さない（ヘッダーCTAで足りる） */
  .sticky-cta { display: none; }
  .footer { padding-bottom: 32px; }
}

/* ---------------------------------------------------------------
   デスクトップ（1080px〜）: ヒーロー2カラム（コピー45% / 写真55%）
--------------------------------------------------------------- */
@media (min-width: 1080px) {
  .hero-inner {
    max-width: 1200px;
    flex-direction: row;
    align-items: center;
    gap: 48px;
    padding: 84px 24px 100px;
  }
  /* コピー優先（CLAUDE.md）: 見出し11字が2行で収まる幅を確保 */
  .hero-copy { flex: 0 0 52%; }
  .hero-visual { flex: 1 1 48%; }

  .hero-title { font-size: clamp(44px, 3.75vw, 54px); line-height: 1.3; }
  .hero-body { font-size: 16px; }
  .hero-photo img { height: 480px; object-position: 60% 30%; }
  .clarity-note { right: -14px; bottom: 36px; width: 256px; }

  .empathy { padding: 120px 0 96px; }
  .value { padding: 104px 0; }
  .promise { padding: 112px 0; }
  .flow { padding: 112px 0 96px; }
  .faq { padding: 104px 0; }
  .final { padding: 128px 0 136px; }
}

/* ---------------------------------------------------------------
   動きを減らす設定
--------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
}
