/* ==========================================================================
   Edge Hub — 下層ページ（会社概要 / 事業 / スケジュール / ギャラリー / プライバシー / 404）
   Top と同じトーン: 大きな余白・英字ラベル・ライン区切り・リビール
   ========================================================================== */

/* ---------- セクション共通 ---------- */
.sec { padding-block: clamp(88px, 11vw, 144px); }
.sec--tight-top { padding-top: 0; }
.sec--surface { background: var(--surface); }
.sec--navy { background: var(--navy); color: #fff; }
.sec-inner { padding-inline: var(--gutter); display: flex; flex-direction: column; gap: clamp(40px, 5vw, 64px); }
.sec-head { display: flex; flex-direction: column; gap: 20px; }
.sec-head--center { align-items: center; text-align: center; }
.split { display: grid; gap: 40px 80px; align-items: start; }
@media (min-width: 900px) {
  .split { grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); }
  .split > .sticky { position: sticky; top: 120px; }
}
.pill {
  display: inline-flex;
  align-items: center;
  height: 44px;
  padding: 0 18px;
  background: var(--surface);
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}
.pill--line { height: 34px; padding: 0 14px; background: none; border: 1px solid rgba(94, 225, 242, .5); color: #fff; font-size: 13px; }
.pill--alert { height: 40px; background: #FFF1F1; color: #B42323; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; }
.card-dark {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 28px;
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .12);
}
.card-dark h3 { margin: 0; font-size: 20px; font-weight: 900; }
.card-dark p { margin: 0; font-size: 14px; line-height: 1.9; color: var(--on-dark); text-wrap: pretty; }
.card-no { font-family: var(--font-en); font-size: 14px; font-weight: 600; letter-spacing: .1em; color: var(--cyan); }
.grid-auto { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, var(--min, 260px)), 1fr)); gap: var(--gap, 16px); }

