@charset "UTF-8";

.p-form__title {
	padding: 13px 0 10px 30px;
	border-bottom: 5px solid #e57a7a;
	background-color: #fff8f8;
	color: #404040;
	font-size: 1.25rem;
	font-weight: bold;
	letter-spacing: .1em;
	line-height: 1.25;
}

@media screen and (min-width: 768px) {
	.p-form__title {
		font-size: 1.625rem;
	}
}

.p-form__wrapper {
	padding: 2rem 0;
	background-color: #fffee8;
}

@media screen and (min-width: 768px) {
	.p-form__wrapper {
		margin: 5rem 0;
	}
}

.p-form__cmn {
	margin-right: auto;
	margin-left: auto;
	padding: 0 1rem;
	max-width: 800px;
}

.p-form__cmn + .p-form__cmn {
	margin-top: 2.5rem;
}

.p-form__list {
	margin-top: 1.25rem;
}

.p-form__row + .p-form__row {
	margin-top: 1.5rem;
}

.p-form__heading {
	position: relative;
	padding-left: 15px;
	font-size: 1.125rem;
	font-weight: bold;
	letter-spacing: .1em;
}

@media screen and (min-width: 768px) {
	.p-form__heading {
		font-size: 1.25rem;
	}
}

.p-form__heading::before {
	position: absolute;
	top: 0;
	left: 0;
	display: block;
	width: 5px;
	height: 100%;
	background-color: #e57a7a;
	content: "";
}

.p-form__text + .p-form__heading {
	margin-top: 2rem;
}

.p-form__text {
	margin-top: .5rem;
	font-size: .875rem;
	letter-spacing: .05em;
}

@media screen and (min-width: 768px) {
	.p-form__text {
		font-size: 1rem;
	}
}

.p-form__description input[type=text],
.p-form__description input[type=number],
.p-form__description input[type=email],
.p-form__description input[type=tel],
.p-form__description textarea {
	padding: .5rem;
	width: 100%;
	border: 1px solid #707070;
	border-radius: 4px;
	background-color: #fff;
	font-size: 1rem;
}

.p-form__description textarea,
.p-form__description input {
	max-width: 100%;
}

.p-form__description {
	position: relative;
}

.p-form__description .wpcf7-radio input[type=radio] {
	width: 16px;
}

.p-form__term {
	padding: .25rem;
	letter-spacing: .1em;
}

.p-form__term.required::after {
	display: inline-block;
	margin-left: .5rem;
	padding: .25rem .5rem;
	border-radius: 4px;
	background-color: #e57a7a;
	color: #fff;
	content: "必須";
	font-size: .875rem;
	line-height: 1;
}

.p-form__description.p-form__btn-block {
	display: -webkit-box;
	display: -webkit-flex;
	display: flex;
	-webkit-box-pack: center;
	-webkit-justify-content: center;
	justify-content: center;
	margin-top: 2rem;

	gap: 1rem;
}

.p-form__btn,
.p-form__btn--previous {
	display: block;
	padding: 1rem 2rem;
	max-width: 280px;
	width: 100%;
	text-align: center;
	font-size: 1.125rem;
	font-weight: bold;
	letter-spacing: .1em;
}

@media screen and (min-width: 768px) {

	.p-form__btn,
	.p-form__btn--previous {
		max-width: 300px;
		font-size: 1.25rem;
	}
}

.p-form__btn {
	background-color: #f6ad3c;
	color: #fff;
}

.p-form__btn--previous {
	background-color: #efefef;
	color: #888;
}

.p-form__btn-block {
	margin-top: 2rem;
}

.p-form__btn-block .wpcf7-spinner {
	position: absolute;
}

.p-form__wrapper .p-form__link {
	color: #2355a5;
	text-decoration: underline;
}

.p-form__note {
	color: #e57a7a;
}

.p-form__description {
	margin-top: .5rem;
}

.p-form__description .wpcf7-list-item {
	margin-left: 0;
	font-size: 1.25rem;
}

.p-form__region {
	display: grid;
	grid-template-columns: 1fr 1fr;

	gap: 1rem;
	grid-template-rows: 1fr [a] 1fr 1fr 1fr 1fr 1fr;
	grid-auto-flow: row;
	grid-template-areas: "area1 area2" "area3 area4" "area5 area6" "area7 area8" "area9 ." "area10 .";
}

.wpcf7-list-item:nth-child(1) {
	grid-area: area1;
}

.wpcf7-list-item:nth-child(2) {
	grid-area: area2;
}

.wpcf7-list-item:nth-child(3) {
	grid-area: area3;
}

.wpcf7-list-item:nth-child(4) {
	grid-area: area4;
}

.wpcf7-list-item:nth-child(5) {
	grid-area: area5;
}

.wpcf7-list-item:nth-child(6) {
	grid-area: area6;
}

.wpcf7-list-item:nth-child(7) {
	grid-area: area7;
}

.wpcf7-list-item:nth-child(8) {
	grid-area: area8;
}

.wpcf7-list-item:nth-child(9) {
	grid-area: area9;
}

.wpcf7-list-item:nth-child(10) {
	grid-area: area10;
}

.wpcf7-form-control-wrap[data-name=your-address] {
	position: absolute !important;
	right: 0;
	bottom: 0;
	display: inline-block;
	width: 200px;
}

@media screen and (min-width: 768px) {
	.wpcf7-form-control-wrap[data-name=your-address] {
		width: auto;
	}
}

.u-mobile {
	display: inline-block;
}

@media screen and (min-width: 768px) {
	.u-mobile {
		display: none;
	}
}