#headers {
    background-color: var(--sub-brand-color);
    height: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.headerLogoBox {
    color: white;
    text-align: center;
}

.headerLogoTitle {
    font-size: 1.5rem;
    cursor: pointer;
}

.note_banner {
    height: 20rem;
    width: 100%;
    background-color: #f9e073;
    margin-left: -10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: auto;
    background-image: linear-gradient(200deg, #f5d656 25%, transparent 25%, transparent 50%, #f5d656 50%, #f5d656 75%, transparent 75%, transparent);
    flex-direction: column;
}

.handbookbanner>div {
    margin-bottom: 1rem;
    margin-left: 10rem;
}

#bannertext {
    line-height: 1.6rem;
    white-space: pre-wrap;
}

.handbookbanner>div>* {
    background-color: white;
    display: inline;
}

.notice {
    width: 800px;
    margin: auto;
    margin-top: 5rem;
    border: 2px solid #ccc;
    border-radius: 5px;
    padding: 5px;
    color: #666666;
    background-color: white;
}

.notice>h4 {
    text-align: center;
    border-bottom: 1px solid #ccc;
}

.notice>div>h4 {
    margin-top: 5px;
    font-size: 1rem;
}

.notice>div>p {
    font-size: 0.87rem;
    padding: 0;
}

.contents {
    width: 70rem;
    margin: auto;
    margin-top: 2rem;
}

.contentBox {
    background-color: white;
    padding: 1.5rem 1rem 2rem 1rem;
    border-radius: 18px;
    margin-bottom: 3rem;
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.05), 0 3px 6px rgba(0, 0, 0, 0.1);
}

.contentBox h2,
h1 {
    cursor: default;
}

.beforeExp {
    margin: 0rem 1rem 1rem 1rem;
}

.contentboxDiv {
    display: grid;
    gap: 16px;
}

.contentboxDiv.div3 {
    grid-template-columns: repeat(3, 1fr);
}

.contentboxDiv.div2 {
    grid-template-columns: repeat(2, 1fr);
}

.contentboxDiv.divall {
    grid-template-columns: repeat(4, 1fr);
}

.contentBoxTitle {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
}

.contentBoxTitle img {
    width: 2rem;
    margin-left: 1rem;
}

.contentBoxTitle h2 {
    margin-left: 1rem;
}

.itemBox {
    display: block;
    min-height: 130px;
    padding: 20px;
    border-radius: 18px;
    text-decoration: none;
    color: #1f2937;
    border: 1px solid rgba(0, 0, 0, 0.08);
    background: #fff;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease,
        border-color 0.2s ease;
}

.itemBox:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.08);
    border-color: rgba(0, 0, 0, 0.14);
}

.itemBox h3 {
    margin: 0 0 10px;
    font-size: 1.08rem;
    font-weight: 700;
}

.itemBoxP {
    margin: 0;
    font-size: 0.92rem;
    line-height: 1.65;
    color: #4b5563;
}

.itemBoxElse {
    min-height: 110px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    text-align: center;
    padding: 18px 12px;
}

.itemBoxElse img {
    width: 38px;
    height: 38px;
}

.itemBoxElse h4 {
    margin: 0;
    font-size: 0.98rem;
    font-weight: 700;
}

.itemBoxIconBox {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

.itemBoxIconBox img {
    width: 28px;
    height: 28px;
}

.itemBoxIconBox h3 {
    margin-left: 0.5rem;
}

.bg-earthquake {
    background: linear-gradient(135deg, #fff, #fef2f2);
}

.bg-rain {
    background: linear-gradient(135deg, #fff, #eff6ff);
}

.bg-else {
    background: linear-gradient(135deg, #fff, #f9fafb);
}

.bg-start {
    background: linear-gradient(135deg, #fff, #f0fdf4);
}

.bg-tips {
    background: linear-gradient(135deg, #fff, #fffbeb);
}

.itemBoxPUl {
    margin: 5px 0 0 0;
    font-size: 1rem;
}

.banner {
    width: 70rem;
    margin: auto;
    margin-top: 3rem;
}

.banner>div {
    padding: 1.75rem;
    background-color: white;
    border-radius: 1.5rem;
    border: 1px solid #d8e5fd;
    box-shadow: 0 0.2rem 0.8rem 0 rgba(0, 0, 0, 0.04);
    overflow: hidden;
}

.alertItem {
    margin: 0.3rem 0;
    padding: 0.2rem 0.5rem;
    border-radius: 7px;
    display: flex;
    justify-content: space-between;
}

.alertItem img {
    width: 1.2rem;
    cursor: pointer;
}

.alertItem p {
    cursor: pointer;
}

.passed {
    background-color: red;
    color: white;
}

.soon {
    background-color: yellow;
}

.contentBoxBtnBox {
    display: flex;
    justify-content: center;
    margin-top: 3rem;
}

.contentBoxBtnBox a {
    display: flex;
    justify-content: center;
    align-items: center;
    border: 1px solid #ccc;
    padding: 0.3rem 2rem 0.3rem 1.5rem;
    border-radius: 10px;
    background-color: white;
}

.contentBoxBtnBox a:hover {
    background-color: rgba(0, 0, 0, 0.05);
}

.contentBoxBtnBox a img {
    width: 2rem;
}

.contentBoxBtnBox a p {
    color: var(--main-text-color);
}

.quickBoxBody {
    display: flex;
}

.quickBox {
    display: flex;
    justify-content: center;
    background: linear-gradient(90deg, rgba(37, 99, 248, 0.5) 25%, rgba(147, 51, 234, 0.5) 100%);
}

.quickBoxCont {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 0 1rem;
    padding: 1rem;
    border-radius: 10px;
    transition: 0.5s;
    color: var(--main-text-color);
    background-color: rgba(255, 255, 255, 0.2);
}

.quickBoxCont:hover {
    cursor: pointer;
    transform: scale(1.05);
    transition: 0.5s;
}

.quickBoxCont img {
    width: 4rem;
}

#addCallBox {
    display: none;
}

#addCallBox div {
    display: flex;
    margin-top: 0.7rem;
}

#addCallBox input {
    font-family: "Pretendard", sans-serif;
    padding: 0.2rem 0.5rem;
    margin-left: 0.5rem;
}

@media screen and (max-width : 1240px) {

    .contents,
    .banner {
        width: 50rem;
    }
}

@media screen and (max-width : 1040px) {

    .contents,
    .banner {
        width: 70%;
    }

    .contentboxDiv.div3,
    .contentboxDiv.div2 {
        grid-template-columns: repeat(2, 1fr);
    }

    .contentboxDiv.divall {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media screen and (max-width : 840px) {

    .contents,
    .banner {
        width: 90%;
    }
}

@media screen and (max-width : 600px) {
    .alertItem p {
        white-space: pre-wrap;
    }

    #contents, .banner {
        width: min(100% - 24px, 1100px);
        padding-top: 24px;
    }

    .contentBox {
        margin-bottom: 40px;
    }

    .contentBoxTitle h2 {
        font-size: 1.25rem;
    }

    .contentBoxTitle img {
        width: 32px;
        height: 32px;
    }

    .contentboxDiv.div3,
    .contentboxDiv.div2 {
        grid-template-columns: 1fr;
    }

    .contentboxDiv.divall {
        grid-template-columns: repeat(2, 1fr);
    }

    .itemBox {
        min-height: auto;
        padding: 18px;
        border-radius: 16px;
    }

    .itemBoxElse {
        padding: 16px 10px;
    }
}