@charset "UTF-8";
/**
 * components.css — 再利用コンポーネント
 *
 * 旧テーマは記事カードが6テンプレートにコピペされ、実装が少しずつ違っていた。
 * 新テーマでは template-parts/card-article.php に一本化し、
 * スタイルもここに集約する。
 */

/* ============================================================
   サイドバー
   ============================================================ */
.aside_block {
	margin-bottom: 36px;
}

.aside_title {
	position: relative;
	font-size: var(--fs-sidebar);
	font-weight: 700;
	padding-top: 12px;
	margin-bottom: 16px;
	border-top: 2px solid var(--c-accent);
}

.aside_list {
	display: flex;
	flex-direction: column;
	gap: 14px;
	counter-reset: rank;
}

.aside_item {
	position: relative;
}

.aside_link {
	display: flex;
	align-items: flex-start;
	gap: 12px;
	color: var(--c-text);
	text-decoration: none;
}

.aside_link:hover {
	text-decoration: none;
}

.aside_link:hover .aside_ttl {
	color: var(--c-accent);
}

.aside_thumb {
	position: relative;
	flex-shrink: 0;
	width: 78px;
	height: 44px;
	line-height: 0;
	overflow: hidden; /* 画像欠落時に alt テキストがはみ出して高さを押し広げるのを防ぐ */
	border-radius: var(--radius-sm);
	background: var(--c-bg-tint);
}

.aside_thumb img {
	width: 78px;
	height: 44px;
	object-fit: cover;
	/* 画像が読めない場合でも alt が枠を破らないようにする */
	font-size: 9px;
	color: var(--c-text-muted);
}

.aside_ttl {
	font-size: 13px;
	line-height: 1.6;
	/* 3行で省略 */
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
	overflow: hidden;
	transition: color .2s ease;
}

/* ランキングバッジ（人気記事のみ data-rank を持つ）
   ※ content:attr() は擬似要素を持つ要素自身の属性しか読めないため、
     data-rank は li ではなく .aside_thumb に付けている。 */
.aside_thumb[data-rank]::before {
	content: attr(data-rank);
	position: absolute;
	top: 0;
	left: 0;
	z-index: 1;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 20px;
	height: 20px;
	background: var(--c-accent);
	color: #fff;
	font-size: 11px;
	font-weight: 700;
	line-height: 1;
	border-radius: var(--radius-sm) 0 var(--radius-sm) 0;
}

