:root {
  --ink: #1c2421;
  --muted: #61706a;
  --paper: #f7f4ee;
  --panel: #fffdf8;
  --line: rgba(42, 52, 47, 0.14);
  --green: #2f5d4d;
  --gold: #b98632;
  --charcoal: #202322;
  --shadow: 0 24px 70px rgba(31, 36, 34, 0.18);
}

* {
  box-sizing: border-box;
}

html {
  color-scheme: light;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 18% 8%, rgba(185, 134, 50, 0.10), transparent 26%),
    linear-gradient(180deg, #fbfaf6, var(--paper));
  font-family: -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Yu Gothic", "YuGothic", "Noto Sans JP", sans-serif;
  letter-spacing: 0;
}

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

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: min(1160px, calc(100% - 48px));
  margin: 0 auto;
  padding: 22px 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.brand__mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 8px;
  color: #fff;
  background: var(--charcoal);
  font-weight: 900;
}

.brand__name,
.brand__note,
.eyebrow,
.lead {
  margin: 0;
}

.brand__name {
  font-size: 15px;
  font-weight: 900;
  line-height: 1.35;
}

.brand__note {
  margin-top: 2px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

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

.nav a {
  padding: 8px 0;
}

.nav a[aria-current="page"] {
  color: var(--green);
}

.hero {
  position: relative;
  min-height: 90vh;
  overflow: hidden;
  isolation: isolate;
}

.hero__image,
.hero__overlay {
  position: absolute;
  inset: 0;
}

.hero__image {
  z-index: -3;
  background-image: url("../assets/opening-support/sasaki-keikamotsu-opening-support-20260514-134546.png");
  background-position: center right;
  background-size: cover;
}

.hero__overlay {
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(247, 244, 238, 0.98) 0%, rgba(247, 244, 238, 0.88) 34%, rgba(247, 244, 238, 0.45) 62%, rgba(247, 244, 238, 0.08) 100%),
    linear-gradient(180deg, rgba(28, 36, 33, 0.02), rgba(28, 36, 33, 0.22));
}

.hero__content,
.section-inner {
  width: min(1160px, calc(100% - 48px));
  margin: 0 auto;
}

.hero__content {
  padding: clamp(58px, 9vh, 112px) 0 78px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 7px 13px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--green);
  background: rgba(255, 255, 255, 0.70);
  font-size: 14px;
  font-weight: 900;
}

h1 {
  max-width: 720px;
  margin: 24px 0 0;
  font-size: clamp(34px, 5vw, 62px);
  line-height: 1.14;
  font-weight: 950;
  letter-spacing: 0;
}

.lead {
  max-width: 620px;
  margin-top: 24px;
  color: #3c4944;
  font-size: clamp(16px, 2vw, 20px);
  line-height: 1.9;
  font-weight: 650;
}

.hero__actions,
.section-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 900;
}

.button--primary {
  color: #fff;
  background: var(--green);
  box-shadow: var(--shadow);
}

.button--secondary {
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.76);
}

.proof {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  width: min(700px, 100%);
  margin: 42px 0 0;
}

.proof div {
  min-height: 92px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.78);
}

.proof dt {
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
}

.proof dd {
  margin: 8px 0 0;
  color: var(--charcoal);
  font-size: 18px;
  font-weight: 950;
}

.band {
  padding: 84px 0;
}

.band--light {
  background: rgba(255, 253, 248, 0.78);
}

.band--tint {
  background: #ebe5d7;
}

.section-kicker {
  margin: 0 0 12px;
  color: var(--green);
  font-size: 14px;
  font-weight: 950;
}

.band h2,
.page-hero h1 {
  max-width: 820px;
  margin: 0;
  font-size: clamp(28px, 3.4vw, 42px);
  line-height: 1.32;
  font-weight: 950;
}

.section-lead {
  max-width: 760px;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.75;
  font-weight: 650;
}

