/* =========================
   Contact フォーム — 汎用白カードスタイル
   conjure/contact.html など .top-main を持たないページ用
========================= */

/* 固定ヘッダー分の余白 */
.section[id] {
    padding-top: 160px;
}

#contact .contact-box {
    background: rgba(220, 120, 150, 0.07);
    border: 1px solid rgba(200, 100, 130, 0.18);
    border-radius: 16px;
    padding: 20px 24px 24px;
    margin-top: 18px;
}

#contact .contact-lead {
    color: #555;
    line-height: 1.9;
    margin: 0 0 4px;
}

#contact .contact-em {
    color: #c05070;
    font-weight: 700;
}

#contact .contact-form {
    display: grid;
    gap: 14px;
}

#contact .contact-row {
    display: grid;
    gap: 6px;
}

#contact .contact-row--2col {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

@media (max-width: 700px) {
    #contact .contact-row--2col {
        grid-template-columns: 1fr;
    }
}

#contact .contact-label {
    font-size: 13px;
    letter-spacing: 0.04em;
    color: #444;
}

#contact .req {
    color: #c05070;
    font-size: 11px;
    margin-left: 6px;
    border-bottom: none;
}

#contact .contact-input {
    width: 97%;
    background: #fff;
    color: #333;
    border: 1px solid rgba(200, 100, 130, 0.3);
    border-radius: 10px;
    padding: 10px 12px;
    outline: none;
    font-family: inherit;
    font-size: 14px;
    transition: border-color 0.2s;
    box-sizing: border-box;
}

#contact .contact-input:focus {
    border-color: #c05070;
}

#contact .contact-textarea {
    resize: vertical;
    min-height: 140px;
}

#contact select.contact-input option {
    background: #fff;
    color: #333;
}

#contact select.contact-input:focus {
    background: #fff;
}

#contact .contact-consent {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    line-height: 1.6;
    color: #444;
}

#contact .contact-consent input {
    margin-top: 4px;
}

#contact .contact-actions {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-top: 6px;
}

#contact .contact-submit {
    background: #c05070;
    color: #fff;
    border: none;
    border-radius: 999px;
    padding: 12px 32px;
    font-weight: 700;
    font-size: 15px;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.15s ease;
}

#contact .contact-submit:hover {
    background: #a03458;
    transform: translateY(-2px);
}

#contact .contact-submit:disabled {
    opacity: 0.55;
    cursor: not-allowed;
    transform: none;
}

#contact .contact-status {
    font-size: 13px;
    color: #c05070;
}

#contact .contact-done {
    background: rgba(192, 80, 112, 0.06);
    border: 1px solid rgba(192, 80, 112, 0.2);
    border-radius: 12px;
    padding: 16px;
    margin-top: 10px;
}

#contact .contact-done__title {
    color: #c05070;
    font-weight: 800;
    margin: 0 0 6px;
}

#contact .contact-done__text {
    color: #555;
    margin: 0;
}

/* honeypot（見えない） */
#contact .hp {
    position: absolute !important;
    left: -9999px !important;
    top: -9999px !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
}

/* 準備中オプション */
#contact select option:disabled {
    color: #bbb;
}

/* =========================
   分岐アニメーション・補助スタイル
========================= */

.contact-branch {
    animation: branch-in 0.22s ease both;
}

@keyframes branch-in {
    from { opacity: 0; transform: translateY(-6px); }
    to   { opacity: 1; transform: translateY(0); }
}

#contact-submit-area {
    margin-top: 8px;
    animation: branch-in 0.22s ease both;
}

.contact-branch-soon {
    font-size: 13px;
    color: #999;
    margin: 0 0 12px;
}

/* クリエイター固定表示（オーダーメイド分岐） */
.contact-creator-fixed {
    margin: 0;
    padding: 10px 14px;
    background: rgba(192, 80, 112, 0.06);
    border: 1px solid rgba(192, 80, 112, 0.2);
    border-radius: 10px;
    font-weight: 600;
    color: #444;
}

/* チェックボックスグループ（提携クリエイター分岐） */
.contact-checkgroup {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 20px;
    margin-top: 4px;
}

.contact-check {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    font-size: 14px;
    color: #444;
}

.contact-check input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: #c05070;
    cursor: pointer;
    flex-shrink: 0;
}

.contact-check-error {
    margin: 6px 0 0;
    font-size: 12px;
    color: #c05070;
}
