/* =========================================================
   KYABEL — AFTERDARK HOSPITALITY GROUP (SITE 50) / styles.css
   業態横断グループのコーポレート兼ポータル。ナイトグレー #191b20 × ホワイト #f3f2ef。
   シグネチャ = 6業態スペクトル帯（--sp1〜--sp6 が 34〜49 のアクセントを引用）。
   Outfit(display) + Noto Sans JP。33 とは別型（コーポレート×スペクトル）。
   ========================================================= */

/* ---- トークン ---- */
:root {
  --night: #191b20;
  --night-2: #14161a;
  --night-3: #212430;
  --panel: #22252c;
  --line: #33373f;
  --white: #f3f2ef;
  --muted: #b6b8bd;
  --muted-2: #8b8e95;
  --ink-on-color: #14161a;

  /* 6業態スペクトル（config.js CONCEPTS と一致） */
  --sp1: #c9803f; /* bar */
  --sp2: #cf6f8e; /* snack */
  --sp3: #d15fa6; /* concept-cafe */
  --sp4: #4f97c9; /* music-lounge */
  --sp5: #b8974e; /* high-club */
  --sp6: #4f9f77; /* members-lounge */

  --maxw: 1200px;
  --gap: clamp(16px, 3vw, 32px);
  --radius: 14px;
  --shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);

  --font-display: "Outfit", "Noto Sans JP", system-ui, sans-serif;
  --font-body: "Noto Sans JP", system-ui, sans-serif;
}

*, *::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;
  font-family: var(--font-body);
  background: var(--night);
  color: var(--white);
  line-height: 1.75;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body.is-locked { overflow: hidden; }

img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 600; line-height: 1.25; margin: 0; letter-spacing: 0.01em; }
p { margin: 0; }
:focus-visible { outline: 2px solid var(--sp4); outline-offset: 3px; border-radius: 3px; }

.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 200;
  background: var(--white); color: var(--night); padding: 10px 16px; border-radius: 8px;
  transition: top 0.2s;
}
.skip-link:focus { top: 12px; }

.wrap { width: min(var(--maxw), 100% - 2 * clamp(16px, 4vw, 40px)); margin-inline: auto; }
.sec { padding-block: clamp(48px, 8vw, 96px); }
.sec--tight { padding-block: clamp(32px, 5vw, 56px); }
.sec__eyebrow { font-family: var(--font-display); font-size: 0.8rem; letter-spacing: 0.28em; text-transform: uppercase; color: var(--muted-2); margin-bottom: 10px; }
.sec__title { font-size: clamp(1.5rem, 3.6vw, 2.4rem); margin-bottom: 12px; }
.sec__lead { color: var(--muted); max-width: 62ch; margin-bottom: clamp(24px, 4vw, 40px); }
.sec--alt { background: var(--night-2); }

/* ---- スペクトル帯（シグネチャ） ---- */
.spectrum { display: flex; height: 6px; width: 100%; border-radius: 99px; overflow: hidden; }
.spectrum > i { flex: 1 1 0; }
.spectrum > i:nth-child(1) { background: var(--sp1); }
.spectrum > i:nth-child(2) { background: var(--sp2); }
.spectrum > i:nth-child(3) { background: var(--sp3); }
.spectrum > i:nth-child(4) { background: var(--sp4); }
.spectrum > i:nth-child(5) { background: var(--sp5); }
.spectrum > i:nth-child(6) { background: var(--sp6); }

