@charset "UTF-8";

/*
 * コンテンツSEOブログ 記事一覧ページ（EC_DEV-122）
 *
 * デザインモック: https://0729blog.netlify.app
 *
 * セレクタは必ず .bt-blog 配下にスコープすること。
 * このファイルはブログ一覧ページでのみ読み込まれるが、ヘッダー・フッターなど
 * ページ共通部分は同じ DOM 上にあるため、素のタグセレクタは書かない。
 */

.bt-blog {
	--bt-navy: #14181f;
	--bt-text: #232323;
	--bt-text-muted: #6b6b6b;
	--bt-border: #e7e7e7;
	--bt-bg-soft: #f6f6f4;
	--bt-link: #1a5fb4;

	--bt-cat-c1-bg: #edf6ec;
	--bt-cat-c2-bg: #fbf1e5;
	--bt-cat-c3-bg: #eaeff3;
	--bt-cat-c4-bg: #fdeef1;
	--bt-cat-c5-bg: #f4eefb;

	--bt-soft-panel: #ffffff;
	--bt-soft-line: #e4e2dd;
	--bt-soft-text: #33312c;
	--bt-soft-muted: #857f76;
	--bt-soft-accent: #6e685f;
	--bt-soft-accent-border: #bab3aa;

	color: var(--bt-text);
	font-size: 14px;
	line-height: 1.6;
}

.bt-blog *,
.bt-blog *::before,
.bt-blog *::after {
	box-sizing: border-box;
}

.bt-blog a {
	color: #555;
	text-decoration: none;
}

.bt-blog img {
	display: block;
	max-width: 100%;
}

.bt-blog button,
.bt-blog input,
.bt-blog select {
	font: inherit;
}

.bt-blog h1,
.bt-blog h2,
.bt-blog h3,
.bt-blog h4 {
	font-weight: 700;
}

.bt-blog p,
.bt-blog ul,
.bt-blog ol {
	margin: 0;
	padding: 0;
}

.bt-blog ul,
.bt-blog ol {
	list-style: none;
}

.bt-blog__wrap {
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 24px;
}

/* --------------------------------------------------
 パンくず / ページヘッダー
 -------------------------------------------------- */
/*
 パンくずはサイト共通の .ec-breadcrumbsBlockRole を流用する。
 本文エリア内に置くため、コンポーネント側の余白・最大幅と、
 グローバルのリスト装飾（枠線・マーカー）を打ち消してコンテンツ左端に揃える。
 */
.bt-blog .tabacms_breadcrumb.ec-breadcrumbsBlockRole {
	max-width: none;
	margin: 0;
	padding: 16px 0 0;
}

.bt-blog .tabacms_breadcrumb ul {
	background: none !important;
	border: 0 !important;
	border-radius: 0 !important;
	padding: 0 !important;
	margin: 0 !important;
}

.bt-blog .tabacms_breadcrumb ul li {
	background: none !important;
	padding: 0 !important;
	margin: 0 !important;
}

.bt-blog .tabacms_breadcrumb ul li::before {
	content: none !important;
	display: none !important;
}

.bt-blog .tabacms_breadcrumb ul li div {
	font-size: 12px;
}

.bt-blog .tabacms_breadcrumb ul li div a:hover {
	text-decoration: underline;
}

.bt-blog .page-head {
	padding: 12px 0 0;
	margin-bottom: 28px;
}

.bt-blog .page-head h1 {
	font-size: 26px;
	margin: 0 0 8px;
	letter-spacing: .03em;
	padding: 0;
	border: 0;
}

.bt-blog .page-head p {
	margin: 0;
	color: var(--bt-text-muted);
	font-size: 13px;
}

/* --------------------------------------------------
 カテゴリタブ / 絞り込み中バー
 -------------------------------------------------- */
/*
 タブ帯は横方向のスクロールだけを許可する。
 iOS で横スクロールした際にタブ帯が上下へ動く事象への対処のため、
 縦のはみ出しを切り、タッチ操作を横パンに限定している。
 メディアクエリの外に置いており、PC・タブレットにも掛かる。
 */
.bt-blog .blog-catnav {
	display: flex;
	flex-wrap: nowrap;
	gap: 2px;
	margin: 0 0 22px;
	overflow-x: auto;
	overflow-y: hidden;
	-webkit-overflow-scrolling: touch;
	scrollbar-width: none;
	border-bottom: 1px solid var(--bt-soft-line);
	scroll-margin-top: 16px;
	touch-action: pan-x;
	overscroll-behavior-x: contain;
	overscroll-behavior-y: none;
	white-space: nowrap;
}

.bt-blog .blog-catnav::-webkit-scrollbar {
	display: none;
}

.bt-blog .blog-catnav a {
	flex: none;
	font-size: 13px;
	padding: 11px 16px;
	border-radius: 4px 4px 0 0;
	color: var(--bt-soft-muted);
	background: transparent;
	font-weight: 500;
	white-space: nowrap;
	border-bottom: 2px solid transparent;
	margin-bottom: -1px;
	transition: background .18s, color .18s, border-color .18s;
}

.bt-blog .blog-catnav a.active {
	background: #faf9f6;
	color: var(--bt-soft-text);
	border-bottom-color: var(--bt-soft-text);
	font-weight: 700;
}

.bt-blog .blog-catnav a:hover {
	color: var(--bt-soft-text);
	background: #faf9f6;
}

.bt-blog .active-tag-bar {
	display: flex;
	align-items: center;
	gap: 8px;
	margin: -6px 0 20px;
	font-size: 12px;
	color: var(--bt-soft-muted);
}

.bt-blog .active-tag-bar-label {
	flex-shrink: 0;
}

.bt-blog .active-tag-chip-list {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
}

