/* =========================================
   HOWWE ランディングページ
   配色は応募資料（ネイビー・水色・イエロー）に合わせています
   ========================================= */

:root {
  --navy: #163c68;
  --navy-dark: #0f2c4f;
  --sky: #67c4d9;
  --sky-light: #e6f5f9;
  --yellow: #f2cf45;
  --yellow-light: #fff4c7;
  --bg: #fbfaf6;
  --bg-soft: #f2f6fa;
  --white: #ffffff;
  --text: #24364d;
  --text-sub: #5b6b80;
  --line: #dbe4ee;

  --radius: 20px;
  --radius-sm: 12px;
  --shadow: 0 6px 24px rgba(22, 60, 104, 0.08);

  --font-round: "M PLUS Rounded 1c", "Hiragino Maru Gothic ProN", sans-serif;
  --font-body: "Noto Sans JP", "Hiragino Sans", "Yu Gothic", sans-serif;
}

/* ---------- 基本 ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 72px;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.8;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, p, ul, ol, blockquote {
  margin: 0;
}

ul, ol {
  padding: 0;
  list-style: none;
}

a {
  color: inherit;
}

strong {
  font-weight: 700;
}

/* 日本語を文節で改行する（対応ブラウザのみ） */
body {
  word-break: auto-phrase;
}

/* 行末に1文字だけ残る改行を防ぐ */
p,
li,
blockquote {
  text-wrap: pretty;
}

h1,
h2,
h3 {
  text-wrap: balance;
}

.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 16px;
}

.container-narrow {
  max-width: 760px;
}

/* スマホ／PCでだけ改行する */
.pc-only { display: none; }
.sp-only { display: inline; }

/* ---------- ボタン ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  border-radius: 999px;
  font-family: var(--font-round);
  font-weight: 700;
  text-decoration: none;
  text-align: center;
  line-height: 1.4;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn:focus-visible {
  outline: 3px solid var(--sky);
  outline-offset: 3px;
}

.btn-primary {
  background: var(--navy);
  color: var(--white);
  box-shadow: 0 4px 0 var(--navy-dark);
}

.btn-primary:hover {
  background: #1d4b80;
}

.btn-yellow {
  background: var(--yellow);
  color: var(--navy-dark);
  box-shadow: 0 4px 0 #d3ae22;
}

.btn-yellow:hover {
  background: #f6d95e;
}

.btn-sm {
  padding: 8px 16px;
  font-size: 13px;
  box-shadow: none;
}

.btn-lg {
  padding: 18px 32px;
  font-size: 17px;
}

.btn-block {
  display: flex;
  width: 100%;
}

/* ---------- ヘッダー ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(251, 250, 246, 0.92);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 60px;
}

.logo {
  font-family: var(--font-round);
  font-weight: 800;
  font-size: 22px;
  letter-spacing: 0.06em;
  color: var(--navy);
  text-decoration: none;
}

/* ---------- 1. ファーストビュー ---------- */
.hero {
  position: relative;
  padding: 48px 0 140px;
  background:
    radial-gradient(circle at 85% 10%, var(--yellow-light) 0, transparent 40%),
    radial-gradient(circle at 10% 30%, var(--sky-light) 0, transparent 45%),
    var(--bg);
  overflow: hidden;
}

.hero-waves {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 120px;
}

.hero-waves svg {
  width: 100%;
  height: 100%;
  display: block;
}

.wave-yellow { fill: var(--yellow); }
.wave-sky    { fill: var(--sky); }
.wave-navy   { fill: var(--navy); }

.hero-inner {
  position: relative;
  display: grid;
  gap: 40px;
}

.hero-lead {
  display: inline-block;
  padding: 6px 14px;
  margin-bottom: 16px;
  border-radius: 999px;
  background: var(--white);
  border: 1px solid var(--line);
  color: var(--navy);
  font-size: 13px;
  font-weight: 700;
}

.hero-title {
  font-family: var(--font-round);
  font-weight: 800;
  font-size: clamp(30px, 8vw, 52px);
  line-height: 1.4;
  color: var(--navy);
  margin-bottom: 24px;
}

