/* creator.css — document/design/creator-lp.html の <style> ブロックを移植。 */

:root {
  --cyan: #00738c;
  --cyan-deep: #005a6e;
  --ink-cyan: #006e86;
  --dot: rgba(255, 255, 255, 0.3);
  --paper: #f1fafc;
  --ink: #12181a;
  --muted: #5e7076;
  --line: #dce8ec;
  --maxw: 1120px;

  /* 原稿でハードコードされていた色をトークン化 */
  --white: #fff;
  --white-rgb: 255, 255, 255;
  --ink-deep: #0e1e24;
  --shadow-cyan-rgb: 0, 55, 70;
  --shadow-ink-rgb: 0, 45, 60;
  --stripe-1: #eaf6f9;
  --stripe-2: #f5fbfd;
  --cyan-rgb: 0, 115, 140;
  --chip-on-bg: #edf9fc;
  --cal-col-bg: #f6fbfc;
  --cal-slot-bg: #e6f7ec;
  --cal-slot-border: #86cfa2;
  --cal-slot-ink: #2c7c4e;
}

* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: 'Noto Sans JP', -apple-system, BlinkMacSystemFont, 'Hiragino Kaku Gothic ProN', sans-serif;
  font-weight: 500;
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
}
.wrap {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 28px;
}
.band {
  position: relative;
  background: var(--cyan);
  color: var(--white);
  overflow: hidden;
}
.band::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, var(--dot) 24%, transparent 25%);
  background-size: 28px 28px;
  -webkit-mask-image: linear-gradient(105deg, transparent 22%, #000 95%);
  mask-image: linear-gradient(105deg, transparent 22%, #000 95%);
  pointer-events: none;
}
.band > * {
  position: relative;
  z-index: 1;
}

.slab {
  display: inline-block;
  background: var(--white);
  color: var(--ink);
  padding: 0.4em 0.6em;
  transform: rotate(-1.1deg);
  box-shadow: 0 12px 34px rgba(var(--shadow-cyan-rgb), 0.18);
}
.slab em {
  font-style: normal;
  color: var(--ink-cyan);
}

h1,
h2,
h3 {
  font-weight: 900;
  line-height: 1.3;
  letter-spacing: 0.01em;
  margin: 0;
}
h1 {
  font-size: clamp(2rem, 5.4vw, 3.3rem);
}
h2 {
  font-size: clamp(1.6rem, 3.5vw, 2.35rem);
}
h3 {
  font-size: clamp(1.05rem, 2.4vw, 1.32rem);
}
p {
  margin: 0;
}
.eyebrow {
  font-family: 'Archivo', sans-serif;
  font-weight: 800;
  letter-spacing: 0.18em;
  font-size: 0.76rem;
  text-transform: uppercase;
}

/* ---------- hero ---------- */
.hero {
  padding: clamp(48px, 7vw, 88px) 0 clamp(56px, 8vw, 96px);
}
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}
.brand {
  display: flex;
  align-items: baseline;
  gap: 14px;
  margin-bottom: clamp(28px, 4vw, 44px);
}
.brand strong {
  font-family: 'Archivo', sans-serif;
  font-size: 1.28rem;
  letter-spacing: -0.01em;
}
.brand span {
  font-size: 0.84rem;
  color: rgba(var(--white-rgb), 0.88);
}
.hero h1 {
  margin-bottom: 26px;
}
.features {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5em;
  align-items: baseline;
  font-weight: 900;
  font-size: clamp(1.2rem, 2.9vw, 1.7rem);
  margin-bottom: 24px;
}
.features i {
  font-style: normal;
  opacity: 0.5;
  font-weight: 700;
}
.pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 36px;
}
.pill {
  background: var(--white);
  color: var(--ink-cyan);
  border-radius: 99px;
  padding: 9px 20px;
  font-weight: 700;
  font-size: 0.88rem;
}
.hero-foot {
  display: flex;
  flex-wrap: wrap;
  gap: 26px;
  align-items: center;
}
.disc {
  width: 158px;
  height: 158px;
  border-radius: 50%;
  background: var(--white);
  color: var(--ink-cyan);
  display: grid;
  place-content: center;
  text-align: center;
  flex: none;
  box-shadow: 0 12px 36px rgba(var(--shadow-cyan-rgb), 0.2);
}
.disc b {
  display: block;
  font-family: 'Archivo', sans-serif;
  font-size: 2.4rem;
  line-height: 1;
  font-weight: 800;
}
.disc span {
  display: block;
  font-size: 0.84rem;
  font-weight: 700;
  margin-top: 6px;
}
.cta {
  display: inline-block;
  background: var(--white);
  color: var(--cyan-deep);
  font-weight: 900;
  font-size: 1rem;
  padding: 18px 38px;
  border-radius: 99px;
  text-decoration: none;
  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease;
  box-shadow: 0 10px 26px rgba(var(--shadow-ink-rgb), 0.22);
}
.cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 34px rgba(var(--shadow-ink-rgb), 0.28);
}
.cta-note {
  font-size: 0.83rem;
  margin-top: 12px;
  color: rgba(var(--white-rgb), 0.88);
}

