@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@400;500;700&display=swap');
* {
    font-family: 'Noto Sans JP', sans-serif;
}
html, body {
    font-size: 10px;
    margin: 0;
    /* height: 100%; */
    width: 100vw;
}

body {
    position: relative;
    background: #fff;
    color: black;
    scroll-behavior: smooth;
}

#main-section {
    display: flex;
    position: relative;
    top: 6rem;
    width: 100vw;
    max-width: 100vw;
    gap: 4rem;
}
main {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 3rem;
    margin-top: 3rem;
    overflow-x: hidden;
}
/* base */
/*.sm { font-size: 1rem; color: #000000;}*/
/*.md { font-size: 1.125rem; color: #000000}*/
/*.lg { font-size: 1.250rem; color: #000000}*/
/*.xl { font-size: 2rem; color: #000000}*/
/*.xxl { font-size: 2.625rem; color: #000000}*/

.sm { font-size: 1.375rem; color: #000000;}
.md { font-size: 1.5rem; color: #000000; }
.lg { font-size: 1.625rem; color: #000000}
.xl { font-size: 2.375rem; color: #000000}
.xxl { font-size: 2.5rem; color: #000000}

@media (max-width: 1024px) {
    .sm { font-size: 1.275rem;}
    .md { font-size: 1.4rem; }
    .lg { font-size: 1.525rem;}
    .xl { font-size: 2.275rem;}
    .xxl { font-size: 2.4rem;}
}
/*@media (min-width: 1536px) {*/
/*    .sm { font-size: 1.375rem; }*/
/*    .md { font-size: 1.5rem; }*/
/*    .lg { font-size: 1.625rem; }*/
/*    .xl { font-size: 2.375rem; }*/
/*    .xxl { font-size: 3rem; }*/
/*}*/


/* md: ≥768px */

/*@media (min-width: 1024px) {*/
/*    .sm { font-size: 1.125rem; }*/
/*    .md { font-size: 1.250rem; }*/
/*    .lg { font-size: 1.375rem; }*/
/*    .xl { font-size: 2.125rem; }*/
/*    .xxl { font-size: 2.750rem; }*/
/*}*/
/*!* lg: ≥1024px *!*/
/*@media (min-width: 1280px) {*/
/*    .sm { font-size: 1.250rem; }*/
/*    .md { font-size: 1.375rem; }*/
/*    .lg { font-size: 1.500rem; }*/
/*    .xl { font-size: 2.250rem; }*/
/*    .xxl { font-size: 2.875rem; }*/
/*}*/

/*!* xl: ≥1280px *!*/
/*@media (min-width: 1536px) {*/
/*    .sm { font-size: 1.375rem; }*/
/*    .md { font-size: 1.5rem; }*/
/*    .lg { font-size: 1.625rem; }*/
/*    .xl { font-size: 2.375rem; }*/
/*    .xxl { font-size: 3rem; }*/
/*}*/


p {
    margin: 0;
    line-height: 1.5;
}

h1 {
    font-weight: 700;
    margin: 0;
}

h2 {
    font-weight: 600;
    margin: 0;
}

h3 {
    font-weight: 600;
    margin: 0;
}

@media (min-width: 768px) {
    h1 { font-size: 2.4rem; }
    h2 { font-size: 2.25rem; }
    h3 { font-size: 1.875rem; }
}
::-webkit-scrollbar {
    width: 4px; /* 세로 스크롤바의 너비 */
    height: 4px; /* 가로 스크롤바의 높이 */
}
::-webkit-scrollbar-track {
    background: #ffffff; /* 트랙의 기본 배경색 */
}
::-webkit-scrollbar-thumb {
    background: #DADFEB; /* 핸들의 색상 */
    border-radius: 10px; /* 핸들의 모서리 둥글게 */
    border: none /* 핸들의 외곽선 */
}
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}
.status {
    height: 100%;
    border-radius: 6px;
    padding: 4px 6px;
    border: none;
    outline-offset: -1px;
    background: none;
}
a {
    color: black;
    text-decoration: none;
}

.status.type {background-color: #EFF5FF; height: 100%;}
.s-1 {color: #DC4C9C; outline: 1px solid #DC4C9C;}
.s-2 {color: #DB9600; outline: 1px solid #DB9600;}
.s-3 {color: #FF9000; outline: 1px solid #FF9000;}
.s-4 {color: #008F00; outline: 1px solid #008F00;}
.s-5 {color: #167E73; outline: 1px solid #167E73;}
.s-6 {color: #705314; outline: 1px solid #705314;}
.s-7 {color: #8D34BE; outline: 1px solid #8D34BE;}
.s-8 {color: #00ACE0; outline: 1px solid #00ACE0;}
.s-9 {color: #336BE5; outline: 1px solid #336BE5;}
.s-10 {color: #0222B4; outline: 1px solid #0222B4;}
.s-11 {color: #E63C25; outline: 1px solid #E63C25;}
.s-12 {color: #989898; outline: 1px solid #989898;}
/*.status.red { background-color: rgba(225, 98, 108, 0.3); color: #B40211; height: 100%;}*/
/*.status.orange { background-color: rgba(255, 115, 0, 0.3); color: #FF7300; height: 100%;}*/
/*.status.gold { background-color: rgba(100, 67, 13, 0.3); color: #64430D; height: 100%;}*/
/*.status.green { background-color: rgba(80, 154, 84, 0.3); color: #509A54; height: 100%;}*/
/*.status.purple { background-color: rgba(151, 71, 255, 0.3); color: #9747FF; height: 100%;}*/
/*.status.blue { background-color: rgba(44, 92, 220, 0.3); color: #2C5CDC; height: 100%;}*/
/*.status.middle-blue { background-color: #426cdc; color: #ffffff; height: 100%;}*/
/*.status.deep-blue { background-color: #243AB4; color: #ffffff; height: 100%;}*/
/*.status.deep-red {background-color: #b40211; color: #ffffff; height: 100%;}*/

#alert-modal {
    z-index: 99;
    position: fixed;
    top: -20rem;
    left: 50%;
    transform: translateX(-50%);
    display: block;
    width: auto;
    min-width: 28rem;
    max-width: 50rem;
    text-align: center;
    word-break: auto-phrase;
    border: 1px solid #8491A7;
    border-radius: 6px;
    padding: 1.7rem 2rem;
    background-color: #ffffff;
    box-shadow: 0 2px 4px rgba(55, 63, 87, 0.10);
    transition: top 0.5s ease-in-out;
}
#alert-modal.show {
    top: 6%;
}

#loader {
    position: fixed;
    z-index: 98;
    top: 10rem;
    left: 7rem;
    display: none;
    width: 1.75rem;
    height: 1.75rem;
    border: 4px solid #EFF5FF;
    border-top: 4px solid #0222B4;
    border-radius: 50%;
    animation: spin 1s linear infinite;

}
#confirm-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.5); /* 반투명 어두운 배경 */
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}
.confirm-modal {
    background: white;
    padding: 1.5rem;
    border-radius: 1rem;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    text-align: center;
    width: 300px;
}
.confirm-modal .confirm-modal-buttons {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-top: 1rem;
}
.confirm-modal-buttons button {
    padding: 1rem 2rem;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 1.5rem;
}
.confirm-modal-buttons button:after {
    content: none;
}
.confirm-modal-buttons .confirm-delete {
    background: #ff4d4d;
    color: white;
}
.confirm-modal-buttons .cancel-delete {
    background: #2746d5;
    color: white;
}
.confirm-modal-buttons button:hover {
    opacity: 0.8;
}
@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}
