@charset "utf-8";
/* お問い合わせ */

.imgBox {
    margin: 0 0 20px;
    background: #eaf1f7;
}
.Page h3 {
    text-align: left;
    margin: 20px 0 40px;
    background: #d5e3f3;
    border-bottom: none;
}

#S02 ul {
    counter-reset: number 0;
    margin: auto;
    width: 900px;
}
#S02 ul li {
    list-style-type: none;
    display: flex;
    justify-content: flex-start;
    border-bottom: 1px solid #ddd;
    align-items: center;
}
#S02 ul li:first-child {border-top: 1px solid #ddd;}

#S02 ul li:before {
    counter-increment: number 1;
    content: counter(number) "";
    padding: 10px;
    background: #265288;
    color: #fff;
    display: flex;
    margin: 0 20px 0 0;
    height: 40px;
    align-items: center;
    justify-content: center;
    width: 50px;
    font-size: 120%;
    font-weight: 600;
}
#S02 ul li p {width: 700px; }

#S02 .contentsDetail {background: #fff;}
.contactDetail input, .contactDetail select, .contactDetail textarea {
    vertical-align: middle;
    padding: 10px;
    margin: 10px 0;
    border: 1px solid #ddd;
	width: 100%;
}
.contactDetail form input[type="submit"] {
    background: #83949f;
    border: none;
    color: #fff;
    font-size: 120%;
    padding: 20px 50px;
	width: 200px;
}
#S02 form {
    margin: auto;
    width: 480px;
}

@media screen and (max-width:1000px){
#S02 ul {
    width: 90%;
}
#S02 ul li p {
    width: 90%;
    text-indent: 0;
    padding-left: 0;
}
}
	
@media screen and (max-width:680px){
	
.Page h3 {
    text-align: center;
}
	
#S02 ul {
    width: 100%;
}
	


#S02 form {
    width: 100%;
}	

.contactDetail input, .contactDetail select, .contactDetail textarea {
    width: 95%;
    padding: 10px 0px;
}	
	
#S02 ul li {
    align-items: baseline;
    display: block;
    padding-right: 0;
    padding-left: 0;
}	
	
#S02 ul li:before {	
    padding: 11px 0px 11px 4px;
    margin: 0px 10px 0 0;
    height: 12px;
	width: 30px;	}
	
	
}


@media screen and (max-width:480px){
#S02 ul li:before {
    padding: 10px 0px 11px 24px;
    margin: 0px 10px 0 0;
    height: 12px;
    width: 10px;
 }	
}