:root {
  --bg: #f7f3ec;
  --bg-soft: #fffaf2;
  --surface: #ffffff;
  --surface-warm: #fff7e9;
  --text: #1f2933;
  --muted: #64717f;
  --line: #e7dccb;
  --primary: #8a4b22;
  --primary-dark: #623315;
  --accent: #c78a3b;
  --accent-soft: #f4dfbd;
  --danger: #9d3b2f;
  --good: #287457;
  --shadow: 0 22px 60px rgba(60, 38, 18, 0.12);
  --radius-lg: 28px;
  --radius-md: 18px;
  --radius-sm: 12px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Noto Sans JP", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.8;
  letter-spacing: 0.02em;
}

img {
  max-width: 100%;
}

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

p {
  margin: 0 0 1.1rem;
}

h1,
h2,
h3,
h4 {
  margin: 0;
  line-height: 1.35;
  letter-spacing: 0.01em;
}

h1 {
  font-size: clamp(2rem, 5vw, 4rem);
  font-weight: 800;
}

h2 {
  font-size: clamp(1.65rem, 3.2vw, 2.75rem);
  font-weight: 800;
}

h3 {
  font-size: 1.25rem;
  font-weight: 750;
}

h4 {
  font-size: 1rem;
  font-weight: 750;
}

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

.narrow {
  width: min(840px, calc(100% - 40px));
}

.section {
  padding: 92px 0;
}

.section-pad {
  padding: 112px 0;
}

.section-light {
  background: var(--bg-soft);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(247, 243, 236, 0.9);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(231, 220, 203, 0.85);
}

.header-inner {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: var(--primary);
  color: #fff;
  font-weight: 800;
}

.brand-text {
  display: grid;
  line-height: 1.35;
}

.brand-text strong {
  font-size: 0.95rem;
}

.brand-text small {
  color: var(--muted);
  font-size: 0.75rem;
}

.header-nav {
  display: flex;
  align-items: center;
  gap: 22px;
  font-size: 0.92rem;
  font-weight: 600;
  color: #3c4752;
}

.nav-cta {
  padding: 10px 16px;
  border-radius: 999px;
  background: var(--primary);
  color: #fff;
}

.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at top left, rgba(199, 138, 59, 0.22), transparent 34%),
    linear-gradient(135deg, #f9f1e4 0%, #f7f3ec 56%, #fffaf2 100%);
}

.hero::after {
  content: "";
  position: absolute;
  right: -160px;
  top: 90px;
  width: 380px;
  height: 380px;
  border-radius: 50%;
  background: rgba(138, 75, 34, 0.08);
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
  gap: 56px;
  align-items: center;
}

.eyebrow,
.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 18px;
  color: var(--primary);
  font-weight: 800;
  font-size: 0.9rem;
  letter-spacing: 0.08em;
}

.eyebrow::before,
.section-kicker::before {
  content: "";
  width: 28px;
  height: 2px;
  background: var(--accent);
}

.hero-copy .lead {
  margin-top: 24px;
  font-size: 1.12rem;
  font-weight: 600;
  color: #34414f;
}

.hero-copy p:not(.eyebrow):not(.lead) {
  color: var(--muted);
  font-size: 1.02rem;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 13px 22px;
  border-radius: 999px;
  font-weight: 800;
  line-height: 1.4;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 12px 30px rgba(138, 75, 34, 0.24);
}

.btn-primary:hover {
  background: var(--primary-dark);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.72);
  color: var(--primary-dark);
  border: 1px solid var(--line);
}

.btn.large {
  min-height: 60px;
  padding: 16px 28px;
}

.hero-card {
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow);
}

.flow-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 24px;
}

.flow-label {
  display: inline-block;
  margin-bottom: 18px;
  font-size: 0.8rem;
  font-weight: 800;
  color: var(--primary);
  background: var(--accent-soft);
  padding: 5px 10px;
  border-radius: 999px;
}

.flow-step {
  padding: 13px 16px;
  border-radius: 14px;
  background: #fbf6ee;
  border: 1px solid var(--line);
  font-weight: 800;
}