/* --- カテゴリ一覧（ボタン風） --- */
.aside_cats {
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.aside_cat_link {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 8px;
	padding: 10px 14px;
	border: 1px solid var(--c-border);
	border-radius: var(--radius-md);
	background: var(--c-bg);
	color: var(--c-text);
	font-size: 13px;
	line-height: 1.5;
	text-decoration: none;
	transition: background-color .2s ease, border-color .2s ease, color .2s ease;
}

.aside_cat_link:hover {
	background: var(--c-accent);
	border-color: var(--c-accent);
	color: #fff;
	text-decoration: none;
}

.aside_cat_count {
	flex-shrink: 0;
	min-width: 26px;
	padding: 2px 7px;
	border-radius: 999px;
	background: var(--c-bg-tint);
	color: var(--c-text-muted);
	font-size: 11px;
	line-height: 1.5;
	text-align: center;
	transition: background-color .2s ease, color .2s ease;
}

.aside_cat_link:hover .aside_cat_count {
	background: rgba(255, 255, 255, .25);
	color: #fff;
}

/* --- バナー --- */
.aside_banner {
	margin-bottom: 36px;
	line-height: 0;
}

.aside_banner img {
	width: 100%;
	height: auto;
	border-radius: var(--radius-md);
}

/* SPではサイドバーを2カラム的に詰めて縦を短くする */
@media (max-width: 768px) {
	.aside_block { margin-bottom: 32px; }
}

/* ============================================================
   記事カード（一覧・検索・関連記事で共通）
   ============================================================ */
.article_list {
	display: flex;
	flex-direction: column;
	gap: 20px;
}

.article_card {
	display: flex;
	align-items: flex-start;
	gap: 20px;
	border-bottom: 1px solid var(--c-border);
	padding-bottom: 20px;
}

.article_card:last-child {
	border-bottom: none;
}

.article_card_thumb {
	display: block;
	flex-shrink: 0;
	width: 226px;
	height: 127px;
	line-height: 0;
	overflow: hidden; /* 画像欠落時に alt テキストで高さが崩れるのを防ぐ */
	border-radius: var(--radius-md);
	background: var(--c-bg-tint);
}

.article_card_thumb img {
	width: 226px;
	height: 127px;
	object-fit: cover;
	font-size: 10px;
	color: var(--c-text-muted);
	transition: transform .35s ease;
}

.article_card:hover .article_card_thumb img { transform: scale(1.04); }

.article_card_body {
	min-width: 0;
}

.article_card_title {
	font-size: 17px;
	line-height: 1.5;
	margin-bottom: 8px;
}

.article_card_title a {
	color: var(--c-text);
	text-decoration: none;
	transition: color .2s ease;
}

.article_card_title a:hover { color: var(--c-accent); }

/* 抜粋は2行で省略する */
.article_card_excerpt {
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
	font-size: 14px;
	line-height: 1.8;
	color: var(--c-text-sub);
	margin-bottom: 4px;
}

/* --- タグ --- */
.card_tags {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	margin-top: 9px;
}

.card_tag {
	display: inline-block;
	background: var(--c-bg-tint);
	border-radius: var(--radius-sm);
	padding: 3px 9px;
	font-size: 11px;
	line-height: 1.6;
	color: var(--c-text-sub);
	text-decoration: none;
	transition: background-color .2s ease, color .2s ease;
}

.card_tag::before { content: "#"; opacity: .5; margin-right: 1px; }

.card_tag:hover {
	background: var(--c-accent);
	color: #fff;
	text-decoration: none;
}

/* ------------------------------------------------------------
   先頭記事だけ大きく扱う（縦の単調さを崩す）
   画像を上・テキストを下に置いて、通常カードとリズムを変える。
   ------------------------------------------------------------ */
.article_card--featured {
	display: block;
	padding-bottom: 28px;
	margin-bottom: 8px;
}

.article_card--featured .article_card_thumb {
	width: 100%;
	height: auto;
	aspect-ratio: 16 / 9;
	margin-bottom: 16px;
	border-radius: var(--radius-lg);
}

.article_card--featured .article_card_thumb img {
	width: 100%;
	height: 100%;
}

.article_card--featured .article_card_title {
	font-size: 24px;
	line-height: 1.45;
	margin-bottom: 10px;
	text-wrap: balance;
}

.article_card--featured .article_card_excerpt {
	font-size: 14.5px;
	line-height: 1.9;
}

@media (max-width: 768px) {
	.article_card       { gap: 14px; }
	.article_card_thumb { width: 120px; height: 68px; }
	.article_card_thumb img { width: 120px; height: 68px; }
	.article_card_title { font-size: 15px; }
	.article_card_excerpt { display: none; }

	/* 先頭記事はSPでも抜粋を残す（主役なので） */
	.article_card--featured .article_card_thumb { width: 100%; height: auto; }
	.article_card--featured .article_card_thumb img { width: 100%; height: 100%; }
	.article_card--featured .article_card_title { font-size: 19px; }
	.article_card--featured .article_card_excerpt {
		display: -webkit-box;
		font-size: 13.5px;
	}
}

/* ============================================================
   閲覧数バッジ「◯人が読んでいます」
   ※ 一定PV未満の記事では出力自体されない（PHP側で制御）
   ============================================================ */
.views_badge {
	display: inline-flex;
	align-items: baseline;
	gap: 3px;
	font-size: 11.5px;
	color: var(--c-text-muted);
	line-height: 1.5;
}

.views_badge_num {
	font-weight: 700;
	color: var(--c-accent);
	font-variant-numeric: tabular-nums;
	font-size: 12.5px;
}

/* ============================================================
   ページャ
   ============================================================ */
/*
 * WordPress の the_posts_pagination() は
 *   <nav class="navigation pagination">
 *     <div class="nav-links"> …リンク… </div>
 *   </nav>
 * という構造を出す。リンクは .nav-links の子なので、
 * flex は .pagination ではなく .nav-links に当てる必要がある。
 */
.pagination {
	margin-top: 48px;
}

.pagination .nav-links {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	align-items: center;
	gap: 8px;
}

.pagination .page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 38px;
	height: 38px;
	padding-inline: 12px;
	border: 1px solid var(--c-border);
	border-radius: var(--radius-sm);
	color: var(--c-text);
	font-size: 14px;
	line-height: 1;
	text-decoration: none;
	font-variant-numeric: tabular-nums;
	transition: border-color .2s ease, color .2s ease, background-color .2s ease;
}

