@charset "utf-8";

fieldset {
	border: none;
}

legend {
	margin-bottom: 6px;
}

.fo_txt01 {
	width: 100%;
	text-align: center;
	font-size: 1.8rem;
	font-weight: bold;
	margin-bottom: 20px;
}

.fo_txt03 {
	text-align: center;
	margin-bottom: 40px;
}

.fo_txt03 span {
	color: #ff0000;
	font-weight: bold;
}

.fo_txt04 {
	width: 100%;
	text-align: center;
	font-size: 1.6rem;
	line-height: 2;
	margin-bottom: 60px;
}

.form {
	padding: 60px 0;
	color: #333333;
}

.form_wrapper {
	width: min(100%, 1000px);
	padding: 0 16px;
	margin-inline: auto;
}

@media (max-width: 768px) {
	.form {
		padding: 40px 0;
	}

	.form_wrapper {
		padding: 0;
	}

	.fo_txt01 {
		font-size: 1.5rem;
	}
}

.form_list {
	display: flex;
	align-items: baseline;
	font-size: 16px;
	border-top: solid 1px #ccc;
	padding: 20px 16px;
	gap: 10px;
}

.form_list:last-of-type {
	border-bottom: solid 1px #ccc;
}

.form_title {
	width: 30%;
	display: flex;
	align-items: baseline;
	gap: 14px;
	white-space: pre-line;
	font-weight: 700;
}

.form_title-required {
	color: #FF0000;
	white-space: nowrap;
	font-size: 14px;
}

.form_data {
	width: 70%;
	display: flex;
	align-items: center;
	gap: 20px;
}

.form_data p {
	white-space: pre-line;
}

.form_data-item {
	display: flex;
	align-items: center;
	gap: 10px;
}

.form_data-item span {
	min-width: 35px;
}

.form input,
.form select,
.form textarea {
	padding: 8px;
	font-size: 16px;
	border: 1px solid #ccc;
	border-radius: 8px;
}

.form select {
	text-align: center;
}

.form textarea {
	width: 100%;
}

.form input[type="text"],
.form input[type="email"],
.form input[type="number"] {
	width: 100%;
	max-width: 400px;
}

.form input[type="tel"] {
	width: 100%;
	max-width: 300px;
}

.form select {
	width: 100%;
	max-width: 300px;
	padding: 12px 8px;
}

.form input[type="checkbox"],
.form input[type="radio"] {
	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;
	width: 18px;
	height: 18px;
	background-color: #fff;
	border: 1px solid #ccc;
	border-radius: 3px;
	position: relative;
	vertical-align: middle;
	transition: 0.2s;
	margin-top: -1px;
	cursor: pointer;
}

.form input[type="radio"] {
	border-radius: 50%;
}

.form input[type="checkbox"]:checked,
.form input[type="radio"]:checked {
	background: #97d5d5;
	border-color: #97d5d5;
}

.form input[type="checkbox"]:checked::before,
.form input[type="radio"]:checked::before {
	position: absolute;
	top: 3px;
	left: 6px;
	transform: rotate(50deg);
	width: 4px;
	height: 8px;
	border-right: 2px solid #fff;
	border-bottom: 2px solid #fff;
	content: "";
}

.form_data-note {
	font-size: 12px;
	color: #666;
}

.form_data-address {
	display: flex;
	flex-direction: column;
	gap: 10px;
	width: 100%;
}

.form_data-address input[type="text"],
.form_data-address select {
	max-width: 100%;
}

.form_data-prefectures {
	max-width: 150px !important;
}

.form_data-radio {
	display: flex;
	flex-wrap: wrap;
	gap: 20px;
}

.form_data-radio label {
	display: flex;
	align-items: center;
	gap: 6px;
	cursor: pointer;
}

.pr_box {
	margin-top: 40px;
	padding: 30px;
	background: #f5f5f5;
	font-size: 14px;
	line-height: 1.8;
}

.pr_box .f_b {
	font-weight: bold;
	margin-bottom: 10px;
}

.sbm_btn_wrap {
	margin-top: 40px;
	text-align: center;
}

.sbm_btn {
	width: min(100%, 400px);
	padding: 20px 16px;
	font-size: 16px;
	line-height: 1;
	display: inline-flex;
	justify-content: center;
	align-items: center;
	transition: all 0.2s;
	cursor: pointer;
	background-color: #97d5d5;
	color: #fff;
	border: none;
	font-weight: bold;
}

.sbm_btn:hover {
	background-color: #7bc5c5;
}

@media (max-width: 768px) {
	.form_list {
		display: block;
	}

	.form_title {
		width: 100%;
		margin-bottom: 10px;
	}

	.form_data {
		width: 100%;
	}

	.form_data-item {
		display: block;
		margin-bottom: 10px;
	}

	.form_data-item:last-child {
		margin-bottom: 0;
	}

	.form_data-item span {
		display: block;
		margin-bottom: 5px;
	}

	.form input[type="text"],
	.form input[type="email"],
	.form input[type="number"],
	.form input[type="tel"] {
		max-width: 100%;
	}

	.form select {
		max-width: 100%;
	}

	.form_data-address input[type="text"] {
		width: 100%;
	}

	.form_data-radio {
		flex-direction: column;
		gap: 10px;
	}

	.sbm_btn {
		width: 100%;
		max-width: 100%;
	}

	.pr_box {
		padding: 15px;
	}
}

@media (max-width: 580px) {
	.form_list {
		font-size: 14px;
	}

	.form_data {
		display: flex;
		flex-direction: column;
		align-items: flex-start;
		gap: 10px;
	}

	.form_data-item {
		width: 100%;
	}
}
