@charset "utf-8";

/*■■■■■■■■■■■■■■■■■■■■■■■■
　お問い合わせCSS
　■■■■■■■■■■■■■■■■■■■■■■■■*/
body {
	display: flex;
	flex-direction: column;
}

main {
	flex: 1;
}


/* ■■■■■■ 入力フォーム ■■■■■■ */
textarea.textarea--height {
	min-height: 11em;
}

.contact {
	height: 100%;
	background-color: #F6F5F1;
}

.contact .left_border_ttl {
	margin-bottom: 40px;
}

.contact_lead {
	margin-bottom: 30px;
}

.contact_block {
	max-width: 940px;
	margin: 0 auto;
	padding: 30px 5vw;
	background: #fff;
}

.contact_item {
	padding-bottom: 20px;
	margin-bottom: 20px;
	border-bottom: 2px solid #EBEBE8;
}

.contact_item:last-of-type {
	border-bottom: none;
	margin-bottom: 50px;
}

.contact_head {
	font-size: 2rem;
	font-weight: 600;
	color: #77C1A5;
	display: flex;
	align-items: center;
	margin-bottom: 5px;
}

.contact_box {
	display: flex;
    flex-wrap: wrap;
	gap: 20px 3%;
}

.contact_date_box {
	width: 100%;
}

.contact_date {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 20px 3%;
	width: 100%;
	margin-bottom: 10px;
}

.contact_date_label {
	color: #77C1A5;
    font-weight: 600;
}

.customBox.customBox--s {
	min-width: 192px;
}

.contact_user {
	padding: 35px 0 0;
}

.contact_user .contact_user_label {
	border-right: 1px solid #E3ECF6;
	margin-bottom: 10px;
	font-size: 1.6rem;
}

.contact_user_input {
	flex: 1 1 auto;
	margin-bottom: 20px;

}

.contact_user_input_item {
	display: flex;
	flex-wrap: wrap;
	gap: 4vw;
}

.contact_user_input .contact_user_name {
    flex: 1;
	max-width: 260px;
}

.contact_privacy_txt {
	font-size: 1.6rem;
	padding: 25px 0 40px;
}

.contact_privacy_txt a {
	color: #014BB1;
}

.contact_btn {
	display: flex;
	justify-content: center;
	gap: 5%;
	padding: 75px 0;
}

.error {
	color: #DF5341;
	font-weight: bold;
	margin: .5em 0 0;
}

@media screen and (max-width: 800px) {
	input[type="date"] {
		flex: 1;
		min-width: 187px;
		max-width: none;
		width: auto;
	}

	.contact_user_input .contact_user_name {
		flex: 1;
		max-width: none;
		min-width: 150px;
	}

	.contact_btn {
		gap: 0;
		justify-content: space-between;
	}

	.contact_btn>*:first-child {
		width: 33%;
	}
	.contact_btn>*:last-child {
		width: 61%;
	}

	.customBox {
		min-width: 187px;
		flex: 1;
	}

	@media screen and (max-width: 576px) {
		.contact_date {
			margin-bottom: 30px;
		}
		
		.contact_date_label {
			width: 100%;
			margin-bottom: -15px;
		}
	}

}

@media screen and (min-width: 801px) {
	textarea.textarea--height {
		min-height: 12em;
	}

	.contact {
		padding: 35px 0;
	}

	.contact_block {
		padding: 30px;
		border-radius: 10px;
		background: #fff;
		border: 1px solid #dddbd4;
		box-shadow: 0px 3px 6px rgba(0, 0, 0, 0.16);
	}

	.contact_lead {
		margin-bottom: 50px;
	}

	.contact_box ,
	.contact_date {
		gap: 20px;
	}

	.contact_date {
		width: auto;
		flex: 1;
		flex-wrap: nowrap;
	}

	.contact_user li {
		display: flex;
	}

	.contact_user .contact_user_label {
		display: flex;
		align-items: center;
		flex: 0 0 140px;
		padding:0 0 30px 10px;
		margin:0 20px 0 0;
	}

	.contact_user li.contact_labeled .contact_user_label {
		display: block;
	}

	.contact_user_input {
		margin-bottom: 30px;
	}

	.contact_user_input_item {
		gap: 20px;
	}

	.contact_btn {
		gap: 27px;
	}
}


/* ■■■■■■ 確認フォーム ■■■■■■ */
.confirm_txt.confirm_txt--multi span:not(:first-of-type):before{
	content: "　,　";
}
.confirm_txt.confirm_txt--textarea {
	min-height: 12em;
	width: 100%;
	align-items: flex-start;
}
.contact--confirm .form_size_s {
	justify-content: center;
	width: 65px;
}
.contact--confirm .contact_privacy .confirm_txt {
	width: 124px;
}


/* ■■■■■■ 採用フォーム ■■■■■■ */
.site_discovery_list {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
	gap: 17px;
}
.site_discovery_list .customBox {
	min-width: auto;
	width: 100%;
}
.site_discovery_note {
	margin-bottom: 10px;
}
.contact_user_address > * {
    flex: 1;
	min-width: 180px;
}

@media screen and (min-width: 801px) {
	.site_discovery_list {
		display: flex;
		flex-wrap: wrap;
		gap: 17px;
	}
	.contact_user_address > * {
		flex: 1;
		min-width: none;
		max-width: 260px;
	}

}

/* ■■■■■■ サンクス ■■■■■■ */
.contact--thanks .contact_btn {
	padding: 0 0 30px;
	justify-content: center;
}

@media screen and (max-width: 800px) {
	.contact--thanks .contact_btn > * {
		width: 186px;
	}
}