.pagination a.page-numbers:hover {
	border-color: var(--c-accent);
	color: var(--c-accent);
	text-decoration: none;
}

.pagination .page-numbers.current {
	background: var(--c-accent);
	border-color: var(--c-accent);
	color: #fff;
}

/* 「…」は枠を出さない */
.pagination .page-numbers.dots {
	border-color: transparent;
	min-width: 24px;
	padding-inline: 0;
	color: var(--c-text-muted);
}

/* 前へ / 次へ は文字ぶん広げる */
.pagination .prev.page-numbers,
.pagination .next.page-numbers {
	padding-inline: 16px;
}

@media (max-width: 450px) {
	.pagination .page-numbers { min-width: 34px; height: 34px; font-size: 13px; padding-inline: 9px; }
}

/* ============================================================
   セクション見出し・ボタン（TOP / 記事詳細 共通）
   ============================================================ */
.blocks_label {
	display: flex;
	align-items: baseline;
	gap: 10px;
	font-size: 20px;
	margin-bottom: 20px;
}

.blocks_label_sub {
	font-size: 13px;
	font-weight: 400;
	color: var(--c-text-muted);
}

.block_btn_wrap {
	display: flex;
	justify-content: center;
	margin-top: 24px;
}

.block_btn {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	min-width: 200px;
	justify-content: center;
	padding: 11px 24px;
	background: var(--c-accent);
	color: #fff;
	font-size: 14px;
	font-weight: 700;
	border-radius: var(--radius-sm);
	text-decoration: none;
	transition: opacity .2s ease;
}

.block_btn:hover { opacity: .85; text-decoration: none; color: #fff; }
.block_btn_arrow { font-size: 13px; }

/* --- カードのメタ（カテゴリ + 日付） --- */
.card_meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
	margin-top: 8px;
}

.cat_label {
	font-size: 11px;
	color: var(--c-accent);
	line-height: 1.4;
}

.card_date {
	font-size: 11px;
	color: var(--c-text-muted);
	font-variant-numeric: tabular-nums;
}

/* ============================================================
   小カード（TOP / 最近読んだ記事 共通）
   ============================================================ */
.small_card {
	display: flex;
	align-items: flex-start;
	gap: 12px;
	color: var(--c-text);
	text-decoration: none;
}

.small_card_img {
	flex-shrink: 0;
	width: 113px;
	height: 64px;
	overflow: hidden;
	border-radius: var(--radius-sm);
	background: var(--c-bg-tint);
	line-height: 0;
}

.small_card_img img {
	width: 113px;
	height: 64px;
	object-fit: cover;
	font-size: 9px;
	color: var(--c-text-muted);
}

.small_card_body { min-width: 0; }

.small_card_ttl {
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
	font-size: 13px;
	font-weight: 700;
	line-height: 1.55;
	transition: color .2s ease;
}

.small_card:hover .small_card_ttl { color: var(--c-accent); }

/* ============================================================
   SNSシェアボタン（TOP / 記事詳細 共通）
   ============================================================ */
.share_links {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 12px;
	margin: 32px 0;
}

.share_btn {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 12px;
	border-radius: var(--radius-sm);
	color: #fff;
	font-size: 13px;
	font-weight: 700;
	text-decoration: none;
	border: 0;
	transition: opacity .2s ease;
}

