/* Honors キックオフLP（2027年1月）
   配色は公式サイト（app/globals.css）とチラシに合わせる。
   箱は3種類だけ：.card（白・枠線）／.surface（薄いグレー）／濃紺の帯（.final-cta）。
   角丸はすべて var(--r)、内側の余白は var(--pad)、並べたときの間隔は var(--gap) で統一する。 */
:root {
  --navy: #1a1248;
  --teal: #45a5a8;
  --teal-deep: #2b8487;
  --teal-dark: #237175;
  --blue: #3568b7;
  --text: #1a1248;
  --muted: #5b5f73;
  --line: rgba(26, 18, 72, .13);
  --line-strong: rgba(26, 18, 72, .26);
  --gray: #f2f4f7;
  --white: #fff;
  --r: 12px;
  --pad: 20px;
  --gap: 12px;
  --section: 64px;
  --gutter: 20px;
  --header-h: 64px;
  --font-ja: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Yu Gothic", sans-serif;
  --font-en: "Montserrat", "Avenir Next", "Helvetica Neue", Arial, sans-serif;
}
@media (min-width: 760px) {
  :root { --pad: 28px; --gap: 16px; --section: 96px; --gutter: 40px; --header-h: 72px; }
}

/* ---------- 基本 ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-ja);
  font-size: 15px;
  line-height: 1.9;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  font-feature-settings: "palt" 1;
  letter-spacing: .02em;
  /* 改行は <wbr>（文節の区切り）の位置だけで行う。収まらないときだけ文字単位で折り返す */
  word-break: keep-all;
  overflow-wrap: anywhere;
  line-break: strict;
}
@media (min-width: 760px) { body { font-size: 16px; } }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
ul, ol, dl, dd, figure, p, h1, h2, h3, h4 { margin: 0; padding: 0; }
ul, ol { list-style: none; }
h1, h2, h3, h4 { letter-spacing: .01em; text-wrap: balance; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; } }

.container { width: min(1120px, 100% - var(--gutter) * 2); margin-inline: auto; }
.num { font-family: var(--font-en); }
.nw { white-space: nowrap; }

