body {
	font-family: "Barlow", "Zen Kaku Gothic New","Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", "Meiryo", sans-serif;
}
#container {
	margin: 0;
}


.popup {
	position: fixed;
	top: 0;
	left: 0;
	z-index: 9999;
	width: 100%;
	height: 100%;
	visibility: hidden;
	opacity: 0;
	transition: 0.6s;
}
.popup.is-show {
	visibility: visible;
	opacity: 1;
}
.popup-inner {
	position: absolute;
	top: 50%;
	left: 50%;
	z-index: 2;
	width: 80%;
	max-width: 600px;
	padding: 50px;
	background-color: #fff;
	transform: translate(-50%, -50%);
}
.popup-inner img {
	width: 100%;
}
.close-btn {
	position: absolute;
	top: 0;
	right: 0;
	width: 50px;
	height: 50px;
	line-height: 50px;
	text-align: center;
	cursor: pointer;
}
.close-btn i {
	font-size: 20px;
	color: #333;
	-moz-osx-font-smoothing: grayscale;
	-webkit-font-smoothing: antialiased;
	display: inline-block;
	font-style: normal;
	font-variant: normal;
	text-rendering: auto;
	line-height: 1;
}
.black-background {
	position: absolute;
	top: 0;
	left: 0;
	z-index: 1;
	width: 100%;
	height: 100%;
	cursor: pointer;
	background-color: rgba(0, 0, 0, 0.8);
}
.fa-times:before {
    content: "\f00d";
}
#js-show-popup {
	color: #9e2330;
	text-decoration: underline;
	cursor: pointer;
}
#js-show-popup:hover {
	text-decoration: none;
}
@media screen and (max-width: 640px) {
	.online_consultation {
		height: 600px;
		overflow: scroll;
	}

	.popup-inner {
		box-sizing: border-box;
		width: 90%;
	}
}



#form {
	background-color: #EEEEEE;
	line-height: 1.7;
}
#form .inner_frame {
	box-sizing: border-box;
	max-width: 900px;
}
.reservation-box {
	border: none;
	padding: 0;
	padding-top: 150px;
	padding-bottom: 100px;
	margin-top: 0;
}
.reservation-comment {
	padding-bottom: 50px;
	margin-bottom: 40px;
	border-bottom: 1px solid #000 !important;
}
.ornament-wrap,
.reservation-box .item-wrap:first-of-type {
	border: none;
}
.reservation-box .ttl {
	font-size: 8rem;
	margin-bottom: 0;
}
.reservation-box h4 {
	font-size: 2.4rem;
	text-align: center;
	margin-bottom: 75px;
}
.wpcf7-radio .wpcf7-list-item {
	display: block;
	margin: 0;
}
.reservation-box .item-wrap{
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	align-items: flex-start;
	border: none;
	padding: 10px 0;
}
.reservation-box .item-wrap > .item-ttl {
	font-weight: 500;
	font-size: 1.6rem;
	flex: 0 0 38%;
	width: auto; 
}
input[type = "text"], input[type = "email"], input[type = "tel"], input[type = "url"], input[type = "number"], textarea {
	box-sizing: border-box;
	width: 100%;
	padding: 15px 6px;
	border: 1px solid #A2A2A2 !important;
	border-radius: 2px;
	font-family: "Barlow", "Zen Kaku Gothic New", "Hiragino Kaku Gothic ProN", "Yu Gothic", "Meiryo", sans-serif;
	font-weight: 400;
}
.reservation-box .item-wrap > .item-txt {
	flex: 0 0 60%;
	width: auto;
}

.reservation-box .item-wrap > .item-ttl { order: 1; }
.reservation-box .item-wrap > .item-txt { order: 2; }

.reservation-box .item-wrap > p,
.reservation-box .item-wrap > .popup{
  order: 3;
  flex: 0 0 60%;
  margin-left: auto;
}

.reservation-box .item-wrap > br{ display:none; }
.reservation-box .item-wrap > .item-important{
	flex: 0 0 30%;
	order: 3;
}


