@charset "utf-8";

/* ==============================
contact
================================ */

.article{
    background-color: #FFFBF1;
    padding: 20px 10% 50px;
}

.contact__announce{
    width: 17em;
    margin: 25px auto 0;
    font-size: 1.6rem;
    display: none;
}

.form__parts{
    display: none;
}

.form__category{
    margin-top: 27px;
    font-weight: 700;
    font-size: 1.8rem;
}

input[type="text"],
.group__textarea{
    display: block;
    width: 100%;
    font-size: 1.8rem;
    padding: 4px 5px 0 5px;
    background-color: white;
    border-radius: 5px;
    border: 1px solid #C2C2BE;
}

.care{
    color: #F85858;
}

.policy__text{
    width: 100%;
    height: 200px;
    border-radius: 5px;
    border: 1px solid #C2C2BE;
    font-size: 1.1rem;
    line-height: 1.7;
    background: #FFF;
    overflow: scroll;
}

.form__parts--policy{
    display: flex;
    font-size: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 10px;
}

input[type="checkbox"] {
    width: 20px;
    height: 20px;
    margin-right: 8px;
    background: white;
    border: 1px solid #C2C2BE;
    border-radius: 3px;
    transform: translateY(-10%);
}

input[type="checkbox"]:checked{
    position: relative;
}

input[type="checkbox"]:checked::after{
    display: inline-block;
    content: '';
    width: 10px;
    height: 7px;
    border-left: 2px solid #AE4A14;
    border-bottom: 2px solid #AE4A14;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(-45deg);
}

.btn--form{
    display: flex;
    justify-content: center;
    margin-top: 20px;
    background: #08CABA;
    color: white;
}

.btn--form::before{
    content: "";
    background-image: url(../images/mail.png);
    width: 26px;
    height: 17px;
    background-size: contain;
    z-index: 100;
    position: absolute;
    transform: translate(-230%, 45%);
}

/* contact pc */
@media screen and (min-width: 769px){
    .contact__announce{
        width: 27em;
        margin: 50px auto 0;
        font-size: 2.4rem;
    }

    .spbr{
        display: none;
    }

    .form__category{
        margin-top: 70px;
        font-size: 2.4rem;
    }

    input[type="text"],
    .group__textarea{
        font-size: 2.4rem;
    }

    .policy__text{
        height: 300px;
        font-size: 1.5rem;
    }

    .form__parts--policy{
        font-size: 2.2rem;
        margin-top: 40px;
    }

    input[type="checkbox"] {
        width: 28px;
        height: 28px;
    }

    input[type="checkbox"]:checked::after{
        width: 18px;
        height: 12px;
        border-left: 3px solid #AE4A14;
        border-bottom: 3px solid #AE4A14;
        top: 40%;
    }

    .btn--form{
        margin-top: 70px;
    }

    .btn--form::before{
        width: 41px;
        height: 28px;
    }
}
/* pc 769px */