/* ---------- phone mockup ---------- */
.phone {
  width: 100%;
  max-width: 320px;
  margin-inline: auto;
  aspect-ratio: 9 / 19.5;
  background: var(--ink-deep);
  border-radius: 42px;
  padding: 11px;
  box-shadow:
    0 30px 70px rgba(var(--shadow-ink-rgb), 0.34),
    0 0 0 2px rgba(var(--white-rgb), 0.16) inset;
  position: relative;
}
.phone::after {
  content: '';
  position: absolute;
  top: 22px;
  left: 50%;
  transform: translateX(-50%);
  width: 96px;
  height: 22px;
  border-radius: 99px;
  background: var(--ink-deep);
  z-index: 2;
}
.phone-screen {
  width: 100%;
  height: 100%;
  border-radius: 32px;
  overflow: hidden;
  background: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
}
.phone-screen img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
}
.phone-empty {
  width: 100%;
  height: 100%;
  display: grid;
  place-content: center;
  gap: 8px;
  text-align: center;
  background: repeating-linear-gradient(45deg, var(--stripe-1) 0 12px, var(--stripe-2) 12px 24px);
  color: var(--ink-cyan);
  font-size: 0.82rem;
  font-weight: 700;
  padding: 24px;
}

/* ---------- sections ---------- */
section {
  padding: clamp(60px, 8vw, 104px) 0;
}
.sec-head {
  margin-bottom: clamp(32px, 4.5vw, 52px);
}
.sec-head .eyebrow {
  color: var(--ink-cyan);
  display: block;
  margin-bottom: 14px;
}
.band .sec-head .eyebrow {
  color: rgba(var(--white-rgb), 0.88);
}
.lede {
  color: var(--muted);
  margin-top: 16px;
  max-width: 44em;
}
.band .lede {
  color: rgba(var(--white-rgb), 0.92);
}

.pains {
  display: grid;
  gap: 20px;
  grid-template-columns: 1fr 1fr;
}
.pain {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 32px 30px;
}
.pain q {
  display: block;
  font-weight: 900;
  font-size: 1.14rem;
  line-height: 1.6;
  quotes: '「' '」';
}
.pain p {
  color: var(--muted);
  font-size: 0.93rem;
  margin-top: 14px;
}

/* ---------- strengths ---------- */
.feat {
  display: grid;
  gap: clamp(28px, 4.5vw, 64px);
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
}
.feat + .feat {
  margin-top: clamp(56px, 7vw, 92px);
}
.feat .body .eyebrow {
  display: block;
  color: rgba(var(--white-rgb), 0.88);
  margin-bottom: 14px;
}
.feat .body h2 {
  margin-bottom: 16px;
  word-break: keep-all;
  overflow-wrap: anywhere;
}
.feat .body > p {
  color: rgba(var(--white-rgb), 0.92);
}
.specs {
  list-style: none;
  margin: 24px 0 0;
  padding: 0;
  display: grid;
  gap: 10px;
}
.specs li {
  background: rgba(0, 0, 0, 0.12);
  border-radius: 12px;
  padding: 12px 18px;
  font-weight: 700;
  font-size: 0.93rem;
}
.feat.flip .body {
  order: 2;
}

.shot {
  background: var(--white);
  border-radius: 22px;
  padding: 22px;
  color: var(--ink);
  box-shadow: 0 18px 44px rgba(var(--shadow-ink-rgb), 0.22);
}
.shot .row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 14px 4px;
  border-bottom: 1px solid var(--line);
}
.shot .row:last-child {
  border-bottom: 0;
}
.shot .k {
  font-size: 0.88rem;
  color: var(--muted);
  font-weight: 700;
}
.shot .v {
  font-weight: 900;
  white-space: nowrap;
}
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}
.chip {
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 9px 15px;
  font-weight: 700;
  font-size: 0.88rem;
}
.chip.on {
  border-color: var(--cyan);
  color: var(--ink-cyan);
  background: var(--chip-on-bg);
}
.bubble {
  background: var(--cyan);
  color: var(--white);
  border-radius: 16px;
  padding: 13px 18px;
  font-weight: 700;
  font-size: 0.93rem;
  margin-bottom: 10px;
}
.bubble.b2 {
  background: var(--cyan-deep);
}
.cal {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 6px;
  margin-top: 16px;
}
.cal .d {
  display: block;
  text-align: center;
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--muted);
}
.cal .col {
  position: relative;
  height: 98px;
  margin-top: 6px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--cal-col-bg);
}
.cal .slot {
  position: absolute;
  left: 3px;
  right: 3px;
  background: var(--cal-slot-bg);
  border: 1px solid var(--cal-slot-border);
  border-radius: 6px;
  color: var(--cal-slot-ink);
  font-size: 0.6rem;
  font-weight: 700;
  font-style: normal;
  display: grid;
  place-content: center;
  line-height: 1.3;
  text-align: center;
}
.cal-note {
  display: flex;
  justify-content: space-between;
  margin-top: 12px;
  font-size: 0.76rem;
  color: var(--muted);
  font-weight: 700;
}
.clipbar {
  height: 74px;
  border-radius: 12px;
  background: var(--ink-deep);
  position: relative;
  overflow: hidden;
  margin-bottom: 14px;
}
.clipbar span {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 14%;
  width: 34%;
  background: rgba(var(--cyan-rgb), 0.85);
  border-left: 3px solid var(--white);
  border-right: 3px solid var(--white);
}

