:root {
  --bg: #fffdfb;
  --surface: #ffffff;
  --surface-2: #fff4ee;
  --text: #2e2a27;
  --muted: #6f6761;
  --line: #eadfd8;
  --accent: #ef7b52;
  --accent-dark: #d86239;
  --shadow: 0 20px 40px rgba(62, 39, 24, 0.08);
  --radius: 24px;
  --radius-sm: 16px;
  --container: 1120px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background: linear-gradient(180deg, #fffaf6 0%, #fffdfb 280px);
  line-height: 1.7;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
.container { width: min(calc(100% - 32px), var(--container)); margin: 0 auto; }
.narrow { width: min(calc(100% - 32px), 860px); }
.section { padding: 88px 0; }
.section-tint { background: var(--surface-2); }
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
}
.skip-link:focus {
  left: 12px;
  top: 12px;
  z-index: 1000;
  background: #000;
  color: #fff;
  padding: 8px 12px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(12px);
  background: rgba(255, 253, 251, 0.84);
  border-bottom: 1px solid rgba(234, 223, 216, 0.7);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  gap: 20px;
}
.brand img { width: 144px; height: auto; }
.header-nav {
  display: flex;
  gap: 24px;
  color: var(--muted);
  font-size: 15px;
}
.header-nav a { text-decoration: none; }
.header-nav a:hover { color: var(--text); }

.hero { padding: 56px 0 0 0 ; }
.hero-grid {
  display: grid;
  grid-template-columns: 1.20fr 0.95fr;
  gap: 48px;
  align-items: center;
}
.eyebrow {
  display: inline-block;
  margin: 0 0 12px;
  color: var(--accent-dark);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.04em;
}
.hero h1,
.section-heading h2,
.problem h2,
.solution h2,
.cta-box h2,
.faq h2 {
  margin: 0;
  line-height: 1.2;
  letter-spacing: -0.02em;
}
.hero h1 { font-size: clamp(2.15rem, 5vw, 4.2rem); }
.section h2 { font-size: clamp(1.8rem, 3vw, 2.7rem); }
.lead {
  margin: 20px 0 0;
  color: var(--muted);
  font-size: 1.08rem;
}
.hero-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 28px;
  flex-wrap: wrap;
}
.text-link {
  color: var(--accent-dark);
  font-weight: 700;
  text-decoration: none;
}
.text-link:hover { text-decoration: underline; }
.trust-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}
.trust-list li {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 10px 14px;
  font-size: 14px;
  box-shadow: 0 6px 20px rgba(62, 39, 24, 0.04);
}
.hero-visual img {
  width: 100%;
  border-radius: 28px;
}

.button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  text-decoration: none;
  border-radius: 999px;
  font-weight: 800;
  transition: transform 0.15s ease, background-color 0.15s ease, box-shadow 0.15s ease;
  border: 0;
  cursor: pointer;
}
.button:hover {
  transform: translateY(-1px);
}
.button:focus-visible,
summary:focus-visible,
a:focus-visible {
  outline: 3px solid rgba(239, 123, 82, 0.35);
  outline-offset: 3px;
}
.button-sm {
  min-height: 44px;
  padding: 0 18px;
  font-size: 14px;
}
.button-lg {
  min-height: 56px;
  padding: 0 26px;
  font-size: 16px;
}
.button-full { width: 100%; }
.button,
.header-cta {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 14px 30px rgba(239, 123, 82, 0.25);
}
.button:hover,
.header-cta:hover { background: var(--accent-dark); }

.section-heading { margin-bottom: 32px; }
.section-heading.center { text-align: center; }
.cards {
  display: grid;
  gap: 20px;
  margin-top: 15px;
}
.cards-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.cards-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.card,
.feature-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: 0 10px 30px rgba(62, 39, 24, 0.04);
}
.card h3,
.feature-card h3 { margin: 0 0 10px; font-size: 1.1rem; line-height: 1.4; }
.card p,
.feature-card p { margin: 0; color: var(--muted); }
.feature-card .icon {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  background: #fff2ea;
  border-radius: 16px;
  font-size: 24px;
  margin-bottom: 14px;
}

.split-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  align-items: center;
}
.check-list {
  list-style: none;
  padding: 0;
  margin: 24px 0 0;
}
.check-list li {
  position: relative;
  padding-left: 32px;
  margin-top: 12px;
}
.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--accent-dark);
  font-weight: 800;
}
.compare-box {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.compare-col {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
}
.compare-col h3 { margin: 0 0 12px; }
.compare-col ul { margin: 0; padding-left: 20px; color: var(--muted); }
.compare-col-accent {
  border-color: #ffd4c4;
  background: #fff8f4;
}

.steps-list {
  list-style: none;
  padding: 0;
  margin: 40px 0 0;
  display: grid;
  gap: 16px;
}
.steps-list li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 24px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  box-shadow: 0 10px 30px rgba(62, 39, 24, 0.04);
}
.steps-list li::before {
  content: counter(step);
  counter-increment: step;
  width: 38px;
  height: 38px;
  min-width: 38px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: var(--accent);
  color: #fff;
  font-weight: 800;
}
.steps-list { counter-reset: step; }
.steps-list strong { display: block; }
.steps-list span { color: var(--muted); }

