@charset "UTF-8";

/* ヘッダー */

.article__header {
    padding: 100px 0 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    background-image: url(../images/firstviewImg01.jpg);
    background-size: cover;
    background-position: center;
    background-color: rgba(255, 255, 255, 0.7);
    background-blend-mode: overlay;
}

.header__content {
    color: var(--primary-black);
    font-family: "M plus 1p";
    font-style: normal;
    font-weight: 600;
    line-height: 1.8;
    text-shadow: 0px 0px 0px rgba(255, 255, 255, 1);
}

/* header pc */

@media screen and (min-width:1024px) {
    .article__header {
        padding: 150px 0 60px;
    }
}


/* お問い合わせ*/

.section--form {
    padding: var(--section-padding);
    background: url(../images/backgroundImg.jpg), var(--primary-red, #FA5953);
    background-blend-mode: screen, normal;
    background-size: cover, cover;
}


.form__category {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    margin-top: 30px;
    gap: 20px;
}

.form__category:first-of-type {
    margin-top: 0;
}

.form__label {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 30px;
    border-radius: 20px;
    color: var(--primary-black, #333);
    font-family: "M plus 1p";
    font-size: 1.4rem;
    font-style: normal;
    font-weight: 600;
    line-height: 1.5;
    background-color: var(--primary-yellow, #ffc587);
}

.form__name {
    color: var(--primary-white, #fff);
    text-align: center;
    font-family: "M plus 1p";
    font-size: 2rem;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
}

.form__parts {
    padding-top: 50px;
}

.form__parts:first-of-type {
    padding-top: 0;
}

.group input {
    width: 100%;
    margin-top: 30px;
    height: 50px;
    color: var(--primary-black);
    background-color: var(--primary-yellow, #ffc587);
    text-align: left;
    font-family: "M plus 1p";
    font-size: 1.6rem;
    font-style: normal;
    font-weight: 400;
    line-height: 1.5;
    border: 1px solid var(--primary-black);
    padding-left: 10px;
}

::placeholder {
    opacity: 0.8;
}

.group__textArea textarea {
    width: 100%;
    margin-top: 30px;
    color: var(--primary-black);
    background-color: var(--primary-yellow, #ffc587);
    text-align: left;
    font-family: "M plus 1p";
    font-size: 1.6rem;
    font-style: normal;
    font-weight: 400;
    line-height: 1.5;
    border: 1px solid var(--primary-black);
    height: 210px;
    padding: 10px;
}

.form__parts--submit {
    line-height: 1.5;
    color: var(--primary-black);
    text-align: center;
    font-family: "M plus 1p";
    font-size: 1.4rem;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
}

input[type="submit"] {
    appearance: none;
    display: flex;
    justify-content: center;
    width: 316px;
    height: 50px;
    background-color: var(--primary-yellow, #ffc587);
    color: var(--primary-black, #333);
    margin: 50px auto 0;
    border-radius: 158px;
    overflow: hidden;
    position: relative;
    z-index: 1;
    text-decoration: none;
    transition: all 0.2s;
}

input[type="submit"] a {
    text-decoration: none;
}

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

.wpcf7-response-output {
    color: var(--primary-black);
    text-align: center;
    font-family: "M plus 1p";
    font-size: 1.4rem;
    font-style: normal;
    font-weight: 500;
    line-height: 1.5;
}

span.wpcf7-spinner {
    display: none;
}

input[type="radio"] {
    opacity: 0;
    visibility: hidden;
    position: absolute;
}

.wpcf7-list-item.first {
    margin-left: 0;
}

span.wpcf7-list-item-label {
    position: relative;
    display: flex;
    /*円とテキストを横並びにする*/
    align-items: center;
    /*円とテキストを上下中央揃えにする*/
    cursor: pointer;
    color: var(--primary-white, #fff);
}

span.wpcf7-list-item-label::before {
    display: block;
    content: "";
    border-radius: 50%;
    /*円の形にする*/
    border: 2px solid var(--primary-white, #fff);
    /*外側の円の太さと色*/
    width: 20px;
    /*外側の円の幅*/
    height: 20px;
    /*外側の円の高さ*/
    margin-right: 10px;
    /*円とテキストの間隔はここで調節*/
}

span.wpcf7-list-item-label::after {
    display: block;
    position: absolute;
    content: "";
    border-radius: 50%;
    width: 12px;
    /*内側の円の幅*/
    height: 12px;
    /*内側の円の高さ*/
    background-color: var(--primary-yellow, #ffc587);
    /*内側の円の色*/
    left: 4px;
    /*横位置調整*/
    top: 50%;
    transform: translateY(-50%);
}

span.wpcf7-list-item-label::after {
    /*省略*/
    display: none;
    /*追加*/
}

input[type="radio"]:checked+span.wpcf7-list-item-label::after {
    display: block;
    /*ラジオボタンがチェックされたとき表示*/
}

.wpcf7-list-item-label {
    font-size: 1.6rem;
    margin-top: 10px;
}

.group {
    margin-top: 20px;
}

.group__radio {
    margin-top: 30px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.group__textArea {
    margin-top: 30px;
}

.wpcf7 form.unaccepted .wpcf7-response-output,
.wpcf7 form.payment-required .wpcf7-response-output {
    border-color: var(--primary-green);
}

.wpcf7 form.failed .wpcf7-response-output,
.wpcf7 form.aborted .wpcf7-response-output {
    border: 1px solid #dc3232;
    display: inline-block;
    position: relative;
    left: 50%;
    transform: translateX(-50%);
    margin: 50px auto 0;
}

.wpcf7 form .wpcf7-response-output {
    margin: 50px auto 0;
    border: 1px solid #00a0d2;
    display: inline-block;
    position: relative;
    left: 50%;
    transform: translateX(-50%);
}

.wpcf7 form.sent .wpcf7-response-output {
    border-color: #46b450;
    margin: 50px 0 auto;
}

.wpcf7 form.invalid .wpcf7-response-output,
.wpcf7 form.unaccepted .wpcf7-response-output,
.wpcf7 form.payment-required .wpcf7-response-output {
    border-color: rgb(255, 185, 0);
    margin: 50px 0 auto;
}

/* お問い合わせ pc */

@media screen and (min-width:1024px) {

    .form__parts {
        width: 100%;
        padding-top: 70px;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .form__category {
        margin-top: 0;
    }

    .group {
        margin-top: 0px;
    }

    .group input {
        width: 580px;
        margin-top: 0;
    }

    .form__label {
        width: 60px;
        height: 45px;
    }

    .group__textArea textarea {
        width: 580px;
        text-align: left;
        margin-top: 0;
    }

    .group__textArea {
        margin-top: 0px;
    }

    .form__parts--form {
        align-items: center;
    }

    .form__parts--submit {
        text-align: center;
    }

    .btn--form {
        margin: 100px auto 0;
    }

    .wpcf7-list-item {
        display: inline-block;
    }

    .wpcf7-list-item-label {
        margin-top: 0px;
        font-size: 2rem;
    }

    .group__radio {
        display: flex;
        justify-content: center;
        margin-top: 0px;
    }

    .wpcf7-list-item,
    .wpcf7-list-item .last {
        padding-left: 20px;
    }

    .group__radio p {
        margin-top: 0px;
    }

    input[type="submit"] {
        margin: 70px auto 0;
    }

}