/* ==========================================================================
   鯉平本体 → 鯉平メンテナンスへの導線（①〜⑥）
   見本：000claude000/mockup/鯉平HP_誘導配置案/
   inc/maint-koihei-links.php から鯉平本体側のページだけで読み込む
   （メンテナンスサイト側では読み込まないので、色は直接指定）
   ========================================================================== */

.koihei-maint-icon {
	display: inline-block;
	flex-shrink: 0;
	width: 12px;
	height: 12px;
	vertical-align: middle;
}

/* 見本で Noto Sans JP の部分（Webフォントは読み込まない。端末の和文ゴシックで表示） */
.header-btn-maint,
.koihei-maint-banner__eyebrow,
.koihei-maint-banner__note,
.koihei-maint-banner__btn,
.koihei-skewer-tag,
.koihei-skewer-panel__text,
.koihei-skewer-panel__to,
.koihei-skewer-panel__btn,
.koihei-skewer-contact__tel {
	font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Yu Gothic", YuGothic, Meiryo, sans-serif;
}


/* --------------------------------------------------------------------
   ① ヘッダー：リクルートボタンの左に白いボタン
-------------------------------------------------------------------- */
.header-bar .header-button {
	display: flex;
	align-items: stretch;
}

.header-bar .header-btn-maint {
	display: flex;
	align-items: center;
	gap: 8px;
	height: 40px;
	padding: 0 22px;
	font-size: 14px;
	font-weight: 700;
	line-height: 1;
	color: #1B4F9C;
	text-decoration: none;
	background: #fff;
	transition: opacity 0.2s ease;
}

.header-bar .header-btn-maint:hover {
	color: #1B4F9C;
	opacity: 0.85;
}

