/* グッドリノベ！：ポップでワクワクする誌面の組み。パターンが付ける gpte-g- のクラスにだけ効く。 */

/* ヘッダー：ロゴと検索窓、下に塗りの帯 */
.gpte-g-header { border-bottom: 0; overflow: clip; isolation: isolate; }
.gpte-g-masthead { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; column-gap: var(--wp--preset--spacing--60); padding-top: .85rem; }
.gpte-g-masthead .gpte-brand { display: block; padding-block: 0; }
.gpte-g-masthead .wp-block-site-title { font-size: clamp(1.375rem, 2.6vw, 1.875rem); font-weight: 800; letter-spacing: .03em; line-height: 1.3; }
.gpte-g-masthead .wp-block-site-tagline { display: block; margin-top: .1rem; line-height: 1.5; }
.gpte-g-search { width: 21rem; max-width: 100%; margin: 0; }
.gpte-g-search .wp-block-search__inside-wrapper { border: 2px solid var(--wp--preset--color--ink); padding: 0; }
.gpte-g-search .wp-block-search__input { border: 0; min-height: 42px; padding-inline: .75rem; font-size: var(--wp--preset--font-size--small); }
.gpte-g-search .wp-block-search__button { min-height: 42px; min-width: 44px; margin: 0; padding: .4rem; border: 0; background: var(--wp--preset--color--ink); color: var(--wp--preset--color--base); }
.gpte-g-search .wp-block-search__button svg { fill: currentColor; }

@media (min-width: 600px) {
	.gpte-g-masthead .gpte-primary-nav { grid-column: 1 / -1; position: relative; margin-top: .8rem; border-top: 0; color: var(--wp--preset--color--accent-contrast); }
	.gpte-g-masthead .gpte-primary-nav::before { content: ""; position: absolute; inset: 0 -100vw; z-index: -1; background: var(--wp--preset--color--accent); }
	.gpte-g-masthead .gpte-primary-nav .wp-block-navigation__container { gap: 0; }
	.gpte-g-masthead .gpte-primary-nav .wp-block-navigation-item__content { padding: .75rem 1.5rem; font-weight: 700; }
	.gpte-g-masthead .gpte-primary-nav .wp-block-navigation-item:first-child .wp-block-navigation-item__content { padding-left: 0; }
	.gpte-g-masthead .gpte-primary-nav .wp-block-navigation-item__content:hover { text-decoration: underline; text-underline-offset: .3em; }
}
/* タブレット幅では検索窓を縮め、説明文の折り返しでヘッダーが高くならないようにする */
@media (min-width: 600px) and (max-width: 781px) {
	.gpte-g-masthead { column-gap: var(--wp--preset--spacing--40); }
	.gpte-g-search { width: 13rem; }
	/* メニューの5項目を1行に収める */
	.gpte-g-masthead .gpte-primary-nav .wp-block-navigation-item__content { padding-inline: .9rem; }
}
@media (max-width: 599px) {
	.gpte-g-masthead { column-gap: .5rem; }
	.gpte-g-masthead .gpte-primary-nav { grid-column: 2; grid-row: 1; }
	.gpte-g-search { grid-column: 1 / -1; grid-row: 2; width: 100%; margin-block: .6rem .75rem; }
	.gpte-g-header { border-bottom: 4px solid var(--wp--preset--color--accent); }
}

/* 見出しの帯：太い線と題、右に一覧への案内 */
.gpte-g-bar { gap: 1rem; margin-bottom: var(--wp--preset--spacing--50); padding-top: .75rem; border-top: 4px solid var(--wp--preset--color--ink); }
.gpte-g-bar h2 { margin: 0; font-weight: 800; }
.gpte-g-more { flex: none; margin: 0; }
@media (max-width: 599px) {
	.gpte-g-bar { flex-wrap: wrap !important; }
}
.gpte-g-more a { color: inherit; font-weight: 600; text-decoration: none; }
.gpte-g-more a::after { content: " ›"; }
.gpte-g-more a:hover { text-decoration: underline; text-underline-offset: .2em; }
.gpte-g-num { margin: 0; font-weight: 800; font-variant-numeric: tabular-nums; }