/* ---------- terms ---------- */
.terms {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: clamp(28px, 4vw, 44px);
}
.fee {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  padding-bottom: 30px;
  border-bottom: 1px solid var(--line);
}
.fee .k {
  font-size: 0.88rem;
  color: var(--muted);
  font-weight: 700;
  display: block;
}
.fee .v {
  font-family: 'Archivo', sans-serif;
  font-weight: 800;
  font-size: clamp(2rem, 4.6vw, 2.8rem);
  line-height: 1.1;
}
.trow {
  display: flex;
  gap: 24px;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
  align-items: baseline;
}
.trow:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}
.trow dt {
  width: 88px;
  flex: none;
  color: var(--ink-cyan);
  font-weight: 700;
  font-size: 0.93rem;
}
.trow dd {
  margin: 0;
  font-weight: 900;
  font-size: clamp(1.02rem, 2.4vw, 1.26rem);
}
.trow small {
  display: block;
  font-weight: 500;
  font-size: 0.81rem;
  color: var(--muted);
  margin-top: 4px;
}

.trust {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(2, 1fr);
}
.trust div {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 26px;
}
.trust h3 {
  font-size: 1rem;
  margin-bottom: 8px;
}
.trust p {
  color: var(--muted);
  font-size: 0.89rem;
}

.steps {
  counter-reset: s;
}
.step {
  counter-increment: s;
  display: grid;
  grid-template-columns: 76px 1fr;
  gap: 22px;
  padding: 28px 0;
  border-top: 1px solid rgba(var(--white-rgb), 0.3);
  align-items: start;
}
.step:last-child {
  border-bottom: 1px solid rgba(var(--white-rgb), 0.3);
}
.step::before {
  content: counter(s, decimal-leading-zero);
  font-family: 'Archivo', sans-serif;
  font-weight: 800;
  font-size: 1.9rem;
  line-height: 1;
  opacity: 0.75;
}
.step h3 {
  margin-bottom: 6px;
}
.step p {
  color: rgba(var(--white-rgb), 0.92);
  font-size: 0.93rem;
}
.step .t {
  font-size: 0.81rem;
  margin-top: 6px;
  /* rgba(255,255,255,.85) は 4.42:1 で基準未達のため不透明に戻す */
  color: var(--white);
}

.closing {
  text-align: center;
}
.closing h2 {
  margin-bottom: 18px;
}
.closing > p {
  color: rgba(var(--white-rgb), 0.92);
  margin-bottom: 30px;
}

footer {
  background: var(--white);
  padding: 44px 0;
  border-top: 1px solid var(--line);
}
footer .links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  margin-bottom: 18px;
}
footer a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.84rem;
}
footer a:hover {
  color: var(--ink-cyan);
  text-decoration: underline;
}
footer small {
  color: var(--muted);
  font-size: 0.77rem;
}

a:focus-visible,
.cta:focus-visible {
  outline: 3px solid var(--white);
  outline-offset: 3px;
}
footer a:focus-visible {
  outline: 3px solid var(--cyan);
  outline-offset: 2px;
}

/* JS未実行・失敗時にコンテンツが不可視のまま残らないよう、
   既定は opacity:1（可視）とし、JSが確実に動いた場合のみ
   .pre クラスで opacity:0 にしてからフェードインさせる。 */
.reveal {
  opacity: 1;
  transform: none;
}
.reveal.pre {
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity 0.6s ease,
    transform 0.6s ease;
}
.reveal.pre.in {
  opacity: 1;
  transform: none;
}

@media (max-width: 980px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }
  .phone {
    max-width: 280px;
  }
}
@media (max-width: 860px) {
  .pains,
  .feat,
  .trust {
    grid-template-columns: 1fr;
  }
  .feat.flip .body {
    order: 0;
  }
  .fee {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .fee > div {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
  }
  .fee .v {
    font-size: 2rem;
  }
  .trow {
    flex-direction: column;
    gap: 4px;
  }
  .trow dt {
    width: auto;
  }
  .disc {
    width: 128px;
    height: 128px;
  }
  .disc b {
    font-size: 2rem;
  }
}
@media (prefers-reduced-motion: reduce) {
  .reveal.pre {
    opacity: 1;
    transform: none;
    transition: none;
  }
  html {
    scroll-behavior: auto;
  }
  .cta {
    transition: none;
  }
}
