@charset "UTF-8";
/* ==============================================
   外構工事プログレス京都 - flow.css (施工の流れページ)
   PC first / breakpoints: 1200 / 960 / 568
============================================== */

/* ==============================================
   共通見出し（タイトル＋ドット区切り／リード文）
============================================== */
.fp_heading { text-align: center; }
.fp_heading_title {
	position: relative; padding-bottom: 20px;
	font-family: var(--font_serif); font-weight: 600; font-size: 32px;
	letter-spacing: .1em; line-height: 1.75; color: var(--color_text);
}
.fp_heading_title::before {
	content: ""; position: absolute; left: 50%; bottom: 0; width: 8px; height: 8px;
	background: #DAD0BB; transform: translateX(-50%) rotate(45deg);
}
.fp_heading_title::after {
	content: ""; position: absolute; left: 50%; bottom: 0; width: 168px; height: 8px; transform: translateX(-50%);
	background:
		linear-gradient(#DAD0BB, #DAD0BB) left center / 72px 1px no-repeat,
		linear-gradient(#DAD0BB, #DAD0BB) right center / 72px 1px no-repeat;
}
.fp_heading-sm .fp_heading_title { font-size: 32px; }

.fp_lead {
	font-family: var(--font_sans); font-size: 17px; letter-spacing: .1em; line-height: 1.75;
	color: var(--color_text); text-align: center;
}

@media only screen and (max-width: 960px) {
	.fp_heading_title { font-size: 24px; }
	.fp_heading-sm .fp_heading_title { font-size: 20px; }
	.fp_lead { font-size: 15px; }
}
@media only screen and (max-width: 568px) {
	.fp_heading_title { font-size: 20px; }
	.fp_lead { font-size: 14px; }
}

/* ==============================================
   ご相談から完成まで（フロー）
============================================== */
.fp_flow { padding: 0 0 80px; background: var(--color_bg) url(../img/top/bg_triangle_pc02.png) top center / 100% auto no-repeat; }
.fp_flow .fp_lead { margin-bottom: 40px; }
.fp_flow .fp_heading { margin-bottom: 40px; }

.fp_steps { max-width: 1120px; margin: 0 auto; list-style: none; padding: 0; }
.fp_step {
	position: relative;
	display: flex; align-items: flex-start; gap: 40px;
	background: #fff; border-radius: 10px; box-shadow: 0 0 4px rgba(34,34,34,.12);
	padding: 40px; margin-bottom: 56px;
}
.fp_step:last-child { margin-bottom: 0; }
.fp_step:not(:last-child)::after {
	content: ""; position: absolute; left: 50%; bottom: -38px; transform: translateX(-50%);
	width: 0; height: 0;
	border-left: 30px solid transparent; border-right: 30px solid transparent; border-top: 20px solid var(--color_green);
}
.fp_step_photo { flex-shrink: 0; width: 397px; border-radius: 6px; overflow: hidden; }
.fp_step_content { flex: 1; min-width: 0; display: flex; flex-direction: column; justify-content: center; gap: 10px; }
.fp_step_head { display: flex; align-items: center; gap: 20px; }
.fp_step_badge {
	flex-shrink: 0; width: 75px; height: 78px; border-radius: 50%; background: var(--color_green_light);
	display: flex; flex-direction: column; align-items: center; justify-content: center;
	color: var(--color_green); font-family: var(--font_serif); font-weight: 600;
}
.fp_step_badge small { font-size: 12px; letter-spacing: .1em; }
.fp_step_badge strong { font-size: 33px; line-height: 1; }
.fp_step_title { font-family: var(--font_serif); font-weight: 600; font-size: 22px; letter-spacing: .1em; color: var(--color_green); line-height: 1.5; }
.fp_step_body { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.fp_step_duration {
	display: inline-flex; align-items: center;
	border: 1px solid #5e943a; color: #5e943a; font-family: var(--font_sans); font-weight: 500;
	font-size: 14px; letter-spacing: .1em; border-radius: 2px; padding: 2px 10px;
}
.fp_step_text { font-family: var(--font_sans); font-size: 16px; letter-spacing: .1em; line-height: 1.75; color: var(--color_text); }

.fp_note {
	max-width: 1015px; margin: 48px auto 0; display: flex; align-items: center; gap: 24px;
	background: var(--color_green_light); border: 2px solid #d9d7d1; border-radius: 10px; padding: 24px 32px;
}
.fp_note_icon { flex-shrink: 0; width: 80px; display: flex; }
.fp_note_icon img { width: 100%; height: auto; }
.fp_note_text { font-family: var(--font_sans); font-size: 16px; letter-spacing: .05em; line-height: 1.6; color: var(--color_text); }

@media only screen and (max-width: 1200px) {
	.fp_flow { padding: 80px 0; }
	.fp_step { gap: 28px; padding: 28px; }
	.fp_step_photo { width: 300px; }
}
@media only screen and (max-width: 960px) {
	.fp_step {
		display: grid; grid-template-columns: 170px 1fr; row-gap: 5px;
		align-items: start; padding: 20px; margin-bottom: 32px;
	}
	.fp_step_photo { grid-column: 1; grid-row: 1 / 3; width: 100%; }
	.fp_step_content { display: contents; }
	.fp_step_head { grid-column: 2; grid-row: 1; flex-direction: column; gap: 8px; }
	.fp_step_badge { width: 44px; height: 44px; }
	.fp_step_badge small { font-size: 8px; }
	.fp_step_badge strong { font-size: 18px; }
	.fp_step_title { font-size: 16px; }
	.fp_step_body { grid-column: 1 / -1; grid-row: 3; }
	.fp_step:not(:last-child)::after {
		bottom: -23px; border-left-width: 10px; border-right-width: 10px; border-top-width: 14px;
	}

	.fp_note { padding: 20px; gap: 16px; }
	.fp_note_icon { width: 44px; }
}
@media only screen and (max-width: 568px) {
	.fp_flow .fp_lead { margin-bottom: 20px; }
	.fp_flow .fp_heading { margin-bottom: 30px; }
    .fp_step_head {
        grid-column: 2;
        grid-row: 1;
        flex-direction: column;
        gap: 2px;
        line-height: 1.2;
    }
	.fp_flow { padding: 40px 0; }
	.fp_step { grid-template-columns: 160px 1fr; column-gap: 7px; padding: 16px; }
	.fp_step { border-radius: 6px; }
	.fp_step_badge { width: 40px; height: 40px; margin: 0 auto;}
	.fp_step_badge small { font-size: 7px; }
	.fp_step_badge strong { font-size: 17px; }
	.fp_step_title { text-align: center;}
	.fp_step_duration { font-size: 13px; }
	.fp_step_text { font-size: 14px; }

	.fp_note { align-items: flex-start; text-align: left; gap: 16px; padding: 16px; border-width: 1px; margin: 20px auto 0; }
	.fp_note { border-radius: 6px; }
	.fp_note_icon { width: 55px; }
	.fp_note_text { font-size: 14px; }
}

/* ==============================================
   工事後も安心の保証・アフターサポート
============================================== */
.fp_support { padding: 0 0 100px; background: var(--color_bg); }
.fp_support .fp_heading { margin-bottom: 24px; }
.fp_support .fp_lead { margin-bottom: 48px; }

.fp_support_card {
	max-width: 1120px; margin: 0 auto 24px; background: #fff; border-radius: 10px; overflow: hidden;
	box-shadow: 0 0 4px rgba(34,34,34,.12);
}
.fp_support_card-sub { box-shadow: none; }
.fp_support_card_label {
	display: flex; align-items: center; justify-content: center; min-height: 67px;
	background: var(--color_green); color: #fff; text-align: center;
	font-family: var(--font_serif); font-weight: 600; font-size: 26px; letter-spacing: .1em;
	margin: 0;
}
.fp_support_card_label-sub { background: #5e943a; }
.fp_support_items { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; padding: 30px 50px; list-style: none; margin: 0; }
.fp_support_items-2col { grid-template-columns: repeat(2, 1fr); }
.fp_support_item {
	border: 1px solid #eae9e7; border-radius: 6px; padding: 30px 20px 24px; text-align: center;
}
.fp_support_item_icon { display: flex; align-items: center; justify-content: center; height: 68px; margin: 0 auto 12px; }
.fp_support_item_icon img { max-height: 100%; width: auto; }
.fp_support_item_title { font-family: var(--font_sans); font-weight: 500; font-size: 20px; letter-spacing: .1em; color: var(--color_green); margin: 0 0 12px; }
.fp_support_card-sub .fp_support_item_title { color: #5e943a; }
.fp_support_item_text { font-family: var(--font_sans); font-size: 15px; letter-spacing: .05em; line-height: 1.75; color: var(--color_text); text-align: left; margin: 0; }

.fp_support_items-2col .fp_support_item { display: flex; align-items: center; gap: 16px; text-align: left; padding: 24px; }
.fp_support_items-2col .fp_support_item_icon { margin: 0; flex-shrink: 0; }
.fp_support_item_body { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.fp_support_item_body .fp_support_item_title { margin: 0; }

@media only screen and (max-width: 1200px) {
	.fp_support { padding: 0 0 80px; }
	.fp_support_items { padding: 24px; gap: 12px; }
}
@media only screen and (max-width: 960px) {
	.fp_support_items, .fp_support_items-2col { grid-template-columns: 1fr; }
	.fp_support_items .fp_support_item, .fp_support_items-2col .fp_support_item {
		display: flex; flex-wrap: wrap; align-items: center; justify-content: center; column-gap: 12px;
	}
	.fp_support_item_icon { margin: 0; height: 48px; }
	.fp_support_item_title { margin: 0; }
	.fp_support_item_text { flex-basis: 100%; text-align: left; }
	.fp_support_items-2col .fp_support_item_body { display: contents; }
}
@media only screen and (max-width: 568px) {
	.fp_support { padding: 0 0 60px; }
	.fp_support .fp_lead { margin-bottom: 20px; }
	.fp_support_card { border-radius: 6px; }
	.fp_support_card_label { font-size: 18px; }
	.fp_support_items { padding: 16px; gap: 16px; }
	.fp_support_item { padding: 20px 16px; }
	.fp_support_item_title { font-size: 16px; }
	.fp_support_item_text { font-size: 14px; }
	.fp_support_items-2col .fp_support_item { padding: 16px; gap: 12px; }
}

/* ==============================================
   ご相談前にご用意いただけるとスムーズなもの
============================================== */
.fp_prepare { position: relative; overflow: hidden; padding: 80px 0 0; background: var(--color_bg_alt); }
.fp_prepare::before, .fp_prepare::after {
	content: ""; position: absolute; z-index: 0; pointer-events: none; background-repeat: no-repeat;
}
.fp_prepare::before {
	top: 0; left: 0; width: 400px; aspect-ratio: 599 / 464;
	background-image: url(../img/top/case_bg_img_lefttop.svg); background-position: top left; background-size: contain;
}
.fp_prepare::after {
	bottom: 0; right: 0; width: 350px; aspect-ratio: 453 / 410;
	background-image: url(../img/top/case_bg_img_rightbottom.svg); background-position: bottom right; background-size: contain;
}
.fp_prepare .l_container { position: relative; z-index: 1; }
.fp_prepare .fp_heading { margin-bottom: 24px; }
.fp_prepare .fp_lead { margin-bottom: 48px; }

.fp_prepare_list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 40px; margin: 0 auto; list-style: none; padding: 0; }
.fp_prepare_item { display: flex; align-items: stretch; gap: 30px; background: #fff; border-radius: 10px; padding: 20px; text-align: left; }
.fp_prepare_photo { flex: 0 0 45%; }
.fp_prepare_photo picture { display: block; width: 100%; height: 100%; }
.fp_prepare_photo img { display: block; width: 100%; height: 100%; object-fit: cover; border-radius: 8px; }
.fp_prepare_body { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.fp_prepare_icon { display: block; height: 30px; width: auto; margin-bottom: 10px; margin-right: auto;}
.fp_prepare_title {
	font-family: var(--font_serif); font-weight: 600; font-size: 20px; letter-spacing: .1em; color: var(--color_green);
	margin: 0 0 12px;
}
.fp_prepare_divider { display: block; width: 44px; height: 1px; background: var(--color_green); margin-bottom: 16px; }
.fp_prepare_text { font-family: var(--font_sans); font-size: 16px; letter-spacing: .1em; line-height: 1.75; color: var(--color_text); margin: 0; }

.fp_prepare_contact {
	position: relative;
	display: flex; align-items: center; gap: 24px; max-width: 920px; margin: 50px auto 0; padding: 0px 0 40px;
}
.fp_prepare_contact::after {
	content: ""; position: absolute; right: 0; bottom: 0;
	width: 160px; aspect-ratio: 116 / 131; pointer-events: none;
	background: url(../img/flow/leaf01.svg) center / contain no-repeat;
}
.fp_prepare_contact_icon {
	flex-shrink: 0; width: 120px; height: 120px; border-radius: 50%; background: #F9F2EB; border: #eae9e7 1px solid;
	display: flex; align-items: center; justify-content: center;
}
.fp_prepare_contact_icon img{ width: 70px; height: 70px;}
.fp_prepare_contact_text { font-family: var(--font_sans); font-size: 18px; letter-spacing: .05em; line-height: 1.75; color: var(--color_text); margin: 0; }

@media only screen and (max-width: 1200px) {
	.fp_prepare { padding: 80px 0; }
	.fp_prepare::before { width: 320px; }
	.fp_prepare::after { width: 280px; }
	.fp_prepare_list { gap: 24px; }
}
@media only screen and (max-width: 960px) {
	.fp_prepare::before { width: 220px; }
	.fp_prepare::after { width: 190px; }
	.fp_prepare_list { grid-template-columns: 1fr; max-width: 420px; }
	.fp_prepare_item { flex-direction: column; gap: 20px; overflow: hidden; text-align: center; }
	.fp_prepare_photo { flex: none; width: 100%; aspect-ratio: 610 / 252; }
	.fp_prepare_photo img { border-radius: 6px; }
	.fp_prepare_body { display: flex; flex-direction: column; align-items: center; }
	.fp_prepare_head {
		display: flex; align-items: center; justify-content: center; gap: 5px; margin-bottom: 16px;
	}
	.fp_prepare_icon { margin: 0; height: 25px;}
	.fp_prepare_title { margin: 0; }
	.fp_prepare_text { text-align: left; }
}
@media only screen and (max-width: 568px) {
	.fp_prepare .fp_lead { margin-bottom: 20px; }
	.fp_prepare::before { width: 150px; }
	.fp_prepare::after { width: 130px; }
	.fp_prepare { padding: 60px 0; }
	.fp_prepare_title { font-size: 18px; }
	.fp_prepare_text { font-size: 14px; }
	.fp_prepare_item { border-radius: 6px; }
	.fp_prepare_contact { display: block; text-align: left; padding: 0; }
	.fp_prepare_contact::after { display: none; }
	.fp_prepare_contact_icon { float: left; width: 70px; height: 70px; margin: 0 16px 8px 0; }
	.fp_prepare_contact_icon img { width: 36px; height: 36px; }
	.fp_prepare_contact_text { font-size: 15px; text-align: left; }
}