.bt-blog .active-tag-chip {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	padding: 5px 6px 5px 12px;
	border-radius: 999px;
	background: #f1efeb;
	color: var(--bt-soft-text);
	font-weight: 700;
	font-size: 12.5px;
}

.bt-blog .active-tag-chip-icon {
	display: flex;
	align-items: center;
	flex-shrink: 0;
}

.bt-blog .active-tag-chip-icon svg {
	width: 12px;
	height: 12px;
	stroke: currentColor;
	fill: none;
	stroke-width: 2;
}

.bt-blog .active-tag-chip-clear {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 18px;
	height: 18px;
	flex-shrink: 0;
	border: 0;
	border-radius: 50%;
	background: #e2ded4;
	color: #6e685f;
	font-size: 13px;
	line-height: 1;
	transition: background .15s, color .15s;
}

.bt-blog .active-tag-chip-clear:hover {
	background: #d9d3c4;
	color: #33312c;
}

/* --------------------------------------------------
 ピックアップ（ヒーローカルーセル）
 -------------------------------------------------- */
.bt-blog .hero-carousel {
	position: relative;
	margin-bottom: 44px;
}

.bt-blog .hero-carousel-inner {
	position: relative;
}

.bt-blog .pickup-heading {
	display: flex;
	align-items: baseline;
	gap: 16px;
	margin: 0 0 16px;
}

.bt-blog .pickup-heading-en {
	font-family: 'Cormorant Garamond', 'Times New Roman', serif;
	font-style: italic;
	font-weight: 600;
	font-size: 28px;
	line-height: 1;
	letter-spacing: .01em;
	color: var(--bt-soft-text);
}

.bt-blog .pickup-heading-jp {
	font-size: 11px;
	letter-spacing: .32em;
	color: var(--bt-soft-muted);
	padding-left: 16px;
	border-left: 1px solid var(--bt-soft-line);
	white-space: nowrap;
}

.bt-blog .hero-slides {
	position: relative;
	aspect-ratio: 17 / 5;
	overflow: hidden;
	margin-bottom: 10px;
}

.bt-blog .hero-slide {
	position: absolute;
	inset: 0;
	opacity: 0;
	visibility: hidden;
	transition: opacity 1.3s ease-in-out, visibility 1.3s ease-in-out;
	will-change: opacity;
}

.bt-blog .hero-slide.active {
	opacity: 1;
	visibility: visible;
}

.bt-blog .hero-slide-img {
	position: absolute;
	inset: 0;
	background-size: cover;
	background-position: center;
	transition: transform 6s ease;
}

.bt-blog .hero-slide-scrim {
	position: absolute;
	inset: 0;
	background: linear-gradient(to left, rgba(0, 0, 0, .72) 0%, rgba(0, 0, 0, .4) 34%, rgba(0, 0, 0, 0) 62%);
}

.bt-blog .hero-slide-link {
	position: absolute;
	inset: 0;
	display: block;
	cursor: pointer;
}

.bt-blog .hero-slide-media {
	position: absolute;
	inset: 0;
	overflow: hidden;
}

.bt-blog .hero-slide-body {
	position: absolute;
	right: 0;
	bottom: 0;
	width: 50%;
	max-width: 480px;
	height: 100%;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: flex-start;
	padding: 60px 40px;
	color: #fff;
}

.bt-blog .hero-slide-body .tag {
	margin-bottom: 10px;
	color: #fff;
	background: rgb(23 8 8 / 55%);
}

.bt-blog .hero-slide-body h2 {
	font-size: 22px;
	line-height: 1.55;
	margin: 0;
	font-weight: 700;
	color: #fff;
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 3;
	line-clamp: 3;
	overflow: hidden;
	text-overflow: ellipsis;
}

.bt-blog .hero-slide-cta {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	margin-top: 18px;
	padding: 10px 22px;
	border-radius: 999px;
	background: #fff;
	color: var(--bt-navy);
	font-size: 12.5px;
	font-weight: 700;
	letter-spacing: .02em;
	transition: background .25s ease, color .25s ease, transform .25s ease;
}

.bt-blog .hero-slide-cta svg {
	width: 14px;
	height: 14px;
	stroke: currentColor;
	fill: none;
	stroke-width: 2;
	transition: transform .25s ease;
}

.bt-blog .hero-slide-link:hover .hero-slide-img {
	transform: scale(1.05);
}

.bt-blog .hero-slide-link:hover .hero-slide-cta {
	background: #3f5fa0;
	color: #fff;
}

.bt-blog .hero-slide-link:hover .hero-slide-cta svg {
	transform: translateX(3px);
}

.bt-blog .hero-thumbs {
	display: flex;
	align-items: stretch;
	background: #fff;
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
	scrollbar-width: none;
}

.bt-blog .hero-thumbs::-webkit-scrollbar {
	display: none;
}

.bt-blog .hero-thumb {
	flex: 0 0 auto;
	display: flex;
	align-items: center;
	gap: 0;
	padding: 12px 16px 14px;
	text-align: left;
	border: 0;
	background: transparent;
	cursor: pointer;
	position: relative;
	min-width: 0;
	transition: padding-right .5s ease;
}

.bt-blog .hero-thumb-img {
	width: 56px;
	height: 56px;
	flex-shrink: 0;
	overflow: hidden;
	background-size: cover;
	background-position: center;
}

.bt-blog .hero-thumb-text {
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: flex-start;
	min-width: 0;
	max-width: 0;
	margin-left: 0;
	opacity: 0;
	overflow: hidden;
	transition: max-width .5s cubic-bezier(.16, 1, .3, 1), margin-left .5s cubic-bezier(.16, 1, .3, 1), opacity .4s ease;
}

.bt-blog .hero-thumb-title {
	font-size: 12.5px;
	line-height: 1.6;
	color: #6e685f;
	font-weight: 500;
	width: 220px;
	flex-shrink: 0;
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
	line-clamp: 2;
	overflow: hidden;
}

