/* 全体のレイアウト */
.contents_wrap {
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #f5f5f5;
    padding: 20px;
}

.contents_inner {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

/* アカウントログインラップ */
#account_login_wrap {
    display: flex;
    justify-content: center;
    align-items: center;
}

#account_login_box {
    background: #fff;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    width: 100%;
    max-width: 400px;
}

#account_login_box h2 {
    text-align: center;
    margin-bottom: 30px;
    font-size: 24px;
    font-weight: bold;
    color: #333;
}

/* フォームの説明文 */
.form_description {
    margin-bottom: 25px;
    text-align: center;
}

.form_description p {
    color: #666;
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 10px;
}

/* パスワード入力フィールドのラッパー */
.password_input_wrap {
    position: relative;
    display: flex;
    align-items: center;
}

.password_input_wrap input[type="password"],
.password_input_wrap input[type="text"] {
    width: 100%;
    padding: 12px;
    padding-right: 45px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 16px;
    box-sizing: border-box;
}

.password_input_wrap input[type="password"]:focus,
.password_input_wrap input[type="text"]:focus {
    border-color: var(--brand-color);
    outline: none;
    box-shadow: 0 0 0 2px rgba(233, 63, 75, 0.25);
}

.password_input_wrap input[type="password"].error,
.password_input_wrap input[type="text"].error {
    border-color: #dc3545;
}

/* パスワード表示切り替えボタン */
.password_toggle {
    position: absolute;
    right: 5px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    border-radius: 4px;
    transition: background-color 0.2s;
    z-index: 10;
}

.password_toggle:hover {
    background-color: rgba(0, 0, 0, 0.1);
}

.password_toggle:focus {
    outline: none;
    background-color: rgba(233, 63, 75, 0.1);
}

.eye_icon {
    font-size: 16px;
    display: block;
    line-height: 1;
}

/* パスワード要件のスタイル */
.password_requirements {
    background-color: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 4px;
    padding: 15px;
    margin: 15px 0;
}

.password_requirements p {
    margin: 0 0 10px 0;
    font-weight: 600;
    color: #333;
}

.password_requirements ul {
    margin: 0;
    padding-left: 20px;
    color: #666;
}

.password_requirements li {
    margin-bottom: 5px;
    font-size: 14px;
}

/* フォーム要素のスタイル */
.form_group {
    margin-bottom: 20px;
}

.form_group label {
    display: block;
    margin-bottom: 5px;
    font-weight: 600;
    color: #333;
}

.form_group input[type="password"] {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 16px;
    box-sizing: border-box;
}

.form_group input[type="password"]:focus {
    border-color: var(--brand-color);
    outline: none;
    box-shadow: 0 0 0 2px rgba(233, 63, 75, 0.25);
}

.form_group input[type="password"].error {
    border-color: #dc3545;
}

/* エラーメッセージ */
.error_message {
    color: #dc3545;
    font-size: 14px;
    margin-bottom: 15px;
    text-align: left;
    background-color: #f8d7da;
    border: 1px solid #f5c6cb;
    border-radius: 4px;
    padding: 10px;
}

/* ボタンスタイル */
.student_next_btn_wrap {
    margin: 20px 0;
}

.student_next_btn {
    background: var(--brand-color);
    color: white;
    padding: 12px 30px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
    width: 100%;
    transition: background-color 0.3s;
}

.student_next_btn:hover {
    background: #C62828;
}

/* ログインリンク */
.login_link {
    text-align: center;
    margin: 20px 0;
}

.login_link a {
    color: var(--brand-color);
    text-decoration: none;
    font-weight: 600;
}

.login_link a:hover {
    text-decoration: underline;
}

/* 完了メッセージ */
.complete_message {
    text-align: center;
    margin: 20px 0;
    padding: 20px;
    background-color: #d4edda;
    border: 1px solid #c3e6cb;
    border-radius: 4px;
    color: #155724;
}

.complete_message p {
    margin: 10px 0;
    font-size: 16px;
}

/* 注意事項 */
.notice {
    background-color: #fff3cd;
    border: 1px solid #ffeaa7;
    border-radius: 4px;
    padding: 15px;
    margin: 20px 0;
    color: #856404;
}

.notice p {
    margin: 5px 0;
    font-size: 14px;
    line-height: 1.5;
}

/* コピーライト */
.check_copy {
    text-align: center;
    padding: 20px;
    color: #666;
    font-size: 12px;
    position: fixed;
    bottom: 0;
    width: 100%;
    background-color: #f5f5f5;
}

/* レスポンシブ対応 */
@media (max-width: 480px) {
    #account_login_box {
        padding: 20px;
    }

    #account_login_box h2 {
        font-size: 20px;
    }

    .contents_wrap {
        padding: 10px;
    }

    .complete_message p {
        font-size: 14px;
    }
}