@charset "UTF-8";
/*------------------------------------------------------------------------------
お見積もり・資料請求フォーム（統合版）
------------------------------------------------------------------------------*/

/*- デザイントークン ------------------------------------------------------------*/
.cform{
	--color-primary: #c1272d;     /* 基調の赤（必須ラベル・STEP） */
	--color-select: #29ac63;      /* 選択中のボタン・入力欄の枠 */
	--color-select-bg: #fffed7;   /* 選択中のボタンの背景 */
	--color-cta: #f38e02;         /* 「次へ進む」 */
	--color-cta-dark: #d97a00;
	--color-text: #333;
	--color-text-weak: #707070;
	--color-error: #c00;
	--color-link: #1a0dab;
	--color-link-strong: #1d3994;
	--color-line: #e2dccf;        /* ボタン・入力欄の枠線 */
	--color-bg: #faf7f2;          /* ページの地色 */
	--color-bg-beige: #fdf4e5;
	--color-bar: #eadfcb;         /* 進み具合のバー */
	--color-step-done: #e09a9d;   /* 終わった STEP の文字・バー */
	--color-brown: #72422c;       /* 小見出し */
}

/*- モーダル --------------------------------------------------------------------*/
#contactForm .preparation-modal .number{
	display: none;
}
#contactForm .magnific-block.modal-document,
#contactForm .magnific-block.contact-modal{
	border-radius: 8px;
}
@media screen and (min-width: 768px){
	#contactForm .magnific-block.modal-document,
	#contactForm .magnific-block.contact-modal{
		width: 880px;
	}
	#contactForm .mfp-close-btn-in .modal-document .mfp-close{
		top: 10px;
		right: 10px;
	}
	#cformTypeDialog{
		position: absolute;
		top: 50%;
		left: 50%;
		transform: translate(-50%, -50%);
		width: 560px;
	}
	#cformTypeDialog .popup-box{
		border-radius: 8px;
	}
	.mfp-close-btn-in #cformTypeDialog .mfp-close{
		top: 10px;
		right: 10px;
	}
}
#contactForm .magnific-block.preparation-modal,
#contactForm .magnific-block.contact-modal{
	display: flex;
	flex-direction: column;
	max-height: calc(100vh - 50px);
	max-height: calc(100dvh - 50px);
}
#contactForm .preparation-modal .contact-modal-inner,
#contactForm .contact-modal .contact-modal-inner{
	flex: 1 1 auto;
	min-height: 0;
	max-height: none;
	overflow-y: auto;
}
#cformPrepAll .search-modal-ttl{
	margin-bottom: 15px;
	padding-bottom: 5px;
	border-bottom: 3px solid #c1272d;
	font-size: 1.8rem;
	font-weight: bold;
}
#cformPrepAll .contact-modal-txt + .search-modal-ttl{
	margin-top: 30px;
}
#cformPrepAll .cform-prepall{
	margin-top: 10px;
}
#cformPrepAll .cform-prepall .kome{
	margin-top: 4px;
}
@media screen and (max-width: 767px){
	#cformPrepAll .cform-prepall .wid30{
		width: 36%;
	}
}
@media screen and (min-width: 768px){
	#cformPrepAll .search-modal-ttl{
		margin-bottom: 20px;
		font-size: 2rem;
	}
}

/*- ページの枠 ------------------------------------------------------------------*/
/* STEP の表示をスクロールに追従させるため、#content のはみ出し隠しを外す（このページだけ） */
.cform-page #content{
	overflow: visible;
}
.cform-page{
	background: #faf7f2;
}
.cform-site-head{
	display: flow-root;
	background: #fff;
}
.cform-page #pan{
	background: none;
}
.cform{
	color: var(--color-text);
	line-height: 1.6;
}
.cform [hidden]{
	display: none !important;
}
.cform-noscript{
	margin-top: 20px;
	color: var(--color-error);
	font-weight: bold;
}

/*- 「物件情報が確認できる書類」の注意書き --------------------------------------*/
.cform-prep{
	margin-top: 14px;
	padding: 15px 0 12px;
	border-top: 4px dotted var(--color-bar);
	border-bottom: 4px dotted var(--color-bar);
	line-height: 1.7;
}
.cform-prep__item{
	padding-left: 1em;
	text-indent: -1em;
}
.cform-prep__link,
.cform-docs__link{
	padding: 0;
	background: none;
	border: none;
	font: inherit;
	text-align: left;
	cursor: pointer;
}
.cform-prep__link{
	color: var(--color-link-strong);
	font-weight: bold;
	text-decoration: none;
}
.cform-prep__link:hover{
	color: var(--color-link-strong);
	opacity: 0.8;
	text-decoration: none;
}
.cform-prep__plus{
	display: inline-block;
	text-decoration: underline;
	padding-right: 21px;
	background: url(/img/icon/ico_plus_modal.svg) no-repeat right center / 18px;
}

/*- STEP 表示・進み具合 ---------------------------------------------------------*/
.cform-steps{
	position: sticky;
	top: 0;
	z-index: 50;
	margin-top: 10px;
	margin-bottom: 10px;
	padding-top: 15px;
	background: var(--color-bg);
	box-shadow: 0 0 0 100vmax var(--color-bg);
	clip-path: inset(0 -100vmax);
}
.cform-steps__list{
	display: flex;
	gap: 6px;
	margin: 0;
	padding: 0;
	list-style: none;
}
.cform-steps__item{
	flex: 1;
	display: flex;
	flex-direction: column;
	text-align: center;
	padding: 4px 2px;
	color: #999;
	font-size: 1.8rem;
	font-weight: bold;
	line-height: 1.3;
}
.cform-steps__item.is-current{
	color: var(--color-primary);
}
.cform-steps__item.is-done{
	color: var(--color-step-done);
}
.cform-steps__no{
	display: block;
	margin-bottom: 2px;
	font-family: Arial, Helvetica, sans-serif;
	font-size: 1.6rem;
	letter-spacing: .05em;
}
.cform-steps__name{
	flex: 1;
	display: flex;
	align-items: center;
	justify-content: center;
}
.cform-steps.is-static{
	position: static;
}
.cform-bar{
	display: flex;
	gap: 6px;
	margin-top: 12px;
}
.cform-bar span{
	flex: 1;
	height: 8px;
	background: var(--color-bar);
	border-radius: 4px;
	overflow: hidden;
}
.cform-bar i{
	display: block;
	width: 0;
	height: 100%;
	background: var(--color-primary);
	transition: width .3s;
}
.cform-bar span.is-done i{
	background: var(--color-step-done);
}

