@charset "utf-8";


.contact {
  padding-bottom: 40px;
}

.contact .form {
  padding: 0;
}

.form_wrap {
	position: relative;
}
.form_wrap .form {
	position: relative;
	background-color: #fff;
	overflow: hidden;
	transition: height .4s;
	z-index: 3;
  border-radius: 32px;
  margin-top: 40px;
}
.form_wrap .form .form_box {
	opacity: 0;
	visibility: hidden;
	transition: opacity .4s, visibility .4s;
	box-sizing: border-box;
  padding: 40px 16px;
}
.form_wrap .form .form_box:not(.active) {
	position: absolute;
	width: 100%;
	top: 0;
	left: 0;
}
.form_wrap .form .form_box.active {
	opacity: 1;
	visibility: visible;
}
.form_wrap .form .nav {
  margin-bottom: 16px;
}
.form_wrap .form .nav ul {
	display: grid;
	line-height: 0;
  width: 110%;
  grid-template-columns: 25% 25% 25% 25%;
}
.form_wrap .form .nav ul li {
	position: relative;
	background-color: #a7a7a7;
  width: 100%;
  text-align: center;
  padding: 16px 0;
  clip-path: polygon(0 0, calc(100% - 20%) 0, 100% 50%, calc(100% - 20%) 100%, 0 100%, 20% 50%);
}
.form_wrap .form .nav ul li:nth-child(2) {
  margin-left: -13%;
}
.form_wrap .form .nav ul li:nth-child(3) {
  margin-left: -26%;
}
.form_wrap .form .nav ul li:nth-child(4) {
  margin-left: -39%;
}


.form_wrap .form .nav ul li:first-child {
  border-radius: 16px 0 0 16px;
  clip-path: polygon(0 0, calc(100% - 20%) 0, 100% 50%, calc(100% - 20%) 100%, 0 100%);
}
.form_wrap .form .nav ul li:last-child {
  border-radius: 0 16px 16px 0;
  clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%,20% 50%);
}
.form_wrap .form .nav ul li.active {
	background-color: #254160;
}
.form_wrap .form .nav ul li img {
	width: auto;
  height: 16px;
}

