/* 基本設定と変数 */
:root {
    --primary-color: #008080; /* 青緑色 */
    --bg-color: #f0f4f8; /* 薄いグレー */
    --box-bg-color: #fff;
    --text-color: #333;
    --light-text-color: #666;
    --border-color: #ddd;
    --font-family: 'Noto Sans JP', sans-serif;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--font-family);
    background-color: var(--bg-color);
    color: var(--text-color);
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
}

/* 認証ページのコンテナ */
.auth-container {
    width: 100%;
    max-width: 450px;
    padding: 20px;
}

.auth-box {
    background-color: var(--box-bg-color);
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

h1 {
    text-align: center;
    font-size: 1.8rem;
    margin-bottom: 10px;
    color: var(--primary-color);
}

.auth-description {
    text-align: center;
    color: var(--light-text-color);
    margin-bottom: 30px;
}

/* フォームのグループ */
.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-weight: 700;
    margin-bottom: 8px;
    font-size: 0.9rem;
}

.form-control,
input[type="text"],
input[type="email"],
input[type="password"] {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    font-size: 1rem;
    font-family: var(--font-family);
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="password"]:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(0, 128, 128, 0.2);
}

/* ボタン */
.btn {
    display: block;
    width: 100%;
    padding: 12px;
    border: none;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.btn-primary {
    background-color: var(--primary-color);
    color: #fff;
}

.btn-primary:hover {
    background-color: #006666;
}

/* 特殊なフォームグループ */
.form-group-inline {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.9rem;
    margin-bottom: 20px;
}

.remember-me {
    display: flex;
    align-items: center;
}

.remember-me input[type="checkbox"] {
    margin-right: 8px;
}

.forgot-password {
    color: var(--primary-color);
    text-decoration: none;
}
.forgot-password:hover {
    text-decoration: underline;
}

.terms {
    display: flex;
    align-items: center;
    font-size: 0.9rem;
}
.terms input[type="checkbox"] {
    margin-right: 8px;
}
.terms a {
    color: var(--primary-color);
    text-decoration: none;
}
.terms a:hover {
    text-decoration: underline;
}

/* ページ切り替えリンク */
.auth-link {
    text-align: center;
    margin-top: 30px;
    font-size: 0.9rem;
}
.auth-link a {
    color: var(--primary-color);
    font-weight: 700;
    text-decoration: none;
}
.auth-link a:hover {
    text-decoration: underline;
}
/* ロゴ用のスタイル */
.auth-logo {
    text-align: center;
    margin-bottom: 1.5rem; /* 24px */
}

.auth-logo img {
    width: 100px; /* ロゴの横幅 */
    height: auto;
    display: inline-block;
}