/*- 画面（カード） --------------------------------------------------------------*/
.cform-card{
	padding: 30px;
	background: #fff;
	border-radius: 10px;
	box-shadow: 0 2px 8px rgba(0, 0, 0, .06);
}
.cform-card.is-first,
.cform-card.is-confirm,
.cform-card.cform-thanks{
	margin-top: 30px;
}
.cform-card.is-in{
	animation: cform-in .25s ease;
}
.cform-card.is-in.is-back{
	animation-name: cform-in-back;
}
.cform-stage.is-loading{
	pointer-events: none;
}
.cform-stage.is-loading .cform-card{
	opacity: .5;
	transition: opacity .2s;
}
.cform-stage.is-loading::after{
	content: "";
	position: fixed;
	left: 50%;
	top: 50%;
	z-index: 100;
	width: 40px;
	height: 40px;
	margin: -20px 0 0 -20px;
	border: 4px solid var(--color-line);
	border-top-color: var(--color-select);
	border-radius: 50%;
	animation: cform-spin .8s linear infinite;
}
@keyframes cform-spin{
	to{ transform: rotate(360deg); }
}
@keyframes cform-in{
	from{opacity: 0; transform: translateX(16px);}
	to{opacity: 1; transform: none;}
}
@keyframes cform-in-back{
	from{opacity: 0; transform: translateX(-16px);}
	to{opacity: 1; transform: none;}
}
.cform-card__meta{
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 8px;
	margin-bottom: 10px;
}
.cform-card__step{
	color: var(--color-primary);
	font-size: 1.5rem;
}
@media screen and (max-width: 767px){
	.cform-card__step{
		font-size: 1.3rem;
	}
}
.cform-card__step span{
	font-weight: normal;
}
.cform-chip-wrap{
	display: inline-flex;
	margin-left: auto;
	align-items: center;
	gap: 8px;
}
.cform-chip{
	padding: 0 10px;
	border: 1px solid var(--color-primary);
	border-radius: 13px;
	color: var(--color-primary);
	font-size: 1.3rem;
}
.cform-card__ttl{
	margin: 0;
	font-size: 2rem;
	font-weight: bold;
	line-height: 1.5;
}
.cform-lead{
	margin-top: 8px;
}
.cform-card__body{
	margin-top: 8px;
	margin-bottom: 22px;
	border-bottom: 1px dashed var(--color-line);
}
.cform-card.is-first .cform-card__body{
	border-bottom: none;
	margin-bottom: 0 !important;
}
.cform-card > .cform-lead:first-child,
.cform-card > .cform-card__body:first-child{
	margin-top: 0;
}
.cform-card > .cform-card__body:first-child > .cform-q:first-child{
	padding-top: 0;
}