.share_btn:hover { opacity: .85; text-decoration: none; color: #fff; border: 0; }

.share_btn--fb   { background: #3b5998; }
.share_btn--x    { background: #000000; }
.share_btn--line { background: #00c300; }

@media (max-width: 450px) {
	.share_btn span { display: none; }
}

/* ============================================================
   最近読んだ記事（TOP / 記事詳細 共通）
   ============================================================ */
.recent_grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 20px;
}

.recent_grid .small_card {
	flex-direction: column;
	gap: 10px;
}

.recent_grid .small_card_img,
.recent_grid .small_card_img img {
	width: 100%;
	height: auto;
	aspect-ratio: 16 / 9;
}

@media (max-width: 768px) {
	.recent_grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
}

/* ============================================================
   関連記事カード（記事詳細 / 404 共通）
   ============================================================ */
.related_grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 18px;
}

.related_card {
	display: block;
	color: var(--c-text);
	text-decoration: none;
}

.related_card_img {
	display: block;
	aspect-ratio: 16 / 9;
	overflow: hidden;
	border-radius: var(--radius-md);
	border: 1px solid var(--c-border);
	background: var(--c-bg-tint);
	line-height: 0;
	margin-bottom: 9px;
}

.related_card_img img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	font-size: 9px;
	color: var(--c-text-muted);
	transition: transform .35s ease;
}

.related_card:hover .related_card_img img { transform: scale(1.04); }

.related_card_ttl {
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
	overflow: hidden;
	font-size: 13px;
	font-weight: 700;
	line-height: 1.6;
	transition: color .2s ease;
}

.related_card:hover .related_card_ttl { color: var(--c-accent); }

@media (max-width: 768px) {
	.related_grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
}

/* ============================================================
   一覧・検索の共通パーツ
   ============================================================ */
.pg_desc {
	font-size: 14px;
	line-height: 1.9;
	color: var(--c-text-sub);
	margin-bottom: 12px;
}

.pg_search { margin-top: 16px; max-width: 460px; }
.pg_search .search_input { width: 100%; }

.result_count {
	font-size: 13px;
	color: var(--c-text-muted);
	margin-bottom: 16px;
	font-variant-numeric: tabular-nums;
}

.archive_list {
	display: flex;
	flex-direction: column;
	gap: 20px;
}

/* --- 結果なし --- */
.no_result {
	padding: 32px 0 8px;
}

.no_result_lead {
	font-size: 16px;
	font-weight: 700;
	line-height: 1.8;
	margin-bottom: 8px;
}

.no_result_hint {
	font-size: 13.5px;
	color: var(--c-text-sub);
	margin-bottom: 20px;
}

.no_result_search { max-width: 460px; margin-bottom: 26px; }
.no_result_search .search_input { width: 100%; }

.no_result_cats,
.error404_cats {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	list-style: none;
	padding: 0;
	margin: 0;
}

.no_result_cats a,
.error404_cats a {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	border: 1px solid var(--c-border);
	border-radius: 999px;
	padding: 7px 15px;
	font-size: 13px;
	color: var(--c-text);
	text-decoration: none;
	transition: border-color .2s ease, background-color .2s ease, color .2s ease;
}

.no_result_cats a:hover,
.error404_cats a:hover {
	background: var(--c-accent);
	border-color: var(--c-accent);
	color: #fff;
	text-decoration: none;
}

.no_result_cats span,
.error404_cats span {
	font-size: 11px;
	color: var(--c-text-muted);
	font-variant-numeric: tabular-nums;
}

.no_result_cats a:hover span,
.error404_cats a:hover span { color: rgba(255, 255, 255, .8); }

/* ============================================================
   特集
   ============================================================ */
.feature_hero {
	margin-bottom: 32px;
	line-height: 0;
	border-radius: var(--radius-lg);
	overflow: hidden;
}

.feature_hero img { width: 100%; height: auto; }

.feature_grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 24px;
}

.feature_card {
	display: block;
	color: var(--c-text);
	text-decoration: none;
}

.feature_card_img {
	display: block;
	aspect-ratio: 1100 / 620;
	overflow: hidden;
	border-radius: var(--radius-md);
	background: var(--c-bg-tint);
	line-height: 0;
	margin-bottom: 10px;
}

