@charset "UTF-8";
/* NEXUS MATCH 公式サイト スタイルシート
   白基調・日本語明朝の見出し・罫線と余白による編集レイアウト */

:root {
  --ink: #1b1b1b;          /* 墨色 */
  --ink-2: #3a3a3a;        /* チャコール */
  --ink-3: #5d5d5d;        /* 補助テキスト（本文には使わない） */
  --rule: #dcdcdc;           /* 細い罫線 */
  --oc: #d3ea9f;             /* オープンチャットの薄い黄緑 */
  --oc-line: #bcd97f;
  --oc-dark: #c6e18b;
  --rule-strong: #1b1b1b;
  --bg: #ffffff;
  --bg-soft: #fafafa;

  --love: #e0548a;
  --love-ink: #c33068;
  --love-bg: #fbeef3;
  --love-tint: #fdf7fa;
  --love-dark: #8c1f4a;
  --food: #c49a3f;
  --food-ink: #8a6a12;
  --food-bg: #f9f4e8;
  --food-tint: #fdfbf4;
  --food-dark: #5e4711;
  --business: #00246c;
  --business-ink: #00246c;
  --business-bg: #e9edf4;
  --business-tint: #f6f8fc;
  --business-dark: #001740;
  --global: #00846c;
  --global-ink: #006b57;
  --global-bg: #e7f3f0;
  --global-tint: #f4faf8;
  --global-dark: #00463a;

  --serif: "Noto Serif JP", "Yu Mincho", "YuMincho", "Hiragino Mincho ProN",
    "Noto Serif CJK JP", serif;
  --sans: "Noto Sans JP", -apple-system, BlinkMacSystemFont, "Hiragino Kaku Gothic ProN",
    "Yu Gothic", "Meiryo", "Noto Sans CJK JP", sans-serif;

  --spectrum-grad: linear-gradient(90deg, var(--food) 0%, var(--love) 32%, var(--global) 68%, var(--business) 100%);
  --pad: 20px;
  --max: 1080px;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.9;
  font-feature-settings: "palt" 1;
  -webkit-font-smoothing: antialiased;
  line-break: strict;
}

/* 見出しと短い文は文節単位で折り返す（対応ブラウザのみ）。本文は通常の折り返し。 */
.sec-title, .page-title, .brand-heading, .step-title, .event-title,
.report-title, .hero-lead, .brand-copy, .chance li, .channel h3 {
  word-break: auto-phrase;
}
p, li, dd { text-wrap: pretty; }

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

a { color: inherit; }

:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 3px;
}

.skip {
  position: absolute; left: -9999px; top: 0;
  background: var(--ink); color: #fff; padding: 10px 16px; z-index: 100;
}
.skip:focus { left: 8px; top: 8px; }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--pad); }
/* 本文を読みやすい幅に抑えつつ、左端は他のセクションと揃える */
.wrap.narrow > * { max-width: 680px; }
.narrow { max-width: 680px; }
.wrap.narrow { max-width: var(--max); }

/* 日本語見出しの泣き別れ防止 */
.nb { display: inline-block; }

/* ---------- ヘッダー ---------- */
.site-header {
  position: sticky; top: 3px; z-index: 50;
  background: #fff;
  border-bottom: 1px solid var(--rule);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; min-height: 60px;
}
.header-logo img { width: 164px; }
.header-logo { display: block; padding: 10px 0; }

.nav-toggle {
  display: inline-flex; align-items: center; gap: 8px;
  background: none; border: 1px solid var(--rule); color: var(--ink);
  font-family: var(--sans); font-size: 13px; letter-spacing: .08em;
  padding: 8px 12px; cursor: pointer;
}
.nav-toggle .bars { display: block; width: 16px; height: 9px; position: relative; }
.nav-toggle .bars::before, .nav-toggle .bars::after {
  content: ""; position: absolute; left: 0; right: 0; height: 1px; background: var(--ink);
}
.nav-toggle .bars::before { top: 0; }
.nav-toggle .bars::after { bottom: 0; }

.site-nav ul { list-style: none; margin: 0; padding: 0; }
.site-nav a {
  text-decoration: none; font-size: 14px; letter-spacing: .04em;
  display: block; padding: 10px 0;
}
.site-nav a:hover { text-decoration: underline; text-underline-offset: 4px; }
.site-nav h2 {
  font-size: 11px; letter-spacing: .16em; color: var(--ink-3);
  font-weight: 400; margin: 26px 0 2px;
}

