:root {
  --bg-deep: #0a0e1a;
  --bg-card: #12182b;
  --bg-elevated: #1a2238;
  --accent: #ff4757;
  --accent-dim: #e03e4d;
  --accent-glow: rgba(255, 71, 87, 0.28);
  --text: #f2f4f8;
  --text-muted: #9aa8c4;
  --border: rgba(255, 71, 87, 0.18);
  --success: #2dd4bf;
  --radius: 12px;
  --font-sans: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
  --font-mono: "JetBrains Mono", "SF Mono", monospace;
  --header-h: 72px;
  --max-w: 1180px;
  --transition: 0.25s ease;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.7;
  color: var(--text);
  background: var(--bg-deep);
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: var(--accent);
  text-decoration: none;
  transition: color var(--transition);
}

a:hover {
  color: #ff8a96;
}

.container {
  width: min(100% - 2rem, var(--max-w));
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 9999;
  padding: 0.75rem 1rem;
  background: var(--accent);
  color: #fff;
  font-weight: 700;
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  height: var(--header-h);
  background: rgba(10, 14, 26, 0.88);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
  gap: 1rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--text);
}

.logo:hover {
  color: var(--text);
}

.logo-mark {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--accent), #ff6b81);
  border-radius: 10px;
  font-weight: 800;
  font-size: 1rem;
  color: #fff;
  box-shadow: 0 0 24px var(--accent-glow);
}

.logo-text strong {
  display: block;
  font-size: 0.95rem;
  letter-spacing: 0.04em;
}

.logo-text span {
  font-size: 0.7rem;
  color: var(--text-muted);
  letter-spacing: 0.08em;
}

.nav-desktop {
  display: none;
  gap: 1.5rem;
}

.nav-desktop a {
  color: var(--text-muted);
  font-size: 0.875rem;
  font-weight: 500;
}

.nav-desktop a:hover {
  color: var(--accent);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.9rem;
  border: none;
  cursor: pointer;
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition);
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent), #ff6b81);
  color: #fff;
  box-shadow: 0 4px 20px var(--accent-glow);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px var(--accent-glow);
  color: #fff;
}

.btn-outline {
  background: transparent;
  color: var(--accent);
  border: 1px solid var(--accent);
}

.btn-outline:hover {
  background: rgba(255, 71, 87, 0.12);
  color: var(--accent);
}

.header-cta {
  display: none;
}

.menu-toggle {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 0.5rem;
  background: none;
  border: none;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  transition: var(--transition);
}

.mobile-nav {
  display: none;
  flex-direction: column;
  gap: 0.75rem;
  padding: 1rem 0 1.5rem;
  border-top: 1px solid var(--border);
}

.mobile-nav.is-open {
  display: flex;
}

.mobile-nav a {
  color: var(--text-muted);
  font-weight: 500;
  padding: 0.35rem 0;
}

@media (min-width: 900px) {
  .nav-desktop {
    display: flex;
  }

  .header-cta {
    display: inline-flex;
  }

  .menu-toggle {
    display: none;
  }
}

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: var(--header-h);
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    110deg,
    rgba(10, 14, 26, 0.96) 0%,
    rgba(10, 14, 26, 0.78) 50%,
    rgba(10, 14, 26, 0.5) 100%
  );
  z-index: 1;
}

.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  gap: 3rem;
  padding: 4rem 0 5rem;
}

.hero-badge {
  display: inline-block;
  padding: 0.35rem 0.9rem;
  background: rgba(255, 71, 87, 0.14);
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: 0.8rem;
  color: var(--accent);
  letter-spacing: 0.06em;
  margin-bottom: 1.25rem;
}

.hero h1 {
  font-size: clamp(2rem, 5vw, 3.25rem);
  line-height: 1.2;
  font-weight: 800;
  margin: 0 0 1.25rem;
  letter-spacing: -0.02em;
}

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

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2.5rem;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

@media (min-width: 600px) {
  .hero-stats {
    grid-template-columns: repeat(4, 1fr);
  }
}

.stat-card {
  padding: 1rem;
  background: rgba(18, 24, 43, 0.85);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  backdrop-filter: blur(8px);
}

.stat-card strong {
  display: block;
  font-size: 1.5rem;
  color: var(--accent);
  font-family: var(--font-mono);
}

.stat-card span {
  font-size: 0.75rem;
  color: var(--text-muted);
}

section {
  padding: 5rem 0;
}

.section-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--accent);
  margin-bottom: 0.5rem;
}

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

.section-intro {
  color: var(--text-muted);
  max-width: 42rem;
  margin: 0 0 3rem;
}

.services-grid {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 700px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1000px) {
  .services-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.service-card {
  padding: 1.75rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: border-color var(--transition), transform var(--transition);
}

.service-card:hover {
  border-color: var(--accent);
  transform: translateY(-4px);
}

.service-icon {
  width: 48px;
  height: 48px;
  margin-bottom: 1rem;
  color: var(--accent);
}

.service-card h3 {
  margin: 0 0 0.75rem;
  font-size: 1.15rem;
}

.service-card p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.tokyo-band {
  position: relative;
  overflow: hidden;
  padding: 0;
}

.tokyo-band img {
  width: 100%;
  max-height: 420px;
  object-fit: cover;
  opacity: 0.45;
}

.tokyo-band .container {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
}

.tokyo-band-content {
  max-width: 32rem;
}

.tokyo-band-content h2 {
  margin: 0 0 0.75rem;
  font-size: clamp(1.5rem, 3vw, 2rem);
}

.tokyo-band-content p {
  margin: 0;
  color: var(--text-muted);
}

.infra-split {
  display: grid;
  gap: 2.5rem;
  align-items: center;
}

@media (min-width: 900px) {
  .infra-split {
    grid-template-columns: 1fr 1fr;
  }
}

.infra-visual {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
}

.infra-visual img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
}