.reservation-box .date-moon_no_connect select ,
.reservation-box .date-day_no_connect select,
.reservation-box .date-time_no_connect select{
	padding: 0 5px;
}
.reservation-box .item-textarea .item-txt {
	padding: 0 0 30px;
}
.reservation-box .transmission-btn {
	width: 310px;
	height: 70px;
	background-color: #000;
	color: #fff;
	border-radius: 999px;
	font-size: 1.8rem;
	position: relative;
}
.reservation-box .consent-btn {
	margin-bottom: 60px;
	font-size: 1.8rem;
}
input::placeholder,
textarea::placeholder {
	color: #C8C8C8;
	font-weight: 500;
	opacity: 1;
}
input::-webkit-input-placeholder,
textarea::-webkit-input-placeholder {
	color: #C8C8C8;
	font-weight: 500;
	opacity: 1;
}
.reservation-box .notes-box {
	background-color: #fff;
	margin-top: 30px;
}
.fa-times:before {
    content: "\f00d";
}
.item-wrap.ornament-wrap.item-textarea {
	padding: 10px 0 0 !important;
}
.item-wrap.ornament-wrap.item-textarea .wpcf7-form-control-wrap {
	display: flex;
}
.reservation-box .item-textarea .item-txt ,
.reservation-box .item-wrap:last-of-type {
    padding: 0;
}
@media screen and (max-width: 768px) {
	#form {
		font-size: 1.4rem;
	}
	.reservation-box {
		padding-top: 80px;
		padding-bottom: 80px;
	}
	.reservation-box .ttl {
		font-size: 10.5vw;
	}
	.reservation-box h4 {
		font-size: 3.14vw;
		margin-bottom: 50px;
	}
	.reservation-comment {
		font-size: 1.4rem;
	}
	.reservation-box .item-wrap {
		display: block;
		padding: 15px 0;
	}
	.item-important {
		font-size: 1.2rem !important;
	}
	.wpcf7-list-item {
		margin: 0 !important;
	}
	.reservation-box .item-txt .option {
		margin: 0 2% !important;
	}

	.wpcf7-radio .wpcf7-list-item-label {
		padding-left: 28px !important;
	}
	.wpcf7-radio .wpcf7-list-item-label:before {
		width: 22px !important;
		height: 22px !important;
		top: 0 !important;
		bottom: 0 !important;
		border: 0.4vw solid #aaa !important;
	}
	.wpcf7-radio input[type=radio]:checked + .wpcf7-list-item-label:after, .wpcf7-radio .wpcf7c-conf-hidden + .wpcf7-list-item-label:after {
		width: 6px !important;
		height: 6px !important;
		left: 8px !important;
		top: 0 !important;
		bottom: 0 !important;
		margin: auto !important;
	}
	.reservation-box .date-moon select, .reservation-box .date-day select, .reservation-box .date-time select, .reservation-box .date-moon_no_connect select, .reservation-box .date-day_no_connect select, .reservation-box .date-time_no_connect select {
		width: 60px;
	}
	span.wpcf7-not-valid-tip {
		margin-top: 0.8% !important;
		font-size: 1.4rem !important;
	}

	.contact-form .wpcf7-checkbox span.wpcf7-list-item {
		width: 100% !important;
		margin-bottom: 0.7% !important;
		font-size: 1.4rem !important;
	}
	.wpcf7-checkbox label .wpcf7-list-item-label:before {
		width: 22px !important;
		height: 22px !important;
	}
	.wpcf7-checkbox input[type=checkbox]:checked + .wpcf7-list-item-label:after, .wpcf7-checkbox .wpcf7c-conf-hidden + .wpcf7-list-item-label:after {
		font-size: 30px !important;
		width: 25px !important;
		height: 15px !important;
		left: -2px !important;
	}
	.document-request {
		display: flex !important;
		flex-direction: column;
	}
	.document-request .wpcf7-list-item {
		display: unset !important;
	}
	.reservation-box .transmission-btn {
		width: 100%;
		max-width: 310px;
	}
	.reservation-box .consent-btn {
		font-size: 1.6rem;
		margin-bottom: 30px;
	}
	.reservation-box .item-textarea .item-ttl {
		margin-bottom: 10px;
	}
}