/* 相談ボックス（グラデーション・面取り） */
.consult {
  position: relative;
  overflow: hidden;
  clip-path: var(--chamfer);
  background: linear-gradient(135deg, #0E1F4D 0%, #1B3A9C 60%, #2A55E5 100%);
  color: #fff;
  padding: clamp(40px, 6vw, 80px) clamp(24px, 5vw, 72px);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr));
  gap: 40px 56px;
  align-items: center;
}
.consult--stack { display: flex; flex-direction: column; align-items: flex-start; gap: 24px; }
.consult-copy { display: flex; flex-direction: column; gap: 18px; }
.consult h2 { margin: 0; font-weight: 900; line-height: 1.45; text-wrap: balance; }
.consult p { margin: 0; max-width: 40em; font-size: 15px; line-height: 1.95; color: var(--on-dark-2); text-wrap: pretty; }
.consult-links { display: flex; flex-direction: column; gap: 10px; }
.consult-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 24px;
  font-size: 16px;
  text-decoration: none;
  transition: background .4s, color .4s;
}
.consult-link--white { clip-path: var(--chamfer); background: #fff; color: var(--ink); font-weight: 900; }
.consult-link--white:hover { color: var(--blue); }
.consult-link--ghost { background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .3); color: #fff; font-weight: 700; }
.consult-link--ghost:hover { background: rgba(255, 255, 255, .18); color: #fff; }
.consult-link--ghost .chev { color: var(--cyan); margin-right: 12px; }
.consult-link .box { flex-shrink: 0; width: 32px; height: 32px; display: flex; align-items: center; justify-content: center; background: var(--navy); color: var(--cyan); }
.consult-link .box .chev { --s: 6px; }
.consult small { font-size: 12px; color: #B7C6E6; }

/* ---------- 会社概要 ---------- */
.about-intro { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 440px), 1fr)); gap: 48px 72px; align-items: center; }
.about-intro-copy { display: flex; flex-direction: column; gap: 24px; min-width: 0; }
.about-intro-copy .lead:first-of-type { font-size: 16px; }
.about-intro-section { background: #fefefe; }
.about-video { background: #fefefe; padding: 0 var(--gutter) clamp(88px, 11vw, 144px); }
.about-video-player { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; background: #fefefe; }
.about-video-error { padding-top: 16px; }
.about-video-error p { margin: 0 0 12px; }
.about-video-retry { min-height: 44px; padding: 10px 20px; border: 1px solid var(--navy); border-radius: 6px; background: var(--navy); color: #fff; font: inherit; cursor: pointer; }

.about-intro .photo { aspect-ratio: 1920 / 1726; }
.about-intro .photo::after { content: none; }
.chip-links { display: flex; flex-wrap: wrap; gap: 10px; padding-top: 8px; }
.chip-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 44px;
  padding: 0 18px;
  clip-path: var(--chamfer);
  background: #fff;
  box-shadow: inset 0 0 0 1px var(--border-2);
  color: var(--navy);
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  transition: box-shadow .3s, color .3s;
}
.chip-link:hover { box-shadow: inset 0 0 0 1px var(--blue); color: var(--blue); }
.profile { margin: 0; display: flex; flex-direction: column; border-top: 1px solid var(--navy); min-width: 0; }
.profile > div { display: grid; grid-template-columns: minmax(96px, 200px) minmax(0, 1fr); gap: 16px 32px; padding: 24px 0; border-bottom: 1px solid var(--border); }
.profile dt { font-size: 14px; font-weight: 700; color: var(--navy); }
.profile dd { margin: 0; display: flex; flex-direction: column; gap: 4px; font-size: 15px; line-height: 1.9; }
.profile dd small { margin-right: 12px; font-size: 13px; color: var(--muted); }
.profile dd a { font-weight: 700; }
@media (max-width: 560px) {
  .profile > div { grid-template-columns: 1fr; gap: 6px; }
}

/* ---------- 事業ページのヒーロー ---------- */
.svc-hero-inner { padding: var(--page-hero-top) var(--gutter) clamp(72px, 9vw, 120px); display: flex; flex-direction: column; gap: 40px; }
.svc-hero-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 460px), 1fr)); gap: 48px 64px; align-items: center; }
.svc-hero-copy { display: flex; flex-direction: column; gap: 26px; min-width: 0; }
.svc-title { margin: 0; font-size: clamp(38px, 5.6vw, 72px); font-weight: 900; line-height: 1.25; }
.svc-title--mk { font-size: clamp(36px, 5.4vw, 68px); line-height: 1.3; }
.svc-hero .lead { font-size: 16px; line-height: 2; max-width: 40em; }
.touch-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 32px;
  min-width: 0;
  background: #fff;
  border: 1px solid var(--border);
  box-shadow: 0 30px 60px -44px rgba(14, 31, 77, .5);
}
.touch-card > span:first-child { font-size: 13px; font-weight: 700; color: var(--muted-2); }
.touch-plus { display: flex; align-items: center; gap: 12px; font-family: var(--font-en); font-size: 22px; font-weight: 600; color: var(--blue); }
.touch-plus::before, .touch-plus::after { content: ""; flex: 1; height: 1px; background: var(--border-2); }
.f2f {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 24px;
  clip-path: var(--chamfer);
  background: linear-gradient(135deg, #0E1F4D, #2A55E5);
  color: #fff;
}
.f2f .en { font-family: var(--font-en); font-size: 12px; font-weight: 600; letter-spacing: .18em; color: var(--cyan); }
.f2f strong { font-size: 20px; font-weight: 900; }
.f2f span:last-child { font-size: 13px; line-height: 1.8; color: var(--on-dark-2); }

/* お悩み */
.pains { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 12px; margin: 0; padding: 0; list-style: none; }
.pains li { display: flex; align-items: center; gap: 16px; padding: 22px 24px; background: var(--surface); font-size: 15px; font-weight: 700; line-height: 1.6; text-wrap: pretty; }
.check { flex-shrink: 0; width: 28px; height: 28px; display: flex; align-items: center; justify-content: center; background: #fff; border: 2px solid var(--blue); }
.check::before { content: ""; width: 10px; height: 6px; border-left: 2px solid var(--blue); border-bottom: 2px solid var(--blue); transform: translateY(-1px) rotate(-45deg); }
/* 採用イベント: 悩みのリストと人物・吹き出し */
.event-companies { padding-bottom: clamp(44px, 5.5vw, 72px); }
.issues { padding-top: clamp(44px, 5.5vw, 72px); }
.issues-heading-part { display: inline-block; }
.issues-layout {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(32px, 4vw, 64px);
  align-items: center;
}
.issues .pains { grid-template-columns: 1fr; gap: 0; }
.issues .pains li {
  gap: 16px;
  padding: clamp(20px, 2vw, 28px) 0;
  background: none;
  border-bottom: 1px solid var(--border-2);
  font-size: clamp(15px, 1.2vw, 19px);
  line-height: 1.8;
}
.issues .pains li:last-child { border-bottom: 0; }
.issues .check { width: 24px; height: 24px; border-width: 1.5px; }
.issues-visual {
  position: relative;
  min-width: 0;
  aspect-ratio: 730 / 599;
  container-type: inline-size;
}
.issues-person { position: absolute; width: 62%; height: auto; left: 24%; bottom: 8%; }
.issues-bubble {
  position: absolute;
  z-index: 1;
  max-width: 40%;
  margin: 0;
  padding: clamp(10px, 2.4cqw, 20px) clamp(12px, 2.8cqw, 22px);
  border-radius: clamp(12px, 2.6cqw, 20px);
  background: #fff;
  box-shadow: 0 14px 28px -14px rgba(14, 31, 77, .28);
  color: var(--navy);
  font-size: clamp(11px, 2.25cqw, 17px);
  font-weight: 700;
  line-height: 1.7;
}
.issues-bubble span { display: inline-block; }
.issues-bubble--voice { top: 18%; left: 18%; --float-duration: 5.4s; --float-delay: -.7s; }
.issues-bubble--follow { top: 22%; right: 5%; --float-duration: 6.2s; --float-delay: -2.8s; }
.issues-bubble--appeal { bottom: 22%; left: 16%; --float-duration: 5.8s; --float-delay: -1.9s; }
.issues-bubble--budget { bottom: 14%; right: 5%; --float-duration: 6.6s; --float-delay: -4.1s; }
@keyframes issues-bubble-float {
  from { transform: translateY(-5px); }
  to { transform: translateY(5px); }
}
@media (prefers-reduced-motion: no-preference) {
  .issues-bubble { animation: issues-bubble-float var(--float-duration) ease-in-out var(--float-delay) infinite alternate; }
}
@media (max-width: 899px) {
  .issues-layout { grid-template-columns: 1fr; gap: 24px; }
  .issues .pains li { padding-block: 20px; font-size: 16px; }
  .issues-visual { width: min(100%, 620px); justify-self: center; }
}
@media (max-width: 480px) {
  .issues .pains li { gap: 12px; font-size: 15px; }
  .issues-visual { aspect-ratio: 1 / 1.12; }
  .issues-person { width: 92%; left: 4%; bottom: 8%; }
  .issues-bubble { max-width: 44%; font-size: clamp(11px, 3.2cqw, 13px); }
  .issues-bubble--voice { top: 12%; left: 0; }
  .issues-bubble--follow { top: 21%; right: 0; }
  .issues-bubble--appeal { bottom: 23%; left: 0; }
  .issues-bubble--budget { bottom: 8%; right: 0; }
}
.answer { display: flex; flex-direction: column; align-items: center; gap: 14px; padding-top: 8px; }
.answer::before { content: ""; width: 2px; height: 40px; background: linear-gradient(180deg, #D9E2F0, #2A55E5); }
.answer p { margin: 0; font-size: clamp(18px, 2.2vw, 24px); font-weight: 900; line-height: 1.6; text-align: center; }

/* 写真2枚（濃背景） */
.photo-pair { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 16px; }
.photo-pair .photo { --notch: var(--navy); aspect-ratio: 16 / 9; background: #17295C; }

/* フロー */
.flow { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); gap: 12px; margin: 0; padding: 0; list-style: none; }
.flow li { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.flow-phase { font-family: var(--font-en); font-size: 12px; font-weight: 600; letter-spacing: .18em; color: var(--muted-2); }
.flow-bar { height: 6px; }
.flow-bar--before { background: linear-gradient(90deg, #9FB2D9, #C9D4EA); }
.flow-bar--day { background: linear-gradient(90deg, #2A55E5, #5EE1F2); }
.flow-bar--after { background: linear-gradient(90deg, #0E1F4D, #2A55E5); }
.flow-card { flex: 1; display: flex; flex-direction: column; gap: 10px; padding: 24px 22px; background: var(--surface); }
.flow-card .no { font-family: var(--font-en); font-size: 36px; font-weight: 600; line-height: 1; color: var(--blue); }
.flow-card h3 { margin: 0; font-size: 18px; font-weight: 900; line-height: 1.5; }
.flow-card p { margin: 0; font-size: 13px; line-height: 1.85; color: var(--text-sub); text-wrap: pretty; }

/* 得られるもの */
.gets { display: flex; flex-direction: column; gap: 10px; margin: 0; padding: 0; list-style: none; min-width: 0; }
.gets li {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 20px;
  align-items: center;
  padding: 22px 26px;
  clip-path: var(--chamfer);
  background: #fff;
  box-shadow: inset 0 0 0 1px var(--border);
}
.gets .no {
  --badge-line: 1.5px;
  --badge-inner-cut: calc(12px - var(--badge-line) * .585786);
  position: relative;
  isolation: isolate;
  width: 48px; height: 56px;
  display: flex; align-items: center; justify-content: center;
  clip-path: var(--chamfer);
  background: var(--blue);
  font-family: var(--font-en);
  font-size: 14px;
  font-weight: 600;
  color: var(--blue);
}
.gets .no::before {
  content: "";
  position: absolute;
  inset: var(--badge-line);
  z-index: -1;
  /* 斜めの角にも同じ太さのラインを残す。 */
  clip-path: polygon(var(--badge-inner-cut) 0, 100% 0, 100% calc(100% - var(--badge-inner-cut)), calc(100% - var(--badge-inner-cut)) 100%, 0 100%, 0 var(--badge-inner-cut));
  background: linear-gradient(160deg, #EAF0FE, #fff);
}
.gets h3 { margin: 0; font-size: 17px; font-weight: 900; }
.gets p { margin: 4px 0 0; font-size: 13px; line-height: 1.8; color: var(--muted); text-wrap: pretty; }

/* バリュー（中央寄せ） */
.value { display: flex; flex-direction: column; align-items: center; gap: 28px; text-align: center; }
.value-head { margin: 0; font-size: clamp(28px, 4.4vw, 52px); font-weight: 900; line-height: 1.5; }
.value .lead { max-width: 36em; }

/* ---------- 採用マーケティング ---------- */
.gap-table { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); overflow: hidden; border: 1px solid var(--border); background: #fff; }
.gap-table > div { padding: 24px clamp(16px, 3vw, 32px); border-top: 1px solid var(--border); font-size: clamp(16px, 2vw, 22px); font-weight: 900; }
.gap-table .th { padding-block: 20px; border-top: 0; background: var(--navy); color: #fff; font-size: 14px; font-weight: 700; }
.gap-table .th--mid { width: clamp(40px, 8vw, 96px); padding: 0; }
.gap-table .th--b { background: var(--grad-text); }
.gap-table .mid { display: flex; align-items: center; justify-content: center; padding: 0; }
.gap-table .mid span { padding: 4px 8px; background: #EAF0FE; font-family: var(--font-en); font-size: 12px; font-weight: 600; letter-spacing: .1em; color: var(--blue); }
.gap-table .b { color: var(--blue); }
.gap-effects { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; }
.gap-effects > span:first-child { font-size: 14px; font-weight: 700; color: var(--text-sub); }
.phase-card {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 36px 32px;
  clip-path: var(--chamfer);
  background: #fff;
  box-shadow: inset 0 0 0 1px var(--border);
}
.phase-card--dark { background: var(--navy); color: #fff; box-shadow: none; }
.phase-card .en { font-family: var(--font-en); font-size: 12px; font-weight: 600; letter-spacing: .18em; color: var(--muted-2); }
.phase-card--dark .en { color: var(--cyan); }
.phase-card h3 { margin: 0; font-size: 24px; font-weight: 900; }
.phase-card p { margin: 0; font-size: 14px; line-height: 1.95; color: var(--text-sub); }
.phase-card .btn-line { margin-top: auto; align-self: flex-start; }
.btn-line {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 44px;
  padding: 0 18px;
  border: 1.5px solid var(--blue);
  color: var(--blue);
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  transition: background .4s, color .4s;
}
.btn-line:hover { background: var(--blue); color: #fff; }
.tiles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin: 0; padding: 0; list-style: none; }
.tiles li { padding: 14px 16px; background: rgba(255, 255, 255, .08); font-size: 14px; font-weight: 700; }
.tiles--lg li { padding: 22px 18px; font-size: 15px; }
.data-card { display: flex; flex-direction: column; gap: 18px; padding: 30px 28px; background: var(--surface); }
.data-card .en { font-family: var(--font-en); font-size: 12px; font-weight: 600; letter-spacing: .18em; color: var(--blue); }
.data-card h3 { margin: 6px 0 0; font-size: 20px; font-weight: 900; }
.data-card ul { display: flex; flex-direction: column; gap: 8px; margin: 0; padding: 0; list-style: none; }
.data-card li { display: flex; align-items: center; gap: 12px; padding: 12px 16px; clip-path: var(--chamfer); background: #fff; font-size: 14px; font-weight: 700; }
.stages { display: flex; flex-direction: column; gap: 16px; padding: 32px clamp(20px, 3vw, 36px); border: 1px solid var(--border); }
.stages > span { font-size: 14px; font-weight: 700; color: var(--text-sub); }
.stages ol { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0; padding: 0; list-style: none; }
.stages li { display: flex; align-items: center; gap: 8px; }
.stages li > span { display: inline-flex; align-items: center; justify-content: center; min-width: 76px; height: 48px; padding: 0 16px; font-size: 15px; font-weight: 900; }
.stages li + li::before { content: ""; width: 7px; height: 7px; margin: 0 6px 0 2px; border-top: 2px solid #9FB2D9; border-right: 2px solid #9FB2D9; transform: rotate(45deg); }
.impl-card { padding: 32px; }
.impl-card h3 { display: flex; align-items: center; gap: 10px; font-size: 18px; }
.impl-card h3 .dia { --s: 10px; --c: var(--cyan); }
.impl-list { display: flex; flex-direction: column; margin: 0; padding: 0; list-style: none; }
.impl-list li { padding: 14px 0; border-bottom: 1px solid rgba(255, 255, 255, .12); font-size: 15px; font-weight: 700; }
.impl-list li:last-child { border-bottom: 0; }
.impl-card > p:last-child { margin-top: auto; font-size: 13px; }
.pdca { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 16px; margin: 0; padding: 0; list-style: none; }
.pdca li { display: flex; flex-direction: column; gap: 14px; padding: 28px 26px; background: var(--surface); border-top: 4px solid var(--blue); }
.pdca .step { font-family: var(--font-en); font-size: 13px; font-weight: 600; letter-spacing: .16em; color: var(--blue); }
.pdca h3 { margin: 0; font-size: 18px; font-weight: 900; line-height: 1.5; }
.pdca p { margin: 0; font-size: 13px; line-height: 1.85; color: var(--text-sub); }
.loop-note { display: flex; align-items: center; justify-content: center; gap: 14px; font-size: 13px; font-weight: 700; color: var(--blue); text-align: center; }
.loop-note::before { content: ""; flex-shrink: 0; width: 18px; height: 18px; border: 2px solid var(--blue); border-right-color: transparent; }

/* ---------- AIX（準備中） ---------- */
.soon { background: var(--navy); color: #fff; }
.soon-inner { padding: var(--page-hero-top) var(--gutter) clamp(96px, 12vw, 176px); display: flex; flex-direction: column; align-items: center; gap: 28px; text-align: center; }
.soon .crumbs { justify-content: center; }
.soon-kicker { font-family: var(--font-en); font-size: 13px; font-weight: 600; letter-spacing: .24em; color: var(--cyan); }
.soon h1 { margin: 0; display: flex; flex-direction: column; align-items: center; gap: 18px; }
.soon-en { font-family: var(--font-en); font-size: clamp(52px, 10vw, 128px); font-weight: 600; line-height: 1; letter-spacing: .02em; }
.soon-en > span > span { display: inline-block; background: linear-gradient(90deg, #fff, #5EE1F2); -webkit-background-clip: text; background-clip: text; color: transparent; }
.soon-ja { font-size: clamp(20px, 2.6vw, 28px); font-weight: 900; }
.soon-lead { margin: 0; max-width: 34em; font-size: 16px; line-height: 2; color: var(--on-dark-2); text-wrap: pretty; }
.soon-box { display: flex; flex-direction: column; gap: 14px; max-width: 720px; padding: 28px 32px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .14); text-align: left; }
.soon-box > span { font-size: 13px; font-weight: 700; color: var(--cyan); }
.soon-box p { margin: 0; font-size: 14px; line-height: 1.95; color: var(--on-dark-2); text-wrap: pretty; }
.soon-box ul { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.contact-strip { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 28px; }
.contact-strip h2 { margin: 0; font-weight: 900; line-height: 1.5; }

/* ---------- スケジュール ---------- */
.annual-tools { display: flex; align-items: center; gap: 24px; }
.annual-year { font-family: var(--font-en); font-size: clamp(28px, 3vw, 40px); font-weight: 600; letter-spacing: .08em; color: var(--blue); }
.annual-nav { display: flex; gap: 8px; }
.annual-nav button { display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; padding: 0; border: 1px solid var(--border-2); background: #fff; color: var(--navy); cursor: pointer; transition: background .3s, color .3s; }
.annual-nav button:hover:not(:disabled) { background: var(--navy); color: var(--cyan); }
.annual-nav button:disabled { opacity: .35; cursor: default; }
.annual-scroll { width: 100%; min-width: 0; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x proximity; scrollbar-width: thin; scrollbar-color: var(--border-3) transparent; padding-bottom: 16px; }
.timeline-track { --timeline-gap: clamp(18px, 2vw, 30px); position: relative; display: flex; gap: var(--timeline-gap); width: max-content; min-width: 100%; margin: 0; padding: 0; list-style: none; }
.timeline-track::before { content: ""; position: absolute; left: 0; right: 0; top: 48px; height: 2px; background: var(--navy); }
.timeline-slot { position: relative; display: flex; flex-direction: column; flex: 0 0 auto; width: min(300px, calc(100vw - 2 * var(--gutter) - 24px)); scroll-snap-align: start; }
.timeline-month { height: 34px; display: flex; justify-content: center; align-items: flex-start; }
.timeline-month > span { padding: 3px 14px; font-size: 13px; font-weight: 700; color: var(--navy); }
.timeline-month .is-now { background: var(--blue); color: #fff; }
.timeline-axis { position: relative; height: 42px; }
.timeline-axis::after { content: ""; position: absolute; left: calc(50% - .5px); top: 14px; bottom: 0; width: 1px; background: var(--border-3); }
.timeline-dot { position: absolute; top: 9px; left: calc(50% - 6px); z-index: 1; width: 12px; height: 12px; background: var(--cat); border: 2px solid #fff; outline: 1px solid var(--cat); transform: rotate(45deg); }
.timeline-card { flex: 1; display: flex; flex-direction: column; gap: 14px; padding: 20px; border: 1px solid var(--border-2); background: #fff; }
.timeline-card-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; }
.timeline-date { font-family: var(--font-en); font-size: 26px; font-weight: 600; line-height: 1.2; color: var(--blue); }
.timeline-date-year { display: block; font-family: var(--font-ja); font-size: 12px; line-height: 1.5; }
.timeline-date small { margin-left: 4px; font-family: var(--font-ja); font-size: 12px; font-weight: 700; }
.timeline-category { padding: 4px 8px; background: var(--surface); color: var(--navy); font-size: 11px; font-weight: 700; }
.timeline-title { min-height: 3em; margin: 0 0 auto; font-size: 16px; font-weight: 900; line-height: 1.5; }
.timeline-slot[data-status="done"] .timeline-date { color: var(--muted-2); }
.annual-note { margin-top: -24px; }

.filters { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 32px; padding: 18px 22px; background: var(--surface); }
.filter-group { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0; padding: 0; border: 0; }
.filter-group legend { float: left; margin-right: 12px; padding: 0; font-size: 12px; font-weight: 700; color: var(--muted-2); }
.filter-btn { height: 40px; padding: 0 16px; border: 1px solid var(--border-2); background: #fff; color: var(--navy); font-size: 13px; font-weight: 700; cursor: pointer; transition: background .3s, color .3s, border-color .3s; }
.filter-btn:hover { border-color: var(--navy); }
.filter-btn[aria-pressed="true"] { background: var(--navy); border-color: var(--navy); color: #fff; }
.filter-count { margin-left: auto; font-size: 13px; color: var(--text-sub); }
.filter-count b { margin-right: 4px; font-family: var(--font-en); font-size: 22px; font-weight: 600; color: var(--navy); }
.ev-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: clamp(18px, 2.2vw, 30px); }
.ev {
  display: flex;
  flex-direction: column;
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--border-2);
  background: #fff;
}
.ev-visual { position: relative; aspect-ratio: 16 / 9; background: var(--surface); }
.ev-visual img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ev-main { flex: 1; display: flex; flex-direction: column; gap: 24px; padding: 18px 20px 20px; min-width: 0; }
.ev-info { flex: 1; display: flex; flex-direction: column; gap: 13px; min-width: 0; }
.ev-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.ev-tags > span { display: inline-flex; align-items: center; padding: 4px 10px; font-size: 11px; font-weight: 700; }
.ev-type { background: var(--navy); color: #fff; }
.ev--expo .ev-type { background: var(--blue); }
.ev-grade { background: var(--surface); color: var(--navy); }
.ev-status { position: absolute; top: 12px; left: 12px; padding: 5px 12px; background: var(--blue); color: #fff; font-size: 12px; font-weight: 700; }
.ev-title { margin: 0; font-size: 17px; font-weight: 900; line-height: 1.5; }
.ev-meta { display: flex; flex-direction: column; gap: 8px; margin: 0; padding: 0; list-style: none; font-size: 13px; line-height: 1.7; color: var(--muted); }
.ev-meta li { display: flex; align-items: flex-start; gap: 9px; }
.ev-meta svg { flex-shrink: 0; width: 16px; height: 16px; margin-top: 3px; color: var(--muted-2); }
.ev-apply, .ev-closed { display: flex; align-items: center; justify-content: center; gap: 14px; min-height: 52px; height: auto; padding: 14px 20px; font-size: 14px; font-weight: 700; text-align: center; }
.ev-apply { line-height: 1; }
/* 和文の字面の中心に合わせて矢印の高さを補正する。 */
.ev-apply .chev { transform: translate(-1px, .08em) rotate(45deg); }
.ev-closed { background: var(--surface); color: var(--muted-2); }
.ev[data-status="done"] .ev-status { background: rgba(14, 31, 77, .8); }
.ev[data-status="open"] .if-done, .ev[data-status="open"] .ev-closed,
.timeline-slot[data-status="open"] .ev-closed,
.ev[data-status="done"] .if-open, .ev[data-status="done"] .ev-apply,
.timeline-slot[data-status="done"] .ev-apply { display: none; }
.ev-empty { padding: 48px; background: var(--surface); text-align: center; font-size: 14px; color: var(--muted); }
@media (max-width: 560px) {
  .filters { padding: 18px 16px; }
  .filter-group { gap: 6px; }
  .filter-group legend { float: none; margin: 0 0 8px; }
  .filter-btn { padding-inline: 13px; }
  .filter-count { margin-left: 0; }
}

/* ---------- ギャラリー ---------- */
.reels { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 16px; }
.reel { display: flex; flex-direction: column; gap: 10px; }
.reel-frame { position: relative; aspect-ratio: 9 / 16; overflow: hidden; background: #17295C; }
.reel-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.reel a { display: flex; justify-content: space-between; align-items: center; font-size: 13px; font-weight: 700; color: var(--on-dark-2); text-decoration: none; }
.reel a:hover { color: var(--cyan); }
.reel a span { font-family: var(--font-en); font-size: 11px; letter-spacing: .1em; color: var(--cyan); }
.gl-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr)); grid-auto-flow: dense; gap: 12px; }
.gl-item { position: relative; aspect-ratio: 1; padding: 0; border: 0; overflow: hidden; cursor: zoom-in; background: var(--photo); }
.gl-item--wide { grid-column: span 2; aspect-ratio: 2 / 1.02; }
.gl-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.gl-item:hover img { transform: scale(1.05); }
@media (max-width: 540px) {
  .gl-item--wide { grid-column: auto; aspect-ratio: 1; }
}
.lightbox { width: 100%; max-width: none; height: 100%; max-height: none; margin: 0; padding: clamp(16px, 4vw, 64px); border: 0; background: transparent; }
.lightbox::backdrop { background: rgba(6, 12, 30, .92); }
.lightbox[open] { display: flex; align-items: center; justify-content: center; }
.lb-inner { position: relative; width: min(1100px, 100%); display: flex; flex-direction: column; gap: 14px; }
.lb-frame { position: relative; aspect-ratio: 3 / 2; max-height: 78vh; overflow: hidden; background: #17295C; }
.lb-frame img { width: 100%; height: 100%; object-fit: contain; }
.lb-bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; color: #fff; }
.lb-bar > span { font-size: 14px; font-weight: 700; }
.lb-bar > span b { margin-left: 12px; font-family: var(--font-en); font-weight: 400; color: #8E9CBC; }
.lb-btns { display: flex; gap: 8px; }
.lb-btns button { width: 48px; height: 48px; display: flex; align-items: center; justify-content: center; border: 1px solid rgba(255, 255, 255, .3); background: transparent; color: #fff; cursor: pointer; }
.lb-btns button:hover { border-color: var(--cyan); color: var(--cyan); }
.lb-btns .chev { --s: 9px; }
.lb-btns .lb-close { border: 0; background: #fff; color: var(--navy); }
.lb-btns .lb-close:hover { background: var(--cyan); color: var(--navy); }

/* ---------- プライバシーポリシー ---------- */
.policy { display: flex; flex-wrap: wrap; gap: 48px 64px; align-items: flex-start; }
.toc { flex: 1 1 240px; max-width: 300px; position: sticky; top: 96px; display: flex; flex-direction: column; gap: 4px; padding: 20px; background: var(--surface); }
.toc > span { padding: 4px 8px 10px; font-family: var(--font-en); font-size: 12px; font-weight: 600; letter-spacing: .2em; color: var(--blue); }
.toc a { display: flex; gap: 10px; padding: 8px; font-size: 13px; font-weight: 700; line-height: 1.5; color: #1E2A48; text-decoration: none; transition: background .3s, color .3s; }
.toc a:hover { background: #fff; color: var(--blue); }
.toc a span { flex-shrink: 0; font-family: var(--font-en); color: var(--blue); }
@media (max-width: 860px) {
  .toc { position: static; max-width: none; }
}
.policy-body { flex: 999 1 560px; min-width: 0; display: flex; flex-direction: column; gap: 56px; font-size: 15px; line-height: 2; color: #2B3552; }
.policy-body p { margin: 0; text-wrap: pretty; }
.policy-body ul { margin: 0; padding-left: 1.2em; }
.policy-intro { display: flex; flex-direction: column; gap: 16px; }
.policy-intro p:first-child { font-size: 17px; font-weight: 900; color: var(--ink); }
.policy-body section { display: flex; flex-direction: column; gap: 16px; }
.policy-body h2 { margin: 0; display: flex; align-items: baseline; gap: 14px; padding-bottom: 14px; border-bottom: 1px solid var(--navy); font-size: clamp(18px, 2vw, 22px); font-weight: 900; line-height: 1.5; color: var(--ink); }
.policy-body h2 span { font-family: var(--font-en); font-size: 24px; font-weight: 600; color: var(--blue); }
.policy-box { display: flex; flex-direction: column; gap: 6px; padding: 20px 24px; background: var(--surface); }
.policy-box strong { font-weight: 900; color: var(--navy); }
.policy-box strong:not(:first-child) { margin-top: 10px; }
.policy-table { margin: 0; display: flex; flex-direction: column; border: 1px solid var(--border); }
.policy-table > div { display: grid; grid-template-columns: minmax(120px, 220px) minmax(0, 1fr); }
.policy-table > div + div { border-top: 1px solid var(--border); }
.policy-table dt { padding: 14px 18px; background: var(--surface); font-size: 14px; font-weight: 700; color: var(--navy); }
.policy-table dd { margin: 0; padding: 14px 18px; }
@media (max-width: 560px) {
  .policy-table > div { grid-template-columns: 1fr; }
}
.policy-contact { display: flex; flex-direction: column; gap: 6px; padding: 24px 28px; clip-path: var(--chamfer); background: var(--navy); color: var(--on-dark-2); }
.policy-contact strong { font-weight: 900; color: #fff; }
.policy-contact a { color: var(--cyan); font-weight: 700; }
.policy-contact a:hover { color: #fff; }
.policy-sign { margin-top: 16px !important; text-align: right; font-weight: 700; color: var(--ink); }

/* ---------- 404 ---------- */
.nf { display: flex; align-items: center; justify-content: center; }
.nf-inner { padding: clamp(96px, 12vw, 176px) var(--gutter); display: flex; flex-direction: column; align-items: center; gap: 22px; text-align: center; }
.nf-code { font-family: var(--font-en); font-size: clamp(96px, 18vw, 200px); font-weight: 600; line-height: .9; letter-spacing: .02em; background: linear-gradient(135deg, #0E1F4D, #2A55E5 55%, #5EE1F2); -webkit-background-clip: text; background-clip: text; color: transparent; }
.nf h1 { margin: 0; font-size: clamp(20px, 2.6vw, 28px); font-weight: 900; }
.nf p { margin: 0; font-size: 15px; line-height: 1.9; color: var(--muted); }
.nf .btn { margin-top: 12px; }

/* Pending schedules have no calendar date or dated poster. */
.timeline-date.is-pending { font-family: var(--font-ja); font-size: 18px; }
.ev-schedule-pending { position: absolute; inset: 0; display: grid; place-items: center; color: var(--blue); font-size: clamp(18px, 3vw, 26px); font-weight: 700; }
.ev[data-status="pending"] .if-open, .ev[data-status="pending"] .ev-apply,
.timeline-slot[data-status="pending"] .ev-apply { display: none; }
