/*
 * base css 
 * pc width 1048px fixed
 */
/* ---------------------------------------- common */

body { min-width: 1048px; }
.inner {
	max-width: 1000px;
	margin: 0 auto;
}

/* ---------------------------------------- header */

header a { display: inline-block; }

/* headline */

#headline .inner {
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-pack: justify;
	-ms-flex-pack: justify;
	justify-content: space-between;
	-webkit-align-items: center;
	-ms-align-items: center;
	align-items: center;
	margin: 0 auto;
}
#headline p { margin: 0 2em 0 auto; }
#headline p > * { display: block; }
#headline p small { 
	font-size: 1.4rem; 
	padding: 0 0 2px;
}
#headline p span { font-size: 2.6rem; }
#headline .inside a {
	color: #fff;
	background: var( --blue-color );
	font-size: 1.8rem;
	padding: 1em;
	border-radius: 4px;
	-webkit-transition: all 0.3s ease-out;
	transition: all 0.3s ease-out;
}
#headline .inside a:hover { opacity: .5; }

/* visual */

#visual { 
	background: url( images/pageimg/form_title.jpg ) no-repeat center center;
	background-size: cover;
	padding: 50px 0;
}
#visual h2 {
	color: #fff;
	text-align: center;
	font-size: 2.8rem;
}

/* ---------------------------------------- main, contact */

main {
	font-size: 1.8rem;
	line-height: 2;
	padding: 50px 0;
}

#contact > p { margin: 0 0 1em; }

#contact table { width: 100%; }
#contact table th,
#contact table td {
	border: 1px #ccc solid;
	vertical-align: middle;
	text-align: left;
	padding: 1em;
}
#contact table th { width: 30%; }
#contact table td p { margin: .75em 0 .25em; }
#contact .online-text { margin: 0 0 .5em; }

#contact input[type="text"], 
#contact input[type="password"], 
#contact input[type="email"], 
#contact input[type="submit"], 
#contact button:not(#drawer-menu-button), 
#contact textarea, 
#contact select {
	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;
	font-family: inherit;
	font-size: inherit;
	padding: .5em .75em;
}
#contact input[type="text"], 
#contact input[type="password"], 
#contact input[type="email"], 
#contact textarea { 
	width: 100%;
	background: #def4ff;
	border-radius: 4px;
}

#contact input[type="text"].short { 
	width: 25%;
}

#contact input[type="text"].middle,
#contact select.middle { 
	width: 50%;
}

#contact input[type="radio"] {
	-webkit-appearance: radio;
	-moz-appearance: radio;
	appearance: radio;
}

#contact input[type="checkbox"] {
	-webkit-appearance: checkbox;
	-moz-appearance: checkbox;
	appearance: checkbox;
}

#contact select {
	background: #def4ff;
	border-radius: 4px;
	padding: .5em 1em;
}
#contact .mw_wp_form_confirm.mw_wp_form_preview .online-text,
#contact .mw_wp_form_confirm.mw_wp_form_preview .date-text,
#contact .mw_wp_form_confirm.mw_wp_form_preview .time-text,
#contact .mw_wp_form_confirm.mw_wp_form_preview .remail,
#contact .mw_wp_form_confirm.mw_wp_form_preview .select_wrapper::after {
	display: none;
}

#contact .mw_wp_form_confirm.mw_wp_form_preview .select_wrapper { margin: 0; }
#contact .mw_wp_form_confirm.mw_wp_form_preview .area { display: block; }

#contact .submits {
	text-align: center;
	margin: 2em 0 0;
}
#contact input[type="submit"] {
	display: inline-block;
	color: #fff;
	background: var( --navyblue-color );
	line-height: 1;
	font-size: 2.0rem;
	padding: 1em 2em;
	border-radius: 4px;
	-webkit-transition: all 0.3s ease-out;
	transition: all 0.3s ease-out;
}
#contact input[type="submit"]:hover {
	opacity: .5;
}

#contact .req { 
	display: inline-block;
	color: #fff; 
	background: var( --blue-color );
	line-height: 1;
	font-size: 1.4rem;
	font-weight: normal;
	padding: .3em 1em;
	margin: 0 0 0 1em;
	border-radius: 4px;
}

/* add form css */

#contact table .area_wrap { margin: 0 0 1em; }
#contact table .area { display: none; }
#contact table .area .inside {
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-ms-flex-wrap: wrap;
	flex-wrap: wrap;
}
#contact table .area .inside > span {
	display: block;
	width: 31%;
	margin: 4px .5em 4px 0;
}
#contact table .area.wide .inside > span { width: 40%; }
#contact table .area .inside > span > label {
	display: block;
	background: var( --water-color );
	padding: .3em .75em;
	border-radius: 4px;
}

/* datepicker */
#contact table .inside + .inside { margin: .5em 0 0; }
#contact table .inside h3 { margin: 0 0 .5em; }
#date01, #date02 { 
	width: 30% !important;
	margin: 0 1em 0 0; 
}
#contact table .inside .date-text,
#contact table .inside .time-text { margin: 0.5em 0 0; }

#ui-datepicker-div { transform: scale(2); }

/* ---------------------------------------- thanks */

#wrapper.underpage {
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-flex-direction: column;
	-ms-flex-direction: column;
	flex-direction: column;
	-webkit-box-pack: justify;
	-ms-flex-pack: justify;
	justify-content: space-between;
	width: 100%;
	height: 100vh;
	min-height: 640px;
	text-align: center;
}
#thanks h3 {
	font-size: 3.2rem;
	margin: 0 0 1em;
}
#thanks p {
	font-size: 2.0rem;
}

/* ---------------------------------------- 404 */

#is404 { text-align: center; }

/* ---------------------------------------- footer */

footer {
	color: #fff;
	background: var( --blue-color );
	text-align: center;
	padding: 50px 0;
}
footer h2 {
	font-size: 2.4rem;
	margin: 0 0 1em;
}
footer p {
	font-size: 1.6rem;
	line-height: 1.6;
}
footer .copyright {
	font-size: 1.4rem;
	margin: 2em 0 0;
}

/* ---------------------------------------- brochure */

.brochure {
	text-align: center;
	margin: 2em 0 3em;
}
.brochure a {
	display: inline-block;
	color: #fff;
	background: var( --navyblue-color );
	padding: 1em 2em;
	border-radius: 10px;
	-webkit-transition: all 0.3s ease-out;
	transition: all 0.3s ease-out;
}
.brochure a:hover { opacity: .5; }

.bt { margin: 1em 0 0; }