.skip-link { position: fixed; left: 12px; top: -80px; z-index: 300; padding: 10px 16px; border-radius: var(--r); background: var(--white); color: var(--navy); }
.skip-link:focus { top: 12px; }
:focus-visible { outline: 3px solid #f2c94c; outline-offset: 3px; }

/* ---------- 箱（3種類） ---------- */
.card { padding: var(--pad); border: 1px solid var(--line); border-radius: var(--r); background: var(--white); }
.surface { padding: var(--pad); border-radius: var(--r); background: var(--gray); }

/* ---------- ボタン ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 56px; padding: 0 28px; border: 1px solid transparent; border-radius: 999px; background: var(--teal-deep); color: var(--white); font-size: 16px; font-weight: 700; line-height: 1.4; text-decoration: none; white-space: nowrap; cursor: pointer; transition: background-color .2s, border-color .2s; }
.btn:hover { background: var(--teal-dark); }
.btn[target="_blank"]::after { content: ""; flex: 0 0 auto; width: 12px; height: 12px; background: currentColor; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M4 1h7v7M11 1L4.5 7.5M8.5 11H1V3.5' fill='none' stroke='black' stroke-width='1.6'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M4 1h7v7M11 1L4.5 7.5M8.5 11H1V3.5' fill='none' stroke='black' stroke-width='1.6'/%3E%3C/svg%3E") center / contain no-repeat; }
.btn-outline { border-color: var(--line-strong); background: var(--white); color: var(--navy); }
.btn-outline:hover { border-color: var(--navy); background: var(--white); }
.btn-sm { min-height: 44px; padding: 0 20px; font-size: 14px; }

/* ---------- タグ ---------- */
.tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tags li { padding: 4px 14px; border: 1px solid var(--line); border-radius: 999px; background: var(--white); font-size: 14px; line-height: 1.6; }
.tags-gray li { border-color: transparent; background: var(--gray); }

/* ---------- ヘッダー ---------- */
.site-header { position: sticky; top: 0; z-index: 100; height: var(--header-h); border-top: 3px solid; border-image: linear-gradient(90deg, var(--teal), var(--blue)) 1; background: rgba(255, 255, 255, .97); box-shadow: 0 1px 0 transparent; transition: box-shadow .2s; }
.site-header.is-scrolled { box-shadow: 0 1px 0 var(--line); }
.header-inner { display: flex; align-items: center; gap: 32px; height: 100%; }
.logo img { width: 112px; }
.header-nav { display: none; gap: 28px; margin-left: auto; font-size: 14px; font-weight: 700; }
.header-nav a { text-decoration: none; }
.header-nav a:hover { color: var(--teal-deep); }
.site-header .btn { margin-left: auto; }
@media (min-width: 760px) { .logo img { width: 128px; } }
@media (min-width: 1000px) { .header-nav { display: flex; } .site-header .btn { margin-left: 0; } }

/* ---------- ヒーロー ---------- */
.hero { padding: 24px 0 var(--section); background: var(--gray); }
.hero-grid { display: grid; gap: 28px; }
.hero-photo { order: -1; }
.hero-photo img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: var(--r); }
.eyebrow { font-size: 14px; font-weight: 700; color: var(--teal-deep); }
.hero-title { margin-top: 12px; font-size: clamp(32px, 5.2vw, 54px); font-weight: 900; line-height: 1.35; letter-spacing: .01em; }
.hero-title em { font-style: normal; color: var(--blue); }
.hero-lead { margin-top: 20px; line-height: 2; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.hero-note { margin-top: 12px; font-size: 13px; color: var(--muted); }
.facts { margin-top: 28px; border-top: 1px solid var(--line-strong); }
.facts div { display: grid; grid-template-columns: 4.5em 1fr; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.facts dt { font-size: 13px; font-weight: 700; line-height: 1.9; color: var(--muted); }
.facts dd { font-size: 15px; font-weight: 700; line-height: 1.7; }
@media (max-width: 559px) { .hero-actions .btn { width: 100%; } }
@media (min-width: 560px) and (max-width: 959px) { .hero-photo img { aspect-ratio: 2 / 1; } }
@media (min-width: 960px) {
  .hero { padding: 72px 0 var(--section); }
  .hero-grid { grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); gap: 56px; align-items: center; }
  .hero-photo { order: 0; }
  .hero-photo img { aspect-ratio: 4 / 3; }
}

/* ---------- セクション共通 ---------- */
.section { padding: var(--section) 0; }
.section-gray { background: var(--gray); }
.section-head { margin-bottom: 28px; }
.section-title { font-size: clamp(24px, 3.2vw, 32px); font-weight: 900; line-height: 1.5; }
.section-title-sub { display: inline-block; margin-left: 12px; font-size: 15px; font-weight: 700; color: var(--muted); }
.section-lead { margin-top: 12px; line-height: 2; }
.section-note { margin-top: 8px; font-size: 13px; color: var(--muted); }
.subhead { margin: 56px 0 20px; font-size: 20px; font-weight: 900; line-height: 1.5; }
@media (min-width: 760px) {
  .section-head { margin-bottom: 40px; }
  .subhead { margin-top: 72px; font-size: 22px; }
}

/* 3つ並ぶ説明（得られること・初めて参加される先生へ）は、箱にせず罫線で区切る */
.cols { display: grid; }
.col { padding: 20px 0 24px; border-top: 2px solid var(--navy); }
.col-title { margin-top: 2px; font-size: 28px; font-weight: 900; line-height: 1.4; }
.col-title-sm { margin-top: 0; font-size: 18px; line-height: 1.6; }
.col-catch { margin-top: 4px; font-weight: 700; line-height: 1.7; color: var(--teal-deep); }
.col-text { margin-top: 8px; }
@media (min-width: 860px) {
  .cols { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 40px; }
  .col { padding-bottom: 0; }
}

/* ---------- 開催地と日程 ---------- */
.venue-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.venue { display: grid; justify-items: center; padding: 14px 8px 12px; text-align: center; }
.venue-date { display: inline-flex; align-items: baseline; gap: 4px; font-family: var(--font-en); font-size: 18px; font-weight: 700; line-height: 1.4; color: var(--blue); }
.dow { font-family: var(--font-ja); font-size: 12px; font-weight: 700; }
.venue-city { margin-top: 2px; font-size: 19px; font-weight: 900; line-height: 1.5; white-space: nowrap; }
.venue-pref { width: 100%; margin-top: 8px; padding-top: 8px; border-top: 1px solid var(--line); font-size: 12px; line-height: 1.5; color: var(--muted); }
.schedule-cta { display: grid; gap: 16px; margin-top: var(--gap); }
.schedule-cta-title { font-weight: 700; line-height: 1.7; }
.schedule-cta-text { margin-top: 2px; font-size: 14px; color: var(--muted); }
@media (min-width: 760px) {
  .venue-grid { gap: var(--gap); }
  .venue { padding: 18px 12px 16px; }
  .venue-city { font-size: 21px; }
  .schedule-cta { grid-template-columns: 1fr auto; align-items: center; gap: 24px; }
}
@media (min-width: 1040px) {
  .venue-grid { grid-template-columns: repeat(9, minmax(0, 1fr)); }
  .venue-city { font-size: 19px; }
}
@media (max-width: 559px) { .schedule-cta .btn { width: 100%; } }

/* 入口ページ：会場カードは各拠点のLPへのリンク */
a.venue { height: 100%; color: inherit; text-decoration: none; transition: border-color .2s; }
a.venue:hover { border-color: var(--teal-deep); }
a.venue:hover .venue-city { color: var(--teal-deep); }

/* 拠点別LP：開催概要 */
.overview { padding-block: 4px; }
.overview div { display: grid; gap: 2px; padding: 14px 0; border-top: 1px solid var(--line); }
.overview div:first-child { border-top: 0; }
.overview dt { font-size: 13px; font-weight: 700; color: var(--muted); }
.overview dd { font-weight: 700; line-height: 1.7; }
.overview dd small { display: block; margin-top: 2px; font-size: 13px; font-weight: 400; color: var(--muted); }
.schedule-cta-text a { color: var(--teal-deep); text-underline-offset: 3px; }
@media (min-width: 760px) {
  .overview { padding-block: 8px; }
  .overview div { grid-template-columns: 8em 1fr; gap: 24px; padding: 18px 0; }
  .overview dt { font-size: 14px; line-height: 1.9; }
}

/* ---------- こんな先生に ---------- */
.need-grid { display: grid; gap: var(--gap); }
.need h3 { font-size: 17px; font-weight: 700; line-height: 1.6; }
.need p { margin-top: 4px; font-size: 14px; color: var(--muted); }
.target { display: grid; gap: 10px; margin-top: 32px; }
.target-label { font-size: 14px; font-weight: 700; }
@media (min-width: 760px) {
  .need-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .target { grid-template-columns: auto 1fr; gap: 20px; align-items: start; }
  .target-label { padding-top: 5px; }
}

/* ---------- Honorsについて ---------- */
.about-grid { display: grid; gap: 28px; }
.about-text .eyebrow { margin-bottom: 8px; }
.about-text .section-title { margin-bottom: 20px; }
.about-text p + p { margin-top: 14px; }
.about-text p { line-height: 2; }
.text-link { display: inline-block; margin-top: 20px; font-weight: 700; color: var(--teal-deep); text-underline-offset: 4px; }
.text-link::after { content: " →"; }
.about-photo img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: var(--r); }
@media (min-width: 960px) {
  .about-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: center; }
}