/* ---- トップバー ---- */
.topbar {
  position: sticky; top: 0; z-index: 100;
  background: rgba(20, 22, 26, 0.86); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.topbar__inner { display: flex; align-items: center; gap: 18px; min-height: 66px; }
.topbar__brand { display: flex; flex-direction: column; line-height: 1.15; margin-right: auto; }
.topbar__brand a { font-family: var(--font-display); font-weight: 600; font-size: 1.05rem; letter-spacing: 0.06em; text-decoration: none; }
.topbar__brand small { color: var(--muted-2); font-size: 0.68rem; letter-spacing: 0.16em; }
.topbar__nav { display: flex; gap: clamp(10px, 1.6vw, 22px); }
.topbar__nav a { font-family: var(--font-display); font-size: 0.86rem; letter-spacing: 0.04em; text-decoration: none; color: var(--muted); padding: 6px 2px; border-bottom: 2px solid transparent; transition: color 0.2s, border-color 0.2s; }
.topbar__nav a:hover { color: var(--white); }
.topbar__nav a[aria-current="page"] { color: var(--white); border-bottom-color: var(--sp4); }
.topbar__cta { font-family: var(--font-display); font-size: 0.84rem; text-decoration: none; padding: 9px 16px; border-radius: 99px; background: var(--white); color: var(--night); font-weight: 600; white-space: nowrap; }
.topbar__toggle { display: none; width: 44px; height: 44px; background: none; border: 1px solid var(--line); border-radius: 10px; cursor: pointer; flex-direction: column; gap: 5px; align-items: center; justify-content: center; }
.topbar__toggle span { width: 20px; height: 2px; background: var(--white); display: block; }

@media (max-width: 900px) {
  .topbar__nav, .topbar__cta { display: none; }
  .topbar__toggle { display: flex; }
}

/* ---- ドロワー ---- */
.drawer { position: fixed; inset: 0; z-index: 150; background: rgba(0, 0, 0, 0.55); visibility: hidden; opacity: 0; transition: opacity 0.25s; }
.drawer[aria-hidden="false"] { visibility: visible; opacity: 1; }
.drawer__panel { position: absolute; right: 0; top: 0; height: 100%; width: min(88%, 340px); background: var(--night-2); border-left: 1px solid var(--line); padding: 26px 24px; overflow-y: auto; transform: translateX(24px); transition: transform 0.25s var(--ease); }
.drawer[aria-hidden="false"] .drawer__panel { transform: translateX(0); }
.drawer__brand { font-family: var(--font-display); font-weight: 600; font-size: 1.1rem; margin-bottom: 20px; }
.drawer__brand span { display: block; color: var(--muted-2); font-size: 0.7rem; letter-spacing: 0.14em; }
.drawer__nav { list-style: none; margin: 0; padding: 0; }
.drawer__nav a { display: flex; justify-content: space-between; align-items: baseline; text-decoration: none; padding: 13px 0; border-bottom: 1px solid var(--line); }
.drawer__nav .en { font-family: var(--font-display); letter-spacing: 0.06em; }
.drawer__nav .ja { color: var(--muted); font-size: 0.82rem; }
.drawer__foot { color: var(--muted-2); font-size: 0.76rem; margin-top: 20px; }
@media (prefers-reduced-motion: reduce) { .drawer, .drawer__panel { transition: none; } }

/* ---- ボタン ---- */
.btn { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-display); font-size: 0.92rem; font-weight: 600; text-decoration: none; padding: 12px 22px; border-radius: 99px; border: 1px solid transparent; cursor: pointer; transition: transform 0.15s, background 0.2s, border-color 0.2s; }
.btn--solid { background: var(--white); color: var(--night); }
.btn--solid:hover { transform: translateY(-1px); }
.btn--ghost { background: transparent; color: var(--white); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--muted); }
@media (prefers-reduced-motion: reduce) { .btn:hover { transform: none; } }

/* ---- ヒーロー ---- */
.hero { position: relative; overflow: hidden; border-bottom: 1px solid var(--line); }
.hero__media { position: absolute; inset: 0; z-index: 0; }
.hero__media .ph { width: 100%; height: 100%; }
.hero__media .ph::before { content: none; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; opacity: 0.5; }
.hero__scrim { position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(20,22,26,0.5), rgba(20,22,26,0.86)); }
.hero__inner { position: relative; z-index: 2; padding-block: clamp(64px, 12vw, 132px); }
.hero__eyebrow { font-family: var(--font-display); letter-spacing: 0.24em; text-transform: uppercase; font-size: 0.82rem; color: var(--muted); margin-bottom: 18px; }
.hero__title { font-size: clamp(2rem, 6.5vw, 4.2rem); line-height: 1.06; letter-spacing: 0.01em; }
.hero__title span { display: block; }
.hero__sub { color: var(--muted); max-width: 52ch; margin-top: 20px; font-size: clamp(1rem, 1.6vw, 1.15rem); }
.hero__spectrum { margin-top: 30px; max-width: 480px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }

/* ---- 指標帯 ---- */
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--gap); }
.stat { border-left: 3px solid var(--sp4); padding: 6px 0 6px 16px; }
.stat:nth-child(2) { border-color: var(--sp2); }
.stat:nth-child(3) { border-color: var(--sp3); }
.stat:nth-child(4) { border-color: var(--sp6); }
.stat__v { font-family: var(--font-display); font-size: clamp(2rem, 5vw, 3rem); font-weight: 700; display: inline; }
.stat__u { font-family: var(--font-display); font-size: 1rem; color: var(--muted); margin-left: 6px; }
.stat__n { display: block; color: var(--muted-2); font-size: 0.8rem; margin-top: 4px; }
@media (max-width: 720px) { .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ---- 業態一覧（index / concepts の入口カード） ---- */
.ic-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gap); }
.ic { --cc: var(--sp1); position: relative; display: flex; flex-direction: column; gap: 6px; text-decoration: none; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px 22px 20px; overflow: hidden; transition: transform 0.18s, border-color 0.2s; }
.ic__bar { position: absolute; left: 0; top: 0; bottom: 0; width: 5px; background: var(--cc); }
.ic:hover { transform: translateY(-3px); border-color: var(--cc); }
.ic__en { font-family: var(--font-display); font-size: 0.74rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted-2); }
.ic__label { font-family: var(--font-display); font-size: 1.25rem; font-weight: 600; }
.ic__lead { color: var(--muted); font-size: 0.9rem; }
.ic__count { margin-top: auto; color: var(--cc); font-family: var(--font-display); font-size: 0.85rem; font-weight: 600; padding-top: 10px; }
@media (max-width: 860px) { .ic-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .ic-grid { grid-template-columns: minmax(0, 1fr); } }
@media (prefers-reduced-motion: reduce) { .ic:hover { transform: none; } }

/* ---- 店舗カード ---- */
.v-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gap); }
@media (max-width: 900px) { .v-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 580px) { .v-grid { grid-template-columns: minmax(0, 1fr); } }

