/* Cordwise Hub — Discord ダークテーマ風 */
:root {
  --bg-floating: #111214;
  --bg-tertiary: #1e1f22;
  --bg-secondary: #2b2d31;
  --bg-primary: #313338;
  --bg-modifier: #35373c;
  --bg-hover: #3f4147;
  --blurple: #5865f2;
  --blurple-hover: #4752c4;
  --blurple-soft: rgba(88, 101, 242, 0.16);
  --green: #23a559;
  --yellow: #f0b232;
  --pink: #eb459e;
  --link: #00a8fc;
  --header: #f2f3f5;
  --text: #dbdee1;
  --muted: #949ba4;
  --line: rgba(255, 255, 255, 0.06);
  --card-border: rgba(255, 255, 255, 0.05);
  --card-border-hover: rgba(88, 101, 242, 0.45);
  --accent-soft: #a5adff;
  --brand-gold: #c2a57a;
  --radius: 8px;
  --max: 1120px;
  --font-en: "Inter", "Noto Sans JP", sans-serif;
}

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

html { scroll-behavior: smooth; scroll-padding-top: 72px; }

body {
  margin: 0;
  font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
  color: var(--text);
  background: var(--bg-primary);
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
}

img, svg { max-width: 100%; display: block; }
a { color: inherit; }
::selection { background: var(--blurple); color: #fff; }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 20px; }

/* ---------- ロゴ（Blurpleの角丸アイコン＋白ロゴ） ---------- */
.logo-mark {
  display: inline-block;
  flex-shrink: 0;
  width: 34px;
  height: 34px;
  background: url("favicon.svg") center / contain no-repeat;
  transition: transform .2s ease;
}
.brand:hover .logo-mark { transform: rotate(-6deg) scale(1.05); }

/* ---------- ボタン ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 24px;
  border: 0;
  border-radius: 4px;
  font-weight: 500;
  font-size: .95rem;
  text-decoration: none;
  transition: background .17s ease, color .17s ease;
  white-space: nowrap;
}
.btn:focus-visible { outline: 3px solid var(--link); outline-offset: 2px; }
.btn-primary { background: var(--blurple); color: #fff; }
.btn-primary { box-shadow: 0 8px 24px rgba(88, 101, 242, 0.35); }
.btn-primary:hover { background: var(--blurple-hover); }
.btn-ghost { background: #4e5058; color: #fff; }
.btn-ghost:hover { background: #6d6f78; }
.btn-lg { padding: 14px 28px; font-size: .98rem; border-radius: 8px; }
.btn svg { width: 22px; height: 22px; flex-shrink: 0; }
.btn .arrow { transition: transform .2s ease; }
.btn:hover .arrow { transform: translateX(3px); }

/* ---------- ヘッダー ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  transition: background .2s ease, box-shadow .2s ease;
}
.site-header.scrolled,
.site-header.solid {
  background: rgba(30, 31, 34, 0.85);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
          backdrop-filter: saturate(160%) blur(14px);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.04), 0 8px 24px rgba(0, 0, 0, 0.25);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.1rem;
}
.brand span em { font-style: normal; color: #a5adff; font-weight: 700; }

.nav { display: flex; align-items: center; gap: 6px; }
.nav a {
  padding: 6px 12px;
  border-radius: 4px;
  color: #b5bac1;
  text-decoration: none;
  font-size: .9rem;
  font-weight: 500;
  transition: background .15s ease, color .15s ease;
}
.nav a:hover { background: var(--bg-hover); color: var(--header); }
.nav a.current:not(.btn) { color: #fff; background: rgba(255, 255, 255, 0.06); }
.nav .btn { margin-left: 10px; padding: 8px 18px; border-radius: 6px; color: #fff; box-shadow: none; }
.nav .btn:hover { background: var(--blurple-hover); color: #fff; }

.menu-toggle {
  display: none;
  background: none;
  border: 0;
  padding: 8px;
  cursor: pointer;
  color: var(--header);
}
.menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  margin: 5px 0;
  background: currentColor;
  border-radius: 2px;
  transition: transform .25s ease, opacity .25s ease;
}
.menu-open .menu-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-open .menu-toggle span:nth-child(2) { opacity: 0; }
.menu-open .menu-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- ヒーロー ---------- */
.hero {
  position: relative;
  overflow: hidden;
  color: #fff;
  background: var(--bg-tertiary);
  padding: 168px 0 128px;
  border-bottom: 1px solid var(--line);
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(640px 420px at 78% 42%, rgba(88, 101, 242, 0.38), transparent 70%),
    radial-gradient(520px 360px at 8% 0%, rgba(88, 101, 242, 0.14), transparent 70%);
  pointer-events: none;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse at 60% 40%, #000 20%, transparent 75%);
          mask-image: radial-gradient(ellipse at 60% 40%, #000 20%, transparent 75%);
  pointer-events: none;
}
.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 64px;
  align-items: center;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 14px 5px 10px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.04);
  color: #b5bac1;
  font-size: .8rem;
  font-weight: 500;
}
.eyebrow::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 3px rgba(35, 165, 89, 0.25);
}
.hero h1 {
  margin: 26px 0 24px;
  font-size: clamp(1.75rem, 3.5vw, 2.6rem);
  line-height: 1.5;
  font-weight: 800;
  letter-spacing: .02em;
}
.hero h1 .nb { display: inline-block; }
.hero h1 .accent { color: #a5adff; }
.hero p.lead {
  margin: 0 0 40px;
  color: #b5bac1;
  font-size: 1rem;
  line-height: 2;
  max-width: 31em;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 18px;
  margin: 36px 0 0;
  padding: 0;
  list-style: none;
}
.hero-tags li { color: #80848e; font-size: .84rem; font-weight: 500; }
.hero-tags li::before { content: "# "; color: #5c606a; }

/* ヒーロー右側：Discordチャット風モック */
.hero-visual-wrap { position: relative; }
.float-card {
  position: absolute;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 10px;
  background: rgba(17, 18, 20, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.4);
  color: var(--header);
  font-size: .8rem;
  font-weight: 500;
  white-space: nowrap;
  animation: float 6s ease-in-out infinite;
}
.float-card small { display: block; color: var(--muted); font-size: .7rem; font-weight: 400; }
.float-card .fc-icon {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  background: rgba(35, 165, 89, 0.18);
  color: #57f287;
}
.float-card .fc-icon svg { width: 16px; height: 16px; }
.float-card.fc-1 { top: -22px; right: 24px; }
.float-card.fc-2 { bottom: -24px; left: -28px; animation-delay: -3s; }
.float-card.fc-2 .fc-icon { background: var(--blurple-soft); color: var(--accent-soft); }
@keyframes float { 50% { transform: translateY(-8px); } }
.hero-visual {
  position: relative;
  background: var(--bg-primary);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.35), 0 0 0 1px rgba(0, 0, 0, 0.2);
}
.mock-head {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 48px;
  padding: 0 16px;
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.25);
  color: var(--header);
  font-weight: 700;
  font-size: .95rem;
}
.mock-head .hash { color: var(--muted); font-size: 1.4rem; font-weight: 400; }
.mock-body { padding: 8px 0 14px; }
.mock-msg { display: flex; gap: 14px; padding: 8px 16px; }
.mock-msg:hover { background: rgba(2, 2, 2, 0.06); }
.mock-msg.mentioned {
  background: rgba(240, 178, 50, 0.08);
  box-shadow: inset 2px 0 0 var(--yellow);
}
.mock-avatar {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #fff;
  font-weight: 700;
  font-size: .85rem;
}
.av-a { background: #3ba55c; }
.av-b { background: var(--pink); }
.av-c { background: var(--blurple); }
.mock-name { font-weight: 500; font-size: .92rem; color: var(--header); line-height: 1.4; }
.mock-name .role-a { color: #57f287; }
.mock-name .role-b { color: #ff73c3; }
.mock-name .role-c { color: #8ea1ff; }
.mock-name time { margin-left: 6px; color: var(--muted); font-size: .7rem; font-weight: 400; }
.mock-name small {
  margin-left: 4px;
  padding: 0 5px;
  border-radius: 3px;
  background: var(--blurple);
  color: #fff;
  font-size: .62rem;
  font-weight: 700;
  vertical-align: 1px;
}
.mock-text { color: var(--text); font-size: .9rem; line-height: 1.6; }
.mock-text code {
  padding: 1px 5px;
  border-radius: 4px;
  background: var(--bg-tertiary);
  font-size: .82rem;
}
.mention {
  padding: 0 2px;
  border-radius: 3px;
  background: rgba(88, 101, 242, 0.3);
  color: #c9cdfb;
  font-weight: 500;
}
.mock-input {
  margin: 0 16px 16px;
  padding: 11px 16px;
  border-radius: var(--radius);
  background: var(--bg-modifier);
  color: var(--muted);
  font-size: .88rem;
}

/* ---------- ハイライト帯 ---------- */
.highlights {
  background: var(--bg-tertiary);
  border-bottom: 1px solid var(--line);
}
.highlights ul {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin: 0 auto;
  padding: 0;
  list-style: none;
}
.highlights li {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 26px 16px;
}
.highlights li + li { border-left: 1px solid var(--line); }
.highlights .icon-badge { width: 40px; height: 40px; border-radius: 12px; }
.highlights .icon-badge svg { width: 20px; height: 20px; }
.highlights strong { display: block; color: var(--header); font-size: .95rem; line-height: 1.4; }
.highlights span { color: var(--muted); font-size: .8rem; }

/* ---------- セクション共通 ---------- */
.section { padding: 110px 0; }
.section-dark { background: var(--bg-secondary); }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 56px; }
.section-label {
  display: inline-block;
  padding: 3px 12px;
  border-radius: 20px;
  background: var(--blurple-soft);
  color: var(--accent-soft);
  font-family: var(--font-en);
  font-size: .72rem;
  font-weight: 500;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.section-head h2 {
  margin: 16px 0 14px;
  color: var(--header);
  font-size: clamp(1.65rem, 3.4vw, 2.4rem);
  line-height: 1.45;
  font-weight: 800;
  letter-spacing: .02em;
}
.section-head p { margin: 0; color: var(--muted); }

/* ---------- カード共通 ---------- */
.philosophy, .audience-list li, .benefit, .feature, .faq details, .rule, .premise li, .legal {
  border: 1px solid var(--card-border);
}
.audience-list li, .benefit, .feature, .rule {
  transition: transform .2s ease, border-color .2s ease, background .2s ease, box-shadow .2s ease;
}
.audience-list li:hover, .benefit:hover, .rule:hover {
  border-color: var(--card-border-hover);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.25);
}

/* ---------- Cordwise Hubとは ---------- */
.about-grid { display: grid; gap: 20px; }
.philosophy {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  grid-template-areas: "label text" "motto text";
  grid-template-rows: auto 1fr;
  column-gap: 56px;
  align-items: start;
  background: var(--bg-secondary);
  border-radius: var(--radius);
  padding: 48px 48px 44px;
}
.philosophy h3 { grid-area: label; }
.philosophy .motto { grid-area: motto; }
.philosophy p:not(.motto) { grid-area: text; align-self: center; }
.philosophy::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 6px;
  background: linear-gradient(90deg, var(--blurple), var(--accent-soft) 60%, transparent);
  height: 3px;
}
.philosophy h3 {
  margin: 0 0 14px;
  color: var(--muted);
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .06em;
}
.philosophy .motto { margin: 0 0 20px; color: var(--header); font-size: 1.5rem; font-weight: 800; line-height: 1.6; }
.philosophy p { margin: 0; color: var(--text); line-height: 1.95; font-size: .95rem; }

.audience h3 {
  margin: 28px 0 14px;
  color: var(--muted);
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .06em;
}
.audience-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.audience-list li {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 24px 22px;
  border-radius: var(--radius);
  background: var(--bg-secondary);
  transition: background .15s ease, transform .2s ease;
}
.audience-list li:hover { background: var(--bg-modifier); transform: translateY(-3px); }
.audience-list strong { display: block; margin-bottom: 4px; color: var(--header); font-size: 1rem; font-weight: 700; }
.audience-list span { color: var(--muted); font-size: .86rem; line-height: 1.7; }

/* アイコン：Blurple系で統一 */
.icon-badge {
  flex-shrink: 0;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: var(--blurple-soft);
  color: #a5adff;
}
.icon-badge svg { width: 22px; height: 22px; }

/* ---------- 参加メリット（Discord埋め込み風） ---------- */
.benefits {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
.benefit {
  border-left-width: 4px !important;
  display: flex;
  gap: 20px;
  align-items: flex-start;
  background: var(--bg-primary);
  border-left-color: var(--blurple) !important;
  border-radius: 6px;
  padding: 26px 26px 28px;
  transition: transform .2s ease;
}
.benefit:hover { transform: translateY(-3px); }
.benefit-body { flex: 1; min-width: 0; }
.benefit-num {
  display: block;
  margin-bottom: 6px;
  color: #a5adff;
  font-size: .75rem;
  font-weight: 700;
}
.benefit-num::before { content: "メリット "; }
.benefit h3 { margin: 0 0 8px; color: var(--header); font-size: 1.1rem; font-weight: 700; line-height: 1.5; }
.benefit p { margin: 0; color: var(--text); font-size: .92rem; line-height: 1.85; }
.benefit-thumb {
  flex-shrink: 0;
  width: 64px;
  height: 64px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--blurple), #7983f5);
  color: #fff;
}
.benefit-thumb svg { width: 28px; height: 28px; }

/* ---------- 特徴 ---------- */
.features { display: grid; gap: 24px; }
.feature {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  background: var(--bg-secondary);
  border-radius: var(--radius);
  padding: 44px;
}
.feature:nth-child(even) .feature-body { order: 2; }
.feature h3 { margin: 10px 0 14px; color: var(--header); font-size: 1.45rem; font-weight: 800; line-height: 1.5; }
.feature p { margin: 0 0 22px; color: var(--text); line-height: 1.95; }
.check-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.check-list li { position: relative; padding-left: 30px; font-size: .93rem; }
.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .3em;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--blurple) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center / 12px no-repeat;
}

.channel-panel {
  border: 1px solid var(--card-border);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25);
  background: var(--bg-tertiary);
  border-radius: var(--radius);
  padding: 16px 8px;
}
.channel-panel h4 {
  margin: 0 8px 4px;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .04em;
  color: var(--muted);
}
.channel-panel h4::before { content: "⌄ "; }
.channel {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 7px 8px;
  border-radius: 4px;
  font-size: .92rem;
  font-weight: 500;
  color: var(--muted);
}
.channel + .channel { margin-top: 2px; }
.channel.active { background: var(--bg-hover); color: #fff; }
.channel .ch-icon { color: var(--muted); width: 20px; display: grid; place-items: center; font-size: 1.2rem; font-weight: 400; }
.channel .ch-icon svg { width: 18px; height: 18px; }
.channel .live {
  margin-left: auto;
  padding: 0 6px;
  border-radius: 4px;
  background: #ed4245;
  color: #fff;
  font-size: .62rem;
  font-weight: 700;
}
.channel-group + .channel-group { margin-top: 16px; }

/* ---------- FAQ ---------- */
.faq-layout {
  display: grid;
  grid-template-columns: 1fr 1.7fr;
  gap: 56px;
  align-items: start;
}
.section-head-left {
  position: sticky;
  top: 100px;
  margin: 0;
  text-align: left;
}
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 22px;
  color: var(--link);
  font-size: .92rem;
  font-weight: 500;
  text-decoration: none;
}
.text-link:hover { text-decoration: underline; }
.text-link:hover .arrow { transform: translateX(3px); }
.text-link .arrow { transition: transform .2s ease; }
.faq { display: grid; gap: 8px; }
.faq details {
  transition: border-color .2s ease;
  background: var(--bg-primary);
  border-radius: var(--radius);
  overflow: hidden;
}
.faq summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 20px;
  color: var(--header);
  font-weight: 500;
  transition: background .15s ease;
}
.faq summary:hover { background: var(--bg-modifier); }
.faq details[open] { border-color: var(--card-border-hover); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary:focus-visible { outline: 3px solid var(--link); outline-offset: -3px; }
.faq .q {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--blurple);
  color: #fff;
  font-size: .8rem;
  font-weight: 700;
}
.faq summary::after {
  content: "";
  margin-left: auto;
  flex-shrink: 0;
  width: 8px;
  height: 8px;
  border-right: 2px solid var(--muted);
  border-bottom: 2px solid var(--muted);
  transform: rotate(-45deg);
  transition: transform .2s ease;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq .a {
  padding: 0 20px 20px 62px;
  color: var(--text);
  font-size: .93rem;
  line-height: 1.9;
}
.faq .a p { margin: 0; }

/* ---------- 参加方法 ---------- */
.join-card {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(600px 320px at 100% 0%, rgba(255, 255, 255, 0.16), transparent 60%),
    radial-gradient(500px 300px at 0% 100%, rgba(17, 18, 20, 0.35), transparent 60%),
    var(--blurple);
  border-radius: 16px;
  padding: 72px 56px;
  color: #fff;
  box-shadow: 0 30px 60px rgba(88, 101, 242, 0.25);
}
.join-card > * { position: relative; }
.join-card .section-head { margin-bottom: 52px; }
.join-card .section-label { background: rgba(255, 255, 255, 0.18); color: #fff; }
.join-card .section-head h2 { color: #fff; }
.join-card .section-head p { color: rgba(255, 255, 255, 0.82); }
.steps {
  list-style: none;
  margin: 0 0 52px;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  counter-reset: step;
}
.steps li {
  position: relative;
  counter-increment: step;
  background: rgba(17, 18, 20, 0.22);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 10px;
  padding: 24px 20px;
}
.steps li:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 40px;
  left: 64px;
  right: -14px;
  height: 2px;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.5), rgba(255, 255, 255, 0.05));
}
.steps li::before {
  content: counter(step);
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  margin-bottom: 14px;
  border-radius: 50%;
  background: #fff;
  color: var(--blurple);
  font-family: var(--font-en);
  font-size: .9rem;
  font-weight: 700;
}
.steps h3 { margin: 0 0 6px; color: #fff; font-size: 1rem; font-weight: 700; }
.steps p { margin: 0; color: rgba(255, 255, 255, 0.78); font-size: .87rem; line-height: 1.8; }
.join-cta { text-align: center; }
.join-card .btn-primary { background: #fff; color: #23272a; box-shadow: 0 10px 24px rgba(0, 0, 0, 0.2); }
.join-card .btn-primary:hover { background: #fff; color: var(--blurple); }
.join-cta .note { margin: 16px 0 0; font-size: .8rem; color: rgba(255, 255, 255, 0.75); }
.join-cta .note a { color: #fff; text-decoration: underline; text-underline-offset: 3px; }

/* ---------- フッター ---------- */
.site-footer {
  border-top: 1px solid var(--line);
  background: var(--bg-tertiary);
  color: var(--muted);
  padding: 56px 0 28px;
  font-size: .9rem;
}
.footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 32px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--line);
}
.footer-brand p { margin: 12px 0 0; max-width: 26em; line-height: 1.7; }
.footer-links { display: flex; flex-wrap: wrap; gap: 48px; }
.footer-links h4 {
  margin: 0 0 12px;
  color: var(--header);
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .06em;
}
.footer-links ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.footer-links a { text-decoration: none; }
.footer-links a:hover { color: var(--header); text-decoration: underline; }
.copyright { margin: 24px 0 0; text-align: center; font-size: .8rem; }

/* ---------- 利用規約ページ ---------- */
.page-hero {
  position: relative;
  background:
    radial-gradient(560px 300px at 50% 0%, rgba(88, 101, 242, 0.35), transparent 70%),
    var(--bg-tertiary);
  color: #fff;
  padding: 128px 0 84px;
  text-align: center;
}
.page-hero-lead { margin: 14px 0 0; color: #b5bac1; font-size: .95rem; line-height: 1.9; }
.page-hero h1 { margin: 6px 0 0; font-size: clamp(1.7rem, 4vw, 2.4rem); font-weight: 800; }
.legal {
  position: relative;
  max-width: 820px;
  margin: -36px auto 0;
  background: var(--bg-secondary);
  border-radius: var(--radius);
  padding: 52px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
}
.legal h2 {
  margin: 36px 0 12px;
  color: var(--header);
  font-size: 1.12rem;
  line-height: 1.5;
}
.legal h2::before { content: "# "; color: var(--muted); font-weight: 400; }
.legal h2:first-of-type { margin-top: 0; }
.legal p, .legal li { color: var(--text); }
.legal a { color: var(--link); text-decoration: none; }
.legal a:hover { text-decoration: underline; }
.legal ol, .legal ul { padding-left: 1.4em; }
.legal li + li { margin-top: 4px; }
.legal .updated { margin-top: 36px; text-align: right; font-size: .88rem; color: var(--muted); }

/* ---------- ルール一覧 ---------- */
.premise { display: grid; gap: 10px; margin: 0 0 8px; padding: 0; list-style: none; counter-reset: pr; }
.premise li {
  counter-increment: pr;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 10px;
  padding: 14px 16px 14px 52px;
  position: relative;
  border-radius: var(--radius);
  background: var(--bg-primary);
}
.premise li + li { margin-top: 0; }
.premise li::before {
  content: counter(pr);
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  width: 26px;
  height: 26px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--blurple);
  color: #fff;
  font-size: .8rem;
  font-weight: 700;
}
.tag-ban {
  padding: 1px 8px;
  border-radius: 4px;
  background: rgba(237, 66, 69, 0.15);
  color: #fa777c;
  font-size: .75rem;
  font-weight: 700;
}
.rules {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}
.legal .rule + .rule { margin-top: 0; }
.rule {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 16px;
  border-radius: var(--radius);
  background: var(--bg-primary);
  transition: background .15s ease;
}
.rule:hover { background: var(--bg-modifier); }
.rule-icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: var(--bg-tertiary);
  font-size: 1.2rem;
  line-height: 1;
}
.rule h3 { margin: 2px 0 4px; color: var(--header); font-size: .95rem; font-weight: 700; line-height: 1.5; }
.rule p { margin: 0; color: var(--muted); font-size: .85rem; line-height: 1.7; }
.rule-ex {
  margin-right: 6px;
  padding: 0 5px;
  border-radius: 3px;
  background: var(--bg-tertiary);
  color: #b5bac1;
  font-size: .7rem;
  font-weight: 700;
}
.faq .a a { color: var(--link); text-decoration: none; }
.faq .a a:hover { text-decoration: underline; }

/* ---------- スクロール表示アニメーション ---------- */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity .6s ease, transform .6s ease; }
.reveal.visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .btn, .benefit { transition: none; }
  .float-card { animation: none; }
}