.marker {
  background: linear-gradient(transparent 62%, var(--yellow) 62%);
  padding: 0 2px;
}

.hero-points {
  display: grid;
  gap: 10px;
  margin-bottom: 28px;
}

.hero-points li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 15px;
}

.point-icon {
  display: inline-grid;
  place-items: center;
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--white);
  box-shadow: var(--shadow);
  font-size: 18px;
}

.hero-cta .btn {
  width: 100%;
}

.hero-note {
  margin-top: 12px;
  font-size: 13px;
  color: var(--text-sub);
}

/* スマホ画面のモック */
.hero-visual {
  display: flex;
  justify-content: center;
}

.phone {
  position: relative;
  width: 260px;
  padding: 14px;
  border-radius: 36px;
  background: var(--navy);
  box-shadow: 0 20px 40px rgba(22, 60, 104, 0.25);
  transform: rotate(3deg);
}

.phone-notch {
  position: absolute;
  top: 14px;
  left: 50%;
  transform: translateX(-50%);
  width: 90px;
  height: 18px;
  border-radius: 0 0 12px 12px;
  background: var(--navy);
  z-index: 1;
}

.phone-screen {
  padding: 32px 14px 18px;
  border-radius: 24px;
  background: var(--white);
}

.phone-app {
  font-family: var(--font-round);
  font-weight: 800;
  font-size: 12px;
  color: var(--sky);
  letter-spacing: 0.1em;
}

.phone-title {
  font-family: var(--font-round);
  font-weight: 800;
  font-size: 17px;
  color: var(--navy);
  margin-bottom: 12px;
}

.phone-card {
  display: grid;
  grid-template-columns: auto 1fr;
  column-gap: 8px;
  padding: 10px 12px;
  margin-bottom: 8px;
  border-radius: var(--radius-sm);
  background: var(--bg-soft);
  font-weight: 700;
  font-size: 13px;
  line-height: 1.5;
}

.phone-card small {
  grid-column: 2;
  font-weight: 400;
  font-size: 11px;
  color: var(--text-sub);
}

.check {
  grid-row: span 2;
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--sky);
  color: var(--white);
  font-size: 12px;
}

.phone-share {
  display: flex;
  align-items: center;
  gap: 2px;
  margin-top: 14px;
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  background: var(--yellow-light);
  font-size: 16px;
}

.phone-share em {
  margin-left: auto;
  font-style: normal;
  font-weight: 700;
  font-size: 11px;
  color: var(--navy);
}

/* ---------- セクション共通 ---------- */
.section {
  padding: 72px 0;
}

.section-label {
  display: inline-block;
  margin-bottom: 12px;
  padding: 4px 14px;
  border-radius: 999px;
  background: var(--sky-light);
  color: var(--navy);
  font-family: var(--font-round);
  font-weight: 700;
  font-size: 13px;
}

.section-title {
  font-family: var(--font-round);
  font-weight: 800;
  font-size: clamp(24px, 6vw, 36px);
  line-height: 1.5;
  color: var(--navy);
  margin-bottom: 16px;
}

.section-desc {
  color: var(--text-sub);
  margin-bottom: 40px;
}

.section-desc strong {
  color: var(--navy);
}

.card-grid {
  display: grid;
  gap: 16px;
}

.card {
  padding: 24px;
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
}

.callout {
  margin-top: 40px;
  padding: 20px 24px;
  border-radius: var(--radius);
  background: var(--yellow);
  color: var(--navy-dark);
  font-family: var(--font-round);
  font-weight: 800;
  font-size: clamp(16px, 4.4vw, 22px);
  line-height: 1.6;
  text-align: center;
}

.callout-soft {
  background: var(--yellow-light);
  font-size: clamp(15px, 4vw, 19px);
}

/* ---------- 2. 共感 ---------- */
.empathy {
  background: var(--white);
}

.worry-card {
  text-align: center;
  background: var(--bg-soft);
  box-shadow: none;
}

.worry-bubble {
  position: relative;
  display: inline-block;
  margin-bottom: 16px;
  padding: 8px 18px;
  border-radius: 999px;
  background: var(--navy);
  color: var(--white);
  font-family: var(--font-round);
  font-weight: 700;
}

