* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    border: none;
}

/* メッセージ表示用スタイル */
#messages-container {
    position: absolute;
    top: 213px;
    left: 350px;
    width: 966px;
    z-index: 100;
}

.message {
    padding: 12px 15px;
    margin-bottom: 10px;
    border-radius: 4px;
    font-family: Noto Sans CJK JP;
    font-weight: bold;
    font-size: 16px;
    animation: fadeOut 5s forwards;
    animation-delay: 3s;
    text-align: left;
}

.info {
    background-color: rgba(51, 153, 255, 1);
    border-left: 4px solid rgba(0, 102, 204, 1);
    color: white;
}

.success {
    background-color: rgba(76, 175, 80, 1);
    border-left: 4px solid rgba(56, 142, 60, 1);
    color: white;
}

.warning {
    background-color: rgba(255, 193, 7, 1);
    border-left: 4px solid rgba(255, 160, 0, 1);
    color: rgba(51, 51, 51, 1);
}

.error {
    background-color: rgba(244, 67, 54, 1);
    border-left: 4px solid rgba(211, 47, 47, 1);
    color: white;
}

@keyframes fadeOut {
    from { opacity: 1; }
    to { opacity: 0; visibility: hidden; }
}
#n_PC___22 {
    position: relative;
    width: 100%;
    height: 100vh;
    background-color: rgba(255,255,255,1);
    overflow-x: auto;
    overflow-y: auto;
}
#n_PC___22 a {
    color: inherit;
    text-decoration: none;
}
#aaa {
    border: 0;
    left: 30px;
    top: 23px;
    position: absolute;
    overflow: visible;
    width: 201px;
    white-space: nowrap;
    text-align: left;
    font-family: Noto Sans CJK JP;
    font-style: normal;
    font-weight: bold;
    font-size: 25px;
    color: rgba(51,51,51,1);
}
#aab {
    fill: transparent;
    stroke: rgba(204,204,204,1);
    width: 100%;
    height: 1px;
    stroke-linejoin: miter;
    stroke-linecap: butt;
    stroke-miterlimit: 4;
    shape-rendering: auto;
}
.aab {
    overflow: visible;
    position: absolute;
    width: 100px;
    height: 1px;
    left: 0.5px;
    top: 84.5px;
    transform: matrix(1,0,0,1,0,0);
}
#aac{
    position: absolute;      /* #n_PC___22 を基準に配置 */
    top: 35px;
    /* ★ 狭い画面ではサイト幅(1500px)の右端から30px */
    left: calc(1500px - 30px);
    transform: translateX(-100%);
    /* 既存の装飾はそのまま ↓ */
    border: 0;
    overflow: visible;
    width: 84px;
    white-space: nowrap;
    font: bold 16px/1 "Noto Sans CJK JP";
    color:#333;
    letter-spacing:.4px;
}
@media (min-width: 1500px){
    #aac{
      left: auto;            /* 無効化 */
      right: 30px;           /* ウィンドウ右端から30px */
      transform: translateX(0%);
    }
}
#aad {
    fill: rgba(239,239,239,1);
}
.aad {
    position: absolute;
    overflow: visible;
    width: 100%;
    height: 128px;
    left: 0px;
    top: 85px;
    min-width:1500px;
}
/* 共通スタイル */
#aae{
    position: absolute;          /* #n_PC___22 を基準に配置 */
    top: 125px;
    width: 1500px;
    text-align: center;
    font: bold 30px/1 "Noto Sans CJK JP";
    color: #333;
    white-space: nowrap;
    transform: translateX(-50%); /* 左基準なので常に −50% シフト */
  }  