/* スマホ：メニューは画面の右側だけに出す。左側には今のページが見えたまま */
@media (max-width: 899px) {
  .nav-overlay {
    position: fixed; inset: 0; z-index: 75;
    background: rgba(20, 20, 20, .38);
    opacity: 0; transition: opacity .3s ease;
    -webkit-backdrop-filter: blur(1px); backdrop-filter: blur(1px);
  }
  .nav-overlay.is-open { opacity: 1; }

  .site-nav {
    position: fixed; top: 0; right: 0; bottom: 0; left: auto; z-index: 80;
    width: min(78%, 340px);
    display: flex; flex-direction: column;
    background: #fff; border-bottom: 0;
    box-shadow: -10px 0 30px rgba(0, 0, 0, .14);
    padding: 16px 20px 44px;
    overflow-y: auto; -webkit-overflow-scrolling: touch;
    transform: translateX(100%); visibility: hidden;
    transition: transform .32s cubic-bezier(.22, .8, .2, 1), visibility .32s;
  }
  .site-nav.is-open { transform: none; visibility: visible; }
  @media (prefers-reduced-motion: reduce) {
    .site-nav, .nav-overlay { transition: none; }
  }

  .nav-close {
    order: -2; align-self: flex-end; background: none; border: 1px solid var(--rule);
    color: var(--ink-2); font-family: var(--sans); font-size: 12px;
    letter-spacing: .1em; padding: 8px 14px; cursor: pointer; margin-bottom: 6px;
  }
  .nav-close:hover { border-color: var(--ink); color: var(--ink); }

  .site-nav li + li { border-top: 1px solid var(--rule); }
  .site-nav a { padding: 14px 0; font-size: 15px; }
  .nav-brands { display: grid; gap: 8px; margin-top: 8px; }
  .nav-brands li, .nav-brands li + li { border-top: 0; }
  .nav-brands a {
    font-family: var(--serif); letter-spacing: .12em; font-size: 16px;
    background: var(--brand-bg); color: var(--brand-ink);
    padding: 14px 15px; border-left: 3px solid var(--brand);
  }
  .nav-sub a { font-size: 14px; color: var(--ink-2); }
  .nav-cta { margin-top: 24px; }
  .nav-cta li { border-top: 0; }
  .nav-cta a:not(.btn-line) {
    text-align: center; background: var(--ink); color: #fff;
    border: 1px solid var(--ink); padding: 15px;
  }
  .nav-cta a:not(.btn-line):hover { background: #000; color: #fff; text-decoration: none; }
  .nav-home { order: -1; }
}

/* PC：上部は5項目までに抑え、残りはフッターへ */
@media (min-width: 900px) {
  .nav-toggle, .nav-overlay, .nav-close { display: none; }
  .site-nav { display: flex; align-items: center; gap: 26px; }
  .nav-extra { display: none; }
  .nav-main { display: flex; align-items: center; gap: 24px; }
  .nav-cta a:not(.btn-line) {
    border: 1px solid var(--ink); padding: 9px 15px; font-size: 13px;
  }
  .nav-cta a:not(.btn-line):hover { background: var(--ink); color: #fff; text-decoration: none; }
}
@media (min-width: 900px) { .header-logo img { width: 180px; } }

/* ---------- 共通セクション ---------- */
main { display: block; }

section { padding: 64px 0; }
@media (min-width: 768px) { section { padding: 96px 0; } }
/* 固定ヘッダーの下に見出しが隠れないようにする */
section[id], [id] { scroll-margin-top: 82px; }

/* セクションごとに背景を変えて、読み進める区切りをつくる */
.sec--tint { background: var(--bg-soft); }
.sec--line { background: var(--bg-soft); }
.sec--dark { background: var(--ink); color: #fff; }
.sec--dark .sec-title { color: #fff; }
.sec--dark p { color: rgba(255, 255, 255, .86); }
.sec--dark .btn { background: #fff; color: var(--ink); border-color: #fff; }
.sec--dark .btn:hover { background: rgba(255, 255, 255, .86); }
.sec--dark .btn-ghost { background: none; color: #fff; border-color: rgba(255, 255, 255, .5); }
.sec--dark .btn-ghost:hover { background: #fff; color: var(--ink); }
.sec--dark .pending { color: rgba(255, 255, 255, .78); border-color: rgba(255, 255, 255, .35); }
.sec--dark .link-arrow { color: #fff; }
.sec--dark :focus-visible { outline-color: #fff; }
/* 背景が同じ色で続くときだけ、区切りの罫線を引く */
section + section:not(.sec--tint):not(.sec--dark):not(.sec--line) { border-top: 1px solid var(--rule); }

.sec-head { margin: 0 0 32px; }
.sec-no {
  display: block; font-size: 11px; letter-spacing: .22em; color: var(--ink-3);
  margin: 0 0 14px;
}
.sec-title {
  font-family: var(--serif); font-weight: 400; letter-spacing: .04em;
  font-size: 25px; line-height: 1.65; margin: 0;
}
@media (min-width: 768px) { .sec-title { font-size: 33px; } }
.sec-lead { margin: 16px 0 0; max-width: 34em; color: var(--ink-2); }
.sec--dark .sec-no { color: rgba(255, 255, 255, .55); }
.sec--dark .sec-lead { color: rgba(255, 255, 255, .8); }

/* ロゴのX部分の4色。読み進めた量に応じて左から色が満ちていく */
.progress { position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 70; }
.progress::before, .progress::after {
  content: ""; position: absolute; inset: 0;
  background: var(--spectrum-grad);
}
.progress::before { opacity: .16; }
.progress::after { transform-origin: 0 50%; transform: scaleX(var(--p, 0)); }

/* スクロールを促す細い線 */
.scroll-cue { width: 1px; height: 54px; background: var(--rule); position: relative; overflow: hidden; margin-top: 42px; }
.scroll-cue::after {
  content: ""; position: absolute; inset: 0; background: var(--ink);
  animation: cue 2.6s cubic-bezier(.65, 0, .35, 1) infinite;
}
@keyframes cue {
  0% { transform: translateY(-100%); }
  55%, 100% { transform: translateY(100%); }
}
@media (prefers-reduced-motion: reduce) {
  .scroll-cue::after { animation: none; transform: none; opacity: .4; }
}

p { margin: 0 0 1.4em; max-width: 34em; }
p:last-child { margin-bottom: 0; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  background: var(--ink); color: #fff; text-decoration: none;
  padding: 15px 26px; font-size: 15px; letter-spacing: .04em; border: 1px solid var(--ink);
  min-height: 48px;
}
.btn:hover { background: #000; }
.btn-ghost { background: none; color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: #fff; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
@media (max-width: 519px) {
  .btn-row .btn { flex: 1 1 100%; }
}

.link-arrow {
  display: inline-block; text-decoration: none; font-size: 15px;
  border-bottom: 1px solid currentColor; padding-bottom: 3px;
}
.link-arrow::after { content: "　→"; }
.link-arrow:hover { opacity: .65; }
.link-row { display: grid; grid-template-columns: 1fr; gap: 10px; margin: 20px 0 0; max-width: none; }
@media (min-width: 560px) { .link-row { grid-template-columns: 1fr 1fr; } }
@media (min-width: 900px) { .link-row { grid-template-columns: repeat(4, 1fr); } }

/* 分野ごとの案内リンク。幅を揃え、そのブランドの色の面にする */
.brand-chip {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  background: var(--brand-bg, var(--bg-soft)); color: var(--brand-ink, var(--ink));
  text-decoration: none; font-size: 14px; letter-spacing: .02em;
  padding: 14px 16px; min-height: 54px; line-height: 1.5;
  border: 1px solid transparent; transition: border-color .2s ease;
}
.brand-chip::after { content: "→"; flex: 0 0 auto; }
.brand-chip:hover, .brand-chip:focus-visible { border-color: var(--brand, var(--ink)); }
@media (prefers-reduced-motion: reduce) { .brand-chip { transition: none; } }

.note {
  font-size: 14px; color: var(--ink-2); line-height: 1.8;
}

/* ---------- ヒーロー ---------- */
.hero { padding: 44px 0 56px; }
@media (min-width: 768px) { .hero { padding: 104px 0 96px; } }
.hero-logo { width: 100%; max-width: 320px; margin-bottom: 28px; }
.hero-lead {
  font-size: 17px; line-height: 1.95; max-width: 30em; margin: 0;
}
.hero-meta { margin-top: 28px; font-size: 12px; letter-spacing: .14em; color: var(--ink-3); }

/* PCでは左にロゴ、右に説明と導線を置いて、左右で視線を動かす */
@media (min-width: 900px) {
  .hero-grid {
    display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 72px; align-items: center;
  }
  .hero-logo { max-width: 100%; margin-bottom: 0; }
  .hero-lead { font-size: 19px; line-height: 2.05; }
  .hero-side { border-left: 1px solid var(--rule); padding-left: 48px; }
}

/* ---------- 4ブランド一覧（罫線レイアウト） ---------- */
.brand-list { list-style: none; margin: 0; padding: 0; counter-reset: b; display: grid; gap: 14px; }
.brand-item { counter-increment: b; }

/* タップできる範囲を、そのブランドの色の面で示す */
.brand-link {
  display: block; text-decoration: none; position: relative;
  background: var(--brand-bg, var(--bg-soft));
  padding: 26px 22px 24px;
  border: 1px solid transparent;
  transition: background-color .25s ease, border-color .25s ease, transform .25s ease;
}
.brand-link:hover, .brand-link:focus-visible {
  border-color: var(--brand, var(--ink));
  transform: translateY(-2px);
}
@media (prefers-reduced-motion: reduce) { .brand-link { transition: none; } }

.brand-no { display: block; font-size: 11px; letter-spacing: .2em; color: var(--brand-ink, var(--ink-3)); margin-bottom: 14px; opacity: .75; }
.brand-no::before { content: "0" counter(b); }
.brand-logo { width: 215px; max-width: 86%; margin-bottom: 14px; }
.brand-name { font-family: var(--serif); font-size: 15px; letter-spacing: .1em; margin: 0 0 8px; font-weight: 400; }
.brand-copy { margin: 0; font-size: 15px; line-height: 1.85; max-width: 26em; color: var(--ink); }
.brand-foot { display: flex; align-items: center; gap: 12px; margin-top: 18px; flex-wrap: wrap; }

.status { font-size: 12px; letter-spacing: .08em; padding: 5px 10px; border: 1px solid currentColor; line-height: 1.6; }

/* 「見る」は塗りのボタンにして、押せることをはっきりさせる */
.brand-more {
  font-size: 14px; letter-spacing: .04em; background: var(--brand-ink, var(--ink));
  color: #fff; padding: 10px 16px; display: inline-flex; align-items: center;
  min-height: 42px; border: 0;
}
.brand-more::after { content: "　→"; }
.brand-link:hover .brand-more { opacity: .88; }

/* ロゴ下のブランド色の線 */
.brand-rule-draw { height: 1px; border: 0; margin: 18px 0 16px; background: var(--brand, var(--ink)); opacity: .55; }

@media (min-width: 768px) {
  .brand-list { grid-template-columns: 1fr 1fr; gap: 16px; }
  .brand-link { padding: 30px 26px 28px; }
  .brand-logo { width: 240px; }
}

/* ブランド別の色。背景・線・文字に使う */
.b-love { --brand: var(--love); --brand-ink: var(--love-ink); --brand-bg: var(--love-bg); --brand-tint: var(--love-tint); --brand-dark: var(--love-dark); }
.b-food { --brand: var(--food); --brand-ink: var(--food-ink); --brand-bg: var(--food-bg); --brand-tint: var(--food-tint); --brand-dark: var(--food-dark); }
.b-business { --brand: var(--business); --brand-ink: var(--business-ink); --brand-bg: var(--business-bg); --brand-tint: var(--business-tint); --brand-dark: var(--business-dark); }
.b-global { --brand: var(--global); --brand-ink: var(--global-ink); --brand-bg: var(--global-bg); --brand-tint: var(--global-tint); --brand-dark: var(--global-dark); }

.brand-foot { color: var(--brand-ink, inherit); }
.sec-lead .status,
.event-brand { color: var(--brand-ink, inherit); }

/* ---------- イベント一覧 ---------- */
.events { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--rule); }
.event { border-bottom: 1px solid var(--rule); padding: 26px 0; }
.event-head { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; }
.event-brand { font-size: 12px; letter-spacing: .12em; flex: 1 1 100%; }
.event-date { font-size: 17px; font-family: var(--serif); letter-spacing: .02em; }
.event-title {
  font-family: var(--serif); font-weight: 400; font-size: 19px; line-height: 1.7;
  margin: 10px 0 0;
}
.event-dl { margin: 14px 0 0; font-size: 14px; display: grid; grid-template-columns: 5.5em 1fr; gap: 6px 14px; }
.event-dl dt { color: var(--ink-2); }
.event-dl dd { margin: 0; }
.event-actions { margin-top: 18px; display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.event-closed { font-size: 14px; color: var(--ink-2); border: 1px solid var(--rule); padding: 8px 14px; }
@media (min-width: 768px) {
  .event-dl { grid-template-columns: 6em 1fr 6em 1fr; }
}

.empty-state { border: 1px solid var(--rule); padding: 28px 22px; }
.empty-state p { margin-bottom: 1em; }

/* ---------- ステップ ---------- */
.steps { list-style: none; counter-reset: s; margin: 0; padding: 0; }
.step { counter-increment: s; border-top: 1px solid var(--rule); padding: 24px 0; }
.step:last-child { border-bottom: 1px solid var(--rule); }
.step-title { font-family: var(--serif); font-size: 18px; font-weight: 400; margin: 0 0 8px; }
.step-title::before {
  content: counter(s, decimal-leading-zero); font-size: 12px; letter-spacing: .1em;
  margin-right: 14px; color: var(--ink-2); font-family: var(--sans);
}
.step p { font-size: 15px; margin: 0; }
@media (min-width: 768px) {
  .step { display: grid; grid-template-columns: 1fr 1.6fr; gap: 24px; }
  .step-title { margin: 0; }
}

/* ---------- ブランドページ ---------- */
.brand-hero { padding: 48px 0 40px; }
@media (min-width: 768px) { .brand-hero { padding: 76px 0 56px; } }
.brand-hero .brand-logo-lg { width: 100%; max-width: 300px; margin-bottom: 28px; }
@media (min-width: 768px) { .brand-hero .brand-logo-lg { max-width: 380px; } }
.brand-heading {
  font-family: var(--serif); font-weight: 400; font-size: 24px; line-height: 1.75;
  letter-spacing: .03em; margin: 0 0 24px;
}
@media (min-width: 768px) { .brand-heading { font-size: 32px; } }
.brand-rule { width: 56px; height: 2px; border: 0; margin: 0 0 24px; background: var(--brand, var(--ink)); }
.brand-body { font-size: 16px; line-height: 2.05; max-width: 32em; }

.chance { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--rule); }
.chance li { border-bottom: 1px solid var(--rule); padding: 18px 0; font-size: 15px; display: flex; gap: 14px; }
.chance li::before { content: "—"; color: var(--ink-3); }

/* ---------- 記事・レポート ---------- */
.report-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--rule); }
.report-item { border-bottom: 1px solid var(--rule); padding: 22px 0; }
.report-item a { text-decoration: none; }
.report-item a:hover .report-title { text-decoration: underline; text-underline-offset: 4px; }
.report-meta { font-size: 13px; color: var(--ink-2); letter-spacing: .06em; }
.report-title { font-family: var(--serif); font-weight: 400; font-size: 19px; margin: 8px 0 0; line-height: 1.7; }
.report-body { max-width: 36em; }
.report-photos { display: grid; gap: 14px; margin: 28px 0; }
@media (min-width: 640px) { .report-photos { grid-template-columns: 1fr 1fr; } }
.report-photos figcaption { font-size: 13px; color: var(--ink-2); margin-top: 6px; }
.voice { border-left: 2px solid var(--rule); padding: 4px 0 4px 18px; margin: 0 0 20px; }
.voice p { font-size: 15px; margin-bottom: .6em; }
.voice cite { font-size: 13px; color: var(--ink-2); font-style: normal; }

/* ---------- 記事本文（about） ---------- */
.prose { max-width: 36em; }
.prose p { font-size: 16px; line-height: 2.1; margin: 0 0 1.7em; }
.prose h2 {
  font-family: var(--serif); font-weight: 400; font-size: 20px; line-height: 1.8;
  margin: 48px 0 20px; letter-spacing: .03em;
}
.page-title {
  font-family: var(--serif); font-weight: 400; font-size: 26px; line-height: 1.75;
  letter-spacing: .03em; margin: 0 0 12px;
}
@media (min-width: 768px) { .page-title { font-size: 34px; } }
.page-head { padding: 48px var(--pad) 8px; }
@media (min-width: 768px) { .page-head { padding: 76px var(--pad) 8px; } }
.page-head .kicker { font-size: 12px; letter-spacing: .16em; color: var(--ink-2); margin: 0 0 16px; }

/* ---------- 連絡先・運営者情報 ---------- */
.info-table { width: 100%; border-collapse: collapse; font-size: 15px; }
.info-table th, .info-table td {
  text-align: left; vertical-align: top; padding: 16px 0; border-bottom: 1px solid var(--rule);
  font-weight: 400;
}
.info-table th { width: 8em; color: var(--ink-2); }
@media (max-width: 599px) {
  .info-table th, .info-table td { display: block; width: auto; border-bottom: 0; padding: 0; }
  .info-table th { padding-top: 16px; font-size: 13px; }
  .info-table td { padding-bottom: 16px; border-bottom: 1px solid var(--rule); }
}

/* 窓口のブロック。ブランド色の座布団にして、押せる範囲をはっきりさせる */
.channel {
  background: var(--brand-bg, #fff);
  border: 1px solid var(--brand-bg, var(--rule));
  padding: 24px 22px 26px; margin-bottom: 12px;
}
.channel:last-of-type { margin-bottom: 0; }
.channel h3 {
  font-family: var(--serif); font-weight: 400; font-size: 18px; line-height: 1.7;
  margin: 0 0 10px; color: var(--brand-ink, var(--ink));
}
.channel p { font-size: 15px; margin: 0 0 16px; }
.channel .note { margin-bottom: 16px; }
.channel .btn:not(.btn-oc):not(.btn-line) {
  background: var(--brand-ink, var(--ink)); border-color: var(--brand-ink, var(--ink));
  color: #fff; width: 100%;
}
.channel .btn:not(.btn-oc):not(.btn-line):hover { opacity: .88; }
.channel .btn-oc, .channel .btn-line { width: 100%; }
/* ボタンの文字が2行になるときも、最後に1文字だけ残さない */
.btn > span { text-wrap: balance; }
.channel .pending { display: block; }
.pending { font-size: 14px; color: var(--ink-2); border: 1px dashed var(--rule); padding: 12px 16px; display: inline-block; }

/* ---------- フッター ---------- */
/* ------- スクロール演出 -------
   端末側で「視差効果を減らす」がONのときは、全て静止した状態で表示される。
   data-rv で種類を指定：無指定=下から浮かぶ / mask=下から現れる / line=線が伸びる */
.has-reveal .reveal { opacity: 0; transform: translateY(16px); }
.has-reveal .reveal[data-rv="mask"] { opacity: 1; transform: none; clip-path: inset(0 0 108% 0); }
.has-reveal .reveal[data-rv="line"] { opacity: 1; transform: scaleX(0); transform-origin: 0 50%; }

.has-reveal .reveal.is-in { opacity: 1; transform: none; }
.has-reveal .reveal[data-rv="mask"].is-in { clip-path: inset(0 0 -6% 0); }
.has-reveal .reveal[data-rv="line"].is-in { transform: scaleX(1); }

@media (prefers-reduced-motion: no-preference) {
  .has-reveal .reveal {
    transition: opacity .85s ease var(--d, 0ms), transform .85s cubic-bezier(.22, .8, .2, 1) var(--d, 0ms);
  }
  .has-reveal .reveal[data-rv="mask"] {
    transition: clip-path 1.05s cubic-bezier(.22, .8, .2, 1) var(--d, 0ms);
  }
  .has-reveal .reveal[data-rv="line"] {
    transition: transform 1s cubic-bezier(.22, .8, .2, 1) var(--d, 0ms);
  }
}


/* ------- 強い演出：ロゴは左から拭うように現れる ------- */
.has-reveal .reveal[data-rv="wipe"] { opacity: 1; transform: none; }
.has-reveal .reveal[data-rv="wipe"] img,
.has-reveal img.reveal[data-rv="wipe"] {
  clip-path: inset(0 100% 0 0); transform: scale(1.07); transform-origin: 0 50%;
}
.has-reveal .reveal[data-rv="wipe"].is-in img,
.has-reveal img.reveal[data-rv="wipe"].is-in { clip-path: inset(0 -1% 0 0); transform: none; }
@media (prefers-reduced-motion: no-preference) {
  .has-reveal .reveal[data-rv="wipe"] img,
  .has-reveal img.reveal[data-rv="wipe"] {
    transition: clip-path 1.45s cubic-bezier(.76, 0, .24, 1) var(--d, 0ms),
                transform 1.9s cubic-bezier(.19, 1, .22, 1) var(--d, 0ms);
  }
}

/* ------- 強い演出：見出しは文節ごとに時間差で立ち上がる ------- */
.has-reveal .reveal[data-rv="words"] { opacity: 1; transform: none; }
.has-reveal .reveal[data-rv="words"] .nb {
  clip-path: inset(0 0 115% 0); opacity: 0; transform: translateY(.5em);
}
.has-reveal .reveal[data-rv="words"].is-in .nb {
  clip-path: inset(0 0 -12% 0); opacity: 1; transform: none;
}
@media (prefers-reduced-motion: no-preference) {
  .has-reveal .reveal[data-rv="words"] .nb {
    transition:
      clip-path 1.2s cubic-bezier(.19, 1, .22, 1) calc(var(--d, 0ms) + var(--i, 0) * 210ms),
      opacity .9s ease calc(var(--d, 0ms) + var(--i, 0) * 210ms),
      transform 1.2s cubic-bezier(.19, 1, .22, 1) calc(var(--d, 0ms) + var(--i, 0) * 210ms);
  }
}

/* ヒーローのロゴ下に引かれる4色の線 */
.hero-main h1 { margin: 0; }
.hero-spectrum { height: 2px; border: 0; margin: 26px 0 0; background: var(--spectrum-grad); }
@media (prefers-reduced-motion: no-preference) {
  .has-reveal .hero-spectrum { transition: transform 1.5s cubic-bezier(.19, 1, .22, 1) var(--d, 0ms); }
}
@media (min-width: 900px) { .hero-spectrum { margin-top: 34px; } }

/* ヒーローは下へ進むにつれて静かに引いていく */
.hero-grid { transform: translateY(var(--hy, 0px)); opacity: var(--ho, 1); will-change: transform; }
@media (prefers-reduced-motion: reduce) { .hero-grid { transform: none; opacity: 1; } }

/* PCでは見出しを画面に留めたまま、中身だけが流れる */
@media (min-width: 900px) {
  .sticky-split { display: grid; grid-template-columns: 290px minmax(0, 1fr); gap: 80px; align-items: start; }
  .sticky-split > .sec-head { position: sticky; top: 124px; margin-bottom: 0; }
  /* 見出しを留める列があるので、ブランドは1列で順に流す */
  .sticky-split .brand-list { grid-template-columns: 1fr; }
}

/* ブランド名の下に引かれる、その分野の色の線 */
.brand-rule-draw { height: 1px; border: 0; margin: 20px 0 0; background: var(--brand, var(--ink)); }

/* ページ先頭へ戻る */
.to-top {
  opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: opacity .25s ease, transform .25s ease, visibility .25s;
}
.to-top.is-shown { opacity: 1; visibility: visible; transform: none; }
@media (prefers-reduced-motion: reduce) { .to-top { transition: none; } }

.site-footer { border-top: 1px solid var(--rule); padding: 56px 0 44px; background: var(--bg); }
.footer-logo { width: 180px; margin-bottom: 28px; }
.footer-cols { display: grid; gap: 28px; }
@media (min-width: 768px) { .footer-cols { grid-template-columns: repeat(3, 1fr); gap: 40px; } }
.footer-cols h2 { font-size: 12px; letter-spacing: .14em; color: var(--ink-2); margin: 0 0 12px; font-weight: 400; }
.footer-cols ul { list-style: none; margin: 0; padding: 0; }
.footer-cols li + li { margin-top: 10px; }
.footer-cols a { font-size: 14px; text-decoration: none; }
.footer-cols a:hover { text-decoration: underline; text-underline-offset: 4px; }
.footer-cols li[class^="b-"] a { color: var(--brand-ink); }
.footer-bottom {
  margin-top: 40px; padding-top: 22px; border-top: 1px solid var(--rule);
  font-size: 12px; color: var(--ink-2); letter-spacing: .04em;
}

/* ---------- よくあるご質問 ---------- */
.qa { border-top: 1px solid var(--rule); }
.qa-item { border-bottom: 1px solid var(--rule); padding: 22px 0; }
.qa-q, .qa-a { display: flex; gap: 14px; margin: 0; max-width: none; }
.qa-q {
  font-family: var(--serif); font-weight: 400; font-size: 17px; line-height: 1.75;
  margin-bottom: 12px;
}
.qa-a { font-size: 15px; line-height: 1.9; color: var(--ink-2); }
.qa-q::before, .qa-a::before {
  font-family: var(--sans); font-size: 11px; letter-spacing: .12em; line-height: 2.6;
  color: var(--ink-3); flex: 0 0 1.2em;
}
.qa-q::before { content: "Q"; }
.qa-a::before { content: "A"; }
@media (min-width: 768px) { .qa-q { font-size: 18px; } }

/* 下書きページの注意書き（公開版には出ません） */
.draft-note {
  max-width: none; margin: 18px 0 0; padding: 12px 16px; font-size: 14px;
  background: #fff8e6; border: 1px solid #e3d3a2; color: #6a5a24;
}

/* ---------- ブランドページ全体の地色 ---------- */
/* ページ全体にそのブランドの色を薄く敷き、節ごとに濃さを変える */
.page-brand { background: var(--brand-tint, var(--bg)); }
.page-brand .brand-hero { background: var(--brand-bg); }
.page-brand .sec--tint { background: var(--brand-bg); }
.page-brand .sec--dark { background: var(--brand-dark, var(--ink)); }
.page-brand .site-header { background: #fff; }
.page-brand .site-footer { background: var(--brand-bg); border-top-color: var(--brand); }
/* 地色の上では、白地前提の枠線をわずかに濃くする */
.page-brand .empty-state,
.page-brand .event { border-color: rgba(0, 0, 0, .14); }
.page-brand .events, .page-brand .chance { border-top-color: rgba(0, 0, 0, .14); }
.page-brand .chance li { border-bottom-color: rgba(0, 0, 0, .14); }

/* ---------- 「いま近いものを選ぶ」3択 ---------- */
.choose { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
@media (min-width: 860px) { .choose { grid-template-columns: repeat(3, 1fr); } }
.choose-link {
  display: flex; flex-direction: column; gap: 14px; height: 100%;
  text-decoration: none; background: #fff; border: 1px solid var(--rule);
  padding: 24px 22px; transition: border-color .2s ease, transform .2s ease;
}
.choose-link:hover, .choose-link:focus-visible { border-color: var(--ink); transform: translateY(-2px); }
@media (prefers-reduced-motion: reduce) { .choose-link { transition: none; } }
.choose-q {
  font-family: var(--serif); font-size: 17px; line-height: 1.7; color: var(--ink);
  word-break: auto-phrase;
}
.choose-a {
  margin-top: auto; font-size: 14px; letter-spacing: .02em; color: var(--ink);
  border-top: 1px solid var(--rule); padding-top: 14px; display: flex;
  justify-content: space-between; align-items: center; gap: 10px;
}
.choose-a::after { content: "→"; }
.sec--dark .choose-link { background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .3); }
.sec--dark .choose-q, .sec--dark .choose-a { color: #fff; }

.choose + .note { margin-top: 26px; max-width: none; }

/* ---------- 現在地の表示（パンくず） ---------- */
.crumbs-wrap { border-bottom: 1px solid var(--rule); background: rgba(255, 255, 255, .6); }
.page-brand .crumbs-wrap { background: rgba(255, 255, 255, .45); }
.crumbs {
  display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px;
  padding: 12px 0; font-size: 13px; color: var(--ink-2); line-height: 1.7;
}
.crumbs a { text-decoration: none; border-bottom: 1px solid var(--rule); padding-bottom: 2px; }
.crumbs a:hover { border-color: var(--ink); color: var(--ink); }
.crumbs .sep { color: var(--ink-3); }
.crumbs .here { color: var(--ink); }

/* いま開いているページをメニューで示す */
.nav-main a[aria-current="page"] { color: var(--ink); }
@media (min-width: 900px) {
  .nav-main a[aria-current="page"] { border-bottom: 2px solid var(--ink); padding-bottom: 6px; }
  .nav-home { display: none; }
}
@media (max-width: 899px) {
  .nav-main a[aria-current="page"]::before {
    content: ""; display: inline-block; width: 10px; height: 1px;
    background: var(--ink); vertical-align: middle; margin-right: 10px;
  }
}

/* ページ末尾のホームへの戻り口 */
.home-back { border-top: 1px solid var(--rule); padding: 34px 0; background: var(--bg); }
.page-brand .home-back { background: var(--brand-bg); border-top-color: var(--brand); }
.home-back .btn { min-width: 220px; }
@media (max-width: 519px) { .home-back .btn { width: 100%; } }

/* ブランドカードの「誰が集まるか」の行 */
.brand-who {
  font-size: 13px; letter-spacing: .06em; line-height: 1.7;
  color: var(--brand-ink, var(--ink-2)); margin: 0 0 10px; max-width: none;
}
.brand-who::before {
  content: ""; display: inline-block; width: 16px; height: 1px;
  background: var(--brand, var(--ink)); vertical-align: middle; margin-right: 9px;
}

.empty-lead {
  font-family: var(--serif); font-size: 19px; line-height: 1.7; margin: 0 0 12px;
  word-break: auto-phrase;
}
.empty-state .btn { margin-top: 18px; }

/* ---------- 公式LINEのボタン ---------- */
.btn.btn-line, .btn.btn-line-ghost,
.btn-line, .btn-line-ghost {
  background: #06c755; border-color: #06c755; color: #fff;
  gap: 10px;
}
.btn-line:hover, .btn-line-ghost:hover { background: #05b14c; border-color: #05b14c; color: #fff; }
.line-icon { width: 20px; height: 20px; flex: 0 0 auto; }
.sec--dark .btn-line, .sec--dark .btn-line-ghost {
  background: #06c755; border-color: #06c755; color: #fff;
}
.line-img { display: inline-block; max-width: 240px; }
.line-img img { width: 100%; height: auto; }

/* ---------- 白すぎる節に色を入れる ---------- */
:root { --tint: #f4f2ee; }
.sec--tint { background: var(--tint); }
.page-brand .sec--tint { background: var(--brand-bg); }

/* 節の上端にロゴの4色を細く入れて、区切りをはっきりさせる */
.sec--tint { position: relative; }
.sec--tint::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: var(--spectrum-grad); opacity: .5;
}
.page-brand .sec--tint::before { background: var(--brand); opacity: .35; }

/* 3択と開催情報の枠を、地色から浮かせる */
.choose-link { background: #fff; border-color: rgba(0, 0, 0, .1); }
.empty-state { background: #fff; border-color: rgba(0, 0, 0, .1); }
.page-brand .empty-state { background: rgba(255, 255, 255, .72); }

/* ---------- オープンチャットのボタン ---------- */
.btn.btn-oc,
.btn-oc {
  background: var(--oc); border-color: var(--oc-line);
  color: var(--ink); gap: 10px; font-weight: 600;
}
.btn-oc:hover { background: var(--oc-dark); border-color: var(--oc-dark); color: var(--ink); }
.sec--dark .btn-oc,
.sec--dark .btn-oc:hover { background: var(--oc); border-color: var(--oc-line); color: var(--ink); }
.sec--dark .btn-oc:hover { background: var(--oc-dark); border-color: var(--oc-dark); }

/* ---------- それぞれの役割（見出しを色で区別する） ---------- */
.roles th {
  font-size: 14px; font-weight: 500; letter-spacing: .04em; color: var(--ink);
  padding-left: 12px; position: relative;
}
.roles th::before {
  content: ""; position: absolute; left: 0; top: 50%; transform: translateY(-50%);
  width: 3px; height: 1.1em; background: currentColor; border-radius: 1px;
}
@media (max-width: 599px) { .roles th::before { top: 1.45em; } }
.roles .r-home th { color: var(--ink); }
.roles .r-line th { color: #04913f; }
.roles .r-oc th { color: var(--business-ink); }
.roles .r-form th { color: var(--love-ink); }
.roles td { color: var(--ink-2); }

/* 3択のうち公式LINEの行に、緑の印を付ける */
.choose-link.is-line .choose-a { color: #04913f; }
.choose-link.is-line .choose-a::after { content: "→"; }
.choose-link.is-line { border-left: 3px solid #06c755; }

/* ヘッダーの公式LINEボタン */
.nav-cta .btn-line { padding: 10px 16px; font-size: 13px; min-height: 42px; }
.nav-cta .line-icon { width: 17px; height: 17px; }
@media (max-width: 899px) {
  .nav-cta .btn-line { width: 100%; padding: 15px; font-size: 15px; }
  .nav-cta .line-icon { width: 20px; height: 20px; }
}
.footer-cols .f-line a { color: #04913f; }

/* ヘッダー・ドロワーの公式LINEボタンは必ず緑 */
.site-nav .nav-cta .btn-line,
.site-nav .nav-cta a.btn-line {
  background: #06c755; border-color: #06c755; color: #fff; text-decoration: none;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
}
.site-nav .nav-cta a.btn-line:hover { background: #05b14c; border-color: #05b14c; color: #fff; }

/* ---------- 背景写真（トップと各ページの上部） ---------- */
.hero-bg, .page-hero-bg {
  position: absolute; inset: 0; z-index: 0;
  background-image: var(--scrim), var(--photo-sm);
  background-size: cover; background-position: 62% center;
  background-repeat: no-repeat;
}
@media (min-width: 1000px) {
  .hero-bg, .page-hero-bg { background-image: var(--scrim), var(--photo-lg); }
}

/* トップ */
.hero--photo {
  /* スマホは上下方向、横長の画面では左から右へ濃度を変える */
  --scrim: linear-gradient(to bottom, rgba(12, 9, 7, .9) 0%, rgba(12, 9, 7, .78) 42%, rgba(12, 9, 7, .86) 100%);
  position: relative; color: #fff; overflow: hidden;
  padding: 64px 0 76px; margin-bottom: 0;
}
@media (min-width: 900px) {
  .hero--photo {
    padding: 104px 0 108px;
    --scrim:
      linear-gradient(to bottom, rgba(12, 9, 7, .34) 0%, rgba(12, 9, 7, 0) 38%, rgba(12, 9, 7, .22) 100%),
      linear-gradient(102deg, rgba(12, 9, 7, .94) 0%, rgba(12, 9, 7, .82) 42%, rgba(12, 9, 7, .7) 100%);
  }
}
.hero--photo .hero-grid { position: relative; z-index: 2; }

/* ロゴは公式の色のまま、白い座布団にのせる */
.hero--photo .hero-plate {
  display: inline-block; background: var(--bg);
  padding: 20px 24px 22px; box-shadow: 0 18px 50px rgba(0, 0, 0, .34);
}
.hero--photo .hero-plate .hero-logo { margin-bottom: 0; display: block; }
@media (min-width: 900px) { .hero--photo .hero-plate { padding: 26px 32px 28px; } }

.hero--photo .hero-lead { color: #fff; }
.hero--photo .hero-meta { color: rgba(255, 255, 255, .72); }
.hero--photo .hero-side { border-left-color: rgba(255, 255, 255, .26); }
.hero--photo .scroll-cue { background: rgba(255, 255, 255, .3); }
.hero--photo .btn {
  background: var(--bg); border-color: var(--bg); color: var(--ink);
}
.hero--photo .btn:hover { background: rgba(255, 255, 255, .86); border-color: rgba(255, 255, 255, .86); color: var(--ink); }
.hero--photo .btn-ghost {
  background: transparent; border-color: rgba(255, 255, 255, .66); color: #fff;
}
.hero--photo .btn-ghost:hover { background: rgba(255, 255, 255, .14); border-color: #fff; color: #fff; }

/* 各ページの上部 */
.page-hero--photo {
  --scrim: linear-gradient(to bottom, rgba(12, 9, 7, .9) 0%, rgba(12, 9, 7, .8) 50%, rgba(12, 9, 7, .88) 100%);
  position: relative; overflow: hidden; color: #fff; margin-bottom: 8px;
}
.page-hero--photo .page-head { position: relative; z-index: 2; padding: 56px var(--pad) 44px; }
@media (min-width: 768px) {
  .page-hero--photo .page-head { padding: 84px var(--pad) 64px; }
  .page-hero--photo {
    --scrim: linear-gradient(104deg, rgba(12, 9, 7, .94) 0%, rgba(12, 9, 7, .84) 52%, rgba(12, 9, 7, .72) 100%);
  }
}
.page-hero--photo .kicker { color: rgba(255, 255, 255, .78); }
.page-hero--photo .page-title { color: #fff; }
.page-hero--photo .crumbs, .page-hero--photo .crumbs a { color: rgba(255, 255, 255, .78); }
.page-hero--photo .crumbs a:hover { color: #fff; }

@media (prefers-reduced-motion: no-preference) {
  .hero--photo .hero-bg { transform: scale(1.04); transition: transform 2.4s cubic-bezier(.19, 1, .22, 1); }
  .has-reveal .hero--photo .hero-bg { transform: scale(1); }
}

/* ---------- サンプル表示のおことわり ---------- */
.sample-notice {
  font-size: 13px; line-height: 1.8; color: var(--ink-2);
  border: 1px dashed var(--rule-strong); padding: 12px 16px; margin: 0 0 20px;
}

/* ---------- 申込の進み具合と男女比 ---------- */
.ev-stats { margin: 18px 0 20px; }
.ev-applied {
  display: flex; align-items: baseline; gap: 10px;
  font-size: 13px; letter-spacing: .06em; color: var(--ink-2); margin: 0 0 8px;
}
.ev-applied b { font-size: 16px; letter-spacing: .02em; color: var(--ink); font-weight: 600; }
.ev-bar { height: 4px; background: var(--rule); overflow: hidden; }
.ev-bar > span {
  display: block; height: 100%; background: var(--brand, var(--ink));
  transform-origin: left center;
}
@media (prefers-reduced-motion: no-preference) {
  .ev-bar > span { transform: scaleX(0); transition: transform 1.1s cubic-bezier(.19, 1, .22, 1) .12s; }
  .is-in .ev-bar > span, .has-reveal .event .ev-bar > span { transform: scaleX(1); }
}
.ev-split { display: flex; height: 4px; margin-top: 18px; overflow: hidden; }
.ev-m { background: #9fc0dd; }
.ev-f { background: #efb9bd; }
.ev-ratio {
  display: flex; justify-content: space-between;
  font-size: 12px; letter-spacing: .08em; color: var(--ink-3); margin: 8px 0 0;
}
.ev-ratio b { font-size: 13px; color: var(--ink-2); font-weight: 500; }

/* ---------- しるし ---------- */
.event-new, .event-sample {
  font-size: 11px; letter-spacing: .12em; padding: 3px 9px; line-height: 1.6;
}
.event-new { background: var(--ink); color: #fff; }
.event-sample { border: 1px dashed var(--rule-strong); color: var(--ink-2); }

/* ---------- 一緒に行く人を探す ---------- */
.invite-btn {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  width: 100%; margin: 18px 0 0; padding: 15px 18px;
  font-family: inherit; font-size: 14px; letter-spacing: .06em; line-height: 1.6;
  color: var(--brand-ink, var(--ink)); background: transparent;
  border: 1px solid var(--brand, var(--rule-strong)); border-radius: 999px;
  cursor: pointer; transition: background .2s ease, color .2s ease;
}
.invite-btn:hover { background: var(--brand-bg, var(--tint)); }
.invite-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--brand, var(--ink)); flex: 0 0 auto;
}

/* ---------- 下から出る案内 ---------- */
body.sheet-open { overflow: hidden; }
.sheet { position: fixed; inset: 0; z-index: 120; }
.sheet-back {
  position: absolute; inset: 0; background: rgba(18, 16, 14, .5);
  opacity: 0; transition: opacity .3s ease;
}
.sheet.is-open .sheet-back { opacity: 1; }
.sheet-panel {
  position: absolute; left: 0; right: 0; bottom: 0;
  max-height: 88vh; overflow-y: auto;
  background: var(--bg); padding: 26px 20px 34px;
  box-shadow: 0 -16px 48px rgba(0, 0, 0, .22);
  transform: translateY(100%); transition: transform .32s cubic-bezier(.22, .8, .2, 1);
}
.sheet.is-open .sheet-panel { transform: none; }
@media (min-width: 720px) {
  .sheet-panel {
    left: 50%; right: auto; bottom: 0; transform: translate(-50%, 100%);
    width: min(560px, calc(100% - 40px)); padding: 32px 36px 40px;
  }
  .sheet.is-open .sheet-panel { transform: translate(-50%, 0); }
}
.sheet-close {
  position: absolute; top: 14px; right: 14px;
  width: 40px; height: 40px; font-size: 22px; line-height: 1;
  background: transparent; border: 0; color: var(--ink-2); cursor: pointer;
}
.sheet-meta { font-size: 13px; letter-spacing: .04em; color: var(--ink-3); margin: 0 0 10px; padding-right: 44px; }
.sheet-title {
  font-family: var(--serif); font-weight: 400; font-size: 23px; line-height: 1.7;
  letter-spacing: .03em; margin: 0 0 12px;
}
.sheet-lead { font-size: 15px; line-height: 2; margin: 0 0 20px; }
.sheet-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.sheet-row .btn { width: 100%; }
.sheet-note { font-size: 13px; color: var(--ink-3); margin: 14px 0 0; }
.sheet-rule { height: 1px; border: 0; background: var(--rule); margin: 26px 0 22px; }
.sheet-sub { font-size: 15px; font-weight: 500; letter-spacing: .04em; margin: 0 0 14px; }
.sheet-copy { margin: 16px 0 0; text-align: center; }
.link-plain {
  background: none; border: 0; padding: 0; cursor: pointer;
  font-family: inherit; font-size: 13px; color: var(--ink-2);
  text-decoration: underline; text-underline-offset: 4px;
}
.btn-threads { background: var(--ink); border-color: var(--ink); color: #fff; }
.btn-threads:hover { background: #000; border-color: #000; color: #fff; }
.btn-x { background: #1b1b1b; border-color: #1b1b1b; color: #fff; }
.btn-x:hover { background: #000; border-color: #000; color: #fff; }
.btn-line-share { border-color: #06c755; color: #04913f; }
.btn-line-share:hover { background: rgba(6, 199, 85, .1); border-color: #06c755; color: #04913f; }

/* ---------- 画面の右下に出るボタン ---------- */
.float-actions {
  position: fixed; right: 14px; bottom: 16px; z-index: 60;
  display: flex; flex-direction: column; align-items: flex-end; gap: 10px;
}
.float-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  background: var(--bg); border: 1px solid var(--rule-strong); color: var(--ink);
  font-family: inherit; font-size: 13px; letter-spacing: .06em; line-height: 1;
  padding: 12px 16px; cursor: pointer; text-decoration: none;
  box-shadow: 0 6px 20px rgba(0, 0, 0, .1);
}
.float-btn:hover { background: var(--ink); border-color: var(--ink); color: #fff; }
.float-btn.to-top { width: 46px; height: 46px; padding: 0; }
.share-ico {
  width: 13px; height: 13px; flex: 0 0 auto;
  border: 1.5px solid currentColor; border-top: 0; border-radius: 0 0 2px 2px;
  position: relative; margin-top: 3px;
}
.share-ico::before {
  content: ""; position: absolute; left: 50%; top: -9px; width: 1.5px; height: 10px;
  background: currentColor; transform: translateX(-50%);
}
.share-ico::after {
  content: ""; position: absolute; left: 50%; top: -9px;
  width: 7px; height: 7px; border-left: 1.5px solid currentColor; border-top: 1.5px solid currentColor;
  transform: translateX(-50%) rotate(45deg);
}

/* ---------- 画面の下に出る短い知らせ ---------- */
.toast {
  position: fixed; left: 50%; bottom: 28px; z-index: 140;
  transform: translate(-50%, 14px); opacity: 0;
  background: var(--ink); color: #fff;
  font-size: 13px; letter-spacing: .04em; line-height: 1.7;
  padding: 12px 20px; max-width: calc(100% - 40px); text-align: center;
  transition: opacity .28s ease, transform .28s ease; pointer-events: none;
}
.toast.is-on { opacity: 1; transform: translate(-50%, 0); }

@media (min-width: 768px) { .float-actions { right: 28px; bottom: 28px; } }
.sheet-row .btn { padding-left: 10px; padding-right: 10px; font-size: 14px; }

/* ---------- 開催情報を、ブランドごとの色の座布団にする ---------- */
.events { border-top: 0; display: grid; gap: 16px; }
.event {
  border: 1px solid var(--brand-bg, var(--rule));
  border-top: 3px solid var(--brand, var(--ink-2));
  border-bottom: 1px solid var(--brand-bg, var(--rule));
  background: var(--brand-bg, var(--tint));
  padding: 24px 22px 26px;
}
@media (min-width: 768px) { .event { padding: 30px 30px 32px; } }
.event .status { background: rgba(255, 255, 255, .72); }
.event .ev-bar { background: rgba(0, 0, 0, .09); }
.event .event-closed { background: rgba(255, 255, 255, .6); border-color: rgba(0, 0, 0, .1); }
.event .invite-btn { background: rgba(255, 255, 255, .55); }
.event .invite-btn:hover { background: #fff; }

/* ブランド別ページは地の色がすでに付いているので、カードは白く抜く */
.page-brand .event { background: rgba(255, 255, 255, .78); border-color: rgba(255, 255, 255, .78); }
.page-brand .event { border-top-color: var(--brand, var(--ink-2)); }
.page-brand .event .invite-btn { background: transparent; }
.page-brand .event .invite-btn:hover { background: var(--brand-bg, var(--tint)); }

/* 色の指定がないイベント（ブランド未設定）は、これまでどおり白い枠 */
.event:not([class*=" b-"]) { background: #fff; border-color: var(--rule); border-top-color: var(--ink-2); }

/* ---------- トップの下に出す「次の開催」 ---------- */
.hero-next {
  display: grid; grid-template-columns: 1fr auto; align-items: center;
  gap: 2px 14px; margin-top: 26px; padding: 18px 0 0;
  border-top: 1px solid var(--rule); text-decoration: none; color: inherit;
}
.hero-next-head {
  grid-column: 1; display: flex; align-items: center; gap: 8px;
  font-size: 12px; letter-spacing: .12em; color: var(--ink-3);
}
.hero-next-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--brand, var(--ink)); flex: 0 0 auto;
}
.hero-next-state {
  font-size: 11px; letter-spacing: .08em; padding: 2px 8px;
  border: 1px solid currentColor; line-height: 1.6;
}
.hero-next-date {
  grid-column: 1; font-family: var(--serif); font-size: 20px;
  letter-spacing: .02em; line-height: 1.7; margin-top: 6px;
}
.hero-next-sub { grid-column: 1; font-size: 13px; line-height: 1.8; color: var(--ink-2); }
.hero-next-go { grid-column: 2; grid-row: 1 / -1; font-size: 18px; transition: transform .25s ease; }
.hero-next:hover .hero-next-go { transform: translateX(5px); }

/* 写真の上にのるとき */
.hero--photo .hero-next { border-top-color: rgba(255, 255, 255, .28); }
.hero--photo .hero-next-head { color: rgba(255, 255, 255, .72); }
.hero--photo .hero-next-sub { color: rgba(255, 255, 255, .82); }
.hero--photo .hero-next-dot { background: #fff; }
@media (min-width: 900px) { .hero-next { margin-top: 32px; } }

/* 仕切り線を隠すページ共有モードでは、ボタンの段を離す */
[data-sheet-rule][hidden] ~ .sheet-row { margin-top: 12px; }
[data-sheet-lead][hidden] { display: none; }

/* ---------- トップのロゴ重複をなくす ---------- */
.site-header.is-home .header-logo {
  opacity: 0; transform: translateY(-8px); pointer-events: none;
  transition: opacity .45s ease, transform .45s ease;
}
.site-header.is-home.is-past-hero .header-logo {
  opacity: 1; transform: none; pointer-events: auto;
}
@media (prefers-reduced-motion: reduce) {
  .site-header.is-home .header-logo { transition: none; }
}

/* ---------- 右下の固定ボタンを小さくして、本文のボタンと重ねない ---------- */
.float-actions { right: 12px; bottom: 12px; gap: 8px; }
.float-btn {
  width: 46px; height: 46px; padding: 0; border-radius: 50%;
  box-shadow: 0 4px 16px rgba(0, 0, 0, .14);
}
.float-label { display: none; }
.share-btn { opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: opacity .25s ease, transform .25s ease, visibility .25s; }
.share-btn.is-shown { opacity: 1; visibility: visible; transform: none; }
body.sheet-open .float-actions { opacity: 0; pointer-events: none; }
.float-actions { transition: opacity .25s ease; }
@media (min-width: 900px) {
  .float-actions { right: 28px; bottom: 28px; }
  .float-btn.share-btn { width: auto; height: auto; padding: 12px 18px; border-radius: 999px; }
  .float-label { display: inline; }
}

/* ---------- スマホの余白とボタンを詰める ---------- */
@media (max-width: 599px) {
  section { padding: 52px 0; }
  .event { padding: 20px 18px 22px; }
  .btn { padding: 13px 20px; font-size: 14px; min-height: 48px; }
  .invite-btn { padding: 13px 16px; font-size: 13px; }
  .sheet-panel { padding: 22px 18px 28px; }
  .sheet-title { font-size: 21px; }
  .sheet-lead { font-size: 14px; line-height: 1.95; }
  .channel { padding: 20px 18px 22px; }
  .hero-next { margin-top: 22px; }
}

/* ---------- 開催情報の絞り込み ---------- */
.ev-filter { margin: 0 0 22px; }
.ev-f-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
@media (min-width: 768px) { .ev-f-row { grid-template-columns: repeat(4, 1fr); gap: 12px; } }
.ev-f-item { display: flex; flex-direction: column; gap: 6px; }
.ev-f-item > span { font-size: 12px; letter-spacing: .1em; color: var(--ink-3); }
.ev-f-item select {
  font-family: inherit; font-size: 14px; color: var(--ink); background: #fff;
  border: 1px solid var(--rule-strong); border-radius: 0; padding: 11px 32px 11px 12px;
  min-height: 46px; width: 100%; appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, var(--ink-2) 50%),
    linear-gradient(135deg, var(--ink-2) 50%, transparent 50%);
  background-position: calc(100% - 17px) 50%, calc(100% - 12px) 50%;
  background-size: 5px 5px, 5px 5px; background-repeat: no-repeat;
}
.ev-f-item select:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
.ev-f-foot {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  font-size: 13px; color: var(--ink-2); margin: 12px 0 0;
}
.ev-f-empty {
  font-size: 14px; color: var(--ink-2); border: 1px dashed var(--rule-strong);
  padding: 20px 18px; margin: 0;
}
.event[hidden] { display: none; }

/* ---------- NEXUS相性ナビ ---------- */
.navi { margin: 28px 0 0; }
.navi-q { border: 0; margin: 0 0 30px; padding: 0; }
.navi-q legend {
  font-family: var(--serif); font-weight: 400; font-size: 19px; line-height: 1.75;
  letter-spacing: .02em; padding: 0; margin-bottom: 14px; display: block; width: 100%;
}
.navi-no {
  display: inline-block; font-family: var(--sans); font-size: 11px; letter-spacing: .14em;
  color: var(--ink-3); margin-right: 12px; vertical-align: 2px;
}
.navi-opts { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.navi-opt {
  display: flex; align-items: center; gap: 12px; cursor: pointer;
  border: 1px solid var(--rule); background: #fff; padding: 14px 16px;
  font-size: 15px; line-height: 1.7; transition: border-color .2s ease, background .2s ease;
}
.navi-opt:hover { border-color: var(--ink-2); }
.navi-opt input {
  appearance: none; width: 18px; height: 18px; flex: 0 0 auto; margin: 0;
  border: 1px solid var(--rule-strong); border-radius: 50%; position: relative;
}
.navi-opt input:checked { border-color: var(--ink); }
.navi-opt input:checked::after {
  content: ""; position: absolute; inset: 3px; border-radius: 50%; background: var(--ink);
}
.navi-opt input:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
.navi-opt:has(input:checked) { border-color: var(--ink); background: var(--tint); }
.navi-foot { margin: 0; font-size: 13px; color: var(--ink-3); }
.navi-result { margin-top: 36px; border-top: 1px solid var(--rule-strong); padding-top: 28px; }
.navi-result-lead {
  font-family: var(--serif); font-size: 21px; line-height: 1.75; margin: 0 0 20px;
}
.navi-card {
  background: var(--brand-bg, var(--tint)); border-top: 3px solid var(--brand, var(--ink));
  padding: 22px 20px 24px; margin-bottom: 14px;
}
.navi-card-kicker { font-size: 11px; letter-spacing: .14em; color: var(--ink-2); margin: 0 0 8px; }
.navi-card-name {
  font-family: var(--serif); font-weight: 400; font-size: 19px; letter-spacing: .04em;
  margin: 0 0 10px; color: var(--brand-ink, var(--ink));
}
.navi-card-copy { font-size: 15px; line-height: 1.95; margin: 0 0 18px; }
.navi-card .btn-row { gap: 10px; }
.navi-card.is-top { box-shadow: 0 10px 30px rgba(0, 0, 0, .07); }
.navi-note { font-size: 13px; color: var(--ink-2); line-height: 1.9; margin: 18px 0 20px; }
