.js-address-preview{
    font-weight: 600;
    color: #556B2F;
}

/* ==================================================
    フォーム全体
================================================== */

.page-estimate-form .entry-header{
	display:none;
}


.page-estimate-form .site-main {
	background-color: #f3f3f3;
}

.fluentform {
    max-width: 800px;
    margin: 50px auto;
}

.fluentform .ff-el-group {
    margin-bottom: 120px;
}


/* ==================================================
    質問タイトル
================================================== */

.ff-default .ff-el-input--label {
    width: 100%;
    margin-bottom: 25px;
}

.ff-default .ff-el-input--label label {
	font-size: clamp(1.2em, 3vw, 1.3em);
    margin-bottom: 5px;
    color: #556b2f;
    font-weight: 600;
    border-bottom: 3px solid #556B2F;
    padding-bottom: 10px;
}

/* ==================================================
    選択肢カード
================================================== */

.ff-el-input--content {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.ff-el-form-check {
    width: calc((100% - 20px) / 2);
}

.time .ff-el-form-check,
.area .ff-el-form-check,
.shichoson .ff-el-form-check,
.renraku .ff-el-form-check{
    width: calc((100% - 40px) / 3);
}
.renraku .ff-el-form-check label{
	height:60px;
}

.ff-el-form-check label {
    display: flex;
    align-items: center;
    height: 100px;
    padding: 20px 10px;
    border: 2px solid #e9e9e9;
    border-radius: 20px;
    background: #fff;
    cursor: pointer;
    transition: .3s;
}

.fluentform .ff-el-form-check-label .ff-el-form-check-input {
    height: 0;
    width: 0;
}

.ff-el-form-check label span {
    font-weight: 500;
    font-size: 1.1em;
    flex: 1;
    text-align: center;
}

@media screen and (max-width: 600px) {
	.ff-el-input--content{
		gap:10px;
	}
	.ff-el-form-check{
		width: calc((100% - 10px) / 2);
	}
	.time .ff-el-form-check, .area .ff-el-form-check, .shichoson .ff-el-form-check, .renraku .ff-el-form-check {
    width: calc((100% - 20px) / 3);
}
    .ff-el-form-check label {
        flex-direction: column;
		height:unset;
    }
	.ff-el-form-check label span{
		font-size:.95em;
	}
	
}

/* ------------------------------
    ホバー
------------------------------ */
.ff-el-form-check label:hover {
    transform: translateY(3px);
    box-shadow: none;
    background: #fffefa;
    border: 2px solid #556B2F;
}

/* ------------------------------
    選択中
------------------------------ */
.ff-el-form-check.ff_item_selected label {
    color: #333;
    background: #F3F7EE;
    border: 3px solid #556B2F;
    box-shadow: 0 8px 20px rgba(85, 107, 47, .08);
}

/* チェックマーク */
.ff-el-form-check label {
    position: relative;
}

.ff-el-form-check.ff_item_selected label::after {
    content: "✓";
    position: absolute;
    top: 16px;
    right: 16px;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: #FF7A00;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    font-weight: 700;
}


/* ==================================================
    選択肢カード個別設定
================================================== */

/* 建物の種類 */
.ff-el-group.type .ff-el-form-check label {
    height: 240px;
    padding: 20px 40px;
}

.ff-el-group.type .ff-el-form-check label::before {
    content: "";
    height: 160px;
    width: 150px;
    background-repeat: no-repeat;
    background-position: center bottom 10px;
    background-size: 150px;
}

.ff-el-group.type .ff-el-form-check:nth-child(1) label::before {
    background-image: url('../images/form/icon-ie.png');
}

.ff-el-group.type .ff-el-form-check:nth-child(2) label::before {
    background-image: url('../images/form/icon-apart.png');
}
.ff-el-group.type .ff-el-form-check:nth-child(3) label::before {
    background-image: url('../images/form/icon-tenpo.png');
}
.ff-el-group.type .ff-el-form-check:nth-child(4) label::before {
    background-image: url('../images/form/icon-soko.png');
}

/* 建物の構造 */
/*
.ff-el-group.kozo .ff-el-form-check label {
    height: 240px;
    padding: 20px 40px;
}

.ff-el-group.kozo .ff-el-form-check label::before {
    content: "";
    height: 160px;
    width: 150px;
    background-repeat: no-repeat;
    background-position: center bottom 10px;
    background-size: 150px;
}

.ff-el-group.kozo .ff-el-form-check:nth-child(1) label::before {
    background-image: url('../images/form/icon-mokuzo.png');
}

.ff-el-group.kozo .ff-el-form-check:nth-child(2) label::before {
    background-image: url('../images/form/icon-tekkotu.png');
}

.ff-el-group.kozo .ff-el-form-check:nth-child(3) label::before {
    background-image: url('../images/form/icon-tekkin.png');
}

.ff-el-group.kozo .ff-el-form-check:nth-child(4) label::before {
    width: unset;
    height: unset;
}
 */
/* 建物の面積 */
/* 
.ff-el-group.area .ff-el-form-check label {
    height: 70px;
    text-align: center;
}

.ff-el-form-check label span.area-size {
    display: block;
    font-size: .7rem;
}
 */
/* 利用方法 */
.ff-el-group.use .ff-el-form-check label {
    height: 240px;
    padding: 20px 40px;
}

.ff-el-group.use .ff-el-form-check label::before {
    content: "";
    height: 160px;
    width: 150px;
    background-repeat: no-repeat;
    background-position: center bottom 10px;
    background-size: 150px;
}

.ff-el-group.use .ff-el-form-check:nth-child(1) label::before {
    background-image: url('../images/form/icon-use1.png');
}

.ff-el-group.use .ff-el-form-check:nth-child(2) label::before {
    background-image: url('../images/form/icon-use2.png');
}

.ff-el-group.use .ff-el-form-check:nth-child(3) label::before {
    background-image: url('../images/form/icon-use3.png');
}

.ff-el-group.use .ff-el-form-check:nth-child(4) label::before {
    background-image: url('../images/form/icon-use4.png');
}

.ff-el-group.use .ff-el-form-check:nth-child(5) label::before {
    background-image: url('../images/form/icon-use5.png');
}

.ff-el-group.use .ff-el-form-check:nth-child(6) label::before {
    background-image: url('../images/form/icon-use6.png');
}

.ff-el-group.use .ff-el-form-check:nth-child(7) label::before {
    width: unset;
    height: unset;
}

/* 道路幅 */
/* 
.ff-el-group.width .ff-el-form-check label {
    height: 240px;
    padding: 20px 40px;
}

.ff-el-group.width .ff-el-form-check label::before {
    content: "";
    height: 160px;
    width: 150px;
    background-repeat: no-repeat;
    background-position: center bottom 10px;
    background-size: 150px;
}

.ff-el-group.width .ff-el-form-check:nth-child(1) label::before {
    background-image: url('../images/form/icon-width1.png');
}

.ff-el-group.width .ff-el-form-check:nth-child(2) label::before {
    background-image: url('../images/form/icon-width2.png');
}
 */
/* 建物距離 */
/* 
.ff-el-group.distance .ff-el-form-check label {
    height: 240px;
    padding: 20px 30px;
}

.ff-el-group.distance .ff-el-form-check label::before {
    content: "";
    height: 160px;
    width: 160px;
    background-repeat: no-repeat;
    background-position: center bottom 10px;
    background-size: 160px;
}

.ff-el-group.distance .ff-el-form-check:nth-child(1) label::before {
    background-image: url('../images/form/icon-kyori1.png');
}

.ff-el-group.distance .ff-el-form-check:nth-child(2) label::before {
    background-image: url('../images/form/icon-kyori2.png');
}
 */



.ff-el-group.time .ff-el-form-check:last-child label{
	padding:20px 5px;
}
.ff-el-group.time .ff-el-form-check:last-child label span{
	font-size: clamp(.4rem, 2.8vw, 1em);
	letter-spacing:0;
}

.ff-el-group.renraku .ff-el-form-check:last-child label span{
	font-size: clamp(.4rem, 2.8vw, 1em);
	letter-spacing:0;
}
@media screen and (max-width: 600px) {
    .time .ff-el-form-check,
	.area .ff-el-form-check {
        width: calc((100% - 10px) / 2);
    }
}


.ff-el-group.estimate .ff-el-form-check label {
    height: 240px;
    padding: 20px 30px;
}

.ff-el-group.estimate .ff-el-form-check label::before {
    content: "";
    height: 160px;
    width: 150px;
    background-repeat: no-repeat;
    background-position: center bottom 10px;
    background-size: 150px;
}

.ff-el-group.estimate .ff-el-form-check:nth-child(1) label::before {
    background-image: url('../images/form/icon-estimate1.png');
}

.ff-el-group.estimate .ff-el-form-check:nth-child(2) label::before {
    background-image: url('../images/form/icon-estimate2.png');
}

@media screen and (max-width: 768px) {

    .ff-el-group.type .ff-el-form-check label,
    .ff-el-group.kozo .ff-el-form-check label,
    .ff-el-group.use .ff-el-form-check label,
	.ff-el-group.estimate .ff-el-form-check label,
    .ff-el-group.width .ff-el-form-check label,
    .ff-el-group.distance .ff-el-form-check label {
        height: auto;
        padding: 15px 20px;
    }

    .ff-el-group.type .ff-el-form-check label::before,
    .ff-el-group.kozo .ff-el-form-check label::before,
    .ff-el-group.use .ff-el-form-check label::before,
	.ff-el-group.estimate .ff-el-form-check label::before,
    .ff-el-group.width .ff-el-form-check label::before,
    .ff-el-group.distance .ff-el-form-check label::before {
        height: 80px;
        width: 80px;
        background-size: contain;
        background-position: center;
    }
}
@media screen and (max-width: 600px) {
    .time .ff-el-form-check,
    .area .ff-el-form-check {
        width: calc((100% - 20px) / 2);
        height: auto;
    }

    .time .ff-el-form-check label,
    .area .ff-el-form-check label {
        flex-direction: row;
    }
}

/* ==================================================
    入力ボックス
================================================== */
.ff-el-form-control {
    border: 2px solid #e9e9e9 !important;
    border-radius: 8px !important;
    transition: .3s;
}

.ff-el-form-control:focus {
    border-color: #556B2F !important;
}

/* ==================================================
    住所・個人情報エリア
================================================== */
.ff-t-container.address,
.ff-t-container.personal {
    padding: 30px;
    background-color: #fff;
    border-radius: 20px;
    margin-bottom: 80px;
}

.ff-t-container.address .ff-el-input--label,
.ff-t-container.personal .ff-el-input--label {
    margin-bottom: 0;
}

.ff-t-container.address .ff-el-input--label label,
.ff-t-container.personal .ff-el-input--label label {
    border-bottom: unset;
}

.ff-t-container.address .ff-el-input--label label,
.ff-t-container.personal .ff-el-input--label label {
    font-size: 1rem;
}

.fluentform .ff-t-container.address .ff-el-group,
.fluentform .ff-t-container.personal .ff-el-group {
    margin-bottom: 30px;
}

.ff-t-container.address .ff-t-cell::before {
    content: "解体予定場所";
	display:block;
    margin-bottom: 20px;
    font-weight: 600;
    font-size: 1.5rem;
    color: #556b2f;
}

.ff-t-container.personal .ff-t-cell::before {
    content: "お客様情報";
	display:block;
    margin-bottom: 20px;
    font-weight: 600;
    font-size: 1.5rem;
    color: #556b2f;
}

.ff-custom_html .remarks{
	margin-bottom:-80px;
}
.ff-custom_html .remarks h2.form-section-title {
	display:block;
	color:#556b2f;
}

/* ==================================================
    送信ボタン
================================================== */

.ff-btn-submit {
    color: #fff;
    background: #FF7A00;
    border: none;
    border-radius: 100px !important;
    padding: 18px 40px !important;
    font-size: 1.1rem !important;
    font-weight: 700;
    transition: .3s;
}

.ff-btn-submit:hover {
    transform: translateY(-2px);
}



/* ==================================================
    ステップナビ・進捗バー
================================================== */

.fluentform .ff-el-group .form-step-anchor{
	height:0;
}

.ff-el-group:has(.form-step-anchor){
	margin-bottom:0;
}

.estimate-progress {
    display: flex;
	align-items: center;
	gap:20px;
    position: sticky;
    top: 95px;
    z-index: 1;
    background: #f3f3f3;
    padding: 20px 0;
    border-bottom: 1px solid #ddd;
    max-width: 800px;
    margin: 0 auto;
}

.estimate-progress__step {
	text-align: center;
	color:#1e5631;
}

.estimate-progress__step .step {
	font-size:.95rem;
	font-weight: bold;
}

.estimate-progress__step .step-number {
	position: relative;
	width: 60px;
	height: 65px;
	margin: 5px auto 0;
}

/* 斜線 */
.estimate-progress__step .step-number::before {
	content: "";
	position: absolute;
	top: 50%;
	left: 0;
	width: 60px;
	height: 1px;
	background: #1e5631;
	transform: rotate(-45deg);
	transform-origin: center;
}

.estimate-progress__step #current-step {
	position: absolute;
	top: 0;
	left: 10px;
	font-size: 1.5em;
	font-weight: bold;
}

