/*====================================================================
common 

こちらには共通パーツのcss記述しています。

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

.contact {
    margin-top: 150px;
}

.contact-tabs {
    display: flex;
    justify-content: space-between;
    margin-top: 80px;
    /* border-bottom: 1px solid #ccc; */
}

.contact-tab {
    /* flex: 1; */
    width: 49%;
    padding: 18px 0;
    text-align: center;
    /* background: #f5f5f5; */
    background: #fff;
    font-size: 16px;
    border: 1px solid #ccc;
    border-bottom: none;
    cursor: pointer;
    /* transition: 0.2s; */
}

.contact-tab:not(.contact-tab--active):hover {
    background: #eaeaea;
}

.contact-tab--active {
    background: #ffffff;
    /* font-weight: 600; */
    /* border-bottom: 2px solid #ffffff; */
}

.contact-tab-content {
    display: none;
    background: #e5e5e5;
    /* padding: 40px; */
    /* border: 1px solid #ccc; */
}

.contact-tab-content--active {
    display: block;
}

#request-form.contact-tab-content--active {
    background: #c9f3f1;
}

.contact-tab[data-target="contact-form"].contact-tab--active {
    background: #e5e5e5;
}

.contact-tab[data-target="request-form"].contact-tab--active {
    background: #c9f3f1;
}

.wpcf7 form.invalid .wpcf7-response-output, .wpcf7 form.unaccepted .wpcf7-response-output, .wpcf7 form.payment-required .wpcf7-response-output {
    display: none;
}

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

お問合せ contact

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

.contact-description {
    text-align: center;
    margin-top: 50px;
}

.contact-description a {
    color: rgb(62, 62, 255);
}

.contact-description a:hover {
    opacity: 0.7;
}

.contact-form {
    max-width: 900px;
    margin: 0 auto;
    padding: 40px 40px 60px;
    /* margin: 30px auto 40px; */
}

/* 各行レイアウト */
.contact-row {
    display: flex;
    align-items: flex-start;
    margin-bottom: 30px;
    font-size: 14px;
}

/* ラベル部分 */
.contact-label {
    width: 150px;
    padding-top: 10px;
    font-size: 14px;
    font-weight: 600;
}

/* 必須バッジ */
.contact-required {
    display: inline-block;
    margin-left: 6px;
    font-size: 11px;
    padding: 2px 6px;
    border-radius: 2px;
    background: #ff5b7e;
    color: #fff;
}

/* 入力エリア */
.contact-row>.wpcf7-form-control-wrap,
.contact-row>span.wpcf7-form-control-wrap {
    flex: 1;
}

/* テキスト・メール・TEL */
.contact-input,
.contact-textarea {
    width: 100%;
    box-sizing: border-box;
    padding: 12px 16px;
    border-radius: 4px;
    border: none;
    background: #ffffff;
    font-size: 14px;
}

/* テキストエリア */
.contact-textarea {
    height: 160px;
    resize: vertical;
}

/* 注意書き行 */
.contact-row--note {
    display: block;
    /* flex-direction: column; */
    font-size: 12px;
    text-align: center;
    line-height: 1.8;
    /* margin: 0 auto; */
    margin-top: 24px;
}

.contact-row--note .contact-label {
    width: 100%;
    padding-top: 0;
    font-weight: normal;
}

.contact-privacy-link {
    text-decoration: underline;
}

/* 同意チェック行 */
.contact-row--agree {
    text-align: center;
    justify-content: center;
    font-size: 13px;
}

.contact-row--agree .wpcf7-acceptance {
    margin-right: 8px;
}

.request-row {
    display: flex;
    align-items: flex-start;
    margin-bottom: 30px;
    font-size: 14px;
}

.request-label {
    width: 160px;
    padding-top: 10px;
    font-weight: 600;
}

.shop-label {
    width: 150px;
}

.request-field--shop {
    display: flex;
    align-items: center;
    gap: 12px;
}

.request-field--shop>span:nth-of-type(2) {
    width: 30%;
    margin-left: 10px;
}

.room-unit {
    width: 70%;
    margin-left: 10px;
}

.room-group {
    display: flex;
    justify-content: center;
    align-items: center;
}

.request-input, .request-select {
    width: 100%;
    padding: 12px 16px;
    border: none;
    border-radius: 4px;
    background: #fff;
    box-sizing: border-box;
    font-size: 14px;
}

.request-input {
    font-size: 16px;
}

.request-field br {
    display: none;
}

.request-required {
    display: inline-block;
    margin-left: 6px;
    font-size: 11px;
    color: #fff;
    background: #ff5b7e;
    padding: 2px 6px;
    border-radius: 2px;
}

/* 送信ボタン */
.contact-row--submit {
    align-items: center;
    justify-content: center;
    text-align: center;
    margin-top: 20px;
}

.contact-submit {
    padding: 14px 60px;
    border-radius: 4px;
    border: none;
    background: #555;
    color: #fff;
    font-size: 14px;
    cursor: pointer;
}

.wpcf7-spinner {
    display: none;
}

.wpcf7-response-output {
    display: none !important;
}


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








ここからレスポンシブ対応
タブレット、スマホ









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


@media (max-width: 980px) {


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

お問合せ contact

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

    .contact {
        width: 90%;
        margin: 0 auto;
        margin-top: 50px;
    }

    .contact-form br {
        display: none;
    }

    .contact-row {
        display: block;
        /* flex-direction: column; */
        margin-bottom: 30px;
    }

    .contact-label {
        display: block;
        width: 100%;
        margin-bottom: 6px;
        padding-top: 0;
    }

    .request-row {
        display: block;
    }

    .request-label {
        display: block;
        width: 100%;
        margin-bottom: 6px;
        padding-top: 0;
    }

    .request-field--shop {
        display: block;
    }

    .request-field--shop>span:nth-of-type(2) {
        width: 100%;
        margin-left: 0;
    }

    .room-group {
        display: block;
    }

    .room-unit {
        width: 100%;
    }

    .request-input {
        width: 50%;
        font-size: 14px;
        margin-top: 10px;
    }

    .wpcf7-form-control-wrap {
        /* display: block; */
    }

    .contact-row>.wpcf7-form-control-wrap {
        width: 100%;
    }

}