@charset "UTF-8";
/* CSS Document */

/*セクション間余白----------------------------------------------------------- */
section {
	padding: 75px 0;
}

footer {
	padding: 45px 0;
}

/*Header----------------------------------------------------------- */
header .logo {
	height: 60px;
	display: flex;
	align-items: center;
	padding-right: 15px;
}
header .container {
	display: flex;
	justify-content: space-between;
	padding: 10px 15px;
}
header .contact {
	/* display: flex; */
	display: none;
	align-items: center;
	text-align: right;
}
header .tel {
	padding-right: 15px;
	line-height: 1.1;
}
header .contact_tel {
	font-size: 3.2rem;
}
header i {
	display: inline-block;
	transform: scaleX(-1);
}

/*main----------------------------------------------------------- */
.main {
	background: #f3f3f3;
}
.form_wrap ul {
	position: relative;
	overflow: hidden;
	min-height: 1500px;
}
.form_wrap ul li {
	width: 100%;
	height: 100%;
	padding: 0 15px;
	min-height: 1020px;
	position: absolute;
	left: 100%;
	top: 0;
	transition: all 1s;
}
.form_wrap ul li.yet {
	left: 100%;
}
.form_wrap ul li.now {
	left: 0;
}
.form_wrap ul li.already {
	left: -100%;
}

/* ttl */
.form_head {
	display: flex;
	gap: 15px;
	align-items: center;
	border-bottom: 5px solid #3a88d9;
	padding-bottom: 15px;
	margin-bottom: 30px;
	position: relative;
}
.form_head:before {
	position: absolute;
	content: "";
	width: auto;
	right: 0;
	bottom: 0;
	background: #3a88d9;
	color: #fff;
	text-align: center;
	display: flex;
	justify-content: center;
	align-items: center;
	line-height: 1;
	padding: 8px 20px 2px;
}
.form_head p {
	width: 75px;
	height: 75px;
}
.form_head span {
	width: calc(100% - 90px);
	font-size: 30px;
	font-weight: bold;
	color: #3a88d9;
}
.tpl_form05 .form_head span {
	width: 100%;
}
::placeholder {
	color: #ccc;
}

/* ページ数 */
.form_wrap ul li {
	counter-increment: num;
}
.form_wrap ul li .form_head:before {
	content: counter(num) "/5";
}
@media (min-width: 768px) and (max-width: 959px) {
	.form_head p {
		width: 60px;
		height: 60px;
	}
	.form_head span {
		width: calc(100% - 75px);
		font-size: 30px;
		font-weight: bold;
		color: #3a88d9;
	}
}

/* q */
input {
	display: none;
}
.radio_2col {
	display: flex;
	flex-wrap: wrap;
	gap: 30px;
}
.radio_2col label {
	display: block;
	width: calc(50% - 15px);
	text-align: center;
	color: #fff;
	font-weight: bold;
	font-size: 22px;
	line-height: 1;
	padding: 20px 15px;
	border-radius: 10px;
	cursor: pointer;
	transition: all 0.3s;
	background: #215285;
	border: 2px solid #215285;
	position: relative;
}
.radio_2col label:after {
	position: absolute;
	content: "";
	display: block;
	width: calc(100% + 4px);
	height: calc(100% + 4px);
	left: -2px;
	top: -5px;
	border-radius: 10px;
	background: #3a88d9;
	border: 2px solid #3a88d9;
	color: #fff;
}
.radio_2col label:hover {
	color: #3a88d9;
}
.radio_2col label:hover:after {
	background: #fff;
	color: #3a88d9;
}
.radio_2col label * {
	position: relative;
	z-index: 2;
}
.radio_2col label:has(input:checked) {
	color: #3a88d9;
}
.radio_2col label:has(input:checked):after {
	background: #fff;
	color: #3a88d9;
}
.prev {
	position: absolute;
	left: 15px;
	/* bottom: 0; */
}
.prev a {
	position: relative;
	padding-left: 15px;
}
.prev a:before {
	position: absolute;
	content: "";
	border-top: 3px solid #000;
	border-left: 3px solid #000;
	width: 12px;
	height: 12px;
	transform: rotate(-45deg);
	left: 2px;
	top: calc(50% - 7px);
}
.input_select {
	width: 100%;
	font-weight: bold;
	position: relative;
}
.input_select:before {
	content: "";
	width: 0;
	height: 0;
	border-style: solid;
	border-width: 15px 10px 0 10px;
	border-color: #000 transparent transparent transparent;
	position: absolute;
	top: 50%;
	right: 20px;
	transform: translateY(-50%);
	pointer-events: none;
}
.input_select select {
	width: 100%;
	padding: 15px;
	border: 2px solid #dfdfdf;
	border-radius: 10px;
	appearance: none;
}
.input_select select:-ms-expand {
	display: none;
}
.tpl_form05 .fx-row {
	justify-content: center;
}

