/* マニフェストページ専用スタイル。色は style.css の変数（既存のグリーン）を使用。 */
.mp { --sky: #eaf4f8; --beige: #f6f1e3; --mp-header: 96px; --mp-nav: 56px; }
.mp h2, .mp h3, .mp h4 { text-wrap: balance; }
.mp p { word-break: auto-phrase; }
.mp-narrow { width: min(820px, calc(100% - 80px)); margin-inline: auto; }
.mp-section { padding-block: 88px; scroll-margin-top: calc(var(--mp-header) + var(--mp-nav) + 8px); }
.mp-section h2 { font-size: clamp(26px, 3.2vw, 36px); }
.mp-eyebrow { display: flex; align-items: center; gap: 12px; font-size: 13px; letter-spacing: .16em; font-weight: 800; color: var(--green-dark); margin-bottom: 14px; }
.mp-eyebrow::before { content: ''; width: 30px; height: 4px; border-radius: 4px; background: var(--lime); }
.mp-head { margin-bottom: 40px; }
.mp-head-text { margin-top: 18px; color: var(--muted); font-size: 17px; max-width: 34em; }

/* Photo component（画像／仮画像枠 共通） */
.mp-photo { margin: 0; position: relative; aspect-ratio: var(--ratio, 4/3); border-radius: var(--radius); overflow: hidden; background: var(--mist); }
.mp-photo img { width: 100%; height: 100%; object-fit: cover; }
.mp-photo-empty { display: grid; place-items: center; text-align: center; border: 2px dashed #b8cca8; background: linear-gradient(160deg, #eef6e6, var(--sky)); color: var(--green-dark); font-size: 13px; letter-spacing: .1em; }
.mp-photo-empty strong { display: block; font-size: 17px; margin-bottom: 4px; letter-spacing: .04em; }

/* 1. Hero */
.mp-hero { position: relative; background: #fff; overflow: hidden; }
.mp-hero-bg { position: absolute; inset: 0; background:
  radial-gradient(60% 80% at 85% 10%, var(--sky) 0, transparent 70%),
  radial-gradient(50% 60% at 0% 100%, #e6f2dc 0, transparent 70%); }
.mp-hero-bg::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 90px; background: linear-gradient(180deg, transparent, #eaf3e2); opacity: .7; }
.mp-hero-grid { position: relative; display: grid; grid-template-columns: 1.15fr .85fr; gap: 56px; align-items: center; padding-block: 72px 80px; }
.mp-kicker { display: inline-block; font-size: 15px; font-weight: 800; letter-spacing: .1em; color: var(--green-dark); background: var(--mist); border-radius: 999px; padding: 6px 18px; margin-bottom: 22px; }
.mp-hero h1 { font-size: clamp(52px, 8vw, 92px); line-height: 1.25; letter-spacing: .04em; color: var(--green); font-weight: 900; }
.mp-hero-sub { font-size: clamp(22px, 3vw, 32px); font-weight: 800; margin-top: 14px; line-height: 1.6; background: linear-gradient(transparent 70%, rgba(216, 225, 90, .55) 70%, rgba(216, 225, 90, .55) 92%, transparent 92%); display: inline; }
.mp-hero-lead { margin-top: 32px; font-size: 18px; font-weight: 700; color: var(--green-dark); }
.mp-hero-text { margin-top: 10px; font-size: 17px; line-height: 2; color: #33473a; }
.mp-hero-photo { aspect-ratio: 4/5; border-radius: 200px 200px 28px 28px; box-shadow: var(--shadow); justify-self: center; width: min(100%, 440px); background: #f3f4f1; }
.mp-hero-photo img { object-position: 50% 12%; }

/* 10. Page nav（sticky） */
.mp-nav { position: sticky; top: var(--mp-header); z-index: 15; background: rgba(255, 255, 255, .96); backdrop-filter: blur(6px); border-block: 1px solid var(--line); }
.mp-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 8px; justify-content: center; overflow-x: auto; scrollbar-width: none; }
.mp-nav ul::-webkit-scrollbar { display: none; }
.mp-nav a { display: block; white-space: nowrap; font-size: 14px; font-weight: 700; padding: 13px 18px; border-radius: 999px; color: var(--ink); }
.mp-nav a:hover, .mp-nav a:focus-visible { background: var(--mist); color: var(--green-dark); }
.mp-nav a.is-current { background: var(--green); color: #fff; }

/* 3. Message */
.mp-message { background: var(--cream); text-align: center; }
.mp-message h2 { margin-bottom: 28px; }
.mp-lead-text { font-size: 18px; line-height: 2.1; }
.mp-voices { list-style: none; padding: 0; margin: 26px 0; display: grid; gap: 10px; }
.mp-voices li { font-size: clamp(20px, 2.6vw, 26px); font-weight: 800; color: var(--green-dark); }
.mp-chain { margin-top: 40px; padding: 30px 24px; background: #fff; border-radius: var(--radius); border: 1px solid var(--line); display: grid; gap: 6px; }
.mp-chain p { font-size: clamp(17px, 2.2vw, 21px); font-weight: 800; }
.mp-chain p:last-child { color: var(--green-dark); }

/* 4. Pillars */
.mp-pillars { background: #fff; padding-bottom: 56px; }
.mp-pillar-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.mp-pillar { background: var(--mist); border-radius: var(--radius); padding: 34px 30px; border-top: 6px solid var(--green); }
.mp-pillar-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 18px; }
.mp-pillar-icon { width: 64px; height: 64px; border-radius: 50%; background: #fff; display: grid; place-items: center; color: var(--green-dark); box-shadow: 0 8px 18px rgba(46, 139, 29, .16); }
.mp-pillar-icon svg { width: 34px; height: 34px; stroke-width: 1.5; }
.mp-pillar-num { font-size: 40px; font-weight: 900; color: #b9d19f; line-height: 1; letter-spacing: .04em; }
.mp-pillar h3 { font-size: 24px; color: var(--green-dark); margin-bottom: 14px; }
.mp-pillar-heading { font-size: 18px; font-weight: 800; line-height: 1.7; margin-bottom: 16px; }
.mp-pillar-text { font-size: 15.5px; color: #3b4f3d; margin-bottom: 12px; line-height: 1.95; }
.mp-flow-wrap { display: flex; justify-content: center; }
.mp-flow { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 6px 0 14px; font-size: 14px; font-weight: 800; color: var(--green-dark); letter-spacing: .06em; text-align: center; }
.mp-flow::after { content: ''; width: 3px; height: 38px; background: repeating-linear-gradient(180deg, var(--green) 0 6px, transparent 6px 12px); }
.mp-flow span { order: 0; background: var(--mist); border-radius: 999px; padding: 6px 20px; }

/* 5. Policies */
.mp-policies { background: var(--mist); padding-top: 40px; }
.mp-card-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; align-items: start; }
.mp-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; scroll-margin-top: calc(var(--mp-header) + var(--mp-nav) + 12px); }
.mp-card-head { display: flex; gap: 16px; align-items: flex-start; }
.mp-num { flex-shrink: 0; width: 52px; height: 52px; border-radius: 50%; background: var(--green); color: #fff; font-weight: 900; font-size: 19px; display: grid; place-items: center; letter-spacing: .02em; }
.mp-card h3 { font-size: 21px; padding-top: 2px; }
.mp-card-sub { margin-top: 16px; font-weight: 800; color: var(--green-dark); line-height: 1.7; }
.mp-card-desc { margin-top: 10px; color: #3b4f3d; font-size: 15.5px; line-height: 1.9; }
.mp-detail { margin-top: 22px; padding-top: 22px; border-top: 1px dashed #b8cca8; }
.mp-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.mp-list li { position: relative; padding-left: 24px; font-size: 15.5px; line-height: 1.8; }
.mp-list li::before { content: ''; position: absolute; left: 0; top: .75em; width: 10px; height: 10px; border-radius: 50%; background: var(--green); }
.mp-group { margin-top: 24px; padding-top: 20px; border-top: 1px dashed #b8cca8; }
.mp-group:first-child { margin-top: 0; padding-top: 0; border-top: 0; }
.mp-group h4 { font-size: 17px; color: var(--green-dark); margin-bottom: 12px; }
.mp-group p { font-size: 15.5px; line-height: 1.95; }
.mp-emphasis { margin-top: 22px; padding: 18px 20px; border-radius: 16px; background: var(--beige); border-left: 6px solid var(--lime); font-weight: 800; line-height: 1.9; }
.mp-closing-copy { margin-top: 22px; font-weight: 800; color: var(--green-dark); font-size: 17px; }

/* 6. Park feature */
.mp-park { background: #fff; padding-top: 48px; }
.mp-park-box { background: linear-gradient(160deg, #e9f4e0 0%, var(--sky) 100%); border-radius: 36px; padding: 60px; display: grid; gap: 44px; }
.mp-park-copy { max-width: 760px; }
.mp-park-lead { font-weight: 800; font-size: 18px; color: var(--green-dark); margin-bottom: 10px; }
.mp-park h2 { font-size: clamp(34px, 5.4vw, 58px); line-height: 1.5; margin-bottom: 26px; color: var(--ink); }
.mp-park-copy p { font-size: 17px; line-height: 2.05; margin-bottom: 16px; }
.mp-park-photos { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.mp-park-item .mp-photo { box-shadow: var(--shadow); }
.mp-photo-name { margin-top: 12px; font-weight: 800; text-align: center; }

/* 7. World */
.mp-world { background: var(--sky); }
.mp-world-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; }
.mp-world-copy { margin: 18px 0; font-size: clamp(19px, 2.4vw, 24px); font-weight: 800; color: var(--green-dark); line-height: 1.8; }
.mp-world-text { margin-bottom: 22px; font-size: 16.5px; line-height: 2; }
.mp-world .mp-list li::before { background: #2f6fa0; }
.mp-world-photo { aspect-ratio: 4/3; box-shadow: var(--shadow); }

/* 8. Final message */
.mp-final { background: #e4f1d9; text-align: center; }
.mp-final h2 { margin-bottom: 28px; }
.mp-final-list { font-size: clamp(20px, 2.8vw, 26px); font-weight: 800; line-height: 2; color: var(--green-dark); margin-bottom: 28px; }
.mp-final-text { font-size: 17px; line-height: 2.1; margin-bottom: 22px; }
.mp-final-big { margin-top: 40px; font-size: clamp(26px, 4.4vw, 46px); line-height: 1.6; font-weight: 900; color: var(--green-dark); letter-spacing: .03em; }

/* 9. Profile link */
.mp-profile { background: var(--cream); }
.mp-profile-grid { display: grid; grid-template-columns: 280px 1fr; gap: 56px; align-items: center; max-width: 900px; }
.mp-profile-photo { aspect-ratio: 5/6; border-radius: 140px 140px 24px 24px; }
.mp-profile h2 { margin-bottom: 20px; }
.mp-profile p { margin-bottom: 14px; line-height: 2; }
.mp-profile .button { margin-top: 12px; }

@media (max-width: 1080px) {
  .mp { --mp-header: 80px; }
  .mp-narrow { width: min(820px, calc(100% - 56px)); }
  .mp-hero-grid { gap: 32px; }
  .mp-pillar-grid { grid-template-columns: 1fr; }
  .mp-park-box { padding: 44px 36px; }
  .mp-nav ul { justify-content: flex-start; }
}
@media (max-width: 760px) {
  .mp { --mp-header: 72px; --mp-nav: 50px; }
  .mp-narrow { width: calc(100% - 40px); }
  .mp-section { padding-block: 52px; }
  .mp-hero-grid { grid-template-columns: 1fr; padding-block: 36px 48px; gap: 30px; }
  .mp-hero-photo { width: min(100%, 320px); }
  .mp-hero-lead { margin-top: 24px; font-size: 16px; }
  .mp-hero-text { font-size: 15.5px; }
  .mp-kicker { font-size: 13px; }
  .mp-card-grid { grid-template-columns: 1fr; }
  .mp-card { padding: 24px 20px; }
  .mp-card h3 { font-size: 19px; }
  .mp-lead-text, .mp-final-text, .mp-park-copy p { font-size: 16px; }
  .mp-pillar { padding: 28px 22px; }
  .mp-head { margin-bottom: 28px; }
  .mp-head-text { font-size: 16px; }
  .mp-park-box { padding: 34px 22px; border-radius: 26px; gap: 30px; }
  .mp-park-photos { grid-template-columns: 1fr; gap: 20px; }
  .mp-world-grid { grid-template-columns: 1fr; gap: 30px; }
  .mp-profile-grid { grid-template-columns: 1fr; gap: 28px; justify-items: start; }
  .mp-profile-photo { width: 200px; }
  .mp-nav a { padding: 11px 14px; font-size: 13.5px; }
}

/* FEATURE説明文：強調語と補足 */
.mp-em { font-weight: 800; font-size: 1.15em; color: var(--green-dark); }
.mp-park-copy .mp-park-note { margin-top: 28px; padding: 18px 22px; background: rgba(255, 255, 255, .7); border-radius: 16px; border-left: 6px solid var(--lime); font-size: 16px; line-height: 2; }

/* 市民とつくるマニフェスト */
.mp-citizens { background: #fff; }
.mp-cz-voice { background: #f4f9ee; border-radius: 28px; padding: 44px 48px; }
.mp-cz-label { display: inline-block; font-size: 13px; font-weight: 800; letter-spacing: .12em; color: #fff; background: var(--green-dark); border-radius: 999px; padding: 4px 14px; margin-bottom: 14px; }
.mp-cz-voice h3 { font-size: clamp(21px, 2.8vw, 28px); line-height: 1.6; margin-bottom: 14px; }
.mp-cz-summary { font-size: 16.5px; line-height: 2; margin-bottom: 28px; }
.mp-cz-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.mp-cz-list li { display: flex; gap: 16px; background: #fff; border-radius: 18px; padding: 20px 24px; box-shadow: var(--shadow); }
.mp-cz-num { flex: none; width: 36px; height: 36px; border-radius: 50%; background: var(--green); color: #fff; font-weight: 900; display: grid; place-items: center; }
.mp-cz-list h4 { font-size: 17.5px; line-height: 1.6; margin-bottom: 6px; color: var(--green-dark); }
.mp-cz-list p { font-size: 15.5px; line-height: 1.9; }
.mp-cz-message { margin-top: 32px; border: 3px solid var(--green); border-radius: 28px; padding: 40px 48px; background: #fff; }
.mp-cz-message h3 { font-size: clamp(21px, 2.8vw, 28px); color: var(--green-dark); margin-bottom: 16px; }
.mp-cz-msg-text { font-size: 16.5px; line-height: 2.1; margin-bottom: 14px; }
.mp-cz-msg-empty { font-size: 15.5px; line-height: 2; color: var(--muted); padding: 22px; border: 2px dashed #b9d3a5; border-radius: 16px; text-align: center; }
@media (max-width: 640px) {
  .mp-cz-voice, .mp-cz-message { padding: 28px 20px; border-radius: 22px; }
  .mp-cz-list li { padding: 16px; gap: 12px; }
}
.mp-cz-topic + .mp-cz-topic { margin-top: 72px; padding-top: 56px; border-top: 2px dashed #cfe0c0; }
.mp-cz-opinion p { font-size: 16.5px; line-height: 2.1; margin-bottom: 14px; }
.mp-cz-opinion p:last-child { margin-bottom: 0; }
.mp-cz-topic { scroll-margin-top: calc(var(--mp-header) + var(--mp-nav) + 16px); }
.mp-cz-toc { margin-bottom: 44px; background: #fff; border: 2px solid #cfe0c0; border-radius: 22px; padding: 24px 32px; }
.mp-cz-toc-title { font-weight: 800; font-size: 15px; color: var(--green-dark); margin-bottom: 10px; }
.mp-cz-toc ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.mp-cz-toc a { display: block; position: relative; padding: 9px 0 9px 26px; font-weight: 700; font-size: 16.5px; line-height: 1.6; color: var(--ink); text-decoration: none; border-bottom: 1px dashed #dbe8cf; }
.mp-cz-toc li:last-child a { border-bottom: 0; }
.mp-cz-toc a::before { content: ''; position: absolute; left: 4px; top: 1.05em; width: 8px; height: 8px; border-right: 3px solid var(--green); border-bottom: 3px solid var(--green); transform: rotate(45deg) translate(-2px, -2px); }
.mp-cz-toc a:hover { color: var(--green-dark); text-decoration: underline; }
@media (max-width: 640px) { .mp-cz-toc { padding: 18px 20px; margin-bottom: 32px; } .mp-cz-toc a { font-size: 15.5px; } }
.mp-cz-figure { margin: 0 0 24px; }
.mp-cz-photo { border-radius: 28px; box-shadow: var(--shadow); }
.mp-cz-figure figcaption { margin-top: 8px; text-align: right; font-size: 13px; color: var(--muted); }
@media (max-width: 640px) { .mp-cz-photo { border-radius: 20px; } }