.v-card { --vc: var(--sp1); display: flex; flex-direction: column; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: transform 0.18s, border-color 0.2s; }
.v-card:hover { transform: translateY(-3px); border-color: var(--vc); }
.v-card__media { position: relative; display: block; }
.v-card__media .ph { border-radius: 0; }
.v-badge { position: absolute; left: 12px; top: 12px; display: inline-flex; align-items: center; gap: 6px; font-size: 0.74rem; font-weight: 600; padding: 5px 10px; border-radius: 99px; background: rgba(16,18,22,0.82); backdrop-filter: blur(4px); }
.v-badge i { width: 8px; height: 8px; border-radius: 50%; background: var(--muted-2); }
.v-badge.is-open i { background: #56c07e; box-shadow: 0 0 0 3px rgba(86,192,126,0.22); }
.v-badge.is-closed { color: var(--muted); }
.v-card__body { padding: 18px 18px 20px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.v-card__meta { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.v-tag { --tc: var(--sp1); font-family: var(--font-display); font-size: 0.74rem; font-weight: 600; padding: 3px 10px; border-radius: 99px; color: var(--tc); border: 1px solid color-mix(in srgb, var(--tc) 55%, transparent); }
.v-card__site { font-family: var(--font-display); font-size: 0.72rem; letter-spacing: 0.08em; color: var(--muted-2); }
.v-card__name { font-size: 1.16rem; }
.v-card__name small { display: block; font-family: var(--font-body); font-weight: 400; font-size: 0.76rem; color: var(--muted-2); margin-top: 2px; }
.v-card__area { color: var(--muted); font-size: 0.82rem; }
.v-card__tag { color: var(--white); font-size: 0.9rem; border-left: 3px solid var(--vc); padding-left: 10px; }
.v-card__foot { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-top: auto; padding-top: 10px; }
.v-link { font-family: var(--font-display); font-size: 0.82rem; font-weight: 600; text-decoration: none; color: var(--muted); }
.v-link:hover { color: var(--white); }
.v-link--demo { color: var(--vc); }
@media (prefers-reduced-motion: reduce) { .v-card:hover { transform: none; } }

/* ---- フィルター ---- */
.filters { background: var(--night-2); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px clamp(16px, 3vw, 26px); margin-bottom: clamp(24px, 4vw, 36px); }
.filter-row { display: flex; flex-wrap: wrap; align-items: baseline; gap: 12px; padding-block: 12px; border-bottom: 1px solid var(--line); }
.filter-row:last-of-type { border-bottom: none; }
.filter-row__label { font-family: var(--font-display); font-size: 0.78rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted-2); min-width: 84px; }
.filter-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { --chip: var(--muted); font-family: var(--font-body); font-size: 0.82rem; color: var(--muted); background: transparent; border: 1px solid var(--line); border-radius: 99px; padding: 6px 14px; cursor: pointer; transition: color 0.15s, border-color 0.15s, background 0.15s; }
.chip:hover { color: var(--white); border-color: var(--muted-2); }
.chip.is-on { color: var(--ink-on-color); background: var(--chip); border-color: var(--chip); font-weight: 600; }
.filter-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-top: 16px; }
.tonight-toggle { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-display); font-size: 0.86rem; font-weight: 600; color: var(--white); background: var(--night-3); border: 1px solid var(--line); border-radius: 99px; padding: 8px 16px; cursor: pointer; }
.tonight-toggle i { width: 10px; height: 10px; border-radius: 50%; background: var(--muted-2); transition: background 0.2s; }
.tonight-toggle[aria-pressed="true"] { border-color: #56c07e; }
.tonight-toggle[aria-pressed="true"] i { background: #56c07e; box-shadow: 0 0 0 3px rgba(86,192,126,0.22); }
.filter-reset { background: none; border: none; color: var(--muted); font-size: 0.82rem; cursor: pointer; text-decoration: underline; }
.filter-count { margin-left: auto; font-family: var(--font-display); font-weight: 600; color: var(--white); }
.venues-empty { text-align: center; padding: 48px 20px; color: var(--muted); background: var(--panel); border: 1px dashed var(--line); border-radius: var(--radius); }

/* ---- VENUE DETAIL ---- */
.vd { --vc: var(--sp1); display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); grid-template-areas: "media head" "info info"; gap: clamp(20px, 3vw, 40px); }
.vd__media { grid-area: media; position: relative; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); }
.vd__head { grid-area: head; align-self: center; }
.vd__eyebrow { font-family: var(--font-display); letter-spacing: 0.18em; text-transform: uppercase; font-size: 0.8rem; color: var(--muted-2); margin-bottom: 8px; }
.vd__name { font-size: clamp(1.8rem, 4.5vw, 2.8rem); }
.vd__name small { display: block; font-family: var(--font-body); font-weight: 400; font-size: 0.9rem; color: var(--muted); margin-top: 4px; }
.vd__tagline { color: var(--vc); font-size: 1.05rem; margin-top: 14px; border-left: 3px solid var(--vc); padding-left: 12px; }
.vd__summary { color: var(--muted); margin-top: 14px; }
.vd__highlight { background: var(--night-2); border: 1px solid var(--line); border-radius: 10px; padding: 12px 14px; font-size: 0.88rem; color: var(--white); margin-top: 16px; }
.vd__tags { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-top: 12px; }
.vd__tags-h { font-family: var(--font-display); font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted-2); margin-right: 4px; }
.mini-tag { font-size: 0.78rem; color: var(--muted); border: 1px solid var(--line); border-radius: 99px; padding: 3px 10px; }
.vd__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }
.vd__info { grid-area: info; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; margin: 0; }
.vd__info > div { background: var(--panel); padding: 14px 16px; }
.vd__info dt { font-family: var(--font-display); font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted-2); margin-bottom: 4px; }
.vd__info dd { margin: 0; font-size: 0.9rem; }
.vd__info a { color: var(--sp4); }
.vd__nav { display: flex; justify-content: space-between; gap: 12px; margin-top: clamp(24px, 4vw, 40px); padding-top: 20px; border-top: 1px solid var(--line); }
.vd__nav a { font-family: var(--font-display); font-size: 0.86rem; text-decoration: none; color: var(--muted); }
.vd__nav a:hover { color: var(--white); }
.detail-fallback { background: color-mix(in srgb, var(--sp5) 14%, var(--night-2)); border: 1px solid color-mix(in srgb, var(--sp5) 40%, var(--line)); border-radius: var(--radius); padding: 14px 18px; margin-bottom: 24px; color: var(--white); font-size: 0.9rem; }
.detail-fallback a { color: var(--sp5); }
@media (max-width: 860px) {
  .vd { grid-template-columns: minmax(0, 1fr); grid-template-areas: "media" "head" "info"; }
  .vd__info { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 480px) { .vd__info { grid-template-columns: minmax(0, 1fr); } }

/* ---- CONCEPTS ---- */
.concept-block { --cc: var(--sp1); background: var(--panel); border: 1px solid var(--line); border-left: 5px solid var(--cc); border-radius: var(--radius); padding: clamp(22px, 3vw, 34px); margin-bottom: var(--gap); }
.concept-block__head { display: flex; align-items: flex-start; gap: 16px; }
.concept-block__swatch { width: 40px; height: 40px; border-radius: 10px; background: var(--cc); flex: none; }
.concept-block__en { font-family: var(--font-display); font-size: 0.74rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted-2); }
.concept-block__head h2 { font-size: clamp(1.3rem, 3vw, 1.8rem); }
.concept-block__lead { color: var(--cc); font-size: 0.92rem; margin-top: 2px; }
.concept-block__count { margin-left: auto; font-family: var(--font-display); font-weight: 600; color: var(--muted); white-space: nowrap; }
.concept-block__desc { color: var(--muted); margin-top: 16px; max-width: 70ch; }
.concept-block__role { font-size: 0.86rem; color: var(--muted-2); margin-top: 10px; }
.concept-venues { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 10px; margin-top: 18px; }
.concept-venue { --vc: var(--sp1); display: flex; flex-direction: column; text-decoration: none; background: var(--night-2); border: 1px solid var(--line); border-left: 3px solid var(--vc); border-radius: 8px; padding: 10px 14px; transition: border-color 0.2s; }
.concept-venue:hover { border-color: var(--vc); }
.concept-venue b { font-family: var(--font-display); font-size: 0.92rem; }
.concept-venue span { color: var(--muted-2); font-size: 0.76rem; }