.bt-blog .hero-thumb-progress {
	display: none;
	position: absolute;
	left: 16px;
	right: 16px;
	bottom: 0;
	height: 2px;
}

.bt-blog .hero-thumb-progress .bar {
	display: block;
	height: 100%;
	width: 0;
	background: #e7e7e7;
	border-radius: 2px;
}

.bt-blog .hero-thumb.active {
	padding-right: 20px;
}

.bt-blog .hero-thumb.active .hero-thumb-text {
	max-width: 220px;
	margin-left: 14px;
	opacity: 1;
	color: var(--bt-navy);
}

.bt-blog .hero-thumb.active .hero-thumb-progress {
	display: block;
}

.bt-blog .hero-thumb.active .hero-thumb-progress .bar {
	animation: btBlogHeroProgress 5s linear forwards;
}

@keyframes btBlogHeroProgress {
	from {
		width: 0;
	}

	to {
		width: 100%;
	}
}

/* --------------------------------------------------
 カテゴリ色（カテゴリの表示順 1..5 に対応）
 -------------------------------------------------- */
.bt-blog .is-ph {
	background: linear-gradient(135deg, #e3e7ea, #cfd6db);
}

.bt-blog .is-ph.c1 {
	background: linear-gradient(135deg, var(--bt-cat-c1-bg), #c6e0c3);
}

.bt-blog .is-ph.c2 {
	background: linear-gradient(135deg, var(--bt-cat-c2-bg), #f0d2a3);
}

.bt-blog .is-ph.c3 {
	background: linear-gradient(135deg, var(--bt-cat-c3-bg), #b9c6d3);
}

.bt-blog .is-ph.c4 {
	background: linear-gradient(135deg, var(--bt-cat-c4-bg), #f6c9d3);
}

.bt-blog .is-ph.c5 {
	background: linear-gradient(135deg, var(--bt-cat-c5-bg), #dcc9ee);
}

.bt-blog .hero-slide-img.is-ph.c1 {
	background: linear-gradient(135deg, #2c4a28, #6a9f62);
}

.bt-blog .hero-slide-img.is-ph.c2 {
	background: linear-gradient(135deg, #7a4d1a, #c99450);
}

.bt-blog .hero-slide-img.is-ph.c3 {
	background: linear-gradient(135deg, #2f4a63, #7590a8);
}

.bt-blog .hero-slide-img.is-ph.c4 {
	background: linear-gradient(135deg, #7d3346, #c86a86);
}

.bt-blog .hero-slide-img.is-ph.c5 {
	background: linear-gradient(135deg, #4b3572, #9576c9);
}

/* --------------------------------------------------
 カテゴリラベル
 -------------------------------------------------- */
.bt-blog .tag {
	display: inline-block;
	font-size: 11px;
	font-weight: 500;
	padding: 2px 6px;
	border-radius: 3px;
	letter-spacing: .05em;
	width: fit-content;
	color: var(--bt-soft-accent);
	background: #f1efeb;
}

.bt-blog .tag a {
	color: inherit;
}

/* --------------------------------------------------
 カテゴリ別新着記事
 -------------------------------------------------- */
.bt-blog .cat-digest {
	margin: 0 0 46px;
}

.bt-blog .cat-digest-head-row {
	display: flex;
	align-items: baseline;
	gap: 10px;
	margin-bottom: 22px;
}

.bt-blog .cat-digest-head-row h2 {
	font-size: 19px;
	margin: 0;
}

.bt-blog .cat-digest-head-row .en {
	font-size: 11px;
	color: #aaa;
	letter-spacing: .1em;
}

.bt-blog .cat-digest-group {
	margin-bottom: 40px;
}

.bt-blog .cat-digest-group:last-child {
	margin-bottom: 0;
}

.bt-blog .cat-digest-group-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	margin-bottom: 20px;
	padding-bottom: 10px;
	border-bottom: 1px solid var(--bt-soft-line);
}

.bt-blog .cat-digest-group-title {
	display: flex;
	align-items: baseline;
	gap: 8px;
}

.bt-blog .cat-digest-group-title h3 {
	font-size: 15.5px;
	margin: 0;
	color: var(--bt-soft-text);
}

.bt-blog .cat-digest-group-title .count {
	font-size: 11px;
	color: #aaa;
}

.bt-blog .cat-digest-more {
	font-size: 12px;
	color: var(--bt-soft-accent);
	white-space: nowrap;
	flex-shrink: 0;
}

.bt-blog .cat-digest-more:hover {
	color: var(--bt-link);
}

.bt-blog .cat-digest-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 20px;
}

.bt-blog .cat-digest-card {
	border: 1px solid var(--bt-border);
	border-radius: 6px;
	overflow: hidden;
	background: #fff;
	transition: border-color .18s ease;
}

.bt-blog .cat-digest-card:hover {
	border-color: var(--bt-soft-accent-border);
}

.bt-blog .cat-digest-img-link {
	display: block;
}

.bt-blog .cat-digest-img {
	aspect-ratio: 16 / 9;
	overflow: hidden;
}

.bt-blog .cat-digest-img img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.bt-blog .cat-digest-body {
	padding: 14px;
}

.bt-blog .cat-digest-body .tag {
	margin-bottom: 8px;
}

.bt-blog .cat-digest-body h4 {
	font-size: 13.5px;
	line-height: 1.6;
	margin: 0 0 9px;
	font-weight: 500;
}

.bt-blog .cat-digest-body h4 a:hover {
	color: var(--bt-link);
}

.bt-blog .cat-digest-card-tags {
	display: flex;
	flex-wrap: wrap;
	gap: 5px;
	margin: 0 0 9px;
}

.bt-blog .cat-digest-card-tags a {
	font-size: 10px;
	padding: 2px 9px;
	border-radius: 999px;
	border: 1px solid var(--bt-border);
	color: var(--bt-soft-muted);
	background: #fafaf8;
	transition: border-color .18s, color .18s, background .18s;
}

.bt-blog .cat-digest-card-tags a:hover {
	border-color: var(--bt-soft-accent-border);
	color: var(--bt-soft-text);
	background: #f4f2ee;
}

.bt-blog .cat-digest-meta {
	display: flex;
	align-items: baseline;
	gap: 8px;
	font-size: 10.5px;
	color: #999;
	margin: -4px 0 9px;
}

.bt-blog .cat-digest-meta .readtime {
	display: inline-flex;
	align-items: baseline;
	gap: 4px;
}

.bt-blog .cat-digest-meta svg {
	width: 12px;
	height: 12px;
	stroke: currentColor;
	fill: none;
	stroke-width: 2;
	position: relative;
	top: 1.5px;
}

.bt-blog .cat-digest-updated {
	font-size: 10.5px;
	color: #aaa;
	padding-top: 8px;
	border-top: 1px dashed #eee;
}

/* インラインのままだとバッジの高さが端末のフォントで変わるため、行の高さを変えずに固定する */
.bt-blog .cat-digest-updated .updated-badge {
	display: inline-block;
	line-height: 14.5px;
	margin: -1px 0;
}

/* --------------------------------------------------
 2カラムレイアウト
 -------------------------------------------------- */
.bt-blog .layout {
	display: grid;
	grid-template-columns: 1fr 320px;
	gap: 48px;
	align-items: start;
	padding-bottom: 60px;
}

.bt-blog .main-col,
.bt-blog .side-col {
	min-width: 0;
}

.bt-blog .section-title {
	display: flex;
	align-items: baseline;
	gap: 10px;
	margin: 0 0 20px;
}

.bt-blog .section-title h2 {
	font-size: 19px;
	margin: 0;
}

.bt-blog .section-title .en {
	font-size: 11px;
	color: #aaa;
	letter-spacing: .1em;
}

.bt-blog .section-title-row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 20px;
	flex-wrap: wrap;
	gap: 10px;
	scroll-margin-top: 16px;
}

.bt-blog .section-title-row .section-title {
	margin: 0;
}

.bt-blog .sort-select-wrap {
	position: relative;
	flex-shrink: 0;
}

.bt-blog .sort-select {
	appearance: none;
	-webkit-appearance: none;
	font-size: 12.5px;
	padding: 8px 30px 8px 14px;
	border: 1px solid var(--bt-border);
	border-radius: 5px;
	color: var(--bt-text);
	background: #fff;
	cursor: pointer;
	outline: none;
}

.bt-blog .sort-select:focus {
	border-color: var(--bt-soft-accent-border);
	box-shadow: 0 0 0 3px rgba(110, 104, 95, .15);
}

.bt-blog .sort-select-wrap::after {
	content: "";
	position: absolute;
	right: 13px;
	top: 50%;
	width: 6px;
	height: 6px;
	border-right: 1.5px solid #9a9a9a;
	border-bottom: 1.5px solid #9a9a9a;
	transform: translateY(-70%) rotate(45deg);
	pointer-events: none;
}

/* --------------------------------------------------
 記事カード
 -------------------------------------------------- */
.bt-blog .bt-card-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 28px 22px;
}

.bt-blog .bt-card {
	border-bottom: 1px solid #f0f0f0;
	padding-bottom: 18px;
}

.bt-blog .bt-card-img {
	aspect-ratio: 16 / 9;
	border-radius: 4px;
	margin-bottom: 12px;
	overflow: hidden;
}

.bt-blog .bt-card-img img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.bt-blog .bt-card .tag {
	margin-bottom: 8px;
}

.bt-blog .bt-card h3 {
	font-size: 13.5px;
	line-height: 1.6;
	margin: 0 0 8px;
	font-weight: 500;
}

.bt-blog .bt-card h3 a:hover {
	color: var(--bt-link);
}

.bt-blog .bt-card p {
	font-size: 12px;
	color: var(--bt-text-muted);
	line-height: 1.75;
	margin: 0 0 10px;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.bt-blog .bt-card .meta {
	font-size: 11.5px;
	color: #999;
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 8px;
}

.bt-blog .bt-card .more {
	color: var(--bt-link);
	font-size: 11.5px;
}

.bt-blog .bt-card-tags {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	margin: 0 0 10px;
}

.bt-blog .bt-card-tags a {
	font-size: 10.5px;
	padding: 3px 11px;
	border-radius: 999px;
	border: 1px solid var(--bt-border);
	color: var(--bt-soft-muted);
	background: #fafaf8;
	transition: border-color .18s ease, color .18s ease, background .18s ease;
}

.bt-blog .bt-card-tags a:hover {
	border-color: var(--bt-soft-accent-border);
	color: var(--bt-soft-text);
	background: #f4f2ee;
}

.bt-blog .bt-card-updated {
	font-size: 11px;
	color: #aaa;
	margin-top: 8px;
	padding-top: 8px;
	border-top: 1px dashed #eee;
	display: flex;
	align-items: center;
	gap: 6px;
}

.bt-blog .updated-badge {
	flex-shrink: 0;
	font-size: 10px;
	font-weight: 700;
	color: #c0762b;
	background: #fbf1e5;
	padding: 2px 7px;
	border-radius: 3px;
	letter-spacing: .02em;
}

.bt-blog .meta-left {
	display: flex;
	align-items: center;
	gap: 8px;
	color: #999;
}

.bt-blog .meta-left .readtime {
	display: flex;
	align-items: center;
	gap: 3px;
}

.bt-blog .meta-left .readtime svg {
	width: 11px;
	height: 11px;
	stroke: currentColor;
	fill: none;
	stroke-width: 2;
}

.bt-blog .bt-card-empty {
	text-align: center;
	color: var(--bt-text-muted);
	font-size: 13px;
	padding: 40px 0;
}

.bt-blog .featured-meta-row {
	display: flex;
	align-items: center;
	gap: 14px;
	margin-top: 12px;
	flex-wrap: wrap;
}

.bt-blog .featured-date {
	font-size: 12px;
	color: rgba(255, 255, 255, .85);
}

.bt-blog .featured-readtime {
	font-size: 12px;
	color: rgba(255, 255, 255, .85);
	display: flex;
	align-items: center;
	gap: 4px;
}

.bt-blog .featured-readtime svg {
	width: 12px;
	height: 12px;
	stroke: currentColor;
	fill: none;
	stroke-width: 2;
}

/* --------------------------------------------------
 ページネーション
 -------------------------------------------------- */
.bt-blog .pagination {
	display: flex;
	justify-content: center;
	gap: 6px;
	margin-top: 44px;
	font-size: 13px;
}

.bt-blog .pagination a,
.bt-blog .pagination span {
	min-width: 32px;
	height: 32px;
	display: flex;
	align-items: center;
	justify-content: center;
	border: 1px solid var(--bt-border);
	border-radius: 4px;
	color: var(--bt-text);
}

.bt-blog .pagination .cur {
	background: var(--bt-navy);
	color: #fff;
	border-color: var(--bt-navy);
}

.bt-blog .pagination .next,
.bt-blog .pagination .prev {
	padding: 0 14px;
}

/* --------------------------------------------------
 お悩みから探す
 -------------------------------------------------- */
.bt-blog .persona-nav {
	margin: 18px 0 40px;
	padding: 20px 22px;
	background: var(--bt-bg-soft);
	border-radius: 8px;
}

.bt-blog .persona-nav-head {
	display: flex;
	align-items: baseline;
	gap: 8px;
	margin-bottom: 12px;
}

.bt-blog .persona-nav-head h2 {
	font-size: 14.5px;
	margin: 0;
}

.bt-blog .persona-nav-head span {
	font-size: 11px;
	color: #aaa;
}

.bt-blog .persona-list {
	display: flex;
	flex-wrap: wrap;
	gap: 9px;
}

.bt-blog .persona-list a {
	font-size: 12px;
	padding: 8px 16px;
	border-radius: 999px;
	background: #fff;
	border: 1px solid var(--bt-border);
	color: var(--bt-soft-text);
	font-weight: 500;
	transition: border-color .18s, color .18s;
}

.bt-blog .persona-list a:hover {
	border-color: var(--bt-soft-accent-border);
	color: var(--bt-link);
}

/* --------------------------------------------------
 サイドバー
 -------------------------------------------------- */
.bt-blog .side-block {
	margin-bottom: 40px;
}

.bt-blog .side-title {
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	gap: 0;
	padding-bottom: 18px;
	border-bottom: 1px solid var(--bt-soft-line);
	margin-bottom: 22px;
}

.bt-blog .side-title .icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	color: #c6c3be;
	font-size: 26px;
	line-height: 1;
	margin-bottom: 10px;
}

.bt-blog .side-title .icon svg {
	width: 26px;
	height: 26px;
}

.bt-blog .side-title-text {
	display: block;
	font-size: 17px;
	font-weight: 700;
	letter-spacing: .06em;
	color: var(--bt-soft-text);
	line-height: 1.3;
	margin-bottom: 4px;
}

.bt-blog .side-title-en {
	display: block;
	font-size: 10px;
	letter-spacing: .1em;
	color: #c6c3be;
	text-transform: uppercase;
	line-height: 1;
}

.bt-blog .side-search {
	display: flex;
	align-items: center;
	border: 1px solid var(--bt-border);
	border-radius: 6px;
	overflow: hidden;
	background: #fff;
}

.bt-blog .side-search input {
	flex: 1;
	min-width: 0;
	border: 0;
	padding: 11px 14px;
	font-size: 13px;
	color: var(--bt-text);
	background: transparent;
}

.bt-blog .side-search input::placeholder {
	color: #b0b0b0;
}

.bt-blog .side-search input:focus {
	outline: none;
}

.bt-blog .side-search button {
	flex-shrink: 0;
	width: 42px;
	height: 42px;
	border: 0;
	background: #f4f4f4;
	color: var(--bt-navy);
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	transition: background .18s;
}

.bt-blog .side-search button:hover {
	background: #ebe9e2;
}

.bt-blog .side-search button svg {
	width: 16px;
	height: 16px;
	stroke: currentColor;
	fill: none;
	stroke-width: 2.2;
}

.bt-blog .side-search-error {
	margin: 8px 0 0;
	font-size: 12px;
	line-height: 1.5;
	color: #c62828;
}

.bt-blog .side-search-tags {
	display: flex;
	flex-wrap: wrap;
	gap: 6px 8px;
	margin-top: 12px;
}

.bt-blog .side-search-tags span {
	font-size: 11px;
	color: #aaa;
	margin-right: 2px;
	padding-top: 3px;
}

.bt-blog .side-search-tags a {
	font-size: 11.5px;
	color: var(--bt-link);
}

.bt-blog .side-search-tags a::after {
	content: "・";
	color: #ccc;
	margin-left: 8px;
}

.bt-blog .side-search-tags a:last-child::after {
	content: "";
}

.bt-blog .rank-item {
	display: flex;
	gap: 12px;
	padding: 12px 0;
	border-bottom: 1px solid #f0f0f0;
	align-items: flex-start;
}

.bt-blog .rank-thumb-wrap {
	position: relative;
	flex-shrink: 0;
	border-radius: 4px;
	overflow: hidden;
}

.bt-blog .rank-thumb {
	width: 60px;
	height: 60px;
	flex-shrink: 0;
	overflow: hidden;
}

.bt-blog .rank-thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.bt-blog .rank-body .tag {
	font-size: 10px;
	padding: 2px 7px;
	margin-bottom: 5px;
}

.bt-blog .rank-body h4 {
	font-size: 12.5px;
	margin: 0;
	line-height: 1.6;
	font-weight: 500;
}

.bt-blog .rank-body h4 a:hover {
	color: var(--bt-link);
}

.bt-blog .rank-body .readtime {
	font-size: 10.5px;
	color: #aaa;
	margin-top: 4px;
	display: flex;
	align-items: center;
	gap: 4px;
}

.bt-blog .rank-body .readtime svg {
	width: 11px;
	height: 11px;
	stroke: currentColor;
	fill: none;
	stroke-width: 2;
	flex-shrink: 0;
}

.bt-blog .catlist {
	border: 1px solid var(--bt-border);
	border-radius: 6px;
	overflow: hidden;
}

.bt-blog .catlist a {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 13px 16px;
	font-size: 13px;
	border-bottom: 1px solid var(--bt-border);
	color: var(--bt-soft-muted);
	transition: background .18s ease, color .18s ease;
}

.bt-blog .catlist a:last-child {
	border-bottom: none;
}

.bt-blog .catlist a:hover,
.bt-blog .catlist a.active {
	background: var(--bt-bg-soft);
	color: var(--bt-soft-text);
	font-weight: 700;
}

.bt-blog .catlist .count {
	color: #aaa;
	font-size: 11.5px;
}

.bt-blog .catlist .label {
	display: flex;
	align-items: center;
}

.bt-blog .tagcloud {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.bt-blog .tagcloud a {
	font-size: 11px;
	padding: 5px 13px;
	border: 1px solid var(--bt-border);
	border-radius: 16px;
	color: #555;
	background: #fff;
}

.bt-blog .tagcloud a:hover,
.bt-blog .tagcloud a.active {
	border-color: var(--bt-soft-accent-border);
	color: var(--bt-navy);
	background: var(--bt-bg-soft);
	font-weight: 500;
}

.bt-blog .catalog-card {
	background: var(--bt-soft-panel);
	border: 1px solid var(--bt-soft-line);
	border-radius: 8px;
	padding: 24px 20px;
	text-align: center;
}

.bt-blog .catalog-thumb {
	width: 118px;
	margin: 0 auto 16px;
}

.bt-blog .catalog-thumb img {
	width: 100%;
	display: block;
	border: 1px solid var(--bt-soft-line);
	border-radius: 6px;
	background: #fff;
}

.bt-blog .catalog-eyebrow {
	font-size: 10.5px;
	letter-spacing: .15em;
	color: var(--bt-soft-muted);
	font-weight: 700;
	margin: 0 0 8px;
	text-transform: uppercase;
}

.bt-blog .catalog-title {
	font-size: 14px;
	margin: 0 0 8px;
	line-height: 1.5;
	color: #555;
	font-weight: 500;
}

.bt-blog .catalog-desc {
	font-size: 11.5px;
	color: var(--bt-soft-muted);
	margin: 0 0 18px;
	line-height: 1.75;
}

.bt-blog .catalog-btns {
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.bt-blog .catalog-btn {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	padding: 12px 16px;
	border: 1px solid var(--bt-soft-accent-border);
	border-radius: 999px;
	font-size: 12.5px;
	font-weight: 700;
	color: var(--bt-soft-accent);
	background: #fff;
	transition: background .18s, color .18s, border-color .18s;
}

.bt-blog .catalog-btn:hover {
	background: #f0efeb;
	color: var(--bt-soft-text);
	border-color: var(--bt-soft-accent-border);
}

.bt-blog .catalog-btn svg {
	width: 13px;
	height: 13px;
	stroke: currentColor;
	fill: none;
	stroke-width: 2.2;
	flex-shrink: 0;
}

.bt-blog .catalog-btn.is-recommend {
	background: #f3f1ed;
	border-color: var(--bt-soft-accent-border);
}

/* SP でのみ本文上に出す検索ブロック */
.bt-blog .sp-search-top {
	display: none;
}

/* --------------------------------------------------
 PC（901px 以上）: ピックアップの演出
 -------------------------------------------------- */
@media (min-width: 901px) {
	.bt-blog .hero-carousel {
		margin-bottom: 50px;
	}

	.bt-blog .hero-carousel .pickup-heading {
		margin: 0;
		padding: 25px 0;
	}

	/*
	 表示演出の初期状態（非表示）は <html> に .bt-blog-anim が付いたときだけ適用する。
	 このクラスは head 内のインラインスクリプトで初回描画前に付けるため、
	 「一度表示されてから消えて、また出てくる」というちらつきが起きない。
	 JS が動かなかった場合はクラスが付かず、演出なしでそのまま表示される。
	 */
	.bt-blog-anim .bt-blog .hero-carousel .pickup-heading {
		opacity: 0;
		transform: translateY(14px);
		transition: opacity .55s ease .05s, transform .55s ease .05s;
	}

	.bt-blog-anim .bt-blog .hero-carousel.is-visible .pickup-heading {
		opacity: 1;
		transform: translateY(0);
	}

	.bt-blog .pickup-heading-en {
		font-size: 38px;
	}

	.bt-blog .pickup-heading-jp {
		font-size: 11.5px;
	}

	.bt-blog .hero-slides {
		position: relative;
		z-index: 1;
		height: 384px;
		aspect-ratio: auto;
		background: transparent;
		border-radius: 0;
		box-shadow: none;
		overflow: visible;
		margin-bottom: 110px;
	}

	.bt-blog-anim .bt-blog .hero-carousel .hero-slides {
		opacity: 0;
		transition: opacity .5s ease .3s;
	}

	.bt-blog-anim .bt-blog .hero-carousel.is-visible .hero-slides {
		opacity: 1;
	}

	.bt-blog .hero-slide-link {
		position: relative;
		display: block;
		height: 100%;
		padding: 0;
		pointer-events: none;
	}

	.bt-blog .hero-slide-link .hero-slide-media,
	.bt-blog .hero-slide-link .hero-slide-body {
		pointer-events: auto;
	}

	.bt-blog .hero-slide-media {
		position: absolute;
		inset: auto;
		width: 100%;
		height: 100%;
		border-radius: 0;
		box-shadow: none;
		overflow: hidden;
	}

	.bt-blog-anim .bt-blog .hero-carousel .hero-slide-media {
		opacity: 0;
		transform: translateX(-90px);
		transition: opacity .7s cubic-bezier(.16, 1, .3, 1) .38s, transform .7s cubic-bezier(.16, 1, .3, 1) .38s;
	}

	.bt-blog-anim .bt-blog .hero-carousel.is-visible .hero-slide-media {
		opacity: 1;
		transform: translateX(0);
	}

	.bt-blog .hero-slide-scrim {
		display: none;
	}

	.bt-blog .hero-slide-body {
		position: absolute;
		right: 0;
		bottom: 0;
		left: auto;
		width: 50%;
		max-width: 450px;
		height: 100%;
		color: var(--bt-soft-text);
		justify-content: center;
		padding: 40px;
		z-index: 2;
		overflow: hidden;
	}

	/* 背景のすりガラス面。演出では本文より先に下からせり上がる */
	.bt-blog .hero-slide-body::before {
		content: '';
		position: absolute;
		inset: 0;
		z-index: 0;
		background: rgb(255 255 255 / 62%);
		backdrop-filter: blur(10px);
		-webkit-backdrop-filter: blur(10px);
	}

	.bt-blog .hero-slide-body > * {
		position: relative;
		z-index: 1;
	}

	.bt-blog-anim .bt-blog .hero-carousel .hero-slide-body::before {
		transform: translateY(100%);
		transition: transform .6s cubic-bezier(.16, 1, .3, 1) .6s;
	}

	.bt-blog-anim .bt-blog .hero-carousel.is-visible .hero-slide-body::before {
		transform: translateY(0);
	}

	.bt-blog-anim .bt-blog .hero-carousel .hero-slide-body > * {
		opacity: 0;
		transform: translateY(16px);
		transition: opacity .5s ease .95s, transform .5s ease .95s;
	}

	/*
	 上の `> *` は transition ショートハンドなので、子が自前で持つ transition を置換してしまう。
	 CTA は hover で背景色・文字色が変わるため、演出用の遷移に元の遷移を足し戻す。
	 `.hero-slide-body` の直下に独自 transition を持つ子を増やすときは、同様に足し戻すこと。
	 */
	.bt-blog-anim .bt-blog .hero-carousel .hero-slide-body > .hero-slide-cta {
		transition: opacity .5s ease .95s, transform .5s ease .95s,
			background .25s ease, color .25s ease, border-color .25s ease;
	}

	.bt-blog-anim .bt-blog .hero-carousel.is-visible .hero-slide-body > * {
		opacity: 1;
		transform: translateY(0);
	}

	.bt-blog .hero-slide-body .tag {
		color: var(--bt-soft-accent);
		background: rgba(241, 239, 235, .85);
	}

	.bt-blog .hero-slide-body h2 {
		font-size: 22px;
		line-height: 1.6;
		color: var(--bt-soft-text);
		letter-spacing: .01em;
		height: calc(1.6em * 3);
	}

	.bt-blog .hero-slide-body .featured-date,
	.bt-blog .hero-slide-body .featured-readtime {
		color: var(--bt-soft-muted);
	}

	.bt-blog .hero-slide-cta {
		display: inline-flex;
		align-items: center;
		gap: 8px;
		margin-top: 22px;
		padding: 12px 32px;
		background: #6e685f;
		border-radius: 0;
		color: #fff;
		font-size: 12.5px;
		font-weight: 700;
		letter-spacing: .04em;
		transition: background .25s ease, color .25s ease, border-color .25s ease;
	}

	.bt-blog .hero-slide-link:hover .hero-slide-img {
		transform: none;
	}

	.bt-blog .hero-slide-link:hover .hero-slide-cta {
		background: #6e685f;
		color: #fff;
		border-color: transparent;
	}

	.bt-blog .hero-slide-link:has(.hero-slide-media:hover, .hero-slide-body:hover) .hero-slide-img {
		transform: scale(1.05);
	}

	.bt-blog .hero-slide-link:has(.hero-slide-media:hover, .hero-slide-body:hover) .hero-slide-cta {
		background: #3f5fa0;
		color: #fff;
		border-color: #3f5fa0;
	}

	.bt-blog .hero-thumbs {
		position: absolute;
		z-index: 2;
		left: -16px;
		bottom: -85px;
		top: auto;
		right: auto;
		transform: none;
		background: #fff;
		overflow: visible;
		flex-wrap: wrap;
	}

	.bt-blog-anim .bt-blog .hero-carousel .hero-thumbs {
		opacity: 0;
		transform: translateY(18px);
		transition: opacity .6s ease .78s, transform .6s ease .78s;
	}

	.bt-blog-anim .bt-blog .hero-carousel.is-visible .hero-thumbs {
		opacity: 1;
		transform: translateY(0);
	}

	.bt-blog .cat-digest-head-row h2,
	.bt-blog .section-title h2 {
		font-size: 22px;
	}

	.bt-blog .persona-nav {
		margin: 0 0 60px;
	}
}

@media (prefers-reduced-motion: reduce) {

	.bt-blog .hero-carousel .hero-slides,
	.bt-blog .hero-carousel .hero-slide-media,
	.bt-blog .hero-carousel .hero-slide-body,
	.bt-blog .hero-carousel .hero-slide-body::before,
	.bt-blog .hero-carousel .hero-slide-body > *,
	.bt-blog .hero-carousel .pickup-heading {
		transition: none !important;
		opacity: 1 !important;
		transform: none !important;
	}

	.bt-blog .hero-carousel .hero-thumbs {
		transition: none !important;
		opacity: 1 !important;
		transform: translateY(0) !important;
	}
}

/* --------------------------------------------------
 タブレット以下（900px 以下）
 -------------------------------------------------- */
@media (max-width: 900px) {
	.bt-blog .layout {
		grid-template-columns: 1fr;
	}

	.bt-blog .bt-card-grid {
		grid-template-columns: repeat(2, 1fr);
	}

	.bt-blog .persona-list {
		gap: 7px;
	}

	.bt-blog .persona-list a {
		font-size: 11.5px;
		padding: 6px 12px;
	}

	.bt-blog .hero-slides {
		aspect-ratio: 5 / 5;
	}

	.bt-blog .hero-slide-scrim {
		background: linear-gradient(0deg, rgba(0, 0, 0, .7) 0%, rgba(0, 0, 0, .2) 48%, rgba(0, 0, 0, 0) 68%);
	}

	.bt-blog .hero-slide-body {
		position: absolute;
		top: auto;
		left: 0;
		right: 0;
		bottom: 0;
		width: auto;
		max-width: none;
		height: auto;
		display: block;
		padding: 20px 20px 22px;
	}

	.bt-blog .hero-slide-body h2 {
		font-size: 15px;
	}

	.bt-blog .featured-meta-row {
		margin-top: 2px;
	}

	.bt-blog .hero-slide-cta {
		margin-top: 14px;
		padding: 8px 18px;
		font-size: 11.5px;
	}

	.bt-blog .section-title {
		flex-direction: column;
		align-items: flex-start;
		gap: 2px;
	}

	.bt-blog .side-block-search {
		display: none;
	}

	.bt-blog .sp-search-top {
		display: block;
		margin: 0 0 36px;
		padding: 20px 22px;
		background: var(--bt-bg-soft);
		border-radius: 8px;
	}

	.bt-blog .sp-search-top .side-title {
		border-bottom-color: var(--bt-soft-line);
	}

	.bt-blog .persona-nav {
		margin-bottom: 45px;
	}

	.bt-blog .page-head h1 {
		font-size: 24px;
	}

	.bt-blog .page-head p {
		font-size: 12px;
	}

	.bt-blog .cat-digest-grid {
		display: flex;
		flex-wrap: nowrap;
		gap: 14px;
		overflow-x: auto;
		-webkit-overflow-scrolling: touch;
		scrollbar-width: none;
		margin: 0 -4px;
		padding: 0 4px 2px;
	}

	.bt-blog .cat-digest-grid::-webkit-scrollbar {
		display: none;
	}

	.bt-blog .cat-digest-card {
		flex: 0 0 auto;
		width: 220px;
	}

	/*
	 タブレット以下（900px 以下）ではタブを詰めて表示し、1px の縦のはみ出しを padding で吸収して
	 上下に動く余地をなくす。transform はデザインモックの指定に合わせたもの。
	 */
	.bt-blog .blog-catnav {
		gap: 0;
		padding: 0 0 1px;
		-webkit-transform: translateZ(0);
		transform: translateZ(0);
	}

	.bt-blog .blog-catnav a {
		flex: 0 0 auto;
		touch-action: manipulation;
	}
}

/* --------------------------------------------------
 スマートフォン（560px 以下）
 -------------------------------------------------- */
@media (max-width: 560px) {
	.bt-blog__wrap {
		padding: 0 16px;
	}

	.bt-blog .bt-card-grid {
		grid-template-columns: repeat(2, 1fr);
		gap: 22px 12px;
	}

	.bt-blog .bt-card p {
		display: none;
	}

	.bt-blog .bt-card h3 {
		font-size: 13px;
		-webkit-line-clamp: 3;
		line-clamp: 3;
		display: -webkit-box;
		-webkit-box-orient: vertical;
		overflow: hidden;
	}

	.bt-blog .bt-card .meta {
		flex-wrap: wrap;
		gap: 4px 8px;
	}

	.bt-blog .bt-card .more {
		display: none;
	}

	.bt-blog .persona-nav {
		padding: 16px;
		margin-bottom: 45px;
	}

	.bt-blog .sp-search-top {
		padding: 16px;
		margin-bottom: 32px;
	}

	.bt-blog .section-title-row {
		align-items: flex-start;
	}

	.bt-blog .hero-thumb {
		padding: 8px 8px 10px;
	}

	.bt-blog .hero-thumb-img {
		width: 40px;
		height: 40px;
	}

	.bt-blog .hero-thumb.active {
		padding-right: 10px;
	}

	.bt-blog .hero-thumb.active .hero-thumb-text {
		margin-left: 10px;
		max-width: 130px;
	}

	.bt-blog .hero-thumb-title {
		font-size: 11px;
		line-height: 1.5;
		width: 130px;
	}

	.bt-blog .hero-thumb-progress {
		left: 8px;
		right: 8px;
	}

	.bt-blog .cat-digest-card {
		width: 168px;
	}

	.bt-blog .cat-digest-body {
		padding: 10px;
	}

	.bt-blog .cat-digest-body h4 {
		font-size: 12.5px;
	}

	.bt-blog .cat-digest-card-tags {
		display: none;
	}

	.bt-blog .cat-digest-group-title h3 {
		font-size: 14px;
	}

	.bt-blog .cat-digest-head-row {
		align-items: flex-start;
	}

	.bt-blog .cat-digest-head-row h2 {
		width: 57%;
	}
}
