/* MV テキスト視認性改善 */
.l_mv_point {
	background: rgba(255, 255, 255, 0.85) !important;
	backdrop-filter: blur(8px);
	-webkit-backdrop-filter: blur(8px);
}

.l_mv_en {
	color: #fff !important;
	text-shadow: 0 2px 20px rgba(0, 0, 0, 0.5), 0 0 40px rgba(0, 0, 0, 0.3);
}

.l_mv_catch {
	color: #fff !important;
	text-shadow: 0 2px 15px rgba(0, 0, 0, 0.5), 0 0 30px rgba(0, 0, 0, 0.3);
}

.l_mv_catch span {
	color: #fff !important;
}

.l_mv_catch em {
	color: #fff !important;
}

/* MV画像の上にダークオーバーレイ */
.l_mv_body::after {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: linear-gradient(to right, rgba(0,0,0,0.45) 0%, rgba(0,0,0,0.15) 60%, transparent 100%);
	z-index: 2;
	pointer-events: none;
}

/* ==============================
   案件トップページ用セクションスタイル
   ============================== */

/* セクション見出し */
.m_heading01 {
	text-align: center;
	font-family: var(--font-min);
	line-height: 1.4;
	letter-spacing: 0.15em;
	margin-bottom: 8vw;
}

.m_heading01 span {
	display: block;
	font-family: var(--font-en-cg);
	font-size: 1.2rem;
	letter-spacing: 0.15em;
	color: var(--sub-color);
	line-height: 1;
}

.m_heading01 em {
	display: block;
	font-size: 2.4rem;
	letter-spacing: 0.2em;
	margin-top: 0.8rem;
	color: var(--main-color);
}

/* セクション間の余白 */
#front_main section {
	padding: 12vw 0;
}

#front_main section:first-child {
	padding-top: 8vw;
}

/* ブログリスト（トップ用） */
#front_main .l_blog_list {
	display: flex;
	flex-wrap: wrap;
	gap: 4vw;
}

#front_main .l_blog_list .m_blog {
	width: 100%;
}

/* ニュースリスト */
#front_main .l_news_list {
	border-top: 1px solid #eee;
}

/* カードグリッド */
#front_main .v_col03_pc {
	display: flex;
	flex-direction: column;
	gap: 6vw;
}

/* PC時 */
@media screen and (min-width: 768px) {
	.m_heading01 {
		margin-bottom: 5rem;
	}

	.m_heading01 span {
		font-size: 1.6rem;
	}

	.m_heading01 em {
		font-size: 3.6rem;
		margin-top: 1rem;
	}

	#front_main section {
		padding: 8rem 0;
	}

	#front_main section:first-child {
		padding-top: 6rem;
	}

	#front_main .l_blog_list .m_blog {
		width: calc(25% - 1.5rem);
	}

	#front_main .v_col03_pc {
		flex-direction: row;
		gap: 3rem;
	}

	#front_main .v_col03_pc > * {
		flex: 1;
	}
}

/* ==============================
   比較表・テーブル横スクロール対応
   ============================== */
.table-scroll {
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
	margin: 2rem 0;
}

.table-scroll table {
	min-width: 700px;
	white-space: nowrap;
}

/* 比較表スタイル */
.table-compare {
	border-collapse: collapse;
	width: 100%;
	min-width: 700px;
	font-size: 1.3rem;
}

.table-compare th,
.table-compare td {
	padding: 1.2rem 1.5rem;
	border: 1px solid #ddd;
	vertical-align: top;
	text-align: left;
	white-space: normal;
	word-break: break-word;
}

.table-compare thead th {
	background: #f5f5f5;
	font-weight: bold;
	text-align: center;
	white-space: nowrap;
}

.table-compare thead th.highlight {
	background: var(--main-color);
	color: #fff;
}

.table-compare tbody th {
	background: #fafafa;
	font-weight: bold;
	white-space: nowrap;
	width: 100px;
}

.table-compare tbody td.highlight {
	background: rgba(0, 88, 45, 0.05);
	font-weight: bold;
}

@media screen and (min-width: 768px) {
	.table-compare {
		font-size: 1.4rem;
	}
	.table-compare th,
	.table-compare td {
		padding: 1.5rem 2rem;
	}
}

/* ==============================
   ロゴ画像サイズ制御
   ============================== */
.l_header_logo img {
	max-height: 45px !important;
	width: auto !important;
	object-fit: contain !important;
}

@media screen and (min-width: 768px) {
	.l_header_logo img {
		max-height: 55px !important;
	}
}
