:root {
  --bg: #f6f8fa;
  --surface: #ffffff;
  --text: #14181c;
  --text-muted: #5a6570;
  --accent: #0d3b5c;
  --accent-hover: #0a2f49;
  --accent-soft: #e4eef5;
  --border: #dde3e8;
  --shadow: 0 4px 24px rgba(13, 59, 92, 0.06);
  --radius: 10px;
  --font: "Noto Sans JP", "Hiragino Sans", "Yu Gothic UI", sans-serif;
  --max: 1120px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.75;
  color: var(--text);
  background: var(--bg);
}

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

a:hover {
  text-decoration: underline;
}

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

.skip-link:focus {
  left: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0.9rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.02em;
  color: var(--text);
}

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

.logo-mark {
  display: flex;
  flex-shrink: 0;
}

.logo-text {
  line-height: 1.2;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1.15rem;
  justify-content: flex-end;
}

.nav a {
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--text-muted);
}

.nav a:hover {
  color: var(--accent);
  text-decoration: none;
}

.hero {
  padding: 3.5rem 1.5rem 4.5rem;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 100%;
  max-height: 420px;
  background: linear-gradient(
    135deg,
    var(--accent-soft) 0%,
    rgba(228, 238, 245, 0.35) 45%,
    transparent 100%
  );
  pointer-events: none;
}

.hero-inner {
  position: relative;
  max-width: var(--max);
  margin: 0 auto;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 2.5rem 2rem;
  align-items: center;
}

.hero-eyebrow {
  margin: 0 0 0.75rem;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  color: var(--accent);
}

.hero h1 {
  margin: 0 0 1.1rem;
  font-size: clamp(1.65rem, 3.8vw, 2.45rem);
  font-weight: 700;
  letter-spacing: 0.03em;
  line-height: 1.32;
}

.hero-lead {
  margin: 0 0 1.75rem;
  max-width: 34rem;
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.8;
}

.hero-cta-row {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem 0.85rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.65rem 1.35rem;
  font-size: 0.875rem;
  font-weight: 600;
  font-family: inherit;
  border-radius: 6px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
}

.btn--primary {
  background: var(--accent);
  color: #fff;
}

.btn--primary:hover {
  background: var(--accent-hover);
  color: #fff;
  text-decoration: none;
}

.btn--ghost {
  background: transparent;
  color: var(--accent);
  border-color: var(--border);
}

.btn--ghost:hover {
  border-color: var(--accent);
  background: rgba(13, 59, 92, 0.04);
  text-decoration: none;
}

.hero-panel {
  position: relative;
  min-height: 220px;
}

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

.stat-card {
  padding: 1.15rem 1.2rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.stat-num {
  display: block;
  font-size: 1.65rem;
  font-weight: 700;
  color: var(--accent);
  line-height: 1.1;
  letter-spacing: 0.02em;
}

.stat-label {
  display: block;
  margin-top: 0.35rem;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: 0.04em;
}

.stat-card--wide {
  grid-column: span 2;
}

.hero-deco {
  position: absolute;
  right: -8%;
  bottom: -15%;
  width: 55%;
  max-width: 280px;
  aspect-ratio: 1;
  border-radius: 32% 68% 62% 38% / 38% 42% 58% 62%;
  background: linear-gradient(145deg, var(--accent) 0%, #1a5c85 100%);
  opacity: 0.12;
  pointer-events: none;
}

.section {
  padding: 4.25rem 1.5rem;
}

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

.section-inner {
  max-width: var(--max);
  margin: 0 auto;
}

.section-head {
  max-width: 36rem;
  margin-bottom: 2.25rem;
}

.section-label {
  margin: 0 0 0.4rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
}

.section h2 {
  margin: 0 0 0.65rem;
  font-size: clamp(1.3rem, 2.8vw, 1.7rem);
  font-weight: 700;
}

.section-lead {
  margin: 0;
  font-size: 0.975rem;
  color: var(--text-muted);
  line-height: 1.75;
}

.prose {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.975rem;
  line-height: 1.85;
}

.prose + .prose {
  margin-top: 1rem;
}

.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 320px) minmax(0, 1fr);
  gap: 2.5rem 3rem;
  align-items: start;
}

.about-aside h2 {
  margin-top: 0;
}

.about-highlights {
  margin: 1.75rem 0 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--border);
}

.about-highlights li {
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.about-highlights li::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
}

.about-main {
  padding-top: 0.25rem;
}

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

.card {
  position: relative;
  padding: 1.65rem 1.5rem 1.5rem;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.03);
  height: 100%;
}

.section--alt .card {
  background: var(--surface);
}

.card-num {
  position: absolute;
  top: 1.1rem;
  right: 1.25rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: rgba(13, 59, 92, 0.35);
}

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

.card h3 {
  margin: 0 0 0.7rem;
  font-size: 1.05rem;
  font-weight: 600;
  padding-right: 2.5rem;
}

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

.company-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 340px);
  gap: 2rem 2.5rem;
  align-items: start;
}

