/* The home page only (site/index.html, site/en/index.html; written by scripts/site-home.mjs), rebuilt 2026-12-04 from
   design/sites-review-2026-12-04/hd.html: campaign bar, a header with one button, a centred headline over the app's
   screens, 近日の募集 (functions/_home.js fills section#upcoming), three alternating rows, the host band, four small
   cards, areas, the store badges again, the family band, a footer with headed columns. Every other page keeps
   site.css. The page loads this file alone, so it carries its own base.
   Colours are HoopDay's hex values written out: a sibling app's site-build swaps them for its own (site-brand/brands.mjs
   `colors`), so keep #C4500E / #B74A0C / #15213B / #FF8A3D literal. Sizes in rem: the 320px / 160% text check scales. */
:root {
  --bg: #f6f4f0; --card: #ffffff; --ink: #15213B; --sub: #4a5163; --faint: #5f6573; --line: #e6e2dc; --soft: #efece7;
  --btn: #C4500E; --acc: #B74A0C; --navy: #15213B; --on-navy: #FF8A3D; --bezel: #1b1e23;
  --shadow: 0 0 0 .5px rgba(21, 33, 59, .06), 0 1px 2px rgba(21, 33, 59, .04), 0 8px 24px rgba(21, 33, 59, .06);
  --dev-shadow: 0 24px 60px rgba(20, 20, 30, .18), 0 4px 12px rgba(20, 20, 30, .08);
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; }
body { font-family: -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Noto Sans JP", sans-serif; color: var(--ink);
  background: var(--bg); line-height: 1.75; -webkit-font-smoothing: antialiased; overflow-wrap: anywhere; line-break: strict; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-underline-offset: 3px; }
