/* =========================================================
   HOOP GATE — Design System
   Mono / sporty / editorial
   ========================================================= */

/* ---- Tokens ---- */
:root {
  --black: #0a0b0d;
  --ink: #14161a;
  --panel: #1a1d22;
  --panel-2: #20242b;
  --line: rgba(255, 255, 255, 0.10);
  --line-strong: rgba(255, 255, 255, 0.22);
  --white: #ffffff;
  --gray-100: #f4f5f7;
  --gray-300: #c8ccd2;
  --gray-400: #9aa0a8;
  --gray-500: #6b7280;
  --accent: #ffffff;

  --maxw: 1180px;
  --gutter: clamp(20px, 5vw, 64px);
  --radius: 4px;
  --radius-lg: 8px;

  --head: "Oswald", "Noto Sans JP", system-ui, sans-serif;
  --body: "Noto Sans JP", system-ui, -apple-system, sans-serif;

  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* ---- Reset ---- */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--body);
  background: var(--black);
  color: var(--white);
  line-height: 1.75;
  font-size: 15px;
  letter-spacing: 0.01em;
  overflow-x: hidden;
  /* 日本語を文節単位で折り返す（対応ブラウザ） */
  word-break: auto-phrase;
}
/* 単語を途中で改行させたくない箇所に付ける */
.nb { white-space: nowrap; }

/* ---- Trial banner（試験運用中の帯・公開後は削除可） ---- */
:root { --trial-h: 34px; }
.trial-bar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 200;
  height: var(--trial-h);
  display: flex; align-items: center; justify-content: center; gap: 8px;
  background: #c9a24b; color: #1a1205;
  font-family: var(--head); font-weight: 600; font-size: 11.5px; letter-spacing: 0.06em;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis; padding: 0 14px;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
ul { list-style: none; }
input, select, textarea { font-family: inherit; font-size: 16px; }

/* ---- Layout helpers ---- */
.wrap { max-width: var(--maxw); margin: 0 auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(64px, 9vw, 120px); }
.eyebrow {
  font-family: var(--head);
  font-weight: 600;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  font-size: 12px;
  color: var(--gray-400);
  text-align: center;
}
.section-title {
  font-family: var(--head);
  font-weight: 700;
  font-size: clamp(26px, 4.4vw, 42px);
  letter-spacing: 0.02em;
  text-align: center;
  margin-top: 14px;
  line-height: 1.3;
}
.section-head { margin-bottom: clamp(40px, 6vw, 68px); }

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  font-family: var(--head);
  font-weight: 600;
  letter-spacing: 0.08em;
  font-size: 15px;
  padding: 16px 30px;
  border-radius: var(--radius);
  transition: transform .25s var(--ease), background .25s, color .25s, border-color .25s;
  white-space: nowrap;
}
.btn .arrow { transition: transform .3s var(--ease); }
.btn:hover .arrow { transform: translateX(5px); }
.btn-primary { background: var(--white); color: var(--black); }
.btn-primary:hover { background: var(--gray-100); transform: translateY(-2px); }
.btn-outline { border: 1px solid var(--line-strong); color: var(--white); }
.btn-outline:hover { background: var(--white); color: var(--black); border-color: var(--white); }
.btn-block { width: 100%; }

