﻿/* 전역 공통 적용 */
#history2_section .years_box {
    display: flex;
    align-items: stretch;
    gap: 100px;
    position: relative;
}

    #history2_section .years_box .left_box {
        position: relative;
        padding-right: 120px;
        margin-left: 25px;
        margin-right: 90px;
    }

        /* 세로 막대 */
        #history2_section .years_box .left_box::after {
            content: "";
            position: absolute;
            top: 0;
            right: -101px;
            width: 3px;
            height: 100%;
            background: #ccc;
        }

        /* 막대 위 원 */
        #history2_section .years_box .left_box::before {
            content: "";
            position: absolute;
            top: -15px;
            right: -105px;
            width: 12px;
            height: 12px;
            border-radius: 50%;
            background: #fff;
            border: 4px solid #f88;
            z-index: 1;
        }

.his2_contents {
    display: flex;
    flex-direction: column; /* 세로 방향 배치 */
    align-items: center; /* 가로 중앙 정렬 */
    justify-content: center; /* 세로 중앙 정렬 (높이가 있을 경우) */
}

    .his2_contents .cont_box {
        width: 100%;
        max-width: 1000px; /* 내용이 너무 넓게 퍼지지 않게 제한 (원하는 값으로 조정) */
    }

@media screen and (max-width: 2680px) {
    /* 비주얼 */
    #visual .visualWrap div.visual_txt {
        padding-left: 6.2813vw;
    }

        #visual .visualWrap div.visual_txt .visual_hl {
            font-size: 32px;
            word-break: keep-all;
        }

        #visual .visualWrap div.visual_txt .visual_shl {
            font-size: 26px;
        }

    #visual .visualWrap div.visual_img {
        height: 800px;
        /* background-size: 200%; */
    }
    /* 비주얼 */

    /* 메인 섹션 01 */
    #main_section01 .main_sec01_wrap ul li.m_sec01_list {
        margin-right: 7.1429vw;
    }

    #main_section01 .main_sec01_wrap .m_sec01_list div.title p {
        font-size: 22px;
    }
    /* 메인 섹션 01 */

    /* 메인 섹션 02 */
    #main_section02 .main_sec02_wrap div.calendar {
        padding: 125px 8.3333vw;
    }

    #main_section02 .main_sec02_wrap aside.left_cal {
        padding: 2.9762vw 2.3810vw;
    }

        #main_section02 .main_sec02_wrap aside.left_cal .cal_title {
            padding: 20px 35px;
            font-size: 32px;
        }

        #main_section02 .main_sec02_wrap aside.left_cal .cal_cont {
            font-size: 18px;
            word-break: keep-all;
        }

        #main_section02 .main_sec02_wrap aside.left_cal .bottom_wrap {
            padding-top: 14.8810vw;
        }

            #main_section02 .main_sec02_wrap aside.left_cal .bottom_wrap a {
                font-size: 14px;
            }
    /* 메인 섹션 02 */
}

@media screen and (max-width: 1204px) {
    /* 메인 섹션 01 */
    #main_section01 .main_sec01_wrap ul.flex-box-center {
        justify-content: space-between;
    }

    #main_section01 .main_sec01_wrap ul li.m_sec01_list {
        margin-right: 0;
    }
    /* 메인 섹션 01 */

    /* 메인 섹션 02 */
    #main_section02 .main_sec02_wrap aside.left_cal {
        height: 49.8339vw;
    }

    #main_section02 .main_sec02_wrap aside.right_cal {
        height: 49.8339vw;
    }
    /* 메인 섹션 02 */

    /* 신앙의 대상 */
    #faith_section .cont_wrap2 .dep2_cont .img_box.flex-box {
        flex-wrap: wrap;
        width: 100%;
    }

    #faith_section .cont_wrap2 .dep2_cont .img_box img:first-child {
        margin-right: 0;
        margin-bottom: 30px;
    }
}

@media screen and (max-width: 1000px) {
    /* 비주얼 */
    #visual .visualWrap div.visual_txt {
        padding-left: 6.2813vw;
    }

    #visual .visualWrap div.visual_img {
        height: 500px;
        background-size: 100%;
        background-position: 50% 50%;
    }

    #visual .visualWrap div.visual_txt .visual_hl {
        font-size: 28px;
    }

    #visual .visualWrap div.visual_txt .visual_shl {
        font-size: 22px;
    }
    /* 비주얼 */

    /* 메인 섹션 02 */
    #main_section02 .main_sec02_wrap aside.left_cal .cal_title {
        font-size: 26px;
    }

    #main_section02 .main_sec02_wrap aside.left_cal .cal_cont {
        font-size: 16px;
    }

    #main_section02 .main_sec02_wrap .left_cal .bottom_wrap img {
        margin-top: -1.2458vw;
    }
    /* 메인 섹션 02 */


    /* 마이페이지 */
    #mp_section .mp_contents {
        flex-wrap: wrap;
    }

    #mp_section .mp_btnBox {
        width: 100%;
        padding: 35px 0;
    }

        #mp_section .mp_btnBox ul {
            display: flex;
        }

            #mp_section .mp_btnBox ul li {
                width: 25%;
            }

                #mp_section .mp_btnBox ul li:not(:last-child) {
                    margin-bottom: 0;
                }

                #mp_section .mp_btnBox ul li a {
                    font-size: 22px;
                }

    #mp_section .mp_contBox {
        width: 100%;
    }

    #mp_section #join_section .join_wrap {
        padding: 40px 30px;
    }

    #mp_section #join_section .form_tit h4 {
        font-size: 22px;
    }

    #mp_section #join_section .form_cont ul li label {
        width: 160px;
        font-size: 20px;
    }

    #mp_section #join_section .form_cont ul li .input_box {
        width: calc(100% - 160px);
    }

    #mp_section #join_section .form_cont input[type="text"],
    #mp_section #join_section .form_cont input[type="password"],
    #mp_section #join_section #chapter-button {
        height: 55px;
        width: 100%;
    }

    #mp_section #join_section .form_cont input.src_btn[type="text"] {
        width: 50%;
    }

    #mp_section #join_section .form_cont .src_wrap span,
    #mp_section #join_section .form_cont .input_box .file_attc {
        height: 55px;
        line-height: 55px;
        width: auto !important;
    }

    #mp_section #join_section #chapter-button .ui-selectmenu-text {
        font-size: 18px;
        line-height: 55px;
    }


    /* 태극도 역사 */
    #history_section .f-s18 {
        font-size: 20px;
    }

    #history_section .f-s22 {
        font-size: 26px;
    }

    #history_section .f-s26 {
        font-size: 30px;
    }

    #history_section .pb-70 {
        padding-bottom: 90px;
    }

    #history_section .sTit_box {
        margin-bottom: 90px;
    }

    #history_section .history_cont::after {
        left: 60px;
    }

    #history_section .hist_sec > div {
        width: 100%;
    }

    #history_section .hist_sec:not(:last-child) {
        margin-bottom: 120px;
    }

    #history_section .hist_sec .left_box {
        padding-left: 175px;
    }

    #history_section .hist_sec .text_box {
        position: relative;
        top: 0;
        left: 0;
        right: 0;
        transform: translate(0);
        margin-bottom: 40px;
    }

        #history_section .hist_sec .text_box.left {
            right: 0;
        }

            #history_section .hist_sec .text_box.left p.title::after {
                right: auto;
                left: -118px;
            }

        #history_section .hist_sec .text_box.right p.title::after {
            left: 0;
        }

    #history_section .hist_sec .img_box.right {
        margin-left: 0;
    }

    /* 찾아오시는 길 */
    #map_section .map_contents {
        display: block;
    }

        #map_section .map_contents > div {
            width: 100%;
        }

        #map_section .map_contents .left_box {
            text-align: center;
            padding-right: 0;
            margin-bottom: 60px;
        }

        #map_section .map_contents .right_box {
            padding-left: 0;
        }

        #map_section .map_contents .address_box {
            display: block;
        }
    /*회원가입*/
    #join_section .join_contents .center_box {
        display: flex;
        justify-content: center;
    }
}