/* ---- EVENTS ---- */
.ev-list { display: flex; flex-direction: column; gap: var(--gap); }
.ev-card { --cc: var(--sp1); display: grid; grid-template-columns: 190px minmax(0, 1fr); gap: clamp(16px, 3vw, 30px); background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(18px, 3vw, 28px); }
.ev-card__date { border-right: 1px solid var(--line); padding-right: 16px; }
.ev-card__d { display: block; font-family: var(--font-display); font-size: 1.15rem; font-weight: 600; }
.ev-card__scope { display: inline-block; margin-top: 8px; font-size: 0.74rem; color: var(--ink-on-color); background: var(--cc); border-radius: 99px; padding: 3px 10px; font-weight: 600; }
.ev-card__body h3 { font-size: 1.15rem; margin-bottom: 8px; }
.ev-card__body p { color: var(--muted); font-size: 0.92rem; }
.ev-card__venues { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.ev-venue { --vc: var(--sp1); font-family: var(--font-display); font-size: 0.8rem; text-decoration: none; color: var(--white); border: 1px solid var(--vc); border-radius: 99px; padding: 4px 12px; }
.ev-venue:hover { background: var(--vc); color: var(--ink-on-color); }
@media (max-width: 620px) {
  .ev-card { grid-template-columns: minmax(0, 1fr); }
  .ev-card__date { border-right: none; border-bottom: 1px solid var(--line); padding-right: 0; padding-bottom: 12px; }
}

/* ---- RECRUIT ---- */
.pt-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gap); }
.pt { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.pt h3 { font-size: 1.1rem; margin-bottom: 8px; }
.pt p { color: var(--muted); font-size: 0.9rem; }
.role-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gap); }
.role { --cc: var(--sp1); background: var(--night-2); border: 1px solid var(--line); border-top: 4px solid var(--cc); border-radius: var(--radius); padding: 20px; }
.role__concept { display: flex; align-items: center; gap: 8px; font-family: var(--font-display); font-weight: 600; }
.role__concept span { width: 12px; height: 12px; border-radius: 3px; background: var(--cc); }
.role__name { color: var(--muted); font-size: 0.86rem; margin-top: 6px; }
.role__venues { color: var(--muted-2); font-size: 0.78rem; margin-top: 8px; }
.role__link { display: inline-block; margin-top: 12px; font-family: var(--font-display); font-size: 0.82rem; font-weight: 600; color: var(--cc); text-decoration: none; }
.flow { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--gap); counter-reset: none; }
.flow-step { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; }
.flow-step__k { font-family: var(--font-display); font-size: 1.6rem; font-weight: 700; color: var(--sp4); }
.flow-step__t { font-family: var(--font-display); font-weight: 600; margin-top: 4px; }
.flow-step__b { color: var(--muted); font-size: 0.86rem; margin-top: 6px; }
@media (max-width: 860px) { .pt-grid, .role-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .flow { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 540px) { .pt-grid, .role-grid, .flow { grid-template-columns: minmax(0, 1fr); } }

.faq { background: var(--night-2); border: 1px solid var(--line); border-radius: 10px; padding: 4px 18px; margin-bottom: 10px; }
.faq summary { cursor: pointer; padding: 14px 0; font-family: var(--font-display); font-weight: 600; list-style: none; position: relative; padding-right: 28px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 12px; color: var(--muted); font-size: 1.2rem; }
.faq[open] summary::after { content: "−"; }
.faq p { color: var(--muted); font-size: 0.9rem; padding-bottom: 16px; }

/* ---- COMPANY ---- */
.co-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 48px); align-items: start; }
.co-defs { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; margin: 0; }
.co-defs > div { background: var(--panel); padding: 14px 18px; display: grid; grid-template-columns: 92px minmax(0, 1fr); gap: 14px; }
.co-defs dt { font-family: var(--font-display); font-size: 0.78rem; letter-spacing: 0.06em; color: var(--muted-2); }
.co-defs dd { margin: 0; font-size: 0.9rem; }
.co-defs dd small { display: block; color: var(--muted-2); font-size: 0.76rem; }
.co-defs a { color: var(--sp4); }
.co-biz { list-style: none; margin: 0; padding: 0; }
.co-biz li { padding: 12px 0 12px 22px; border-bottom: 1px solid var(--line); position: relative; color: var(--muted); font-size: 0.92rem; }
.co-biz li::before { content: ""; position: absolute; left: 0; top: 18px; width: 10px; height: 10px; border-radius: 3px; background: var(--sp5); }
.message-lead { font-size: clamp(1.05rem, 2vw, 1.3rem); line-height: 1.9; color: var(--white); max-width: 60ch; }
.timeline { display: flex; flex-direction: column; gap: 0; }
.tl-item { display: grid; grid-template-columns: 84px minmax(0, 1fr); gap: 18px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.tl-year { font-family: var(--font-display); font-weight: 700; color: var(--sp5); }
.tl-title { font-family: var(--font-display); font-weight: 600; }
.tl-body { color: var(--muted); font-size: 0.88rem; grid-column: 2; }
@media (max-width: 780px) { .co-grid { grid-template-columns: minmax(0, 1fr); } }

/* ---- CONTACT ---- */
.contact-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 340px); gap: clamp(24px, 4vw, 48px); align-items: start; }
.c-tabs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; margin-bottom: 24px; }
.c-tab { display: flex; flex-direction: column; gap: 2px; align-items: flex-start; text-align: left; background: var(--night-2); border: 1px solid var(--line); border-radius: 10px; padding: 12px 14px; cursor: pointer; color: var(--muted); transition: border-color 0.2s, color 0.2s; }
.c-tab span { font-family: var(--font-display); font-weight: 600; font-size: 0.92rem; color: var(--white); }
.c-tab small { font-size: 0.68rem; letter-spacing: 0.1em; color: var(--muted-2); }
.c-tab[aria-selected="true"] { border-color: var(--sp4); background: color-mix(in srgb, var(--sp4) 12%, var(--night-2)); }
@media (max-width: 620px) { .c-tabs { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

.form__row { margin-bottom: 16px; }
.form__row label { display: block; }
.form__label { display: block; font-family: var(--font-display); font-size: 0.85rem; font-weight: 600; margin-bottom: 6px; }
.form__label .req { display: inline-block; font-size: 0.66rem; color: var(--sp2); border: 1px solid color-mix(in srgb, var(--sp2) 55%, transparent); border-radius: 4px; padding: 1px 5px; margin-left: 8px; font-style: normal; vertical-align: middle; }
.form__row input, .form__row select, .form__row textarea { width: 100%; background: var(--night-2); border: 1px solid var(--line); border-radius: 8px; color: var(--white); font-family: var(--font-body); font-size: 0.95rem; padding: 11px 13px; }
.form__row input:focus, .form__row select:focus, .form__row textarea:focus { border-color: var(--sp4); outline: none; }
.form__row textarea { resize: vertical; }
.field__err { display: none; color: var(--sp2); font-size: 0.78rem; margin-top: 4px; }
.form__consent { font-size: 0.85rem; color: var(--muted); margin: 18px 0; }
.form__consent input { margin-right: 8px; }
.form__actions { display: flex; gap: 12px; }
.confirm { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(20px, 3vw, 30px); }
.confirm h2 { font-size: 1.3rem; margin-bottom: 8px; }
.confirm__note { color: var(--muted); font-size: 0.88rem; margin-bottom: 18px; }
.confirm__list { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 10px; overflow: hidden; margin: 0 0 20px; }
.confirm__list > div { background: var(--night-2); padding: 12px 16px; display: grid; grid-template-columns: 130px minmax(0, 1fr); gap: 12px; }
.confirm__list dt { font-family: var(--font-display); font-size: 0.8rem; color: var(--muted-2); }
.confirm__list dd { margin: 0; font-size: 0.9rem; word-break: break-word; }
.confirm__actions { display: flex; flex-wrap: wrap; gap: 12px; }

.contact-side { background: var(--night-2); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.contact-side h2 { font-size: 1.05rem; margin-bottom: 12px; }
.contact-side dl { display: grid; gap: 12px; margin: 0; }
.contact-side dt { font-family: var(--font-display); font-size: 0.74rem; letter-spacing: 0.08em; color: var(--muted-2); }
.contact-side dd { margin: 2px 0 0; font-size: 0.9rem; }
.contact-side a { color: var(--sp4); }
@media (max-width: 780px) { .contact-grid { grid-template-columns: minmax(0, 1fr); } }

/* ---- モーダル ---- */
.modal { position: fixed; inset: 0; z-index: 180; display: flex; align-items: center; justify-content: center; padding: 20px; background: rgba(0,0,0,0.6); visibility: hidden; opacity: 0; transition: opacity 0.2s; }
.modal.is-open { visibility: visible; opacity: 1; }
.modal__panel { background: var(--night-3); border: 1px solid var(--line); border-radius: var(--radius); max-width: 460px; width: 100%; padding: 28px; position: relative; box-shadow: var(--shadow); }
.modal__panel::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 5px; border-radius: var(--radius) var(--radius) 0 0; background: linear-gradient(90deg, var(--sp1), var(--sp2), var(--sp3), var(--sp4), var(--sp5), var(--sp6)); }
.modal__close-x { position: absolute; right: 14px; top: 14px; width: 36px; height: 36px; background: none; border: 1px solid var(--line); border-radius: 8px; color: var(--white); cursor: pointer; font-size: 1.1rem; }
.modal__title { font-size: 1.2rem; margin: 6px 0 10px; }
.modal__body { color: var(--muted); font-size: 0.92rem; }
.modal__actions { margin-top: 20px; display: flex; justify-content: flex-end; }
@media (prefers-reduced-motion: reduce) { .modal { transition: none; } }

/* ---- プレースホルダー ---- */
.ph { position: relative; margin: 0; background: var(--night-2); overflow: hidden; display: flex; align-items: center; justify-content: center; }
.ph img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ph__label { position: absolute; inset: 0; display: none; align-items: center; justify-content: center; text-align: center; font-family: var(--font-display); font-size: 0.8rem; letter-spacing: 0.1em; color: var(--muted-2); padding: 12px; }
.ph.is-broken img { display: none; }
.ph.is-broken .ph__label { display: flex; }
.ph[data-ratio="3x2"] { aspect-ratio: 3 / 2; }
.ph[data-ratio="16x9"] { aspect-ratio: 16 / 9; }
.ph[data-ratio="21x9"] { aspect-ratio: 21 / 9; }
.ph[data-ratio="2x3"] { aspect-ratio: 2 / 3; }
.ph[data-ratio="4x5"] { aspect-ratio: 4 / 5; }

/* ---- CTA 帯 ---- */
.cta-band { background: var(--night-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.cta-band__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; padding-block: clamp(32px, 5vw, 56px); }
.cta-band h2 { font-size: clamp(1.4rem, 3vw, 2rem); }
.cta-band p { color: var(--muted); margin-top: 8px; }
.cta-band__actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---- フッター ---- */
.footer { background: var(--night-2); border-top: 1px solid var(--line); padding-block: clamp(40px, 6vw, 64px) 28px; }
.footer__spectrum { margin-bottom: 28px; }
.footer__top { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(2, minmax(0, 1fr)); gap: var(--gap); }
.footer__brand { font-family: var(--font-display); font-size: 1.2rem; font-weight: 600; }
.footer__brand small { display: block; color: var(--muted-2); font-size: 0.72rem; letter-spacing: 0.12em; margin-top: 4px; }
.footer__desc { color: var(--muted); font-size: 0.86rem; margin-top: 12px; max-width: 42ch; }
.footer__col h3 { font-family: var(--font-display); font-size: 0.78rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted-2); margin-bottom: 12px; }
.footer__col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.footer__col a { color: var(--muted); text-decoration: none; font-size: 0.88rem; }
.footer__col a:hover { color: var(--white); }
.footer__note { color: var(--muted-2); font-size: 0.76rem; margin-top: 28px; padding-top: 20px; border-top: 1px solid var(--line); }
@media (max-width: 720px) { .footer__top { grid-template-columns: minmax(0, 1fr); } }

/* ---- ページトップ ---- */
.page-top { position: fixed; right: 18px; bottom: 18px; z-index: 90; width: 46px; height: 46px; border-radius: 50%; background: var(--white); color: var(--night); border: none; cursor: pointer; font-size: 1.1rem; opacity: 0; visibility: hidden; transition: opacity 0.2s; box-shadow: var(--shadow); }
.page-top.is-show { opacity: 1; visibility: visible; }
@media (prefers-reduced-motion: reduce) { .page-top { transition: none; } }

/* ---- リビール ---- */
[data-reveal] { opacity: 0; transform: translateY(16px); transition: opacity 0.6s var(--ease), transform 0.6s var(--ease); }
[data-reveal].is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { [data-reveal] { opacity: 1; transform: none; transition: none; } }

/* ---- テーブル ---- */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); }
.table-wrap table { border-collapse: collapse; width: 100%; min-width: 640px; }
.table-wrap th, .table-wrap td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line); font-size: 0.86rem; }
.table-wrap thead th { background: var(--night-3); font-family: var(--font-display); }

/* ---- 汎用 ---- */
.lead-block { max-width: 68ch; }
.prose p { color: var(--muted); margin-bottom: 14px; }
.prose h2 { font-size: 1.3rem; margin: 28px 0 10px; }
.prose ul { color: var(--muted); padding-left: 20px; }
.note-legal { color: var(--muted-2); font-size: 0.8rem; border: 1px solid var(--line); border-radius: 10px; padding: 14px 16px; margin-top: 24px; }
