/* ============================================================
   大原キャリアスタッフ 創立30周年記念特設サイト
   CSS – style.css
   ============================================================ */

/* ============================================================
   CSS CUSTOM PROPERTIES
============================================================ */
:root {
  /* --- Color Palette (inspired by josai.ac.jp/tekuteku) --- */
  --c-bg:          #f7f8fc;
  --c-white:       #ffffff;
  --c-blue-vivid:  #2b7be3;
  --c-blue-mid:    #4a9be8;
  --c-blue-light:  #d6eaf9;
  --c-yellow:      #f5c842;
  --c-yellow-light:#fff8d0;
  --c-orange:      #f28c38;
  --c-orange-light:#fde8cf;
  --c-green:       #4cbe7a;
  --c-green-light: #d8f4e4;
  --c-pink:        #f06b8a;
  --c-pink-light:  #fde0e8;
  --c-navy:        #1a3562;
  --c-text:        #2d3748;
  --c-text-mid:    #4a5568;
  --c-text-light:  #718096;
  --c-border:      #e2e8f0;

  /* Proof section — 明るい色 */
  --c-proof-bg:    #eef4ff;
  --c-proof-accent:#2b7be3;

  /* --- Typography --- */
  --font-sans:    'Noto Sans JP', 'Hiragino Kaku Gothic ProN', sans-serif;
  --font-serif:   'Noto Serif JP', 'Hiragino Mincho ProN', serif;
  --font-display: 'Playfair Display', Georgia, serif;
  --font-latin:   'Lato', sans-serif;

  /* --- Spacing --- */
  --section-py: 90px;
  --container:  1100px;
  --radius:     20px;
  --radius-sm:  12px;
}

/* ============================================================
   RESET & BASE
============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-sans);
  background: var(--c-bg);
  color: var(--c-text);
  line-height: 1.8;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }

/* ============================================================
   SCROLLBAR
============================================================ */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: #f1f1f1; }
::-webkit-scrollbar-thumb { background: var(--c-blue-mid); border-radius: 3px; }

/* ============================================================
   UTILITY
============================================================ */
.container {
  width: min(100%, var(--container));
  margin-inline: auto;
  padding-inline: 24px;
}
.section { padding: var(--section-py) 0; }

.section-label {
  font-family: var(--font-latin);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--c-blue-vivid);
  display: block;
  margin-bottom: 10px;
}
.section-title {
  font-family: var(--font-serif);
  font-size: clamp(26px, 4vw, 38px);
  font-weight: 700;
  color: var(--c-navy);
  line-height: 1.35;
  margin-bottom: 18px;
}
.section-title span { color: var(--c-blue-vivid); }
.section-sub {
  font-size: 15px;
  color: var(--c-text-mid);
  max-width: 560px;
}
.section-head { text-align: center; margin-bottom: 60px; }
.section-head .section-sub { margin-inline: auto; }

/* divider */
.divider {
  width: 48px; height: 4px;
  background: linear-gradient(90deg, var(--c-blue-vivid), var(--c-yellow));
  border-radius: 2px;
  margin: 16px auto 0;
}
.divider--left { margin-left: 0; }

