@charset "UTF-8";

/*
#form_content
---------------------------*/
#formContent {
	margin-bottom: 40px;
	.err,
	.err_title p {
		display: block;
		font-size: 15px;
		color: #ff0000;
		padding-top: 10px;
	}
	.confirm,
	.err_title {
		p {
			padding-bottom: 1.5em;
		}
	}
	dl {
		width: 100%;
		border-bottom: 1px solid var(--color-border-1);
		&:first-of-type {
			border-top: 1px solid var(--color-border-1);
		}
		&.bdtop-none {
			border-top: none;
		}
		dt, dd {
			font-size: 16px;
			line-height: 1.6;
			padding: 15px 0;
		}
		p {
			line-height: 1.6;
		}
		dt {
			display: flex;
			justify-content: space-between;
			align-items: center;
			width: 100%;
			padding-bottom: 0;
			.required,
			.optional {
				display: inline-block;
				font-size: 12px;
				font-weight: 600;
				white-space: nowrap;
				color: #fff;
				background-color: var(--color-primary);
				padding: 4px 12px;
				border-radius: 50px;
			}
			.optional {
				background-color: var(--color-secondary);
			}
			.note {
				display: block;
				font-size: 14px;
				padding-top: .5em;
			}
		}
		dd {
			padding: 10px 0 15px;
			word-break: break-all;
			.att {
				padding: 10px 0 0;
			}
			.mailConfirm {
				padding-top: 15px;
				p {
					padding-bottom: .5em;
				}
			}
		}
	}
	input[type="text"],
	input[type="password"],
	input[type="email"],
	input[type="tel"],
	textarea,
	select {
		display: inline-block;
		width: 100%;
		font-size: 16px;
		padding: 10px 10px;
		background-color: var(--color-primary-bg);
	}
	textarea {
		resize: vertical;
		min-height: 12em;
	}
	.selectWrap {
		position: relative;
		&:before {
			content: "";
			position: absolute;
			right: 20px;
			top: 50%;
			transform: translateY(-50%);
			width: 0;
			height: 0;
			border-width: 8px 5px 0px 5px;
			border-color: var(--color-text) transparent transparent transparent;
			border-style: solid;
			pointer-events: none;
		}
	}
	.radioParts {
		display: flex;
		flex-wrap: wrap;
		li {
			margin-bottom: 10px;
			margin-right: 20px;
		}
		label {
			cursor: pointer;
			font-size: 16px;
			margin-bottom: 0;
		}
	}
	input[type=radio]+label:before {
		content: "";
		background: #fff;
		border-radius: 100%;
		border: 1px solid var(--color-border-1);
		display: inline-block;
		width: 20px;
		height: 20px;
		position: relative;
		top: -0.1em;
		margin-right: .5em;
		vertical-align: middle;
		cursor: pointer;
		text-align: center;
		transition: all 250ms ease;
	}
	input[type=radio]:checked+label:before {
		background-color: var(--color-primary);
		box-shadow: inset 0 0 0 3px #f4f4f4;
	}
	.finish,
	.confirm {
		.btnWrap {
			padding-top: 50px;
		}
	}
	.finish {
		.read {
			font-size: 18px;
			font-weight: 600;
		}
		p + p {
			padding-top: 1em;
		}
		p {
			a {
				text-decoration: underline;
			}
		}
	}
	.information {
		padding: 20px 0;
		p + p {
			padding-top: 1em;
		}
	}
	@media (min-width: 1000px) {
		margin-bottom: 50px;
		dl {
			width: 100%;
			display: flex;
			justify-content: space-between;
			align-items: center;
			dt, dd {
				padding: 20px;
			}
			dt {
				width: 318px;
				.required,
				.optional {
					font-size: 14px;
				}
			}
			dd {
				width: calc(100% - 318px);
			}
		}
		&.confirm {
			&+.btnWrap {
				padding-top: 50px;
			}
		}
	}
}
.consent {
	text-align: center;
	padding: 50px 0 20px;
	a {
		text-decoration: underline;
	}
	.err {
		color: #ff0000;
		text-align: center;
		display: block;
		font-size: 16px;
	}
}