/* ① 画面幅 ≥ 1500px → ビューポート中央 */
@media (min-width: 1500px){
    #aae{left: 50%;}
}
/* ② 画面幅 < 1500px → サイト中央 (=1500px の 50%) */
@media (max-width: 1499.99px){
    #aae{left: 750px;}           /* 1500px / 2 */
}
#aaf {
    fill: rgba(255,255,255,1);
}
.aaf {
    position: absolute;
    overflow: visible;
    width: 300px;
    height: 786px;
    left: 0px;
    top: 213px;
}
#aag {
    fill: transparent;
    stroke: rgba(204,204,204,1);
    stroke-width: 1px;
    stroke-linejoin: miter;
    stroke-linecap: butt;
    stroke-miterlimit: 4;
    shape-rendering: auto;
}
.aag {
    overflow: visible;
    position: absolute;
    width: 1px;
    height: 786px;
    left: 300px;
    top: 213px;
    transform: matrix(1,0,0,1,0,0);
}
#aah {
    border: 0;
    left: 25px;
    top: 233px;
    position: absolute;
    overflow: visible;
    width: 100px;
    white-space: nowrap;
    text-align: left;
    font-family: Noto Sans CJK JP;
    font-style: normal;
    font-weight: bold;
    font-size: 16px;
    color: rgba(51,51,51,1);
    letter-spacing: 0.4px;
}
#aai {
    border: 0;
    left: 25px;
    top: 300px;
    position: absolute;
    overflow: visible;
    width: 116px;
    white-space: nowrap;
    text-align: left;
    font-family: Noto Sans CJK JP;
    font-style: normal;
    font-weight: bold;
    font-size: 16px;
    color: rgba(51,51,51,1);
    letter-spacing: 0.4px;
}
#aaj {
    border: 0;
    left: 25px;
    top: 367px;
    position: absolute;
    overflow: visible;
    width: 81px;
    white-space: nowrap;
    text-align: left;
    font-family: Noto Sans CJK JP;
    font-style: normal;
    font-weight: bold;
    font-size: 16px;
    color: rgba(51,51,51,1);
    letter-spacing: 0.4px;
}
#aak {
    border: 0;
    left: 25px;
    top: 434px;
    position: absolute;
    overflow: visible;
    width: 67px;
    white-space: nowrap;
    text-align: left;
    font-family: Noto Sans CJK JP;
    font-style: normal;
    font-weight: bold;
    font-size: 16px;
    color: rgba(51,51,51,1);
    letter-spacing: 0.4px;
}
#aal {
    border: 0;
    left: 25px;
    top: 501px;
    position: absolute;
    overflow: visible;
    width: 100px;
    white-space: nowrap;
    text-align: left;
    font-family: Noto Sans CJK JP;
    font-style: normal;
    font-weight: bold;
    font-size: 16px;
    color: rgba(51,51,51,1);
    letter-spacing: 0.4px;
}
#aam {
    border: 0;
    left: 121px;
    top: 570px;
    position: absolute;
    overflow: visible;
    width: 59px;
    white-space: nowrap;
    text-align: left;
    font-family: Noto Sans CJK JP;
    font-style: normal;
    font-weight: bold;
    font-size: 14px;
    color: rgba(51,51,51,1);
    letter-spacing: 0.4px;
}
#aan {
    border: 0;
    left: 150px;
    top: 692px;
    position: absolute;
    overflow: visible;
    width: 300px;
    white-space: nowrap;
    text-align: center;
    font-family: Noto Sans CJK JP;
    font-style: normal;
    font-weight: bold;
    font-size: 12px;
    color: rgba(51,51,51,1);
    letter-spacing: 0.4px;
    transform: translateX(-50%);
}

