
body,
h1,
p,
ul,
li,
input,
button {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    background-color: #fff;
    color: #333;
    line-height: 1.6;
}

.header {
    background-color: #000;
    padding: 20px 20px;
}

.header .logo img {
    height: 25px;
}

.main {
    display: flex;
    justify-content: center;
    align-items: center;
    height: calc(100vh - 60px);
    padding-top: 50px;
}

.form-container {
    width: 100%;
    max-width: 600px;
    text-align: center;
    padding: 30px 20px;
    background-color: #fff;
    min-height: 600px;
    position: relative;
}

.form-title {
    margin-top: -20px;
    margin-bottom: 20px;
    font-size: 1.5rem;
    color: #333;
}

.form-group {
    margin-bottom: 30px;
    text-align: left;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-size: 0.9rem;
    color: #555;
    font-weight: bold;
}

.form-group input {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
}

.btn-submit {
    width: 100%;
    margin-top: 50px;
    padding: 10px;
    background-color: #f56565;
    color: #fff;
    border: none;
    border-radius: 5px;
    font-size: 1rem;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

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

.link-to-register {
    margin-top: 30px;
    font-size: 0.9rem;
}

.link-to-register a {
    color: #007bff;
    text-decoration: none;
}

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

.form-group .error {
    color: #e53e3e;
}

/* 既存のCSSの後に追加 */

/* デモログインセクション */
.demo-login-section {
    margin-top: 40px;
    padding: 25px;
    background-color: #f8f9fa;
    border: 2px solid #e9ecef;
    border-radius: 8px;
}

.demo-login-title {
    margin-bottom: 15px;
    font-size: 1.1rem;
    color: #333;
    font-weight: bold;
    text-align: center;
}

.btn-demo {
    width: 100%;
    padding: 12px;
    background-color: #17a2b8;
    color: #fff;
    border: none;
    border-radius: 5px;
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.btn-demo:hover {
    background-color: #138496;
    text-decoration: none;
    color: #fff;
}

.btn-demo i {
    font-size: 1.2rem;
}

.demo-note {
    margin-top: 10px;
    font-size: 0.85rem;
    color: #6c757d;
    text-align: center;
}

/* 区切り線 */
.divider-or {
    margin: 30px 0;
    text-align: center;
    position: relative;
}

.divider-or::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background-color: #ddd;
}

.divider-or span {
    background-color: #fff;
    padding: 0 15px;
    position: relative;
    color: #999;
    font-size: 0.9rem;
}