@charset "UTF-8";

/* ==================================================
   CLI+MIRU 訪問看護詳細ページ リニューアル
   対象：single-houmon.php
   ルートクラス：.cm-houmon-single
================================================== */

.cm-houmon-single {
	--cm-houmon-primary: #006eb7;
	--cm-houmon-primary-dark: #00558e;
	--cm-houmon-primary-light: #eef7fd;
	--cm-houmon-border: #d6e5f0;
	--cm-houmon-border-strong: #bfd5e5;
	--cm-houmon-text: #182230;
	--cm-houmon-text-sub: #5a6875;
	--cm-houmon-white: #fff;
	--cm-houmon-shadow: 0 8px 24px rgba(0, 75, 130, 0.07);
	color: var(--cm-houmon-text);
}

.cm-houmon-single,
.cm-houmon-single *,
.cm-houmon-single *::before,
.cm-houmon-single *::after {
	box-sizing: border-box;
}

.cm-houmon-single .cm-houmon-single__layout {
	align-items: flex-start;
}

.cm-houmon-single .cm-houmon-single__article,
.cm-houmon-single .l-primary {
	min-width: 0;
}

.cm-houmon-single .cm-houmon-single__entry-inner {
	padding-top: 0;
}

/* サイドバーBのみ非表示。サイドバーAは残す */
.cm-houmon-single .l-tertiary {
	display: none !important;
}

.cm-houmon-single .cm-houmon-single__hero,
.cm-houmon-single .cm-houmon-single__section {
	width: 100%;
	margin-bottom: 34px;
}

/* ヒーロー */
.cm-houmon-single .cm-houmon-single__hero {
	padding: 20px;
	border: 1px solid var(--cm-houmon-border);
	border-radius: 14px;
	background: var(--cm-houmon-white);
	box-shadow: var(--cm-houmon-shadow);
}

.cm-houmon-single .cm-houmon-single__hero-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 22px;
	align-items: stretch;
}

.cm-houmon-single .cm-houmon-single__visual {
	width: 100%;
	min-width: 0;
	min-height: 0;
	height: 100%;
	overflow: hidden;
	aspect-ratio: auto;
	border: 0;
	border-radius: 10px;
	background: var(--cm-houmon-white);
}