.estimate-progress__step .bunbo {
	position: absolute;
	bottom: 5px;
	right: 13px;
	font-weight: bold;
	font-size:1rem;
}

.estimate-progress__bar{
	width: 100%;
	margin-top:10px;
	height:12px;
	background:#d8d8d8;
	border-radius:999px;
	overflow:hidden;
}
#progress-bar{
	display:block;
	width:12.5%;
	height:100%;
	background:#1E5631;
	border-radius:999px;
	transition:width .3s ease;
}

@media screen and (min-width: 1240px) {
	.estimate-progress{
		float:left;
		border-bottom:unset;
	}
}

@media screen and (max-width: 768px) {
	.estimate-progress{
		padding:5px 0;
	}
	.estimate-progress__step{
		font-size:.9em;
		display:flex;
		align-items:center;
	}
	.estimate-progress__step .step{
		font-size:.6em;
	}
	.estimate-progress__step #current-step{
		font-size:1.1rem;
		top:-3px;
	}
	.estimate-progress__step .step-number{
		width:45px;
		height:40px;
		margin:0 auto;
	}
	.estimate-progress__step .bunbo{
		font-size:.8rem;
		right:3px;
		bottom:0;
	}
	.estimate-progress__step .step-number::before{
		left:5px;
		width:45px;
	}
}
@media screen and (max-width: 500px) {
	.estimate-progress{
		top:80px;
	}
}