.p-inquiry, .p-footer_inquiry, .p-contact-container, .p-terms-container {
    background-color: #3a5be5
}

.p-header {
    padding: 30px 0 0 60px
}

.p-header__inner {
    width: auto
}

.p-contact {
    width: 880px;
    margin: 8% auto;
    position: relative;
}

.p-contact__title {
    margin-bottom: 20px;
    font-weight: 700;
    font-size: 14px;
    color: #fff
}

    .p-contact__title .indicator {
        margin-right: 5px
    }

.c-checkbox {
    font-size: 14px
}

.p-contact__text {
    font-size: 14px
}

.p-contact__info {
    font-size: 12px
}

.p-policy__text {
    color: #3c3c3c;
    font-size: 12px
}

.l-header {
    display: none
}

.l-main {
    color: #fff !important
}

.l-side {
    border-right: 1px solid #000
}

.l-wrapper .p-footer {
    width: unset
}

.p-footer {
    bottom: 0;
    right: 0
}

.p-footer__copy {
    text-align: right
}

    .p-footer__copy a {
        color: #fff !important
    }

.p-policy__text {
    height: 260px
}

.p-error {
    width: 600px;
    margin: 100px auto;
    position: unset;
    height: unset
}

.p-error__title {
    margin-bottom: 20px;
    font-weight: 700;
    font-size: 14px;
    color: #fff
}

.p-error__text {
    font-size: 18px;
    text-align: center;
    color: #4b4b4b
}

.p-policy-error {
    width: 100%;
    box-sizing: border-box;
    margin: 20px 0 20px;
    padding: 40px 16px 50px 16px;
    color: #3a5be5;
    background-color: #fff;
    font-size: 1.2rem
}

.p-error__text p:nth-child(3) {
    margin-bottom: 20px
}

.p-error__text p:last-child {
    height: 50px;
    display: block
}

@media only screen and (min-width: 960px) {
    .p-contact {
        margin: 10% auto;
        width: 600px
    }

    .p-footer {
        position: relative
    }

    .l-main {
        height: calc(100% - 45px)
    }

    .p-inquiry {
        height: 100%;
        padding: 0 25px;
    }
}

@media screen and (min-width: 461px) and (max-width:959px) {
    body {
        background-color: #3a5be5 !important
    }

    .p-footer {
        position: relative
    }

    .l-contents {
        overflow-y: hidden !important
    }

    .p-error {
        width: 96%;
        margin: 6% auto
    }

    .p-error__text {
        font-size: 15px
    }

    .p-policy-error {
        padding: 40px 10px 50px 10px
    }
}

@media screen and (max-width: 460px) {
    .p-footer {
        position: relative
    }

    .p-contact {
        width: 96%;
        margin: 10% auto;
        margin-top: 80px
    }

    body {
        background-color: #3a5be5 !important
    }

    .p-policy {
        height: 250px
    }

    .p-contact {
        width: 96%;
        margin: 10% auto;
        margin-top: 100px
    }

    .p-policy__text {
        height: 160px
    }

    .c-checkbox {
        width: 100%
    }

    .p-error {
        width: 96%;
        margin: 10% auto;
        margin-top: 100px
    }

    .p-policy-error {
        padding: 40px 10px 50px 10px
    }

    .p-error__text {
        font-size: 12px
    }
}

@media screen and (orientation: portrait) {
    .p-error-footer .p-footer {
        position: fixed
    }
}
