@charset "UTF-8";
/*! 退職リリーフ テーマ v3.13.0 — デザインA */
/* ============================================================
   退職リリーフ サブページ（お知らせ・記事・アライアンス）用CSS
   front-page.css（デザイン共通部分）と併せて読み込まれます。
   ============================================================ */

/* ---- ページ共通レイアウト ---- */
.trhp-page { padding: calc(var(--header-h) + 48px) 24px 88px; }
.trhp-page__in { max-width: 1080px; margin: 0 auto; }
.trhp-page__in--narrow { max-width: 760px; }
.trhp-page .trhp-heading { margin-bottom: 24px; }
.trhp-page__lead { text-align: center; margin-bottom: 40px; }
.trhp-page__empty { text-align: center; color: #5c6b66; padding: 48px 0; }

/* ---- ゴーストボタン ---- */
.trhp-btn--ghost {
	background: #fff; color: var(--c-deep);
	border: 1.5px solid var(--c-green);
}
.trhp-btn--ghost:hover { opacity: 1; background: rgba(54, 153, 110, 0.08); transform: translateY(-2px); }

/* ---- パンくず ---- */
.trhp-breadcrumb { margin-bottom: 28px; font-size: 0.82rem; }
.trhp-breadcrumb ol { display: flex; flex-wrap: wrap; list-style: none; }
.trhp-breadcrumb li { display: flex; align-items: center; color: #5c6b66; }
.trhp-breadcrumb li + li::before { content: "›"; margin: 0 0.7em; color: rgba(27, 108, 104, 0.4); }
.trhp-breadcrumb a { color: var(--c-green); text-decoration: none; }
.trhp-breadcrumb a:hover { text-decoration: underline; }

/* ---- お知らせカード ---- */
.trhp-news-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-bottom: 48px; }
.trhp-news-list--front { margin-bottom: 36px; }
.trhp-card {
	display: flex; flex-direction: column; text-decoration: none; color: var(--c-ink);
	background: #fff; border-radius: var(--radius); overflow: hidden;
	box-shadow: none; border: 1px solid var(--c-rule, #e5ebe8);
	transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.trhp-card:hover { opacity: 1; transform: translateY(-4px); box-shadow: 0 14px 36px rgba(27, 108, 104, 0.16); }
.trhp-card__thumb { aspect-ratio: 16 / 9; background: var(--c-tint); overflow: hidden; }
.trhp-card__thumb img { width: 100%; height: 100%; object-fit: cover; }
.trhp-card__noimg {
	display: flex; align-items: center; justify-content: center; height: 100%;
	font-family: var(--font-serif); font-weight: 700; color: var(--c-green); font-size: 1.1rem;
	letter-spacing: 0.1em;
}
.trhp-card__body { padding: 18px 20px 22px; display: grid; gap: 8px; }
.trhp-card__date { font-size: 0.8rem; color: var(--c-green); font-weight: 700; }
.trhp-card__title { font-size: 1rem; font-weight: 700; line-height: 1.6; color: var(--c-deep); }
.trhp-card:hover .trhp-card__title { text-decoration: underline; text-underline-offset: 3px; }
.trhp-card__excerpt { font-size: 0.86rem; color: #5c6b66; line-height: 1.7; }
.trhp-news-more { margin-top: 8px; }

/* ---- ページネーション（WP標準の出力に対応） ---- */
.trhp-page .pagination,
.trhp-page .navigation { text-align: center; }
.trhp-page .nav-links { display: flex; justify-content: center; gap: 8px; flex-wrap: wrap; }
.trhp-page .page-numbers {
	display: inline-flex; align-items: center; justify-content: center;
	min-width: 42px; height: 42px; padding: 0 12px; border-radius: 10px;
	background: #fff; border: 1px solid rgba(27, 108, 104, 0.2);
	color: var(--c-deep); text-decoration: none; font-weight: 700; font-size: 0.9rem;
}
.trhp-page .page-numbers.current { background: var(--c-green); border-color: var(--c-green); color: #fff; }
.trhp-page .page-numbers.dots { border: none; background: none; }
.trhp-page a.page-numbers:hover { background: rgba(54, 153, 110, 0.1); opacity: 1; }
.trhp-page .screen-reader-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* ---- 記事ページ ---- */
.trhp-article__head { margin-bottom: 28px; }
.trhp-article__date { font-size: 0.85rem; color: var(--c-green); font-weight: 700; margin-right: 12px; }
.trhp-article__cat {
	display: inline-block; font-size: 0.78rem; font-weight: 700; color: var(--c-deep);
	background: rgba(54, 153, 110, 0.12); border-radius: 6px; padding: 0.2em 0.8em;
}
.trhp-article__title {
	font-family: var(--font-serif); font-weight: 700; color: var(--c-deep);
	font-size: clamp(1.4rem, 2.8vw, 1.9rem); line-height: 1.6; margin-top: 12px;
}
.trhp-article__eyecatch { margin-bottom: 32px; }
.trhp-article__eyecatch img { border-radius: var(--radius); width: 100%; }
.trhp-article__eyecatch--logo { background: var(--c-tint); border-radius: var(--radius); padding: 32px; }
.trhp-article__eyecatch--logo img { max-width: 320px; margin: 0 auto; border-radius: 0; }

/* 記事本文（ブロックエディタの出力に対応） */
.trhp-article__body { font-size: 1rem; }
.trhp-article__body > * + * { margin-top: 1.4em; }
.trhp-article__body h2 {
	font-family: var(--font-serif); font-weight: 700; color: var(--c-deep);
	font-size: 1.35rem; line-height: 1.6; margin-top: 2.2em;
	padding-left: 0.7em; border-left: 4px solid var(--c-green);
}
.trhp-article__body h3 {
	font-family: var(--font-serif); font-weight: 700; color: var(--c-deep);
	font-size: 1.15rem; margin-top: 1.8em;
	padding-bottom: 0.3em; border-bottom: 2px solid rgba(54, 153, 110, 0.3);
}
.trhp-article__body h4 { font-weight: 700; color: var(--c-deep); font-size: 1.02rem; margin-top: 1.6em; }
.trhp-article__body a { color: var(--c-green); }
.trhp-article__body ul, .trhp-article__body ol { padding-left: 1.6em; }
.trhp-article__body ul { list-style: disc; }
.trhp-article__body ol { list-style: decimal; }
.trhp-article__body li + li { margin-top: 0.4em; }
.trhp-article__body blockquote {
	background: var(--c-tint); border-left: 4px solid var(--c-green);
	border-radius: 0 10px 10px 0; padding: 1em 1.4em; color: #45544f;
}
.trhp-article__body img { border-radius: 10px; }
.trhp-article__body table { width: 100%; border-collapse: collapse; font-size: 0.95rem; }
.trhp-article__body th, .trhp-article__body td { border: 1px solid rgba(27, 108, 104, 0.2); padding: 0.7em 1em; }
.trhp-article__body th { background: rgba(54, 153, 110, 0.08); color: var(--c-deep); }
.trhp-article__body .wp-block-button__link { border-radius: 999px; }

/* 記事内CTA */
.trhp-article__cta {
	margin-top: 56px; text-align: center;
	background: var(--c-tint); border-radius: var(--radius); padding: 36px 24px;
}
.trhp-article__cta-lead { font-weight: 700; color: var(--c-deep); margin-bottom: 20px; }

/* 前後の記事 */
.trhp-article__nav {
	display: flex; justify-content: space-between; gap: 16px;
	margin: 40px 0 32px; font-size: 0.9rem;
}
.trhp-article__nav a { color: var(--c-deep); text-decoration: none; }
.trhp-article__nav a:hover { text-decoration: underline; }
.trhp-article__nav-next { text-align: right; margin-left: auto; }

/* ---- アライアンス ---- */
.trhp-alliance-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; margin-bottom: 48px; }
.trhp-partner {
	display: flex; align-items: center; gap: 20px; text-decoration: none; color: var(--c-ink);
	background: #fff; border-radius: var(--radius); padding: 22px 24px;
	box-shadow: none; border: 1px solid var(--c-rule, #e5ebe8);
	transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.trhp-partner:hover { opacity: 1; transform: translateY(-4px); box-shadow: 0 14px 36px rgba(27, 108, 104, 0.16); }
.trhp-partner__logo {
	flex: none; width: 88px; height: 88px; border-radius: 12px; overflow: hidden;
	background: var(--c-tint); display: flex; align-items: center; justify-content: center;
}
.trhp-partner__logo img { width: 100%; height: 100%; object-fit: contain; padding: 8px; }
.trhp-partner__noimg {
	font-family: var(--font-serif); font-weight: 700; font-size: 1.6rem; color: var(--c-green);
}
.trhp-partner__name { font-size: 1.05rem; font-weight: 700; color: var(--c-deep); margin-bottom: 6px; }
.trhp-partner:hover .trhp-partner__name { text-decoration: underline; text-underline-offset: 3px; }
.trhp-partner__desc { font-size: 0.86rem; color: #5c6b66; line-height: 1.7; }

/* ---- レスポンシブ ---- */
@media (max-width: 840px) {
	.trhp-page { padding: calc(var(--header-h) + 32px) 20px 64px; }
	.trhp-news-list { grid-template-columns: 1fr; gap: 18px; max-width: 480px; margin-left: auto; margin-right: auto; }
	.trhp-alliance-list { grid-template-columns: 1fr; }
	.trhp-article__nav { flex-direction: column; }
	.trhp-article__nav-next { text-align: left; margin-left: 0; }
}

/* ============================================================
   写真背景（ヒーロー・CTA）
   写真の内容に依存せず文字が読めるよう、オーバーレイを重ねています。
   ============================================================ */
.trhp-hero--photo {
	background:
		linear-gradient(100deg,
			rgba(253, 253, 252, 0.97) 0%,
			rgba(253, 253, 252, 0.92) 42%,
			rgba(253, 253, 252, 0.62) 100%),
		var(--trhp-hero-photo) center / cover no-repeat,
		var(--c-paper);
}
.trhp-cta--photo {
	background:
		linear-gradient(135deg,
			rgba(23, 92, 88, 0.94) 0%,
			rgba(46, 130, 94, 0.90) 100%),
		var(--trhp-cta-photo) center / cover no-repeat,
		var(--c-deep);
}
@media (max-width: 840px) {
	.trhp-hero--photo {
		background:
			linear-gradient(rgba(253, 253, 252, 0.94), rgba(253, 253, 252, 0.86)),
			var(--trhp-hero-photo) center / cover no-repeat,
			var(--c-paper);
	}
}

/* ---- 監修者ボックス ---- */
.trhp-supervisor { margin-top: 48px; border: 1px solid var(--c-rule, #e5ebe8); border-radius: 6px; overflow: hidden; }
.trhp-supervisor__label {
	background: rgba(54, 153, 110, 0.08); color: var(--c-deep);
	font-weight: 700; font-size: 0.82rem; letter-spacing: 0.1em; padding: 10px 20px;
	border-bottom: 1px solid var(--c-rule, #e5ebe8);
}
.trhp-supervisor__body { padding: 20px 22px; }
.trhp-supervisor__name { font-family: var(--font-serif); font-weight: 600; color: var(--c-deep); font-size: 1.05rem; margin-bottom: 8px; }
.trhp-supervisor__name span { font-family: var(--font-sans); font-size: 0.82rem; color: #5a6a65; font-weight: 500; }
.trhp-supervisor__bio { font-size: 0.86rem; color: #5a6a65; line-height: 1.9; margin-bottom: 10px; }
.trhp-supervisor__link { font-size: 0.84rem; font-weight: 700; }

/* ---- 監修イラスト（記事下・右側配置） ---- */
.trhp-supervisor__body { display: grid; grid-template-columns: 1fr 110px; gap: 20px; align-items: center; }
.trhp-supervisor__illust { width: 110px; height: auto; order: 2; }
.trhp-supervisor__text { order: 1; }
@media (max-width: 840px) {
	.trhp-supervisor__body { grid-template-columns: 1fr; }
	.trhp-supervisor__illust { width: 96px; margin: 0 auto; order: 1; }
	.trhp-supervisor__text { order: 2; }
}

/* ---- お知らせ系記事では目次を非表示（ブログでは表示） ---- */
body.trhp-no-toc .p-toc,
body.trhp-no-toc #toc,
body.trhp-no-toc .c-toc,
body.trhp-no-toc [class*="post_toc"],
body.trhp-no-toc .swell-toc {
	display: none !important;
}

/* ============================================================
   ブログ本文の装飾システム（v3.13.0）
   .trhp-article__body 内の標準ブロック+専用クラスを装飾します。
   ============================================================ */

/* SWELL側の目次は非表示(テーマ自前の目次を使用) */
body.single-post .p-toc { display: none !important; }

/* ---- 自動目次（2カラム・クリニック調） ---- */
.trhp-article__body .trhp-toc {
	max-width: 720px; margin: 44px auto;
	background: #fff; border: 1px solid var(--c-rule, #e5ebe8);
	border-radius: 6px; padding: 26px 34px 28px;
}
.trhp-article__body .trhp-toc__title {
	text-align: center; font-family: var(--font-serif); font-weight: 600;
	color: var(--c-deep); font-size: 1.02rem; letter-spacing: 0.35em; text-indent: 0.35em;
	margin: 0 0 6px; padding: 0; background: none; border: none;
}
.trhp-article__body .trhp-toc__title::after {
	content: ""; display: block; width: 34px; height: 2px;
	background: var(--c-green); margin: 10px auto 16px;
}
/* 目次内では本文用の疑似要素装飾を全面的に無効化 */
.trhp-article__body .trhp-toc li::before,
.trhp-article__body .trhp-toc li::after {
	content: none !important; display: none !important;
}
.trhp-article__body .trhp-toc ol,
.trhp-article__body .trhp-toc li {
	list-style: none; margin: 0; padding: 0;
}
.trhp-article__body .trhp-toc__list { columns: 2; column-gap: 40px; }
.trhp-article__body .trhp-toc__list > li {
	break-inside: avoid;
	padding: 8px 0; border-bottom: 1px dashed #dfe8e4;
}
.trhp-article__body .trhp-toc a {
	color: var(--c-ink); text-decoration: none; font-size: 0.92rem; line-height: 1.7;
	display: flex; align-items: baseline; gap: 10px;
}
.trhp-article__body .trhp-toc a:hover { color: var(--c-green); opacity: 1; }
.trhp-toc__no {
	flex: none; font-family: var(--font-serif); font-weight: 600;
	font-size: 0.85rem; color: var(--c-green); letter-spacing: 0.02em;
}
.trhp-toc__no--sub { color: rgba(54, 153, 110, 0.5); }
.trhp-article__body .trhp-toc__sub { padding-left: 24px; margin-top: 2px; }
.trhp-article__body .trhp-toc__sub li { padding: 3px 0; border-bottom: none; }
.trhp-article__body .trhp-toc__sub a { font-size: 0.85rem; color: #5a6a65; }
@media (max-width: 840px) {
	.trhp-article__body .trhp-toc { padding: 22px 22px 24px; }
	.trhp-article__body .trhp-toc__list { columns: 1; }
}

/* ---- 見出し ---- */
.trhp-article__body h2 {
	font-family: var(--font-serif); font-weight: 600; color: var(--c-deep);
	font-size: 1.4rem; line-height: 1.7; margin: 56px 0 24px; padding: 12px 18px;
	background: #f5faf7; border-left: 4px solid var(--c-green); border-radius: 0 4px 4px 0;
}
.trhp-article__body h3 {
	font-family: var(--font-serif); font-weight: 600; color: var(--c-deep);
	font-size: 1.15rem; line-height: 1.7; margin: 40px 0 18px; padding-bottom: 8px;
	border-bottom: 2px solid rgba(54, 153, 110, 0.35);
}
.trhp-article__body h2 + h3 { margin-top: 24px; }

/* ---- 表 ---- */
.trhp-article__body table { width: 100%; border-collapse: collapse; font-size: 0.94rem; margin: 24px 0; }
.trhp-article__body .wp-block-table { overflow-x: auto; }
.trhp-article__body th, .trhp-article__body td {
	border: 1px solid #dfe8e4; padding: 12px 14px; vertical-align: middle; text-align: left;
}
.trhp-article__body thead th { background: var(--c-deep); color: #fff; font-weight: 700; }
.trhp-article__body tbody tr:nth-child(even) { background: #f5faf7; }
.trhp-article__body tbody th { background: rgba(54, 153, 110, 0.08); color: var(--c-deep); font-weight: 700; }

/* ---- リスト ---- */
.trhp-article__body ul { list-style: none; padding: 0; margin: 20px 0; }
.trhp-article__body ul > li {
	position: relative; padding: 6px 0 6px 30px; line-height: 1.9;
}
.trhp-article__body ul > li::before {
	content: ""; position: absolute; left: 4px; top: 16px; width: 12px; height: 7px;
	border-left: 2.5px solid var(--c-green); border-bottom: 2.5px solid var(--c-green);
	transform: rotate(-45deg);
}
.trhp-article__body ol { list-style: none; padding: 0; margin: 20px 0; counter-reset: steps; }
.trhp-article__body ol > li {
	position: relative; counter-increment: steps;
	padding: 10px 0 10px 46px; line-height: 1.9;
}
.trhp-article__body ol > li::before {
	content: counter(steps); position: absolute; left: 0; top: 10px;
	width: 30px; height: 30px; border-radius: 50%;
	background: var(--c-green); color: #fff; font-weight: 700; font-size: 0.9rem;
	display: flex; align-items: center; justify-content: center;
}
.trhp-article__body ol > li:not(:last-child)::after {
	content: ""; position: absolute; left: 14px; top: 44px; bottom: -6px;
	width: 2px; background: rgba(54, 153, 110, 0.25);
}

/* ---- ボックス(POINT / 注意 / メモ) ---- */
.trhp-box {
	position: relative; border-radius: 6px; padding: 26px 26px 20px; margin: 28px 0;
	border: 1.5px solid; background: #fff;
}
.trhp-box::before {
	position: absolute; top: -12px; left: 18px;
	font-size: 0.74rem; font-weight: 700; letter-spacing: 0.15em;
	border-radius: 999px; padding: 0.25em 1.1em; color: #fff;
}
.trhp-box p:last-child, .trhp-box ul:last-child, .trhp-box ol:last-child { margin-bottom: 0; }
.trhp-box--point { border-color: rgba(54, 153, 110, 0.5); background: #f5faf7; }
.trhp-box--point::before { content: "POINT"; background: var(--c-green); }
.trhp-box--caution { border-color: rgba(217, 122, 50, 0.55); background: #fdf7f1; }
.trhp-box--caution::before { content: "注意"; background: #d97a32; }
.trhp-box--memo { border-color: #d5ddd9; background: #fafbfa; }
.trhp-box--memo::before { content: "メモ"; background: #8a9a93; }

/* ---- Q&A ---- */
.trhp-article__body .trhp-qa__q {
	position: relative; font-weight: 700; color: var(--c-deep);
	padding: 14px 16px 14px 52px; background: #f5faf7; border-radius: 6px 6px 0 0;
	margin: 28px 0 0; border: 1px solid var(--c-rule, #e5ebe8); border-bottom: none;
}
.trhp-article__body .trhp-qa__q::before {
	content: "Q"; position: absolute; left: 14px; top: 50%; transform: translateY(-50%);
	width: 26px; height: 26px; border-radius: 50%; background: var(--c-green); color: #fff;
	font-weight: 700; font-size: 0.85rem; display: flex; align-items: center; justify-content: center;
}
.trhp-article__body .trhp-qa__a {
	position: relative; padding: 14px 16px 16px 52px; margin: 0 0 8px;
	border: 1px solid var(--c-rule, #e5ebe8); border-top: none; border-radius: 0 0 6px 6px;
}
.trhp-article__body .trhp-qa__a::before {
	content: "A"; position: absolute; left: 14px; top: 14px;
	width: 26px; height: 26px; border-radius: 50%; background: #fff; color: var(--c-green);
	border: 2px solid var(--c-green); font-weight: 700; font-size: 0.85rem;
	display: flex; align-items: center; justify-content: center;
}

/* ---- マーカー・免責 ---- */
.trhp-article__body mark {
	background: linear-gradient(transparent 62%, rgba(54, 153, 110, 0.28) 62%);
	color: inherit; font-weight: 700; padding: 0 2px;
}
.trhp-article__body .trhp-disclaimer {
	font-size: 0.8rem; color: #7c8b86; background: #fafbfa;
	border: 1px solid #e8ece9; border-radius: 6px; padding: 16px 20px; margin-top: 36px;
}
@media (max-width: 840px) {
	.trhp-article__body h2 { font-size: 1.2rem; margin-top: 44px; }
	.trhp-article__body th, .trhp-article__body td { padding: 10px 10px; font-size: 0.88rem; }
	.trhp-toc { padding: 20px 20px; }
}

/* ============================================================
   記事内 図解コンポーネント（v3.13.0）
   カスタムHTMLブロックで使用: フロー図 / 比較図 / 計算式図 /
   期間フェーズ図 / 棒グラフ比較
   ============================================================ */
.trhp-fig { margin: 30px 0; }
.trhp-fig__caption { text-align: center; font-size: 0.78rem; color: #7c8b86; margin-top: 10px; }

/* ---- フロー図（横並び→スマホ縦） ---- */
.trhp-flow { display: flex; align-items: stretch; }
.trhp-flow__item {
	flex: 1; background: #fff; border: 1.5px solid rgba(54, 153, 110, 0.45);
	border-radius: 6px; padding: 14px 10px; text-align: center;
	font-size: 0.86rem; font-weight: 700; color: var(--c-deep);
	display: flex; flex-direction: column; justify-content: center; gap: 4px;
}
.trhp-flow__item small { font-weight: 500; color: #5a6a65; font-size: 0.72rem; line-height: 1.6; }
.trhp-flow__item--accent { background: #f5faf7; border-color: var(--c-green); }
.trhp-flow__arrow { flex: none; width: 26px; position: relative; }
.trhp-flow__arrow::after {
	content: ""; position: absolute; top: 50%; left: 50%; width: 10px; height: 10px;
	border-right: 2.5px solid var(--c-green); border-top: 2.5px solid var(--c-green);
	transform: translate(-70%, -50%) rotate(45deg);
}

/* ---- 比較図（OK/NGパネル） ---- */
.trhp-vs { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.trhp-vs__panel { position: relative; border: 1.5px solid; border-radius: 8px; padding: 26px 20px 18px; background: #fff; }
.trhp-vs__panel--ok { border-color: rgba(54, 153, 110, 0.55); background: #f5faf7; }
.trhp-vs__panel--ng { border-color: rgba(217, 122, 50, 0.55); background: #fdf7f1; }
.trhp-vs__badge {
	position: absolute; top: -12px; left: 16px; padding: 0.2em 1.1em; border-radius: 999px;
	color: #fff; font-size: 0.74rem; font-weight: 700; letter-spacing: 0.08em;
}
.trhp-vs__panel--ok .trhp-vs__badge { background: var(--c-green); }
.trhp-vs__panel--ng .trhp-vs__badge { background: #d97a32; }
.trhp-vs__title { font-weight: 700; color: var(--c-deep); font-size: 0.98rem; margin-bottom: 8px; }
.trhp-vs__panel p { font-size: 0.86rem; margin: 0; }
.trhp-article__body .trhp-vs__panel ul { margin: 0; }
.trhp-article__body .trhp-vs__panel ul > li { font-size: 0.86rem; padding: 4px 0 4px 26px; }

/* ---- 計算式図 ---- */
.trhp-formula { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 10px; }
.trhp-formula__box {
	border: 1.5px solid rgba(54, 153, 110, 0.5); background: #fff; border-radius: 6px;
	padding: 12px 16px; text-align: center; font-weight: 700; color: var(--c-deep); font-size: 0.92rem;
}
.trhp-formula__box small { display: block; font-weight: 500; font-size: 0.7rem; color: #5a6a65; margin-top: 2px; }
.trhp-formula__box--result { background: var(--c-deep); color: #fff; border-color: var(--c-deep); }
.trhp-formula__box--result small { color: rgba(255, 255, 255, 0.75); }
.trhp-formula__op { font-family: var(--font-serif); font-size: 1.35rem; color: var(--c-green); font-weight: 600; }

/* ---- 期間フェーズ図 ---- */
.trhp-phases { display: flex; width: 100%; border-radius: 6px; overflow: hidden; border: 1px solid var(--c-rule); text-align: center; }
.trhp-phases__seg { flex: 1; padding: 14px 6px; font-size: 0.8rem; font-weight: 700; color: var(--c-deep); }
.trhp-phases__seg small { display: block; font-weight: 500; font-size: 0.7rem; color: #5a6a65; margin-top: 3px; line-height: 1.6; }
.trhp-phases__seg--1 { background: #f5faf7; }
.trhp-phases__seg--2 { background: rgba(54, 153, 110, 0.16); }
.trhp-phases__seg--3 { background: var(--c-green); color: #fff; }
.trhp-phases__seg--3 small { color: rgba(255, 255, 255, 0.85); }
.trhp-phases__seg--4 { background: var(--c-deep); color: #fff; }
.trhp-phases__seg--4 small { color: rgba(255, 255, 255, 0.8); }

/* ---- 棒グラフ比較 ---- */
.trhp-barcompare { display: grid; gap: 12px; }
.trhp-barcompare__row { display: grid; grid-template-columns: 120px 1fr; align-items: center; gap: 12px; }
.trhp-barcompare__label { font-size: 0.82rem; font-weight: 700; color: var(--c-deep); text-align: right; }
.trhp-barcompare__label small { display: block; font-weight: 500; font-size: 0.7rem; color: #7c8b86; }
.trhp-barcompare__track { background: #f0f4f2; border-radius: 4px; }
.trhp-barcompare__bar {
	height: 30px; border-radius: 4px; display: flex; align-items: center;
	padding: 0 10px; color: #fff; font-weight: 700; font-size: 0.76rem; white-space: nowrap;
}
.trhp-barcompare__bar--full { background: #9fb4ac; }
.trhp-barcompare__bar--green { background: var(--c-green); }

@media (max-width: 840px) {
	.trhp-flow { flex-direction: column; }
	.trhp-flow__arrow { width: auto; height: 24px; }
	.trhp-flow__arrow::after { transform: translate(-50%, -70%) rotate(135deg); }
	.trhp-vs { grid-template-columns: 1fr; }
	.trhp-formula__box { padding: 10px 12px; font-size: 0.84rem; }
	.trhp-barcompare__row { grid-template-columns: 84px 1fr; }
	.trhp-phases { flex-direction: column; }
	.trhp-phases__seg { padding: 12px 10px; }
}