.worry-bubble::after {
  content: "";
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  border: 8px solid transparent;
  border-top-color: var(--navy);
  border-bottom: 0;
}

.worry-icon {
  font-size: 44px;
  line-height: 1;
  margin-bottom: 12px;
}

.worry-card p:last-child {
  font-size: 14px;
  color: var(--text-sub);
}

/* ---------- 3. 原因 ---------- */
.cause {
  background: var(--bg);
}

/* 「ミルクをあげる」の裏にある仕事 */
.work-behind {
  margin-bottom: 56px;
}

.work-lead {
  margin-bottom: 28px;
  color: var(--text-sub);
}

.work-lead strong {
  color: var(--navy);
}

.work-flow {
  display: grid;
  gap: 32px;
  max-width: 560px;
  margin: 0 auto;
}

.work-step {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 22px 20px;
  border-radius: var(--radius);
  text-align: center;
}

.work-step:not(:last-child)::after {
  content: "↓";
  position: absolute;
  left: 50%;
  bottom: -30px;
  transform: translateX(-50%);
  color: var(--sky);
  font-weight: 800;
  font-size: 20px;
}

.work-tag {
  margin-bottom: 8px;
  padding: 2px 12px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
}

.work-step h3 {
  font-family: var(--font-round);
  font-weight: 800;
  font-size: 19px;
  color: var(--navy);
}

.work-what {
  margin-bottom: 12px;
  font-size: 13px;
  font-weight: 700;
  color: var(--text-sub);
}

/* 見えにくい仕事：点線でうっすら */
.work-step.is-hidden {
  border: 2px dashed #b6c4d3;
  background: rgba(255, 255, 255, 0.5);
}

.is-hidden .work-tag {
  background: #e3e9f0;
  color: var(--text-sub);
}

.work-voices {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px;
}

.work-voices li {
  padding: 4px 12px;
  border-radius: 999px;
  background: var(--white);
  border: 1px solid var(--line);
  font-size: 13px;
  color: var(--text);
}

.work-voices li::before { content: "「"; }
.work-voices li::after  { content: "」"; }

/* 見えている仕事：ここだけ明るく */
.work-step.is-visible {
  background: var(--white);
  border: 3px solid var(--yellow);
  box-shadow: 0 0 0 8px rgba(242, 207, 69, 0.25), var(--shadow);
}

.is-visible .work-tag {
  background: var(--yellow);
  color: var(--navy-dark);
}

.is-visible .work-what {
  color: var(--navy);
  font-size: 15px;
}

.work-icon {
  font-size: 40px;
  line-height: 1;
}

.work-msg {
  margin-top: 40px;
  padding: 24px 20px;
  border-radius: var(--radius);
  background: var(--navy);
  color: var(--white);
  font-family: var(--font-round);
  font-weight: 700;
  font-size: clamp(15px, 4.2vw, 19px);
  line-height: 1.8;
  text-align: center;
}

.work-msg strong {
  display: inline-block;
  margin: 0 4px;
  padding: 0 10px;
  border-radius: 6px;
  background: var(--yellow);
  color: var(--navy-dark);
  font-size: 1.2em;
}

/* ループ：説明と図を1枚のカードにまとめる */
.loop-wrap {
  display: grid;
  gap: 28px;
  align-items: center;
  padding: 32px 20px;
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
}

.loop-title {
  font-family: var(--font-round);
  font-weight: 800;
  font-size: clamp(22px, 5.6vw, 30px);
  line-height: 1.5;
  color: var(--navy);
  margin-bottom: 16px;
}

.loop-text p {
  color: var(--text-sub);
  margin-bottom: 8px;
}

.loop-text .loop-strong {
  margin-bottom: 0;
  color: var(--navy);
  font-weight: 700;
}

/* 円形のサイクル図 */
.loop-cycle {
  position: relative;
  width: 100%;
  max-width: 400px;
  aspect-ratio: 1;
  margin: 0 auto;
}

.loop-ring {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
}

