/* ============================================================
   三ツ沢TBO — Landing Page Styles
   Palette: omni-court green × paper × tennis-ball accent
   ============================================================ */

:root {
  --green-950: #082c1e;
  --green-900: #0b3d29;
  --green-800: #0e4c32;
  --green-700: #14603f;
  --green-600: #1b7a50;
  --paper: #f7f5ef;
  --sand: #ede7d8;
  --white: #ffffff;
  --ink: #21261f;
  --muted: #67705f;
  --line: #dcd6c6;
  --ball: #d9e14b;
  --ball-deep: #b9c22c;
  --ember: #d97f3e;
  --radius: 14px;
  --font-jp: "Noto Sans JP", "Hiragino Sans", sans-serif;
  --font-en: "Outfit", "Noto Sans JP", sans-serif;
  --shadow: 0 2px 24px rgba(20, 40, 25, 0.08);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

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

body {
  font-family: var(--font-jp);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.9;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  overflow-wrap: anywhere;
}

img { max-width: 100%; display: block; }
a { color: var(--green-700); }

.container { max-width: 1080px; margin: 0 auto; padding: 0 24px; }
.container.narrow { max-width: 820px; }

.sp-only { display: none; }

/* ---------- buttons ---------- */
.btn {
  display: inline-block;
  font-weight: 700;
  text-decoration: none;
  border: 2px solid transparent;
  border-radius: 999px;
  padding: 14px 34px;
  font-size: 16px;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-accent {
  background: var(--ball);
  color: var(--green-950);
  box-shadow: 0 4px 18px rgba(185, 194, 44, 0.35);
}
.btn-accent:hover { background: #e3ea5e; }
.btn-ghost {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.5);
}
.btn-ghost:hover { border-color: var(--white); background: rgba(255, 255, 255, 0.08); }
.btn-small { padding: 9px 22px; font-size: 14px; }

/* ---------- header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(8, 44, 30, 0.92);
  backdrop-filter: blur(8px);
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 28px;
  height: 62px;
}
.brand {
  font-weight: 900;
  font-size: 20px;
  color: var(--white);
  text-decoration: none;
  letter-spacing: 0.02em;
}
.brand-en {
  font-family: var(--font-en);
  font-weight: 800;
  color: var(--ball);
  margin-left: 2px;
}
.header-nav {
  display: flex;
  gap: 22px;
  margin-left: auto;
}
.header-nav a {
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  font-size: 13.5px;
  font-weight: 500;
}
.header-nav a:hover { color: var(--ball); }

/* ---------- hero ---------- */
.hero {
  position: relative;
  background:
    radial-gradient(1200px 600px at 85% -10%, rgba(27, 122, 80, 0.55), transparent 60%),
    linear-gradient(160deg, var(--green-900) 0%, var(--green-950) 70%);
  color: var(--white);
  overflow: hidden;
}
.hero-court {
  position: absolute;
  right: -140px;
  top: 50%;
  transform: translateY(-50%) rotate(-7deg);
  width: 720px;
  opacity: 0.13;
  pointer-events: none;
}
.hero-inner {
  position: relative;
  padding: 88px 24px 72px;
}
.hero-eyebrow {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--ball);
  margin-bottom: 18px;
}
.hero-title {
  font-size: clamp(56px, 10vw, 104px);
  line-height: 1.05;
  letter-spacing: 0.01em;
}
.hero-jp { font-weight: 900; }
.hero-en {
  font-family: var(--font-en);
  font-weight: 800;
  color: var(--ball);
  margin-left: 6px;
}
.hero-sub {
  font-family: var(--font-en);
  font-weight: 500;
  font-size: clamp(16px, 2.6vw, 21px);
  letter-spacing: 0.34em;
  color: rgba(255, 255, 255, 0.82);
  margin: 14px 0 26px;
  text-transform: uppercase;
}
.hero-sub .dot {
  display: inline-block;
  width: 0.55em;
  height: 0.55em;
  border-radius: 50%;
  background: var(--ball);
  margin: 0 0.55em;
  vertical-align: middle;
}
.hero-lead {
  font-size: clamp(17px, 2.6vw, 21px);
  font-weight: 500;
  line-height: 2;
  margin-bottom: 26px;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px 10px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 22px;
  padding: 8px 20px 8px 8px;
  font-size: 14.5px;
  font-weight: 700;
  margin-bottom: 30px;
}
.badge-round {
  background: var(--ball);
  color: var(--green-950);
  border-radius: 999px;
  padding: 3px 12px;
  font-size: 13px;
  white-space: nowrap;
  flex-shrink: 0;
}
.badge-note { font-weight: 400; color: rgba(255, 255, 255, 0.75); }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 40px; }
.hero-meta {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 34px;
  font-size: 14.5px;
  color: rgba(255, 255, 255, 0.9);
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  padding-top: 22px;
}
.hero-meta span {
  color: var(--ball);
  font-weight: 700;
  font-size: 12.5px;
  margin-right: 9px;
  letter-spacing: 0.06em;
}

