@charset "UTF-8";

/*-----------------------------------

	headline

-----------------------------------*/
#headline {
	background: url(../img/contact/headline_bg.jpg) no-repeat center center/cover;
}
#headline h1::before {
	content: "CONTACT";
}
@media screen and (max-width: 640px) {
    #headline {
		background: url(../img/contact/sp/headline_bg.jpg) no-repeat center center/cover;
	}
}
/*-----------------------------------

	contact_block

-----------------------------------*/
#contact_block {
	clip-path: polygon(60px 0, 100% 0, 100% 100%, 0 100%, 0 60px);
    background: #f0f0f5;
	padding: 66px 0 188px;
	position: relative;
}
#contact_block::before {
    content: "";
    width: 100%;
    height: calc(100% - 1px);
    clip-path: polygon(60px 0, 100% 0, 100% 100%, 0 100%, 0 60px);
    background: #FFF;
    position: absolute;
    top: 1px;
    left: 0;
    z-index: -1;
}
#contact_block .contents_inner {
	width: 63.35%;
}
#contact_block .intro_box {
	padding-bottom: 41px;
	border-bottom: 1px solid #e6e6e6;
}
#contact_block .intro_box p {
	font-size: 15px;
	font-weight: 400;
	line-height: 1.8;
	letter-spacing: 0.03em;
}
#contact_block .intro_box a {
	color: #208cd5;
    text-decoration: underline;
}
#contact_block .form_box {
	padding-top: 27px;
}
#contact_block table {
	width: 100%;
}
#contact_block table th {
	width: 207px;
	padding: 20px 20px 20px 0;
	color: #208cd5;
	text-align: left;
	vertical-align: middle;
	letter-spacing: 0.03em;
}
#contact_block table th.top {
	vertical-align: top;
}
#contact_block table th.address {
	padding-top: 37.5px;
}
#contact_block table th .required {
	display: inline-block;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.03em;
	text-align: center;
	width: 40px;
	padding: 2.5px 0;
	color: #fff;
	background: #ed1c24;
	margin-left: 12px;
}
#contact_block table td {
	padding: 20px 30px;
	width: calc(100% - 104px);
}
#contact_block table td .wpcf7-radio {
	display: flex;
	flex-direction: column;
	gap: 11px;
}
#contact_block table td .wpcf7-radio .wpcf7-list-item {
	margin-left: 0;
}
#contact_block table td .name_box {
	display: flex;
	justify-content: flex-start;
	align-items: center;
	flex-wrap: nowrap;
	gap: 0 9px;
}
#contact_block table td .name_box .value_box {
	display: flex;
    flex-wrap: wrap;
	width: min(285px, 100%);
}
#contact_block table td .name_box p {
	display: contents;
}
#contact_block table td .name_box span {
	display: contents;
}
#contact_block table td .postcode_box>p {
	display: flex;
	justify-content: flex-start;
	align-items: center;
	flex-wrap: nowrap;
	gap: 0 10px;
	margin-bottom: 7px;
}
#contact_block table td .postcode_box span {
	display: contents;
}
#contact_block table td .postcode_box .hyphen {
	display: block;
}
#contact_block table td .postcode_box .mark {
	margin-right: 3px;
}
#contact_block table td input,
#contact_block table td textarea {
	font-size: 16px;
	font-weight: 500;
	line-height: 1.4;
	letter-spacing: 0.03em;
	background: #f0f0f5;
	padding: 14.5px 19px;
	border: 1px solid #cccccc;
	width: 100%;
}
#contact_block table td input::placeholder {
	color: #b3b3b3;
}
#contact_block table td input.w240,
#contact_block table td input.w470{
	background: var(--mClr3);
	padding: 10px;
}
#contact_block table td input.w95 {
	width: min(95px,100%);
	padding-left: 10px;
}
#contact_block table td input.w105 {
	width: min(105px,100%);
	padding-left: 10px;
}
#contact_block table td input.w285 {
	width: min(285px,100%);
}
#contact_block table td textarea {
	width: 100%;
	height: 285px;
}
::placeholder,
::-moz-placeholder,
::-webkit-input-placeholder {
	color: #00000099;
}
#contact_block table td .pcMark {
	margin-right: 10px;
}
label.radio,
label.desired {
    position: relative;
    cursor: pointer;
	font-size: 15px;
	line-height: 1.4;
	letter-spacing: 0.03em;
	font-weight: 400;
    padding-left: 24px;
}
label.radio::before,label.radio::after,
label.desired::before,label.desired::after {
    content: "";
    display: block;
    position: absolute;
}
label.radio::before,
label.desired::before {
    background-color: #fff;
    border: 1px solid #000;
    width: 18px;
    height: 18px;
	top: 2px;
	left: 0;
}
label.radio::before {
	border-radius: 50%;
}
label.radio::after {
	width: 12px;
	height: 12px;
	border-radius: 50%;
	background: #208cd5;
    opacity: 0;
	top: 5px;
	left: 3px;
}
label.desired::after {
    border-bottom: 2px solid var(--mClr1);
    border-left: 2px solid var(--mClr1);
    opacity: 0;
    height: 5px;
    width: 10px;
    transform: rotate(-45deg) translateY(-100%);
    top: 50%;
    left: 5px;
    margin: auto;
}

