/* thunder 公式サイト共通スタイル。ライト/ダーク両対応・モバイルファースト */

:root {
  color-scheme: light dark;

  --accent: #ffd400;
  --accent-ink: #1a1600;

  --bg: #ffffff;
  --bg-elev: #f5f5f7;
  --text: #101014;
  --text-muted: #5c5c66;
  --border: rgba(16, 16, 20, 0.12);
  --card-shadow: 0 1px 3px rgba(16, 16, 20, 0.08), 0 8px 24px rgba(16, 16, 20, 0.06);
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0b0b0d;
    --bg-elev: #17171b;
    --text: #f2f2f5;
    --text-muted: #a2a2ad;
    --border: rgba(255, 255, 255, 0.14);
    --card-shadow: none;
  }
}

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

html {
  -webkit-text-size-adjust: 100%;
}

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

a {
  color: inherit;
}

img {
  max-width: 100%;
  height: auto;
}

/* ============ ランディング ============ */

.landing {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 24px;
}

.hero {
  text-align: center;
  padding: 88px 0 64px;
}

.hero__logo {
  font-size: clamp(40px, 9vw, 68px);
  font-weight: 800;
  letter-spacing: 0.02em;
  margin: 0;
}

.hero__logo-mark {
  color: var(--accent);
}

.hero__lead {
  margin: 20px auto 0;
  max-width: 32em;
  font-size: clamp(16px, 2.4vw, 20px);
  color: var(--text-muted);
}

.hero__cta {
  margin-top: 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

/* App Store バッジのプレースホルダ枠 */
.badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-width: 200px;
  padding: 14px 24px;
  border-radius: 12px;
  background: var(--text);
  color: var(--bg);
  font-weight: 700;
  text-decoration: none;
}

.hero__age {
  font-size: 13px;
  color: var(--text-muted);
}

/* セクション共通 */
.section {
  padding: 56px 0;
  border-top: 1px solid var(--border);
}

.section__title {
  font-size: clamp(22px, 4vw, 30px);
  font-weight: 800;
  margin: 0 0 8px;
}

.section__intro {
  color: var(--text-muted);
  margin: 0 0 32px;
  max-width: 40em;
}

/* 機能カード */
.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
}

.feature {
  background: var(--bg-elev);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 24px;
  box-shadow: var(--card-shadow);
}

.feature__name {
  font-size: 18px;
  font-weight: 700;
  margin: 0 0 6px;
}

.feature__desc {
  margin: 0;
  color: var(--text-muted);
  font-size: 15px;
}

/* チケット販売案内 */
.ticket {
  background: var(--bg-elev);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 32px;
  box-shadow: var(--card-shadow);
}

.ticket__accent {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 999px;
  background: var(--accent);
  color: var(--accent-ink);
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 16px;
}

.ticket__points {
  list-style: none;
  margin: 24px 0 0;
  padding: 0;
  display: grid;
  gap: 12px;
}

.ticket__points li {
  padding-left: 24px;
  position: relative;
}

.ticket__points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.7em;
  width: 8px;
  height: 8px;
  border-radius: 2px;
  background: var(--accent);
}

/* フッター */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 40px 0 56px;
  text-align: center;
  color: var(--text-muted);
  font-size: 14px;
}

.site-footer__nav {
  list-style: none;
  margin: 0 0 20px;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  justify-content: center;
}

.site-footer__nav a {
  text-decoration: none;
}

.site-footer__nav a:hover {
  text-decoration: underline;
}

.site-footer__copyright {
  font-size: 12px;
  opacity: 0.7;
}

/* ============ 法務ページ ============ */

.legal {
  max-width: 760px;
  margin: 0 auto;
  padding: 56px 24px 96px;
  font-size: 15px;
}

.legal__back {
  display: inline-block;
  margin-bottom: 32px;
  font-size: 14px;
  color: var(--text-muted);
  text-decoration: none;
}

.legal__back:hover {
  text-decoration: underline;
}

.legal__title {
  font-size: clamp(28px, 5vw, 36px);
  font-weight: 800;
  margin: 0 0 6px;
}

.legal__date {
  font-size: 12px;
  color: var(--text-muted);
  margin: 0 0 40px;
}

.legal__text {
  margin: 0 0 16px;
}

.legal__heading {
  font-size: 20px;
  font-weight: 800;
  margin: 44px 0 14px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--accent);
}

.legal__subheading {
  font-size: 16px;
  font-weight: 700;
  margin: 28px 0 10px;
}

.legal__list {
  margin: 0 0 16px;
  padding-left: 22px;
}

.legal__list li {
  margin-bottom: 8px;
}

/* 特商法テーブル */
.spec-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 24px;
  font-size: 15px;
}

.spec-table th,
.spec-table td {
  border: 1px solid var(--border);
  padding: 12px 16px;
  text-align: left;
  vertical-align: top;
}

.spec-table th {
  width: 34%;
  background: var(--bg-elev);
  font-weight: 700;
  white-space: nowrap;
}

.spec-table__todo {
  color: var(--text-muted);
  font-style: italic;
}

@media (max-width: 560px) {
  .spec-table,
  .spec-table tbody,
  .spec-table tr,
  .spec-table th,
  .spec-table td {
    display: block;
    width: 100%;
  }

  .spec-table th {
    border-bottom: none;
    white-space: normal;
  }

  .spec-table td {
    border-top: none;
  }
}
