:root {
  color-scheme: light;
  --bg: #f6efe5;
  --bg-strong: #eadcc8;
  --surface: rgba(255, 252, 247, 0.84);
  --surface-strong: #fffaf2;
  --surface-ink: #201a17;
  --muted: #6c6258;
  --line: rgba(92, 73, 58, 0.16);
  --line-strong: rgba(92, 73, 58, 0.3);
  --accent: #cb5c36;
  --accent-deep: #9d4022;
  --accent-soft: #f7dfd1;
  --forest: #24483f;
  --shadow-soft: 0 24px 60px rgba(56, 35, 24, 0.12);
  --shadow-card: 0 16px 40px rgba(51, 30, 20, 0.08);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--surface-ink);
  font-family:
    "BIZ UDPGothic",
    "Hiragino Sans",
    "Yu Gothic",
    sans-serif;
  background:
    radial-gradient(circle at top left, rgba(255, 244, 228, 0.92), transparent 26%),
    radial-gradient(circle at 90% 10%, rgba(203, 92, 54, 0.12), transparent 18%),
    linear-gradient(180deg, #f9f3ea 0%, #f4ede2 55%, #efe4d7 100%);
}

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

button,
input,
textarea,
select {
  font: inherit;
}

.site-shell {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 18px 0 48px;
}

.site-header {
  position: sticky;
  top: 16px;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 16px 18px;
  margin-bottom: 28px;
  border: 1px solid var(--line);
  border-radius: 22px;
  backdrop-filter: blur(18px);
  background: rgba(255, 250, 242, 0.78);
  box-shadow: var(--shadow-card);
}

.brand-lockup {
  display: flex;
  align-items: center;
  gap: 14px;
}

.brand-mark {
  width: 18px;
  height: 18px;
  border-radius: 6px;
  background:
    linear-gradient(135deg, var(--accent) 0%, var(--accent) 48%, transparent 48%),
    linear-gradient(315deg, var(--forest) 0%, var(--forest) 52%, transparent 52%),
    #f2d8c8;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.35);
}

.brand-name {
  display: inline-block;
  font-family:
    "Hiragino Mincho ProN",
    "Yu Mincho",
    serif;
  font-size: 1.3rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}

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

.header-nav {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  justify-content: center;
}

.header-nav a {
  color: var(--muted);
  font-size: 0.95rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border-radius: 999px;
  border: 1px solid transparent;
  transition:
    transform 160ms ease,
    background-color 160ms ease,
    border-color 160ms ease,
    color 160ms ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button-small {
  min-height: 42px;
  padding: 0 16px;
}

.button-primary {
  color: #fff8f1;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-deep) 100%);
  box-shadow: 0 14px 34px rgba(157, 64, 34, 0.24);
}

.button-secondary {
  color: var(--surface-ink);
  background: rgba(255, 252, 247, 0.56);
  border-color: var(--line-strong);
}

.hero-section,
.section-block,
.final-cta {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 34px;
  background: var(--surface);
  box-shadow: var(--shadow-soft);
}

.hero-section {
  display: grid;
  grid-template-columns: minmax(0, 1.16fr) minmax(340px, 0.84fr);
  gap: 38px;
  padding: 52px;
}

.hero-section::before,
.section-block::before,
.final-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(160deg, rgba(255, 255, 255, 0.12), transparent 28%),
    radial-gradient(circle at top right, rgba(36, 72, 63, 0.06), transparent 18%);
  pointer-events: none;
}

.hero-copy,
.hero-visual,
.section-heading,
.compare-grid,
.steps-grid,
.inline-cta,
.benefits-grid,
.preview-grid,
.faq-list,
.final-cta > * {
  position: relative;
  z-index: 1;
}

.hero-copy h1,
.section-heading h2,
.final-cta h2 {
  margin: 0;
  font-family:
    "Hiragino Mincho ProN",
    "Yu Mincho",
    serif;
  font-weight: 700;
  letter-spacing: 0.03em;
  line-height: 1.1;
}

.hero-copy h1 {
  font-size: clamp(2.8rem, 6.3vw, 4.9rem);
}

.hero-lead,
.section-heading p,
.step-card p,
.benefit-card p,
.preview-card p,
.faq-item p,
.final-cta p {
  color: var(--muted);
  line-height: 1.8;
}

.hero-lead {
  max-width: 38rem;
  margin: 22px 0 0;
  font-size: 1.06rem;
}

