.contact-main {
    width: 100%;
    background: none;
    margin: 0;
    padding: 0;
}

.contact-form-section {
    width: 100%;
    max-width: 850px;
    margin: 56px auto 0 auto;
    background: #fff;
    border: 1.5px solid #d9d9d9;
    border-radius: 0;
    box-sizing: border-box;
    padding: 40px 34px 30px 34px;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 2px;
    position: relative;
}

.form-group label {
    font-size: 16px;
    font-weight: 700;
    color: #191919;
    letter-spacing: 0.04em;
    margin-bottom: 0;
    display: flex;
    align-items: center;
    gap: 6px;
}

.required-badge {
    background: #dd2222;
    color: #fff;
    font-size: 13px;
    padding: 2px 10px;
    border-radius: 12px;
    font-weight: 600;
    margin-left: 8px;
    vertical-align: middle;
    display: inline-block;
    letter-spacing: 0.06em;
}

input[type="text"], input[type="email"], input[type="tel"], input[type="url"], select, textarea {
    border: none;
    background: #fafafa;
    border-radius: 28px;
    padding: 15px 22px;
    font-size: 16px;
    font-family: inherit;
    box-sizing: border-box;
    margin-top: 2px;
    transition: box-shadow 0.2s;
    box-shadow: 0 0 0 1px #e5e5e5;
}

input[type="text"]:focus, input[type="email"]:focus, input[type="tel"]:focus, input[type="url"]:focus, select:focus, textarea:focus {
    outline: none;
    box-shadow: 0 0 0 2.5px #77bcd8;
    background: #fff;
}

select {
    appearance: none;
    -webkit-appearance: none;
    background: #fafafa url("data:image/svg+xml;utf8,<svg width='28' height='28' xmlns='http://www.w3.org/2000/svg'><path d='M8 12l6 6 6-6' stroke='%23999' stroke-width='2' fill='none' stroke-linecap='round'/></svg>") no-repeat right 16px center/24px 24px;
    cursor: pointer;
}

textarea {
    border-radius: 16px;
    min-height: 80px;
    resize: vertical;
}

.form-btn-wrap {
    margin-top: 18px;
    display: flex;
    justify-content: center;
}

.contact-submit-btn {
    background: #111;
    color: #fff;
    border: none;
    border-radius: 28px;
    font-size: 18px;
    padding: 13px 70px;
    cursor: pointer;
    font-weight: 700;
    transition: background 0.15s;
    box-shadow: 0 3px 10px 0 rgba(0,0,0,0.03);
    letter-spacing: 0.1em;
}
.contact-submit-btn:hover {
    background: #2d4a68;
}

/* レスポンシブ */
@media (max-width: 600px) {
    .contact-form-section {
        padding: 24px 6vw 16px 6vw;
    }
    .form-btn-wrap { margin-top: 12px; }
    .contact-submit-btn { font-size: 15px; padding: 10px 24px; }
    .form-group label { font-size: 15px; }
    input, textarea, select { font-size: 14px; }
}
