:root {
  --bg: #050608;
  --bg-alt: #0c0f16;
  --fg: #f5f5f7;
  --muted: #a0a3b1;
  --accent: #e3b341;
  --border-subtle: #222531;
  --max-width: 960px;
}

/* Reset-ish */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: radial-gradient(circle at top, #181b2a 0, var(--bg) 55%);
  color: var(--fg);
  line-height: 1.6;
}

a {
  color: inherit;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

/* Header (共通) */

.site-header {
  border-bottom: 1px solid var(--border-subtle);
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(14px);
  background: linear-gradient(
    to bottom,
    rgba(5, 6, 8, 0.9),
    rgba(5, 6, 8, 0.7)
  );
}

.nav-container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0.75rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.logo-img {
  height: 32px;         
  width: auto;
  display: block;
}

.logo-text {
  display: none;        
  color: var(--muted);
  white-space: nowrap;
}


@media (max-width: 768px) {
  .logo-text {
    display: inline-block;
    font-size: 0.7rem;
    letter-spacing: 0.16em;
  }
}

nav ul {
  list-style: none;
  display: flex;
  gap: 1.5rem;
  align-items: center;
  font-size: 0.9rem;
}

nav a {
  color: var(--muted);
  white-space: nowrap;
}

nav a.active {
  color: var(--fg);
}

.nav-cta {
  border-radius: 999px;
  border: 1px solid var(--accent);
  padding: 0.35rem 0.85rem;
  font-size: 0.85rem;
  color: var(--accent);
}

/* Layout */

main {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 2.5rem 1.25rem 3.5rem;
}

section {
  margin-bottom: 3rem;
}

section h2 {
  font-size: 1.25rem;
  margin-bottom: 1rem;
}

/* Hero (index) */

.hero {
  display: grid;
  grid-template-columns: minmax(0, 2.2fr) minmax(0, 1.6fr);
  gap: 2.75rem;
  padding: 2.25rem 1.75rem;
  border-radius: 1.5rem;
  border: 1px solid var(--border-subtle);
  background: radial-gradient(circle at top left, #202438 0, var(--bg-alt) 60%);
  margin-bottom: 3rem;
}

.hero-kicker {
  text-transform: uppercase;
  letter-spacing: 0.3em;
  font-size: 0.7rem;
  color: var(--muted);
  margin-bottom: 0.9rem;
}

.hero-title {
  font-size: clamp(1.9rem, 3vw + 1rem, 2.7rem);
  line-height: 1.12;
  margin-bottom: 0.9rem;
}

.hero-subtitle {
  color: var(--muted);
  font-size: 0.98rem;
  max-width: 28rem;
  margin-bottom: 1.6rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
}

.btn-primary,
.btn-ghost {
  border-radius: 999px;
  padding: 0.65rem 1.4rem;
  font-size: 0.9rem;
  border: 1px solid transparent;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  text-decoration: none;
}

.btn-primary {
  background: var(--accent);
  color: #111;
  border-color: var(--accent);
}

.btn-ghost {
  background: transparent;
  color: var(--muted);
  border-color: var(--border-subtle);
}

.hero-meta {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--muted);
  margin-top: 0.75rem;
}

.hero-panel {
  border-radius: 1.25rem;
  border: 1px solid var(--border-subtle);
  background: radial-gradient(circle at top, #262b44 0, #0b0e17 55%);
  padding: 1.5rem 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  font-size: 0.9rem;
}

.hero-panel-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.26em;
  color: var(--muted);
  margin-bottom: 0.5rem;
}

.hero-panel-title {
  font-size: 1.05rem;
  font-weight: 500;
  margin-bottom: 0.25rem;
}

.hero-panel-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.9rem;
  margin-top: 0.75rem;
}

.chip {
  font-size: 0.78rem;
  border-radius: 999px;
  border: 1px solid var(--border-subtle);
  padding: 0.15rem 0.55rem;
  color: var(--muted);
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  white-space: nowrap;
}

/* Common sections */

