:root {
  --bg: #f6f7fb;
  --bg-2: #ffffff;
  --bg-3: #eef2f7;
  --text: #0b1221;
  --muted: #5a6b85;
  --accent: #2563eb;
  --accent-2: #10b981;
  --accent-3: #f97316;
  --line: rgba(15, 23, 42, 0.12);
  --card: rgba(255, 255, 255, 0.92);
  --shadow: 0 24px 60px rgba(15, 23, 42, 0.12);
  --radius-xl: 32px;
  --radius-lg: 22px;
  --radius-md: 14px;
  --radius-sm: 10px;
  --font-title: "Oswald", "Noto Sans JP", sans-serif;
  --font-body: "Space Grotesk", "Noto Sans JP", system-ui, sans-serif;
  --max-width: 1200px;
  --section-gap: 120px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: radial-gradient(circle at 15% 15%, rgba(37, 99, 235, 0.12), transparent 45%),
    radial-gradient(circle at 85% 0%, rgba(16, 185, 129, 0.12), transparent 45%),
    linear-gradient(120deg, #f8f9fc, #eef2f7 45%, #f7f9fd 85%);
  color: var(--text);
  font-family: var(--font-body);
  line-height: 1.7;
  letter-spacing: 0.02em;
  padding-top: 80px;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image: repeating-linear-gradient(0deg, rgba(15, 23, 42, 0.04), rgba(15, 23, 42, 0.04) 1px, transparent 1px, transparent 6px);
  pointer-events: none;
  opacity: 0;
  z-index: -1;
}

.page-loader {
  position: fixed;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  background: var(--bg-2);
  z-index: 100;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
  text-align: center;
}

.loader-ring {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 3px solid rgba(37, 99, 235, 0.2);
  border-top-color: var(--accent);
  animation: spin 1s linear infinite;
}

.page-loader span {
  font-size: 12px;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--muted);
}

html.fonts-loading body > :not(.page-loader):not(.lightbox) {
  opacity: 0;
}

html.fonts-loading .page-loader {
  opacity: 1;
  pointer-events: auto;
}

html.fonts-loaded body > :not(.page-loader):not(.lightbox) {
  opacity: 1;
  transition: opacity 0.4s ease;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  background: rgba(8, 12, 24, 0.35);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
  z-index: 55;
}

body.menu-open::after {
  opacity: 1;
  pointer-events: auto;
}

body.menu-open {
  overflow: hidden;
}

.lightbox {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(8, 12, 24, 0.75);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  z-index: 80;
  padding: 32px;
}

.lightbox.is-open {
  opacity: 1;
  pointer-events: auto;
}

.lightbox img {
  max-width: min(92vw, 1200px);
  max-height: 86vh;
  border-radius: 20px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
}

body.lightbox-open {
  overflow: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: min(var(--max-width), 92vw);
  margin: 0 auto;
}

.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 70;
  backdrop-filter: blur(18px);
  background: rgba(255, 255, 255, 0.78);
  border-bottom: 1px solid var(--line);
}

.header .container {
  width: 100%;
  max-width: none;
  padding: 0 30px;
}

.header[data-scrolled="true"] {
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.12);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 24px;
  padding: 20px 0;
  min-height: 80px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 14px;
  font-family: var(--font-title);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 20px;
}

.logo-text {
  display: grid;
  gap: 4px;
  white-space: nowrap;
  letter-spacing: 0.04em;
  text-transform: none;
  font-family: var(--font-body);
}

.logo-title {
  font-family: var(--font-title);
  font-size: 18px;
  letter-spacing: 0.12em;
}

.logo-sub {
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
}

.logo-mark {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: linear-gradient(135deg, #38bdf8, #1d4ed8);
  box-shadow: 0 10px 30px rgba(56, 189, 248, 0.4);
}

.nav {
  position: relative;
  margin-left: auto;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--muted);
}

.nav a {
  padding: 8px 0;
  position: relative;
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: width 0.3s ease;
}

.nav a:hover::after,
.nav a:focus-visible::after {
  width: 100%;
}

.nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--line);
  color: var(--text);
  width: 44px;
  height: 44px;
  border-radius: 14px;
  padding: 0;
  position: relative;
  z-index: 80;
  align-items: center;
  justify-content: center;
  transition: background 0.3s ease, border 0.3s ease;
}

.nav-toggle span {
  position: absolute;
  left: 50%;
  width: 24px;
  height: 2px;
  background: var(--text);
  border-radius: 999px;
  transform-origin: center;
  transition: transform 0.35s ease, opacity 0.35s ease;
}

.nav-toggle span:nth-child(1) {
  transform: translate(-50%, -8px);
}

.nav-toggle span:nth-child(2) {
  transform: translate(-50%, 0);
}