/* ---------- promises ---------- */
.promises { padding: 64px 0 8px; }
.promise-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.promise-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 30px 28px 26px;
  box-shadow: var(--shadow);
  border-top: 4px solid var(--green-700);
}
.promise-num {
  font-family: var(--font-en);
  font-weight: 700;
  color: var(--ball-deep);
  font-size: 14px;
  letter-spacing: 0.1em;
  margin-bottom: 6px;
}
.promise-card h3 { font-size: 21px; margin-bottom: 10px; }
.promise-card p { font-size: 14.5px; line-height: 1.9; color: var(--muted); }

/* ---------- section rhythm ---------- */
section { scroll-margin-top: 70px; }
.about, .flow, .rules, .fee, .venues, .host, .history, .faq, .apply { padding: 84px 0; }
.section-eyebrow {
  font-family: var(--font-en);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.22em;
  color: var(--ball-deep);
  margin-bottom: 10px;
}
.section-eyebrow.light { color: var(--ball); }
.section-title {
  font-size: clamp(28px, 4.6vw, 38px);
  font-weight: 900;
  line-height: 1.4;
  margin-bottom: 34px;
  letter-spacing: 0.01em;
}
.section-title.light { color: var(--white); }

/* ---------- about ---------- */
.about-body p { margin-bottom: 1.2em; }
.about-body strong {
  background: linear-gradient(transparent 62%, rgba(217, 225, 75, 0.55) 62%);
  font-weight: 700;
}

/* ---------- timeline ---------- */
.flow { background: var(--white); }
.timeline { list-style: none; position: relative; }
.timeline::before {
  content: "";
  position: absolute;
  left: 86px;
  top: 8px;
  bottom: 8px;
  width: 2px;
  background: var(--line);
}
.timeline li {
  display: flex;
  gap: 36px;
  padding: 20px 0;
  position: relative;
}
.timeline li::before {
  content: "";
  position: absolute;
  left: 80px;
  top: 32px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--green-700);
  border: 3px solid var(--white);
  box-shadow: 0 0 0 2px var(--green-700);
}
.timeline li.tl-ember::before {
  background: var(--ember);
  box-shadow: 0 0 0 2px var(--ember);
}
.tl-time {
  font-family: var(--font-en);
  font-weight: 700;
  font-size: 19px;
  width: 64px;
  flex-shrink: 0;
  color: var(--green-800);
  padding-top: 2px;
  text-align: right;
}
.tl-ember .tl-time { color: var(--ember); }
.tl-body { padding-left: 18px; }
.tl-body h3 { font-size: 18px; margin-bottom: 5px; }
.tl-body p { font-size: 14.5px; color: var(--muted); line-height: 1.9; }

/* ---------- rules ---------- */
.rules-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 28px;
}
.rules-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow);
}
.rules-card h3 { font-size: 17px; margin-bottom: 14px; color: var(--green-800); }
.check-list { list-style: none; }
.check-list li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 10px;
  font-size: 15px;
  line-height: 1.8;
}
.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--ball);
  box-shadow: inset 0 0 0 3px var(--green-700);
}
.check-list small { color: var(--muted); font-size: 13px; }
.approval-flow {
  background: var(--white);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow);
}
.approval-flow h3 { font-size: 17px; margin-bottom: 16px; color: var(--green-800); }
.steps { list-style: none; display: grid; gap: 12px; }
.steps li { display: flex; align-items: baseline; gap: 14px; font-size: 15px; }
.steps span {
  font-family: var(--font-en);
  font-weight: 700;
  background: var(--green-700);
  color: var(--white);
  width: 26px;
  height: 26px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  flex-shrink: 0;
  transform: translateY(3px);
}
.approval-note {
  margin-top: 18px;
  font-size: 13.5px;
  color: var(--muted);
  border-top: 1px dashed var(--line);
  padding-top: 16px;
}

