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

 * フォーム

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

fieldset.inline {
	display: flex;
	gap: 8px;
	flex-wrap: wrap
}

fieldset.inline .item {}

.table_default input[type=text],
.table_default input[type=tel],
.table_default input[type=email],
.table_default textarea {
	width: 100%;
	color: var(--color_black);
}

/* 確認画面のテキストエリアの文章を改行する */
.confirm_textarea td {
	white-space: pre-wrap;
	word-break: break-word;
}

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

 * プライバシーポリシー

---------------------------------------------- */
#privacy {
	max-height: 135px;

	padding: 16px;

	color: var(--color_black);

	overflow-y: scroll;

	border: 1px solid #D4D4D4;
	border-radius: 4px;
	background-color: var(--color_white);
}



.policy_section {
	margin-bottom: 56px;
}

.policy_section p {
	margin-bottom: 1rem;
	line-height: 1.6;
}

.policy_section ol {
	margin: 2rem 0.5rem 2rem 1.5rem;
	list-style: decimal;
	line-height: 1.6;
	letter-spacing: 0.05rem;
}

.policy_section ul {
	margin: 2rem 0.5rem 2rem 1.5rem;

	line-height: 1.6;
	letter-spacing: 0.05rem;
}

.policy_section dl {
	margin: 1rem 0;
}

.policy_section dt {
	margin-bottom: 0.5rem;
	font-weight: var(--fontweight_bold);
}

.policy_section dd {
	margin-bottom: 1.5rem;
	line-height: 1.6;
}


.policy_section .table_default {
	margin: 24px 0;
}

.policy_section .table_default ul {
	list-style-type: disc;
	margin: 20px 0 20px 1.5rem;
}


/* 個人情報保護に同意する */
.consent_text label {
	display: flex;
	gap: 8px;
	justify-content: center;
}


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

 * ボタン

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

.submit {
	display: flex;
	justify-content: center;
	gap: 1.5rem;
}

.submit p {
	display: flex;
	gap: 24px;
	justify-content: center;
	align-items: center;

	width: 100%;
	max-width: 325px;

	border-radius: 40px;
	text-align: center;

	background-color: rgba(43, 43, 43, 1);
	box-shadow: 0px 3px 16px -16px #000000;

	transition: .2s cubic-bezier(0.45, 0, 0.55, 1);
}

.submit p input {
	width: 65%;
	padding: 20px 0;
}

.submit p:after {
	content: "";
	display: block;
	width: 23px;
	height: 20px;


	background-color: rgba(43, 43, 43, 0.5);
	background-image: url("../common/img/arrow_right_white.svg");
	background-repeat: no-repeat;
	background-size: contain;
}

/* submit 確認画面へ */
.submit p:has(input.to_confirm) {
	color: rgba(255, 255, 255, 0.5);
	pointer-events: none;
	background-color: rgba(43, 43, 43, 0.5);
}

.submit p:has(input.to_confirm)::after {
	opacity: 0.5;
}

/* チェックされていたら */
.submit.checked p:has(input.to_confirm) {
	pointer-events: auto;
	cursor: pointer;

	color: var(--color_white);
	background-color: #2B2B2B;

	transition: 0.3s;
}

.submit.checked input[type=submit].to_confirm::after {
	opacity: 1;
}

.submit span {
	position: absolute;
}

/* 確認画面のボタンは上下に配置 */
.contactus_confirm .submit {
	flex-direction: column-reverse;
}

/* PC用判定 */
@media screen and (pointer: fine) and (hover: hover) and (orientation: landscape) and (min-width: 800px) and (min-height: 600px) {
	.consent_text {
		font-size: var(--fontsize_21);
	}

	/* PCのときは左右に配置 */
	.contactus_confirm .submit {
		flex-direction: row;
	}
}

/* エラー（contact form 7） */
.wpcf7-not-valid-tip {
	margin-top: 1em;
	padding: 8px;
	color: var(--color_white);
	background-color: #dc3232;
}

.wpcf7 form .wpcf7-response-output {
	padding: 1em;
	font-size: var(--fontsize_21);
}