/* =========================================================
   たねラボ main.css
   色・文字の基本は :root の変数で管理しています。
   ========================================================= */

:root {
	--tl-accent: #2F7A4D;        /* カスタマイザーで上書きされます */
	--tl-ink: #1E2B23;
	--tl-ink-sub: #4A574F;
	--tl-ink-mute: #56635B;
	--tl-ground: #F7F8F2;
	--tl-surface: #FFFFFF;
	--tl-line: #DDE3D8;
	--tl-line-soft: #EEF0EA;

	--tl-leaf: #5FA772;
	--tl-leaf-tint: #E6F0E6;
	--tl-leaf-ink: #2F5A3A;
	--tl-sun: #F3C34B;
	--tl-sun-tint: #FDF3D3;
	--tl-sun-ink: #6B5310;
	--tl-sky: #6A9BAE;
	--tl-sky-tint: #E3EEF2;
	--tl-sky-ink: #2C4F5C;

	--tl-font-display: "Zen Maru Gothic", "Hiragino Maru Gothic ProN", sans-serif;
	--tl-font-body: "Noto Sans JP", "Hiragino Sans", "Yu Gothic", sans-serif;
	--tl-radius: 20px;
}

/* ---------- ベース ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
	margin: 0;
	background: var(--tl-ground);
	color: var(--tl-ink);
	font-family: var(--tl-font-body);
	font-size: 16px;
	line-height: 1.85;
	-webkit-text-size-adjust: 100%;
}
img { max-width: 100%; height: auto; }
a { color: var(--tl-accent); }
a:hover { color: var(--tl-ink); }
h1, h2, h3 { line-height: 1.45; }

.screen-reader-text {
	position: absolute !important; width: 1px; height: 1px; overflow: hidden;
	clip: rect(1px, 1px, 1px, 1px); white-space: nowrap;
}
.tl-skip {
	position: absolute; left: 8px; top: -60px; z-index: 100;
	padding: 8px 16px; border-radius: 8px; background: var(--tl-ink); color: #fff;
}
.tl-skip:focus { top: 8px; }
:focus-visible { outline: 3px solid var(--tl-sun); outline-offset: 2px; }

.tl-container { max-width: 1120px; margin: 0 auto; padding-left: 24px; padding-right: 24px; }

.tl-placeholder {
	display: flex; align-items: center; justify-content: center; text-align: center;
	background: var(--tl-leaf-tint); color: var(--tl-leaf-ink); font-size: 14px; padding: 16px;
}

/* ---------- ボタン・リンク・ラベル ---------- */
.tl-btn {
	display: inline-flex; align-items: center; justify-content: center;
	min-height: 52px; padding: 0 28px; border-radius: 26px;
	background: var(--tl-accent); color: #fff; font-weight: 700; text-decoration: none;
	border: 1.5px solid var(--tl-accent);
}
.tl-btn:hover { color: #fff; filter: brightness(0.92); }
.tl-btn--ghost { background: var(--tl-surface); color: var(--tl-ink); border-color: #C9D2C4; font-weight: 500; }
.tl-btn--ghost:hover { color: var(--tl-ink); background: var(--tl-ground); filter: none; }
.tl-link { font-weight: 700; color: var(--tl-accent); }

.tl-tag, .tl-pill {
	display: inline-block; padding: 2px 12px; border-radius: 12px;
	font-size: 12px; font-weight: 700; line-height: 1.8; text-decoration: none;
}
.tl-tag--sun { background: var(--tl-sun-tint); color: var(--tl-sun-ink); }
.tl-tag--leaf { background: var(--tl-leaf-tint); color: var(--tl-leaf-ink); }
.tl-tag--sky { background: var(--tl-sky-tint); color: var(--tl-sky-ink); }
.tl-pill { background: #EEF0EA; color: var(--tl-ink-mute); }
.tl-pill--accent { background: var(--tl-accent); color: #fff; }

/* ---------- キャラクターアイコン ---------- */
.tl-avatar {
	flex: none; display: inline-flex; align-items: center; justify-content: center;
	border-radius: 50%; border: 2px solid; overflow: hidden;
	font-size: 12px; font-weight: 700; line-height: 1.25; text-align: center;
}
.tl-avatar img { width: 100%; height: 100%; object-fit: cover; }
.tl-avatar--pipi { background: var(--tl-sun-tint); border-color: var(--tl-sun); color: var(--tl-sun-ink); }
.tl-avatar--tane { background: var(--tl-leaf-tint); border-color: var(--tl-leaf); color: var(--tl-leaf-ink); }
.tl-avatar--nonnon { background: var(--tl-sky-tint); border-color: var(--tl-sky); color: var(--tl-sky-ink); font-size: 10px; }

/* ---------- ヘッダー ---------- */
.tl-header { background: var(--tl-surface); border-bottom: 1px solid var(--tl-line); }
.tl-header__inner {
	display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
	gap: 12px 24px; padding-top: 14px; padding-bottom: 14px;
}
.tl-logo { display: flex; align-items: center; gap: 10px; color: var(--tl-ink); text-decoration: none; }
.tl-logo:hover { color: var(--tl-ink); }
.tl-logo__name { font-family: var(--tl-font-display); font-weight: 700; font-size: 24px; letter-spacing: 0.04em; }
.tl-nav { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 24px; }
.tl-nav__list { display: flex; flex-wrap: wrap; gap: 4px 24px; margin: 0; padding: 0; list-style: none; font-size: 15px; font-weight: 500; }
.tl-nav__list a { color: var(--tl-ink); text-decoration: none; }
.tl-nav__list a:hover { color: var(--tl-accent); }
.tl-nav__soon { color: #6E7A72; }

.tl-search { position: relative; }
.tl-search > summary {
	list-style: none; cursor: pointer; display: inline-flex; align-items: center;
	min-height: 44px; padding: 0 18px; border-radius: 22px;
	border: 1px solid #C9D2C4; background: var(--tl-surface); font-size: 15px;
}
.tl-search > summary::-webkit-details-marker { display: none; }
.tl-search__panel {
	position: absolute; right: 0; top: calc(100% + 8px); z-index: 20; width: min(360px, 90vw);
	padding: 12px; border-radius: 16px; background: var(--tl-surface);
	border: 1px solid var(--tl-line); box-shadow: 0 8px 24px rgba(30, 43, 35, 0.08);
}
.tl-searchform { display: flex; gap: 8px; }
.tl-searchform input[type="search"] {
	flex: 1; min-width: 0; min-height: 44px; padding: 0 14px;
	border: 1px solid #C9D2C4; border-radius: 12px; font: inherit;
}
.tl-searchform button {
	min-height: 44px; padding: 0 16px; border: 0; border-radius: 12px;
	background: var(--tl-accent); color: #fff; font: inherit; font-weight: 700; cursor: pointer;
}

/* ---------- トップ:共通 ---------- */
.tl-section { padding-top: 56px; padding-bottom: 56px; }
.tl-section--tight { padding-top: 0; }
.tl-band { padding: 56px 0; }
.tl-band--white { background: var(--tl-surface); border-top: 1px solid var(--tl-line); border-bottom: 1px solid var(--tl-line); }
.tl-band--leaf { background: var(--tl-leaf-tint); }
.tl-section-title { margin: 0 0 8px; font-family: var(--tl-font-display); font-size: clamp(24px, 3vw, 30px); }
.tl-section-lead { margin: 0 0 28px; color: var(--tl-ink-sub); }
.tl-section-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px; margin-bottom: 24px; }
.tl-section-head .tl-section-title { margin: 0; }
.tl-eyebrow { margin: 0 0 12px; font-size: 14px; font-weight: 700; color: var(--tl-accent); letter-spacing: 0.08em; }

/* ヒーロー */
.tl-hero { display: flex; flex-wrap: wrap; align-items: center; gap: 48px; padding-top: 64px; padding-bottom: 56px; }
.tl-hero__text { flex: 1 1 460px; min-width: 0; }
.tl-hero__title { margin: 0 0 20px; font-family: var(--tl-font-display); font-weight: 700; font-size: clamp(30px, 4.4vw, 44px); line-height: 1.4; }
.tl-hero__lead { margin: 0 0 32px; font-size: 17px; color: var(--tl-ink-sub); max-width: 520px; }
.tl-hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.tl-hero__visual { flex: 1 1 340px; min-height: 320px; border-radius: 28px; object-fit: cover; }
div.tl-hero__visual { border: 2px dashed #A9C7AE; }

/* 月齢 */
.tl-age-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 16px; }
.tl-age-card {
	display: block; padding: 20px; border-radius: 18px; background: var(--tl-ground);
	border: 1px solid var(--tl-line); color: var(--tl-ink); text-decoration: none;
	transition: border-color .15s, transform .15s;
}
.tl-age-card:hover { border-color: var(--tl-accent); transform: translateY(-2px); color: var(--tl-ink); }
.tl-age-card__age { display: block; font-family: var(--tl-font-display); font-weight: 700; font-size: 24px; color: var(--tl-accent); }
.tl-age-card__desc { display: block; font-size: 14px; color: var(--tl-ink-sub); }

/* テーマ */
.tl-theme-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; }
.tl-theme-card {
	padding: 28px; border-radius: 22px; background: var(--tl-surface); border: 1px solid var(--tl-line);
	display: flex; flex-direction: column; align-items: flex-start; gap: 12px;
}
.tl-theme-card__title { margin: 0; font-family: var(--tl-font-display); font-size: 22px; }
.tl-theme-card__desc { margin: 0; color: var(--tl-ink-sub); font-size: 15px; flex: 1; }

/* 記事カード */
.tl-card-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 24px; }
.tl-card-grid--2 { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }
.tl-card {
	display: flex; flex-direction: column; border-radius: 20px; overflow: hidden;
	background: var(--tl-surface); border: 1px solid var(--tl-line); color: var(--tl-ink); text-decoration: none;
	transition: border-color .15s, transform .15s;
}
.tl-card:hover { border-color: var(--tl-accent); transform: translateY(-2px); color: var(--tl-ink); }
.tl-card__img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.tl-card__body { padding: 18px 20px 22px; }
.tl-card__title { margin: 10px 0 6px; font-weight: 700; font-size: 17px; line-height: 1.6; }
.tl-card__date { margin: 0; font-size: 13px; color: #6A766E; }

/* 約束 */
.tl-promise-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; }
.tl-promise { padding: 24px; border-radius: 20px; background: var(--tl-surface); }
.tl-promise p { margin: 0; font-size: 15px; color: var(--tl-ink-sub); }
.tl-promise .tl-promise__num { margin: 0 0 4px; font-family: var(--tl-font-display); font-weight: 700; font-size: 28px; color: var(--tl-accent); }
.tl-promise__title { margin: 0 0 8px; font-size: 19px; }
.tl-promise__more { margin: 24px 0 0; }

/* 年齢帯 */
.tl-stage-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; margin-top: 24px; }
.tl-stage {
	display: block; padding: 22px 24px; border-radius: 20px; background: var(--tl-surface);
	border: 1px dashed #B7C2B2; color: var(--tl-ink-sub); text-decoration: none;
}
.tl-stage--open { border: 2px solid var(--tl-accent); color: var(--tl-ink); }
.tl-stage--open:hover { color: var(--tl-ink); background: var(--tl-ground); }
.tl-stage__age { display: block; margin-top: 10px; font-family: var(--tl-font-display); font-weight: 700; font-size: 24px; color: var(--tl-ink); }
.tl-stage__desc { display: block; font-size: 14px; }

/* ---------- 記事・一覧の枠組み ---------- */
.tl-page { padding-top: 20px; padding-bottom: 64px; }
.tl-page--narrow { max-width: 820px; }
.tl-breadcrumb { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 24px; font-size: 13px; color: var(--tl-ink-mute); }
.tl-breadcrumb a { color: var(--tl-ink-mute); }
.tl-layout { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 40px; }
.tl-layout > .tl-article, .tl-layout > .tl-archive { flex: 999 1 560px; min-width: 0; }
.tl-sidebar { flex: 1 1 260px; min-width: 0; display: flex; flex-direction: column; gap: 20px; }

.tl-article {
	background: var(--tl-surface); border: 1px solid var(--tl-line); border-radius: 24px;
	padding: 40px clamp(20px, 5vw, 56px);
}
.tl-ad-note { display: inline-block; margin: 0 0 16px; padding: 4px 14px; border-radius: 14px; background: #EEF0EA; color: var(--tl-ink-sub); font-size: 12px; }
.tl-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 12px; }
.tl-article__title { margin: 0 0 12px; font-family: var(--tl-font-display); font-weight: 700; font-size: clamp(26px, 3.4vw, 34px); line-height: 1.5; }
.tl-article__meta { margin: 0 0 28px; font-size: 13px; color: var(--tl-ink-mute); }
.tl-article__eyecatch { display: block; width: 100%; border-radius: 18px; margin-bottom: 32px; }

/* 本文 */
.tl-content > *:first-child { margin-top: 0; }
.tl-content p, .tl-content ul, .tl-content ol { margin: 0 0 1.4em; }
.tl-content h2 {
	margin: 2.4em 0 0.8em; padding-bottom: 8px; border-bottom: 3px solid var(--tl-accent);
	font-family: var(--tl-font-display); font-size: clamp(22px, 2.6vw, 26px);
	scroll-margin-top: 16px;
}
.tl-content h3 { margin: 2em 0 0.6em; padding-left: 12px; border-left: 4px solid var(--tl-leaf); font-size: 20px; }
.tl-content img { border-radius: 12px; }
.tl-content table { width: 100%; border-collapse: collapse; margin: 0 0 1.4em; font-size: 15px; }
.tl-content th, .tl-content td { padding: 10px 12px; border: 1px solid var(--tl-line); text-align: left; }
.tl-content th { background: var(--tl-ground); }

/* 部品:まとめ */
.tl-summary { background: var(--tl-leaf-tint); border-radius: 18px; padding: 24px 28px; margin: 0 0 32px; }
.tl-summary__title { margin: 0 0 8px !important; font-weight: 700; font-size: 18px; }
.tl-summary ul { margin: 0 !important; padding-left: 1.2em; }

/* 部品:目次 */
.tl-toc { border: 1px solid var(--tl-line); border-radius: 18px; padding: 20px 28px; margin: 0 0 40px; }
.tl-toc__title { margin: 0 0 6px !important; font-weight: 700; }
.tl-toc ol { margin: 0 !important; padding-left: 1.4em; font-size: 15px; }
.tl-toc a { color: var(--tl-ink); }
.tl-toc a:hover { color: var(--tl-accent); }

/* 部品:吹き出し */
.tl-bubble { display: flex; gap: 14px; align-items: flex-start; margin: 0 0 32px; }
.tl-bubble__text { flex: 1; border-radius: 4px 18px 18px 18px; padding: 14px 18px; font-size: 15px; background: var(--tl-sun-tint); }
.tl-bubble__text > *:last-child { margin-bottom: 0; }
.tl-bubble--tane .tl-bubble__text { background: var(--tl-leaf-tint); }
.tl-bubble--nonnon .tl-bubble__text { background: var(--tl-sky-tint); }

/* 部品:ステップ */
.tl-content .tl-steps { list-style: none; margin: 0 0 40px; padding: 0; display: grid; gap: 14px; counter-reset: tl-step; }
.tl-step { display: flex; gap: 16px; padding: 18px 20px; border-radius: 16px; background: var(--tl-ground); counter-increment: tl-step; }
.tl-step::before {
	content: counter(tl-step); flex: none; width: 36px; height: 36px; border-radius: 50%;
	background: var(--tl-accent); color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 700;
}
.tl-step__title { display: block; }
.tl-step__text { font-size: 15px; color: var(--tl-ink-sub); }

/* 部品:相談先 */
.tl-consult { border: 2px solid var(--tl-sky); background: #EEF5F8; border-radius: 18px; padding: 24px 28px; margin: 0 0 40px; }
.tl-content .tl-consult__title { margin: 0 0 8px; padding: 0; border: 0; font-size: 22px; }
.tl-consult p, .tl-consult ul { font-size: 15px; }
.tl-consult > *:last-child { margin-bottom: 0; }

/* 部品:商品 */
.tl-products { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; margin: 0 0 40px; }
.tl-product { border: 1px solid var(--tl-line); border-radius: 18px; padding: 18px; display: flex; gap: 16px; }
.tl-product__img { flex: 0 0 96px; width: 96px; height: 120px; border-radius: 10px; object-fit: contain; background: var(--tl-sky-tint); }
div.tl-product__img { color: var(--tl-sky-ink); font-size: 12px; padding: 8px; }
.tl-product__body { min-width: 0; }
.tl-content .tl-product__title { margin: 0; font-weight: 700; }
.tl-content .tl-product__meta { margin: 0 0 6px; font-size: 13px; color: var(--tl-ink-mute); }
.tl-content .tl-product__reason { margin: 0 0 12px; font-size: 13px; color: var(--tl-ink-sub); }
.tl-product__buttons { display: flex; flex-wrap: wrap; gap: 8px; }
.tl-btn-shop {
	display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border-radius: 22px;
	font-size: 14px; font-weight: 700; text-decoration: none;
}
.tl-btn-shop--amazon { background: #E9A53B; color: var(--tl-ink); }
.tl-btn-shop--amazon:hover { color: var(--tl-ink); filter: brightness(0.95); }
.tl-btn-shop--rakuten { background: #B8302A; color: #fff; }
.tl-btn-shop--rakuten:hover { color: #fff; filter: brightness(0.92); }

/* 部品:引用番号・参考文献 */
.tl-cite a { text-decoration: none; font-weight: 700; }
.tl-refs { border-top: 1px solid var(--tl-line); padding-top: 24px; margin: 0 0 32px; }
.tl-content .tl-refs__title { margin: 0 0 12px; padding: 0; border: 0; font-family: var(--tl-font-body); font-size: 20px; }
.tl-refs ol { padding-left: 1.4em; font-size: 14px; color: var(--tl-ink-sub); }
.tl-refs li:target { background: var(--tl-sun-tint); }

/* 執筆者 */
.tl-writer { display: flex; gap: 16px; align-items: center; padding: 20px 24px; border-radius: 18px; background: var(--tl-ground); margin-top: 32px; }
.tl-writer p { margin: 0; }
.tl-writer__name { font-weight: 700; }
.tl-writer__text { font-size: 14px; color: var(--tl-ink-sub); }

/* サイドバー */
.tl-side-box { background: var(--tl-surface); border: 1px solid var(--tl-line); border-radius: 20px; padding: 20px 22px; }
.tl-side-box--leaf { background: var(--tl-leaf-tint); border-color: transparent; }
.tl-side-box__title { margin: 0 0 8px; font-family: var(--tl-font-display); font-weight: 700; font-size: 18px; }
.tl-side-box__text { margin: 0 0 10px; font-size: 14px; color: var(--tl-leaf-ink); }
.tl-side-list { list-style: none; margin: 0; padding: 0; font-size: 15px; }
.tl-side-list li + li { border-top: 1px solid var(--tl-line-soft); }
.tl-side-list a { display: block; padding: 10px 0; color: var(--tl-ink); text-decoration: none; }
.tl-side-list a:hover, .tl-side-list a.is-current { color: var(--tl-accent); font-weight: 700; }
.tl-side-related { list-style: none; margin: 0; padding: 0; font-size: 15px; line-height: 1.6; }
.tl-side-related li { padding: 8px 0; }

/* 一覧 */
.tl-archive__head { margin-bottom: 28px; }
.tl-archive__title { margin: 0 0 8px; font-family: var(--tl-font-display); font-size: clamp(26px, 3.4vw, 32px); }
.tl-archive__desc { color: var(--tl-ink-sub); }
.tl-archive__desc p { margin: 0; }
.nav-links { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 32px; }
.nav-links .page-numbers {
	display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px;
	padding: 0 12px; border-radius: 22px; background: var(--tl-surface); border: 1px solid var(--tl-line);
	color: var(--tl-ink); text-decoration: none;
}
.nav-links .page-numbers.current { background: var(--tl-accent); border-color: var(--tl-accent); color: #fff; }

/* 404 */
.tl-notfound { text-align: center; }
.tl-notfound .tl-avatar { margin: 0 auto 16px; }
.tl-notfound .tl-searchform { max-width: 420px; margin: 0 auto 24px; }

/* ---------- フッター ---------- */
.tl-footer { background: var(--tl-ink); color: #DCE6DA; }
.tl-footer__inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 24px; padding-top: 40px; padding-bottom: 40px; }
.tl-footer__name { margin: 0 0 8px; font-family: var(--tl-font-display); font-weight: 700; font-size: 22px; color: #fff; }
.tl-footer__note { margin: 0; font-size: 13px; }
.tl-footer__links { display: flex; flex-wrap: wrap; gap: 8px 24px; margin: 0; padding: 0; list-style: none; font-size: 14px; }
.tl-footer__links a { color: #DCE6DA; }
.tl-footer__links a:hover { color: #fff; }

/* ---------- 動きを減らす設定の人向け ---------- */
@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	.tl-card, .tl-age-card { transition: none; }
	.tl-card:hover, .tl-age-card:hover { transform: none; }
}

/* ---------- 部品:要点カード ---------- */
.tl-points {
	display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 12px;
	margin: 0 0 32px; counter-reset: tl-point;
}
.tl-point {
	counter-increment: tl-point; padding: 18px 18px 16px; border-radius: 16px;
	background: var(--tl-ground); border: 1px solid var(--tl-line);
}
.tl-point::before {
	content: counter(tl-point); display: inline-flex; align-items: center; justify-content: center;
	width: 28px; height: 28px; border-radius: 50%; margin-bottom: 8px;
	background: var(--tl-accent); color: #fff; font-weight: 700; font-size: 14px;
}
.tl-content .tl-point__title { margin: 0 0 4px; font-weight: 700; font-size: 16px; line-height: 1.5; }
.tl-point__text { font-size: 14px; line-height: 1.7; color: var(--tl-ink-sub); }
.tl-point__text > *:last-child { margin-bottom: 0; }
.tl-content .tl-point__text p { margin: 0; }

/* ---------- 部品:月齢タイムライン ---------- */
.tl-content .tl-stages { list-style: none; margin: 0 0 40px; padding: 0; position: relative; }
.tl-stages::before {
	content: ""; position: absolute; left: 11px; top: 12px; bottom: 12px; width: 2px;
	background: var(--tl-line); border-radius: 1px;
}
.tl-stage-item { position: relative; padding: 0 0 20px 40px; }
.tl-stage-item:last-child { padding-bottom: 0; }
.tl-stage-item::before {
	content: ""; position: absolute; left: 3px; top: 6px; width: 18px; height: 18px; border-radius: 50%;
	background: var(--tl-surface); border: 3px solid var(--tl-sun);
}
.tl-stage-item:nth-child(3n+2)::before { border-color: var(--tl-leaf); }
.tl-stage-item:nth-child(3n)::before { border-color: var(--tl-sky); }
.tl-content .tl-stage-item__age {
	display: inline-block; margin: 0 0 4px; padding: 2px 12px; border-radius: 12px;
	background: var(--tl-sun-tint); color: var(--tl-sun-ink); font-size: 14px; font-weight: 700; line-height: 1.7;
}
.tl-stage-item:nth-child(3n+2) .tl-stage-item__age { background: var(--tl-leaf-tint); color: var(--tl-leaf-ink); }
.tl-stage-item:nth-child(3n) .tl-stage-item__age { background: var(--tl-sky-tint); color: var(--tl-sky-ink); }
.tl-content .tl-stage-item__title { margin: 0 0 6px; font-family: var(--tl-font-display); font-weight: 700; font-size: 18px; line-height: 1.5; }
.tl-stage-item__body { font-size: 15px; line-height: 1.75; }
.tl-content .tl-stage-item__body ul { margin: 0 0 10px; padding-left: 1.2em; }
.tl-content .tl-stage-item__body li + li { margin-top: 2px; }
.tl-content .tl-stage-item__try {
	margin: 0; padding: 10px 14px; border-radius: 12px; background: var(--tl-ground);
	font-size: 14px; line-height: 1.7;
}
.tl-stage-item__try-label {
	display: inline-block; margin-right: 8px; padding: 0 8px; border-radius: 8px;
	background: var(--tl-accent); color: #fff; font-size: 12px; font-weight: 700;
}

/* 表はスマホで横にスクロールできるように */
.tl-content .wp-block-table { margin: 0 0 1.4em; overflow-x: auto; -webkit-overflow-scrolling: touch; }
.tl-content .wp-block-table table { margin: 0; min-width: 480px; }

/* ---------- スマホ(640px以下) ---------- */
@media (max-width: 640px) {
	body { line-height: 1.8; }
	.tl-container { padding-left: 16px; padding-right: 16px; }

	/* ヘッダー:1行目にロゴと検索、2行目にメニューを横スクロールで */
	.tl-header__inner { padding-top: 10px; padding-bottom: 6px; gap: 6px; }
	.tl-logo__name { font-size: 20px; }
	.tl-logo__mark { width: 30px; height: 30px; }
	.tl-nav { width: 100%; flex-wrap: nowrap; gap: 8px; }
	.tl-nav__list {
		flex-wrap: nowrap; overflow-x: auto; gap: 18px; font-size: 14px; flex: 1; min-width: 0;
		white-space: nowrap; padding: 6px 0;
	}
	.tl-nav__soon { display: none; }
	.tl-nav__list li:has(.tl-nav__soon) { display: none; }
	.tl-search > summary { min-height: 40px; padding: 0 14px; font-size: 13px; }

	/* 記事 */
	.tl-page { padding-top: 12px; padding-bottom: 40px; }
	.tl-breadcrumb { margin-bottom: 12px; font-size: 12px; }
	.tl-breadcrumb span[aria-current] { display: none; }
	.tl-layout { gap: 24px; }
	.tl-article { padding: 24px 16px; border-radius: 16px; border: 0; }
	.tl-article__title { font-size: 23px; line-height: 1.45; }
	.tl-article__meta { margin-bottom: 20px; }
	.tl-article__eyecatch { border-radius: 12px; margin-bottom: 24px; }
	.tl-content h2 { font-size: 21px; margin-top: 2em; }
	.tl-content h3 { font-size: 18px; }
	.tl-summary, .tl-toc, .tl-consult { padding: 18px 16px; border-radius: 14px; }
	.tl-toc { margin-bottom: 28px; }
	.tl-bubble__text { font-size: 14px; }
	.tl-step { padding: 14px 14px; gap: 12px; }
	.tl-points { grid-template-columns: 1fr; gap: 10px; }
	.tl-point { display: grid; grid-template-columns: 28px 1fr; column-gap: 12px; padding: 14px; }
	.tl-point::before { grid-row: span 2; margin: 0; }
	.tl-products { grid-template-columns: 1fr; }
	.tl-writer { padding: 16px; align-items: flex-start; }

	/* トップ */
	.tl-hero { padding-top: 32px; padding-bottom: 32px; gap: 24px; }
	.tl-hero__lead { font-size: 15px; margin-bottom: 20px; }
	.tl-hero__visual { min-height: 200px; border-radius: 20px; }
	.tl-band, .tl-section { padding-top: 40px; padding-bottom: 40px; }
	.tl-section--tight { padding-top: 0; }
	.tl-age-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
	.tl-age-card { padding: 14px; }
	.tl-age-card__age { font-size: 20px; }
}

/* ---------- 読みやすさの調整 ---------- */
/* 見出しは文節で改行する(対応ブラウザのみ) */
.tl-article__title, .tl-content h2, .tl-content h3, .tl-hero__title,
.tl-stage-item__title, .tl-step__title, .tl-point__title, .tl-card__title {
	word-break: auto-phrase;
}
.tl-content .tl-stage-item__body ul { list-style: disc; }
/* 参考文献 */
.tl-content .tl-refs__list { list-style: none; padding: 0; margin: 0; }
.tl-ref {
	display: flex; gap: 10px; padding: 10px 12px; margin: 0 0 6px; border-radius: 12px;
	scroll-margin-top: 16px; transition: background-color .3s;
}
.tl-ref:target, .tl-ref.is-highlight { background: var(--tl-sun-tint); }
.tl-ref__num { flex: none; font-weight: 700; color: var(--tl-accent); }
.tl-ref__body { min-width: 0; overflow-wrap: anywhere; }
.tl-ref__text { display: block; }
.tl-ref__actions { display: flex; flex-wrap: wrap; gap: 6px 12px; align-items: center; margin-top: 4px; }
.tl-ref__copy {
	min-height: 32px; padding: 0 12px; border-radius: 16px; border: 1px solid var(--tl-line);
	background: var(--tl-surface); color: var(--tl-ink-sub); font: inherit; font-size: 12px; cursor: pointer;
}
.tl-ref__copy:hover { border-color: var(--tl-accent); color: var(--tl-accent); }
.tl-ref__copy.is-done { background: var(--tl-accent); border-color: var(--tl-accent); color: #fff; }
.tl-ref__back { font-size: 12px; }
.tl-cite { scroll-margin-top: 80px; }
.tl-cite a { padding: 0 1px; }
