/*
File Name: applyfortrial.css
Version: 3.0
*/

/*** applyfortrial sec1 ***/

#applyfortrial_sec1 {
    height: auto;
    margin: 0 auto;
    max-width: 991px;
    padding: 30px 30px 30px;
    width: 100%;
}

#applyfortrial_sec1 h2 {
    background-color: #807060;
    border-bottom: 1px dashed #e8e8e0;
    border-top: 1px dashed #e8e8e0;
    box-shadow: 0px 0px 0px 5px #807060;
    color: #e8e8e0;
    font-size: 3.0em;
    line-height: 1.5;
    margin-bottom: 1.0em;
    padding: 0.2em;
    text-align: center;
}

#applyfortrial_sec1 > p {
    font-size: 1.6em;
    line-height: 1.5;
    margin-bottom: 1.0em;
    text-align: center;
}

#applyfortrial_sec1 blockquote {
    border: 1px solid #606058;
    border-radius: 5px;
    margin: 0 auto;
    max-width: 600px;
    padding: 30px;
}

#applyfortrial_sec1 blockquote h3 {
    font-size: 2.0em;
    margin-bottom: 1.0em;
    text-align: center;
}

#applyfortrial_sec1 blockquote p {
    font-size: 1.4em;
    line-height: 1.5;
    margin-bottom: 1.0em;
    text-align: justify;
}


#applyfortrial_sec1 blockquote p:last-of-type {
    margin-bottom: 0;
}

@media (max-width: 639px) {

    #applyfortrial_sec1 {
        padding: 15px 15px 30px;
    }
 
    #applyfortrial_sec1 blockquote {
        padding: 15px;
    }

}

/*** applyfortrial sec2 ***/

#applyfortrial_sec2 {
    height: auto;
    margin: 0 auto;
    max-width: 991px;
    padding: 30px 30px 60px;
    width: 100%;
}

#applyfortrial_sec2 h2 {
    background-color: #e8e0d0;
    border-radius: 5px;
    color: #604800;
    font-size: 2.5em;
    line-height: 1.5;
    margin-bottom: 1.0em;
    padding: 15px 15px 15px 40px;
    position: relative;
    text-align: center;
}

#applyfortrial_sec2 h2::after {
    bottom: -15px;
    border-left: 15px solid transparent;
    border-right: 15px solid transparent;
    border-top: 15px solid #ebe0d0;
    content: '';
    left: calc(50% - 10px);
    position: absolute;
}

#applyfortrial_sec2 > p {
    font-size: 1.4em;
    line-height: 1.5;
    margin-bottom: 1.5em;
    text-align: center;
}

#applyfortrial_sec2 .sec2_div1 {
    background-color: #f0f0e8;
    height: auto;
    margin: 15px auto 0;
    padding: 15px;
    width: 100%;
}

#applyfortrial_sec2 .applyfortrial_form dl::after {
    clear: both;
    content: '';
    display: block;
}

#applyfortrial_sec2 .applyfortrial_form dt {
    clear: both;
    float: left;
    font-size: 1.4em;
    line-height: 1.5;
    margin-bottom: 15px;
    padding: 0.6em 0;
    width: 200px;
}

#applyfortrial_sec2 .applyfortrial_form dd {
    float: left;
    line-height: 1.5;
    margin: 0 0 15px 15px;
    width: calc(100% - 215px);
}

#applyfortrial_sec2 .applyfortrial_form input[type=text],
#applyfortrial_sec2 .applyfortrial_form input[type=email],
#applyfortrial_sec2 .applyfortrial_form textarea {
    -webkit-appearance: none;
    border: 1px solid #909090;
    color: #303030;
    font-family: inherit;
    font-size: 1.4em;
    padding: 0.6em 0.3em;
    width: 100%;
}

#applyfortrial_sec2 .applyfortrial_form select {
    -webkit-appearance: none;
    border: 1px solid #909090;
    border-radius: 0;
    color: #303030;
    font-family: inherit;
    font-size: 1.4em;
    padding: 0.6em 0.3em;
    width: 100%;
}

#applyfortrial_sec2 .applyfortrial_form dd:nth-of-type(1),
#applyfortrial_sec2 .applyfortrial_form dd:nth-of-type(4),
#applyfortrial_sec2 .applyfortrial_form dd:nth-of-type(5) {
    display: flex;
    flex-wrap: wrap;
}

