/*detailではヘッダーを表示させないココカラ*/
header#header_sp {
	display: none;
}
/*detailではヘッダーを表示させないココマデ*/

/*spのdetail関連を非表示ココカラ*/
#pankuzu,
#sp_menu_img,
#sp_acc_menu_detail {
	display: none;
}
.float_side {
	display: none;
}
.contact_area,
footer#sp_footer {
	display: none;
}
/*spのdetail関連を非表示ココマデ*/

.emergency {
	display: block;
	width: 90%;
	margin: 0 auto 30px;
}
.emergency span {
	color: red;	
}
.emergency a {
	color: red;
	border-bottom: dashed 1px red;
}
.emergency {
	/*display: none;*/
}
section#mv {
	background-image: url("../../common/images/contact/main_vis.png");
	background-position: center;
	background-repeat: no-repeat;
	background-size: cover;
	height: 150px;
	position: relative;
	width: 100%;
}

.mv_ttl {
	position: relative;
	background-repeat: no-repeat;
	background-image: url("../../common/images/contact/mainvis_ttl_img.png");
	background-position: 0 0;
	background-size: contain;
    top: 48px;
    margin: 0 auto;
    height: 62px;
    width: 137px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.mv_ttl h1 {
	font-size: 15px;
	color: #013e98;
	position: relative;
	margin-bottom: -18px;
	text-align: center;
}
section#contact_area01 {
	background-image: url("../../common/images/contact/contact_area01_bg.png");
	background-position: center bottom;
	background-repeat: no-repeat;
	background-size: cover;
	padding-bottom: 80px;
	position: relative;
	width: 100%;
}
section#contact_area01 .contact_area01_ttl {
	padding: 40px 0 30px;
	margin: 0 auto;
}
.contact_area01_title_txt_yougo_m {
	font-size: 16px;
}
section#contact_area01 .contact_entry {
	font-size: 16px;
	color: #013e98;
	display: flex;
	margin-bottom: 30px;
}
section#contact_area01 .contact_entry a {
	border: solid 1px #013e98;
	margin: 0 auto;
	display: flex;
	align-items: center;
}
section#contact_area01 .contact_entry a > * {
	line-height: 1em;
}
section#contact_area01 .contact_entry a::after {
	content: url(../../common/images/contact/mail_icon.svg);
	margin: 7px 0 0 10px;
}
.contact_area01_notice_txt_yougo_m {
	font-size: 16px;
	text-align: left;
	width: 80%;
	margin: 0 auto 20px;
}
.contact_area01_notice_txt_yougo_m br:not(br:first-child) {
	display: none;
}
.contact_area01_notice_txt_yougo_m a {
	color: #013e98;
	border-bottom: 1px dashed #013e98;
}
#contact_form_wrap {
	background-color: rgba(255, 255, 255, .6);
	margin: auto;
	width: 90%;
}
input {
	margin: 15px 0;
}
#contact_form dl {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-around;
	margin-bottom: 30px;
}
#contact_form dl.checkbox_style {
	flex-direction: column;
	align-items: flex-start;
}
#contact_form dl.checkbox_style dd {
	margin-bottom: 10px;
}
.wpcf7-list-item {
	margin-bottom: 15px!important;
}
#contact_form dl p {
	display: none;
}
#contact_form dl dt:nth-of-type(1) {
	/*display: inline-flex;*/
    flex-direction: row;
    justify-content: flex-start;
	font-size: 16px;
	font-weight: bold;
	width: 100%;
}
.required-item > br {
	display: none;
}
#contact_form > dl:nth-last-of-type(1) dt {
	width: 100%;
}
#contact_form > dl dt.select {
	width: 100%;
	margin-left: 10px;
}

