@charset "utf-8";


/*************** new main css ***************/
body {
    min-width: 400px;
}
.wrap {
    width: 100%;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
}

#header,
.contents,
#copyright {
    width: calc(100% - 40px);
    padding: 0px 20px;  
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contents {
    padding: 40px 20px;
    flex-direction: column;
    flex-grow: 1;
}

#copyright {
    justify-content: center;
}

/* inner */
.header,
.main,
.copyright {    
    width: 1300px !important;
    margin: 0 auto !important;
    padding: 0 !important;
}

.header h1 {
    padding: 0;
}

/* title */
.main .tit {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px 20px;
}

.main .title {
    position: relative;
    font-size: 15px;
    font-weight: 700;
    color: #227070;
    margin: 0;
    padding-left: 26px;
}

.main .title::before {
    content: '';
    position: absolute;
    display: inline-block;
    width: 20px;
    height: 20px;
    left: 0;
    top: 0;
    background: url('../images/ico_notice.svg') center center no-repeat;
}

.main .btn01 {
    width: fit-content;
    height: fit-content;
    padding: 8px 16px 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}

.main .btn03 {
    width: fit-content;
    height: fit-content;
    padding: 8px 16px 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}


/* menu */
.mn_wrap {
    width: 100%;
    margin-top: 36px;
    margin-bottom: 20px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 32px 20px;
    overflow: visible !important;
}

.mn_wrap .mn {
    float: none;
    width: calc((100% - 80px) / 5);
    min-width: calc((1));
    height: 230px;
    padding: 48px 0px;
    border-radius: 24px;
    overflow: hidden;
    transition: background-color 0.3s, transform 0.3s;
}

.mn_wrap .mn:hover {
    cursor: pointer;
    transform: translateY(-12px);
    box-shadow: 0px 0px 16px rgba(10, 23, 63, 0.15);
}

.mn-01 {
    background: url('../images/mn-01.svg') no-repeat right bottom;
    background-color: #9ACD57;
}

.mn-02 {
    background: url('../images/mn-02.svg') no-repeat right bottom;
    background-color: #40AEE1;
}

.mn-03 {
    background: url('../images/mn-03.svg') no-repeat right bottom;
    background-color: #37BDBE;
}

.mn-04 {
    background: url('../images/mn-04.svg') no-repeat right bottom;
    background-color: #398CC8;
}

.mn-05 {
    background: url('../images/mn-05.svg') no-repeat right bottom;
    background-color: #9572FF;
}


/* menu detail */
.mn_btn {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.mn_btn > * {
    color: #ffffff;
    font-weight: 700;
    text-align: center;
    letter-spacing: -0.5px;
    word-wrap: break-word;
    word-break: keep-all;
    padding: 0;
}

.mn_btn h2 {
    font-size: 22px;
    line-height: 1.3;
}

.mn_txt {
    margin-bottom: 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.txt_lb {
    width: fit-content;
    height: fit-content;
    background: rgba(255, 255, 255, 0.4);
    color: rgba(0, 0, 0, 0.5);
    font-size: 12px;
    padding: 4px 10px 2px;
    border-radius: 20px;
}

.txt_date {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.txt_date span {
    font-size: 15px;
}

/* guide text */
.txt_main {
    padding-left: 4px;
    padding-bottom: 32px;
}



/* ============================ [ mediaquery ] ============================ */
@media screen and (max-width: 1340px) {
    .header, .main, .copyright {
        width: 100% !important;
    }
    
    .mn_wrap .mn {
        width: calc((100% - 60px) / 3);
    }
}

@media screen and (max-width: 768px) {  
    .mn_wrap {
        justify-content: flex-start;
        gap: 20px;
    }  
    
    .mn_wrap .mn {
        width: calc((100% - 104px) / 2);
        padding: 32px 16px 24px;
    }
    
    .mn_wrap .mn:hover {
        transform: none;
        box-shadow: 0px 0px 16px rgba(20, 43, 112, 0.15);
    }
    
    .mn_btn {
        gap: 32px;
    }
    
    .mn_txt {
        gap: 12px;
    }
}

@media screen and (max-width: 540px) {
    .mn_wrap {
        margin-top: 20px;
        flex-direction: column;
        gap: 16px;
    }
    
    .mn_wrap .mn {
        width: calc(100% - 32px);
        height: fit-content;
    }
}