/* ============================================================
   soukyu.com「筆文字ロゴができるまで」試作 v1
   コンセプトから設計する制作プロセスを物語として見せるページ
   ============================================================ */

body {
  font-family: 'Noto Serif JP', serif;
  background: var(--bg);
  color: var(--sumi);
  overflow-x: hidden;
}
/* ---------- 製図グリッド（v5共通） ---------- */

.soukyu-page {
  max-width: 1080px;
  margin: 0 auto;
  padding: 56px clamp(24px, 5vw, 72px) 90px;
}
/* ---------- ヘッダー（共通） ---------- */

/* ---------- フッター（共通） ---------- */

.footer-sub a:hover { color: #fff; }

.sec-label {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.3em;
  color: var(--shu);
  margin-bottom: 14px;
}
/* v5: 他ページの見出しラベルと同じ朱の角マーカー */
.sec-label::before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  background: var(--shu);
  margin-right: 10px;
  vertical-align: middle;
}
h1 {
  font-size: clamp(34px, 4.4vw, 48px);
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1.5;
  margin-bottom: 22px;
}
.page-lead {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: clamp(16px, 1.35vw, 17.5px);
  line-height: 2.1;
  color: #4a4a46;
  margin-bottom: 70px;
  max-width: 38em;
}
.page-lead strong { color: var(--shu); font-weight: 700; }

/* ---- ステップ ---- */
.process-step {
  position: relative;
  display: flex;
  gap: 30px;
  margin-bottom: 64px;
  scroll-margin-top: calc(var(--header-h) + 24px);
}
/* STEP間を結ぶ縦の接続線。次の数字に近づきすぎないよう、少し手前で止める */
.process-step::before {
  content: "";
  position: absolute;
  left: 32px;
  top: 78px;
  bottom: -48px;
  width: 1px;
  background: rgba(31, 31, 31, 0.28);
  border-radius: 999px;
}
.process-step:last-child::before { display: none; }
.step-no,
.step-body {
  opacity: 0.88;
  transform: translateY(8px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}
.step-no {
  flex: 0 0 auto;
  width: 64px;
  text-align: center;
}
.step-body {
  padding-top: 15px;
}
.step-no .word {
  display: block;
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--shu);
}
.step-no .n {
  display: block;
  font-family: 'Noto Serif JP', serif;
  font-size: 44px;
  font-weight: 700;
  color: var(--sumi);
  line-height: 1.1;
}
.process-step.is-visible .step-no,
.process-step.is-visible .step-body {
  opacity: 1;
  transform: translateY(0);
}
.step-body h2 {
  font-size: 32px;
  font-weight: 700;
  letter-spacing: 0.06em;
  margin-bottom: 14px;
}
.step-body p {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: clamp(16px, 1.35vw, 17.5px);
  line-height: 2.05;
  color: #4a4a46;
  margin-bottom: 14px;
}
.step-body p strong { color: var(--sumi); font-weight: 700; }
.step-body p .em-link {
  color: var(--shu);
  font-weight: 700;
  text-decoration: underline dotted;
  text-underline-offset: 3px;
  transition: color 0.2s;
}
.step-body p .em-link:hover { color: var(--sumi); }
.step-body ul {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: clamp(16px, 1.35vw, 17px);
  line-height: 1.95;
  color: #4a4a46;
  list-style: none;
  margin: 26px 0 30px;
}
.step-body ul li { display: flex; gap: 8px; align-items: baseline; }
.step-body ul li + li { margin-top: 14px; }
/* v5: 見出しの四角と区別するため、リスト項目は線に（.trust/.plan-featsと同じルール） */
.step-body ul li::before { content: ""; width: 10px; height: 2px; background: var(--shu); flex-shrink: 0; transform: translateY(-1px); }
.step-body .note {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 15px;
  line-height: 1.95;
  color: #4a4a46;
  background: var(--cream);
  border-radius: 10px;
  padding: 20px 22px;
  margin-top: 28px;
  margin-bottom: 0;
}

/* ---- STEP内の実例導線 ---- */
.process-case-guide {
  margin-top: 42px;
}

/* ---- CTA ---- */
.cta-block {
  text-align: center;
  background: var(--cream);
  border-radius: 18px;
  padding: 44px 24px;
}
.cta-block p {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: clamp(16px, 1.35vw, 17px);
  line-height: 2;
  color: #4a4a46;
  margin-bottom: 24px;
}

@media (max-width: 700px) {
  .soukyu-page { padding: 36px 20px 64px; }
  .process-step { flex-direction: column; gap: 10px; margin-bottom: 48px; }
  .process-step::before { display: none; }
  .step-no { width: auto; text-align: left; display: flex; align-items: baseline; gap: 8px; }
  .step-no .n { font-size: 34px; }
  .step-body { padding-top: 0; }
  .step-body h2 { font-size: 24px; }
  .step-body ul li { display: block; position: relative; padding-left: 18px; }
  .step-body ul li::before { position: absolute; left: 0; top: 0.92em; transform: none; }
  .btn { width: 100%; text-align: center; }
}

@media (prefers-reduced-motion: reduce) {
  .step-no,
  .step-body {
    opacity: 1;
    transform: none;
    transition: none;
  }
}