/*- 設問 ------------------------------------------------------------------------*/
.cform-q{
	padding: 22px 0;
	border-top: 1px dashed var(--color-line);
	scroll-margin-top: 130px;
}
.cform-q:first-child{
	padding-top: 16px;
	border-top: none;
}
.cform-q__ttl{
	display: flex;
	align-items: flex-start;
	gap: 8px;
	margin: 0;
	font-size: 1.6rem;
	font-weight: bold;
	line-height: 1.5;
}
.cform-q .cform-lead{
	margin-top: 6px;
	font-size: 1.3rem;
}
.cform-q__body{
	margin-top: 12px;
}
.cform-q__err{
	margin-top: 6px;
	color: var(--color-error);
	font-size: 1.4rem;
}
.cform-q__err:empty{
	display: none;
}
.cform-block-err{
	margin: 0 0 20px;
	color: var(--color-error);
	font-size: 1.4rem;
}
.cform-block-err:empty{
	display: none;
}
.cform-tag{
	flex: none;
	box-sizing: border-box;
	min-width: calc(2em + 12px);
	padding: 2px 6px;
	text-align: center;
	background: var(--color-primary);
	border-radius: 3px;
	color: #fff;
	font-size: 1.3rem;
	font-weight: bold;
}
.cform-tag.is-optional{
	background: #999;
}
.cform-tag.is-ok{
	background: var(--color-select);
}
.cform-optional{
	margin-left: 6px;
	padding: 2px 6px;
	background: #eee;
	border-radius: 3px;
	color: var(--color-text-weak);
	font-size: 1.3rem;
	font-weight: normal;
}
/* 補償の「？」 */
.cform-help{
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 20px;
	height: 20px;
	margin-left: 6px;
	padding: 0;
	background: linear-gradient(#999, #666);
	border: none;
	border-radius: 4px;
	cursor: pointer;
	color: #fff;
	font: bold 13px/1 Arial, sans-serif;
	text-decoration: none;
	vertical-align: 2px;
}
.cform-help:hover,
.cform-help:focus{
	color: #fff;
	opacity: .7;
	text-decoration: none;
}

/*- 選択肢ボタン ----------------------------------------------------------------*/
.cform-opts{
	display: grid;
	gap: 0;
	padding: 0 2px 2px 0;
}
.cform-opts.is-cols2{
	grid-template-columns: 1fr 1fr;
}
.cform-opts.is-compact{
	grid-template-columns: repeat(var(--cform-cols, 5), minmax(0, 1fr));
}
.cform-opt{
	display: flex;
	align-items: center;
	gap: 12px;
	width: auto;
	margin: 0 -2px -2px 0;
	padding: 14px;
	background: #fff;
	border: 2px solid var(--color-line);
	border-radius: 0;
	color: var(--color-text);
	text-align: center;
	cursor: pointer;
	transition: border-color .15s, background .15s;
}
.cform-opt::after{
	content: "";
	flex: none;
	width: 8px;
}
.cform-opt.is-tl{border-top-left-radius: 8px;}
.cform-opt.is-tr{border-top-right-radius: 8px;}
.cform-opt.is-bl{border-bottom-left-radius: 8px;}
.cform-opt.is-br{border-bottom-right-radius: 8px;}
.cform-opt.is-selected{
	position: relative;
	z-index: 1;
	background: var(--color-select-bg);
	border-color: var(--color-select);
}
.cform-opts:has(.cform-opt.is-selected) .cform-opt:not(.is-selected){
	background: #eee;
	color: var(--color-text-weak);
}
.cform-opt:focus-visible{
	position: relative;
	z-index: 2;
}
.cform-opt__radio{
	position: relative;
	flex: none;
	width: 22px;
	height: 22px;
	background: #fff;
	border: 2px solid #bbb;
	border-radius: 50%;
}
.cform-opt.is-selected .cform-opt__radio{
	border-color: var(--color-select);
}
.cform-opt.is-selected .cform-opt__radio::after{
	content: "";
	position: absolute;
	inset: 4px;
	background: var(--color-select);
	border-radius: 50%;
}
.cform-opt__go{
	position: relative;
	flex: none;
	width: 18px;
	height: 18px;
	background: #1d3994;
	border-radius: 50%;
}
.cform-opt__go::after{
	content: "";
	position: absolute;
	top: 6px;
	left: 5px;
	width: 6px;
	height: 6px;
	border-top: 2px solid #fff;
	border-right: 2px solid #fff;
	transform: rotate(45deg);
}
@media screen and (max-width: 767px){
	.cform-opt__go{
		width: 16px;
		height: 16px;
	}
	.cform-opt__go::after{
		top: 5px;
		left: 4px;
	}
}
.cform-opt__label{
	flex: 1;
	min-width: 0;
}
.cform-opt b{
	display: block;
}
.cform-opt small{
	display: block;
	margin-top: 2px;
	color: var(--color-text-weak);
	font-size: 1.3rem;
	line-height: 1.5;
}
.cform-opts.is-compact .cform-opt{
	white-space: nowrap;
}
.cform-opts.is-separate{
	gap: 10px;
	padding: 0;
}
.cform-opts.is-separate .cform-opt{
	margin: 0;
	border-radius: 8px;
	text-align: left;
}
.cform-opts.is-separate .cform-opt::after{
	content: none;
}
.cform-opt__label > .cform-chip{
	display: inline-block;
	margin-bottom: 4px;
}
.cform-opt .cform-opt__icon{
	flex: none;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 60px;
	height: 60px;
	border-radius: 50%;
}
.cform-opt .cform-opt__icon img{
	width: 44px;
	height: 44px;
}
@media screen and (max-width: 767px){
	.cform-opt .cform-opt__icon{
		width: 48px;
		height: 48px;
	}
	.cform-opt .cform-opt__icon img{
		width: 36px;
		height: 36px;
	}
}
.cform-opt.is-disabled,
.cform-q.has-error:not([data-check-err]) .cform-opt.is-disabled{
	border-color: #ddd;
	background-color: #eee;
	color: #aaa;
	cursor: not-allowed;
}
.cform-q.has-error:not([data-check-err]) .cform-opt{
	border-color: var(--color-error);
	background-color: #ffeded;
}
.cform-sub-link{
	margin-top: 20px;
	font-size: 1.4rem;
}
.cform-linkcard,
.cform-linkcard:link,
.cform-linkcard:visited{
	display: flex;
	align-items: center;
	margin-top: 10px;
	padding: 14px 20px 14px 20px;
	background-color: #f7f7f7;
	border-radius: 8px;
	color: var(--color-text);
	text-decoration: none;
	border: 1px solid #ebebeb;
}
.cform-linkcard:hover{
	color: var(--color-text);
	text-decoration: none;
	opacity: 1;
}
.cform-linkcard__icon{
	flex: none;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 60px;
	height: 60px;
}
.cform-linkcard__icon img{
	width: 44px;
	height: 44px;
}
@media screen and (max-width: 767px){
	.cform-linkcard__icon{
		width: 48px;
		height: 48px;
	}
	.cform-linkcard__icon img{
		width: 36px;
		height: 36px;
	}
}
.cform-linkcard__label{
	flex: 1;
	min-width: 0;
}
.cform-linkcard__label b{
	display: block;
}
.cform-linkcard__label small{
	display: block;
	margin-top: 2px;
	color: var(--color-text-weak);
	font-size: 1.3rem;
	line-height: 1.5;
}
.cform-linkcard__go{
	flex: none;
	white-space: nowrap;
	font-size: 1.5rem;
	padding: 0 25px 0 0;
}
.cform-linkcard__go::before{
	left: auto;
	right: 0;
}
.cform-linkcard__go::after{
	left: auto;
	right: 7px;
}
.cform-linkcard:hover .cform-linkcard__go{
	text-decoration: underline;
}
@media screen and (max-width: 767px){
	.cform-linkcard{
		flex-wrap: wrap;
	}
	.cform-linkcard__label{
		flex-basis: 100%;
	}
	.cform-linkcard__go{
		padding: 0 21px 0 0;
		font-size: 1.3rem;
		margin-top: 4px;
	}
	.cform-linkcard:has(.cform-linkcard__icon) .cform-linkcard__label{
		flex-basis: calc(100% - 60px);
	}
	.cform-linkcard:has(.cform-linkcard__icon) .cform-linkcard__go{
		margin-left: 60px;
	}
	.cform-linkcard__go::after{
		left: auto;
		right: 6px;
	}
}

/*- 入力欄 ----------------------------------------------------------------------*/
.cform-fields{
	display: flex;
	flex-wrap: wrap;
	gap: 16px 12px;
}
.cform-field{
	width: 100%;
}
.cform-field.is-half{
	width: auto;
}
.cform-field.is-divided{
	padding-top: 15px;
	border-top: 1px dotted #999;
}
.cform-repeat-row{
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px 12px;
	width: 100%;
}
.cform-repeat-row__no{
	font-weight: bold;
	white-space: nowrap;
	font-size: 1.4rem;
	border: 1px solid var(--color-line);
	padding: 2px 10px;
	border-radius: 20px;
	background-color: var(--color-line);
}
.cform-repeat-row .cform-field,
.cform-repeat-row .cform-field.is-half{
	display: flex;
	align-items: center;
	gap: 8px;
	width: auto;
}
.cform-repeat-row .cform-field__label{
	margin: 0;
	white-space: nowrap;
}
.cform-repeat-row .cform-field__err:empty,
.cform-repeat-row .cform-optional{
	display: none;
}
@media screen and (max-width: 767px){
	.cform-repeat-row .cform-field:not(.is-half){
		flex: 1 1 100%;
		min-width: 0;
	}
	.cform-repeat-row .cform-field.is-half:not(.is-keep){
		flex: 1 1 0;
		min-width: 50%;
	}
	.cform-repeat-row .cform-field.is-half.is-keep{
		flex: 0 0 auto;
		width: auto;
	}
	.cform-repeat-row .cform-field__input{
		flex: 1 1 auto;
		min-width: 0;
	}
	.cform-repeat-row .cform-field:not(.is-keep) .cform-field__input select{
		width: 100%;
	}
}
.cform-field__label{
	display: block;
	margin-bottom: 6px;
	font-size: 1.4rem;
	font-weight: bold;
}
.cform-field__input{
	display: flex;
	align-items: center;
	gap: 8px;
}
.cform-field__input input,
.cform-field__input select,
.cform-field__textarea{
	height: auto;
	padding: 12px;
	background: #fff;
	border: 2px solid var(--color-line);
	border-radius: 6px;
	color: var(--color-text);
	font-size: 1.6rem;
	line-height: 1.4;
}
.cform-field__input input,
.cform-field__input select{
	flex: 0 1 auto;
	width: var(--cform-w, 100%);
	max-width: 100%;
	min-width: 0;
}
.cform-field__input select{
	padding-right: 32px;
	background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23999' stroke-width='2' fill='none'/%3E%3C/svg%3E") no-repeat right 12px center;
	-webkit-appearance: none;
	appearance: none;
}
.cform-field__input select:disabled{
	background-color: #ccc;
	color: #999;
}
.cform-field__input input.is-filled,
.cform-field__input select.is-filled,
.cform-field__textarea.is-filled{
	background-color: var(--color-select-bg);
	border-color: var(--color-select);
}
.cform-field__textarea{
	width: 100%;
	min-height: 140px;
	resize: vertical;
}
.cform-field__pre{
	flex: none;
	min-width: 2.5em;
	margin: 0;
	font-size: 1.4rem;
	font-weight: bold;
	text-align: right;
}
.cform-field__unit{
	flex: none;
	font-size: 1.4rem;
	white-space: nowrap;
	font-weight: bold;
}
.cform-field__example{
	color: var(--color-text-weak);
	font-size: 1.4rem;
	white-space: nowrap;
}
.cform-area-int{
	--cform-w: 140px;
}
.cform-area-dec{
	--cform-w: 68px;
}
.cform-parts-3{
	--cform-w: 76px;
}
.cform-parts-4{
	--cform-w: 88px;
}
.cform-field__err{
	display: none;
	min-width: 100%;
	width: 0;
	margin-top: 4px;
	color: var(--color-error);
	font-size: 1.3rem;
}
.cform-field.has-error .cform-field__err{
	display: block;
}
.cform-field.has-error input:not([type="checkbox"]):not([type="radio"]),
.cform-field.has-error select,
.cform-field.has-error textarea,
.cform-field.is-invalid input:not([type="checkbox"]):not([type="radio"]),
.cform-field.is-invalid select,
.cform-field.is-invalid textarea{
	background-color: #ffeded;
	border-color: var(--color-error);
}
.cform-field.has-error .cform-check,
.cform-field.is-invalid .cform-check{
	border-color: var(--color-error);
	background-color: #ffeded;
}
/* 建物の保険金額の範囲の案内 */
.cform-field__notice{
	margin-top: 4px;
	color: var(--color-error);
	font-size: 1.4rem;
}
.cform-field__notice:empty{
	display: none;
}
.cform-field__notice-num{
	font-size: 1.8rem;
	font-weight: bold;
}
.cform-field__after{
	margin-top: 6px;
	font-size: 1.3rem;
	line-height: 1.7;
}
@media screen and (max-width: 767px){
	.cform-field__notice{
		font-size: 1.3rem;
	}
	.cform-field__notice-num{
		font-size: 1.5rem;
	}
}
/* 郵便番号から自動入力する欄（入力不可） */
.cform-field.is-readonly input,
.cform-field.is-readonly select{
	color: #000;
	cursor: default;
}
.cform-field.is-readonly select{
	pointer-events: none;
}

/*- チェックボックス -------------------------------------------------------------*/
.cform-checks{
	display: grid;
	gap: 0;
	padding: 0 2px 2px 0;
}
.cform-checks.is-cols2{
	grid-template-columns: 1fr 1fr;
}
.cform-checks.is-cols2 .cform-check{
	font-size: 1.5rem;
	font-weight: normal;
}
.cform-check__note{
	font-size: 1.3rem;
}
.cform-checks__group{
	margin: 20px 0 6px;
	font-weight: bold;
}
.cform-checks__group small{
	font-size: 1.3rem;
}
.cform-checks__group.is-first{
	margin-top: 0;
}
.cform-checks__group::before{
	content: "●";
	margin-right: 8px;
	color: var(--color-brown);
}
.cform-check{
	display: flex;
	align-items: center;
	gap: 10px;
	margin: 0 -2px -2px 0;
	padding: 10px 12px;
	background: #fff;
	border: 2px solid var(--color-line);
	font-size: 1.6rem;
	font-weight: bold;
	cursor: pointer;
}
.cform-field > .cform-check{
	border-radius: 8px;
}
.cform-check.is-tl{border-top-left-radius: 8px;}
.cform-check.is-tr{border-top-right-radius: 8px;}
.cform-check.is-bl{border-bottom-left-radius: 8px;}
.cform-check.is-br{border-bottom-right-radius: 8px;}
.cform-check:has(input:checked){
	position: relative;
	z-index: 1;
	background: var(--color-select-bg);
}
.cform-field[data-fid="agree"] .cform-check:has(input:checked){
	border-color: var(--color-select);
}
.cform-check input{
	position: relative;
	flex: none;
	width: 22px;
	height: 22px;
	margin: 0;
	background: #fff;
	border: 2px solid #bbb;
	border-radius: 4px;
	cursor: pointer;
	-webkit-appearance: none;
	appearance: none;
}
.cform-check input:checked{
	border-color: var(--color-select);
}
.cform-check input:checked::after{
	content: "";
	position: absolute;
	left: 5px;
	top: 1px;
	width: 8px;
	height: 12px;
	border: solid var(--color-select);
	border-width: 0 3px 3px 0;
	transform: rotate(45deg);
}
.cform-checks.is-lined,
.cform-checks.is-cols2.is-lined{
	display: flex;
	flex-wrap: wrap;
	gap: 0 28px;
	padding: 0;
}
.cform-checks.is-lined > .cform-check{
	flex: 0 1 auto;
	max-width: 100%;
	margin: 0;
	padding: 6px 0;
}
.cform-checks.is-lined.is-grid{
	display: grid;
	grid-template-columns: repeat(var(--cform-cols), minmax(0, 1fr));
	gap: 0 20px;
}
@media screen and (max-width: 767px){
	.cform-checks.is-lined.is-grid{
		grid-template-columns: repeat(var(--cform-cols-sp), minmax(0, 1fr));
		gap: 0 12px;
	}
	.cform-checks.is-lined.is-grid > .cform-check{
		align-items: flex-start;
	}
}
.cform-beside{
	margin-top: 10px;
	border-radius: 6px;
}
.cform-beside__ttl{
	margin: 0 0 10px;
	font-size: 1.4rem;
	font-weight: bold;
}
.cform-field.is-beside{
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 4px 12px;
}
.cform-field.is-beside + .cform-field.is-beside{
	margin-top: 8px;
}
.cform-field.is-beside > .cform-field__label{
	flex: 0 0 13em;
	margin: 0;
	font-size: 1.4rem;
}
.cform-field.is-beside > .cform-field__input input[type="text"]{
	--cform-w: 460px;
}
.cform-field.is-beside > .cform-field__err{
	margin-left: calc(13em + 12px);
}
.cform-beside:not(:has(> .cform-beside__ttl)) .cform-field.is-beside > .cform-field__label{
	flex-basis: 100%;
}
.cform-beside:not(:has(> .cform-beside__ttl)) .cform-field.is-beside > .cform-field__err{
	margin-left: 0;
}
@media screen and (max-width: 767px){
	.cform-field.is-beside > .cform-field__label{
		flex-basis: 100%;
	}
	.cform-field.is-beside > .cform-field__input{
		flex: 1 1 auto;
	}
	.cform-field.is-beside > .cform-field__input input[type="text"]{
		--cform-w: 100%;
	}
	.cform-field.is-beside > .cform-field__err{
		margin-left: 0;
	}
}
.cform-field.has-error .cform-checks.is-lined .cform-check,
.cform-field.is-invalid .cform-checks.is-lined .cform-check{
	background: none;
}
.cform-field.has-error .cform-checks.is-lined .cform-check input,
.cform-field.is-invalid .cform-checks.is-lined .cform-check input{
	border-color: var(--color-error);
}
.cform-sr{
	position: absolute;
	width: 1px;
	height: 1px;
	margin: -1px;
	padding: 0;
	overflow: hidden;
	clip: rect(0 0 0 0);
	white-space: nowrap;
	border: 0;
}
.cform-check.is-plain{
	padding: 4px 0;
	background: none;
	border: none;
}
.cform-check.is-plain:has(input:checked){
	background: none;
}

/*- 設問の下の補足（注意書き・事故例・確認書類） ---------------------------------*/
.cform-notes,
.cform-ex,
.cform-docs{
	margin-top: 5px;
	color: var(--color-text-weak);
	font-size: 1.3rem;
	line-height: 1.7;
}
.cform-notes__alert{
	padding: 6px 10px;
	background: #fff5b1;
	border-radius: 4px;
}
.cform-notes p + p,
.cform-notes p + ul,
.cform-notes ul + p{
	margin-top: 4px;
}
.cform-notes p + .cform-notes__alert,
.cform-notes .cform-notes__alert + p{
	margin-top: 8px;
}
.cform-notes__ttl,
.cform-ex__ttl,
.cform-docs__ttl{
	margin-top: 10px;
	color: var(--color-text);
	font-weight: bold;
}
.cform-notes__ttl:first-child,
.cform-ex__ttl:first-child,
.cform-docs__ttl:first-child{
	margin-top: 0;
}
.cform-ex ul,
.cform-dots{
	margin: 0;
	padding: 0;
	list-style: none;
}
.cform-ex li::before{
	content: "・";
}
.cform-dots li{
	position: relative;
	padding-left: 1em;
}
.cform-dots li::before{
	content: "・";
	position: absolute;
	left: 0;
}
.cform-docs__list{
	display: flex;
	flex-wrap: wrap;
	gap: 4px 18px;
	margin: 0;
	padding: 0;
	list-style: none;
}
.cform-docs__link{
	padding: 2px 22px 0 0;
	background: url(/img/icon/ico_modal_document.svg) no-repeat center right;
	color: var(--color-link);
	text-decoration: underline;
}
.cform-docs__link:hover{
	color: var(--color-link);
	opacity: .8;
}
.cform-docs__pdf{
	color: var(--color-text-weak);
}
.cform-docs__after{
	margin-top: 4px;
	padding-left: 1em;
	text-indent: -1em;
}
/* 構造についての解説（スマホは非表示） */
.cform-structure{
	margin-top: 14px;
	padding: 15px;
	border: 1px solid var(--color-line);
	border-radius: 8px;
}
.cform-structure__ttl{
	padding: 2px 0 0 12px;
	border-left: 4px solid var(--color-brown);
	color: var(--color-brown);
	font-size: 1.6rem;
	font-weight: bold;
	line-height: 1.4;
}
.cform-structure__list{
	display: flex;
}
.cform-structure__item{
	flex: 1;
	margin: 5px;
	text-align: center;
}
.cform-structure__item img{
	max-width: 100%;
	height: auto;
	margin: 10px;
}
.cform-structure__item p{
	color: var(--color-text);
	font-size: 1.4rem;
	line-height: 1.6;
	text-align: left;
}
.cform-structure__item span{
	font-size: 1.6rem;
	font-weight: bold;
}
/* 延床面積の説明図 */
.cform-floor-note{
	min-height: 170px;
	padding: 10px 260px 0 0;
	background: url(../img/floor_area.svg) no-repeat right 50px top / auto 170px;
}
/* 家財の目安表 */
/* 開閉できる解説 */
.cform-acc > summary{
	display: block;
	list-style: none;
}
.cform-acc > summary::-webkit-details-marker{
	display: none;
}
@media screen and (max-width: 767px){
	.cform-acc{
		padding: 8px 12px;
		border: 1px solid var(--color-line);
		border-radius: 6px;
	}
	.cform-acc > summary{
		position: relative;
		padding-right: 28px;
		color: var(--color-link);
		cursor: pointer;
	}
	.cform-acc > summary::after{
		content: "";
		position: absolute;
		right: 0;
		top: 50%;
		width: 18px;
		height: 18px;
		margin-top: -10px;
		background: linear-gradient(var(--color-link), var(--color-link)) center / 10px 2px no-repeat, linear-gradient(var(--color-link), var(--color-link)) center / 2px 10px no-repeat, #fff;
		border: 1px solid #b3b3b3;
		border-radius: 4px;
		box-shadow: 0 1px 0 0 #b3b3b3;
	}
	.cform-acc[open] > summary::after{
		background: linear-gradient(var(--color-link), var(--color-link)) center / 10px 2px no-repeat, #fff;
	}
	.cform-acc[open] > summary{
		margin-bottom: 6px;
	}
}
.cform-kazai{
	width: 100%;
	max-width: 560px;
	margin-top: 8px;
	border-collapse: collapse;
	color: var(--color-text);
	font-size: 1.3rem;
}
.cform-kazai th,
.cform-kazai td{
	padding: 4px 6px;
	border: 1px solid var(--color-line);
	text-align: center;
}
.cform-kazai th{
	background: var(--color-bg-beige);
	font-weight: normal;
}

/*- 個人情報の取り扱い -----------------------------------------------------------*/
.cform-q.is-privacy .cform-q__ttl{
	display: block;
	padding: 2px 0 2px 10px;
	border-left: 5px solid var(--color-primary);
	border-bottom: 1px solid var(--color-primary);
	font-size: 1.8rem;
}
.cform-q.is-privacy .cform-tag{
	display: none;
}
.cform-privacy{
	height: 100px;
	margin: 10px 0 16px;
	padding: 10px;
	overflow-x: hidden;
	overflow-y: scroll;
	background: #fff;
	border: 1px solid #ccc;
	font-size: 1.3rem;
	line-height: 1.6;
}

/*- エラー・ボタン ---------------------------------------------------------------*/
.cform-screen-err{
	display: none;
	margin: 0 0 20px;
	padding: 10px;
	background-color: #ffeded;
	border-radius: 10px;
	color: var(--color-error);
	font-size: 1.4rem;
	font-weight: bold;
	text-align: center;
}
.cform-screen-err.is-on{
	display: block;
}
.cform-nav{
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
}
.cform-nav[hidden],
.cform-btn-next[hidden]{
	display: none !important;
}
.cform-nav.is-send{
	display: grid;
	grid-template-columns: 1fr auto 1fr;
	margin-top: 24px;
}
.cform-nav.is-send .cform-btn-back{
	justify-self: start;
}
.cform-nav.is-send .cform-btn-send{
	margin-left: 0;
}
.cform-btn-next{
	display: inline-flex;
	align-items: center;
	justify-content: center;
	position: relative;
	gap: 6px;
	margin-left: auto;
	padding: 15px 10px 15px 0px;
	min-width: 220px;
	border: none;
	border-radius: 8px;
	color: #fff;
	font-size: 1.8rem;
	font-weight: bold;
	cursor: pointer;
	background: linear-gradient(to bottom, #30c774, #29ac63);
    box-shadow: 0 3px #0f8544;
}
.cform-btn-next:hover{
	filter: brightness(1.05);
}
.cform-btn-next:active{
	transform: translateY(2px);
	box-shadow: 0 1px 0 #0f8544;
}
.cform-btn-next::after{
	content: "";
	flex: none;
	width: 10px;
	height: 10px;
	margin-left: 5px;
	border-top: 3px solid currentColor;
	border-right: 3px solid currentColor;
	position: absolute;
	right: 25px;
	top: 50%;
	transform: translate(-50%, -50%) rotate(45deg);
}
.cform-btn-send{
	padding: 15px 10px;
	background: linear-gradient(to bottom, #ff3b3b 0%, #e52e2e 100%);
	box-shadow: 0 3px 0 #a62121;
	font-size: 2rem;
}
.cform-btn-send:active{
	box-shadow: 0 1px 0 #a62121;
}
.cform-btn-send::after{
	content: none;
}
.cform-btn-send:disabled{
	opacity: .6;
	cursor: wait;
}
.cform-type-dialog__ttl{
	color: #c00;
	font-weight: bold;
}
.cform-type-dialog__txt{
	margin: 0 10px 20px;
	color: #333;
	line-height: 1.7;
	text-align: left;
}
.cform-type-dialog__action{
	margin: 0 10px;
}
.cform-type-dialog__ok{
	width: 220px;
	max-width: 100%;
	padding: 12px;
	background: #666666;
	border: none;
	border-radius: 30px;
	color: #fff;
	font-size: 1.4rem;
	font-weight: bold;
	cursor: pointer;
	transition: all .3s;
}
@media screen and (min-width: 768px){
	.cform-type-dialog__ttl{
		margin-bottom: 20px;
		font-size: 20px;
	}
	.cform-type-dialog__ok{
		font-size: 1.6rem;
	}
	.cform-type-dialog__ok:hover{
		opacity: .8;
	}
}
.cform-stop-dialog{
	--color-text: #333;
	--color-text-weak: #707070;
	--color-link: #1a0dab;
}
.cform-stop-dialog__ttl{
	font-weight: bold;
	margin-bottom: 15px;
}
.cform-stop-dialog__docs{
	display: flex;
	flex-wrap: wrap;
	gap: 4px 18px;
	margin: 0 10px 20px;
	list-style: none;
	line-height: 1.9;
	text-align: left;
	border-radius: 6px;
	padding: 10px 20px;
	background-color: #F2F2F2;
}
.cform-stop-dialog__docs .cform-docs__link{
	font-weight: bold;
}
@media screen and (min-width: 768px){
	#cformTypeDialog,
	#cformStopDialog{
		position: absolute;
		left: 0;
		right: 0;
		top: 50%;
		transform: translateY(-50%);
		margin: auto;
		max-width: 670px;
	}
}
.cform-btn-back{
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 8px 4px;
	background: none;
	border: none;
	color: var(--color-link);
	cursor: pointer;
}
.cform-btn-back::before{
	content: "";
	flex: none;
	width: 7px;
	height: 7px;
	border-top: 2px solid currentColor;
	border-right: 2px solid currentColor;
	transform: rotate(-135deg);
}
.cform-btn-back:hover{
	text-decoration: underline;
}

/*- 確認画面 --------------------------------------------------------------------*/
.cform-card.is-confirm > .cform-card__ttl{
	color: var(--color-primary);
	text-align: center;
}
.cform-card.is-confirm > .cform-lead{
	text-align: center;
}
.cform-confirm__group{
	margin-top: 24px;
}
.cform-confirm__ttl{
	margin: 0;
	padding: 8px 12px;
	background: #595959;
	border-radius: 4px 4px 0 0;
	color: #fff;
	font-size: 1.6rem;
	font-weight: bold;
}
.cform-confirm__list{
	margin: 0;
	border: 1px solid var(--color-line);
	border-top: none;
}
.cform-confirm__row{
	display: grid;
	grid-template-columns: 35% 1fr auto;
	gap: 12px;
	border-top: 1px solid var(--color-line);
	font-size: 1.5rem;
	align-items: center;
}
.cform-confirm__row:first-child{
	border-top: none;
}
.cform-confirm__row.is-noedit{
	grid-template-columns: 35% 1fr;
}
.cform-confirm__row dt{
	display: flex;
	align-items: center;
	align-self: stretch;
	font-weight: normal;
	background-color: #f7f7f7;
	padding: 12px;
}
.cform-confirm__row dd{
	margin: 0;
	font-weight: bold;
	word-break: break-all;
	padding: 12px 10px 12px 0;
}
.cform-confirm__age{
	margin-top: 8px;
	font-size: 1.3rem;
	line-height: 1.7;
	word-break: normal;
}
.cform-confirm__age p + p{
	margin-top: 8px;
}
.cform-confirm__note{
	display: block;
	margin-top: 5px;
	padding-left: 1em;
	text-indent: -1em;
	font-size: 1.3rem;
	font-weight: normal;
	text-decoration: underline;
	word-break: normal;
}
.cform-confirm__edit{
	margin-right: 10px;
	padding: 2px 10px;
	background: #fff;
	border: 1px solid var(--color-line);
	border-radius: 4px;
	color: var(--color-link);
	font-size: 1.4rem;
	white-space: nowrap;
	cursor: pointer;
}
.cform-confirm__edit:hover{
	text-decoration: underline;
}
.cform-confirm__caution{
	margin-top: 24px;
	padding: 21px 7px;
	background: #edf8f1;
	border: 1px solid #c6ead5;
	color: #1a7f45;
	font-size: 1.4rem;
	font-weight: bold;
	text-align: center;
	border-radius: 8px;
}

/*- 完了画面 ----------------------------------------------------------------------*/
.cform-thanks .ttl02{
	max-width: none;
}

/*- スマホ ----------------------------------------------------------------------*/
@media screen and (max-width: 767px){
	.cform-page #content{
		padding: 0;
	}
	.cform{
		padding-left: 3.125%;
		padding-right: 3.125%;
		font-size: 1.4rem;
		/* 画面いっぱいのカードが、表示のアニメーション中に右へはみ出して横スクロールが出ないようにする
		   （clip は hidden と違い、STEP 表示の追従 sticky を止めない） */
		overflow-x: clip;
	}
	.cform-prep{
		margin-top: 10px;
		border-top-width: 3px;
		border-bottom-width: 3px;
	}
	.cform-steps{
		margin-bottom: 10px;
		padding-top: 0;
	}
	.cform-card.is-first,
	.cform-card.is-confirm,
	.cform-card.cform-thanks{
		margin-top: 20px;
	}
	.cform-steps__item{
		padding: 10px 2px 2px;
		font-size: 1.5rem;
	}
	.cform-steps__no{
		font-size: 1.4rem;
	}
	.cform-bar{
		margin-top: 5px;
	}
	.cform-card{
		padding: 22px 16px 15px;
		border-radius: 16px;
		margin-left: calc(-3.125% / 0.9375);
		margin-right: calc(-3.125% / 0.9375);
	}
	.cform-card__meta{
		margin-bottom: 10px;
	}
	.cform-card__ttl{
		font-size: 1.8rem;
	}
	.cform-q{
		padding: 15px 0;
	}
	.cform-card__body{
		margin-bottom: 15px;
	}
	.cform-card.is-no-next .cform-card__body{
		margin-bottom: 0;
		border-bottom: none;
	}
	.cform-opts.is-cols2,
	.cform-checks.is-cols2{
		grid-template-columns: 1fr;
	}
	.cform-opts.is-compact .cform-opt{
		gap: 8px;
		padding: 12px 10px;
		white-space: normal;
	}
	.cform-opts.is-compact .cform-opt::after{
		width: 0;
	}
	.cform-check,
	.cform-checks.is-cols2 .cform-check{
		font-size: 1.4rem;
	}
	/* 入力欄はiOSの自動ズームを防ぐため 16px のまま */
	.cform-field__input input,
	.cform-field__input select,
	.cform-field__textarea{
		padding: 10px;
	}
	.cform-field__input select{
		padding-right: 32px;
	}
	.cform-field.is-half{
		width: 100%;
	}
	.cform-field.is-half.is-keep{
		width: calc(50% - 6px);
	}
	.cform-field.is-half.is-keep .cform-field__input input,
	.cform-field.is-half.is-keep .cform-field__input select{
		width: 100%;
	}
	.cform-field[data-fid="builtY"]{
		flex: 1 1 0;
		width: auto;
		min-width: 0;
	}
	.cform-field[data-fid="builtM"]{
		flex: none;
		width: auto;
	}
	.cform-field[data-fid="builtM"] select{
		--cform-w: 76px;
	}
	.cform-field__pre{
		min-width: 0;
	}
	.cform-field__pre.is-vertical{
		writing-mode: vertical-rl;
		text-orientation: upright;
		letter-spacing: 0;
		line-height: 1;
	}
	.cform-field__input--area{
		flex-wrap: wrap;
	}
	.cform-field__input--area .cform-field__example{
		width: 100%;
	}
	.cform-structure{
		display: none;
	}
	.cform-floor-note{
		min-height: 0;
		padding-right: 0;
		background-size: 120px auto;
		background-position: right 5px top 10px;
	}
	.cform-floor-note__first{
		min-height: 112px;
		padding-right: 130px;
	}
	.cform-q.is-privacy .cform-q__ttl{
		font-size: 1.6rem;
	}
	.cform-btn-next{
		padding: 14px 28px;
	}
	.cform-nav,
	.cform-nav.is-send{
		display: flex;
		flex-direction: column;
		align-items: center;
		gap: 12px;
		margin-bottom: 10px;
	}
	.cform-nav .cform-btn-next{
		order: -1;
		margin-left: 0;
	}
	.cform-nav.is-send .cform-btn-back{
		justify-self: auto;
	}
	.cform-nav.is-send .cform-btn-send{
		width: 100%;
	}
	.cform-nav > span:empty{
		display: none;
	}
	.cform-nav:not(.is-send):not(.is-edit){
		flex-direction: row;
		justify-content: space-between;
	}
	.cform-nav:not(.is-send):not(.is-edit) .cform-btn-next{
		order: 0;
		margin-left: auto;
	}
	.cform-confirm__group{
		margin-top: 15px;
	}
	.cform-confirm__ttl{
		font-size: 1.4rem;
	}
	.cform-confirm__row{
		grid-template-columns: 1fr auto;
		gap: 0;
		font-size: 1.4rem;
	}
	.cform-confirm__row.is-noedit{
		grid-template-columns: 1fr;
	}
	.cform-confirm__row dt{
		grid-column: 1 / -1;
	}
	.cform-confirm__row dd{
		padding: 10px;
	}
	.cform-confirm__edit{
		margin: 0 10px;
	}
	.cform-confirm__caution{
		padding: 14px 3px;
		line-height: 24px;
	}
}

/*- PC ---------------------------------------------------------------------------*/
@media screen and (min-width: 768px){
	.cform-btn-send{
		width: 380px;
	}
	.cform-field.has-after{
		display: grid;
		grid-template-columns: auto 1fr;
		column-gap: 16px;
		align-items: center;
		width: 100%;
	}
	.cform-field.has-after > .cform-field__label{
		grid-column: 1 / -1;
	}
	.cform-field.has-after > .cform-field__input{
		grid-column: 1;
		grid-row: 2;
	}
	.cform-field.has-after > .cform-field__after{
		grid-column: 2;
		grid-row: 2;
		margin-top: 0;
	}
	.cform-field.has-after > .cform-field__err{
		grid-column: 1 / -1;
		grid-row: 3;
	}
}

@media screen and (max-width: 767px){
	.cform-confirm__edit{
		display: inline-flex;
		align-items: center;
		justify-content: center;
		min-width: 60px;
		height: 32px;
		padding: 0 14px;
	}
}
.cform-btn-back{
	min-height: 44px;
}
