/* 역대 교구장 start */
.ordinary_successive{
    padding-bottom: 0;
}
.ordinary_successive .list_wrap{
    display: flex;
    flex-wrap: wrap;
}
.ordinary_successive .list_wrap .box{
    width: 25%;
    padding: 0 55px;
    padding-bottom: 150px;
    border-right: 1px solid #D5DBE9;
}
.ordinary_successive .list_wrap .box:last-of-type{
    border-right: 0;
}
.ordinary_successive .list_wrap .box .image{
    width: 100%;
}
.ordinary_successive .list_wrap .box .image img{
    width: 100%;
    height: 100%;
    object-fit: contain;
}
.ordinary_successive .list_wrap .box .text{
    margin-top: 30px;
    text-align: center;
}
.ordinary_successive .list_wrap .box .text .info{
    font-size: 18px;
    font-weight: 500;
}
.ordinary_successive .list_wrap .box .text .name{
    font-size: 22px;
    font-weight: 800;
    margin-top: 8px;
}
.ordinary_successive .list_wrap .box .in_btn{
    margin-top: 55px;
    display: flex;
    justify-content: center;
    gap: 7px;
  
}
.ordinary_successive .list_wrap .box .in_btn .btn{
    min-width: 105px;
    height: 50px;
    border: 1px solid #D5DBE9;
    border-radius: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: 600;
}
.ordinary_successive .list_wrap .box .in_btn .btn.btn01:hover{
    background-color: #004A9C;
    border: 1px solid #004780;
    color: #FFFFFF;
}   
.ordinary_successive .list_wrap .box .in_btn .btn.btn02:hover{
    background-color: #A7132F;
    border: 1px solid #740A1F;
    color: #FFFFFF;
}
.ordinary_successive .layer_popup {
  position: fixed; top: 0; left: 0; width: 100%; height: 100%;
  background: rgba(0,0,0,0.5); display: flex; justify-content: center; align-items: center;
  z-index: 9999;
}
.ordinary_successive .layer_popup[style="display: block; opacity: 1;"] {
  display: flex !important;
}
.ordinary_successive .popup_inner {
    width: 820px;
    max-height: 590px;
    height: 100%;
    position: relative;
    background: #fff; 
    padding: 0px; 
    border-radius: 20px;
    overflow: hidden;
}
.ordinary_successive .popup_inner .top_area_wrap{
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0px 30px;
    background-color: #004A9C;

}
.ordinary_successive .popup_inner .popup_title{
    width: 100%;
    height: 70px;
    font-size: 22px;
    font-weight: 600;
    color: #fff;
    display: flex;
    align-items: center;
}
.ordinary_successive .popup_inner .popup_tab{
    width: 100%;
    height: 45px;
    background-color: #004A9C;
    padding-left: 20px;
}
.ordinary_successive .popup_inner .popup_content{
    padding: 0 30px;
    padding-top: 35px;
    height: calc(100% - 115px);
}
.ordinary_successive .popup_inner .popup_content::after{
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 5%;
    background: linear-gradient(0deg,rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0) 100%);
}

