/* ログイン画面全体のレイアウト */
.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;
}

/* ログインボックスのスタイル */
#student_login_wrap {
    display: flex;
    justify-content: center;
    align-items: center;
}

#student_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;
}

#student_login_box h2 {
    text-align: center;
    margin-bottom: 30px;
    font-size: 24px;
    font-weight: bold;
    color: #333;
}

/* フォーム要素のスタイル */
#student_login_box input[type="text"],
#student_login_box input[type="password"],
#student_login_box input[type="email"] {
    width: 100%;
    padding: 12px;
    margin-bottom: 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 16px;
    box-sizing: border-box;
}

#student_login_box input[type="text"]:focus,
#student_login_box input[type="password"]:focus,
#student_login_box input[type="email"]:focus {
    border-color: #007bff;
    outline: none;
    box-shadow: 0 0 0 2px rgba(0,123,255,0.25);
}

/* エラーメッセージ */
.error_message {
    color: #dc3545;
    font-size: 14px;
    margin-bottom: 15px;
    text-align: left;
}

/* ボタンスタイル */
.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: var(--brand-color);
}

/* パスワードリンク */
.password_wrap {
    text-align: center;
    margin: 15px 0;
}

.password_wrap a {
    color: #007bff;
    text-decoration: none;
    font-size: 14px;
}

.password_wrap a:hover {
    text-decoration: underline;
}

/* 会員登録リンク */
.register_wrap {
    display: block;
    text-align: center;
    margin: 20px 0 30px 0;
    padding: 20px 15px;
    background-color: #f8f9fa;
    border: 2px solid var(--brand-color);
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
}

.register_wrap:hover {
    background-color: #f0f0f0;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(233, 63, 75, 0.2);
}

.register_wrap p {
    margin: 0;
    font-size: 16px;
    color: #333;
    font-weight: 500;
}

.register_wrap .register_link {
    color: var(--brand-color);
    text-decoration: none;
    font-weight: 700;
    font-size: 18px;
}

.register_wrap:hover .register_link {
    text-decoration: underline;
}

/* LINEログインセクション */
.p1 {
    text-align: center;
    margin: 25px 0 15px;
    font-size: 16px;
    color: #333;
    position: relative;
}

.p1::before,
.p1::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 25%;
    height: 1px;
    background-color: #ddd;
}

.p1::before {
    left: 0;
}

.p1::after {
    right: 0;
}

/* LINEログインボタン */
.login_btn {
    background: #00b900;
    color: white;
    padding: 12px 30px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
    width: 100%;
    transition: background-color 0.3s;
}

.login_btn:hover {
    background: #009900;
}

/* コピーライト */
.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) {
    #student_login_box {
        padding: 20px;
    }

    #student_login_box h2 {
        font-size: 20px;
    }

    .contents_wrap {
        padding: 10px;
    }
}

/* 登録完了メッセージ */
.fin_message {
    color: #28a745;
    font-size: 18px;
    text-align: center;
    margin: 30px 0;
    padding: 20px;
    background-color: #d4edda;
    border: 1px solid #c3e6cb;
    border-radius: 8px;
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(40, 167, 69, 0.1);
}

/* 登録完了アイコン */
.fin_message::before {
    content: '✓';
    display: block;
    font-size: 48px;
    color: #28a745;
    margin-bottom: 15px;
    font-weight: bold;
}

/* 登録完了画面のコンテナ */
.completion_container {
    text-align: center;
    padding: 40px 20px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    max-width: 500px;
    margin: 0 auto;
}

/* 登録完了タイトル */
.completion_title {
    font-size: 24px;
    font-weight: bold;
    color: #333;
    margin-bottom: 20px;
}

/* 登録完了説明文 */
.completion_description {
    color: #666;
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 30px;
}

/* ログインボタン（完了画面用） */
.completion_login_btn {
    background: var(--brand-color);
    color: white;
    padding: 15px 40px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 18px;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    transition: background-color 0.3s;
    margin-top: 20px;
}

.completion_login_btn:hover {
    background: #C62828;
    text-decoration: none;
    color: white;
}

/* 完了画面のレスポンシブ対応 */
@media (max-width: 480px) {
    .completion_container {
        padding: 20px 15px;
        margin: 10px;
    }
    
    .completion_title {
        font-size: 20px;
    }
    
    .fin_message {
        font-size: 16px;
        padding: 15px;
    }
    
    .fin_message::before {
        font-size: 36px;
    }
}