*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  font-family:-apple-system,BlinkMacSystemFont,"Hiragino Sans","Yu Gothic",Meiryo,sans-serif;
  background:#211811;
  color:#2d2119;
  line-height:1.75
}
:root{
  --content-width:560px;
}
.hero{
  padding:54px 18px 42px;
  text-align:center;
  background:radial-gradient(circle at top,#fff3df 0,#eacdae 48%,#2a1e17 100%);
  color:#fff
}
.eyebrow{
  margin:0 0 10px;
  font-size:12px;
  letter-spacing:.16em;
  font-weight:800;
  color:#b88952
}
.hero .eyebrow{color:#ffe1b2}
.hero h1{
  margin:0 auto 20px;
  max-width:820px;
  font-size:clamp(30px,7vw,62px);
  line-height:1.22;
  letter-spacing:.02em;
  text-shadow:0 8px 28px rgba(0,0,0,.26)
}
.lead{
  max-width:720px;
  margin:0 auto 26px;
  font-size:16px;
  color:rgba(255,255,255,.9)
}
.hero-buttons{
  display:flex;
  gap:12px;
  justify-content:center;
  flex-wrap:wrap
}
.btn,.note-button{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:48px;
  padding:12px 22px;
  border-radius:999px;
  text-decoration:none;
  font-weight:800
}
.primary,.note-button{
  background:#fff;
  color:#2d2119;
  box-shadow:0 10px 24px rgba(0,0,0,.18)
}
.ghost{
  border:1px solid rgba(255,255,255,.6);
  color:#fff
}

/* Main sections now share the same width feeling as the story cards */
.compare-section,.story,.points,.edit-guide,.final-cta{
  max-width:calc(var(--content-width) + 24px);
  margin:0 auto;
  padding:42px 12px
}
.section-heading{
  text-align:center;
  margin-bottom:22px
}
.section-heading h2,.points h2,.edit-guide h2,.final-cta h2{
  font-size:clamp(24px,5.8vw,42px);
  line-height:1.32;
  margin:0 0 14px
}
.section-heading p,.edit-guide p,.final-cta p{
  color:#725b48
}

/* stack top compare cards so width matches the story flow */
.compare-grid{
  display:grid;
  grid-template-columns:1fr;
  gap:16px
}
.compare-card{
  background:#fff8ef;
  border-radius:24px;
  padding:14px;
  box-shadow:0 16px 40px rgba(0,0,0,.16);
  border:1px solid rgba(255,255,255,.5)
}
.compare-card img{
  width:100%;
  display:block;
  border-radius:18px;
  background:#f2e5d8
}
.compare-card div{padding:14px 8px 4px}
.compare-card h3{font-size:22px;margin:0 0 8px}
.compare-card p{margin:0;color:#6f5744}
.label{
  display:inline-block;
  margin:0 0 8px;
  padding:3px 10px;
  border-radius:999px;
  background:#ead0b2;
  color:#684628;
  font-size:12px;
  font-weight:800;
  letter-spacing:.08em
}

/* point cards also become same narrow width style */
.points{
  background:#fff7ee;
  border-radius:34px;
  margin-top:14px
}
.points h2{text-align:center}
.point-grid{
  display:grid;
  grid-template-columns:1fr;
  gap:14px
}
.point-grid div{
  background:#fff;
  border-radius:22px;
  padding:20px;
  box-shadow:0 8px 24px rgba(72,42,18,.08)
}
.point-grid span{
  display:inline-flex;
  width:36px;
  height:36px;
  border-radius:50%;
  align-items:center;
  justify-content:center;
  background:#2d2119;
  color:#fff;
  font-weight:800
}
.point-grid h3{margin:12px 0 6px;font-size:19px}
.point-grid p{margin:0;color:#6f5744}

.story{padding-top:54px}
.talk-card{
  position:relative;
  max-width:var(--content-width);
  margin:0 auto 28px;
  border-radius:28px;
  overflow:hidden;
  background:#fff8ef;
  box-shadow:0 18px 42px rgba(0,0,0,.22);
  border:1px solid rgba(255,255,255,.55)
}
.talk-card img{
  display:block;
  width:100%;
  height:auto
}
.scene-number{
  position:absolute;
  z-index:5;
  top:12px;
  left:12px;
  width:44px;
  height:44px;
  border-radius:50%;
  display:flex;
  align-items:center;
  justify-content:center;
  background:#2d2119;
  color:#fff;
  font-weight:900;
  box-shadow:0 8px 20px rgba(0,0,0,.22)
}
.speaker-name{
  position:absolute;
  z-index:6;
  padding:4px 10px;
  border-radius:999px;
  background:rgba(255,255,255,.96);
  font-size:12px;
  font-weight:900;
  box-shadow:0 5px 14px rgba(0,0,0,.14);
  border:1px solid rgba(90,60,38,.12)
}
/* moved down so labels don't overlap the faces */
.speaker-name.male{left:7%;top:58%}
.speaker-name.female{right:7%;top:58%}

.bubble{
  position:absolute;
  z-index:6;
  max-width:43%;
  background:#fff;
  padding:12px 14px;
  border-radius:18px;
  box-shadow:0 8px 22px rgba(0,0,0,.16);
  font-size:clamp(13px,3.1vw,16px);
  font-weight:700;
  line-height:1.55;
  border:2px solid rgba(58,42,31,.08)
}
.bubble p{margin:0}
.bubble.left{left:4%;top:7%}
.bubble.right{right:4%;top:18%;background:#fffdf8}
.bubble.left::after{
  content:"";
  position:absolute;
  left:30px;
  bottom:-16px;
  border-width:16px 10px 0 0;
  border-style:solid;
  border-color:#fff transparent transparent transparent
}
.bubble.right::after{
  content:"";
  position:absolute;
  right:30px;
  bottom:-16px;
  border-width:16px 0 0 10px;
  border-style:solid;
  border-color:#fffdf8 transparent transparent transparent
}
.talk-card.final{box-shadow:0 18px 52px rgba(184,117,46,.35)}

.edit-guide{
  background:#fff8ef;
  border-radius:34px
}
.edit-guide pre{
  overflow:auto;
  background:#211811;
  color:#fff2e2;
  border-radius:18px;
  padding:18px;
  font-size:13px;
  line-height:1.65
}

.final-cta{
  text-align:center;
  background:linear-gradient(135deg,#fff8ef,#ead0b2);
  border-radius:34px;
  margin-bottom:78px
}
.final-cta .note-button{
  background:#2d2119;
  color:#fff;
  margin:12px 0
}
.small{font-size:12px;color:#7b6553!important}

.floating-cta{
  position:fixed;
  left:50%;
  bottom:14px;
  transform:translateX(-50%);
  z-index:20;
  background:#2d2119;
  color:#fff;
  text-decoration:none;
  padding:12px 24px;
  border-radius:999px;
  font-weight:900;
  box-shadow:0 10px 28px rgba(0,0,0,.28);
  opacity:0;
  pointer-events:none;
  transition:.25s
}
.floating-cta.is-visible{
  opacity:1;
  pointer-events:auto
}
.footer{
  text-align:center;
  color:#bda48e;
  padding:30px 16px 80px
}

@media(max-width:760px){
  .compare-section,.story,.points,.edit-guide,.final-cta{
    padding-left:10px;
    padding-right:10px
  }
  .hero{padding-top:44px}
  .bubble{
    max-width:46%;
    padding:10px 11px
  }
  .bubble.left{top:7%;left:4%}
  .bubble.right{top:20%;right:4%}
  .speaker-name.male{left:7%;top:60%}
  .speaker-name.female{right:7%;top:60%}
}
@media(max-width:420px){
  .bubble{font-size:12px;line-height:1.45}
  .scene-number{width:38px;height:38px;font-size:13px}
  .speaker-name{font-size:11px}
  .talk-card{border-radius:22px}
}


/* ===== 再調整：名前をもっと下へ / 上部画像幅を本編幅へ ===== */

.compare-grid{
  justify-items:center;
}

.compare-card{
  width:100%;
  max-width:var(--content-width);
  margin-left:auto;
  margin-right:auto;
}

.compare-card img{
  width:100%;
  max-width:var(--content-width);
  margin-left:auto;
  margin-right:auto;
}

/* 名前ラベルをさらに下へ */
.speaker-name.male{
  left:7%;
  top:67%;
}

.speaker-name.female{
  right:7%;
  top:67%;
}

@media(max-width:760px){
  .speaker-name.male{
    left:7%;
    top:69%;
  }

  .speaker-name.female{
    right:7%;
    top:69%;
  }
}


/* ===== 再調整 v3：最上部ヒーローも本編幅へ ===== */
.hero{
  max-width:calc(var(--content-width) + 24px);
  margin:0 auto 8px;
  border-bottom-left-radius:34px;
  border-bottom-right-radius:34px;
  overflow:hidden;
  padding-left:12px;
  padding-right:12px;
}

.hero h1,
.hero .lead{
  max-width:var(--content-width);
}

.hero-buttons{
  max-width:var(--content-width);
  margin-left:auto;
  margin-right:auto;
}

@media(max-width:760px){
  .hero{
    margin-left:auto;
    margin-right:auto;
    padding-left:10px;
    padding-right:10px;
    border-bottom-left-radius:26px;
    border-bottom-right-radius:26px;
  }
}