/* ---- Header ---- */
.site-header {
  position: fixed; top: var(--trial-h); left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px var(--gutter);
  transition: background .35s var(--ease), border-color .35s, padding .35s;
  border-bottom: 1px solid transparent;
}
.site-header.scrolled {
  background: rgba(10, 11, 13, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom-color: var(--line);
  padding-block: 12px;
}
.brand img { height: 30px; width: auto; }
.nav { display: flex; align-items: center; gap: 34px; }
.nav a.navlink {
  font-family: var(--head);
  font-weight: 500;
  font-size: 14px;
  letter-spacing: 0.06em;
  color: var(--gray-100);
  position: relative;
  padding-block: 6px;
}
.nav a.navlink::after {
  content: ""; position: absolute; left: 0; bottom: 0;
  width: 0; height: 1.5px; background: var(--white);
  transition: width .3s var(--ease);
}
.nav a.navlink:hover::after, .nav a.navlink.active::after { width: 100%; }
.nav .header-cta {
  font-family: var(--head); font-weight: 600; font-size: 13px;
  letter-spacing: 0.06em;
  border: 1px solid var(--line-strong);
  padding: 11px 22px; border-radius: var(--radius);
  transition: background .25s, color .25s;
}
.nav .header-cta:hover { background: var(--white); color: var(--black); }

.menu-toggle { display: none; width: 30px; height: 22px; position: relative; z-index: 110; }
.menu-toggle span {
  position: absolute; left: 0; height: 2px; width: 100%; background: var(--white);
  transition: transform .3s var(--ease), opacity .2s;
}
.menu-toggle span:nth-child(1) { top: 0; }
.menu-toggle span:nth-child(2) { top: 10px; }
.menu-toggle span:nth-child(3) { top: 20px; }
body.menu-open .menu-toggle span:nth-child(1) { transform: translateY(10px) rotate(45deg); }
body.menu-open .menu-toggle span:nth-child(2) { opacity: 0; }
body.menu-open .menu-toggle span:nth-child(3) { transform: translateY(-10px) rotate(-45deg); }

/* ---- Hero ---- */
.hero {
  position: relative; min-height: 100svh;
  display: flex; align-items: center;
  padding-top: 80px;
  overflow: hidden;
}
.hero-bg { position: absolute; inset: 0; z-index: 0; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; object-position: 70% center; }
.hero-bg::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(10,11,13,0.92) 0%, rgba(10,11,13,0.72) 38%, rgba(10,11,13,0.25) 70%, rgba(10,11,13,0.55) 100%),
    linear-gradient(0deg, rgba(10,11,13,0.85) 0%, rgba(10,11,13,0) 45%);
}
.hero-inner { position: relative; z-index: 2; width: 100%; }
.hero h1 {
  font-family: var(--head);
  font-weight: 700;
  font-size: clamp(56px, 12vw, 150px);
  line-height: 0.92;
  letter-spacing: 0.01em;
}
.hero-logo { line-height: 0; }
.hero-logo img { width: clamp(210px, 30vw, 340px); height: auto; }
.hero .lead {
  font-family: var(--head); font-weight: 500;
  font-size: clamp(20px, 3.2vw, 32px);
  margin-top: 22px; letter-spacing: 0.04em;
}
.hero .tagline {
  font-family: var(--head); font-weight: 500;
  letter-spacing: 0.34em; text-transform: uppercase;
  font-size: clamp(11px, 1.6vw, 14px);
  color: var(--gray-300); margin-top: 14px;
}
.scroll-cue {
  position: absolute; left: var(--gutter); bottom: 30px; z-index: 2;
  font-family: var(--head); font-size: 11px; letter-spacing: 0.3em;
  color: var(--gray-400); display: flex; flex-direction: column; align-items: center; gap: 12px;
}
.scroll-cue::after { content: ""; width: 1px; height: 56px; background: linear-gradient(var(--gray-400), transparent); animation: cue 2s var(--ease) infinite; }
@keyframes cue { 0%{transform:scaleY(0);transform-origin:top} 40%{transform:scaleY(1);transform-origin:top} 60%{transform:scaleY(1);transform-origin:bottom} 100%{transform:scaleY(0);transform-origin:bottom} }

/* ---- Search bar ---- */
.searchbar {
  margin-top: clamp(32px, 5vw, 52px);
  background: rgba(255,255,255,0.97);
  border-radius: var(--radius-lg);
  display: grid; grid-template-columns: 1fr 1fr 1fr auto;
  max-width: 760px;
  box-shadow: 0 24px 60px rgba(0,0,0,0.45);
  overflow: hidden;
}
.searchbar .field {
  display: flex; align-items: center; gap: 10px;
  padding: 0 16px; border-right: 1px solid #e5e7eb; position: relative;
}
.searchbar .field svg { flex: none; color: var(--gray-500); }
.searchbar select {
  appearance: none; -webkit-appearance: none;
  border: none; background: transparent; color: var(--ink);
  padding: 20px 24px 20px 0; width: 100%; cursor: pointer;
  font-size: 15px;
}
.searchbar .field::after {
  content: ""; position: absolute; right: 16px; pointer-events: none;
  width: 8px; height: 8px; border-right: 2px solid var(--gray-500); border-bottom: 2px solid var(--gray-500);
  transform: rotate(45deg) translateY(-2px);
}
.searchbar .search-go {
  background: var(--black); color: var(--white);
  display: flex; align-items: center; gap: 10px; justify-content: center;
  padding: 0 30px; font-family: var(--head); font-weight: 600; letter-spacing: 0.08em;
  transition: background .25s;
}
.searchbar .search-go:hover { background: var(--ink); }

/* ---- About / features ---- */
.about-statement {
  font-family: var(--head); font-weight: 700;
  font-size: clamp(24px, 4.6vw, 46px);
  text-align: center; line-height: 1.4; letter-spacing: 0.02em;
}
.features {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 1px; background: var(--line); border: 1px solid var(--line);
  margin-top: clamp(44px, 6vw, 70px); border-radius: var(--radius-lg); overflow: hidden;
}
.feature {
  background: var(--black); padding: 44px 28px; text-align: center;
  transition: background .3s;
}
.feature:hover { background: var(--ink); }
.feature .ic { height: 46px; display: flex; align-items: center; justify-content: center; margin-bottom: 22px; }
.feature .ic svg { width: 46px; height: 46px; color: var(--white); }
.feature h3 { font-family: var(--head); font-weight: 600; font-size: 18px; letter-spacing: 0.05em; margin-bottom: 12px; }
.feature p { font-size: 13.5px; color: var(--gray-400); line-height: 1.85; }

