/* ========================================
   お問い合わせページ
   ======================================== */
/* landing.css の :root, *, body を継承 */

.ct-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ========================================
   ヒーロー
   ======================================== */
.ct-hero {
    background: linear-gradient(135deg, #00BCD4 0%, #0097A7 100%);
    padding: 72px 24px 80px;
    text-align: center;
}

.ct-hero-title {
    font-size: clamp(28px, 2.5vw + 16px, 42px);
    font-weight: 800;
    color: #fff;
    margin-bottom: 16px;
}

.ct-hero-desc {
    font-size: 15px;
    color: rgba(255,255,255,0.88);
    line-height: 1.9;
}

/* ========================================
   導入テキスト
   ======================================== */
.ct-intro {
    padding: 60px 0;
    text-align: center;
}

.ct-intro-thanks {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 20px;
}

.ct-intro-text {
    font-size: 15px;
    color: var(--text-light);
    line-height: 1.9;
    margin-bottom: 36px;
}

.ct-phone {
    background: var(--bg-color);
    border-radius: 8px;
    padding: 28px;
    display: inline-block;
}

.ct-phone-number {
    font-size: 32px;
    font-weight: 800;
    color: var(--main-color);
    text-decoration: none;
    display: block;
    margin-bottom: 8px;
}

.ct-phone-number i {
    margin-right: 8px;
}

.ct-phone-note {
    font-size: 12px;
    color: #999;
    margin-bottom: 4px;
}

.ct-phone-hours {
    font-size: 13px;
    color: var(--text-light);
}

/* ========================================
   フォーム
   ======================================== */
.ct-form-section {
    padding: 60px 0 80px;
    background: var(--bg-color);
}

.ct-form-title {
    text-align: center;
    font-size: 24px;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 40px;
}

.ct-form {
    background: var(--white);
    border-radius: 8px;
    padding: 40px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

.ct-form-group {
    margin-bottom: 28px;
}

.ct-label {
    display: block;
    font-size: 15px;
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 8px;
}

.ct-required {
    display: inline-block;
    background: #e74c3c;
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 3px;
    margin-right: 8px;
    vertical-align: middle;
}

.ct-optional {
    display: inline-block;
    background: #999;
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 3px;
    margin-right: 8px;
    vertical-align: middle;
}

.ct-input {
    width: 100%;
    padding: 12px 16px;
    font-size: 15px;
    border: 2px solid #e0e0e0;
    border-radius: 6px;
    outline: none;
    transition: border-color 0.3s ease;
}

.ct-input:focus {
    border-color: var(--main-color);
}

/* バリデーションエラー */
.ct-input-error {
    border-color: #e74c3c !important;
    background: #fef5f5;
}

.ct-error-msg {
    color: #e74c3c;
    font-size: 0.85em;
    margin-top: 6px;
    min-height: 0;
}

.ct-error-msg:empty {
    display: none;
}

.ct-textarea {
    width: 100%;
    padding: 12px 16px;
    font-size: 15px;
    border: 2px solid #e0e0e0;
    border-radius: 6px;
    outline: none;
    resize: vertical;
    transition: border-color 0.3s ease;
}

.ct-textarea:focus {
    border-color: var(--main-color);
}

/* ラジオボタン */
.ct-radio-group {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.ct-radio {
    display: flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    font-size: 14px;
    padding: 8px 16px;
    border: 2px solid #e0e0e0;
    border-radius: 6px;
    transition: border-color 0.3s ease, background 0.3s ease;
}

.ct-radio input {
    display: none;
}

.ct-radio span {
    color: var(--text-color);
}

.ct-radio:has(input:checked) {
    border-color: var(--main-color);
    background: rgba(0, 188, 212, 0.06);
}

.ct-radio:has(input:checked) span {
    color: var(--main-color);
    font-weight: 600;
}

/* プライバシーポリシー */
.ct-privacy-box {
    background: var(--bg-color);
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    padding: 20px;
    margin-bottom: 20px;
}

.ct-privacy-text {
    font-size: 13px;
    color: var(--text-light);
    line-height: 1.9;
}

/* 同意チェック */
.ct-form-agree {
    text-align: center;
    margin-bottom: 28px;
}

.ct-checkbox {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    font-size: 14px;
}

.ct-checkbox input {
    width: 18px;
    height: 18px;
    accent-color: var(--main-color);
}

.ct-privacy-link {
    color: var(--main-color);
    text-decoration: underline;
}

/* reCAPTCHA */
.ct-recaptcha {
    display: flex;
    justify-content: center;
    margin-bottom: 28px;
}

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

.ct-submit-btn {
    display: inline-block;
    padding: 16px 80px;
    font-size: 17px;
    font-weight: 700;
    color: #fff;
    background: var(--main-color);
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: background 0.3s ease, transform 0.2s ease;
}

.ct-submit-btn:hover:not(:disabled) {
    background: var(--main-color-dark);
    transform: translateY(-2px);
}

.ct-submit-btn:disabled {
    background: #ccc;
    cursor: not-allowed;
}

/* ========================================
   レスポンシブ
   ======================================== */
@media (max-width: 768px) {
    .ct-hero {
        padding: 48px 20px 56px;
    }

    .ct-intro-thanks {
        font-size: 18px;
    }

    .ct-intro-text {
        font-size: 14px;
    }

    .ct-phone-number {
        font-size: 24px;
    }

    .ct-form {
        padding: 24px 16px;
    }

    .ct-radio-group {
        flex-direction: column;
    }

    .ct-submit-btn {
        width: 100%;
        padding: 16px;
    }
}
