:root {
  --bg: #f7f4ed;
  --surface: #ffffff;
  --text: #111111;
  --muted: #555555;
  --border: #ddd7cb;
  --link: #1f4fa3;
  --link-hover: #163a7a;
  --accent: #1c1c1c;
  --max: 960px;
  --radius: 14px;
  --shadow: 0 8px 24px rgba(0,0,0,0.05);
}

* {
  box-sizing: border-box;
}

html {
  font-size: 16px;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family:
    -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial,
    "Hiragino Sans", "Yu Gothic", Meiryo, sans-serif;
  line-height: 1.8;
}

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

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

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

.site-header {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
}

.site-header-inner,
.site-main,
.site-footer-inner {
  width: min(calc(100% - 32px), var(--max));
  margin: 0 auto;
}

.site-header-inner {
  padding: 20px 0 16px;
}

.site-title {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.2;
}

.site-subtitle {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 1rem;
}

.global-nav {
  margin-top: 18px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 16px;
}

.global-nav a {
  font-weight: 600;
}

.site-main {
  padding: 28px 0 56px;
}

.hero,
.section-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.hero {
  padding: 28px 24px;
  margin-bottom: 24px;
}

.hero p:last-child,
.section-card p:last-child,
.section-card ul:last-child {
  margin-bottom: 0;
}

.hero-actions,
.link-list,
.cta-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 18px;
}

.button,
.link-chip {
  display: inline-block;
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: #fff;
  font-weight: 600;
}

.button-primary {
  background: #111111;
  color: #ffffff;
  border-color: #111111;
}

.button-primary:hover {
  color: #ffffff;
  text-decoration: none;
  opacity: 0.9;
}

.grid {
  display: grid;
  gap: 20px;
}

.grid-2 {
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.section-card {
  padding: 22px 20px;
}

.section-card h2 {
  margin: 0 0 12px;
  font-size: 1.5rem;
  line-height: 1.35;
}

.section-card h3 {
  margin: 24px 0 8px;
  font-size: 1.1rem;
  line-height: 1.4;
}

.section-card p {
  margin: 0 0 14px;
}

.section-card ul {
  margin: 0;
  padding-left: 1.2em;
}

.section-card li + li {
  margin-top: 6px;
}

.note {
  color: var(--muted);
  font-size: 0.95rem;
}

.page-title-block {
  margin-bottom: 24px;
}

.page-title {
  margin: 0 0 8px;
  font-size: clamp(2rem, 4vw, 2.8rem);
  line-height: 1.2;
}

.page-back {
  color: var(--muted);
  font-size: 0.95rem;
}

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

.site-footer-inner {
  padding: 20px 0 36px;
  color: var(--muted);
  font-size: 0.95rem;
}

.site-footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 16px;
  margin-bottom: 10px;
}

@media (max-width: 640px) {
  .site-header-inner {
    padding-top: 18px;
  }

  .hero,
  .section-card {
    padding: 20px 16px;
  }

  .site-main {
    padding-top: 20px;
  }
}
