/* ===============================
    pw_reset_request.php
    pw_reset_message.php
    pw_reset_form.php
    pw_reset_complete.php
================================ */

body {
    font-family: "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, Osaka, "ＭＳ Ｐゴシック", "MS PGothic", Sans-Serif;
    background-color: #f4f4f4;
    margin: 0;
    padding: 0;
    overflow-y: auto; /* 縦スクロールを有効に */
    overflow-x: hidden; /* 横スクロールを無効に */
    min-height: 90dvh; /* ページ全体の高さ確保 */
    max-width: 100%; /* 全てのサイズが画面サイズを超えないようにする */
}


.pw-reset__container {
    background-color: #fff;
    padding: 24px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    width: 320px;
    text-align: center;
    margin-bottom: 15px;
    margin: 50px auto; /* 左右中央寄せ & 上下余白 */
}
/* .pw-reset__container {
    width: 50%;
    margin: 0 auto;
    padding: 20px;
    background-color: #f9f9f9;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
} */

.pw-reset__form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.pw-reset__input-group {
    flex: 1;  /* 均等に幅を取る */
    margin: 5px;
    padding: 5px;
    text-align: center;
}

/* 入力欄のタイトル */
.pw-reset__label {
    display: block;
    margin-bottom: 5px;
    font-size: 14px;
    color: #555;
}

/* 入力欄 */
.pw-reset__input {
    width: 90%;
    padding: 8px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 14px;
}

.pw-reset__input:focus {
    border-color: #3498db;
    outline: none;
}

/* ボタン */
.pw-reset__button {
    width: 100%;
    padding: 10px;
    background-color: #3498db;
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.pw-reset__button:hover {
    background-color: #2980b9;
}

/* 戻るリンク */
.pw-reset__link {
    font-size: 14px;
    text-align: center;
}

.pw-reset__link a {
    color: #3498db;
    text-decoration: none;
}

.pw-reset__link a:hover {
    text-decoration: underline;
}


/* pw_reset_message.php */
.pw-reset__message {
    font-size: 16px;
    text-align: center;
    margin-bottom: 15px;
    color: #333;
}

.pw-reset__email {
    font-size: 16px;
    text-align: center;
    font-weight: bold;
    color: #333;
    margin-bottom: 15px;
    display: block;
}

/* エラーメッセージ（修飾子） */
.pw-reset__message--error {
    color: #d9534f;
    background-color: #f8d7da;
    border: 1px solid #f5c6cb;
    padding: 10px;
    border-radius: 5px;
}

.pw-reset__message--not-found {
    color: #856404;
    background-color: #fff3cd;
    border: 1px solid #ffeeba;
    padding: 10px;
    border-radius: 5px;
}

.pw-reset__message--invalid {
    color: #721c24;
    background-color: #f8d7da;
    border: 1px solid #f5c6cb;
    padding: 10px;
    border-radius: 5px;
}


/* pw_reset_form.php */
/* ユーザー情報 */
.pw-reset__user-name {
    font-size: 18px;
    text-align: center;
    font-weight: bold;
    color: #333;
    margin-bottom: 5px;
}
.pw-reset__user-id {
    font-size: 16px;
    text-align: center;
    font-weight: bold;
    color: #333;
    margin-bottom: 10px;
}

.flex-container {
    display: flex; /* 横並びにする */
    justify-content: space-between; /* 余白を均等に配置 */
}

.error-message {
    color: red; /* 赤文字にする */
    font-weight: bold; /* 太字にする */
    margin: 10px 0;
}



@media screen and (max-width: 768px) {
    body {
        font-size: 14px;    background-color: #2980b9;
        background-color: #ffffff;
    }
    
    .pw-reset__container {
        width: 90%;
        padding: 15px;
    }

    .pw-reset__input {
        width: 90%;
        font-size: 14px;
    }
}

