:root {
  color-scheme: light;
  --page-background: #f8f2ec;
  --surface: #fffaf6;
  --surface-soft: #fdf4ec;
  --line: rgba(226, 210, 196, 0.78);
  --text-heading: #6b5047;
  --text-strong: #73594f;
  --text-main: #785f55;
  --text-muted: #927a71;
  --accent: #ff6a24;
  --accent-deep: #ff6a24;
  --accent-hover: #ff5718;
  --green: #48b75a;
  --green-soft: #e7f6e4;
  --shadow: 0 18px 44px rgba(91, 58, 50, 0.11);
  --font-logo: Georgia, "Times New Roman", Times, serif;
  --font-display: "Hiragino Mincho ProN", "Yu Mincho", YuMincho,
    "Noto Serif JP", "Times New Roman", serif;
  --font-heading: "游ゴシック体 Pr6N", "Yu Gothic Pr6N", "YuGothic Pr6N",
    "Yu Gothic", YuGothic, "Hiragino Sans", sans-serif;
  --font-body: -apple-system, BlinkMacSystemFont, "Hiragino Sans",
    "Hiragino Kaku Gothic ProN", "Yu Gothic", YuGothic, Meiryo, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--page-background);
  color: var(--text-main);
  font-family: var(--font-body);
  letter-spacing: 0;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body {
  margin: 0;
  background:
    linear-gradient(180deg, #fffdf9 0%, rgba(255, 250, 245, 0.96) 18rem, transparent 36rem),
    radial-gradient(ellipse at 7% 62%, rgba(255, 250, 245, 0.78) 0 16rem, transparent 16.5rem),
    radial-gradient(ellipse at 96% 62%, rgba(246, 231, 214, 0.38) 0 18rem, transparent 18.5rem),
    var(--page-background);
}

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

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

.site-shell {
  min-height: 100vh;
  overflow-x: hidden;
}

.site-header {
  border-bottom: 1px solid var(--line);
  background: rgba(255, 252, 248, 0.9);
  backdrop-filter: blur(14px);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(1180px, calc(100% - 48px));
  min-height: 74px;
  margin: 0 auto;
  gap: 24px;
}

.site-logo {
  color: var(--text-heading);
  font-family: var(--font-logo);
  font-size: 1.84rem;
  font-weight: 500;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 22px;
  color: var(--text-main);
  font-size: 0.94rem;
  font-weight: 700;
}

.site-nav a {
  text-decoration: underline;
  text-decoration-color: transparent;
  text-underline-offset: 0.32em;
  transition:
    color 160ms ease,
    text-decoration-color 160ms ease;
}

.site-nav a:hover {
  color: var(--accent-deep);
  text-decoration-color: currentColor;
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(430px, 0.95fr) minmax(460px, 1.05fr);
  align-items: center;
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
  gap: clamp(30px, 4vw, 48px);
  padding: clamp(58px, 7vw, 98px) 0 56px;
}

.hero::before {
  position: absolute;
  top: -6px;
  left: calc(-1 * max(24px, (100vw - 1180px) / 2));
  z-index: 0;
  width: min(39vw, 430px);
  aspect-ratio: 576 / 250;
  background: url("images/hero-corner-leaf.png") left top / contain no-repeat;
  content: "";
  opacity: 0.88;
  pointer-events: none;
}

.hero__content,
.hero__preview {
  position: relative;
  z-index: 1;
  min-width: 0;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  border: 1px solid rgba(84, 127, 101, 0.28);
  border-radius: 999px;
  padding: 0 14px;
  background: var(--green-soft);
  color: var(--green);
  font-size: 0.82rem;
  font-weight: 800;
}

.hero__title {
  margin: 22px 0 0;
  color: var(--text-heading);
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 4.2vw, 4.15rem);
  font-weight: 600;
  line-height: 1.12;
  word-break: keep-all;
}

.hero__title span {
  display: block;
}

.hero__lead {
  max-width: 33rem;
  margin: 26px 0 0;
  color: var(--text-main);
  font-size: clamp(1rem, 1.2vw, 1.08rem);
  font-weight: 600;
  line-height: 2;
  overflow-wrap: anywhere;
}

.hero__note {
  display: grid;
  gap: 8px;
  max-width: 34rem;
  margin-top: 28px;
  border: 1px solid rgba(222, 199, 178, 0.82);
  border-radius: 8px;
  padding: 18px 20px;
  background: rgba(255, 253, 248, 0.82);
}

.hero__note strong {
  color: var(--text-heading);
  font-size: 0.98rem;
}

.hero__note p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.92rem;
  font-weight: 600;
  line-height: 1.8;
  overflow-wrap: anywhere;
}

.hero__preview {
  border: 1px solid rgba(222, 199, 178, 0.84);
  border-radius: 8px;
  margin: 0;
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  padding: clamp(14px, 2vw, 22px);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.82), rgba(255, 247, 238, 0.86)),
    var(--surface);
  box-shadow: var(--shadow);
}

