/**
 * Contact Form Styles
 */

.contact-form-container {
    max-width: 100%;
    margin: 0 auto;
    padding: 30px;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #333;
    font-size: 16px;
    white-space: nowrap;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 16px;
    transition: border-color 0.3s, box-shadow 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: #4a90e2;
    box-shadow: 0 0 0 2px rgba(74, 144, 226, 0.2);
    outline: none;
}

.required {
    color: #e74c3c;
    margin-left: 4px;
}

.submit-btn {
    background-color: #4a90e2;
    color: white;
    border: none;
    padding: 14px 28px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s;
    display: block;
    margin: 0 auto;
}

.submit-btn:hover {
    background-color: #3a7bc8;
}

.form-status {
    margin-top: 20px;
    padding: 15px;
    border-radius: 4px;
    display: none;
}

.form-status.success {
    display: block;
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.form-status.error {
    display: block;
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.l-content .p-entry {
    max-width: 100%;
    width: 100%;
}

/* お問い合わせ Title Style */
.p-entry__title {
    font-size: 28px;
    font-weight: 700;
    color: #333;
    text-align: center;
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 3px solid #4a90e2;
}

/* 确保联系表单占据更多空间 */
.l-content .p-entry__body {
    max-width: 100%;
    width: 100%;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .contact-form-container {
        padding: 20px;
    }
    
    .form-group input,
    .form-group textarea {
        padding: 10px 12px;
    }
    
    .submit-btn {
        padding: 12px 24px;
        width: 100%;
    }
}