.feature_card_img img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	font-size: 10px;
	color: var(--c-text-muted);
	transition: transform .35s ease;
}

.feature_card:hover .feature_card_img img { transform: scale(1.04); }

.feature_card_body {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 10px;
}

.feature_card_ttl {
	font-size: 14px;
	font-weight: 700;
	line-height: 1.6;
	transition: color .2s ease;
}

.feature_card:hover .feature_card_ttl { color: var(--c-accent); }

.feature_card_count {
	flex-shrink: 0;
	font-size: 11.5px;
	color: var(--c-text-muted);
	font-variant-numeric: tabular-nums;
}

.feature_lead { margin-bottom: 36px; }

@media (max-width: 450px) {
	.feature_grid { grid-template-columns: minmax(0, 1fr); gap: 18px; }
}

/* ============================================================
   フォーム
   ============================================================ */
.form_wrap {
	max-width: 720px;
	margin-inline: auto;
	padding-bottom: 40px;
}

.form_errors {
	background: #fff4f4;
	border: 1px solid #f5c2c2;
	border-radius: var(--radius-md);
	padding: 16px 20px;
	margin-bottom: 28px;
}

.form_errors_ttl {
	font-size: 14px;
	font-weight: 700;
	color: var(--c-alert);
	margin-bottom: 8px;
}

.form_errors ul { list-style: none; padding: 0; margin: 0; }

.form_errors li {
	font-size: 13.5px;
	line-height: 1.9;
	color: var(--c-text);
	padding-left: 16px;
	position: relative;
}

.form_errors li::before {
	content: "・";
	position: absolute;
	left: 0;
	color: var(--c-alert);
}

.form_row { margin-bottom: 22px; }

.form_label {
	display: flex;
	align-items: center;
	gap: 8px;
	font-size: 13.5px;
	font-weight: 700;
	margin-bottom: 7px;
}

.form_req {
	background: var(--c-alert);
	color: #fff;
	font-size: 10.5px;
	font-weight: 700;
	padding: 2px 7px;
	border-radius: var(--radius-sm);
	line-height: 1.5;
}

.form_input {
	width: 100%;
	border: 1px solid var(--c-border);
	border-radius: var(--radius-md);
	padding: 11px 14px;
	font: inherit;
	font-size: 15px; /* SPで自動ズームしないよう16px近辺を保つ */
	line-height: 1.7;
	background: var(--c-bg);
	color: var(--c-text);
}

.form_input:focus {
	outline: 2px solid var(--c-accent);
	outline-offset: -2px;
	border-color: var(--c-accent);
}

textarea.form_input { resize: vertical; min-height: 160px; }

.form_agree {
	background: var(--c-bg-tint);
	border-radius: var(--radius-md);
	padding: 16px 18px;
	margin: 28px 0;
}

.form_agree label {
	display: flex;
	align-items: center;
	gap: 10px;
	font-size: 13.5px;
	cursor: pointer;
}

.form_agree input { width: 17px; height: 17px; flex-shrink: 0; }

.form_submit {
	display: flex;
	justify-content: center;
	margin-top: 8px;
}

.form_submit .block_btn {
	border: 0;
	cursor: pointer;
	min-width: 240px;
}

