:root {
  --bg-main: #fbfbfd;
  --bg-card: #ffffff;
  --bg-dark: #0f172a;
  --text-main: #1e293b;
  --text-muted: #64748b;
  --text-light: #f8fafc;
  --accent-primary: #1d4ed8;
  --accent-navy: #0f2744;
  --accent-red: #dc2626;
  --border-light: #e2e8f0;
  --border-focus: #3b82f6;
  --shadow-sm: 0 2px 4px rgba(15, 23, 42, 0.04);
  --shadow-md: 0 10px 25px -5px rgba(15, 23, 42, 0.08), 0 8px 10px -6px rgba(15, 23, 42, 0.04);
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --max-width: 1180px;
  --font-family: -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic Medium", "Yu Gothic", Meiryo, "Noto Sans JP", sans-serif;
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-family);
  background-color: var(--bg-main);
  color: var(--text-main);
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.skip-link {
  position: absolute;
  top: -60px;
  left: 20px;
  background: var(--accent-primary);
  color: #ffffff;
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  z-index: 10000;
  text-decoration: none;
  font-weight: 600;
  transition: top 0.2s;
}

.skip-link:focus {
  top: 20px;
}

a {
  color: var(--accent-primary);
  text-decoration: none;
  transition: color 0.2s ease, opacity 0.2s ease;
}

a:hover {
  opacity: 0.85;
}

a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible {
  outline: 2px solid var(--border-focus);
  outline-offset: 2px;
}

img, svg {
  max-width: 100%;
  height: auto;
  display: block;
}

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

/* Header & Nav */
.site-header {
  position: sticky;
  top: 0;
  z-index: 999;
  background-color: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-light);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--accent-navy);
}

.brand-logo svg {
  width: 34px;
  height: 34px;
}

.brand-badge {
  font-size: 0.75rem;
  background-color: #fee2e2;
  color: var(--accent-red);
  padding: 2px 8px;
  border-radius: 999px;
  font-weight: 700;
  margin-left: 4px;
}

.nav-menu {
  display: flex;
  align-items: center;
  list-style: none;
  gap: 28px;
}

.nav-link {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-main);
  position: relative;
  padding: 8px 0;
}

.nav-link.active, .nav-link:hover {
  color: var(--accent-primary);
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--accent-primary);
  border-radius: 2px;
}

.nav-btn {
  background-color: var(--accent-navy);
  color: #ffffff !important;
  padding: 10px 20px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.9rem;
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.nav-btn:hover {
  background-color: var(--accent-primary);
  transform: translateY(-1px);
}

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.mobile-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background-color: var(--text-main);
  margin: 5px 0;
  transition: all 0.3s ease;
}

/* Hero Section */
.hero {
  padding: 70px 0 60px;
  background: linear-gradient(180deg, #ffffff 0%, var(--bg-main) 100%);
  border-bottom: 1px solid var(--border-light);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  align-items: center;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: #eff6ff;
  color: var(--accent-primary);
  border: 1px solid #dbeafe;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 20px;
}

.hero-title {
  font-size: clamp(2rem, 3.8vw, 3rem);
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: -0.02em;
  color: var(--accent-navy);
  margin-bottom: 20px;
}

.hero-title span {
  color: var(--accent-red);
}

.hero-desc {
  font-size: 1.1rem;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 32px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  font-size: 1rem;
  font-weight: 700;
  border-radius: var(--radius-md);
  cursor: pointer;
  border: 1px solid transparent;
  transition: all 0.2s ease;
}

.btn-primary {
  background-color: var(--accent-navy);
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(15, 39, 68, 0.25);
}

.btn-primary:hover {
  background-color: var(--accent-primary);
  transform: translateY(-2px);
  color: #ffffff;
}

.btn-secondary {
  background-color: #ffffff;
  color: var(--text-main);
  border-color: var(--border-light);
}

.btn-secondary:hover {
  border-color: var(--accent-primary);
  color: var(--accent-primary);
  background-color: #f8fafc;
}

.hero-meta {
  display: flex;
  gap: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--border-light);
  font-size: 0.9rem;
  color: var(--text-muted);
}

.hero-meta-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
}

