/* ===============================
   Contact Page Base（SP）
================================ */
.contact-page {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 24px 16px;
    box-sizing: border-box;
    font-family: "Noto Sans JP", sans-serif;
    color: #222;
}

.contact-section {
    width: 100%;
    max-width: 400px;
}

/* ===============================
   Title
================================ */
.contact-section h2 {
    text-align: center;
    font-size: 20px;
    margin-bottom: 24px;
}

/* ===============================
   Form
================================ */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.contact-form label {
    font-size: 14px;
    display: flex;
    flex-direction: column;
}

.contact-form input,
.contact-form textarea {
    margin-top: 4px;
    padding: 10px 12px;
    font-size: 14px;
    border: 1px solid #ccc;
    border-radius: 6px;
    box-sizing: border-box;
}

.contact-form textarea {
    min-height: 120px;
    resize: vertical;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: #aaa;
}

/* ===============================
   Buttons
================================ */
.form-buttons {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
}

.send-button {
    padding: 10px 20px;
    background: #2b2b2b;
    color: #fff;
    border: none;
    border-radius: 999px;
    font-size: 14px;
    cursor: pointer;
}

.send-button:hover {
    background: #444;
}

.back-button {
    padding: 10px 20px;
    background: #f5f5f5;
    color: #2b2b2b;
    border-radius: 999px;
    text-decoration: none;
    font-size: 14px;
}

.back-button:hover {
    background: #ddd;
}

/* ===============================
   PC表示 min-width:768px
================================ */
@media (min-width: 768px) {
    .contact-section {
        max-width: 500px;
    }

    .contact-section h2 {
        font-size: 24px;
    }

    .contact-form input,
    .contact-form textarea {
        font-size: 16px;
        padding: 12px;
    }

    .send-button,
    .back-button {
        font-size: 16px;
        padding: 12px 28px;
    }
}
