@charset "utf-8";

#main_v {
    width: 100%;
    height: 400px;
    background-size: cover;
    background-position: center right;
    overflow: hidden;
    background-image: url("../img/main.png");
    margin: 50px 0 30px 0;
    display: flex;
    justify-content: center;
    align-items: center;
}

h2{
    width: 300px;
    font-size: 16pt;
    padding: 15px;
    text-align: center;
    color:#1a2289;
    background-color: rgba(255,255,255,0.7);
    border: 3px solid #1a2289;
    letter-spacing: 6px;
    font-weight: bold;
}

h2 span{
    font-size: 11pt;
    margin-top: 10px;
    border-top: 1px solid #1a2289;
    padding-top: 10px;
    display: block;
}


#inquiry h3{
    font-size: 20pt;
    text-align: center;
}

#inquiry p{
    text-align: center;
    margin-bottom: 20px;
}

dl {
    background-color: #f6f6f6;
    padding: 20px;
}

dt {
    margin-bottom: 20px;
}

dd {
    margin-bottom: 20px;
}


input,textarea {
    width: 100%;
    font: 15px/24px sans-serif;
    box-sizing: border-box;
    padding: 0.3em;
    transition: 0.3s;
    letter-spacing: 1px;
    color: #000000;
    border: 1px solid #cccccc;
    border-radius: 4px;
}
input:focus,textarea:focus {
    border: 1px solid #0067b6;
    outline: none;
    box-shadow: 0 0 5px 1px rgba(0,144,255, .5);
}

.form_btn{
    text-align: center;
    margin-bottom: 50px;
}

button{
    padding: 15px 30px;
    color: #ffffff;
    background-color: #333333;
    border-radius: 3px;
    transition: 0.3s;
}

button:hover{
    background-color: #0067b6;
}

.tb50{
    margin: 50px auto 50px auto;
}

.errorlog{
    color: red;
}

/* お問い合わせ */

#inquiry_tel{
    padding: 20px 0;
}

.read {
    margin-bottom: 50px;
}

.cp_add01 {
    font-size: 18px;
    margin-bottom: 0;
    border-bottom: 1px dotted #000000;
}

.tel {
    font-size: 40px;
    margin: 0 0 40px 0;
}

.icon-phone {
    font-size: 24pt;
    margin-right: 5px;
}

#inquiry .error{
    color:red;
}


@media only screen and (min-width:768px) {

    #main_v {
        height: 300px;
        margin-top: 70px;
        background-color: #333333;
        margin-bottom: 60px;
    }

    dl {
        padding: 40px 100px;
    }

    dt {
        float: left;
    }

    dd {
        margin-left: 200px;
    }
    
    input {
        height: auto;
    }

}