.cta-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 36px;
  background: linear-gradient(135deg, #fff7f2, #ffffff);
  border: 1px solid var(--line);
  border-radius: 32px;
  box-shadow: var(--shadow);
}
.cta-box p { color: var(--muted); }
.cta-panel-actions { text-align: center; min-width: 260px; }
.microcopy { font-size: 13px; margin: 10px 0 0; }

.faq-list {
  display: grid;
  gap: 14px;
  margin-top: 32px;
}
details {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 18px 20px;
}
summary {
  cursor: pointer;
  font-weight: 700;
  list-style: none;
}
summary::-webkit-details-marker { display: none; }
details p {
  margin: 12px 0 0;
  color: var(--muted);
}

.site-footer {
  padding: 34px 0 110px;
  border-top: 1px solid var(--line);
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.footer-brand { margin: 0; font-weight: 800; }
.footer-nav {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}
.footer-nav a {
  text-decoration: none;
  color: var(--muted);
}
.copyright { margin: 0; color: var(--muted); }

.sticky-cta {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 60;
  padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
  background: rgba(255, 253, 251, 0.92);
  backdrop-filter: blur(12px);
  border-top: 1px solid rgba(234, 223, 216, 0.8);
  text-align: center;
}
.sticky-cta .button {
  max-width: 720px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid #ddd;
  padding: 15px;
}

.faq-item summary {
  list-style: none;
  cursor: pointer;
  position: relative;
  padding-right: 24px; /* 右端の記号ぶん余白 */
  font-weight: bold;
  padding: 3px 0;
}

/* デフォルトの三角を消す */
.faq-item summary::-webkit-details-marker {
  display: none;
}

/* 閉じている時は + */
.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 20px;
  line-height: 1;
}

/* 開いている時は - */
.faq-item[open] summary::after {
  content: "-";
}

@media (max-width: 1080px) {
  .cards-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 920px) {
  .hero-grid,
  .split-grid,
  .cta-box,
  .cards-3,
  .compare-box {
    grid-template-columns: 1fr;
  }
  .hero { padding-top: 28px; }
  .header-nav { display: none; }
  .hero-copy { order: 1; }
  .hero-visual { order: 0; }
  .cta-panel-actions { min-width: auto; width: 100%; }
}

@media (max-width: 640px) {
  .section { padding: 64px 0; }
  .container { width: min(calc(100% - 24px), var(--container)); }
  .hero-actions { align-items: stretch; }
  .hero-actions .button,
  .hero-actions .text-link {
    width: 100%;
    text-align: center;
  }
  .cards-4,
  .cards-3 { grid-template-columns: 1fr; }
  .steps-list li {
    align-items: flex-start;
    flex-wrap: wrap;
  }
  .site-footer { padding-bottom: 108px; }
  .cta-box {
    display: block;
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .button { transition: none; }
}

/* =========================
  Hero Overlay（FVコピー）
========================= */

.hero {
  position: relative;
  isolation: isolate;
}

/* 背景暗くする */
.hero::before {
  display: none;
}
/* ② 画像側にrelative */
.hero-visual {
  position: relative;
}


/* ④ コピーを画像上に限定 */
.hero-overlay {
  display: none;
}

/* メインコピー */
.overlay-main {
  margin: 0;
  font-size: clamp(24px, 5vw, 42px);
  font-weight: 800;
  line-height: 1.4;
  text-shadow: 0 10px 30px rgba(0,0,0,0.8);
}

/* サブコピー */
.overlay-sub {
  margin-top: 10px;
  font-size: 14px;
  opacity: 0.9;
  font-weight: 600;
}

/* 下のコンテンツを前に出す */
.hero-grid {
  position: relative;
  z-index: 0;
}

/* =========================
  スマホ調整
========================= */

@media (max-width: 768px) {
  .hero-overlay {
    display: block;
    position: absolute;
    top: 10%;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;

    width: 90%;
    max-width: 480px;
    text-align: center;
    color: #fff;
  }

  /* ③ 画像にだけ暗幕 */
  .hero-visual::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.35), rgba(0, 0, 0, 0.35), rgba(0, 0, 0, 0.4));
    z-index: 1;
    margin: -40px -15px;
    z-index: 1;
  }

  .overlay-main {
    font-size: 22px;
  }
}