/* ---- Section variants ---- */
.section-ink { background: var(--ink); }

/* ---- Category tiles ---- */
.cat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.cat-tile {
  position: relative; overflow: hidden;
  background: var(--panel); border: 1px solid var(--line);
  border-radius: var(--radius-lg); padding: 34px 26px 26px;
  display: flex; flex-direction: column; min-height: 200px;
  transition: transform .3s var(--ease), border-color .3s, background .3s;
}
.cat-tile:hover { transform: translateY(-6px); border-color: var(--line-strong); background: var(--panel-2); }
.cat-tile .cat-label {
  font-family: var(--head); font-weight: 700; letter-spacing: 0.04em;
  font-size: clamp(34px, 4vw, 46px); line-height: 1;
}
.cat-tile .cat-note { color: var(--gray-400); font-size: 13px; margin-top: 10px; }
.cat-tile .cat-foot {
  margin-top: auto; padding-top: 22px;
  display: flex; align-items: center; justify-content: space-between;
  font-family: var(--head); font-size: 13px; letter-spacing: 0.05em; color: var(--gray-300);
}
.cat-tile .cat-count b { color: var(--white); font-size: 20px; margin-right: 3px; }
.cat-tile .arrow { transition: transform .3s var(--ease); }
.cat-tile:hover .arrow { transform: translateX(5px); }
.cat-tile .cat-watermark {
  position: absolute; right: -10px; bottom: -16px; width: 110px; opacity: 0.05; pointer-events: none;
}

