/*
Theme Name: Horse Academy
Theme URI:
Author: 株式会社 馬事学院（バジガク）
Description: 東関東馬事専門学院 custom theme. Converted from the static Bootstrap 5 site.
Version: 1.1.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: horse-academy
Tags: education, custom-theme, bootstrap
*/

/*
 * Theme styles live in assets/css/style.css and assets/css/responsive.css,
 * which are enqueued from functions.php. This file only carries the theme
 * header WordPress requires, plus a few admin-bar corrections.
 */

body.admin-bar .header {
    top: 32px;
}

@media screen and (max-width: 782px) {
    body.admin-bar .header {
        top: 46px;
    }
}

/* ---------- Enquiry forms (資料請求 / 見学会予約 / 個別相談) ---------- */

.contact-section {
    padding: 80px 0 120px;
}

.wpcf7-form p {
    margin-bottom: 24px;
}

.wpcf7-form label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
}

.wpcf7-form .wpcf7-form-control-wrap {
    display: block;
    margin-top: 8px;
}

.wpcf7-form .req {
    display: inline-block;
    margin-left: 8px;
    padding: 2px 8px;
    border-radius: 3px;
    background: #d9333f;
    color: #fff;
    font-size: 12px;
    font-weight: 400;
    vertical-align: middle;
}

.wpcf7-form input[type="text"],
.wpcf7-form input[type="email"],
.wpcf7-form input[type="tel"],
.wpcf7-form input[type="date"],
.wpcf7-form textarea {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 16px;
    font-family: inherit;
    background: #fff;
}

.wpcf7-form input:focus,
.wpcf7-form textarea:focus {
    outline: none;
    border-color: #d9333f;
    box-shadow: 0 0 0 3px rgba(217, 51, 63, .15);
}

.wpcf7-form .wpcf7-submit {
    display: block;
    margin: 40px auto 0;
    padding: 16px 48px;
    border: none;
    border-radius: 4px;
    background: #d9333f;
    color: #fff;
    font-size: 17px;
    font-weight: 600;
    cursor: pointer;
    transition: opacity .2s;
}

.wpcf7-form .wpcf7-submit:hover {
    opacity: .85;
}

/* CF7 validation and response messages */
.wpcf7-not-valid-tip {
    margin-top: 6px;
    color: #d9333f;
    font-size: 14px;
}

.wpcf7-response-output {
    margin: 24px 0 0 !important;
    padding: 16px !important;
    border-radius: 4px;
}

.wpcf7-form.sent .wpcf7-response-output {
    border-color: #9ccfa6 !important;
    background: #eaf6ec;
}

.wpcf7-form.invalid .wpcf7-response-output,
.wpcf7-form.failed .wpcf7-response-output {
    border-color: #e8a1a7 !important;
    background: #fdecee;
}

.wpcf7-spinner {
    margin: 16px auto 0;
    display: block;
}

.enquiry-notice {
    margin-bottom: 32px;
    padding: 24px;
    border-radius: 6px;
    text-align: center;
}

.enquiry-notice--ok {
    background: #eaf6ec;
    border: 1px solid #9ccfa6;
}

.enquiry-notice--ok .btn {
    margin-top: 16px;
}

.enquiry-notice--error {
    background: #fdecee;
    border: 1px solid #e8a1a7;
    text-align: left;
}

.enquiry-notice--error ul {
    margin: 0;
    padding-left: 20px;
}