@media screen and (max-width: 900px) {
    /* 신앙의 대상 */
    #faith_section .cont_wrap2 {
        padding-top: 0;
    }

    #faith_section .tab_btnBox2 ul {
        flex-wrap: wrap;
    }

        #faith_section .tab_btnBox2 ul li {
            border-right: 0;
            border-top: 0;
        }

            #faith_section .tab_btnBox2 ul li.w-16p {
                width: 33.33333%;
            }

            #faith_section .tab_btnBox2 ul li:not(:last-child) {
                border-right: 0
            }

            #faith_section .tab_btnBox2 ul li:nth-child(3n) {
                border-right: 1px solid #ddd;
            }
}



@media screen and (max-width: 768px) {
    /* 비주얼 */
    #visual {
        position: relative;
        height: 100%;
        padding-top: 80px;
    }

        #visual div.visualWrap {
            background-image: url(/img/main/mo_main_visual_bg.png);
            background-size: cover;
            background-position: center -17.9271vw;
            height: 100%;
        }

            #visual div.visualWrap.flex-box-center-bw {
                flex-direction: column;
                justify-content: normal;
            }

        #visual .visualWrap div.visual_txt {
            padding-left: 0;
            /* padding-top: 46.2240vw; */
            width: 100%;
            position: absolute;
            top: 30%;
            left: 0;
            text-align: center;
        }

        #visual .visualWrap div.visual_img {
            height: auto;
            width: 90%;
            background-position: 17.5781vw 15.6250vw;
            animation-name: mo_position;
            animation-duration: 3s;
            animation-iteration-count: infinite;
            background: none;
            position: absolute;
            bottom: -14.8542vw;
            left: 60%;
            transform: translateX(-50%);
        }
            /* @keyframes mo_position {
        0%{
            bottom: -11.8542vw;
        }
        50%{
            bottom: -9.8542vw;
        }
        100%{
            bottom: -11.8542vw;
        }
    } */
            #visual .visualWrap div.visual_img img {
                width: 85%;
            }
    /* 비주얼 */

    /* 메인 섹션 01 */
    #main_section01 {
        /* margin-top: 80px; */
        height: 100%;
    }

        #main_section01 article.main_sec01_wrap {
            height: 100%;
            padding-top: 100px;
        }

        #main_section01 .main_sec01_wrap ul.flex-box-center {
            flex-wrap: wrap;
            /* padding: 5% 0; */
            height: 100%;
            align-content: center;
        }

        #main_section01 .main_sec01_wrap ul li.m_sec01_list {
            width: 50%;
            margin-right: 0;
            padding: 7% 25px;
            height: 245px;
            position: relative;
            border: 1px solid #eae8e5;
        }

        #main_section01 .main_sec01_wrap .m_sec01_list div.title p {
            font-size: 26px;
        }

        #main_section01 article.main_sec01_wrap .span_wrap {
            margin-bottom: 10%;
        }

        #main_section01 .main_sec01_wrap .span_wrap span.span {
            width: 135px;
            height: 23px;
        }

        #main_section01 .main_sec01_wrap .span_wrap span.d_block {
            width: 135px;
            height: 23px;
        }

        #main_section01 .main_sec01_wrap .span_wrap span.half_span {
            width: 62px;
            height: 23px;
        }

            #main_section01 .main_sec01_wrap .span_wrap span.half_span.mr_7 {
                margin-right: 11px;
            }
    /* 메인 섹션 01 */

    /* 메인 섹션 02 */
    /* #main_section02 article.main_sec02_wrap {
        height: 75%;
    } */
    #main_section02 .swiper-button-next, #main_section02 .swiper-button-prev {
        width: 30px;
        height: 30px;
        background-size: 30px 30px;
        top: 21%;
    }

    #main_section02 .swiper-button-prev {
        background-image: url(/img/main/prev_btn.png);
        left: 40px;
    }

    #main_section02 .swiper-button-next {
        background-image: url(/img/main/next_btn.png);
        right: 40px;
    }

    #main_section02 article.main_sec02_wrap {
        background-color: #68635e;
        padding: 30px 0;
    }

    #main_section02 .main_sec02_wrap {
        text-align: center;
    }

        #main_section02 .main_sec02_wrap div.calendar {
            padding: 0 30px;
            padding-top: 20%;
            padding-bottom: 50px;
        }

        #main_section02 .main_sec02_wrap aside.left_cal {
            width: 100%;
            background-color: #fff;
            border-radius: 10px;
            position: relative;
            padding: 7.1615vw 0 9.1146vw;
            height: 100%;
            box-shadow: 0 0 20px 0 rgba(0, 0, 0, .3);
        }

            #main_section02 .main_sec02_wrap aside.left_cal .top_wrap {
                position: absolute;
                top: 50%;
                transform: translateY(-50%);
                left: 0;
                width: 100%;
                text-align: center;
            }

            #main_section02 .main_sec02_wrap aside.left_cal .cal_title {
                font-size: 37px;
                color: #3c352f;
                padding: 5.2083vw 0 2.6042vw;
            }

            #main_section02 .main_sec02_wrap aside.left_cal .cal_cont {
                font-size: 16px;
                color: #3c352f;
            }

        #main_section02 .main_sec02_wrap aside.right_cal {
            display: none;
        }

        #main_section02 .main_sec02_wrap aside.left_cal .bottom_wrap {
            padding-top: 0;
            position: absolute;
            top: 3.9063vw;
            right: 4.5573vw;
            width: 25%;
        }

            #main_section02 .main_sec02_wrap aside.left_cal .bottom_wrap a {
                font-size: 15px;
            }

            #main_section02 .main_sec02_wrap aside.left_cal .bottom_wrap img {
                margin-top: -15px;
            }

        #main_section02 .main_sec02_wrap .slide_box01 {
            overflow: hidden;
        }

        #main_section02 .main_sec02_wrap .swiper-slide {
            text-align: center;
            overflow: hidden;
        }

            #main_section02 .main_sec02_wrap .swiper-slide .month_img {
                width: 100%;
            }

    .pop_up_box {
        position: fixed;
        left: 0;
        right: 0;
        top: 0;
        bottom: 0;
        background: rgba(0,0,0,.7);
        z-index: 9999;
        display: none;
    }

        .pop_up_box .pop_up_inner {
            position: absolute;
            left: 50%;
            bottom: 7%;
            transform: translateX(-50%);
            background: #fff;
            width: 100%;
        }



    /* 메인 섹션 02 */


    /* 로그인 */
    #login_section {
        padding: 120px 20px;
    }

        #login_section .login_wrap .form_box .form_cont {
            margin-bottom: 90px;
        }

        #login_section .login_wrap .form_box input[type="text"],
        #login_section .login_wrap .form_box input[type="password"],
        #login_section .login_wrap .form_box input[type="email"],
        #login_section .login_wrap .form_box input[type="tel"] {
            height: 50px;
            width: 90%;
            font-size: 2.3438vw;
        }

        #login_section .login_wrap .form_box .cl_box {
            width: 90%;
        }

            #login_section .login_wrap .form_box .cl_box label {
                font-size: 2.3438vw;
            }

        #login_section .login_wrap .form_box .submit_box button {
            font-size: 3.3854vw;
        }

        #login_section .login_wrap .form_box .find_box ul li {
            padding: 0 20px;
        }

            #login_section .login_wrap .form_box .find_box ul li a {
                font-size: 2.6042vw;
            }

    /* 회원가입 */
    .required::after {
        font-size: 20px;
    }

    #join_section {
        padding: 80px 20px 120px;
    }

        #join_section .join_wrap {
            padding: 60px 30px 70px;
        }

        #join_section .form_tit h4 {
            font-size: 22px;
        }

        #join_section .form_tit2 h4 {
            font-size: 22px;
        }

        #join_section .form_cont ul li:not(:last-child) {
            margin-bottom: 50px;
        }

        #join_section .form_cont ul li label {
            width: 160px;
            font-size: 20px;
        }

        #join_section .form_cont ul li .input_box {
            width: calc(100% - 160px);
        }

        #join_section .form_cont .src_wrap {
            margin-bottom: 15px;
        }

            #join_section .form_cont .src_wrap span,
            #join_section .form_cont .input_box .file_attc {
                height: 55px;
                line-height: 55px;
                padding: 0;
                width: 40%;
                text-align: center;
                font-size: 20px;
            }

        #join_section .form_cont input.add_name[type="text"] {
            margin-bottom: 15px;
        }

        #join_section .form_cont input.src_btn[type="text"] {
            width: 60%;
        }

        #join_section .form_cont input[type="text"],
        #join_section .form_cont input[type="password"],
        #join_section #chapter-button {
            width: 100%;
            height: 55px;
        }

        #join_section .form_cont .radio_box input[type="radio"] + label {
            font-size: 20px;
            padding-left: 33px;
        }

            #join_section .form_cont .radio_box input[type="radio"] + label::before {
                width: 23px;
                height: 23px;
            }

        #join_section .form_cont .radio_box input[type="radio"]:checked + label::after {
            width: 13px;
            height: 13px;
            left: 6px;
        }

        #join_section .form_cont .input_box.flex-box img {
            width: 60%;
        }

        #join_section .add_info .form_cont {
            margin-bottom: 90px;
        }

        #join_section .submit_box button {
            font-size: 26px;
            padding: 25px 70px;
        }

    /* 마이페이지 */
    #mp_section .mp_btnBox ul li a {
        font-size: 2.8646vw;
    }

    #mp_section #join_section .form_tit h4 {
        font-size: 2.8646vw;
    }

    #mp_section #join_section .form_cont ul li label {
        font-size: 2.6042vw;
    }

    #mp_section .mp_contBox .form_cont ul li > span {
        font-size: 2.6042vw;
    }


    /* 서브헤더 */
    .sub_header {
        padding-top: 80px;
    }

        .sub_header .sub_header_wrap {
            height: 300px;
            background-image: url(/img/sub/mo_sub_header1.jpg);
        }

        .sub_header .sub_lnb {
            height: 70px;
        }

        .sub_header .s_nav_wrap.sub_lnb {
            height: 50px;
        }

        .sub_header .sub_lnb ul.lnb_parent li {
            line-height: 70px;
            font-size: 2.8646vw;
        }

            .sub_header .sub_lnb ul.lnb_parent li:not(:last-child) {
                margin-right: 2.6042vw;
            }

            .sub_header .sub_lnb ul.lnb_parent li .home {
                width: 27px;
            }

    /* 서브 공통 css */
    .sub_section {
        padding: 120px 0;
    }

    .sTit_box {
        margin-bottom: 90px;
    }

    .sub_tit {
        font-size: 38px;
    }

    .f-s26 {
        font-size: 30px;
    }

    /* 공부신청 - 시법 */
    #sib_section .sib_content {
        padding-left: 0;
        margin-bottom: 90px;
    }

    #sib_section .table_box ul li label {
        font-size: 20px;
        width: 120px;
    }

    #sib_section .table_box ul li .input_box {
        width: calc(100% - 120px);
    }

        #sib_section .table_box ul li .input_box > span {
            margin: 0 3.2552vw;
        }

    #sib_section .table_box ul li:not(:last-child) {
        margin-bottom: 50px;
    }

    #sib_section .table_box img.ui-datepicker-trigger {
        width: 55px;
    }

    #sib_section .table_box input[type="text"],
    #sib_section .table_box textarea,
    #sib_section #study_sel-button {
        width: 100%;
        font-size: 20px;
    }

    #sib_section .table_box input[type="text"],
    #sib_section #study_sel-button {
        height: 55px;
    }

    #sib_section .table_box input[type="text"] {
        width: 32%;
    }

    #study_sel-button .ui-selectmenu-text {
        line-height: 55px;
        font-size: 20px;
    }

    #study_sel-menu .ui-menu-item-wrapper {
        font-size: 20px;
        padding: 15px 20px;
    }

    #sib_section .btn_box .ap_btn {
        font-size: 26px;
    }

    /* 신청완료 */
    #comp_section .sTit_box {
        margin-bottom: 80px;
    }

    #comp_section .complete_cont p {
        font-size: 20px;
    }

        #comp_section .complete_cont p:not(:last-child) {
            padding-bottom: 50px;
        }

    /* 신앙의 대상 */
    #faith_section .f-s18 {
        font-size: 2.8646vw;
    }

    #faith_section .f-s20 {
        font-size: 3.1250vw;
    }

    .tab_box_wrap .f-s20 {
        font-size: 3.1250vw;
    }

    #faith_section .f-s26 {
        font-size: 3.9063vw;
    }

    #faith_section .mb-40 {
        margin-bottom: 5.8594vw;
    }

    #faith_section .mb-50 {
        margin-bottom: 6.5104vw;
    }

    #faith_section .mb-120 {
        margin-bottom: 16.9271vw;
    }

    #faith_section .pb-70 {
        padding-bottom: 11.7188vw;
    }

    .table .title {
        font-size: 2.8646vw;
    }

    .table tr td {
        font-size: 2.8646vw;
        word-break: keep-all;
    }

    #faith_section .cont_wrap1 {
        padding-top: 70px;
    }

    #faith_section .cont_wrap2 .domunga {
        font-size: 2.8646vw;
    }

    .tab_btnBox2 {
        margin-bottom: 70px;
    }

    /* 도통 (종통) */
    #dotong_section .f-s20 {
        font-size: 2.8646vw;
    }

    #dotong_section .f-s22 {
        font-size: 3.3854vw;
    }

    #dotong_section .f-s26 {
        font-size: 3.9063vw;
    }

    #dotong_section .pb-30 {
        padding-bottom: 5.2083vw;
    }

    #dotong_section .mb-40 {
        margin-bottom: 11.7188vw;
    }

    #dotong_section .mb-60 {
        margin-bottom: 11.7188vw;
    }

    #dotong_section .table {
        width: 100%;
    }

    /* 태극도란 */
    #mean_section .sTit_box {
        margin-bottom: 11.7188vw;
    }

    #mean_section .f-s20 {
        font-size: 2.8646vw;
    }

    #mean_section .pb-40 {
        padding-bottom: 6.5104vw;
    }

    /* 태극도 역사 */
    #history_section .f-s18 {
        font-size: 2.6042vw;
    }

    #history_section .f-s22 {
        font-size: 3.3854vw;
    }

    #history_section .f-s26 {
        font-size: 3.9063vw;
    }

    #history_section .cont_wrap4 h4::after {
        font-size: 3.6458vw;
    }

    /* 태극도 연혁 */
    #history2_section .pb-120 {
        padding-bottom: 11.7188vw;
    }

    #history2_section .mb-135 {
        margin-bottom: 15.6250vw;
    }

    #history2_section .sTit_box {
        margin-bottom: 11.7188vw;
    }

    #history2_section .years_box {
        display: block;
    }

        #history2_section .years_box .left_box {
            width: 100%;
        }

            #history2_section .years_box .left_box h4 {
                margin-top: 0;
                margin-left: 20px;
                margin-right: 40px !important;
                padding-right: 10px !important;
                font-size: 5.2083vw;
                padding-bottom: 3.2552vw;
            }

        #history2_section .years_box .right_box {
            width: 100%;
        }

            #history2_section .years_box .right_box .his_line > span {
                font-size: 3.6458vw;
            }

            #history2_section .years_box .right_box .his_line .text_box p {
                font-size: 2.6042vw;
            }


    /* 대강전 개요 */
    .daegan_section .f-s18 {
        font-size: 2.6042vw;
    }

    .daegan_section .f-s22 {
        font-size: 3.3854vw;
    }

    .daegan_section .pb-20 {
        padding-bottom: 5.2083vw;
    }

    .daegan_section .pb-30 {
        padding-bottom: 5.2083vw;
    }

    .daegan_section h4.pb-30 {
        padding-bottom: 11.7188vw;
    }

    .daegan_section .sTit_box {
        margin-bottom: 11.7188vw;
    }

    /* 대강전 상량축문 */
    .gray_box {
        padding: 15px;
    }

    .daegan_section .f-s20 {
        font-size: 2.6042vw;
    }

    .daegan_section .text_box .f-s20 {
        font-size: 2.8646vw;
    }

    .daegan_section .pb-40 {
        padding-bottom: 5.2083vw;
    }

    .daegan_section .mb-60 {
        margin-bottom: 9.1146vw;
    }

    .daegan_section .mb-90 {
        margin-bottom: 15.6250vw;
    }

    #sang_section .text_box p.f-cor3 {
        font-size: 2.3438vw;
    }

    #sang_section .text_box .pb-20 {
        padding-bottom: 2.6042vw;
    }

    /* 대강전 사진전 */
    #picture_section h4.pb-30 {
        padding-bottom: 6.7188vw;
    }

    /* 태극도 묻고 답하기 */
    #qna_section .sTit_box {
        margin-bottom: 11.7188vw;
    }

    #qna_section .f-s18 {
        font-size: 2.6042vw;
    }

    #qna_section .f-s22 {
        font-size: 3.3854vw;
    }

    #qna_section .pb-20 {
        padding-bottom: 5.2083vw;
    }

    #qna_section .pb-70 {
        padding-bottom: 11.7188vw;
    }

    #qna_section .mb-80 {
        margin-bottom: 13.0208vw;
    }

    /* 찾아오시는 길 */
    #map_section .sTit_box {
        margin-bottom: 11.7188vw;
    }

    #map_section .f-s18 {
        font-size: 2.6042vw;
    }

    #map_section .f-s22 {
        font-size: 3.3854vw;
    }

    #map_section .pb-40 {
        padding-bottom: 6.5104vw;
    }

    #map_section .map_contents .address_box {
        padding: 5.2083vw;
    }

    .tab_box_wrap ul {
        margin-bottom: 50px;
    }

        .tab_box_wrap ul li {
            width: 50%;
        }

            .tab_box_wrap ul li:nth-child(-n+2) a {
                border-bottom: 1px solid #ddd;
            }

            .tab_box_wrap ul li:nth-child(2) a {
                border-right: 0;
            }

    /* ========== SUB HEADER 2 ========== */
    .sv_wrap {
        height: 200px;
    }

    .sv {
        height: 200px;
    }

    .sv_txt span {
        font-size: 2.7344vw;
    }

    .sv_txt p {
        font-size: 5.4688vw;
        line-height: 40px;
    }

    .s_nav_home {
        width: 4%;
        border: none;
    }

    .s_nav {
        width: 100% !important;
    }

    .sdep01 {
        width: 43%;
    }

        .sdep01 ul {
            width: calc(100% + -23px);
        }

    .op0 {
        opacity: 0;
        cursor: none;
    }
    /* ========== SUB HEADER 2 ========== */

    #main_section01 .main_sec01_wrap ul li.m_sec01_list img {
        width: 70%;
        position: absolute;
        left: 50%;
        top: 50%;
        transform: translate(-50%,-50%);
    }

        #main_section01 .main_sec01_wrap ul li.m_sec01_list img#custom_img {
            width: 45%;
            position: absolute;
            left: 50%;
            top: 50px;
            transform: translate(-50%, -20%);
        }
}

