:root {
  --bg: #f8fafc;
  --surface: #ffffff;
  --surface-soft: #f1f5f9;
  --border: rgba(15, 23, 42, 0.1);
  --border-strong: rgba(15, 23, 42, 0.18);
  --text: #0f172a;
  --text-soft: #475569;
  --text-muted: #64748b;
  --accent: #0f766e;
  --accent-strong: #115e59;
  --accent-soft: rgba(15, 118, 110, 0.12);
  --highlight: #1d4ed8;
  --shadow: 0 20px 60px rgba(15, 23, 42, 0.08);
  --radius: 22px;
  --radius-sm: 14px;
  --container: 1120px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Noto Sans JP", "Hiragino Sans", "Yu Gothic", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top right, rgba(29, 78, 216, 0.08), transparent 28%),
    linear-gradient(180deg, #ffffff 0%, #f8fafc 42%, #f1f5f9 100%);
  line-height: 1.7;
}

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

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

button,
a.button {
  font: inherit;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.container {
  width: min(calc(100% - 2rem), var(--container));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  border-bottom: 1px solid rgba(255, 255, 255, 0.5);
  background: rgba(248, 250, 252, 0.82);
  backdrop-filter: blur(18px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: 78px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 68px;
  padding: 0.45rem 0.7rem;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--accent), var(--highlight));
  color: #fff;
  font-size: 0.9rem;
}

.brand-text {
  font-size: 0.98rem;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.2rem;
}

.site-nav a {
  padding: 0.45rem 0.1rem;
  color: var(--text-soft);
  font-weight: 500;
  border-bottom: 2px solid transparent;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.site-nav a:hover,
.site-nav a.is-active {
  color: var(--text);
  border-color: var(--accent);
}

.menu-toggle {
  display: none;
  width: 48px;
  height: 48px;
  padding: 0;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: #fff;
  align-items: center;
  justify-content: center;
  gap: 4px;
  cursor: pointer;
}

.menu-toggle span:not(.visually-hidden) {
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: var(--text);
}

.hero,
.page-hero {
  padding: 5rem 0 2.5rem;
}

.hero-grid,
.page-hero-grid,
.split-grid,
.footer-grid,
.cta-band {
  display: grid;
  gap: 1.5rem;
}

.hero-grid,
.page-hero-grid {
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
  align-items: start;
}

.eyebrow {
  margin: 0 0 0.9rem;
  color: var(--accent);
  font-weight: 700;
  font-size: 0.86rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0 0 0.8rem;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

h1 {
  font-size: clamp(2.2rem, 5vw, 4.5rem);
  max-width: 11ch;
}

h2 {
  font-size: clamp(1.8rem, 3vw, 2.8rem);
}

h3 {
  font-size: 1.2rem;
}

p {
  margin: 0 0 1rem;
  color: var(--text-soft);
}

.lead {
  max-width: 60ch;
  font-size: 1.08rem;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin: 1.6rem 0 0;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.9rem 1.3rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 700;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button-primary {
  background: linear-gradient(135deg, var(--accent), var(--highlight));
  color: #fff;
  box-shadow: 0 14px 34px rgba(15, 118, 110, 0.22);
}

.button-secondary {
  border-color: var(--border-strong);
  background: rgba(255, 255, 255, 0.72);
  color: var(--text);
}

.mini-points,
.chip-list,
.list-check {
  margin: 1.2rem 0 0;
  padding: 0;
  list-style: none;
}

.mini-points {
  display: grid;
  gap: 0.55rem;
}

.mini-points li {
  color: var(--text-soft);
}

.mini-points li::before,
.list-check li::before {
  content: "";
  display: inline-block;
  width: 0.55rem;
  height: 0.55rem;
  margin-right: 0.7rem;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--accent), var(--highlight));
  vertical-align: middle;
}

.hero-card,
.service-card,
.theme-card,
.process-card,
.panel,
.detail-card,
.contact-card,
.info-card,
.legal-card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--shadow);
}

.hero-card {
  padding: 1.6rem;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(241, 245, 249, 0.94)),
    #fff;
}

.card-label {
  margin-bottom: 0.8rem;
  color: var(--text-muted);
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.section {
  padding: 2.5rem 0;
}

.section-alt {
  background: rgba(255, 255, 255, 0.42);
}

.section-head {
  max-width: 720px;
  margin-bottom: 1.7rem;
}

.card-grid {
  display: grid;
  gap: 1.2rem;
}

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

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

.service-card,
.theme-card,
.process-card,
.panel,
.detail-card,
.contact-card,
.info-card,
.legal-card {
  padding: 1.5rem;
}

.text-link {
  display: inline-flex;
  margin-top: 1rem;
  color: var(--accent-strong);
  font-weight: 700;
}

.chip-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.chip-list li {
  padding: 0.45rem 0.8rem;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent-strong);
  font-size: 0.92rem;
  font-weight: 600;
}

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

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

.process-number {
  display: inline-flex;
  margin-bottom: 1rem;
  padding: 0.35rem 0.6rem;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.08);
  color: var(--text);
  font-size: 0.85rem;
  font-weight: 800;
}

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

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

.legal-stack {
  display: grid;
  gap: 1rem;
}

.cta-band {
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  padding: 1.8rem;
  border: 1px solid rgba(15, 118, 110, 0.18);
  border-radius: calc(var(--radius) + 4px);
  background:
    radial-gradient(circle at left top, rgba(15, 118, 110, 0.12), transparent 36%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(241, 245, 249, 0.98));
  box-shadow: var(--shadow);
}

.site-footer {
  margin-top: 2rem;
  padding: 2rem 0;
  border-top: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.64);
}

.footer-grid {
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: start;
}

.footer-brand {
  margin-bottom: 0.4rem;
  color: var(--text);
  font-weight: 700;
}

.footer-copy {
  max-width: 38rem;
  color: var(--text-muted);
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-nav a,
.footer-bottom a {
  color: var(--text-soft);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 1.2rem;
  padding-top: 1.2rem;
  border-top: 1px solid var(--border);
}

@media (max-width: 920px) {
  .hero-grid,
  .page-hero-grid,
  .card-grid-3,
  .theme-grid,
  .process-grid,
  .split-grid,
  .cta-band,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .card-grid-2,
  .info-grid {
    grid-template-columns: 1fr;
  }

  h1 {
    max-width: 100%;
  }
}

@media (max-width: 760px) {
  .site-nav {
    position: absolute;
    top: calc(100% + 0.75rem);
    left: 1rem;
    right: 1rem;
    display: none;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.35rem;
    padding: 1rem;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    background: rgba(255, 255, 255, 0.98);
    box-shadow: var(--shadow);
  }

  .site-header.is-open .site-nav {
    display: flex;
  }

  .site-nav a {
    width: 100%;
    padding: 0.75rem 0.1rem;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .hero,
  .page-hero {
    padding-top: 4rem;
  }

  .footer-bottom {
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .button,
  .site-nav a {
    transition: none;
  }
}
