@charset "utf-8";
/* CSS Document */

#Header p{
	font-size:13px;
	font-weight: normal;
	margin: 0;
}


#Otoiawase section{
	margin-bottom: 80px;
	}

#Otoiawase{
		width: 1080px;
	margin-right: auto;
	margin-left: auto;
	font-size: 16px;

}


#Otoiawase p{
	
}

section div{
	margin-right: 40px;
	margin-left: 40px;
}

h2{
	width: 100%;
	font-size:30px;
	color: #004492;
	border-bottom:1px solid  #004492;
	margin: 20px 0px 40px 0px; 
	padding-bottom: 10px;
}


#InquiryForm fieldset table {
	width: 100%;
	border-top-style: none;
	border-right-style: none;
	border-bottom-style: solid;
	border-left-style: none;
	border-bottom-width: 1px;
	border-bottom-color: #FFF;
	margin: 8px;
}
#InquiryForm fieldset table tr th {
	width: 280px;
	border-top-style: none;
	border-right-style: none;
	border-bottom-style: solid;
	border-left-style: none;
	background-color: #eaf1f9;
	border-bottom-width: 8px;
	border-bottom-color: #FFF;
	padding: 8px;
}

#InquiryForm fieldset table tr td {
	border-top-style: none;
	border-right-style: none;
	border-bottom-style: solid;
	border-left-style: none;
	border-bottom-color: #FFF;
	padding: 8px;
	padding-left: 27px;
}
#InquiryForm fieldset legend {
	font-size: 18px;
	color: #0044A4;
	font-weight: bold;
	padding: 4px;
}
#InquiryForm fieldset {
	margin-bottom: 20px;
}

.txtbox{
	width: 240px;
}#Send {
	text-align: center;
}
#Send input {
	width: 100px;
	height: 32px;
	font-size: 14px;
	font-weight: bold;
	color: #666666;
}
#InquiryForm fieldset table tr td textarea {
	width: 360px;
	height: 180px;
}
.contents_detail #Thanks {
	margin-right: 40px;
	margin-left: 40px;
	font-size: 16px;
	line-height: 40px;
	margin-top: 20px;
}

#InquiryForm  #MuryouSoudan {
	padding-left: 27px;
	
}
#InquiryForm  #MuryouSoudan input[type="checkbox"],#InquiryForm .left input[type="checkbox"] {
	margin-left: -15px;
	
}




@media screen and (max-width: 767px) {


#Otoiawase{width:100%;}	

.contents_detail h2 {
	margin-bottom: 30px;
	padding: 20px 0px; 
	border-bottom:dotted 1px #99aab3;
}	
.contents_detail h2::after{
	display: inline-block;
	color:#333333;
	font-size: 25px;
	font-weight: normal;
	content: attr(data-label); /*contentでdata-label属性を指定*/		
	}
.contents_detail h2 img{
		display: none;
	}
#InquiryForm fieldset table{
	margin: 0 auto;

	}
#InquiryForm fieldset table tr th{
	box-sizing: border-box;
	width: 100%;
	display: block;
	text-align: left;
	}
#InquiryForm fieldset table tr td{
		display: block;	
		padding: 20px 0px;
		text-align: center;
	}
#InquiryForm fieldset table tr td.left{
		text-align: left;
	    padding-left: 20px;

	}
#InquiryForm fieldset table tr td .txtbox{
	width: 90%;
	padding: 10px 5px;
	}
#InquiryForm fieldset table tr td textarea {
	width: 90%;
	height: 180px;
}
	select {
		height: 30px;
		
	}
#InquiryForm  input[type="checkbox"] {
    margin-left: -15px;
}
input,textarea {
    border-style:solid;
	border-width: 1px;
	border-color: #ccc;
	
}
#InquiryForm  td{
	padding-left: 20px;
	
}
.contents_detail #Thanks {
     margin-right: 0px; 
     margin-left: 0px; 
    line-height: 20px;
}
.contents_detail #Thanks p{
     margin-bottom: 10px; 

}

#Thanks p{
	margin-right: 0px;
	margin-left: 0px;
}

section div{
	margin-right: 8px;
	margin-left: 8px;
}

				
	#Otoiawase section{
	margin-right: 8px;
	margin-left: 8px;
	}
#InquiryForm fieldset table tr th p{
	display: inline;	
}

#InquiryForm fieldset table tr .left ul li{
	margin-bottom: 0.7em;
	line-height: 120%;	
}
	
}
