.site-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 25px;
    background-color: #fff;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    position: relative;
}

.site-header .logo {
    font-size: 1.2em;
    font-weight: bold;
    flex: 1; 
    text-align: left;
}

.site-header .catchphrase {
    font-size: 1.5em;
    font-weight: bold;
    color: #333;
    flex: 2;
    text-align: center;
}

.header-actions {
    flex: 1;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 16px;
}

/* 画面中央配置 */
body {
    margin: 0;
    padding: 0;
    font-family: "Segoe UI", sans-serif;
    background-color: #f0f0f0;
    height: 100vh;
    display: flex;
    flex-direction: column;
}

/* フォーム全体のスタイル */
.form-wrapper {
    background-color: #fff;
    padding: 30px 40px;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    width: 500px;
    box-sizing: border-box;
    margin: 50px auto;
    position: relative;
}

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

/* ラベルと入力欄を縦に並べる */
.form-group {
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
}

label {
    font-weight: bold;
    margin-bottom: 8px;
    color: #444;
}

select,
textarea,
input[type="email"],
input[type="password"],
input[type="submit"] {
    padding: 10px;
    font-size: 16px;
    border-radius: 5px;
    border: 1px solid #ccc;
    box-sizing: border-box;
    width: 100%;
}

textarea {
    resize: vertical;
}

input[type="submit"] {
    background-color: #4CAF50;
    color: white;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

input[type="submit"]:hover {
    background-color: #45a049;
}

.close-button {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 24px;
    font-weight: bold;
    color: #999;
    cursor: pointer;
    transition: color 0.3s ease;
}

.close-button:hover {
    color: #333;
}

.error-message {
    color: #e74c3c;
    font-size: 12px;
    margin-top: 5px;
    display: none;
}

.forgot-password {
    text-align: center;
    margin-top: 20px;
}

.forgot-password a {
    color: #000;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
}

.forgot-password a:hover {
    color: #000;
}

.signup-link {
    text-align: center;
    margin-top: 30px;
    color: #666;
    font-size: 14px;
}

.signup-link a {
    color: #000;
    text-decoration: none;
    font-weight: 600;
}

.signup-link a:hover {
    color: #000;
}

@media (max-width: 480px) {
    .form-wrapper {
        padding: 30px 20px;
        margin: 10px;
        width: 90%;
    }

    h1 {
        font-size: 20px;
    }
}