/* Issue #44: selected template and editable native-block body only. */
.tt-inner.tt-custom-page { background: #fff; }
.tt-inner.tt-custom-page .tt-custom-page__heading { padding-block: 24px 0; }
.tt-inner.tt-custom-page .tt-inner__breadcrumbs { margin-bottom: 20px; }
.tt-inner.tt-custom-page .tt-custom-page__title { margin: 0; color: var(--tt-green-deep); font-size: 1.125rem; }
/* #110 ヒーローのアイブロウにページ名が入っているため、h1は読み上げ・検索用に残して画面からは隠す */
.tt-inner.tt-custom-page .tt-custom-page__title { position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; border: 0; }
.tt-inner.tt-custom-page .tt-custom-page__content { max-width: none; margin: 0; }
.tt-inner.tt-custom { line-height: 1.9; }
.tt-inner.tt-custom > * + * { margin-block-start: 0; }
.tt-inner.tt-custom .tt-custom__section { margin: 0; padding-block: 88px; }
.tt-inner.tt-custom .tt-custom__hero { padding-block: 44px 80px; background: radial-gradient(ellipse at 85% 40%, var(--tt-mint), transparent 65%), #fff; }
.tt-inner.tt-custom .tt-custom__hero-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); align-items: center; gap: 72px; }
.tt-inner.tt-custom .tt-custom__eyebrow { margin: 0 0 16px; color: var(--tt-green); font-size: .75rem; font-weight: 800; letter-spacing: .12em; }
.tt-inner.tt-custom .tt-custom__headline { margin: 0 0 24px; color: var(--tt-ink); font-size: clamp(2.25rem, 1.4rem + 3vw, 4rem); line-height: 1.4; letter-spacing: -.04em; }
.tt-inner.tt-custom .tt-custom__headline strong { color: var(--tt-green); }
.tt-inner.tt-custom .tt-custom__hero-lead { margin: 0; color: var(--tt-ink-muted); font-size: 1rem; }
.tt-inner.tt-custom .tt-custom__actions { margin-top: 28px; gap: 12px; }
.tt-inner.tt-custom .wp-block-button__link { display: inline-flex; align-items: center; justify-content: center; box-sizing: border-box; min-height: 48px; padding: 13px 22px; border: 1px solid var(--tt-green); border-radius: 999px; color: #fff; background: var(--tt-green); font-size: .9375rem; font-weight: 700; line-height: 1.5; text-decoration: none; }
.tt-inner.tt-custom .wp-block-button__link:hover { background: var(--tt-green-deep); }
.tt-inner.tt-custom .tt-custom__button--outline .wp-block-button__link { color: var(--tt-green-deep); background: #fff; border-color: var(--tt-line); }
.tt-inner.tt-custom .tt-custom__button--outline .wp-block-button__link:hover { background: var(--tt-mint); }
.tt-inner.tt-custom .tt-custom__hero-panel { padding: 32px; border: 1px solid var(--tt-line); border-radius: var(--tt-radius-lg); background: #fff; box-shadow: var(--tt-shadow-hub); }
.tt-inner.tt-custom .tt-custom__panel-title { margin: 0 0 24px; color: var(--tt-green-deep); font-size: 1.5rem; font-weight: 700; }
.tt-inner.tt-custom .tt-custom__label { margin: 0 0 8px; font-size: .75rem; font-weight: 700; letter-spacing: .08em; }
.tt-inner.tt-custom .tt-custom__hero-before { padding: 0 0 24px; margin: 0; color: var(--tt-ink-muted); }
.tt-inner.tt-custom .tt-custom__hero-before p:last-child { margin: 0; font-size: .9375rem; }
.tt-inner.tt-custom .tt-custom__hero-after { margin: 0; padding: 24px; border-radius: var(--tt-radius-md); color: #fff; background: var(--tt-green-deep); }
.tt-inner.tt-custom .tt-custom__hero-after p { margin: 0; color: #fff; font-size: .875rem; }
.tt-inner.tt-custom .tt-custom__hero-after .tt-custom__label { margin-bottom: 12px; color: var(--tt-mint); }
.tt-inner.tt-custom .tt-custom__hero-after .tt-custom__hero-route { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin-block: 16px 24px; }
.tt-inner.tt-custom .tt-custom__route-node { position: relative; min-width: 0; margin: 0; text-align: center; }
.tt-inner.tt-custom .tt-custom__route-node + .tt-custom__route-node::before { content: "→"; position: absolute; top: 18px; left: -24px; width: 24px; color: var(--tt-mint); font-size: 1.125rem; }
.tt-inner.tt-custom .tt-custom__route-node p { margin-top: 12px; font-size: .8125rem; font-weight: 700; }
.tt-inner.tt-custom .tt-custom__icon { display: flex; align-items: center; justify-content: center; width: 64px; height: 64px; box-sizing: border-box; margin: 0 0 20px; border: 1px solid var(--tt-line); border-radius: 18px; background: var(--tt-mint-pale); }
.tt-inner.tt-custom .tt-custom__icon img { display: block; width: 32px; height: 32px; border-radius: 0; }
.tt-inner.tt-custom .tt-custom__icon--portrait { width: 96px; height: 96px; overflow: hidden; border-radius: 50%; background: var(--tt-mint); }
.tt-inner.tt-custom .tt-custom__icon--portrait img { width: 88px; height: 88px; align-self: end; }
.tt-inner.tt-custom .tt-custom__route-node .tt-custom__icon { width: 56px; height: 56px; margin: 0 auto; border: 0; background: #fff; }
.tt-inner.tt-custom .tt-custom__section-head { max-width: 800px; margin-bottom: 36px; }
.tt-inner.tt-custom .tt-inner__heading { margin: 0 0 20px; letter-spacing: -.03em; }
.tt-inner.tt-custom .tt-inner__lead { margin: 0; font-size: 1rem; }
.tt-inner.tt-custom .tt-custom__tint { background: var(--tt-mint-pale); border-block: 1px solid var(--tt-line); }
.tt-inner.tt-custom .tt-custom__steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
.tt-inner.tt-custom .tt-custom__num { margin: 0 0 20px; color: var(--tt-green); font-size: .75rem; font-weight: 800; letter-spacing: .06em; }
.tt-inner.tt-custom .tt-inner__card h3 { margin: 0 0 16px; color: var(--tt-ink); font-size: 1.5rem; line-height: 1.5; }
.tt-inner.tt-custom .tt-custom__card-heading { display: grid; grid-template-columns: 64px minmax(0, 1fr); align-items: center; gap: 16px; margin: 0 0 20px; }
.tt-inner.tt-custom .tt-custom__card-heading .tt-custom__icon { margin: 0; }
.tt-inner.tt-custom .tt-custom__card-title { min-width: 0; margin: 0; }
.tt-inner.tt-custom .tt-custom__card-title .tt-custom__num { margin: 0 0 6px; }
.tt-inner.tt-custom .tt-custom__card-heading h3 { margin: 0; font-size: 1.625rem; line-height: 1.5; }
.tt-inner.tt-custom .tt-custom__step { position: relative; }
.tt-inner.tt-custom .tt-custom__step + .tt-custom__step::before { content: "→"; position: absolute; top: 38%; left: -33px; width: 32px; color: var(--tt-green); text-align: center; font-size: 1.5rem; }
.tt-inner.tt-custom .tt-custom__step--hub { background: var(--tt-green-deep); border-color: var(--tt-green-deep); }
.tt-inner.tt-custom .tt-custom__step.tt-custom__step--hub :where(h3, p) { color: #fff; }
.tt-inner.tt-custom .tt-custom__step.tt-custom__step--hub .tt-custom__num { color: var(--tt-mint); }
.tt-inner.tt-custom .tt-inner__card .tt-custom__example { margin-top: 20px; padding-top: 16px; border-top: 1px solid var(--tt-line); font-size: .8125rem; }
.tt-inner.tt-custom .tt-custom__comparison { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.tt-inner.tt-custom .tt-custom__comparison .tt-inner__card { border-top: 4px solid var(--tt-green-teal); }
.tt-inner.tt-custom .tt-custom__case-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.tt-inner.tt-custom .tt-inner__card .tt-custom__case-route { margin-top: 24px; padding: 16px; border-radius: var(--tt-radius-sm); color: var(--tt-green-deep); background: var(--tt-mint-pale); font-size: .8125rem; font-weight: 700; }
.tt-inner.tt-custom .tt-inner__card .tt-custom__text-link { margin-top: 20px; font-size: .875rem; }
.tt-inner.tt-custom .tt-custom__text-link a { color: var(--tt-green-deep); text-underline-offset: 5px; font-weight: 700; }
.tt-inner.tt-custom .tt-custom__note { margin: 24px 0 0; color: var(--tt-ink-muted); font-size: .8125rem; line-height: 1.8; }
.tt-inner.tt-custom .tt-custom__details { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; }
.tt-inner.tt-custom .tt-custom__detail { min-width: 0; margin: 0; padding: 28px; border: 1px solid var(--tt-line); border-radius: var(--tt-radius-md); }
.tt-inner.tt-custom .tt-custom__detail h3 { margin: 0 0 16px; font-size: 1.5rem; color: var(--tt-green-deep); }
.tt-inner.tt-custom .tt-custom__detail p { margin: 0 0 24px; color: var(--tt-ink-muted); font-size: .9375rem; }
.tt-inner.tt-custom .tt-custom__legacy-image { margin: 0; }
.tt-inner.tt-custom .tt-custom__legacy-image img { display: block; width: 100%; height: auto; }
.tt-inner.tt-custom .tt-custom__legacy-image figcaption { margin: 16px 0 0; color: var(--tt-ink-muted); font-size: .8125rem; line-height: 1.8; }
.tt-inner.tt-custom .tt-custom__more { margin-top: 32px; }
.tt-inner.tt-custom .tt-custom__cta { padding: 48px; }
.tt-inner.tt-custom .tt-custom__cta .tt-custom__eyebrow { color: var(--tt-mint); }
.tt-inner.tt-custom .tt-custom__cta :where(h2, p) { color: #fff; }
.tt-inner.tt-custom .tt-custom__cta .tt-custom__consult-hint { margin-top: 24px; font-size: .875rem; }
.tt-inner.tt-custom .tt-custom__cta .wp-block-button__link { background: #fff; color: var(--tt-green-deep); border-color: #fff; }
.tt-inner.tt-custom .tt-custom__cta .wp-block-button__link:hover { background: var(--tt-mint); }
.tt-inner.tt-custom .tt-custom__cta .tt-custom__button--outline .wp-block-button__link { color: #fff; background: transparent; }
.tt-inner.tt-custom .tt-custom__cta .tt-custom__button--outline .wp-block-button__link:hover { background: #ffffff15; }
.tt-inner.tt-custom .tt-custom__cta a:focus-visible { outline-color: #fff; }
@media (max-width: 900px) {
	.tt-inner.tt-custom .tt-custom__hero-grid { grid-template-columns: minmax(0, 1fr); gap: 36px; }
	.tt-inner.tt-custom .tt-custom__steps { grid-template-columns: minmax(0, 1fr); gap: 32px; }
	.tt-inner.tt-custom .tt-custom__step + .tt-custom__step::before { content: "↓"; top: -34px; left: calc(50% - 16px); }
	.tt-inner.tt-custom .tt-custom__details { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 600px) {
	.tt-inner.tt-custom .tt-custom__section { padding-block: 56px; }
	.tt-inner.tt-custom .tt-custom__hero { padding-block: 28px 48px; }
	.tt-inner.tt-custom .tt-custom__headline { font-size: clamp(2rem, 9vw, 3rem); }
	.tt-inner.tt-custom .tt-custom__hero-lead br { display: none; }
	.tt-inner.tt-custom :is(.tt-custom__hero-panel, .tt-custom__detail, .tt-custom__cta) { padding: 24px; }
	.tt-inner.tt-custom .tt-custom__hero-after { padding: 20px; }
	.tt-inner.tt-custom .tt-custom__card-heading { grid-template-columns: 48px minmax(0, 1fr); gap: 12px; margin-bottom: 16px; }
	.tt-inner.tt-custom .tt-custom__card-heading .tt-custom__icon { width: 48px; height: 48px; border-radius: 14px; }
	.tt-inner.tt-custom .tt-custom__hero-after .tt-custom__hero-route { gap: 16px; }
	.tt-inner.tt-custom .tt-custom__route-node + .tt-custom__route-node::before { left: -16px; width: 16px; }
	.tt-inner.tt-custom .tt-custom__route-node .tt-custom__icon { width: 48px; height: 48px; border-radius: 14px; }
	.tt-inner.tt-custom :is(.tt-custom__comparison, .tt-custom__case-grid) { grid-template-columns: minmax(0, 1fr); gap: 16px; }
	.tt-inner.tt-custom .tt-custom__section-head { margin-bottom: 28px; }
	.tt-inner.tt-custom .tt-custom__actions { flex-direction: column; align-items: stretch; }
	.tt-inner.tt-custom .tt-custom__actions .wp-block-button { width: 100%; }
	.tt-inner.tt-custom .wp-block-button__link { width: 100%; }
}
