:root {
  --bg-sub: #f1f6f3;
  --surface: #ffffff;

  --text-main: #444d48;
  --text-sub: #707e78;
  --text-muted: #d0d8d4;

  --line-soft: #919492;
  --line-mid: #9aa39d;

  --brand: #69756f;
  --brand-dark: #5a6861;
  --brand-deep: #4e5c54;

  --white: #ffffff;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family:
    "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", "Meiryo",
    sans-serif;
}

body.sub-page {
  background: var(--bg-sub);
}

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

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

.container {
  width: min(100% - 32px, 1120px);
  margin: 0 auto;
}

/* =========================
   TOP HEADER
========================= */

.top-header {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  width: 100%;
  height: 11px;
  background: linear-gradient(180deg, var(--brand), var(--brand-dark));
}

.top-header__inner {
  width: 100%;
  padding: 0 16px;
}

.top-header__logo {
  margin: 0;
  font-size: 9px;
  letter-spacing: 0.08em;
  color: #ffffff;
}

/* =========================
   Sub Page Header
========================= */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #ffffff;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 60px;
  gap: 16px;
}

.site-logo {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--text-main);
  white-space: nowrap;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 24px;
}

.site-nav a {
  font-size: 12px;
  color: #777;
  transition: color 0.3s ease;
}

.site-nav a:hover {
  color: #111;
}

.site-nav a.is-current {
  color: #111;
  font-weight: 600;
}

/* =========================
   Sub Page Hero 共通
========================= */

.page-hero {
  padding: 96px 0 56px;
}

.page-hero__box {
  padding: clamp(28px, 5vw, 48px);
  border-radius: 24px;
  background: var(--surface);
  border: 1px solid var(--line-soft);
}

.page-eyebrow {
  display: inline-block;
  margin: 0 0 10px;
  font-size: 12px;
  letter-spacing: 0.12em;
  color: var(--text-muted);
}

.page-title {
  margin: 0;
  font-size: clamp(16px, 5vw, 30px);
  line-height: 1.1;
  color: var(--text-main);
}

.page-lead {
  margin-top: 16px;
  max-width: 700px;
  font-size: 16px;
  line-height: 1.9;
  color: var(--text-sub);
}

.section-title {
  margin: 0 0 16px;
  font-size: 20px;
  line-height: 1.4;
  color: var(--text-main);
}

/* =========================
   Shared Buttons
========================= */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 20px;
  border: none;
  border-radius: 999px;
  font-size: 14px;
  line-height: 1;
  text-decoration: none;
  cursor: pointer;
  transition:
    opacity 0.3s ease,
    transform 0.3s ease,
    background-color 0.3s ease,
    border-color 0.3s ease;
}

.btn:hover {
  opacity: 0.92;
  transform: translateY(-1px);
}

.btn--primary {
  background: var(--brand);
  color: var(--white);
}

.btn--light {
  background: var(--white);
  color: var(--text-main);
}

.btn--ghost {
  border: 1px solid rgba(255, 255, 255, 0.4);
  color: var(--white);
}

@media (max-width: 768px) {
  .site-header__inner {
    min-height: 52px;
  }

  .site-nav {
    gap: 16px;
  }

  .site-nav a {
    font-size: 11px;
  }

  .page-hero {
    padding: 72px 0 36px;
  }

  .page-lead {
    font-size: 14px;
  }
}

@media (max-width: 560px) {
  .site-header__inner {
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding: 12px 0;
    min-height: auto;
  }

  .site-nav {
    width: 100%;
    flex-wrap: wrap;
    gap: 14px;
  }
}
