:root {
  --bg: #f4efe6;
  --bg-soft: #fbf8f1;
  --ink: #1f2a24;
  --muted: #617168;
  --line: rgba(31, 42, 36, 0.14);
  --accent: #6f8f72;
  --accent-deep: #49614c;
  --card: rgba(255, 255, 255, 0.72);
  --shadow: 0 24px 60px rgba(56, 68, 59, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Hiragino Mincho ProN", "Yu Mincho", "Noto Serif JP", serif;
  color: var(--ink);
  background:
    radial-gradient(circle at top left, rgba(160, 186, 157, 0.24), transparent 34%),
    linear-gradient(180deg, #f8f4ec 0%, var(--bg) 100%);
  line-height: 1.75;
}

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

p,
h1,
h2,
h3 {
  margin-top: 0;
}

.wrap {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

.narrow {
  width: min(820px, 100%);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(14px);
  background: rgba(248, 244, 236, 0.82);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-size: 0.95rem;
  letter-spacing: 0.06em;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--accent-deep);
  color: #fff;
  font-size: 0.88rem;
}

.brand-text,
.site-nav {
  font-family: "Yu Gothic", "Hiragino Sans", "Noto Sans JP", sans-serif;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  color: var(--muted);
}

.site-nav a {
  position: relative;
  padding-bottom: 4px;
}

.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  background: var(--accent-deep);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}

.site-nav a:hover::after,
.site-nav a:focus-visible::after {
  transform: scaleX(1);
}

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

.hero-grid,
.split,
.contact-panel,
.cta-box {
  display: grid;
  gap: 28px;
}

.hero-grid {
  grid-template-columns: 1.4fr 0.9fr;
  align-items: center;
}

.eyebrow {
  margin-bottom: 14px;
  color: var(--accent-deep);
  font-size: 0.88rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-family: "Yu Gothic", "Hiragino Sans", "Noto Sans JP", sans-serif;
}

h1 {
  font-size: clamp(2.5rem, 5vw, 4.6rem);
  line-height: 1.15;
  margin-bottom: 20px;
  letter-spacing: 0.02em;
}

h2 {
  font-size: clamp(1.7rem, 3vw, 2.6rem);
  line-height: 1.3;
  margin-bottom: 18px;
}

h3 {
  font-size: 1.2rem;
  margin-bottom: 12px;
}

.lead {
  font-size: 1.08rem;
  color: #314138;
}

.hero-actions,
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
  margin-top: 28px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 24px;
  border-radius: 999px;
  font-family: "Yu Gothic", "Hiragino Sans", "Noto Sans JP", sans-serif;
  font-weight: 600;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
}

.button-primary {
  color: #fff;
  background: linear-gradient(135deg, var(--accent-deep), var(--accent));
  box-shadow: 0 12px 28px rgba(73, 97, 76, 0.22);
}

.button-secondary {
  background: rgba(255, 255, 255, 0.56);
  border: 1px solid var(--line);
}

.hero-panel,
.cards {
  display: grid;
  gap: 20px;
}

.panel-card,
.card,
.list-card,
.cta-box,
.contact-panel {
  background: var(--card);
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 28px;
  box-shadow: var(--shadow);
}

.panel-card {
  padding: 28px;
}

.panel-card.muted {
  background: rgba(236, 241, 232, 0.78);
}

.panel-label {
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  font-family: "Yu Gothic", "Hiragino Sans", "Noto Sans JP", sans-serif;
}

.panel-text,
.card p,
.list-card p,
.contact-note {
  color: #425249;
}

.section {
  padding: 32px 0 72px;
}

.section-heading {
  margin-bottom: 24px;
}

.three-up {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.two-up,
.split,
.contact-panel,
.cta-box {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.card,
.list-card,
.cta-box,
.contact-panel {
  padding: 28px;
}

.large-card {
  min-height: 100%;
}

.section-accent {
  position: relative;
}

.section-accent::before {
  content: "";
  position: absolute;
  inset: 10% 0 auto;
  height: 68%;
  background: linear-gradient(90deg, rgba(172, 197, 171, 0.18), rgba(255, 255, 255, 0));
  pointer-events: none;
}

.list-card p {
  margin: 0;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}

.list-card p:last-child {
  border-bottom: 0;
}

.cta-section {
  padding-bottom: 88px;
}

.cta-box {
  align-items: center;
}

.contact-note {
  margin: 0;
  font-size: 0.95rem;
}

@media (max-width: 900px) {
  .hero-grid,
  .three-up,
  .two-up,
  .split,
  .contact-panel,
  .cta-box {
    grid-template-columns: 1fr;
  }

  .hero,
  .page-hero {
    padding-top: 56px;
  }
}

@media (max-width: 640px) {
  .wrap {
    width: min(100% - 28px, 1120px);
  }

  .header-inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .site-nav {
    gap: 14px;
  }

  .card,
  .list-card,
  .cta-box,
  .contact-panel,
  .panel-card {
    padding: 22px;
    border-radius: 22px;
  }

  h1 {
    font-size: 2.3rem;
  }
}
