@charset "UTF-8";

.wrap.lower {
	padding: 88px 0 100px;
}

.wrap.lower .lead p {
	margin: 26px auto 0;
	max-width: 90%;
}

.wrap.lower .lead img {
	display: block;
	margin: 0 auto;
}

/* 入力画面 */

.contact-table {
	margin: 88px auto 0;
	width: 90%;
	max-width: 1008px;
}

.contact-table tbody {
	width: 100%;
}

.contact-table tr {
	display: block;
	margin-top: 23px;
}

.contact-table tr:first-child {
	margin-top: 0;
}

.contact-table th:has(.required) {
	display: flex;
	align-items: center;
	gap: 7px;
}

.required {
	background: #D40000;
	border-radius: 4px;
	color: #fff;
	font-size: 12px;
	font-weight: 500;
	letter-spacing: .05em;
	line-height: 1;
	padding: 4px 8px;
	white-space: nowrap;
}

::placeholder {
	color: #5EAC97;
}

.mw_wp_form .horizontal-item+.horizontal-item {
	margin: 0 !important;
}

input[type="text"],
input[type="tel"],
input[type="email"],
textarea {
	background: #F0F7F5;
	border: none;
	border-radius: 5px;
	box-sizing: border-box;
	font-family: "Zen Maru Gothic", sans-serif;
	font-size: 16px;
	font-weight: 500;
	line-height: 2.5;
	padding: 10px 27px;
	resize: vertical;
	width: 100%;
}

.contact-table th,
.contact-table td {
	display: block;
	font-size: 16px;
	font-weight: 500;
	letter-spacing: .05em;
	line-height: 2.5;
	text-align: left;
}

.contact-table td:has(.mwform-radio-field) {
	background: #F0F7F5;
	border: none;
	border-radius: 5px;
	box-sizing: border-box;
	display: flex;
	gap: 8px 38px;
	flex-wrap: wrap;
	line-height: 1.9;
	padding: 26px 34px;
}

.contact-table input[type=radio].radio_btn_item {
	display: none;
}

.contact-table .radio_btn_item+span {
	padding-left: 30px;
	display: inline-block;
	position: relative;
}

.contact-table .radio_btn_item+span::after,
.contact-table .radio_btn_item+span::before {
	border-radius: 50%;
	content: '';
	display: block;
	position: absolute;
}

.contact-table .radio_btn_item+span::before {
	background: #fff;
	border: 1px solid #3D3D3D;
	left: 0;
	top: 4px;
	height: 21px;
	width: 21px;
}

.contact-table .radio_btn_item+span::after {
	background: #EE7D76;
	left: 7px;
	opacity: 0;
	top: 11px;
	width: 9px;
	height: 9px;
}

.contact-table .radio_btn_item:checked+span::after {
	opacity: 1;
}

.contact-table td:has(span) {
	display: flex;
	align-items: flex-start;
	gap: 0 32px;
}

.contact-table td span input[type="text"],
.contact-table td span .input-short {
	width: 288px;
}

#autozip {
	display: none !important;
}

.confirm-title {
	display: none;
}

.contact-table td span:has(.input-jp),
.contact-table td span .input-jp {
	width: 100% !important;
}

.consent {
	display: flex;
	align-items: baseline;
	gap: 20px;
	margin: 10px auto 0;
	width: 90%;
    max-width: 1008px;
}

.consent p,
.consent label {
	font-size: 16px;
	font-weight: 500 !important;
	letter-spacing: .05em;
	line-height: 1.875;
}

.consent .check {
	text-align: left;
}

.consent .check .mwform-checkbox-field-text {
	padding-left: 45px;
	position: relative;
}

.consent .check input[type="checkbox"] {
	display: none;
}

.consent .check .mwform-checkbox-field-text::before {
	content: "";
	position: absolute;
	top: -3px;
	left: 0;
	display: block;
	background: #fff;
	border: 1px solid #000;
	box-sizing: border-box;
	width: 31px;
	height: 31px;
}

.consent .check .mwform-checkbox-field-text::after {
	content: "";
}

.mwform-checkbox-field>label input[type="checkbox"]:checked+.mwform-checkbox-field-text::after {
	width: 10px;
	height: 15px;
	transform: translateY(-50%) rotate(45deg);
	top: 12px;
	left: 10px;
	border: none;
	border-right: 2px solid #D40000;
	border-bottom: 2px solid #D40000;
	content: '';
	display: block;
	position: absolute;
	transition: .1s;
}

.form-btn {
	position: relative;
	margin: 60px auto 0;
	width: 100%;
	max-width: 260px;
}

.form-btn::after {
	content: "";
    background: url(../img/arrow-w.svg) no-repeat;
    background-size: contain;
    display: block;
    width: 22px;
    height: 22px;
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	right: 16px;
}

.btn-submit {
	background: #5EAC97;
    border: 2px solid #5EAC97;
    border-radius: 60px;
    box-sizing: border-box;
    color: #fff;
    font-family: "Zen Maru Gothic", sans-serif;
    font-size: 16px;
    font-weight: 500;
    letter-spacing: .05em;
    line-height: 1.85;
	text-align: center;
    margin: 0 auto;
    padding: 10px 0;
	width: 100%;
    transition: .3s;
}

.form-btn:hover .btn-submit {
	background: #fff;
	color: #5EAC97;
}

