.p{
    display: block;
}
.m{
    display: none;
}
.sub-page{
    background-color: #fff;
}
.sub-menu{
    background-color: #f8f8f8;
    box-sizing: border-box;
    position: relative;
    height: 3rem;
}
.sub-menu .box{
    width: 60%;
    position: absolute;
    right: 13rem;
}
.sub-menu ul{
    display: flex; 
    padding: 1rem 0;
}
.sub-menu ul li{
    border-right: 1px solid #000;
    box-sizing: border-box;
    padding: 0 2rem;
    font-weight: 500;
    position: relative;
}
.sub-menu ul li.active{
    font-weight: 600;
}
.sub-menu ul li.active::before{
    content: '';
    width: 50%;
    display: block;
    position: absolute;
    bottom: -1rem;
    height: 4px;
    background-color: #000;
    left: 50%;
    transform: translateX(-50%);
}
.sub-menu ul li:last-child{
    border-right: none;
}

.sub-page .img{width: 100%;}
.sub-page .img img{width: 100%; display: block;}
.sub-banner-txt{
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    left: 0;
    width: 100%;
    text-align: center;
    color: #fff;

    text-shadow: 2px 2px 3px rgba(0,0,0,.3), -2px -2px 3px rgba(0,0,0,.3);
}
.sub-banner-txt p{
    font-size: 1.125rem;
    font-weight: 500;
}
.sub-banner-txt h3{
    font-size: 2.8125rem;
    margin-top: 1rem;
    font-weight: 600;
}
.sub-con{
    padding: 1rem 0 5rem 0;
}
.sub-inner{
    width: 80%;
    box-sizing: border-box;
    margin: 0 auto;
}
.sub-title{
    margin-bottom: 2rem;
}
.sub-title p{
    color: #1469b3;
    font-weight: 600;
}
.sub-title h3{
    font-size: 2.8125rem;
    margin-top: 1rem;
    font-weight: 600;
    line-height: 1.4;
}
.sub-page p{
    font-size: 1.125rem;
    line-height: 1.6;
}
.sub-page b{
    font-weight: 600;
    font-size: 1.125rem;
}

/* 게시판 공통 */
.board-defult table{
    width: 100%;
    border-top: 2px solid #000;
}
.board-defult table thead td{
    border-bottom: 1px solid #ccc;
    box-sizing: border-box;
    text-align: center;
    font-weight: 600;
    font-size: 1.125rem;
    padding: 1.5rem 0;
}
.board-defult table thead td:last-child{
    width: 15%;
}
.board-defult table tbody tr{
    border-bottom: 1px solid #ccc;
    box-sizing: border-box;
}

.board-defult table tbody tr .board-tit{
    padding: 1.2rem 2rem;  
    line-height: 1.2; 
    display: flex;
    align-items: center;
}
.board-defult table tbody tr .date{
    text-align: center;
    font-size: 0.875rem;
    color: #525151;
}
.board-defult table tbody td.name{
    text-align: center;
    width: 10%;    
    color: #525151;
}
.board-defult table tbody td.num{
    text-align: center;
    color: #6c6c6c;
}
.board-defult table tbody td.category,
.board-defult table tbody td.category-defult{
    text-align: center;
    width: 10%;   
    font-weight: 600; 
}
.board-defult table tbody tr a{
    width: 100%;
    height: 1.2rem;
}

/* 게시판 공통 pagination */
.board-pagination{
    margin-top: 2rem;
    position: relative;
    padding: 2rem 0;
}
.board-pagination .pagination{
    width: 30rem;
    margin: 0 auto;
}
.board-pagination .pagination ul{
    display: flex;
    align-items: center;
    justify-content: center;
}
.board-pagination .pagination ul li{
    color: #666;
    box-sizing: border-box;
    padding: 0 1rem 0 0.5rem; 
    position: relative;
}
.board-pagination .pagination ul li::after{
    content: '/';
    position: absolute;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
}

.board-pagination .pagination ul li.active{
    color: #000;
    font-weight: 600;
}
.board-pagination .pagination ul li.prev-page,
.board-pagination .pagination ul li.next-page{
    text-indent: -9999px;
    width: 2rem;
    height: 2rem;
}
.board-pagination .pagination ul li.prev-page a,
.board-pagination .pagination ul li.next-page a{
    display: block;
    width: 2rem;
    height: 2rem;
}
.board-pagination .pagination ul li.prev-page{
    background: url('http://ourplacekorea.com/wp/images/common/board-prevBtn.png')no-repeat center;
    background-size: contain;
    margin-right: 0.5rem;
}
.board-pagination .pagination ul li.next-page{
    background: url('http://ourplacekorea.com/wp/images/common/board-nextBtn.png')no-repeat center;
    background-size: contain;
    margin-left: 0.5rem;
}
.board-pagination .pagination ul li.prev-page::after,
.board-pagination .pagination ul li.next-page::after,
.board-pagination .pagination ul li.last-page::after{
    content: none;
}
.board-pagination .write-btn{
    background-color: #000;
    color: #fff;
    display: inline-block;
    width: 7.5rem;
    height: 2.5rem;
    text-align: center;
    line-height: 2.3rem;
    position: absolute;
    top: 0;
    right: 0;
}

@media all and (max-width:1080px) {
    .p{
        display: none;
    }
    .m{
        display: block;
    }
    .sub-menu,
    .sub-title{
        display: none;
    }
    .sub-inner{
        width: 95%;
    }
    .sub-con{
        padding: 3rem 0;
    }
    .sub-page b{
        font-weight: 500;
    }
}

@media all and (max-width:767px) {

    .sub-banner-txt p{
        font-size: 1rem;
    }
    .sub-banner-txt h3{
        font-size: 2rem;
        margin-top: 0.5rem;
    }
    .sub-title h3{
        font-size: 2rem;
    }
    .sub-page p,
    .sub-page b{
        font-size: 0.875rem;
    }
}