@charset "UTF-8";

.center{
    text-align: center;
}

.inquiry_form{
    margin: 0 auto;
    padding: 120px 0;
    background-color: #ff0;
}

.inquiry_form h3{
    background: url(../img/inquiry_bg.png) no-repeat;
    background-size: cover;
    background-position: center top;
    width: 82vw;
    max-width: 780px;
    height: 19vw;
    max-height: 180px;
    line-height: 20vw;
    text-align: center;
    font-size: 3.6rem;
    margin:0 auto;
    padding:0;
}

form.LP_form{
    background-color: #fff;
    width:95%;
    max-width: 900px;
    margin: 0 auto;
    border-radius: 25px;
    padding: 8vw 0vw 6vw;
}

@media only screen and (max-width: 640px){
    .inquiry_form{   
        padding: 40px 0 80px;
    }
    .inquiry_form h3{
        width: 95%;
        height: 22.5vw;
        background-position: left top;
        margin-bottom: -1.8vw;
        background-size: contain;
        font-size: 4vw;
    }
    form.LP_form{
        background-color: #fff;
        width: 95%;
        margin: 0 auto;
        border-radius: 25px;
    }
}

@media only screen and (min-width: 900px){
    .inquiry_form h3{
        background-size: contain;
        line-height: 180px;
    }
}
@media only screen and (min-width: 1100px){
    form.LP_form{
        padding: 88px 0 66px;
    }
}


form.LP_form dl{
    width: 95%;
    max-width: 700px;
    margin: 0 auto;
}

form.LP_form dl dt{
    color: #185B56;
    font-weight: bold;
}

form.LP_form dl dd{
    margin-left: 0;
    padding-left: 0;
    margin-bottom: 40px;
}

form.LP_form dl dd:last-child{
    margin-bottom: 0;
}

form.LP_form select {
   border: none;
   background-color: #e9e9e9;
   font-size: 16px;
   padding: 0.4em;
   border-radius: 0;
   width: 100%;
   height: 60px;
   color: #000;
}

form.LP_form input{
    border: none;
    background-color: #e9e9e9;
    font-size: 16px;
    padding: 0.4em;
    border-radius: 0;
    width: 100%;
    height: 60px;
    box-sizing: border-box;
}
form.LP_form textarea{
    border: none;
    background-color: #e9e9e9;
    font-size: 16px;
    padding: 0.4em;
    border-radius: 0;
    width: 100%;
    height: 100px;
    box-sizing: border-box;
}

form.LP_form button.send{
    background-color: #000;
    border-radius: 50px;
    margin: 55px auto 0;
    width: 50%;
    height: 80px;
    color: #fff;
    font-size: 3rem;
    letter-spacing: 3rem;
    text-indent: 3rem;
    text-align: center;
    font-weight: bold;
    display: block;
    border: none;
}
form.LP_form button.send:hover{
    opacity: 0.5;
    transition: 0.5s;
    cursor: pointer;
}

form.LP_form select {
    -webkit-appearance: none;
    appearance: none;
    background-image: url(../img/sel_arrow.png);
    background-position: right 15px center;
    background-repeat: no-repeat;
    background-size: 13px 8px;
}


@media only screen and (max-width: 640px){
    form.LP_form select {
        height: 40px;
    }

    form.LP_form input{
        height: 40px;
    }
    
    form.LP_form button.send{
        width: 95%;
        height: 75px;
        border-radius: 40px;
        font-size: 18px;
        margin-top: 20px;
    }
    form.LP_form button.send:hover{
        opacity: 1;
        transition: none;
    }
}

form.LP_form .errmsg{
    display: none;
    color: #fff;
    text-align: center;
    font-weight: bold;
    line-height: 2;
    background-color: #f00;
    width: 200px;
    
    margin: 15px auto -47px;
    position: relative;
}
form.LP_form .errmsg:after{
    border-top: 12px solid #f00;
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    position: absolute;
    bottom: -12px;
    left: 15%;
    content: "";
    
}

@media only screen and (max-width: 640px){
    form.LP_form .errmsg{        
        margin: 0 auto -10px;
    }
}


form.LP_form .form_name{
    display: flex;
    flex-flow: wrap;
}

form.LP_form .form_name div{
    width: 47%;
    margin: 0;
}
form.LP_form .form_name div:first-child{
    margin-right: auto;
}
form.LP_form .form_name div:last-child{
    margin-left: auto;;
}


@media only screen and (min-width: 641px){
    form.LP_form dl dt{
        font-size: 2.4rem;
    }
    
    form.LP_form dl dd{
        font-size: 2rem;
    }
}


/*====================================================================
    エラー時
====================================================================*/

.err_red{
    color: #f00;
    border: 2px solid #f00;
    background-color: #f00;
}

.err_red::placeholder{
    color: #f00;
    opacity: 1;
}

.err_red2::placeholder{
    color: #f00;
    opacity: 0.4;
}

#email_errmsg,#tel_errmsg{
    color: #f00;
    font-size: 1.6rem;
}
@media only screen and (max-width: 640px){
    #email_errmsg,#tel_errmsg{
        font-size: 1.6rem;
    }
}

/*====================================================================
    thankyouページ
====================================================================*/

.form_thanks{
    width: 100%;
    margin: 0 auto;
    padding: 100px 0;
    text-align: center;
    background-color: #ff0;
    position: relative;
}

.form_thanks_img{
    max-width: 220px;
    margin:0 auto;
}
.form_thanks_img img{
    width: 100%;
}


.form_thanks h3{
    color: #185B56;
    font-size: 3rem;
}

.form_totop{
    position: fixed;
    bottom: 50px;
    right: 15px;
    background: #000;
    color: #fff;
    width: 100px;
    height: 100px;
    border-radius: 50px;
    padding-top: 25px;
    box-sizing: border-box;
    font-weight: bold;
}
.form_totop:hover{
    opacity: 0.5;
    transition: 0.5s;
}

.form_totop a{
    color: #fff;
    text-decoration: none;
}

@media only screen and (min-width: 1100px){
    .form_totop{
        right: calc( 50vw - 550px - 15px );
    }
}

@media only screen and (max-width: 640px){
    .form_thanks_img{
        width: 33%;
        margin:0 auto;
    }
    .form_thanks h3{
        font-size: 5vw;
    }
    .form_totop{
        right: 15px;
    }
    .form_totop:hover{
        opacity: 1;
        transition: none;
    }
}

.privacy_label{
    display: flex;
}
.privacy_label_input{
    width: 15px !important;
    height: 15px !important;
    margin-top: 5px;
    font-size: 20px !important;
}
span.check_radio a{
color: #185B56;
}