.section-lead {
  color: var(--muted);
  font-size: 0.95rem;
  max-width: 40rem;
  margin-bottom: 1.4rem;
}

.quote-block {
  border-radius: 1.1rem;
  border: 1px solid var(--border-subtle);
  padding: 1.35rem 1.5rem;
  background: radial-gradient(circle at top left, #171a2a 0, #050608 60%);
  font-size: 0.95rem;
}

.quote-block p {
  margin-bottom: 0.45rem;
}

.quote-block p:last-child {
  margin-bottom: 0;
}

.grid-two {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1.2fr);
  gap: 2rem;
  align-items: flex-start;
}

.list-muted {
  list-style: none;
  color: var(--muted);
  font-size: 0.92rem;
}

.list-muted li + li {
  margin-top: 0.6rem;
}

.contact-card {
  border-radius: 1.1rem;
  border: 1px solid var(--border-subtle);
  padding: 1.2rem 1.4rem;
  font-size: 0.92rem;
  background: linear-gradient(145deg, #0c0f16, #050608);
}

.contact-card dt {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--muted);
  margin-bottom: 0.25rem;
}

.contact-card dd {
  margin: 0 0 0.75rem;
}

/* HAV page */

.page-header {
  padding: 1.75rem 1.75rem 1.5rem;
  border-radius: 1.4rem;
  border: 1px solid var(--border-subtle);
  background: radial-gradient(circle at top left, #252a40 0, var(--bg-alt) 70%);
  margin-bottom: 2.5rem;
}

.page-kicker {
  text-transform: uppercase;
  letter-spacing: 0.28em;
  font-size: 0.7rem;
  color: var(--muted);
  margin-bottom: 0.8rem;
}

.page-title {
  font-size: clamp(1.7rem, 2.7vw + 1rem, 2.3rem);
  margin-bottom: 0.75rem;
}

.page-subtitle {
  color: var(--muted);
  font-size: 0.96rem;
  max-width: 40rem;
}

.block {
  border-radius: 1.1rem;
  border: 1px solid var(--border-subtle);
  background: linear-gradient(145deg, #0b0e16, #050608);
  padding: 1.3rem 1.5rem;
  font-size: 0.95rem;
}

.block p + p {
  margin-top: 0.65rem;
}

section h3 {
  font-size: 1.05rem;
  margin-bottom: 0.5rem;
}

.pill {
  display: inline-flex;
  align-items: center;
  padding: 0.18rem 0.6rem;
  border-radius: 999px;
  border: 1px solid var(--border-subtle);
  font-size: 0.78rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-bottom: 0.5rem;
}

ul.checklist {
  list-style: none;
  color: var(--muted);
  font-size: 0.93rem;
}

ul.checklist li + li {
  margin-top: 0.5rem;
}

/* Footer (共通) */

.site-footer {
  background: #000;
  color: #fff;
  border-top: 1px solid #111;
  padding: 2.2rem 1.25rem 2.4rem;
  margin-top: 2rem;
}

.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  gap: 3rem;
  justify-content: space-between;
}

.footer-column {
  flex: 1 1 0;
}

.footer-title {
  font-size: 1.35rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.footer-list {
  list-style: none;
  font-size: 0.95rem;
}

.footer-list li + li {
  margin-top: 0.4rem;
}

.footer-icon {
  margin-right: 0.55rem;
}

.footer-about-text {
  font-size: 0.95rem;
  line-height: 1.7;
}

/* Responsive */

@media (max-width: 768px) {
  nav ul {
    display: none;
  }

  .hero {
    grid-template-columns: 1fr;
    padding: 1.75rem 1.2rem;
  }

  .hero-panel {
    order: -1;
  }

  .grid-two {
    grid-template-columns: 1fr;
  }

  .page-header {
    padding: 1.5rem 1.3rem;
  }

  .site-footer {
    padding-inline: 1rem;
  }

  .footer-inner {
    flex-direction: column;
    gap: 1.5rem;
  }
}