/* ハニーポット：視覚・支援技術の双方から隠す（人間には入力させない） */
.cm_hp {
	position: absolute;
	left: -9999px;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

/* ============================================================
   送信完了
   ============================================================ */
.thanks {
	max-width: 640px;
	margin-inline: auto;
	padding: 56px 0 72px;
	text-align: center;
}

.thanks_icon {
	width: 64px;
	height: 64px;
	margin: 0 auto 20px;
	border-radius: 50%;
	background: var(--c-accent);
	color: #fff;
	font-size: 32px;
	line-height: 64px;
}

.thanks_title {
	font-size: 24px;
	font-weight: 700;
	margin-bottom: 14px;
}

.thanks_lead {
	font-size: 14.5px;
	line-height: 2;
	color: var(--c-text-sub);
	margin-bottom: 14px;
}

.thanks_note {
	font-size: 13px;
	color: var(--c-text-muted);
	margin-bottom: 32px;
}

@media (max-width: 768px) {
	.thanks       { padding: 36px 0 56px; }
	.thanks_title { font-size: 20px; }
}

/* ============================================================
   About / メルマガ登録
   ============================================================ */
.about_eyebrow {
	font-size: 11.5px;
	font-weight: 700;
	letter-spacing: .14em;
	color: var(--c-accent);
	margin-bottom: 10px;
}

/* --- ヒーロー --- */
.about_hero,
.nl_hero {
	background: var(--c-bg-tint);
	padding-block: 52px;
	margin-bottom: 56px;
}

.about_hero_ttl,
.nl_hero_ttl {
	font-size: 30px;
	font-weight: 800;
	line-height: 1.5;
	margin-bottom: 14px;
	text-wrap: balance;
}

.about_hero_lead,
.nl_hero_lead {
	font-size: 15px;
	line-height: 2;
	color: var(--c-text-sub);
	max-width: 64ch;
}

/* --- 本文ブロック --- */
.about_body { padding-bottom: 24px; }

.about_block { margin-bottom: 64px; }

.about_h2 {
	font-size: 23px;
	font-weight: 700;
	line-height: 1.5;
	margin-bottom: 20px;
}

.about_lead {
	font-size: 16px;
	line-height: 2;
	margin-bottom: 14px;
}

.about_text {
	font-size: 14.5px;
	line-height: 2.05;
	color: var(--c-text-sub);
	max-width: 74ch;
}

/* --- カード --- */
.about_grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 20px;
}

.about_card {
	border: 1px solid var(--c-border);
	border-radius: var(--radius-lg);
	padding: 24px 22px;
}

.about_card_icon {
	font-size: 26px;
	line-height: 1;
	margin-bottom: 12px;
}

.about_card_ttl {
	font-size: 16px;
	font-weight: 700;
	margin-bottom: 10px;
}

.about_card_text {
	font-size: 13.5px;
	line-height: 1.95;
	color: var(--c-text-sub);
}

