/*===============================
Article
===============================*/
.inquiries-header {
    margin-bottom: 30px;
    text-align: center;
}
.inquiries-header figure {
    width: 59%;
    max-width: 236px;
    margin: 0 auto;
    padding: 80px 0;
    text-align: center;
}
.inquiries-header h2 {
    display: block;
    margin-bottom: 26px;
    font-weight: 600;
    font-size: 30px;
}
.inquiries-header p {
    font-size: 16px;
}

.inquiries-other {
    margin-top: 100px;
}

.inquiries {
    max-width: 924px;
    margin: 10px auto 100px auto;
}
.inquiries table {
    display: table;
    width: 100%;
    padding: 30px;
    border: 1px solid #e2e2e2;
    box-sizing: border-box;
    background: #fbfbfb;
}

.inquiries table th {
    padding-top: 15px;
    color: #2a2e2e;
    font-weight: normal;
    font-size: 16px;
    text-align: right;
    vertical-align: middle;
}
.inquiries table td {
    padding: 15px 70px 15px 15px;
    color: #2a2e2e;
    vertical-align: middle;
}
.inquiries table th span.notes {
    color: #919797;
    font-size: 13px;
}

.inquiries table tr:first-child th, .inquiries table tr:first-child td {
    padding-top: 50px;
}
.inquiries table tr:last-child th, .inquiries table tr:last-child td {
    padding-bottom: 50px;
    vertical-align: top;
}

.inquiries table td input[type="text"], .inquiries table td input[type="email"], .inquiries table td textarea {
    width: 100%;
    max-width: 100%;
    padding: 6px;
    border: 1px solid #e2e2e2;
    background: #ffffff;
    font-size: 15px;
    line-height: 1.1em;
    outline: none;
    resize: vertical;
}

.inquiries table td input[type="text"]:focus, .inquiries table td input[type="email"]:focus, .inquiries table td textarea:focus {
    border: 1px solid #0052df;
    box-shadow: 0 0 2px #0052df;
}

.inquiries table td label {
    display: inline-block;
    margin-right: 1.2em;
    padding: 0 5px;
    cursor: pointer;
}
.inquiries table td label input[type="radio"] {
    margin-right: 5px;
}

.inquiries table td label input {
    border-radius: 100%;
    background: #ffffff;
}

.inquiries table td label input[type="radio"]:checked + .wpcf7-list-item-label {
    color: #000000;
    font-weight: bold;
}

.inquiries table td .wpcf7-not-valid-tip {
    display: block;
    margin-top: 5px;
    color: #e74c3c;
    font-size: 12px;
}

.screen-reader-response ul {
    display: none;
}
.screen-reader-response p {
    display: none;
    width: 450px;
    margin: auto;
    padding: 20px;
    border: 1px solid #e74c3c;
    border-radius: 10px;
    box-sizing: border-box;
    background: #ffebeb;
    color: #e74c3c;
    font-size: 12px;
    text-align: center;
}

.inquiries-agree {
    padding: 30px;
    color: #5f6464;
    text-align: center;
}
.inquiries-agree p {
    display: block;
    margin-bottom: .7em;
    line-height: 1.5em;
}

label[for="agree"] {
    display: block;
    padding: 12px;
    cursor: pointer;
}
label[for="agree"]:hover {
    color: #000000;
}
.inquiries-agree input[type="checkbox"] {
    display: inline-block;
    margin-right: 5px;
}
.inquiries-agree input[type="checkbox"]:checked + .wpcf7-list-item-label {
    color: #000000;
    font-weight: bold;
}

.inquiries-agree .wpcf7-not-valid-tip {
    display: block;
    padding: 3px;
    color: #e74c3c;
    font-size: 12px;
}

.inquiries-submit {
    text-align: center;
}
.inquiries-submit input[type="submit"] {
    display: block;
    width: 230px;
    margin: auto;
    padding: 22px 0;
    background: #0050da;
    color: #ffffff;
    line-height: 1em;
}
.inquiries-submit input[type="submit"]:hover {
    opacity: .8;
}

.inquiries_item_ps_list {
    width: 100%;
    max-width: 735px;
    margin: 0 auto 25px auto;
    padding: 2% 3%;
    background-color: var(--lightgray);
    font-size: 14px;
}

.inquiries_item_ps_list--wechatpay {
    width: 100%;
    margin: 0 auto 25px auto;
    padding: 2% 3%;
    font-size: 14px;
}

.inquiries_item_ps_item:first-of-type {
    margin-bottom: 12px;
}

.inquiries_item_ps_item {
    line-height: 1.3em;
}

.inquiries_item_other {
    margin-bottom: 150px;
    text-align: center;
}

.inquiries_item_ps_list .font_selected_text_color, .inquiries_item_other .font_selected_text_color {
    text-decoration: underline;
}

.wpcf7-response-output {
    margin: auto;
    text-align: center;
}

@media screen and (max-width: 767px) {
    .inquiries-other {
        margin-top: 80px;
    }

    .inquiries table, .inquiries table tr, .inquiries table th, .inquiries table td {
        display: block;
        width: 100% !important;
        padding: 5px;
        box-sizing: border-box;
        text-align: left;
    }
    .inquiries table {
        padding: 20px 5px;
    }
    .inquiries table tr {
        display: inline-block !important;
        margin: 0 0 1em 0;
    }
    .inquiries table tr:first-child th, .inquiries table tr:first-child td, .inquiries table tr:last-child th, .inquiries table tr:last-child td {
        padding: 5px;
    }
    .inquiries table td input[type="text"], .inquiries table td input[type="email"] {
        width: 100%;
        padding: 12px 5px;
        box-sizing: border-box;
        font-size: 18px;
    }
    .inquiries table tr {
        margin-bottom: 1em;
    }
    .inquiries table td * {
        margin-left: 0;
    }
    .inquiries-agree {
        padding: 10px 5px;
        font-size: 90%;
        text-align: left;
    }
    .inquiries table td label {
        padding: 3px 0;
    }
    label[for="agree"], .inquiries-agree label * {
        margin: 0;
        padding: 0;
        text-align: left;
    }

    .inquiries_item_ps_list {
        padding: 4% 3%;
    }
}