/* 導入 */
.gpte-g-intro { padding-block: var(--wp--preset--spacing--50) var(--wp--preset--spacing--40); }
.gpte-g-intro h1 { margin: 0; font-weight: 800; line-height: 1.45; letter-spacing: .02em; }
.gpte-g-intro p { margin: .25rem 0 0; }

/* 主記事＋補助記事 */
.gpte-g-lead .wp-block-post-template { display: grid; gap: var(--wp--preset--spacing--50); margin: 0; padding: 0; list-style: none; }
.gpte-g-card > * { margin: 0; }
.gpte-g-card .wp-block-post-featured-image img,
.gpte-g-card .gpte-image-placeholder { display: block; width: 100%; height: auto; aspect-ratio: 3 / 2 !important; object-fit: cover; }
.gpte-card-text > * { margin-block: 0; }
.gpte-g-card .gpte-card-text { padding-top: .6rem; }
.gpte-g-card .wp-block-post-title { margin-block: .15rem .3rem; font-weight: 700; line-height: 1.55; }
.gpte-g-card .wp-block-post-title a { text-decoration: none; }
.gpte-g-card .wp-block-post-title a:hover { text-decoration: underline; text-underline-offset: .18em; }
.gpte-g-card .gpte-card-excerpt { display: none; }
.gpte-g-lead li:first-child .wp-block-post-title { font-size: var(--wp--preset--font-size--xx-large) !important; font-weight: 800; line-height: 1.45; }
.gpte-g-lead li:first-child .gpte-card-excerpt { display: block; margin-bottom: .35rem; color: var(--wp--preset--color--muted); font-size: var(--wp--preset--font-size--small); }
.gpte-g-lead li:first-child .gpte-card-excerpt p { margin: 0; }
@media (min-width: 782px) {
	.gpte-g-lead .wp-block-post-template { grid-template-columns: repeat(4, minmax(0, 1fr)); }
	.gpte-g-lead li:first-child { grid-column: span 2; grid-row: span 2; }
	.gpte-g-lead li:not(:first-child) .wp-block-post-title { font-size: var(--wp--preset--font-size--small) !important; }
	/* 件数が少ないときは、残りの枠を広げて空きを作らない */
	.gpte-g-lead li:only-child { grid-column: 1 / -1; grid-row: auto; }
	.gpte-g-lead li:only-child .gpte-g-card { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); gap: var(--wp--preset--spacing--60); align-items: center; }
	.gpte-g-lead li:nth-child(2):last-child { grid-column: span 2; grid-row: span 2; }
	.gpte-g-lead li:nth-child(2):last-child .wp-block-post-title { font-size: var(--wp--preset--font-size--xx-large) !important; font-weight: 800; }
	.gpte-g-lead li:nth-child(2):nth-last-child(2),
	.gpte-g-lead li:nth-child(3):last-child { grid-column: span 2; }
	.gpte-g-lead li:nth-child(2):nth-last-child(2) .gpte-g-card,
	.gpte-g-lead li:nth-child(3):last-child .gpte-g-card { display: grid; grid-template-columns: 11rem minmax(0, 1fr); gap: 1rem; align-items: start; }
	.gpte-g-lead li:nth-child(2):nth-last-child(2) .gpte-card-text,
	.gpte-g-lead li:nth-child(3):last-child .gpte-card-text { padding-top: 0; }
	.gpte-g-lead li:nth-child(4):last-child { grid-column: span 2; }
}
@media (max-width: 781px) {
	.gpte-g-lead li:not(:first-child) .gpte-g-card { display: grid; grid-template-columns: 7.5rem minmax(0, 1fr); gap: .85rem; align-items: start; }
	.gpte-g-lead li:not(:first-child) .gpte-card-text { padding-top: 0; }
	.gpte-g-lead li:not(:first-child) .wp-block-post-title { font-size: var(--wp--preset--font-size--small) !important; }
	.gpte-g-lead li:first-child .wp-block-post-title { font-size: var(--wp--preset--font-size--x-large) !important; }
}
.gpte-g-lead-empty { gap: var(--wp--preset--spacing--60); margin: 0; }
.gpte-g-lead-empty figure { margin: 0; }
.gpte-g-lead-empty h2 { margin-top: 0; font-weight: 800; }