.hero__preview picture {
  display: block;
  width: 100%;
  max-width: 100%;
  min-width: 0;
}

.hero__preview img {
  width: 100%;
  max-width: 100%;
  height: auto;
  border-radius: 6px;
  box-shadow: 0 18px 38px rgba(85, 64, 50, 0.16);
}

.section {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
  padding: 70px 0;
}

.section-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 28px;
}

.section-heading h2 {
  margin: 0;
  color: var(--text-heading);
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 600;
}

.section-heading p {
  max-width: 32rem;
  margin: 0;
  color: var(--text-muted);
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.8;
}

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

.feature-card {
  position: relative;
  min-height: 260px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 24px;
  background: var(--surface);
  box-shadow: 0 16px 42px rgba(104, 76, 55, 0.1);
}

.feature-card__icon {
  width: 72px;
  height: 72px;
  object-fit: contain;
}

.feature-card h3 {
  margin: 22px 0 0;
  color: var(--text-heading);
  font-family: var(--font-heading);
  font-size: 1.28rem;
  font-weight: 600;
}

.feature-card p {
  margin: 10px 0 0;
  color: var(--text-main);
  font-size: 0.94rem;
  font-weight: 600;
  line-height: 1.8;
}

.feature-card__art {
  position: absolute;
  right: -18px;
  bottom: -28px;
  width: 142px;
  opacity: 0.82;
}

.phase-note {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 16px;
  width: min(980px, calc(100% - 48px));
  margin: 8px auto 72px;
  border: 1px solid rgba(84, 127, 101, 0.24);
  border-radius: 8px;
  padding: 18px 22px;
  background: rgba(232, 242, 229, 0.75);
  color: var(--green);
  font-weight: 800;
}

.phase-note p {
  margin: 0;
  line-height: 1.8;
}

.phase-note img {
  width: 46px;
}

.site-footer {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
  gap: 22px;
  border-top: 1px solid var(--line);
  padding: 34px 0 42px;
}

.site-footer__brand strong {
  display: block;
  color: var(--text-heading);
  font-family: var(--font-logo);
  font-size: 1.56rem;
  font-weight: 500;
}

.site-footer__brand p {
  margin: 6px 0 0;
  color: var(--text-muted);
  font-size: 0.9rem;
  font-weight: 600;
}

.site-footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  color: var(--accent-deep);
  font-size: 0.92rem;
  font-weight: 800;
}

.legal {
  width: min(920px, calc(100% - 48px));
  margin: 0 auto;
  padding: 64px 0 90px;
}

.legal__header {
  border-bottom: 1px solid var(--line);
  padding-bottom: 34px;
}

.legal__header h1 {
  margin: 12px 0 0;
  color: var(--text-heading);
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 600;
}

.legal__header p {
  max-width: 42rem;
  margin: 18px 0 0;
  color: var(--text-main);
  font-weight: 600;
  line-height: 1.9;
}

.legal__body {
  display: grid;
  gap: 32px;
  padding-top: 42px;
}

.legal-section h2 {
  margin: 0 0 12px;
  color: var(--text-heading);
  font-family: var(--font-heading);
  font-size: 1.18rem;
  font-weight: 600;
}

.legal-section p,
.legal-section li {
  color: var(--text-main);
  font-size: 0.96rem;
  font-weight: 600;
  line-height: 1.9;
}

.legal-section p {
  margin: 0;
}

.legal-section p + p {
  margin-top: 10px;
}

.legal-section ul {
  display: grid;
  gap: 6px;
  margin: 10px 0 0;
  padding-left: 1.4em;
}

.back-link {
  display: inline-flex;
  margin-top: 38px;
  color: var(--accent-deep);
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 0.32em;
}

@media (max-width: 900px) {
  .site-header__inner,
  .hero,
  .section,
  .site-footer,
  .legal {
    width: calc(100% - 32px);
    max-width: 680px;
  }

  .hero {
    grid-template-columns: 1fr;
    min-width: 0;
    padding-top: 42px;
  }

  .section-heading {
    align-items: flex-start;
    flex-direction: column;
  }

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

  .site-footer {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .hero,
  .section,
  .site-footer,
  .legal {
    width: calc(100vw - 32px);
    max-width: calc(100vw - 32px);
  }

  .hero__content,
  .hero__lead,
  .hero__note,
  .hero__preview {
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }

  .site-header__inner {
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    min-height: 104px;
    padding: 16px 0;
  }

  .site-nav {
    gap: 16px;
    font-size: 0.88rem;
  }

  .hero__title {
    font-size: 2.12rem;
    line-height: 1.2;
  }

  .hero__lead,
  .hero__note p,
  .section-heading p,
  .feature-card p,
  .legal-section p,
  .legal-section li {
    word-break: break-all;
  }

  .hero__note {
    padding: 16px;
  }

  .hero__preview {
    display: none;
  }

  .phase-note {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .phase-note img {
    margin: 0 auto;
  }
}
