/* PC用ログイン画面スタイル */

body {
    margin: 0;
    padding: 0;
    min-height: 100vh;
    background-color: #eef2f7;
    font-family: 'Helvetica Neue', sans-serif;
    overflow-y: auto;
    display: flex;
    flex-direction: column; /* 縦に積む */
}

main {
    flex: 1; /* メイン部分が縦に広がる */
    display: flex;
    justify-content: center;
    align-items: center;
}

.user_login {
    width: 100%;
    padding: 20px;
}

.login_box {
    background: #ffffff;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    max-width: 400px;
    width: 100%;
}

.login_box {
    min-height: 500px; /* 必要に応じて調整 */
}

.login_box h2 {
    margin-top: 0;
    /*font-size: 24px;*/
    margin-bottom: 10px;
    text-align: center;
}

.login_box p {
    margin-bottom: 20px;
    color: #555;
}

.login_box label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
}

.login_box input[type="text"],
.login_box input[type="password"] {
    width: 100%;
    padding: 10px;
    font-size: 16px;
    border: 1px solid #ccc;
    border-radius: 6px;
    margin-bottom: 20px;
    box-sizing: border-box;
}

.login_box input[type="text"]:focus,
.login_box input[type="password"]:focus {
    border-color: #4CAF50; /* 例：緑色に変更 */
    outline: none;          /* デフォルトの青枠を消す */
    box-shadow: 0 0 5px rgba(76, 175, 80, 0.3); /* ふわっと光る枠を追加 */
}

.login_box button {
    width: 100%;
    background: linear-gradient(to right, #4CAF50, #8BC34A); /* Green gradient */
    color: #fff;
    font-weight: bold;
    padding: 12px;
    font-size: 16px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.login_btn {
    margin-top: 16px;
    margin-bottom: 10px; /* 調整したいスペース量に応じて変更可能 */
}

.login_box button:hover {
    background-color: #45A049; /* より濃いグリーンに変化 */
    transform: scale(1.03);    /* わずかに拡大 */
    box-shadow: 0 0 10px rgba(76, 175, 80, 0.4); /* 輝きを追加 */
}

.login_help {
    margin-top: 15px;
    text-align: center;
}

.login_help a {
    color: #4caf50;
    text-decoration: none;
    font-size: 14px;
}

.login_help a:hover {
    text-decoration: underline;
}

.brand_logo {
    font-size: 1.5rem; /* ＝ text-2xl */
    font-weight: 800;  /* ＝ font-extrabold */
    color: #4CAF50;
    text-align: center;
    display: block;
    width: 100%;
    margin: 0 ;
    transition: background-color 0.3s ease;
}

.register_btn {
    background-color: white;
    color: #4CAF50;
    padding: 12px;
    font-size: 16px;         /* Tailwindの text-sm 相当 */
    border: 1px solid #4CAF50;
    border-radius: 6px;
    cursor: pointer;
    transition: background-color 0.3s ease;    
    padding: 12px 30px; /* 例: 上下12px, 左右30pxに設定。*/
    text-decoration: none; /* aタグのデフォルトの下線を消す場合 */
    white-space: nowrap; /* テキストが改行されないようにする */
}

.register_btn:hover {
  transform: scale(1.05);    /* わずかに拡大 */
  box-shadow: 0 0 10px rgba(76, 175, 80, 0.4); /* 輝きを追加 */
}

/* 右側ヒーローセクションのテキストコンテナ */
.right-hero-text-container {
    text-align: left; /* テキストを左寄せ */
    width: 100%; /* 親要素内で幅いっぱいに */
    padding: 2rem 1rem 2rem 2rem !important; /* 左パディングを2remに増やしました */
    padding-top: 4rem; /* PC版では上部パディングを増やす */
    padding-left: 3rem; /* PC版では左パディングを増やす */
    box-sizing: border-box; /* paddingを含めてwidth/heightが計算されるように */
    margin: 0; /* マージンをリセットし、flexコンテナの開始位置に固定 */
    display: flex; /* Flexboxを有効にする */
    flex-direction: column; /* 子要素を縦方向に配置する */
    align-items: flex-start; /* 左寄せを維持 */
}

/* 右側ヒーローセクションのキャッチコピー */
.right-hero-catchphrase {
    font-size: 3rem !important; /* PC版での文字サイズ */
    font-weight: 800; /* 非常に太い */
    line-height: 1.2; /* 行の高さ */
    color: #333333; /* 濃いグレーの文字色 */
    margin-top: 0; /* マージンをリセット */
    margin-bottom: 1rem; /* 画像との間にスペースを */
}

/* 右側ヒーローセクションの画像 */
.right-hero-image {
    max-width: 100%; /* 親要素に合わせて画像の最大幅を設定 */
    height: auto; /* 元の縦横比を維持 */
}

.error_message {
    color: red;
    font-weight: bold;
    margin-bottom: 15px;
    text-align: left;
}