/* ---------- nothing (dark) ---------- */
.nothing {
  background:
    radial-gradient(900px 500px at 12% 0%, rgba(27, 122, 80, 0.35), transparent 55%),
    var(--green-950);
  color: rgba(255, 255, 255, 0.92);
  padding: 92px 0;
}
.nothing-list { list-style: none; display: grid; gap: 8px; }
.nothing-list li {
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  padding: 22px 0 22px 44px;
  position: relative;
}
.nothing-list li::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 32px;
  width: 18px;
  height: 18px;
  background:
    linear-gradient(45deg, transparent 44%, var(--ball) 44%, var(--ball) 56%, transparent 56%),
    linear-gradient(-45deg, transparent 44%, var(--ball) 44%, var(--ball) 56%, transparent 56%);
}
.nothing-list h3 { font-size: 18px; margin-bottom: 6px; color: var(--white); }
.nothing-list p { font-size: 14.5px; color: rgba(255, 255, 255, 0.72); line-height: 1.9; }
.nothing-note {
  margin-top: 30px;
  font-size: 14.5px;
  background: rgba(217, 225, 75, 0.12);
  border-left: 3px solid var(--ball);
  padding: 14px 20px;
  border-radius: 0 8px 8px 0;
}

/* ---------- fee ---------- */
.fee { background: var(--sand); }
.fee-sub { font-size: 0.55em; font-weight: 700; color: var(--muted); margin-left: 10px; }
.fee-table {
  width: 100%;
  max-width: 520px;
  border-collapse: collapse;
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.fee-table th, .fee-table td {
  padding: 15px 22px;
  font-size: 15px;
  border-bottom: 1px solid var(--paper);
}
.fee-table th { text-align: left; font-weight: 500; }
.fee-table td { text-align: right; font-family: var(--font-en); font-weight: 700; color: var(--green-800); white-space: nowrap; }
.fee-note { margin-top: 20px; font-size: 13.5px; color: var(--muted); max-width: 620px; }

/* ---------- venues ---------- */
.venues { background: var(--white); }
.venue-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.venue-card {
  background: var(--paper);
  border-radius: var(--radius);
  padding: 30px 28px;
  border: 1px solid var(--line);
}
.venue-tag {
  display: inline-block;
  background: var(--green-700);
  color: var(--white);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  border-radius: 999px;
  padding: 3px 14px;
  margin-bottom: 12px;
}
.venue-tag.ember { background: var(--ember); }
.venue-card h3 { font-size: 20px; margin-bottom: 6px; }
.venue-addr { font-size: 13.5px; color: var(--muted); margin-bottom: 10px; }
.venue-desc { font-size: 14.5px; margin-bottom: 14px; }
.venue-link { font-size: 14px; font-weight: 700; }

/* ---------- host ---------- */
.host { background: var(--paper); }
.host-card {
  display: flex;
  gap: 34px;
  background: var(--white);
  border-radius: var(--radius);
  padding: 38px;
  box-shadow: var(--shadow);
  align-items: flex-start;
}
.host-photo {
  width: 160px;
  height: 160px;
  object-fit: cover;
  border-radius: 50%;
  border: 4px solid var(--sand);
  flex-shrink: 0;
}
.host-name { font-size: 24px; font-weight: 900; }
.host-kana { font-size: 13px; font-weight: 400; color: var(--muted); margin-left: 12px; }
.host-title { font-size: 14px; color: var(--green-800); font-weight: 700; margin: 4px 0 16px; }
.host-body p:not(.host-name):not(.host-title) {
  font-size: 14.5px;
  margin-bottom: 0.9em;
  color: #3d4438;
}
.host-pledge {
  border-left: 3px solid var(--ball);
  padding-left: 14px;
  font-weight: 700;
  color: var(--ink) !important;
}

/* ---------- history ---------- */
.history { background: var(--white); }
.history-item {
  border: 1px dashed var(--line);
  border-radius: var(--radius);
  padding: 26px 28px;
  background: var(--paper);
}
.history-item.upcoming { border-color: var(--ball-deep); }
.history-date { font-weight: 900; font-size: 17px; margin-bottom: 8px; color: var(--green-800); }
.history-item p:last-child { font-size: 14.5px; color: var(--muted); }

/* ---------- faq ---------- */
.faq { background: var(--sand); }
.faq details {
  background: var(--white);
  border-radius: 12px;
  margin-bottom: 12px;
  box-shadow: var(--shadow);
  overflow: hidden;
}
.faq summary {
  cursor: pointer;
  font-weight: 700;
  font-size: 15.5px;
  padding: 18px 52px 18px 24px;
  list-style: none;
  position: relative;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "＋";
  position: absolute;
  right: 22px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--ball-deep);
  font-weight: 700;
  transition: transform 0.2s ease;
}
.faq details[open] summary::after { content: "－"; }
.faq details p {
  padding: 0 24px 20px;
  font-size: 14.5px;
  color: var(--muted);
}