[hidden] { display: none !important; }
h1, h2, h3 { word-break: keep-all; overflow-wrap: anywhere; }
:lang(en) h1, :lang(en) h2, :lang(en) h3 { word-break: normal; overflow-wrap: break-word; }
h1 { font-size: 3.25rem; line-height: 1.28; letter-spacing: -.015em; font-weight: 800; }
h2 { font-size: 2rem; line-height: 1.4; font-weight: 800; letter-spacing: -.005em; }
h3 { font-size: 1.125rem; line-height: 1.5; font-weight: 700; }
p { font-size: 1rem; }
.lead { font-size: 1.125rem; color: var(--sub); }
.note { font-size: .875rem; color: var(--faint); }
.eyebrow { font-size: .875rem; font-weight: 700; letter-spacing: .04em; color: var(--acc); }
.wrap { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* the campaign, one thin bar above the header (the whole bar is the link) */
.bar { display: block; background: var(--navy); color: #fff; font-size: .875rem; text-align: center; padding: 10px 16px; line-height: 1.5; text-decoration: none; min-height: 44px; }
.bar b { font-weight: 700; }
.bar span { display: inline-block; }
.bar .go { font-weight: 700; text-decoration: underline; margin-left: .6em; }

/* header: logo, small text links, one button (on phones the links are in the footer) */
.head { position: sticky; top: 0; z-index: 5; background: rgba(246, 244, 240, .9); -webkit-backdrop-filter: saturate(1.8) blur(20px); backdrop-filter: saturate(1.8) blur(20px);
  border-bottom: 1px solid var(--line); }
.head-in { max-width: 1200px; margin: 0 auto; padding: 10px 24px; display: flex; align-items: center; gap: 20px; min-height: 64px; }
.logo { display: flex; align-items: center; gap: 9px; font-weight: 900; font-size: 1.1875rem; letter-spacing: -.02em; text-decoration: none; min-width: 0; min-height: 44px; }
.logo img { width: 28px; height: 28px; flex: none; }
.head nav { margin-left: auto; display: flex; gap: 22px; }
.head nav a { font-size: .9375rem; color: var(--sub); text-decoration: none; white-space: nowrap; min-height: 44px; display: inline-flex; align-items: center; }
.head nav a:hover { color: var(--ink); }

.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 28px; border-radius: 999px;
  background: var(--btn); color: #fff; font-weight: 700; font-size: 1rem; text-decoration: none; white-space: nowrap; }
.btn.sm { min-height: 44px; padding: 0 20px; font-size: .9375rem; }
.more { font-weight: 700; font-size: .9375rem; text-decoration: none; color: var(--acc); display: inline-flex; align-items: center; min-height: 44px; }
.more::after { content: "›"; margin-left: .3em; }
.more:hover { text-decoration: underline; }
.badges { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.badges a { display: block; line-height: 0; }
.badges img { height: 48px; width: auto; }

/* device frames (the screens at their own 600:1304) */
.phone { background: var(--bezel); border-radius: 30px; padding: 6px; box-shadow: var(--dev-shadow); }
.phone img { border-radius: 24px; width: 100%; aspect-ratio: 600 / 1304; }
.pair { display: flex; gap: 6%; justify-content: center; align-items: flex-end; }
.pair .phone { width: 40%; max-width: 280px; }
.pair .phone:nth-child(2) { margin-bottom: 8%; }

/* first screen */
.hero { padding: 80px 0 0; text-align: center; overflow: hidden; }
.hero h1 { margin-top: 10px; }
.hero .lead { max-width: 31em; margin: 18px auto 0; }
.hero .badges { justify-content: center; margin-top: 30px; }
.hero .alt { margin-top: 6px; }
.hero .hint { max-width: 34em; margin: 4px auto 0; }
/* the stage's height follows its width, so the phones (2.17 × their width high) always run past its lower edge and are
   cut there: never a bare band under them (2026-12-04) */
.stage { position: relative; margin: 44px auto 0; max-width: 980px; aspect-ratio: 980 / 500; overflow: hidden; display: flex; justify-content: center; align-items: flex-start; gap: 4%; }
.stage::before { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 64%; border-radius: 32px 32px 0 0; background: var(--navy); }
.stage .phone { position: relative; width: 25%; flex: none; border-radius: 32px 32px 0 0; padding-bottom: 0; }
.stage .phone img { border-radius: 26px 26px 0 0; }
.stage .phone.mid { width: 30%; }
.stage .phone.side { margin-top: 64px; }

/* 近日の募集: the markup comes from functions/_home.js (h2, ul.up-list > li > a.up-card, p > a.maplink) */
.upcoming { display: grid; grid-template-columns: 1fr auto; align-items: baseline; gap: 0 16px; padding: 72px 0 0; }
.upcoming h2 { font-size: 1.5rem; }
.upcoming > p { grid-column: 2; grid-row: 1; }
.upcoming .maplink { font-weight: 700; font-size: .9375rem; text-decoration: none; color: var(--acc); display: inline-flex; align-items: center; min-height: 44px; }
.upcoming .maplink:hover { text-decoration: underline; }
.upcoming .up-list { grid-column: 1 / -1; list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 12px; }
.upcoming .up-card { display: grid; gap: 2px; align-content: start; height: 100%; background: var(--card); border-radius: 18px; padding: 18px 20px; box-shadow: var(--shadow); text-decoration: none; line-height: 1.55; }
.upcoming .up-card:hover .up-title { text-decoration: underline; }
.upcoming .up-when { font-size: .875rem; font-weight: 700; color: var(--sub); font-variant-numeric: tabular-nums; }
.upcoming .up-title { font-size: 1rem; }
.upcoming .up-where, .upcoming .up-facts { font-size: .875rem; color: var(--sub); }
.upcoming .ic { width: 1.15em; height: 1.15em; vertical-align: -.2em; margin-right: 4px; }

/* sections and rows */
.sec { padding: 104px 0; }
.sec.tint { background: var(--card); }
.row { display: grid; grid-template-columns: 6fr 5fr; gap: 72px; align-items: center; }
.row.rev { grid-template-columns: 5fr 6fr; }
.row.rev .media { order: 2; }
.row + .row { margin-top: 112px; }
.row .text { max-width: 30em; }
.row .text h2 { margin: 6px 0 16px; }
.row .text p { color: var(--sub); }
.points { list-style: none; margin-top: 18px; display: grid; gap: 8px; }
.points li { position: relative; padding-left: 1.4em; font-size: .9375rem; color: var(--sub); }
.points li::before { content: ""; position: absolute; left: .2em; top: .62em; width: .5em; height: .5em; border-radius: 50%; background: var(--acc); }

/* the host band */
.host { background: var(--navy); color: #fff; border-radius: 28px; padding: 56px; display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; overflow: hidden; }
.host .eyebrow { color: var(--on-navy); }
.host h2 { margin: 6px 0 14px; }
.host p, .host .points li { color: rgba(255, 255, 255, .84); }
.host .points li::before { background: var(--on-navy); }
.host .btn { margin-top: 26px; background: #fff; color: var(--navy); }
.host .pair { align-items: flex-start; height: 420px; overflow: hidden; margin-bottom: -56px; }
.host .pair .phone { border-radius: 30px 30px 0 0; padding-bottom: 0; margin-bottom: 0; }
.host .pair .phone img { border-radius: 24px 24px 0 0; }
.host .pair .phone:nth-child(2) { margin-top: 48px; }

/* four small cards */
.feats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.feat { background: var(--card); border-radius: 18px; padding: 24px 22px; box-shadow: var(--shadow); }
.feat h3 { margin-bottom: 6px; }
.feat p { font-size: .9375rem; color: var(--sub); line-height: 1.7; }
.feat .ico { width: 40px; height: 40px; border-radius: 12px; background: var(--soft); display: grid; place-items: center; margin-bottom: 14px; }
.feat .ico svg { width: 22px; height: 22px; }

/* areas */
.h-row { display: flex; justify-content: space-between; align-items: baseline; gap: 4px 16px; margin-bottom: 16px; flex-wrap: wrap; }
.h-row h2 { font-size: 1.5rem; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; }
.chips a { font-size: .9375rem; font-weight: 700; text-decoration: none; padding: 0 16px; min-height: 44px; display: inline-flex; align-items: center; border-radius: 999px; background: var(--bg); box-shadow: inset 0 0 0 1px var(--line); }
.chips a:hover { box-shadow: inset 0 0 0 1.5px var(--btn); }

/* the store badges again */
.cta { text-align: center; padding: 104px 0; }
.cta h2 { margin-bottom: 10px; }
.cta p { color: var(--sub); }
.cta .badges { justify-content: center; margin-top: 26px; }
.cta .alt { margin-top: 6px; }

/* the family: the other sports' apps, and the booking service for court owners */
.family { display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: center; background: var(--card); border-radius: 22px; padding: 24px 28px; box-shadow: var(--shadow); margin-bottom: 64px; }
.family .eyebrow { color: var(--sub); }
.family .eyebrow a { text-decoration: none; display: inline-flex; align-items: center; min-height: 44px; }
.family .eyebrow a:hover { text-decoration: underline; }
.family .icons { display: flex; flex-wrap: wrap; gap: 4px 18px; }
.family .icons a { display: flex; align-items: center; gap: 8px; font-weight: 700; font-size: .9375rem; text-decoration: none; min-height: 44px; }
.family .icons a:hover { text-decoration: underline; }
.family .icons img { width: 32px; height: 32px; border-radius: 8px; flex: none; }
.family .court { border-left: 1px solid var(--line); padding-left: 24px; max-width: 22em; }
.family .court p { font-size: .875rem; color: var(--sub); margin: 2px 0 0; }

/* footer with headed columns */
.foot { border-top: 1px solid var(--line); padding: 56px 0 40px; font-size: .875rem; color: var(--sub); }
.foot-cols { display: grid; grid-template-columns: 1.3fr repeat(3, 1fr); gap: 32px; }
.foot h2 { font-size: .8125rem; line-height: 1.5; color: var(--ink); margin-bottom: 4px; letter-spacing: .04em; font-weight: 700; }
.foot ul { list-style: none; }
.foot a { color: var(--sub); text-decoration: none; }
.foot li a { display: inline-flex; align-items: center; min-height: 44px; }
.foot a:hover { text-decoration: underline; }
.foot .sns { display: flex; gap: 10px; margin-top: 10px; }
.foot .sns a { width: 44px; height: 44px; border-radius: 50%; background: var(--card); box-shadow: inset 0 0 0 1px var(--line); display: grid; place-items: center; color: var(--ink); }
.foot .sns svg { width: 20px; height: 20px; }
.foot .legal { margin-top: 32px; padding-top: 12px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; align-items: center; gap: 0 20px; font-size: .8125rem; color: var(--faint); }
.foot .legal a { color: var(--faint); display: inline-flex; align-items: center; min-height: 44px; }
.foot .legal span { padding: 6px 0; }

/* ---- /hosts (site/hosts.html, site/en/hosts.html; 2026-12-04): the same system — a split first screen, picture rows
   made of the page's points, the rest as cards, the three steps with the store badges. The header is the shared markup
   of the inner pages (functions/_nav.js writes header.site > a.brand, nav, a.btn). */
header.site.head { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 20px; min-height: 64px; padding: 10px max(24px, calc((100% - 1152px) / 2)); }
.head .brand { display: flex; align-items: center; gap: 9px; font-weight: 900; font-size: 1.1875rem; letter-spacing: -.02em; text-decoration: none; min-width: 0; min-height: 44px; }
.head .brand img { width: 28px; height: 28px; flex: none; }
.head nav a[aria-current="page"] { color: var(--ink); font-weight: 700; }
.badges .store-badge img { height: 48px; width: auto; }
.hero.split { text-align: left; padding-top: 72px; }
.hero.split .wrap { display: grid; grid-template-columns: 6fr 5fr; gap: 72px; align-items: center; }
.hero.split h1 span, .hero.split .statement span { display: inline-block; }
.hero.split .lead { margin: 18px 0 0; max-width: none; }
.hero.split .badges { justify-content: flex-start; }
.hero.split .media { align-self: end; max-height: 540px; overflow: hidden; }
.hero.split .media .phone { width: min(300px, 78%); margin: 0 auto; border-radius: 30px 30px 0 0; padding-bottom: 0; }
.hero.split .media .phone img { border-radius: 24px 24px 0 0; }
.pair .phone:only-child { width: 56%; max-width: 300px; }
.row .text .point + .point { margin-top: 32px; }
.row .text .point h2 { margin: 6px 0 12px; }
.row .text .point + .point h2 { font-size: 1.375rem; }
.feats.two { grid-template-columns: 1fr 1fr; }
.feat h2 { font-size: 1.125rem; line-height: 1.5; font-weight: 700; letter-spacing: 0; margin-bottom: 6px; }
.steps { list-style: none; counter-reset: step; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; max-width: 960px; margin: 28px auto 0; text-align: left; }
.steps li { counter-increment: step; background: var(--card); border-radius: 18px; padding: 20px 22px; box-shadow: var(--shadow); font-weight: 700; line-height: 1.6; }
.steps li::before { content: counter(step); display: grid; place-items: center; width: 2rem; height: 2rem; border-radius: 50%; background: var(--navy); color: #fff; font-size: .9375rem; margin-bottom: 10px; }
.hosts-steps .note { margin-top: 18px; }
.hosts-steps .note a { display: inline-block; padding: 10px 0; }

@media (max-width: 960px) {
  h1 { font-size: 2.375rem; }
  .hero.split { padding-top: 48px; }
  .hero.split .wrap { grid-template-columns: 1fr; gap: 32px; }
  .hero.split .media { max-height: 380px; }
  .hero.split .media .phone { width: min(260px, 70%); }
  .feats.two { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; max-width: 30em; }
  h2 { font-size: 1.625rem; }
  .hero { padding-top: 56px; }
  .sec { padding: 72px 0; }
  .cta { padding: 72px 0; }
  .row, .row.rev { grid-template-columns: 1fr; gap: 32px; }
  .row.rev .media { order: 0; }
  .row + .row { margin-top: 72px; }
  .row .text { max-width: none; }
  .upcoming .up-list { grid-template-columns: 1fr 1fr; }
  .host { grid-template-columns: 1fr; padding: 40px 28px 0; gap: 32px; }
  .host .pair { margin-bottom: 0; height: 360px; }
  .feats { grid-template-columns: 1fr 1fr; }
  .family { grid-template-columns: 1fr; }
  .family .court { border-left: 0; padding-left: 0; border-top: 1px solid var(--line); padding-top: 14px; max-width: none; }
  .foot-cols { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .wrap, .head-in { padding-left: 16px; padding-right: 16px; }
  h1 { font-size: 2rem; }
  h2 { font-size: 1.375rem; }
  .lead { font-size: 1rem; }
  .bar { font-size: .8125rem; padding: 8px 12px; }
  .head-in { min-height: 56px; padding-top: 6px; padding-bottom: 6px; }
  .head nav { display: none; }
  header.site.head { min-height: 56px; padding: 6px 16px; }
  .hero.split { padding-top: 28px; }
  .hero.split .media { max-height: 300px; }
  .hero.split .media .phone { border-radius: 20px 20px 0 0; padding: 4px 4px 0; } .hero.split .media .phone img { border-radius: 16px 16px 0 0; }
  .badges .store-badge img { height: 44px; }
  .pair .phone:only-child { width: 62%; }
  .head .btn.sm { margin-left: auto; }
  .hero { padding-top: 24px; }
  .hero .lead { margin-top: 12px; }
  .hero .badges { margin-top: 18px; }
  .badges img { height: 44px; }
  .stage { margin-top: 20px; aspect-ratio: 100 / 62; gap: 3%; }
  .stage .phone { width: 31%; padding: 4px 4px 0; border-radius: 18px 18px 0 0; }
  .stage .phone img { border-radius: 14px 14px 0 0; }
  .stage .phone.mid { width: 38%; }
  .stage .phone.side { margin-top: 40px; }
  .phone { padding: 4px; border-radius: 20px; } .phone img { border-radius: 16px; }
  .upcoming { padding-top: 48px; }
  .upcoming .up-list { grid-template-columns: 1fr; gap: 12px; }
  .sec { padding: 56px 0; }
  .cta { padding: 64px 0; }
  .row + .row { margin-top: 56px; }
  .host { border-radius: 20px; padding: 32px 20px 0; }
  .host .pair { height: 280px; }
  .host .pair .phone { border-radius: 20px 20px 0 0; } .host .pair .phone img { border-radius: 16px 16px 0 0; }
  .feats { grid-template-columns: 1fr; }
  .family { padding: 20px; }
}
@media (max-width: 380px) {
  h1 { font-size: 1.625rem; } h2 { font-size: 1.25rem; }
  .stage .phone.side:first-child { display: none; }
  .stage .phone, .stage .phone.mid { width: 46%; }
  .upcoming { grid-template-columns: 1fr; }
  .upcoming > p { grid-column: 1; grid-row: 3; }
  .foot-cols { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