.cm-houmon-single .cm-houmon-single__image {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.cm-houmon-single .cm-houmon-single__image--fallback {
	padding: 28px;
	object-fit: contain;
}

.cm-houmon-single .cm-houmon-single__hero-content {
	display: flex;
	min-width: 0;
	flex-direction: column;
}

.cm-houmon-single .cm-houmon-single__title {
	margin: 4px 0 10px;
	font-size: 25px;
	font-weight: 800;
	line-height: 1.4;
	letter-spacing: 0.01em;
}

.cm-houmon-single .cm-houmon-single__location {
	display: flex;
	margin: 0 0 18px;
	gap: 8px;
	align-items: flex-start;
	color: var(--cm-houmon-text-sub);
	font-size: 14px;
	line-height: 1.7;
}

.cm-houmon-single .cm-houmon-single__location-icon {
	color: var(--cm-houmon-primary);
	font-size: 10px;
	line-height: 2.4;
}

.cm-houmon-single .cm-houmon-single__hero-cards {
	display: grid;
	margin-top: auto;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 10px;
}

.cm-houmon-single .cm-houmon-single__hero-card {
	display: flex;
	min-width: 0;
	min-height: 128px;
	padding: 18px 5px;
	border: 1px solid var(--cm-houmon-border);
	border-radius: 9px;
	background: #fbfdff;
	text-align: center;
	align-items: center;
	justify-content: center;
	flex-direction: column;
}

.cm-houmon-single .cm-houmon-single__card-icon {
	display: flex;
	width: 30px;
	height: 30px;
	margin-bottom: 8px;
	border-radius: 50%;
	background: var(--cm-houmon-primary-light);
	color: var(--cm-houmon-primary);
	font-size: 16px;
	font-weight: 700;
	align-items: center;
	justify-content: center;
}

.cm-houmon-single .cm-houmon-single__card-label {
	margin-bottom: 7px;
	color: var(--cm-houmon-text-sub);
	font-size: 12px;
	font-weight: 700;
	line-height: 1.4;
}

.cm-houmon-single .cm-houmon-single__card-value {
	color: var(--cm-houmon-text) !important;
	font-size: 13px;
	font-weight: 600;
	line-height: 1.55;
	text-decoration: none;
	overflow-wrap: anywhere;
}

/* セクション */
.cm-houmon-single .cm-houmon-single__section {
	padding: 20px;
	border: 1px solid var(--cm-houmon-border);
	border-radius: 12px;
	background: var(--cm-houmon-white);
	box-shadow: var(--cm-houmon-shadow);
}

.cm-houmon-single .cm-houmon-single__section-title {
	display: flex;
	margin: 0 0 18px;
	gap: 10px;
	align-items: center;
	color: var(--cm-houmon-text);
	font-size: 20px;
	font-weight: 800;
	line-height: 1.4;
}

.cm-houmon-single .cm-houmon-single__section-title > span {
	display: flex;
	width: 28px;
	height: 28px;
	border-radius: 50%;
	background: var(--cm-houmon-primary);
	color: var(--cm-houmon-white);
	font-size: 12px;
	font-weight: 700;
	align-items: center;
	justify-content: center;
	flex: 0 0 28px;
}

/* テーブル */
.cm-houmon-single .cm-houmon-single__table-wrap {
	width: 100%;
	overflow-x: auto;
	border: 1px solid var(--cm-houmon-border);
	border-radius: 8px;
}

.cm-houmon-single .cm-houmon-single__info-table,
.cm-houmon-single .cm-houmon-single__hours-table {
	width: 100%;
	margin: 0;
	border-collapse: collapse;
	font-size: 14px;
}

.cm-houmon-single .cm-houmon-single__info-table th,
.cm-houmon-single .cm-houmon-single__info-table td,
.cm-houmon-single .cm-houmon-single__hours-table th,
.cm-houmon-single .cm-houmon-single__hours-table td {
	padding: 14px 16px;
	border-right: 1px solid var(--cm-houmon-border);
	border-bottom: 1px solid var(--cm-houmon-border);
	vertical-align: middle;
	line-height: 1.65;
}

.cm-houmon-single .cm-houmon-single__info-table tr:last-child th,
.cm-houmon-single .cm-houmon-single__info-table tr:last-child td,
.cm-houmon-single .cm-houmon-single__hours-table tbody tr:last-child td {
	border-bottom: 0;
}

.cm-houmon-single .cm-houmon-single__info-table th:last-child,
.cm-houmon-single .cm-houmon-single__info-table td:last-child,
.cm-houmon-single .cm-houmon-single__hours-table th:last-child,
.cm-houmon-single .cm-houmon-single__hours-table td:last-child {
	border-right: 0;
}

.cm-houmon-single .cm-houmon-single__info-table th {
	width: 25%;
	background: var(--cm-houmon-primary-light);
	color: var(--cm-houmon-text);
	font-weight: 700;
	text-align: left;
}

.cm-houmon-single .cm-houmon-single__info-table td {
	background: var(--cm-houmon-white);
	color: var(--cm-houmon-text);
	overflow-wrap: anywhere;
}

.cm-houmon-single .cm-houmon-single__info-table td a {
	color: var(--cm-houmon-primary) !important;
	font-weight: 600;
}

.cm-houmon-single .cm-houmon-single__hours-table {
	min-width: 560px;
	text-align: center;
}

.cm-houmon-single .cm-houmon-single__hours-table th {
	background: var(--cm-houmon-primary-light);
	font-weight: 700;
}

.cm-houmon-single .cm-houmon-single__hours-table td {
	background: var(--cm-houmon-white);
}

/* 本文・ショートコード地図 */
.cm-houmon-single .cm-houmon-single__content {
	color: var(--cm-houmon-text);
	font-size: 15px;
	line-height: 1.9;
}

.cm-houmon-single .cm-houmon-single__content > *:first-child {
	margin-top: 0;
}

.cm-houmon-single .cm-houmon-single__content > *:last-child {
	margin-bottom: 0;
}

.cm-houmon-single .cm-houmon-single__content p,
.cm-houmon-single .cm-houmon-single__content ul,
.cm-houmon-single .cm-houmon-single__content ol,
.cm-houmon-single .cm-houmon-single__content figure,
.cm-houmon-single .cm-houmon-single__content .su-gmap {
	margin-bottom: 20px;
}

.cm-houmon-single .cm-houmon-single__content img,
.cm-houmon-single .cm-houmon-single__content iframe,
.cm-houmon-single .cm-houmon-single__content .su-gmap,
.cm-houmon-single .cm-houmon-single__content .su-gmap iframe {
	max-width: 100%;
}

.cm-houmon-single .cm-houmon-single__content .su-gmap {
	width: 100% !important;
}

.cm-houmon-single .cm-houmon-single__content .su-gmap iframe {
	width: 100% !important;
}

.cm-houmon-single .c-meta-box,
.cm-houmon-single .c-entry-nav,
.cm-houmon-single .p-entry__related,
.cm-houmon-single .c-comment {
	margin-top: 30px;
}

@media only screen and (max-width: 991px) {
	.cm-houmon-single .cm-houmon-single__hero-grid {
		grid-template-columns: 1fr;
	}

	.cm-houmon-single .cm-houmon-single__visual {
		aspect-ratio: 3 / 2;
	}
}

@media only screen and (max-width: 767px) {
	.cm-houmon-single .cm-houmon-single__hero,
	.cm-houmon-single .cm-houmon-single__section {
		margin-bottom: 26px;
		padding: 14px;
		border-radius: 10px;
	}

	.cm-houmon-single .cm-houmon-single__hero-grid {
		gap: 16px;
	}

	.cm-houmon-single .cm-houmon-single__visual {
		aspect-ratio: 3 / 2;
	}

	.cm-houmon-single .cm-houmon-single__image--fallback {
		padding: 22px;
	}

	.cm-houmon-single .cm-houmon-single__title {
		font-size: 21px;
	}

	.cm-houmon-single .cm-houmon-single__location {
		margin-bottom: 14px;
		font-size: 13px;
	}

	.cm-houmon-single .cm-houmon-single__hero-cards {
		grid-template-columns: 1fr;
	}

	.cm-houmon-single .cm-houmon-single__hero-card {
		display: grid;
		min-height: 0;
		padding: 12px;
		grid-template-columns: 36px minmax(70px, auto) minmax(0, 1fr);
		gap: 8px;
		text-align: left;
		align-items: center;
		justify-content: initial;
	}

	.cm-houmon-single .cm-houmon-single__card-icon,
	.cm-houmon-single .cm-houmon-single__card-label {
		margin: 0;
	}

	.cm-houmon-single .cm-houmon-single__section-title {
		margin-bottom: 14px;
		font-size: 18px;
	}

	.cm-houmon-single .cm-houmon-single__info-table,
	.cm-houmon-single .cm-houmon-single__hours-table {
		font-size: 13px;
	}

	.cm-houmon-single .cm-houmon-single__info-table th,
	.cm-houmon-single .cm-houmon-single__info-table td,
	.cm-houmon-single .cm-houmon-single__hours-table th,
	.cm-houmon-single .cm-houmon-single__hours-table td {
		padding: 11px 10px;
	}

	.cm-houmon-single .cm-houmon-single__info-table th {
		width: 34%;
	}

	.cm-houmon-single .cm-houmon-single__content {
		font-size: 14px;
		line-height: 1.85;
	}
}


/* ==================================================
   追加調整：カンプ寄せ・旧CSS競合の打ち消し
================================================== */

.cm-houmon-single .cm-houmon-single__layout {
	display: flex;
	width: 92%;
	max-width: 1360px;
	margin-right: auto;
	margin-left: auto;
	gap: 24px;
}

.cm-houmon-single .cm-houmon-single__article {
	width: auto;
	max-width: none;
	margin: 0;
	padding: 0;
	flex: 1 1 auto;
}

.cm-houmon-single .cm-houmon-single__sidebar {
	width: 300px;
	min-width: 300px;
	margin: 0;
	padding: 0;
	border: 0;
	flex: 0 0 300px;
}

.cm-houmon-single .cm-houmon-single__sidebar .l-secondary__inner {
	width: 100%;
}

.cm-houmon-single .p-entry__inner,
.cm-houmon-single .p-entry__body {
	width: 100%;
}

.cm-houmon-single .cm-houmon-single__hero {
	padding: 26px;
}

.cm-houmon-single .cm-houmon-single__hero-grid {
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 24px;
}

.cm-houmon-single .cm-houmon-single__visual {
	height: 100%;
	aspect-ratio: auto;
}

.cm-houmon-single .cm-houmon-single__title {
	margin: 10px 0 14px;
	font-size: clamp(26px, 2.15vw, 34px);
	line-height: 1.35;
}

.cm-houmon-single .cm-houmon-single__location {
	margin-bottom: 22px;
}

.cm-houmon-single .cm-houmon-single__hero-card {
	min-height: 142px;
	padding: 18px 5px;
	box-shadow: 0 4px 12px rgba(0, 75, 130, 0.04);
}

.cm-houmon-single .cm-houmon-single__card-icon {
	width: 40px;
	height: 40px;
	font-size: 19px;
}

.cm-houmon-single .cm-houmon-single__section {
	padding: 22px;
}

.cm-houmon-single .cm-houmon-single__section-title {
	font-size: 19px;
}

.cm-houmon-single .cm-houmon-single__section-title > span {
	width: 26px;
	height: 26px;
	flex-basis: 26px;
}

/* style.css の汎用テーブル指定を打ち消す */
.cm-houmon-single table.cm-houmon-single__info-table,
.cm-houmon-single table.cm-houmon-single__hours-table {
	margin: 0 !important;
	border: 0 !important;
	border-collapse: collapse !important;
	box-shadow: none !important;
}

.cm-houmon-single table.cm-houmon-single__info-table th,
.cm-houmon-single table.cm-houmon-single__info-table td,
.cm-houmon-single table.cm-houmon-single__hours-table th,
.cm-houmon-single table.cm-houmon-single__hours-table td {
	font-size: 14px !important;
	line-height: 1.65 !important;
	vertical-align: middle !important;
}

.cm-houmon-single table.cm-houmon-single__info-table th {
	width: 25% !important;
	padding: 14px 16px !important;
	border-top: 0 !important;
	border-left: 0 !important;
	border-right: 1px solid var(--cm-houmon-border) !important;
	border-bottom: 1px solid var(--cm-houmon-border) !important;
	background: var(--cm-houmon-primary-light) !important;
	color: var(--cm-houmon-text) !important;
	font-weight: 700 !important;
	text-align: left !important;
}

.cm-houmon-single table.cm-houmon-single__info-table td,
.cm-houmon-single table.cm-houmon-single__hours-table td,
.cm-houmon-single table.cm-houmon-single__hours-table th {
	padding: 14px 16px !important;
	border-top: 0 !important;
	border-left: 0 !important;
	border-right: 1px solid var(--cm-houmon-border) !important;
	border-bottom: 1px solid var(--cm-houmon-border) !important;
}

.cm-houmon-single .cm-houmon-single__content h1,
.cm-houmon-single .cm-houmon-single__content h2,
.cm-houmon-single .cm-houmon-single__content h3,
.cm-houmon-single .cm-houmon-single__content h4,
.cm-houmon-single .cm-houmon-single__content h5,
.cm-houmon-single .cm-houmon-single__content h6 {
	width: auto !important;
	margin-right: 0 !important;
	margin-left: 0 !important;
}

.cm-houmon-single .cm-houmon-single__content .su-gmap,
.cm-houmon-single .cm-houmon-single__content .su-gmap iframe {
	display: block;
	width: 100% !important;
	max-width: 100% !important;
	min-height: 360px;
	margin-right: 0 !important;
	margin-left: 0 !important;
}

.cm-houmon-single .cm-houmon-single__content a.btn01,
.cm-houmon-single .cm-houmon-single__content a.btn02,
.cm-houmon-single .cm-houmon-single__content a[href^="tel:"] {
	display: flex !important;
	width: min(100%, 360px) !important;
	max-width: 360px !important;
	min-height: 54px !important;
	height: auto !important;
	margin: 26px auto 30px !important;
	padding: 13px 24px !important;
	border: 1px solid var(--cm-houmon-primary) !important;
	border-radius: 999px !important;
	background: var(--cm-houmon-primary) !important;
	box-shadow: 0 8px 18px rgba(0, 110, 183, 0.2) !important;
	color: #fff !important;
	font-size: 15px !important;
	font-weight: 700 !important;
	line-height: 1.4 !important;
	letter-spacing: 0.03em !important;
	text-align: center !important;
	text-decoration: none !important;
	align-items: center !important;
	justify-content: center !important;
	transition: background-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease !important;
}

.cm-houmon-single .cm-houmon-single__content a.btn01::before,
.cm-houmon-single .cm-houmon-single__content a.btn02::before,
.cm-houmon-single .cm-houmon-single__content a[href^="tel:"]::before {
	display: inline-flex;
	margin-right: 9px;
	content: "☎";
	font-size: 17px;
	line-height: 1;
}

.cm-houmon-single .cm-houmon-single__content a.btn01:hover,
.cm-houmon-single .cm-houmon-single__content a.btn02:hover,
.cm-houmon-single .cm-houmon-single__content a[href^="tel:"]:hover {
	background: var(--cm-houmon-primary-dark) !important;
	border-color: var(--cm-houmon-primary-dark) !important;
	box-shadow: 0 10px 22px rgba(0, 85, 142, 0.25) !important;
	color: #fff !important;
	transform: translateY(-1px);
}

@media screen and (min-width: 1100px) {
	.cm-houmon-single .cm-houmon-single__hero {
		min-height: 0;
	}

	.cm-houmon-single .cm-houmon-single__hero-grid {
		height: auto;
	}

	.cm-houmon-single .cm-houmon-single__hero-content {
		height: auto;
		padding: 4px 0;
	}
}

@media screen and (min-width: 768px) {
	.cm-houmon-single .cm-houmon-single__sidebar {
		position: sticky;
		top: 100px;
		align-self: flex-start;
	}
}

@media only screen and (max-width: 991px) {
	.cm-houmon-single .cm-houmon-single__layout {
		gap: 18px;
	}

	.cm-houmon-single .cm-houmon-single__sidebar {
		width: 260px;
		min-width: 260px;
		flex-basis: 260px;
	}

	.cm-houmon-single .cm-houmon-single__hero-grid {
		grid-template-columns: 1fr;
	}
}

@media only screen and (max-width: 767px) {
	.cm-houmon-single .cm-houmon-single__layout,
	.cm-houmon-single .l-2columns,
	.cm-houmon-single .l-3columns {
		display: block;
		width: 100%;
		max-width: none;
	}

	.cm-houmon-single .cm-houmon-single__article {
		width: 100%;
		max-width: 600px;
		margin-right: auto;
		margin-left: auto;
	}

	.cm-houmon-single .cm-houmon-single__sidebar {
		position: static;
		width: 100%;
		min-width: 0;
		max-width: 600px;
		margin: 30px auto 0;
		padding: 0;
	}

	.cm-houmon-single .cm-houmon-single__hero {
		padding: 0;
		overflow: hidden;
	}

	.cm-houmon-single .cm-houmon-single__hero-grid {
		gap: 0;
	}

	.cm-houmon-single .cm-houmon-single__visual {
		border: 0;
		border-radius: 0;
	}

	.cm-houmon-single .cm-houmon-single__hero-content {
		padding: 16px;
	}

	.cm-houmon-single .cm-houmon-single__title {
		margin-top: 0;
		font-size: 21px;
	}

	.cm-houmon-single .cm-houmon-single__hero-cards {
		gap: 0;
		border-top: 1px solid var(--cm-houmon-border);
	}

	.cm-houmon-single .cm-houmon-single__hero-card {
		border-width: 0 0 1px;
		border-radius: 0;
		box-shadow: none;
	}

	.cm-houmon-single .cm-houmon-single__hero-card:last-child {
		border-bottom: 0;
	}

	.cm-houmon-single table.cm-houmon-single__info-table th {
		width: 34% !important;
	}

	.cm-houmon-single .cm-houmon-single__content .su-gmap,
	.cm-houmon-single .cm-houmon-single__content .su-gmap iframe {
		min-height: 300px;
	}

	.cm-houmon-single .cm-houmon-single__content a.btn01,
	.cm-houmon-single .cm-houmon-single__content a.btn02,
	.cm-houmon-single .cm-houmon-single__content a[href^="tel:"] {
		width: 100% !important;
		max-width: none !important;
		margin-top: 22px !important;
	}
}

/* ==================================================
   07：ヒーロー調整
   ・写真 4:3 固定
   ・PC 30% / 70%
   ・右側上段 / カード段を 50% / 50%
================================================== */
@media only screen and (min-width: 768px) {
	.cm-houmon-single .cm-houmon-single__hero-grid {
		display: grid !important;
		grid-template-columns: minmax(0, 30%) minmax(0, 70%) !important;
		align-items: stretch !important;
	}

	.cm-houmon-single .cm-houmon-single__visual {
		width: 100% !important;
		aspect-ratio: 4 / 3 !important;
		min-height: 0 !important;
	}

	.cm-houmon-single .cm-houmon-single__image {
		display: block !important;
		width: 100% !important;
		height: 100% !important;
		aspect-ratio: 4 / 3 !important;
		object-fit: cover !important;
	}

	.cm-houmon-single .cm-houmon-single__hero-content {
		display: grid !important;
		grid-template-rows: minmax(0, 1fr) minmax(0, 1fr) !important;
		min-width: 0 !important;
		min-height: 0 !important;
	}

	.cm-houmon-single .cm-houmon-single__hero-cards {
		display: grid !important;
		grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
		align-items: stretch !important;
		height: 100% !important;
		min-height: 0 !important;
		margin-top: 0 !important;
	}

	.cm-houmon-single .cm-houmon-single__hero-card {
		height: 100% !important;
		min-height: 0 !important;
	}
}

/* ==================================================
   08：タブレット・スマートフォン調整
   ・991px以下は本文とサイドバーを縦積み
   ・ヒーローも縦積み
   ・画像枠は常に横長4:3
   ・タブレット時のヘッダーロゴ寸法を固定
================================================== */

/* 画像枠は全画面幅で4:3を維持 */
.cm-houmon-single .cm-houmon-single__visual {
	width: 100% !important;
	height: auto !important;
	aspect-ratio: 4 / 3 !important;
}

.cm-houmon-single .cm-houmon-single__image {
	display: block !important;
	width: 100% !important;
	height: 100% !important;
	aspect-ratio: auto !important;
	object-fit: cover !important;
}

.cm-houmon-single .cm-houmon-single__image--fallback,
.cm-houmon-single .cm-houmon-single__image[src*="logo_002.png"] {
	padding: 24px !important;
	object-fit: contain !important;
}

@media only screen and (max-width: 991px) {
	/* メイン本文とサイドバーを縦積み */
	.cm-houmon-single .cm-houmon-single__layout,
	.cm-houmon-single .l-2columns,
	.cm-houmon-single .l-3columns {
		display: block !important;
		width: 92% !important;
		max-width: none !important;
		margin-right: auto !important;
		margin-left: auto !important;
	}

	.cm-houmon-single .cm-houmon-single__article,
	.cm-houmon-single .l-primary {
		display: block !important;
		width: 100% !important;
		max-width: none !important;
		margin: 0 !important;
	}

	.cm-houmon-single .cm-houmon-single__sidebar,
	.cm-houmon-single .l-secondary {
		position: static !important;
		display: block !important;
		width: 100% !important;
		min-width: 0 !important;
		max-width: none !important;
		margin: 30px 0 0 !important;
		padding: 0 !important;
	}

	.cm-houmon-single .cm-houmon-single__sidebar .l-secondary__inner,
	.cm-houmon-single .l-secondary__inner {
		width: 100% !important;
	}

	/* ヒーローを画像→情報の順で縦積み */
	.cm-houmon-single .cm-houmon-single__hero-grid {
		display: grid !important;
		grid-template-columns: minmax(0, 1fr) !important;
		gap: 18px !important;
		align-items: start !important;
	}

	.cm-houmon-single .cm-houmon-single__hero-content {
		display: flex !important;
		height: auto !important;
		min-height: 0 !important;
		padding: 0 !important;
		flex-direction: column !important;
	}

	.cm-houmon-single .cm-houmon-single__hero-cards {
		display: grid !important;
		height: auto !important;
		min-height: 0 !important;
		margin-top: 18px !important;
		grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
		gap: 10px !important;
	}

	.cm-houmon-single .cm-houmon-single__hero-card {
		height: auto !important;
		min-height: 120px !important;
	}

	/* タブレット時だけ崩れるモバイルヘッダーロゴを抑制 */
	.p-header__logo--mobile,
	.p-header__logo--mobile .p-logo {
		width: auto !important;
		max-width: calc(100vw - 100px) !important;
		height: 70px !important;
		overflow: hidden !important;
	}

	.p-header__logo--mobile .p-logo img {
		display: block !important;
		width: auto !important;
		height: 40px !important;
		max-width: 100% !important;
		max-height: 40px !important;
		margin-top: 15px !important;
		object-fit: contain !important;
	}
}

@media only screen and (max-width: 767px) {
	.cm-houmon-single .cm-houmon-single__layout,
	.cm-houmon-single .l-2columns,
	.cm-houmon-single .l-3columns {
		width: 100% !important;
	}

	.cm-houmon-single .cm-houmon-single__hero-grid {
		gap: 0 !important;
	}

	.cm-houmon-single .cm-houmon-single__visual {
		aspect-ratio: 4 / 3 !important;
	}

	.cm-houmon-single .cm-houmon-single__hero-content {
		padding: 16px !important;
	}

	.cm-houmon-single .cm-houmon-single__hero-cards {
		margin-top: 14px !important;
		grid-template-columns: minmax(0, 1fr) !important;
		gap: 0 !important;
	}

	.cm-houmon-single .cm-houmon-single__hero-card {
		min-height: 0 !important;
	}

	.cm-houmon-single .cm-houmon-single__image--fallback,
	.cm-houmon-single .cm-houmon-single__image[src*="logo_002.png"] {
		padding: 20px !important;
	}
}