#aan div {
    text-align: center;
    width: 100%;
}
#aao {
    border: 0;
    left: 63px;
    top: 598px;
    position: absolute;
    overflow: visible;
    width: 175px;
    white-space: nowrap;
    text-align: left;
    font-family: Noto Sans CJK JP;
    font-style: normal;
    font-weight: bold;
    font-size: 14px;
    color: rgba(51,51,51,1);
    letter-spacing: 0.4px;
}
#aap {
    border: 0;
    left: 78px;
    top: 626px;
    position: absolute;
    overflow: visible;
    width: 146px;
    white-space: nowrap;
    text-align: left;
    font-family: Noto Sans CJK JP;
    font-style: normal;
    font-weight: bold;
    font-size: 14px;
    color: rgba(51,51,51,1);
    letter-spacing: 0.4px;
}
#aaq {
    border: 0;
    left: 121px;
    top: 654px;
    position: absolute;
    overflow: visible;
    width: 59px;
    white-space: nowrap;
    text-align: left;
    font-family: Noto Sans CJK JP;
    font-style: normal;
    font-weight: bold;
    font-size: 14px;
    color: rgba(51,51,51,1);
    letter-spacing: 0.4px;
}
#aar {
    fill: transparent;
    stroke: rgba(204,204,204,1);
    stroke-width: 1px;
    stroke-linejoin: miter;
    stroke-linecap: butt;
    stroke-miterlimit: 4;
    shape-rendering: auto;
}
.aar {
    overflow: visible;
    position: absolute;
    width: 300.5px;
    height: 1px;
    left: 0px;
    top: 279.5px;
    transform: matrix(1,0,0,1,0,0);
}
#aas {
    fill: transparent;
    stroke: rgba(204,204,204,1);
    stroke-width: 1px;
    stroke-linejoin: miter;
    stroke-linecap: butt;
    stroke-miterlimit: 4;
    shape-rendering: auto;
}
.aas {
    overflow: visible;
    position: absolute;
    width: 300.5px;
    height: 1px;
    left: 0px;
    top: 346.5px;
    transform: matrix(1,0,0,1,0,0);
}
#aat {
    fill: transparent;
    stroke: rgba(204,204,204,1);
    stroke-width: 1px;
    stroke-linejoin: miter;
    stroke-linecap: butt;
    stroke-miterlimit: 4;
    shape-rendering: auto;
}
.aat {
    overflow: visible;
    position: absolute;
    width: 300.5px;
    height: 1px;
    left: 0px;
    top: 413.5px;
    transform: matrix(1,0,0,1,0,0);
}
#aau {
    fill: transparent;
    stroke: rgba(204,204,204,1);
    stroke-width: 1px;
    stroke-linejoin: miter;
    stroke-linecap: butt;
    stroke-miterlimit: 4;
    shape-rendering: auto;
}
.aau {
    overflow: visible;
    position: absolute;
    width: 300.5px;
    height: 1px;
    left: 0px;
    top: 480.5px;
    transform: matrix(1,0,0,1,0,0);
}
#aav {
    fill: transparent;
    stroke: rgba(204,204,204,1);
    stroke-width: 1px;
    stroke-linejoin: miter;
    stroke-linecap: butt;
    stroke-miterlimit: 4;
    shape-rendering: auto;
}
.aav {
    overflow: visible;
    position: absolute;
    width: 300.5px;
    height: 1px;
    left: 0px;
    top: 547.5px;
    transform: matrix(1,0,0,1,0,0);
}


#aaaAdmin {
    fill: transparent;
    stroke: rgba(204,204,204,1);
    width: 100%;
    height: 1px;
    stroke-linejoin: miter;
    stroke-linecap: butt;
    stroke-miterlimit: 4;
    shape-rendering: auto;
}
.aaaAdmin {
    position: absolute;
    overflow: visible;
    width: 300px;
    height: 85px;
    left: 0px;
    top: 0px;
    background-color: #333;
    margin-top: 0;
    padding-top: 0;
}
#aabAdmin {
    border: 0;
    left: 50px;
    top: 23px;
    position: absolute;
    overflow: visible;
    width: 201px;
    white-space: nowrap;
    text-align: left;
    font-family: Noto Sans CJK JP;
    font-style: normal;
    font-weight: bold;
    font-size: 25px;
    color: rgba(255,255,255,1);
}