/* M55：既存AI資料の前に置く、電力と資格の短い紹介。 */
#ai-value-message .ai-doc-head h2,
.editorial-home .ai-explainer .feature-copy #ai-title {
  max-width: 24em; font-size: clamp(1.8rem, 3.6vw, 3rem); line-height: 1.45;
  white-space: normal; overflow-wrap: anywhere; text-wrap: balance;
}
.power-future { min-width: 0; margin-top: 24px; color: #243c53; font-size: 1rem; line-height: 1.8; }
.power-future p { margin: 0; font-size: 1rem; line-height: 1.8; }
.power-future a { color: #075d77; text-decoration: underline; text-underline-offset: .2em; overflow-wrap: anywhere; }
.power-future a:focus-visible { outline: 3px solid #08728a; outline-offset: 4px; }
.power-future .power-future-flow { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin: 0 0 24px; padding: 0; list-style: none; }
.power-future .power-future-flow li { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-width: 0; padding: 16px; background: #e4f1f5; border-top: 3px solid #08728a; border-radius: 4px; }
.power-future .power-future-flow strong { font-size: 1.05rem; line-height: 1.7; }
.power-future .power-future-arrow { flex-shrink: 0; color: #08728a; font-size: 1.5rem; }
.power-future .power-future-evidence { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(20px, 3vw, 36px); align-items: start; }
.power-future .power-future-outlook { min-width: 0; padding: clamp(20px, 3vw, 32px); background: #102e46; color: #fff; border-radius: 12px; }
.power-future .power-future-number { margin: 12px 0; }
.power-future .power-future-number strong { display: block; color: #83e0ef; font-size: clamp(2.75rem, 6vw, 4.5rem); line-height: 1.2; margin-block: 8px; }
.power-future .power-future-outlook a { color: #b7eff7; }
.power-future .power-future-work { min-width: 0; }
.power-future .power-future-roles { display: grid; gap: 14px; margin: 20px 0; }
.power-future .power-future-roles > div { padding-left: 16px; border-left: 3px solid #08728a; }
.power-future .power-future-roles dt { margin: 0; font-weight: 750; font-size: 1.2rem; }
.power-future .power-future-roles dd { margin: 4px 0 0; }
.power-future .power-future-scope { color: #425b6e; }
.power-future .power-future-school { margin-top: 28px; }
.power-future .power-future-school h3 { margin: 0 0 8px; color: #14354b; font-size: clamp(1.3rem, 2.3vw, 1.65rem); line-height: 1.6; }
/* M56：進路を考える呼びかけを、濃紺と黄の面で強調。 */
.power-future .power-future-family { box-sizing: border-box; width: 100%; min-width: 0; margin-top: 32px; padding: clamp(20px, 3vw, 40px); border-top: 8px solid #ffd45c; border-radius: 12px; background: #10263f; color: #fff; }
.power-future .power-future-family p { color: #fff; font-size: 1rem; line-height: 1.85; }
.power-future .power-future-family .power-future-family-label { color: #ffe39c; font-weight: 700; }
.power-future .power-future-family h3 { margin: 14px 0 22px; color: #fff; font-size: clamp(1.75rem, 3.3vw, 3rem); line-height: 1.45; font-weight: 800; white-space: normal; overflow-wrap: anywhere; }
.power-future .power-future-family h3 > span { display: block; }
.power-future .power-future-family .power-future-cta { box-sizing: border-box; display: inline-flex; align-items: center; justify-content: center; max-width: 100%; min-height: 48px; margin: 0; padding: 14px 22px; border: 2px solid #ffd45c; border-radius: 6px; background: #ffd45c; color: #10263f; font-size: 1rem; line-height: 1.7; font-weight: 750; text-align: center; white-space: normal; text-decoration: underline; }
.power-future .power-future-family .power-future-cta:hover { background: #ffe39c; border-color: #ffe39c; }
.power-future .power-future-family .power-future-cta:focus-visible { outline: 3px solid #fff; outline-offset: 5px; }
@media (max-width: 720px) {
  .power-future .power-future-flow, .power-future .power-future-evidence { grid-template-columns: minmax(0, 1fr); }
  .power-future .power-future-flow { gap: 8px; }
  .power-future .power-future-arrow { transform: rotate(90deg); }
}

/* M57：検定への挑戦を肯定し、技能・免許・AIの学びへつなぐ。 */
.power-future .power-future-family h3 .power-future-question { background: transparent; color: #ffd45c; }
.power-future .power-future-family .power-future-validation { margin-bottom: 16px; font-size: 1.125rem; font-weight: 650; line-height: 1.85; }
.power-future .power-future-family .power-future-call { box-sizing: border-box; min-width: 0; margin: 24px 0; padding: clamp(18px, 2.5vw, 28px); border-left: 5px solid #ffd45c; background: #183751; color: #fff; font-size: clamp(1.4rem, 2.5vw, 2.25rem); line-height: 1.55; font-weight: 800; overflow-wrap: anywhere; }
.power-future .power-future-family .power-future-call > span { display: block; }
.power-future .power-future-family .power-future-call em { color: #ffd45c; font-style: normal; }

/* visualだけを既存の白・黒・蛍光色へ。通常版の配色は保持する。 */
.editorial-home .power-future { color: #0a0a0a; }
.editorial-home .power-future a { color: #0a0a0a; }
.editorial-home .power-future a:focus-visible { outline-color: #0a0a0a; }
.editorial-home .power-future .power-future-flow li { background: #fff; border-top-color: #0a0a0a; }
.editorial-home .power-future .power-future-arrow { color: #0a0a0a; }
.editorial-home .power-future .power-future-outlook { background: #fff; color: #0a0a0a; border: 2px solid #0a0a0a; }
.editorial-home .power-future .power-future-number strong,
.editorial-home .power-future .power-future-outlook a { color: #0a0a0a; }
.editorial-home .power-future .power-future-roles > div { border-left-color: #0a0a0a; }
.editorial-home .power-future .power-future-scope { color: #333; }
.editorial-home .power-future .power-future-school h3 { color: #0a0a0a; }
.editorial-home .power-future .power-future-family { background: #fff; color: #0a0a0a; border-top-color: #0a0a0a; }
.editorial-home .power-future .power-future-family p,
.editorial-home .power-future .power-future-family h3,
.editorial-home .power-future .power-future-family .power-future-family-label { color: #0a0a0a; }
.editorial-home .power-future .power-future-family h3 .power-future-question { background: var(--accent); color: #0a0a0a; box-decoration-break: clone; -webkit-box-decoration-break: clone; }
.editorial-home .power-future .power-future-family .power-future-call { background: #0a0a0a; color: #fff; border-left-color: #0a0a0a; }
.editorial-home .power-future .power-future-family .power-future-call em { color: var(--accent); }
.editorial-home .power-future .power-future-family .power-future-cta { background: #0a0a0a; color: #fff; border-color: #0a0a0a; }
.editorial-home .power-future .power-future-family .power-future-cta:hover { background: var(--accent); color: #0a0a0a; border-color: #0a0a0a; }
.editorial-home .power-future .power-future-family .power-future-cta:focus-visible { outline-color: #0a0a0a; background: var(--accent); color: #0a0a0a; }

/* M80：区画の最初に置く導入文（岡本さん支給）。通常版は濃紺、visualは黒×蛍光。 */
.power-future .power-future-lead { box-sizing: border-box; min-width: 0; margin: 0 0 28px; padding: clamp(22px, 3.5vw, 44px); border-left: 6px solid #83e0ef; border-radius: 12px; background: #0d2338; color: #fff; word-break: auto-phrase; }
.power-future .power-future-lead p { color: #e6f1f7; font-size: clamp(1rem, 1.5vw, 1.125rem); line-height: 1.95; }
.power-future .power-future-lead p + p { margin-top: 14px; }
.power-future .power-future-lead p > span { display: block; }
.power-future .power-future-lead .power-future-lead-open { color: #fff; font-size: clamp(1.25rem, 2.4vw, 1.75rem); font-weight: 800; line-height: 1.6; text-wrap: balance; }
.power-future .power-future-lead .power-future-lead-key { margin-block: 22px; color: #83e0ef; font-size: clamp(1.9rem, 4.6vw, 3.4rem); font-weight: 900; line-height: 1.35; text-wrap: balance; }
.power-future .power-future-lead .power-future-lead-close { color: #ffd45c; font-size: clamp(1.2rem, 2.3vw, 1.7rem); font-weight: 800; line-height: 1.6; text-wrap: balance; }
@media (max-width: 720px) {
  .power-future .power-future-lead p > span { display: inline; }
}
.editorial-home .power-future .power-future-lead { border-left-color: #c6ff2e; background: #0a0a0a; }
.editorial-home .power-future .power-future-lead p { color: #f2f2f2; }
.editorial-home .power-future .power-future-lead .power-future-lead-open { color: #fff; }
.editorial-home .power-future .power-future-lead .power-future-lead-key,
.editorial-home .power-future .power-future-lead .power-future-lead-close { color: #c6ff2e; }

/* M83：導入文の横に縦型CMの入口を置く。スマホは導入文の下に中央寄せ。 */
.power-future .power-future-lead.has-cm { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: clamp(20px, 3vw, 44px); align-items: center; }
.power-future .power-future-cm { display: flex; flex-direction: column; align-items: center; gap: 10px; min-width: 0; color: #fff; text-decoration: none; }
.power-future .power-future-cm-thumb { position: relative; display: block; width: clamp(150px, 15vw, 200px); border: 2px solid #83e0ef; border-radius: 16px; overflow: hidden; background: #000; box-shadow: 0 10px 30px rgba(0, 0, 0, .45); }
.power-future .power-future-cm-thumb img { display: block; width: 100%; height: auto; aspect-ratio: 9 / 16; object-fit: cover; }
.power-future .power-future-cm-play { position: absolute; left: 50%; top: 50%; width: 64px; height: 64px; margin: -32px 0 0 -32px; border-radius: 50%; background: rgba(5, 11, 26, .72); border: 2px solid #fff; }
.power-future .power-future-cm-play::after { content: ""; position: absolute; left: 25px; top: 19px; border-style: solid; border-width: 12px 0 12px 20px; border-color: transparent transparent transparent #fff; }
.power-future .power-future-cm-copy { display: flex; flex-direction: column; align-items: center; gap: 2px; text-align: center; line-height: 1.5; }
.power-future .power-future-cm-copy strong { color: #fff; font-size: 1rem; font-weight: 800; }
.power-future .power-future-cm-copy span { color: #c9dbe6; font-size: .875rem; }
.power-future .power-future-cm:focus-visible { outline: 3px solid #ffd45c; outline-offset: 6px; border-radius: 12px; }
@media (hover: hover) { .power-future .power-future-cm:hover .power-future-cm-thumb { border-color: #ffd45c; } }
@media (max-width: 720px) {
  .power-future .power-future-lead.has-cm { grid-template-columns: minmax(0, 1fr); }
  .power-future .power-future-cm { flex-direction: row; justify-content: flex-start; gap: 16px; min-height: 48px; }
  .power-future .power-future-cm-thumb { width: 132px; flex: none; }
  .power-future .power-future-cm-copy { align-items: flex-start; text-align: left; }
  .power-future .power-future-cm-copy strong { font-size: 1.125rem; }
}
.editorial-home .power-future .power-future-cm-thumb { border-color: #c6ff2e; }
.editorial-home .power-future .power-future-cm:focus-visible { outline-color: #c6ff2e; }
