body {
    font-family: Arial, sans-serif;
    margin-top: 50px;
    background-color: #f4f4f4;
}

.container {
    display: flex;
    justify-content: center;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

.image-container {
    padding: 0px;
    display: flex;
    overflow: hidden;
    width: 700px;
    height: 620px; /* 高さを指定 */
    position: relative; /* 画像の下部に要素を配置するために相対位置を指定 */
}

.image-container img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 10px;
}

/* コピーライトのスタイル */
.copyright {
    position: absolute; /* 絶対位置で配置 */
    bottom: 10px; /* 画像の下部に10pxの間隔を空ける */
    width: 100%; /* 幅を画像と同じにする */
    text-align: center;
    font-size: 14px;
    color: #555;
}

.form-container {
    flex: 1;
    padding: 10px;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    margin-left: 20px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    width: 500px;
    height: 610px; /* 高さを指定 */
    min-width: 500px;
}

h2 {
    margin-top: 0;
    margin-bottom: 0px; /* タイトルとトグルの間の余白を狭める */
    font-size: 30px; /* サイズを24ポイントに変更 */
    text-align: center; /* 中央揃え */
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.2); /* 立体感を出すシャドウ */
}

/* 共通の設定: 横並びの入力フォーム */
.signin-row, .signup-row, .password-change-row {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}

.signin-row label, .signup-row label, .password-change-row label {
    width: 150px;
    font-size: 16px;
    margin-top: 5px;
    margin-left: 20px;
    margin-right: 10px;
    white-space: nowrap;
}

.signin-row input, .signup-row input, .password-change-row input {
    width: 250px;
    padding: 10px;
    font-size: 16px;
    border: 1px solid #ccc;
    border-radius: 5px;
    margin-top: 5px;
    margin-left: 10px;
}

/* メールアドレスの入力フィールド */
.email-wrapper {
    display: flex;
    width: 300px;
}

.email-wrapper input {
    width: 150px;
    padding: 10px;
    font-size: 16px;
    border: 1px solid #ccc;
    border-radius: 5px;
}

.email-suffix {
    width: 100px;
    padding: 10px 0;
    background-color: #ccc;
    border-radius: 5px;
    font-size: 16px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 5px;
}

/* ボタンのスタイル */
button {
    padding: 5px;
    margin: 10px 0;
    border: none;
    font-size: 16px;
    cursor: pointer;
    display: block;
    width: 40%;
    border-radius: 5px;
    text-align: center; /* 文字を中央揃え */
    margin-left: 265px;
}

button:hover {
    opacity: 0.8;
}

/* 各トグルタイトルのスタイル */
.signin-title, .signup-title, .password-change-title {
    padding: 10px;
    text-align: left;
    border-radius: 5px;
    cursor: pointer;
    font-size: 20px;
    font-weight: bold;  /* 太字に設定 */
    margin-top: 10px; /* トグル間にスペースを追加 */
    margin-bottom: 0px; /* トグル間にスペースを追加 */
}

.signin-title {
    background-color: #28a745;
    color: white;
}

.signup-title {
    background-color: #007bff;
    color: white;
}

.password-change-title {
    background-color: #FF7043;
    color: white;
}

.info {
    font-size: 12pt;  /* 文字サイズを12ポイントに設定 */
    font-weight: bold;  /* 太字に設定 */
}

/* 各セクションのスタイル */
.signin-container, .signup-container, .password-change-container {
    padding: 5px;
    border-radius: 10px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    display: none;
    transition: all 0.3s ease;
    margin-top: 0px;
    margin-bottom: 10px;
}

.signup-container {
    background-color: #e1f5fe;
}

.password-change-container {
    background-color: #FFCC80;
}

.signin-container {
    background-color: #e8f5e9;
}

/* 各セクション内のボタンの色 */
.signin-container button {
    background-color: #28a745;
    color: white;
}

.signup-container button {
    background-color: #007bff;
    color: white;
}

.password-change-container button {
    background-color: #FF7043;
    color: white;
}

.tooltip {
    position: absolute;
    top: 50px;
    left: 0;
    background-color: #FFF9C4;
    border: 1px solid #ccc;
    padding: 5px;
    border-radius: 4px;
    font-size: 14px;
    color: #555;
    box-shadow: 0px 2px 10px rgba(0, 0, 0, 0.1);
    max-width: 300px;
    white-space: nowrap;
    z-index: 999;
    display: none;
}

/* MFAポップアップのスタイル */
.mfa-popup {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    padding: 20px;
    background: white;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    z-index: 9999;  /* 他の要素より前に表示 */
    width: 480px;  /* ポップアップの幅を指定 */
    border-radius: 10px;
    text-align: left;
    border: 4px solid red;
}

.mfa-popup h2 {
    margin-top: 0;
    margin-bottom: 10px;
    font-size: 24px;
    color: #333;
    display: flex; /* 横並びにする */
    justify-content: space-between; /* タイトルとボタンの間を適切に配置 */
    align-items: center; /* 縦方向に中央揃え */
    width: 100%; /* 横幅を100%に設定 */
}

.mfa-popup .close-btn {
    padding: 5px 10px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    border: none;
    margin-left: 10px; /* タイトルとボタンの間に少しスペースを入れる */
    width: 120px; /* ボタンの横幅を指定 */
    text-align: center; /* ボタン内の文字を中央揃え */
}

.mfa-popup p {
    color: #555;
    margin-top: 0px;
    margin-bottom: 0px;
    font-size: 12pt;  /* 文字サイズを12ポイントに設定 */
    font-weight: bold;  /* 太字に設定 */
    line-height: 1.2;  /* 行間を狭く設定 */
}

.mfa-popup .input-container {
    display: flex;
    align-items: center; /* 垂直方向に中央揃え */
    margin-bottom: 5px; /* 入力とボタンの間の余白を少し狭める */
}

.mfa-popup input {
    margin-left: 10px;
    width: 70%;  /* 入力フィールドの横幅を調整 */
    padding: 10px;
    font-size: 16px;
    border: 1px solid #ccc;
    border-radius: 5px;
    margin-bottom: 0px;
}

.mfa-popup .confirm {
    background-color: #28a745;  /* 緑 */
    color: white;
    width: 100px;  /* 確認ボタンの幅を指定 */
    margin-left: 5px;  /* 入力フォームとの間に隙間を加える */
    padding: 8px;
    font-size: 16px;
    border-radius: 5px;
    cursor: pointer;
}

/* 送信ボタンのスタイル */
.send {
    background-color: #FF7043;  /* オレンジ */
    color: white;
    width: 200px;  /* ボタン幅を調整 */
    margin-right: 7px;
    margin-left: auto;
    padding: 8px;
    margin-top: 10px;  /* ボタン間の余白 */
}

.mfa-popup button:hover {
    opacity: 0.8;
}

.mfa-popup button:focus {
    outline: none;
}