.flow-arrow {
  width: 2px;
  height: 20px;
  margin: 5px auto;
  background: var(--accent);
  opacity: 0.65;
}

.mini-note {
  margin-top: 14px;
  padding: 16px;
  border-radius: 18px;
  background: #f4fbf7;
  border: 1px solid #cfe7db;
}

.mini-note.muted {
  background: #fff7e9;
  border-color: #efd7ad;
}

.mini-note strong,
.mini-note span {
  display: block;
}

.mini-note strong {
  margin-bottom: 4px;
}

.mini-note span {
  color: var(--muted);
  font-size: 0.92rem;
}

.section-heading {
  max-width: 820px;
  margin-bottom: 42px;
}

.section-heading.center {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.section-heading.center .section-kicker {
  justify-content: center;
}

.section-heading.center .section-kicker::before {
  display: none;
}

.section-lead {
  margin-top: 22px;
  font-size: 1.06rem;
  color: var(--muted);
}

.story-box {
  margin-top: 30px;
  padding: 36px;
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
}

.story-box p:last-child {
  margin-bottom: 0;
}

.warning-section {
  background: #362419;
  color: #fff7ea;
}

.warning-section .section-kicker {
  color: #ffd59c;
}

.warning-section .section-lead {
  color: #f1dcc4;
}

.quote-box {
  margin-top: 28px;
  padding: 28px;
  border-left: 5px solid var(--accent);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.08);
  color: #fff2dc;
  font-weight: 650;
}

.compare-section {
  background: var(--surface);
}

.compare-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}

.compare-card {
  padding: 32px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  box-shadow: 0 12px 36px rgba(60, 38, 18, 0.08);
}

.compare-card.bad {
  background: #fff8f6;
}

.compare-card.good {
  background: #f6fcf8;
}

.compare-card h3 {
  margin-bottom: 24px;
  font-size: 1.45rem;
}

.compare-card.bad h3 {
  color: var(--danger);
}

.compare-card.good h3 {
  color: var(--good);
}

.point {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 14px;
  padding: 20px 0;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.point span {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--surface);
  color: var(--primary);
  font-size: 0.8rem;
  font-weight: 800;
  border: 1px solid var(--line);
}

.point p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 0.94rem;
}

.split {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 46px;
  align-items: start;
}

.bold-line {
  margin-top: 18px;
  padding: 18px 20px;
  border-radius: 16px;
  background: var(--accent-soft);
  font-weight: 800;
  color: var(--primary-dark);
}

.diagram-box {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow);
}

.diagram-title {
  margin-bottom: 18px;
  font-weight: 800;
  color: var(--primary);
}

.diagram-box ol {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 14px;
}

.diagram-box li {
  padding: 16px;
  border-radius: 16px;
  background: #fbf6ee;
  border: 1px solid var(--line);
}

.diagram-box strong,
.diagram-box span {
  display: block;
}

.diagram-box span {
  color: var(--muted);
  font-size: 0.92rem;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.service-card,
.step-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 24px;
  box-shadow: 0 10px 30px rgba(60, 38, 18, 0.06);
}

.service-card h3,
.step-card h3 {
  margin-bottom: 10px;
}

.service-card p,
.step-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.profile-section {
  background:
    radial-gradient(circle at top right, rgba(199, 138, 59, 0.18), transparent 34%),
    #fffaf2;
}

.profile-card {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 34px;
  align-items: center;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 38px;
  box-shadow: var(--shadow);
}

.profile-image {
  width: 220px;
  align-self: start;
  border-radius: 24px;
  overflow: hidden;
  background: var(--surface-warm);
  box-shadow: var(--shadow);
}

.profile-image img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.profile-body p:last-child {
  margin-bottom: 0;
}

.book-mini {
  display: inline-grid;
  grid-template-columns: 56px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  max-width: 520px;
  margin-top: 18px;
  padding: 12px 14px;
  border: 1px solid rgba(138, 75, 34, 0.14);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.72);
}

.book-mini img {
  display: block;
  width: 56px;
  border-radius: 6px;
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.14);
}

