:root {
  --primary: #ff7f2a;
  --primary-dark: #e86a18;
  --primary-soft: rgba(255, 127, 42, 0.14);
  --bg-dark: #0d0d0f;
  --bg-card: #16161a;
  --bg-elevated: #1e1e24;
  --border: rgba(255, 255, 255, 0.08);
  --text: #ececee;
  --text-muted: #9ca3af;
  --text-subtle: #6b7280;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Noto Sans JP", "Segoe UI", system-ui, sans-serif;
  background-color: var(--bg-dark);
  color: var(--text);
  line-height: 1.7;
}

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

a:hover {
  color: #ff9a57;
}

/* Navbar */
.site-navbar {
  background: rgba(13, 13, 15, 0.92) !important;
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border) !important;
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
}

.site-navbar .navbar-brand {
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--text) !important;
}

.site-navbar .navbar-brand span {
  color: var(--primary);
}

.site-navbar .nav-link {
  color: var(--text-muted) !important;
  font-weight: 500;
  padding: 0.5rem 1rem !important;
  transition: color 0.2s ease;
}

.site-navbar .nav-link:hover,
.site-navbar .nav-link:focus {
  color: var(--text) !important;
}

.site-navbar .nav-link.active {
  color: var(--primary) !important;
  font-weight: 600;
}

.navbar-toggler {
  border-color: var(--border);
}

.navbar-toggler:focus {
  box-shadow: 0 0 0 0.2rem rgba(255, 127, 42, 0.25);
}

/* Buttons */
.btn-primary {
  background: var(--primary);
  border-color: var(--primary);
  color: #0d0d0f;
  font-weight: 600;
  padding: 0.65rem 1.5rem;
  border-radius: 999px;
  transition: background 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease;
}

.btn-primary:hover,
.btn-primary:focus {
  background: var(--primary-dark);
  border-color: var(--primary-dark);
  color: #0d0d0f;
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(255, 127, 42, 0.25);
}

.btn-outline-light {
  border-color: var(--border);
  color: var(--text);
  font-weight: 500;
  padding: 0.65rem 1.5rem;
  border-radius: 999px;
}

.btn-outline-light:hover {
  background: var(--bg-elevated);
  border-color: rgba(255, 255, 255, 0.18);
  color: var(--text);
}

/* Hero */
.hero {
  position: relative;
  padding: 5rem 0 6rem;
  overflow: hidden;
  background:
    radial-gradient(ellipse 80% 60% at 70% 20%, rgba(255, 127, 42, 0.12), transparent),
    radial-gradient(ellipse 50% 40% at 10% 80%, rgba(255, 127, 42, 0.06), transparent),
    var(--bg-dark);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.02'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
}

.hero-badge {
  display: inline-block;
  padding: 0.35rem 1rem;
  background: var(--primary-soft);
  color: var(--primary);
  border: 1px solid rgba(255, 127, 42, 0.25);
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  margin-bottom: 1.25rem;
}

.hero h1 {
  font-size: clamp(2rem, 5vw, 3.25rem);
  font-weight: 700;
  line-height: 1.25;
  margin-bottom: 1.25rem;
}

.hero .lead {
  color: var(--text-muted);
  font-size: 1.1rem;
  max-width: 36rem;
  margin-bottom: 2rem;
}

.hero-visual {
  position: relative;
  aspect-ratio: 4 / 3;
  border-radius: 1.25rem;
  background: linear-gradient(145deg, var(--bg-elevated), var(--bg-card));
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-visual::after {
  content: "";
  position: absolute;
  width: 12rem;
  height: 12rem;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 127, 42, 0.35), transparent 70%);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.hero-icon {
  position: relative;
  z-index: 1;
  font-size: 4rem;
  opacity: 0.9;
}

/* Sections */
.section {
  padding: 5rem 0;
}

.section-alt {
  background: var(--bg-card);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.section-label {
  display: inline-block;
  color: var(--primary);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}

.section-title {
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 700;
  margin-bottom: 1rem;
}

.section-desc {
  color: var(--text-muted);
  max-width: 36rem;
  margin-bottom: 2.5rem;
}

.text-muted {
  color: var(--text-muted) !important;
}

/* Cards */
.feature-card,
.service-card,
.value-card {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 1rem;
  padding: 1.75rem;
  height: 100%;
  transition: border-color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}

.feature-card:hover,
.service-card:hover,
.value-card:hover {
  border-color: rgba(255, 127, 42, 0.35);
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
}

.card-icon {
  width: 3rem;
  height: 3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--primary-soft);
  color: var(--primary);
  border-radius: 0.75rem;
  font-size: 1.35rem;
  margin-bottom: 1.25rem;
}

