/* CSS Variables (定数定義) */
:root {
    /* ページレイアウト */
    /*--page-width: 1440px;
    --page-height: 1080px;*/
    --page-width: 100%;
    --max-page-width: 1440px;

    /* セクション関連 */
    --section-width: 100%;
    --section-header-height: 64px;
    --section-top-position: 152px;
    --section-left-position: 356px;
    --section-gap: 20px;

    /* カラーパレット */
    --primary-blue: #2840F0;
    --light-blue: #DFF1FF;
    --form-blue: #C8E6FF;
    --accent-blue: #3888E8;
    --white: #FFFFFF;
    --black: #000000;
    --gray: #404040;
    --light-gray: #F2F2F2;
    --border-gray: #AAAAAA;
}

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Noto Sans JP', sans-serif;
    background-color: var(--white);
    color: var(--black);
    line-height: 1.4;
    display: flex;
    flex-direction: column;
    min-height: 98vh;
}

.container {
    width: 100vw;
    margin: 0 auto;
    max-width: var(--max-page-width);
    /*max-width: 1440px;*/
    flex: 1;
    margin-top: 325px;
}

/* Header Styles */
.header {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 130px;
    z-index: 1;
    overflow: visible;
    padding: 20px 50px 0px 50px;
}

.header-bg-img {
    position: absolute;
    top: 90px;
    left: 0;
    width: 100%;
    height: 200px;
    object-fit: cover;
    z-index: 0;
    padding-right: 50px;
    padding-left: 50px;
}

.header-content {
    position: relative;
    z-index: 2;
    height: 100%;
}

.header-content.logo {
    position: absolute;
    top: 3px;
    left: 80px;
    width: 103px;
    height: 49px;
    z-index: 2;
}

.header-content.logo img {
    position: absolute;
    top: 3px;
    left: 80px;
    width: 103px;
    height: 49px;
    z-index: 2;
}

.logout-btn {
    position: absolute;
    top: 27px;
    right: 80px;
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: 400;
    font-size: 12px;
    line-height: 1.2;
    color: var(--black);
    cursor: pointer;
    z-index: 3;
}

/* Sidebar Styles */
.sidebar {
    position: absolute;
    left: 0;
    top: 88px;
    width: 536px;
    z-index: 5;
}

.db-support-logo {
    position: relative;
    width: 536px;
    height: 92px;
    background: none !important;
}

.db-support-bg-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 536px;
    height: 92px;
    object-fit: cover;
    z-index: 1;
    display: block;
}

.db-support-title {
    position: absolute;
    top: 8px;
    left: 98px;
    width: 360px;
    height: 70px;
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: 600;
    font-size: 48px;
    line-height: 1.448;
    color: var(--white);
    margin: 0;
    padding: 0;
    white-space: nowrap;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    z-index: 2;
    background: transparent !important;
    background-color: transparent !important;
}

.recommended {
    text-decoration: none;
    color: #6da4d4;
    text-indent: -9999px;
}

.recommended-env {
    position: absolute;
    top: 10px;
    right: 80px;
    width: 84px;
    height: 44px;
    background-color: #1746FF;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    margin: 300px 0 0 0;
}

.recommended-env:hover {
    background-color: #0f3dd6;
    color: var(--white);
}

.recommended-env span {
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: 600;
    font-size: 14px;
    line-height: 1.448;
    color: var(--white);
}

/* Main Content */
.main-content {
    position: relative;
    z-index: 1;
}

.content-area {
    position: relative;
    padding-left: 80px;
    padding-right: 80px;
}

/* Notice Title */
.message h2 {
    border-bottom: 1px #000000 solid;
    width: 80%;
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: 600;
    font-size: 20px;
    line-height: 1.448;
    color: var(--black);
    margin: 0px 50px 0px 50px;
}

/* Notice Content */
.message p {
    width: 80%;
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 1.5;
    color: var(--black);
    margin: 0;
    padding: 0px 50px 0px 50px;
}

/* Login Form */
table {
    border-collapse: collapse;
}

table.form {
    margin: 0 auto;
    width: 345px;
    /* height: 120px; */
    border: solid 1px #aaaaaa;
    text-align: left;
    border-bottom: 0px;
}

.error {
    text-align: center;
    color: #e60012;
    width: 100%;
    margin-top: 20px;
}

.login-form {
    width: 480px;
    height: 100%;
    margin: 15px auto;
}

.form-group {
    margin-bottom: 0;
    width: 480px;
    height: 40px;
}

.form-group th {
    width: 184px;
    height: 40px;
    background-color: var(--form-blue);
    border-bottom: 1px solid var(--border-gray);
    display: flex;
    align-items: center;
    padding-left: 16px;
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: 500;
    font-size: 16px;
    line-height: 1.5;
    color: var(--black);
    z-index: 2;
}

.form-group td {
    border-bottom: 0px;
}

.form-group input {
    width: 296px;
    height: 40px;
    border-bottom: 1px solid var(--border-gray);
    border-radius: 0;
    padding: 0 12px;
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 16px;
    background-color: var(--white);
    outline: none;
    border-top: 0px;
    border-left: 0px;
    border-right: 0px;
}

.form-group input:focus {
    border: 1px solid #1746FF;
}

/* Login Button */
.bt {
    text-align: center;
    margin: 20px 0 20px 0;
}

.login-btn {
    width: 164px;
    height: 32px;
    background-color: #1746FF;
    border: none;
    border-radius: 4px;
    color: var(--white);
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: 600;
    font-size: 14px;
    line-height: 1.448;
    text-align: center;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.login-btn:hover {
    background-color: #0f3dd6;
}

/* Password Reset */
.password-reset {
    width: 181px;
    height: 32px;
    background-color: #1746FF;
    border: none;
    border-radius: 4px;
    color: var(--white);
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: 600;
    font-size: 14px;
    line-height: 1.448;
    text-align: center;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.password-reset:hover {
    background-color: #0f3dd6;
}

/* Footer Notice */
.footer-notice {
    width: 774px;
    height: 48px;
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 1.5;
    color: var(--black);
    margin: 50px auto 20px auto;
}

.red-text {
    color: #FF0000;
    font-weight: 500;
}

/* Footer */
.footer {
    width: 100%;
    height: 100%;
    z-index: -1;
    text-align: center;
    margin-top: -70px;
}

.footer-bg-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.footer-bg {
    width: 100%;
    height: 100%;
    background-image: url('/img/footer_background.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.copyright {
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: 400;
    font-size: 12px;
    color: var(--black);
    margin-top: -35px;
}

/* ログアウトボタンの位置を明確にする */

.logout-btn {
    display: inline-block;
    background-color: #888888;
    color: #fff;
    padding: 8px 16px;
    border-radius: 12px;
    cursor: pointer;
    user-select: none;
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: 500;
    font-size: 14px;
    transition: background-color 0.3s ease;
    margin-top: -6px;
}

.logout-btn:hover {
    background-color: #666666;
}