.loop-ring path {
  fill: none;
  stroke: var(--sky);
  stroke-width: 1.6;
  stroke-linecap: round;
}

.loop-ring marker path {
  fill: var(--sky);
  stroke: none;
}

.loop li {
  position: absolute;
  transform: translate(-50%, -50%);
  padding: 8px 14px;
  border-radius: 18px;
  border: 2px solid var(--sky);
  background: var(--sky-light);
  font-family: var(--font-round);
  font-weight: 700;
  font-size: clamp(12px, 3.4vw, 15px);
  line-height: 1.4;
  color: var(--navy);
  text-align: center;
  white-space: nowrap;
}

.loop li:nth-child(1) { left: 50%;   top: 12%; }
.loop li:nth-child(2) { left: 84%;   top: 38.3%; }
.loop li:nth-child(3) { left: 72.3%; top: 80.7%; }
.loop li:nth-child(4) { left: 27.7%; top: 80.7%; }
.loop li:nth-child(5) { left: 16%;   top: 38.3%; }

.loop-center {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 60%;
  font-family: var(--font-round);
  font-weight: 700;
  font-size: clamp(12px, 3.4vw, 15px);
  line-height: 1.6;
  color: var(--text-sub);
  text-align: center;
}

.loop-center strong {
  display: block;
  font-weight: 800;
  font-size: 1.45em;
  color: var(--navy);
}

/* ---------- 4. 解決 ---------- */
.solution {
  background: var(--white);
}

.compare {
  display: grid;
  gap: 16px;
  margin-bottom: 56px;
}

.compare-col {
  padding: 24px 20px;
  border-radius: var(--radius);
  text-align: center;
}

.compare-col.before {
  background: #f1f1f1;
}

.compare-col.after {
  background: var(--sky-light);
  border: 2px solid var(--sky);
}

.compare-head {
  display: inline-block;
  margin-bottom: 20px;
  padding: 4px 16px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 14px;
  color: var(--white);
}

.before .compare-head { background: #7d7d7d; }
.after  .compare-head { background: var(--navy); }

.hub-diagram {
  display: grid;
  justify-items: center;
  gap: 16px;
  margin-bottom: 16px;
}

.hub {
  display: grid;
  place-items: center;
  align-content: center;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  font-family: var(--font-round);
  font-weight: 800;
  line-height: 1.3;
}

.hub-person {
  background: var(--white);
  color: var(--text-sub);
  font-size: 13px;
  border: 2px dashed #b5b5b5;
}

.hub-person span {
  font-size: 36px;
}

.hub-app {
  background: var(--yellow);
  color: var(--navy);
  font-size: 20px;
  box-shadow: 0 0 0 10px rgba(242, 207, 69, 0.3);
}

.hub-app small {
  font-size: 11px;
}

.satellites {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
}

.satellites span {
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--white);
  font-size: 13px;
  font-weight: 700;
}

.before .satellites span {
  color: var(--text-sub);
}

.compare-text {
  font-size: 14px;
  font-weight: 500;
}

.compare-arrow {
  justify-self: center;
  font-size: 32px;
  font-weight: 800;
  color: var(--navy);
  transform: rotate(90deg);
}

/* 強み：かんたん共有 */
.share-feature {
  padding: 32px 20px;
  border-radius: var(--radius);
  background: var(--navy);
  color: var(--white);
  text-align: center;
}

.share-badge {
  display: inline-block;
  margin-bottom: 8px;
  padding: 4px 14px;
  border-radius: 999px;
  background: var(--yellow);
  color: var(--navy-dark);
  font-weight: 700;
  font-size: 13px;
}

.share-feature h3 {
  font-family: var(--font-round);
  font-weight: 800;
  font-size: clamp(20px, 5.4vw, 28px);
  margin-bottom: 24px;
}

.mini-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.1);
  text-align: left;
}

.mini-icon {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--white);
  font-size: 24px;
}

.mini-card p {
  font-size: 13px;
  line-height: 1.6;
  color: #d6e2ee;
}

.mini-card strong {
  display: block;
  font-size: 16px;
  color: var(--white);
}

/* ---------- 5・6. 使い方 ---------- */
.howto {
  background: var(--bg-soft);
}