.form_wrap .form .q {
	line-height: 1.4423;
  margin-bottom: 24px;
	font-size: 20px;
}
.form_wrap .form .a ul {
	display: flex;
	flex-wrap: wrap;
	/* justify-content: space-between; */
  justify-content: center;
  gap: 24px 0;
}
.form_wrap .form .a ul li {
  width: 39.3333rem;
}
.form_wrap .form .a ul li label {
	display: flex;
	justify-content: center;
	align-items: center;
	font-weight: 900;
	color: #254160;
	background-color: #fff;
	box-sizing: border-box;
	transition: color .2s, background-color .2s;
  height: 80px;
  font-size: 20px;
  border: 3px #254160 solid;
  box-shadow: 0 8px 0 0 #254160;
  border-radius: 16px;
}
.form_wrap .form .a ul li label:has(:checked),
.form_wrap .form .a ul li label:hover {
	color: #fff;
	background-color: #254160;
	border: none;
  height: 80px;
  /* margin-bottom: -8px; */
  box-shadow: 0 8px 0 0 #172a41ff;
}
.form_wrap .form .a ul li label input {
	display: none;
}
.form_wrap .form .a ul li label.t1_sp {
  font-size: 20px;
}
.form_wrap .form .a ul li label.t2_sp {
  font-size: 20px;
}
.form_wrap .form .a ul li label.t3_sp {
  font-size: 20px;
}
.form_wrap .form .back {
	text-align: left;
  margin: 60px auto 0;
}
.form_wrap .form .back button {
	display: inline-block;
	all: unset;
	font-weight: 700;
	background: url(../img/arw_back.svg) no-repeat 0 0 / auto 100%;
	cursor: pointer;
  padding-left: 16px;
  font-size: 20px;
  line-height: 1;
}
.form_wrap .form_tit {
	font-weight: 700;
	line-height: 2;
  font-size: 20px;
}
.form_wrap .result_wrap {
	position: relative;
	background-color: #fff0ee;
  margin-bottom: 32px;
  padding: 16px;
}
.form_wrap .result_wrap::before {
	position: absolute;
	/* content: ''; */
	/* background: url(../img/form_man.png) no-repeat center top / 100% auto; */
  width: 18.8rem;
  height: 22.6667rem;
  bottom: -4.1333rem;
  right: 2.2667rem;
}
.form_wrap .result_wrap .result {
	line-height: 1.5;
	font-weight: 700;
	color: #A50133;
  font-size: 20px;
}
.form_wrap .result_wrap .result strong {
	/* display: inline-block; */
  background-position: right 100% bottom 0;
  background-image: linear-gradient(#A50133, #A50133);
  background-repeat: no-repeat;
  background-size: 100% 2px;
	/* border-bottom: 2px #A50133 solid; */
}
.form_wrap .result_wrap .note {
	position: relative;
  display: flex;
  align-items: center;
  margin-top: 32px;
  padding-left: 88px;
  padding-right: 0;
  min-height: 80px;
}
.form_wrap .result_wrap .note .icon {
	position: absolute;
	display: flex;
	justify-content: center;
	align-items: center;
	top: 0;
	left: 0;
	color: #fff;
	background-color: #a0813c;
  width: 70px;
  height: 70px;
  font-size: 18px;
  line-height: 1.2;
  border-radius: 50%;
}
.form_wrap .result_wrap .note p {
	text-align: left;
  font-size: 18px;
	line-height: 1.36;
}
.form_wrap .result_wrap .note p br {
  display: none;
}
.form_wrap .form_dl {
	text-align: left;
}
.form_wrap .form_dl dt {
	font-weight: 700;
	color: #254160;
  padding: 0 0 16px;
  font-size: 20px;
  border-bottom: 1px #254160 solid;
}
.form_wrap .form_dl dt .req {
	color: #A50133;
  font-size: 20px;
}
.form_wrap .form_dl dd {
  padding: 24px 0 40px;
  font-size: 18px;
}
.form_wrap .form_dl dd input[type="text"],
.form_wrap .form_dl dd select {
	background-color: #fff;
	border: 1px #c0c0c0 solid;
	box-sizing: border-box;
	outline: none;
  height: 60px;
  padding: 16px;
  border-radius: 8px;
  width: 100%;
}
.form_wrap .form_dl dd input[type="text"].error,
.form_wrap .form_dl dd select.error {
	border: 1px #A50133 solid;
}
.form_wrap .form_dl dd .err {
	display: none;
  padding-top: 0.5em;
  font-size: 18px;
  color: #A50133;
}
.form_wrap .form_dl dd input[type="text"].error + .err,
.form_wrap .form_dl dd select.error + .err {
	display: block;
}
.form_wrap .form_dl dd input[type="text"].error + .err:empty,
.form_wrap .form_dl dd select.error + .err:empty {
	display: none;
}
.form_wrap .form_btn {
  margin-top: 18px;
}
.form_wrap .form_btn button {
	all: unset;
	position: relative;
	display: block;
	margin: 0 auto;
	font-weight: 700;
	color: #A50133;
	background-color: #fff;
	box-sizing: border-box;
	cursor: pointer;
	transition: color .2s, background-color .2s;
  width: 100%;
  height: 80px;
  padding-right: 0;
  font-size: 20px;
  text-align: center;
  border: 3px #A50133 solid;
  border-radius: 16px;
}
.form_wrap .form_btn button:hover {
	color: #fff;
	background-color: #A50133;
}
.form_wrap .form_btn button::after {
	position: absolute;
	content: '';
	background: url(../img/arw.svg) no-repeat 0 0 / cover;
	transform: rotate(90deg);
  width: 3rem;
  height: 3rem;
  top: calc(50% - 1.5rem);
  right: 3.8667rem;
}
.form_wrap .form_btn button:hover::after {
	background: url(../img/arw_2.svg) no-repeat 0 0 / cover;
	transform: rotate(90deg);
}
.form_wrap .complete {
	position: relative;
	background-color: #fff0ee;
  margin-top: 2.6667rem;
	padding: 5.8667rem 18.6667rem 5.3333rem 5.3333rem;
}
.form_wrap .complete::before {
	position: absolute;
	content: '';
	background: url(../img/form_woman.png) no-repeat center top / 100% auto;
  width: 14.4rem;
  height: 21.8667rem;
  bottom: -2.1333rem;
  right: 3.8667rem;
}
.form_wrap .complete p {
	line-height: 1.36;
  font-size: 3.3333rem;
}
.form_wrap .complete p strong {
	display: block;
  padding-bottom: 0.4em;
	font-size: 4rem;
}
.form_wrap .form_note {
	font-weight: 400;
  margin-top: 5.0667rem;
  font-size: 2.9333rem;
}