@media (max-width: 997px) {
    main {
        padding: 50px 20px;
    }
    .tt span {
        font-size: 14px;
        margin-bottom: 5px;
    }

    .tt h3 {
        font-size: 24px;
    }
    .btn {
        width: 70px;
        padding: 5px 15px;
    }
    .mb {
        display: block;
    }
    .snb h1 {
        display: none;
    }
    header {
        transition: 0.5s;
    }
    header h2 {
        background: #08358E;
        text-align: center;
        padding: 43px 20px 23px;
    }
    nav {
        padding: 0;
    }
    .bar {
        position: fixed;
        border-radius: 50%;
        width: 48px;
        height: 48px;
        display: flex;
        justify-content: center;
        align-items: center;
        right: 9px;
        top: 12px;
        cursor: pointer;
        z-index: 99;
        border:1px solid #fff;
        flex-direction: column;
        gap:3px;
        transition: 0.5s;
    }
    .bar.active span:nth-child(1) {
        transform: rotate(-45deg);
        position: absolute;
        top: 22px;
        left: 18px;
    }
    .bar.active span:nth-child(2) {
        display: none;
    }
    .bar.active span:nth-child(3) {
        transform: rotate(45deg);
        position: absolute;
        /*top: 19px;
        left: 14px;*/
        top: 22px;
        left: 18px;
    }
    .bar span {
        display: block;
        width: 12px;
        height: 2px;
        background: #fff;
        transition: 0.5s;
    }
    .bar.bk:not(.active) {
        border:1px solid #1E4CB0;
        background: #fff;
    }
    .bar.bk:not(.active) span {
        background: #1E4CB0;
    }
    body {
        padding-left: 0;
    }
    .snb {
        width: 100vw;
        left: -120%;
        transition: 0.5s;
        padding: 20px 0;
    }
    .snb.active {
        left: 0;
    }
    header.active {
        width: 100%;
    }
    header.active h2 {
        padding:10px 20px;
    }
    header img {
        transition: 0.5s;
        height: 137px;
    }
    header.active img {
        height: 50px;
    }


    .mainBanner {
        height: auto;
        padding: 27px 20px 55px;
        text-align: center;
        display: block;
        background: none
    }

    .mainBanner h2 {
        font-size: 20px
    }

    .mainBanner p {
        margin-top: 0;
        display: none;
    }

    .menu ul {
        padding: 0 40px;
        gap: 8px;
        row-gap: 16px;
        flex-wrap: wrap;
    }
    .menu ul li {
        width: calc(50% - 4px);
        border-radius: 12px;
        background: #fff;
        box-shadow: 10px 10px 40px rgba(0, 0, 0, 0.1);
    }
    .menu ul li:last-child{
        display: none;
    }
    .menu ul a {
        display: flex;
        align-items: center;
        justify-content: center;
        text-align: center;
        flex-direction: column;
        height: 142px;
    }
    .menu span {
        font-size: 14px;
        margin-top: 12px;
    }
    #index_container .content {
        padding: 95px 20px 65px;
        flex-direction: column;
    }

    #index_container .mainTt {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding-bottom: 25px
    }

    #index_container .mainTt a {
        display: none;
    }

    .mainNotice ul {
        border-top: none
    }

    .mainNotice ul li {
        border-bottom: none
    }

    .mainNotice ul li a em {
        display: none;
    }

    .mainMooc ul {
        gap: 35px;
        flex-direction: column;
    }

    .mainMooc ul li .img {
        height: auto;
        width: 100%;
    }

    .index_footer .flexSb {
        border-bottom: none;
        border-top: none;
        padding:0;
        display: block;
        background: #F7F7F7;
    }

    .index_footer .flexSb ul {
        display: block;
    }

    .index_footer .flexSb ul a {
        font-size: 14px;
        padding: 25px 37px;
        display: block;
    }

    .index_footer .flexSb img {
        display: none;
    }
    .kakaoChannel img {
        width: 152px;
        margin-bottom: 40px;
    }

    .index_footer .fnb {
        padding: 40px 35px;
    }

    /******************* introduce ********************/


    #introduce_container {
        background: url("../img/intro_bg.png") no-repeat top 100px right / 100% auto;
        padding-right: 20px
    }
    #introduce_container .tt:after {
        width: 25px;
        height: 18px;
    }
    #introduce_container .content {
        margin-top: 40px;
        gap: 30px;
        flex-direction: column;
    }
    #introduce_container .content > div:first-child:after {
        display: none;
    }
    #introduce_container .content > div {
        font-size: 13px;
    }
    #introduce_container .content > div span {
        font-size: 16px;
        position: static;
        margin-top: 30px;
    }



    #history_container {
        padding-right: 20px;
        background: url("../img/intro_bg.png") no-repeat top 100px right / 100% auto;
    }
    #history_container .title {
        margin-top: 10px;
        font-size: 18px;
        margin-bottom: 30px;
        padding-right: 0;
    }
    #history_container ul li {
        padding: 10px 0;
    }
    #history_container ul li:first-child span:last-child {
        font-size: 16px
    }
    #history_container ul li span {
        font-size: 14px;
    }
    #history_container ul li span:first-child {
        width: 80px;
        font-size: 14px;
    }



    .organization_info {
        margin-top: 15px;
        font-size: 14px;
    }
    .organization_info div + div {
        margin-top: 5px;
    }
    .organization_info b {
        font-size: 14px;
    }
    #organization_container .content {
        padding: 0;
    }
    #organization_container .content .img {
        text-align: right;
        margin-bottom: 30px;
    }
    #organization_container .content .img img {
        width: 100%;
    }
    .organization table th {
        font-size: 14px;
        height: 32px;
    }
    .organization table td {
        padding: 12px 5px;
        font-size: 14px;
        line-height: 1.5;
    }
    .organization table td div{
        padding-left: 10px;
        word-break: keep-all;
    }
    .organization table td div:before{
        top:4px;
        width: 10px;
        height: 5px;
        font-size:14px;
    }


    #smart_studio_container {
        background: url("../img/intro_bg.png") no-repeat top 100px right / 100% auto;
    }
    #smart_studio_container .content  {
        margin-top: 35px;
    }
    #smart_studio_container .content > div , .kmooc04 > div , .kmooc04 > a {
        margin-top: 35px;
        gap: 10px;
        flex-direction: column;
    }
    #smart_studio_container .content .flex img , .kmooc04 img {
        width: 100%
    }
    #smart_studio_container .content .flex h4 , .kmooc04 h4 {
        font-size:18px;
    }
    .kmooc04 h5 {
        font-size:13px;
        margin-top: 5px;
    }
    #smart_studio_container .content .flex p , .kmooc04 p {
        font-size:14px;
        width: 100%;
        margin-top: 14px;
    }
    .kmooc04 {
        padding: 0 20px 0;
    }



    #map_container h4 {
        margin-top: 35px;
        margin-bottom: 15px;
        font-weight: 500;
        font-size:22px;
    }
    #map_container ul {
        margin-bottom: 20px;
    }
    #map_container ul li {
        display: flex;
        gap: 7px;
    }
    #map_container ul li + li {
        margin-top: 5px;
    }
    #map_container ul li b {
        font-size:14px;
    }
    #map_container ul li span {
        width: 48px;
        font-size:13px;
    }
    #map_container img {
        width: 100%
    }
    .map {
        position: static;
        margin-top: 30px;
    }
    .map iframe {
        height: 300px;
        width: 100%;
    }





    /******************* professor ********************/

    #professor_support_container  {
        padding: 50px 20px;
    }
    .proTt {
        text-align: center;
        margin-top: 40px;
        margin-bottom: 20px;
    }
    .proTt h3{
        font-size:18px;
        margin-bottom: 5px;
        padding: 0 4px;
    }
    .proTt p {
        font-size: 13px;
    }
    #professor_support_container .content {
        padding-right: 0;
        padding-left: 0
    }



    .professor_bg {
        padding-right: 20px
    }
    .guide {
        display: flex;
        flex-direction: column-reverse;
        margin-top: 35px;
        margin-bottom: 35px;
    }
    .guideLeft {
        padding: 20px;
    }
    .guide h3 {
        font-size:22px;
        margin-bottom: 20px;
    }
    .guide h4 , .programDetail h4 {
        margin-bottom: 10px;
        font-size:16px;
        margin-top: 18px;
    }
    .guide p , .guide pre , .guide li , .guide span{
        font-size:14px;
        line-height: 1.5;
    }
    .guide li ,.programDetail li{
        position: relative;
        padding-left: 10px;
        word-break: keep-all;
    }
    .guide li:before , .programDetail li:before{
        top:4px;
        width: 10px;
        height: 5px;
        font-size:14px;
    }
    .guideRight {
        width: 100%
    }
    .guideRight .txt {
        padding: 20px
    }
    .guideRight .txt h4 {
        font-size:18px;
        margin-bottom: 10px;
        margin-top: 0;
    }
    .guideRight .txt p{
        font-size:14px;
        line-height: 1.5;
    }
    .guideRight .img {
        height: 180px;
    }
    .guideRight .img img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
    .dot_list2 li {
        display: flex;
        gap:5px
    }

    .process h3 {
        margin-bottom: 20px;
        font-size:20px;
    }
    .process ul {
        display: flex;
        gap: 10px;
        row-gap: 20px;
        flex-wrap: wrap;
    }
    .process ul li {
        text-align: center;
        width: calc((100% - 10px) / 2);
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    .process ul li .img {
        margin-bottom: 20px;
    }
    .process ul li .img img {
        width: 135px;
    }
    .process ul li b {
        margin-bottom: 8px;
        font-size:16px;
    }
    .process ul li span {
        font-size:13px;
        margin-bottom:  20px;
    }
    #online_education_container .process ul li:nth-child(5) {
        margin-right: 0
    }



    /******************* education ********************/


    #education_support_container .content  {
        padding:0
    }
    #education_support_container .content > div + div {
        margin-top: 20px;
    }
    #education_support_container .proTt {
        margin-bottom: 60px;
        padding-right : 0;
    }
    #education_support_container .proTt img {
        width: 100%;
        margin-top: 36.8px;
    }

    .education_bg:not(#education_support_container) {
        background:#FAFAFA url("../img/developmentBg.png") no-repeat top -100px right -100px / 100% auto;
        padding-right: 20px;
    }
    #tutoring_container.education_bg {
        background:#FAFAFA url("../img/developmentBg02.png") no-repeat top -100px right -100px / 100% auto;
        padding-right: 20px;
    }
    .eduBanner {
        margin: 35px 0 30px;
        flex-direction: column-reverse;
    }
    .eduBanner .img {
        height: 220px;
        width: 100%;
    }
    .eduBanner .con {
        padding: 20px;
    }
    .eduBanner .con h3 {
        font-size:24px;
        line-height: 1.4;
    }
    .eduBanner .con h3 + h4 {
        margin-top: 10px;
    }
    .eduBanner .con h4 + h3 {
        margin-top: 4px;
    }
    .eduBanner .con h4 {
        font-size:18px;
    }
    .eduBanner .con p {
        padding: 15px 0;
        line-height: 1.3;
        font-size:14px;
    }
    .education_bg .guide > .flex {
        flex-direction: column;
        gap:20px
    }
    .education_bg .guide h3 {
        margin-bottom: 12px;
    }
    #learning_community_container .guide_info ul li .img{
        width: 80px;
    }
    #learning_community_container .guide_info ul li + li {
        margin-top: 15px;
    }
    .guide_info ul li span {
        font-size:14px;
        margin-bottom: 8px;
    }
    .guide_info ul.flex {
        justify-content: space-between;
        text-align: center;
        margin-top: 40px;
    }
    .guide_info ul.flex .img {
        height: 63.69px;
    }

    #tutoring_container .eduBanner .con p {
        white-space: pre-line;
    }


    .programDetail {
        gap: 20px;
        padding-left: 0;
        flex-direction: column;
    }
    .programDetail h3 {
        font-size:20px;
        white-space: normal;
    }
    .programDetail h3 br {
        display: none;
    }
    .programDetail li , .programDetail p {
        font-size:14px;
    }
    .programDetail li + li {
        margin-top: 10px;
    }
    .programDetail .flex {
        gap: 15px;
    }



    /******************* kmooc ********************/

    .kmooc_mainbg {
        padding-bottom: 200px;
    }
    #kmooc_container h3 {
        margin-bottom: 20px;
    }
    #kmooc_container h3 img {
        width: 200px
    }
    #kmooc_container {
        padding: 50px 0 0
    }
    #kmooc_container .kmoocBanner {
        height: auto;
        padding: 50px 20px;
    }
    #kmooc_container .kmoocBanner img {
        width: 100%;
    }
    .kmooc01 {
        padding: 30px 20px 70px;
    }
    .kmooc01 a {
        bottom: 20px;
        top:auto;
        transform: translateY(0);
        right: 0;
        width: 200px;
        padding: 8px 15px;
        font-size:14px;
    }
    #kmooc_container .kmooc01 h3 {
        font-size:22px;
        margin-bottom: 20px;
    }
    .kmooc01 pre {
        font-size: 14px
    }

    .kmooc02 {
        padding: 50px 20px;
    }
    .kmooc02 span {
        display: block;
        font-size:18px;
    }
    .kmooc02 h3 {
        font-size:32px;
        margin-bottom: 12px ;
    }
    .kmooc02 p {
        font-size:16px;
        white-space: normal;
    }
    .kmooc03 {
        padding: 40px 20px;
    }
    .kmooc03 h4 {
        font-size:18px;
    }
    .kmooc03 p {
        margin-top: 8px;
        font-size:14px;
        white-space: normal;
    }
    .kmooc03 ul {
        margin-top: 30px;
        gap:12px;
        flex-wrap: wrap;
    }
    .kmooc03 ul li {
        flex: none;
        align-items: center;
        width: calc(50% - 6px);
    }
    .kmooc03 ul li .img {
        text-align: center;
    }
    .kmooc03 ul li img {
        width: 135px;
    }
    .kmooc03 ul li .txt b {
        margin-top: 10px;
    }
    .kmooc03 ul li span {
        margin-top: 6px;
        font-size:14px;
    }
    .kmooc_bg .guideRight .preparing {
        height: 160px;
    }
    .preparing {
        font-size:14px;
    }
    .kmooc_bg .process ul {
        gap:10px
    }
    .kmooc_bg .process .preparing {
        bottom: 0;
    }


    .course_tt .kmooc03 {
        padding: 35px 0 0;
    }
    .course_tt {
        padding-top: 30px;
    }

    #course_container .content {
        padding: 0 ;
    }

    .course_tt {
        position: relative;
    }


    .course_tt a.btn , #special_course_container .course_tt a.btn {
        position: absolute;
        top: 15px;
        right: -20px;
        width: max-content;
    }
    .course_con {
        padding: 20px 0 0;
    }
    .kmooc04 .txt span {
        padding: 2px 8px;
        margin-bottom: 5px;
        font-size:12px
    }
    .kmooc04 > div h5 {
        font-size: 14px;
        margin-top: 5px;
    }

    .special_course_con table {
        margin-top: 40px;
    }
    .special_course_con table th{
        padding: 6px 10px;
        font-size:14px;
        text-align: left;
    }
    .special_course_con table td {
        padding: 10px;
        font-size: 13px;
        line-height: 1.5;
        vertical-align: top;
    }
    .special_course_con .kmooc03 {
        padding: 24px 0 0;
    }
    .special_course_list {
        padding: 0;
    }
    .special_course_list > div {
        margin-top: 20px;
    }
    .special_course_list > div h5 {
        font-size: 16px;
        margin-bottom: 10px;
    }
    .dot_list li{
        position: relative;
        padding-left: 10px;
        word-break: keep-all;
        line-height: 1.5;
        font-size:12px
    }
    .dot_list li:before{
        top:4px;
        width: 10px;
        height: 5px;
        font-size:14px;
    }


    #kocw_container.kmooc_bg {
        padding-left: 20px;
        background: url(../img/kocwBg2.png) no-repeat top 200px left 100px / auto;
    }
    #kocw_container h5 {
        margin: 35px 0 15px;
        font-size: 16px;
    }
    #kocw_container h4 {
        font-size:18px;
        margin-bottom:40px;
    }
    #kocw_container h4 span {
        color: #333;
    }
    #kocw_container p {
        font-size:14px;
        margin-bottom: 25px;
        line-height: 1.6;
        white-space: normal;
    }
    #kocw_container h6 {
        font-size: 14px;
        margin-bottom: 8px;
    }
    #kocw_container small {
        margin-bottom: 35px;
        font-size:14px;
        line-height: 1.6;
    }
    #kocw_container a {
        padding: 8px 12px;
        font-size:12px
    }



    /******************* notice ********************/

    .search {
        padding: 20px 0 28px;
    }

    .search .flex select , .search .flex input , .search .flex .btn {
        padding: 8px 12px;
    }


    /* board table */

    .board_table th {
        border-top: 2px solid var(--mainColor);
        height: 40px;
        font-size: 14px
    }

    .board_table td {
        height: 40px;
        font-size: 12px;
        padding: 0 5px;
    }

    /* paging */

    .paging ul li a {
        width: 24px;
        height: 24px;
        font-size:12px
    }
    .paging button {
        width: 24px;
    }

    /* notice detail */

    .notice_tt {
        padding: 35px 0 20px;
    }

    .notice_tt h4 {
        font-size: 18px;
        font-weight: 600;
    }

    .notice_content {
        padding: 30px 20px;
        margin-bottom: 15px;
    }

    .notice_content h4 {
        font-size: 18px;
        margin-bottom: 20px;
    }

    .notice_content pre {
        font-size: 16px;
        margin-bottom: 20px;
    }

    #notice_detail_container .flex {
        gap: 30px;
        flex-direction: column;
    }

    #ctl_data_container .content ul {
        border-top: 2px solid var(--mainColor);
    }

    #ctl_data_container .content ul li {
        padding: 15px 10px;
        gap: 10px;
      /*  flex-direction: column;*/
        align-items: end;
    }

    #ctl_data_container .content ul li .img {
        width: 130px;
        height: 85px;
        margin-right: 10px;
    }

    #ctl_data_container .content ul li .txt h4 {
        font-size: 16px;
        margin-bottom: 8px;
    }

    #ctl_data_container .content ul li .txt p {
        margin-bottom: 15px;
        font-size:13px
    }

    #ctl_data_container .content ul li .txt > div {
        gap: 10px;
        font-size: 12px;
    }

    #ctl_data_container .content ul li .download {
        width: 100px;
        height: 30px;
        font-size: 14px;
    }


    /******************* footer ********************/

    .sub_footer {
        padding: 20px;
    }
    .sub_footer .flex {
        align-items: baseline;
    }
    .sub_footer .flex .fnb {
        display: block;
        font-size: 14px;
    }
    .sub_footer .flex .fnb > div + div {
        margin-top: 5px;
    }

    .sub_footer .flex .fnb a {
        font-size: 14px;
    }
}