:root {
  --bg: #f3efe5;
  --bg-accent: #f9f6ef;
  --surface: rgba(255, 252, 245, 0.86);
  --surface-strong: #fffdf8;
  --border: rgba(41, 53, 46, 0.12);
  --text: #223127;
  --text-soft: #56655d;
  --accent: #1f6a52;
  --accent-strong: #184f3d;
  --accent-soft: rgba(31, 106, 82, 0.12);
  --shadow: 0 24px 60px rgba(34, 49, 39, 0.12);
  --radius-lg: 28px;
  --radius-md: 18px;
  --radius-sm: 999px;
  --max-width: 1040px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(220, 201, 145, 0.45), transparent 32%),
    radial-gradient(circle at top right, rgba(97, 154, 125, 0.25), transparent 26%),
    linear-gradient(180deg, #f8f5ec 0%, #f2ebde 100%);
  font-family: "Avenir Next", "Hiragino Sans", "Yu Gothic", sans-serif;
  line-height: 1.7;
}

a {
  color: inherit;
}

.site-shell {
  width: min(calc(100% - 32px), var(--max-width));
  margin: 0 auto;
  padding: 32px 0 56px;
}

.hero,
.page-header,
.panel,
.policy-card {
  position: relative;
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  backdrop-filter: blur(14px);
}

.hero,
.page-header {
  padding: 40px;
  border-radius: var(--radius-lg);
}

.hero::after,
.page-header::after,
.panel::after {
  content: "";
  position: absolute;
  inset: auto -10% -35% auto;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(31, 106, 82, 0.16), transparent 68%);
  pointer-events: none;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--accent);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: "Avenir Next Condensed", "Hiragino Mincho ProN", serif;
  line-height: 1.15;
}

h1 {
  font-size: clamp(2.6rem, 7vw, 4.6rem);
}

h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
}

h3 {
  font-size: 1.25rem;
}

p {
  margin: 0;
}

.hero-copy,
.section-copy {
  max-width: 720px;
  color: var(--text-soft);
  font-size: 1.05rem;
}

.hero-actions,
.site-footer {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  align-items: center;
}

.hero-actions {
  margin-top: 28px;
}

.button,
.back-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 18px;
  border-radius: var(--radius-sm);
  text-decoration: none;
  font-weight: 700;
  transition: transform 160ms ease, background-color 160ms ease, color 160ms ease;
}

.button:hover,
.back-link:hover,
.text-link:hover,
.inline-link:hover {
  transform: translateY(-1px);
}

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

.button-primary:hover {
  background: var(--accent-strong);
}

.button-secondary,
.back-link {
  background: rgba(255, 255, 255, 0.55);
  border: 1px solid var(--border);
}

.text-link,
.inline-link {
  color: var(--accent-strong);
  font-weight: 700;
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.2em;
}

main {
  display: grid;
  gap: 24px;
  margin-top: 24px;
}

.panel {
  padding: 32px;
  border-radius: var(--radius-lg);
}

.panel-accent {
  background:
    linear-gradient(135deg, rgba(31, 106, 82, 0.1), rgba(255, 255, 255, 0.75)),
    var(--surface-strong);
}

.section-heading {
  display: grid;
  gap: 10px;
  margin-bottom: 18px;
}

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

.feature-card {
  display: grid;
  gap: 12px;
  padding: 22px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.54);
  border: 1px solid rgba(41, 53, 46, 0.08);
}

.policy-layout {
  margin-top: 24px;
}

.policy-card {
  padding: 28px;
  border-radius: var(--radius-md);
}

.policy-layout .policy-card + .policy-card {
  margin-top: 18px;
}

.policy-card h2 {
  margin-bottom: 14px;
  font-size: 1.4rem;
}

.policy-card p + p {
  margin-top: 12px;
}

.page-header {
  display: grid;
  gap: 14px;
}

.back-link {
  width: fit-content;
  color: var(--text);
}

.site-footer {
  justify-content: space-between;
  margin-top: 24px;
  padding: 0 6px;
  color: var(--text-soft);
  font-size: 0.94rem;
}

@media (max-width: 820px) {
  .site-shell {
    width: min(calc(100% - 20px), var(--max-width));
    padding-top: 20px;
  }

  .hero,
  .page-header,
  .panel,
  .policy-card {
    padding: 24px;
  }

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

  .site-footer {
    flex-direction: column;
    align-items: flex-start;
  }
}
