@charset "UTF-8";
/* CSS Document */
-----------------------------------*/ #loan {
	margin-top: 20px;
}
main {
	background: #fdfdfd;
}
table {
	line-height: 3.3;
	width: 100%;
	background: #fff;
	max-width: none;
	padding: 95px 100px 50px;
	border-spacing: 0px 0px;
	border-collapse: separate;
	font-size: 16px;
}
table caption {
	background: #6c7465;
	color: #fff;
	font-weight: bold;
	font-size: clamp(1.6rem, 1.7vw, 1.8rem);
	width: calc(100% - 200px);
	margin: auto;
	transform: translateY(60px);
}
table th, table td {
	border-bottom: 1px solid #e5e5e5;
	padding: 15px 30px 20px;
}
table th {
	width:calc(100vw / 6);
	font-weight: 600;
	text-align: left;
	color: #594a2a;
	line-height: 1.3;
}
input[type="text"], input[type="number"], input[type="url"], input[type="password"], input[type="email"], input[type="search"] {
	width: 100%;
}
table input[type="number"].loan_form_year {
	max-width: 5em;
}
input[type="number"].loan_form_day, input[type="number"].loan_form_month {
	width: 3.5em;
}
input.loan_form_postCode {
	width: 8em;
}
input[type="text"], input[type="number"], input[type="url"], input[type="password"], input[type="search"], input[type="email"], input[type="tel"], select, textarea, input[type="number"], select {
	-webkit-appearance: none;
	-ms-appearance: none;
	margin: 0;
	appearance: none;
	box-sizing: border-box;
	font: inherit;
	vertical-align: middle;
	background: #fff;
	display: inline-block;
	max-width: 100%;
	min-width: 3em;
	border: 1px solid #bfbfbf;
	border-radius: 3px;
	padding: 8px;
	box-shadow: 0 2px 0 #eee inset;
	line-height: 26px;
}
textarea {
	vertical-align: bottom;
	width: 100%;
	min-height: 8em;
	max-height: 90vh;
	line-height: 1.5;
	margin-top: 5px;
}
::placeholder {
	color: #b2b2b2;
}
input[type="checkbox"] {
	font-weight: 700;
}
.loan_form_checkboxLabel > input[type="checkbox"] {
	opacity: 0;
	-webkit-appearance: none;
	appearance: none;
	position: absolute;
}
.loan_form_checkboxLabel input[type="checkbox"]:checked + i::before {
	content: "";
	position: absolute;
	width: 21%;
	height: 70%;
	top: 56%;
	left: 50%;
	border: 3px solid #000;
	border-width: 0 3px 4px 0;
	transform: translate(-50%, -65%) rotate(45deg);
}
.loan_form_checkboxLabel {
	display: inline-block;
	line-height: 1;
	cursor: pointer;
	margin-right: 1em;
}
.loan_form_checkboxLabel {
	display: inline-block;
	vertical-align: middle;
	line-height: 1;
	margin-right: 1em;
	cursor: pointer;
}
.loan_form_checkboxLabel > i {
	display: inline-block;
	width: 1.5em;
	height: 1.5em;
	position: relative;
	vertical-align: -.4em;
	margin: 0 .5em 0 0;
	background: #fff;
	border: 1px solid #b5b5b5;
	border-radius: 3px;
	box-shadow: 0 2px 0 rgba(0, 0, 0, 0.1) inset;
}
.loan_form_radioLabel {
	display: inline-block;
	vertical-align: middle;
	line-height: 1;
	margin-right: 1em;
	cursor: pointer;
}
.loan_form_radioLabel > i {
	position: relative;
	display: inline-block;
	margin: 0 .5em 0 0;
	vertical-align: -.4em;
	width: 20px;
	height: 20px;
	background: #fff;
	border: 1px solid #332c2a;
	border-radius: 50%;
}
.loan_form_selectLabel select {
	width: 100%;
	cursor: pointer;
	padding-right: 36px;
}
.loan_form_selectLabel {
	position: relative;
	display: inline-block;
	line-height: 1
}
.loan_form_radioLabel input[type="radio"] {
	opacity: 0;
	-webkit-appearance: none;
	appearance: none;
	position: absolute;
}
.loan_form_radioLabel > i {
	position: relative;
	display: inline-block;
	margin: 0 .5em 0 0;
	vertical-align: -.4em;
	width: 20px;
	height: 20px;
	background: #fff;
	border: 1px solid #332c2a;
	border-radius: 50%;
	box-sizing: border-box;
}
/* チェックされた時の中点を表示 */
.loan_form_radioLabel input[type="radio"]:checked + i::before {
	content: "";
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	width: 10px; /* 中点のサイズ */
	height: 10px; /* 中点のサイズ */
	background-color: #332c2a; /* 中点の色 */
	border-radius: 50%;
}
.loan_form_selectLabel:before {
	position: absolute;
	display: flex;
	justify-content: center;
	align-items: center;
	line-height: 1;
	pointer-events: none;
	content: "▼";
	color: #332c2a;
	font-size: 10px;
	top: 1px;
	right: 1px;
	width: 34px;
	height: 40px;
	border-radius: 0 3px 3px 0
}
.loan_form_subtext {
	line-height: 1.5;
	margin: 0;
	font-size: clamp(1.3rem, 1.4vw, 1.4rem);
}
.submitbtn {
	margin: 3em auto;
	text-align: center;
}
.btn.btn-primary {
    border-width: 2px;
    max-width: 560px;
    width: 100%;
    min-height: 60px;
    font-size: clamp(2rem, 2.5vw, 2.6rem);
    font-weight: 700;
    background: linear-gradient(to bottom, #6c7465, #9ca297 80%);
    border: 1px solid #6c7465;
    border-color: #6c7465 #949f8b #6c7465;
    color: #fff;
    text-shadow: 0 0 6px #6c7465;
    letter-spacing: 0.2em;
    text-indent: .25em;
    box-shadow: 0 2px 10px rgb(59 63 59 / 50%);
	 cursor: pointer;
}
label.error {
	font-weight: 700;
	margin: .25em 0;
	line-height: 1.5;
	display: block;
	color: #cd0000;
}
.loan_col {
	display: flex;
	column-gap: 2em;
	margin-top: 10px
}
.loan_form_fileImg {
	margin: 0;
	padding: 0;
}
.loan_form_file .loan_form_fileImg figcaption {
	position: absolute;
	left: 0;
	top: 0;
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	align-content: center;
	align-items: center;
	width: 100%;
	height: 100%;
	z-index: -1;
	color: #fff;
	font-weight: 700;
	font-size: 3rem;
}
.loan_form_file .loan_form_fileImg {
	height: calc(100vh /4);
}
.loan_form_file .loan_form_fileImg {
	display: flex;
	text-align: center;
	position: relative;
	z-index: 0;
	background: #d2d6cf;
	justify-content: center;
	align-items: center;
}
.hakeninput input[type="text"] {
	margin-bottom: 10px;
}
.otutomesaki {
	line-height: 1.5;
	padding: 0;
}
img#preview1, img#preview2 {
	height: 100%;
}
.loan_form_file .loan_form_fileLabel {
	position: relative;
	margin: 1em auto 0;
	border: 1px solid #7d7d7d;
	font-weight: 700;
	border-radius: 3px;
	min-height: 30px;
	background: #e8ded1;
	background: #333;
	font-size: 13px;
	padding-left: .25em;
	padding-right: .25em;
	width: auto;
	display: block;
	text-align: center;
	color: #fff;
	transition: ease .7s;
	cursor: pointer;
}
.loan_form_file .loan_form_fileLabel input[type="file"] {
	opacity: 0;
	-webkit-appearance: none;
	-ms-appearance: none;
	appearance: none;
	position: absolute;
	width: 0;
	height: 0;
	margin: 0;
	padding: 0;
	overflow: hidden;
}
.loan_form_file {
	width: 50%;
	position: relative;
}
.btn-cansel {
	background: #333;
	border: none;
	text-indent: -99999px;
	width: 30px;
	height: 30px;
	position: absolute;
	top: 0;
	right: 0;
	z-index: 1;
	display: block;
	cursor: pointer;
	padding: 0;
}
.btn-cansel::before {
	content: '';
	width: 10px;
	height: 1px;
	background: #fff;
	display: block;
	margin: auto;
	transform: rotate(45deg);
}
.btn-cansel::after {
	content: '';
	width: 10px;
	height: 1px;
	background: #fff;
	display: block;
	margin: auto;
	transform: rotate(135deg);
	top: -1px;
	position: relative;
}
.loan_form_fileLabel:hover, button:hover {
	opacity: 0.6;
}
@media(max-width:768px) {
	input[type="text"], input[type="number"], input[type="url"], input[type="password"], input[type="search"], input[type="email"], input[type="tel"], select, textarea, input[type="number"], select {
		font-size: 1.6rem;
	}
	input[type="text"]{
		width: 100%;
		
	}
	table {
		padding: 0;
		margin: 30px 0 0;
	}
	table caption {
		width: 100%;
		transform: translateY(0);
	}
	thead, tbody, tr, th, td {
		display: block;
	}
	table th {
		width: 100%;
		font-weight: 600;
		text-align: left;
		color: #594a2a;
		box-sizing: border-box;
	}
	table th, table td {
		border-bottom: none;
		padding: 0;
		line-height: 2.2
	}
	.loan_col {
		gap: 1em;
		margin-top: 10px;
	}
	table tr {
		margin: 0;
		border-top: 1px solid #e5e5e5;
		padding: 10px 0 15px;
	}
	.loan_form_subtext {
		line-height: 1.5;
		margin: 5px 0;
	}
	table td #address1, table td #office_address1, table td.bounus input {
		margin-bottom: 5px;
	}
	.loan_form_checkboxLabel {
		line-height: 3;
	}
	.otutomesaki {
		margin-bottom: 5px;
	}
	.loan_form_file .loan_form_fileImg {
		height: 28.125vw;
	}
	.loan_form_fileImg img {
		max-width: 80%;
		height: 100%;
	}
}