.infra-badge {
  position: absolute;
  bottom: 1rem;
  left: 1rem;
  padding: 0.5rem 1rem;
  background: rgba(10, 14, 26, 0.92);
  border: 1px solid var(--border);
  border-radius: 8px;
  font-size: 0.8rem;
  font-family: var(--font-mono);
  color: var(--accent);
}

.spec-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 1rem;
}

.spec-list li {
  display: flex;
  gap: 1rem;
  padding: 1rem 1.25rem;
  background: var(--bg-elevated);
  border-radius: var(--radius);
  border-left: 3px solid var(--accent);
}

.spec-list strong {
  display: block;
  margin-bottom: 0.25rem;
}

.spec-list span {
  font-size: 0.875rem;
  color: var(--text-muted);
}

.gallery-grid {
  display: grid;
  gap: 1rem;
}

@media (min-width: 700px) {
  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.gallery-item {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
}

.gallery-item img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.gallery-item:hover img {
  transform: scale(1.05);
}

.gallery-caption {
  position: absolute;
  inset: auto 0 0;
  padding: 1rem;
  background: linear-gradient(transparent, rgba(10, 14, 26, 0.95));
  font-size: 0.85rem;
  font-weight: 600;
}

.locations-grid {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 800px) {
  .locations-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.location-card {
  padding: 1.5rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.location-card h3 {
  margin: 0 0 0.5rem;
  color: var(--accent);
}

.location-card .tier {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--success);
  margin-bottom: 1rem;
}

.location-card address {
  font-style: normal;
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.6;
  margin-bottom: 1rem;
}

.location-meta {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-family: var(--font-mono);
}

.trust-band {
  background: var(--bg-card);
  border-block: 1px solid var(--border);
}

.trust-grid {
  display: grid;
  gap: 2rem;
}

@media (min-width: 800px) {
  .trust-grid {
    grid-template-columns: 1fr 1fr;
    align-items: center;
  }
}

.cert-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.cert-badge {
  padding: 0.5rem 1rem;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 8px;
  font-size: 0.8rem;
  font-weight: 600;
  font-family: var(--font-mono);
}

.testimonial {
  padding: 1.5rem;
  background: var(--bg-elevated);
  border-radius: var(--radius);
  border-left: 4px solid var(--accent);
}

.testimonial blockquote {
  margin: 0 0 1rem;
  font-style: italic;
  color: var(--text-muted);
}

.testimonial cite {
  font-size: 0.85rem;
  font-style: normal;
  color: var(--text);
}

.cta-section {
  text-align: center;
  background: linear-gradient(180deg, transparent, rgba(255, 71, 87, 0.08));
}

.cta-section .section-intro {
  margin-inline: auto;
}

.site-footer {
  background: var(--bg-card);
  border-top: 1px solid var(--border);
  padding-top: 4rem;
}

.footer-grid {
  display: grid;
  gap: 2.5rem;
  margin-bottom: 3rem;
}

@media (min-width: 900px) {
  .footer-grid {
    grid-template-columns: 1.2fr 1fr 1fr;
  }
}

.footer-map {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  min-height: 280px;
}

.footer-map iframe {
  width: 100%;
  height: 280px;
  border: 0;
  display: block;
}

.footer-addresses h3,
.footer-form h3 {
  margin: 0 0 1.25rem;
  font-size: 1.1rem;
}

.address-block {
  margin-bottom: 1.25rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--border);
}

.address-block:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.address-block strong {
  display: block;
  color: var(--accent);
  margin-bottom: 0.35rem;
}

.address-block p {
  margin: 0;
  font-size: 0.875rem;
  color: var(--text-muted);
}

.contact-form {
  display: grid;
  gap: 0.75rem;
}

.contact-form label {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  padding: 0.7rem 0.9rem;
  background: var(--bg-deep);
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--text);
  font-family: inherit;
  font-size: 0.9rem;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-glow);
}

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

.form-row {
  display: grid;
  gap: 0.75rem;
}

@media (min-width: 500px) {
  .form-row.two-col {
    grid-template-columns: 1fr 1fr;
  }
}

.form-note {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 0.5rem;
}

.form-success {
  display: none;
  padding: 1rem;
  background: rgba(45, 212, 191, 0.15);
  border: 1px solid var(--success);
  border-radius: 8px;
  color: var(--success);
  font-size: 0.9rem;
}

.form-success.is-visible {
  display: block;
}

.footer-bottom {
  padding: 1.5rem 0 2rem;
  border-top: 1px solid var(--border);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.footer-bottom a {
  color: var(--text-muted);
}

.footer-bottom a:hover {
  color: var(--accent);
}
