@charset "utf-8";

/*inquiry_mainview*/
.inquiry_mainview{
    background-image: url("../images/mainview_form.jpg");
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    height: 250px;
    padding: 100px 0 0;
    margin: 80px 0 0;
}
.inquiry_mainview h1{
    text-align: center;
    font-size: 3em;
    font-family: "Noto Serif JP", serif;
    font-weight: 500;
    color: #113770;
    letter-spacing: 1px;
    text-shadow: 0px 0px 20px hsla(0,0%,100%,1.00),
                 0px 0px 20px hsla(0,0%,100%,1.00),
                 0px 0px 20px hsla(0,0%,100%,1.00),
                 0px 0px 20px hsla(0,0%,100%,1.00);
}

/*section*/
section h2{
    font-size: 2em;
    font-family: source-han-serif-japanese, serif;
    font-weight: 500;
    color: #113770;
    text-align: center;
    letter-spacing: 2px;
    margin: 0 auto 50px;
}
section h2::after{
    content: "";
    display: block;
    width: 84px;
    height: 2px;
    margin: 10px auto 0;
    background-color: #58799b;
}
.btn1{
    text-align: center;
    margin: 65px auto 0 ;
}

/*inquiry*/
.inquiry p{
    line-height: 1.6;
    letter-spacing: 1px;
    font-weight: 300;
    margin: 15px auto 0;
}
.inquiry p span{
    color: #d21717;
}

form dt span{
    color: #d21717;
    background-color: #fff;
    border: solid 1px #d21717;
    padding: 2px 5px;
    margin: 0 0 0 20px;
}

.form{
    margin: 25px auto 30px;
    border-bottom: solid 1px #e6e6e6;
}
.form dt{
    border-top: solid 1px #e6e6e6;
    line-height: 1.8;
}
.form dd{
    line-height: 1.8;
}
.form input,.form textarea{
    border: solid 1px #ccc;
    width: 100%;
    padding: 5px;
}
.form [type="radio"]{
    width: auto;
    padding: 5px;
    margin: 30px 5px 15px 0;
}
.form dd label:first-of-type [type="radio"]{
    margin-top: 0;
}
.form #address{
    width: 35%;
    margin: 0 10px 10px;
}
.form textarea{
    height: 194px;
}

.check_privacy{
    background-color: #e5ebf0;
    margin: 0 auto 60px;
}
.check_privacy dd{
    margin: 12px auto 0;
    line-height: 1.8;
    font-weight: 300;
}
.check_privacy dd a{
    color: #00366d;
    text-decoration: underline;
}
.check_privacy [type="checkbox"]{
    margin: 0 5px 0 0;
    text-align: center;
}

.inquiry .btn3{
    text-align: center;
}

/*privacy*/
.privacy p{
    line-height: 1.8;
    letter-spacing: 1px;
}
.privacy dl{
    border-bottom: solid 1px #e6e6e6;
    margin: 25px auto 0;
}
.privacy dt{
    border-top: solid 1px #e6e6e6;
    line-height: 1.8;
    padding: 20px 10px 5px;
    font-size: 1.2em;
    color: #00366d;
}
.privacy dd{
    line-height: 1.8;
    padding: 5px 10px 20px;
    text-align: justify;
}
.privacy dd a{
    color: #000;
}

.privacy dd dl{
    border:none;
}
.privacy dd dt{
    border:none;
    font-size: 1em;
    padding: 5px 10px 0;
}
.privacy dd dd{
    border:none;
    padding: 0 10px 5px;
}

[type="button"]{
    margin: 0 10px 15px;
}
.msg{
    margin: 0 0 30px;
}

@media (min-width:641px){
    section{
        padding: 65px 0;
    }
    
    .inquiry p{
        text-align: center;
    }
    
    .form{
        width: 850px;
    }
    .form dt{
        float: left;
        clear: both;
        width: 30%;
        padding: 22px;
    }
    .form dd{
        float: left;
        width: 70%;
        border-top: solid 1px #e6e6e6;
        padding: 22px;
        min-height: 76px;
    }
    
    .check_privacy{
        width: 850px;
        padding: 20px 70px;
    }
    .check_privacy dd:last-of-type{
        text-align: center;
    }
}

@media (max-width:640px){
    section{
        padding: 65px 10px;
    }
    .inquiry p{
        text-align: justify;
    }
    
    .form dt{
        padding: 22px 22px 5px;
    }
    .form dd{
        padding: 5px 22px 22px;
    }
    
    .check_privacy{
        padding: 20px 30px;
    }
}