.nav-toggle span:nth-child(3) {
  transform: translate(-50%, 8px);
}

.nav-toggle.is-open span:nth-child(1) {
  transform: translate(-50%, 0) rotate(45deg);
}

.nav-toggle.is-open span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.is-open span:nth-child(3) {
  transform: translate(-50%, 0) rotate(-45deg);
}

.nav-cta {
  display: none !important;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 14px 26px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 600;
  letter-spacing: 0.08em;
  font-size: 13px;
  text-transform: uppercase;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn-primary {
  background: linear-gradient(120deg, #2563eb, #1d4ed8);
  color: #ffffff;
  box-shadow: 0 16px 36px rgba(37, 99, 235, 0.25);
}

.btn-primary:hover {
  transform: translateY(-2px) scale(1.01);
}

.btn-outline {
  border-color: var(--line);
  color: var(--text);
  background: rgba(255, 255, 255, 0.7);
}

.section {
  padding: var(--section-gap) 0;
}

.section.band {
  background: #f1f5ff;
  border-top: 1px solid rgba(37, 99, 235, 0.08);
  border-bottom: 1px solid rgba(37, 99, 235, 0.08);
}

.section.band.alt {
  background: #ffffff;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.section-title {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 48px;
  flex-wrap: nowrap;
}

.section-title h2 {
  margin: 0;
  font-family: var(--font-title);
  font-size: clamp(32px, 4vw, 52px);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.section-title p {
  margin: 0;
  color: var(--muted);
  max-width: none;
  flex: 0 1 auto;
  white-space: nowrap;
}

.grid {
  display: grid;
  gap: 24px;
}

.grid-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.card {
  background: var(--card);
  border-radius: var(--radius-lg);
  padding: 28px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--muted);
}

.tag::before {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 12px rgba(56, 189, 248, 0.6);
}

.muted {
  color: var(--muted);
}

.divider {
  height: 1px;
  background: var(--line);
  margin: 32px 0;
}

.footer {
  padding: 60px 0 40px;
  border-top: 1px solid var(--line);
  background: #f4f6fb;
}

.footer-grid {
  display: grid;
  gap: 32px;
  grid-template-columns: 2fr 0.7fr 1fr;
}

.footer h4 {
  margin: 0 0 16px;
  font-family: var(--font-title);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

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

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

.footer-banners {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 18px;
}

.footer-banners a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.footer-banners img {
  height: 58px;
  width: auto;
  display: block;
}

.badge-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.info-list {
  display: grid;
  gap: 10px;
}

.info-list a,
.info-list div {
  color: var(--muted);
  font-size: 14px;
}

.badge {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 6px 14px;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

.hero {
  position: relative;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 50px;
  align-items: center;
}

.hero h1 {
  font-family: var(--font-title);
  font-size: clamp(44px, 6vw, 84px);
  margin: 0 0 24px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.hero p {
  margin: 0 0 32px;
  color: var(--muted);
  font-size: 18px;
}

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

.hero-media {
  position: relative;
  min-height: 420px;
}

.hero-stack {
  position: absolute;
  inset: 0;
}

.hero-card {
  position: absolute;
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  animation: float 8s ease-in-out infinite;
}

.hero-card:nth-child(1) {
  top: 0;
  left: 0;
  width: 70%;
  height: 60%;
  animation-delay: 0s;
}

.hero-card:nth-child(2) {
  bottom: 10%;
  right: 0;
  width: 60%;
  height: 55%;
  animation-delay: 1.2s;
}

.hero-card:nth-child(3) {
  top: 35%;
  left: 18%;
  width: 50%;
  height: 40%;
  animation-delay: 2.4s;
}

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

@keyframes float {
  0%, 100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-18px);
  }
}

.marquee {
  display: flex;
  gap: 24px;
  overflow: hidden;
  position: relative;
  border-radius: var(--radius-xl);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.85);
}

.marquee-track {
  display: flex;
  gap: 24px;
  animation: scroll 26s linear infinite;
}

.marquee img {
  width: 280px;
  height: 180px;
  object-fit: cover;
  border-radius: 18px;
}

@keyframes scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

.stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
}

.stat {
  padding: 24px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid var(--line);
  text-align: center;
}

.stat h3 {
  margin: 0;
  font-size: 34px;
  font-family: var(--font-title);
}

.stat span {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--muted);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.gallery-grid .tile {
  position: relative;
  overflow: hidden;
  border-radius: 20px;
  border: 1px solid var(--line);
  min-height: 200px;
}

.gallery-grid .tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
  cursor: zoom-in;
}

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

.map-frame {
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.9);
  min-height: 320px;
  position: relative;
}