/* tag / badge */
.tag {
  display: inline-block;
  padding: 4px 14px;
  border-radius: 99px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .04em;
}
.tag--blue   { background: var(--c-blue-light);   color: var(--c-blue-vivid); }
.tag--yellow { background: var(--c-yellow-light); color: #b07d10; }
.tag--green  { background: var(--c-green-light);  color: #1e7a4e; }
.tag--pink   { background: var(--c-pink-light);   color: #b83358; }
.tag--orange { background: var(--c-orange-light); color: #c15b0c; }

/* blob shapes */
.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  opacity: .35;
  pointer-events: none;
}

/* fade-in on scroll */
.fade-in {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .65s ease, transform .65s ease;
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}
.fade-in-delay-1 { transition-delay: .1s; }
.fade-in-delay-2 { transition-delay: .2s; }
.fade-in-delay-3 { transition-delay: .3s; }
.fade-in-delay-4 { transition-delay: .4s; }
.fade-in-delay-4 { transition-delay: .5s; }

/* ============================================================
   NAVIGATION
============================================================ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 0 24px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: background .3s, box-shadow .3s;
}
.nav.scrolled {
  background: rgba(255,255,255,.94);
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 16px rgba(0,0,0,.08);
}
.nav-brand {
  font-size: 12px;
  font-weight: 700;
  color: var(--c-navy);
  letter-spacing: .02em;
  line-height: 1.3;
}
.nav-brand .brand-main {
  display: block;
  font-family: var(--font-latin);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: .04em;
}
.nav-brand .brand-sub {
  display: block;
  font-family: var(--font-latin);
  font-size: 10px;
  font-weight: 400;
  letter-spacing: .1em;
  color: var(--c-blue-vivid);
}
.nav-links {
  display: flex;
  gap: 28px;
  list-style: none;
}
.nav-links a {
  font-size: 13px;
  font-weight: 600;
  color: var(--c-text-mid);
  transition: color .2s;
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -3px; left: 0; right: 0;
  height: 2px;
  background: var(--c-blue-vivid);
  transform: scaleX(0);
  transition: transform .2s;
}
.nav-links a:hover { color: var(--c-blue-vivid); }
.nav-links a:hover::after { transform: scaleX(1); }

/* mobile nav toggle */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
}
.nav-toggle span {
  display: block;
  width: 24px; height: 2px;
  background: var(--c-navy);
  border-radius: 2px;
  transition: transform .3s, opacity .3s;
}

/* ============================================================
   HERO
   ※ マスコットビジュアル列を廃止し、テキスト中央寄せ1カラムに変更
============================================================ */
.hero {
  min-height: 100svh;
  padding-top: 64px;
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: linear-gradient(135deg, #edf5ff 0%, #f7f8fc 50%, #fffbf0 100%);
}

/* blob decorations */
.hero .blob-1 {
  width: 520px; height: 520px;
  background: var(--c-blue-light);
  top: -80px; right: -100px;
}
.hero .blob-2 {
  width: 360px; height: 360px;
  background: var(--c-yellow);
  bottom: 40px; left: -60px;
}
.hero .blob-3 {
  width: 260px; height: 260px;
  background: var(--c-green);
  top: 30%; right: 30%;
  opacity: .15;
}

/* confetti dots – パターン背景を削除 */
.hero-dots {
  display: none;
}

/* 1-column centered layout */
.hero .container {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding-block: 80px;
  gap: 0;
}

.hero-logo {
  margin-bottom: 32px;
}
.hero-logo img {
  width: min(280px, 65%);
  margin-inline: auto;
  filter: drop-shadow(0 6px 24px rgba(43,123,227,.2));
  animation: float 4s ease-in-out infinite;
}

@keyframes float {
  0%,100% { transform: translateY(0); }
  50%      { transform: translateY(-10px); }
}

.hero-tagline {
  font-size: 12px;
  font-weight: 700;
  font-family: var(--font-latin);
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--c-blue-vivid);
  margin-bottom: 24px;
}

.hero-catch {
  font-family: var(--font-serif);
  font-size: clamp(26px, 4vw, 46px);
  font-weight: 700;
  color: var(--c-navy);
  line-height: 1.5;
  margin-bottom: 24px;
  max-width: 700px;
}
.hero-catch em {
  font-style: normal;
  color: var(--c-blue-vivid);
}

.hero-sub {
  font-size: 15px;
  color: var(--c-text-mid);
  line-height: 2;
  margin-bottom: 36px;
  max-width: 560px;
}

.hero-since {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: var(--c-white);
  border: 2px solid var(--c-blue-light);
  border-radius: 99px;
  padding: 10px 26px;
  font-family: var(--font-latin);
  font-weight: 700;
  font-size: 14px;
  color: var(--c-blue-vivid);
  box-shadow: 0 4px 18px rgba(43,123,227,.12);
}
.hero-since::before {
  content: '✦';
  font-size: 16px;
  color: var(--c-yellow);
}

/* scroll indicator */
.hero-scroll {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  font-size: 10px;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--c-text-light);
  font-family: var(--font-latin);
  font-weight: 700;
  z-index: 2;
}
.hero-scroll-line {
  width: 2px; height: 48px;
  background: linear-gradient(to bottom, var(--c-blue-vivid), transparent);
  animation: scrollline 1.8s ease-in-out infinite;
}
@keyframes scrollline {
  0%   { transform: scaleY(0); transform-origin: top; }
  50%  { transform: scaleY(1); transform-origin: top; }
  51%  { transform: scaleY(1); transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

/* ============================================================
   TICKER
============================================================ */
.ticker-wrap {
  overflow: hidden;
  background: var(--c-navy);
  padding: 14px 0;
  position: relative;
}
.ticker-wrap--green {
  background: linear-gradient(90deg, #2b7be3, #4cbe7a);
}
.ticker-track {
  display: flex;
  white-space: nowrap;
  animation: ticker 22s linear infinite;
}
.ticker-track--reverse {
  animation-direction: reverse;
}
.ticker-item {
  font-family: var(--font-latin);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(255,255,255,.7);
  padding: 0 28px;
  flex-shrink: 0;
}
.ticker-item .dot {
  color: var(--c-yellow);
  margin-right: 28px;
}
.ticker-item--light {
  color: rgba(255,255,255,.9);
}
.ticker-item--light .dot {
  color: var(--c-yellow);
}
@keyframes ticker {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ============================================================
   MESSAGE SECTION
============================================================ */
.message {
  background: var(--c-white);
  position: relative;
  overflow: hidden;
}
.message::before {
  content: '';
  position: absolute;
  top: -60px; right: -60px;
  width: 300px; height: 300px;
  border-radius: 50%;
  background: var(--c-blue-light);
  opacity: .5;
}
.message::after {
  content: '';
  position: absolute;
  bottom: -40px; left: -40px;
  width: 200px; height: 200px;
  border-radius: 50%;
  background: var(--c-yellow);
  opacity: .3;
}
.message .container {
  position: relative;
  z-index: 2;
}
.message-grid {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 64px;
  align-items: start;
}
.message-label-wrap {
  position: sticky;
  top: 80px;
}
.message-label-wrap .section-label { font-size: 13px; }
.message-label-wrap .section-title { font-size: clamp(22px, 3vw, 30px); }
.message-decor {
  margin-top: 32px;
  width: 48px; height: 48px;
  background: var(--c-blue-vivid);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 20px;
  color: #fff;
}
.message-body p {
  margin-bottom: 24px;
  font-size: 15.5px;
  line-height: 2;
  color: var(--c-text);
}
.message-body p strong { color: var(--c-navy); }
.message-promise {
  background: linear-gradient(135deg, var(--c-blue-light), var(--c-yellow-light));
  border-radius: var(--radius);
  padding: 32px 36px;
  margin: 32px 0;
  border-left: 4px solid var(--c-blue-vivid);
}
.message-promise p {
  font-family: var(--font-serif);
  font-size: 16px;
  font-weight: 600;
  color: var(--c-navy);
  line-height: 2;
  margin-bottom: 8px;
}
.message-promise p:last-child { margin-bottom: 0; }
.message-sig {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 36px;
  padding-top: 28px;
  border-top: 1px solid var(--c-border);
}
.message-sig-line {
  width: 40px; height: 3px;
  background: var(--c-blue-vivid);
  border-radius: 2px;
}
.message-sig-text {
  font-family: var(--font-serif);
  font-size: 15px;
  font-weight: 600;
  color: var(--c-navy);
}

/* 署名エリア – ロゴ画像プレースホルダー */
.message-sig-logo {
  display: block;
  max-width: 220px;
  height: auto;
}
.message-sig-logo-placeholder {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 220px;
  height: 64px;
  border: 2px dashed var(--c-border);
  border-radius: var(--radius-sm);
  color: var(--c-text-light);
  font-size: 12px;
  letter-spacing: .04em;
  background: var(--c-bg);
}
/* 画像読み込み成功時はプレースホルダーを隠す */
.message-sig-logo:not([style*="display:none"]) + .message-sig-logo-placeholder {
  display: none;
}

/* ============================================================
   HISTORY SECTION
============================================================ */
.history {
  background: var(--c-bg);
  position: relative;
  overflow: hidden;
}
.history-bg-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%,-50%);
  font-family: var(--font-latin);
  font-size: 200px;
  font-weight: 900;
  color: rgba(43,123,227,.04);
  white-space: nowrap;
  user-select: none;
  pointer-events: none;
}
.timeline {
  position: relative;
  padding-left: 0;
}
.timeline-track {
  position: absolute;
  left: 50%;
  top: 0; bottom: 0;
  width: 3px;
  background: linear-gradient(to bottom,
    var(--c-blue-vivid),
    var(--c-yellow),
    var(--c-green),
    var(--c-pink));
  transform: translateX(-50%);
}
.timeline-item {
  display: grid;
  grid-template-columns: 1fr 60px 1fr;
  margin-bottom: 64px;
  position: relative;
}
.timeline-item:last-child { margin-bottom: 0; }

/* alternating sides */
.timeline-item:nth-child(odd)  .timeline-card { grid-column: 1; grid-row: 1; text-align: right; padding-right: 40px; }
.timeline-item:nth-child(odd)  .timeline-blank { grid-column: 3; grid-row: 1; }
.timeline-item:nth-child(even) .timeline-card  { grid-column: 3; grid-row: 1; text-align: left;  padding-left: 40px; }
.timeline-item:nth-child(even) .timeline-blank { grid-column: 1; grid-row: 1; }
.timeline-node {
  grid-column: 2; grid-row: 1;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: 18px;
}
.timeline-node-circle {
  width: 52px; height: 52px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: #fff;
  border: 4px solid var(--c-white);
  box-shadow: 0 4px 16px rgba(0,0,0,.12);
  position: relative;
  z-index: 2;
}
.era-1 { background: var(--c-blue-vivid); }
.era-2 { background: var(--c-green); }
.era-3 { background: var(--c-orange); }
.era-4 { background: var(--c-pink); }

.timeline-era {
  font-family: var(--font-latin);
  font-size: 20px;
  font-weight: 900;
  color: var(--c-navy);
  margin-bottom: 4px;
}
.timeline-era-name {
  font-size: 13px;
  font-weight: 700;
  padding: 3px 12px;
  border-radius: 99px;
  margin-bottom: 14px;
  display: inline-block;
}
.timeline-card-inner {
  background: var(--c-white);
  border-radius: var(--radius);
  padding: 26px 28px;
  box-shadow: 0 4px 24px rgba(0,0,0,.07);
  transition: transform .3s, box-shadow .3s;
}
.timeline-card-inner:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 36px rgba(0,0,0,.12);
}
.timeline-card-inner h3 {
  font-family: var(--font-serif);
  font-size: 17px;
  font-weight: 700;
  color: var(--c-navy);
  margin-bottom: 12px;
  line-height: 1.5;
}
.timeline-card-inner p {
  font-size: 14px;
  color: var(--c-text-mid);
  line-height: 1.9;
  margin-bottom: 14px;
}
.timeline-card-inner ul {
  list-style: none;
  font-size: 13.5px;
  color: var(--c-text-mid);
}
.timeline-card-inner ul li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin-bottom: 6px;
  line-height: 1.6;
}
.timeline-card-inner ul li::before {
  content: '▸';
  color: var(--c-blue-vivid);
  flex-shrink: 0;
  margin-top: 1px;
}
.timeline-card-inner .era-note {
  margin-top: 14px;
  font-size: 13px;
  font-weight: 700;
  font-style: italic;
  color: var(--c-blue-vivid);
  border-top: 1px solid var(--c-border);
  padding-top: 12px;
}
/* right-to-left list on odd (left-side) cards */
.timeline-item:nth-child(odd) .timeline-card .timeline-card-inner ul li { flex-direction: row-reverse; }
.timeline-item:nth-child(odd) .timeline-card .timeline-card-inner ul li::before { content: '◂'; }

/* ============================================================
   PROOF  ── 背景色を明るいブルーグレーに変更
============================================================ */
.proof {
  background: var(--c-proof-bg);          /* ← 変更: ネイビー → 淡いブルーグレー */
  color: var(--c-text);
  position: relative;
  overflow: hidden;
}

/* 背景文字なし */
.proof::before {
  content: none;
}

/* section label / title をネイビーに上書き */
.proof .section-label { color: var(--c-blue-vivid); }
.proof .section-title  { color: var(--c-navy); }

.proof-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 28px;
  position: relative;
  z-index: 2;
}
.proof-card {
  background: var(--c-white);
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
  padding: 36px 28px;
  text-align: center;
  box-shadow: 0 4px 20px rgba(43,123,227,.07);
  transition: transform .3s, box-shadow .3s;
}
.proof-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(43,123,227,.14);
}
.proof-card-icon {
  width: 52px; height: 52px;
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  font-size: 22px;
  margin: 0 auto 20px;
}
.proof-card:nth-child(1) .proof-card-icon { background: var(--c-yellow-light); color: #b07d10; }
.proof-card:nth-child(2) .proof-card-icon { background: var(--c-green-light);  color: #1e7a4e; }
.proof-card:nth-child(3) .proof-card-icon { background: var(--c-blue-light);   color: var(--c-blue-vivid); }
.proof-card:nth-child(4) .proof-card-icon { background: var(--c-pink-light);   color: #b83358; }

/* カード内の順序: ラベル → 数字 → 注記（HTMLで順序変更済み） */
.proof-label {
  font-size: 13px;
  font-weight: 700;
  color: var(--c-text-mid);
  margin-bottom: 12px;
  letter-spacing: .02em;
}
.proof-num {
  font-family: var(--font-latin);
  font-size: clamp(38px, 5vw, 54px);
  font-weight: 900;
  line-height: 1;
  margin-bottom: 10px;
}
.proof-card:nth-child(1) .proof-num { color: #b07d10; }
.proof-card:nth-child(2) .proof-num { color: #1e7a4e; }
.proof-card:nth-child(3) .proof-num { color: var(--c-blue-vivid); }
.proof-card:nth-child(4) .proof-num { color: #b83358; }
/* 社・人超などの接尾語は数字より小さめ */
.proof-num .unit { font-size: .65em; font-weight: 700; }
/* 約 は「社」と同じ大きさに調整 */
.proof-num .prefix { font-size: .65em; font-weight: 700; }
.proof-note {
  font-size: 11px;
  color: var(--c-text-light);
  line-height: 1.7;
}
.proof-placeholder {
  font-size: clamp(38px, 5vw, 54px);
  font-family: var(--font-latin);
  font-weight: 900;
  color: var(--c-text-light);
  margin-bottom: 10px;
  line-height: 1;
}

/* ============================================================
   VOICE
============================================================ */
.voice {
  background: var(--c-white);
  position: relative;
  overflow: hidden;
}
.voice::before {
  content: '';
  position: absolute;
  top: -80px; left: -80px;
  width: 280px; height: 280px;
  border-radius: 50%;
  background: var(--c-green-light);
  opacity: .6;
}
.voice::after {
  content: '';
  position: absolute;
  bottom: -60px; right: -60px;
  width: 240px; height: 240px;
  border-radius: 50%;
  background: var(--c-blue-light);
  opacity: .6;
}
.voice .container { position: relative; z-index: 2; }
.voice-intro {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 52px;
  font-size: 15px;
  color: var(--c-text-mid);
  line-height: 1.95;
}
.voice-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 28px;
}
.voice-card {
  background: var(--c-bg);
  border-radius: var(--radius);
  padding: 36px 32px;
  position: relative;
  transition: transform .3s, box-shadow .3s;
}
.voice-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 48px rgba(0,0,0,.1);
}
.voice-card::before {
  content: '\201C';
  position: absolute;
  top: 16px; left: 24px;
  font-family: Georgia, serif;
  font-size: 80px;
  line-height: 1;
  color: var(--c-blue-light);
}
.voice-card-body {
  font-size: 14.5px;
  line-height: 1.95;
  color: var(--c-text-mid);
  margin-bottom: 24px;
  margin-top: 24px;
  position: relative;
  z-index: 1;
}
.voice-card-from {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-top: 20px;
  border-top: 1px solid var(--c-border);
}
.voice-card-avatar {
  width: 46px; height: 46px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}
.voice-card:nth-child(1) .voice-card-avatar { background: var(--c-blue-light);  color: var(--c-blue-vivid); }
.voice-card:nth-child(2) .voice-card-avatar { background: var(--c-green-light); color: var(--c-green); }
.voice-card:nth-child(3) .voice-card-avatar { background: var(--c-blue-light);  color: var(--c-blue-vivid); }
.voice-card:nth-child(4) .voice-card-avatar { background: var(--c-green-light); color: var(--c-green); }
.voice-card-who {
  font-size: 12px;
  font-weight: 700;
  color: var(--c-text-mid);
}
.voice-card-who strong {
  display: block;
  font-size: 13px;
  color: var(--c-navy);
}

/* ============================================================
   MASCOT SECTION
============================================================ */
.mascot-section {
  background: linear-gradient(135deg, #edf5ff 0%, #fffbf0 50%, #f0fdf4 100%);
  position: relative;
  overflow: hidden;
}
.mascot-section .blob-m1 {
  width: 300px; height: 300px;
  background: var(--c-blue-light);
  top: -40px; right: 10%;
}
.mascot-section .blob-m2 {
  width: 200px; height: 200px;
  background: var(--c-yellow);
  bottom: 20px; left: 5%;
}
.mascot-grid {
  display: grid;
  grid-template-columns: minmax(280px, 360px) 1fr;
  grid-template-areas:
    "image heading"
    "image body";
  gap: 24px 60px;
  align-items: center;
  position: relative;
  z-index: 2;
}
.mascot-heading { grid-area: heading; }
.mascot-body {
  grid-area: body;
  align-self: start;
}
.mascot-img-wrap {
  grid-area: image;
  display: flex;
  justify-content: center;
  position: relative;
}
.mascot-img-bg {
  position: absolute;
  width: 340px; height: 340px;
  border-radius: 50%;
  background: conic-gradient(
    var(--c-blue-light)   0deg  90deg,
    var(--c-yellow-light) 90deg 180deg,
    var(--c-green-light) 180deg 270deg,
    var(--c-pink-light)  270deg 360deg
  );
  opacity: .5;
}
.mascot-img {
  position: relative;
  z-index: 2;
  width: min(320px, 85%);
  filter: drop-shadow(0 12px 36px rgba(0,0,0,.1));
  animation: float 5s ease-in-out infinite;
}
.mascot-heading .section-label,
.mascot-heading .section-title { text-align: left; }
.mascot-heading .section-title  { margin-bottom: 8px; }
.mascot-name-wrap { margin-top: 24px; }
.mascot-name {
  font-family: var(--font-latin);
  font-size: 28px;
  font-weight: 900;
  color: var(--c-blue-vivid);
  letter-spacing: .04em;
  margin-bottom: 6px;
}
.mascot-name-kana {
  font-size: 13px;
  color: var(--c-text-light);
  margin-bottom: 24px;
}
.mascot-desc {
  font-size: 15px;
  line-height: 2;
  color: var(--c-text-mid);
  margin-bottom: 28px;
}
.mascot-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

/* ============================================================
   FOOTER
============================================================ */
.footer {
  background: var(--c-navy);
  color: rgba(255,255,255,.7);
  padding: 52px 0 32px;
  position: relative;
  overflow: hidden;
}
.footer::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg,
    var(--c-blue-vivid),
    var(--c-yellow),
    var(--c-green),
    var(--c-pink));
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: 36px;
}
.footer-logo-mark {
  font-family: var(--font-latin);
  font-size: 10px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--c-blue-mid);
  margin-bottom: 6px;
}
.footer-name {
  font-size: 15px;
  font-weight: 700;
  color: rgba(255,255,255,.9);
}
.footer-since {
  font-family: var(--font-latin);
  font-size: 11px;
  letter-spacing: .08em;
  color: rgba(255,255,255,.4);
  margin-top: 4px;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  list-style: none;
}
.footer-nav a {
  font-size: 12px;
  color: rgba(255,255,255,.5);
  transition: color .2s;
}
.footer-nav a:hover { color: rgba(255,255,255,.9); }
.footer-copy {
  text-align: center;
  font-size: 11px;
  color: rgba(255,255,255,.3);
  padding-top: 28px;
  border-top: 1px solid rgba(255,255,255,.08);
}

/* ============================================================
   SCROLL TO TOP BUTTON
============================================================ */
.scroll-top {
  position: fixed;
  bottom: 28px; right: 28px;
  width: 48px; height: 48px;
  background: var(--c-blue-vivid);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: #fff;
  font-size: 18px;
  cursor: pointer;
  box-shadow: 0 6px 20px rgba(43,123,227,.35);
  opacity: 0;
  transform: translateY(12px);
  transition: opacity .3s, transform .3s;
  z-index: 99;
  border: none;
}
.scroll-top.visible {
  opacity: 1;
  transform: translateY(0);
}
.scroll-top:hover { background: var(--c-navy); }

/* ============================================================
   RESPONSIVE
============================================================ */
@media (max-width: 900px) {
  /* hero は既に1カラムなので追加調整のみ */
  .hero .container { padding-block: 60px; }

  .message-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .message-label-wrap { position: static; }

  /* timeline → 左寄せシングルカラム */
  .timeline-track { left: 28px; transform: none; }
  .timeline-item {
    grid-template-columns: 60px 1fr;
  }
  .timeline-item:nth-child(odd)  .timeline-card { grid-column: 2; grid-row: 1; text-align: left; padding-right: 0; padding-left: 24px; }
  .timeline-item:nth-child(odd)  .timeline-blank { display: none; }
  .timeline-item:nth-child(even) .timeline-card  { grid-column: 2; grid-row: 1; padding-left: 24px; }
  .timeline-item:nth-child(even) .timeline-blank { display: none; }
  .timeline-node { grid-column: 1; justify-content: flex-start; padding-left: 4px; }
  .timeline-item:nth-child(odd) .timeline-card .timeline-card-inner ul li { flex-direction: row; }
  .timeline-item:nth-child(odd) .timeline-card .timeline-card-inner ul li::before { content: '▸'; }
  .mascot-grid {
    grid-template-columns: 1fr;
    grid-template-areas:
      "heading"
      "image"
      "body";
    gap: 24px;
    text-align: center;
  }
  .mascot-heading,
  .mascot-body {
    text-align: center;
  }
  .mascot-img-wrap {
    margin-inline: auto;
  }
  .mascot-tags { justify-content: center; }
  .mascot-heading .section-label,
  .mascot-heading .section-title { text-align: center; }
  .divider--left {
    margin-left: auto;
    margin-right: auto;
  }

  .nav-links { display: none; }
  .nav-toggle { display: flex; }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 64px; left: 0; right: 0;
    background: rgba(255,255,255,.97);
    padding: 20px 24px;
    box-shadow: 0 8px 24px rgba(0,0,0,.1);
    gap: 16px;
  }

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }
}

@media (max-width: 560px) {
  :root { --section-py: 60px; }
  .proof-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 380px) {
  .proof-grid { grid-template-columns: 1fr; }
}
