@charset "UTF-8";
@media screen and (max-width:768px) { 

.logo_img {
    width: 90%;
    padding-top: 17vw;
    }
    
#contact .wrapper, #policy .wrapper, #error .wrapper, #thanks .wrapper {
    margin-top: 6vw;
}
    
#contact .mailform .content {
    justify-content: flex-start;
    align-items: flex-start;
    flex-direction: column;
}
    
#contact .txt {
    width: 90%;
    margin: 0 auto;
    text-align: justify;
}
    
#contact form#mailformpro dl dt {
    margin-bottom: 2vw;
}
    
    
#error .error p {
    width: 100%;
    text-align: justify;
    }
    
#contact footer, #policy footer, #error footer, #thanks footer {
    margin: 8vw auto 0;
}
    
#contact .mfp_rows input[type="text"], #contact .mfp_rows input[type="email"] {
    width: 100%;
    min-width: 100%;
    }
    
    
}


@media screen and (max-width:600px) { 
.logo_img {
    padding-top: 25vw;
}    
    
#policy .first {
    margin-top: 7vw;
}
#policy .txt {
    margin-top: 8vw;
    line-height: 1.6;
}    
    
#policy .txt .indent{
        width: 100%;
        display: inline-block;
        text-align: left;
    }
#policy .wrapper {
    text-align: justify;
    padding: 11vw 8vw;
    font-size: 14px;
    }
#policy .txt h6 {
    padding-bottom: 2vw;
    margin-bottom: 2vw;
}
    
#thanks .more,#error .more {
    width: 100%;
    height: 15vw;
    margin: 10vw auto 0;
    padding-top: 5vw;
    border-radius: 15vw;
    }
    
#thanks .wrapper {
    padding: 20vw 12vw 13vw;
    text-align: justify;
}
    
#error .wrapper {
    padding: 15vw;
    text-align: justify;
    }
.mfp_buttons {
    display: flex;
    flex-direction: column;
    }    
#mfp_button_send, #mfp_element_submit, #mfp_button_cancel {
    width: 60vw;
    height: 16vw;
    padding: 6vw;
    }
#mfp_phase_confirm_inner {
    margin-bottom: 5vw;
}
    
.mfp_buttons #mfp_button_cancel {
    margin-top: 3vw;
}
    
#contact #mailformbox {
    width: 90%;
}
    
.checkbox::before {
    width: 5vw;
    height: 5vw;
    top: 0;
    left: 2vw;
}
    
.policy {
    letter-spacing: 0.05rem;
    }
.checkbox::after {
    border-right: 0.7vw solid #313132;
    border-bottom: 0.7vw solid #313132;
    height: 5vw;
    left: 4.5vw;
    top: -0.8vw;
    width: 2vw;
}
    



}