.update {
  background: var(--white);
}

.steps {
  display: grid;
  gap: 20px;
}

.step {
  display: flex;
  flex-direction: column;
  padding: 24px 20px;
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
}

.update .step {
  background: var(--bg-soft);
  box-shadow: none;
}

.step-num {
  align-self: flex-start;
  margin-bottom: 8px;
  padding: 2px 12px;
  border-radius: 999px;
  background: var(--navy);
  color: var(--white);
  font-family: var(--font-round);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.05em;
}

.step h3 {
  font-family: var(--font-round);
  font-weight: 800;
  font-size: 18px;
  color: var(--navy);
  margin-bottom: 16px;
}

.step-text {
  margin-top: 16px;
  font-size: 14px;
  color: var(--text-sub);
}

/* アプリ画面風のモック */
.mock {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 16px;
  border-radius: var(--radius-sm);
  border: 2px solid var(--navy);
  background: var(--white);
  font-size: 13px;
  line-height: 1.6;
}

.mock-center {
  display: grid;
  justify-items: center;
  align-content: center;
  text-align: center;
  gap: 6px;
}

.bubble {
  padding: 10px 14px;
  border-radius: 16px;
  font-weight: 700;
  margin-bottom: 12px;
}

.bubble-ai {
  background: var(--sky-light);
  color: var(--navy);
  border-top-left-radius: 4px;
}

.bubble-ai::before {
  content: "🤖 ";
}

.bubble-me {
  background: var(--yellow-light);
  color: var(--navy-dark);
  border-top-right-radius: 4px;
  font-weight: 500;
}

.bubble-me::before {
  content: "🗣️ ";
}

.mock-btns {
  display: flex;
  gap: 8px;
}

.mock-btns span {
  flex: 1;
  padding: 8px;
  border-radius: 8px;
  border: 1.5px solid var(--navy);
  text-align: center;
  font-weight: 700;
}

.mock-btns .on,
.mock-choices .on {
  background: var(--yellow);
  border-color: var(--yellow);
}

.mock-choices {
  display: grid;
  gap: 6px;
}

.mock-choices li {
  padding: 8px 12px;
  border-radius: 8px;
  border: 1.5px solid var(--line);
  font-weight: 700;
}

.mock-head {
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 8px;
}

.mock-list {
  margin-bottom: 12px;
  padding: 10px 12px;
  border-radius: 8px;
  background: var(--bg-soft);
}

.mock-list li::before {
  content: "● ";
  color: var(--sky);
  font-size: 10px;
}

.mock-sub {
  font-size: 12px;
  color: var(--text-sub);
}

.ok-circle {
  display: grid;
  place-items: center;
  width: 84px;
  height: 84px;
  border-radius: 50%;
  background: var(--yellow);
  color: var(--navy);
  font-family: var(--font-round);
  font-weight: 800;
  font-size: 22px;
}

.mock-change {
  font-family: var(--font-round);
  font-weight: 700;
  font-size: 20px;
  color: var(--navy);
  margin-bottom: 10px;
}

.mock-suggest {
  padding: 8px 10px;
  margin-bottom: 12px;
  border-radius: 8px;
  background: var(--yellow-light);
  font-weight: 700;
  font-size: 12px;
}

.mock-submit {
  display: block;
  padding: 8px;
  border-radius: 8px;
  background: var(--navy);
  color: var(--white);
  text-align: center;
  font-weight: 700;
}

/* ---------- 7. テンプレート共有 ---------- */
.template {
  background: var(--bg-soft);
}

.template-flow {
  display: grid;
  gap: 16px;
  align-items: center;
}

.tf-box {
  padding: 24px 20px;
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
}

.tf-box h3 {
  font-family: var(--font-round);
  font-weight: 800;
  font-size: 18px;
  color: var(--navy);
  margin-bottom: 14px;
  text-align: center;
}

.tf-list,
.tf-use {
  display: grid;
  gap: 10px;
}

.tf-list li,
.tf-use li {
  display: grid;
  grid-template-columns: auto 1fr;
  column-gap: 10px;
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  background: var(--bg-soft);
  line-height: 1.5;
}