p.err {
	color: red;
}


/*
.my-checkbox
---------------------------*/
.my-checkbox {
	display: inline-block;
	position: relative;
	margin: 10px 0;
	padding-left: 35px;
	cursor: pointer;
	line-height: 1.2;
	user-select: none; /* テキストの選択を防ぐ */
	.checkbox-parts {
		padding-left: 0;
	}
	.checkbox-parts::before {
		content: none;
	}
}

/* inputは非表示にする */
.my-checkbox input {
	display: none;
}

/* □ */
.checkmark {
	position: absolute;
	top: 0;
	bottom: 0;
	left: 0;
	height: 27px;
	width: 27px;
	background-color: #fff;
	border: solid 1px #999;
	border-radius: 4px;
	margin: auto;;
}
/* ✓ */
.checkmark:after {
	content: "";
	position: absolute;
	left: 7px;
	top: 3px;
	width: 10px;
	height: 14px;
	border: solid var(--color-primary);
	border-width: 0 2px 2px 0;
	transform: rotate(45deg);
	opacity: 0;
}

/* チェックが入ったときの□ */
.my-checkbox input:checked + .checkmark {
	//background: var(--color-primary);
	border-color: var(--color-primary);
}

/* チェックが入ったときの✓ */
.my-checkbox input:checked + .checkmark:after {
	opacity: 1;
}

.contact-content {
	padding-bottom: 50px;
	.btnWrap {
		margin: 20px auto;
	}
	.linkLine {
		text-align: center;
		color:  var(--color-primary);
		text-decoration: underline;
	}
	.mailInfoBox {
		background-color: var(--color-primary-bg);
		padding: 20px 0;
		margin-top: 20px;
		.mailAddress {
			font-weight: 500;
			font-size: var(--font-3xl);
		}
	}
	@media (min-width: 1120px) {
		padding-bottom: 80px;
		.btnWrap {
			margin: 30px auto;
		}
		.mailInfoBox {
			padding: 30px 0;
			margin-top: 30px;
		}
	}
}
.checkBoxWrap {
	.checkradio {
		display: inline-block;
		margin-left: 10px;
	}
}

/*
#privacy
---------------------------*/
.terms {
	text-align: center;
	padding-top: 20px;
	.terms-title {
		position: relative;
		font-weight: 600;
		text-align: left;
		font-size: 15px;
		padding-left: 14px;
		&:after {
			position: absolute;
			top: 0;
			bottom: 0;
			left: 0;
			content: "";
			display: block;
			background-color: var(--color-primary);
			width: 10px;
			height: 10px;
			border-radius: 50px;
			margin: auto;
		}
	}
	.terms-box {
		text-align: left;
		height: 100px;
		padding: 15px;
		background-color: #fff;
		color: #999;
		border: 1px solid var(--color-primary);
		margin-top: 10px;
		overflow-y: auto;
		dl {
			padding: 15px 0 0;
			border-top: none;
			.textBase {
				&+.textBase {
					padding-top: .5em;
				}
			}
		}
		.textBase {
			line-height: 1.4;
			font-size: 12px;
		}
	}
	.infoText {
		text-align: left;
	}
	@media (min-width: 1120px) {
		padding-top: 50px;
		.terms-title {
			font-size: 18px;
			padding-left: 19px;
			&:after {
				width: 15px;
				height: 15px;
			}
		}
		.terms-box {
			height: 160px;
			//height: auto;
			padding: 20px 25px;
			//overflow-y: inherit;
			margin-top: 15px;
			dl {
				padding-top: 18px;
			}
			.textBase {
				font-size: 14px;
			}
		}
		.infoText {
			text-align: center;
		}
	}
}