/* CONTACT
=========================================================================
=========================================================================*/
main {
	margin: 60px 0 60px;
}

article section {
	margin: 0 auto;
	width: 100%;
	max-width: 700px;
}

article .inner {
	padding: 0 20px;
	text-align: center;
}

.hidden {
	display: none;
}

#hidden_iframe {
	position: absolute;
	left: -9999px;
	top: 0;
	width: 1px;
	height: 1px;
	border: 0;
	opacity: 0;
	pointer-events: none;
}
/* 入力
=========================================================================*/
#stepInput .form_parts {
	padding: 1.0em 0 0 0;
	width: 100%;
	text-align: left;
}

#stepInput .form_parts.is-message {
	margin-bottom: 40px;
}

/* 項目名 */
#stepInput .form_parts label.item_name {
	display: flex;
	align-items: center;
	gap: 0 10px;
}

/* 必須 */
#stepInput .form_parts label.item_name span:first-child {
	font-weight: 600;
}

/* 必須 */
#stepInput .form_parts label.item_name span:last-child {
	display: inline-block;
	padding: 0 0.5em;
	height: 20px;
	font-size: 11px;
	line-height: 20px;
	color: #FFF;
	text-align: center;
	background: #FF0000;
	border-radius: 3px;
}

#stepInput .input_parts label {
	display: inline-block;
	cursor: pointer;
}

/* テキスト・電話・メール */
#stepInput input[type="text"],
#stepInput input[type="tel"],
#stepInput input[type="email"] {
	display: inline-block;
	margin: 0;
	padding: 0 0.5em;
	width: 100% !important;
	height: 42px;
	background: #F2F2F2;
	border-radius: 5px;
}

/* テキストエリア */
#stepInput textarea {
	display: inline-block;
	margin: 0;
	padding: 0.5em;
	width: 100% !important;
	height: 265px !important;
	background: #F2F2F2;
	vertical-align: top;
	resize: vertical;
	border-radius: 5px;
}

/* ----- プライバシーポリシー ----- */
.container_privacy {
	margin: 0 auto;
	padding: 0;
	width: 100%;
}

.privacy {
	margin: 0 auto 20px;
	padding: 20px;
	width: 100%;
	height: 240px;
	text-align: left;
	border: 1px solid #E9E9E9;
	overflow-y: auto;
	overscroll-behavior: contain;
	-webkit-overflow-scrolling: touch;
}

.privacy h3 {
	margin-bottom: 1.0em;
	font-weight: 900;
	font-size: 16px;
	letter-spacing: 0.1em;
	text-align: center;
}

.privacy h4 {
	font-weight: 900;
	font-size: 14px;
	letter-spacing: 0.1em;
}

.privacy p {
	margin-bottom: 1.5em;
	font-size: 12px;
}

/* チェックボックス */
#stepInput .input_checkbox {
	display: inline-block;
	position: relative;
}

#stepInput input[type="checkbox"] {
	margin: 0;
	display: inline-block;
	width: 14px !important;
	height: 14px !important;
	-webkit-appearance: checkbox;
	appearance: checkbox;
}

#stepInput .input_checkbox label {
	display: inline-block;
	padding-left: 0.5em;
	font-size: 14px;
	cursor: pointer;
}

.input_checkbox label.hidden {
	font-size: 0;
}

p.note {
	margin-bottom: 0;
	font-size: 12px;
}

/* ----- エラー ----- */
/* エラー文言 */
.form_parts .error,
.input_checkbox .error,
.recaptcha .error {
	margin: 6px 0 0;
	font-size: 13px;
	line-height: 1.4;
	color: #d60000;
	min-height: 1.2em;
}

/* エラー時の枠（input_parts内の input/textarea と checkbox対応） */
/*.form_parts.is-error .input_parts input,
.form_parts.is-error .input_parts textarea,
.input_checkbox.is-error input[type="checkbox"] {
	outline: 2px solid #d60000;
	outline-offset: 2px;
}*/

/* ----- reCAPTCHA ----- */
.recaptcha {
	padding: 40px 0;
	text-align: center;
}

.g-recaptcha {
	display: inline-block;
	margin: 0 auto;
}

/* ----- フォームボタン ----- */
#stepInput .btns {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
}

.btns button {
	cursor: pointer;
	position: relative;
	overflow: hidden;
	width: calc(300 / 700 * 100%);
	height: 60px;
	font-weight: 600;
	font-size: 16px;
	letter-spacing: 0.1em;
	line-height: 60px;
	color: #FFF;
	text-align: center;
	background: #00205b;
}

.btns button span {
	position: relative;
	display: block;
	z-index: 1;
}

.btns button span::before {
	content: "";
	position: absolute;
	inset: 0;
	background: #054ec4;
	transform: scaleX(0);
	transform-origin: left center;
	transition: transform 0.6s ease;
	z-index: -1;
}

@media (hover: hover) {
	.btns button:hover span::before {
		transform: scaleX(1);
	}
}

/* 確認
=========================================================================*/
/* ----- タイトル ----- */
#stepConfirm h4 {
	padding: 0 0 20px;
	font-size: 18px;
	text-align: center;
}

/* ----- テーブル ----- */
#stepConfirm table {
	border-collapse: collapse;
	margin: 0 auto 50px;
	padding: 0;
	width: 100%;
}

#stepConfirm table tr {
	background-color: #FFF;
}

#stepConfirm table tr th,
#stepConfirm table tr td {
	text-align: left;
	padding: 1.0em 0;
	border-bottom: 1px solid #E4E4E4;
}

#stepConfirm table tr th {
	font-weight: 600;
	white-space: nowrap;
	padding-right: 1em;
	width: calc(250 / 660 * 100%);
}

#stepConfirm table tr td {
	word-break: break-all;
	width: auto;
}

/* 確認画面：お問い合わせ内容は改行を保持 */
#c_msg {
	white-space: pre-wrap;
	word-break: break-word;
}

/* ----- ボタン ----- */
#stepConfirm .btns {
	overflow: hidden;
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 40px;
	margin: 0 auto;
	padding: 0;
	width: 100%;
	text-align: center;
}


/*  THANKS
=========================================================================*/
main.thanks {
	display: flex;
	align-items: center;
	justify-content: center;
	text-align: center;
}


/*  767px以下
=========================================================================
=========================================================================*/
@media screen and (max-width:767px) {
	/* テキスト・電話・メール */
	#stepInput input[type="text"],
	#stepInput input[type="tel"],
	#stepInput input[type="email"] {
		font-size: 16px;
	}

	/* テキストエリア */
	#stepInput textarea {
		font-size: 16px;
	}

	.btns button {
		width: 100%;
	}

	/* ----- テーブル ----- */
	#stepConfirm table tr th,
	#stepConfirm table tr td {
		display: block;
		border-bottom: none;
	}

	#stepConfirm table tr th {
		padding: 0.5em 0 0 0;
		width: 100%;
	}

	#stepConfirm table tr td {
		padding: 0.5em 0;
		width: 100%;
		border-bottom: 1px solid #E4E4E4;
	}
}

/*  420px以下
=========================================================================
=========================================================================*/
@media screen and (max-width:420px) {}