.hero-visual {
  background: linear-gradient(135deg, #0f2744 0%, #1e3a8a 100%);
  border-radius: var(--radius-lg);
  padding: 32px;
  color: #ffffff;
  box-shadow: var(--shadow-md);
  position: relative;
  overflow: hidden;
}

/* Sections */
.section {
  padding: 80px 0;
}

.section-bg {
  background-color: #ffffff;
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
}

.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 56px;
}

.section-tag {
  color: var(--accent-primary);
  font-size: 0.85rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 8px;
}

.section-title {
  font-size: clamp(1.75rem, 2.8vw, 2.3rem);
  font-weight: 800;
  color: var(--accent-navy);
  margin-bottom: 16px;
  line-height: 1.35;
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-muted);
}

/* Grid & Cards */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

.card {
  background-color: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 32px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: #cbd5e1;
}

.card-icon {
  width: 52px;
  height: 52px;
  background-color: #eff6ff;
  color: var(--accent-primary);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
}

.card-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--accent-navy);
  margin-bottom: 12px;
}

.card-text {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.7;
}

/* Match Schedule Feed Preview */
.schedule-preview {
  background-color: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  margin-bottom: 40px;
}

.schedule-header {
  background-color: var(--accent-navy);
  color: #ffffff;
  padding: 20px 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.schedule-title {
  font-size: 1.15rem;
  font-weight: 700;
}

.schedule-list {
  list-style: none;
}

.schedule-item {
  display: grid;
  grid-template-columns: 140px 1.5fr 1fr 120px;
  padding: 20px 28px;
  border-bottom: 1px solid var(--border-light);
  align-items: center;
  gap: 16px;
  font-size: 0.95rem;
}

.schedule-item:last-child {
  border-bottom: none;
}

.schedule-item:hover {
  background-color: #f8fafc;
}

.schedule-date {
  font-weight: 700;
  color: var(--accent-navy);
}

.schedule-matchup {
  font-weight: 700;
  font-size: 1.05rem;
}

.schedule-venue {
  color: var(--text-muted);
}

.schedule-tag {
  display: inline-block;
  font-size: 0.8rem;
  padding: 4px 10px;
  border-radius: 999px;
  background-color: #eff6ff;
  color: var(--accent-primary);
  font-weight: 600;
  text-align: center;
}

/* Pricing Section */
.pricing-card {
  background-color: var(--bg-card);
  border: 2px solid var(--accent-navy);
  border-radius: var(--radius-lg);
  padding: 44px;
  max-width: 640px;
  margin: 0 auto;
  box-shadow: var(--shadow-md);
  position: relative;
  text-align: center;
}

.pricing-badge {
  position: absolute;
  top: -16px;
  left: 50%;
  transform: translateX(-50%);
  background-color: var(--accent-red);
  color: #ffffff;
  padding: 6px 20px;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.pricing-title {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--accent-navy);
  margin-bottom: 12px;
}

.pricing-price {
  font-size: 3.2rem;
  font-weight: 900;
  color: var(--accent-navy);
  line-height: 1;
  margin: 24px 0 12px;
}

.pricing-currency {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-muted);
  margin-left: 6px;
}

.pricing-note {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-bottom: 32px;
}

.pricing-features {
  list-style: none;
  text-align: left;
  margin-bottom: 36px;
  border-top: 1px solid var(--border-light);
  padding-top: 24px;
}

.pricing-feature-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 0;
  font-size: 1rem;
  color: var(--text-main);
}

.pricing-feature-item svg {
  color: #16a34a;
  flex-shrink: 0;
}

/* Step process */
.step-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  position: relative;
}

.step-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 32px 24px;
  position: relative;
}

.step-num {
  font-size: 2.5rem;
  font-weight: 900;
  color: #dbeafe;
  line-height: 1;
  margin-bottom: 16px;
}

.step-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--accent-navy);
  margin-bottom: 10px;
}

/* FAQ Details/Summary */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-item {
  background-color: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color 0.2s;
}

.faq-item[open] {
  border-color: var(--accent-primary);
}

.faq-question {
  padding: 22px 28px;
  font-weight: 700;
  font-size: 1.05rem;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--accent-navy);
}

.faq-question::-webkit-details-marker {
  display: none;
}

.faq-icon {
  width: 20px;
  height: 20px;
  transition: transform 0.2s ease;
  flex-shrink: 0;
}

