@charset "UTF-8";

/*******************************
 
ContactCss
一覧で利用するCSS
 
*******************************/
.contact #main-img{
    padding: 5% 0;
}

@media screen and (max-width: 767px){
    .contact p{
        text-align: left;
        font-size: 1.4rem;
        font-weight: normal;
        line-height: 2;
        margin: 40px auto 10px;
    }
}


/*******************************
 
ContactCss
お問い合わせで利用するCSS
 
*******************************/

.contact p{
        line-height: 2;
    }
.contact-con{
	margin: 0 auto 60px;
}
p.contact-tel{
    font-weight: bold;
    padding: 15px 20px;
    border: solid 1px;
    margin: 30px auto 0;
    width: 55%;
}
p.contact-tel span{
	font-size: 30px;
	vertical-align: middle;
	margin-left: 10px;
}
.contact-con h2{
    padding: 10px 0;
    border-top: solid 1px #545454;
	border-bottom: solid 1px #545454;
    font-weight: bold;
    line-height: normal;
    margin-bottom: 40px;
}
.contact-con dt{
	font-weight: bold;
}
.contact-con dd{
    height: 40px;
	position: relative;
}
.intro{
    line-height: 2.5;
    padding-left: 20px;
    margin-bottom: 20px;
	font-weight: bold;
}
.intro:before{
    content: "";
	top: 8px;
    left: 0;
    border-bottom: 1.5em solid transparent;
    border-left: 1.5em solid #50b7c5;
    position: absolute;
}
.contact-con .input-box{
    background: #e6e6e6;
    line-height: 3;
    padding-left: 20px;
    border: none;
    width: 100%;
}
input::placeholder {
	color: #bcbbbb;
	min-height: 40px;
}
.contact-con dd.necessary:before{
    content: "";
	top: 0;
    left: 0;
    border-bottom: 1.5em solid transparent;
    border-left: 1.5em solid #50b7c5;
    position: absolute;
}
.contact-con dt.check{
    display: inline-block;
    margin-right: 50px;
}
.contact-con dd.radio-btn{
	display: inline-block;
}
.contact-con dd.radio-btn label{
	margin-right: 10px;
}
.contact-con dd.radio-btn:before{
    content: "";
    display: none;
    width: 20px;
    height: 20px;
    background: #50b7c5;
    transform: skewX(135deg);
    position: absolute;
    top: 0;
    left: -10px;
}
.w30{
	width: 29%;
}
.w50{
	width: 49%;
}
.w70{
	width: 69%;
}
.w100{
	width: 100%;
}
.flex-box {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-flex-wrap: wrap;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    list-style: none;
    padding: 0;
    justify-content: space-between;
    margin: 0 auto 20px;
}
.privacy{
	margin-top: 50px;
}
.privacy label{
	margin-bottom: 20px;
    display: block;
}
.privacy a{
	color: #00479d;
	border-bottom: solid 1pt;
}
button{
	font-size: 20px;
    font-weight: bold;
    line-height: normal;
    background: #000;
    border: none;
    padding: 10px 50px;
    color: #fff;
    border-radius: 5px;
    margin-top: 20px;
}

@media screen and (max-width: 767px){
	.contact-con {
		margin: 0 auto 40px;
	}
	p.contact-tel{
		width: 100%;
		text-align: center;
		line-height: normal;
	}
	.flex-box{
		display: block;
		margin-bottom: 0;
	}
	.contact-con dd{
		margin-bottom: 15px;
	}
	.w30,.w50,.w70{
		width: 100%;
	}
	.privacy {
		margin-top: 30px;
	}
	.privacy p{
		text-align: center;
	}
}