.tpl_form05 .fx-row input,
.tpl_form05 .fx-row select,
.tpl_form05 .fx-row textarea {
	display: block;
	padding: 15px;
	border: 2px solid #dfdfdf;
	border-radius: 10px;
	width: 100%;
	font-weight: bold;
}
.input_2col {
	display: flex;
	gap: 15px;
}
.input_2col label {
	width: 40%;
}
.input_2col select {
	width: 60%;
}
.check_agree label {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 15px;
	padding: 15px;
}
.check_agree input {
	display: block;
}
.sbm {
	display: block;
	margin: 0 auto;
	width: calc(50% - 15px);
	text-align: center;
	color: #fff;
	font-weight: bold;
	font-size: 24px;
	line-height: 1;
	padding: 0;
	border-radius: 10px;
	cursor: pointer;
	transition: all 0.3s;
	background: #215285;
	border: 2px solid #215285;
	position: relative;
}
.sbm:after {
	position: absolute;
	content: "";
	display: block;
	width: calc(100% + 4px);
	height: calc(100% + 4px);
	left: -2px;
	top: -5px;
	border-radius: 10px;
	background: #3a88d9;
	border: 2px solid #3a88d9;
	color: #fff;
	transition: all 0.3s;
}
.sbm input {
	display: block;
	color: #fff;
	position: relative;
	background: none;
	border: none;
	padding: 15px;
	width: 100%;
	z-index: 2;
}
.sbm:hover input {
	color: #3a88d9;
}

.sbm:hover:after {
	background: #fff;
	color: #3a88d9;
}

.thx-comment {
	line-height: 4rem;
}

.label-required {
	padding: 3px 6px;
	background-color: #3a88d9;
	color: #fff;
	border-radius: 4px;
	margin-right: 8px;
}

.label-optional {
	padding: 3px 6px;
	background-color: #ccc;
	color: #fff;
	border-radius: 4px;
	margin-right: 8px;
}

/*Footer----------------------------------------------------------- */
.foot_nav {
	display: flex;
	justify-content: center;
	gap: 15px;
}

/* テキストエリア */
.textarea-wrap {
	position: relative;
}
.textarea-wrap textarea {
	height: 150px;
	box-sizing: border-box;
}
.textarea-wrap .placeholder {
	position: absolute;
	top: 0;
	left: 0;
	padding: 15px;
	color: #ccc;
	font-weight: bold;
	font-size: 0.8em;
	pointer-events: none;
	transition: opacity 0.2s;
}
.textarea-wrap .placeholder.hidden {
	opacity: 0;
}

.form-text {
	margin-top: 10px;
}

.form-text.notes {
	font-size: 14px;
	padding-left: 1em;
}
.form-text.notes p {
	text-indent: -1em;
}

.sp-only {
	display: none;
}
@media screen and (max-width: 767px) {
	.sp-only {
		display: block;
	}
}