@media screen and (max-width: 500px) {
    /* 비주얼 */
    #visual .visualWrap div.visual_txt .visual_hl {
        font-size: 24px;
    }

    #visual .visualWrap div.visual_txt .visual_shl {
        font-size: 18px;
    }
    /* 비주얼 */

    /* 메인 섹션 01 */
    #visual .visualWrap div.visual_img {
        width: 110%;
        background-position: 17.5781vw 15.6250vw;
        bottom: 1.9542vw;
    }

    #main_section01 article.main_sec01_wrap {
        padding-top: 10%;
    }

    #main_section01 .main_sec01_wrap .m_sec01_list div.title p {
        font-size: 22px;
    }

    #main_section01 .main_sec01_wrap div.span_wrap {
        margin-bottom: 7.0000vw;
    }

    #main_section01 .main_sec01_wrap .span_wrap span.span {
        width: 18.0000vw;
        height: 12px;
    }

    #main_section01 .main_sec01_wrap .span_wrap span.d_block {
        width: 18.0000vw;
        height: 12px;
        font-size: 0;
    }

    #main_section01 .main_sec01_wrap .span_wrap span.half_span {
        width: 8.3500vw;
        height: 12px;
    }

        #main_section01 .main_sec01_wrap .span_wrap span.half_span.mr_7 {
            margin-right: 1.3000vw;
        }

    /* 메인 섹션 01 */

    /* 메인 섹션 02 */
    /* #main_section02 .main_sec02_wrap {
        height: 75%;
    } */
    #main_section02 .main_sec02_wrap div.calendar {
        padding-top: 40%;
    }

    #main_section02 .main_sec02_wrap aside.left_cal {
        padding: 50px 0;
    }

        #main_section02 .main_sec02_wrap aside.left_cal .cal_title {
            padding: 35px 0 20px;
        }

        #main_section02 .main_sec02_wrap aside.left_cal .bottom_wrap {
            width: 35%;
        }

            #main_section02 .main_sec02_wrap aside.left_cal .bottom_wrap img {
                margin-top: -10px;
            }

        #main_section02 .main_sec02_wrap aside.left_cal .cal_title {
            font-size: 30px;
        }

        #main_section02 .main_sec02_wrap aside.left_cal .cal_cont {
            font-size: 14px;
        }
    /* 메인 섹션 02 */


    /* 서브 공통 css */
    .f-s26 {
        font-size: 18px;
    }

    /* 로그인 */
    #login_section {
        padding: 60px 20px;
    }

        #login_section .login_wrap {
            padding: 35px 20px;
        }

            #login_section .login_wrap .sTit_box {
                margin-bottom: 45px;
            }

            #login_section .login_wrap .form_box .form_cont {
                margin-bottom: 45px;
            }

            #login_section .login_wrap .form_box input[type="text"],
            #login_section .login_wrap .form_box input[type="password"],
            #login_section .login_wrap .form_box input[type="email"],
            #login_section .login_wrap .form_box input[type="tel"] {
                height: 40px;
                width: 100%;
                font-size: 14px;
            }

            #login_section .login_wrap .form_box .cl_box {
                width: 100%;
            }

                #login_section .login_wrap .form_box .cl_box label {
                    font-size: 14px;
                }

            #login_section .login_wrap .form_box .submit_box {
                margin-bottom: 35px;
            }

                #login_section .login_wrap .form_box .submit_box button {
                    font-size: 16px;
                    padding: 15px 50px;
                }

            #login_section .login_wrap .form_box .find_box ul li {
                padding: 0 10px;
            }

                #login_section .login_wrap .form_box .find_box ul li:not(:last-child)::after {
                    font-size: 16px;
                    margin-top: 1px;
                }

                #login_section .login_wrap .form_box .find_box ul li a {
                    font-size: 13px;
                }

    /* 회원가입 / 마이페이지 */
    #mp_section .mp_btnBox {
        padding: 15px 0;
    }

        #mp_section .mp_btnBox ul li a {
            font-size: 12px;
        }

    #mp_section .mp_contBox .form_cont ul li > span {
        font-size: 14px;
    }

    #mp_section .mp_contBox .cancelApply {
        padding: 5px 10px;
        font-size: 14px;
    }

    .required::after {
        font-size: 14px;
        margin-left: 4px;
    }

    #join_section,
    #mp_section #join_section {
        padding: 40px 20px 60px;
    }

    #mp_section #join_section {
        padding: 0;
    }

        #join_section .join_wrap,
        #mp_section #join_section .join_wrap {
            padding: 30px 15px 35px;
        }

        #join_section .basic,
        #mp_section #join_section.mp_contWrap1 .basic {
            margin-bottom: 60px;
        }

        #mp_section #join_section .basic {
            margin-bottom: 0;
        }

        #join_section .add_info .form_cont,
        #mp_section #join_section .add_info .form_cont {
            margin-bottom: 45px;
        }

    .join_wrap .sTit_box {
        margin-bottom: 45px;
    }

    #join_section .form_tit,
    #mp_section #join_section .form_tit {
        padding-bottom: 10px;
        margin-bottom: 15px;
    }

        #join_section .form_tit h4,
        #mp_section #join_section .form_tit h4 {
            font-size: 16px;
        }

    #join_section .form_cont ul li label,
    #mp_section #join_section .form_cont ul li label {
        font-size: 14px;
        width: 80px;
    }

    #join_section .form_cont ul li .input_box,
    #mp_section #join_section .form_cont ul li .input_box {
        width: calc(100% - 80px);
    }

    #join_section .form_cont input[type="text"],
    #join_section .form_cont input[type="password"],
    #join_section #chapter-button,
    #mp_section #join_section .form_cont input[type="text"],
    #mp_section #join_section .form_cont input[type="password"],
    #mp_section #join_section #chapter-button,
    #mp_section #mp_section #join_section #chapter-button {
        height: 40px;
        font-size: 14px;
    }

        #join_section #chapter-button .ui-selectmenu-text,
        #mp_section #join_section #chapter-button .ui-selectmenu-text {
            font-size: 14px;
            line-height: 40px;
        }

    #chapter-menu .ui-menu-item-wrapper,
    #mp_section #chapter-menu .ui-menu-item-wrapper {
        font-size: 14px;
    }

    #join_section .form_cont input.src_btn[type="text"],
    #mp_section #join_section .form_cont input.src_btn[type="text"] {
        width: 50%;
    }

    #join_section .form_cont .input_box.flex-box img,
    #mp_section #join_section .form_cont .input_box.flex-box img {
        width: 50%;
    }

    #join_section .form_cont .src_wrap span,
    #join_section .form_cont .input_box .file_attc,
    #mp_section #join_section .form_cont .src_wrap span,
    #mp_section #join_section .form_cont .input_box .file_attc {
        height: 40px;
        line-height: 40px;
        font-size: 14px;
        width: 50%;
    }

    #join_section .form_cont .radio_box:first-child,
    #mp_section #join_section .form_cont .radio_box:first-child {
        margin-right: 25px;
    }

    #join_section .form_cont .radio_box input[type="radio"] + label,
    #mp_section #join_section .form_cont .radio_box input[type="radio"] + label {
        font-size: 14px;
        padding-left: 25px;
    }

        #join_section .form_cont .radio_box input[type="radio"] + label::before,
        #mp_section #join_section .form_cont .radio_box input[type="radio"] + label::before {
            width: 17px;
            height: 17px;
        }

    #join_section .form_cont .radio_box input[type="radio"]:checked + label::after,
    #mp_section #join_section .form_cont .radio_box input[type="radio"]:checked + label::after {
        width: 9px;
        height: 9px;
        left: 5px;
    }

    #join_section .form_cont .radio_box input[type="radio"]:checked + label::after,
    #mp_section #join_section .form_cont .radio_box input[type="radio"]:checked + label::after {
        width: 9px;
        height: 9px;
        left: 5px;
    }

    #join_section .submit_box button,
    #mp_section #join_section .submit_box button {
        font-size: 16px;
        padding: 15px 40px;
    }


    /* 서브 헤더 */
    .sub_header .sub_header_wrap {
        height: 150px;
    }

    .sub_header .sub_lnb {
        height: 35px;
    }

    #join_section .form_cont ul li:not(:last-child) {
        margin-bottom: 25px;
    }

    .sub_header .sub_lnb ul.lnb_parent li {
        line-height: 35px;
        font-size: 12px;
    }

        .sub_header .sub_lnb ul.lnb_parent li .home {
            width: auto;
        }

        .sub_header .sub_lnb ul.lnb_parent li:not(:last-child) {
            margin-right: 10px;
        }

    /* 서브 공통 css */
    .sub_section {
        padding: 60px 0;
    }

    .sTit_box {
        margin-bottom: 45px;
    }

    .sub_tit {
        font-size: 20px;
        padding: 0 10px;
    }

        .sub_tit::after {
            width: 100%; /* 글자 길이에 맞게 너비를 100%로 수정 */
            height: 2px;
            bottom: -7.5px;
        }

    /* 공부신청 - 시법 */
    #sib_section .sib_content {
        margin-bottom: 45px;
    }

    #sib_section .table_box ul li:not(:last-child) {
        margin-bottom: 25px;
    }

    #sib_section .table_box ul li label {
        font-size: 14px;
        width: 70px;
    }

    #sib_section .table_box ul li .input_box {
        width: calc(100% - 70px);
        flex-wrap: wrap;
    }

    #sib_section .table_box input[type="text"],
    #sib_section .table_box textarea,
    #sib_section #study_sel-button {
        font-size: 14px;
    }

    #sib_section .table_box input[type="text"],
    #sib_section #study_sel-button {
        height: 40px;
    }

    #study_sel-button .ui-selectmenu-text {
        font-size: 14px;
        line-height: 40px;
        padding-left: 10px;
    }

    #study_sel-menu .ui-menu-item-wrapper {
        font-size: 14px;
        padding: 10px;
    }

    #sib_section .table_box img.ui-datepicker-trigger {
        width: 40px;
    }

    #sib_section .table_box input[type="text"] {
        padding-left: 10px;
        margin-right: 5px;
        width: 70%;
    }

    #sib_section .table_box #date_pick[type="text"] {
        margin-bottom: 10px;
    }

        #sib_section .table_box #date_pick[type="text"] + img {
            margin-bottom: 10px;
        }

    #sib_section .table_box ul li .input_box > span {
        margin: 0;
        margin-left: 5px;
    }

    #sib_section .table_box textarea {
        padding: 10px;
    }

    #sib_section .btn_box .ap_btn {
        font-size: 16px;
        padding: 15px 40px;
    }

    /* 신청완료 */
    #comp_section .sTit_box {
        margin-bottom: 40px;
    }

    #comp_section .complete_cont p {
        font-size: 14px;
    }

        #comp_section .complete_cont p:not(:last-child) {
            padding-bottom: 25px;
        }

    /* 신앙의 대상 */
    #faith_section .f-s18 {
        font-size: 13px;
    }

    #faith_section .f-s20 {
        font-size: 14px;
    }

    .tab_box_wrap .f-s20 {
        font-size: 14px;
    }

    #faith_section .f-s26 {
        font-size: 18px;
    }

    #faith_section .mb-40 {
        margin-bottom: 20px;
    }

    #faith_section .mb-50 {
        margin-bottom: 25px;
    }

    #faith_section .mb-120 {
        margin-bottom: 60px;
    }

    #faith_section .pb-20 {
        padding-bottom: 10px;
    }

    #faith_section .pb-40 {
        padding-bottom: 20px;
    }

    #faith_section .pb-70 {
        padding-bottom: 35px;
    }

    #faith_section .cont_wrap1 {
        padding-top: 35px;
    }

    #faith_section .tab_btnBox ul li {
        padding: 15px 0;
    }

    .tab_box_wrap ul li a {
        padding: 15px 0;
        word-break: keep-all;
    }

    .tab_btnBox2 {
        margin-bottom: 35px;
    }

        .tab_btnBox2 ul li {
            padding: 15px 0;
        }

    #faith_section .cont_wrap2 .domunga {
        font-size: 13px;
    }

    #faith_section .cont_wrap2 .dep2_cont .img_box img:first-child {
        margin-bottom: 15px;
    }

    .table .title {
        font-size: 14px;
    }

    .table tr th {
        padding: 15px 5px;
        word-break: keep-all;
    }

    .table tr td {
        padding: 10px 5px;
        font-size: 12px;
    }

    /* 도통 (종통) */
    #dotong_section .f-s20 {
        font-size: 14px;
    }

    #dotong_section .f-s22 {
        font-size: 16px;
    }

    #dotong_section .f-s26 {
        font-size: 18px;
    }

    #dotong_section .pb-20 {
        padding-bottom: 10px;
    }

    #dotong_section .pb-30 {
        padding-bottom: 15px;
    }

    #dotong_section .mb-40 {
        margin-bottom: 45px;
    }

    #dotong_section .mb-60 {
        margin-bottom: 45px;
    }

    #dotong_section .table tr th {
        padding: 15px 0;
    }

    /* 태극도란 */
    #mean_section .sTit_box {
        margin-bottom: 50px;
    }

    #mean_section .f-s20 {
        font-size: 14px;
    }

    #mean_section .pb-40 {
        padding-bottom: 0;
    }

    #mean_section .text_box p {
        line-height: 2.5;
        word-break: keep-all;
    }

    /* 태극도 역사 */
    #history_section .f-s18 {
        font-size: 13px;
    }

    #history_section .f-s22 {
        font-size: 15px;
    }

    #history_section .f-s26 {
        font-size: 18px;
    }

    #history_section .pb-70 {
        padding-bottom: 45px;
    }

    #history_section .text_box .pb-30 {
        padding-bottom: 15px;
    }

    #history_section .text_box .pb-60 {
        padding-bottom: 30px;
    }

    #history_section .text_box.pb-100 {
        padding-bottom: 50px;
    }

    #history_section .sTit_box {
        margin-bottom: 45px;
    }

    #history_section .history_cont::after {
        left: 30px;
    }

    #history_section .tab_btnBox2 {
        margin-bottom: 30px;
    }

    #history_section .hist_sec:not(:last-child) {
        margin-bottom: 60px;
    }

    #history_section .hist_sec .left_box {
        padding-left: 60px;
    }

    #history_section .hist_sec .text_box {
        margin-bottom: 20px;
    }

        #history_section .hist_sec .text_box p.title::after {
            width: 5px;
            height: 20px;
        }

        #history_section .hist_sec .text_box.left p.title::after {
            left: -32px;
        }

    #history_section .hist_sec .img_box img {
        filter: drop-shadow(2.5px 2.5px 10px rgba(0, 0, 0, .15));
    }

        #history_section .hist_sec .img_box img:not(:last-child) {
            margin-bottom: 10px;
        }

    #history_section .cont_wrap4 h4::after {
        font-size: 16px;
        text-align: left;
    }

    /* 태극도 연혁 */
    #history2_section .sTit_box {
        margin-bottom: 35px;
    }

    #history2_section .pb-120 {
        padding-bottom: 45px;
    }

    #history2_section .pb-30 {
        padding-bottom: 15px;
    }

    #history2_section .years_box .left_box h4 {
        padding-bottom: 15px;
        font-size: 24px;
    }

    #history2_section .years_box .right_box .his_line:not(:last-child) {
        margin-bottom: 15px;
    }

    #history2_section .years_box .right_box .his_line > span {
        font-size: 16px;
        width: 80px;
    }

        #history2_section .years_box .right_box .his_line > span::after {
            width: 15px;
            margin-left: 10px;
        }

    #history2_section .years_box .right_box .his_line .text_box {
        padding-top: 0;
        width: calc(100% - 80px);
    }

        #history2_section .years_box .right_box .his_line .text_box p {
            font-size: 13px;
        }

    /* 대강전 개요 */
    .daegan_section .f-s18 {
        font-size: 14px;
    }

    .daegan_section .f-s22 {
        font-size: 16px;
    }

    .daegan_section .pb-20 {
        padding-bottom: 20px;
    }

    .daegan_section .pb-30 {
        padding-bottom: 20px;
    }

    .daegan_section .pb-40 {
        padding-bottom: 20px;
    }

    .daegan_section .mb-60 {
        margin-bottom: 30px;
    }

    .daegan_section .mb-150 {
        margin-bottom: 75px;
    }

    .daegan_section h4.pb-30 {
        padding-bottom: 30px;
    }

    .daegan_section .sTit_box {
        margin-bottom: 45px;
    }

    /* 대강전 중요성 */
    .daegan_section .pl-20 {
        padding-left: 10px;
    }

    /* 대강전 상량축문 */
    .gray_box {
        padding: 7.5px;
    }

    .daegan_section .f-s20 {
        font-size: 14px;
    }

    .daegan_section .text_box .f-s20 {
        font-size: 14px;
    }

    .daegan_section .pb-40 {
        padding-bottom: 20px;
    }

    .daegan_section .mb-60 {
        margin-bottom: 45px;
    }

    .daegan_section .mb-90 {
        margin-bottom: 40px;
    }

    #sang_section .text_box p.f-cor3 {
        font-size: 12px;
    }

    #sang_section .text_box .pb-20 {
        padding-bottom: 10px;
    }

    #sang_section .text_box ul li {
        padding-left: 10px;
        line-height: 1.6;
    }

        #sang_section .text_box ul li::after {
            width: 3px;
            height: 3px;
        }


    /* 대강전 사진전 */
    #picture_section h4.pb-30 {
        padding-bottom: 15px;
    }

    /* 태극도 묻고 답하기 */
    #qna_section .sTit_box {
        margin-bottom: 45px;
    }

    #qna_section .f-s18 {
        font-size: 14px;
    }

    #qna_section .f-s22 {
        font-size: 18px;
    }

    #qna_section .pl-20 {
        padding-left: 10px;
    }

    #qna_section .pb-20 {
        padding-bottom: 10px;
    }

    #qna_section .pb-40 {
        padding-bottom: 20px;
    }

    #qna_section .pb-70 {
        padding-bottom: 45px;
    }

    #qna_section .mb-80 {
        margin-bottom: 50px;
    }

    /* 찾아오시는 길 */
    #map_section .sTit_box {
        margin-bottom: 45px;
    }

    #map_section .f-s18 {
        font-size: 14px;
    }

    #map_section .f-s22 {
        font-size: 16px;
    }

    #map_section .pb-40 {
        padding-bottom: 20px;
    }

    #map_section .mb-90 {
        margin-bottom: 45px;
    }

    #map_section .map_contents .left_box {
        margin-bottom: 30px;
    }

    #map_section .map_contents .address_box {
        padding: 10px;
    }

    /* ========== SUB HEADER 2 ========== */
    .sv_txt p {
        font-size: 24px;
    }

    .sv_txt span {
        font-size: 15px;
    }

    .s_nav_home a {
        height: 40px;
        padding-top: 14px;
    }

    .sdep01 > p span {
        font-size: 13px;
        line-height: 40px;
        padding: 0 30px 0 10px;
        line-height: 40px;
    }

    .sdep01 ul {
        top: 40px;
    }

        .sdep01 ul li a {
            font-size: 13px;
            padding: 0 10px;
            line-height: 40px;
        }

    .sdep01 > p em {
        top: 16px;
        width: 14px;
        height: 6px;
        right: 10px;
    }
    /* ========== SUB HEADER 2 ========== */
    .sub_header .s_nav_wrap.sub_lnb {
        height: 40px;
    }

    .s_nav_home a {
        padding-top: 0;
        line-height: 40px;
    }

    .sdep01 ul {
        width: calc(100% + -3px);
    }

    #main_section01 .main_sec01_wrap ul li.m_sec01_list {
        height: 200px;
    }
}

@media screen and (max-width: 420px) {
    /* #main_section01 .main_sec01_wrap .m_sec01_list div.title p{
        font-size: 18px;
    } */
    #main_section02 .main_sec02_wrap aside.left_cal {
        height: 310px;
    }

    #main_section01 .main_sec01_wrap ul li.m_sec01_list {
        height: 150px;
    }

        #main_section01 .main_sec01_wrap ul li.m_sec01_list img {
            width: 60%;
        }

            #main_section01 .main_sec01_wrap ul li.m_sec01_list img#custom_img {
                width: 60%;
                transform: translate(-50%, -45%);
            }
}

@media screen and (max-width: 375px) {
    /* main - section01 */
    #visual .visualWrap div.visual_img {
        bottom: 0vw;
    }
}

@media screen and (max-width: 360px) {
    .sub_header .sub_lnb {
        height: 9.7222vw;
    }

        .sub_header .sub_lnb ul.lnb_parent li {
            line-height: 9.7222vw;
            font-size: 3.3333vw;
        }

            .sub_header .sub_lnb ul.lnb_parent li .home {
                width: 5.2778vw;
            }

            .sub_header .sub_lnb ul.lnb_parent li:not(:last-child) {
                margin-right: 2.7778vw;
            }
}
