@charset "UTF-8";

.article__header {
    padding: 60px 0;
    background-color: #F8ED00;
}

@media screen and (min-width: 769px) {
    .article__header {
        height: 300px;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }
}/* pc 769px */

/*====================

  Contact

====================*/

.contact__txt {
    padding: 80px 4% 40px;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.contact {
    padding: 30px 4% 100px;
}

.form {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.form__parts {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.category__group {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 15px;
}

.form__category {
    font-size: 1.6rem;
    font-weight: 700;
    line-height: 1.0;
    letter-spacing: 1.6px;
}

.contact__iconPc {
    display: none;
}

.contact__iconSp {
    width: 44px;
}

input[type="text"],
.group__textArea {
    display: block;
    width: 100%;
    padding: 8px 16px;
    border: 1px solid #9F9E9E;
    background: #fff;
    font-size: 1.4rem;
}

input[type="text"]:focus,
.group__textArea:focus {
    outline: solid 1px #333;
}

.group__textArea {
    height: 250px;
}

.form__footer {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px 0 0;
    gap: 25px;
}

.policy {
    display: flex;
    flex-direction: row;
    align-items: center;
    color: #333;
    font-size: 1.6rem;
    line-height: 100%;
    letter-spacing: 1.6px;
}

.policy__link {
    text-decoration-line: underline;
}

.policy__link:hover {
    opacity: 0.5;
}

input[type="checkbox"] {
    width: 18px;
    height: 18px;
    border: 1px solid #9F9E9E;
    background: #fff;
    margin-right: 5px;
}

input[type="checkbox"]:checked {
    position: relative;
}

input[type="checkbox"]:checked::after {
    display: inline-block;
    content: '';
    width: 10px;
    height: 5px;
    border-left: 1.5px solid #333;
    border-bottom: 1.5px solid #333;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(-45deg);
}

.btn__form {
    font-family: "Zen Maru Gothic";
    border: none;
}

input[type="submit"] {
    background-color: #122A88;
    color: #fff;
}

input[type="submit"]:hover {
    opacity: 0.5;
}

input[type="submit"][disabled] {
    background-color: #ccc;
    cursor: default;
}

input[type="submit"][disabled]:hover {
    opacity: 1.0;
}

.thanks {
    padding: 60px 4%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 60px;
}

.btn__toTop {
    font-family: "Zen Maru Gothic";
    font-size: 1.4rem;
}

/*--------------------
  Contact pc START  
--------------------*/

@media screen and (min-width: 769px) {
    .contact__txt {
        margin: 0 auto;
        align-items: center;
        gap: 40px;
        padding: 100px 7.6% 70px;
    }

    .contact {
        padding: 30px 19% 160px;
    }

    .form {
        display: flex;
        flex-direction: column;
        gap: 60px;
    }

    .form__parts {
        display: flex;
        flex-direction: column;
        gap: 30px;
    }

    .category__group {
        gap: 30px;
    }

    .form__category {
        font-size: 2.4rem;
        letter-spacing: 2.4px;
    }

    .contact__iconPc {
        display: block;
        width: 57px;
    }

    .contact__iconSp {
        display: none;
    }

    input[type="text"],
    .group__textArea {
        font-size: 1.6rem;
    }

    .group__textArea {
        height: 400px;
    }

    .form__footer {
        padding: 40px 0 0;
        gap: 30px;
    }

    .policy {
        font-size: 2.4rem;
        letter-spacing: 2.4px;
    }

    input[type="checkbox"] {
        width: 32px;
        height: 32px;
        margin-right: 10px;
    }

    input[type="checkbox"]:checked::after {
        width: 20px;
        height: 10px;
    }

    .thanks {
        padding: 100px 7.6%;
        gap: 80px;
    }

    .thankstxt {
        text-align: center;
    }

    .btn__toTop {
        font-size: 1.6rem;
    }
}
/*--------------------
  Contact pc END  
--------------------*/