.service-grid,
.flow-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-top: 36px;
}

.service-grid--compact {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 28px;
}

.problem-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 36px;
}

.problem-grid article,
.flow-list p {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.86);
}

.problem-grid article {
  min-height: 190px;
  padding: 24px;
}

.problem-grid h3 {
  margin: 0;
  font-size: 20px;
  line-height: 1.35;
}

.problem-grid p {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.8;
  font-weight: 650;
}

.service-card,
.flow-card,
.notice-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.84);
}

.service-card {
  min-height: 278px;
  padding: 24px;
}

.service-card span,
.flow-card span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  color: #fff;
  background: var(--charcoal);
  font-size: 13px;
  font-weight: 950;
}

.service-card h3,
.flow-card h3,
.notice-card h3 {
  margin: 22px 0 0;
  font-size: 20px;
  line-height: 1.35;
}

.service-card p,
.flow-card p,
.notice-card p {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.8;
  font-weight: 650;
}

.image-split,
.page-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 1.1fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
}

.image-split figure,
.page-hero figure {
  margin: 0;
}

.image-split img,
.page-hero img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  border-radius: 8px;
  object-fit: cover;
  box-shadow: var(--shadow);
}

.page-hero {
  padding: 72px 0 86px;
  background: #fbfaf6;
}

.notice-card {
  margin-top: 28px;
  padding: 24px;
}

.flow-list {
  display: grid;
  gap: 12px;
  margin-top: 28px;
}

.flow-list p {
  margin: 0;
  padding: 18px 20px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.7;
  font-weight: 650;
}

.flow-list strong {
  color: var(--ink);
}

.notice-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 26px;
}

.notice-grid article {
  min-height: 150px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.86);
}

.notice-grid strong {
  display: block;
  color: var(--charcoal);
  font-size: 17px;
  line-height: 1.45;
  font-weight: 950;
}

.notice-grid p {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.75;
  font-weight: 650;
}

.cta-band {
  padding: 84px 0;
  color: #fff;
  background: var(--charcoal);
}

.cta-band .section-kicker {
  color: #d9b46f;
}

.cta-band h2 {
  max-width: 820px;
  margin: 0;
  font-size: clamp(32px, 4.4vw, 54px);
  line-height: 1.18;
}

.cta-band p {
  max-width: 760px;
  margin: 18px 0 0;
  color: rgba(255, 255, 255, 0.76);
  font-size: 16px;
  line-height: 1.8;
  font-weight: 650;
}

.cta-band .button {
  margin-top: 30px;
  background: var(--green);
}

.site-footer {
  padding: 24px 0;
  border-top: 1px solid var(--line);
  background: #fbfaf6;
}

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

.footer-inner p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  font-weight: 750;
}

.footer-inner nav {
  display: flex;
  gap: 16px;
  font-size: 13px;
  font-weight: 850;
}

@media (max-width: 860px) {
  .site-header,
  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .hero {
    min-height: auto;
  }

  .hero__image {
    background-position: 58% center;
  }

  .hero__overlay {
    background:
      linear-gradient(180deg, rgba(247, 244, 238, 0.98) 0%, rgba(247, 244, 238, 0.88) 45%, rgba(247, 244, 238, 0.48) 100%),
      linear-gradient(180deg, rgba(28, 36, 33, 0.02), rgba(28, 36, 33, 0.20));
  }

  .hero__content,
  .section-inner {
    width: min(100% - 32px, 1160px);
  }

  .nav {
    flex-wrap: wrap;
    gap: 12px;
  }

  .proof,
  .service-grid,
  .service-grid--compact,
  .flow-grid,
  .notice-grid,
  .problem-grid,
  .image-split,
  .page-hero__grid {
    grid-template-columns: 1fr;
  }

  .band,
  .page-hero {
    padding: 58px 0;
  }

  .image-split img,
  .page-hero img {
    aspect-ratio: 4 / 3;
  }
}