.hero-points {
  display: grid;
  gap: 10px;
  padding: 0;
  margin: 26px 0 0;
  list-style: none;
}

.hero-points li,
.compare-card li {
  position: relative;
  padding-left: 22px;
  color: var(--surface-ink);
  line-height: 1.7;
}

.hero-points li::before,
.compare-card li::before {
  content: "";
  position: absolute;
  top: 0.7em;
  left: 0;
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--accent) 0%, #efb89d 100%);
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 30px;
}

.hero-note {
  margin: 18px 0 0;
  color: var(--forest);
  font-weight: 700;
  letter-spacing: 0.04em;
}

.hero-visual {
  position: relative;
  min-height: 540px;
}

.hero-panel {
  border: 1px solid var(--line);
  border-radius: 28px;
  background: rgba(255, 252, 248, 0.9);
  box-shadow: var(--shadow-card);
}

.hero-panel-main {
  padding: 18px;
  transform: rotate(-2deg);
}

.hero-panel-float {
  position: absolute;
  right: -10px;
  bottom: 16px;
  width: min(250px, 52%);
  padding: 18px;
  transform: rotate(6deg);
  background: linear-gradient(180deg, #fff5eb 0%, #fffaf5 100%);
}

.window-bar {
  display: flex;
  gap: 8px;
  padding-bottom: 14px;
}

.window-bar span {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: #e7d6ca;
}

.builder-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(210px, 0.82fr);
  gap: 16px;
}

.builder-form,
.builder-preview {
  padding: 18px;
  border-radius: 22px;
}

.builder-form {
  background:
    linear-gradient(180deg, rgba(246, 231, 218, 0.72) 0%, rgba(255, 249, 243, 0.96) 100%);
}

.builder-preview {
  background:
    linear-gradient(180deg, rgba(236, 244, 240, 0.9) 0%, rgba(255, 255, 255, 0.96) 100%);
}

.mini-title {
  margin: 0 0 14px;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.field-mock,
.paper-heading,
.paper-line,
.doc-sheet-head,
.doc-sheet-line,
.doc-sheet-block,
.doc-sheet-grid span {
  border-radius: 999px;
  background: rgba(93, 70, 54, 0.1);
}

.field-mock {
  height: 12px;
  margin-bottom: 14px;
}

.field-mock-wide {
  width: 72%;
}

.field-stack {
  padding: 14px;
  border: 1px solid rgba(93, 70, 54, 0.08);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.66);
}

.paper-sheet {
  min-height: 100%;
  padding: 18px;
  border: 1px solid rgba(93, 70, 54, 0.12);
  border-radius: 18px;
  background: #fffdfa;
}

.paper-heading,
.doc-sheet-head {
  width: 62%;
  height: 18px;
  margin-bottom: 16px;
}

.paper-line,
.doc-sheet-line {
  height: 10px;
  margin-bottom: 10px;
}

.paper-line-short {
  width: 65%;
}

.paper-grid,
.doc-sheet-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 18px 0;
}

.paper-box {
  min-height: 78px;
  border: 1px solid rgba(93, 70, 54, 0.12);
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(245, 239, 232, 0.6) 0%, rgba(255, 255, 255, 1) 100%);
}

.timeline-item {
  display: grid;
  gap: 4px;
  padding: 12px 0;
  border-top: 1px solid rgba(93, 70, 54, 0.1);
}

.timeline-item:first-of-type {
  border-top: 0;
  padding-top: 0;
}

.timeline-item span,
.benefit-index,
.step-number {
  color: var(--accent);
  font-weight: 700;
  letter-spacing: 0.08em;
}

.section-block,
.final-cta {
  margin-top: 24px;
  padding: 42px;
}

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

.section-heading h2,
.final-cta h2 {
  font-size: clamp(2rem, 4vw, 3.3rem);
}

.compare-grid,
.steps-grid,
.benefits-grid,
.preview-grid {
  display: grid;
  gap: 18px;
}

.compare-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.compare-card,
.step-card,
.benefit-card,
.preview-card,
.faq-item {
  border: 1px solid var(--line);
  border-radius: 24px;
  background: rgba(255, 253, 249, 0.78);
  box-shadow: var(--shadow-card);
}

.compare-card {
  padding: 28px;
}

.compare-card-before {
  background:
    linear-gradient(180deg, rgba(246, 236, 225, 0.9) 0%, rgba(255, 251, 245, 0.78) 100%);
}