/* ---------- apply form ---------- */
.apply { background: var(--white); }
.apply-lead { font-size: 15px; margin-bottom: 34px; max-width: 660px; }
#apply-form {
  background: var(--paper);
  border-radius: var(--radius);
  padding: 38px 34px;
  border: 1px solid var(--line);
}
.form-row { margin-bottom: 22px; }
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 20px;
}
#apply-form label {
  display: block;
  font-weight: 700;
  font-size: 14px;
  margin-bottom: 7px;
}
.req {
  display: inline-block;
  background: var(--green-700);
  color: var(--white);
  font-size: 10.5px;
  font-weight: 700;
  border-radius: 4px;
  padding: 1px 7px;
  margin-left: 8px;
  vertical-align: 2px;
}
#apply-form input[type="text"],
#apply-form input[type="url"],
#apply-form input[type="email"],
#apply-form select,
#apply-form textarea {
  width: 100%;
  border: 1.5px solid var(--line);
  border-radius: 9px;
  background: var(--white);
  padding: 12px 14px;
  font-size: 15px;
  font-family: var(--font-jp);
  color: var(--ink);
  transition: border-color 0.15s ease;
}
#apply-form input:focus,
#apply-form select:focus,
#apply-form textarea:focus {
  outline: none;
  border-color: var(--green-600);
  box-shadow: 0 0 0 3px rgba(27, 122, 80, 0.14);
}
#apply-form input.invalid,
#apply-form select.invalid,
#apply-form textarea.invalid { border-color: #c0472e; }
.form-hint { font-size: 12.5px; color: var(--muted); margin-top: 6px; line-height: 1.7; }
.form-agree { margin-top: 8px; }
.agree-label {
  display: flex !important;
  gap: 12px;
  align-items: flex-start;
  font-weight: 500 !important;
  font-size: 14px !important;
  line-height: 1.8;
  cursor: pointer;
}
.agree-label input {
  width: 18px;
  height: 18px;
  margin-top: 5px;
  accent-color: var(--green-700);
  flex-shrink: 0;
}
.hp-field { position: absolute; left: -9999px; opacity: 0; height: 0; overflow: hidden; }
.btn-submit {
  width: 100%;
  font-size: 17px;
  padding: 16px;
  margin-top: 10px;
  border: none;
}
.btn-submit:disabled { opacity: 0.55; cursor: wait; transform: none; }
.form-status { margin-top: 16px; font-size: 14.5px; font-weight: 700; min-height: 1.5em; }
.form-status.ok { color: var(--green-700); }
.form-status.ng { color: #c0472e; font-weight: 500; }

/* ---------- footer ---------- */
.site-footer {
  background: var(--green-950);
  color: rgba(255, 255, 255, 0.78);
  padding: 52px 0 44px;
  font-size: 13.5px;
  line-height: 2.1;
}
.footer-brand { font-size: 20px; font-weight: 900; color: var(--white); margin-bottom: 10px; }
.footer-tag {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.2em;
  color: rgba(255, 255, 255, 0.6);
  margin-left: 12px;
}
.site-footer a { color: var(--ball); text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.footer-privacy { font-size: 12px; color: rgba(255, 255, 255, 0.55); margin-top: 10px; max-width: 560px; }
.footer-copy { margin-top: 18px; font-family: var(--font-en); font-size: 12px; color: rgba(255, 255, 255, 0.45); }

/* ---------- responsive ---------- */
@media (max-width: 860px) {
  .promise-grid { grid-template-columns: 1fr; }
  .rules-grid, .venue-grid { grid-template-columns: 1fr; }
  .header-nav { display: none; }
}

@media (max-width: 640px) {
  .sp-only { display: inline; }
  body { font-size: 15px; }
  .hero-inner { padding: 64px 24px 56px; }
  .hero-court { right: -260px; width: 640px; opacity: 0.1; }
  .hero-meta { gap: 8px 22px; font-size: 13.5px; }
  .about, .flow, .rules, .fee, .venues, .host, .history, .faq, .apply { padding: 60px 0; }
  .nothing { padding: 68px 0; }
  .timeline::before { left: 62px; }
  .timeline li { gap: 24px; }
  .timeline li::before { left: 56px; top: 30px; }
  .tl-time { width: 46px; font-size: 15px; white-space: nowrap; }
  .tl-body { padding-left: 14px; }
  .form-grid { grid-template-columns: 1fr; gap: 0; }
  .host-card { flex-direction: column; padding: 28px 24px; gap: 20px; }
  .host-photo { width: 120px; height: 120px; }
  #apply-form { padding: 28px 20px; }
  .hero-badge { font-size: 13px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .btn:hover { transition: none; transform: none; }
}