.ordinary_successive .close_btn {
    position: relative;
    color: #fff;
    background: none;
    border: none;
    width: 35px;
    height: 35px;
    transform: translateX(50%);
}
.ordinary_successive .close_btn img{
    width: 100%;
    height: 100%;
    object-fit: contain;
}
.ordinary_successive .popup_tab {
  display: flex;
}
.ordinary_successive .tab_btn {
    width: 120px;
    padding: 10px;
    text-align: center;
    cursor: pointer;
    background-color: #004A9C;
    border: none;
    border-radius: 10px 10px 0px 0px;
    color: #fff;
    font-size: 20px;
    font-weight: 600;
}
.ordinary_successive .tab_btn.active {
    background: #004A9C; 
    color: #222;
    background-color: #fff;
}
.ordinary_successive .tab_btn.active[data-tab="motto"]{
    /* background-color: #A7132F; */
}
.ordinary_successive .tab_content { 
  height: 100%;
  overflow: auto;
  /* padding-bottom: 50px; */
}
.ordinary_successive .tab_content .motto_wrap{
    display: flex;
    height: 100%;
}
.ordinary_successive .tab_content .motto_wrap .motto_img{
    padding-right: 30px;
    border-right: 1px solid #D5DBE9;
    width: 320px;
    display: flex;
    justify-content: center;
    align-items: center; 
    height: calc(100% - 45px);
}
.ordinary_successive .tab_content .motto_wrap .motto_img img{
    max-width: 250px;
    width: 100%;
    height: fit-content;
}
.ordinary_successive .tab_content .motto_wrap .motto_text{
    padding-left: 40px;
    flex: 1;
    overflow: auto;
}
.ordinary_successive .tab_content .motto_wrap .motto_text strong{
    font-size: 23px;
    font-family: 'Gyeonggi_Batang_Regular';
}
.ordinary_successive .tab_content .motto_wrap .motto_text span{
    display: inline-block;
    font-size: 20px;
    color: #0044aa;
    margin-top: 10px;
    font-family: 'Gyeonggi_Batang_Regular';
}
.ordinary_successive .info_table {
  width: 100%; border-collapse: collapse;
  border-top: 1px solid #222;
  margin-bottom: 50px;
}
.ordinary_successive .info_table td {
  padding: 13px 10px; 
  border-bottom: 1px solid #ddd;
  font-size: 18px;
}

.ordinary_successive .info_table td:first-child {
    width: 330px;
    font-weight: 500;
}

.ordinary_successive .info_table td:not(:last-child) {
    border-right: 1px solid #DEDEDE;
}

.ordinary_successive .motto_wrap ul {
  margin: 40px 0 0;
  padding-left: 0px;
  list-style: none;
  display: flex;
  flex-flow: column;
  gap: 8px;
  padding-bottom: 40px;
}
.ordinary_successive .motto_wrap ul li {
  margin-bottom: 6px;
  line-height: 1.5;
  font-size: 18px;
  text-indent: -18px;
  padding-left: 18px;
}
@media (max-width: 1520px) {
    .ordinary_successive .list_wrap .box{
        padding: 0 25px;
        padding-bottom: 120px;
    }
    .ordinary_successive .list_wrap .box .in_btn{
        gap: 5px;
    }
    .ordinary_successive .list_wrap .box .in_btn .btn{
        min-width: 80px;
        height: 40px;
        font-size: 14px;
    }
}
@media (max-width: 1300px) {}
@media (max-width: 1024px) {
    .ordinary_successive .list_wrap .box{
        padding: 0 50px;
        padding-bottom: 70px;
        width: 50%;
        border-right: 0;
    }
}

@media (max-width: 830px) {
    .ordinary_successive .popup_inner {
        width: calc(100% - 40px);
    }
}

