@charset "UTF-8";

/* Concept ページ専用スタイル（about.css を継承しつつ上書き） */

/* 最後のコンテンツとフッターの間の余白（PC/SP共通） */
.concept{
	padding-bottom: 80px;
}

/* 間取りレイアウト：タイトル 1 / 画像 2.5 の比率（About の width:50% を上書き） */
.concept .box .flex .ttl{
	flex: 1;
	/* テキストは左揃え（txt-left）のまま、タイトルブロック自体は中央寄せ */
	display: flex;
	flex-direction: column;
	align-items: center;
}
.concept .box .flex .img{
	flex: 2.5;
	max-width: 625px; /* Concept 画像の横最大値 */
}

/* タイトル番号アイコンを Concept 専用に差し替え（About の house.png を上書き） */
.concept .box .ttl span:before{
	background-image: url(/image/concept/concept-icon.svg);
	width: 54.61px;
	height: 56.68px;
}

/* アイコン＋数字の line-height を無効化（About の line-height:1 を上書き）＋アイコンと番号の間隔 */
.concept .box .ttl span{
	line-height: normal;
	gap: 10px;
}

/* 本文の上余白とフォントスタイルを Concept のみ上書き（About の margin-top:80px 等を上書き） */
.concept .box .text{
	margin-top: 40px;
	font-size: 14px;
	font-style: normal;
	font-weight: 400;
	line-height: 29.2px; /* 208.571% */
	letter-spacing: 0.5px;
}

/* テキスト下の画像エリア：455×320 を2枚横並び、互い違いオフセット */
.concept .box .img_area{
	display: flex;
	gap: 50px;
}
.concept .box .img_area img{
	box-sizing: content-box; /* 画像本体を 455×320 に保つ（global border-box を打ち消す） */
	width: 455px;
	height: 320px;
	object-fit: cover;
}
.concept .box .img_area img:first-child{
	padding-bottom: 70px;
}
.concept .box .img_area img:last-child{
	padding-top: 70px;
}

/* 点線の上側の余白（box1 下）：about.css の margin-bottom:160px を上書き。最後のボックスは対象外 */
.concept .box01:not(:last-of-type){
	margin-bottom: 60px;
}
/* 最後の Concept ボックスの下マージンを 0 に → 直後のお問い合わせボタンとの間隔をボタンの margin-top(40px) だけにする */
.concept .box01:last-of-type{
	margin-bottom: 0;
}

/* 連続するボックスの境界（1と2の間など）に点線区切り
   repeating-linear-gradient で点の長さ・間隔を自由に調整できる */