#contact_form dl dt:nth-of-type(2) {
	display: inline-flex;
    /*justify-content: space-between;*/
	font-size: 16px;
	font-weight: bold;
	width: 100%;
}
#contact_form dl dt.form_title,
#contact_form dl dt.form_desc {
	color: #fff;
	background-color: #013e98;
    padding: 5px;
}
#contact_form dl dt.form_desc {
	margin-top: 30px;
}
#contact_form dl dt.select {
	display: flex;
    flex-direction: column;
    justify-content: space-between;
	font-size: 16px;
	font-weight: bold;
}
#contact_form dl dt.select .wpcf7-checkbox {
    width: 550px;
    display: flex;
    flex-direction: column;
    margin-left: -20px;
    /*flex-wrap: wrap;*/
}
#contact_form dl dt.select span.mwform-checkbox-field.horizontal-item {
	    margin-left: 0;
	    line-height: 0;
}
.mwform-checkbox-field-text,
.mwform-radio-field-text {
	font-size: 16px;
	font-weight: bold;	
}
.mw_wp_form.mw_wp_form_complete > p {
	color: #434343;
	font-size: 16px;
	text-align: center;
	line-height: 46px;
}
#wpcf7-f5389-o1 #contact_form dl:nth-of-type(5) dt::after {
	border: solid 1px red;
	content: '編集不可';
	color: #013e98;
	font-size: 14px;
	display: inline-block;
	height: 20px;
	margin-left: 10px;
	padding: 1px 10px
}
#contact_form dl dt.required-item::after {
	border: solid 1px #013e98;
	content: '必須';
	color: #013e98;
	font-size: 14px;
	display: inline-block;
	height: 20px;
	margin-left: 20px;
	padding: 1px 10px;
}
#contact_form dl dd {
	width: 100%;
}
#contact_form dl dd.subject_content input {
	height: 30px;
    width: 500px;
}
#contact_form dl dd > input {
	font-size: 16px;
    height: 30px;
    display: block;
    /*margin: 15px auto;*/
    width: 98%;
}
#contact_form dl dd span.mwform-tel-field > input {
	width: 60px;
	height: 30px;
}
#contact_form dl dd textarea {
	font-size: 16px;
	font-weight: normal;
	height: 100px;
	width: 100%;
	margin: 15px auto;
}
#contact_form_submit {
	margin: auto;
    text-align: center;
}
#contact_form_submit p {
	font-size: 16px;
	color: red;
	text-align: center;
}
#contact_form_submit > button[value="confirm"],
#contact_form_submit > button[value="back"] {
	background-color: transparent;
    border: solid 1px #013e98;
    color: #013e98;
    font-size: 16px;
    padding: 10px 30px;
    margin-bottom: 60px;
}
#contact_form_submit > button[value="send"] {
	background-color: #e41616;
	color: #fff;
	border: solid 1px #e41616;
	filter: drop-shadow(2px 2px 0px lightgray);
    font-size: 16px;
    padding: 10px 30px;
    margin-bottom: 60px;
}
#contact_form_submit > button[value="send"]:hover {
	color: #e41616;
	background-color: #fff;
} 
#contact_form_submit button:hover {
	cursor: pointer;
}
#contact_form_submit > button.disable {
	pointer-events: none;
	background-color: #aaa;
	border: solid 1px gray;
	color: lightgray;
}
.wpcf7 form.invalid .wpcf7-response-output,
.wpcf7 form.unaccepted .wpcf7-response-output {
	margin: 0 70px;
}
.google_desc {
    text-align: left;
    font-size: 13px;
    color: #434343;
    display: block;
}
.google_desc a {
	color: blue;
}

@media (orientation: portrait){
 
	/*デバイスが縦向きの場合の記述*/
	section#contact_area01 .contact_area01_ttl {
		width: 80%;
		text-align: left;
	}
	section#contact_area01 .contact_entry a {
		padding: 5px 10px;
		font-size: 14px;
		/*flex-direction: column;*/
	}
	#contact_form dl {
		width: 80%;
		margin: 0 auto 30px;
		justify-content: flex-start;
	}
	#contact_form dl dt:nth-of-type(2) {
		flex-direction: column;
	}
	.select_r > span:first-child {
		margin-left: 10px
	}
	#contact_form dl dt.select span.mwform-checkbox-field.horizontal-item {
		margin-bottom: 15px;
	}
}

@media (orientation: landscape){
 
	/*デバイスが横向きの場合の記述*/
	section#contact_area01 .contact_area01_ttl {
		width: 90%;
		text-align: center;
	}
	section#contact_area01 .contact_entry a {
		padding: 5px 20px;
	}
	#contact_form dl {
		margin: 0 auto 30px;
		width: 90%;
		justify-content: flex-start;
	}
	#contact_form dl dt:nth-of-type(1) {
		/*margin-left: 10px*/
	}
	#contact_form dl dt:nth-of-type(2) {
		flex-direction: row;
	}

}