.about_card_list {
	list-style: none;
	padding: 0;
	margin: 0;
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.about_card_list li {
	position: relative;
	padding-left: 18px;
	font-size: 13.5px;
	line-height: 1.8;
	color: var(--c-text-sub);
}

.about_card_list li::before {
	content: "";
	position: absolute;
	left: 2px;
	top: .68em;
	width: 6px;
	height: 6px;
	background: var(--c-accent);
	transform: rotate(45deg);
}

/* --- 会社情報 --- */
.about_info {
	border-top: 1px solid var(--c-border);
	margin: 0;
}

.about_info_row {
	display: flex;
	gap: 24px;
	padding: 16px 4px;
	border-bottom: 1px solid var(--c-border);
}

.about_info_row dt {
	flex-shrink: 0;
	width: 140px;
	font-size: 13.5px;
	font-weight: 700;
}

.about_info_row dd {
	margin: 0;
	font-size: 13.5px;
	line-height: 1.9;
	color: var(--c-text-sub);
}

/* --- CTA --- */
.about_cta {
	background: var(--c-accent);
	padding-block: 52px;
	text-align: center;
	margin-top: 24px;
}

.about_cta * { color: #fff; }

.about_cta_ttl {
	font-size: 24px;
	font-weight: 700;
	margin-bottom: 10px;
}

.about_cta_lead {
	font-size: 14.5px;
	line-height: 1.9;
	margin-bottom: 26px;
	opacity: .92;
}

.about_cta_btn {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	background: #fff;
	color: var(--c-accent);
	font-size: 15px;
	font-weight: 700;
	padding: 14px 32px;
	border-radius: var(--radius-md);
	text-decoration: none;
	transition: opacity .2s ease;
}

.about_cta_btn:hover { opacity: .88; text-decoration: none; color: var(--c-accent); }

/* --- メルマガ登録 --- */
.nl_body {
	max-width: 720px;
	padding-bottom: 72px;
}

.nl_points {
	list-style: none;
	padding: 0;
	margin: 0 0 36px;
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.nl_points li {
	display: flex;
	align-items: center;
	gap: 12px;
	font-size: 15px;
	font-weight: 700;
}

.nl_point_icon { font-size: 19px; line-height: 1; }

.nl_form_wrap {
	border: 1px solid var(--c-border);
	border-radius: var(--radius-lg);
	padding: 32px 30px;
	text-align: center;
	background: var(--c-bg);
}

.nl_form_badge {
	display: inline-block;
	background: var(--c-accent);
	color: #fff;
	font-size: 11.5px;
	font-weight: 700;
	padding: 4px 14px;
	border-radius: 999px;
	margin-bottom: 14px;
}

.nl_form_ttl {
	font-size: 19px;
	font-weight: 700;
	margin-bottom: 6px;
}

.nl_form_note {
	font-size: 12.5px;
	color: var(--c-text-muted);
	margin-bottom: 22px;
}

.nl_form { margin-bottom: 18px; }

/* MailPoet が出力するフォームを、テーマの見た目に寄せる */
.nl_form input[type="text"],
.nl_form input[type="email"] {
	width: 100%;
	border: 1px solid var(--c-border);
	border-radius: var(--radius-md);
	padding: 12px 15px;
	font-size: 15px;
	line-height: 1.7;
}

.nl_form input[type="submit"],
.nl_form button[type="submit"] {
	width: 100%;
	margin-top: 12px;
	background: var(--c-accent);
	color: #fff;
	border: 0;
	border-radius: var(--radius-md);
	padding: 13px 24px;
	font-size: 15px;
	font-weight: 700;
	cursor: pointer;
}

.nl_form_fallback {
	font-size: 14px;
	line-height: 1.95;
	color: var(--c-text-sub);
}

.nl_form_privacy {
	font-size: 12px;
	line-height: 1.8;
	color: var(--c-text-muted);
}

@media (max-width: 768px) {
	.about_hero, .nl_hero { padding-block: 36px; margin-bottom: 40px; }
	.about_hero_ttl, .nl_hero_ttl { font-size: 22px; }
	.about_h2   { font-size: 19px; }
	.about_grid { grid-template-columns: minmax(0, 1fr); gap: 14px; }
	.about_block { margin-bottom: 44px; }
	.about_info_row { flex-direction: column; gap: 4px; }
	.about_info_row dt { width: auto; }
	.about_cta  { padding-block: 40px; }
	.about_cta_ttl { font-size: 19px; }
	.nl_form_wrap { padding: 24px 20px; }
}

/* ============================================================
   404
   ============================================================ */
.error404 {
	max-width: 720px;
	margin-inline: auto;
	padding: 48px 0 72px;
	text-align: center;
}

.error404_code {
	font-size: 64px;
	font-weight: 800;
	line-height: 1;
	color: var(--c-accent);
	font-variant-numeric: tabular-nums;
	margin-bottom: 16px;
}

.error404_title {
	font-size: 24px;
	font-weight: 700;
	line-height: 1.5;
	margin-bottom: 12px;
	text-wrap: balance;
}

.error404_lead {
	font-size: 14px;
	line-height: 1.9;
	color: var(--c-text-sub);
	margin-bottom: 26px;
}

.error404_search {
	max-width: 420px;
	margin: 0 auto 40px;
}

.error404_search .search_form { width: 100%; }
.error404_search .search_input { width: 100%; }

.error404_block {
	margin-bottom: 40px;
	text-align: left;
}

.error404_h2 {
	font-size: 15px;
	font-weight: 700;
	padding-bottom: 10px;
	margin-bottom: 16px;
	border-bottom: 1px solid var(--c-border);
}

.error404_home { margin-top: 8px; }

@media (max-width: 768px) {
	.error404       { padding: 32px 0 56px; }
	.error404_code  { font-size: 48px; }
	.error404_title { font-size: 19px; }
}

/* ============================================================
   ページ見出し・パンくず
   ============================================================ */
.pg_header {
	margin-bottom: 32px;
}

.pg_title {
	font-size: 26px;
	line-height: 1.4;
	margin-bottom: 12px;
}

/* パンくず（記事詳細 / 一覧 / 検索 共通） */
.bread_wrap { margin-bottom: 4px; }

.bread_list {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 7px;
	font-size: 12px;
	color: var(--c-text-muted);
	padding: 18px 0 0;
	list-style: none;
	margin: 0;
}

.bread_list a {
	color: var(--c-text-muted);
	text-decoration: none;
}

.bread_list a:hover {
	color: var(--c-accent);
}

.bread_list li:not(:last-child)::after {
	content: "›";
	margin-left: 6px;
	color: var(--c-border-light);
}

/* セクションの余白（TOP / 記事詳細 共通） */
.top_block { margin-bottom: 56px; }

@media (max-width: 768px) {
	.top_block { margin-bottom: 44px; }
}

@media (max-width: 768px) {
	.pg_title { font-size: 21px; }
}

/* ============================================================
   特集一覧ページ（/feature/）
   ============================================================
   特集ごとに「バナー + 所属記事3件」を並べる。
   バナーだけでは中身が想像できず、クリックの判断材料がなかったため。
   ============================================================ */
.feature_sec {
	padding-bottom: 40px;
	margin-bottom: 40px;
	border-bottom: 1px solid var(--c-border);
}

.feature_sec:last-child {
	padding-bottom: 0;
	margin-bottom: 0;
	border-bottom: 0;
}

/* --- バナー --- */
.feature_banner {
	display: block;
	position: relative;
	border-radius: var(--radius-md);
	overflow: hidden;
	text-decoration: none;
	margin-bottom: 20px;
}

.feature_banner_img {
	display: block;
	aspect-ratio: 16 / 6;
	background: var(--c-bg-tint);
	line-height: 0;
}

.feature_banner_img img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform .4s ease;
}

.feature_banner:hover .feature_banner_img img { transform: scale(1.03); }

/* 画像の上に重ねるタイトル */
.feature_banner_body {
	position: absolute;
	inset: auto 0 0 0;
	display: flex;
	align-items: baseline;
	gap: 12px;
	padding: 32px 20px 16px;
	background: linear-gradient(transparent, rgba(0, 0, 0, .72));
}

.feature_banner_ttl {
	font-size: 17px;
	font-weight: 700;
	color: #fff;
	line-height: 1.5;
}

.feature_banner_count {
	flex: none;
	font-size: 12px;
	color: rgba(255, 255, 255, .85);
}

/* --- 所属記事 --- */
.feature_posts {
	list-style: none;
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 20px;
	margin: 0;
	padding: 0;
}

.feature_post_link {
	display: block;
	text-decoration: none;
	color: var(--c-text);
}

.feature_post_img {
	display: block;
	aspect-ratio: 16 / 9;
	border-radius: var(--radius-sm);
	overflow: hidden;
	background: var(--c-bg-tint);
	line-height: 0;
	margin-bottom: 10px;
}

.feature_post_img img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform .35s ease;
}

.feature_post_link:hover .feature_post_img img { transform: scale(1.04); }

.feature_post_ttl {
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
	font-size: 14px;
	font-weight: 700;
	line-height: 1.6;
	transition: color .2s ease;
}

.feature_post_link:hover .feature_post_ttl { color: var(--c-accent); }

.feature_post_meta {
	display: flex;
	align-items: center;
	gap: 10px;
	flex-wrap: wrap;
	margin-top: 8px;
	font-size: 12px;
	color: var(--c-text-muted);
}

/* --- もっと見る --- */
.feature_more {
	margin: 18px 0 0;
	text-align: right;
}

.feature_more_link {
	font-size: 13px;
	color: var(--c-accent);
	text-decoration: none;
}

.feature_more_link:hover { text-decoration: underline; }

.feature_more_arrow { margin-left: 6px; }

@media (max-width: 768px) {
	.feature_sec { padding-bottom: 32px; margin-bottom: 32px; }

	/* 3列だと1枚が小さすぎるので2列に */
	.feature_posts { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }

	.feature_banner_img { aspect-ratio: 16 / 8; }
	.feature_banner_ttl { font-size: 15px; }
	.feature_banner_body { padding: 24px 14px 12px; }
}

@media (max-width: 450px) {
	.feature_posts { grid-template-columns: minmax(0, 1fr); }
}