.faq-item[open] .faq-icon {
  transform: rotate(180deg);
}

.faq-answer {
  padding: 0 28px 24px;
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.75;
}

/* Contact / Forms */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
}

.contact-info-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 32px;
}

.contact-detail-group {
  margin-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-detail-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.contact-icon {
  width: 40px;
  height: 40px;
  background-color: #eff6ff;
  color: var(--accent-primary);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.form-group {
  margin-bottom: 20px;
}

.form-label {
  display: block;
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 8px;
  color: var(--text-main);
}

.form-input, .form-textarea, .form-select {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 0.95rem;
  background-color: #ffffff;
  color: var(--text-main);
  transition: border-color 0.2s ease;
}

.form-input:focus, .form-textarea:focus, .form-select:focus {
  border-color: var(--accent-primary);
  outline: none;
}

.form-textarea {
  min-height: 130px;
  resize: vertical;
}

.form-notice {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 12px;
  line-height: 1.5;
}

/* Footer */
.site-footer {
  background-color: var(--bg-dark);
  color: #94a3b8;
  padding: 70px 0 30px;
  font-size: 0.9rem;
  border-top: 1px solid #1e293b;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 40px;
  margin-bottom: 50px;
}

.footer-brand-title {
  color: #ffffff;
  font-size: 1.3rem;
  font-weight: 800;
  margin-bottom: 14px;
}

.footer-desc {
  line-height: 1.7;
  margin-bottom: 20px;
}

.footer-heading {
  color: #ffffff;
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 18px;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a {
  color: #94a3b8;
}

.footer-links a:hover {
  color: #ffffff;
}

.footer-bottom {
  padding-top: 28px;
  border-top: 1px solid #1e293b;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 0.85rem;
}

/* Legal text styling */
.legal-content {
  background-color: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 40px;
  margin-top: 30px;
}

.legal-content h2 {
  font-size: 1.35rem;
  color: var(--accent-navy);
  margin: 32px 0 16px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border-light);
}

.legal-content h2:first-of-type {
  margin-top: 0;
}

.legal-content p, .legal-content ul {
  margin-bottom: 16px;
  color: #334155;
  font-size: 0.95rem;
}

.legal-content ul {
  padding-left: 24px;
}

.legal-table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
}

.legal-table th, .legal-table td {
  border: 1px solid var(--border-light);
  padding: 14px 18px;
  text-align: left;
  font-size: 0.95rem;
}

.legal-table th {
  background-color: #f8fafc;
  color: var(--accent-navy);
  width: 28%;
}

/* Cookie Banner */
.cookie-banner {
  position: fixed;
  bottom: 24px;
  left: 24px;
  right: 24px;
  max-width: 520px;
  background-color: rgba(15, 23, 42, 0.98);
  color: #ffffff;
  padding: 24px;
  border-radius: var(--radius-md);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
  z-index: 10000;
  display: none;
  font-size: 0.9rem;
  line-height: 1.6;
}

.cookie-banner-title {
  font-weight: 700;
  margin-bottom: 8px;
  font-size: 1rem;
}

.cookie-actions {
  display: flex;
  gap: 12px;
  margin-top: 16px;
}

.btn-cookie-accept {
  background-color: var(--accent-primary);
  color: #ffffff;
  border: none;
  padding: 8px 18px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  cursor: pointer;
}

.btn-cookie-decline {
  background-color: transparent;
  color: #94a3b8;
  border: 1px solid #475569;
  padding: 8px 18px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  cursor: pointer;
}

/* Responsive */
@media (max-width: 992px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }
  .grid-3, .step-grid {
    grid-template-columns: 1fr;
  }
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .schedule-item {
    grid-template-columns: 1fr;
    gap: 8px;
  }
}

@media (max-width: 768px) {
  .nav-menu {
    display: none;
    position: absolute;
    top: 76px;
    left: 0;
    width: 100%;
    background-color: #ffffff;
    flex-direction: column;
    padding: 24px;
    border-bottom: 1px solid var(--border-light);
    box-shadow: var(--shadow-md);
    gap: 16px;
  }
  .nav-menu.open {
    display: flex;
  }
  .mobile-toggle {
    display: block;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .hero {
    padding: 40px 0;
  }
}