/* 調整 */
.radio_box .wpcf7-list-item-label,
.radio_box .wpcf7-list-item-label.desired {
    position: relative;
    cursor: pointer;
	font-size: 15px;
	line-height: 1.4;
	letter-spacing: 0.03em;
	font-weight: 400;
    padding-left: 24px;
}
.radio_box .wpcf7-list-item-label::before,.radio_box .wpcf7-list-item-label::after,
.radio_box .wpcf7-list-item-label.desired::before,.radio_box .wpcf7-list-item-label.desired::after {
    content: "";
    display: block;
    position: absolute;
}
.radio_box .wpcf7-list-item-label::before,
.radio_box .wpcf7-list-item-label.desired::before {
    background-color: #fff;
    border: 1px solid #000;
    width: 18px;
    height: 18px;
	top: 2px;
	left: 0;
}
.radio_box .wpcf7-list-item-label::before {
	border-radius: 50%;
}
.radio_box .wpcf7-list-item-label::after {
	width: 12px;
	height: 12px;
	border-radius: 50%;
	background: #208cd5;
    opacity: 0;
	top: 5px;
	left: 3px;
}
.radio_box .wpcf7-list-item-label.desired::after {
    border-bottom: 2px solid var(--mClr1);
    border-left: 2px solid var(--mClr1);
    opacity: 0;
    height: 5px;
    width: 10px;
    transform: rotate(-45deg) translateY(-100%);
    top: 50%;
    left: 5px;
    margin: auto;
}
/* /調整 */