/* ---------- レスポンシブ ---------- */
@media (max-width: 1000px) {
  .steps { grid-template-columns: repeat(2, 1fr); }
  .float-card.fc-2 { left: 12px; }
  .steps li::after { display: none; }
  .audience-list { grid-template-columns: repeat(2, 1fr); }
  .faq-layout { grid-template-columns: 1fr; gap: 36px; }
  .section-head-left { position: static; text-align: center; }
}

@media (max-width: 860px) {
  .menu-toggle { display: block; }
  .nav {
    position: fixed;
    top: 64px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    padding: 10px 16px 20px;
    background: var(--bg-tertiary);
    box-shadow: 0 16px 30px rgba(0, 0, 0, 0.35);
    transform: translateY(-8px);
    opacity: 0;
    visibility: hidden;
    transition: opacity .2s ease, transform .2s ease, visibility .2s;
  }
  .menu-open .nav { opacity: 1; transform: none; visibility: visible; }
  .menu-open .site-header { background: var(--bg-tertiary); }
  .nav a { padding: 12px; }
  .nav .btn { margin: 12px 0 0; padding: 13px; }

  .hero { padding: 120px 0 80px; }
  .hero-inner { grid-template-columns: 1fr; gap: 48px; }
  .highlights ul { grid-template-columns: 1fr; }
  .highlights li { justify-content: flex-start; padding: 16px 4px; }
  .highlights li + li { border-left: 0; border-top: 1px solid var(--line); }
  .philosophy {
    grid-template-columns: 1fr;
    grid-template-areas: "label" "motto" "text";
    padding: 40px 32px;
  }
  .feature { grid-template-columns: 1fr; gap: 28px; padding: 30px 24px; }
  .feature:nth-child(even) .feature-body { order: 0; }
  .section { padding: 76px 0; }
}

