/* nola 無料ガイド配布LP。スマホを基準に書き、768px以上で幅を整える。 */

*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.9;
  color: var(--c-sumi);
  background: var(--c-sumi);
  font-feature-settings: "palt";
  word-break: auto-phrase;
  line-break: strict;
  overflow-x: clip;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--c-sumi); outline-offset: 3px; border-radius: 4px; }
.block--sumi :focus-visible, .block--shu :focus-visible { outline-color: var(--c-anzu); }

h1, h2 {
  font-family: var(--font-head);
  font-weight: 900;
  line-height: 1.4;
  letter-spacing: 0.01em;
}
h2 { font-size: 27px; margin-bottom: 24px; }
p + p { margin-top: 16px; }
.small { font-size: 12.5px; line-height: 1.8; }
.nowrap { white-space: nowrap; }
strong { font-weight: 700; background: linear-gradient(transparent 60%, #fff 60%); }

/* ---------- ブロックの共通 ---------- */

.block { position: relative; overflow: hidden; padding: 72px 0; }
.wrap { position: relative; z-index: 1; width: 100%; max-width: 520px; margin: 0 auto; padding: 0 24px; }

.block--shu { background: var(--c-shu); color: var(--c-kinari); }
.block--kinari { background: var(--c-kinari); }
.block--sumi { background: var(--c-sumi); color: var(--c-kinari); }
.block--mustard { background: var(--c-mustard); }
.block--anzu { background: var(--c-anzu); }

.dot { position: absolute; border-radius: 50%; z-index: 0; }

.label {
  display: inline-block;
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.34em;
  line-height: 1;
  padding: 7px 7px 7px 12px;
}
.label--light { background: var(--c-kinari); color: var(--c-shu); }

/* ---------- ボタン ---------- */

.cta {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 60px;
  padding: 12px 24px;
  border-radius: 999px;
  background: var(--c-shu);
  color: var(--c-kinari);
  font-family: var(--font-head);
  font-weight: 900;
  font-size: 18px;
  line-height: 1.3;
  text-decoration: none;
  box-shadow: 0 5px 0 rgba(0, 0, 0, 0.28);
  transition: transform 0.12s ease-out, box-shadow 0.12s ease-out;
}
.cta--dark { background: var(--c-sumi); }
.cta:active { transform: translateY(4px); box-shadow: 0 1px 0 rgba(0, 0, 0, 0.28); }

/* ---------- 1. ファーストビュー ---------- */

#fv { padding: 44px 0 56px; }
.fv-dot { width: 62vw; height: 62vw; max-width: 380px; max-height: 380px; right: -22vw; top: -18vw; background: var(--c-anzu); }

.zeroichi {
  display: flex;
  align-items: center;
  gap: 0.04em;
  margin: 22px 0 18px -0.05em;
  font-family: var(--font-head);
  font-weight: 900;
  font-size: clamp(110px, 40vw, 220px);
  line-height: 0.9;
  letter-spacing: -0.04em;
}
.zeroichi-arrow { width: 0.46em; height: auto; flex: none; margin-top: 0.07em; overflow: visible; }
.zeroichi-arrow path {
  fill: none;
  stroke: var(--c-anzu);
  stroke-width: 9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.fv-title { font-size: clamp(32px, 10vw, 46px); line-height: 1.3; }
.fv-lead { font-family: var(--font-head); font-weight: 700; font-size: 16px; line-height: 1.7; margin: 14px 0 28px; }

.fv-cover { position: relative; width: 62%; max-width: 260px; margin: 52px auto 0; }
/* 表紙の後ろを生成りの大きな円に切り替え、朱色の背景と表紙を分ける。
   円は画面より広く、ブロックの下端まで生成りが続いて次のブロックにつながる */
.fv-cover::before {
  content: "";
  position: absolute;
  left: 50%; top: 12%;
  width: max(170vw, 900px);
  aspect-ratio: 1;
  transform: translateX(-50%);
  border-radius: 50%;
  background: var(--c-kinari);
  z-index: -1;
}
.fv-cover img {
  padding: 7px;
  background: #fff;
  border-radius: 20px;
  border: 3px solid var(--c-sumi);
  box-shadow: 10px 10px 0 var(--c-sumi);
  transform: rotate(-4deg);
}
.fv-note { text-align: center; font-size: 13px; margin-top: 16px; }

/* ---------- 2. 悩み ---------- */

.worries { list-style: none; display: grid; gap: 12px; }
.worries li {
  position: relative;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 16.5px;
  line-height: 1.5;
  background: #fff;
  border: 3px solid var(--c-shu);
  border-radius: 18px;
  padding: 15px 18px 15px 50px;
}
.worries li::before {
  content: "";
  position: absolute; left: 18px; top: 50%;
  width: 18px; height: 18px;
  margin-top: -9px;
  border-radius: 50%;
  background: var(--c-anzu);
  border: 3px solid var(--c-shu);
}
.worries li:nth-child(even) { margin-left: 18px; }
.worries li:nth-child(odd) { margin-right: 18px; }

/* ---------- 3. 橋渡し ---------- */

#bridge { padding: 96px 0; }
.bridge-dot { width: 240px; height: 240px; left: -110px; bottom: -90px; background: var(--c-shu); }
.bridge-title { font-size: clamp(30px, 10.2vw, 52px); line-height: 1.3; color: var(--c-anzu); margin-bottom: 28px; }

/* ---------- 4. わかること ---------- */

.learn { list-style: none; counter-reset: learn; border-top: 3px solid var(--c-sumi); }
.learn li {
  counter-increment: learn;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 13px 0;
  border-bottom: 3px solid var(--c-sumi);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 16.5px;
  line-height: 1.5;
}
.learn li::before {
  content: counter(learn);
  flex: none;
  width: 0.7em;
  font-weight: 900;
  font-size: 34px;
  line-height: 1;
  color: var(--c-shu);
}

/* ---------- 5. 中身のチラ見せ ---------- */

#peek { padding-bottom: 60px; }
.peek-track {
  display: flex;
  gap: 14px;
  margin-top: 28px;
  padding: 4px 24px 18px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding: 0 24px;
  -webkit-overflow-scrolling: touch;
}
.peek-track img {
  flex: none;
  width: 58%;
  max-width: 250px;
  scroll-snap-align: start;
  border-radius: 14px;
  border: 3px solid var(--c-sumi);
}

/* ---------- 6. nolaの紹介 ---------- */

.about-head { display: flex; align-items: center; gap: 16px; margin-bottom: 26px; }
.about-avatar { width: 104px; height: 104px; flex: none; border-radius: 50%; background: #fff; border: 3px solid var(--c-shu); }
.about-name { font-family: var(--font-head); font-weight: 900; font-size: 30px; line-height: 1.2; }
.about-name small { display: block; font-family: var(--font-body); font-weight: 700; font-size: 13px; letter-spacing: 0.04em; margin-top: 4px; }

/* ---------- 7. 受け取り方 ---------- */

.get-dot { width: 260px; height: 260px; right: -120px; top: -110px; background: var(--c-anzu); }
#get .cta { margin-top: 30px; }
.help { margin-top: 36px; padding: 18px 20px; border-radius: 16px; background: rgba(42, 35, 32, 0.22); font-size: 13.5px; line-height: 1.8; }
.help-title { font-family: var(--font-head); font-weight: 900; font-size: 14.5px; margin-bottom: 4px; }
.help p + p { margin-top: 0; }

/* ---------- 8. フッター ---------- */

.footer { padding: 52px 0 120px; }
.footer-next { font-family: var(--font-head); font-weight: 700; font-size: 15px; line-height: 1.8; margin-bottom: 26px; }
.footer-next a { color: var(--c-anzu); font-weight: 900; font-size: 17px; }
.footer-links { margin-top: 20px; font-weight: 700; font-size: 14px; }
.footer .small { color: rgba(251, 244, 228, 0.78); }

/* ---------- 固定ボタン(スマホのみ) ---------- */

.sticky-cta {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 10;
  padding: 10px 16px calc(12px + env(safe-area-inset-bottom));
  background: var(--c-kinari);
  border-top: 3px solid var(--c-sumi);
  transform: translateY(110%);
  visibility: hidden;
  transition: transform 0.3s ease-out, visibility 0s 0.3s;
}
.sticky-cta.is-shown { transform: none; visibility: visible; transition: transform 0.3s ease-out; }
.sticky-cta .cta { min-height: 52px; font-size: 16.5px; box-shadow: 0 4px 0 rgba(0, 0, 0, 0.28); }

/* ---------- 動き ---------- */

/* スクロールで現れる。JavaScriptが動かないときは最初から見える */
.js .reveal { opacity: 0; transform: translateY(24px); }
.js .reveal.is-visible { opacity: 1; transform: none; transition: opacity 0.6s ease-out, transform 0.6s ease-out; }

/* 開いたとき: 0 → 矢印が伸びる → 1 */
.zeroichi-0 { animation: pop 0.4s cubic-bezier(0.2, 1.4, 0.4, 1) both; }
.zeroichi-arrow path { stroke-dasharray: 60; stroke-dashoffset: 60; animation: draw 0.3s ease-out 0.35s forwards; }
.zeroichi-arrow path + path { animation-delay: 0.6s; animation-duration: 0.2s; }
.zeroichi-1 { animation: pop 0.4s cubic-bezier(0.2, 1.4, 0.4, 1) 0.75s both; }
.fv-title, .fv-lead { animation: rise 0.5s ease-out 0.95s both; }

@keyframes pop { from { opacity: 0; transform: scale(0.6); } to { opacity: 1; transform: none; } }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes rise { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }

/* ボタンがときどき小さく弾む */
#fv .cta, #get .cta.is-visible { animation: hop 4s ease-in-out 2.5s infinite; }
@keyframes hop {
  0%, 88%, 100% { transform: none; }
  92% { transform: translateY(-7px); }
  96% { transform: translateY(0); }
  98% { transform: translateY(-3px); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
  .zeroichi-arrow path { stroke-dashoffset: 0; }
}

/* ---------- パソコン ---------- */

@media (min-width: 768px) {
  body { font-size: 17px; }
  .block { padding: 104px 0; }
  #fv { padding: 72px 0 72px; }
  h2 { font-size: 32px; }
  .fv-dot { right: calc(50% - 420px); top: -120px; }
  .footer { padding-bottom: 64px; }
  .sticky-cta { display: none; }
  .peek-track { max-width: 520px; margin-left: auto; margin-right: auto; }
}