#contact_block input[type="radio"]:checked + .wpcf7-list-item-label::before,
#contact_block input[type="checkbox"]:checked + .wpcf7-list-item-label::before {
	border-color: #208cd5;
}
#contact_block input[type="radio"]:checked + .wpcf7-list-item-label::after,
#contact_block input[type="checkbox"]:checked + .wpcf7-list-item-label::after {
    opacity: 1;
}
#contact_block table td ul {
	display: flex;
	flex-wrap: wrap;
	gap: 15px;
	font-size: 14px;
}
#contact_block table td ul.contact_wrap {
	width: min(360px,100%);
}
#contact_block table td ul.desired_wrap {
	width: min(250px,100%);
}
#contact_block table td ul li {
	width: calc((100% - 15px) / 2);
	white-space: nowrap;
}
#contact_block.complete h2 {
	font-size: 30px;
	line-height: 1.4;
	letter-spacing: 0.03em;
	text-align: center;
	margin-bottom: 32px;
}
#contact_block.complete p {
	line-height: 1.8;
	text-align: center;
}
@media screen and (max-width: 1200px) {
	#contact_block table td {
		width: 100%;
		width: calc(100% - 207px);
	}
}
@media screen and (max-width: 1000px) {
	#contact_block .contents_inner {
		width: 90%;
	}
}
@media screen and (max-width: 640px) {
	#contact_block {
		padding-bottom: 100px;
	}
	#contact_block .intro_box {
		padding-bottom: 31px;
	}
	#contact_block .intro_box p {
		font-size: 13px;
	}
	#contact_block table th {
		width: 100%;
		display: block;
		padding: 15px 0;
		text-align: left;
	}
	#contact_block table th.address {
		padding-top: 15px;
	}
	#contact_block table td {
		width: 100%;
		display: flex;
        flex-direction: column;
		padding: 0 0 25px;
		gap: 10px;
	}
	#contact_block table td input {
		font-size: 14px;
		padding: 12.5px 14px;
	}
	#contact_block.complete h2 {
		font-size: 20px;
		margin-bottom: 22px;
	}
	#contact_block.complete p {
		font-size: 13px;
	}
}
/*-- privacy --*/
#contact_block .privacy {
	margin-top: 47px;
	border-top: 1px solid #e6e6e6;
	padding-top: 41px;
	margin-bottom: 72px;
}
#contact_block .privacy h2 {
	text-align: center;
	font-size: 15px;
	font-weight: 700;
	margin-bottom: 30px;
}
#contact_block .privacy .privacy_box {
	width: 100%;
	height: 220px;
	background: #D9D9D94D;
	padding: 40px 70px;
	overflow-y: scroll;
	margin-bottom: 40px;
}
#contact_block .privacy .privacy_box p {
	font-weight: 400;
	line-height: 2;
	letter-spacing: 0.05em;
}
#contact_block .privacy .privacy_box > *:not(:last-child) {
	margin-bottom: 1em;
}
#contact_block .privacy .privacy_check {
	display: grid;
	place-content: center;
}
#contact_block .privacy .privacy_check .wpcf7-list-item-label {
	font-size: 15px;
	font-weight: 400;
	line-height: 1.8;
	letter-spacing: 0.03em;
    position: relative;
    cursor: pointer;
    padding-left: 51px;
	display: inline-block;
}
#contact_block .privacy .privacy_check .wpcf7-list-item-label::before,
#contact_block .privacy .privacy_check .wpcf7-list-item-label::after {
    content: "";
    display: block;
    position: absolute;
}
#contact_block .privacy .privacy_check .wpcf7-list-item-label::before {
    background-color: #fff;
    border: 1px solid #cccccc;
    width: 28px;
    height: 28px;
	top: 0;
	left: 0;
}
#contact_block .privacy .privacy_check .wpcf7-list-item-label::after {
    border-bottom: 3px solid #208cd5;
    border-left: 3px solid #208cd5;
    opacity: 0;
    height: 12px;
    width: 21px;
    transform: rotate(-45deg) translateY(-100%);
	top: 15px;
    left: 12px;
    margin: auto;
}
#contact_block .privacy_check input[type="checkbox"]:checked + .wpcf7-list-item-label::before {
	border-color: #208cd5;
}
#contact_block .privacy_check input[type="checkbox"]:checked + .wpcf7-list-item-label::after {
    opacity: 1;
}
#contact_block .btnArea {
	display: flex;
	justify-content: center;
	gap: 0 40px;
}
#contact_block .submit {
	display: block;
    font-size: 14px;
	font-weight: 500;
    letter-spacing: 0.03em;
    width: 245px;
    padding: 20px 10px 20px 0;
    text-align: center;
    border: 1px solid #e6e6e6;
    border-radius: calc(1px / 0);
    background: #FFF url(../img/common/icon_arrow_bl.svg) no-repeat calc(100% - 25px) center / 15px;
}
#contact_block .back {
    background: #FFF url(../img/common/icon_arrow_bl_lt.svg) no-repeat 25px center / 15px;
	padding: 20px 0 20px 10px;
}
#contact_block button::before {
	content: "";
	width: 1px;
	height: 100%;
	background: #FFF;
	position: absolute;
	top: 0;
	right: 70px;
}
#contact_block button.reset span {
	transform: scale(-1,1);
}
.wpcf7-not-valid-tip {
	margin-top: 5px;
}
.wpcf7-spinner {
	display: none;
}
@media screen and (max-width: 640px) {
	#contact_block .privacy {
		padding-top: 27px;
		margin-top: 20px;
		margin-bottom: 42px;
	}
	#contact_block .privacy h2 {
		margin-bottom: 15px;
	}
	#contact_block .privacy .privacy_box {
		padding: 30px;
		margin-bottom: 30px;
	}
	#contact_block .privacy .privacy_check .wpcf7-list-item-label {
		font-size: 13px;
		padding-left: 41px;
	}
	#contact_block .privacy .privacy_check .wpcf7-list-item-label::before {
		width: 23px;
		height: 23px;
	}
	#contact_block .privacy .privacy_check .wpcf7-list-item-label::after {
		height: 9px;
		width: 18px;
		top: 13px;
		left: 9px;
	}
	#contact_block .btnArea {
		flex-direction: column;
		align-items: center;
		gap: 20px;
	}
	#contact_block .submit {
		font-size: 12px;
		width: 175px;
		padding: 15px 5px 15px 0;
		background: #FFF url(../img/common/icon_arrow_bl.svg) no-repeat calc(100% - 15px) center / 12px;
	}
	#contact_block .back {
		padding: 15px 0 15px 5px;
		background: #FFF url(../img/common/icon_arrow_bl_lt.svg) no-repeat 15px center / 12px;
	}
}

/*-----------------------------------

	確認画面

-----------------------------------*/
#contact_block.confirm .btnArea {
	margin-top: 60px;
}
#contact_block.confirm .btnArea p {
	display: flex;
    justify-content: center;
    gap: 0 40px;
}
#contact_block.confirm table td .name_box .value_box {
	width: auto;
}

@media screen and (max-width: 640px) {
	#contact_block.confirm .btnArea {
		margin-top: 30px;
	}
	#contact_block.confirm .btnArea p {
		flex-direction: column;
        align-items: center;
        gap: 20px;
	}
}


#gap {
	height: 140px;
}
@media screen and (max-width: 640px) {
    #gap {
        height: 100px;
    }
}

