/* ============================================================
   taianbridge.blog ホーム(Figma「메인」 node 1:2、2026-11-13)
   基準幅 1920px：ヘッダー内側 1632(左右144)、ヒーロー 1812(左右54)、本文 1220(左右350)
   ============================================================ */
:root {
	--tbh-navy: #00406e;
	--tbh-ink: #454545;
	--tbh-font: 'Pretendard JP Variable', 'Pretendard JP', 'Noto Sans JP', sans-serif;
}

body.taian-home-1113 {
	margin: 0;
	background: #fff !important;
	color: #000;
	font-family: var(--tbh-font);
	-webkit-font-smoothing: antialiased;
}
.tbh { display: flow-root; width: 100%; min-width: 0; }
.tbh a { text-decoration: none; }
.tbh img { max-width: 100%; height: auto; }

/* ---------- ヘッダー(高さ38・文字12px・#454545) ---------- */
.tbh-header { background: #fff; }
.tbh-header-inner {
	max-width: 1632px;
	margin: 0 auto;
	padding: 8px 24px 7px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	min-height: 38px;
	box-sizing: border-box;
}
.tbh-brand { display: flex; align-items: center; gap: 0; min-width: 0; }
.tbh-brand-name {
	margin: 0;
	font-size: 12px;
	font-weight: 800;
	line-height: 23px;
	letter-spacing: 1px;
	white-space: nowrap;
}
.tbh-brand-name a { color: var(--tbh-ink); }
.tbh-brand-sep {
	display: inline-block;
	width: 1px;
	height: 15px;
	background: var(--tbh-ink);
	margin: 0 12px 0 14px;
	flex: 0 0 auto;
}
.tbh-brand-tag {
	margin: 0;
	font-size: 12px;
	font-weight: 400;
	line-height: 23px;
	letter-spacing: 1px;
	color: var(--tbh-ink);
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}
.tbh-nav { display: flex; gap: 10px; flex: 0 0 auto; }
.tbh-nav-btn {
	display: inline-flex;
	align-items: center;
	height: 23px;
	box-sizing: border-box;
	border: 1px solid var(--tbh-ink);
	padding: 0 14px;
	font-size: 12px;
	font-weight: 800;
	line-height: 1;
	letter-spacing: 1px;
	color: var(--tbh-ink);
	white-space: nowrap;
	transition: background .15s ease, color .15s ease;
}
.tbh-nav-btn:hover { background: var(--tbh-ink); color: #fff; }
.tbh-nav-btn--site { min-width: 199px; }
.tbh-nav-btn--sns { min-width: 80px; padding: 0 12px; }
.tbh-nav-btn--line { min-width: 117px; padding: 0 14px 0 17px; gap: 3px; }
.tbh-nav-btn--line img { width: 12px; height: 12px; flex: 0 0 auto; }

/* ---------- ヒーロー(1812×796・角丸80・動画＋35%の影) ---------- */
.tbh-hero {
	position: relative;
	margin: 0 54px;
	max-width: 1812px;
	aspect-ratio: 1812 / 796;
	border-radius: 80px;
	background: var(--tbh-navy);
	overflow: hidden;
	isolation: isolate;
}
@media (min-width: 1921px) {
	.tbh-hero { margin: 0 auto; }
}
.tbh-hero-video,
.tbh-hero-shade {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
}
.tbh-hero-video { object-fit: cover; object-position: center; display: block; }
.tbh-hero-shade { background: rgba(0, 0, 0, 0.35); }
.tbh-hero-body {
	position: absolute;
	inset: 0;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	/* デザインでは中央よりやや上(プロフィール上端＝高さの33.9%) */
	transform: translateY(-3.2%);
	z-index: 1;
}
.tbh-hero-profile {
	width: 109px;
	height: 109px;
	border-radius: 50%;
	object-fit: cover;
	display: block;
	background: #fff;
}
.tbh-hero-box {
	display: flex;
	align-items: center;
	justify-content: center;
	margin-top: 29px;
	width: 246px;
	height: 67px;
	box-sizing: border-box;
	border: 1px solid #fff;
	background: rgba(255, 255, 255, 0.1);
	color: #fff;
	font-size: 20px;
	font-weight: 800;
	letter-spacing: 0;
	transition: background .15s ease;
}
.tbh-hero-box:hover { background: rgba(255, 255, 255, 0.2); color: #fff; }

/* ---------- 記事一覧(本文幅1220・4列280・間33) ---------- */
.tbh-main {
	max-width: 1268px;
	margin: 0 auto;
	padding: 78px 24px 81px;
	box-sizing: border-box;
}
.tbh-list-head {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	margin: 0 0 9px;
}
.tbh-list-more {
	font-size: 12px;
	font-weight: 400;
	line-height: 17px;
	letter-spacing: 1px;
	color: #000;
	text-decoration: underline;
	text-underline-offset: 2px;
	margin-right: -3px; /* 字間1px＋「＞」の右側の空きぶん。右端をカード右端に合わせる */
}
.tbh-list-more:hover { color: var(--tbh-navy); text-decoration: underline; }
.tbh-list-label {
	margin: 0 0 0 1px;
	font-size: 12px;
	font-weight: 400;
	line-height: 17px;
	letter-spacing: 1px;
	color: #000;
}
.tbh-cards {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(4, 280px);
	justify-content: space-between;
	gap: 0 33px;
}
.tbh-card { margin: 0; min-width: 0; }
.tbh-card-thumb {
	display: block;
	width: 100%;
	aspect-ratio: 280 / 279;
	background: #d9d9d9;
	overflow: hidden;
}
.tbh-card-thumb { display: flex; align-items: center; justify-content: center; }
.tbh-card-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.tbh-card-thumb img.tbh-card-logo { width: 62%; height: auto; object-fit: contain; }
.tbh-card-title {
	margin: 13px 0 0;
	font-size: 14px;
	font-weight: 700;
	line-height: 17px;
	letter-spacing: 1px;
	text-align: justify;
	height: 35px;
	overflow: hidden;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	word-break: break-word;
}
.tbh-card-title a { color: #000; }
.tbh-card-title a:hover { color: var(--tbh-navy); }
.tbh-card-desc {
	margin: 19px 0 0;
	font-size: 14px;
	font-weight: 300;
	line-height: 17px;
	letter-spacing: 1px;
	text-align: justify;
	color: #000;
	height: 103px;
	overflow: hidden;
	display: -webkit-box;
	-webkit-line-clamp: 6;
	-webkit-box-orient: vertical;
	word-break: break-word;
}

/* ---------- フッター(高さ287・#00406e) ---------- */
.tbh-footer {
	background: var(--tbh-navy);
	color: #fff;
	min-height: 287px;
	box-sizing: border-box;
}
.tbh-footer-inner {
	max-width: 1268px;
	margin: 0 auto;
	padding: 47px 24px 42px;
	box-sizing: border-box;
}
.tbh-footer-logo { display: block; width: 173px; height: 66px; opacity: .9; margin-left: 1px; }
.tbh-footer-copy {
	margin: 10px 0 0;
	font-size: 13px;
	font-weight: 400;
	line-height: 20px;
	color: #fafafa;
}
.tbh-footer-links {
	margin: 21px 0 0;
	display: flex;
	align-items: center;
	font-size: 13px;
	font-weight: 400;
	line-height: 20px;
	color: #fff;
}
.tbh-footer-links a { color: #fff; }
.tbh-footer-links a:hover { text-decoration: underline; }
.tbh-footer-sep {
	display: inline-block;
	width: 1px;
	height: 10px;
	background: #fff;
	margin: 0 12px 0 14px;
}
.tbh-social {
	list-style: none;
	margin: 16px 0 0;
	padding: 0;
	display: flex;
	gap: 16px;
}
.tbh-social li { margin: 0; }
.tbh-social a { display: block; width: 45px; height: 45px; border-radius: 50%; transition: opacity .15s ease; }
.tbh-social a:hover { opacity: .85; }
.tbh-social img { width: 45px; height: 45px; display: block; }

/* ---------- 記事一覧(Figma「목록」)：ヒーロー 1812×422、本文幅 768、2列×363・間42 ---------- */
.tbh-hero--short { aspect-ratio: 1812 / 422; }
.tbh-hero--short .tbh-hero-body { transform: none; }
.tbh-main--list { max-width: 816px; padding: 68px 24px 52px; }
.tbh-list-head--list { align-items: center; margin: 0 0 21px; }
.tbh-list-title {
	margin: 0;
	font-size: 17px;
	font-weight: 500;
	line-height: 1.2;
	letter-spacing: 0;
	color: #000;
}
.tbh-search {
	position: relative;
	width: 228px;
	height: 41px;
	box-sizing: border-box;
	background: #f0f0f3;
	border: 1px solid rgba(69, 69, 69, 0.2);
	margin: 0;
}
.tbh-search-input {
	width: 100%;
	height: 100%;
	box-sizing: border-box;
	border: 0;
	background: transparent;
	padding: 0 48px 0 14px;
	font-family: var(--tbh-font);
	font-size: 13px;
	color: #454545;
	outline: none;
	border-radius: 0;
	-webkit-appearance: none;
}
.tbh-search-input::-webkit-search-decoration,
.tbh-search-input::-webkit-search-cancel-button { -webkit-appearance: none; }
.tbh-search-btn {
	position: absolute;
	top: 0;
	right: 0;
	width: 48px;
	height: 100%;
	border: 0;
	background: transparent;
	padding: 0 20px 0 0;
	display: flex;
	align-items: center;
	justify-content: flex-end;
	cursor: pointer;
}
.tbh-search-btn img { width: 19px; height: 19px; display: block; }
.tbh-cards--list {
	grid-template-columns: repeat(2, 363px);
	justify-content: space-between;
	gap: 58px 42px;
}
.tbh-cards--list .tbh-card-thumb { aspect-ratio: 363 / 361; }
.tbh-cards--list .tbh-card-title {
	margin-top: 17px;
	color: #454545;
	height: auto;
	min-height: 34px;
	max-height: 51px;
	-webkit-line-clamp: 3;
}
.tbh-cards--list .tbh-card-title a { color: #454545; }
.tbh-cards--list .tbh-card-title a:hover { color: var(--tbh-navy); }
.tbh-card-date {
	margin: 7px 0 0;
	font-size: 12px;
	font-weight: 400;
	line-height: 17px;
	letter-spacing: 1px;
	color: #a2a2a2;
}
.tbh-cards--list .tbh-card-desc {
	margin-top: 19px;
	font-weight: 400;
	color: #454545;
	height: 68px;
	-webkit-line-clamp: 4;
}
.tbh-empty { margin: 40px 0; font-size: 14px; color: #454545; }

/* ページ送り：番号 17px Medium #434343、現在ページは紺の円(30px)に白文字 */
.tbh-pager {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 14px;
	margin: 126px 0 0;
}
.tbh-pager-num {
	display: flex;
	align-items: center;
	justify-content: center;
	min-width: 30px;
	height: 30px;
	font-size: 17px;
	font-weight: 500;
	color: #434343;
	line-height: 1;
}
.tbh-pager-num:hover { color: var(--tbh-navy); }
.tbh-pager-num.is-current {
	color: #fff;
	background: url("img/page-current.svg") center / 47.4px 47.4px no-repeat;
}
.tbh-pager-arrow {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 30px;
	height: 30px;
}
.tbh-pager-arrow img { width: 9px; height: 9px; display: block; }
.tbh-pager-next img { transform: rotate(-45deg); }
.tbh-pager-prev img { transform: rotate(135deg); }

/* トップへ戻る(右下固定、デザインの 48px 紺円＋影) */
.tbh-back-top {
	position: fixed;
	right: 36px;
	bottom: 40px;
	width: 56px;
	height: 56px;
	z-index: 50;
	opacity: 0;
	pointer-events: none;
	transition: opacity .2s ease;
}
.tbh-back-top.is-visible { opacity: 1; pointer-events: auto; }
.tbh-back-top img { width: 56px; height: 56px; display: block; }

/* ---------- 記事ページ(Figma「게시글」)：本文幅 768、タイトル 30px/42、本文 15px/17 ---------- */
.tbh-main--single { max-width: 816px; padding: 48px 24px 0; }
.tbh-article-title {
	margin: 0;
	font-size: 30px;
	font-weight: 700;
	line-height: 42px;
	letter-spacing: 1px;
	color: #454545;
	word-break: break-word;
}
.tbh-article-meta {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	margin: 49px 0 0;
	padding-bottom: 17px;
	border-bottom: 0.5px solid #a2a2a2;
}
.tbh-article-author {
	display: inline-flex;
	align-items: center;
	gap: 14px;
	font-size: 12px;
	font-weight: 800;
	letter-spacing: 1px;
	line-height: 17px;
	color: #454545;
}
.tbh-article-author span { text-decoration: underline; text-underline-position: from-font; }
.tbh-article-author:hover { color: var(--tbh-navy); }
.tbh-article-avatar {
	width: 32px;
	height: 32px;
	border-radius: 50%;
	box-sizing: border-box;
	border: 0.3px solid #989898;
	background: #d9d9d9;
	display: block;
}
.tbh-article-dates {
	margin: 0;
	display: flex;
	flex-direction: column;
	align-items: flex-end;
	font-size: 12px;
	font-weight: 500;
	line-height: 17px;
	letter-spacing: 1px;
	color: #a2a2a2;
	text-align: right;
}
.tbh-article-body {
	margin-top: 26px;
	font-size: 15px;
	font-weight: 400;
	line-height: 17px;
	letter-spacing: 0;
	color: #454545;
	text-align: justify;
	word-break: break-word;
	overflow-wrap: anywhere;
}
.tbh-article-body > * { margin: 0 0 17px; }
.tbh-article-body > *:last-child { margin-bottom: 0; }
.tbh-article-body h2 {
	font-size: 20px;
	font-weight: 800;
	line-height: 1.4;
	color: #454545;
	margin: 34px 0 17px;
	text-align: left;
}
.tbh-article-body h3 { font-size: 17px; font-weight: 700; line-height: 1.4; margin: 30px 0 14px; text-align: left; }
.tbh-article-body h4 { font-size: 15px; font-weight: 700; line-height: 1.4; margin: 24px 0 12px; text-align: left; }
.tbh-article-body h2:first-child, .tbh-article-body h3:first-child { margin-top: 0; }
.tbh-article-body p { margin: 0 0 17px; }
.tbh-article-body a { color: var(--tbh-navy); text-decoration: underline; }
.tbh-article-body strong { font-weight: 700; }
.tbh-article-body ul, .tbh-article-body ol { padding-left: 1.4em; }
.tbh-article-body li { margin: 0 0 6px; }
.tbh-article-body img, .tbh-article-body figure, .tbh-article-body iframe, .tbh-article-body video { max-width: 100%; height: auto; }
.tbh-article-body figure { margin: 0 0 17px; }
.tbh-article-body img { display: block; }
.tbh-article-body blockquote { margin: 0 0 17px; padding: 12px 18px; border-left: 3px solid var(--tbh-navy); background: #f7f7f9; }
.tbh-article-body table { border-collapse: collapse; width: 100%; font-size: 14px; }
.tbh-article-body th, .tbh-article-body td { border: 1px solid #ddd; padding: 8px 10px; text-align: left; }
.tbh-article-body th { background: #f0f0f3; font-weight: 700; }

/* 記事下「タイアンブリッジの公式情報」(taian-links.php が本文末尾に付ける aside をデザインの紺ボックスに) */
.tbh-article-body .taian-post-guide {
	position: relative;
	margin: 48px 0 0;
	min-height: 202px;
	box-sizing: border-box;
	padding: 37px 24px 38px 290px;
	background: var(--tbh-navy);
	color: #fff;
	border: 0;
	border-radius: 0;
	text-align: left;
}
.tbh-article-body .taian-post-guide::before {
	content: "";
	position: absolute;
	left: 103px;
	top: 31px;
	width: 138px;
	height: 138px;
	border-radius: 50%;
	background: #fff url("img/profile.png") center / cover no-repeat;
}
.tbh-article-body .taian-post-guide-title {
	margin: 0 0 17px;
	font-size: 18px;
	font-weight: 800;
	line-height: 22px;
	color: #fff;
}
.tbh-article-body .taian-post-guide-body {
	margin: 0 0 9px;
	font-size: 14px;
	font-weight: 500;
	line-height: 22px;
	color: #fff;
	max-width: 374px;
}
.tbh-article-body .taian-post-guide-body a { color: #fff; font-weight: 500; text-decoration: underline; text-underline-position: from-font; }
.tbh-article-body .taian-post-guide-actions { margin: 0; display: flex; gap: 14px; flex-wrap: wrap; }
.tbh-article-body .taian-guide-btn,
.tbh-article-body .taian-guide-btn-primary,
.tbh-article-body .taian-guide-btn-ghost {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 148px;
	height: 35px;
	padding: 0;
	box-sizing: border-box;
	background: #fff !important;
	color: var(--tbh-navy) !important;
	border: 0 !important;
	border-radius: 0;
	font-size: 14px;
	font-weight: 500;
	line-height: 22px;
	text-decoration: none !important;
	opacity: 1;
}
.tbh-article-body .taian-guide-btn:hover { background: #e9eef3 !important; color: var(--tbh-navy) !important; }

/* 前の記事／記事一覧／次の記事 */
.tbh-postnav {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin: 67px 0 0;
	font-size: 12px;
	font-weight: 400;
	line-height: 17px;
	letter-spacing: 1px;
	color: #454545;
}
.tbh-postnav a { color: #454545; display: inline-flex; align-items: center; gap: 4px; }
.tbh-postnav a:hover { color: var(--tbh-navy); }
.tbh-postnav img { width: 16px; height: 16px; display: block; }
.tbh-postnav-prev, .tbh-postnav-next { flex: 1 1 0; }
.tbh-postnav-next { justify-content: flex-end; }
.tbh-postnav-list { flex: 0 0 auto; }

/* 関連カード(ホームと同じ4列。説明文は Regular) */
.tbh-related { padding-top: 67px; padding-bottom: 135px; }
.tbh-card-desc--regular { font-weight: 400; }

/* ---------- レスポンシブ ---------- */
@media (max-width: 1300px) {
	.tbh-cards { grid-template-columns: repeat(2, minmax(0, 280px)); justify-content: center; gap: 40px 33px; }
}
@media (max-width: 1100px) {
	.tbh-brand-tag { display: none; }
	.tbh-brand-sep { display: none; }
}
@media (max-width: 900px) {
	.tbh-main--single { padding: 32px 16px 0; }
	.tbh-article-title { font-size: 24px; line-height: 34px; }
	.tbh-article-meta { margin-top: 28px; }
	.tbh-article-body .taian-post-guide { padding: 24px 20px; }
	.tbh-article-body .taian-post-guide::before { position: static; display: block; width: 96px; height: 96px; margin: 0 auto 16px; }
	.tbh-article-body .taian-post-guide-body { max-width: none; }
	.tbh-related { padding-top: 48px; padding-bottom: 56px; }
	.tbh-postnav { margin-top: 44px; }
	.tbh-cards--list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px 24px; }
	.tbh-cards--list .tbh-card-thumb { aspect-ratio: 1 / 1; }
	.tbh-hero--short { aspect-ratio: 16 / 9; }
	.tbh-main--list { padding: 40px 16px 40px; }
	.tbh-pager { margin-top: 64px; }
	.tbh-back-top { right: 16px; bottom: 20px; }
	.tbh-header-inner { flex-wrap: wrap; justify-content: center; gap: 8px 10px; padding: 10px 16px; }
	.tbh-nav { flex-wrap: wrap; justify-content: center; }
	.tbh-nav-btn--site, .tbh-nav-btn--sns, .tbh-nav-btn--line { min-width: 0; }
	.tbh-hero { margin: 0 16px; aspect-ratio: 4 / 3; border-radius: 28px; }
	.tbh-hero-body { transform: translateY(-2%); }
	.tbh-main { padding: 48px 16px 56px; }
	.tbh-footer-inner { padding: 36px 16px 32px; }
}
@media (max-width: 640px) {
	.tbh-cards--list { grid-template-columns: minmax(0, 1fr); gap: 32px; }
	.tbh-cards--list .tbh-card-thumb { aspect-ratio: 16 / 10; }
	.tbh-list-head--list { flex-wrap: wrap; gap: 12px; }
	.tbh-search { width: 100%; }
	.tbh-hero--short { aspect-ratio: 4 / 3; }
	.tbh-nav { gap: 6px; }
	.tbh-nav-btn { padding: 0 9px; letter-spacing: .5px; }
	.tbh-nav-btn--line { padding: 0 9px 0 10px; }
	.tbh-cards { grid-template-columns: minmax(0, 1fr); gap: 32px; }
	.tbh-card-thumb { aspect-ratio: 16 / 10; }
	.tbh-hero { aspect-ratio: 3 / 4; }
	.tbh-hero-profile { width: 88px; height: 88px; }
	.tbh-hero-box { width: 210px; height: 58px; font-size: 18px; margin-top: 22px; }
	.tbh-social { flex-wrap: wrap; }
}
