@charset "utf-8";

/* ==================================================
   共通設定
================================================== */
.page-contact .inner {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ==================================================
   ##01: タイトル（ネイビー帯）
================================================== */
.page-head {
    margin-top: 100px;
    padding: 50px 0;
    background-color: #F4B942;
    text-align: center;
}

.page-head .ttl {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    justify-content: center !important;
    gap: 8px !important;
    margin: 0 !important;
}

.page-head .ttl .en {
    font-size: 28px !important;
    color: #ffffff !important;
    opacity: 0.4 !important;
    font-weight: 700 !important;
    letter-spacing: 0.08em !important;
    line-height: 1 !important;
}

.page-head .ttl .jp {
    font-size: 42px !important;
    color: #ffffff !important;
    font-weight: 700 !important;
    letter-spacing: 0.05em !important;
    line-height: 1.2 !important;
}

/* ==================================================
   ##02: 案内＆お電話カード
================================================== */
.sec-contact-intro {
    padding: 80px 0 40px;
}

.intro-box {
    text-align: center;
}

.intro-box .lead-txt {
    font-size: 1.6rem;
    line-height: 2.0;
    color: #030303;
    font-weight: 500;
    margin-bottom: 40px;
}

/* お電話カード */
.tel-card {
    background-color: #FFF6F0;
    border: 2px solid #FA8028;
    border-radius: 20px;
    padding: 30px 40px;
    max-width: 500px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.tel-head {
    display: flex;
    align-items: center;
    gap: 12px;
}

.tel-head .badge {
    background-color: #FA8028;
    color: #fff;
    font-size: 1.2rem;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 20px;
}

.tel-head .tel-time {
    font-size: 1.4rem;
    color: #666;
    font-weight: 700;
}

.tel-num {
    font-size: 3.2rem;
    font-weight: 700;
    color: #FA8028;
    text-decoration: none;
    letter-spacing: 0.05em;
    transition: opacity 0.3s ease;
}

.tel-num:hover {
    opacity: 0.8;
}

/* ==================================================
   ##03: フォームエリア (CF7対応)
================================================== */
.sec-contact-form {
    padding: 40px 0 100px;
}

/* 外枠の白カード */
.sec-contact-form .block-outer {
    background-color: #FFFFFF !important;
    border-radius: 40px !important;
    padding: 70px 80px !important;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.04) !important;
}

.form-head {
    text-align: center;
    margin-bottom: 50px;
    border-bottom: 2px solid #F0F4F8;
    padding-bottom: 30px;
}

.form-ttl {
    font-size: 2.4rem;
    font-weight: 700;
    color: #1A365D;
    margin-bottom: 8px;
}

.form-sub {
    font-size: 1.4rem;
    color: #666;
}

.req-mark {
    color: #FA8028;
    font-weight: 700;
}

/* フォームテーブル風行 */
.form-list {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.form-row {
    display: flex;
    align-items: flex-start;
    gap: 30px;
}

.form-label {
    width: 220px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    gap: 10px;
    padding-top: 12px;
}

.form-label label {
    font-size: 1.6rem;
    font-weight: 700;
    color: #030303;
}

/* 必須・任意バッジ */
.badge-req {
    background-color: #FA8028;
    color: #fff;
    font-size: 1.2rem;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 4px;
}

.badge-opt {
    background-color: #ADADAD;
    color: #fff;
    font-size: 1.2rem;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 4px;
}

.form-input {
    flex: 1;
}

/* CF7 入力フィールド装飾 */
.wpcf7-form-control-wrap {
    display: block;
    width: 100%;
}

.wpcf7-text,
.wpcf7-textarea,
.wpcf7-select {
    width: 100% !important;
    background-color: #F8FAFC !important;
    border: 1px solid #CBD5E1 !important;
    border-radius: 8px !important;
    padding: 14px 16px !important;
    font-size: 1.6rem !important;
    color: #030303 !important;
    font-family: inherit !important;
    transition: all 0.3s ease !important;
    box-sizing: border-box !important;
}

.wpcf7-text:focus,
.wpcf7-textarea:focus,
.wpcf7-select:focus {
    background-color: #FFFFFF !important;
    border-color: #FA8028 !important;
    outline: none !important;
    box-shadow: 0 0 0 3px rgba(250, 128, 40, 0.15) !important;
}

.wpcf7-textarea {
    height: 180px !important;
    resize: vertical !important;
}

/* ラジオボタン（お問い合わせ種別） */
.wpcf7-radio {
    display: flex;
    flex-wrap: wrap;
    gap: 16px 24px;
    padding-top: 10px;
}

.wpcf7-radio .wpcf7-list-item {
    margin: 0 !important;
}

.wpcf7-radio label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 1.6rem;
    color: #030303;
    cursor: pointer;
    font-weight: 500;
}

.wpcf7-radio input[type="radio"] {
    width: 20px;
    height: 20px;
    accent-color: #030303;
    cursor: pointer;
}

/* 個人情報同意＆送信ボタンエリア */
.form-submit-wrap {
    margin-top: 50px;
    padding-top: 40px;
    border-top: 1px solid #F0F4F8;
    text-align: center;
}

.privacy-box {
    margin-bottom: 30px;
    font-size: 1.6rem;
    color: #030303;
}

.privacy-box a {
    color: #1A365D;
    text-decoration: underline;
    font-weight: 700;
}

.privacy-box input[type="checkbox"] {
    width: 20px;
    height: 20px;
    accent-color: #FA8028;
    vertical-align: middle;
    margin-right: 8px;
    cursor: pointer;
}

/* 送信ボタン */
.submit-btn-box {
    text-align: center;
}

.c-submit-btn {
    background-color: #FA8028 !important;
    color: #FFFFFF !important;
    font-size: 1.8rem !important;
    font-weight: 700 !important;
    padding: 18px 80px !important;
    border-radius: 50px !important;
    border: none !important;
    cursor: pointer !important;
    letter-spacing: 0.1em !important;
    box-shadow: 0 8px 20px rgba(250, 128, 40, 0.25) !important;
    transition: all 0.3s ease !important;
    display: inline-block !important;
}

.c-submit-btn:hover {
    background-color: #E66F17 !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 12px 24px rgba(250, 128, 40, 0.35) !important;
}

/* エラーメッセージ等の表示位置調整 */
.wpcf7-not-valid-tip {
    color: #DC2626 !important;
    font-size: 1.4rem !important;
    margin-top: 6px !important;
}

.wpcf7-response-output {
    border-radius: 8px !important;
    padding: 16px !important;
    font-size: 1.5rem !important;
    text-align: center !important;
    margin-top: 30px !important;
}

/* ==================================================
   スマホ対応 (767px以下)
================================================== */
@media (max-width: 767px) {
    .page-head {
        margin-top: 70px !important;
        padding: 30px 0 !important;
    }

    .sec-contact-intro {
        padding: 40px 0 20px;
    }

    .tel-card {
        padding: 20px;
    }

    .tel-num {
        font-size: 2.4rem;
    }

    .sec-contact-form .block-outer {
        padding: 40px 20px !important;
        border-radius: 24px !important;
    }

    .form-row {
        flex-direction: column;
        gap: 10px;
    }

    .form-label {
        width: 100%;
        padding-top: 0;
    }

    .c-submit-btn {
        width: 100% !important;
        padding: 16px 0 !important;
    }
}

/* ==================================================
   CONTACT：タイトル帯（ABOUT・TOPICSと完全統一）
================================================== */
/* --- 2. スマホ版の設定 (767px以下) --- */
@media screen and (max-width: 767px) {

    body.page-contact .page-head {
        margin-top: 70px !important;
        padding: 30px 0 !important;
    }

    body.page-contact .page-head .ttl .en {
        font-size: 18px !important;
    }

    body.page-contact .page-head .ttl .jp {
        font-size: 28px !important;
    }

}