.feature-card h3,
.service-card h3,
.value-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.feature-card p,
.service-card p,
.value-card p {
  color: var(--text-muted);
  margin-bottom: 0;
  font-size: 0.95rem;
}

.service-price {
  display: inline-block;
  margin-top: 1rem;
  padding: 0.25rem 0.75rem;
  background: var(--primary-soft);
  color: var(--primary);
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 600;
}

/* Page header (inner pages) */
.page-header {
  padding: 4rem 0 3rem;
  background:
    radial-gradient(ellipse 60% 50% at 50% 0%, rgba(255, 127, 42, 0.1), transparent),
    var(--bg-dark);
  border-bottom: 1px solid var(--border);
}

.page-header h1 {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.page-header p {
  color: var(--text-muted);
  max-width: 40rem;
  margin-bottom: 0;
}

/* CTA band */
.cta-band {
  padding: 4rem 0;
  background: linear-gradient(135deg, rgba(255, 127, 42, 0.15), rgba(255, 127, 42, 0.05));
  border-top: 1px solid rgba(255, 127, 42, 0.2);
  border-bottom: 1px solid rgba(255, 127, 42, 0.2);
}

.cta-band h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.cta-band p {
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

/* About story */
.story-block {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 1.25rem;
  padding: 2.5rem;
}

.story-block p {
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.story-block p:last-child {
  margin-bottom: 0;
}

/* Schedule table */
.schedule-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
}

.schedule-table th,
.schedule-table td {
  padding: 1rem 1.25rem;
  border-bottom: 1px solid var(--border);
}

.schedule-table th {
  color: var(--primary);
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.05em;
  background: var(--bg-elevated);
}

.schedule-table td {
  color: var(--text-muted);
  background: var(--bg-card);
}

.schedule-table tr:last-child td,
.schedule-table tr:last-child th {
  border-bottom: none;
}

.schedule-wrap {
  border: 1px solid var(--border);
  border-radius: 1rem;
  overflow: hidden;
}

/* Contact */
.contact-info-card {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 1.25rem;
  padding: 2rem;
  height: 100%;
}

.contact-info-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
}

.contact-item {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.contact-item:last-child {
  margin-bottom: 0;
}

.contact-item-icon {
  flex-shrink: 0;
  width: 2.5rem;
  height: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--primary-soft);
  color: var(--primary);
  border-radius: 0.65rem;
  font-size: 1.1rem;
}

.contact-item-label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--text-subtle);
  text-transform: uppercase;
  margin-bottom: 0.15rem;
}

.contact-item-value {
  color: var(--text);
  font-size: 0.95rem;
}

.contact-item-value a {
  color: var(--text);
}

.contact-item-value a:hover {
  color: var(--primary);
}

.contact-form-wrap {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 1.25rem;
  padding: 2rem;
}

.form-control,
.form-select {
  background: var(--bg-card);
  border: 1px solid var(--border);
  color: var(--text);
  padding: 0.75rem 1rem;
  border-radius: 0.65rem;
}

.form-control::placeholder {
  color: var(--text-subtle);
}

.form-control:focus,
.form-select:focus {
  background: var(--bg-card);
  border-color: rgba(255, 127, 42, 0.5);
  color: var(--text);
  box-shadow: 0 0 0 0.2rem rgba(255, 127, 42, 0.15);
}

.form-label {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 0.4rem;
}

/* Footer */
.site-footer {
  background: var(--bg-card);
  border-top: 1px solid var(--border);
  padding: 3rem 0 2rem;
  margin-top: auto;
}

.footer-brand {
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--text);
  margin-bottom: 0.75rem;
}

.footer-brand span {
  color: var(--primary);
}

.footer-desc {
  color: var(--text-muted);
  font-size: 0.9rem;
  max-width: 22rem;
}

.footer-heading {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-subtle);
  margin-bottom: 1rem;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 0.5rem;
}

.footer-links a {
  color: var(--text-muted);
  font-size: 0.9rem;
}

.footer-links a:hover {
  color: var(--primary);
}

.footer-bottom {
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
  color: var(--text-subtle);
  font-size: 0.85rem;
}

/* Utilities */
.divider-dot {
  display: inline-block;
  width: 4px;
  height: 4px;
  background: var(--primary);
  border-radius: 50%;
  margin: 0 0.5rem;
  vertical-align: middle;
}

@media (max-width: 991.98px) {
  .hero {
    padding: 3.5rem 0 4rem;
  }

  .hero-visual {
    margin-top: 2.5rem;
  }

  .section {
    padding: 3.5rem 0;
  }
}