@media (max-width: 640px) {
  .benefits { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  .container { padding: 0 16px; }
  .hero-actions .btn { width: 100%; }
  .steps { grid-template-columns: 1fr; }
  .audience-list { grid-template-columns: 1fr; }
  .audience-list li { flex-direction: row; align-items: flex-start; padding: 18px; }
  .benefit { padding: 22px 20px; gap: 16px; }
  .benefit-thumb { width: 48px; height: 48px; }
  .benefit-thumb svg { width: 22px; height: 22px; }
  .philosophy { padding: 36px 24px; }
  .philosophy .motto { font-size: 1.3rem; }
  .join-card { padding: 48px 18px; border-radius: 12px; }
  .float-card { display: none; }
  .join-cta .btn { width: 100%; white-space: normal; }
  .faq summary { padding: 16px 14px; gap: 12px; }
  .faq .a { padding: 0 14px 18px 54px; }
  .legal { padding: 32px 18px; }
  .rules { grid-template-columns: 1fr; }
  .footer-links { gap: 32px; }
}

/* ---------- 追記：宣伝チャンネルの投稿間隔／ルール補足 ---------- */
.channel .slow {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: var(--muted);
  font-family: var(--font-en);
  font-size: .7rem;
}
.channel .slow::before {
  content: "";
  width: 11px;
  height: 11px;
  border: 1.5px solid currentColor;
  border-radius: 50%;
  box-sizing: border-box;
}
.rule .rule-note { margin-top: 6px; color: var(--accent-soft); font-size: .8rem; }