.map-frame iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
  position: absolute;
  inset: 0;
}

.cta {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-xl);
  padding: 60px;
  background: linear-gradient(120deg, rgba(37, 99, 235, 0.18), rgba(16, 185, 129, 0.2));
  border: 1px solid var(--line);
}

.cta-compact {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.cta-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.cta-actions .btn {
  padding: 16px 32px;
  font-size: 14px;
}

.cta h3 {
  margin: 0 0 12px;
  font-family: var(--font-title);
  font-size: clamp(24px, 2.6vw, 36px);
}

.cta p {
  margin: 0 0 24px;
  color: var(--muted);
}

.inner-hero {
  padding: 120px 0 80px;
  border-bottom: 1px solid var(--line);
}

.inner-hero h1 {
  font-family: var(--font-title);
  font-size: clamp(36px, 4.5vw, 60px);
  margin: 0 0 16px;
  text-transform: uppercase;
}

.breadcrumb {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--muted);
}

.table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
}

.table th,
.table td {
  text-align: left;
  padding: 14px 16px;
  font-size: 14px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.table tr > *:first-child {
  border-left: 1px solid var(--line);
}

.table tr:first-child > * {
  border-top: 1px solid var(--line);
}

.table th {
  background: #f5f7fb;
  font-weight: 600;
}

.form {
  display: grid;
  gap: 18px;
}

.form input,
.form textarea,
.form select {
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid var(--line);
  color: var(--text);
  border-radius: 12px;
  padding: 14px 16px;
  font-size: 14px;
  width: 100%;
}

.form label {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--muted);
  display: block;
  margin-bottom: 6px;
}

.form-note {
  margin: -4px 0 0;
  font-size: 12px;
  color: var(--muted);
}

html.js [data-animate] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

html.js [data-animate].is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1230px) {
  .nav {
    position: fixed;
    top: 0;
    right: 0;
    width: min(86vw, 360px);
    height: 100vh;
    background: rgba(255, 255, 255, 0.98);
    border-left: 1px solid var(--line);
    box-shadow: 0 24px 60px rgba(15, 23, 42, 0.18);
    transform: translateX(110%);
    transition: transform 0.4s ease;
    padding: 90px 24px 28px;
    z-index: 60;
  }

  .nav.is-open {
    transform: translateX(0);
  }

  .nav-links {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
    font-size: 16px;
  }

  .nav-links a {
    opacity: 0;
    transform: translateX(12px);
    transition: opacity 0.35s ease, transform 0.35s ease;
  }

  .nav.is-open .nav-links a {
    opacity: 1;
    transform: translateX(0);
  }

  .nav.is-open .nav-links a:nth-child(1) { transition-delay: 0.05s; }
  .nav.is-open .nav-links a:nth-child(2) { transition-delay: 0.1s; }
  .nav.is-open .nav-links a:nth-child(3) { transition-delay: 0.15s; }
  .nav.is-open .nav-links a:nth-child(4) { transition-delay: 0.2s; }
  .nav.is-open .nav-links a:nth-child(5) { transition-delay: 0.25s; }
  .nav.is-open .nav-links a:nth-child(6) { transition-delay: 0.3s; }
  .nav.is-open .nav-links a:nth-child(7) { transition-delay: 0.35s; }

  .nav-cta {
    display: inline-flex !important;
    width: 100%;
    justify-content: center;
    margin-top: 8px;
  }

  .nav-toggle {
    display: inline-flex;
    margin-left: auto;
  }

  .header-cta {
    display: none;
  }
}

@media (max-width: 980px) {
  .cta-compact {
    flex-direction: column;
    align-items: flex-start;
  }

  .cta-actions {
    width: 100%;
  }

  .logo-text {
    gap: 2px;
  }

  .logo-title {
    font-size: 16px;
  }

  .logo-sub {
    font-size: 10px;
  }

  .section-title {
    align-items: flex-start;
    flex-wrap: wrap;
  }

  .section-title p {
    max-width: 100%;
    white-space: normal;
  }

  .header-inner {
    padding: 16px 0;
    min-height: 68px;
  }

  .logo {
    font-size: 15px;
    letter-spacing: 0.08em;
  }

  .logo-text {
    font-size: 13px;
    max-width: 180px;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  body {
    padding-top: 68px;
  }

  .hero-grid,
  .grid-2,
  .grid-3,
  .stats,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero-media {
    min-height: 360px;
  }

  .section {
    padding: 90px 0;
  }
}

@media (max-width: 640px) {
  .hero {
    padding: 80px 0 60px;
  }

  .hero h1 {
    font-size: 42px;
  }

  .hero-actions {
    flex-direction: column;
    align-items: flex-start;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .cta {
    padding: 40px 28px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
