/* =========================================================
   TECH HUB HP — スタイルガイド v3.0「クリーム×ターミナル」（暖色系 複合案A）
   freee（ロゴと同じクリームの地・色は押せる所だけ）＋SmartHR（ロゴの色は濃くして文字に使う）
   ＋GitHub Primer（Bento・ターミナルの窓を1つ）＋IBM Carbon（ヒーローの方眼・等幅のラベル）
   ＋ヘルシンキ市（ロゴのネットワーク柄を角に）
   色はロゴから：クリーム・濃い紺・ティール・コーラル。余白は4の倍数
   v3.2：数字・日付・時刻は等幅にせず --num（Noto Sans JP）で表示する
   ========================================================= */

:root {
  --bg: #f6f4ea;          /* 地の色（ロゴのクリーム） */
  --bg-2: #efece0;        /* 一段濃い地（交互のセクション・フッター） */
  --surface: #fffdf7;     /* カード・ヘッダー */
  --ink: #2e3a47;         /* 文字（ロゴの文字色。地の色で10.5:1） */
  --muted: #5b6470;       /* 補足の文字（どの地でも5:1以上） */
  --line: #dcd8c8;
  --accent: #17707a;      /* ティールの文字・リンク（どの地でも4.8:1以上） */
  --teal-deco: #4fb3bb;   /* ロゴのティール（飾りだけ） */
  --accent-soft: rgba(79, 179, 187, .14);
  --coral: #a84a26;       /* コーラルの文字（どの地でも4.8:1以上） */
  --coral-bg: #ee8459;    /* ロゴのコーラル（申込ボタン・飾り） */
  --on-coral: #2a1308;    /* ボタンの文字（6.7:1） */
  --white: #ffffff;

  --font: "Noto Sans JP", "Hiragino Sans", "Yu Gothic", system-ui, sans-serif;
  --font-head: "Inter", "Noto Sans JP", system-ui, sans-serif;
  /* 等幅はコマンド・英字ラベル・ターミナルの窓だけ。IBM Plex Monoは0に点が入り、lが1に似るため数字には使わない */
  --mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, "Noto Sans JP", monospace;
  /* 数字・日付・時刻・回数・番号。font-variant-numeric: tabular-nums と組で使う */
  --num: var(--font);

  --maxw: 1080px;
  --px: 40px;
  --sec: 96px;
  --r-btn: 6px;
  --r-card: 10px;
  --r-photo: 6px;

  /* 方眼（IBM Carbon） */
  --grid-line: rgba(46, 58, 71, .06);
  --grid: linear-gradient(var(--grid-line) 1px, transparent 1px) 0 0 / 48px 48px,
          linear-gradient(90deg, var(--grid-line) 1px, transparent 1px) 0 0 / 48px 48px;

  /* 動きの数値（時間は3つ、曲線は3つだけ。IBM Carbon・Atlassian・Material 3） */
  --dur-fast: 120ms;   /* 小さな反応：ホバー・押下・閉じる・消える */
  --dur-mid: 240ms;    /* 開く・出てくる・ページ切替 */
  --dur-slow: 400ms;   /* ふわっと表示など大きめの変化 */
  --ease-out: cubic-bezier(0.2, 0, 0, 1);         /* 登場（速く始まり、ゆっくり止まる） */
  --ease-in: cubic-bezier(0.3, 0, 1, 1);          /* 退場（ゆっくり始まり、速く消える） */
  --ease-inout: cubic-bezier(0.2, 0, 0.38, 0.9);  /* その場での変化（色・形） */

  /* 影（SmartHRの影の段階を、ロゴの濃い紺で） */
  --shadow-1: 0 1px 2px rgba(46, 58, 71, .10);
  --shadow-2: 0 2px 4px 1px rgba(46, 58, 71, .10), 0 8px 20px rgba(46, 58, 71, .06);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; background: var(--bg); color-scheme: light; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; animation: none !important; }
}
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: var(--font); font-size: 16px; line-height: 1.75; letter-spacing: .02em;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
p { margin: 0; }
h1, h2, h3, h4 { margin: 0; }
a { color: inherit; }
img { max-width: 100%; display: block; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 2px; }
.container { max-width: var(--maxw); margin: 0 auto; padding-inline: var(--px); }
.nw { white-space: nowrap; }
.skip { position: absolute; left: 8px; top: -48px; z-index: 100; background: var(--ink); color: var(--white); padding: 8px 16px; border-radius: var(--r-btn); }
.skip:focus { top: 8px; }

