@charset "utf-8";
/**
 * 幼児TOP：成長の1本道（sect-pv-road.html）
 * モック（smilezemi-site/modules/youji/personalize/pv-road.css）をそのまま移したもの。末尾に本番用の調整を足している。
 * スマホ幅 375px で作ったモックの数値のまま、外枠 .l-sect-pv-road の zoom: 2 でページ（750px 基準）と同じ大きさにそろえる。
 * Plan C/D の切り替えは、sect-pv-road.html 内の目印（data-variant-group）で Plan D・エンドB に固定している。
 */
/* ===== Plan C：成長の1本道（プレ年少・年少 → 年中 → 年長）。設定「訴求パターン」が C のときだけ表示 ===== */
.pv-road { display: none; }
body:has([data-variant-group="pv-bubbles"] > :is([data-variant="C"], [data-variant="D"]):not([hidden])) .pv-road { display: block; }
body:has([data-variant-group="pv-bubbles"] > :is([data-variant="C"], [data-variant="D"]):not([hidden])) .pv-two { display: none !important; }

.pv-road { --c: #f26b1d; position: relative; overflow: hidden; padding: 34px 0 0; background: linear-gradient(#fcf3e1 0, #fdf1e3 140px, #fdf1e3 calc(100% - 220px), #fdf6ee 100%);   /* 上はメッセージエリア（机の色）の最後と同じ色から始めて、途中で切れて見えないように */ color: #3d2f2a; }
.pv-road__lead { position: relative; z-index: 2; margin: 0 0 30px; padding: 0 12px; text-align: center; font-size: 13.5px; font-weight: 400; line-height: 2.1; letter-spacing: .1em; color: #6b5348; }

/* 1段（カード＋子ども）。子どもはカードの端に少しかぶせる */
.pv-road__stage { position: relative; display: grid; grid-template-columns: 62% 1fr; align-items: end; padding: 14px 0 18px; }
.pv-road__stage--2 { grid-template-columns: 1fr 62%; --c: #f5b41a; }
.pv-road__stage--3 { --c: #2f9be0; }

/* 後ろの大きな淡い丸 */
.pv-road__stage::before { content: ""; position: absolute; z-index: 0; border-radius: 50%; pointer-events: none; }
/* 丸は重なるカードの下（後ろ）に：左・右・左 */
.pv-road__stage--1::before { width: 260px; height: 260px; left: 40px; top: 120px; background: #fbe5d4; }
.pv-road__stage--2::before { width: 260px; height: 260px; right: 40px; top: 110px; background: #fcedc9; }
.pv-road__stage--3::before { width: 260px; height: 260px; left: 40px; top: 120px; background: #e6eff2; }

/* カード（白い紙が2枚重なって、少し傾いている） */
.pv-road__card { position: relative; z-index: 1; padding: 30px 14px 16px; transform: rotate(-3deg); }
.pv-road__stage--1 .pv-road__card, .pv-road__stage--3 .pv-road__card { margin-left: -12px; padding-left: 24px; }
.pv-road__stage--2 .pv-road__card { transform: rotate(3deg); margin-right: -12px; padding-right: 24px; }
.pv-road__card::before, .pv-road__card::after { content: ""; position: absolute; inset: 0; border-radius: 0 10px 10px 0; background: #fff; }
.pv-road__stage--2 .pv-road__card::before, .pv-road__stage--2 .pv-road__card::after { border-radius: 10px 0 0 10px; }
.pv-road__card::before { z-index: -2; transform: rotate(3.5deg) translate(2px, 12px); background: #fbf8f4; box-shadow: 0 4px 14px rgba(120, 90, 60, .12); }
.pv-road__stage--2 .pv-road__card::before { transform: rotate(-3.5deg) translate(-2px, 12px); }
.pv-road__card::after { z-index: -1; box-shadow: 0 3px 12px rgba(120, 90, 60, .12); }
.pv-road__tag { position: absolute; z-index: 2; top: 14px; left: 24px; translate: 0 -100%; padding: 4px 12px; background: var(--c); color: #fff; font-size: 12px; font-family: var(--font-family-maru-bold); font-weight: 700; letter-spacing: .08em; line-height: 1.4; white-space: nowrap; }
.pv-road__stage--2 .pv-road__tag { left: auto; right: 24px; }

/* 教材画面（正方形に近い形。プレ年少・年少は ひらがな／かず を切り替え） */
.pv-road__mat { position: relative; margin: 0; aspect-ratio: 4 / 3; border-radius: 3px; overflow: hidden; background: #f4efe8; }
.pv-road__stage--3 .pv-road__mat { aspect-ratio: 1 / .92; }
.pv-road__mat .pv-two__sq { position: absolute; inset: 0; opacity: 0; transition: opacity .7s ease; }
.pv-road__mat .pv-two__sq.is-on { opacity: 1; }
.pv-road__mat img { display: block; width: 100%; height: 100%; object-fit: cover; }
.pv-road__ttl { position: relative; margin: 14px 0 2px; padding-left: 34px; text-align: center; font-size: 14px; font-family: var(--font-family-maru-bold); font-weight: 700; line-height: 1.6; letter-spacing: .06em; color: #3d2f2a; }
.pv-road__stage--2 .pv-road__ttl { padding-left: 0; }
.pv-road__new { position: absolute; left: 0; top: 50%; translate: 0 -50%; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: #e2412f; color: #fff; font-size: 9px; font-family: var(--font-family-maru-bold); font-weight: 700; letter-spacing: .02em; }

/* 子ども＋ふきだし（雲の形） */
.pv-road__kid { position: relative; z-index: 3; display: flex; flex-direction: column; align-items: center; }
.pv-road__kid img { display: block; height: auto; filter: drop-shadow(0 6px 6px rgba(80, 60, 40, .14)); }
.pv-road__stage--1 .pv-road__kid img { width: 108px; margin-left: -14px; }
.pv-road__stage--2 .pv-road__kid img { width: 74px; margin-right: -26px; }
.pv-road__stage--3 .pv-road__kid img { width: 140px; margin-left: -66px; }
.pv-road__say { position: relative; margin: 0 0 16px; padding: 11px 15px; border-radius: 26px; background: #fff; box-shadow: 0 3px 10px rgba(120, 90, 60, .08); text-align: center; font-size: 11.5px; font-family: var(--font-family-maru-bold); font-weight: 700; line-height: 1.6; letter-spacing: .08em; color: #3d2f2a; white-space: nowrap; }
.pv-road__say::before, .pv-road__say::after { content: ""; position: absolute; border-radius: 50%; background: #fff; }
.pv-road__say::before { width: 11px; height: 11px; left: 30%; bottom: -9px; }
.pv-road__say::after { width: 6px; height: 6px; left: 24%; bottom: -17px; }
.pv-road__stage--1 .pv-road__say, .pv-road__stage--3 .pv-road__say { align-self: flex-end; margin-right: 6px; }
.pv-road__stage--2 .pv-road__say { align-self: flex-start; margin-left: 6px; }

/* 段と段のあいだの矢印（細い二重のくの字） */
.pv-road__next { position: relative; z-index: 2; height: 26px; margin: -6px 0 -2px; background: center / 28px auto no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 34 24' fill='none' stroke='%23f4a36d' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 4l14 7 14-7'/%3E%3Cpath d='M3 12l14 7 14-7'/%3E%3C/svg%3E"); }
.pv-road__stage--2 + .pv-road__next { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 34 24' fill='none' stroke='%239cc56b' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 4l14 7 14-7'/%3E%3Cpath d='M3 12l14 7 14-7'/%3E%3C/svg%3E"); }

/* 最後：タブレット1台で（白い帯。タブレットは右にはみ出す） */
.pv-road__end { position: relative; z-index: 1; display: grid; grid-template-columns: 124px 1fr; align-items: center; margin-top: 20px; padding: 36px 0 46px 16px; background: none; }
.pv-road__end p { position: relative; z-index: 1; margin: 0; font-size: 14px; font-family: var(--font-family-maru-bold); font-weight: 700; line-height: 1.95; letter-spacing: .12em; color: #5a4136; white-space: nowrap; }
.pv-road__end img { display: block; width: calc(100% + 64px); margin-left: 4px; max-width: none; height: auto; transform: rotate(-4deg); filter: drop-shadow(0 8px 12px rgba(60, 40, 20, .2)); }

/* Plan C：写真の下の机の部分（大きな隙間）を詰める。写真の机は下へいくほど薄く消して、下の段（同じ机の色）へ切れ目なくつなげる */
body:has([data-variant-group="pv-bubbles"] > :is([data-variant="C"], [data-variant="D"]):not([hidden])) .hero-wrap .open__visual { margin-bottom: -150px; }
body:has([data-variant-group="pv-bubbles"] > :is([data-variant="C"], [data-variant="D"]):not([hidden])) .hero-wrap .open__photo img { -webkit-mask-image: linear-gradient(#000 60%, transparent 68%); mask-image: linear-gradient(#000 60%, transparent 68%); }
body:has([data-variant-group="pv-bubbles"] > :is([data-variant="C"], [data-variant="D"]):not([hidden])) .hero-wrap .open { background: linear-gradient(rgba(247, 222, 196, 0) 40%, #f7dfc6 62%, #f9e8d4 100%); }
body:has([data-variant-group="pv-bubbles"] > :is([data-variant="C"], [data-variant="D"]):not([hidden])) .pv-road { z-index: 1; padding-top: 30px; background: linear-gradient(#f9e8d4 0, #fbefdf 90px, #fdf1e3 200px, #fdf1e3 calc(100% - 520px), #fff calc(100% - 200px)); }

/* リード文と最初の段のあいだを詰める */
.pv-road__lead { margin-bottom: 0 !important; }
.pv-road__stage--1 { padding-top: 0; margin-top: 22px; }

/* カードは画面の端から少し離して、角はすべて丸く。学年名はカードの上辺にまたがるシール（中央） */
.pv-road__stage--1 .pv-road__card, .pv-road__stage--3 .pv-road__card { margin-left: 8px; padding-left: 14px; }
.pv-road__stage--2 .pv-road__card { margin-right: 8px; padding-right: 14px; }
.pv-road__card::before, .pv-road__card::after, .pv-road__stage--2 .pv-road__card::before, .pv-road__stage--2 .pv-road__card::after { border-radius: 14px; }
.pv-road__card { padding-top: 28px; }
.pv-road__tag, .pv-road__stage--2 .pv-road__tag { top: 0; left: 50%; right: auto; translate: -50% -50%; padding: 5px 16px; border-radius: 3px; font-size: 12.5px; box-shadow: 0 2px 5px rgba(80, 50, 20, .18); }
.pv-road__stage--1 .pv-road__kid img { width: 100px; margin-left: -6px; }
.pv-road__stage--2 .pv-road__kid img { width: 68px; margin-right: -14px; }

/* 見本のレイアウト感：前のカードはまっすぐ、後ろの紙だけ少し傾ける。学年名シールは子どもと反対側の上辺に。カードは正方形に近く、子どもは少し大きく */
.pv-road__card, .pv-road__stage--2 .pv-road__card { transform: none; }
.pv-road__card::before { transform: rotate(3deg) translate(6px, 10px); }
.pv-road__stage--2 .pv-road__card::before { transform: rotate(-3deg) translate(-6px, 10px); }
.pv-road__mat { aspect-ratio: 1 / .88; }
.pv-road__stage--3 .pv-road__mat { aspect-ratio: 1 / .96; }
.pv-road__tag { left: 40%; right: auto; translate: -50% -50%; }
.pv-road__stage--2 .pv-road__tag { left: auto; right: 40%; translate: 50% -50%; }
.pv-road__stage--1 .pv-road__kid img { width: 118px; margin-left: -12px; }
.pv-road__stage--2 .pv-road__kid img { width: 82px; margin-right: -18px; }
.pv-road__stage--3 .pv-road__kid img { width: 150px; margin-left: -70px; }
.pv-road__ttl { margin-top: 16px; font-size: 14.5px; }
/* 後ろの紙の重なりはごく控えめに（1.5°・ずれ4px・ほぼ白） */
.pv-road__card::before { transform: rotate(1.5deg) translate(3px, 5px); background: #fdfbf8; box-shadow: 0 3px 10px rgba(120, 90, 60, .08); }
.pv-road__stage--2 .pv-road__card::before { transform: rotate(-1.5deg) translate(-3px, 5px); }
/* 学年名はマスキングテープ風：少し透けて、端はちぎったように、わずかに傾ける */
.pv-road__tag, .pv-road__stage--2 .pv-road__tag { padding: 6px 18px; border-radius: 0; box-shadow: 0 1px 3px rgba(80, 50, 20, .14); background: var(--c); opacity: .9; background-image: repeating-linear-gradient(90deg, rgba(255, 255, 255, .14) 0 2px, transparent 2px 6px); clip-path: polygon(0 0, 100% 0, 98% 20%, 100% 40%, 98.5% 60%, 100% 80%, 98% 100%, 0 100%, 2% 80%, 0 60%, 1.5% 40%, 0 20%); }
.pv-road__tag { rotate: -2deg; }
.pv-road__stage--2 .pv-road__tag { rotate: 2deg; }

/* 子どものふきだし（はじめてで心配… など）はなし */
.pv-road__say { display: none !important; }
.pv-road__stage--3 .pv-road__ttl { padding-left: 0; }

/* 背景の丸は、カードの中心と同じ中心に（カードの後ろ） */
.pv-road__stage::before { display: none; }
.pv-road__circle { position: absolute; z-index: -3; left: 50%; top: 50%; width: 300px; height: 300px; translate: -50% -50%; border-radius: 50%; pointer-events: none; background: #fbe5d4; }
.pv-road__stage--2 .pv-road__circle { background: #fcedc9; }
.pv-road__stage--3 .pv-road__circle { background: #e6eff2; }

/* ルート（カードの中心をつなぐグラデーションの帯。pv-road.js が描く）。矢印はルートに置き換え */
.pv-road__route { position: absolute; z-index: 0; left: 0; top: 0; width: 100%; pointer-events: none; }
.pv-road__route path { fill: none; stroke: url(#pvRouteG); stroke-width: 36; stroke-linecap: round; stroke-linejoin: round; opacity: .95; }
.pv-road__next { display: none; }
.pv-road__end img { position: relative; z-index: 1; }

/* 線がのびて届いたら、カードと子どもが出てくる（pv-road.js が .is-in を付ける） */
.pv-road__stage > .pv-road__card, .pv-road__stage > .pv-road__kid, .pv-road__end > * { opacity: 0; translate: 0 26px; scale: .96; transition: opacity .55s ease, translate .55s cubic-bezier(.2, .8, .3, 1), scale .55s cubic-bezier(.2, .8, .3, 1); }
.pv-road__stage > .pv-road__kid { transition-delay: .15s; }
.pv-road__stage.is-in > .pv-road__card, .pv-road__stage.is-in > .pv-road__kid, .pv-road__end.is-in > * { opacity: 1; translate: 0 0; scale: 1; }
@media (prefers-reduced-motion: reduce) { .pv-road__stage > .pv-road__card, .pv-road__stage > .pv-road__kid, .pv-road__end > * { opacity: 1; translate: 0 0; scale: 1; transition: none; } }

/* カードは教材画像を大きく（余白を小さく・カードを少し広く）、角丸はきつく */
.pv-road__stage { grid-template-columns: 66% 1fr; }
.pv-road__stage--2 { grid-template-columns: 1fr 66%; }
.pv-road__card { padding: 22px 8px 12px; }
.pv-road__stage--1 .pv-road__card, .pv-road__stage--3 .pv-road__card { padding-left: 8px; }
.pv-road__stage--2 .pv-road__card { padding-right: 8px; }
.pv-road__card::before, .pv-road__card::after, .pv-road__stage--2 .pv-road__card::before, .pv-road__stage--2 .pv-road__card::after { border-radius: 24px; }
.pv-road__mat { border-radius: 16px; }
.pv-road__ttl { margin: 12px 0 2px; }
.pv-road__stage--1 .pv-road__kid img { width: 112px; margin-left: -20px; }
.pv-road__stage--2 .pv-road__kid img { width: 78px; margin-right: -22px; }
.pv-road__stage--3 .pv-road__kid img { width: 142px; margin-left: -78px; }

/* 線はカードの下・背景の丸の上を通す（丸はカードの外＝段の背景として、カードの中心に合わせて置く） */
.pv-road__circle { display: none; }
.pv-road__stage::before { display: block; z-index: -1; width: 300px; height: 300px; left: calc(8px + 33% - 150px); top: calc(50% - 140px); }
.pv-road__stage--2::before { left: auto; right: calc(8px + 33% - 150px); }
.pv-road__stage--1::before { background: #fbe5d4; }
.pv-road__stage--2::before { background: #fcedc9; }
.pv-road__stage--3::before { background: #e6eff2; }

/* カードは正方形（教材画像が残りの高さいっぱい） */
.pv-road__card { aspect-ratio: 1 / 1; display: flex; flex-direction: column; }
.pv-road__mat, .pv-road__stage--3 .pv-road__mat { flex: 1 1 auto; min-height: 0; aspect-ratio: auto; }
.pv-road__ttl { flex: none; }
.pv-road__ttl { font-size: 13px; line-height: 1.55; }

/* カードの角丸をさらに大きく */
.pv-road__card::before, .pv-road__card::after, .pv-road__stage--2 .pv-road__card::before, .pv-road__stage--2 .pv-road__card::after { border-radius: 34px; }
.pv-road__mat { border-radius: 22px; }
.pv-road__card { padding-left: 10px !important; padding-right: 10px !important; padding-bottom: 14px; }

/* 背景の丸はなし */
.pv-road__stage::before, .pv-road__circle { display: none !important; }

/* スクロールと連動して出る（--rp：0→1。pv-road.js がスクロール位置から決める。戻すと消える） */
.pv-road__stage > .pv-road__card, .pv-road__stage > .pv-road__kid, .pv-road__end > * { transition: none; opacity: var(--rp, 0); translate: 0 calc((1 - var(--rp, 0)) * 40px); scale: calc(.94 + var(--rp, 0) * .06); }
.pv-road__stage > .pv-road__kid { translate: calc((1 - var(--rp, 0)) * 24px) calc((1 - var(--rp, 0)) * 30px); }
.pv-road__stage--2 > .pv-road__kid { translate: calc((1 - var(--rp, 0)) * -24px) calc((1 - var(--rp, 0)) * 30px); }
@media (prefers-reduced-motion: reduce) { .pv-road__stage > .pv-road__card, .pv-road__stage > .pv-road__kid, .pv-road__end > * { opacity: 1; translate: 0 0; scale: 1; } }

/* 角丸は控えめに */
.pv-road__card::before, .pv-road__card::after, .pv-road__stage--2 .pv-road__card::before, .pv-road__stage--2 .pv-road__card::after { border-radius: 18px; }
.pv-road__mat { border-radius: 10px; }

/* 背景はごく淡いクリーム（#fef7f2）でフラットに。上は写真の机から、下は白へなめらかに */
body:has([data-variant-group="pv-bubbles"] > :is([data-variant="C"], [data-variant="D"]):not([hidden])) .hero-wrap .open { background: linear-gradient(rgba(252, 240, 228, 0) 40%, #fcefe2 62%, #fdf3ea 100%); }
body:has([data-variant-group="pv-bubbles"] > :is([data-variant="C"], [data-variant="D"]):not([hidden])) .pv-road { background: linear-gradient(#fdf3ea 0, #fdf6ef 90px, #fef7f2 200px, #fef7f2 calc(100% - 160px), #fff 100%); }

/* 見本のサイズ感：カードは幅63%で画面の端につけ、少し横長。わずかに傾け、角丸は小さめ。段の間は広め */
.pv-road__stage { grid-template-columns: 63% 1fr; padding: 26px 0 34px; }
.pv-road__stage--2 { grid-template-columns: 1fr 63%; }
.pv-road__stage--1 .pv-road__card, .pv-road__stage--3 .pv-road__card { margin-left: -6px; }
.pv-road__stage--2 .pv-road__card { margin-right: -6px; }
.pv-road__card { aspect-ratio: 1 / .9; transform: rotate(-1.5deg); }
.pv-road__stage--2 .pv-road__card { transform: rotate(1.5deg); }
.pv-road__card::before, .pv-road__card::after, .pv-road__stage--2 .pv-road__card::before, .pv-road__stage--2 .pv-road__card::after { border-radius: 10px; }
.pv-road__mat { border-radius: 6px; }

/* 最後：やわらかい白い階段を、男の子が右上へのぼっていく */
.pv-road__end--stairs { display: block; margin-top: 10px; padding: 0; background: none; }
.pv-road__end--stairs p { margin: 0 0 18px; text-align: center; font-size: 15px; line-height: 1.9; letter-spacing: .1em; white-space: normal; }
.pv-road__steps { position: relative; display: flex; align-items: flex-end; height: 230px; padding: 0 0 0 8px; }
.pv-road__steps i { flex: 1; height: calc(var(--n) * 32px + 24px); margin-left: -1px; border-radius: 12px 12px 0 0; background: linear-gradient(#fff 0, #fff 14px, #f6f2ee 15px, #efe9e3 100%); box-shadow: -4px 0 10px rgba(150, 120, 90, .08), inset 0 1px 0 #fff; }
.pv-road__steps i:last-of-type { margin-right: -2px; border-top-right-radius: 0; }
.pv-road__end--stairs .pv-road__steps img { position: absolute; z-index: 2; left: 25%; bottom: 82px; width: 104px; margin: 0; transform: none; filter: drop-shadow(0 6px 6px rgba(80, 60, 40, .16)); }
/* マスキングテープの模様はできるだけ淡く */
.pv-road__tag, .pv-road__stage--2 .pv-road__tag { background-image: repeating-linear-gradient(90deg, rgba(255, 255, 255, .05) 0 2px, transparent 2px 6px); opacity: .92; }

/* カードの出かたは、ふわっとシンプルに（線が届いたら、少しだけ上へ動きながらフェード。大きさ・横の動きはなし） */
.pv-road__stage > .pv-road__card, .pv-road__stage > .pv-road__kid, .pv-road__stage--2 > .pv-road__kid, .pv-road__end > * { opacity: 0; translate: 0 12px; scale: 1; transition: opacity .9s ease, translate .9s ease; }
.pv-road__stage > .pv-road__kid { transition-delay: .12s; }
.pv-road__stage.is-in > .pv-road__card, .pv-road__stage.is-in > .pv-road__kid, .pv-road__end.is-in > * { opacity: 1; translate: 0 0; }
@media (prefers-reduced-motion: reduce) { .pv-road__stage > .pv-road__card, .pv-road__stage > .pv-road__kid, .pv-road__end > * { opacity: 1; translate: 0 0; transition: none; } }

/* カードの影はごく弱く */
.pv-road__card::after { box-shadow: 0 1px 6px rgba(120, 90, 60, .06); }
.pv-road__card::before { box-shadow: 0 1px 5px rgba(120, 90, 60, .04); }

/* 子どもの大きさは学年に合わせて：プレ年少・年少がいちばん小さく、年中、年長の順に大きく */
.pv-road__stage--1 .pv-road__kid img { width: auto; height: 168px; margin-left: -4px; }
.pv-road__stage--2 .pv-road__kid img { width: auto; height: 196px; margin-right: -8px; }

/* ===== Plan C：NEW のくわしい内容（モーダル） ===== */
.pv-road__stage--1 .pv-road__card { cursor: pointer; }
.pv-road__more { position: absolute; z-index: 2; right: 12px; bottom: -11px; display: inline-flex; align-items: center; gap: 4px; padding: 5px 12px 5px 14px; border-radius: 999px; background: #e2412f; color: #fff; font-size: 11.5px; font-family: var(--font-family-maru-bold); font-weight: 700; letter-spacing: .06em; line-height: 1.3; box-shadow: 0 2px 6px rgba(160, 50, 30, .25); }
.pv-road__more::after { content: ""; width: 6px; height: 6px; border: solid #fff; border-width: 2px 2px 0 0; rotate: 45deg; margin-left: 1px; }
.pv-road__stage--1 .pv-road__card:focus-visible { outline: 3px solid #f6b26b; outline-offset: 4px; border-radius: 12px; }

.pv-modal { width: min(92vw, 400px); max-height: 88vh; margin: auto; padding: 26px 0 0; border: 0; border-radius: 20px; background: linear-gradient(#fbfbf4 0, #fef7f0 40%, #fdf3e8 100%); color: #3d2f2a; overflow: auto; overscroll-behavior: contain; box-shadow: 0 20px 50px rgba(0, 0, 0, .25); }
.pv-modal::backdrop { background: rgba(40, 30, 20, .55); }
.pv-modal[open] { animation: pvModalIn .35s ease both; }
@keyframes pvModalIn { from { opacity: 0; translate: 0 16px; } to { opacity: 1; translate: 0 0; } }
html.pv-modal-open { overflow: hidden; }
.pv-modal__close { position: sticky; z-index: 3; top: 0; float: right; width: 36px; height: 36px; margin: -16px 10px -20px 0; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .9); box-shadow: 0 2px 6px rgba(0, 0, 0, .12); cursor: pointer; }
.pv-modal__close::before, .pv-modal__close::after { content: ""; position: absolute; left: 50%; top: 50%; width: 16px; height: 2px; border-radius: 2px; background: #5a4136; translate: -50% -50%; rotate: 45deg; }
.pv-modal__close::after { rotate: -45deg; }
.pv-modal__ttl { position: relative; margin: 0; padding: 0 16px 0 88px; text-align: left; font-size: 21px; font-family: var(--font-family-maru-bold); font-weight: 700; line-height: 1.5; letter-spacing: .06em; }
.pv-modal__new { position: absolute; left: 24px; top: 50%; translate: 0 -50%; display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: #e2412f; color: #fff; font-size: 14px; font-family: var(--font-family-maru-bold); font-weight: 700; letter-spacing: .02em; }
.pv-modal__kv { position: relative; height: 240px; margin-top: 8px; overflow: hidden; -webkit-mask-image: linear-gradient(#000 80%, transparent); mask-image: linear-gradient(#000 80%, transparent); }
.pv-modal__photo { position: absolute; left: 0; top: -10px; width: 74%; height: auto; }
.pv-modal__ana { position: absolute; right: 6%; top: 16px; width: 40%; height: auto; }
.pv-modal__lead { margin: 6px 0 0; padding: 0 12px; text-align: center; font-size: 13px; line-height: 2; letter-spacing: .04em; color: #6b5348; }
.pv-modal__cases { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 30px 0 0; padding: 0 8px; }
.pv-modal__case { position: relative; margin: 0; padding: 26px 8px 10px; border-radius: 16px; background: #fffdf8; box-shadow: 0 2px 10px rgba(120, 90, 60, .08); text-align: center; }
.pv-modal__who { position: absolute; left: 50%; top: 0; translate: -50% -50%; display: grid; place-items: center; min-width: 108px; padding: 6px 12px; border-radius: 999px; background: var(--c); color: #fff; font-size: 13px; line-height: 1.3; white-space: nowrap; }
.pv-modal__who b { font-size: 15px; letter-spacing: .04em; }
.pv-modal__mat { display: block; aspect-ratio: 1; border-radius: 12px; overflow: hidden; background: #f2f2f2; }
.pv-modal__mat video { display: block; width: 100%; height: 100%; object-fit: cover; }
.pv-modal__case figcaption { margin-top: 8px; font-size: 14px; font-family: var(--font-family-maru-bold); font-weight: 700; letter-spacing: .04em; }
.pv-modal__voice { position: relative; display: flex; align-items: flex-end; margin-top: 18px; padding: 0 0 0 8px; }
.pv-modal__voice p { position: relative; z-index: 1; flex: 1; margin: 0 -24px 46px 0; padding: 16px 12px; border-radius: 50%; background: #fff; box-shadow: 0 3px 10px rgba(120, 90, 60, .1); text-align: center; font-size: 14px; font-family: var(--font-family-maru-bold); font-weight: 700; line-height: 1.7; letter-spacing: .04em; }
.pv-modal__voice p::after { content: ""; position: absolute; right: 34px; bottom: -10px; border: 10px solid transparent; border-top-color: #fff; border-bottom: 0; rotate: -30deg; }
.pv-modal__voice img { display: block; width: 110px; height: auto; }
/* モーダルの写真は女の子とタブレットが入る位置に */
.pv-modal__kv { height: 250px; }
.pv-modal__photo { left: -2%; top: -150px; width: 78%; }
.pv-modal__ana { top: 6px; }

/* 「詳しく見る」は、サイト共通の白いボタン（緑の縁＋下に厚み＋右に＋）の小さい版 */
.pv-road__more { right: 12px; bottom: -14px; gap: 0; min-width: 118px; justify-content: center; padding: 5px 30px 5px 18px; border: 1.5px solid #6ab04c; border-radius: 999px; background: #fff; color: #5aa83c; font-size: 12px; letter-spacing: .08em; box-shadow: 0 3px 0 #6ab04c; }
.pv-road__more::after { content: "+"; position: absolute; right: 12px; top: 50%; translate: 0 -52%; width: auto; height: auto; border: 0; rotate: none; margin: 0; font-size: 15px; font-family: var(--font-family-maru-bold); font-weight: 700; line-height: 1; color: #5aa83c; }

/* マスキングテープは少し小さく、わずかに影 */
.pv-road__tag, .pv-road__stage--2 .pv-road__tag { padding: 4px 14px; font-size: 11.5px; box-shadow: none; filter: drop-shadow(0 1.5px 2px rgba(80, 50, 20, .2)); }

/* 線は細めに */
.pv-road__route path { stroke-width: 16; }

/* 「詳しく見る」は小さく、カードの中（見出しの下・右寄せ）に収める */
.pv-road__more { position: relative; right: auto; bottom: auto; align-self: flex-end; flex: none; min-width: 0; margin: 4px 2px 0 0; padding: 2px 22px 2px 11px; border-width: 1px; font-size: 10px; letter-spacing: .06em; box-shadow: 0 2px 0 #6ab04c; }
.pv-road__more::after { right: 9px; font-size: 12px; }
.pv-road__stage--1 .pv-road__ttl { margin-top: 8px; }

/* モーダルの写真：写真の背景（机・壁）の四角い端が見えないよう、まわりをふわっと消す */
.pv-modal__kv { -webkit-mask-image: none; mask-image: none; }
.pv-modal__photo { -webkit-mask-image: radial-gradient(ellipse 50% 50% at 44% 46%, #000 55%, transparent 100%); mask-image: radial-gradient(ellipse 50% 50% at 44% 46%, #000 55%, transparent 100%); }
/* 閉じるボタン：開いたときの青い枠（フォーカス）は出さない（キーボード操作のときだけ控えめに） */
.pv-modal__close:focus { outline: none; }
.pv-modal__close:focus-visible { outline: 2px solid #f0b37a; outline-offset: 2px; }

/* 「詳しく見る」はセンタリング、線だけのボタン（下の厚みなし） */
.pv-road__more { align-self: center; margin: 6px 0 0; box-shadow: none; border-width: 1px; }
/* 「詳しく見る」はオレンジの線（プレ年少・年少のテープと同じ色） */
.pv-road__more { border-color: #f26b1d; color: #f26b1d; }
.pv-road__more::after { color: #f26b1d; }

/* カードはフェードイン＋ズーム（ボールが中心に着いたら、ふわっと大きくなって出る） */
.pv-road__stage > .pv-road__card { opacity: 0; translate: none; scale: .82; transform-origin: 50% 50%; transition: opacity .55s ease, scale .6s cubic-bezier(.2, 1.3, .4, 1); }
.pv-road__stage.is-in > .pv-road__card { opacity: 1; scale: 1; }
.pv-road__tip { transition: opacity .3s; }
@media (prefers-reduced-motion: reduce) { .pv-road__stage > .pv-road__card { opacity: 1; scale: 1; transition: none; } }

/* 線の先頭の丸はなし */
.pv-road__tip { display: none !important; }

/* モーダルの写真まわりを小さく（高さ250→170px、写真・吹き出しも縮小） */
.pv-modal__kv { height: 170px; margin-top: 4px; }
.pv-modal__photo { left: 6%; top: -102px; width: 56%; }
.pv-modal__ana { right: 10%; top: 6px; width: 30%; }
.pv-modal__lead { margin-top: 0; }

/* モーダルのお母さんの吹き出しはなし（下に少し余白だけ） */
.pv-modal__voice { display: none !important; }
.pv-modal__cases { padding-bottom: 22px; }

/* カードは1枚だけ（後ろに重ねた紙はなし） */
.pv-road__card::before, .pv-road__stage--2 .pv-road__card::before { display: none !important; }

/* モーダルの見出しを小さく */
.pv-modal__ttl { padding: 0 52px 0 76px; font-size: 17px; line-height: 1.55; letter-spacing: .04em; }
.pv-modal__new { left: 22px; width: 44px; height: 44px; font-size: 12px; }

/* モーダルの下：プレ年少・年少のページへの誘導 */
.pv-modal__cases { padding-bottom: 0; }
.pv-modal__links { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 22px 0 0; padding: 0 12px 24px; }
.pv-modal__link { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: 54px; padding: 6px 22px 6px 12px; border-radius: 999px; background: var(--c); color: #fff; font-size: 15px; font-family: var(--font-family-maru-bold); font-weight: 700; line-height: 1.3; letter-spacing: .04em; text-decoration: none; box-shadow: 0 3px 0 color-mix(in srgb, var(--c) 70%, #000); }
.pv-modal__link small { font-size: 11px; font-family: var(--font-family-maru-bold); font-weight: 700; letter-spacing: .06em; opacity: .95; }
.pv-modal__link::after { content: ""; position: absolute; right: 14px; top: 50%; width: 7px; height: 7px; border: solid #fff; border-width: 2px 2px 0 0; translate: 0 -50%; rotate: 45deg; }
.pv-modal__link:active { translate: 0 2px; box-shadow: 0 1px 0 color-mix(in srgb, var(--c) 70%, #000); }

/* 最後のコピー（設定で A〜E を切り替え） */
.pv-road__end--stairs [data-variant-group="road-copy"] p { margin: 0 0 18px; text-align: center; font-size: 15px; line-height: 1.9; letter-spacing: .1em; white-space: normal; }
.pv-road__end--stairs [data-variant-group="road-copy"] p[hidden] { display: none; }

/* 最後のコピーの上に余白 */
.pv-road__end--stairs { padding-top: 48px; }

/* 見本のサイズ感：見出しを大きめにして NEW の右に左寄せ、「詳しく見る」も大きめ */
.pv-road__stage--1 .pv-road__ttl { display: flex; align-items: center; justify-content: center; gap: 8px; padding-left: 0; text-align: left; font-size: 15.5px; line-height: 1.45; letter-spacing: .04em; }
.pv-road__stage--1 .pv-road__new { position: static; translate: none; flex: none; width: 34px; height: 34px; font-size: 9.5px; }
.pv-road__more { margin-top: 8px; padding: 4px 28px 4px 16px; font-size: 12.5px; border-width: 1.5px; }
.pv-road__more::after { right: 12px; font-size: 14px; }
/* 文字の大きさは元のまま（見出し13px・詳しく見る10px） */
.pv-road__stage--1 .pv-road__ttl { font-size: 13px; line-height: 1.55; letter-spacing: .06em; }
.pv-road__stage--1 .pv-road__new { width: 32px; height: 32px; font-size: 9px; }
.pv-road__more { font-size: 10px; padding: 3px 24px 3px 13px; border-width: 1px; }
.pv-road__more::after { right: 10px; font-size: 12px; }

/* 最後のコピー K：1行で大きく（375px幅に収まる大きさ） */
.pv-road__end--stairs [data-variant-group="road-copy"] p.pv-road__copy--big { font-size: 20px; line-height: 1.5; letter-spacing: .04em; white-space: nowrap; }

/* 最後のコピーの下に少し余白（男の子の頭との間） */
.pv-road__end--stairs [data-variant-group="road-copy"] p { margin-bottom: 34px; }

/* モーダル下のボタンは縦に並べる（1行で「プレ年少さんの学びを見る」） */
.pv-modal__links { grid-template-columns: 1fr; gap: 12px; padding: 0 22px 26px; }
.pv-modal__link { flex-direction: row; align-items: baseline; gap: 2px; min-height: 50px; padding: 12px 36px; }
.pv-modal__link small { font-size: 13px; }

/* モーダル下のボタンは罫線（白地に学年カラーの線と文字） */
.pv-modal__link { background: #fff; color: var(--c); border: 1.5px solid var(--c); box-shadow: none; }
.pv-modal__link::after { border-color: var(--c); }
.pv-modal__link:active { translate: none; box-shadow: none; background: color-mix(in srgb, var(--c) 8%, #fff); }

/* ===== モーダル v2：サイトの「ポイント」モーダルに近いレイアウト ===== */
.pv-modal--v2 { width: min(96vw, 420px); padding: 0; border-radius: 18px; background: #fff; }
.pv-modal--v2 .pv-modal__close { position: absolute; float: none; top: 10px; right: 10px; margin: 0; width: 40px; height: 40px; background: rgba(240, 240, 240, .95); box-shadow: none; }
.pv-modal__head { position: relative; display: grid; grid-template-columns: 74px 1fr; grid-template-rows: auto auto; column-gap: 12px; align-items: end; padding: 30px 18px 52px 16px; background: #fbe6d1; clip-path: ellipse(120% 100% at 50% 0%); }
.pv-modal__badge { grid-row: 1 / 3; position: relative; display: grid; place-items: center; width: 70px; height: 70px; border-radius: 50%; background: #e2412f; color: #fff; font-size: 17px; font-family: var(--font-family-maru-bold); font-weight: 700; letter-spacing: .02em; }
.pv-modal__badge::after { content: ""; position: absolute; right: -4px; bottom: 6px; border: 8px solid transparent; border-left-color: #e2412f; rotate: 35deg; }
.pv-modal__kick { margin: 0 0 4px; color: #e2762b; font-size: 12.5px; font-family: var(--font-family-maru-bold); font-weight: 700; letter-spacing: .08em; line-height: 1.4; }
.pv-modal--v2 .pv-modal__ttl { margin: 0; padding: 0; font-size: 23px; line-height: 1.35; letter-spacing: .08em; color: #2b2b2b; }
.pv-modal--v2 .pv-modal__new { display: none; }
.pv-modal__sub { margin: -8px 0 16px; text-align: center; }
.pv-modal__label { display: inline-block; padding: 6px 16px; border-radius: 6px; background: #e2762b; color: #fff; font-size: 13px; font-family: var(--font-family-maru-bold); font-weight: 700; letter-spacing: .08em; line-height: 1.4; }
.pv-modal__subttl { margin: 10px 0 0; font-size: 19px; font-family: var(--font-family-maru-bold); font-weight: 700; letter-spacing: .08em; color: #2b2b2b; }
.pv-modal--v2 .pv-modal__kv { position: relative; height: auto; aspect-ratio: 4 / 3; margin: 0; overflow: hidden; background: #f6ede3; -webkit-mask-image: none; mask-image: none; }
.pv-modal--v2 .pv-modal__photo { position: absolute; inset: 0; left: 0; top: 0; width: 100%; height: 100%; object-fit: cover; object-position: 30% 26%; -webkit-mask-image: none; mask-image: none; }
.pv-modal--v2 .pv-modal__ana { right: 4%; top: 6%; width: 34%; }
.pv-modal--v2 .pv-modal__lead { margin: 18px 0 0; padding: 0 20px; text-align: left; font-size: 14px; line-height: 1.9; letter-spacing: .04em; color: #333; }
.pv-modal--v2 .pv-modal__lead br { display: none; }
.pv-modal--v2 .pv-modal__cases { margin-top: 30px; padding: 0 14px; }
.pv-modal--v2 .pv-modal__case { background: #fdf6ee; box-shadow: none; }
.pv-modal__sub { margin: 4px 0 18px; }
.pv-modal--v2 .pv-modal__photo { object-position: 30% 36%; }

/* 最後のビジュアル：A＝階段をのぼる男の子／B＝リビングで見守る写真（設定「Plan C 最後のビジュアル」） */
.pv-road__living { display: none; }
body:has([data-variant-group="road-end"] > [data-variant="B"]:not([hidden])) .pv-road__steps { display: none; }
body:has([data-variant-group="road-end"] > [data-variant="B"]:not([hidden])) .pv-road__living { display: block; width: 100%; height: auto; margin-top: 4px; -webkit-mask-image: linear-gradient(to bottom, transparent 0, rgba(0, 0, 0, .35) 10%, #000 27%); mask-image: linear-gradient(to bottom, transparent 0, rgba(0, 0, 0, .35) 10%, #000 27%); }
body:has([data-variant-group="road-end"] > [data-variant="B"]:not([hidden])) .pv-road__end--stairs [data-variant-group="road-copy"] p { margin-bottom: 0; }
.pv-road__end img.pv-road__living { transform: none; width: 100%; max-width: 100%; margin-left: 0; filter: none; }

/* リビングの写真：上部を背景色へフェードで消す（強め） */
.pv-road__end img.pv-road__living { -webkit-mask-image: linear-gradient(to bottom, transparent 0, rgba(0,0,0,.15) 12%, rgba(0,0,0,.6) 28%, #000 45%) !important; mask-image: linear-gradient(to bottom, transparent 0, rgba(0,0,0,.15) 12%, rgba(0,0,0,.6) 28%, #000 45%) !important; }

/* 最後は階段なし：リビングで見守る写真だけ */
.pv-road__steps { display: none !important; }
.pv-road__end img.pv-road__living { display: block !important; width: 100%; height: auto; margin-top: 4px; }
.pv-road__end--stairs [data-variant-group="road-copy"] p { margin-bottom: 0; }

/* 最後のコピーを少し小さく */
.pv-road__end--stairs [data-variant-group="road-copy"] p.pv-road__copy--big { font-size: 17px; letter-spacing: .06em; }

/* 年中の子どもは男の子（机とタブレットの写真） */
.pv-road__stage--2 .pv-road__kid img { width: 140px; height: auto; margin-right: -16px; }
.pv-road__stage--2 .pv-road__kid img { width: 150px; margin-right: -18px; }

/* 最後のコピー：1行目「お子さまのペースに合わせて」は小さめ */
.pv-road__end--stairs [data-variant-group="road-copy"] p.pv-road__copy--big { line-height: 1.6; }
.pv-road__end--stairs [data-variant-group="road-copy"] p.pv-road__copy--big small { font-size: 14px; letter-spacing: .1em; }

/* 最後のコピーは1行（375px幅に収まる大きさ） */
.pv-road__end--stairs [data-variant-group="road-copy"] p.pv-road__copy--big { font-size: 11.6px; letter-spacing: 0; white-space: nowrap; padding: 0 8px; }
.pv-road__end--stairs [data-variant-group="road-copy"] p.pv-road__copy--big { font-size: 17px; letter-spacing: .06em; padding: 0; }

/* 見出し帯の下のカーブは、白が下から山なりに盛り上がる形（参考のポイントモーダルと同じ向き） */
.pv-modal__head { clip-path: none; overflow: hidden; padding-bottom: 58px; }
.pv-modal__head::after { content: ""; position: absolute; left: -20%; right: -20%; bottom: -60px; height: 100px; border-radius: 50% 50% 0 0 / 100% 100% 0 0; background: #fff; }
.pv-modal__head > * { position: relative; z-index: 1; }
.pv-modal__sub { margin-top: -10px; position: relative; z-index: 2; }

/* リビングの写真を大きく（高さを出して人物まわりを拡大） */
.pv-road__end img.pv-road__living { aspect-ratio: 1 / .78; height: auto; object-fit: cover; object-position: 58% 100%; }
.pv-road__end img.pv-road__living { aspect-ratio: 1 / .72; object-position: 50% 100%; }

/* リード文は太字 */
.pv-road__lead { font-family: var(--font-family-maru-bold) !important; font-weight: 700 !important; }

/* 最後のコピーを大きく（2行のとき） */
.pv-road__end--stairs [data-variant-group="road-copy"] p.pv-road__copy--big { font-size: 24px; line-height: 1.5; letter-spacing: .08em; }

/* 最後のコピーを下げて、写真のフェード部分に重ねる */
.pv-road__end--stairs [data-variant-group="road-copy"] { position: relative; z-index: 2; }
.pv-road__end--stairs [data-variant-group="road-copy"] p.pv-road__copy--big { margin-top: 40px; margin-bottom: -90px; }
.pv-road__end--stairs [data-variant-group="road-copy"] p.pv-road__copy--big { margin-top: 70px; margin-bottom: -130px; }

/* モーダル上部のビジュアル：写真の代わりに階段をのぼる男の子 */
.pv-modal--v2 .pv-modal__kv--steps { aspect-ratio: auto; height: 230px; background: linear-gradient(#fdf6ee, #f6ede3); }
.pv-modal__steps { position: absolute; left: 0; right: 0; bottom: 0; display: flex; align-items: flex-end; height: 100%; padding: 0 0 0 10px; }
.pv-modal__steps i { flex: 1; height: calc(var(--n) * 30px + 16px); margin-left: -1px; border-radius: 12px 12px 0 0; background: linear-gradient(#fff 0, #fff 13px, #f6f2ee 14px, #efe9e3 100%); box-shadow: -4px 0 10px rgba(150, 120, 90, .08), inset 0 1px 0 #fff; }
.pv-modal__steps i:last-of-type { border-top-right-radius: 0; }
.pv-modal__steps img { position: absolute; z-index: 2; left: 23%; bottom: 72px; width: 112px; height: auto; filter: drop-shadow(0 6px 6px rgba(80, 60, 40, .16)); }

/* ===== 年中・年長のくわしい内容（モーダル） ===== */
.pv-modal--k .pv-modal__badge { background: var(--mc); font-size: 18px; }
.pv-modal--k .pv-modal__badge::after { border-left-color: var(--mc); }
.pv-modal--k .pv-modal__head { background: color-mix(in srgb, var(--mc) 16%, #fff); }
.pv-modal--k .pv-modal__kick, .pv-modal--k .pv-modal__label { color: #fff; }
.pv-modal--k .pv-modal__kick { color: color-mix(in srgb, var(--mc) 80%, #000); }
.pv-modal--k .pv-modal__label { background: var(--mc); }
.pv-modal--k .pv-modal__ttl { font-size: 20px; }
.pv-modal__points { display: grid; gap: 12px; margin: 6px 0 0; padding: 0 16px; list-style: none; }
.pv-modal__points li { display: grid; grid-template-columns: 96px 1fr; grid-template-rows: auto 1fr; column-gap: 12px; align-items: start; padding: 10px; border-radius: 14px; background: #fdf6ee; }
.pv-modal__pimg { grid-row: 1 / 3; display: grid; place-items: center; aspect-ratio: 4 / 3; border-radius: 8px; overflow: hidden; background: #fff; }
.pv-modal__pimg img { width: 100%; height: 100%; object-fit: cover; }
.pv-modal__pimg--txt { font-size: 34px; }
.pv-modal__points b { margin-top: 2px; font-size: 14.5px; letter-spacing: .04em; color: color-mix(in srgb, var(--mc) 75%, #000); }
.pv-modal__points p { margin: 4px 0 0; font-size: 12px; line-height: 1.7; color: #444; }
.pv-modal--k .pv-modal__lead { margin-top: 16px; font-size: 13px; }
.pv-modal--k .pv-modal__links { margin-top: 18px; }
/* 年中・年長カードも押せる見た目に */
.pv-road__stage--2 .pv-road__card, .pv-road__stage--3 .pv-road__card { cursor: pointer; }
.pv-road__stage--2 .pv-road__more { border-color: #e2a42b; color: #d18f12; }
.pv-road__stage--2 .pv-road__more::after { color: #d18f12; }
.pv-road__stage--3 .pv-road__more { border-color: #2f9be0; color: #2a85c4; }
.pv-road__stage--3 .pv-road__more::after { color: #2a85c4; }

/* 最後のコピーの上に、縦に並んだ3つの点（…）で年長からの流れをつなぐ */
.pv-road__end--stairs [data-variant-group="road-copy"]::before { content: ""; display: block; width: 6px; height: 38px; margin: 0 auto 26px; background: radial-gradient(circle, #5a4136 2.6px, transparent 3px) center top / 6px 16px repeat-y; }
.pv-road__end--stairs [data-variant-group="road-copy"]::before { height: 46px; margin-bottom: 0; }
.pv-road__end--stairs [data-variant-group="road-copy"] p.pv-road__copy--big { margin-top: 36px; }
/* 男の子が少し右に来るよう、写真の見せる位置を左寄りに */
.pv-road__end img.pv-road__living { object-position: 22% 100%; }

/* 3点のかわりに細い縦線 */
.pv-road__end--stairs [data-variant-group="road-copy"]::before { width: 1px; height: 56px; margin: 0 auto; background: #5a4136; }
/* 縦線をもっと細く（0.5px相当・少し淡く） */
.pv-road__end--stairs [data-variant-group="road-copy"]::before { width: 1px; transform: scaleX(.5); background: #7a6258; }
/* 縦線は画面に入ったら上から下へ「すっ」とのびる */
.pv-road__end--stairs [data-variant-group="road-copy"]::before { transform: scaleX(.5) scaleY(0); transform-origin: 50% 0; transition: transform .9s cubic-bezier(.3, .7, .2, 1) .2s; }
.pv-road__end.is-in [data-variant-group="road-copy"]::before { transform: scaleX(.5) scaleY(1); }
@media (prefers-reduced-motion: reduce) { .pv-road__end--stairs [data-variant-group="road-copy"]::before { transform: scaleX(.5); transition: none; } }

/* 全体を詰める：線を短く、線と文字・文字と写真の間を詰める */
.pv-road__end--stairs { padding-top: 20px; }
.pv-road__end--stairs [data-variant-group="road-copy"]::before { height: 40px; }
.pv-road__end--stairs [data-variant-group="road-copy"] p.pv-road__copy--big { margin-top: 16px; margin-bottom: -175px; }
/* 写真をコピーにかぶせて、もう少し上に */
.pv-road__end--stairs [data-variant-group="road-copy"] p.pv-road__copy--big { margin-bottom: -225px; }
.pv-road__end--stairs [data-variant-group="road-copy"] p.pv-road__copy--big { margin-bottom: -150px !important; }
.pv-road__end--stairs [data-variant-group="road-copy"] p.pv-road__copy--big { margin-bottom: -60px !important; }

/* リビングの写真：スクロールでだんだんズーム（--lz は pv-road.js が決める） */
.pv-road__end img.pv-road__living { transform: scale(var(--lz, 1)); transform-origin: 38% 85%; will-change: transform; }
.pv-road__end img.pv-road__living { transform-origin: 50% 100%; border-radius: calc((1 - var(--lz, 1)) * 120px); }

/* モーダルの説明文は太字 */
.pv-modal--v2 .pv-modal__lead { font-family: var(--font-family-maru-bold); font-weight: 700; }

/* 控えめなズーム：角丸なし・写真の端は見せない（下側を基準に少しだけ大きく） */
.pv-road__end img.pv-road__living { border-radius: 0 !important; transform-origin: 50% 92%; transition: transform .2s linear; }
.pv-road__end--stairs { overflow: hidden; }

/* モーダル上部の階段イラストはなし */
.pv-modal__kv--steps { display: none !important; }

/* モーダル見出しが変なところで折り返さない（1行に収める） */
.pv-modal--v2 .pv-modal__ttl { font-size: min(21px, calc((min(96vw, 420px) - 160px) / 10.2)); white-space: nowrap; letter-spacing: .04em; }
.pv-modal__head { padding-right: 48px; }

/* モーダル見出し：NEW の丸の中心に、小見出し＋見出しのまとまりをそろえる（間延びしない） */
.pv-modal__head { align-items: center; row-gap: 2px; }
.pv-modal__badge { align-self: center; }
.pv-modal__kick { align-self: end; margin: 0; line-height: 1.4; }
.pv-modal--v2 .pv-modal__ttl { align-self: start; line-height: 1.4; }

/* モーダルのラベル＋サブ見出しはなし（見出し帯のすぐ下から本文へ） */
.pv-modal__sub { display: none !important; }
.pv-modal__head { margin-bottom: 4px; }

/* 年中・年長の学年バッジはしっぽなしの丸だけ */
.pv-modal--k .pv-modal__badge::after { display: none; }

/* モーダルの小見出し（ショルダー）はなし。見出しだけを丸の中心にそろえる */
.pv-modal__kick { display: none !important; }
.pv-modal--v2 .pv-modal__ttl { grid-row: 1 / 3; align-self: center; }

/* リビングの写真はズームなし */
.pv-road__end img.pv-road__living { transform: none !important; will-change: auto; }

/* 縦線をさらに細く・薄く */
.pv-road__end--stairs [data-variant-group="road-copy"]::before { width: .5px; background: #c9bab0; }

/* ===== Plan D：4学年（プレ年少 → 年少 → 年中 → 年長）。Plan C の作りを流用 ===== */
.pv-road--d { display: none; }
body:has([data-variant-group="pv-bubbles"] > [data-variant="D"]:not([hidden])) .pv-road--d { display: block !important; }
body:has([data-variant-group="pv-bubbles"] > [data-variant="D"]:not([hidden])) .pv-road:not(.pv-road--d) { display: none !important; }
body:has([data-variant-group="pv-bubbles"] > [data-variant="C"]:not([hidden])) .pv-road--d { display: none !important; }
/* 学年の色 */
.pv-road--d .pv-road__stage--d1 { --c: #f26b1d; }
.pv-road--d .pv-road__stage--d2 { --c: #e25c9b; }
.pv-road--d .pv-road__stage--d3 { --c: #f5b41a; }
.pv-road--d .pv-road__stage--d4 { --c: #2f9be0; }
.pv-road--d .pv-road__stage--d2 .pv-road__more { border-color: #e25c9b; color: #d2478a; }
.pv-road--d .pv-road__stage--d2 .pv-road__more::after { color: #d2478a; }
.pv-road--d .pv-road__stage--d3 .pv-road__more { border-color: #e2a42b; color: #d18f12; }
.pv-road--d .pv-road__stage--d3 .pv-road__more::after { color: #d18f12; }
.pv-road--d .pv-road__stage--d4 .pv-road__more { border-color: #2f9be0; color: #2a85c4; }
.pv-road--d .pv-road__stage--d4 .pv-road__more::after { color: #2a85c4; }
/* 見出し：NEW のあるカード（プレ年少・年少）は丸の右に2行。年中・年長は中央の2行 */
.pv-road--d .pv-road__stage--d2 .pv-road__ttl { display: flex; align-items: center; justify-content: center; gap: 8px; padding-left: 0; text-align: left; font-size: 13px; line-height: 1.55; letter-spacing: .06em; }
.pv-road--d .pv-road__stage--d2 .pv-road__new { position: static; translate: none; flex: none; width: 32px; height: 32px; font-size: 9px; }
.pv-road--d .pv-road__stage--d3 .pv-road__ttl, .pv-road--d .pv-road__stage--d4 .pv-road__ttl { display: block; padding-left: 0; text-align: center; font-size: 13px; }
/* 子ども（学年順に少しずつ大きく） */
.pv-road--d .pv-road__stage--d1 .pv-road__kid img { width: auto; height: 160px; margin: 0 0 0 -6px; }
.pv-road--d .pv-road__stage--d2 .pv-road__kid img { width: auto; height: 190px; margin: 0 -10px 0 0; }
.pv-road--d .pv-road__stage--d3 .pv-road__kid img { width: 150px; height: auto; margin: 0 0 0 -22px; }
.pv-road--d .pv-road__stage--d4 .pv-road__kid img { width: 140px; height: auto; margin: 0 -44px 0 0; }
/* 最後のコピー（Plan C と同じ見た目） */
.pv-road__dcopy { position: relative; z-index: 2; }
.pv-road__dcopy::before { content: ""; display: block; width: .5px; height: 40px; margin: 0 auto; background: #c9bab0; transform: scaleX(.5) scaleY(0); transform-origin: 50% 0; transition: transform .9s cubic-bezier(.3, .7, .2, 1) .2s; }
.pv-road__end.is-in .pv-road__dcopy::before { transform: scaleX(.5) scaleY(1); }
.pv-road__dcopy p.pv-road__copy--big { margin: 16px 0 -60px; text-align: center; font-size: 24px; line-height: 1.5; letter-spacing: .08em; white-space: nowrap; }
@media (prefers-reduced-motion: reduce) { .pv-road__dcopy::before { transform: scaleX(.5); transition: none; } }

/* Plan D プレ年少：開講のバッジ（NEW と同じ赤い丸） */
.pv-road__new--open { font-size: 10px !important; letter-spacing: .04em; }

/* Plan D の線は D 用のグラデーション（オレンジ→ピンク→黄→青）。C と同じ id を使うと非表示の C を参照して線が消える */
.pv-road--d .pv-road__route path { stroke: url(#pvRouteGD); }

/* Plan D：カードは 右・左・右・左（子どもは反対側） */
.pv-road--d .pv-road__stage--d1 .pv-road__ttl, .pv-road--d .pv-road__stage--d2 .pv-road__ttl { display: flex; align-items: center; justify-content: center; gap: 8px; padding-left: 0; text-align: left; font-size: 13px; line-height: 1.55; letter-spacing: .06em; }
.pv-road--d .pv-road__stage--d1 .pv-road__new, .pv-road--d .pv-road__stage--d2 .pv-road__new { position: static; translate: none; flex: none; width: 32px; height: 32px; font-size: 9px; }
.pv-road--d .pv-road__stage--d1 .pv-road__kid img { height: 160px; margin: 0 -10px 0 0; }
.pv-road--d .pv-road__stage--d2 .pv-road__kid img { height: 190px; margin: 0 0 0 -8px; }
.pv-road--d .pv-road__stage--d3 .pv-road__kid img { width: 150px; margin: 0 -16px 0 0; }
.pv-road--d .pv-road__stage--d4 .pv-road__kid img { width: 140px; margin: 0 0 0 -60px; }

/* 罫線の上を詰める */
.pv-road__end--stairs { margin-top: -22px; padding-top: 0; }

/* Plan D：プレ年少専用モーダル（開講バッジはオレンジ） */
.pv-modal--pre .pv-modal__badge { background: #f26b1d; }
.pv-modal--pre .pv-modal__badge::after { border-left-color: #f26b1d; }
/* Plan D：リード下に余白 */
.pv-road--d .pv-road__lead { padding-bottom: 28px; }
/* 教材画面はアスペクト比を保つ（トリミングしない） */
.pv-road .pv-road__mat .pv-two__sq { height: auto !important; aspect-ratio: auto !important; }
.pv-road .pv-road__mat .pv-two__sq img { height: auto !important; aspect-ratio: auto !important; object-fit: contain; }
/* Plan D：年少・年中の人物写真差し替え */
.pv-road--d .pv-road__stage--d2 .pv-road__kid img { width: auto; height: 200px; margin: 0 0 0 -14px; }
.pv-road--d .pv-road__stage--d3 .pv-road__kid img { width: auto; height: 220px; margin: 0 -6px 0 0; }
.pv-road--d .pv-road__stage--d2 .pv-road__kid img { height: 230px; margin: 0 0 0 -4px; }
.pv-road--d .pv-road__stage--d3 .pv-road__kid img { height: 180px; margin: 0 -10px 0 0; }
/* Plan D：モーダルに対象の生まれ年月 */
.pv-modal__birth { display: flex; align-items: center; justify-content: center; gap: 8px; margin: -4px auto 18px; font-size: 15px; font-family: var(--font-family-maru-bold); font-weight: 700; letter-spacing: .04em; color: #5a4136; }
.pv-modal__birth span { padding: 3px 10px; border-radius: 99px; background: var(--c); color: #fff; font-size: 12px; letter-spacing: .1em; }
.pv-modal__birth { margin: 12px auto 30px; }
.pv-modal--v2 .pv-modal__lead { text-wrap: pretty; }
.pv-modal__mat img { display: block; width: 100%; height: 100%; object-fit: contain; background: #fff; }
/* 教材画面を切らない：マットは画像の比率どおりの高さに */
.pv-road .pv-road__mat, .pv-road .pv-road__stage--3 .pv-road__mat { flex: none; aspect-ratio: auto; }
.pv-road .pv-road__mat .pv-two__sq { position: relative; inset: auto; }
.pv-road .pv-road__mat .pv-two__sq img { width: 100%; height: auto !important; object-fit: contain; }
.pv-road .pv-road__card { aspect-ratio: auto !important; }


/* ========================================
 * 本番用の調整
 * ======================================== */
.l-sect-pv-road {
  zoom: 2;
  max-width: 375px;
  margin: 0 auto;
  padding: 0;
  font-family: var(--font-family-maru-regular);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.7;
  letter-spacing: normal;
  color: #333;
  text-align: start;
}
.l-sect-pv-road *, .l-sect-pv-road *::before, .l-sect-pv-road *::after { box-sizing: border-box; }

/* カードの「詳しく見る」：線のみ（影なし） */
.l-sect-pv-road .pv-road__more { background: #fff; box-shadow: none; font-weight: 500; }

/* ========================================
 * 学年ごとのモーダル（sect-pv-road.html の .l-sect-pv-modals）
 * 「選ばれる3つの理由」のモーダル（.c-dialog ＋ .l-sect-feature__sect）と同じつくり。ページ（750px 基準）の数値で書く
 * ======================================== */
.l-sect-pv-modals .l-sect-feature__sect-inner { position: relative; }
.l-sect-pv-modals .l-sect-feature__sect-inner.\-pv-pre { background-color: #FFE8D1; }
.l-sect-pv-modals .l-sect-feature__sect-inner.\-pv-nensho { background-color: #FDE6F0; }
.l-sect-pv-modals .l-sect-feature__sect-inner.\-pv-nenchu { background-color: var(--color-b-yellow-bg, #FFF7D1); }
.l-sect-pv-modals .l-sect-feature__sect-inner.\-pv-nencho { background-color: #E2F0FC; }
.l-sect-pv-modals .l-sect-feature__sect-inner:is(.\-pv-pre, .\-pv-nensho, .\-pv-nenchu, .\-pv-nencho)::before {
  position: absolute; content: ''; display: block; left: 0; width: 100%; height: 60px; bottom: 0;
  background-color: var(--color-white, #fff); clip-path: circle(1300px at 50% 1300px);
}
.l-sect-pv-modals .l-sect-feature__sect-header > h4 { font-size: 40px; line-height: 1.3; }
.l-sect-pv-modal__birth { display: flex; justify-content: center; align-items: center; gap: 14px; margin: 28px 0 0; font-family: var(--font-family-maru-medium); font-size: 28px; }
.l-sect-pv-modal__birth > span { padding: 6px 18px; border-radius: 9999px; color: #fff; font-size: 22px; }
.l-sect-pv-modal__media { padding-inline: 40px; }
.l-sect-pv-modal__media > :is(img, video) { display: block; width: 100%; height: auto; border-radius: 20px; }
.l-sect-pv-modals .l-sect-pv-modal__grade { width: 560px; max-width: 100%; text-decoration: none; }

/* 教材画面：枠（マスク）の矩形はどのカードも同じ 16:9。画像は比率を保ったまま枠いっぱいに（はみ出しはわずかに左右だけ） */
.pv-road .pv-road__mat .pv-two__sq img { width: 100%; height: auto !important; aspect-ratio: 16 / 9 !important; object-fit: cover; object-position: 50% 50%; }
/* モーダルの吹き出しアイコン：STEP 番号ではなく学年名 */
.l-sect-pv-modals .l-sect-feature__header-img-box > .l-sect-pv-modal__badge { font-family: 'MFW-PMaruAntipProN-DeBold', 'Zen Maru Gothic', sans-serif; font-weight: var(--font-weight-bold); font-size: 30px; line-height: 1.15; letter-spacing: .02em; text-align: center; }
/* プレ年少・年少のモーダル：Aさん・Bさんの教材を左右に並べる */
.l-sect-pv-modal__cases { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; padding-inline: 32px; }
.l-sect-pv-modal__cases > section { display: flex; flex-direction: column; align-items: center; }
.l-sect-pv-modal__cases .l-sect-feature__title { gap: 10px; }
.l-sect-pv-modal__cases .l-sect-feature__title > p { font-size: 22px; padding: 6px 12px; }
.l-sect-pv-modal__cases .l-sect-feature__title > h5 { font-size: 30px; }
.l-sect-pv-modal__cases .l-sect-pv-modal__media { width: 100%; margin-top: 16px; padding-inline: 0; }
.l-sect-pv-modal__cases .l-sect-pv-modal__media > :is(img, video) { aspect-ratio: 1 / 1; object-fit: cover; border-radius: 16px; }
.l-sect-pv-modal__cases .l-sect-feature__sect-text { margin-top: 16px; padding-inline: 0; font-size: 22px; line-height: 1.8; }
.l-sect-pv-modal__cases .l-sect-pv-modal__media > img { aspect-ratio: auto; object-fit: contain; }

/* Plan D：年少・年中の写真差し替え（2026/10/29）、プレ年少の子を大きく */
.pv-road--d .pv-road__stage--d1 .pv-road__kid img { height: 200px; margin: 0 -14px 0 -6px; }
.pv-road--d .pv-road__stage--d2 .pv-road__kid img { width: auto; height: 210px; margin: 0 0 0 -6px; }
.pv-road--d .pv-road__stage--d3 .pv-road__kid img { width: auto; height: 150px; margin: 0 -12px 0 -4px; }
/* 「〇〇の学びを見る」ボタン：文字もボタンの色に（リンク色を打ち消す） */
.l-sect-pv-modals a.l-sect-pv-modal__grade, .l-sect-pv-modals a.l-sect-pv-modal__grade:is(:link, :visited, :hover, :active), .l-sect-pv-modals a.l-sect-pv-modal__grade > span { color: var(--_color) !important; text-decoration: none !important; }
/* 学年モーダルのアイコン：吹き出しではなく丸 */
.l-sect-pv-modals .l-sect-feature__header-img-box { -webkit-mask-image: none !important; mask-image: none !important; border-radius: 50%; }
/* 「〇〇の学びを見る」ボタンの下の行に生まれ年月 */
.l-sect-pv-modals a.l-sect-pv-modal__grade { flex-direction: column; gap: 4px; padding-block: 20px; }
.l-sect-pv-modals .l-sect-pv-modal__grade-born { color: var(--_color); font-size: 20px; letter-spacing: .02em; }
.pv-road--d .pv-road__stage--d2 .pv-road__kid img { height: 240px; margin: 0 -10px 0 -10px; }
/* 生まれ年月はボタンにだけ：上部の「対象」行は出さない、ボタン内の文字を大きく */
.l-sect-pv-modals .l-sect-pv-modal__birth { display: none; }
.l-sect-pv-modals .l-sect-pv-modal__grade-born { font-size: 24px; }
/* 学年モーダルの閉じるボタン（×）：モーダルの色に合わせる */
#pv-modal-pre { --pvm-c: #E2762B; }
#pv-modal-nensho { --pvm-c: #E25C9B; }
#pv-modal-nenchu { --pvm-c: #E2A42B; }
#pv-modal-nencho { --pvm-c: #3b86d6; }
.l-sect-pv-modals .c-dialog__close > img { visibility: hidden; }
.l-sect-pv-modals .c-dialog__close { position: sticky; }
.l-sect-pv-modals .c-dialog__close::after {
  content: ""; position: absolute; inset: 0; margin: auto; width: 24px; height: 24px; background: var(--pvm-c);
  -webkit-mask: url("/assets/common/images/icon_close.svg") center / contain no-repeat; mask: url("/assets/common/images/icon_close.svg") center / contain no-repeat;
}

/* カードを押したあとのフォーカス枠（線）を出さない */
.pv-road__card:focus, .pv-road__card:focus-visible { outline: none !important; }
.l-sect-pv-modals .l-sect-pv-modal__grade-born { font-size: 28px !important; }

/* プレ年少の男の子をさらに大きく */
.pv-road.pv-road--d .pv-road__stage--d1 .pv-road__kid img { height: 240px; margin: 0 -18px 0 -10px; }
/* モーダル見出しの下のコピー（プレ年少） */
.l-sect-pv-modals .l-sect-pv-modal__copy { margin: 28px 0 0; padding-left: 170px !important; font-family: 'MFW-PMaruAntipProN-DeBold', 'Zen Maru Gothic', sans-serif; font-weight: var(--font-weight-bold); font-size: 30px; line-height: 1.6; letter-spacing: .04em; }
/* 学年モーダル：ヘッダーは学年名だけ（中央）、標語は白い背景のところに */
.l-sect-pv-modals .l-sect-pv-modal__head { display: block; text-align: center; padding-bottom: 10px; }
.l-sect-pv-modals .l-sect-pv-modal__head > h4 { display: block; font-size: 48px; letter-spacing: .06em; }
.l-sect-pv-modals .l-sect-feature__sect-inner:has(.l-sect-pv-modal__head) { padding-bottom: 80px; }
.l-sect-pv-modals p.l-sect-pv-modal__copy { margin: 8px 0 0; padding: 0 40px !important; text-align: center; font-family: 'MFW-PMaruAntipProN-DeBold', 'Zen Maru Gothic', sans-serif; font-weight: var(--font-weight-bold); font-size: 34px; line-height: 1.6; letter-spacing: .04em; }
/* 学年モーダルのヘッダー：アーチなしの水平な帯（学年の色）、学年名は白 */
.l-sect-pv-modals .l-sect-feature__sect-inner:has(.l-sect-pv-modal__head) { padding: 36px 0 32px !important; }
.l-sect-pv-modals .l-sect-feature__sect-inner:has(.l-sect-pv-modal__head)::before { display: none !important; }
.l-sect-pv-modals .l-sect-feature__sect-inner.\-pv-pre:has(.l-sect-pv-modal__head) { background-color: #E2762B; }
.l-sect-pv-modals .l-sect-feature__sect-inner.\-pv-nensho:has(.l-sect-pv-modal__head) { background-color: #E25C9B; }
.l-sect-pv-modals .l-sect-feature__sect-inner.\-pv-nenchu:has(.l-sect-pv-modal__head) { background-color: #E2A42B; }
.l-sect-pv-modals .l-sect-feature__sect-inner.\-pv-nencho:has(.l-sect-pv-modal__head) { background-color: #3b86d6; }
.l-sect-pv-modals .l-sect-pv-modal__head { padding-bottom: 0; }
.l-sect-pv-modals .l-sect-pv-modal__head > h4[style] { color: #fff !important; }
.l-sect-pv-modals p.l-sect-pv-modal__copy { margin-top: 48px; }
/* ヘッダー帯（水平・塗り・白文字）：:has を使わない指定でも確実に効かせる */
:is(#pv-modal-pre, #pv-modal-nensho, #pv-modal-nenchu, #pv-modal-nencho) .l-sect-feature__sect-inner.is-flat { padding: 36px 0 32px !important; }
:is(#pv-modal-pre, #pv-modal-nensho, #pv-modal-nenchu, #pv-modal-nencho) .l-sect-feature__sect-inner.is-flat::before { display: none !important; content: none !important; }
#pv-modal-pre .l-sect-feature__sect-inner.is-flat { background-color: #E2762B !important; }
#pv-modal-nensho .l-sect-feature__sect-inner.is-flat { background-color: #E25C9B !important; }
#pv-modal-nenchu .l-sect-feature__sect-inner.is-flat { background-color: #E2A42B !important; }
#pv-modal-nencho .l-sect-feature__sect-inner.is-flat { background-color: #3b86d6 !important; }
:is(#pv-modal-pre, #pv-modal-nensho, #pv-modal-nenchu, #pv-modal-nencho) .l-sect-pv-modal__head > h4 { color: #fff !important; }

/* プレ年少の男の子を少し下に */
.pv-road.pv-road--d .pv-road__stage--d1 .pv-road__kid img { translate: 0 22px; }
/* プレ年少モーダル：標語の下の説明文 */
.l-sect-pv-modals .l-sect-pv-modal__lead2 { margin: 20px 0 0; padding: 0 40px; text-align: center; font-size: 24px; line-height: 1.8; color: #444; }
.l-sect-pv-modals .l-sect-pv-modal__lead2 { padding: 0 24px; font-size: 22px; letter-spacing: 0; }
/* プレ年少・年少モーダル：年齢ラベルを大きく、教材名は画像の下に */
.l-sect-pv-modal__cases .l-sect-feature__title { display: contents; }
.l-sect-pv-modal__cases > section > * { order: 4; }
.l-sect-pv-modal__cases .l-sect-feature__title > p { order: 1; font-size: 28px !important; padding: 8px 18px !important; }
.l-sect-pv-modal__cases .l-sect-pv-modal__media { order: 2; margin-top: 16px; }
.l-sect-pv-modal__cases .l-sect-feature__title > h5 { order: 3; margin-top: 18px; }
.l-sect-pv-modal__cases .l-sect-feature__sect-text { order: 4; margin-top: 10px; }
/* モーダルの標語を大きく */
.l-sect-pv-modals p.l-sect-pv-modal__copy { font-size: 40px; line-height: 1.55; }
:is(#pv-modal-pre, #pv-modal-nensho, #pv-modal-nenchu, #pv-modal-nencho) p.l-sect-pv-modal__copy.l-sect-pv-modal__copy { font-size: 46px !important; line-height: 1.5 !important; padding: 0 24px !important; }
.l-sect-pv-modals p.l-sect-pv-modal__lead2.l-sect-pv-modal__lead2 { font-size: 27px; line-height: 1.8; padding: 0 20px; }
/* 年長モーダル：教材ラインナップ */
.l-sect-pv-modals .l-sect-pv-modal__subjects { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; margin: 28px 0 0; padding: 0 32px; list-style: none; }
.l-sect-pv-modals .l-sect-pv-modal__subjects > li { display: grid; place-items: center; aspect-ratio: 1; border-radius: 50%; background: #E2F0FC; color: #2a6fb8; font-family: 'MFW-PMaruAntipProN-DeBold', 'Zen Maru Gothic', sans-serif; font-weight: var(--font-weight-bold); font-size: 22px; letter-spacing: 0; }
.l-sect-pv-modal__cases .l-sect-feature__sect-text { text-align: center; word-break: keep-all; }
/* 年少モーダル：年齢ラベルの下の「♥ ○○が得意」 */
.l-sect-pv-modal__cases .l-sect-feature__title > .l-sect-pv-modal__likes { order: 1; display: flex; align-items: center; gap: 6px; margin-top: 10px; font-family: 'MFW-PMaruAntipProN-DeBold', 'Zen Maru Gothic', sans-serif; font-weight: var(--font-weight-bold); font-size: 26px; letter-spacing: .02em; }
.l-sect-pv-modal__cases .l-sect-pv-modal__likes > i { font-style: normal; font-size: 24px; color: #ef5a7a; }
.l-sect-pv-modal__cases > section { display: flex; flex-direction: column; align-items: center; }
/* 年齢ラベルは角丸100%（ピル型） */
.l-sect-pv-modal__cases .l-sect-feature__title > p { border-radius: 9999px !important; padding-inline: 24px !important; }
/* 年齢ラベルを吹き出しに（下向きのしっぽ） */
.l-sect-pv-modal__cases .l-sect-feature__title > p { position: relative; margin-bottom: 8px; }
.l-sect-pv-modal__cases .l-sect-feature__title > p::after { content: ""; position: absolute; left: 50%; bottom: -11px; translate: -50% 0; border: 12px solid transparent; border-bottom: 0; border-top-color: inherit; border-top-color: currentColor; }
.l-sect-pv-modal__cases .l-sect-feature__title > p[style*="#4aa9ec"]::after { border-top-color: #4aa9ec; }
.l-sect-pv-modal__cases .l-sect-feature__title > p[style*="#8ccf62"]::after { border-top-color: #8ccf62; }
/* 学年ボタンの上の余白を詰める */
.l-sect-pv-modals .l-sect-feature__sect > .flex.justify-center:has(.l-sect-pv-modal__grade) { margin-top: 36px !important; }
/* 年少モーダル：「○○」が得意 の見出しを少し小さく */
#pv-modal-nensho .l-sect-pv-modal__cases .l-sect-feature__title > h5 { font-size: 32px !important; letter-spacing: 0; }
/* 年少モーダル：教材画像もプレ年少と同じ正方形に */
#pv-modal-nensho .l-sect-pv-modal__cases .l-sect-pv-modal__media > img { aspect-ratio: 1 / 1 !important; object-fit: cover !important; object-position: 50% 50%; }
/* 年長モーダル：タブレット＋ペン＋10分野アイコン（年中ページの sect-feature と同じ画像） */
.l-sect-pv-modals .l-sect-pv-modal__tablet { position: relative; padding: 0 20px 40px; }
.l-sect-pv-modals .l-sect-pv-modal__tablet > img { display: block; width: 100%; height: auto; }
.l-sect-pv-modals .l-sect-pv-modal__tablet > .l-sect-pv-modal__pen { position: absolute; width: 62%; left: 26%; bottom: 0; }
.l-sect-pv-modals .l-sect-pv-modal__icons > img { display: block; width: 100%; height: auto; }
/* 年長モーダル：10分野アイコンをタブレットの上に、少し小さく */
.l-sect-pv-modals .l-sect-pv-modal__icons { padding: 0 72px; margin: 0 0 24px; }
/* 年長モーダル：タブレット画像は元から左右が切れているので、モーダルの端まで広げて切れ目を端にそろえる */
.l-sect-pv-modals .l-sect-pv-modal__tablet { padding: 0 0 40px !important; margin-inline: 0; }
.l-sect-pv-modals .l-sect-pv-modal__tablet > img:first-child { width: 100%; max-width: none; }
/* 年中モーダルの画像：縦横比を保つ（ゆがませない） */
#pv-modal-nenchu img[src*="sect-pv-road_nenchu-modal"] { width: 100% !important; height: auto !important; aspect-ratio: 840 / 570 !important; object-fit: contain !important; }

/* 2026/10/30 プレ年少モーダル：ボタン下の注釈 */
.l-sect-pv-modals .l-sect-pv-modal__note { margin: 20px 0 0; padding: 0 24px; text-align: center; font-size: 20px; line-height: 1.6; color: #666; }

/* 2026/10/30 注釈：左揃え・「※」ぶら下げ */
.l-sect-pv-modals .l-sect-pv-modal__note { text-align: left; padding: 0 40px 0 calc(40px + 1em); text-indent: -1em; }

/* 2026/11/02 キービジュアル：手やタブレットにグラデーションがかからないよう、消し始めをタブレットの下まで下げる */
body:has([data-variant-group="pv-bubbles"] > :is([data-variant="C"], [data-variant="D"]):not([hidden])) .hero-wrap .open__photo img { -webkit-mask-image: linear-gradient(#000 70%, transparent 80%); mask-image: linear-gradient(#000 70%, transparent 80%); }
/* 2026/11/02b 写真の下：スパッと切れないよう、タブレットのすぐ下から長めにふわっと消す */
body:has([data-variant-group="pv-bubbles"] > :is([data-variant="C"], [data-variant="D"]):not([hidden])) .hero-wrap .open__photo img { -webkit-mask-image: linear-gradient(#000 69%, rgba(0,0,0,.75) 75%, rgba(0,0,0,.35) 84%, transparent 97%); mask-image: linear-gradient(#000 69%, rgba(0,0,0,.75) 75%, rgba(0,0,0,.35) 84%, transparent 97%); }
/* 2026/11/02c 写真は .open の下端（約88%）で切れるので、その手前で消えきるように */
body:has([data-variant-group="pv-bubbles"] > :is([data-variant="C"], [data-variant="D"]):not([hidden])) .hero-wrap .open__photo img { -webkit-mask-image: linear-gradient(#000 69%, rgba(0,0,0,.7) 74%, rgba(0,0,0,.3) 80%, transparent 86%); mask-image: linear-gradient(#000 69%, rgba(0,0,0,.7) 74%, rgba(0,0,0,.3) 80%, transparent 86%); }
/* 2026/11/02 モーダルのボタン下の注釈はセンタリング */
.l-sect-pv-modals .l-sect-pv-modal__note { text-align: center; padding: 0 24px; text-indent: 0; }
/* 2026/11/02d 写真の下が上の枠（.hero-wrap の overflow:hidden）で切られてタブレットが欠けていたので、
   写真の下の食い込み（margin-bottom）を浅くして、枠の下端の手前で写真を消しきる */
body:has([data-variant-group="pv-bubbles"] > :is([data-variant="C"], [data-variant="D"]):not([hidden])) .hero-wrap .open__visual { margin-bottom: -40px; }
body:has([data-variant-group="pv-bubbles"] > :is([data-variant="C"], [data-variant="D"]):not([hidden])) .hero-wrap .open__photo img { -webkit-mask-image: linear-gradient(#000 69%, rgba(0,0,0,.6) 73%, rgba(0,0,0,.2) 77%, transparent 80%); mask-image: linear-gradient(#000 69%, rgba(0,0,0,.6) 73%, rgba(0,0,0,.2) 77%, transparent 80%); }
/* 2026/11/02e 「幼児期の学習は…」のリードを上へ：下の段を写真の上に重ねる（重なり部分は背景透明・文字は写真より手前） */
body:has([data-variant-group="pv-bubbles"] > :is([data-variant="C"], [data-variant="D"]):not([hidden])) .pv-road { z-index: 3; margin-top: -70px; padding-top: 20px; background: linear-gradient(rgba(253, 243, 234, 0) 0, rgba(253, 243, 234, 0) 70px, #fdf3ea 71px, #fdf6ef 160px, #fef7f2 270px, #fef7f2 calc(100% - 160px), #fff 100%); }
/* 2026/11/02f リードをさらに上へ。重なりの終わりで色の段差が出ないよう、透明→背景色をなめらかに */
body:has([data-variant-group="pv-bubbles"] > :is([data-variant="C"], [data-variant="D"]):not([hidden])) .pv-road { margin-top: -110px; padding-top: 10px; background: linear-gradient(rgba(253, 243, 234, 0) 0, rgba(253, 243, 234, 0) 80px, #fdf3ea 140px, #fdf6ef 220px, #fef7f2 320px, #fef7f2 calc(100% - 160px), #fff 100%); }
/* 2026/11/02g 重なりの終わり（写真の枠の下端＝上から110px）で背景色が途切れないよう、ちょうどそこから同じ色で始める */
body:has([data-variant-group="pv-bubbles"] > :is([data-variant="C"], [data-variant="D"]):not([hidden])) .pv-road { background: linear-gradient(rgba(253, 242, 232, 0) 0, rgba(253, 242, 232, 0) 109px, #fdf2e8 110px, #fdf5ee 220px, #fef7f2 320px, #fef7f2 calc(100% - 160px), #fff 100%); }
/* 子どもを少し左へ（写真全体を右端基準で少し大きくして左へ寄せる。机とのつながりは崩さない） */
body:has([data-variant-group="pv-bubbles"] > :is([data-variant="C"], [data-variant="D"]):not([hidden])) .hero-wrap .open__photo img { transform-origin: 100% 60%; scale: 1.04; }
/* 2026/11/02h 写真（子どもの頭）を少し下へ／リード文も少し下へ */
body:has([data-variant-group="pv-bubbles"] > :is([data-variant="C"], [data-variant="D"]):not([hidden])) .hero-wrap .open__photo img { translate: 0 14px; }
body:has([data-variant-group="pv-bubbles"] > :is([data-variant="C"], [data-variant="D"]):not([hidden])) .hero-wrap .open__visual { margin-bottom: -26px; }
body:has([data-variant-group="pv-bubbles"] > :is([data-variant="C"], [data-variant="D"]):not([hidden])) .pv-road { margin-top: -96px; padding-top: 30px; background: linear-gradient(rgba(253, 242, 232, 0) 0, rgba(253, 242, 232, 0) 95px, #fdf2e8 96px, #fdf5ee 210px, #fef7f2 310px, #fef7f2 calc(100% - 160px), #fff 100%); }
/* 2026/11/02 年少モーダル：注釈はボタンの上 */
.l-sect-pv-modals .l-sect-pv-modal__note.l-sect-pv-modal__note--top { margin: 24px 0 0; }

/* 2026-11-05 学年のマスキングテープを大きく */
.pv-road__tag, .pv-road__stage--2 .pv-road__tag { padding: 6px 20px !important; font-size: 15px !important; letter-spacing: .1em; }

/* 2026/11/09 最後の写真の別バリエーション（設定パネル「最後の写真」で切り替え：data-pv-end）
   写真の上部は画像側で背景へ透明にしてあり、人物にはグラデーションがかからない */
.pv-road[data-pv-end] .pv-road__end img.pv-road__living { -webkit-mask-image: none !important; mask-image: none !important; aspect-ratio: auto; object-fit: initial; height: auto; }
/* 最後の写真（別バリエーション）：顔が中央に来るように左右を切り、コピーと顔がかぶらないように写真を少し下げる */
.pv-road[data-pv-end] .pv-road__end img.pv-road__living { aspect-ratio: 1 / .78; object-fit: cover; margin-top: 56px; }
.pv-road[data-pv-end="banzai"] .pv-road__end img.pv-road__living { object-position: 96% 100%; }
.pv-road[data-pv-end="mama"] .pv-road__end img.pv-road__living { object-position: 72% 100%; }
.pv-road[data-pv-end="write"] .pv-road__end img.pv-road__living { object-position: 0% 100%; }

/* モーダル内の説明（まっすぐ線をひいて…など）の行間をやや詰める */
.l-sect-pv-modals .l-sect-feature__sect-text { line-height: 1.55 !important; }

/* 本文（lead2）の下を詰める */
.l-sect-pv-modals .l-sect-pv-modal__lead2 + * { margin-top: 32px !important; }

/* プレ年少カードの「詳しく見る」はプレ年少の色（年中の黄色になっていたのを直す） */
.pv-road--d .pv-road__stage--d1 .pv-road__more { border-color: #f26b1d; color: #f26b1d; }
.pv-road--d .pv-road__stage--d1 .pv-road__more::after { color: #f26b1d; }

/* 「詳しく見る」：少し大きく・学年の色で塗り＋白文字・下に影 */
.l-sect-pv-road .pv-road--d .pv-road__more { zoom: 1.18; background: var(--_more, #f26b1d) !important; border-color: var(--_more, #f26b1d) !important; color: #fff !important; box-shadow: 0 3px 0 var(--_more-sh, #b8480c) !important; }
.l-sect-pv-road .pv-road--d .pv-road__more::after { color: #fff !important; }
.l-sect-pv-road .pv-road--d .pv-road__stage--d1 { --_more: #f26b1d; --_more-sh: #b8480c; }
.l-sect-pv-road .pv-road--d .pv-road__stage--d2 { --_more: #e25c9b; --_more-sh: #a8336a; }
.l-sect-pv-road .pv-road--d .pv-road__stage--d3 { --_more: #e2a42b; --_more-sh: #a8740f; }
.l-sect-pv-road .pv-road--d .pv-road__stage--d4 { --_more: #2f9be0; --_more-sh: #1d6fa6; }

/* 2026/11/10 「詳しく見る」ボタンの影を小さく（3px → 1.5px） */
.l-sect-pv-road .pv-road--d .pv-road__more { box-shadow: 0 1.5px 0 var(--_more-sh, #b8480c) !important; }

/* 2026/11/10 学年モーダル：注釈はゴシック体／「〇〇の学びを見る」は太字 */
.l-sect-pv-modals .l-sect-pv-modal__note { font-family: "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Noto Sans JP", "Yu Gothic", Meiryo, sans-serif; }
.l-sect-pv-modals a.l-sect-pv-modal__grade > span { font-family: var(--font-family-maru-bold); font-weight: 700; }

/* 2026/11/11 プレ年少・年少モーダル：注釈の下の余白を詰める */
:is(#pv-modal-pre, #pv-modal-nensho) .c-dialog__content > .l-sect-feature__sect { padding-bottom: 36px !important; }
/* 2026/11/11 PC：プレ年少・年少モーダルの Aさん・Bさん を少し小さく */
@media (min-width: 768px) {
  :is(#pv-modal-pre, #pv-modal-nensho) .l-sect-pv-modal__cases { padding-inline: 96px; gap: 24px; }
  :is(#pv-modal-pre, #pv-modal-nensho) .l-sect-pv-modal__cases .l-sect-feature__title > p { font-size: 24px !important; padding: 6px 20px !important; }
  :is(#pv-modal-pre, #pv-modal-nensho) .l-sect-pv-modal__cases .l-sect-feature__title > h5 { font-size: 26px !important; margin-top: 14px; }
}

.c-dialog__content > .l-sect-feature__sect:first-child { padding-top: 0; }
.l-sect-pv-modals .l-sect-pv-modal__grade-born { font-family: "Helvetica Neue", Helvetica, Arial, MFW-PMaruAntipProN-Regular, "Zen Maru Gothic", sans-serif; }
.l-sect-pv-modals .l-sect-pv-modal__grade-born-suffix { font-size: .8em; margin-left: .3em; }
.l-sect-pv-modals .l-sect-pv-modal__grade > .text-30 { font-size: 34px; }
.l-sect-pv-modals a[href="/youji/grade/nencho/"].l-sect-pv-modal__grade > .text-30 { font-size: 32px; white-space: nowrap; }