.book-mini span {
  display: block;
  margin-bottom: 3px;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: var(--primary-dark);
}

.book-mini p {
  margin: 0;
  font-size: 0.88rem;
  line-height: 1.65;
  color: var(--muted);
}

.step-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}

.step-card span {
  display: inline-block;
  margin-bottom: 14px;
  color: var(--primary);
  font-size: 0.8rem;
  font-weight: 800;
}

.pricing-section {
  background: var(--surface);
}

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

.price-list div {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 18px 20px;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: 16px;
}

.price-list span {
  color: var(--primary);
  font-weight: 800;
  text-align: right;
}

.faq-section {
  background: var(--bg-soft);
}

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

details {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 0 20px;
}

summary {
  cursor: pointer;
  padding: 20px 0;
  font-weight: 800;
}

details p {
  margin-top: -4px;
  color: var(--muted);
}

.final-cta {
  background:
    linear-gradient(135deg, rgba(54, 36, 25, 0.96), rgba(98, 51, 21, 0.94)),
    var(--primary-dark);
  color: #fff7ea;
}

.final-cta-card {
  text-align: center;
  max-width: 860px;
}

.final-cta .section-kicker {
  color: #ffd59c;
}

.final-cta .section-kicker::before {
  display: none;
}

.final-cta p {
  color: #f1dcc4;
}

.contact-note {
  margin-top: 18px;
  font-size: 0.86rem;
  opacity: 0.78;
}

.site-footer {
  background: #241a14;
  color: #e8d7c2;
  padding: 28px 0;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
  font-size: 0.9rem;
}

.footer-inner p {
  margin: 0;
}

.footer-inner a {
  color: #fff2dc;
  font-weight: 700;
}

@media (max-width: 980px) {
  .header-nav {
    display: none;
  }

  .hero-grid,
  .split,
  .compare-grid,
  .profile-card {
    grid-template-columns: 1fr;
  }

  .hero-card {
    max-width: 620px;
  }

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

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

  .profile-image {
    width: 180px;
  }
}

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

  .section,
  .section-pad {
    padding: 68px 0;
  }

  .header-inner {
    min-height: 66px;
  }

  .brand-text small {
    display: none;
  }

  .brand-text strong {
    font-size: 0.82rem;
  }

  .brand-mark {
    width: 38px;
    height: 38px;
  }

  .hero-actions {
    display: grid;
  }

  .btn {
    width: 100%;
  }

  .story-box,
  .compare-card,
  .diagram-box,
  .profile-card,
  .hero-card {
    padding: 24px;
    border-radius: 22px;
  }

  .service-grid,
  .step-grid {
    grid-template-columns: 1fr;
  }

  .price-list div {
    display: grid;
  }

  .price-list span {
    text-align: left;
  }

  .footer-inner {
    display: grid;
  }
  .profile-image {
    width: 160px;
  }

  .book-mini {
    grid-template-columns: 48px 1fr;
    gap: 10px;
    padding: 10px 12px;
  }

  .book-mini img {
    width: 48px;
  }
}

/* Contact form */
.contact-grid {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: 36px;
  align-items: start;
  text-align: left;
}

.contact-copy p:last-child {
  margin-bottom: 0;
}

.contact-form {
  display: grid;
  gap: 16px;
  padding: 24px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 20px 60px rgba(15, 23, 42, 0.14);
  color: var(--text);
}

.form-field {
  display: grid;
  gap: 7px;
}

.form-field label {
  font-size: 0.93rem;
  font-weight: 700;
  color: var(--text);
}

.form-field label span {
  margin-left: 4px;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--muted);
}

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  border: 1px solid #dbe3ef;
  border-radius: 14px;
  background: #ffffff;
  padding: 13px 14px;
  font: inherit;
  color: var(--text);
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-field textarea {
  resize: vertical;
  min-height: 120px;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(138, 75, 34, 0.14);
}

.contact-form .btn {
  width: 100%;
  border: 0;
  cursor: pointer;
}

.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
}

@media (max-width: 900px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }
}
