body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background-color: #f4f4f9;
    color: #333;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    margin: 0;
    padding: 20px;
}

.form-container {
    background-color: #fff;
    padding: 30px 40px;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    width: 100%;
    max-width: 600px;
}

h1 {
    font-size: 28px;
    color: #333;
    margin-bottom: 8px;
    text-align: center;
}

h2 {
    font-size: 22px;
    color: #555;
    margin-bottom: 15px;
    text-align: center;
}

p {
    font-size: 16px;
    color: #666;
    line-height: 1.6;
    margin-bottom: 30px;
    text-align: center;
}

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

label {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
    color: #444;
}

label span {
    color: #e74c3c;
    margin-left: 4px;
}

input[type="text"],
input[type="email"],
select,
textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 8px;
    font-size: 16px;
    transition: border-color 0.3s, box-shadow 0.3s;
}

input[type="text"]:focus,
input[type="email"]:focus,
select:focus,
textarea:focus {
    border-color: #3498db;
    box-shadow: 0 0 8px rgba(52, 152, 219, 0.2);
    outline: none;
}

textarea {
    resize: vertical;
}

button[type="submit"] {
    width: 100%;
    padding: 15px;
    background-color: #3498db;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s;
}

button[type="submit"]:hover {
    background-color: #2980b9;
}

#form-status {
    margin-top: 20px;
    padding: 15px;
    border-radius: 8px;
    text-align: center;
    font-weight: 500;
}

#form-status.success {
    background-color: #e8f5e9;
    color: #2e7d32;
}

#form-status.error {
    background-color: #ffebee;
    color: #c62828;
}

.privacy-link {
    text-align: center;
    margin-top: 25px;
}

.privacy-link a {
    font-size: 14px;
    color: #555;
    text-decoration: none;
}

.privacy-link a:hover {
    text-decoration: underline;
}

.home-button-container {
    text-align: center;
    margin-top: 30px;
}

.home-button {
    display: inline-block;
    padding: 12px 25px;
    background-color: #2ecc71; /* 緑系の色 */
    color: #fff;
    text-decoration: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    transition: background-color 0.3s, transform 0.2s;
    box-shadow: 0 4px 10px rgba(46, 204, 113, 0.3);
}

.home-button:hover {
    background-color: #27ae60; /* ホバー時の色 */
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(46, 204, 113, 0.4);
}