/* 住商スマートエナジー サービスページ（style.css に追加読み込み） */
@media (max-width: 800px) { .pc-br { display: none; } }
.tab-br { display: none; }
@media (min-width: 801px) and (max-width: 1100px) { .tab-br { display: inline; } }
.sp-br { display: inline; }
@media (min-width: 1101px) { .sp-br { display: none; } }

:root {
  --inner: var(--container, 1200px);
}

/* l-main padding をリセット（service は独自レイアウト） */
.l-main { padding-top: 0; }

/* Service ナビをアクティブ表示 */
.hd nav a.lnk[href*="/service/"] { color: var(--c-deep); }

/* 見出し word-break */

/* Service inner container */
.inner { max-width: var(--inner); margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); box-sizing: content-box; }

/* 2カラムレイアウト・TOC はstyle.cssに共通定義 */

.main { display: flex; flex-direction: column; gap: clamp(96px,6.8vw,130px); padding-top: var(--content-top); }
.blk { display: flex; flex-direction: column; gap: clamp(36px,2.8vw,48px); }
.blk, .ct { transition: opacity 800ms var(--ease), transform 800ms var(--ease); }
.anim .blk:not(.in), .anim .ct:not(.in) { opacity: 0; transform: translateY(20px); }

.bh { font-size: clamp(28px,1.8vw,34px); font-weight: 600; line-height: 1.5; color: var(--c-deep); letter-spacing: .06em; }
.bh-sub { display: inline; margin-left: .3em; font-size: clamp(17px,1.1vw,20px); font-weight: 500; color: #008A8C; letter-spacing: .06em; }
.bh-line { display: inline-block; width: 2em; height: 1px; background: currentColor; vertical-align: middle; margin-right: .4em; }
.sub { display: flex; flex-direction: column; gap: 32px; }
.sub + .sub { padding-top: var(--content-top); border-top: 1px solid var(--c-line); }
.sub2 { display: flex; flex-direction: column; gap: 16px; }
.h4 { font-size: 18px; font-weight: 700; color: var(--c-deep); letter-spacing: .06em; line-height: 1.5; }

.ttl { display: flex; flex-direction: column; gap: 18px; }
.ttl h3 { font-size: 20px; font-weight: 700; line-height: 1.5; color: var(--c-deep); letter-spacing: .06em; }
.ttl::after { content: ""; width: 40px; height: 2px; background: #00A5A5; }

.lead-row { display: grid; grid-template-columns: 1fr 200px; gap: 32px; align-items: center; }
.lead-illust { width: 200px; }
.lead-illust img { width: 100%; height: auto; }
.lead { display: flex; flex-direction: column; gap: 14px; }
.lead p { font-size: 15px; line-height: 2; color: var(--c-body); }

/* HEMS説明 */
.hems-box { display: grid; grid-template-columns: 1fr 280px; gap: 40px; align-items: center; padding: 36px 40px; background: #F4F9F9; border-radius: 6px; }
.hems-txt { display: flex; flex-direction: column; gap: 20px; }
.hems-txt p { font-size: 15px; line-height: 1.9; color: var(--c-body); }
.hems-features { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.hems-features li { display: flex; align-items: baseline; gap: 10px; font-size: 14px; line-height: 1.7; color: var(--c-body); }
.hems-features strong { flex: none; font-size: 13px; font-weight: 700; color: #fff; background: #00A5A5; padding: 2px 10px; border-radius: 3px; }
.hems-illust { width: 280px; height: 280px; border-radius: 50%; background: #DFF3F2; overflow: hidden; }
.hems-illust .illust { border-radius: 0; }

.check-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.check-list li { position: relative; padding-left: 32px; font-size: 13px; line-height: 1.6; color: var(--c-body); }
.check-list li::before { content: ""; position: absolute; left: 0; top: 4px; width: 20px; height: 20px; border-radius: 50%; background: #00A5A5; }
.check-list li::after { content: ""; position: absolute; left: 6px; top: 9px; width: 9px; height: 5px; border-left: 2px solid #fff; border-bottom: 2px solid #fff; transform: rotate(-45deg); }

/* TOC はstyle.cssに共通定義 */

/* ===== Service KV ===== */
.lay--srv { position: relative; gap: 0 60px; }
.lay--srv > .crumb { position: absolute; top: 16px; left: var(--gutter); right: var(--gutter); z-index: 2; padding: 0; }
.srv-kv { position: relative; margin-bottom: 16px; border-radius: 8px; overflow: hidden; grid-column: 2; grid-row: 1; transition: opacity 800ms var(--ease), transform 800ms var(--ease); }
.lay--srv > .side { grid-row: 1 / -1; }
.srv-kv ~ .main { grid-column: 2; grid-row: 2; }
.srv-kv__pc, .srv-kv__sp { width: 100%; height: auto; display: block; }
.srv-kv__sp { display: none; }
.srv-kv__ttl { position: absolute; top: 60px; left: 60px; width: clamp(200px, 18vw, 260px); height: auto; }
.anim .srv-kv:not(.in) { opacity: 0; transform: translateY(24px); }

/* ===== SolaTrust ビジュアル ===== */
.st { position: relative; display: flex; flex-direction: column; color: var(--c-ink); }
.st-pic { position: relative; isolation: isolate; aspect-ratio: 16/7; border-radius: 4px; overflow: hidden; }
.st-pic img { width: 100%; height: 112%; margin-top: -6%; object-fit: cover; will-change: transform; animation: stZoom 40s var(--ease) forwards; }
.st-body { position: relative; align-self: flex-start; margin: -140px 0 0 48px; width: min(600px, calc(100% - 96px)); box-sizing: border-box; padding: 44px 48px 48px; background: #fff; border-radius: 4px; display: flex; flex-direction: column; gap: 14px; }
.st-chara { position: absolute; right: 80px; top: 63px; height: 130px; width: auto; pointer-events: none; transition: translate 600ms var(--ease); }
.st-body .en { font-size: 13px; letter-spacing: .16em; color: #007A7A; }
.st-body > img:not(.st-chara) { width: 280px; height: auto; }
.st-catch { font-size: clamp(14px,1vw,15px); font-weight: 700; line-height: 1.7; color: var(--c-deep); letter-spacing: .06em; margin-top: 10px; }
.st-sun { position: absolute; right: -6%; top: -40%; width: 60%; aspect-ratio: 1; border-radius: 50%; pointer-events: none; background: radial-gradient(circle, rgba(255,240,190,.85) 0%, rgba(255,236,170,.35) 28%, rgba(255,236,170,0) 62%); mix-blend-mode: screen; animation: sunPulse 6s ease-in-out infinite alternate; }
.st-veil { position: absolute; inset: 0; pointer-events: none; background: linear-gradient(to top, rgba(47,78,104,.18), rgba(47,78,104,0) 45%); }
.st-rule { display: none; }
.st, .st-body { transition: opacity 800ms var(--ease), transform 800ms var(--ease); }
.anim .st:not(.in) .st-body { opacity: 0; transform: translateY(24px); }
@keyframes stZoom { from { scale: 1; } to { scale: 1.05; } }
@keyframes sunPulse { from { opacity: .55; transform: scale(.96); } to { opacity: 1; transform: scale(1.04); } }

/* ===== Intro ===== */
.intro { font-size: clamp(16px,1.1vw,18px); font-weight: 500; line-height: 2; color: var(--c-body); letter-spacing: .06em; }
#intro { margin-top: calc(-1 * clamp(48px,3.4vw,64px)); gap: 28px; margin-bottom: calc(-1 * clamp(56px,4vw,80px)); }

/* ===== Merit panel ===== */
.eh { display: flex; flex-direction: column; gap: 10px; }
.eb { font-size: 14px; letter-spacing: .2em; color: #00A5A5; text-transform: uppercase; transition: letter-spacing 1200ms var(--ease); }
.anim .blk:not(.in) .eb { letter-spacing: .4em; }
.mpanel { padding: var(--content-top) clamp(32px,2.6vw,48px); background: #00A5A5; border-radius: 18px; }
.mpanel .eh .eb { color: rgba(255,255,255,.9); }
.mpanel .eh .bh { color: #fff; }
.mpanel .chg { gap: 20px; }
.chg { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 24px; }
.chg article { position: relative; background: #fff; border-radius: 4px; padding: 28px 24px 32px; gap: 20px; align-items: center; display: flex; flex-direction: column; }
.chg .hd2 { display: flex; flex-direction: column; align-items: center; gap: 20px; }
.chg .ic { width: 150px; height: 150px; flex: none; border-radius: 50%; background: #DFF3F2; overflow: hidden; }
.chg .bd { flex: 1; display: flex; flex-direction: column; gap: 12px; padding: 0; border: 0; background: none; align-self: stretch; }
.chg .bd p { font-size: 15px; line-height: 1.7; color: var(--c-body); }
.chg .bd strong { font-weight: 700; background: linear-gradient(transparent 64%, #FFE7A0 64%); padding: 0 2px; }
.chg .bd small { font-size: 12px; color: var(--c-mute); }
.chg sup { font-size: .6em; vertical-align: super; line-height: 0; }
.mnum { align-self: flex-start; font-size: 44px; line-height: 1; color: #00A5A5; letter-spacing: .02em; }

/* Merit panel v4 */
.mpanel { position: relative; overflow: hidden; isolation: isolate; background: linear-gradient(160deg, #00B7B3 0%, #00ABA9 55%, #00A0A3 100%); }
.mpanel::before { content: ""; position: absolute; z-index: -1; right: -12%; top: -38%; width: 62%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(closest-side, rgba(255,246,210,.28), rgba(255,246,210,.08) 55%, rgba(255,246,210,0)); animation: sunPulse 14s ease-in-out infinite alternate; pointer-events: none; }
.mpanel .eh { gap: 2px; align-items: center; text-align: center; }
.mpanel .eh .bh { text-align: center; }
.mpanel .eh > p { margin: 0; font-size: 15px; font-weight: 700; letter-spacing: .12em; color: #fff; opacity: .9; }
.mpanel .eh .eb { color: #fff; opacity: .85; font-size: 13px; letter-spacing: .24em; }
.mpanel .chg { gap: 24px; }
.mpanel .chg article { padding: 24px 24px 26px; gap: 14px; border-radius: 6px; transition: opacity 900ms var(--ease), translate 900ms var(--ease); }
.mpanel .mnum { position: absolute; top: 18px; left: 22px; font-size: 34px; font-weight: 300; color: #00A5A555; }
.mpanel .hd2 { position: relative; margin-top: 10px; }
.mpanel .hd2::before { content: ""; position: absolute; inset: -9px; border-radius: 50%; border: 1.5px solid rgba(0,165,165,.35); }
.mpanel .chg .ic { width: 136px; height: 136px; }
.mt { margin-top: 8px; font-size: 19px; font-weight: 700; line-height: 1.55; letter-spacing: .04em; color: var(--c-deep); text-align: center; }
.mt em { font-style: normal; color: #008A8C; background: linear-gradient(transparent 64%, #FFE7A0 64%); padding: 0 2px; }
.mpanel .chg .bd { padding-top: 14px; border-top: 1px dashed #C4E6E6; }
.mpanel .chg .bd p { font-size: 14px; line-height: 1.8; }
.anim .blk:not(.in) .chg article { opacity: 0; translate: 0 28px; }
.mpanel .chg article:nth-child(2) { transition-delay: 300ms; }
.mpanel .chg article:nth-child(3) { transition-delay: 600ms; }

/* ===== しくみ図 ===== */
.flow { display: grid; grid-template-columns: 140px minmax(0,1fr) 140px minmax(0,1fr) 140px minmax(0,1fr) 140px; align-items: start; gap: 0 8px; }
.node { display: flex; flex-direction: column; align-items: center; gap: 16px; text-align: center; }
.node .ic { width: 120px; height: 120px; border-radius: 50%; background: #DFF3F2; overflow: hidden; }
.node .ic.y { background: #FFF4D2; }
.node .ic.p { background: #FDE7E4; }
.node .ic.g { background: #EEF1F5; }
.node b { font-size: 15px; font-weight: 700; color: var(--c-ink); letter-spacing: .04em; }
.node small { display: block; margin-top: 4px; font-size: 11px; letter-spacing: 0; color: var(--c-mute); font-weight: 400; }
.node b, .node small { white-space: nowrap; }
.node.off { opacity: .45; }

.arr { display: flex; flex-direction: column; gap: 10px; padding-top: 30px; font-size: 12px; letter-spacing: .02em; font-weight: 500; text-align: center; }
.arr span { display: block; }
.arr.long { padding-top: 0; height: 156px; justify-content: space-between; position: relative; z-index: 1; margin-top: -18px; }
.arr.long .t { display: inline-block; width: fit-content; margin: 0 auto; padding: 0 8px; background: #fff; }

.ln { position: relative; height: 2px; margin: 0 6px; background: currentColor; overflow: visible; }
.ln::after { content: ""; position: absolute; top: -5px; border-top: 6px solid transparent; border-bottom: 6px solid transparent; }
.ln.r::after { right: -2px; border-left: 10px solid currentColor; }
.ln.l::after { left: -2px; border-right: 10px solid currentColor; }
.ln::before { content: ""; position: absolute; top: -1px; width: 18px; height: 4px; border-radius: 2px; background: radial-gradient(ellipse at center, rgba(255,255,255,.95), rgba(255,255,255,0) 70%); opacity: .9; }
.ln.r::before { left: 0; animation: runR 2.6s linear infinite; }
.ln.l::before { right: 0; animation: runL 2.6s linear infinite; }
@keyframes runR { from { transform: translateX(-18px); } to { transform: translateX(calc(var(--w, 100px))); } }
@keyframes runL { from { transform: translateX(18px); } to { transform: translateX(calc(-1 * var(--w, 100px))); } }

.e { color: #00A5A5; }
.m { color: #D98A00; }
.m .t { color: #9A6200; }
.e .t { color: #008A8C; }

/* ===== タイムライン（契約期間中 / 契約満了後） ===== */
.timeline { display: flex; flex-direction: column; overflow: visible; }
.tl-scroll { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.tl-phase { display: flex; flex-direction: column; gap: 28px; padding: 36px 32px 32px; border: 1px solid var(--c-line); border-radius: 12px; background: #fff; }
.tl-lead { font-size: 15px; line-height: 1.9; color: var(--c-body); text-align: center; }
.tl-lead strong { color: #008A8C; font-weight: 700; }
.tl-tabs { display: none; }
.tl-phase { position: relative; }
.tl-badge { position: absolute; top: 12px; right: 12px; width: 130px; height: 130px; display: flex; align-items: center; justify-content: center; text-align: center; font-size: 14px; font-weight: 700; line-height: 1.5; letter-spacing: .02em; color: #fff; background: #00A5A5; border-radius: 50%; z-index: 1; }
.ptag { align-self: flex-start; font-size: 14px; font-weight: 700; letter-spacing: .06em; color: #fff; background: #00A5A5; padding: 6px 16px; border-radius: 4px; }
.ptag.after { background: #0096D6; }

/* Timeline v4 */
.tl-scroll { position: relative; gap: 24px; margin-top: 44px; }
.tl-phase { gap: 26px; padding: 40px 36px 36px; border: 0; border-radius: 8px; background: #ECF8F8; }
#after { position: relative; background: #EEF6FC; }
.tl-phase::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px; border-radius: 8px 8px 0 0; background: #00A5A5; }
#after::before { left: 0; background: #0096D6; }
.tl-hd { display: flex; align-items: center; gap: 14px; }
.tl-no { font-size: 13px; letter-spacing: .18em; color: #00A5A5; }
#after .tl-no { color: #0096D6; }
.tl-phase .ptag { align-self: auto; font-size: 13px; padding: 5px 14px; border-radius: 999px; }
.tl-phase .h4 { position: relative; font-size: 24px; line-height: 1.45; letter-spacing: .04em; word-break: auto-phrase; margin-top: -6px; }
.tl-phase .h4 .num { font-family: "Outfit", sans-serif; font-size: 1.4em; font-weight: 500; line-height: 1; color: #00A5A5; margin: 0 .06em; vertical-align: -.06em; }
.tl-phase .check-list { gap: 0; background: #fff; border-radius: 8px; padding: 6px 24px; }
.tl-phase .check-list li { font-size: 14px; line-height: 1.85; padding: 16px 0 16px 34px; }
.tl-phase .check-list li + li { border-top: 1px dashed #D5E6E8; }
.tl-phase .check-list li::before { top: 19px; width: 20px; height: 20px; background: #00A5A5; }
.tl-phase .check-list li::after { top: 24px; }
#after .check-list li::before { background: #0096D6; }
#after .check-list li + li { border-top-color: #D6E4F0; }
.tl-phase .check-list strong { font-weight: 700; color: var(--c-deep); background: linear-gradient(transparent 62%, #FFE7A0 62%); padding: 0 1px; }
.tl-badge { top: -28px; right: 20px; left: auto; width: 96px; height: 96px; z-index: 2; flex-direction: column; gap: 4px; font-size: 11px; line-height: 1.4; background: #008A8C; box-shadow: 0 0 0 6px #fff; }
.tl-badge::before { content: ""; position: absolute; inset: 6px; border-radius: 50%; border: 1px dashed rgba(255,255,255,.55); }
#after .tl-badge { position: absolute; right: 20px; left: auto; font-size: 16px; font-weight: 600; }
.tl-badge--a b { font-size: 26px; font-weight: 500; line-height: 1; }
.tl-badge--a b small { font-size: 14px; margin-left: 2px; font-weight: 700; }
#after .tl-hd { padding-right: 112px; }
.tl-phase { container-type: inline-size; }
.tl-phase .h4 { font-size: min(24px, 8.4cqi) !important; }
#after .h4 { white-space: nowrap; }
.tl-badge small { font-size: 10px; font-weight: 400; letter-spacing: .12em; opacity: .85; }
.tl-phase .fd { background: #fff; box-shadow: none; border-radius: 8px; padding: 32px 20px 28px; }
.tl-phase .use-cards { background: #fff; border-radius: 8px; padding: 4px 20px; }
.tl-phase .use-card { padding: 18px 4px; }
.tl-phase > .fd { order: 1; }
.tl-phase > .check-list { order: 3; }
.tl-phase > .use-cards { order: 2; }
@media (min-width: 801px) {
  .tl-phase { display: grid; grid-row: span 5; grid-template-rows: subgrid; row-gap: 26px; align-content: start; }
  .tl-phase > .tl-hd { grid-row: 1; }
  .tl-phase > .h4 { grid-row: 2; }
  .tl-phase > .fd { grid-row: 3; }
  .tl-phase > .use-cards { grid-row: 4; }
  .tl-phase > .check-list { grid-row: 5; align-self: stretch; }
}

/* フロー図 */
.fd { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 36px 24px 32px; background: linear-gradient(180deg, #E8F4FA 0%, #F2F7FB 100%); border-radius: 12px; text-align: center; box-shadow: inset 0 1px 0 rgba(255,255,255,.7), 0 1px 4px rgba(47,78,104,.06); }
.fd--after { background: linear-gradient(180deg, #FBF8F0 0%, #F7F5EE 100%); }
.fd-nd { display: flex; flex-direction: column; align-items: center; gap: 4px; }
.fd-nd__ic { width: 60px; height: 60px; border-radius: 50%; display: grid; place-items: center; background: #fff; border: 1px solid #D3E2E6; color: var(--c-deep); margin-bottom: 6px; }
.fd-nd__ic svg { width: 28px; height: 28px; }
.fd-nd--lg .fd-nd__ic { width: 80px; height: 80px; border: 1.5px solid #00A5A5; background: #F2FAFA; }
.fd-nd--lg .fd-nd__ic svg { width: 38px; height: 38px; }
.fd-nd__ic--p { background: #FFF3D1; border-color: #FFF3D1; color: #8A5A00; }
.fd-nd__ic--b { background: #E1F0F8; border-color: #E1F0F8; color: #1E5A8A; }
.fd-nd--lg .fd-nd__ic--h { background: #DDF3F2; border-color: #00A5A5; color: #00807F; }
.fd-nd--dim .fd-nd__ic--b { background: #EEF0F2; border-color: #EEF0F2; color: #6F7F95; }
.fd-nd--dim { opacity: .55; }
.fd b { font-size: 14px; font-weight: 700; color: var(--c-ink); letter-spacing: .03em; line-height: 1.4; }
.fd small { font-size: 11px; color: var(--c-mute); line-height: 1.4; letter-spacing: .04em; }
.fd-link { display: flex; align-items: center; justify-content: center; gap: 10px; padding: 10px 0; }
.fd-link__arr { width: 40px; height: 48px; flex-shrink: 0; }
.fd-link__lbl { font-size: 12px; font-weight: 700; letter-spacing: .06em; white-space: nowrap; min-width: 6em; padding: 0; border-radius: 0; background: none !important; }
.fd-link__lbl--dn { color: #00807F; text-align: right; }
.fd-link__lbl--up { color: #B85A00; text-align: left; }
.fd-link__lbl:empty { background: none; padding: 0; }
/* Flow diagram v5 */
.tl-phase .fd { align-items: stretch; gap: 0; padding: 24px; text-align: left; }
.fd-nd { display: grid; grid-template-columns: 56px minmax(0,1fr); column-gap: 16px; row-gap: 2px; align-items: center; padding: 14px 18px; border-radius: 10px; background: #F5F9FA; border: 1px solid #E2ECEF; }
.fd-nd .fd-nd__ic { grid-row: 1 / 3; width: 56px; height: 56px; margin: 0; border: 0; }
.fd-nd .fd-nd__ic svg { width: 30px; height: 30px; stroke-width: 1.7; }
.fd-nd b { align-self: end; font-size: 15px; letter-spacing: .04em; }
.fd-nd small { align-self: start; font-size: 12px; }
.fd-nd__ic--p { background: #FFE9A8; color: #7A4E00; }
.fd-nd__ic--b { background: #D5E9F5; color: #1E5A8A; }
.fd-nd--lg { background: #E8F7F6; border: 1.5px solid #00A5A5; padding: 18px; }
.fd-nd--lg .fd-nd__ic, .fd-nd--lg .fd-nd__ic--h { width: 56px; height: 56px; background: #00A5A5; border: 0; color: #fff; }
.fd-nd--lg .fd-nd__ic svg { width: 30px; height: 30px; }
.fd-nd__ic .tone { fill: currentColor; stroke: none; opacity: .16; }
.fd-nd__ic .win { fill: currentColor; stroke: none; }
.fd-nd__ic .pv { fill: #00A5A5; stroke: #00A5A5; stroke-width: 1.2; }
.fd-nd__ic .pv-l { stroke: #fff; stroke-width: .9; }
.fd-nd--lg .fd-nd__ic .tone { opacity: .22; }
.fd-nd--lg .fd-nd__ic .pv { fill: #FFD76A; stroke: #FFD76A; }
.fd-nd--lg .fd-nd__ic .pv-l { stroke: #00A5A5; }
.fd-nd--lg b { font-size: 17px; color: #00696A; }
.fd-nd--dim { opacity: 1; background: #F7F8F9; border-style: dashed; }
.fd-nd--dim b, .fd-nd--dim small { color: #9AA5B1; }
.fd-nd--dim .fd-nd__ic--b { background: #ECEFF2; color: #9AA5B1; }
.fd-nd .fd-nd__ic--illust { width: 72px !important; height: 72px !important; }
.fd-nd .fd-nd__ic--illust svg { width: 50px !important; height: 50px !important; stroke-width: initial; }
.fd-nd { grid-template-columns: 72px minmax(0,1fr); }
.fd-nd__ic--illust.fd-nd__ic--p { background: #FFF1C9; }
.fd-nd__ic--illust.fd-nd__ic--b { background: #DCEEF8; }
.fd-nd--lg .fd-nd__ic--illust.fd-nd__ic--h { background: #fff; box-shadow: inset 0 0 0 1.5px #00A5A5; }
.fd-nd--lg .fd-nd__ic--illust svg { width: 54px !important; height: 54px !important; }
.fd-nd--dim .fd-nd__ic--illust.fd-nd__ic--b { background: #EEF0F2; }
.tl-phase .fd-link { display: grid; grid-template-columns: minmax(0,1fr) 40px minmax(0,1fr); gap: 12px; padding: 8px 0; }
.tl-phase .fd-link__arr { width: 40px; height: 52px; justify-self: center; }
.tl-phase .fd-link__arr path { stroke-width: 2.2; }
.tl-phase .fd-link__lbl { justify-self: end; min-width: 0; padding: 5px 12px; border-radius: 999px; font-size: 12px; letter-spacing: .04em; }
.tl-phase .fd-link__lbl--up { justify-self: start; }
.tl-phase .fd-link__lbl--dn { background: #DDF3F2 !important; color: #00807F; }
.tl-phase .fd-link__lbl--up { background: #FFE2B3 !important; color: #A55000; }
.tl-phase .fd-link__lbl:empty { background: none !important; padding: 0; }
@container (max-width: 340px) {
  .tl-phase .fd { padding: 16px 12px; }
  .fd-nd, .fd-nd--lg { grid-template-columns: minmax(0,1fr); justify-items: center; text-align: center; row-gap: 4px; padding: 14px 10px; }
  .fd-nd .fd-nd__ic { grid-row: auto; width: 48px; height: 48px; margin-bottom: 4px; }
  .fd-nd .fd-nd__ic svg { width: 26px; height: 26px; }
  .fd-nd b { font-size: 14px; }
  .fd-nd small { font-size: 11px; }
  .tl-phase .fd-link { grid-template-columns: minmax(0,1fr) 28px minmax(0,1fr); gap: 6px; }
  .tl-phase .fd-link__arr { width: 28px; }
  .tl-phase .fd-link__lbl { padding: 4px 8px; font-size: 11px; letter-spacing: 0; }
}

/* 15年後 遷移要素 */
.tl-mid { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; padding: 24px 0; }
.tl-mid-year { font-size: 18px; font-weight: 800; color: var(--c-deep); letter-spacing: .06em; }
.tl-mid-badge { font-size: 13px; font-weight: 700; line-height: 1.5; letter-spacing: .04em; color: #fff; background: #00A5A5; padding: 8px 14px; border-radius: 6px; text-align: center; }

/* 昼間／余剰電力／夜間カード */
.use-cards { display: flex; flex-direction: column; gap: 0; }
.use-card { display: flex; gap: 16px; padding: 20px; border-bottom: 1px solid var(--c-line); background: none; border-radius: 0; }
.use-card:last-child { border-bottom: none; }
.use-card__icon { flex: none; width: 44px; height: 44px; border-radius: 50%; display: flex; align-items: center; justify-content: center; }
.use-card.d .use-card__icon { background: #FFF4D2; }
.use-card.s .use-card__icon { background: #DFF3F2; }
.use-card.n .use-card__icon { background: #EEF1F5; }
.use-card__body { display: flex; flex-direction: column; gap: 4px; }
.use-card__body em { font-style: normal; font-weight: 700; font-size: 15px; color: var(--c-ink); letter-spacing: .04em; }
.use-card__body em::after { display: none; }
.use-card__body p { font-size: 14px; line-height: 1.8; color: var(--c-body); }
.use-card__body strong { color: #008A8C; font-weight: 700; }
.use-card.hl { background: none; box-shadow: none; }
.use-card.hl .use-card__body strong { text-decoration: underline; text-decoration-color: rgba(0,138,140,.3); text-underline-offset: 3px; }

/* ===== Contact ===== */
.ct { display: grid; grid-template-columns: minmax(0,7fr) minmax(0,5fr); align-items: start; gap: 0; padding-top: 0; border-top: 0; background: #fff; min-height: 440px; }
.ct-pic { position: relative; height: 100%; min-height: 440px; overflow: hidden; border-radius: 4px 0 0 4px; -webkit-mask-image: linear-gradient(to right, #000 55%, transparent 98%); mask-image: linear-gradient(to right, #000 55%, transparent 98%); }
.ct-pic img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 20% 50%; transition: clip-path 1000ms var(--ease); }
.anim .ct:not(.in) .ct-pic img { clip-path: inset(0 100% 0 0); }
.ct-txt { display: flex; flex-direction: column; gap: 24px; padding: 48px 0 48px 8px; transition: opacity 800ms var(--ease) 400ms, transform 800ms var(--ease) 400ms; }
.anim .ct:not(.in) .ct-txt { opacity: 0; transform: translateY(16px); }
.ct-label { display: flex; flex-direction: column; gap: 6px; }
.ct-label .en { font-size: 36px; color: var(--c-deep); line-height: 1.1; }
.ct-label span:last-child { font-size: 13px; color: var(--c-body); }
.ct-txt h2 { font-size: clamp(22px,1.4vw,26px); font-weight: 600; color: var(--c-deep); letter-spacing: .06em; line-height: 1.6; }
.ct-txt p { font-size: 14px; line-height: 1.9; color: var(--c-body); }
.ct-txt .pill { align-self: center; padding: 12px 32px; font-size: 14px; gap: 8px; }
.ct-warm { position: absolute; inset: 0; pointer-events: none; background: radial-gradient(ellipse at 70% 30%, rgba(255,226,160,.45), rgba(255,226,160,0) 60%); animation: sunPulse 5s ease-in-out infinite alternate; }

/* ===== イラスト枠（納品後に img に差し替え） ===== */
.illust { display: block; width: 100%; height: 100%; border-radius: 50%; object-fit: cover; }
span.illust { box-shadow: inset 0 0 0 1px rgba(47,78,104,.12); }

/* ===== Responsive ===== */
@media (max-width: 1100px) {
  .flow { grid-template-columns: 100px minmax(0,1fr) 100px minmax(0,1fr) 100px minmax(0,1fr) 100px; overflow-x: auto; overflow-y: hidden; padding: 20px 0 12px; }
  .flow .arr { min-width: 100px; }
  .node .ic { width: 90px; height: 90px; }
  .chg { grid-template-columns: minmax(0,1fr); }
  .chg .hd2 { flex-direction: row; align-items: center; }
  .chg .ic { width: 100px; height: 100px; }
  .mpanel .chg article { display: grid; grid-template-columns: 112px minmax(0,1fr); column-gap: 28px; row-gap: 12px; align-items: center; padding: 92px 28px 28px; }
  .mpanel .hd2 { grid-row: 1 / span 2; margin: 0; align-self: start; }
  .mpanel .chg .ic { width: 112px; height: 112px; }
  .mt { margin: 0; text-align: left; }
  .mpanel .chg .bd { grid-column: 2; padding-top: 12px; }
}
@media (max-width: 1100px) {
  .lay--srv { grid-template-columns: minmax(0,1fr); gap: 0; }
  .lay--srv > .side { display: none; }
  .chg .mt br { display: none; }
}
@media (max-width: 600px) {
  .chg .mt br { display: inline; }
}
@media (max-width: 1000px) {
  /* lay/side/toc SPはstyle.cssに共通定義 */
  .main { padding-top: 48px; }
  #overview .sub { display: flex; flex-direction: column; gap: 32px; }
  #overview .lead-row { display: grid; grid-template-columns: 1fr; gap: 24px; }
  #overview .lead-illust { order: -1; width: 200px; height: auto; justify-self: center; }
}
@media (max-width: 800px) {
  .lay--srv { padding-top: 0; overflow-x: clip; }
  .bh-sub { display: block; margin-left: 0; margin-top: 4px; }
  .bh-line { display: inline-block; width: 1.2em; margin-right: .3em; }
  #overview > .sub > .bh { text-align: center; }
  .srv-kv { grid-column: auto; grid-row: auto; order: 1; margin-top: 0; margin-left: calc(-1 * var(--gutter)); margin-right: calc(-1 * var(--gutter)); border-radius: 0; }
  .lay--srv > .crumb { position: static; grid-column: auto; grid-row: auto; order: 2; left: auto; right: auto; padding-top: 16px; padding-bottom: 8px; }
  .lay--srv > .side { grid-row: auto; order: 3; }
  .srv-kv ~ .main { grid-column: auto; grid-row: auto; order: 4; }
  .srv-kv__pc { display: none; }
  .srv-kv__sp { display: block; }
  .srv-kv__ttl { top: clamp(24px, 8vw, 60px); left: clamp(24px, 8vw, 60px); width: clamp(180px, 36vw, 293px); }
  .st-pic { aspect-ratio: 4/3; }
  .st-body { margin: -60px 16px 0; width: auto; padding: 32px 24px; }
  .st-body { position: relative; overflow: visible; } .st-chara { position: absolute; height: 110px; top: auto; bottom: 20px; right: -56px; }
  .ct { grid-template-columns: minmax(0,1fr); margin-left: calc(-1 * var(--gutter)); margin-right: calc(-1 * var(--gutter)); }
  .ct-pic { order: 2; min-height: 240px; margin-top: 32px; border-radius: 0; -webkit-mask-image: linear-gradient(to top, #000 60%, transparent 100%); mask-image: linear-gradient(to top, #000 60%, transparent 100%); }
  .ct-txt { order: 1; padding: 0 var(--gutter); }
  .mpanel { padding: 36px 20px; }
  .mpanel .chg article { grid-template-columns: 84px minmax(0,1fr); column-gap: 18px; padding: 88px 20px 24px; }
  .mpanel .chg .ic { width: 84px; height: 84px; }
  .mt { font-size: 17px; }
  .lead-row { grid-template-columns: 1fr; }
  .lead-illust { width: 140px; height: 140px; justify-self: center; }
  .hems-box { grid-template-columns: 1fr; padding: 28px 24px; }
  .hems-illust { width: 200px; height: 200px; justify-self: center; }
  .timeline { border: 1px solid var(--c-line); border-radius: 12px; background: #fff; overflow: hidden; }
  .tl-tabs { display: flex; gap: 0; border-bottom: 2px solid var(--c-line); }
  .tl-tab { flex: 1; padding: 12px 8px; font-size: 14px; font-weight: 700; letter-spacing: .04em; color: var(--c-mute); background: none; border: none; border-bottom: 2px solid transparent; margin-bottom: -2px; cursor: pointer; transition: color 300ms, border-color 300ms; }
  .tl-tab.on { color: #1592D6; border-bottom-color: #1592D6; }
  .tl-tab[data-tab="1"].on { color: #2D5986; border-bottom-color: #2D5986; }
  .tl-scroll { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
  .tl-scroll::-webkit-scrollbar { display: none; }
  .tl-scroll > .tl-phase { flex: 0 0 100%; scroll-snap-align: start; min-width: 100%; border: none; border-radius: 0; background: none; }
  .tl-mid { display: none; }
  .tl-phase { padding: 28px 20px 24px; }
  .tl-phase .h4 { font-size: 22px; }
  .tl-scroll { gap: 0; margin-top: 0; }
  #after { position: relative; }
  #after::before { left: 0; }
  .tl-phase::before { display: none; }
  #after .tl-hd, #after .h4 { padding-right: 116px; white-space: normal; }
  .tl-badge { top: 16px; right: 16px; left: auto; width: 104px; height: 104px; font-size: 11px; box-shadow: none; }
  .tl-badge--a::before { inset: 4px; border: 1px solid rgba(255,255,255,.4); }
}
@media (prefers-reduced-motion: reduce) {
  .st-pic img, .st-sun, .mpanel::before, .ln::before, .ho-shine, .ho-arw, .ct-warm { animation: none; }
}

/* Flow diagram v6（矢印のみ原案準拠） */
.fd-nd--dim { background: #F7F8F9; border: 1px dashed #D5DADF; }
.fd-nd--dim b { color: #A3ACB6; }
.tl-phase .fd-link { grid-template-columns: minmax(0,1fr) 58px minmax(0,1fr); gap: 8px; padding: 6px 0; }
.tl-phase .fd-link__arr { width: 58px; height: 56px; }
.tl-phase .fd-link__lbl { background: none !important; padding: 0; border-radius: 0; font-size: 13px; font-weight: 700; letter-spacing: .04em; color: var(--c-ink); }
.tl-phase .fd-link__lbl--g { justify-self: end; text-align: right; }
.tl-phase .fd-link__lbl--m { justify-self: start; text-align: left; }
.tl-phase .fd-link__lbl.is-red { color: #D92B22; }
.fd-bypass { display: grid; grid-template-columns: minmax(0,1fr) 96px; column-gap: 12px; }
.fd-bypass__main { display: flex; flex-direction: column; min-width: 0; padding-bottom: 20px; }
.fd-bypass .fd-link { grid-template-columns: minmax(0,1fr) 58px minmax(0,.2fr); }
.fd-rail { display: flex; justify-content: space-between; padding: 4px 22px; }
.fd-rail__ln { position: relative; width: 3px; }
.fd-rail__ln--dn { background: #2F3A45; margin-bottom: 10px; }
.fd-rail__ln--dn::after { content: ""; position: absolute; left: 50%; bottom: -10px; transform: translateX(-50%); border-top: 10px solid #2F3A45; border-left: 6.5px solid transparent; border-right: 6.5px solid transparent; }
.fd-rail__ln--up { background: #D92B22; margin-top: 10px; }
.fd-rail__ln--up::before { content: ""; position: absolute; left: 50%; top: -10px; transform: translateX(-50%); border-bottom: 10px solid #D92B22; border-left: 6.5px solid transparent; border-right: 6.5px solid transparent; }
.fd-rail__ln span { position: absolute; top: 50%; transform: translateY(-50%); writing-mode: vertical-rl; font-size: 13px; font-weight: 700; letter-spacing: .12em; color: #D92B22; white-space: nowrap; }
.fd-rail__ln--dn span { right: 8px; }
.fd-rail__ln--up span { left: 8px; top: 30%; }
.fd-rail__ln i { position: absolute; left: 50%; top: 62%; transform: translate(-50%,-50%); width: 18px; height: 18px; border-radius: 50%; background: #fff; border: 2px solid #D92B22; color: #D92B22; font-style: normal; font-size: 11px; font-weight: 700; line-height: 14px; text-align: center; }
@container (max-width: 340px) {
  .tl-phase .fd-link { grid-template-columns: minmax(0,1fr) 58px minmax(0,1fr); gap: 4px; }
  .tl-phase .fd-link__arr { width: 58px; height: 56px; }
  .tl-phase .fd-link__lbl { font-size: 11px; letter-spacing: 0; }
  .fd-bypass { grid-template-columns: minmax(0,1fr) 88px; column-gap: 8px; }
  .fd-rail { padding: 4px 20px; }
  .fd-rail__ln span { font-size: 12px; }
}

/* Arrows v7（前のテイスト） */
.tl-phase .fd-link { grid-template-columns: minmax(0,1fr) 40px minmax(0,1fr); gap: 12px; padding: 8px 0; }
.tl-phase .fd-link__arr { width: 40px; height: 52px; }
.tl-phase .fd-link__lbl { padding: 5px 12px; border-radius: 999px; font-size: 12px; letter-spacing: .04em; }
.tl-phase .fd-link__lbl--g { background: #DDF3F2 !important; color: #00807F; }
.tl-phase .fd-link__lbl--m { background: #FFE2B3 !important; color: #A55000; }
.tl-phase .fd-link__lbl:empty { background: none !important; padding: 0; }
.fd-bypass .fd-link { grid-template-columns: minmax(0,1fr) 40px minmax(0,.2fr); }
.fd-rail__ln { width: 1.8px; }
.fd-rail__ln--dn { background: #00A5A5; margin-bottom: 0; }
.fd-rail__ln--dn::after { bottom: -1px; width: 8px; height: 8px; border: 0; border-right: 1.8px solid #00A5A5; border-bottom: 1.8px solid #00A5A5; transform: translateX(-50%) rotate(45deg); }
.fd-rail__ln--up { background: #F29A0E; margin-top: 0; }
.fd-rail__ln--up::before { top: -1px; width: 8px; height: 8px; border: 0; border-left: 1.8px solid #F29A0E; border-top: 1.8px solid #F29A0E; transform: translateX(-50%) rotate(45deg); }
.fd-rail__ln span { font-size: 12px; letter-spacing: .1em; padding: 10px 4px; border-radius: 999px; }
.fd-rail__ln--dn span { color: #00807F; background: #DDF3F2; right: 8px; }
.fd-rail__ln--up span { color: #A55000; background: #FFE2B3; left: 8px; top: 50%; }
@container (max-width: 340px) {
  .tl-phase .fd-link { grid-template-columns: minmax(0,1fr) 32px minmax(0,1fr); gap: 6px; }
  .tl-phase .fd-link__arr { width: 32px; }
  .tl-phase .fd-link__lbl { padding: 4px 8px; font-size: 11px; letter-spacing: 0; }
  .fd-bypass .fd-link { grid-template-columns: minmax(0,1fr) 32px minmax(0,.2fr); }
}

.fd-bypass { grid-template-columns: minmax(0,1fr) 84px; }
.fd-rail { justify-content: space-between; padding: 4px 6px; }
.fd-rail__ln--dn span { left: 8px; right: auto; top: 38%; }
.fd-rail__ln--up span { right: 8px; left: auto; top: 64%; }
@container (max-width: 340px) {
  .fd-bypass { grid-template-columns: minmax(0,1fr) 76px; }
  .fd-rail { padding: 4px 4px; }
}
.fd-bypass { grid-template-columns: minmax(0,1fr) 96px; }
.fd-rail { padding: 4px; }
.fd-rail__ln--dn span { top: 26%; }
.fd-rail__ln--up span { top: 74%; }
.fd-rail__ln--dn span { top: 30%; }
.fd-rail__ln--up span { top: 70%; }
.tl-phase > .fd { align-self: stretch; }
.fd-bypass { flex: 1 1 auto; }
.fd-bypass__main { padding-bottom: 20px; }
@media (min-width: 801px) {
  .tl-phase { display: flex; flex-direction: column; }
  .tl-phase > .check-list { align-self: stretch; }
}
.tl-phase .fd { display: flex; flex-direction: column; }
.fd-bypass { flex: 1 1 auto; }
.mpanel { padding-top: clamp(24px,1.8vw,32px); padding-bottom: clamp(36px,2.6vw,48px); }
.mpanel .eh { margin-bottom: -20px; }
.mpanel .mt { margin-top: 0; }

/* 点線を丸ドットに */
.mpanel .chg .bd { border-top: 0; background: radial-gradient(circle, #B5DEDE 1.1px, transparent 1.4px) top left / 7px 3px repeat-x; }
.tl-phase .check-list li + li { border-top: 0; background: radial-gradient(circle, #C3DCDF 1.1px, transparent 1.4px) top left / 7px 3px repeat-x; }
#after .check-list li + li { background-image: radial-gradient(circle, #C6D8E8 1.1px, transparent 1.4px); }

/* しくみリード v2 */
#overview .lead-row { position: relative; grid-template-columns: minmax(0,1fr) 240px; gap: 48px; align-items: start; }
@media (min-width: 801px) {
  #overview .sub { display: grid; grid-template-columns: minmax(0,1fr) 240px; column-gap: 48px; row-gap: 32px; }
  #overview .sub > * { grid-column: 1 / -1; }
  #overview .sub > .bh { grid-column: 1; grid-row: 1; }
  #overview .lead-row { display: contents; }
  #overview .lead { grid-column: 1; grid-row: 2; }
  #overview .lead-illust { grid-column: 2; grid-row: 1 / span 2; margin-top: 0; align-self: start; }
}
#overview .lead p, .blk .ct2-card > p { max-width: none; }
#overview .lead p { font-size: 16px; line-height: 2.1; letter-spacing: .03em; color: var(--c-body); }
#overview .lead strong { font-weight: 700; color: #00807F; }
#overview .lead-illust { position: relative; width: 240px; aspect-ratio: 1; display: grid; place-items: center; }
#overview .lead-illust img { position: relative; width: 100%; }
@media (max-width: 800px) {
  #overview .lead-row { grid-template-columns: 1fr; gap: 24px; }
  #overview .lead-illust { margin-top: 0; order: -1; width: 200px; height: auto; justify-self: center; }
  #overview .lead p { font-size: 16px; }
}

/* Phase label v2 */
.tl-phase .tl-hd { gap: 16px; }
.tl-phase .tl-hd::after { content: ""; flex: 1 1 auto; height: 1px; background: linear-gradient(90deg, rgba(0,165,165,.45), rgba(0,165,165,0)); }
#after .tl-hd::after { background: linear-gradient(90deg, rgba(0,150,214,.45), rgba(0,150,214,0)); }
.tl-phase .ptag { display: inline-flex; align-items: baseline; gap: 2px; padding: 0; background: none !important; border-radius: 0; font-size: 17px; font-weight: 700; letter-spacing: .08em; color: #00A5A5; white-space: nowrap; }
.tl-phase .ptag.after { color: #0096D6; }
.ptag__p { font-size: 14px; font-weight: 700; letter-spacing: .04em; }
.ptag__n { font-family: "Outfit", sans-serif; font-size: 30px; font-weight: 500; line-height: 1; margin: 0 2px; letter-spacing: 0; }
@media (max-width: 800px) { .tl-phase .tl-hd::after { display: none; } }
.tl-phase .ptag { padding: 7px 20px 7px 18px; border-radius: 999px; background: #00A5A5 !important; color: #fff; font-size: 16px; align-items: center; }
.tl-phase .ptag.after { background: #0096D6 !important; color: #fff; }
.ptag__n { font-size: 24px; margin: -4px 2px -2px; }
.tl-phase .tl-hd::after { display: none; }
.tl-phase .ptag { gap: 10px; }
.ptag__p { display: inline-flex; align-items: center; padding-left: 10px; border-left: 1px solid rgba(255,255,255,.5); }
.fd-nd--lg { border-width: 2.5px !important; }
.fd-nd:not(.fd-nd--dim) .fd-nd__ic--illust.fd-nd__ic--b { background: #D3EFFC !important; }
.fd-nd--lg .fd-nd__ic--illust.fd-nd__ic--h { box-shadow: none !important; }
.mpanel .mnum { left: auto; right: 22px; }
.fd-nd small { justify-self: start; margin: 4px 0 0; padding: 2px 8px; border: 1px solid #C9D6DC; border-radius: 3px; background: #fff; font-size: 11px; line-height: 1.5; letter-spacing: .04em; color: #5E6E7E; }
.fd-nd--lg small { border-color: #00A5A5; color: #00807F; }
.fd-nd--dim small { border-color: #DDE2E6; color: #A3ACB6; background: transparent; }
.fd-nd small:empty { display: none; }
@container (max-width: 340px) { .fd-nd small { justify-self: center; } }
.fd-nd, .fd-nd--lg { grid-template-columns: 72px minmax(0,176px) !important; justify-content: center; column-gap: 20px; }
@container (max-width: 340px) { .fd-nd, .fd-nd--lg { grid-template-columns: minmax(0,1fr) !important; } }
.fd-nd b:has(+ small:empty), .fd-nd b:last-child { grid-row: 1 / 3; align-self: center; }
@container (max-width: 340px) { .fd-nd b { grid-row: auto !important; } }
.fd-nd__ic--illust svg [stroke="#2F3A45"] { stroke: #6A7886; }
.fd-nd__ic--illust svg [stroke-width="2"] { stroke-width: 1.5; }
.fd-nd__ic--illust svg [stroke-width="1.6"], .fd-nd__ic--illust svg [stroke-width="1.8"] { stroke-width: 1.25; }
.fd-nd__ic--illust svg [stroke-width="1.4"] { stroke-width: 1.1; }

/* Typography tune: palt・ウェイトとインク色を軽く */
.l-main, main { font-feature-settings: "palt" 1; color: var(--c-ink); }
.l-main p, main p, .l-main li, main li { color: var(--c-body); font-weight: 400; }
#overview .lead p, #overview .ct2-card > p, #otoku .bc-use__c p { font-weight: 500; }
.bh, .h4, .st-catch, .mt { font-weight: 600 !important; letter-spacing: .08em; }
.fd b, .use-card__body em, .node b, .tl-phase .check-list strong, #overview .lead strong, .mt em { font-weight: 600 !important; }
.tl-phase .ptag, .ptag__p, .tl-badge { font-weight: 500 !important; }
.fd-link__lbl { font-weight: 500 !important; }

/* 枠を減らす */
.fd-nd:not(.fd-nd--lg) { background: transparent !important; border: 0 !important; padding-top: 8px; padding-bottom: 8px; }
.fd-nd--dim { border: 0 !important; background: transparent !important; }
.fd-nd small { border: 0 !important; background: #EEF3F5 !important; color: #5E6E7E; }
.fd-nd--lg small { background: #fff !important; color: #00807F; }
.fd-nd--dim small { background: #F3F5F7 !important; }
.tl-phase .use-card + .use-card { border-top: 0 !important; background: radial-gradient(circle, #9FD3D3 1.1px, transparent 1.4px) top left / 8px 3px repeat-x; }
#after .use-card + .use-card { background-image: radial-gradient(circle, #A9CDE6 1.1px, transparent 1.4px); }
.fd-nd:not(.fd-nd--lg):not(.fd-nd--dim) { border: 1px solid #E2ECEF !important; border-radius: 10px; padding-top: 12px; padding-bottom: 12px; }
#after .fd-nd:not(.fd-nd--lg):not(.fd-nd--dim) { border-color: #E2EAF2 !important; }
.fd-nd--dim { border: 1px solid #C9D0D6 !important; border-radius: 10px; padding-top: 12px; padding-bottom: 12px; }
.fd-nd--dim { opacity: 1 !important; }
.fd-nd--dim .fd-nd__ic, .fd-nd--dim b { opacity: .6; }
.fd .fd-nd.fd-nd--dim { border: 1px solid #C9D0D6 !important; border-radius: 10px; padding-top: 12px; padding-bottom: 12px; }

/* 矢印ラベル v8：アイコン付きテキスト */
.tl-phase .fd-link__lbl { display: inline-flex; align-items: center; gap: 6px; background: none !important; padding: 0 !important; font-size: 13px; font-weight: 600 !important; letter-spacing: .04em; }
.tl-phase .fd-link__lbl::before { content: ""; flex: none; width: 20px; height: 20px; border-radius: 50%; background-position: center; background-repeat: no-repeat; background-size: 12px; }
.tl-phase .fd-link__lbl--g { color: #00807F; }
.tl-phase .fd-link__lbl--g::before { background-color: #00A5A5; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M13 2L4 14h7l-1 8 9-12h-7z' fill='%23fff'/%3E%3C/svg%3E"); }
.tl-phase .fd-link__lbl--m { color: #B35A00; }
.tl-phase .fd-link__lbl--m::before { background-color: #F29A0E; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 4l6 8 6-8M12 12v9M7 13h10M7 17h10'/%3E%3C/svg%3E"); }
.tl-phase .fd-link__lbl:empty::before { display: none; }
.tl-phase .fd-link__arr path { stroke-width: 2.4; }
.fd-rail__ln span { background: #fff !important; padding: 8px 3px; }
.fd-rail__ln--dn span { color: #00807F; }
.fd-rail__ln--up span { color: #B35A00; }
.tl-phase .fd-link__lbl { padding: 4px 12px 4px 5px !important; border-radius: 999px; }
.tl-phase .fd-link__lbl--g { background: #DDF3F2 !important; }
.tl-phase .fd-link__lbl--m { background: #FFE2B3 !important; }
.tl-phase .fd-link__lbl:empty { padding: 0 !important; background: none !important; }
.fd-rail__ln--dn span { background: #DDF3F2 !important; }
.fd-rail__ln--up span { background: #FFE2B3 !important; }
@container (max-width: 340px) { .tl-phase .fd-link__lbl { padding: 3px 8px 3px 4px !important; gap: 4px; } .tl-phase .fd-link__lbl::before { width: 16px; height: 16px; background-size: 10px; } }
.fd-rail { justify-content: center !important; gap: 14px; padding: 4px 0 !important; }
.fd-rail__ln--dn span { left: auto !important; right: 8px !important; top: 30% !important; }
.fd-rail__ln--up span { right: auto !important; left: 8px !important; top: 70% !important; }
/* 線幅をデバイスピクセルに揃える（borderで描画） */
.fd-rail__ln { flex: none !important; width: 0 !important; background: none !important; }
.fd-rail__ln--dn { border-left: 2.5px solid #009C9C; }
.fd-rail__ln--up { border-left: 2.5px solid #F29A0E; }
.fd-rail__ln--dn::after, .fd-rail__ln--up::before { left: -1.25px !important; }
.fd-rail__ln span { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 4px 3px 10px !important; }
.fd-rail__ln span::before { content: ""; flex: none; width: 18px; height: 18px; border-radius: 50%; background-position: center; background-repeat: no-repeat; background-size: 11px; }
.fd-rail__ln--dn span::before { background-color: #00A5A5; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M13 2L4 14h7l-1 8 9-12h-7z' fill='%23fff'/%3E%3C/svg%3E"); }
.fd-rail__ln--up span::before { background-color: #F29A0E; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 4l6 8 6-8M12 12v9M7 13h10M7 17h10'/%3E%3C/svg%3E"); }
.fd-rail__ln span { flex-direction: row !important; writing-mode: vertical-rl; }
.tl-phase .fd-link { padding: 2px 0 !important; }
.tl-phase .fd-link__arr { height: 40px !important; }
.tl-phase .fd-link { padding: 5px 0 !important; }
.tl-phase .fd-link__arr { height: 46px !important; }
.tl-phase .fd-link__arr { height: 50px !important; }
.ptag__p { font-size: 12px !important; }
.ptag__p { align-items: baseline !important; position: relative; top: 2px; }
.ptag__n { margin: 0 2px !important; }
/* お施主さま v3：ベタ塗りで主役に */
.fd .fd-nd.fd-nd--lg { background: #00A5A5 !important; border: 0 !important; }
.fd-nd--lg b { color: #fff !important; }
.fd-nd--lg small { background: rgba(255,255,255,.2) !important; color: #fff !important; }
.fd-nd--lg .fd-nd__ic--illust.fd-nd__ic--h { background: #fff !important; }
/* お施主さま v4：白地＋細枠で軽く */
.fd .fd-nd.fd-nd--lg { background: #fff !important; border: 1.5px solid #00A5A5 !important; }
.fd-nd--lg b { color: #00696A !important; }
.fd-nd--lg small { background: #E3F5F4 !important; color: #00807F !important; }
.fd-nd--lg .fd-nd__ic--illust.fd-nd__ic--h { background: #E8F6F5 !important; }
.fd .fd-nd.fd-nd--lg { border-width: 2.5px !important; }
/* チェックリスト：白い面をやめて地に直接 */
.tl-phase .check-list { background: transparent !important; padding: 0 4px !important; border-radius: 0; }
.tl-phase .check-list li:first-child { padding-top: 4px; }
.tl-phase .check-list li + li { background-image: radial-gradient(circle, #A9D4D6 1.1px, transparent 1.4px) !important; }
#after .check-list li + li { background-image: radial-gradient(circle, #AFCBE3 1.1px, transparent 1.4px) !important; }
.tl-phase .check-list li:first-child::before { top: 7px; }
.tl-phase .check-list li:first-child::after { top: 12px; }
.tl-phase .check-list li, .tl-phase .use-card { border-top: 0 !important; border-bottom: 0 !important; box-shadow: none !important; }
.tl-phase .check-list li::marker { content: none; }
.tl-phase { background: #F4FBFB !important; }
#after.tl-phase, .tl-phase#after { background: #F5F9FE !important; }
@media (min-width: 801px) { .tl-phase { padding-left: 16px !important; padding-right: 16px !important; } .tl-phase > .tl-hd, .tl-phase > .h4, .tl-phase > .check-list { padding-left: 20px !important; padding-right: 20px !important; } }
@media (min-width: 801px) { .tl-phase { padding-left: 24px !important; padding-right: 24px !important; } .tl-phase > .tl-hd, .tl-phase > .h4, .tl-phase > .check-list { padding-left: 12px !important; padding-right: 12px !important; } }
/* 住商スマートエナジー（契約期間中）：ロゴブルーでしっかり */
.fd .fd-nd:not(.fd-nd--lg):not(.fd-nd--dim):has(.fd-nd__ic--b) { border: 2px solid #1AA3E6 !important; background: #fff !important; }
.fd-nd:not(.fd-nd--dim):has(.fd-nd__ic--b) b { color: #0B7FC0; }
.fd-nd:not(.fd-nd--dim):has(.fd-nd__ic--b) small { background: #E3F4FD !important; color: #0B7FC0 !important; }
.fd-nd:not(.fd-nd--dim):has(.fd-nd__ic--b) small { border: 1px solid #1AA3E6 !important; background: #fff !important; }
.fd-nd:not(.fd-nd--dim):has(.fd-nd__ic--b) small { border: 0 !important; background: #1AA3E6 !important; color: #fff !important; }
.fd-nd--lg small { background: #00A1A3 !important; color: #fff !important; border: 0 !important; }
/* 矢印の流れアニメーション */
.fd-link__arr .flow { stroke: #fff !important; stroke-width: 2.4; stroke-linecap: round; stroke-dasharray: 3 60; stroke-dashoffset: 63; opacity: .9; animation: arrFlow 1.8s linear infinite; }
@keyframes arrFlow { to { stroke-dashoffset: 0; } }
.fd-rail__ln--dn::before, .fd-rail__ln--up::after { content: ""; position: absolute; left: -2.5px; width: 2.5px; height: 10px; border-radius: 2px; background: linear-gradient(transparent, #fff, transparent); opacity: .95; }
.fd-rail__ln--dn::before { top: 0; animation: railDn 2.6s linear infinite; }
.fd-rail__ln--up::after { bottom: 0; animation: railUp 2.6s linear infinite; }
@keyframes railDn { from { top: 0; } to { top: calc(100% - 10px); } }
@keyframes railUp { from { bottom: 0; } to { bottom: calc(100% - 10px); } }
@media (prefers-reduced-motion: reduce) { .fd-link__arr .flow, .fd-rail__ln--dn::before, .fd-rail__ln--up::after { animation: none; display: none; } }
/* アニメーション取りやめ → グラデーション */
.fd-rail__ln--dn::before, .fd-rail__ln--up::after { display: none !important; animation: none !important; }
.fd-rail__ln--dn { border-left: 0 !important; background: linear-gradient(to bottom, rgba(0,156,156,.25), #009C9C) !important; width: 2.5px !important; }
.fd-rail__ln--up { border-left: 0 !important; background: linear-gradient(to top, rgba(242,154,14,.25), #F29A0E) !important; width: 2.5px !important; }
.fd-rail__ln--dn::after, .fd-rail__ln--up::before { left: 50% !important; }
.tl-phase .fd-link__arr path { stroke-width: 3.4 !important; }
.fd-rail__ln--dn { width: 3.5px !important; background: linear-gradient(to bottom, rgba(77,194,194,.2), #4DC2C2) !important; }
.fd-rail__ln--up { width: 3.5px !important; background: linear-gradient(to top, rgba(247,185,85,.2), #F7B955) !important; }
.fd-rail__ln--dn::after { border-color: #4DC2C2 !important; border-right-width: 3.5px !important; border-bottom-width: 3.5px !important; }
.fd-rail__ln--up::before { border-color: #F7B955 !important; border-left-width: 3.5px !important; border-top-width: 3.5px !important; }
.tl-phase .fd-link__arr path { stroke-linecap: round !important; stroke-linejoin: round !important; }
.fd-rail__ln { border-radius: 999px; }
.fd-rail__ln--dn::after { border-radius: 0 0 3px 0 !important; }
.fd-rail__ln--up::before { border-radius: 3px 0 0 0 !important; }
.tl-phase .fd-link__arr path { stroke-linecap: butt !important; stroke-linejoin: miter !important; }
.fd-rail__ln { border-radius: 0 !important; }
.fd-rail__ln--dn::after, .fd-rail__ln--up::before { border-radius: 0 !important; }
.tl-phase .fd-link__arr path { stroke-width: 2.4 !important; }
.fd-rail__ln--dn, .fd-rail__ln--up { width: 2.5px !important; }
.fd-rail__ln--dn::after { border-right-width: 2.5px !important; border-bottom-width: 2.5px !important; }
.fd-rail__ln--up::before { border-left-width: 2.5px !important; border-top-width: 2.5px !important; }
.tl-badge { background: #FFA41B !important; font-weight: 700 !important; letter-spacing: .02em !important; line-height: 1.4 !important; font-feature-settings: "palt" 1; }
.tl-badge::before { border-style: solid !important; }
/* 図と「昼間…」の白い面を一体化 */
.tl-phase > .fd { border-bottom-left-radius: 0 !important; border-bottom-right-radius: 0 !important; }
.tl-phase > .use-cards { margin-top: -26px; border-top-left-radius: 0 !important; border-top-right-radius: 0 !important; border-top: 1px solid #E3ECEF !important; }
#after > .use-cards { border-top-color: #E2EAF2 !important; }
.tl-phase > .fd, .tl-phase > .use-cards { align-self: stretch !important; justify-self: stretch !important; width: auto !important; margin-left: 0 !important; margin-right: 0 !important; box-sizing: border-box; }
.tl-phase .use-card { box-sizing: border-box; }
/* 昼間／余剰電力／夜間 v3：左に見出しブロック、右に説明 */
.tl-phase .use-card { display: grid !important; grid-template-columns: 96px minmax(0,1fr); grid-template-rows: auto auto; column-gap: 20px; align-items: center; padding: 18px 8px !important; }
.tl-phase .use-card__icon { grid-column: 1; grid-row: 1; justify-self: center; width: 44px !important; height: 44px !important; }
.tl-phase .use-card__body { display: contents !important; }
.tl-phase .use-card__body em { grid-column: 1; grid-row: 2; justify-self: center; margin-top: 6px; font-size: 13px !important; letter-spacing: .1em !important; }
.tl-phase .use-card__body p { grid-column: 2; grid-row: 1 / 3; align-self: center; margin: 0; padding-left: 20px; border-left: 1px solid #E3ECEF; min-height: 100%; display: flex; align-items: center; font-size: 14px; line-height: 1.8; }
#after .use-card__body p { border-left-color: #E2EAF2; }
.tl-phase .use-card.d .use-card__body em { color: #B87800; }
.tl-phase .use-card.s .use-card__body em { color: #00807F; }
.tl-phase .use-card.n .use-card__body em { color: #4F6C92; }
.tl-phase .use-card { grid-template-columns: 72px minmax(0,1fr) !important; column-gap: 12px !important; padding: 16px 4px !important; }
.tl-phase .use-card__body p { padding-left: 14px !important; word-break: auto-phrase; }
.tl-phase .use-card.d .use-card__body em { color: #9A6400 !important; }
@container (max-width: 340px) {
  .tl-phase .use-card { grid-template-columns: 40px minmax(0,1fr) !important; row-gap: 4px; }
  .tl-phase .use-card__icon { width: 36px !important; height: 36px !important; }
  .tl-phase .use-card__body em { grid-column: 2; grid-row: 1; justify-self: start; margin: 0; }
  .tl-phase .use-card__body p { grid-column: 1 / -1; grid-row: 2; padding-left: 0 !important; border-left: 0 !important; }
}
.tl-phase .use-card__body em { margin-top: 0 !important; }
.tl-phase .use-card { row-gap: 2px !important; padding-top: 12px !important; padding-bottom: 12px !important; }
/* チェックアイコン v2：細線 */
.tl-phase .check-list li::before { background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none'%3E%3Ccircle cx='10' cy='10' r='9.1' stroke='%2300A5A5' stroke-width='1.3'/%3E%3Cpath d='M5.8 10.3l2.9 2.8 5.6-6' stroke='%2300A5A5' stroke-width='1.8' stroke-linecap='square'/%3E%3C/svg%3E") center / 100% no-repeat !important; border: 0 !important; border-radius: 0 !important; }
#after .check-list li::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none'%3E%3Ccircle cx='10' cy='10' r='9.1' stroke='%230096D6' stroke-width='1.3'/%3E%3Cpath d='M5.8 10.3l2.9 2.8 5.6-6' stroke='%230096D6' stroke-width='1.8' stroke-linecap='square'/%3E%3C/svg%3E") !important; }
.tl-phase .check-list li::after { display: none !important; }
.tl-phase .use-card__body em { font-size: 12px !important; }
.tl-phase .use-card__body em { letter-spacing: .03em !important; }
.tl-phase .use-card__body em { letter-spacing: -.02em !important; }
/* 点線を真円に */
.tl-phase .use-card + .use-card { background: radial-gradient(circle at 50% 50%, #9FD3D3 1.3px, transparent 1.6px) left top / 7px 4px repeat-x !important; }
#after .use-card + .use-card { background: radial-gradient(circle at 50% 50%, #A9CDE6 1.3px, transparent 1.6px) left top / 7px 4px repeat-x !important; }
.tl-phase .check-list li + li { background: radial-gradient(circle at 50% 50%, #A9D4D6 1.3px, transparent 1.6px) left top / 7px 4px repeat-x !important; }
#after .check-list li + li { background: radial-gradient(circle at 50% 50%, #AFCBE3 1.3px, transparent 1.6px) left top / 7px 4px repeat-x !important; }
.mpanel .chg .bd { background: radial-gradient(circle at 50% 50%, #B5DEDE 1.3px, transparent 1.6px) left top / 7px 4px repeat-x !important; }
.tl-phase .use-card { padding-top: 16px !important; padding-bottom: 16px !important; }
.tl-phase .check-list li { padding-top: 18px !important; padding-bottom: 18px !important; }
.tl-phase .check-list li:first-child { padding-top: 4px !important; }
.tl-phase .check-list li::before { top: 21px !important; }
.tl-phase .check-list li:first-child::before { top: 7px !important; }

/* ===== 色の統一：ティール=SolaTrust／ロゴ青=住商SE／オレンジ=お金 ===== */
/* 満了後もティール系に */
.tl-phase#after, #after.tl-phase { background: #EEF8F8 !important; }
.tl-phase .ptag.after { background: #00807F !important; }
#after::before { background: #00807F !important; }
#after .check-list li::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none'%3E%3Ccircle cx='10' cy='10' r='9.1' stroke='%2300A5A5' stroke-width='1.3'/%3E%3Cpath d='M5.8 10.3l2.9 2.8 5.6-6' stroke='%2300A5A5' stroke-width='1.8' stroke-linecap='square'/%3E%3C/svg%3E") !important; }
#after .check-list li + li { background: radial-gradient(circle at 50% 50%, #A9D4D6 1.3px, transparent 1.6px) left top / 7px 4px repeat-x !important; }
#after .use-card + .use-card { background: radial-gradient(circle at 50% 50%, #9FD3D3 1.3px, transparent 1.6px) left top / 7px 4px repeat-x !important; }
#after > .use-cards { border-top-color: #E3ECEF !important; }
#after .use-card__body p { border-left-color: #E3ECEF !important; }
#after .fd-nd:not(.fd-nd--lg):not(.fd-nd--dim) { border-color: #E2ECEF !important; }
#after .h4 .num { color: #00807F; }
/* 電力会社：黄色→淡いグレー */
.fd-nd__ic--illust.fd-nd__ic--p { background: #EEF2F4 !important; }
/* マーカー：黄色→淡いティール */
.tl-phase .check-list strong, .mt em { background: linear-gradient(transparent 62%, #CDEEEC 62%) !important; }

/* ===== 色分け：期間中=住商SEロゴ青／満了後=SolaTrustティール ===== */

html .tl-scroll > .tl-phase:not(#after) { background: #EEF7FD !important; }
html .tl-scroll > .tl-phase:not(#after)::before { background: #1592D6 !important; }
html .tl-scroll > .tl-phase:not(#after) .ptag { background: #1592D6 !important; }
html .tl-scroll > .tl-phase:not(#after) .h4 .num { color: #1592D6 !important; }
html .tl-scroll > .tl-phase:not(#after) .check-list li::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none'%3E%3Ccircle cx='10' cy='10' r='9.1' stroke='%231592D6' stroke-width='1.3'/%3E%3Cpath d='M5.8 10.3l2.9 2.8 5.6-6' stroke='%231592D6' stroke-width='1.8' stroke-linecap='square'/%3E%3C/svg%3E") !important; }
html .tl-scroll > .tl-phase:not(#after) .check-list li + li { background: radial-gradient(circle at 50% 50%, #A9D2EC 1.3px, transparent 1.6px) left top / 7px 4px repeat-x !important; }
html .tl-scroll > .tl-phase:not(#after) .use-card + .use-card { background: radial-gradient(circle at 50% 50%, #A9D2EC 1.3px, transparent 1.6px) left top / 7px 4px repeat-x !important; }
html .tl-scroll > .tl-phase:not(#after) .check-list strong { background: linear-gradient(transparent 62%, #D3ECFA 62%) !important; }


html #after { background: #EEF8F8 !important; }
html #after::before { background: #00A1A3 !important; }
html #after .ptag { background: #00A1A3 !important; }
html #after .h4 .num { color: #00A1A3 !important; }
html #after .check-list li::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none'%3E%3Ccircle cx='10' cy='10' r='9.1' stroke='%2300A1A3' stroke-width='1.3'/%3E%3Cpath d='M5.8 10.3l2.9 2.8 5.6-6' stroke='%2300A1A3' stroke-width='1.8' stroke-linecap='square'/%3E%3C/svg%3E") !important; }
html #after .check-list li + li { background: radial-gradient(circle at 50% 50%, #9FD3D3 1.3px, transparent 1.6px) left top / 7px 4px repeat-x !important; }
html #after .use-card + .use-card { background: radial-gradient(circle at 50% 50%, #9FD3D3 1.3px, transparent 1.6px) left top / 7px 4px repeat-x !important; }
html #after .check-list strong { background: linear-gradient(transparent 62%, #CDEEEC 62%) !important; }










.lead strong { color: inherit !important; }

@media (max-width: 800px) {
  .tl-tabs { border-bottom: 1px solid #E3E8EE !important; background: #fff; }
  .tl-tab { border: 0 !important; border-bottom: 3px solid transparent !important; margin-bottom: -1px !important; border-radius: 0 !important; background: none !important; color: #8A96A3 !important; box-shadow: none !important; outline: none !important; }
  .tl-tab:first-child.on { color: #1592D6 !important; border-bottom-color: #1592D6 !important; }
  .tl-tab:last-child.on { color: #2D5986 !important; border-bottom-color: #2D5986 !important; }
  #after .tl-badge { position: absolute !important; left: auto !important; right: 16px !important; top: 20px !important; width: 84px !important; height: 84px !important; font-size: 11px !important; line-height: 1.35 !important; }
  #after .tl-badge::before { inset: 4px !important; }
  #after .ptag { margin-top: 4px; }
  #after .tl-hd, #after .h4 { padding-right: 96px !important; }
}
@media (max-width: 800px) { #after .tl-badge { width: 100px !important; height: 100px !important; font-size: 13px !important; top: 16px !important; } #after .tl-hd, #after .h4 { padding-right: 112px !important; } }
@media (max-width: 1100px) { .mpanel .chg article { position: relative !important; padding-top: 24px !important; } .mpanel .chg .mnum { position: absolute !important; top: 14px !important; right: 18px !important; margin: 0 !important; line-height: 1 !important; } }
.chg .bd small { margin-top: -10px !important; }
.tl-phase > .tl-hd { margin-top: -10px !important; }

/* 「無償で設置／譲渡」を強調 */
html body .tl-phase .fd-link__lbl--key { background: #00A1A3 !important; color: #fff !important; font-size: 14px !important; font-weight: 700 !important; letter-spacing: .06em !important; padding: 5px 16px 5px 5px !important; gap: 8px !important; }
html body .tl-phase .fd-link__lbl--key::before { width: 24px !important; height: 24px !important; background-color: #fff !important; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2300A1A3' stroke-width='2.2' stroke-linejoin='round'%3E%3Crect x='3.5' y='9' width='17' height='4' rx='.5'/%3E%3Cpath d='M5 13v7.5h14V13M12 9v11.5M12 9c-1.5-3.5-6-4-6-1.5S10 9 12 9zm0 0c1.5-3.5 6-4 6-1.5S14 9 12 9z'/%3E%3C/svg%3E") !important; background-size: 15px !important; }
html body .tl-phase .fd-link__lbl--key::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2300A1A3' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='4' y='9.5' width='16' height='3.5' rx='.6'/%3E%3Cpath d='M5.5 13v7h13v-7M12 9.5V20'/%3E%3Cpath d='M12 9.5C11 6.5 7.5 5.5 7.5 7.6c0 1.4 2.3 1.9 4.5 1.9zM12 9.5c1-3 4.5-4 4.5-1.9 0 1.4-2.3 1.9-4.5 1.9z'/%3E%3C/svg%3E") !important; background-size: 17px 17px !important; }
html body .tl-phase .fd-link__lbl--se { background: #1592D6 !important; }
html body .tl-phase .fd-link__lbl--se::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231592D6' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='4' y='9.5' width='16' height='3.5' rx='.6'/%3E%3Cpath d='M5.5 13v7h13v-7M12 9.5V20'/%3E%3Cpath d='M12 9.5C11 6.5 7.5 5.5 7.5 7.6c0 1.4 2.3 1.9 4.5 1.9zM12 9.5c1-3 4.5-4 4.5-1.9 0 1.4-2.3 1.9-4.5 1.9z'/%3E%3C/svg%3E") !important; }

/* ===== フォルダのタブ風ラベル（PC） ===== */
@media (min-width: 801px) {
  html body .tl-scroll > .tl-phase { margin-top: 44px !important; border-top-left-radius: 0 !important; overflow: visible !important; }
  html body .tl-scroll > .tl-phase::before { border-top-left-radius: 0 !important; }
  html body .tl-phase > .tl-hd { position: absolute !important; left: 0 !important; top: 0 !important; transform: translateY(-100%); margin: 0 !important; padding: 0 !important; z-index: 1; }
  html body .tl-phase .ptag { display: inline-flex !important; align-items: center; border-radius: 12px 12px 0 0 !important; padding: 9px 22px 7px !important; box-shadow: none !important; }
  html body .tl-phase > .h4 { margin-top: 8px !important; }
}
@media (min-width: 801px) { html body #after > .tl-badge { top: -64px !important; left: auto !important; right: 24px !important; } }
@media (min-width: 801px) { html body #after > .tl-badge { top: -88px !important; width: 116px !important; height: 116px !important; font-size: 14px !important; } }
@media (min-width: 801px) { html body .tl-scroll > .tl-phase { padding-top: 24px !important; } html body .tl-phase > .h4 { margin-top: 0 !important; } }
@media (min-width: 801px) { html body .tl-scroll > .tl-phase { padding-top: 34px !important; } }
@media (min-width: 801px) { html body #after > .tl-badge { top: -56px !important; } }
@media (min-width: 801px) { html body #after > .tl-badge { top: -36px !important; right: -18px !important; } html body #after > .h4 { padding-right: 96px !important; } }
@media (min-width: 801px) { html body #after > .tl-badge { top: -46px !important; } }
@media (min-width: 801px) { html body #after > .tl-badge { right: 0 !important; } html body #after > .h4 { padding-right: 116px !important; } }
@media (min-width: 801px) { html body #after > .tl-badge { right: 24px !important; } html body #after > .h4 { padding-right: 130px !important; } }
@media (min-width: 801px) { html body #after > .tl-badge { right: 14px !important; } }
@media (max-width: 800px) { html body #after > .h4 { font-size: min(24px, 8.4cqi) !important; padding-right: 0 !important; white-space: nowrap !important; } }
@media (max-width: 800px) { html body #after > .tl-badge { top: 8px !important; width: 88px !important; height: 88px !important; font-size: 12px !important; } html body #after > .h4 { margin-top: 26px !important; } }
@media (max-width: 800px) { html body #after > .tl-badge { right: 6px !important; top: 6px !important; width: 82px !important; height: 82px !important; font-size: 11.5px !important; } }
@media (min-width: 801px) { html body #after > .tl-badge { top: -50px !important; right: 4px !important; width: 104px !important; height: 104px !important; font-size: 13px !important; } html body #after > .h4 { padding-right: 0 !important; } }

/* 点線を薄いグレーに統一 */
html body .tl-phase .check-list li + li, html body .tl-phase .use-card + .use-card, html body .mpanel .chg .bd { background: radial-gradient(circle at 50% 50%, #CCD2D8 1.3px, transparent 1.6px) left top / 7px 4px repeat-x !important; }

/* キラッと光るハイライト（SolaTrustで何が変わる？の緑背景） */
@keyframes sse-panel-glint-first { 0% { transform: translateX(-120%) skewX(-18deg); } 100% { transform: translateX(420%) skewX(-18deg); } }
@keyframes sse-panel-glint { 0%, 85% { transform: translateX(-120%) skewX(-18deg); } 100% { transform: translateX(420%) skewX(-18deg); } }
html body .mpanel::after { content: ""; position: absolute; z-index: -1; top: -20%; bottom: -20%; left: 0; width: 28%; background: linear-gradient(90deg, rgba(255,255,255,0), rgba(255,255,255,.22) 50%, rgba(255,255,255,0)); pointer-events: none; animation: sse-panel-glint-first 1.2s ease-in-out both, sse-panel-glint 10s ease-in-out 1.2s infinite; }
@media (prefers-reduced-motion: reduce) { html body .mpanel::after { animation: none; display: none; } }

/* タブと上辺ラインの間の白い隙間（サブピクセル）を解消 */
@media (min-width: 801px) {
  html body .tl-phase > .tl-hd { transform: translateY(calc(-100% + 2px)) !important; }
  html body .tl-phase .ptag { padding-bottom: 9px !important; }
}

/* 昼間／余剰電力／夜間 v4：色付きの行カードで密度アップ */
html body .tl-phase > .use-cards { display: flex !important; flex-direction: column; gap: 8px !important; padding: 16px !important; }
html body .tl-phase .use-card { background: #F6F9FA !important; border-radius: 8px !important; padding: 0 !important; grid-template-columns: 84px minmax(0,1fr) !important; column-gap: 0 !important; overflow: hidden; min-height: 76px; }
html body .tl-phase .use-card + .use-card { background: #F6F9FA !important; }
html body .tl-phase .use-card__icon { grid-row: 1 !important; align-self: end; margin-top: 12px; width: 38px !important; height: 38px !important; background: #fff !important; position: relative; z-index: 1; }
html body .tl-phase .use-card__icon svg { width: 22px; height: 22px; }
html body .tl-phase .use-card::before { content: ""; grid-column: 1; grid-row: 1 / 3; align-self: stretch; }
html body .tl-phase .use-card.d::before { background: #FFF3CF; }
html body .tl-phase .use-card.s::before { background: #DDF2F1; }
html body .tl-phase .use-card.n::before { background: #E9EEF4; }
html body .tl-phase .use-card__body em { grid-row: 2 !important; align-self: start; margin: 5px 0 12px !important; font-size: 12px !important; font-weight: 600 !important; letter-spacing: .08em !important; position: relative; z-index: 1; }
html body .tl-phase .use-card__body p { grid-column: 2 !important; grid-row: 1 / 3 !important; border-left: 0 !important; padding: 14px 18px !important; font-size: 15px !important; line-height: 1.7 !important; color: var(--c-body) !important; }
html body .tl-phase .use-card__body p strong { font-weight: 600; color: #1592D6; background: none; padding: 0; text-decoration: none !important; }
html body #after .use-card__body p strong { color: #008A8C; }
html body .tl-phase .use-card.n .use-card__body p strong { color: #2E3D4C; }
html body #after .use-card.hl .use-card__body p strong { background: linear-gradient(transparent 64%, #FFE7A0 64%); padding: 0 2px; }
html body .tl-phase .use-card, html body .tl-phase .use-card + .use-card, html body #after .use-card + .use-card { background-image: none !important; }
html body .tl-phase .use-card__body p { display: block !important; min-width: 0; align-self: center !important; min-height: 0 !important; word-break: auto-phrase; }
html body .tl-scroll .tl-phase .use-cards > .use-card { background: #F6F9FA !important; }
html body .tl-scroll .tl-phase .use-cards > .use-card.hl { background: #F6F9FA !important; }
html body .tl-scroll > .tl-phase:not(#_) .use-cards > .use-card { background: #F6F9FA !important; }
/* 囲みをやめる（図との差別化） */
html body .tl-scroll > .tl-phase:not(#_) .use-cards > .use-card { background: none !important; border-radius: 0 !important; min-height: 0; padding: 16px 4px !important; grid-template-columns: 72px minmax(0,1fr) !important; }
html body .tl-scroll > .tl-phase:not(#_) .use-cards > .use-card + .use-card { background: radial-gradient(circle at 50% 50%, #CCD2D8 1.3px, transparent 1.6px) left top / 7px 4px repeat-x !important; }
html body .tl-phase .use-card::before { display: none !important; }
html body .tl-phase > .use-cards { gap: 0 !important; padding: 4px 20px !important; }
html body .tl-phase .use-card__icon { align-self: end; margin-top: 0; width: 44px !important; height: 44px !important; }
html body .tl-phase .use-card.d .use-card__icon { background: #FFF3CF !important; }
html body .tl-phase .use-card.s .use-card__icon { background: #DDF2F1 !important; }
html body .tl-phase .use-card.n .use-card__icon { background: #E9EEF4 !important; }
html body .tl-phase .use-card__body em { margin: 6px 0 0 !important; }
html body .tl-phase .use-card__body p { padding: 4px 0 4px 18px !important; border-left: 1px solid #E3ECEF !important; }
/* 強調ルール統一：色＋黄色下線（左右・全行） */
html body .tl-scroll > .tl-phase .use-card__body p strong { font-weight: 600 !important; text-decoration: none !important; background: linear-gradient(transparent 64%, #FFE7A0 64%) !important; padding: 0 2px !important; }
html body .tl-scroll > .tl-phase:not(#after) .use-card__body p strong { color: #1592D6 !important; }
html body .tl-scroll > #after .use-card__body p strong { color: #008A8C !important; }
/* チェックリストの点線区切りを削除 */
html body .tl-scroll > .tl-phase .check-list li + li, html body .tl-scroll > .tl-phase:not(#_) .check-list li + li { background: none !important; border-top: 0 !important; }
html body .tl-phase .check-list li { padding-top: 10px !important; padding-bottom: 10px !important; }
/* オレンジを鮮やかに */
html body .tl-scroll .tl-badge, html body #after .tl-badge { background: radial-gradient(circle at 35% 30%, #FFA62B 0%, #FF8A00 60%, #F57C00 100%) !important; opacity: 1 !important; filter: none !important; }
#after { position: relative; }
.after-chara { position: absolute; top: -46px; right: 94px; height: 76px; width: auto; z-index: 10; pointer-events: none; }
@media (max-width: 800px) { .after-chara { display: none; } }
html body .tl-phase .fd-link__lbl--m, html body .tl-phase .fd-link__lbl--up { background: #FFD9A3 !important; color: #B04E00 !important; }
html body .tl-phase .fd-link__lbl--m::before { background-color: #FF8A00 !important; }
html body .fd-rail__ln--up span { background: #FFD9A3 !important; color: #B04E00 !important; }
html body .fd-rail__ln--up { background: linear-gradient(to top, rgba(255,138,0,.25), #FF8A00) !important; }
html body .fd-rail__ln--up::before { border-color: #FF8A00 !important; }
/* オレンジタグ：文字をバッジ色、背景を薄く */
html body .tl-phase .fd-link__lbl--m, html body .tl-phase .fd-link__lbl--up, html body .fd-rail__ln--up span { background: #FFF1DE !important; color: #F07800 !important; }
html body .tl-phase .fd-link__lbl--m::before { background-color: #FF8A00 !important; }
html body .tl-phase .fd-link__lbl--g:not(.fd-link__lbl--key), html body .tl-phase .fd-link__lbl--dn, html body .fd-rail__ln--dn span { background: #EBF8F7 !important; }
/* 無償ラベルのアイコンを「0円」に */
html body .tl-phase .fd-link__lbl--key::before { content: "" !important; background-color: #fff !important; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 24'%3E%3Ctext x='4.5' y='17' font-family='Outfit,Arial,sans-serif' font-size='15' font-weight='600' fill='%231592D6'%3E0%3C/text%3E%3Ctext x='14' y='16.5' font-family='Noto Sans JP,sans-serif' font-size='9' font-weight='700' fill='%231592D6'%3E%E5%86%86%3C/text%3E%3C/svg%3E") !important; background-size: 100% 100% !important; background-repeat: no-repeat !important; display: inline-flex !important; align-items: center; justify-content: center; width: 30px !important; height: 24px !important; border-radius: 999px !important; font-family: "Noto Sans JP", sans-serif; font-size: 10px !important; font-weight: 700 !important; letter-spacing: 0 !important; line-height: 1 !important; color: #1592D6 !important; font-feature-settings: "palt" 1; }
html body .tl-phase .fd-link__lbl--key::before { width: 24px !important; height: 24px !important; border-radius: 50% !important; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ctext x='3.2' y='16.6' font-family='Outfit,Arial,sans-serif' font-size='13' font-weight='600' fill='%231592D6'%3E0%3C/text%3E%3Ctext x='11.4' y='16' font-family='Noto Sans JP,sans-serif' font-size='8' font-weight='700' fill='%231592D6'%3E%E5%86%86%3C/text%3E%3C/svg%3E") !important; }
/* アイコン丸を統一（ラベル・縦レール共通 20px） */
html body .tl-phase .fd-link__lbl:not(.fd-link__lbl--key)::before, html body .fd-rail__ln span::before { width: 20px !important; height: 20px !important; background-size: 12px auto !important; background-position: center !important; background-repeat: no-repeat !important; }
html body .fd-rail__ln--up span::before { background-color: #FF8A00 !important; }
html body .fd-rail__ln--dn span::before { background-color: #00A5A5 !important; }
html body .fd-rail__ln span { font-size: 13px !important; font-weight: 600 !important; }

/* 昼間／余剰電力／夜間：24時間インフォグラフィック */
html body .tl-phase > .use-cards.uc { display: block !important; padding: 22px 22px 24px !important; }
.uc-chart { position: relative; padding-bottom: 22px; }
.uc-chart svg { display: block; width: 100%; height: 128px; border-radius: 6px 6px 0 0; }
.uc-tag { position: absolute; transform: translate(-50%, -50%); padding: 2px 9px; border-radius: 999px; font-size: 11px; font-weight: 600; letter-spacing: .06em; line-height: 1.6; white-space: nowrap; background: #fff; }
.uc-tag--s { left: 50%; top: 30%; color: #00807F; }
.uc-tag--d { left: 50%; top: 66%; color: #9A6400; }
.uc-tag--n { top: 40%; color: #4F6C92; }
.uc-use { position: absolute; right: 4px; top: calc(128px * 70 / 120 - 18px); font-size: 10px; letter-spacing: .06em; color: #6F7F95; }
.uc-axis { position: absolute; left: 0; right: 0; bottom: 0; display: flex; justify-content: space-between; font-family: "Outfit", sans-serif; font-size: 11px; color: #8A96A3; }
.uc-axis span { transform: translateX(-0%); }
.uc-axis span:first-child { transform: none; } .uc-axis span:last-child { transform: none; }
.uc-legend { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 14px; margin-top: 16px; }
.uc-item { display: flex; flex-direction: column; gap: 6px; padding-top: 10px; border-top: 3px solid; }
.uc-item--d { border-color: #FFD166; } .uc-item--s { border-color: #4DC2C2; } .uc-item--n { border-color: #C3CFDC; }
.uc-item b { font-size: 13px; font-weight: 600; letter-spacing: .06em; }
.uc-item--d b { color: #9A6400; } .uc-item--s b { color: #00807F; } .uc-item--n b { color: #4F6C92; }
.uc-item p { font-size: 13px !important; line-height: 1.75; color: var(--c-body) !important; word-break: auto-phrase; }
.uc-item p strong { font-weight: 600; background: linear-gradient(transparent 64%, #FFE7A0 64%); padding: 0 2px; }
.tl-phase:not(#after) .uc-item p strong { color: #1592D6; }
#after .uc-item p strong { color: #008A8C; }
@container (max-width: 380px) { .uc-legend { grid-template-columns: minmax(0,1fr); gap: 10px; } .uc-item { display: grid; grid-template-columns: 64px minmax(0,1fr); border-top: 0; border-left: 3px solid; padding: 2px 0 2px 10px; } }
.uc-tag--n { top: 24% !important; }
.uc-use { right: auto !important; left: 6px; top: calc(128px * 70 / 120 + 3px) !important; }
.uc-item--d { border-color: #FFD166 !important; } .uc-item--s { border-color: #4DC2C2 !important; } .uc-item--n { border-color: #C3CFDC !important; }
.uc-axis { height: 16px; } .uc-axis span { position: absolute; transform: translateX(-50%) !important; }
.uc-axis span:nth-child(1){left:0;transform:none!important} .uc-axis span:nth-child(2){left:25%} .uc-axis span:nth-child(3){left:50%} .uc-axis span:nth-child(4){left:75%} .uc-axis span:nth-child(5){right:0;transform:none!important}
.uc-item b { display: flex; align-items: center; gap: 6px; }
.uc-ic { flex: none; display: inline-flex; align-items: center; justify-content: center; width: 26px; height: 26px; border-radius: 50%; }
.uc-ic svg { width: 16px; height: 16px; }
.uc-item--d .uc-ic { background: #FFF3CF; } .uc-item--s .uc-ic { background: #DDF2F1; } .uc-item--n .uc-ic { background: #E9EEF4; }
.uc-tag b { font-weight: 700; }
.tl-phase:not(#after) .uc-tag b { color: #1592D6; }
.uc-tag--hl.uc-tag--s { background: #008A8C; color: #fff; }
.uc-tag--hl.uc-tag--d { background: #F07800; color: #fff; }
.uc-tag--hl b { color: #fff; }
.uc-tag--hl.uc-tag--d b { font-family: "Outfit", sans-serif; font-size: 13px; }
.uc-tag--s { top: 26% !important; }
.uc-tag--s { top: 28% !important; text-align: center; line-height: 1.45 !important; padding: 4px 12px !important; border-radius: 10px !important; }
@container (max-width: 380px) { .uc-item { grid-template-columns: 96px minmax(0,1fr) !important; } }
/* 昼間・自家消費のオレンジを鮮やかに */
.uc-item--d { border-color: #FFA62B !important; }
.uc-item--d b { color: #F07800 !important; }
.uc-item--d .uc-ic { background: #FFF1DE !important; }
.uc-tag--d { color: #F07800 !important; }
.uc-tag--hl.uc-tag--d { background: #FF8A00 !important; color: #fff !important; }

/* 24h チャート v2（参考画像ベース） */
html body .tl-phase > .use-cards.ucx { display: block !important; padding: 20px 20px 18px !important; }
.ucx-plot { position: relative; aspect-ratio: 420 / 200; }
.ucx-plot svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.ucx-y { position: absolute; left: 0; transform: translateY(-50%); font-size: 11px; font-weight: 600; letter-spacing: .04em; color: #4A5A6A; }
.ucx-buy { position: absolute; top: 44%; transform: translate(-50%, -50%); font-size: 11px; letter-spacing: .06em; color: #6F7F95; }
.ucx-blk { position: absolute; left: 56%; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 1px; text-align: center; white-space: nowrap; }
.ucx-blk i { display: inline-flex; width: 22px; height: 22px; }
.ucx-blk i svg { width: 100%; height: 100%; }
.ucx-blk b { display: inline-flex; align-items: center; gap: 5px; font-size: 13px; font-weight: 600; letter-spacing: .08em; }
.ucx-blk small { font-size: 11.5px; font-weight: 600; letter-spacing: .04em; color: var(--c-body); }
.ucx-blk--s { top: 14%; color: #00807F; } .ucx-blk--s b, .ucx-blk--s small { color: #00807F; }
.ucx-blk--s i { margin-bottom: 2px; }
.ucx-blk--d { top: 61%; } .ucx-blk--d b { color: #F07800; } .ucx-blk--d i { width: 18px; height: 18px; color: #F07800; }
.ucx-blk--d small strong { color: #F07800; font-weight: 700; background: none; padding: 0; }
.ucx-x { position: relative; height: 18px; margin-top: 4px; }
.ucx-x span { position: absolute; transform: translateX(-50%); font-size: 11px; font-weight: 600; color: #4A5A6A; }
.ucx-lg { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 18px; margin-top: 10px; font-size: 11px; color: #4A5A6A; }
.ucx-lg span { display: inline-flex; align-items: center; gap: 6px; }
.ucx-lg i { width: 18px; height: 2px; border-radius: 1px; }
.ucx-plot { aspect-ratio: 420 / 300 !important; }
.ucx-plot svg path { vector-effect: non-scaling-stroke; }
html body .ucx-blk i { width: 22px !important; height: 22px !important; flex: none; }
html body .ucx-blk i svg { width: 22px !important; height: 22px !important; }
html body .ucx-blk--d i, html body .ucx-blk--d i svg { width: 17px !important; height: 17px !important; }
.ucx-blk--s { top: 15% !important; } .ucx-blk--d { top: 62% !important; }
.ucx-buy { top: 42% !important; }
.ucx-y { top: auto; }
html body .ucx-plot > svg { position: absolute !important; inset: 0 !important; width: 100% !important; height: 100% !important; max-width: none !important; }
html body .ucx-blk > i { align-self: center !important; margin: 0 auto 2px !important; position: static !important; }
.ucx-plot { aspect-ratio: 420 / 260 !important; }
html body .ucx-blk--s { top: 17% !important; }
html body .ucx-blk--s small { font-size: 11px !important; }
html body .ucx-blk--d { top: 66% !important; }
html body .ucx-blk--s > i { display: block !important; margin: 0 auto 2px !important; }
.ucx-buy { top: 46% !important; }
.ucx-x { margin-top: 6px !important; }
html body .ucx-blk--s > i { width: 100% !important; height: 22px !important; text-align: center; }
html body .ucx-blk--s > i > svg { display: inline-block !important; vertical-align: top; }
html body .ucx-blk--s::before { content: ""; display: block; width: 22px; height: 22px; margin: 0 auto 2px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2300807F' stroke-width='1.6' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10.2'/%3E%3Cpath d='M13 5.5L8 13h4l-1 5.5 5-7.5h-4l1-5.5z'/%3E%3C/svg%3E") center / contain no-repeat; }
html body .ucx-blk--s { top: 19% !important; } html body .ucx-blk--s small { letter-spacing: 0 !important; }
html body .ucx-blk--s small { line-height: 1.4; }
html body .ucx--a .ucx-blk--s { top: 18% !important; }
.ucx .uc-legend { margin-top: 18px; padding-top: 18px; border-top: 1px solid #E3ECEF; }
html body .tl-phase > .use-cards { border-top: 2px dotted #A9D4D6 !important; }
html body #after > .use-cards { border-top-color: #9ED3D4 !important; }
html body .tl-phase:not(#after) > .use-cards { border-top-color: #A9CDE6 !important; }
html body .tl-phase > .use-cards { border-top: 0 !important; background-image: radial-gradient(circle, #A9CDE6 1.4px, transparent 1.8px) !important; background-size: 9px 4px !important; background-position: left top !important; background-repeat: repeat-x !important; }
html body #after > .use-cards { background-image: radial-gradient(circle, #B5C4D6 1.4px, transparent 1.8px) !important; }
html body .ucx .uc-legend { border-top: 0 !important; padding-top: 0 !important; }
html body .ucx-lg { width: fit-content; margin: 12px auto 0 !important; padding: 7px 16px; border: 1px solid #DCE3E9; border-radius: 4px; }
.ucx-plot > .ucx-y { top: 26%; }
.ucx-plot > .ucx-y + .ucx-y { top: 78%; }
.ucx-plot > .ucx-buy { left: 21.4%; }
.ucx-plot > .ucx-buy + .ucx-buy { left: 91.7%; }
.ucx-x span:nth-child(1) { left: 15.5%; }
.ucx-x span:nth-child(2) { left: 56%; }
.ucx-x span:nth-child(3) { left: 96.4%; }
.ucx--a .ucx-lg span:nth-child(1) i { background: #1592D6; }
.ucx--b .ucx-lg span:nth-child(1) i { background: #00A1A3; }
.ucx-lg span:nth-child(2) i { background: #8C98A5; }
html body .tl-phase .fd-nd--lg { border-width: 5px !important; }
html body #after .fd-nd--lg, html body .tl-phase .fd-nd--lg:not(.fd-nd--b) { background: #F5FBFB !important; }
html body .tl-phase:not(#after) .fd-nd--lg { background: #F5FBFB !important; }
html body .tl-phase:not(#after) .fd-nd:has(.fd-nd__ic--b):not(.fd-nd--dim) { background: #F4FAFE !important; }
html body .tl-scroll > .tl-phase .fd .fd-nd.fd-nd--lg, html body .tl-scroll > .tl-phase:not(#after) .fd .fd-nd:has(.fd-nd__ic--b):not(.fd-nd--dim) { border-width: 3px !important; border-style: solid !important; }
html body .tl-scroll > .tl-phase .fd .fd-nd--lg .fd-nd__ic, html body .tl-scroll > .tl-phase:not(#after) .fd .fd-nd:has(.fd-nd__ic--b):not(.fd-nd--dim) .fd-nd__ic { background: #fff !important; }
/* ノードのアイコンを一回り大きく */
html body .tl-scroll > .tl-phase .fd .fd-nd { grid-template-columns: 80px minmax(0,1fr) !important; }
html body .tl-scroll > .tl-phase .fd .fd-nd .fd-nd__ic { width: 80px !important; height: 80px !important; }
html body .tl-scroll > .tl-phase .fd .fd-nd .fd-nd__ic svg { width: 56px !important; height: 56px !important; }
html body .tl-scroll > .tl-phase .fd .fd-nd--lg .fd-nd__ic svg { width: 60px !important; height: 60px !important; }
html body .tl-scroll > .tl-phase .fd .fd-nd.fd-nd--dim { grid-template-columns: 64px minmax(0,1fr) !important; column-gap: 12px !important; padding-left: 14px !important; padding-right: 12px !important; }
html body .tl-scroll > .tl-phase .fd .fd-nd.fd-nd--dim .fd-nd__ic { width: 64px !important; height: 64px !important; }
html body .tl-scroll > .tl-phase .fd .fd-nd.fd-nd--dim .fd-nd__ic svg { width: 44px !important; height: 44px !important; }
/* ノード内容を中央寄せ */
html body .tl-scroll > .tl-phase .fd .fd-nd:not(.fd-nd--dim) { grid-template-columns: 80px max-content !important; justify-content: start !important; column-gap: 20px !important; padding-left: 12% !important; }
html body .ucx--a .ucx-blk--s, html body .ucx--a .ucx-blk--s b, html body .ucx--a .ucx-blk--s small { color: #1592D6 !important; }
html body .ucx--a .ucx-blk--s::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231592D6' stroke-width='1.6' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10.2'/%3E%3Cpath d='M13 5.5L8 13h4l-1 5.5 5-7.5h-4l1-5.5z'/%3E%3C/svg%3E") !important; }
html body .tl-phase .uc-item p strong { color: inherit !important; }
html body .tl-scroll > .tl-phase .fd .fd-nd.fd-nd--dim { grid-template-columns: 80px minmax(0,1fr) !important; column-gap: 16px !important; padding: 12px 14px 12px 18px !important; min-height: 110px; }
html body .tl-scroll > .tl-phase .fd .fd-nd.fd-nd--dim .fd-nd__ic { width: 80px !important; height: 80px !important; }
html body .tl-scroll > .tl-phase .fd .fd-nd.fd-nd--dim .fd-nd__ic svg { width: 56px !important; height: 56px !important; }
html body .tl-scroll > .tl-phase .fd .fd-nd.fd-nd--dim b { word-break: keep-all; overflow-wrap: anywhere; }
html body .tl-scroll > .tl-phase .fd-bypass { grid-template-columns: minmax(0,1fr) 96px !important; column-gap: 12px !important; }
html body .tl-scroll > .tl-phase .fd-nd--dim { justify-self: start !important; width: auto !important; max-width: 100%; }
html body .tl-scroll > .tl-phase .fd .fd-nd.fd-nd--dim { padding: 12px 10px 12px 14px !important; column-gap: 12px !important; }
html body .tl-scroll > .tl-phase .fd .fd-nd.fd-nd--dim b { font-size: 14px !important; letter-spacing: 0 !important; }
html body .tl-scroll > .tl-phase .fd .fd-nd.fd-nd--dim { grid-template-columns: 64px minmax(0,1fr) !important; column-gap: 10px !important; padding: 12px 8px 12px 12px !important; }
html body .tl-scroll > .tl-phase .fd .fd-nd.fd-nd--dim .fd-nd__ic { width: 64px !important; height: 64px !important; }
html body .tl-scroll > .tl-phase .fd .fd-nd.fd-nd--dim .fd-nd__ic svg { width: 46px !important; height: 46px !important; }
html body .tl-scroll > .tl-phase .fd .fd-nd.fd-nd--dim b { font-size: 13px !important; }
html body .tl-scroll > .tl-phase .fd .fd-nd.fd-nd--dim { grid-template-columns: 80px minmax(0,1fr) !important; column-gap: 8px !important; padding: 12px 6px 12px 8px !important; }
html body .tl-scroll > .tl-phase .fd .fd-nd.fd-nd--dim .fd-nd__ic { width: 80px !important; height: 80px !important; }
html body .tl-scroll > .tl-phase .fd .fd-nd.fd-nd--dim .fd-nd__ic svg { width: 56px !important; height: 56px !important; }
html body .tl-scroll > .tl-phase .fd-bypass { grid-template-columns: minmax(0,1fr) 88px !important; column-gap: 4px !important; }
html body .tl-scroll > .tl-phase .fd .fd-nd.fd-nd--dim { column-gap: 6px !important; padding: 12px 4px 12px 6px !important; }
html body .tl-scroll > .tl-phase .fd .fd-nd.fd-nd--dim { grid-template-columns: 80px fit-content(7.5em) !important; justify-content: center !important; column-gap: 12px !important; padding-left: 4px !important; padding-right: 4px !important; }
html body .tl-scroll > .tl-phase .fd .fd-nd.fd-nd--dim b { white-space: normal; }
html body .tl-scroll > .tl-phase .fd .fd-nd.fd-nd--dim b { line-height: 1.35 !important; }
html body .l-main:not(#_) .main:not(#_) p strong, html body .l-main:not(#_) .main:not(#_) li strong { color: var(--c-ink) !important; font-weight: 600 !important; background: linear-gradient(transparent 64%, #FFE7A0 64%) !important; padding: 0 2px !important; text-decoration: none !important; }

/* ===== iPhone SE (375px) モバイル修正 ===== */
@container (max-width: 340px) {
  html body .tl-scroll > .tl-phase .fd .fd-nd { grid-template-columns: 56px minmax(0,1fr) !important; column-gap: 10px !important; padding-left: 6px !important; padding-right: 6px !important; row-gap: 2px !important; justify-items: start !important; text-align: left !important; }
  html body .tl-scroll > .tl-phase .fd .fd-nd .fd-nd__ic { width: 56px !important; height: 56px !important; grid-column: 1 !important; grid-row: 1 / 3 !important; align-self: center !important; justify-self: center !important; }
  html body .tl-scroll > .tl-phase .fd .fd-nd .fd-nd__ic svg { width: 38px !important; height: 38px !important; }
  html body .tl-scroll > .tl-phase .fd .fd-nd b { grid-column: 2 !important; grid-row: 1 !important; align-self: end !important; justify-self: start !important; }
  html body .tl-scroll > .tl-phase .fd .fd-nd small { grid-column: 2 !important; grid-row: 2 !important; justify-self: start !important; margin-top: 0 !important; }
  html body .tl-scroll > .tl-phase .fd .fd-nd:not(.fd-nd--dim) { grid-template-columns: 56px minmax(0,1fr) !important; justify-content: start !important; column-gap: 10px !important; padding-left: 16px !important; padding-right: 12px !important; }
  html body .tl-scroll > .tl-phase .fd .fd-nd--lg .fd-nd__ic svg { width: 42px !important; height: 42px !important; }
  html body .tl-scroll > .tl-phase .fd .fd-nd.fd-nd--dim { grid-template-columns: 56px minmax(0,1fr) !important; column-gap: 8px !important; padding: 10px 6px !important; min-height: 0 !important; }
  html body .tl-scroll > .tl-phase .fd .fd-nd.fd-nd--dim .fd-nd__ic { width: 56px !important; height: 56px !important; }
  html body .tl-scroll > .tl-phase .fd .fd-nd.fd-nd--dim .fd-nd__ic svg { width: 38px !important; height: 38px !important; }
  html body .tl-scroll > .tl-phase .fd .fd-nd.fd-nd--dim b { font-size: 12px !important; }
  html body .tl-scroll > .tl-phase .fd-bypass { grid-template-columns: minmax(0,1fr) 72px !important; column-gap: 4px !important; }
  html body .tl-scroll > .tl-phase .fd .fd-nd b { font-size: 13px !important; }
  html body .tl-scroll > .tl-phase .fd .fd-nd small { font-size: 10px !important; }
  html body .tl-scroll > .tl-phase .fd .fd-nd.fd-nd--lg { border-width: 3px !important; }
  html body .tl-scroll > .tl-phase .fd .fd-nd:has(.fd-nd__ic--b):not(.fd-nd--dim) { border-width: 2px !important; }
  html body .tl-phase .fd-link__lbl--key { font-size: 12px !important; padding: 4px 10px 4px 4px !important; gap: 5px !important; }
  html body .tl-phase .fd-link__lbl--key::before { width: 20px !important; height: 20px !important; }
  html body .fd-rail__ln span { font-size: 11px !important; padding: 3px 2px 6px !important; }
  html body .ucx-blk b { font-size: 11px !important; letter-spacing: .02em !important; }
  html body .ucx-blk small { font-size: 10px !important; white-space: normal !important; text-align: center; }
  html body .ucx-blk--s::before { width: 18px !important; height: 18px !important; }
  html body .ucx-blk--d i, html body .ucx-blk--d i svg { width: 14px !important; height: 14px !important; }
  html body .tl-phase > .use-cards.ucx { padding: 14px 10px 14px !important; }
  html body .ucx-y { font-size: 10px !important; }
  html body .ucx-buy { font-size: 10px !important; }
  html body .ucx-lg { font-size: 10px !important; padding: 5px 10px !important; gap: 4px 12px !important; }
}
/* ===== キャラクター紹介 (Figma: 920×732) ===== */
.chara-sec { position: relative; width: 100%; max-width: 920px; margin-left: auto; margin-right: auto; padding: 51px 49px 32px 61px; overflow: hidden; border-radius: 24px; transition: opacity 800ms cubic-bezier(.22,1,.36,1), transform 800ms cubic-bezier(.22,1,.36,1); background: linear-gradient(8deg, #EFFAFE 7%, #EFF9FD 63%, #F4FBFF 94%); }
.chara-sec__bg { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.anim .chara-sec:not(.in) { opacity: 0; transform: translateY(20px); }
.chara-deco, .chara-tree, .chara-star { position: absolute; pointer-events: none; }
.chara-deco--1 { width: 280px; height: 280px; top: -60px; left: 680px; }
.chara-deco--2a { width: 220px; height: 220px; left: 680px; top: 455px; }
.chara-deco--2b { width: 220px; height: 220px; left: -34px; top: 561px; }
.chara-deco--3 { width: 179px; height: 33px; left: 151px; top: 514px; }
.chara-tree--group { width: 172px; left: -34px; top: 391px; }
.chara-tree--1 { width: 26px; left: 518px; top: 435px; opacity: 0.24; }
.chara-tree--2 { width: 71px; left: 332px; top: 375px; opacity: 0.24; }
.chara-tree--3 { width: 129px; left: 390px; top: 407px; opacity: 0.24; }
.chara-star--1 { width: 22px; left: 54px; top: 540px; }
.chara-star--2 { width: 14px; left: 36px; top: 568px; }
.chara-sec__inner { position: relative; z-index: 1; }
.chara-sec__head { margin-bottom: 50px; }
.chara-sec__en { display: block; font-family: 'Outfit', var(--font-en); font-size: 13px; font-weight: 400; color: #878787; letter-spacing: 2.6px; margin-bottom: 4px; }
.chara-sec__ttl { font-family: 'M PLUS Rounded 1c', var(--font-jp); font-size: 20px; font-weight: 700; color: #646464; letter-spacing: 1.6px; line-height: 1.4; }
.chara-intro { display: grid; grid-template-columns: 1fr 420px; gap: 0; align-items: start; }
.chara-intro__main { display: flex; flex-direction: column; align-items: flex-start; }
.chara-sec .chara-intro__catch { font-family: 'M PLUS Rounded 1c', var(--font-jp); font-weight: 500; line-height: 1.7; color: #00A1A3; align-self: stretch; margin-bottom: 37px; }
.chara-intro__catch--lg { font-size: 28px; letter-spacing: 0.48px; }
.chara-intro__catch--lg .kern { letter-spacing: -10px; }
.chara-intro__catch--sm { font-size: 24px; letter-spacing: 0.48px; }
.chara-intro__catch--sm .kern { letter-spacing: -10.8px; }
.chara-intro__desc { margin-top: 40px; }
.chara-intro__desc p { font-family: 'M PLUS Rounded 1c', var(--font-jp); font-size: 14px; font-weight: 500; line-height: 2; color: #3E536E; display: inline; }
.chara-hl { color: #00A1A3; }
.chara-intro__img { display: flex; justify-content: center; align-items: center; position: relative; align-self: center; }
.chara-intro__img img { width: 214px; height: auto; position: relative; z-index: 1; margin-right: 40px; }
.chara-intro__profile { display: flex; flex-direction: column; gap: 0; background: #fff; border-radius: 20px; padding: 20px 28px 27px; width: 420px; max-width: 100%; }
.cp-name { display: flex; align-items: center; gap: 29px; padding: 0 10px 15px; margin-bottom: 0; border-bottom: 1px solid rgba(0,50,80,.08); }
.cp-name__body { display: flex; align-items: baseline; gap: 16px; }
.cp-name__label { font-family: 'Outfit', var(--font-en); font-size: 11px; font-weight: 700; color: rgba(0,161,163,.65); letter-spacing: 1.1px; }
.cp-name__val { font-family: 'M PLUS Rounded 1c', var(--font-jp); font-size: 20px; font-weight: 500; color: #2F4E68; letter-spacing: 1.6px; }
.cp-row--half { display: grid; grid-template-columns: 1fr 1fr; gap: 0; }
.cp-item { display: flex; align-items: center; gap: 25px; padding: 15px 10px; border-bottom: 1px solid rgba(0,50,80,.06); }
.cp-item:last-child { border-bottom: 0; padding-bottom: 10px; }
.cp-item__body { display: flex; flex-direction: column; gap: 2px; }
.cp-row--half .cp-item { padding: 15px 0 15px 10px; gap: 14px; }
.cp-row--half .cp-item:first-child { border-right: 1px solid rgba(0,50,80,.06); padding-right: 12px; border-bottom: 0; }
.cp-row--half .cp-item:last-child { padding-left: 12px; border-bottom: 0; padding-bottom: 15px; }
.cp-row--half + .cp-item { border-top: 1px solid rgba(0,50,80,.06); }
.cp-icon { width: 44px; height: 44px; flex-shrink: 0; }
.cp-item dt { font-family: 'M PLUS Rounded 1c', var(--font-jp); font-size: 12px; font-weight: 500; color: rgba(0,161,163,.65); letter-spacing: 0.72px; line-height: 1.4; }
.cp-item dd { font-family: 'M PLUS Rounded 1c', var(--font-jp); font-size: 16px; font-weight: 400; line-height: 1.4; color: #2F4E68; margin: 0; }
@media (max-width: 960px) {
  .chara-sec { padding: 32px 20px; }
  .chara-intro { grid-template-columns: 1fr 360px; }
  .chara-intro__profile { width: 360px; }
  .chara-intro__img img { width: 180px; margin-right: 0; }
  .chara-intro__catch--lg { font-size: 22px; }
  .chara-intro__catch--sm { font-size: 18px; }
  .chara-deco, .chara-tree, .chara-star { display: none; }
}
@media (max-width: 600px) {
  .chara-intro { grid-template-columns: 1fr; gap: 24px; }
  .chara-intro__main { align-items: center; }
  .chara-sec .chara-intro__catch { text-align: center; }
  .chara-intro__profile { width: auto; max-width: 100%; margin: 0 auto; padding: 14px 16px 18px; }
  .cp-item { gap: 14px; padding: 15px 6px; }
  .cp-name { gap: 14px; padding: 0 6px 15px; }
  .cp-name__body { flex-direction: column; gap: 2px; }
  .cp-name__val { font-size: 18px; }
  .cp-row--half { grid-template-columns: 1fr; }
  .cp-row--half .cp-item { padding: 15px 6px; gap: 14px; }
  .cp-row--half .cp-item:first-child { border-right: 0; padding-right: 6px; border-bottom: 1px solid rgba(0,50,80,.06); }
  .cp-row--half .cp-item:last-child { padding-left: 6px; padding-bottom: 10px; }
}

@media (max-width: 400px) {
  .mpanel { padding-left: 12px !important; padding-right: 12px !important; }
  .tl-phase { padding-left: 14px !important; padding-right: 14px !important; }
  html body .tl-phase > .use-cards { padding-left: 10px !important; padding-right: 10px !important; }
  html body .tl-phase .use-card__body p { padding-left: 10px !important; font-size: 13px !important; }
  html body .tl-phase .use-card { grid-template-columns: 56px minmax(0,1fr) !important; column-gap: 8px !important; }
  #after .tl-badge { width: 72px !important; height: 72px !important; font-size: 10px !important; right: 4px !important; top: 4px !important; }
  #after .tl-badge::before { inset: 3px !important; }
  #after .tl-hd, #after .h4 { padding-right: 78px !important; }
}