.company-table-wrap {
  overflow-x: auto;
}

.company-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9375rem;
}

.company-table th,
.company-table td {
  padding: 0.9rem 1rem;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--border);
}

.company-table th {
  width: 7.5rem;
  font-weight: 600;
  color: var(--text-muted);
  white-space: nowrap;
  background: rgba(13, 59, 92, 0.03);
}

.info-card {
  padding: 1.5rem;
  background: var(--accent-soft);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.info-card h3 {
  margin: 0 0 0.65rem;
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--accent);
}

.info-card p {
  margin: 0 0 1rem;
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.7;
}

.info-card p:last-of-type {
  margin-bottom: 0;
}

.info-card a {
  font-size: 0.875rem;
  font-weight: 600;
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 340px) minmax(0, 1fr);
  gap: 2.5rem 3rem;
  align-items: start;
}

.contact-intro .prose {
  max-width: none;
}

.text-small {
  margin: 1.25rem 0 0;
  font-size: 0.875rem;
  color: var(--text-muted);
}

.contact-form-wrap {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem 1.5rem 2rem;
  box-shadow: var(--shadow);
}

.form-note {
  margin: 0 0 1.25rem;
  font-size: 0.8125rem;
  color: var(--text-muted);
  line-height: 1.65;
}

.form-row {
  margin-bottom: 1.1rem;
}

.form-row label {
  display: block;
  margin-bottom: 0.35rem;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--text);
}

.form-row .optional {
  font-weight: 400;
  color: var(--text-muted);
  font-size: 0.75rem;
}

.form-row input,
.form-row textarea {
  width: 100%;
  padding: 0.65rem 0.85rem;
  font-size: 0.9375rem;
  font-family: inherit;
  border: 1px solid var(--border);
  border-radius: 6px;
  background: #fff;
  color: var(--text);
  transition: border-color 0.15s, box-shadow 0.15s;
}

.form-row input:focus,
.form-row textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(13, 59, 92, 0.12);
}

.form-row textarea {
  min-height: 140px;
  resize: vertical;
}

.form-honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-actions {
  margin-top: 1.35rem;
}

.form-actions .btn {
  width: 100%;
  padding: 0.75rem 1.25rem;
}

.form-status {
  margin-top: 1rem;
  padding: 0.75rem 1rem;
  font-size: 0.875rem;
  border-radius: 6px;
  line-height: 1.5;
}

.form-status--success {
  background: #e8f6ee;
  color: #1e5c3a;
  border: 1px solid #b8dfc8;
}

.form-status--error {
  background: #fcefed;
  color: #8c2f2f;
  border: 1px solid #f0c4c4;
}

.site-footer {
  padding: 2rem 1.5rem;
  border-top: 1px solid var(--border);
  background: var(--surface);
}

.footer-inner {
  max-width: var(--max);
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 2rem;
}

.footer-inner p {
  margin: 0;
  font-size: 0.8125rem;
  color: var(--text-muted);
}

.footer-inner a {
  font-weight: 600;
}

.legal-main {
  padding: 3rem 1.5rem 4rem;
  background: var(--surface);
  min-height: 50vh;
}

.legal-inner {
  max-width: 720px;
  margin: 0 auto;
}

.legal-title {
  margin: 0 0 0.5rem;
  font-size: clamp(1.35rem, 3vw, 1.75rem);
  font-weight: 700;
}

.legal-updated {
  margin: 0 0 2rem;
  font-size: 0.875rem;
  color: var(--text-muted);
}

.legal-body h2 {
  margin: 2rem 0 0.65rem;
  font-size: 1.05rem;
  font-weight: 700;
}

.legal-body h2:first-of-type {
  margin-top: 1.5rem;
}

.legal-body p,
.legal-body li {
  font-size: 0.9375rem;
  color: var(--text-muted);
  line-height: 1.8;
}

.legal-body ul {
  margin: 0.5rem 0 0;
  padding-left: 1.35rem;
}

.legal-body li + li {
  margin-top: 0.35rem;
}

.legal-signoff {
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.85;
}

.legal-back {
  margin: 2.5rem 0 0;
}

@media (max-width: 900px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }

  .hero-panel {
    order: -1;
    max-width: 420px;
  }

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

  .about-highlights {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0 1rem;
    border-top: none;
  }

  .about-highlights li {
    border: 1px solid var(--border);
    border-radius: 6px;
    padding: 0.65rem 0.85rem;
    margin-bottom: 0.5rem;
  }

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

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

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

@media (max-width: 640px) {
  .header-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .about-highlights {
    grid-template-columns: 1fr;
  }

  .company-table th {
    display: block;
    width: 100%;
    padding-bottom: 0.25rem;
    border-bottom: none;
    background: transparent;
  }

  .company-table td {
    display: block;
    width: 100%;
    padding-top: 0;
    padding-bottom: 1rem;
  }

  .company-table tr {
    display: block;
    border-bottom: 1px solid var(--border);
  }

  .company-table tr:last-child {
    border-bottom: none;
  }
}
