/* ログイン全体のセクション */
.auth-section {
    max-width: 400px;
    margin: 5rem 1rem 3rem;
    padding: 2rem;
    border-radius: 8px;
    background-color: #ffffff;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    /* or overflow: auto */
    display: block;
    margin: 2rem auto;
}

/* フォーム全体 */
.login-form {
    display: flex;
    flex-direction: column;
}

/* 各フォームグループ */
.form-group {
    margin-bottom: 1.5rem;
    display: flex;
    flex-direction: column;
}

/* ラベル */
.form-group label {
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #333;
}

/* テキスト・パスワード入力 */
.form-group input[type="email"],
.form-group input[type="text"],
.form-group input[type="password"] {
    padding: 0.5rem 0.75rem;
    border: 1px solid #bbb;
    border-radius: 5px;
    transition: border-color 0.3s ease;
}

.form-group input[type="email"]:focus,
.form-group input[type="text"]:focus,
.form-group input[type="password"]:focus {
    outline: none;
    border-color: #007bff;
    box-shadow: 0 0 3px rgba(0, 123, 255, 0.5);
}

/* エラーメッセージ */
.input-error {
    color: #d93025;
    font-size: 0.875rem;
    margin-top: 0.25rem;
}

/* チェックボックスグループ */
.checkbox-group {
    flex-direction: row;
    align-items: center;
}

.checkbox-group input[type="checkbox"] {
    margin-right: 0.5rem;
    width: 18px;
    height: 18px;
    cursor: pointer;
}

.checkbox-group label {
    font-weight: normal;
    cursor: pointer;
}

.btn-submit {
    display: block;
    background-color: #fff500;
    /* 黄色 */
    color: #000;
    /* テキストは黒で見やすく */
    padding: 0.75rem 1.25rem;
    width: 80%;
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.25);
    /* 少し落ち着いた影 */
    cursor: pointer;
    border-radius: 6px;
    font-weight: 600;
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
    border: none;
    font-family: "Zen Kaku Gothic New", sans-serif;
    font-size: 1.1rem;
    margin: 0rem auto;
    text-align: center;
}

.btn-submit:hover {
    background-color: #ffd600;
    /* 少し明るく */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    /* ホバー時に影を強める */
}

/* パスワードリセットリンク */
.reset-link {
    text-align: center;
}

.reset-link a {
    color: #007bff;
    text-decoration: underline;
}

.reset-link a:hover,
.reset-link a:focus {
    color: #0056b3;
    outline: none;
}

/* 区切り線 */
.divider {
    border: none;
    border-top: 1px solid #000000;
    margin: 2rem 0;
}

/* 新規登録部分 */
.register-group {
    text-align: center;
}

.register-group p {
    margin-bottom: 0.75rem;
    font-weight: 600;
    color: #444;
}

/* 新規登録ボタン */
.btn-register {
    display: inline-block;
    background-color: #28a745;
    color: white;
    padding: 0.6rem 1.5rem;
    text-decoration: none;
    border-radius: 6px;
    box-shadow: 0 3px 6px rgba(40, 167, 69, 0.4);
    cursor: pointer;
    border-radius: 6px;
    font-weight: 600;
    transition: background-color 0.3s ease;
    border: none;
    font-family: "Zen Kaku Gothic New";
    font-size: 1.1rem;
    width: 80%;
    margin: auto;
}

.btn-register:hover,
.btn-register:focus {
    background-color: #1e7e34;
    outline: none;
}

.link-login {
    padding: 1rem 0;
}