/* 図表 */
.gpte-g-plan { margin-top: var(--wp--preset--spacing--70); }
.gpte-g-figure + .gpte-g-figure { margin-top: var(--wp--preset--spacing--60); }
.gpte-g-figure h3 { margin: 0 0 .75rem; font-weight: 700; }
.gpte-g-figure > p { margin: .5rem 0 0; }
.gpte-g-budget { display: grid; gap: 3px; }
.gpte-g-budget > *, .gpte-g-process > *, .gpte-g-listgrid > * { margin-block: 0; }
.gpte-g-budget__item { --gpte-tone: var(--wp--preset--color--accent); padding: .7rem .9rem; border-top: 14px solid var(--gpte-tone); background: var(--wp--preset--color--card); }
.gpte-g-budget__item p { margin: 0; line-height: 1.6; }
.gpte-g-budget__item:nth-child(2) { --gpte-tone: color-mix(in srgb, var(--wp--preset--color--accent) 72%, #fff); }
.gpte-g-budget__item:nth-child(3) { --gpte-tone: color-mix(in srgb, var(--wp--preset--color--accent) 54%, #fff); }
.gpte-g-budget__item:nth-child(4) { --gpte-tone: color-mix(in srgb, var(--wp--preset--color--accent) 38%, #fff); }
.gpte-g-budget__item:nth-child(5) { --gpte-tone: var(--wp--preset--color--ink); }
.gpte-g-process { display: grid; gap: 1.25rem; }
.gpte-g-process__item { position: relative; padding-left: 3rem; min-height: 2.25rem; }
.gpte-g-process__item::before { content: ""; position: absolute; top: 0; bottom: -1.25rem; left: 1.05rem; border-left: 2px solid var(--wp--preset--color--ink); }
.gpte-g-process__item:last-child::before { display: none; }
.gpte-g-process__item > * { margin: 0; line-height: 1.6; }
.gpte-g-process .gpte-g-num { position: absolute; top: 0; left: 0; display: grid; place-items: center; width: 2.25rem; height: 2.25rem; background: var(--wp--preset--color--ink); color: var(--wp--preset--color--base); }
@media (min-width: 900px) {
	.gpte-g-budget { grid-template-columns: 4.4fr 1.5fr 1.8fr 1.5fr 1.6fr; }
	.gpte-g-process { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 0; }
	.gpte-g-process.is-three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.gpte-g-process__item { padding: 3rem 1rem 0 0; }
	.gpte-g-process__item::before { top: 1.05rem; bottom: auto; left: 0; right: 0; border-left: 0; border-top: 2px solid var(--wp--preset--color--ink); }
	.gpte-g-process__item:last-child::before { display: block; right: 1rem; }
}

.gpte-g-featurerow { gap: var(--wp--preset--spacing--60); margin: var(--wp--preset--spacing--60) 0 0; padding-top: var(--wp--preset--spacing--50); border-top: 1px solid var(--wp--preset--color--line); }
.gpte-g-featurerow figure { margin: 0; }
.gpte-g-featurerow h3 { margin: 0 0 .5rem; font-weight: 800; }
.gpte-g-featurerow p { margin-top: 0; }

/* ガイド索引 */
.gpte-g-index { gap: var(--wp--preset--spacing--60); margin-bottom: 0; }
.gpte-g-index__head { display: grid; grid-template-columns: auto minmax(0, 1fr); column-gap: .85rem; padding-bottom: .75rem; border-bottom: 2px solid var(--wp--preset--color--ink); }
.gpte-g-index .gpte-g-num { grid-row: span 2; color: var(--wp--preset--color--accent); font-size: 2.75rem; line-height: 1; }
.gpte-g-index h3, .gpte-g-index__head > h2 { margin: 0; font-weight: 800; line-height: 1.5; }
.gpte-g-index__head a { color: inherit; text-decoration: none; }
.gpte-g-index__head a:hover { text-decoration: underline; text-underline-offset: .18em; }
.gpte-g-index__head p:last-child { margin: .1rem 0 0; line-height: 1.7; }
.gpte-g-index__list .wp-block-post-template { margin: 0; padding: 0; list-style: none; }
.gpte-g-row { padding-block: .65rem; border-bottom: 1px solid var(--wp--preset--color--line); }
.gpte-g-row .wp-block-post-title { margin: 0; font-weight: 600; line-height: 1.6; }
.gpte-g-row .wp-block-post-title a { text-decoration: none; }
.gpte-g-row .wp-block-post-title a:hover { text-decoration: underline; text-underline-offset: .18em; }

/* ツールの帯 */
.gpte-g-toolwrap { margin-top: var(--wp--preset--spacing--70); }
.gpte-g-toolwrap .wp-block-columns { gap: var(--wp--preset--spacing--60); margin-bottom: 0; }
.gpte-g-toolwrap h2 { margin-top: 0; font-weight: 800; }
.gpte-g-toolwrap .gpte-eyebrow { color: inherit; }
.gpte-g-toolwrap .gpte-tool { border: 0; color: var(--wp--preset--color--ink); }

/* 行リスト：画像は右、文字を先に読ませる */
.gpte-g-latest .wp-block-post-template, .gpte-g-listgrid .wp-block-post-template { margin: 0; padding: 0; list-style: none; }
.gpte-g-listcard { display: grid; grid-template-columns: minmax(0, 1fr) 8rem; gap: 1rem; align-items: start; padding-block: 1rem; border-bottom: 1px solid var(--wp--preset--color--line); }
.gpte-g-listcard .wp-block-post-featured-image { order: 2; margin: 0; }
.gpte-g-listcard .wp-block-post-title { margin-block: .1rem .25rem; font-weight: 700; line-height: 1.55; }
.gpte-g-listcard .wp-block-post-title a { text-decoration: none; }
.gpte-g-listcard .wp-block-post-title a:hover { text-decoration: underline; text-underline-offset: .18em; }
.gpte-g-listcard .gpte-card-excerpt { color: var(--wp--preset--color--muted); font-size: var(--wp--preset--font-size--small); line-height: 1.75; }
.gpte-g-listcard .gpte-card-excerpt p { margin: 0 0 .2rem; }
@media (min-width: 782px) {
	.gpte-g-latest .wp-block-post-template { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: var(--wp--preset--spacing--60); }
	.gpte-g-listgrid .gpte-g-listcard { grid-template-columns: minmax(0, 1fr) 15rem; gap: var(--wp--preset--spacing--50); }
}

/* 下層の見出し */
.gpte-g-pagehead { gap: var(--wp--preset--spacing--60); margin-bottom: 0; }
.gpte-g-pagehead h1 { margin-top: 0; font-weight: 800; line-height: 1.45; }
.gpte-g-pagehead p:last-child { margin-bottom: 0; }
.gpte-g-pagehead figure { margin: 0; }
.gpte-g-plan-page .gpte-g-bar h2 { font-size: var(--wp--preset--font-size--x-large); }
.gpte-g-toolpage, .gpte-g-consult { gap: var(--wp--preset--spacing--60); margin-bottom: 0; }
.gpte-g-toolpage h2:first-child, .gpte-g-consult h2:first-child { margin-top: 0; }
.gpte-g-toolpage .gpte-tool-frame { margin-block: 0; }
.gpte-g-consult .wp-block-column:first-child { padding: var(--wp--preset--spacing--50); background: var(--wp--preset--color--surface); }
.gpte-g-consult .wp-block-column:first-child h2 { margin-bottom: .35rem; }
.gpte-g-consult .wp-block-column:first-child :where(ul, ol) { padding-left: 1.3em; }

/* 一覧 */
.gpte-g-listband { margin-bottom: var(--wp--preset--spacing--50); }
.gpte-g-listband .gpte-list-head { padding-block: var(--wp--preset--spacing--50); }
.gpte-g-listband h1 { font-weight: 800; }
.gpte-g-listband .wp-block-search { margin-bottom: 1rem; }
.gpte-g-listgrid { display: grid; gap: var(--wp--preset--spacing--60); padding-bottom: var(--wp--preset--spacing--60); }
.gpte-g-aside h2 { margin: var(--wp--preset--spacing--50) 0 .35rem; font-weight: 800; }
.gpte-g-aside .wp-block-categories { margin: 0 0 var(--wp--preset--spacing--50); padding: 0; list-style: none; font-size: var(--wp--preset--font-size--small); }
.gpte-g-aside .wp-block-categories li { padding-block: .45rem; border-bottom: 1px solid var(--wp--preset--color--line); }
.gpte-g-aside .wp-block-categories a { color: inherit; text-decoration: none; }
.gpte-g-aside .wp-block-categories a:hover { text-decoration: underline; }
@media (min-width: 960px) {
	.gpte-g-listgrid { grid-template-columns: minmax(0, 1fr) 18rem; align-items: start; }
	.gpte-g-aside { position: sticky; top: 1.5rem; }
}

/* 記事 */
.gpte-g-article .gpte-article-head { padding-top: var(--wp--preset--spacing--30); }
.gpte-g-article .gpte-article-head h1 { font-weight: 800; line-height: 1.45; }

/* フッター */
.gpte-g-footer .wp-block-columns { gap: var(--wp--preset--spacing--60); margin-bottom: 0; }
.gpte-g-footer .wp-block-site-title { font-size: var(--wp--preset--font-size--x-large); font-weight: 800; }
.gpte-g-footer__label { margin: 0 0 .35rem; font-weight: 700; letter-spacing: .1em; opacity: .8; }
.gpte-g-footer .gpte-footer-nav { font-size: var(--wp--preset--font-size--small); }
.gpte-g-footer .gpte-footer-links { margin-top: .5rem; }

/* スマホの検索：常に検索窓を出さず、虫めがねのボタンから開く。ヘッダーを1段に収める。 */
.gpte-g-search-mobile { display: none; }
@media (max-width: 599px) {
	.gpte-g-masthead { grid-template-columns: minmax(0, 1fr) auto auto; padding-bottom: .6rem; }
	.gpte-g-masthead .gpte-g-search { display: none; }
	.gpte-g-masthead .gpte-g-search-mobile { display: block; grid-column: 2; grid-row: 1; }
	.gpte-g-masthead .gpte-primary-nav { grid-column: 3; grid-row: 1; }
}

/* 新着：1件だけのときは2列分を使うが、行が間延びしないよう幅を抑える */
@media (min-width: 782px) {
	.gpte-g-latest .wp-block-post-template > li:only-child { grid-column: 1 / -1; max-width: 54rem; }
}
/* スマホの一覧：写真を小さくして文字の列を広げ、要約は2行までにする */
@media (max-width: 599px) {
	.gpte-g-listcard { grid-template-columns: minmax(0, 1fr) 6rem; }
	.gpte-g-listcard .gpte-card-excerpt { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
	.gpte-g-masthead .wp-block-site-tagline { display: none; }
}

/* ==== V4：グッドリノベ！（ポップでワクワク） ==== */
/* 飾りの色はパレット（マーカー・飾りの色1〜3）から取る。サイトエディターの配色で変えられる。 */
:root { --gpte-g-yellow: var(--wp--preset--color--highlight); --gpte-g-pink-soft: var(--wp--preset--color--tint-1); --gpte-g-yellow-soft: var(--wp--preset--color--tint-2); --gpte-g-mint: var(--wp--preset--color--tint-1); --gpte-g-mint-soft: var(--wp--preset--color--tint-3); }

/* ロゴは丸みのある太字に、黄色の下線を引く */
.gpte-g-masthead .wp-block-site-title { font-family: var(--wp--preset--font-family--rounded); letter-spacing: .04em; }
.gpte-g-masthead .wp-block-site-title a { text-decoration: underline; text-decoration-color: var(--gpte-g-yellow); text-decoration-thickness: .32em; text-underline-offset: -.12em; text-decoration-skip-ink: none; }
.gpte-g-search .wp-block-search__inside-wrapper { border-radius: 999px; overflow: hidden; }

/* トップの導入：大きな見出しと、色の丸い飾り */
.gpte-g-hero { position: relative; isolation: isolate; overflow-x: clip; padding-block: var(--wp--preset--spacing--70) var(--wp--preset--spacing--60); }
.gpte-g-hero::before, .gpte-g-hero::after { content: ""; position: absolute; z-index: -1; border-radius: 50%; pointer-events: none; }
.gpte-g-hero::before { top: 1.5rem; right: -2rem; width: clamp(9rem, 22vw, 16rem); aspect-ratio: 1; background: var(--gpte-g-yellow-soft); }
.gpte-g-hero::after { right: clamp(6rem, 18vw, 15rem); bottom: .5rem; width: clamp(4rem, 9vw, 7rem); aspect-ratio: 1; background: var(--gpte-g-mint); }
.gpte-g-kicker { display: inline-block; margin: 0 0 .9rem !important; padding: .25rem .9rem; border-radius: 999px; background: var(--wp--preset--color--accent); color: var(--wp--preset--color--accent-contrast); font-weight: 800; letter-spacing: .06em; }
.gpte-g-hero h1 { max-width: 15em; font-family: var(--wp--preset--font-family--rounded); line-height: 1.35; letter-spacing: .03em; }
.gpte-g-hero__lead { max-width: 38rem; margin: .9rem 0 0 !important; font-size: var(--wp--preset--font-size--medium); }
.gpte-g-hero .wp-block-buttons { margin-top: var(--wp--preset--spacing--50); }
@media (max-width: 599px) {
	.gpte-g-hero::after { display: none; }
}
.gpte-g-article .gpte-article-image img { border-radius: 18px; }

/* 見出しの帯：太い線をやめ、黄色のマーカーで題を目立たせる */
.gpte-g-bar { padding-top: 0; border-top: 0; }
.gpte-g-bar h2 { font-family: var(--wp--preset--font-family--rounded); }
.gpte-g-bar h2 { text-decoration: underline; text-decoration-color: var(--gpte-g-yellow); text-decoration-thickness: .38em; text-underline-offset: -.14em; text-decoration-skip-ink: none; }
.gpte-g-more a { color: var(--wp--preset--color--accent); }

/* 写真とカードは角を丸く、分類は丸いラベル */
.gpte-g-card .wp-block-post-featured-image img, .gpte-g-listcard .wp-block-post-featured-image img,
.gpte-g-featurerow .gpte-feature-photo img, .gpte-g-lead-empty img, .gpte-g-pagehead img { border-radius: 18px; }
.gpte-g-card .wp-block-post-terms a, .gpte-g-listcard .wp-block-post-terms a { display: inline-block; padding: .05rem .6rem; border-radius: 999px; background: var(--gpte-g-pink-soft); color: var(--wp--preset--color--accent); font-weight: 700; text-decoration: none; }
.gpte-g-lead li:first-child .wp-block-post-title { font-family: var(--wp--preset--font-family--rounded); }

/* 「どこを変えたい？」の入口：色の違う3枚のカード */
.gpte-g-ideas { gap: var(--wp--preset--spacing--50); margin-bottom: 0; }
.gpte-g-idea { padding: var(--wp--preset--spacing--40); border-radius: 24px; transition: transform .15s; }
.gpte-g-idea.is-pink { background: var(--gpte-g-pink-soft); }
.gpte-g-idea.is-yellow { background: var(--gpte-g-yellow-soft); }
.gpte-g-idea.is-mint { background: var(--gpte-g-mint-soft); }
.gpte-g-idea:hover { transform: translateY(-3px); }
.gpte-g-idea figure { margin: 0 0 .9rem; }
.gpte-g-idea img { display: block; width: 100%; height: auto; border-radius: 16px; aspect-ratio: 4 / 3; object-fit: cover; }
.gpte-g-idea h3 { margin: 0 0 .35rem; font-family: var(--wp--preset--font-family--rounded); font-weight: 800; line-height: 1.5; }
.gpte-g-idea h3 a { color: var(--wp--preset--color--ink); text-decoration: none; }
.gpte-g-idea h3 a::after { content: " →"; color: var(--wp--preset--color--accent); }
.gpte-g-idea h3 a:hover { text-decoration: underline; text-underline-offset: .2em; }
.gpte-g-idea p { margin: 0; }

/* リフォームの流れ：丸い番号のステップを、黄色の帯の上に */
.gpte-g-plan { background-color: var(--gpte-g-yellow-soft) !important; }
.gpte-g-process .gpte-g-num { border-radius: 50%; background: var(--wp--preset--color--accent); color: var(--wp--preset--color--accent-contrast); }
.gpte-g-process__item::before { border-color: var(--wp--preset--color--accent) !important; border-style: dashed !important; }
.gpte-g-figure h3 { font-family: var(--wp--preset--font-family--rounded); }
.gpte-g-budget__item { border-radius: 0 0 12px 12px; }
.gpte-g-featurerow { border-top: 2px dashed color-mix(in srgb, var(--wp--preset--color--accent) 35%, transparent); }

/* テーマ別の新着：番号を丸いバッジに */
.gpte-g-index .gpte-g-num { display: grid; place-items: center; width: 3rem; height: 3rem; border-radius: 50%; background: var(--wp--preset--color--accent); color: var(--wp--preset--color--accent-contrast); font-size: 1.4rem; }
.gpte-g-index__head { border-bottom: 3px solid var(--gpte-g-yellow); }
.gpte-g-index h3 { font-family: var(--wp--preset--font-family--rounded); }

/* ツールの帯：濃い地に黄色の丸い飾り */
.gpte-g-toolwrap { position: relative; overflow: hidden; isolation: isolate; }
.gpte-g-toolwrap::after { content: ""; position: absolute; z-index: -1; left: -5rem; bottom: -6rem; width: 15rem; aspect-ratio: 1; box-sizing: border-box; border: 1.4rem solid var(--gpte-g-yellow); border-radius: 50%; pointer-events: none; }
.gpte-g-toolwrap h2 { font-family: var(--wp--preset--font-family--rounded); }
.gpte-g-toolwrap .gpte-tool { border-radius: 20px; }

/* 一覧の見出しの帯、ページの見出し */
.gpte-g-listband, .gpte-g-pageband { background-color: var(--gpte-g-yellow-soft) !important; }
.gpte-g-pagehead h1 { font-family: var(--wp--preset--font-family--rounded); }

/* フッター */
.gpte-g-footer .wp-block-site-title { font-family: var(--wp--preset--font-family--rounded); }

@media (prefers-reduced-motion: reduce) {
	.gpte-g-idea { transition: none; }
	.gpte-g-idea:hover { transform: none; }
}