.stats { margin-top: 48px; }
.stats-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-block: 1px solid var(--line-strong); }
.stat { display: grid; align-content: center; padding: 16px 6px; text-align: center; }
.stat:nth-child(even) { border-left: 1px solid var(--line); }
.stat:nth-child(n+3) { border-top: 1px solid var(--line); }
.stat dt { font-size: 12px; font-weight: 700; line-height: 1.6; color: var(--muted); }
.stat dd { margin-top: 2px; font-size: 15px; font-weight: 900; line-height: 1.4; }
.stat .num { margin: 0 2px; font-size: 28px; color: var(--navy); }
.stat .stat-word { padding: 5px 0 3px; font-size: 22px; line-height: 1.4; }
.stats-note { margin-top: 10px; font-size: 12px; color: var(--muted); }
@media (min-width: 760px) {
  .stats { margin-top: 64px; }
  .stats-list { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .stat { padding: 22px 12px; }
  .stat + .stat { border-left: 1px solid var(--line); }
  .stat:nth-child(n+3) { border-top: 0; }
  .stat dt { font-size: 13px; }
  .stat dd { font-size: 18px; }
  .stat .num { font-size: 36px; }
  .stat .stat-word { padding: 6px 0 4px; font-size: 28px; }
}

/* 活動：写真つきのカード（写真はカードの上端いっぱいに置く） */
.activity-grid { display: grid; gap: var(--gap); }
.activity { display: flex; flex-direction: column; overflow: hidden; padding: 0; }
.activity img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.activity-body { padding: var(--pad); }
.activity-title { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 12px; font-size: 22px; font-weight: 900; line-height: 1.5; color: var(--navy); }
.activity-title span { font-size: 14px; font-weight: 700; color: var(--teal-deep); }
.activity-text { margin-top: 8px; }
.activity-sub { margin-top: 16px; font-size: 13px; font-weight: 700; color: var(--muted); }
.activity-list { display: grid; gap: 2px; margin-top: 6px; font-size: 14px; }
.activity-list li { position: relative; padding-left: 14px; line-height: 1.7; }
.activity-list li::before { content: ""; position: absolute; left: 0; top: .72em; width: 6px; height: 6px; border-radius: 50%; background: var(--teal-deep); }
/* タブレット幅：写真を左、文を右に並べる（写真が大きくなりすぎないように） */
@media (min-width: 560px) and (max-width: 859px) {
  .activity { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); }
  .activity img { height: 100%; min-height: 220px; aspect-ratio: auto; contain: size; }
}
@media (min-width: 860px) {
  .activity-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

/* ---------- 当日の流れ ---------- */
.program-head { display: grid; gap: 24px; }
.program-photo img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: var(--r); }
@media (min-width: 960px) {
  .program-head { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 56px; align-items: center; }
}
.timeline { display: grid; gap: var(--gap); }
.tl { display: grid; gap: 12px; }
.tl-time { display: flex; align-items: baseline; gap: 10px; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.tl-time time { font-family: var(--font-en); font-size: 20px; font-weight: 700; line-height: 1.2; }
.tl-min { font-size: 13px; font-weight: 700; color: var(--teal-deep); }
.tl-title { font-size: 18px; font-weight: 900; line-height: 1.55; }
.tl-title-note { display: inline-block; margin-left: 10px; font-size: 13px; font-weight: 700; color: var(--muted); }
.tl-body > p { margin-top: 8px; }
.tl-sub { margin-top: 16px !important; margin-bottom: 8px; font-size: 13px; font-weight: 700; color: var(--muted); }
.tl-points { counter-reset: point; display: grid; gap: 4px; margin-top: 12px; }
.tl-points li { counter-increment: point; display: grid; grid-template-columns: 22px 1fr; align-items: baseline; font-weight: 700; }
.tl-points li::before { content: counter(point) "."; font-family: var(--font-en); color: var(--teal-deep); }
.voices { display: grid; gap: 16px; margin-top: 16px; }
.voice { padding-top: 14px; border-top: 1px solid var(--line); }
.voice-title { font-size: 16px; font-weight: 700; line-height: 1.6; }
.voice p { margin-top: 6px; }
@media (min-width: 760px) {
  .tl { grid-template-columns: 104px 1fr; gap: 28px; }
  .tl-time { flex-direction: column; gap: 4px; padding: 0 0 0; border-bottom: 0; border-right: 1px solid var(--line); }
  .tl-time time { font-size: 24px; }
  .tl-title { font-size: 20px; }
  .voices { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; }
}

/* ---------- よくある質問 ---------- */
.faq-list { display: grid; gap: var(--gap); }
.faq { padding: 0; }
.faq summary { position: relative; display: block; padding: 16px 52px 16px 48px; font-weight: 700; line-height: 1.7; cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before { content: "Q"; position: absolute; left: 20px; top: 16px; font-family: var(--font-en); font-weight: 700; color: var(--teal-deep); }
.faq summary::after { content: ""; position: absolute; right: 22px; top: 50%; width: 9px; height: 9px; margin-top: -6px; border-right: 2px solid var(--navy); border-bottom: 2px solid var(--navy); transform: rotate(45deg); transition: transform .2s; }
.faq[open] summary::after { margin-top: -2px; transform: rotate(-135deg); }
.faq p { position: relative; padding: 0 24px 18px 48px; }
.faq p::before { content: "A"; position: absolute; left: 20px; top: 0; font-family: var(--font-en); font-weight: 700; color: var(--blue); }
.faq p a { color: var(--teal-deep); text-underline-offset: 3px; }
@media (min-width: 760px) {
  .faq summary { padding: 20px 60px 20px 56px; }
  .faq summary::before { left: 24px; top: 20px; }
  .faq p { padding: 0 28px 22px 56px; }
  .faq p::before { left: 24px; }
}

/* ---------- 最後の申込 ---------- */
.final-cta { padding: var(--section) 0; background: var(--navy); color: var(--white); text-align: center; }
.final-title { font-size: clamp(26px, 4vw, 40px); font-weight: 900; line-height: 1.45; }
.final-text { margin: 12px 0 28px; opacity: .9; }
.final-sub { margin-top: 14px; font-size: 13px; opacity: .8; }
@media (max-width: 559px) { .final-cta .btn { width: 100%; } }

/* ---------- フッター ---------- */
.site-footer { padding: 48px 0 calc(28px + env(safe-area-inset-bottom)); }
.footer-grid { display: grid; gap: 24px; }
.footer-org img { width: 112px; }
.footer-host { margin-top: 14px; font-weight: 700; }
.footer-tagline { font-size: 14px; color: var(--muted); }
.footer-contact { display: grid; gap: 4px; font-size: 14px; }
.footer-contact div { display: flex; gap: 16px; }
.footer-contact dt { min-width: 6em; color: var(--muted); }
.footer-contact dd { font-weight: 700; }
.footer-contact a { text-underline-offset: 3px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 8px 28px; margin-top: 28px; font-size: 14px; font-weight: 700; }
.footer-links a { color: var(--teal-deep); text-underline-offset: 4px; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; margin-top: 28px; padding-top: 20px; border-top: 1px solid var(--line); font-size: 12px; color: var(--muted); }
@media (min-width: 760px) { .footer-grid { grid-template-columns: 1fr auto; align-items: end; } }

/* ---------- スマホ用の追従申込ボタン ---------- */
.sticky-cta { position: fixed; inset: auto 0 0; z-index: 90; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); background: rgba(255, 255, 255, .97); transform: translateY(110%); transition: transform .3s; }
.sticky-cta.is-visible { transform: none; }
.sticky-cta-text { display: grid; font-size: 12px; line-height: 1.5; color: var(--muted); }
.sticky-cta-text strong { font-size: 15px; color: var(--teal-deep); }
.sticky-cta .btn { min-height: 48px; padding: 0 24px; font-size: 15px; }
@media (min-width: 900px) { .sticky-cta { display: none; } }
@media (max-width: 899px) { .site-footer { padding-bottom: calc(96px + env(safe-area-inset-bottom)); } }
