/* formリセット */
span,
label {
    display: inline-block;
}
[type="text"],
[type="search"],
[type="tel"],
[type="url"],
[type="email"],
[type="password"],
[type="date"],
textarea,
select {
    background-color: #fff;
    background-image: none;
    border: 1px solid var(--color-BorderGray);
    border-radius: 0;
    color: inherit;
    font-family: inherit;
    font-size: 16px;
    padding: 11px 20px 11px 20px;
    width: 100%;
}
::placeholder {
    color: var(--color-TextGray);
}
select:has(option:checked[value=""]) {
    color: var(--color-TextGray);
}
.contactForm__list {
    display: block;
    font-size: var(--18px);
    font-weight: 700;
    position: relative;
}
.contactForm__list + .contactForm__list {
    margin-top: 32px;
}
.contactForm__list:first-of-type {
    margin-top: 50px;
}
.contactForm__text {
    font-size: var(--fontMax16Min14);
    font-weight: 400;
    margin: 0 auto;
    max-width: 700px;
}

.required {
    background-color: var(--colorSkyBlue);
    color: var(--colorWhite);
    font-size: var(--12px);
    font-weight: 400;
    margin-right: 8px;
    padding: 0.3125rem 0.625rem 0.3125rem 0.625rem;
}
@media screen and (max-width: 767px) {
    .contactForm__list + .contactForm__list {
        margin-top: 20px;
    }
    .contactForm__list:first-of-type {
        margin-top: 30px;
    }
}
/* ============================= */
/* 各ボックス カスタム*/
/* ============================= */
.contactForm__list label {
    width: 100%;
}
.wpcf7-form-control-wrap {
    display: block;
    margin-top: 8px;
    width: 100%;
}
/* .contactForm__inputText {
} */
.contactForm textarea {
    height: 92px;
}


/* ============================= */
/* 同意チェックボックス */
/* ============================= */
.contactForm__ChecktextWrapper {
    margin-top: 50px;
}
.contactForm__Checktext {
    margin-top: 20px;
    text-align: center;
}
.acceptance-1 {
    display: inline-block;
    width: fit-content;
}
.contactForm__submit {
    margin-top: 50px;
    text-align: center;
}
.submit {
    background-color: var(--colorSkyBlue);
    background-image: none;
    border: 1px solid var(--colorSkyBlue);
    border-radius: 50px;
    color: #fff;
    cursor: pointer;
    display: inline-block;
    font-size: var(--14px);
    margin: 0;
    min-width: 326px;
    padding: 1rem;
    text-decoration: none;
    width: auto;
}
.submit.is-disabled {
    background-color: var(--color-bgGray);
    color: #888;
    cursor: not-allowed;
    border: 1px solid var(--color-bgGray);
    pointer-events: none;
}
.submit.is-active:hover,
.submit.is-active:focus {
    background-color: #fff;
    color: var(--colorSkyBlue);
}
.wpcf7-spinner {
    display: block;
    margin: 0 auto;
}
/* エラー表示 位置を変更する場合*/
.wpcf7-not-valid-tip {
    display: none;
}
.error-message {
    color: var(--colorRed);
    display: none;
    font-size: var(--14px);
}
.contactForm__list:has(.wpcf7-not-valid-tip) .error-message {
    display: inline-block;
    padding-left: 8px;
}

/* ============================= */
/* 共通 */
/* ============================= */
.mt-50 {
    margin-top: 50px;
}

/* ============================= */
/* セレクトボックス　カスタム */
/* ============================= */
.formSelect select {
    appearance: none;
    -webkit-appearance: none;
    position: relative;
}
.formSelect select::after {
    content: "";
    background: url(../images/common/icon__arrow--blue.svg) no-repeat right 12px center / 46px auto;
    width: 46px;
    height: 46px;
    display: inline-block;
    position: absolute;
    right: 0%;
    top: 0%;
    /* transform: translate(-50%, -50%); */
}

/* ============================= */
/* 以下、ラジオボタンカスタム */
/* ============================= */
.formRadio .wpcf7-form-control-wrap {
    display: inline-block;
    width: auto;
}
.formRadio__input input {
    /*  表示領域を消す */
    clip: rect(0, 0, 0, 0);
    height: 1px;
    overflow: hidden;
    position: absolute;
    width: 1px;
}
.formRadio__input .wpcf7-list-item-label {
    padding-left: 24px;
    position: relative;
    font-size: var(--16px);
    font-weight: 400;
}
.formRadio__input .wpcf7-list-item-label::before,
.formRadio__input .wpcf7-list-item-label::after {
    border-radius: 50%;
    content: "";
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
}
.formRadio__input .wpcf7-list-item-label::before {
    border: 1px solid #888;
    height: 16px;
    left: 0;
    width: 16px;
}
.formRadio__input input:checked + .wpcf7-list-item-label::after {
    background-color: orange;
    height: 10px;
    left: 4px;
    width: 10px;
}
.formRadio__input input:focus-visible + .wpcf7-list-item-label::before {
    outline: 2px solid #888;
}
@media screen and (max-width: 767px) {
    .contactForm__ChecktextWrapper {
        margin-top: 30px;
    }
    .contactForm__submit {
        margin-top: 30px;
    }

}