@media (max-width: 767px) {
    .ordinary_successive{
        padding-top: 35px;
    }
    .ordinary_successive .list_wrap .box{
        padding: 0 15px;
        padding-bottom: 60px;
    }
    .ordinary_successive .popup_inner{
        width: 100%;
        max-height: 100%;
        border-radius: 0;
    }
    .ordinary_successive .tab_content .motto_wrap{
        flex-direction: column;
    }
    .ordinary_successive .tab_content .motto_wrap .motto_text{
        padding-left: 0;
        margin-top: 50px;
    }
    .ordinary_successive .tab_content .motto_wrap .motto_img{
        display: flex;
        justify-content: center;
        padding-right: 0;
        border-right: 0;
        width: 100%;
        height: auto;
    }
    .ordinary_successive .tab_content .motto_wrap .motto_img img {
        max-width: 145px;
        width: 145px;
    }
    .ordinary_successive .tab_btn{
        font-size: 14px;
        width: 45%;
        min-width: auto;
        padding: 8px 14px;
    }
    .ordinary_successive .popup_inner .popup_title{
        font-size: 16px;
        height: 55px;
    }
    .ordinary_successive .popup_inner .top_area_wrap{
        padding: 0 20px;
    }
    .ordinary_successive .popup_inner .popup_tab{
        padding-left: 0px;
        height: auto;
        justify-content: center;
    }
    .ordinary_successive .popup_inner .popup_content{
        padding: 0 15px;
        padding-top: 25px;
    }
    .ordinary_successive .info_table {
        margin-bottom: 0px;
    }
    .ordinary_successive .info_table td{
        font-size: 15px;
    }
    .ordinary_successive .info_table td:first-child {
        width: 280px;
    }
    .ordinary_successive .motto_wrap ul {
        margin: 25px 0 0;
        gap: 3px;
        padding-bottom: 0px;
    }
    .ordinary_successive .motto_wrap ul li{
        font-size: 15px;
    }
    .ordinary_successive .tab_content .motto_wrap .motto_text{
        margin-top: 35px;
        overflow: hidden;
    }
    .ordinary_successive .tab_content .motto_wrap .motto_text p {
        text-align: center;
    }
    .ordinary_successive .tab_content .motto_wrap .motto_text span{
        font-size: 17px;
    }
    .ordinary_successive .tab_content .motto_wrap .motto_text strong{
        font-size: 20px;
    }
    .ordinary_successive .list_wrap .box .in_btn{
        margin-top: 23px;
    }
    .ordinary_successive .list_wrap .box .image{
        display: flex;
        justify-content: center;
    }
    .ordinary_successive .list_wrap .box .image img{
        max-width: 180px;
    }
}
@media (max-width: 600px) {
    .ordinary_successive .info_table tr {
        display: flex;
        flex-flow: column;
    }
    .ordinary_successive .info_table td {
        width: 100% !important;
    }
    .ordinary_successive .info_table td:first-child {
        padding-bottom: 0px;
        border: 0px;
    }

}

@media (max-width: 425px) {
    .ordinary_successive .list_wrap .box{
        width: 100%;
    }
}









/* 이용약관 */
.terms_layout{}
.terms_layout .layout_max{
    
}
.terms_layout .layout_max .in_padding{
    padding: 0 100px;

}
.terms_layout .layout_max .in_padding .card{
    padding: 20px;
    border: 1px solid #D5DBE9;
    border-radius: 28px;
    background-color: #F5F7FC;
}
.terms_layout .layout_max .in_padding .card .in{
    background-color: #fff;
    border-radius: 20px;
    padding: 40px 40px;
    font-size: 18px;
    line-height: 1.5;
}
.terms_layout .layout_max .in_padding .card .in h3{
    color: #222;
}
.terms_layout .layout_max .in_padding .card .in ul.depth01{
    margin-top: 50px;
    display: flex;
    flex-direction: column;
    gap: 40px;
}
.terms_layout.personal_layout .layout_max .in_padding .card .in ul.depth01,
.terms_layout.email_layout .layout_max .in_padding .card .in ul.depth01{
    margin-top: 0;
}
.terms_layout .layout_max .in_padding .card .in ul.depth01 > li{

}
.terms_layout .layout_max .in_padding .card .in ul.depth01 > li .title{}
.terms_layout .layout_max .in_padding .card .in ul.depth01 > li ul.depth02{
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 10px;
}
.terms_layout .layout_max .in_padding .card .in ul.depth01 > li ul.depth02 > li{}

@media (max-width: 1520px) {}
@media (max-width: 1300px) {
    .terms_layout .layout_max .in_padding{
        padding: 0;
    }
}
@media (max-width: 1024px) {
    
}
@media (max-width: 767px) {
    .terms_layout{
        margin-top: 40px;
    }
    .terms_layout .layout_max .in_padding .card .in ul.depth01{
        margin-top: 35px;
    }
    .terms_layout .layout_max .in_padding .card .in{
        padding: 15px 15px;
        font-size: 15px;
    }
}
@media (max-width: 425px) {}


.terms_layout.personal_layout .layout_max .in_padding .card .in ul.depth01 > li .title{
    font-weight: 600;
}










