@charset "UTF-8";

/* ============================================
   弁護士法人ルタ法律事務所 借金法律相談LP フォーム
   メインカラー: #1f3f82（ルタ法律事務所ブランドカラー）
   ============================================ */

.form_block {
	background-image: url(../../images/form_bg.png);
	background-repeat: no-repeat;
	background-position: bottom;
	background-size: cover;
	padding: 5% 2%;
}

.form_block .container {
	padding: 3%;
	padding-top: 0;
	border-radius: 20px;
	text-align: center;
	background-color: #a2a7a761 !important;
}
.form_block .container img {
	margin: 0 auto;
}

.form-contents {
	padding: 3%;
	background-color: #fff;
	border: solid 3px #1f3f82;
	border-radius: 15px;
}

p.question_p {
	font-weight: bold;
	font-size: 120%;
}

/* Q1見出し(「返済代行可能かチェック」) */
p.check_badge {
	color: red;
	font-weight: bold;
	font-size: 110%;
	margin-bottom: .3rem;
}

/* ステップ3の指差し画像(「あと少しで完了!」) */
.cta-hint {
	margin: 3% 0;
}
.cta-hint img {
	max-width: 320px;
	width: 100%;
}

form input.step-radio { display: none; }

form .col-sm-6 label {
	display: block;
	margin-bottom: 1.5rem;
}

form .form-group { text-align: left; }

form .form-group label {
	display: block;
	margin: 1.3rem 0 .2rem;
	font-weight: bold;
}

.form-contents .form-control { height: 50px; }

.attention03 { font-size: 80%; }

/* 必須／任意ラベル */
.form-group label span {
	display: inline-block;
	color: white;
	background-color: red;
	font-size: 80%;
	padding: 1px 10px;
	border-radius: 5px;
	margin-left: 5px;
	vertical-align: text-bottom;
}
.form-group label span.any {
	background-color: gray;
}

/* 回答ボタン */
.btn {
	background: #1ea537;
	color: #fff;
	padding: 5% 15%;
	font-weight: bold;
	box-shadow: 0px 2px 2px 0px #0d2f15d9;
}
.btn:hover {
	color: white;
	background: #29c94a;
}

.submit-btn {
	padding: 3%;
	margin: 5% 0 5%;
}

.error-box {
	padding: 3% 3% 2%;
	border: solid 2px red;
	border-radius: 10px;
	background: white;
	color: red;
	font-weight: bold;
	margin: 2% auto;
	font-size: 95%;
}

.result {
	text-align: center;
	background: #fff;
	padding: 2%;
	border-radius: 15px;
	border: 2px solid red;
	margin: 3% 0 2%;
	font-weight: bold;
}
.result p {
	font-size: 130%;
	color: red;
	margin-bottom: .5rem;
}

/* 電話番号3分割入力 */
.tel-box {
	display: inline-block;
	vertical-align: bottom;
	width: 25%;
}

/* 送信ボタン（画像） */
.end-btn img {
	width: 100%;
	padding-bottom: 3%;
}
a.end-btn img:hover {
	opacity: 0.7;
}

/* 匿名相談の安心訴求(ステップ3) */
.assurance-block {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 12px;
	margin: 3% 0;
}
.assurance-badge {
	position: relative;
	flex: 0 0 auto;
	width: 80px;
	height: 80px;
	border-radius: 50%;
	background: #1f3f82;
	color: #fff;
	font-weight: bold;
	font-size: 90%;
	display: flex;
	align-items: center;
	justify-content: center;
	text-align: center;
	line-height: 1.3;
}
/* 吹き出しの三角形(円の右側から見出しを指す向き) */
.assurance-badge::after {
	content: "";
	position: absolute;
	right: -7px;
	bottom: 30px;
	width: 0;
	height: 0;
	border-style: solid;
	border-width: 8px 0 8px 12px;
	border-color: transparent transparent transparent #1f3f82;
}
.assurance-heading {
	font-weight: bold;
	font-size: 160%;
	margin: 0;
	text-align: left;
	color: #4282DB;
}
.assurance-heading .highlight {
	border-bottom: 4px solid #F2F413;
}

/* ============ レスポンシブ ============ */

@media screen and (max-width: 767px) {
	.sp_view { display: block; }
	.pc_view { display: none; }
	.error-box { width: 100%; }
	.tel-box { width: 31%; }
}

@media (max-width: 576px) {
	form .col-sm-6 label {
		display: block;
		margin-bottom: .5rem;
	}
	p.question_p {
		font-weight: bold;
		font-size: 100%;
	}
	.result p { font-size: 115%; }
	.assurance-block { justify-content: flex-start; }
	.assurance-badge { width: 64px; height: 64px; font-size: 80%; }
	.assurance-badge::after { right: -7px; bottom: 25px; border-width: 6px 0 6px 9px; }
	.assurance-heading { font-size: 120%; }
}
