@charset "utf-8";

.wrap{
    margin-bottom: 60px;
}

.wrap2{
    margin-bottom: 0;
}

#contact h2 {
    font-weight: bold;
    margin: 10px 0 30px 0;
}

#contact h2 span {
    display: block;
    font-size: 0.8rem;
    margin: 10px 0 50px 0;
}

#contact p {
    margin-bottom: 0;
}

.bt70{
    margin-bottom: 70px;
}

.readc{
    margin-bottom: 40px;
}

.tel,.line{
    text-align: center;
}

.tel h3,.line h3{
    font-size: 1rem;
    border-top: 1px solid #ccc;
    border-bottom: 1px solid #ccc;
    padding: 15px 0;
    margin-bottom: 15px;
    font-weight: 400;
}

.line img{
    height: 80px;
    margin: auto;
}

.line a{
    transition: 0.3s;
}

.line a:hover{
    opacity: 0.5;
}

.tel a:hover{
    opacity: 0.5;
}


.tel a{
    transition: 0.5s;
}

.tel img{
    height: 80px;
    margin: auto;
}

#contact .form_btn{
    width: 95%;
    margin: 0 auto;
    position: relative;
    z-index: 99;
}

#contact .btn,#form_btn input {
    width: 47%;
    height: 60px;
    font-size: 1rem;
    display: inline-block;
    background-color: #fff;
}

#form_bg em{
    display: inline-block;
    font-size: 0.8rem;
    margin-bottom: 15px;
}

#form_bg dt{
    font-weight: 400;
}

#form_bg span{
    color: red;
}

th,td{
    font-size: 1rem;
}

th{
    width: auto;
    font-weight: 400;
    white-space: nowrap;
}

td{
    padding: 10px;
    word-break: break-word;
}

label{
    margin-right: 15px;
}

dl {
    display: flex;
    flex-wrap: wrap;
}
dl dt {
    width: 100%;
}
dl dd {
    width: 100%;
}

em{
    color: red;
}

textarea{
    width: 100%;
}

.section h3{
    font-size: 1rem;
    text-align: center;
}

#form_bg{
    padding: 20px;
    margin: 40px 0;
    background-color: #e8eaee;
}

input[type=checkbox] {
    margin-right: 0.3rem;
}

input[type=radio] {
    margin-right: 0.3rem;
}

.kakunin{
    margin-right: 5px;
    margin-left: 5px;
}

.thanks h2,.errors h2{
    font-weight: 400!important;
    text-align: center;
}

.thanks p{
    text-align: left;
    padding-bottom: 30px;
}

#contact h2{
    text-align: center; 
}

.errors p{
    text-align: left; 
}

#contact form{
    display: inline;
}

.inline input{
    color: #000!important;
    background-color: #fff!important;
    border: 1px solid #0c355c;
    width: 40%;
    height: 60px;
    transition: 0.3s;
    display: inline-block;
    -webkit-appearance: none;
    border-radius: 0;
}

.inline input:hover{
    color: #fff!important;
    border: 1px solid #0c355c!important;
    background-color: #0c355c!important;
    -webkit-appearance: none;
    border-radius: 0;
}

.center{
    text-align: center;
}

.confirm{
    text-align: center;
}

.form_btn, #conf_btn{
overflow: hidden;
}

.form_btn button,.form_btn input {
    -webkit-appearance: none;
    border-radius: 0;
    margin-top: 0;
    background-color: #fff;
    border: 1px solid #000;
    border-radius: 0;
    transition: 0.3s;
    float: left;
    margin-bottom: 15px;
    font-weight: normal!important;
}

.form_btn button:hover,#conf_btn input:hover{
    color: #fff;
    border: 1px solid #0c355c!important;
    background-color: #0c355c!important;
    -webkit-appearance: none;
    border-radius: 0;
}

#conf_btn{
    margin: 80px 0 50px 0;
    text-align: center;
}

#conf_btn input{
    width: 100%;
}

.bg_c01{
    width: 180px;
    position: absolute;
    margin-top: -100px;
}

.bg_c02{
    width: 140px;
    position: absolute;
    left: -125px;
    margin-top: -65px;
}

.bg_c03{
    width: 180px;
    position: absolute;
    left: -45px;
    margin-top: -140px;
}

.bg_c05{
    width: 120px;
    position: absolute;
    right: 0;
    margin-top: -230px;
}

.bg_c06{
    width: 120px;
    position: absolute; 
    top: 200px;
    right: 15px;
    z-index: 1;
}

.bg_c07{
    width: 120px;
    position: relative; 
    top: 190px;
    right: 15px;
    z-index: 1;
}

.bg_c08{
    width: 120px;
    position: absolute;
    left: 0;
    margin-top: -230px;
}

.bg_c10{
    width: 120px;
    position: absolute;
    left: 0;
    margin-top: -50px;
}

.conf_copy p{
    text-align: left;
}

.midashi h3{
    margin-top: 60px;
    font-weight: 400;
    font-size: 1rem;
    border-top: 1px solid #ccc;
    border-bottom: 1px solid #ccc;
    padding: 15px 0;
    margin-bottom: 15px;
    margin-top: 0;
    text-align: center;
}

.midashi p{
    font-size: 0.9rem;
    margin-top: 0;
    margin-bottom: -10px;
}

.thanks a{
    text-align: center;
    margin: auto;
    display: block;
}

.modoru{
    margin-left: 6px!important;
    margin-right: 6px!important;
}


@media (min-width: 576px) {

    .midashi p{
        margin-bottom: 10px;
        text-align: center;
    }
    
    .wrap{
        margin-bottom: 100px;
    }
    
    .conf_copy p{
        text-align: center;
    }
    
    
    th{
        width: 300px;
    }

    
    .form_btn button{
        margin-top: 30px;
    }
    
    
    .maincat_v {
        margin-bottom: 60px;
    }
    
    .maincat_v img {
        animation: animate 1s ease;
    }

    @keyframes animate {

        0% {
            margin-left: -150px;
        }

        100% {
            margin-left: 0;
        }
    }

    
    .maincat_v {
        margin-bottom: 60px;
    }

    .maincat_v h1 img{
        height: 250px;
        margin: 125px auto 0 auto;
    }
    
    .kakunin{
        margin-right: 20px;
    }
    
    #form_bg{
        padding: 50px;
        margin: 20px 0;
    }
    
    .short input{
        width: 300px;
    }
    
    dl dt {
        width: 22%;
        margin-bottom: 30px;
        position: relative;
        z-index: 99;
    }
    dl dd {
        width: 78%;
        margin-bottom: 30px;
    }
    
    #contact .form_btn,#conf_btn input{
        max-width: 650px;
        margin: 0 auto;
    }

    
    .thanks p{
        text-align: center;
    }
    
    .errors p{
        text-align: center; 
    }
    
    #conf_btn{
        margin: 80px 0 50px 0;
        text-align: center;
    }

    #conf_btn input{
        width: 300px;
    }

}