.tf-list li::before {
  content: "✓";
  grid-row: span 2;
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--sky);
  color: var(--white);
  font-size: 13px;
  font-weight: 700;
}

.tf-use {
  counter-reset: use;
}

.tf-use li::before {
  counter-increment: use;
  content: counter(use);
  grid-row: span 2;
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--yellow);
  color: var(--navy);
  font-size: 13px;
  font-weight: 700;
}

.tf-list strong,
.tf-use strong {
  font-size: 15px;
  color: var(--navy);
}

.tf-list small,
.tf-use small {
  grid-column: 2;
  font-size: 12px;
  color: var(--text-sub);
}

.tf-arrow {
  justify-self: center;
  font-size: 28px;
  font-weight: 800;
  color: var(--navy);
  transform: rotate(90deg);
}

.tf-center {
  display: grid;
  justify-items: center;
  gap: 12px;
  text-align: center;
}

.tf-circle {
  display: grid;
  place-items: center;
  align-content: center;
  width: 130px;
  height: 130px;
  border-radius: 50%;
  background: var(--yellow);
  color: var(--navy);
  font-family: var(--font-round);
  font-weight: 800;
  font-size: 22px;
  line-height: 1.2;
}

.tf-circle small {
  font-size: 11px;
  letter-spacing: 0.1em;
}

.tf-center p {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-sub);
}

/* ---------- 8. こんなご家族に ---------- */
.target {
  background: var(--white);
}

.target-item {
  display: flex;
  gap: 16px;
  padding: 20px;
  border-radius: var(--radius);
  background: var(--bg-soft);
}

.target-num {
  font-family: var(--font-round);
  font-weight: 800;
  font-size: 30px;
  line-height: 1.1;
  color: var(--sky);
}

.target-item h3 {
  display: inline-block;
  margin-bottom: 6px;
  font-family: var(--font-round);
  font-weight: 800;
  font-size: 18px;
  color: var(--navy);
  background: linear-gradient(transparent 65%, var(--yellow-light) 65%);
}

.target-item p {
  font-size: 14px;
  color: var(--text-sub);
}

.target .callout {
  background: var(--navy);
  color: var(--white);
}

/* ---------- 9. 開発者の想い ---------- */
.about {
  position: relative;
  background: var(--navy);
  color: #e3ebf4;
  overflow: hidden;
}

.about::before {
  /* 資料と同じ水色・黄色の帯 */
  content: "";
  position: absolute;
  left: -10%;
  right: -10%;
  bottom: -60px;
  height: 120px;
  border-top: 14px solid var(--sky);
  border-radius: 50% 50% 0 0;
  box-shadow: 0 -14px 0 var(--yellow);
  opacity: 0.9;
}

.about-inner {
  position: relative;
  padding-bottom: 40px;
  text-align: center;
}

.about .section-label {
  background: rgba(255, 255, 255, 0.12);
  color: var(--white);
}

.about blockquote {
  margin: 8px 0 20px;
  font-family: var(--font-round);
  font-weight: 800;
  font-size: clamp(20px, 5.6vw, 30px);
  line-height: 1.6;
  color: var(--white);
}

.about blockquote + p {
  font-weight: 500;
  color: #e3ebf4;
}

/* ---------- 10. ロードマップ ---------- */
.roadmap {
  background: var(--bg);
}

.timeline {
  position: relative;
  display: grid;
  gap: 16px;
}

/* 丸と丸のあいだだけに線を引く */
.timeline li:not(:last-child)::before {
  content: "";
  position: absolute;
  top: 48px;
  bottom: -16px;
  left: 23px;
  width: 2px;
  background: var(--line);
}

.timeline li {
  position: relative;
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.tl-num {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--white);
  border: 2px solid var(--line);
  font-family: var(--font-round);
  font-weight: 800;
  color: var(--navy);
}

.timeline li > div {
  flex: 1;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  background: var(--white);
  box-shadow: var(--shadow);
}

.timeline h3 {
  font-family: var(--font-round);
  font-weight: 800;
  font-size: 17px;
  color: var(--navy);
}