/* ---------- 共通部品 ---------- */
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-family: var(--mono); font-size: 13px; color: var(--accent); }
.eyebrow::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--coral-bg); box-shadow: 0 0 0 4px rgba(238, 132, 89, .2); }
.h2 { font-family: var(--font-head); font-size: 30px; font-weight: 800; line-height: 1.4; margin: 8px 0 24px; }
.lead { color: var(--muted); max-width: 36em; }
.accent { color: var(--accent); }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 12px 26px; border-radius: var(--r-btn);
  background: var(--coral-bg); color: var(--on-coral); font-weight: 700; font-size: 16px;
  text-decoration: none; white-space: nowrap; letter-spacing: .04em; border: 1px solid transparent;
  box-shadow: var(--shadow-1);
  transition: background-color var(--dur-fast) var(--ease-out), border-color var(--dur-fast) var(--ease-out),
              transform var(--dur-fast) var(--ease-out), box-shadow var(--dur-fast) var(--ease-out);
}
.btn:hover { background: #f29772; }
/* 押した感：押している間だけ1px沈む */
.btn:active { transform: translateY(1px); box-shadow: none; }
.btn-sm { min-height: 40px; padding: 8px 16px; font-size: 14px; }
.btn-light { background: transparent; color: var(--ink); border-color: var(--line); box-shadow: none; }
.btn-light:hover { background: var(--surface); border-color: #c9c4b0; }
.cta-link, .more { color: var(--accent); font-weight: 700; text-decoration: none; border-bottom: 1px solid currentColor; padding-bottom: 2px; transition: color var(--dur-fast) var(--ease-out); }
.cta-link::after, .more::after { content: "→"; margin-left: 4px; }
.cta-link:hover { border-bottom-width: 2px; }
.ph {
  display: grid; place-items: center; text-align: center; padding: 16px; border-radius: var(--r-photo);
  background: repeating-linear-gradient(135deg, rgba(46, 58, 71, .04) 0 12px, rgba(46, 58, 71, .08) 12px 24px), var(--bg-2);
  color: var(--muted); font-size: 13px;
}
.tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tag {
  display: inline-block; font-family: var(--num); font-variant-numeric: tabular-nums; font-size: 12px; font-weight: 500; color: #14666f;
  border: 1px solid rgba(23, 112, 122, .35); background: var(--accent-soft); padding: 1px 10px; border-radius: 999px;
}

/* ---------- ヘッダー（PCでは上に残す） ---------- */
.site-header { border-bottom: 1px solid var(--line); background: rgba(255, 253, 247, .92); position: relative; z-index: 40; }
@media (min-width: 861px) {
  .site-header { position: sticky; top: 0; -webkit-backdrop-filter: saturate(160%) blur(10px); backdrop-filter: saturate(160%) blur(10px); }
  main [id] { scroll-margin-top: 88px; }
}
.site-header .container { display: flex; align-items: center; gap: 24px; min-height: 72px; }
/* ロゴ：文字（メイン画像のロゴと同じ太い書体・濃い紺）の前に、ネットワーク柄から取った「つながりの記号」（ティールとコーラルの点を線でつなぐ）。
   SmartHRのロゴの考え方（バッジや飾りを使わず、文字そのものを整える）を参考に（2026-10-22 ユーザーが案Bを選択） */
.logo { display: inline-flex; align-items: center; gap: 10px; flex: none; white-space: nowrap; font-family: var(--font-head); font-size: 20px; font-weight: 800; letter-spacing: .01em; line-height: 1; text-decoration: none; }
.logo-mark { flex: none; width: 30px; height: 18px; }
.nav { display: flex; gap: 20px; margin-left: auto; font-size: 14px; }
.nav a { text-decoration: none; color: var(--muted); white-space: nowrap; padding-block: 6px; transition: color var(--dur-fast) var(--ease-out); }
.nav a:hover { color: var(--ink); }
.nav a[aria-current="page"] { color: var(--ink); font-weight: 700; box-shadow: inset 0 -2px 0 var(--coral-bg); }
.menu-btn, .mobile-nav { display: none; }

/* ---------- ヒーロー（方眼＋ターミナル） ---------- */
.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(560px 380px at 85% 12%, rgba(238, 132, 89, .12), transparent 70%),
    radial-gradient(ellipse at 70% 25%, transparent 0%, var(--bg) 72%),
    var(--grid), var(--bg);
}
.hero .container { display: grid; grid-template-columns: 1fr 1.05fr; gap: 48px; align-items: center; padding-block: 88px 96px; }
.hero h1 { font-family: var(--font-head); font-weight: 800; font-size: 46px; line-height: 1.3; letter-spacing: -.01em; margin: 18px 0 20px; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; margin-top: 32px; }

/* ターミナルの窓（GitHub Primer の IDE）。色はロゴの文字色の濃い紺。ページに1つだけ */
.term { margin: 0; border: 1px solid rgba(255, 255, 255, .1); border-radius: var(--r-card); background: #2e3a47; color: #e9eeeb; box-shadow: 0 20px 48px rgba(46, 58, 71, .22); overflow: hidden; font-family: var(--mono); font-size: 13.5px; }
.term-bar { display: flex; align-items: center; gap: 6px; padding: 10px 14px; border-bottom: 1px solid rgba(255, 255, 255, .1); background: #27323d; color: #b3bec6; font-size: 12px; }
.term-bar i { width: 10px; height: 10px; border-radius: 50%; background: var(--teal-deco); }
.term-bar i + i { background: #f2c66d; }
.term-bar i + i + i { background: var(--coral-bg); }
.term-bar span { margin-left: 8px; }
.term-body { padding: 18px 20px 22px; display: grid; gap: 4px; }
.term-body .ln { display: grid; grid-template-columns: 2.2em 1fr; color: #e9eeeb; white-space: pre-wrap; }
.term-body .ln b { color: #9aa6b1; font-weight: 400; user-select: none; }
/* 窓の中でも、行番号と日付は等幅にしない（コマンドの英字は等幅のまま） */
.term-body .ln b, .term .t-num { font-family: var(--num); font-variant-numeric: tabular-nums; }
.term .t-num { line-height: 1; }  /* 書体が混ざっても行の高さを変えない */
.c-pr { color: #8fd6dc; } .c-cm { color: #b3bec6; } .c-ok { color: #a8e0b8; } .c-key { color: #f6ad8e; } .c-str { color: #c6e7ea; }
.term-link { color: inherit; text-underline-offset: 3px; }
.cursor { display: inline-block; width: 8px; height: 15px; background: #8fd6dc; vertical-align: -2px; animation: blink 1.1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }

/* ---------- はじめての方へ：共感と3つの安心 ---------- */
.welcome-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.welcome-q { font-family: var(--font-head); font-size: 22px; font-weight: 800; line-height: 1.5; margin-bottom: 20px; }
.worries { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.worries li { position: relative; padding: 14px 18px 14px 40px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-card); font-weight: 700; line-height: 1.6; }
.worries li::before { content: ""; position: absolute; left: 18px; top: 50%; width: 8px; height: 8px; margin-top: -4px; border-radius: 50%; background: var(--coral-bg); box-shadow: 0 0 0 4px rgba(238, 132, 89, .2); }
.reassure { list-style: none; margin: 0; padding: 0; display: grid; gap: 20px; }
.reassure li { display: grid; grid-template-columns: auto 1fr; gap: 4px 16px; padding-bottom: 20px; border-bottom: 1px solid var(--line); }
.reassure li:last-child { padding-bottom: 0; border-bottom: 0; }
.reassure .num { grid-row: span 2; font-family: var(--num); font-variant-numeric: tabular-nums; font-size: 14px; font-weight: 700; color: var(--accent); padding-top: 3px; }
.reassure b { font-size: 18px; line-height: 1.5; }
.reassure p { grid-column: 2; color: var(--muted); font-size: 15px; }
.welcome-foot { margin-top: 28px; }

/* ---------- 実績：開催回数と、この1年の歩み ---------- */
.stats { border-block: 1px solid var(--line); background: var(--surface); }
.stats-grid { display: grid; grid-template-columns: 240px 1fr; gap: 40px; align-items: center; padding-block: 40px; }
.stat-main { padding-right: 40px; border-right: 1px solid var(--line); }
.stat-num { font-family: var(--num); font-variant-numeric: tabular-nums; font-weight: 800; font-size: 72px; line-height: 1; letter-spacing: -.02em; color: var(--ink); }
.stat-num small { font-family: var(--font); font-size: 20px; font-weight: 700; letter-spacing: 0; margin-left: 6px; color: var(--coral); }
.stat-label { margin-top: 12px; font-weight: 700; }
.stat-note { font-size: 13px; color: var(--muted); }
.steps-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 8px 16px; margin-bottom: 20px; }
.steps-head .display-sub { margin: 0; font-size: 13px; }
.steps-head .cta-link { font-size: 14px; }
/* 項目の数が変わっても横に等分で並ぶ */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; position: relative; }
.steps::before { content: ""; position: absolute; left: 7px; right: 7px; top: 7px; height: 2px; background: var(--line); }
.steps li { position: relative; padding: 26px 12px 0 0; }
.steps li::before { content: ""; position: absolute; left: 0; top: 0; width: 16px; height: 16px; border-radius: 50%; background: var(--surface); border: 2px solid var(--teal-deco); }
.steps li.is-now::before { background: var(--coral-bg); border-color: var(--coral-bg); }
.steps time { display: block; font-family: var(--num); font-variant-numeric: tabular-nums; font-size: 12.5px; color: var(--muted); }
.steps b { display: block; font-size: 15px; line-height: 1.5; margin-top: 2px; }
.steps span { display: block; font-size: 13px; color: var(--muted); }

/* ---------- セクション ---------- */
.section { padding-block: var(--sec); position: relative; }
.section-soft { background: var(--bg-2); }
.display { font-family: var(--font-head); font-weight: 800; font-size: 64px; line-height: 1.05; letter-spacing: -.02em; color: var(--ink); }
/* 小見出しは日本語と数字（2つの開催スタイル など）が入るので --num。頭の「// 」だけ等幅 */
.display-sub { font-family: var(--num); font-variant-numeric: tabular-nums; font-size: 14px; font-weight: 500; color: var(--accent); letter-spacing: 0; margin-top: 12px; }
.display-sub::before { content: "// "; color: var(--muted); font-family: var(--mono); line-height: 1; }
.sec-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px 24px; margin-bottom: 48px; }
.sec-head .lead { margin-top: 16px; }

/* コマンド風のラベル（申込の帯など） */
.cmd { font-family: var(--mono); font-size: 14px; color: var(--muted); }
.cmd b { color: var(--accent); font-weight: 500; }
.cmd .c-cm { color: var(--muted); }

/* ミッションの帯 */
.band { background: radial-gradient(700px 360px at 90% 0%, rgba(79, 179, 187, .14), transparent 70%), var(--surface); border-block: 1px solid var(--line); }
.statement { font-family: var(--font-head); font-size: 40px; font-weight: 800; line-height: 1.45; margin: 24px 0 20px; }
.band-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: 64px; align-items: end; }

/* ---------- イベント ---------- */
.ev-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.ev-grid.bento { grid-template-columns: 7fr 5fr; }
.ev-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-card); overflow: hidden; }
.ev-media { position: relative; }
.ev-media .ph, .ev-media img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 0; place-items: start center; padding-top: 28px; }
.ev-media img { padding: 0; }
.ev-overlay { position: absolute; left: 0; right: 0; bottom: 0; display: grid; gap: 2px; padding: 64px 24px 18px; color: var(--white); background: linear-gradient(180deg, rgba(46, 58, 71, 0) 0%, rgba(30, 38, 47, .86) 62%); }
.ev-overlay time, .ev-overlay .ev-date { font-family: var(--num); font-variant-numeric: tabular-nums; font-size: 12.5px; color: #eef1ee; }
.ev-title { font-family: var(--font-head); font-size: 20px; font-weight: 800; line-height: 1.45; color: var(--white); }
.ev-body { padding: 16px 24px 24px; display: grid; gap: 10px; justify-items: start; }
.ev-body p { font-size: 15px; color: var(--muted); }
/* Bento：右のカードは写真の高さを伸ばして左のカードとそろえる */
.ev-grid.bento .ev-card:last-child { display: flex; flex-direction: column; }
.ev-grid.bento .ev-card:last-child .ev-media { flex: 1; display: grid; }
.ev-grid.bento .ev-card:last-child .ev-media .ph, .ev-grid.bento .ev-card:last-child .ev-media img { aspect-ratio: auto; height: 100%; min-height: 240px; }
.ev-card.wide { display: grid; grid-template-columns: 400px 1fr; }
.ev-card.wide .ev-media .ph, .ev-card.wide .ev-media img { aspect-ratio: auto; height: 100%; min-height: 280px; }
.ev-card.wide .ev-body { padding: 24px 28px; align-content: center; }
/* 開催予定・開催したイベントのまとまり */
.ev-group + .ev-group { margin-top: 56px; }
.ev-group-title { display: flex; align-items: center; gap: 10px; font-family: var(--font-head); font-size: 20px; font-weight: 800; line-height: 1.4; margin-bottom: 20px; }
.ev-group-title::before { content: ""; flex: none; width: 10px; height: 10px; border-radius: 50%; background: var(--teal-deco); }
.ev-group.is-upcoming .ev-group-title::before { background: var(--coral-bg); box-shadow: 0 0 0 4px rgba(238, 132, 89, .2); }
/* 次回の日程が決まっていないときの案内 */
.ev-next { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 32px; padding: 28px 32px; border: 1px dashed #c9c4b0; border-radius: var(--r-card); background: var(--surface); }
.ev-next-status { font-family: var(--font-head); font-size: 20px; font-weight: 800; line-height: 1.5; }
.ev-next-note { margin-top: 4px; color: var(--muted); font-size: 15px; }
/* 開催予定のカードにつける「申込受付中」 */
.ev-badge { display: inline-block; font-size: 12px; font-weight: 700; color: var(--on-coral); background: var(--coral-bg); padding: 2px 10px; border-radius: 999px; }
/* サムネイル版：文字入りの告知画像を使うカード。画像に文字を重ねず、日付とタイトルは下に置く。カード全体がリンク */
.ev-card.thumb { position: relative; display: flex; flex-direction: column; transition: transform var(--dur-fast) var(--ease-out), box-shadow var(--dur-fast) var(--ease-out), border-color var(--dur-fast) var(--ease-out); }
.ev-thumb { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; border-bottom: 1px solid var(--line); }
.ev-card.thumb .ev-body { flex: 1; display: flex; flex-direction: column; align-items: flex-start; gap: 8px; }
.ev-card.thumb .ev-date { font-family: var(--num); font-variant-numeric: tabular-nums; font-size: 12.5px; color: var(--muted); }
.ev-card.thumb .ev-title { color: var(--ink); }
.ev-card.thumb .tags { margin-top: 2px; }
.ev-card.thumb .more { margin-top: auto; padding-top: 6px; }
.ev-link { color: inherit; text-decoration: none; }
.ev-link::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.ev-link:focus-visible { outline: none; }
.ev-card.thumb:focus-within { outline: 3px solid var(--accent); outline-offset: 3px; }
.ev-grid .ev-card.thumb:hover { border-color: var(--teal-deco); }
@media (hover: hover) {
  .ev-grid .ev-card.thumb:hover { transform: translateY(-2px); box-shadow: var(--shadow-2); }
}
/* 開催予定のイベント：1件だけのときは中央に大きく（案A、2026-10-23）。2件以上は左右2列で、開催日が早いものを左に（main.jsで並べ直す） */
.ev-grid.upcoming > .ev-card:only-child { grid-column: 1 / -1; justify-self: center; width: 100%; max-width: 760px; }
.ev-grid.upcoming > .ev-card:only-child .ev-body { padding: 24px 36px 32px; gap: 10px; }
.ev-grid.upcoming > .ev-card:only-child .ev-badge { font-size: 13px; padding: 3px 12px; }
.ev-grid.upcoming > .ev-card:only-child .ev-date { font-size: 14px; }
.ev-grid.upcoming > .ev-card:only-child .ev-title { font-size: 28px; }
.ev-grid.upcoming > .ev-card:only-child .ev-body p { font-size: 16px; }
/* 申込は大きなボタンに（カード全体のリンクと同じ先。コーラルは申込だけに使う） */
.ev-grid.upcoming > .ev-card:only-child .more { display: inline-flex; align-items: center; min-height: 48px; margin-top: 8px; padding: 12px 26px; border: 0; border-radius: var(--r-btn); background: var(--coral-bg); color: var(--on-coral); font-size: 16px; letter-spacing: .04em; box-shadow: var(--shadow-1); transition: background-color var(--dur-fast) var(--ease-out); }
.ev-grid.upcoming > .ev-card:only-child:hover .more { background: #f29772; }
.ev-list { list-style: none; margin: 4px 0 0; padding: 0; display: grid; gap: 4px; font-size: 14px; color: var(--muted); }
.ev-list time { display: inline-block; min-width: 9.5em; font-family: var(--num); font-variant-numeric: tabular-nums; }
.lt-strip { margin-top: 20px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; padding: 22px 24px; border: 1px solid var(--line); border-radius: var(--r-card); background: var(--surface); }
.lt-strip b { font-family: var(--font-head); font-size: 19px; }
.lt-strip .meta { font-family: var(--num); font-variant-numeric: tabular-nums; font-size: 12.5px; color: var(--muted); display: block; }
/* LT会の帯（トップ）：サムネイルつき。お休み中のシリーズとして過去の開催へリンク */
.lt-strip.has-thumb { flex-wrap: nowrap; justify-content: flex-start; gap: 16px 24px; }
.lt-strip.has-thumb .lt-thumb { flex: none; width: 200px; height: auto; aspect-ratio: 16 / 9; object-fit: cover; padding: 0; border: 1px solid var(--line); border-radius: var(--r-photo); font-size: 12px; }
.lt-strip.has-thumb .lt-text { flex: 1; min-width: 0; display: grid; gap: 2px; }
.lt-strip.has-thumb .lt-text p { font-size: 14px; color: var(--muted); }
.lt-strip.has-thumb .cta-link { flex: none; }
/* LT会のシリーズ（イベントページ）：サムネイルは左に重ねずに置き、右に各回の内容とconnpassへのリンク */
.ev-card.wide.lt-series { grid-template-columns: minmax(0, 420px) 1fr; }
.ev-card.wide.lt-series .ev-media { align-self: start; padding: 24px 0 24px 24px; }
.ev-card.wide.lt-series .ev-media img, .ev-card.wide.lt-series .ev-media .ph { height: auto; min-height: 0; aspect-ratio: 16 / 9; padding-top: 0; place-items: center; border: 1px solid var(--line); border-radius: var(--r-photo); }
.lt-series .ev-date { font-family: var(--num, var(--font)); font-variant-numeric: tabular-nums; font-size: 12.5px; color: var(--muted); }
.lt-series .ev-title { color: var(--ink); }
.lt-rounds { list-style: none; width: 100%; margin: 4px 0 0; padding: 0; border-top: 1px solid var(--line); }
.lt-rounds a { display: grid; grid-template-columns: 9.5em 1fr auto; gap: 2px 16px; align-items: baseline; padding: 12px 0; border-bottom: 1px solid var(--line); text-decoration: none; }
.lt-rounds time { grid-column: 1; grid-row: 1 / 3; font-family: var(--num, var(--font)); font-variant-numeric: tabular-nums; font-size: 13px; color: var(--muted); }
.lt-rounds b { grid-column: 2; grid-row: 1; font-size: 15px; }
.lt-rounds span { grid-column: 2 / 4; grid-row: 2; font-size: 14px; color: var(--muted); }
.lt-rounds a::after { content: "→"; grid-column: 3; grid-row: 1; color: var(--accent); }
.lt-rounds a:hover b { color: var(--accent); }

/* 開催スタイル */
.styles { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.style-card { border: 1px solid var(--line); border-radius: var(--r-card); padding: 32px; background: var(--surface); display: grid; gap: 10px; align-content: start; }
.style-card b { font-family: var(--font-head); font-size: 22px; }
.style-meta { list-style: none; margin: 4px 0 0; padding: 0; display: grid; gap: 4px; font-size: 14px; color: var(--muted); }
.style-meta li::before { content: "> "; color: var(--coral); font-family: var(--mono); }

/* 開催の記録 */
.archive { list-style: none; margin: 0; padding: 0 0 0 4px; border-left: 2px solid var(--line); }
.archive li { position: relative; padding: 0 0 24px 28px; }
.archive li::before { content: ""; position: absolute; left: -8px; top: 6px; width: 14px; height: 14px; border-radius: 50%; background: var(--bg); border: 2px solid var(--teal-deco); }
.archive li:first-child::before { border-color: var(--coral-bg); background: var(--coral-bg); }
.archive time { display: block; font-family: var(--num); font-variant-numeric: tabular-nums; font-size: 13px; color: var(--muted); }
.archive b { font-size: 16px; margin-right: 8px; }

/* ---------- 各ページへの入口 ---------- */
.entries { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }  /* 入口は3枚（企業の方へは下書きに移した） */
.entry { display: grid; gap: 8px; align-content: start; padding: 32px; text-decoration: none; border: 1px solid var(--line); border-radius: var(--r-card); background: var(--surface); transition: transform var(--dur-fast) var(--ease-out), box-shadow var(--dur-fast) var(--ease-out), border-color var(--dur-fast) var(--ease-out); }
/* カードの浮き：マウスを乗せると2px浮いて影が一段濃くなる（マウスのある端末だけ）。押すと戻る */
.entry:hover { border-color: var(--teal-deco); }
@media (hover: hover) {
  .entry:hover { transform: translateY(-2px); box-shadow: var(--shadow-2); }
}
.entry:active { transform: translateY(0); box-shadow: var(--shadow-1); }
.entry-en { font-family: var(--mono); font-weight: 500; font-size: 13px; color: var(--accent); }
.entry-en::before { content: "~/"; color: var(--muted); }
.entry b { font-family: var(--font-head); font-size: 22px; line-height: 1.4; }
.entry p { color: var(--muted); font-size: 15px; }
.more { justify-self: start; margin-top: 12px; font-size: 14px; }

/* ---------- お知らせ ---------- */
.news { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.news li { display: grid; grid-template-columns: 120px 96px 1fr; gap: 16px; align-items: baseline; padding: 20px 0; border-bottom: 1px solid var(--line); }
.news time { font-family: var(--num); font-variant-numeric: tabular-nums; font-size: 14px; color: var(--muted); }
.news .tag { justify-self: start; }

/* ---------- 最後の申込 ---------- */
.final { text-align: center; }
.final .lead { margin: 0 auto; }
.final-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; margin-top: 32px; }

/* ---------- 下層ページの見出し ---------- */
.page-hero {
  position: relative; overflow: hidden; border-bottom: 1px solid var(--line);
  background:
    radial-gradient(ellipse at 75% 20%, transparent 0%, var(--bg) 70%),
    var(--grid), var(--bg);
}
.page-hero .container { padding-block: 64px 72px; }
.page-hero h1 { font-family: var(--font-head); font-size: 32px; font-weight: 800; line-height: 1.4; margin: 16px 0; }
.page-hero .display { font-size: 80px; }
.breadcrumb ol { list-style: none; margin: 0 0 32px; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; font-family: var(--mono); font-size: 13px; color: var(--muted); }
.breadcrumb li + li::before { content: "/"; margin-right: 8px; color: var(--muted); }
.breadcrumb a { color: var(--accent); }

/* ---------- TECH HUBについて ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.prose { display: grid; gap: 20px; }
.quote { border-left: 3px solid var(--coral-bg); padding: 4px 0 4px 20px; font-weight: 700; display: grid; gap: 4px; }
.brand-visual { margin: 32px 0 0; border: 1px solid var(--line); border-radius: var(--r-card); overflow: hidden; }
.brand-visual img { width: 100%; height: auto; }
.mvv { border-top: 1px solid var(--line); }
.mvv-row { display: grid; grid-template-columns: 260px 1fr; gap: 32px; padding: 48px 0; border-bottom: 1px solid var(--line); }
.mvv-row .display { font-size: 40px; color: var(--accent); }
.mvv-row .display-sub { color: var(--muted); }
.mvv-row h3 { font-family: var(--font-head); font-size: 26px; font-weight: 800; line-height: 1.5; }
.mvv-row p { color: var(--muted); margin-top: 8px; }
.mvv-values { display: grid; gap: 20px; }
.mvv-values b { font-size: 18px; display: block; }
.overview { display: grid; grid-template-columns: 200px 1fr; margin: 0; border-top: 1px solid var(--line); }
.overview dt, .overview dd { margin: 0; padding: 20px 0; border-bottom: 1px solid var(--line); }
.overview dt { font-weight: 700; }
.overview dd a { color: var(--accent); }

/* ---------- 運営メンバー ---------- */
.members { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.member { border: 1px solid var(--line); border-radius: var(--r-card); padding: 32px; background: var(--surface); display: grid; gap: 8px; justify-items: start; align-content: start; }
.avatar { width: 128px; height: 128px; border-radius: 50%; object-fit: cover; border: 2px solid var(--line); background: var(--white); margin-bottom: 8px; }
.member-en { font-family: var(--mono); font-weight: 500; font-size: 13px; color: var(--accent); }
.member-name { font-family: var(--font-head); font-size: 26px; font-weight: 800; line-height: 1.3; }
.member-role { font-size: 14px; color: var(--muted); }
.member .lead { margin-top: 4px; }
.member.recruit { border-style: dashed; border-color: #c9c4b0; background: transparent; }
.member.recruit .display { font-size: 40px; color: var(--coral); }

/* ---------- よくあるご質問 ---------- */
.faq-group + .faq-group { margin-top: 56px; }
.faq-group h2 { font-family: var(--font-head); font-size: 20px; font-weight: 800; margin-bottom: 16px; }
.faq { display: grid; gap: 12px; max-width: 800px; }
.faq details { border: 1px solid var(--line); border-radius: var(--r-card); background: var(--surface); }
.faq summary { list-style: none; cursor: pointer; padding: 20px 56px 20px 24px; font-weight: 700; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 24px; top: 50%; transform: translateY(-50%); color: var(--accent); font-family: var(--mono); font-size: 20px; }
.faq details[open] summary::after { content: "−"; }
.faq details p { padding: 0 24px 20px; color: var(--muted); }

/* ---------- 企業の方へ ---------- */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.feature { border-top: 2px solid var(--coral-bg); padding-top: 20px; }
.feature b { font-family: var(--font-head); font-size: 18px; display: block; margin-bottom: 6px; }
.feature p { color: var(--muted); font-size: 15px; }
.flow { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; counter-reset: step; }
.flow li { border: 1px solid var(--line); border-radius: var(--r-card); padding: 24px; background: var(--surface); }
.flow li::before { counter-increment: step; content: "step_0" counter(step); display: block; margin-bottom: 8px; font-family: var(--num); font-variant-numeric: tabular-nums; font-size: 13px; font-weight: 700; color: var(--accent); }
.flow b { display: block; font-size: 17px; }
.flow p { color: var(--muted); font-size: 14px; margin-top: 6px; }

/* ---------- 404 ---------- */
.notfound { text-align: center; }
/* 404はほかの英字の大見出しと同じInter（等幅の0は点が入るため使わない） */
.notfound .display { font-size: 120px; color: var(--coral); }
.notfound .final-actions { margin-top: 32px; }

/* ---------- フッター ---------- */
.site-footer { background: var(--bg-2); color: var(--muted); padding-block: 56px 32px; font-size: 14px; border-top: 1px solid var(--line); }
.site-footer .logo { color: var(--ink); }
.footer-cols { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; }
.footer-cols p { margin-top: 12px; max-width: 26em; }
.footer-links { display: grid; gap: 8px; align-content: start; }
.footer-links a { color: var(--ink); text-decoration: none; transition: color var(--dur-fast) var(--ease-out); }
.footer-links a:hover { color: var(--accent); text-decoration: underline; }
.footer-head { font-family: var(--mono); font-size: 12px; color: var(--muted); }
.copy { margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--line); font-family: var(--num); font-variant-numeric: tabular-nums; font-size: 12px; color: var(--muted); }

/* ---------- 動き：ふわっと表示（動きを減らす設定の方には適用しない） ---------- */
@media (prefers-reduced-motion: no-preference) {
  .js .reveal { opacity: 0; transform: translateY(12px); transition: opacity var(--dur-slow) var(--ease-out), transform var(--dur-slow) var(--ease-out); }
  .js .reveal.is-visible { opacity: 1; transform: none; }
  .js .ev-grid .reveal:nth-child(2), .js .entries .reveal:nth-child(2), .js .stats .reveal:nth-child(2), .js .members .reveal:nth-child(2), .js .features .reveal:nth-child(2), .js .flow .reveal:nth-child(2) { transition-delay: .08s; }
  .js .entries .reveal:nth-child(3), .js .stats .reveal:nth-child(3), .js .features .reveal:nth-child(3), .js .flow .reveal:nth-child(3) { transition-delay: .16s; }
  .js .entries .reveal:nth-child(4), .js .stats .reveal:nth-child(4), .js .flow .reveal:nth-child(4) { transition-delay: .24s; }
}

/* ---------- 動き：ページ移動（同じサイトの中だけ。対応していないブラウザは通常の切り替え） ----------
   前のページは120msで消え、次のページは240msで8px上がりながら出る。ヘッダーは動かさない */
@media (prefers-reduced-motion: no-preference) {
  @view-transition { navigation: auto; }
}
::view-transition-old(root) { animation: 120ms cubic-bezier(0.3, 0, 1, 1) both vt-out; }
::view-transition-new(root) { animation: 240ms cubic-bezier(0.2, 0, 0, 1) both vt-in; }
@keyframes vt-out { to { opacity: 0; } }
@keyframes vt-in { from { opacity: 0; transform: translateY(8px); } }
@media (min-width: 861px) {
  .site-header { view-transition-name: site-header; }
}

/* ---------- モチーフ：ロゴのネットワーク柄を角に薄く（右上はティール、右下はコーラル） ---------- */
.motif { position: relative; overflow: hidden; }
.motif > .container { position: relative; z-index: 1; }
.motif::before { content: ""; position: absolute; width: 380px; height: 275px; pointer-events: none; opacity: .45; background-repeat: no-repeat; background-position: center; background-size: contain; }
.motif-tr::before {
  top: -24px; right: -56px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 360 260'%3E%3Cg stroke='%234fb3bb' stroke-width='1.5' stroke-opacity='.7'%3E%3Cline x1='60' y1='40' x2='150' y2='90'/%3E%3Cline x1='150' y1='90' x2='250' y2='35'/%3E%3Cline x1='150' y1='90' x2='200' y2='170'/%3E%3Cline x1='250' y1='35' x2='320' y2='110'/%3E%3Cline x1='320' y1='110' x2='200' y2='170'/%3E%3Cline x1='200' y1='170' x2='110' y2='180'/%3E%3Cline x1='110' y1='180' x2='40' y2='130'/%3E%3Cline x1='40' y1='130' x2='60' y2='40'/%3E%3Cline x1='200' y1='170' x2='290' y2='220'/%3E%3Cline x1='320' y1='110' x2='290' y2='220'/%3E%3Cline x1='150' y1='90' x2='110' y2='180'/%3E%3C/g%3E%3Cg fill='%234fb3bb'%3E%3Ccircle cx='60' cy='40' r='6'/%3E%3Ccircle cx='150' cy='90' r='9'/%3E%3Ccircle cx='250' cy='35' r='5' fill-opacity='.6'/%3E%3Ccircle cx='320' cy='110' r='7'/%3E%3Ccircle cx='200' cy='170' r='8' fill-opacity='.7'/%3E%3Ccircle cx='110' cy='180' r='5'/%3E%3Ccircle cx='290' cy='220' r='6' fill-opacity='.5'/%3E%3Ccircle cx='40' cy='130' r='4'/%3E%3C/g%3E%3C/svg%3E");
}
.motif-br::before {
  bottom: -40px; right: -64px; transform: rotate(180deg);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 360 260'%3E%3Cg stroke='%23ee8459' stroke-width='1.5' stroke-opacity='.7'%3E%3Cline x1='60' y1='40' x2='150' y2='90'/%3E%3Cline x1='150' y1='90' x2='250' y2='35'/%3E%3Cline x1='150' y1='90' x2='200' y2='170'/%3E%3Cline x1='250' y1='35' x2='320' y2='110'/%3E%3Cline x1='320' y1='110' x2='200' y2='170'/%3E%3Cline x1='200' y1='170' x2='110' y2='180'/%3E%3Cline x1='110' y1='180' x2='40' y2='130'/%3E%3Cline x1='40' y1='130' x2='60' y2='40'/%3E%3Cline x1='200' y1='170' x2='290' y2='220'/%3E%3Cline x1='320' y1='110' x2='290' y2='220'/%3E%3Cline x1='150' y1='90' x2='110' y2='180'/%3E%3C/g%3E%3Cg fill='%23ee8459'%3E%3Ccircle cx='60' cy='40' r='6'/%3E%3Ccircle cx='150' cy='90' r='9'/%3E%3Ccircle cx='250' cy='35' r='5' fill-opacity='.6'/%3E%3Ccircle cx='320' cy='110' r='7'/%3E%3Ccircle cx='200' cy='170' r='8' fill-opacity='.7'/%3E%3Ccircle cx='110' cy='180' r='5'/%3E%3Ccircle cx='290' cy='220' r='6' fill-opacity='.5'/%3E%3Ccircle cx='40' cy='130' r='4'/%3E%3C/g%3E%3C/svg%3E");
}

/* ---------- LINE公式アカウント：右下のカード＋丸ボタン ----------
   Mozilla Protocol の Sticky Promo（追従する告知）＋Material 3 の FAB の考え方（2026-10-22 ユーザーが案Bを選択）。
   飾り（上の線・ふきだし）はLINEの明るい緑 #06c755。白い文字をのせる面は少しだけ深い緑 #00a63e にし、
   白い文字は大きめの太字（19px）にして読みやすさの基準（大きい文字で3:1、実際は3.2:1）を満たす */
.line-cta { display: none; }
/* 出し入れは透明度だけ（LINEのアイコンを動かさないため、位置や大きさは変えない） */
.js .line-cta { display: block; position: fixed; right: 20px; bottom: 20px; z-index: 60; visibility: hidden; opacity: 0; transition: opacity var(--dur-mid) var(--ease-out), visibility 0s linear var(--dur-mid); }
.js .line-cta.is-ready { visibility: visible; opacity: 1; transition: opacity var(--dur-mid) var(--ease-out), visibility 0s; }
/* 丸ボタンはLINE公式のアイコンそのもの（LINEのロゴガイドライン：変形・色の変更・影や縁取り・動きをつけない。スマホ40px以上） */
.line-fab { display: block; width: 56px; height: 56px; margin-left: auto; padding: 0; border: 0; border-radius: 22%; background: transparent; cursor: pointer; }
.line-fab img { display: block; width: 56px; height: 56px; }
.line-card { position: absolute; right: 0; bottom: 70px; width: min(300px, calc(100vw - 32px)); display: grid; gap: 8px; padding: 16px 18px 16px; background: #fff; border: 1px solid var(--line); border-top: 6px solid #06c755; border-radius: var(--r-card); box-shadow: 0 16px 40px rgba(46, 58, 71, .18); visibility: hidden; opacity: 0; transition: opacity var(--dur-fast) var(--ease-in), visibility 0s linear var(--dur-fast); }
.line-cta.is-open .line-card { visibility: visible; opacity: 1; transition: opacity var(--dur-mid) var(--ease-out), visibility 0s; }
.line-card-title { display: flex; align-items: center; gap: 10px; padding-right: 28px; font-family: var(--font-head); font-size: 16px; font-weight: 800; }
.line-card-title img { flex: none; width: 40px; height: 40px; }
.line-card-text { font-size: 14px; line-height: 1.7; color: var(--muted); }
.line-add { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; margin-top: 4px; border-radius: 999px; background: #00a63e; color: #fff; font-size: 19px; font-weight: 800; text-decoration: none; transition: background-color var(--dur-fast) var(--ease-out); }
.line-add:hover { background: #009a3a; }
.line-close { position: absolute; top: 8px; right: 8px; width: 32px; height: 32px; padding: 0; border: 0; border-radius: 50%; background: transparent; color: var(--muted); font-size: 20px; line-height: 1; cursor: pointer; }
.line-close:hover { background: var(--bg-2); color: var(--ink); }

/* ---------- スマホ用の固定ボタン ---------- */
.sticky-cta { display: none; }

/* ---------- 小さいスマホ ---------- */
@media (max-width: 480px) {
  .site-header .btn-sm { padding: 8px 12px; font-size: 13px; letter-spacing: .02em; }
}
@media (max-width: 400px) {
  .site-header .btn-sm { display: none; }
  .menu-btn { margin-left: auto; }
}

/* ---------- タブレット以下（1024px以下）：メニューはボタンで開く ---------- */
@media (max-width: 1024px) {
  .nav { display: none; }
  .site-header .btn { margin-left: auto; }
  .site-header .container { gap: 8px; min-height: 64px; }
  .menu-btn { display: inline-grid; place-items: center; flex: none; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: var(--r-btn); background: var(--surface); cursor: pointer; }
  .menu-btn span, .menu-btn span::before, .menu-btn span::after { display: block; width: 18px; height: 2px; background: var(--ink); content: ""; }
  .menu-btn span { position: relative; }
  .menu-btn span::before, .menu-btn span::after { position: absolute; left: 0; transition: transform var(--dur-fast) var(--ease-inout); }
  .menu-btn span::before { top: -6px; }
  .menu-btn span::after { top: 6px; }
  .menu-btn[aria-expanded="true"] span { background: transparent; }
  .menu-btn[aria-expanded="true"] span::before { top: 0; transform: rotate(45deg); }
  .menu-btn[aria-expanded="true"] span::after { top: 0; transform: rotate(-45deg); }
  .mobile-nav.is-open { display: block; border-top: 1px solid var(--line); background: var(--surface); }
  .mobile-nav ul { list-style: none; margin: 0; padding: 4px var(--px) 16px; }
  .mobile-nav a { display: flex; justify-content: space-between; padding: 16px 0; border-bottom: 1px solid var(--line); text-decoration: none; font-weight: 700; }
  .mobile-nav a::after { content: "→"; color: var(--accent); }
  .mobile-nav a[aria-current="page"] { color: var(--accent); }
  /* LT会のシリーズ：タブレット幅では、サムネイルを上・内容を下に */
  .ev-card.wide.lt-series { grid-template-columns: 1fr; }
  .ev-card.wide.lt-series .ev-media { padding: 24px 24px 0; }
  .ev-card.wide.lt-series .ev-media .ph, .ev-card.wide.lt-series .ev-media img { max-width: 560px; }
  /* 実績：数字を上、歩みを下に */
  .stats-grid { grid-template-columns: 1fr; gap: 24px; }
  .stat-main { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 16px; padding: 0 0 24px; border-right: 0; border-bottom: 1px solid var(--line); }
  .stat-main .stat-label { margin-top: 0; }
}

/* ---------- スマホ・タブレット（860px以下） ---------- */
@media (max-width: 860px) {
  :root { --px: 16px; --sec: 64px; }
  .hero .container { grid-template-columns: 1fr; gap: 32px; padding-block: 48px 56px; }
  .hero h1 { font-size: 30px; }
  .hero-actions .btn { width: 100%; }
  .term { font-size: 12px; }
  .term-body { padding: 14px 14px 18px; }
  .h2 { font-size: 22px; }
  .display { font-size: 40px; }
  .page-hero .container { padding-block: 40px 48px; }
  .page-hero .display { font-size: 48px; }
  .page-hero h1 { font-size: 24px; }
  .breadcrumb ol { margin-bottom: 24px; }
  .sec-head { margin-bottom: 32px; }
  .stats-grid { padding-block: 32px; }
  .stat-num { font-size: 56px; }
  .steps { grid-auto-flow: row; gap: 14px; padding-left: 28px; }
  .steps::before { left: 7px; right: auto; top: 7px; bottom: 7px; width: 2px; height: auto; }
  .steps li { padding: 0; }
  .steps li::before { left: -28px; top: 3px; }
  .statement { font-size: 26px; }
  .welcome-grid { grid-template-columns: 1fr; gap: 40px; }
  .welcome-q { font-size: 19px; margin-bottom: 16px; }
  .ev-group + .ev-group { margin-top: 40px; }
  .ev-group-title { font-size: 18px; }
  .ev-next { padding: 24px 20px; }
  .ev-next .btn { width: 100%; }
  .band-grid, .split { grid-template-columns: 1fr; gap: 32px; }
  .ev-grid, .ev-grid.bento, .entries, .styles, .members, .features, .flow { grid-template-columns: 1fr; }
  .ev-grid.bento .ev-card:last-child .ev-media .ph, .ev-grid.bento .ev-card:last-child .ev-media img { aspect-ratio: 4 / 3; height: auto; min-height: 0; }
  .ev-card.wide { grid-template-columns: 1fr; }
  .ev-card.wide .ev-media .ph, .ev-card.wide .ev-media img { aspect-ratio: 4 / 3; height: auto; min-height: 0; }
  .ev-card.wide .ev-body { padding: 16px 20px 20px; }
  .lt-strip.has-thumb { flex-wrap: wrap; }
  .lt-strip.has-thumb .lt-thumb { width: 100%; }
  .lt-strip.has-thumb .lt-text { flex-basis: 100%; }
  .ev-card.wide.lt-series { grid-template-columns: 1fr; }
  .ev-card.wide.lt-series .ev-media { padding: 16px 16px 0; }
  .lt-rounds a { grid-template-columns: 1fr auto; }
  .lt-rounds time { grid-column: 1; grid-row: 1; }
  .lt-rounds b { grid-column: 1; grid-row: 2; }
  .lt-rounds span { grid-column: 1 / 3; grid-row: 3; }
  .lt-rounds a::after { grid-column: 2; grid-row: 1 / 3; align-self: center; }
  .ev-overlay { padding: 48px 20px 16px; }
  .ev-title { font-size: 18px; }
  .ev-grid.upcoming > .ev-card:only-child .ev-body { padding: 20px 20px 24px; }
  .ev-grid.upcoming > .ev-card:only-child .ev-title { font-size: 22px; }
  .entry, .style-card, .member { padding: 24px; }
  .news li { grid-template-columns: auto 1fr; gap: 4px 12px; }
  .news li > span:last-child { grid-column: 1 / -1; }
  .mvv-row { grid-template-columns: 1fr; gap: 12px; padding: 32px 0; }
  .mvv-row .display { font-size: 32px; }
  .mvv-row h3 { font-size: 21px; }
  .overview { grid-template-columns: 1fr; }
  .overview dt { padding-bottom: 0; border-bottom: 0; }
  .overview dd { padding-top: 4px; }
  .avatar { width: 112px; height: 112px; }
  .final-actions .btn { width: 100%; }
  .footer-cols { grid-template-columns: 1fr; gap: 24px; }
  .notfound .display { font-size: 80px; }
  .motif::before { width: 220px; height: 160px; opacity: .35; }

  .sticky-cta { position: fixed; left: 0; right: 0; bottom: 0; z-index: 50; padding: 12px var(--px) calc(12px + env(safe-area-inset-bottom)); background: rgba(255, 253, 247, .95); border-top: 1px solid var(--line); box-shadow: 0 -6px 16px rgba(46, 58, 71, .08); }
  /* 出るときは240msで減速、隠れるときは120msで加速（隠れている間は押せないようにする） */
  .sticky-cta { display: block; visibility: hidden; transform: translateY(110%); transition: transform var(--dur-fast) var(--ease-in), visibility 0s linear var(--dur-fast); }
  .sticky-cta.is-shown { visibility: visible; transform: translateY(0); transition: transform var(--dur-mid) var(--ease-out), visibility 0s; }
  .sticky-cta .btn { width: 100%; }
  body.has-sticky { padding-bottom: 80px; }
  /* LINE公式アカウント：画面下の固定ボタンと重ならないよう、その上に置く */
  .js .line-cta { right: 16px; bottom: calc(88px + env(safe-area-inset-bottom)); }
}