/* SPのメニュー内：リクルートボタンの上に縦に並べる */
.header-nav-sp-items .header-button {
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.header-nav-sp-items .header-btn-maint {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	box-sizing: border-box;
	height: 40px;            /* 親テーマのリクルートボタンと同じ高さ */
	padding: 0 15px;
	font-size: 14px;
	font-weight: 700;
	line-height: 1;
	color: #1B4F9C;
	text-decoration: none;
	background: #fff;
}


/* --------------------------------------------------------------------
   ②⑤ 横長バナー
-------------------------------------------------------------------- */
.koihei-maint-banner {
	margin: 0 0 56px;
}

.koihei-maint-banner__link,
.post-content .koihei-maint-banner__link {
	display: flex;
	overflow: hidden;
	color: #222;
	text-decoration: none;
	background: #fff;
	border-radius: 8px;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
	transition: box-shadow 0.2s ease;
}

.koihei-maint-banner__link:hover,
.post-content .koihei-maint-banner__link:hover {
	color: #222;
	text-decoration: none;
	box-shadow: 0 4px 16px rgba(0, 0, 0, 0.14);
}

/* 写真はバナーの高さいっぱいに（文字が折り返して高くなっても下が空かない） */
.koihei-maint-banner__media {
	position: relative;
	display: block;
	flex-shrink: 0;
	width: 320px;
	min-height: 210px;
}

.koihei-maint-banner__media img,
.post-content .koihei-maint-banner__media img {
	position: absolute;
	inset: 0;
	display: block;
	width: 100%;
	height: 100%;
	max-width: none;
	margin: 0;
	object-fit: cover;
	object-position: 50% 35%;
}

.koihei-maint-banner__body {
	display: flex;
	flex: 1;
	flex-direction: column;
	justify-content: center;
	gap: 10px;
	min-width: 0;
	padding: 28px 36px;
	border-left: 6px solid #1B4F9C;
}

.koihei-maint-banner__eyebrow {
	font-size: 12px;
	font-weight: 700;
	line-height: 1.5;
	letter-spacing: 2px;
	color: #1B4F9C;
}

.koihei-maint-banner__title {
	word-break: keep-all;    /* 「、」「・」の後（<wbr>）でだけ折り返す */
	overflow-wrap: anywhere;
	text-wrap: balance;
	font-size: 24px;
	font-weight: 700;
	line-height: 1.5;
	color: #222;
}

.koihei-maint-banner__foot {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
}

.koihei-maint-banner__note {
	font-size: 13px;
	line-height: 1.6;
	color: #555;
}

.koihei-maint-banner__btn {
	display: flex;
	align-items: center;
	gap: 8px;
	flex-shrink: 0;
	padding: 12px 22px;
	font-size: 14px;
	font-weight: 700;
	line-height: 1.2;
	color: #fff;
	white-space: nowrap;
	background: #1B4F9C;
	border-radius: 24px;
}

.koihei-maint-banner__btn .koihei-maint-icon {
	width: 14px;
	height: 14px;
}

/* ② TOP：新着情報との間を見本に近づける（カード一覧ブロック上の余白80pxの一部を詰める） */
.koihei-maint-banner--top {
	margin-top: -40px;
}

/* ⑤ 記事下：見本の小さいサイズ */
.koihei-maint-banner--post {
	margin: 48px 0 8px;
}

.koihei-maint-banner--post .koihei-maint-banner__media {
	width: 240px;
	min-height: 170px;
}

.koihei-maint-banner--post .koihei-maint-banner__media img,
.post-content .koihei-maint-banner--post .koihei-maint-banner__media img {
	object-position: 50% 40%;
}

.koihei-maint-banner--post .koihei-maint-banner__body {
	gap: 8px;
	padding: 22px 28px;
}

.koihei-maint-banner--post .koihei-maint-banner__title {
	font-size: 20px;
}

.koihei-maint-banner--post .koihei-maint-banner__btn {
	padding: 10px 20px;
	border-radius: 22px;
}

@media screen and (max-width: 767px) {
	.koihei-maint-banner--top {
		margin-top: 0;
		margin-bottom: 40px;
	}

	.koihei-maint-banner__link,
	.post-content .koihei-maint-banner__link {
		flex-direction: column;
	}

	.koihei-maint-banner__media,
	.koihei-maint-banner--post .koihei-maint-banner__media {
		width: 100%;
		min-height: 0;
		height: 180px;
	}

	.koihei-maint-banner__body,
	.koihei-maint-banner--post .koihei-maint-banner__body {
		padding: 20px;
		border-top: 6px solid #1B4F9C;
		border-left: 0;
	}

	.koihei-maint-banner__title,
	.koihei-maint-banner--post .koihei-maint-banner__title {
		font-size: 18px;
	}

	.koihei-maint-banner__title br {
		display: none;
	}

	.koihei-maint-banner__foot {
		flex-direction: column;
		align-items: stretch;
		gap: 14px;
	}

	.koihei-maint-banner__btn {
		justify-content: center;
	}
}


/* --------------------------------------------------------------------
   導入／導入後のラベル（⑥のパネルで使用）
-------------------------------------------------------------------- */
.koihei-skewer-tag {
	display: inline-block;
	padding: 2px 6px;
	font-weight: 700;
	line-height: 1.5;
	color: #fff;
	white-space: nowrap;
	border-radius: 3px;
}

.koihei-skewer-tag--intro {
	background: #C8001E;
}

.koihei-skewer-tag--after {
	background: #1B4F9C;
}


/* --------------------------------------------------------------------
   ④ フッター Our Products「鯉平メンテナンス」
-------------------------------------------------------------------- */
.footer-widgets .page-item-maint > a {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-weight: 700;
	color: #FFD27A;
}

.footer-widgets .page-item-maint > a:hover {
	color: #FFD27A;
	opacity: 0.85;
}


/* --------------------------------------------------------------------
   ⑥ 串打ち機ページ：導入／導入後の2パネル＋電話番号
-------------------------------------------------------------------- */
.koihei-skewer-contact {
	display: flex;
	flex-direction: column;
	gap: 16px;
	margin: 48px 0 0;
}

.post-content .koihei-skewer-contact p {
	margin: 0;
}

.post-content .koihei-skewer-contact .koihei-skewer-contact__title {
	font-size: 22px;
	font-weight: 700;
	line-height: 1.5;
	text-align: center;
	color: #222;
}

.koihei-skewer-contact__panels {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 20px;
}

.koihei-skewer-panel {
	display: flex;
	flex-direction: column;
	gap: 14px;
	padding: 24px 26px;
	background: #fff;
	border-top: 6px solid #C8001E;
	border-radius: 8px;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

.koihei-skewer-panel--after {
	border-top-color: #1B4F9C;
}

.post-content .koihei-skewer-panel .koihei-skewer-panel__head {
	display: flex;
	align-items: center;
	gap: 10px;
}

.koihei-skewer-panel .koihei-skewer-tag {
	padding: 4px 10px;
	font-size: 13px;
	border-radius: 4px;
}

.koihei-skewer-panel__name {
	word-break: keep-all;    /* 「・」「、」の後（<wbr>）でだけ折り返す */
	overflow-wrap: anywhere;
	font-size: 18px;
	font-weight: 700;
	line-height: 1.5;
	color: #222;
}

.post-content .koihei-skewer-panel .koihei-skewer-panel__text {
	font-size: 13px;
	line-height: 1.7;
	color: #555;
}

.post-content .koihei-skewer-panel .koihei-skewer-panel__to {
	margin-top: auto;
	font-size: 12px;
	line-height: 1.5;
	color: #777;
}

.post-content .koihei-skewer-panel__btn,
.koihei-skewer-panel__btn {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 2px;
	min-height: 64px;
	padding: 8px 12px;
	color: #fff;
	text-align: center;
	text-decoration: none;
	background: #C8001E;
	border-radius: 8px;
	transition: opacity 0.2s ease;
}

.koihei-skewer-panel--after .koihei-skewer-panel__btn {
	background: #1B4F9C;
}

.post-content .koihei-skewer-panel__btn:hover,
.koihei-skewer-panel__btn:hover {
	color: #fff;
	text-decoration: none;
	opacity: 0.88;
}

.koihei-skewer-panel__btn-main {
	font-size: 16px;
	font-weight: 700;
	line-height: 1.4;
}

.koihei-skewer-panel__btn-sub {
	font-size: 11px;
	line-height: 1.4;
	color: #F8D7DC;
}

.koihei-skewer-panel--after .koihei-skewer-panel__btn-sub {
	color: #D6E2F5;
}

.post-content .koihei-skewer-contact .koihei-skewer-contact__tel {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	font-size: 14px;
	line-height: 1.6;
	color: #1B4F9C;
}

.koihei-skewer-contact__tel .koihei-maint-icon {
	width: 16px;
	height: 16px;
}

.koihei-skewer-contact__tel strong {
	font-weight: 700;
}

.koihei-skewer-contact__hours {
	white-space: nowrap;
}

@media screen and (max-width: 767px) {
	.koihei-skewer-contact__panels {
		grid-template-columns: 1fr;
		gap: 16px;
	}

	.koihei-skewer-panel {
		padding: 20px;
	}

	.koihei-skewer-panel__name {
		font-size: 16px;
	}

	.post-content .koihei-skewer-contact .koihei-skewer-contact__tel {
		align-items: flex-start;
		font-size: 13px;
		text-align: left;
	}

	.koihei-skewer-contact__tel .koihei-maint-icon {
		margin-top: 3px;
	}
}