.concept .box01 + .box01{
	background-image: repeating-linear-gradient(to right, #797979 0 8px, transparent 8px 16px); /* 8px=点の長さ / 16px=ピッチ（間隔=16-8=8px） */
	background-size: 100% 1px; /* 1px=点の太さ */
	background-position: top;
	background-repeat: no-repeat;
	padding-top: 60px;         /* 線と box2 の間の余白 */
}

/* ============================================================
   Flow（家づくりの流れ）セクション
   ============================================================ */
.concept .flow{
	margin-top: 120px;
}
/* Flow 導入文とステップ群の間隔（page.css の h2+.txt margin-bottom:100px を上書き） */
.concept .flow .txt{
	margin-bottom: 20px;
}

/* ステップ群を囲み、左に縦の点線（4px幅）を走らせる。
   ステップ番号ラベルがこの線の上に重なり、ラベル間で線が見える */
.concept .flow_steps{
	position: relative;
}
.concept .flow_steps:before{
	content: "";
	position: absolute;
	left: 26px;
	top: 0;
	bottom: 0;
	width: 4px;
	background-image: repeating-linear-gradient(to bottom, #BFBFBF 0 8px, transparent 8px 16px); /* 縦ダッシュ8px＋隙間8px（上の仕切り線に合わせる） */
	z-index: 0;
}

/* 各ステップ（横の区切り線は無し） */
.concept .flow_step{
	position: relative;
	z-index: 1;
	padding: 40px 0;
}
.concept .flow_step:first-child{
	padding-top: 0;
}

/* STEP番号 + タイトルの見出し行 */
.concept .flow_head{
	display: flex;
	align-items: center;
	gap: 20px;
	margin-bottom: 0;
	background-color: #fff;
	padding: 15px 0;
}
.concept .flow_num{
	position: relative; /* 縦点線の上に重ねる */
	flex-shrink: 0;
	padding: 8px 18px 6px; /* 上のみ +2px */
	border-radius: 6px;
	background-color: #a58b6f; /* フォールバック（各STEPで上書き） */
	color: #fff;
	font-family: "Jost", sans-serif;
	font-size: 31px;
	font-style: normal;
	font-weight: 400;
	line-height: 32.4px; /* 104.516% */
	letter-spacing: 0.5px;
}
.concept .flow_title{
	font-family: "Noto Sans JP", sans-serif;
	font-size: 22px;
	font-style: normal;
	font-weight: 400;
	line-height: 32.4px; /* 147.273% */
	letter-spacing: 0.5px;
}

/* STEP番号ラベルの色：番号が進むほど濃くなる（01薄→08濃、04はオレンジ強調で別扱い） */
/* STEP 01〜03：背景が薄いので文字は黒 */
.concept .flow_step-01 .flow_num{ background-color: #d2ad80; color: #000; }
.concept .flow_step-02 .flow_num{ background-color: #c49f72; color: #000; }
.concept .flow_step-03 .flow_num{ background-color: #b69164; color: #000; }
/* STEP 05 以降：背景が濃いので文字は白（デフォルトのまま） */
.concept .flow_step-05 .flow_num{ background-color: #9a7548; }
.concept .flow_step-06 .flow_num{ background-color: #8c673a; }
.concept .flow_step-07 .flow_num{ background-color: #7e592c; }
.concept .flow_step-08 .flow_num{ background-color: #704b1e; }

/* 本文（左）＋画像（右）。縦点線を避けて左にインデント */
.concept .flow_body{
	display: flex;
	gap: 50px;
	align-items: center;
	padding-left: 60px;
}
.concept .flow_text{
	flex: 1.6;
	font-size: 14px;
	line-height: 29.2px;
	letter-spacing: 0.5px;
}
.concept .flow_img{
	flex: 0 0 440px;
	width: 440px;
}
.concept .flow_img img{
	display: block; /* インライン要素の下余白（ディセンダ）を除去 */
	width: 100%;
	height: auto;
	object-fit: cover;
}

/* STEP02 等のインライン外部リンクボタン：お問い合わせボタン（共通 .btn a）と同じスタイル */
.concept .flow_link{
	display: inline-block;
	margin-top: 20px;
	background: none;
	border: 1px solid #333;
	color: #333;
	font-size: 1.6rem;
	padding: 5px 50px;
	white-space: nowrap;
}
.concept .flow_link:hover{
	background: #f2f2f2;
	color: #333;
}
.concept .flow_link:after{
	content: "\f35d"; /* Font Awesome: 外部リンク（all.min.css 読み込み済み） */
	font-family: "Font Awesome 6 Free";
	font-weight: 900;
	margin-left: 8px;
	font-size: 11px;
}

/* STEP04 強調：オレンジ角丸ボーダー＋オレンジ文字 */
.concept .flow_step.is-highlight .flow_num{
	background-color: #fff;
	border: 4px solid #e8772e;
	color: #e8772e;
}
.concept .flow_step.is-highlight .flow_title{
	color: #e8772e;
}

/* CTA ボタン（STEP08 本文内）：共通 .btn（角あり・#333枠）を流用し、先頭に SVG アイコンを追加 */
.concept .flow_btn{
	margin-top: 30px;
}
.concept .flow_btn a{
	white-space: nowrap;
	padding: 5px 50px;
}
.concept .flow_btn a:before{
	content: "";
	display: inline-block;
	width: 20px;
	height: 20px;
	margin-right: 10px;
	background-image: url(/image/concept/icon-light.svg);
	background-size: contain;
	background-repeat: no-repeat;
	background-position: center;
	vertical-align: middle;
}

/* Flow セクション下部の締め文＋お問い合わせボタン */
.concept .flow_outro{
	margin-top: 80px;
}
.concept .flow_outro p{
	color: #000;
	font-family: "Noto Sans JP", sans-serif;
	font-size: 18px;
	font-style: normal;
	font-weight: 500;
	line-height: 35.4px;
	letter-spacing: 0.5px;
}
.concept .flow_outro_initial{
	color: #6F4422;
	font-family: "Noto Sans JP", sans-serif;
	font-size: 48px;
	font-style: normal;
	font-weight: 500;
	line-height: 35.4px; /* 73.75% */
	letter-spacing: 0.5px;
}
.concept .flow_outro_btn{
	margin-top: 40px;
}
.concept .flow_outro_btn a:before{
	content: "\e494"; /* ヘッダーのお問い合わせボタンと同じアイコン（style.css の .document a:before） */
	font-family: "Font Awesome 6 Free";
	font-weight: bold;
	margin-right: 10px;
	color: #666666;
}

/* ============================================================
   レスポンシブ対応（concept ページ専用）
   ============================================================ */

/* タブレット帯：固定幅の子要素を流動化 */
@media screen and (max-width: 920px){
	/* Concept サブ画像：455px固定をやめて流動化、高さは自動でアスペクト維持 */
	.concept .box .img_area{
		gap: 30px;
	}
	.concept .box .img_area img{
		box-sizing: border-box;
		width: calc(50% - 15px);
		height: auto;
	}
	.concept .box .img_area img:first-child{ padding-bottom: 40px; }
	.concept .box .img_area img:last-child{ padding-top: 40px; }

	/* Flow 本文＋画像：画像を流動化、左インデント圧縮 */
	.concept .flow_body{
		gap: 30px;
		padding-left: 40px;
	}
	.concept .flow_img{
		flex: 0 0 40%;
		width: 40%;
	}
}

/* モバイル帯：縦積み・全幅化（サイト標準の 600px に合わせる） */
@media screen and (max-width: 600px){
	/* 縦組み時の並び順をタイトル→画像に固定
	   （about.css の column-reverse〔画像上〕と、偶数ボックスの row-reverse を上書き） */
	.concept .box .flex,
	.concept .box:nth-child(even) .flex{
		flex-direction: column;
		gap: 10px;
	}
	/* flex をリセットして全幅縦積みを確実化 */
	.concept .box .flex .ttl,
	.concept .box .flex .img{
		flex: none;
		width: 100%;
	}
	/* 縦組み時はタイトルを中央揃え（txt-left を上書き） */
	.concept .box .flex .ttl{
		text-align: center;
	}

	/* Concept サブ画像：縦積み・中央寄せ・タイトル画像より小さめ・互い違いオフセット解除 */
	.concept .box .img_area{
		flex-direction: column;
		align-items: center;
		gap: 20px;
	}
	.concept .box .img_area img{
		width: 80%;
	}
	.concept .box .img_area img:first-child{ padding-bottom: 0; }
	.concept .box .img_area img:last-child{ padding-top: 0; }

	/* Flow：上余白圧縮、本文＋画像を縦積み */
	.concept .flow{
		margin-top: 60px;
	}
	/* 縦破線を消し、step ごとに横区切り線（Concept の区切り線と同じスタイル）を配置 */
	.concept .flow_steps:before{
		display: none;
	}
	.concept .flow_step + .flow_step{
		background-image: repeating-linear-gradient(to right, #797979 0 8px, transparent 8px 16px);
		background-size: 100% 1px;
		background-position: top;
		background-repeat: no-repeat;
	}
	.concept .flow_body{
		flex-direction: column;
		gap: 20px;
		padding-left: 0; /* 縦破線が無くなるためインデント解除 */
	}
	/* テキストは内容幅に縮ませず常に全幅（改行位置で横幅が変わるのを防ぐ） */
	.concept .flow_text{
		width: 100%;
	}
	.concept .flow_img{
		flex: auto;
		width: 100%;
	}

	/* ステップ見出し：折返し許可＋フォント縮小、上パディングなし・下パディング15px */
	.concept .flow_head{
		flex-wrap: wrap;
		gap: 12px;
		padding-top: 0;
		padding-bottom: 15px;
	}
	.concept .flow_num{
		font-size: 24px;
	}
	.concept .flow_title{
		font-size: 18px;
	}

	/* ボタン3種：横幅に収める（padding 縮小＋折返し許可で overflow 防止） */
	.concept .flow_link,
	.concept .flow_btn a,
	.concept .flow_outro_btn a{
		padding: 10px 16px;
		white-space: normal;
	}

	/* 締めセクションの余白圧縮 */
	.concept .flow_outro{
		margin-top: 50px;
	}
}
