@charset "UTF-8";

/* カテゴリに属さない単体ページ（トップ・施工の流れ・会社案内など）用 */

/* ===== ここから下に、各ページのスタイルを追記していく ===== */

/* ===== 単体固定ページ用コンテンツパネル（ベージュ） ===== */
.eg-page-panel {
	box-sizing: border-box;
	max-width: 960px;
	margin: 30px auto 0;
	padding: 50px;
	background-color: #f5f2f1;
}

/* パネル内の見出し（h2） */
h2.eg-page-panel__heading {
	margin: 56px 0 24px !important;
	padding: 0;
	font-family: "Noto Serif JP", "Hiragino Mincho ProN", "Yu Mincho", serif !important;
	font-weight: 500;
	font-size: 28px;
	line-height: 1.5;
	color: var(--eg-green-deep, #004e37);
}
h2.eg-page-panel__heading:first-child {
	margin-top: 0 !important;
}

@media screen and (max-width: 1023px) {
	.eg-page-panel {
		margin: 15px auto 0;
		padding: 25px 40px 40px;
	}
}

@media screen and (max-width: 768px) {
	.eg-page-panel {
		margin: 10px auto 0;
		padding: 28px 24px 36px;
	}
	h2.eg-page-panel__heading {
		margin: 40px 0 16px !important;
		font-size: 24px;
	}
}

@media screen and (max-width: 540px) {
	.eg-page-panel {
		padding: 18px 16px 30px 16px;
	}
	h2.eg-page-panel__heading {
		font-size: 22px;
		text-align: left;
	}
}

/* パネル内で使う情報テーブル（会社概要・特定商取引法の表示など） */
table.eg-page-panel__table {
	width: 100%;
	margin: 0 0 30px;
	border-collapse: separate;
	border-spacing: 2px;
}
table.eg-page-panel__table th,
table.eg-page-panel__table td {
	padding: 8px 16px 10px 20px;
	border: none;
	text-align: left;
	font-size: 16px;
	color: #333;
	vertical-align: top;
}
table.eg-page-panel__table th {
	width: 220px;
	background-color: #eaeaea;
	font-weight: bold;
}
table.eg-page-panel__table td ul {
	margin: 12px 0 12px 1.4em;
	list-style-type: disc;
}

.eg-page-panel__map {
	margin: 0 0 30px;
}
.eg-page-panel__map iframe {
	display: block;
	width: 100%;
	height: 400px;
	border: 0;
}

@media screen and (max-width: 768px) {
	/* 長いラベルが2列だと詰まりすぎるため、スマホはラベル上・値下の縦積みにする */
	table.eg-page-panel__table,
	table.eg-page-panel__table tbody,
	table.eg-page-panel__table tr,
	table.eg-page-panel__table th,
	table.eg-page-panel__table td {
		display: block;
		width: auto;
	}
	table.eg-page-panel__table tr {
		border-bottom: 1px solid #e9e9e7;
	}
	table.eg-page-panel__table th,
	table.eg-page-panel__table td {
		padding: 8px 16px 10px 20px;
		border-bottom: none;
	}
	table.eg-page-panel__table th {
		background-color: #eaeaea;
	}
	.eg-page-panel__map iframe {
		height: 280px;
	}
}

@media screen and (max-width: 540px) {
	table.eg-page-panel__table th,
	table.eg-page-panel__table td {
		padding: 6px 14px 6px 16px;
	}
}

/* ===== 01_toppage ===== */

/* -- 01_toppage / 01（ヒーロー） -- */

.eg-top-hero__inner {
	max-width: 1030px;
	margin: 0 auto;
	padding: 88px 0;
	display: flex;
	align-items: stretch;
	gap: 24px;
}
.eg-top-hero__body {
	flex: 1 1 480px;
	max-width: 480px;
}
h2.eg-top-hero__catch {
	margin: 0 0 20px;
	padding: 0;
	font-family: "Noto Serif JP", "Hiragino Mincho ProN", "Yu Mincho", serif !important;
	font-weight: 500;
	font-size: clamp(28px, 3vw, 36px);
	line-height: 1.5;
	color: var(--eg-green-deep, #004e37);
}
body.front-top-page h2.eg-top-hero__catch {
	margin-top: 10px !important;
}
.eg-top-hero__lead {
	margin: 0 0 32px;
	font-size: 16px;
	line-height: 1.7;
	color: #333;
}
.eg-top-hero__list {
	margin: 0 0 32px;
	padding: 0;
	list-style: none;
}
.eg-top-hero__item {
	display: flex;
	align-items: center;
	gap: 16px;
	padding: 10px 0;
}
.eg-top-hero__icon {
	flex: 0 0 auto;
	width: 36px;
	height: 36px;
	background-repeat: no-repeat;
	background-position: center;
	background-size: contain;
}
.eg-top-hero__icon--putter  { background-image: url("/2026/wp-content/uploads/2026/09/top-01-icon-putter.webp"); }
.eg-top-hero__icon--tee     { background-image: url("/2026/wp-content/uploads/2026/09/top-01-icon-tee.webp"); }
.eg-top-hero__icon--monitor { background-image: url("/2026/wp-content/uploads/2026/09/top-01-icon-monitor.webp"); }
.eg-top-hero__icon--turf    { background-image: url("/2026/wp-content/uploads/2026/09/top-01-icon-turf.webp"); }
.eg-top-hero__icon--tf      { background-image: url("/2026/wp-content/uploads/2026/09/top-01-icon-tf.webp"); }
.eg-top-hero__icon--house   { background-image: url("/2026/wp-content/uploads/2026/09/top-01-icon-house.webp"); }
.eg-top-hero__label {
	font-family: "Noto Serif JP", "Hiragino Mincho ProN", "Yu Mincho", serif;
	font-weight: 500;
	font-size: 20px;
	letter-spacing: 0.02em;
	color: var(--eg-green-deep, #004e37);
}
.eg-top-hero__note {
	margin: 0;
	font-size: 16px;
	line-height: 1.7;
	color: #333;
}
.eg-top-hero__photo {
	flex: 1 1 460px;
}
.eg-top-hero__img {
	display: block;
	width: 100%;
	height: 100%;
	aspect-ratio: 524 / 785;
	object-fit: cover;
}

/* タブレット：上余白は0、下余白はPC（88px）の半分の44px */
@media screen and (min-width: 768.02px) and (max-width: 1023px) {
	.eg-top-hero__inner {
		padding: 0 0 44px;
	}
}

@media screen and (max-width: 768px) {
	.eg-top-hero__inner {
		flex-direction: column;
		padding: 0 0 32px;
		gap: 24px;
	}
	.eg-top-hero__body {
		max-width: none;
	}
	.eg-top-hero__photo {
		order: -1;
		flex: 0 1 auto;
	}
	/* max-height:320pxで頭打ち（375px幅で高さ320px相当） */
	.eg-top-hero__img {
		aspect-ratio: 1 / 1;
		max-height: 320px;
	}
}

@media screen and (max-width: 480px) {
	body.front-top-page .main {
		padding-top: 0;
	}
	.eg-top-hero__img {
		aspect-ratio: 3 / 4;
		max-height: 420px;
	}
}

@media screen and (max-width: 540px) {
	.eg-top-hero__inner {
		padding: 0 0 28px;
	}
	.eg-top-hero__item {
		gap: 12px;
		padding: 8px 0;
	}
	.eg-top-hero__icon {
		width: 30px;
		height: 30px;
	}
	.eg-top-hero__label {
		font-size: 21px;
	}
	h2.eg-top-hero__catch {
		font-size: 24px;
		text-align: left;
	}
	.eg-top-hero__catch br {
		display: none;
	}
	.eg-top-hero__lead {
		font-size: 15px;
		text-align: left;
	}
	.eg-top-hero__lead br {
		display: none;
	}
	.eg-top-hero__note {
		font-size: 15px;
		text-align: left;
	}
	.eg-top-hero__note br {
		display: none;
	}
}

@media screen and (max-width: 360px) {
	.eg-top-hero__label {
		font-size: 19px;
	}
}

/* -- 01_toppage / 02（弊社の強み） -- */

.eg-top-strengths__inner {
	max-width: 1070px;
	margin: 0 auto;
	padding: 90px 0 120px 0;
}
h2.eg-top-strengths__title {
	margin: 0 0 48px;
	padding: 0;
	text-align: center;
	font-family: "Noto Serif JP", "Hiragino Mincho ProN", "Yu Mincho", serif !important;
	font-weight: 500;
	font-size: clamp(32px, 3.8vw, 46px);
	color: var(--eg-green-deep, #004e37);
}
ul.eg-top-strengths__list {
	margin: 0;
	padding: 0;
	list-style: none;
	display: flex;
	align-items: stretch;
}
.eg-top-strengths__item {
	flex: 1 1 0;
	padding: 0 32px;
}
.eg-top-strengths__item:not(:first-child) {
	border-left: 1px solid #b3b3b3;
}
.eg-top-strengths__head {
	display: flex;
	align-items: flex-start;
	gap: 16px;
	min-height: 64px;
}
.eg-top-strengths__number {
	flex: 0 0 auto;
	font-family: "Noto Serif JP", "Hiragino Mincho ProN", "Yu Mincho", serif;
	font-size: 46px;
	line-height: 1;
	color: var(--eg-gold, #998631);
}
h3.eg-top-strengths__heading {
	margin: 0;
	padding: 0;
	font-family: "Noto Serif JP", "Hiragino Mincho ProN", "Yu Mincho", serif !important;
	font-size: 21px;
	line-height: 1.5;
	font-weight: 500;
	color: #191919;
}
.eg-top-strengths__icon {
	display: block;
	margin: 24px auto;
	width: 96px;
	height: 96px;
	border-radius: 50%;
	background-color: var(--eg-green-deep, #004e37);
	background-repeat: no-repeat;
	background-position: center;
	background-size: 54px 54px;
}
.eg-top-strengths__icon--design  { background-image: url("/2026/wp-content/uploads/2026/09/top-02-icon-design.webp"); }
.eg-top-strengths__icon--order   { background-image: url("/2026/wp-content/uploads/2026/09/top-02-icon-order.webp"); }
.eg-top-strengths__icon--quality { background-image: url("/2026/wp-content/uploads/2026/09/top-02-icon-quality.webp"); }
p.eg-top-strengths__text {
	margin: 0;
	font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Yu Gothic", "YuGothic", "Meiryo", sans-serif;
	font-size: 16px;
	line-height: 1.8;
	color: #333;
}

/* タブレット：1項目を横長の行にする */
@media screen and (min-width: 768.02px) and (max-width: 1023px) {
	.eg-top-strengths__inner {
		padding: 45px 0 60px;
	}
	ul.eg-top-strengths__list {
		flex-direction: column;
	}
	.eg-top-strengths__item {
		display: grid;
		grid-template-columns: 88px 1fr;
		grid-template-areas: "head head" "icon text";
		column-gap: 24px;
		row-gap: 16px;
		align-items: center;
		padding: 28px 0;
	}
	.eg-top-strengths__item:first-child {
		padding-top: 0;
	}
	.eg-top-strengths__item:last-child {
		padding-bottom: 0;
	}
	.eg-top-strengths__item:not(:first-child) {
		border-left: none;
		border-top: 2px dotted #b3b3b3;
	}
	.eg-top-strengths__head {
		grid-area: head;
		min-height: 0;
		align-items: center;
	}
	h3.eg-top-strengths__heading br {
		display: none;
	}
	.eg-top-strengths__icon {
		grid-area: icon;
		margin: 0;
		width: 88px;
		height: 88px;
		background-size: 50px 50px;
	}
	p.eg-top-strengths__text {
		grid-area: text;
	}
}

@media screen and (max-width: 768px) {
	/* 区切り線はstyle.cssの共通デフォルト */
	.eg-top-strengths__inner {
		padding: 48px 0;
	}
	h2.eg-top-strengths__title {
		margin-bottom: 10px;
	}
	.eg-top-strengths__head {
		min-height: 0;
	}
	.eg-top-strengths__list {
		flex-direction: column;
	}
	.eg-top-strengths__item {
		padding: 24px 0;
	}
	.eg-top-strengths__item:not(:first-child) {
		border-left: none;
		border-top: 2px dotted #b3b3b3;
	}
}

@media screen and (max-width: 540px) {
	.eg-top-strengths__inner {
		padding: 10px 0 32px;
	}
	h2.eg-top-strengths__title {
		font-size: 26px;
	}
	h3.eg-top-strengths__heading {
		font-size: 22px;
		color: #404040;
	}
	.eg-top-strengths__icon {
		margin: 16px auto;
		width: 80px;
		height: 80px;
		background-size: 45px 45px;
	}
}


/* -- 01_toppage / 03（理想を形にする、設計力） -- */

.eg-top-strength-detail__head {
	max-width: 1366px;
	margin: 0 auto;
	padding: 64px 24px 0;
	text-align: center;
}
.eg-top-strength-detail__label {
	display: flex;
	align-items: baseline;
	justify-content: center;
	gap: 12px;
}
.eg-top-strength-detail__label-text {
	font-family: "Noto Serif JP", "Hiragino Mincho ProN", "Yu Mincho", serif;
	font-weight: 500;
	font-size: 24px;
	letter-spacing: 0.08em;
	color: var(--eg-green-deep, #004e37);
}
.eg-top-strength-detail__number {
	font-family: "Noto Serif JP", "Hiragino Mincho ProN", "Yu Mincho", serif;
	font-size: 40px;
	line-height: 1;
	color: var(--eg-gold, #998631);
}
h2.eg-top-strength-detail__title {
	font-family: "Noto Serif JP", "Hiragino Mincho ProN", "Yu Mincho", serif !important;
	font-weight: 500;
	font-size: clamp(28px, 3.4vw, 44px);
	line-height: 1.5;
	color: #191919;
}
.eg-top-strength-detail__lead {
	margin: 0;
	font-size: 16px;
	line-height: 1.8;
	color: #333;
}
/* 全幅は負マージン方式（100vwはスクロールバー幅ぶん横にはみ出すため使わない） */
.eg-top-strength-detail__photo {
	margin: 48px -30px 0;
}
.eg-top-strength-detail__img {
	display: block;
	width: 100%;
	aspect-ratio: 1366 / 440;
	object-fit: cover;
}
ul.eg-top-strength-detail__list {
	max-width: 1366px;
	margin: 48px auto 0 !important;
	padding: 0 24px 64px;
	list-style: none;
	display: flex;
	align-items: flex-start;
}
.eg-top-strength-detail__item {
	flex: 1 1 0;
	padding: 0 12px;
	text-align: center;
}
.eg-top-strength-detail__item:not(:first-child) {
	border-left: 1px solid #b3b3b3;
}
.eg-top-strength-detail__icon {
	display: block;
	margin: 0 auto;
	width: 48px;
	height: 48px;
	background-repeat: no-repeat;
	background-position: center;
	background-size: contain;
}
.eg-top-strength-detail__icon--survey   { background-image: url("/2026/wp-content/uploads/2026/09/top-03-icon-survey.webp"); }
.eg-top-strength-detail__icon--planning { background-image: url("/2026/wp-content/uploads/2026/09/top-03-icon-planning.webp"); }
.eg-top-strength-detail__icon--material { background-image: url("/2026/wp-content/uploads/2026/09/top-03-icon-material.webp"); }
.eg-top-strength-detail__icon--function { background-image: url("/2026/wp-content/uploads/2026/09/top-03-icon-function.webp"); }
.eg-top-strength-detail__icon--safety   { background-image: url("/2026/wp-content/uploads/2026/09/top-03-icon-safety.webp"); }
.eg-top-strength-detail__icon--design   { background-image: url("/2026/wp-content/uploads/2026/09/top-03-icon-design.webp"); }
.eg-top-strength-detail__icon-label {
	display: block;
	margin: 16px 0 0;
	font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Yu Gothic", "YuGothic", "Meiryo", sans-serif;
	font-weight: 400;
	font-size: 18px;
	letter-spacing: 0.05em;
	color: #1a1a1a;
}

@media screen and (max-width: 768px) {
	/* 区切り線はstyle.cssの共通デフォルト */
	.eg-top-strength-detail + .eg-top-strength-detail {
		margin-top: 40px;
	}
	h2.eg-top-strength-detail__title {
		font-weight: 500;
	}
	.eg-top-strength-detail__head {
		padding: 32px 20px 0;
		text-align: left;
	}
	.eg-top-strength-detail__label {
		justify-content: flex-start;
	}
	.eg-top-strength-detail__photo {
		margin: 16px 0 0;
	}
	.eg-top-strength-detail__img {
		aspect-ratio: 2.3 / 1;
		object-position: left center;
	}
	ul.eg-top-strength-detail__list {
		margin-top: 32px !important;
		padding: 0 20px 32px;
		/* 入れ子で崩れないようグリッドで組む */
		display: grid;
		grid-template-columns: repeat(3, 1fr);
		column-gap: 8px;
		row-gap: 24px;
	}
	/* タブレット：3列×2行 */
	.eg-top-strength-detail__item {
		flex: none;
		padding: 0 8px;
		border-left: none;
		border-top: none;
	}
	.eg-top-strength-detail__item:not(:nth-child(3n+1)) {
		border-left: 2px dotted #b3b3b3;
	}
	.eg-top-strength-detail__item:nth-child(n+4) {
		border-top: 2px dotted #b3b3b3;
		padding-top: 24px;
	}
}

@media screen and (max-width: 540px) {
	.eg-top-strength-detail__head {
		padding-top: 40px;
		padding-left: 0;
		padding-right: 0;
	}
	h2.eg-top-strength-detail__title {
		margin-top: 0 !important;
		font-size: 28px;
	}
	.eg-top-strength-detail__label-text {
		font-size: 20px;
	}
	.eg-top-strength-detail__number {
		font-size: 32px;
	}
	.eg-top-strength-detail__lead {
		font-size: 15px;
		text-align: left;
	}
	.eg-top-strength-detail__lead br {
		display: none;
	}
	ul.eg-top-strength-detail__list {
		grid-template-columns: repeat(2, 1fr);
		column-gap: 10px;
		row-gap: 20px;
	}
	/* スマホ：2列×3行 */
	.eg-top-strength-detail__item {
		flex: none;
		padding: 0 10px;
		border-left: none;
		border-top: none;
	}
	.eg-top-strength-detail__item:nth-child(2n),
	.eg-top-strength-detail__item:first-child {
		border-left: 2px dotted #b3b3b3;
	}
	.eg-top-strength-detail__item:nth-child(n+3) {
		border-top: 2px dotted #b3b3b3;
		padding-top: 20px;
	}
	.eg-top-strength-detail__icon-label {
		font-size: 16px;
	}
}

@media screen and (max-width: 360px) {
	h2.eg-top-strength-detail__title {
		font-size: 24px;
	}
}

/* -- 01_toppage / 04（用途に合わせたオーダーメイド設計） -- */

.eg-top-strength-detail__photos {
	margin: 48px -30px 0;
	display: grid;
	grid-template-columns: 1fr 1fr;
}
.eg-top-strength-detail__photo-img {
	display: block;
	width: 100%;
	aspect-ratio: 3 / 2;
	object-fit: cover;
}
.eg-top-strength-detail__icon--house     { background-image: url("/2026/wp-content/uploads/2026/09/top-04-icon-house.webp"); }
.eg-top-strength-detail__icon--building  { background-image: url("/2026/wp-content/uploads/2026/09/top-04-icon-building.webp"); }
.eg-top-strength-detail__icon--plan      { background-image: url("/2026/wp-content/uploads/2026/09/top-04-icon-plan.webp"); }
.eg-top-strength-detail__icon--eco       { background-image: url("/2026/wp-content/uploads/2026/09/top-04-icon-eco.webp"); }
.eg-top-strength-detail__icon--custom    { background-image: url("/2026/wp-content/uploads/2026/09/top-04-icon-custom.webp"); }
.eg-top-strength-detail__icon--proposal  { background-image: url("/2026/wp-content/uploads/2026/09/top-04-icon-proposal.webp"); }

@media screen and (max-width: 768px) {
	.eg-top-strength-detail__photos {
		margin: 32px 0 0;
	}
	.eg-top-strength-detail__photo-img {
		aspect-ratio: 4 / 3;
	}
}

/* 弊社の強み01〜03が連続する場合の余白 */
@media screen and (min-width: 768.02px) {
	.eg-top-strength-detail + .eg-top-strength-detail {
		margin-top: 90px;
	}
}

/* タブレット：6項目は3列×2行、余白はPCの半分 */
@media screen and (min-width: 768.02px) and (max-width: 1023px) {
	.eg-top-strength-detail__head {
		padding-top: 32px;
	}
	ul.eg-top-strength-detail__list {
		padding-bottom: 32px;
		display: grid;
		grid-template-columns: repeat(3, 1fr);
		column-gap: 8px;
		row-gap: 24px;
	}
	.eg-top-strength-detail__item {
		flex: none;
		padding: 0 8px;
	}
	/* 共通の`:not(:first-child)`（詳細度0,2,0）の実線を、各行の先頭（1・4番目）で確実に消す */
	.eg-top-strength-detail__item:nth-child(3n+1) {
		border-left: none;
	}
	.eg-top-strength-detail__item:not(:nth-child(3n+1)) {
		border-left: 2px dotted #b3b3b3;
	}
	.eg-top-strength-detail__item:nth-child(n+4) {
		border-top: 2px dotted #b3b3b3;
		padding-top: 24px;
	}
	.eg-top-strength-detail + .eg-top-strength-detail {
		margin-top: 45px;
	}
}

/* -- 01_toppage / 05（確かな施工品質） -- */

.eg-top-strength-detail__photos--4up {
	grid-template-columns: repeat(4, 1fr);
}
.eg-top-strength-detail__photos--4up .eg-top-strength-detail__photo-img {
	aspect-ratio: 3 / 4;
}
.eg-top-strength-detail__icon--base       { background-image: url("/2026/wp-content/uploads/2026/09/top-05-icon-base.webp"); }
.eg-top-strength-detail__icon--craft      { background-image: url("/2026/wp-content/uploads/2026/09/top-05-icon-craft.webp"); }
.eg-top-strength-detail__icon--finish     { background-image: url("/2026/wp-content/uploads/2026/09/top-05-icon-finish.webp"); }
.eg-top-strength-detail__icon--durability { background-image: url("/2026/wp-content/uploads/2026/09/top-05-icon-durability.webp"); }
.eg-top-strength-detail__icon--hardhat    { background-image: url("/2026/wp-content/uploads/2026/09/top-05-icon-hardhat.webp"); }
.eg-top-strength-detail__icon--quality    { background-image: url("/2026/wp-content/uploads/2026/09/top-05-icon-quality.webp"); }

@media screen and (max-width: 768px) {
	.eg-top-strength-detail__photos--4up {
		grid-template-columns: repeat(2, 1fr);
	}
	.eg-top-strength-detail__photos--4up .eg-top-strength-detail__photo-img {
		aspect-ratio: 4 / 3;
	}
}

/* ===== 01_toppage / 06（施工実績） ===== */

.eg-top-works__inner {
	max-width: 1140px;
	margin: 0 auto;
	padding: 140px 24px 96px;
}
h2.eg-top-works__title {
	margin: 0 0 48px;
	padding: 0;
	text-align: center;
	font-family: "Noto Serif JP", "Hiragino Mincho ProN", "Yu Mincho", serif !important;
	font-weight: 500;
	font-size: 44px;
	color: #191919;
}
.eg-top-works__body {
	display: grid;
	grid-template-columns: 4fr 6fr;
	gap: 48px;
	align-items: start;
}
p.eg-top-works__lead {
	margin: 0 0 24px;
	font-family: "Noto Serif JP", "Hiragino Mincho ProN", "Yu Mincho", serif !important;
	font-size: 23px;
	line-height: 1.8;
	color: var(--eg-green-deep, #004e37);
	font-weight: 500;
}
ul.eg-top-works__list {
	margin: 0 0 32px;
	padding: 0;
	list-style: none;
}
li.eg-top-works__item {
	position: relative;
	padding: 8px 0 8px 20px;
	font-size: 19px;
	line-height: 1.7;
	color: #111;
	font-weight: 600;
}
li.eg-top-works__item::before {
	content: "";
	position: absolute;
	left: 0;
	top: 22px;
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background-color: var(--eg-gold, #998631);
}
p.eg-top-works__note {
	margin: 0 0 8px;
	font-size: 16px;
	line-height: 1.8;
	color: #333;
}
.eg-top-works__photos {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 6px;
}
.eg-top-works__photo {
	display: block;
	width: 100%;
	aspect-ratio: 16 / 9;
	object-fit: cover;
}
.eg-top-works__photo--main {
	grid-column: 1 / -1;
}

/* タブレット：写真が上、テキストが下 */
@media screen and (min-width: 768.02px) and (max-width: 1023px) {
	.eg-top-works__inner {
		padding: 70px 24px 48px;
	}
	h2.eg-top-works__title {
		font-size: 32px;
	}
	.eg-top-works__body {
		grid-template-columns: 1fr;
		gap: 32px;
	}
	.eg-top-works__photos {
		order: -1;
	}
	/* 注記は文章なので、タブレットでも<br>を解除して自然に折り返す（スマホは下のブロックで同様） */
	p.eg-top-works__note br,
	li.eg-top-works__item br {
		display: none;
	}
}

@media screen and (max-width: 768px) {
	/* セクション境目の区切り線はstyle.css側の共通デフォルトが効くため、ここでは指定しない */
	.eg-top-works__inner {
		padding: 28px 0 48px 0;
	}
	h2.eg-top-works__title {
		margin-bottom: 32px;
		font-size: 32px;
	}
	.eg-top-works__body {
		grid-template-columns: 1fr;
		gap: 32px;
	}
	p.eg-top-works__lead {
		font-size: 20px;
		text-align: left;
	}
	p.eg-top-works__lead br {
		display: none;
	}
	p.eg-top-works__note {
		font-size: 15px;
		text-align: left;
	}
	p.eg-top-works__note br,
	li.eg-top-works__item br {
		display: none;
	}
	li.eg-top-works__item {
		border-bottom: 2px dotted #b3b3b3;
		font-size: 17px;
		font-weight: 600;
	}
	li.eg-top-works__item:last-child {
		border-bottom: none;
	}
}

/* ===== 01_toppage / 07（こんな方におすすめ） ===== */

.eg-top-recommend {
	margin-left: -30px;
	margin-right: -30px;
	background-image: url("/2026/wp-content/uploads/2026/09/top-07-bg.webp");
	background-repeat: no-repeat;
	background-position: center bottom;
	background-size: cover;
}

/* .mainのpaddingが834px以下で16pxになる分の負マージン調整 */
@media screen and (max-width: 834px) {
	.eg-top-recommend {
		margin-left: -16px;
		margin-right: -16px;
	}
}
@media screen and (min-width: 768.02px) and (max-width: 834px) {
	.eg-top-strength-detail__photo,
	.eg-top-strength-detail__photos {
		margin-left: -16px;
		margin-right: -16px;
	}
}
.eg-top-recommend__inner {
	max-width: 1086px;
	margin: 0 auto;
	padding: 50px 20px 96px;
}
h2.eg-top-recommend__title {
	margin: 0 0 32px;
	padding: 0;
	text-align: center;
	font-family: "Noto Serif JP", "Hiragino Mincho ProN", "Yu Mincho", serif !important;
	font-weight: 500;
	font-size: clamp(32px, 3.8vw, 46px);
	color: #191919;
}
.eg-top-recommend__grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 20px 46px;
}
ul.eg-top-recommend__col {
	margin: 0;
	padding: 0;
	list-style: none;
	display: flex;
	flex-direction: column;
	gap: 20px;
}
ul.eg-top-recommend__col li.eg-top-recommend__item {
	margin: 0;
	padding: 16px 24px;
	background-color: rgba(255, 255, 255, 0.8);
	font-family: "Noto Serif JP", "Hiragino Mincho ProN", "Yu Mincho", serif !important;
	font-weight: 600;
	font-size: 18px;
	line-height: 1.4;
	color: #191919;
	text-align: center;
}

/* タブレット：1列・左右padding 28px */
@media screen and (max-width: 1023px) {
	.eg-top-recommend__inner {
		padding-right: 28px;
		padding-left: 28px;
	}
	.eg-top-recommend__grid {
		grid-template-columns: 1fr;
	}
	ul.eg-top-recommend__col + ul.eg-top-recommend__col {
		margin-top: 0 !important;
	}
}
@media screen and (min-width: 768.02px) and (max-width: 1023px) {
	.eg-top-recommend__inner {
		padding-top: 25px;
	}
	ul.eg-top-recommend__col li.eg-top-recommend__item {
		text-align: left;
	}
}

@media screen and (max-width: 768px) {
	/* 区切り線なし */
	.eg-top-recommend {
		border-top: none !important;
	}
	.eg-top-recommend__inner {
		padding: 24px 20px 60px;
	}
	h2.eg-top-recommend__title {
		margin-bottom: 20px;
		font-size: 26px;
	}
	.eg-top-recommend__grid {
		grid-template-columns: 1fr;
		gap: 6px;
	}
	ul.eg-top-recommend__col {
		gap: 10px;
	}
	.eg-top-recommend__grid ul.eg-top-recommend__col {
		margin-top: 0 !important;
	}
	ul.eg-top-recommend__col li.eg-top-recommend__item {
		padding: 10px 6px 10px 10px;
		font-family: inherit !important;
		font-size: 14px;
		text-align: left;
		color: #333;
	}
	/* 直後の無料相談（.eg-advice）との間を詰める */
	.home .article {
		margin-bottom: 0;
	}
	.home .eg-advice {
		padding-top: 0;
	}
}

/* ===== お問い合わせフォーム（/contact/） ===== */

.eg-contact-form .form-group {
	margin: 0 0 16px;
	padding: 10px 20px 1px 20px;
	background-color: #fff;
	border-radius: 8px;
}
.eg-contact-form .form-group label {
	display: block;
	font-size: 16px;
	font-weight: 700;
	color: #333;
	margin: 0 0 8px;
}
.eg-contact-form .required {
	display: inline-block;
	position: relative;
	top: -1px;
	margin-left: 8px;
	padding: 2px 10px 3px 10px;
	border-radius: 4px;
	background-color: #ff8c8c;
	color: #fff;
	font-size: 13px;
	line-height: 1.5;
	font-weight: 400;
	letter-spacing: 0.05em;
	vertical-align: middle;
}
.eg-contact-form .form-group input[type="text"],
.eg-contact-form .form-group input[type="email"],
.eg-contact-form .form-group input[type="tel"] {
	display: block;
	width: 100%;
	max-width: 400px;
	margin-top: 4px;
}
.eg-contact-form .form-group textarea {
	display: block;
	width: 100%;
	max-width: 100%;
	height: 160px;
	margin-top: 4px;
}
.eg-contact-form .form-note {
	display: inline-block;
	margin-left: 8px;
	font-size: 13px;
	font-weight: 400;
	color: #333;
	vertical-align: middle;
}
.eg-contact-form .wpcf7-list-item {
	display: block;
	margin: 0 0 10px;
}
.eg-contact-form .wpcf7-list-item:last-child {
	margin-bottom: 0;
}
.eg-contact-form input[type="checkbox"] {
	width: 18px;
	height: 18px;
	margin-right: 6px;
	accent-color: var(--eg-green-deep, #004e37);
	vertical-align: middle;
}
.eg-contact-form .privacy-check {
	margin: 0 0 20px;
	padding: 18px 24px;
	background-color: #fff;
	border-radius: 8px;
}
.eg-contact-form .privacy-check a {
	color: var(--eg-green-deep, #004e37);
	text-decoration: underline;
}

/* お問合せ概要（チェックボックス）：PC・タブレットは横並び、スマホは縦積みのまま */
@media screen and (min-width: 768.02px) {
	.eg-contact-form .wpcf7-checkbox {
		display: flex;
		flex-wrap: wrap;
		gap: 8px 28px;
	}
	.eg-contact-form .wpcf7-checkbox .wpcf7-list-item {
		margin: 0 !important;
	}
}

@media screen and (max-width: 768px) {
	.eg-contact-form .privacy-check {
		padding: 16px 20px;
	}
}

@media screen and (max-width: 540px) {
	.eg-contact-form .privacy-check {
		padding: 14px 18px 2px 20px;
	}
	.eg-contact-form .required {
		top: -4px;
		margin-left: 4px;
		padding: 2px 6px;
	}
	.eg-contact-form .form-note {
		position: relative;
		top: -4px;
		margin-left: 4px;
	}
	.eg-contact-form .form-group input[type="text"]::placeholder,
	.eg-contact-form .form-group input[type="email"]::placeholder,
	.eg-contact-form .form-group input[type="tel"]::placeholder,
	.eg-contact-form .form-group textarea::placeholder {
		font-size: 14px;
	}
	.eg-contact-form .form-group input[type="text"],
	.eg-contact-form .form-group input[type="email"],
	.eg-contact-form .form-group input[type="tel"] {
		padding: 10px 12px;
	}
	.eg-contact-form .privacy-check a {
		display: inline-block;
		margin-left: 29px;
		margin-top: 8px;
	}
	.eg-contact-form .privacy-check .wpcf7-list-item-label {
		font-size: 16px;
	}
}

/* 同意欄の必須マーク：2行目に落として「個」の先頭に揃える */
@media screen and (max-width: 390px) {
	.eg-contact-form .privacy-check .required {
		display: table;
		top: 0;
		margin: 6px 0 0 28px;
	}
}

.eg-contact-form .submit-area {
	text-align: center;
	margin-top: 16px;
}
/* CF7のスピナー：ボタン中央寄せを崩さず、スマホで右にはみ出さないようボタン下中央に置く */
.eg-contact-form .submit-area p {
	position: relative;
}
.eg-contact-form .wpcf7-spinner {
	position: absolute;
	left: 50%;
	top: 100%;
	margin: 8px 0 0 -12px;
}

/* 送信前の確認画面（functions.phpのJSが生成する） */
.eg-contact-form .eg-contact-confirm {
	margin: 0 0 16px;
	padding: 18px 24px;
	background-color: #fff;
	border-radius: 8px;
}
.eg-contact-form .eg-contact-confirm__intro {
	margin: 0 0 16px;
	font-size: 16px;
	color: #333;
}
.eg-contact-form .eg-contact-confirm__row {
	display: flex;
	flex-wrap: wrap;
	gap: 4px 16px;
	padding: 12px 0;
	border-bottom: 1px dotted #b3b3b3;
}
.eg-contact-form .eg-contact-confirm__row:last-child {
	border-bottom: none;
}
.eg-contact-form .eg-contact-confirm__label {
	flex: 0 0 140px;
	font-size: 16px;
	font-weight: 700;
	color: #333;
}
.eg-contact-form .eg-contact-confirm__value {
	flex: 1 1 240px;
	font-size: 16px;
	color: #333;
	word-break: break-word;
}
.eg-contact-form .eg-contact-confirm__back {
	display: block;
	width: 320px;
	max-width: 100%;
	margin: 24px auto 12px;
	padding: 12px 32px;
	background: #fff;
	border: 1px solid #999;
	border-radius: 8px;
	color: #333;
	font-size: 16px;
	font-weight: 700;
	cursor: pointer;
	box-sizing: border-box;
}
@media screen and (max-width: 540px) {
	.eg-contact-form .eg-contact-confirm__label {
		flex: 0 0 100%;
	}
}
/* Cocoon本体のinput[type="submit"]{width:100%}を明示的に上書き */
.eg-contact-form .wpcf7-submit {
	display: inline-block;
	width: 320px;
	max-width: 100%;
	box-sizing: border-box;
	padding: 16px 48px;
	border-radius: 8px;
	background: #ef7c1c;
	color: #fff;
	font-size: 18px;
	font-weight: 700;
	letter-spacing: 0.05em;
	border: none;
	cursor: pointer;
	transition: background-color .2s, transform .1s;
}
.eg-contact-form .wpcf7-submit:hover {
	background: #d96c11;
}
.eg-contact-form .wpcf7-submit:active {
	transform: translateY(1px);
}
.eg-contact-form .wpcf7-submit:disabled {
	background: #f0b784;
	cursor: not-allowed;
}

@media screen and (max-width: 768px) {
	.eg-contact-form .wpcf7-submit {
		width: 100%;
		min-width: 0;
		padding: 16px 20px;
		font-size: 16px;
	}
	.eg-contact-form .eg-contact-confirm__back {
		width: 100%;
		padding: 12px 20px;
	}
}


/* ===== 07_flow（/flow/ 施工の流れ） ===== */

/* -- 07_flow / 00（導入文＋STEP01 お問い合わせ） -- */

.eg-flow-hero {
	box-sizing: border-box;
	max-width: 960px;
	margin: 30px auto 0;
	padding: 45px 50px 60px 60px;
	background-color: #f5f2f1;
}

p.eg-flow-hero__lead {
	margin: 0 0 81px;
	padding: 0;
	color: #333;
	font-size: 18px;
	line-height: 1.78;
	letter-spacing: 0.06em;
}

.eg-flow-step {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 400px;
	column-gap: 40px;
	align-items: start;
}

/* STEP／01の数字フォント */
p.eg-flow-step__head {
	display: flex;
	align-items: center;
	gap: 16px;
	margin: 0 0 23px;
	padding: 0;
	line-height: 1;
}

.eg-flow-step__label {
	font-family: "Barlow Condensed", "Noto Sans JP", sans-serif;
	font-weight: 500;
	font-size: 26px;
	letter-spacing: 0;
	color: #4d4d4d;
}

.eg-flow-step__number {
	font-family: "Barlow Condensed", "Noto Sans JP", sans-serif;
	font-weight: 500;
	font-size: 64px;
	letter-spacing: 0;
	color: var(--eg-green-deep, #004e37);
}

/* 汎用のmargin-topを打ち消す */
h2.eg-flow-step__title {
	margin: 0 0 13px !important;
	padding: 0;
	font-family: "Noto Serif JP", "Hiragino Mincho ProN", "Yu Mincho", serif !important;
	font-weight: 500;
	font-size: 36px;
	line-height: 1.3;
	text-align: left;
	color: #111;
}

p.eg-flow-step__catch {
	margin: 0 0 34px;
	padding: 0;
	font-family: "Noto Serif JP", "Hiragino Mincho ProN", "Yu Mincho", serif;
	font-weight: 500;
	font-size: 20px;
	line-height: 1.6;
	letter-spacing: 0.08em;
	color: var(--eg-green-deep, #004e37);
}

/* ul：汎用ルールの margin-top:20px !important を打ち消す */
ul.eg-flow-step__list {
	margin: 0 0 26px !important;
	padding: 0;
	list-style: none;
}

ul.eg-flow-step__list li.eg-flow-step__item {
	position: relative;
	margin: 0;
	padding: 0 0 0 36px;
	color: #111;
	font-size: 20px;
	font-weight: 600;
	line-height: 44px;
	letter-spacing: 0.05em;
}

ul.eg-flow-step__list li.eg-flow-step__item::before {
	content: "";
	position: absolute;
	top: 11px;
	left: 7px;
	width: 22px;
	height: 22px;
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 22 22' fill='none' stroke='%23004e37' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='11' cy='11' r='9.9' stroke-width='1.6'/%3E%3Cpath d='M6.2 11.4l3.3 3.2 6.3-6.6' stroke-width='1.8'/%3E%3C/svg%3E") center / contain no-repeat;
}

p.eg-flow-step__note {
	margin: 0;
	padding: 0;
	color: #333;
	font-size: 16px;
	line-height: 1.9;
}

.eg-flow-step__photo {
	margin: 0;
}

img.eg-flow-step__img {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 1 / 1;
	object-fit: cover;
}

/* タブレット（769〜1023px）：写真が上・本文が下の縦積み、余白はPCの半分 */
@media screen and (max-width: 1023px) {
	.eg-flow-hero {
		margin: 15px auto 0;
		padding: 25px 40px 40px;
	}
	p.eg-flow-hero__lead {
		margin-bottom: 40px;
	}
	p.eg-flow-hero__lead br {
		display: none;
	}
	.eg-flow-step {
		grid-template-columns: minmax(0, 1fr);
		row-gap: 32px;
	}
	.eg-flow-step__photo {
		order: -1;
	}
	img.eg-flow-step__img {
		aspect-ratio: 3 / 2;
		object-position: center 30%;
	}
	h2.eg-flow-step__title {
		font-size: 32px;
	}
}

/* スマホ（768px以下）：本文サイズを縮小し、<br>は解除して自然に折り返す */
@media screen and (max-width: 768px) {
	.eg-flow-hero {
		margin: 10px auto 0;
		padding: 28px 20px 36px;
	}
	p.eg-flow-hero__lead {
		margin-bottom: 28px;
		font-size: 16px;
		line-height: 1.8;
		letter-spacing: 0;
		text-align: left;
	}
	.eg-flow-step {
		row-gap: 24px;
	}
	img.eg-flow-step__img {
		aspect-ratio: 4 / 3;
	}
	p.eg-flow-step__head {
		gap: 12px;
		margin-bottom: 16px;
	}
	.eg-flow-step__label {
		font-size: 22px;
	}
	.eg-flow-step__number {
		font-size: 52px;
	}
	h2.eg-flow-step__title {
		margin-bottom: 12px !important;
		font-size: 26px;
		line-height: 1.4;
	}
	p.eg-flow-step__catch {
		margin-bottom: 20px;
		font-size: 18px;
	}
	ul.eg-flow-step__list {
		margin-bottom: 20px !important;
	}
	ul.eg-flow-step__list li.eg-flow-step__item {
		padding: 5px 0 5px 36px;
		font-size: 17px;
		line-height: 1.8;
		letter-spacing: 0;
	}
	ul.eg-flow-step__list li.eg-flow-step__item::before {
		top: 9.5px;
	}
	p.eg-flow-step__note {
		font-size: 15px;
		line-height: 1.8;
	}
	p.eg-flow-step__note br {
		display: none;
	}
}

@media screen and (max-width: 540px) {
	.eg-flow-hero {
		padding: 24px 16px 32px;
	}
}

@media screen and (max-width: 360px) {
	h2.eg-flow-step__title {
		font-size: 24px;
	}
}


/* -- 07_flow / 01（STEP02 ヒアリング） -- */

.eg-flow-panel {
	box-sizing: border-box;
	max-width: 960px;
	margin: 0 auto;
	padding: 100px 50px 70px 60px;
}

/* 「・」マーカー：STEP01のチェックアイコン用paddingを打ち消し、文字を20px内側から始める */
ul.eg-flow-step__list--dot li.eg-flow-step__item {
	padding-left: 20px;
}

ul.eg-flow-step__list--dot li.eg-flow-step__item::before {
	top: 19.5px;
	left: 3px;
	width: 5px;
	height: 5px;
	border-radius: 50%;
	background: #111;
}

@media screen and (max-width: 1023px) {
	.eg-flow-panel {
		padding: 50px 40px 35px;
	}
}

@media screen and (max-width: 768px) {
	/* STEPパネル同士の間に区切り線は不要 */
	.main section.eg-flow-panel {
		border-top: none !important;
	}
	.eg-flow-panel {
		padding: 56px 20px 36px;
	}
	ul.eg-flow-step__list--dot li.eg-flow-step__item {
		padding-left: 20px;
	}
	ul.eg-flow-step__list--dot li.eg-flow-step__item::before {
		top: 17px;
	}
}

@media screen and (max-width: 540px) {
	.eg-flow-panel {
		padding: 48px 16px 32px;
	}
}


/* -- 07_flow / 02（STEP03 現地確認） -- */

.eg-flow-panel--beige {
	margin-top: 30px;
	padding: 50px 50px 60px 60px;
	background-color: #f5f2f1;
}

p.eg-flow-step__note + p.eg-flow-step__note {
	margin-top: 30px;
}

@media screen and (min-width: 768.02px) {
	ul.eg-flow-step__list--dense {
		margin-bottom: 32px !important;
	}
	ul.eg-flow-step__list--dense li.eg-flow-step__item {
		line-height: 38px;
	}
	ul.eg-flow-step__list--dense.eg-flow-step__list--dot li.eg-flow-step__item::before {
		top: 16.5px;
	}
}

@media screen and (max-width: 1023px) {
	/* 外側の間隔：前パネル下padding(35px)と合わせて、PCの半分の50pxになる値 */
	.eg-flow-panel--beige {
		margin-top: 15px;
		padding: 25px 40px 40px;
	}
}

@media screen and (max-width: 768px) {
	.eg-flow-panel--beige {
		margin-top: 20px;
		padding: 28px 20px 36px;
	}
	p.eg-flow-step__note + p.eg-flow-step__note {
		margin-top: 16px;
	}
}

@media screen and (max-width: 540px) {
	.eg-flow-panel--beige {
		margin-top: 16px;
		padding: 24px 16px 32px;
	}
}


/* -- 07_flow / 03（STEP04 お見積り） -- */

/* キャッチ直後に注記が続く（STEP02〜03はキャッチ直後がリスト）ため、PCのみ間隔を詰める */
@media screen and (min-width: 768.02px) {
	p.eg-flow-step__catch--joined,
	p.eg-flow-step__catch--before-note {
		margin-bottom: 28px;
	}
}

p.eg-flow-step__note--intro {
	margin-bottom: 14px;
}

ul.eg-flow-step__list--after-note {
	margin-bottom: 20px !important;
}

@media screen and (min-width: 1023.02px) {
	.eg-flow-panel--plan {
		padding-bottom: 60px;
	}
}

/* 狭いスマホでは、キャッチの2行目（18字）が1行に収まらず中途半端に折り返すため<br>を解除 */
@media screen and (max-width: 540px) {
	p.eg-flow-step__catch--joined br {
		display: none;
	}
}


/* -- 07_flow / 04（STEP05 ご契約） -- */

@media screen and (min-width: 1023.02px) {
	.eg-flow-panel--contract {
		margin-top: 40px;
		padding-bottom: 50px;
	}
}


/* -- 07_flow / 05（STEP06 施工） -- */

@media screen and (min-width: 768.02px) {
	p.eg-flow-step__catch--before-dense-list {
		margin-bottom: 29px;
	}
	ul.eg-flow-step__list--dense.eg-flow-step__list--before-short-note {
		margin-bottom: 26px !important;
	}
}

@media screen and (min-width: 1023.02px) {
	.eg-flow-panel--construction {
		padding-bottom: 55px;
	}
}


/* -- 07_flow / 06（STEP07 完成・お引渡し） -- */

@media screen and (min-width: 1023.02px) {
	.eg-flow-panel--handover {
		margin-top: 45px;
		padding-bottom: 50px;
	}
}


/* -- 07_flow / 07（STEP08 アフターサポート） -- */

@media screen and (min-width: 768.02px) {
	p.eg-flow-step__catch--aftercare {
		margin-bottom: 27px;
	}
	ul.eg-flow-step__list--dense.eg-flow-step__list--aftercare {
		margin-bottom: 21px !important;
	}
}

@media screen and (min-width: 1023.02px) {
	.eg-flow-panel--aftercare {
		padding-bottom: 60px;
	}
}

@media screen and (max-width: 480px) {
	h2.eg-top-works__title {
		font-size: 28px;
	}
}

/* -- 01_toppage：390px以下の文字サイズ -- */
@media screen and (max-width: 390px) {
	h2.eg-top-hero__catch {
		font-size: 22px;
	}
	.eg-top-hero__label {
		font-size: 18px;
	}
	h2.eg-top-strength-detail__title,
	h2.eg-top-works__title {
		font-size: 22px;
	}
	ul.eg-top-strengths__list {
		margin-top: 0 !important;
	}
	p.eg-top-works__lead {
		font-size: 18px;
	}
}