/* ---- Team cards ---- */
.cards {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.team-card {
  background: var(--panel); border: 1px solid var(--line);
  border-radius: var(--radius-lg); overflow: hidden;
  display: flex; flex-direction: column;
  transition: transform .3s var(--ease), border-color .3s, box-shadow .3s;
}
.team-card:hover { transform: translateY(-6px); border-color: var(--line-strong); box-shadow: 0 20px 40px rgba(0,0,0,0.4); }
.team-thumb {
  position: relative; aspect-ratio: 16 / 10; overflow: hidden;
  background: linear-gradient(135deg, #21252c 0%, #14161a 100%);
  display: flex; align-items: center; justify-content: center;
}
.team-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
/* サムネイルはチームロゴ固定のため、ロゴが切れないよう contain 表示 */
.team-thumb img:not(.ph) { object-fit: contain; padding: 24px; }
.detail-hero img:not(.ph) { object-fit: contain; padding: 32px; }
.team-card:hover .team-thumb img { transform: scale(1.06); }
.team-thumb .ph { width: 46%; opacity: 0.16; }
.team-thumb .area-badge {
  position: absolute; top: 0; left: 0;
  background: var(--white); color: var(--black);
  font-family: var(--head); font-weight: 600; font-size: 12px; letter-spacing: 0.05em;
  padding: 7px 16px;
}
.team-thumb .premium-badge {
  position: absolute; top: 12px; right: 12px; z-index: 2;
  font-family: var(--head); font-weight: 600; font-size: 11px; letter-spacing: 0.08em;
  color: #1a1205; background: linear-gradient(135deg, #f4d58a, #c9a24b);
  padding: 5px 11px; border-radius: 999px; box-shadow: 0 4px 14px rgba(0,0,0,.4);
}
.team-card.is-premium { border-color: rgba(201,162,75,0.55); }
.team-card.is-premium:hover { box-shadow: 0 20px 44px rgba(201,162,75,0.14); }
.team-thumb .recruit-badge {
  position: absolute; left: 12px; bottom: 12px; z-index: 2;
  font-family: var(--head); font-weight: 600; font-size: 11px; letter-spacing: 0.06em;
  color: var(--white); background: rgba(10,11,13,0.72);
  border: 1px solid var(--line-strong); backdrop-filter: blur(4px);
  padding: 5px 11px; border-radius: 999px;
}
.team-thumb .recruit-badge::before {
  content: "● "; color: #46d18a; font-size: 9px; vertical-align: middle;
}
.team-thumb .recruit-badge.is-school { background: var(--white); color: var(--black); border-color: var(--white); }
.team-thumb .recruit-badge.is-school::before { color: #1a8f5a; }

/* ---- Sponsor / ad slot ---- */
.ad-wrap { margin-top: 22px; }
.detail-ad { margin-top: clamp(48px, 7vw, 80px); padding-top: clamp(40px, 6vw, 64px); border-top: 1px solid var(--line); }
.ad-slot {
  position: relative; display: flex; flex-direction: column; justify-content: center;
  border: 1px dashed var(--line-strong); border-radius: var(--radius-lg);
  min-height: 120px; padding: 22px; overflow: hidden;
  transition: border-color .3s, background .3s;
}
.ad-slot img { width: 100%; height: 100%; object-fit: cover; }
.ad-slot .ad-name { font-family: var(--head); font-size: 18px; letter-spacing: 0.04em; }
.ad-slot .ad-tag {
  position: absolute; top: 10px; right: 10px;
  font-family: var(--head); font-size: 10px; letter-spacing: 0.1em;
  color: var(--gray-400); border: 1px solid var(--line); border-radius: 4px; padding: 2px 7px;
}
.ad-empty { background: rgba(255,255,255,0.02); text-align: center; }
.ad-empty:hover { border-color: var(--white); background: rgba(255,255,255,0.04); }
.ad-empty .ad-empty-title { font-family: var(--head); font-weight: 600; font-size: 15px; letter-spacing: 0.06em; color: var(--gray-300); }
.ad-empty .ad-empty-sub { font-size: 12px; color: var(--gray-500); margin-top: 8px; }
.ad-teams-wrap { margin-bottom: 28px; }

/* compact ad (footer等) */
.ad-slot.ad-sm { flex-direction: row; align-items: center; justify-content: center; gap: 10px; min-height: 0; padding: 12px 18px; }
.ad-slot.ad-sm .ad-empty-title { font-size: 12.5px; }
.ad-slot.ad-sm .ad-tag { position: static; }
.ad-footer-wrap { margin: 28px 0 4px; }
.ad-home-wrap { max-width: var(--maxw); }
.team-body { padding: 24px; display: flex; flex-direction: column; flex: 1; }
.team-body h3 { font-family: var(--head); font-weight: 700; font-size: 22px; letter-spacing: 0.02em; }
.chips { display: flex; gap: 8px; margin: 12px 0 14px; flex-wrap: wrap; }
.chip {
  font-family: var(--head); font-weight: 500; font-size: 11.5px; letter-spacing: 0.05em;
  border: 1px solid var(--line-strong); color: var(--gray-300);
  padding: 4px 11px; border-radius: 999px;
}
.chip.solid { background: var(--white); color: var(--black); border-color: var(--white); }
.team-body p.summary { font-size: 13.5px; color: var(--gray-400); line-height: 1.8; flex: 1; }
.team-more {
  margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line);
  display: flex; align-items: center; justify-content: space-between;
  font-family: var(--head); font-weight: 600; font-size: 13px; letter-spacing: 0.06em;
}
.team-more .arrow { transition: transform .3s var(--ease); }
.team-card:hover .team-more .arrow { transform: translateX(5px); }

/* ---- News ---- */
.news-list { border-top: 1px solid var(--line); }
.news-item {
  display: grid; grid-template-columns: 130px 110px 1fr auto; align-items: center; gap: 20px;
  padding: 22px 6px; border-bottom: 1px solid var(--line);
  transition: background .25s; color: var(--gray-100);
}
.news-item:hover { background: rgba(255,255,255,0.03); }
.news-date { font-family: var(--head); font-weight: 500; color: var(--gray-400); font-size: 14px; letter-spacing: 0.04em; }
.news-cat {
  font-family: var(--head); font-size: 11px; letter-spacing: 0.08em; text-align: center;
  border: 1px solid var(--line-strong); color: var(--gray-300);
  padding: 5px 0; border-radius: var(--radius);
}
.news-title { font-size: 14.5px; }
.news-item .arrow { color: var(--gray-500); }

/* ---- CTA banner ---- */
.cta {
  position: relative; overflow: hidden;
  background: var(--ink);
}
.cta-bg { position: absolute; inset: 0; opacity: 0.22; }
.cta-bg img { width: 100%; height: 100%; object-fit: cover; }
.cta::after { content:""; position:absolute; inset:0; background: linear-gradient(90deg, var(--ink) 10%, rgba(20,22,26,0.6) 100%); }
.cta-inner { position: relative; z-index: 2; display: flex; align-items: center; justify-content: space-between; gap: 40px; flex-wrap: wrap; }
.cta h2 { font-family: var(--head); font-weight: 700; font-size: clamp(24px, 4vw, 40px); line-height: 1.35; letter-spacing: 0.02em; }
.cta p { color: var(--gray-400); margin-top: 14px; font-size: 14.5px; max-width: 540px; }

/* ---- Footer ---- */
.site-footer { background: var(--black); border-top: 1px solid var(--line); padding-block: 60px 28px; }
.footer-top { display: flex; justify-content: space-between; gap: 50px; flex-wrap: wrap; padding-bottom: 44px; border-bottom: 1px solid var(--line); }
.footer-brand img { height: 34px; margin-bottom: 18px; }
.footer-brand p { color: var(--gray-500); font-size: 13px; max-width: 340px; line-height: 1.9; }
.footer-cols { display: flex; gap: clamp(36px, 6vw, 80px); flex-wrap: wrap; }
.footer-col h4 { font-family: var(--head); font-weight: 600; font-size: 12px; letter-spacing: 0.16em; color: var(--gray-400); margin-bottom: 16px; }
.footer-col a { display: block; font-size: 13.5px; color: var(--gray-300); padding: 6px 0; transition: color .2s; }
.footer-col a:hover { color: var(--white); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; padding-top: 24px; flex-wrap: wrap; gap: 16px; }
.footer-bottom .copy { font-family: var(--head); font-size: 11px; letter-spacing: 0.1em; color: var(--gray-500); }
.socials { display: flex; gap: 14px; }
.socials a { width: 38px; height: 38px; border: 1px solid var(--line); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: var(--gray-300); transition: all .25s; }
.socials a:hover { background: var(--white); color: var(--black); border-color: var(--white); }

/* ---- Page hero (sub pages) ---- */
.page-hero { padding: 150px var(--gutter) 60px; border-bottom: 1px solid var(--line); text-align: center; }
.page-hero .eyebrow { margin-bottom: 14px; }
.page-hero h1 { font-family: var(--head); font-weight: 700; font-size: clamp(34px, 6vw, 58px); letter-spacing: 0.04em; }
.breadcrumb { font-family: var(--head); font-size: 12px; letter-spacing: 0.06em; color: var(--gray-500); margin-top: 16px; }
.breadcrumb a:hover { color: var(--white); }

/* ---- About manifesto ---- */
.manifesto { text-align: center; }
.manifesto-logo { width: clamp(200px, 34vw, 300px); height: auto; margin: 0 auto clamp(32px, 5vw, 48px); display: block; }
.manifesto .manifesto-lead {
  font-family: var(--head); font-weight: 700; color: var(--white);
  font-size: clamp(30px, 6vw, 56px); letter-spacing: 0.04em; line-height: 1.15;
  margin-bottom: clamp(36px, 6vw, 56px);
}
.manifesto p {
  color: var(--gray-300); font-size: clamp(15px, 2.1vw, 18px);
  line-height: 2.25; margin-bottom: 30px;
}
.manifesto p:last-of-type { margin-bottom: 0; }
.manifesto .manifesto-tag {
  font-family: var(--head); font-weight: 500;
  letter-spacing: 0.3em; text-transform: uppercase;
  color: var(--gray-400); font-size: clamp(12px, 1.8vw, 15px);
  margin-top: clamp(40px, 6vw, 56px);
}

/* ---- Filters (teams page) ---- */
.filter-bar {
  background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 22px; display: grid; grid-template-columns: 1fr 1fr 1fr 1fr 1.6fr auto; gap: 14px; align-items: end;
  margin-bottom: 36px;
}
.filter-field label { display: block; font-family: var(--head); font-size: 11px; letter-spacing: 0.1em; color: var(--gray-400); margin-bottom: 8px; }
.filter-field select, .filter-field input {
  width: 100%; background: var(--ink); border: 1px solid var(--line-strong); color: var(--white);
  padding: 13px 14px; border-radius: var(--radius); appearance: none;
}
.filter-field select option { background: var(--ink); }
.filter-field input::placeholder { color: var(--gray-500); }
.result-meta { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 24px; }
.result-meta .count { font-family: var(--head); font-size: 14px; letter-spacing: 0.04em; color: var(--gray-300); }
.result-meta .count b { color: var(--white); font-size: 22px; margin: 0 4px; }
.btn-reset { font-family: var(--head); font-size: 13px; letter-spacing: 0.05em; color: var(--gray-400); }
.btn-reset:hover { color: var(--white); }
.empty-state { text-align: center; padding: 80px 20px; color: var(--gray-400); }
.empty-state .big { font-family: var(--head); font-size: 22px; color: var(--white); margin-bottom: 10px; }

/* ---- Team detail ---- */
.detail-grid { display: grid; grid-template-columns: 1.6fr 1fr; gap: 48px; align-items: start; }
.detail-hero { aspect-ratio: 16/10; border-radius: var(--radius-lg); overflow: hidden; background: linear-gradient(135deg,#21252c,#14161a); display:flex; align-items:center; justify-content:center; border: 1px solid var(--line); }
.detail-hero .ph { width: 36%; opacity: 0.16; }
.detail-title { font-family: var(--head); font-weight: 700; font-size: clamp(30px, 5vw, 48px); letter-spacing: 0.02em; margin: 28px 0 14px; }
.detail-lead { color: var(--gray-300); font-size: 16px; line-height: 1.9; }
.detail-body h3 { font-family: var(--head); font-weight: 600; font-size: 18px; letter-spacing: 0.06em; margin: 40px 0 14px; padding-left: 14px; border-left: 3px solid var(--white); }
.detail-body p { color: var(--gray-300); line-height: 2; }
.spec-card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 28px; }
.spec-card h3 { font-family: var(--head); font-weight: 600; letter-spacing: 0.06em; font-size: 15px; margin-bottom: 20px; color: var(--gray-300); }
.spec-row { display: flex; justify-content: space-between; gap: 16px; padding: 13px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.spec-row:last-of-type { border-bottom: none; }
.spec-row .k { color: var(--gray-400); font-family: var(--head); letter-spacing: 0.04em; flex: none; }
.spec-row .v { text-align: right; color: var(--white); }
.spec-card .btn { margin-top: 24px; }

/* ---- Practice-game (scrim) cards ---- */
.scrim-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.scrim-card {
  background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 26px 26px 22px; display: flex; flex-direction: column;
  transition: transform .3s var(--ease), border-color .3s, box-shadow .3s;
}
.scrim-card:hover { transform: translateY(-5px); border-color: var(--line-strong); box-shadow: 0 18px 38px rgba(0,0,0,.4); }
.scrim-card.is-closed { opacity: .55; }
.scrim-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.scrim-card h3 { font-family: var(--head); font-weight: 700; font-size: 21px; letter-spacing: .02em; }
.scrim-meta { display: grid; grid-template-columns: auto 1fr; gap: 8px 14px; margin: 14px 0 16px; font-size: 13.5px; }
.scrim-meta dt { color: var(--gray-400); font-family: var(--head); letter-spacing: .04em; white-space: nowrap; }
.scrim-meta dd { color: var(--white); }
.scrim-body { color: var(--gray-400); font-size: 13.5px; line-height: 1.85; flex: 1; }
.scrim-foot { margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.scrim-count { font-family: var(--head); font-size: 13px; color: var(--gray-300); letter-spacing: .04em; }
.scrim-foot .btn { padding: 11px 20px; font-size: 13px; }

/* status badge */
.status-badge { font-family: var(--head); font-weight: 600; font-size: 11.5px; letter-spacing: .05em; padding: 5px 12px; border-radius: 999px; white-space: nowrap; }
.status-badge::before { content: "● "; font-size: 9px; vertical-align: middle; }
.status-open { background: rgba(70,209,138,.14); color: #46d18a; border: 1px solid rgba(70,209,138,.5); }
.status-few { background: rgba(201,162,75,.16); color: #d8b264; border: 1px solid rgba(201,162,75,.55); }
.status-closed { background: rgba(255,255,255,.06); color: var(--gray-400); border: 1px solid var(--line-strong); }

/* team「練習試合募集中」badge */
.scrim-flag { display: inline-flex; align-items: center; gap: 6px; font-family: var(--head); font-weight: 600; font-size: 12px; letter-spacing: .05em; color: #46d18a; border: 1px solid rgba(70,209,138,.5); background: rgba(70,209,138,.10); padding: 5px 12px; border-radius: 999px; }
.scrim-toggle { display: inline-flex; align-items: center; gap: 8px; font-family: var(--head); font-size: 13px; letter-spacing: .04em; color: var(--gray-300); cursor: pointer; }
.scrim-toggle input { width: 16px; height: 16px; accent-color: #fff; }

/* ---- Pricing ---- */
.price-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch; }
.price-card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 32px 26px; display: flex; flex-direction: column; }
.price-card.is-feature { border-color: rgba(201,162,75,.55); box-shadow: 0 0 0 1px rgba(201,162,75,.25) inset; }
.price-card .tier { font-family: var(--head); font-weight: 700; font-size: 22px; letter-spacing: .04em; }
.price-card .tier-en { font-family: var(--head); font-size: 11px; letter-spacing: .2em; color: var(--gray-500); text-transform: uppercase; }
.price-card .price { font-family: var(--head); font-weight: 700; margin: 16px 0 4px; line-height: 1; }
.price-card .price b { font-size: 34px; }
.price-card .price span { font-size: 14px; color: var(--gray-400); }
.price-card .limit { font-size: 12px; color: #d8b264; margin-bottom: 18px; }
.price-card ul { list-style: none; margin: 8px 0 22px; display: flex; flex-direction: column; gap: 10px; }
.price-card li { font-size: 13.5px; color: var(--gray-300); line-height: 1.6; padding-left: 24px; position: relative; }
.price-card li::before { content: "✓"; position: absolute; left: 0; color: #46d18a; font-weight: 700; }
.price-card li.muted { color: var(--gray-500); }
.price-card li.muted::before { content: "—"; color: var(--gray-600,#555); }
.price-card .btn { margin-top: auto; }
.price-ribbon { align-self: flex-start; font-family: var(--head); font-size: 11px; letter-spacing: .1em; color: #1a1205; background: linear-gradient(135deg,#f4d58a,#c9a24b); padding: 4px 12px; border-radius: 999px; margin-bottom: 12px; }

/* ---- Legal document ---- */
.legal { max-width: 820px; margin: 0 auto; }
.legal .legal-intro { color: var(--gray-400); font-size: 14px; line-height: 2; margin-bottom: 36px; padding-bottom: 24px; border-bottom: 1px solid var(--line); }
.legal h2 { font-family: var(--head); font-weight: 600; font-size: 17px; letter-spacing: 0.04em; color: #fff; margin: 38px 0 14px; padding-left: 14px; border-left: 3px solid var(--white); }
.legal p { color: var(--gray-300); line-height: 2; font-size: 14.5px; margin-bottom: 10px; }
.legal ol, .legal ul { color: var(--gray-300); line-height: 1.95; font-size: 14.5px; margin: 6px 0 12px; padding-left: 1.5em; }
.legal ol { list-style: decimal; }
.legal ul { list-style: disc; }
.legal li { margin-bottom: 6px; }
.legal .legal-foot { margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line); color: var(--gray-500); font-size: 13px; line-height: 2; }

/* ---- Lead statement (service intros) ---- */
.lead-statement { font-family: var(--head); font-weight: 700; font-size: clamp(24px, 4.8vw, 42px); letter-spacing: 0.04em; line-height: 1.4; margin-bottom: 28px; }
.lead-sub { color: var(--gray-300); font-size: clamp(15px, 2.2vw, 17px); line-height: 2.15; }
.lead-sub strong { color: #fff; }

/* ---- Branding promo banner ---- */
.promo {
  display: flex; align-items: center; justify-content: space-between; gap: 28px; flex-wrap: wrap;
  background: var(--panel); border: 1px solid rgba(201,162,75,0.45); border-left: 3px solid #c9a24b;
  border-radius: var(--radius-lg); padding: 30px 34px;
  transition: transform .3s var(--ease), border-color .3s, background .3s;
}
.promo:hover { transform: translateY(-3px); background: var(--panel-2); }
.promo .promo-eyebrow { font-family: var(--head); font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: #c9a24b; }
.promo .promo-txt { flex: 1; min-width: 260px; }
.promo .promo-txt h3 { font-family: var(--head); font-weight: 600; font-size: clamp(18px, 2.4vw, 22px); letter-spacing: 0.03em; margin: 6px 0 8px; }
.promo .promo-txt p { color: var(--gray-400); font-size: 13.5px; line-height: 1.8; }
.promo .btn { flex: none; }
.promo .btn .arrow { transition: transform .3s var(--ease); }
.promo:hover .btn .arrow { transform: translateX(5px); }
@media (max-width: 640px) { .promo .btn { width: 100%; } }

/* branding service chips (home section) */
.brand-chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.brand-chips .chip { font-size: 13px; padding: 8px 16px; }

/* success-screen cross-sell */
.success-upsell { margin-top: 30px; padding-top: 26px; border-top: 1px solid var(--line); }
.success-upsell p { color: var(--gray-300); font-size: 14px; margin-bottom: 16px; }

/* ---- Package / service grid ---- */
.pkg-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; }
.pkg-item { background: var(--black); padding: 36px 28px; transition: background .3s; }
.pkg-item:hover { background: var(--ink); }
.pkg-item .ic { height: 40px; display: flex; align-items: center; margin-bottom: 18px; }
.pkg-item .ic svg { width: 36px; height: 36px; color: var(--white); }
.pkg-item .no { font-family: var(--head); font-size: 12px; letter-spacing: 0.14em; color: var(--gray-500); }
.pkg-item h3 { font-family: var(--head); font-weight: 600; font-size: 19px; letter-spacing: 0.04em; margin: 4px 0 10px; }
.pkg-item p { font-size: 13.5px; color: var(--gray-400); line-height: 1.85; }

/* ---- Benefit list ---- */
.benefits { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.benefit { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 28px; display: flex; gap: 16px; align-items: flex-start; }
.benefit .bn { font-family: var(--head); font-weight: 700; font-size: 24px; color: var(--white); flex: none; line-height: 1; opacity: .5; }
.benefit h3 { font-family: var(--head); font-weight: 600; font-size: 17px; letter-spacing: 0.03em; margin-bottom: 8px; }
.benefit p { font-size: 13.5px; color: var(--gray-400); line-height: 1.85; }

/* ---- Checkbox group (forms) ---- */
.check-group { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.check-item {
  display: flex; align-items: center; gap: 10px; cursor: pointer;
  background: var(--ink); border: 1px solid var(--line-strong); border-radius: var(--radius);
  padding: 13px 14px; font-size: 14px; transition: border-color .2s, background .2s;
}
.check-item:hover { border-color: var(--white); }
.check-item input { width: 17px; height: 17px; accent-color: #fff; flex: none; }
.check-item:has(input:checked) { background: rgba(255,255,255,0.06); border-color: var(--white); }

/* ---- Form ---- */
.form-card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(28px, 5vw, 48px); max-width: 760px; margin: 0 auto; }
.form-row { margin-bottom: 26px; }
.form-row label { display: block; font-family: var(--head); font-size: 13px; letter-spacing: 0.06em; margin-bottom: 10px; }
.form-row .req { color: #ff6b6b; margin-left: 6px; font-size: 11px; }
.form-row input, .form-row select, .form-row textarea {
  width: 100%; background: var(--ink); border: 1px solid var(--line-strong); color: var(--white);
  padding: 14px 16px; border-radius: var(--radius); appearance: none;
}
.form-row textarea { min-height: 130px; resize: vertical; line-height: 1.8; }
.post-rule { background: rgba(201,162,75,0.10); border: 1px solid rgba(201,162,75,0.45); border-radius: var(--radius); padding: 13px 16px; margin-bottom: 26px; font-size: 13px; line-height: 1.8; color: var(--gray-300); }
.post-rule strong { color: #fff; }
.form-row select { cursor: pointer; }
.form-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-note { font-size: 12px; color: var(--gray-500); margin-top: 8px; }
.form-switch {
  max-width: 760px; margin: 0 auto 32px; text-align: center;
  background: var(--panel); border: 1px solid var(--line);
  border-radius: var(--radius-lg); padding: 20px 24px;
  font-size: 14px; color: var(--gray-300); line-height: 1.9;
}
.form-switch strong { color: #fff; }
.form-switch .form-switch-sub { font-size: 13px; color: var(--gray-400); }
.form-switch a { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.inquiry-banner {
  background: rgba(255,255,255,0.05); border: 1px solid var(--line-strong);
  border-radius: var(--radius); padding: 14px 18px; margin-bottom: 26px;
  font-size: 14px; color: var(--gray-100); line-height: 1.7;
}
.inquiry-banner b { color: #fff; }
.form-success { display: none; text-align: center; padding: 40px 20px; }
.form-success.show { display: block; }
.form-success .check { width: 70px; height: 70px; border: 2px solid #46d18a; border-radius: 50%; display:flex; align-items:center; justify-content:center; margin: 0 auto 22px; color:#46d18a; }
.form-success h3 { font-family: var(--head); font-size: 24px; margin-bottom: 12px; }
.form-success p { color: var(--gray-400); }

/* ---- Reveal animation ---- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* ---- Responsive ---- */
@media (max-width: 1024px) {
  .features { grid-template-columns: repeat(2, 1fr); }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .cat-grid { grid-template-columns: repeat(2, 1fr); }
  .detail-grid { grid-template-columns: 1fr; }
  .spec-card { position: static; }
  .filter-bar { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  .nav {
    position: fixed; inset: 0; flex-direction: column; justify-content: center;
    background: rgba(10,11,13,0.97); backdrop-filter: blur(10px);
    gap: 8px; transform: translateX(100%); transition: transform .4s var(--ease);
  }
  body.menu-open .nav { transform: none; }
  .nav a.navlink { font-size: 22px; padding: 14px; }
  .nav .header-cta { margin-top: 14px; font-size: 16px; padding: 14px 30px; }
  .menu-toggle { display: block; }
  .searchbar { grid-template-columns: 1fr; max-width: 460px; }
  .searchbar .field { border-right: none; border-bottom: 1px solid #e5e7eb; }
  .searchbar .search-go { padding: 18px; }
}
@media (max-width: 1024px) {
  .pkg-grid { grid-template-columns: repeat(2, 1fr); }
  .benefits { grid-template-columns: 1fr; }
  .price-grid { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .scrim-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .cards { grid-template-columns: 1fr; }
  .cat-grid { grid-template-columns: 1fr 1fr; }
  .features { grid-template-columns: 1fr 1fr; }
  .pkg-grid { grid-template-columns: 1fr; }
  .check-group { grid-template-columns: 1fr; }
  .news-item { grid-template-columns: 1fr auto; row-gap: 6px; padding: 18px 6px; }
  .news-date { grid-row: 1; }
  .news-cat { display: none; }
  .news-title { grid-column: 1 / -1; grid-row: 2; }
  .filter-bar { grid-template-columns: 1fr; }
  .form-grid-2 { grid-template-columns: 1fr; }
  .footer-top { flex-direction: column; gap: 36px; }
}
