/* =============================
header　下層ページカスタム
============================= */
.header {
    position: static;
}

.header-logo__txt {
    color: var(--primary-black);
}

/* nav初期表示 */
.header.active {
    position: sticky;
}

.header-nav {
    background-color: rgba(from var(--primary-light-gray) r g b / 0.8);
}

.blur-overlay {
    background-color: rgba(from var(--primary-light-gray) r g b / 0.2);
}

/* ハンバーガーメニュー */
.hamburger span {
    background-color: var(--primary-black);
}

/* nav active表示 */
.header-nav.active {
    box-shadow: 1px 1px 8px var(--primary-dark-gray);
}

body.menu-open main,
body.menu-open footer {
    filter: blur(4px);
    transition: filter 0.5s ease;
}

/* header pc */
@media screen and (min-width:769px) {
    .header-nav {
        background-color: transparent;
    }

    .header-nav__item a {
        color: var(--primary-black);
    }

    .header-nav__item a::before {
        background-color: var(--primary-black);
    }
} /* pc 769px */

/* =============================
contact
============================= */
.article__desc {
    margin-top: 56px;
    line-height: 1.7;
    letter-spacing: 0.04em;
}

.form {
    margin-top: 40px;
    border-top: 1px solid var(--primary-dark-gray);
}

.form__item {
    margin-top: 32px;
}

.form__category {
    display: flex;
    align-items: center;
    gap: 16px;
    font-size: 1.4rem;
    font-weight: 700;
    line-height: 1.7;
    letter-spacing: 0.04em;
}

.mandatory {
    padding: 4px 8px;
    background-color: var(--accent-blue);
    border-radius: 8px;
    color: var(--primary-light-gray);
    font-family: 'BIZ UDGothic', sans-serif;
    font-size: 1.2rem;
    font-weight: 700;
    line-height: 1;
}

.voluntary {
    padding: 4px 8px;
    background-color: var(--primary-dark-gray);
    border-radius: 8px;
    font-family: 'BIZ UDGothic', sans-serif;
    font-size: 1.2rem;
    font-weight: 400;
    line-height: 1;
}

.form__answer {
    margin-top: 8px;
    line-height: 1.7;
    letter-spacing: 0.04em;
}

.form__answer--flex {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.radio {
    display: flex;
    align-items: center;
    gap: 10px;
}

.radio input {
    appearance: none;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background-color: var(--primary-light-gray);
    position: relative;
}

.radio input::before {
    content: '';
    width: 10px;
    height: 10px;
    background-color: var(--primary-black);
    background-repeat: no-repeat;
    border-radius: 50%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    opacity: 0;
}

.radio input:checked::before {
    opacity: 1;
}

.form__txt {
    padding: 8px;
    width: 100%;
    border-radius: 4px;
    background-color: var(--primary-light-gray);
}

.form__agree {
    margin-top: 32px;
    padding-top: 32px;
    border-top: 1px solid var(--primary-dark-gray);
}

.form__agree-txt {
    line-height: 1.7;
    letter-spacing: 0.04em;
}

.form__agree-txt a {
    text-decoration: underline;
}

.form__agree-check {
    margin-top: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.form__agree-check input {
    appearance: none;
    width: 16px;
    height: 16px;
    background-color: var(--primary-dark-gray);
    position: relative;
}

.form__agree-check input::before {
    content: '';
    width: 6px;
    height: 12px;
    position: absolute;
    top: 50%;
    left: 1px;
    transform: rotate(35deg) skewY(12deg) translateY(-50%);
    transform-origin: center right;
    border-right: 2px solid var(--primary-black);
    border-bottom: 2px solid var(--primary-black);
    opacity: 0;
}

.form__agree-check input:checked::before {
    opacity: 1;
}

.form__btn {
    margin-top: 32px;
    padding-top: 32px;
    text-align: center;
    border-top: 1px solid var(--primary-dark-gray);
}

.formBtn {
    background-color: var(--primary-navy);
    padding: 8px 48px 8px 24px;
    border-radius: 4px;
    color: var(--primary-light-gray);
    font-family: 'BIZ UDGothic', sans-serif;
    font-size: 1.7rem;
    font-weight: 700;
    line-height: 1.7;
    letter-spacing: 0.08em;
    position: relative;
}

.formBtn::before {
    content: '';
    background-repeat: no-repeat;
    background-size: cover;
    position: absolute;
    top: 50%;
    right: 24px;
    transform: translateY(-50%);
}

.formBtn--confirm::before {
    width: 8px;
    height: 8px;
    background-image: url(../images/btn-arrow-gray.svg);
}

/* 確認画面 */
table.form {
    display: block;
}

table.form tbody {
    display: block;
}

table.form tr {
    display: flex;
    flex-direction: column;
    margin-top: 32px;
}

table.form th {
    font-size: 1.4rem;
    font-weight: 700;
    line-height: 1.7;
    letter-spacing: 0.04em;
}

table.form td {
    line-height: 1.7;
    letter-spacing: 0.04em;
}

.formBtn--submit::before {
    width: 14px;
    height: 14px;
    background-image: url(../images/btn-submit.svg);
}

.formBtn--back {
    background-color: var(--primary-dark-gray);
    padding: 8px 24px;
    color: var(--primary-black);
    font-weight: 400;
}

.formBtn--back::before {
    display: none;
}

/* contact pc */
@media screen and (min-width:769px) {
    .article__desc {
        margin-top: 72px;
        font-size: 1.8rem;
        line-height: 2;
    }

    .form {
        margin-top: 56px;
    }

    .form__item {
        margin: 40px auto 0;
        width: 66.7%;
    }

    .form__category {
        gap: 24px;
        font-size: 1.7rem;
    }

    .mandatory {
        font-size: 1.4rem;
    }

    .voluntary {
        font-size: 1.4rem;
    }

    .form__answer {
        font-size: 1.8rem;
    }
/*  */
    .form__answer--flex {
        flex-direction: column;
        gap: 8px;
    }
/*  */
    .radio {
        gap: 20px;
    }

    .radio input {
        width: 24px;
        height: 24px;
    }

    .radio input::before {
        width: 12px;
        height: 12px;
    }

    .form__txt {
        padding: 8px 12px;
    }

    .form__agree {
        margin-top: 40px;
        padding-top: 40px;
        text-align: center;
    }

    .form__agree-txt {
        font-size: 1.8rem;
    }

    .form__agree-check {
        margin-top: 24px;
        gap: 16px;
    }

    .form__agree-check input {
        width: 20px;
        height: 20px;
    }

    .form__agree-check input::before {
        width: 8px;
        height: 16px;
        left: 0;
        transform: rotate(35deg) skewY(16deg) translateY(-50%);
    }

    .form__btn {
        margin-top: 40px;
        padding-top: 40px;
    }

    .formBtn {
        padding: 8px 66px 8px 40px;
        font-size: 2rem;
        letter-spacing: 0.16em;
    }

    .formBtn::before {
        width: 10px;
        height: 10px;
        right: 40px;
    }

    /* 確認画面 */
    table.form tr {
        margin: 40px auto 0;
        width: 66.7%;
    }

    table.form th {
        font-size: 1.7rem;
    }

    table.form td {
        font-size: 1.8rem;
    }

    .formBtn--back {
        padding: 8px 40px;
    }
} /* pc 769px */












