/* ===== Base ===== */
:root {
  --ink:      #14181f;
  --ink-mid:  #4a5464;
  --ink-soft: #7a8494;
  --line:     #e4e7ec;
  --bg:       #ffffff;
  --bg-alt:   #f6f8fa;
  --accent:   #1f5fd6;
  --accent-d: #17499f;
  --maxw:     1080px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN",
               "Hiragino Sans", "Yu Gothic", "Meiryo", sans-serif;
  font-size: 16px;
  line-height: 1.9;
  -webkit-font-smoothing: antialiased;
}

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

.container {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
}

/* ===== Header ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}

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

.logo {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--ink);
}
.logo:hover { text-decoration: none; }

.nav {
  display: flex;
  align-items: center;
  gap: 26px;
  font-size: 14px;
}

.nav a {
  color: var(--ink-mid);
  white-space: nowrap;
}
.nav a:hover { color: var(--ink); text-decoration: none; }

.nav-cta {
  padding: 8px 16px;
  border: 1px solid var(--accent);
  border-radius: 999px;
  color: var(--accent) !important;
}
.nav-cta:hover { background: var(--accent); color: #fff !important; }

/* ===== Hero ===== */
.hero {
  padding: 104px 0 96px;
  background: linear-gradient(180deg, #f4f7fc 0%, #ffffff 100%);
  border-bottom: 1px solid var(--line);
}

.hero-eyebrow {
  margin: 0 0 20px;
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
}

.hero-title {
  margin: 0 0 28px;
  font-size: clamp(30px, 5vw, 48px);
  line-height: 1.45;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.hero-lead {
  margin: 0 0 36px;
  max-width: 46em;
  color: var(--ink-mid);
}

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

.btn {
  display: inline-block;
  padding: 13px 30px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 700;
  transition: background .15s, color .15s, border-color .15s;
}
.btn:hover { text-decoration: none; }

.btn-primary {
  background: var(--accent);
  color: #fff;
  border: 1px solid var(--accent);
}
.btn-primary:hover { background: var(--accent-d); border-color: var(--accent-d); }

.btn-ghost {
  background: #fff;
  color: var(--ink);
  border: 1px solid var(--line);
}
.btn-ghost:hover { border-color: var(--ink-soft); }

/* ===== Sections ===== */
.section { padding: 88px 0; }
.section-alt { background: var(--bg-alt); border-block: 1px solid var(--line); }

.page-head { padding-bottom: 0; }

.section-eyebrow {
  margin: 0 0 10px;
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
}

.section-title {
  margin: 0 0 24px;
  font-size: clamp(24px, 3.4vw, 32px);
  font-weight: 700;
  letter-spacing: 0.01em;
}

.section-lead {
  margin: 0;
  max-width: 48em;
  color: var(--ink-mid);
}

/* ===== Cards ===== */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
  margin-top: 36px;
}

.card {
  padding: 30px 28px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
}

.card-title {
  margin: 0 0 12px;
  font-size: 18px;
  font-weight: 700;
}

.card-text {
  margin: 0;
  font-size: 15px;
  color: var(--ink-mid);
}

/* ===== Stat ===== */
.stat { margin: 32px 0 28px; }

.stat-number {
  margin: 0;
  font-size: clamp(52px, 9vw, 84px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--accent);
}

.stat-unit {
  margin-left: 6px;
  font-size: 0.34em;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--ink);
}

.stat-label {
  margin: 8px 0 0;
  font-size: 14px;
  color: var(--ink-soft);
}

/* ===== Info table ===== */
.info-table {
  width: 100%;
  margin-top: 32px;
  border-collapse: collapse;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  font-size: 15px;
}

.info-table th,
.info-table td {
  padding: 18px 24px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--line);
}

.info-table tr:last-child th,
.info-table tr:last-child td { border-bottom: none; }

.info-table th {
  width: 180px;
  font-weight: 700;
  color: var(--ink-mid);
  background: var(--bg-alt);
  white-space: nowrap;
}

/* ===== Contact ===== */
.contact-mail {
  margin: 28px 0 8px;
  font-size: clamp(20px, 3vw, 26px);
  font-weight: 700;
  word-break: break-all;
}

.contact-note {
  margin: 0;
  font-size: 14px;
  color: var(--ink-soft);
}

/* ===== Prose (privacy) ===== */
.prose { max-width: 48em; }
.prose h2 {
  margin: 44px 0 12px;
  font-size: 18px;
  font-weight: 700;
  padding-left: 12px;
  border-left: 3px solid var(--accent);
}
.prose p { margin: 0 0 16px; color: var(--ink-mid); }

/* ===== Footer ===== */
.site-footer {
  padding: 48px 0;
  background: var(--ink);
  color: #cfd6e0;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.footer-logo {
  margin: 0;
  font-size: 20px;
  font-weight: 700;
  color: #fff;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  font-size: 14px;
}
.footer-nav a { color: #cfd6e0; }
.footer-nav a:hover { color: #fff; }

.copyright {
  margin: 0;
  width: 100%;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 13px;
  color: var(--ink-soft);
}

/* ===== Responsive ===== */
@media (max-width: 720px) {
  .header-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    padding-block: 12px;
  }
  .nav { gap: 16px; font-size: 13px; flex-wrap: wrap; }
  .hero { padding: 64px 0 60px; }
  .section { padding: 60px 0; }
  .info-table th, .info-table td { padding: 14px 16px; }
  .info-table th { width: 110px; white-space: normal; }
}
