.MC_wrap2 { margin: 2.5rem 0; }
.MC_wrap2 .container { display: flex; gap: 1.75rem; }
.MC_wrap2 .con_wrap { display: flex; flex-wrap: wrap; gap: 1.75rem; width: 70%; }
.MC_wrap3 { background: #f5f5f5; padding: 2.6rem 0; }

/* 메인비주얼 */
.M_visual { position: relative; }
.M_visual .slider { height: 36rem; }
.M_visual .item { position: relative; }
.M_visual .item img { width: 100%; height: 100%; object-fit: cover; }
.M_visual .item .txt_box { position: absolute; bottom: 14.4rem; left: 50%; transform: translateX(-50%); width: 80rem; color: #fff; word-break: keep-all; line-height: normal; }
.M_visual .item .txt_box strong { display: block; font-size: 3.5rem; font-weight: 700; text-shadow: 0 2px 7px rgba(0, 0, 0, 0.25); }
.M_visual .item .txt_box span { display: block; font-size: 1.75rem; font-weight: 400; margin-top: 1.7rem; text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5); }
.M_visual .item .txt_box.cnt strong { font-size: 2.25rem; }
.M_visual .item .txt_box.cnt span { font-size: 1.4rem; }
.M_visual .control { position: absolute; bottom: 7.7rem; left: 50%; transform: translateX(-40rem); display: flex; gap: 0.5rem; z-index: 1; }
.M_visual .control a { display: flex; justify-content: center; align-items: center; width: 4rem; height: 4rem; border-radius: 50%; border: 1px solid #fff; color: #fff; backdrop-filter: blur(8px); font-size: 1.2rem; transition: 0.3s; }
.M_visual .control a.play { display: none; }
.M_visual .control a:hover,
.M_visual .control a:focus { background: #fff; color: #000; }

/* 공지사항 */
.M_notice { position: relative; width: 30%; border: 1px solid #ddd; border-radius: 1rem; padding: 1.6rem 1.5rem; }
.M_notice .heading { display: inline-block; background: #0098D8; color: #fff; border-radius: 2rem; padding: 0.65rem 1.5rem; font-size: 1rem; font-weight: 600; }
.M_notice .btn_more { position: absolute; top: 2.2rem; right: 1.5rem; font-size: 1rem; color: #000; transition: 0.3s; }
.M_notice .top_list { padding: 1.5rem 0; border-bottom: 1px solid #D2D2D2; }
.M_notice .top_list a { display: block; }
.M_notice .top_list a .tit { position: relative; font-size: 0.9rem; font-weight: 700; color: #000; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; padding: 5px 0; }
.M_notice .top_list a .txt { font-size: 0.85rem; color: #444; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; overflow: hidden; margin: 0.5rem 0 1rem; line-height: 1.25rem; }
.M_notice .top_list a .date { font-size: 0.85rem; color: #666; }
.M_notice .top_list a.new .tit { padding-left: 2rem; }
.M_notice .top_list a.new .tit::before { position: absolute; top: 0; left: 0; display: flex; justify-content: center; align-items: center; width: 1.5rem; height: 1.5rem; border-radius: 50%; background: #0098D8; color: #fff; font-size: 0.85rem; font-weight: 700; content: "N"; }
.M_notice ul li:nth-child(n + 5) { display: none; }
.M_notice ul li:first-child { padding-top: 0.6rem; }
.M_notice ul li + li { border-top: 1px dashed #D2D2D2; margin-top: 0.6rem; padding-top: 0.6rem; }
.M_notice ul li a { display: block; }
.M_notice ul li a .txt { display: block; font-size: 0.9rem; font-weight: 700; color: #222; margin-bottom: 0.3rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; overflow: hidden; }
.M_notice ul li a .date { font-weight: 0.85rem; color: #666; }
.M_notice .top_list a:hover .txt,
.M_notice .top_list a:focus .txt,
.M_notice ul li a:hover .txt,
.M_notice ul li a:focus .txt { text-decoration: underline; }
.M_notice .btn_more:hover,
.M_notice .btn_more:focus { transform: rotate(180deg); }

/* 바로가기1 */
.M_link1 { width: 100%; }
.M_link1 ul { display: flex; gap: 1.75rem; }
.M_link1 ul li a { min-height: 9rem; height: 100%; position: relative; display: block; border-radius: 1rem; background: #E9F8FF; padding: 1.5rem; overflow: hidden; }
.M_link1 ul li a::before,
.M_link1 ul li a::after { position: absolute; width: 13.4rem; height: 13.4rem; border-radius: 50%; background: rgba(0, 152, 216, 0.07); content: ""; opacity: 0; transition: 0.3s; }
.M_link1 ul li a::before { top: 100%; right: -100%; }
.M_link1 ul li a::after { top: 100%; right: -100%; }
.M_link1 ul li a .icon { position: absolute; bottom: 1.2rem; right: 1.5rem; }
.M_link1 ul li a .tit { position: relative; font-size: 1rem; font-weight: 700; color: #000; margin-bottom: 0.8rem; }
.M_link1 ul li a .tit::before { position: absolute; display: flex; justify-content: center; align-items: center; top: -5px; right: 0; width: 1.8rem; height: 1.8rem; border-radius: 50%; background: #fff; color: #555; font-family: 'Remixicon'; font-size: 1rem; font-weight: 500; content: "\ea70"; transition: 0.3s; }
.M_link1 ul li a .txt { font-size: 0.85rem; color: #444; line-height: 1.2rem; padding-right: 4rem; word-break: keep-all; }
.M_link1 ul li a:hover::before { top: 2.3rem; right: -9rem; opacity: 1; }
.M_link1 ul li a:hover::after { top: 6.85rem; right: -2rem; opacity: 1; }
.M_link1 ul li a:hover .tit::before { background: #0098D8; color: #fff; }

/* 바로가기2 */
.M_link2 { width: calc(100% - 17.75rem); }
.M_link2 ul { display: flex; flex-direction: column; gap: 1rem; }
.M_link2 ul li a { position: relative; display: block; border-radius: 1rem; border: 1px solid #ddd; padding: 1.4rem 1.5rem; overflow: hidden; }
.M_link2 ul li a::before,
.M_link2 ul li a::after { position: absolute; width: 13.4rem; height: 13.4rem; border-radius: 50%; background: rgba(0, 171, 172, 0.05); content: ""; opacity: 0; transition: 0.3s; z-index: -1; }
.M_link2 ul li a::before { top: 100%; right: -100%; }
.M_link2 ul li a::after { top: 100%; right: -100%; }
.M_link2 ul li a .icon { position: absolute; bottom: 1.2rem; right: 1.5rem; }
.M_link2 ul li a .tit { position: relative; font-size: 1rem; font-weight: 700; color: #000; margin-bottom: 0.8rem; }
.M_link2 ul li a .tit::before { position: absolute; display: flex; justify-content: center; align-items: center; top: -5px; right: 0; width: 1.8rem; height: 1.8rem; border-radius: 50%; border: 1px solid #ddd; color: #555; font-family: 'Remixicon'; font-size: 1rem; font-weight: 500; content: "\ea70"; transition: 0.3s; }
.M_link2 ul li a .txt { font-size: 0.85rem; color: #444; line-height: 1.2rem; word-break: keep-all; }
.M_link2 ul li a:hover { border-color: #00ABAC; }
.M_link2 ul li a:hover::before { top: 0; right: -9.25rem; opacity: 1; }
.M_link2 ul li a:hover::after { top: 4.7rem; right: -2.25rem; opacity: 1; }
.M_link2 ul li a:hover .tit { color: #00ABAC; }
.M_link2 ul li a:hover .tit::before { background: #00ABAC; border-color: #00ABAC; color: #fff; }

/* 학생상담센터 */
.M_info { width: 16rem; border-radius: 1rem; background: #0098D8; padding: 1.5rem; }
.M_info .heading { color: #fff; font-size: 1.5rem; font-weight: 700; margin-bottom: 1.5rem; }
.M_info dl + dl { margin-top: 1.65rem; }
.M_info dl dt { position: relative; font-size: 1rem; font-weight: 700; color: #fff; padding: 0.25rem 0 0.9rem 2.1rem; margin-bottom: 0.5rem; border-bottom: 1px solid rgba(255, 255, 255, 0.5); }
.M_info dl dt::before { position: absolute; top: 0; left: 0; width: 1.65rem; height: 1.65rem; background-repeat: no-repeat; background-position: center; background-size: contain; content: ""; }
.M_info dl:nth-of-type(1) dt::before { background-image: url('/images/web/sangdam/main/info_icon01.png'); }
.M_info dl:nth-of-type(2) dt::before { background-image: url('/images/web/sangdam/main/info_icon02.png'); }
.M_info dl dd ul li { display: flex; color: #fff; font-size: 1rem; font-weight: 700; }
.M_info dl dd ul li + li { margin-top: 0.3rem; }
.M_info dl dd ul li span { display: flex; align-items: center; width: 2.7rem; font-size: 0.85rem; font-weight: 600; flex-shrink: 0; }
.M_info dl dd ul li p {max-width: 7rem;width: 100%;text-align:right;}
.M_info .info { background: #fff; color: #006996; margin-top: 1.4rem; padding: 0.4rem; border-radius: 5px; }

/* 갤러리 */
.M_garlly { position: relative; }
.M_garlly .heading { color: #000; font-size: 1.2rem; font-weight: 700; }
.M_garlly ul { width: 100%; display: flex; gap: 1.2rem; margin-top: 1.4rem; }
.M_garlly ul li { width: calc((100% - 4.8rem) / 5); }
.M_garlly ul li a { display: block; transition: 0.3s; cursor: none; }
.M_garlly ul li a .img { height: 15.1rem; border-radius: 1rem; border: 1px solid #DADADA; line-height: 0; overflow: hidden; transition: 0.3s; }
.M_garlly ul li a .img img {width: 100%; height: 100%; object-fit: cover; }
.M_garlly ul li a .txt { display: block; font-size: 0.9rem; font-weight: 600; color: #121212; white-space: nowrap; text-overflow: ellipsis; overflow: hidden; margin: 0.85rem 0 0.45rem; }
.M_garlly ul li a .date { color: #666; margin-top: 0.4rem; }
.M_garlly .btn_more { position: absolute; top: -3px; right: 0; display: flex; align-items: center; gap: 0.6rem; background: #727272; color: #fff; padding: 0.4rem 0.7rem; border-radius: 2rem; }
.M_garlly .btn_more i { transition: 0.3s; }
.M_garlly ul li a:hover .img,
.M_garlly ul li a:focus .img { border-color: #0098D8; box-shadow: 4px 4px 10px rgba(0, 152, 216, 0.2); }
.M_garlly .btn_more:hover i,
.M_garlly .btn_more:focus i { transform: rotate(180deg); }

.custom_cursor { display: none; position: fixed; pointer-events: none; width: 5.4rem; height: 5.4rem; background: url('/images/web/sangdam/main/garl_btn.png') no-repeat center / contain; z-index: 99; animation: cursorRotate 10s linear infinite; transform: translate(-50%, -50%);}

@keyframes cursorRotate {
    from { transform: translate(-50%, -50%) rotate(0deg); }
    to { transform: translate(-50%, -50%) rotate(360deg); }
}


/* 상단버튼 */
.moveTopWrap {position: fixed;bottom: 2rem;right: 1.3rem;display: flex;flex-direction: column;align-items: center;gap: 0.8rem;z-index: 5;}
.moveTopWrap .moveTop { display: none; justify-content: center; align-items: center; width: 3.5rem; height: 3.5rem; background: #fff; border-radius: 50%; box-shadow:0px 0px 1.5rem rgba(0,0,0,.2); font-size: 1.5rem; color: #666; }
.moveTopWrap .moveTop i { transition: 0.3s; }
.moveTopWrap .moveTop:hover i,
.moveTopWrap .moveTop:focus i { animation: bounce infinite 0.8s; }
#wrap.hdBk .moveTopWrap .moveTop { display: flex; }

@media (max-width:720px){
    .moveTopWrap .moveTop { width: 3.2rem; height: 3.2rem; }
}


@media (max-width:1640px) {
    .M_visual .item .txt_box { width: 100%; padding: 0 1rem; }
    .M_visual .control { left: 1rem; transform: none; }
}

@media (max-width:1440px) {
    .MC_wrap2 .container { display: block; }
    .MC_wrap2 .con_wrap { width: 100%; }

    .M_visual .item .txt_box strong { font-size: 2.8rem; }
    .M_visual .item .txt_box span { font-size: 1.5rem; margin-top: 1.5rem; }

    .M_notice { width: 100%; margin-bottom: 1.75rem; }

    .M_info { display: flex; flex-direction: column; justify-content: space-between; gap: 1rem; }
    .M_info .heading { font-size: 1.2rem; margin-bottom: 0; }
    .M_info dl + dl { margin-top: 0; }
    .M_info .info { margin-top: 0; }

    .M_garlly ul li { width: calc((100% - 3.6rem) / 4); }
    .M_garlly ul li:nth-child(n + 5) { display: none; }
}

@media (max-width:1280px) {
    .M_visual .item .txt_box strong { font-size: 2.2rem; }
    .M_visual .item .txt_box span { font-size: 1.2rem; }
    .M_visual .control a { width: 3rem; height: 3rem; font-size: 1rem; }

    .M_garlly ul li { width: calc((100% - 2.4rem) / 3); }
    .M_garlly ul li:nth-child(n + 4) { display: none; }
}

@media (max-width:1024px) {
    .M_visual .slider { height: 30rem; }
    .M_visual .item .txt_box.cnt strong { font-size: 1.7rem; }
    .M_visual .item .txt_box.cnt span { font-size: 1rem; }
}

@media (max-width:860px) {
    .M_link1 ul { gap: 1rem; }
    .M_link1 ul li a { min-height: auto; }
    .M_link1 ul li a .icon img { height: 1.8rem; }
    .M_link1 ul li a .txt { padding-right: 3rem; }

    .M_link2 { width: 100%; }

    .M_info { width: 100%; flex-wrap: wrap; flex-direction: row; }
    .M_info .heading { width: 100%; }
    .M_info dl { width: calc((100% - 1rem) / 2); }
    .M_info dl + dl { margin-top: 0; }
    .M_info dl dt { padding: 0 0 0.5rem 1.5rem; }
    .M_info dl dt::before { width: 1.1rem; height: 1.1rem; }
    .M_info .info { width: 100%; }

    .M_garlly ul li { width: calc((100% - 1.2rem) / 2); }
    .M_garlly ul li:nth-child(n + 3) { display: none; }
}

@media (max-width:768px) {
    .MC_wrap2 { margin: 1.5rem 0; }
    .MC_wrap2 .con_wrap { gap: 1.5rem; }
    .MC_wrap3 { padding: 1.5rem 0; }

    .M_visual .slider { height: 25rem; }
    .M_visual .item .txt_box { bottom: auto; top: 6rem; }
    .M_visual .item .txt_box strong { font-size: 1.7rem; }
    .M_visual .item .txt_box span { font-size: 1rem; }
    .M_visual .control { bottom: 1rem; }
    .M_visual .control a { width: 2.2rem; height: 2.2rem; }

    .M_notice { padding: 1.2rem; margin-bottom: 1.5rem; }
    .M_notice .heading { padding: 0.5rem 1rem; }
    .M_notice .top_list { padding: 1rem 0; }
    .M_notice .top_list a .tit { padding: 2px 0; }
    .M_notice .top_list a .txt { -webkit-line-clamp: 2; margin: 0.5rem 0; }
    .M_notice .top_list a.new .tit { padding-left: 1.6rem; }
    .M_notice .top_list a.new .tit::before { width: 1.2rem; height: 1.2rem; font-size: 0.6rem; }
    .M_notice .btn_more { top: 1.7rem; }

    .M_link1 ul { flex-direction: column; }
    .M_link1 ul li a { padding: 1.2rem; }
    .M_link1 ul li a .tit::before { display: none; }
    .M_link1 ul li a:hover::before { top: 0; right: -9.25rem; }
    .M_link1 ul li a:hover::after { top: 4.7rem; right: -2.25rem; }

    .M_link2 ul li a { padding: 1.2rem; }

    .M_info { padding: 1.2rem; }
    .M_info .heading { font-size: 1.1rem; }
    .M_info dl dt { font-size: 0.9rem; }

    .M_garlly .heading { font-size: 1rem; }
    .M_garlly ul li a .img { height: 13rem; }
}

@media (min-width:561px){
    .M_garlly ul li a:hover,
    .M_garlly ul li a:focus { transform: translateY(-0.5rem); }
}

@media (max-width:560px){
    .M_visual .slider { height: 23rem; }
    .M_visual .item .txt_box strong { font-size: 1.5rem; }
    .M_visual .control a { width: 2rem; height: 2rem; font-size: 0.9rem; }
    .M_visual .item .txt_box.cnt strong { font-size: 1.3rem; }
}

@media (max-width:480px){
    .M_info dl { width: 100%; }
    .M_info dl dd ul li { font-size: 0.85rem; }
    .M_info dl dd ul li p {max-width:5.8rem;}

    .M_garlly ul li { width: 100%; }
    .M_garlly ul li:nth-child(n + 2) { display: none; }
}