#applyfortrial_sec2 .applyfortrial_form dd:nth-of-type(1) span:first-of-type,
#applyfortrial_sec2 .applyfortrial_form dd:nth-of-type(5) span:first-of-type {
    margin-right: 7.5px;
    width: calc(50% - 7.5px);
}

#applyfortrial_sec2 .applyfortrial_form dd:nth-of-type(1) span:last-of-type,
#applyfortrial_sec2 .applyfortrial_form dd:nth-of-type(5) span:last-of-type {
    margin-left: 7.5px;
    width: calc(50% - 7.5px);
}

#applyfortrial_sec2 .applyfortrial_form dd:nth-of-type(4) span:nth-of-type(1),
#applyfortrial_sec2 .applyfortrial_form dd:nth-of-type(4) span:nth-of-type(2) {
    margin-right: 15px;
    width: calc(33.33% - 10px);
}

#applyfortrial_sec2 .applyfortrial_form dd:nth-of-type(4) span:nth-of-type(3) {
    width: calc(33.33% - 10px);
}


#applyfortrial_sec2 .applyfortrial_form dd:nth-of-type(6),
#applyfortrial_sec2 .applyfortrial_form dd:last-of-type {
    font-size: 1.4em;
    padding: 0.5em;
}

#applyfortrial_sec2 .applyfortrial_form dd:last-of-type a {
    text-decoration: underline;
}

#applyfortrial_sec2 .applyfortrial_form .g-recaptcha > div {
    margin: 0 auto 30px;
}

#applyfortrial_sec2 .applyfortrial_form input[type="submit"] {
    -webkit-appearance: none;
    background-color: #807060;
    border: none;
    border-radius: 0;
    color: #ffffff;
    font-size: 1.4em;
    padding: 0.6em 0.3em;
    width: 100%;
}

#applyfortrial_sec2 .sec2_div1 .input_notes {
    display: inline-block;
    font-size: 1.2em;
    margin: 0.3em 0;
}

#applyfortrial_sec2 .sec2_div1 .input_notes a {
    border-bottom: 1px dashed #606058;
}

#applyfortrial_sec2 .sec2_div1 .wpcf7-not-valid-tip {
    margin: 0.3em 0;
}

#applyfortrial_sec2 .sec2_div1 .wpcf7-validation-errors {
    border: none;
}

#applyfortrial_sec2 .sec2_div1 .wpcf7-response-output {
    border: none;
    color: #DC3233;
    font-size: 1.2em;
    margin: 0 0 30px;
    padding: 0.3em;
}

#applyfortrial_sec2 .sec2_div1 > p {
    font-size: 1.4em;
    line-height: 1.5;
    margin: 0 auto;
    text-align: center;
    max-width: 550px;
}

@media (max-width: 639px) {

    #applyfortrial_sec2 {
        padding: 30px 15px 45px;
    }

    #applyfortrial_sec1 h2,
    #applyfortrial_sec2 h2 {
        font-size: 2.0em;
    }

    #applyfortrial_sec2 > p {
        font-size: 1.2em;
    }

    #applyfortrial_sec2 .applyfortrial_form dt {
        clear: both;
        margin-bottom: 0;
        padding: 0;
        width: 100%;
    }

    #applyfortrial_sec2 .applyfortrial_form dd {
        float: none;
        margin: 0 0 15px 0;
        width: 100%;
    }

    #applyfortrial_sec2 .applyfortrial_form input[type=text],
    #applyfortrial_sec2 .applyfortrial_form input[type=email],
    #applyfortrial_sec2 .applyfortrial_form textarea {
        font-size: 1.2em;
    }

    #applyfortrial_sec2 .applyfortrial_form select {
        font-size: 1.2em;
    }

    #applyfortrial_sec2 .applyfortrial_form dd:nth-of-type(6),
    #applyfortrial_sec2 .applyfortrial_form dd:last-of-type {
        font-size: 1.2em;
    }

    #applyfortrial_sec2 .sec2_div1 .input_notes {
        font-size: 1.0em;
    }

    #applyfortrial_sec2 .sec2_div1 > p {
        font-size: 1.2em;
    }

}