.timeline p {
  font-size: 14px;
  color: var(--text-sub);
}

.is-next .tl-num {
  background: var(--yellow);
  border-color: var(--yellow);
}

.tl-badge {
  display: inline-block;
  margin-left: 6px;
  padding: 0 10px;
  border-radius: 999px;
  background: var(--sky);
  color: var(--white);
  font-style: normal;
  font-size: 11px;
  vertical-align: middle;
}

/* ---------- 11. 募集 ---------- */
.join {
  background:
    radial-gradient(circle at 90% 0%, rgba(242, 207, 69, 0.35) 0, transparent 40%),
    radial-gradient(circle at 0% 100%, rgba(103, 196, 217, 0.35) 0, transparent 45%),
    var(--sky-light);
  text-align: center;
}

.section-label-light {
  background: var(--white);
}

.join-grid {
  text-align: left;
}

.join-card {
  display: flex;
  flex-direction: column;
  padding: 28px 24px;
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
}

.join-icon {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  margin-bottom: 12px;
  border-radius: 50%;
  background: var(--bg-soft);
  font-size: 28px;
}

.join-card h3 {
  font-family: var(--font-round);
  font-weight: 800;
  font-size: 20px;
  color: var(--navy);
  margin-bottom: 8px;
}

.join-card > p {
  font-size: 14px;
  color: var(--text-sub);
  margin-bottom: 16px;
}

.join-card ul {
  flex-grow: 1;
  display: grid;
  align-content: start;
  gap: 6px;
  margin-bottom: 24px;
}

.join-card li {
  position: relative;
  padding-left: 24px;
  font-size: 14px;
  font-weight: 700;
}

.join-card li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--sky);
  font-weight: 800;
}

/* ---------- 12. FAQ ---------- */
.faq {
  background: var(--white);
}

.faq .section-label,
.faq .section-title {
  display: block;
  text-align: center;
}

.faq .section-label {
  width: fit-content;
  margin-left: auto;
  margin-right: auto;
}

.faq-list {
  display: grid;
  gap: 12px;
  margin-top: 24px;
}

.faq-list details {
  border-radius: var(--radius-sm);
  background: var(--bg-soft);
}

.faq-list summary {
  position: relative;
  padding: 16px 48px 16px 48px;
  font-weight: 700;
  color: var(--navy);
  cursor: pointer;
  list-style: none;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary::before {
  content: "Q";
  position: absolute;
  left: 16px;
  font-family: var(--font-round);
  font-weight: 800;
  color: var(--sky);
}

.faq-list summary::after {
  content: "+";
  position: absolute;
  right: 18px;
  font-size: 20px;
  line-height: 1.4;
  transition: transform 0.2s ease;
}

.faq-list details[open] summary::after {
  transform: rotate(45deg);
}

.faq-list summary:focus-visible {
  outline: 3px solid var(--sky);
  outline-offset: 2px;
  border-radius: var(--radius-sm);
}

.faq-list details p {
  padding: 0 20px 18px 48px;
  font-size: 14px;
  color: var(--text-sub);
}

/* ---------- 最後のCTA ---------- */
.final-cta {
  padding: 64px 0;
  background: var(--navy);
  text-align: center;
}

.final-copy {
  margin-bottom: 24px;
  font-family: var(--font-round);
  font-weight: 800;
  font-size: clamp(22px, 6vw, 34px);
  line-height: 1.5;
  color: var(--white);
}

.final-cta .btn {
  width: 100%;
  max-width: 420px;
}

/* ---------- フッター ---------- */
.site-footer {
  padding: 40px 0;
  background: var(--navy-dark);
  color: #9fb3c9;
  text-align: center;
  font-size: 13px;
}

.footer-logo {
  font-family: var(--font-round);
  font-weight: 800;
  font-size: 22px;
  letter-spacing: 0.06em;
  color: var(--white);
}

.footer-copy {
  margin-top: 16px;
  font-size: 12px;
}

/* =========================================
   タブレット以上
   ========================================= */
@media (min-width: 768px) {
  .container {
    padding: 0 32px;
  }

  .pc-only { display: inline; }
  .sp-only { display: none; }

  .section {
    padding: 104px 0;
  }

  .section-title,
  .section-label,
  .section-desc {
    text-align: center;
  }

  .section-label {
    display: block;
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
  }

  .btn-sm {
    padding: 10px 20px;
    font-size: 14px;
  }

  .grid-2 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }

  .card-grid { gap: 24px; }

  /* ファーストビュー */
  .hero {
    padding: 80px 0 180px;
  }

  .hero-waves {
    height: 160px;
  }

  .hero-cta .btn {
    width: auto;
  }

  /* 解決 */
  .compare {
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
  }

  .compare-arrow {
    transform: none;
  }

  .share-feature {
    padding: 48px 40px;
  }

  /* テンプレート */
  .template-flow {
    grid-template-columns: 1fr auto auto auto 1fr;
  }

  .tf-arrow {
    transform: none;
  }

  /* ロードマップ・募集の幅 */
  .timeline {
    max-width: 720px;
    margin: 0 auto;
  }

  .join-grid {
    max-width: 880px;
    margin: 0 auto;
  }

  .callout {
    padding: 24px 32px;
  }

  .work-lead {
    text-align: center;
  }
}