.compare-card-after {
  background:
    linear-gradient(180deg, rgba(236, 245, 242, 0.92) 0%, rgba(255, 254, 251, 0.82) 100%);
}

.compare-label {
  margin: 0 0 8px;
  color: var(--muted);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.compare-card h3,
.step-card h3,
.benefit-card h3,
.preview-card h3 {
  margin: 0 0 10px;
  font-size: 1.3rem;
}

.compare-card ul {
  display: grid;
  gap: 12px;
  padding: 0;
  margin: 18px 0 0;
  list-style: none;
}

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

.step-card,
.benefit-card {
  padding: 28px;
}

.step-number,
.benefit-index {
  margin: 0 0 18px;
  font-size: 0.9rem;
}

.inline-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 22px 24px;
  margin-top: 20px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: linear-gradient(90deg, rgba(255, 246, 240, 0.95) 0%, rgba(255, 252, 248, 0.75) 100%);
}

.inline-cta p {
  margin: 0;
}

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

.preview-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.preview-card {
  padding: 24px;
}

.doc-sheet {
  position: relative;
  min-height: 360px;
  padding: 24px;
  margin-bottom: 20px;
  border: 1px solid rgba(93, 70, 54, 0.12);
  background: #fff;
  box-shadow: 0 20px 36px rgba(41, 24, 18, 0.08);
}

.doc-sheet::after {
  content: "";
  position: absolute;
  inset: 12px;
  border: 1px solid rgba(93, 70, 54, 0.06);
  pointer-events: none;
}

.doc-sheet-title {
  margin-bottom: 18px;
  font-family:
    "Hiragino Mincho ProN",
    "Yu Mincho",
    serif;
  font-size: 1.1rem;
  font-weight: 700;
}

.doc-sheet-photo {
  position: absolute;
  top: 62px;
  right: 24px;
  width: 76px;
  height: 98px;
  border: 1px solid rgba(93, 70, 54, 0.18);
  background: linear-gradient(180deg, rgba(246, 236, 225, 0.7) 0%, rgba(255, 255, 255, 1) 100%);
}

.doc-sheet-grid span {
  min-height: 60px;
}

.doc-sheet-block {
  height: 92px;
  margin-bottom: 14px;
  border-radius: 18px;
}

.faq-section {
  background:
    linear-gradient(180deg, rgba(255, 250, 244, 0.9) 0%, rgba(250, 245, 239, 0.92) 100%);
}

.faq-list {
  display: grid;
  gap: 14px;
}

.faq-item {
  padding: 0 22px;
}

.faq-item summary {
  cursor: pointer;
  padding: 22px 0;
  font-size: 1.05rem;
  font-weight: 700;
  list-style: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item p {
  margin: 0 0 22px;
}

.final-cta {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 24px;
  margin-top: 24px;
  background:
    linear-gradient(135deg, rgba(255, 244, 235, 0.96) 0%, rgba(247, 235, 223, 0.92) 42%, rgba(237, 246, 241, 0.88) 100%);
}

.final-cta p {
  max-width: 42rem;
  margin: 14px 0 0;
}

.final-cta-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

@media (max-width: 1040px) {
  .site-header,
  .hero-section,
  .final-cta,
  .inline-cta {
    grid-template-columns: 1fr;
  }

  .site-header,
  .inline-cta,
  .final-cta {
    justify-content: flex-start;
  }

  .header-nav {
    justify-content: flex-start;
  }

  .hero-section {
    padding: 40px 28px;
  }

  .hero-visual {
    min-height: 480px;
  }

  .compare-grid,
  .steps-grid,
  .benefits-grid,
  .preview-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .site-shell {
    width: min(100% - 20px, 1180px);
    padding-top: 10px;
  }

  .site-header,
  .section-block,
  .final-cta {
    padding: 22px;
    border-radius: 24px;
  }

  .hero-section {
    padding: 28px 22px;
    border-radius: 24px;
  }

  .brand-lockup {
    align-items: flex-start;
  }

  .hero-copy h1 {
    font-size: 2.6rem;
  }

  .hero-visual {
    min-height: 420px;
  }

  .hero-panel-main {
    transform: none;
  }

  .hero-panel-float {
    position: static;
    width: auto;
    margin-top: 16px;
    transform: none;
  }

  .builder-layout {
    grid-template-columns: 1fr;
  }

  .doc-sheet {
    min-height: 300px;
  }

  .doc-sheet-photo {
    width: 60px;
    height: 80px;
  }
}