.form-btn:hover::after {
	background: url(../img/arrow-g.svg) no-repeat;
    background-size: contain;
}

/* 確認画面 */

body:has(.mw_wp_form_confirm) .wrap.lower .lead p {
	display: none;
}

body:has(.mw_wp_form_confirm) .confirm-title {
	color: #EE7D76;
	font-size: 30px;
	letter-spacing: .05em;
	line-height: 1.86;
	display: block;
	margin-top: 22px;
	text-align: center;
}

.mw_wp_form_confirm .contact-table {
	background: #F0F7F5;
	border-radius: 5px;
	padding: 68px 48px;
	margin-top: 70px;
}

.mw_wp_form_confirm .contact-table tr {
	border-bottom: 1px solid #31826C;
	padding-bottom: 17px;
	margin: 16px auto 0;
	max-width: 880px;
}

.mw_wp_form_confirm .contact-table tr:first-child {
	margin-top: 0;
}

.mw_wp_form_confirm th {
	color: #31826C;
}

.mw_wp_form_confirm .contact-table td:has(span) {
	gap: 0 1em;
}

.mw_wp_form_confirm .consent p,
.mw_wp_form_confirm .required {
	display: none;
}

.mw_wp_form_input .fix {
	display: none;
}

.fix {
	position: relative;
    margin: 0 auto;
    width: 100%;
    max-width: 190px;
}

.fix::after {
	content: "";
    background: url(../img/arrow-gray.svg) no-repeat;
    background-size: contain;
    display: block;
    width: 22px;
    height: 22px;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    right: 12px;
}

.btn-back {
	background: #fff;
    border: 2px solid #5EAC97;
    border-radius: 60px;
    box-sizing: border-box;
    color: #5EAC97;
    font-family: "Zen Maru Gothic", sans-serif;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: .05em;
    line-height: 1.85;
    text-align: center;
    margin: 0 auto;
    padding: 10px 0;
    width: 100%;
    transition: .3s;
}

.fix:hover .btn-back {
	background: #5EAC97;
	color: #fff;
}

.fix:hover::after {
	background: url(../img/arrow-w.svg) no-repeat;
    background-size: contain;
}

.btn-submits {
	display: flex;
	flex-flow: column-reverse;
	gap: 20px;
}

/* 完了 */

body:has(.mw_wp_form_complete) .wrap.lower .lead p {
	display: none;
}

.completed-wrap .confirm-title {
	color: #EE7D76;
	font-size: 30px;
	letter-spacing: .05em;
	line-height: 1.86;
	display: block;
	margin-top: 22px;
	text-align: center;
}

.completed-wrap {
	width: 90%;
	margin: 0 auto;
	max-width: 1008px;
}

.completed-wrap .completed {
	background: #F0F7F5;
	border-radius: 5px;
	box-sizing: border-box;
	padding: 64px;
	margin: 70px auto 32px;
	width: 100%;
}

.completed-wrap .completed > div{
	background: rgba(79, 159, 137, .7);
	border-radius: 5px;
	box-sizing: border-box;
	color: #fff;
	padding: 16px 12px 25px;
	margin: 23px auto 0;
	text-align: center;
	max-width: 465px;
}

.completed-wrap .completed > div b {
	font-size: 30px;
	letter-spacing: .08em;
}

.completed-wrap .completed > div b span {
	font-size: 25px;
}

.completed-wrap .completed > div p {
	color: #fff;
}

.completed-wrap > p {
	text-align: left;
}

.completed-wrap ul {
	margin-top: 24px;
}

.completed-wrap ul li {
	color: #1F1F1F;
	font-size: 15px;
	font-weight: 500;
	letter-spacing: .05em;
	line-height: 2;
}

.completed-wrap .btn {
	background: #fff;
	border: 2px solid #5EAC97;
	color: #5EAC97;
	margin: 80px auto 0;
	text-align: center;
}

.completed-wrap .btn::after {
	background: url(../img/arrow-gray.svg) no-repeat;
	background-size: contain;
	right: 12px;
}

.completed-wrap .btn:hover {
	background: #5EAC97;
	color: #fff;
}

.completed-wrap .btn:hover::after {
	background: url(../img/arrow-w.svg) no-repeat;
    background-size: contain;
}

/* sp */

@media screen and (max-width: 767px) {

	.wrap.lower {
		padding: 56px 0 60px;
		max-width: 100%;
	}

	.wrap.lower .lead p {
		margin-top: 30px;
	}

	/* 入力画面 sp */

	.contact-table {
		margin-top: 48px;
	}
	.contact-table td:has(.mwform-radio-field) {
		flex-flow: column;
		gap: 8px;
	}

	.contact-table td:has(span) {
		flex-flow: column;
		gap: 21px;
	}

	.contact-table td span input[type="text"],
	.contact-table td span .input-short {
		width: 100%;
	}

	.form-btn {
		margin-top: 50px;
	}

	.consent p, .consent label {
		text-align: left;
	}

	/* 確認 sp */
	.mw_wp_form_confirm .contact-table {
		padding: 24px 16px;
	}

	/* 完了 sp */

	.completed-wrap .completed {
		padding: 25px 0;
		margin: 40px auto 34px;
	}

	.completed-wrap .completed > div {
		padding: 10px 0px 18px;
		max-width: 280px;
	}

	.completed-wrap .btn {
		margin-top: 40px;
	}
}