/* 改4で新しく足したページ（家づくり基準・耐震工事・社長メッセージ）。各テンプレートから読み込む */

/* 見出し画像 */
.standard#sub_mv,
.taishin#sub_mv,
.message#sub_mv {
	background-color: #282C1C;
	background-position: center center;
	background-repeat: no-repeat;
	background-size: cover;
}
.standard#sub_mv { background-image: url(../img/housing/content04.jpg); }
.taishin#sub_mv { background-image: url(../img/concept/concept04.jpg); }
.message#sub_mv { background-image: url(../img/corporate/corporate01.png); }

/* 見出しの帯（紺） */
.kai4_page .navy_tit {
	width: 100%;
	background: #12293B;
	color: #fff;
	padding: 1rem 1.5rem;
	margin-bottom: 2rem;
	font-size: 1.15em;
}
.kai4_page .kai4_section {
	padding: 3rem 0;
}
/* ページ内リンクの着地点（固定ヘッダーの高さ分を空ける。style.css の section.anchor と同じ考え方） */
.kai4_page .kai4_section.anchor {
	padding-top: calc(3rem + 118px);
	margin-top: -118px !important;
}
.kai4_page .kai4_section .inner {
	padding: 0 1rem;
}
.kai4_page .kai4_lead {
	line-height: 2;
}
.kai4_page .kai4_lead + .kai4_lead {
	margin-top: 1rem;
}
.kai4_page .seminar_table + .kai4_lead {
	margin-top: 1rem;
}

/* 文と写真の 2 列 */
.kai4_page .kai4_half {
	display: flex;
	gap: 2.5rem;
	align-items: flex-start;
}
.kai4_page .kai4_half .text {
	flex: 1 1 0;
	line-height: 2;
}
.kai4_page .kai4_half .text p + p {
	margin-top: 1rem;
}
.kai4_page .kai4_half figure {
	flex: 0 0 42%;
	margin: 0;
}
.kai4_page .kai4_half figure img {
	width: 100%;
	height: auto;
	display: block;
}

/* ボタン */
.kai4_page .kai4_more {
	margin-top: 2rem;
	text-align: center;
}
.kai4_page .kai4_more a {
	display: inline-block;
	min-width: 260px;
	padding: 0.9rem 2rem;
	background: #12293B;
	color: #fff;
	text-decoration: none;
}
.kai4_page.brown_page .kai4_more a {
	background: #321E17;
}
.kai4_page .kai4_more a:hover {
	opacity: 0.8;
}

/* 灰色の箱（耐震工事の主な内容） */
.kai4_page .gray_box {
	background: #F3F3F3;
	padding: 2.5rem 3rem;
}
.kai4_page .gray_box dt {
	font-weight: bold;
	margin-top: 1.5rem;
}
.kai4_page .gray_box dt:first-child {
	margin-top: 0;
}
.kai4_page .gray_box dd {
	margin: 0.3rem 0 0;
	line-height: 1.9;
}

/* 箇条書き（GX 協力表明の抜粋など） */
.kai4_page .kai4_list {
	margin: 1rem 0 0;
	padding-left: 1.2em;
	list-style: disc;
	line-height: 1.9;
}

/* セミナーの開催内容 */
.kai4_page .seminar_table {
	width: 100%;
	border-collapse: collapse;
	margin-top: 1.5rem;
}
.kai4_page .seminar_table th,
.kai4_page .seminar_table td {
	border-top: 1px solid #999;
	border-bottom: 1px solid #999;
	padding: 1rem;
	text-align: left;
	vertical-align: top;
	line-height: 1.8;
}
.kai4_page .seminar_table th {
	background: #f1f1f1;
	width: 9em;
	white-space: nowrap;
}

/* セミナーのお知らせ（3 件） */
.kai4_page .kai4_cards {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 2rem;
	margin-top: 2rem;
}
.kai4_page .kai4_cards article a {
	display: block;
	color: inherit;
	text-decoration: none;
}
.kai4_page .kai4_cards figure {
	position: relative;
	margin: 0 0 0.8rem;
	aspect-ratio: 3 / 2;
	overflow: hidden;
}
.kai4_page .kai4_cards figure img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}
.kai4_page .kai4_cards .end {
	position: absolute;
	inset: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	background: rgba(0, 0, 0, 0.5);
	color: #fff;
	font-size: 0.9em;
}
.kai4_page .kai4_cards .date {
	font-size: 0.85em;
	color: #666;
}
.kai4_page .kai4_cards h3 {
	font-size: 1em;
	font-weight: bold;
	margin: 0.3rem 0;
	line-height: 1.6;
}
.kai4_page .kai4_cards p {
	font-size: 0.9em;
	line-height: 1.7;
}

/* 社長メッセージ */
.kai4_page .message_body {
	display: flex;
	gap: 3rem;
	align-items: flex-start;
}
.kai4_page .message_body .text {
	flex: 1 1 0;
	line-height: 2.1;
}
.kai4_page .message_body .text p + p {
	margin-top: 1.4rem;
}
.kai4_page .message_body .photo {
	flex: 0 0 320px;
	margin: 0;
}
.kai4_page .message_body .photo img {
	width: 320px;
	height: 320px;
	object-fit: cover;
	border-radius: 50%;
	display: block;
}
.kai4_page .message_sign {
	margin-top: 2.5rem;
	text-align: right;
	line-height: 1.8;
}
.kai4_page .message_sign .name {
	font-size: 1.3em;
	letter-spacing: 0.1em;
}

@media screen and (max-width: 768px) {
	.kai4_page .kai4_section {
		padding: 2rem 0;
	}
	.kai4_page .kai4_section.anchor {
		padding-top: calc(2rem + 118px);
	}
	.kai4_page .kai4_half,
	.kai4_page .message_body {
		flex-direction: column;
		gap: 1.5rem;
	}
	.kai4_page .kai4_half figure {
		flex-basis: auto;
		width: 100%;
	}
	.kai4_page .message_body .photo {
		flex-basis: auto;
		align-self: center;
	}
	.kai4_page .message_body .photo img {
		width: 220px;
		height: 220px;
	}
	.kai4_page .gray_box {
		padding: 1.5rem 1.2rem;
	}
	.kai4_page .kai4_cards {
		grid-template-columns: 1fr;
	}
	.kai4_page .seminar_table th {
		width: 6em;
		white-space: normal;
	}
	.kai4_page .kai4_more a {
		min-width: 0;
		width: 100%;
	}
}
