.contact-page {
    padding: 60px 0;
}

/* ===== タイトル ===== */
.contact-hero {
    text-align: center;
    margin-bottom: 60px;
}

.contact-hero h1 {
    font-size: 32px;
    font-weight: 700;
    display: inline-block;
    padding-bottom: 12px;
    position: relative;
}

.contact-hero h1::after {
    content: "";
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: 0;
    width: 56px;
    height: 3px;
    background: #ff3b3b;
}

.contact-hero p {
    margin-top: 18px;
    color: #666;
}

/* ===== フォームカード ===== */
.contact-form-area {
    display: flex;
    justify-content: center;
    margin-bottom: 80px;
}

.contact-form-card {
    width: min(760px, calc(100% - 40px));
    background: #fff;
    border: 1px solid #e3e8ef;
    border-radius: 12px;
    padding: 34px 34px 28px;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.12);
}

/* フォーム見出し */
.form-title {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 26px;
}

.form-title img {
    width: 25px;
}

.form-title-icon {
    width: 14px;
    height: 14px;
    border: 2px solid #ff3b3b;
    border-radius: 2px;
}

/* 入力 */
.contact-form .form-row {
    margin-bottom: 16px;
}

.contact-form label {
    display: block;
    font-size: 13px;
    color: #444;
    margin-bottom: 8px;
    font-weight: 600;
}

.req {
    color: #ff3b3b;
    font-weight: 700;
    margin-left: 4px;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    border: 1px solid #d8e0ea;
    border-radius: 6px;
    padding: 12px 12px;
    font-size: 14px;
    outline: none;
    background: #f8f8f8;
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: #ff3b3b;
}

/* 送信ボタン */
.send-btn {
    width: 100%;
    margin-top: 14px;
    border: none;
    border-radius: 8px;
    padding: 14px 16px;
    background: #ff2f2f;
    color: #fff;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.send-btn img {
    width: 16px;
    height: 16px;
}

.send-icon {
    font-size: 14px;
    line-height: 1;
}

/* ===== SNS ===== */
.contact-sns {
    text-align: center;
    padding-top: 30px;
}

.contact-sns h2 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 10px;
}

.contact-sns p {
    color: #666;
    margin-bottom: 34px;
}

.sns-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    width: min(900px, calc(100% - 40px));
    margin: 0 auto;
}

.sns-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 34px 18px;
    background: #fff;
    border: 1px solid #e3e8ef;
    border-radius: 12px;
    text-decoration: none;
    color: #111;
}

.sns-icon img {
    width: 40px;
    padding: 10px;
}

.sns-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
}

.sns-icon.ig {
    background: linear-gradient(135deg, #b833ff, #ff3b3b, #ffb43b);
}

.sns-icon.fb {
    background: linear-gradient(135deg, #0d6efd, #1146a6);
    font-weight: 800;
    font-family: Arial, sans-serif;
}

.sns-icon.mail {
    background: linear-gradient(135deg, #ff3b3b, #c90000);
}

.sns-name {
    font-weight: 700;
    font-size: 14px;
}

/* ==============================
スマホ対応
============================== */
@media (max-width: 768px) {

    /* ===== タイトル ===== */

    .contact-hero {
        margin-bottom: 40px;
    }

    .contact-hero h1 {
        font-size: 24px;
    }

    .contact-hero p {
        font-size: 14px;
        padding: 0 20px;
    }

    /* ===== フォーム ===== */

    .contact-form-card {
        width: calc(82% - 30px);
        padding: 23px 23px;
    }

    /* 入力間隔 */
    .contact-form .form-row {
        margin-bottom: 12px;
    }

    /* ラベル */
    .contact-form label {
        font-size: 12px;
        margin-bottom: 6px;
    }

    /* input */
    .contact-form input,
    .contact-form textarea {
        width: 92%;
        padding: 9px 10px;
        font-size: 13px;
    }

    /* textarea高さ */
    .contact-form textarea {
        min-height: 90px;
    }

    /* 送信ボタン */
    .send-btn {
        padding: 11px;
        font-size: 14px;
    }

    /* タイトル */
    .form-title {
        font-size: 15px;
        margin-bottom: 16px;
    }

    /* ボタン */

    .send-btn {
        padding: 13px;
        font-size: 14px;
    }

    /* ===== SNS ===== */

    .contact-sns {
        padding-top: 10px;
    }

    .contact-sns h2 {
        font-size: 20px;
    }

    .contact-sns p {
        font-size: 14px;
        margin-bottom: 26px;
        padding: 0 20px;
    }

    /* SNSカード */

    .sns-grid {
        grid-template-columns: 1fr;
        gap: 16px;
        width: calc(100% - 30px);
    }

    .sns-card {
        flex-direction: row;
        justify-content: flex-start;
        gap: 16px;
        padding: 18px 18px;
    }

    .sns-icon img {
        width: 28px;
    }

    .sns-name {
        font-size: 14px;
    }

}