@charset "utf-8";
/*
Theme Name: HAKU child
Theme URI:https://tcd-theme.com/tcd080
Description:WordPressテーマ「HAKU」の子テーマ
Template:haku_tcd080
Author:TCD
Author URI:https://tcd-theme.com/
Version:1.0
*/

/*
  ここから下にCSSを追記してください。
*/
:root {
    --clr-gold: #C6A957;
}
/* display class */
.forSP {
    display: none !important;
}
.forPC {
    display: block !important;
}
@media screen and (max-width: 750px) {
    .forSP {
        display: block !important;
    }
    .forPC {
        display: none !important;
    }
}
/* 体験一覧用 */
.q_custom_table {
    th {
        background-color: var(--clr-gold) !important;
        font-weight: bold !important;
    }
}
.q_custom_heading {
    &.q_custom_heading--h2 {
        display: flex;
        align-items: center;
        gap: 1rem;
        .q_custom_heading--label {
            padding: 5px;
            background-color: var(--clr-gold);
        }
    }
}
.q_custom_clm {
    display: grid;
    &.q_custom_clm-2col {
        gap: 32px;
        @media screen and (min-width: 1024px) {
            grid-template-columns: repeat(2, 1fr);
        }
    }
}

/* お問い合わせ用 */
.wpcf7 p {
    margin-bottom: 0 !important;
}
.q_form_block {
    display: grid;
    gap: 1em;
	margin-top: 1em;
}
.q_form_input {
    display: flex;
    gap: .5em;
    .wpcf7-form-control-wrap {
        width: 100%;
    }
}
.q_form_label-group {
    display: flex;
    gap: .5em;
    align-items: center;
    .q_form_label-require {
        display: inline-block;
        padding: 3px;
        background-color: #FDE8E8;
        color: #cc0000;
    }
    .q_form_label-any {
        display: inline-block;
        padding: 3px;
        background-color: #cccccc;
        color: #333333;
    }
}
.q_privacy_policy_box {
	margin-top: 2em;
    .q_privacy_content {
        height: 200px;
        overflow-y: scroll;
        background-color: #fff;
        margin-top: 10px;
        padding: 10px;
        border: 1px solid #ddd;
    }
}
.q_form_checkbox,
.q_form_radio {
    padding: 20px;
    border: 1px solid #ddd;
    background-color: #fff;
    margin-bottom: 2em;
    .wpcf7-checkbox,
    .wpcf7-radio {
        display: flex;
        flex-wrap: wrap;
        gap: 1em;
        .wpcf7-list-item {
            margin: 0;
            label {
                display: flex;
                align-items: center;
                gap: 4px;
                input[type="checkbox"],
                input[type="radio"] {
                    margin: 0;
                }
            }
        }
    }
}
.q_form_group_wrap > * {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1em;
}
.q_form_btn_wrap {
    padding-bottom: 1.5em;
    > * {
        display: grid;
        gap: .5em;
    }
    .wpcf7-spinner {
        order: 3;
        margin-inline: auto;
    }
    .q_custom_button1 {
        &.wpcf7-previous {
            background-color: #fff;
            border: 1px solid #ccc !important;
            color: #000 !important;
            margin-top: 0;
            &:hover {
                background-color: #b9b9b9 !important;
            }
        }
    }
}
.wpcf7-form-control-wrap[data-name="product-title"] {
    .wpcf7-form-control.wpcf7-select {
        width: 100%;
        max-width: 100%;
    }
}
.q_form_input br {
    display: none;
}
/* google form 遷移用のボタンクラス */
.q_privacy-policy-area .q_custom_button3 {
  pointer-events: none;
  cursor: not-allowed;
  transition: 0.3s;
  opacity: 0.6;
}
.q_privacy-policy-area:has(input[type="checkbox"]:checked) .q_custom_button3 {
  opacity: 1;
  pointer-events: auto;
  cursor: pointer;
}