@charset 'utf-8';

.p-form__table {}
.p-form__table th {}
.p-form__table button,
.p-form__table input,
.p-form__table optgroup,
.p-form__table select,
.p-form__table textarea {
	-webkit-appearance: auto;
	appearance: auto;
}
.p-form__table input[type="checkbox"] {
	margin-right: 5px;
	width: 15px;
	height: 15px;
	border: 1px solid #666;
	border-radius: 15px;
	-webkit-appearance: none;
	appearance: none;
}
.p-form__table input[type="checkbox"]:checked {
	background: #f2d158;
	border-color: #f2d158;
}
.p-form__table select,
.p-form__table input[type="text"],
.p-form__table input[type="date"],
.p-form__table textarea {
	border: 1px solid #888;
	padding: 5px 12px;
}
.p-form__table textarea {
	width: 100%;
	height: 150px;
	-webkit-box-sizing: border-box;
	box-sizing: border-box;
}
.p-form__table .js-hidden {
	overflow: hidden;
	width: 0;
	height: 0;
}
.p-form__table button {
	border: 1px solid #333;
	font-size: 16px;
}
.p-form__table span.wpcf7-list-item {
	margin-left: 0;
	margin-right: 2em;
}


.p-form__table .js-place > div {
	display: none;
}
.p-form__table .js-place > div.js-place-default {
	display: block;
}

.p-form__table.bus-table {
	position: relative;
	margin-top: -30px;
}

.p-form__table.bus-table,
.p-form__table.bus-table .bus-area,
.p-form__table.bus-table .bus-stop,
.p-form__table.bus-table .bus-stop div.input,
.p-form__table.bus-table .with {
	display: none;
}

/* .p-form__table.bus-table {
	display: block !important;
} */

.p-form__table.bus-table.is-show {
	display: table;
}
.p-form__table .bus-area.is-show,
.p-form__table .bus-stop.is-show {
	display: table-row;
}
.p-form__table.bus-table .bus-stop div.input.is-show {
	display: block;
}


.p-form__table td > div {
	margin-bottom: 8px;
}
.p-form__table td > div:last-child {
	margin-bottom: 0;
}
.p-form__table td > div p {
	margin-top: 12px;
}
.p-form__table td > div.with {
	display: none;
	border-top: 1px dotted #ccc;
	padding-top: 10px;
	margin-top: 10px;
}
.p-form__table td > div.input.sep {
	border-top: 1px dotted #ccc;
	padding-top: 10px;
	margin-top: 10px;
}
.p-form__table td a {
	text-decoration: underline;
	color: #1e7de3;
}
.p-form__table td a:hover {
	text-decoration: none;
}


.step_title {
	margin-bottom: 35px;
	padding-bottom: 25px;
	font-size: 22px;
	line-height: 1.5;
	position: relative;
}
.step_title:before {
	display: block;
	content: "";
	position: absolute;
	left: 0;
	bottom: 0;
	width: 40px;
	border-bottom: 2px solid #f2d158;
}



@media screen and (max-width: 768px) {
	.p-form__table select,
	.p-form__table input[type="text"],
	.p-form__table textarea {
		width: 100%;
		-webkit-box-sizing: border-box;
		box-sizing: border-box;
	}

	.p-form__table.bus-table.is-show,
	.p-form__table .bus-area.is-show,
	.p-form__table .bus-stop.is-show {
		display: block;
	}

	.p-form-footer {
		/*display: block;*/
		text-align: center;
		flex-direction: column-reverse;
	}
	.p-form-footer__item + .p-form-footer__item {
		margin-left: 0;
		/*margin-top: 20px;*/
		margin-bottom: 20px;
	}
	.p-form-footer__btn {
		margin-left: auto;
		margin-right: auto;
	}


	.p-form__table > tbody > tr > th {
		padding: 25px;
		padding-left: 0;
		padding-bottom: 12px;
		font-weight: 700;
	}
	.p-form__table > tbody > tr > td {
		padding: 25px;
		padding-top: 0;
		padding-left: 0;
		display: block;
		width: 100%;
	}
	.p-form__table td > div p:first-child {
		margin-top: 0;
	}

}