/* =========================================
   PC
   ========================================= */
@media (min-width: 1024px) {
  .work-flow {
    grid-template-columns: repeat(4, 1fr);
    max-width: none;
    gap: 28px;
  }

  .work-step:not(:last-child)::after {
    content: "→";
    left: auto;
    right: -24px;
    bottom: auto;
    top: 50%;
    transform: translateY(-50%);
  }

  .hero-inner {
    grid-template-columns: 1.2fr 0.8fr;
    align-items: center;
  }

  .phone {
    width: 290px;
  }

  .grid-4 { grid-template-columns: repeat(4, 1fr); }

  .loop-wrap {
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    padding: 48px 56px;
  }

  .loop-title,
  .loop-text {
    text-align: left;
  }
}

/* 動きを減らす設定の方向け */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .btn,
  .faq-list summary::after {
    transition: none;
  }
}

/* ---------- 微調整 ---------- */
.hero-lead {
  border-radius: 16px;
  line-height: 1.6;
}

@media (max-width: 767px) {
  .btn-lg {
    padding: 16px 20px;
    font-size: 15px;
  }

  /* スマホ：見出しまわりを中央にそろえる */
  .section-label,
  .section-title,
  .section-desc,
  .work-lead,
  .loop-text,
  .loop-title {
    text-align: center;
  }

  .section-label {
    display: block;
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
  }

  .section-desc {
    margin-bottom: 32px;
  }

  .section-title {
    text-wrap: balance;
  }

  /* 見出しが2行に分かれても片寄らないように */
  .worry-card p,
  .step-text {
    text-wrap: balance;
  }

  .step h3 {
    text-align: center;
  }

  .step-num {
    align-self: center;
  }

  .step-text {
    text-align: center;
  }

  /* 目標リスト・ヒーロー内のポイントは幅を詰めて中央に置く */
  .hero-points {
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
  }

  .target-item h3 {
    display: block;
  }

  .target-item {
    align-items: flex-start;
  }

  .tf-box h3 {
    text-align: center;
  }

  .timeline li > div {
    text-align: left;
  }

  .join-card {
    padding: 24px 20px;
  }

  .join-icon {
    margin-left: auto;
    margin-right: auto;
  }

  .join-card h3,
  .join-card > p {
    text-align: center;
  }

  .join-card ul {
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
  }

  .join-card .btn {
    width: 100%;
  }
}

/* タブレット以下：ファーストビューを中央そろえに */
@media (max-width: 1023px) {
  .hero-inner {
    justify-items: center;
    text-align: center;
  }

  .hero-text {
    width: 100%;
    max-width: 560px;
  }

  .hero-points li {
    text-align: left;
  }

  .hero-title {
    text-wrap: balance;
  }

  .hero-cta .btn {
    width: 100%;
    max-width: 420px;
  }

  .hero-note {
    max-width: 22em;
    margin-left: auto;
    margin-right: auto;
  }
}
