@charset "utf-8";
/* =====================================

	* board

    CSS CONTENTS : 
    01. list
    02. list::effect
    03. button
    04. list::paging
    05. view
    06. view::comment
    07. view::move
    08. write

====================================== */
.btn .btnDef {
    background-color: #3abdcc;
    border-color: #3abdcc;
}
.btn .btnPoint {
    background-color: #2e3c72;
    border-color: #2e3c72;
}
a { text-decoration: none; }
.ellipsis2 {
    overflow: hidden;
    display: block;
    display: -webkit-inline-box;
    -webkit-box-orient: vertical;
    text-overflow: ellipsis;
    word-break: break-all;
    -webkit-line-clamp: 2;
}
.hide {
    overflow: hidden;
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    clip: rect(0 0 0 0);
}
.text-right {
    text-align: right !important;
}
.text-center {
    text-align: center !important;
}
.text-left {
    text-align: left !important;
}

/* list */
.gall-list{
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}
.gall-list > li{
    position: relative;
    width: calc(33.3333% - 16px);
    border: 1px solid #e2e2e2;
}
.gall-list > li > a{
    display: block;
    position: relative;
    transition: 0.3s ease;
}
.gall-list > li:hover > a{
    box-shadow: 0 20px 24px rgba(149,149,149,0.2);
}
.gall-list > li:hover .gall-tit{
    color: #5ecedb;
}
.gall-img{
    display: block;
    width: 100%;
    height: 245px;
    border-bottom: 1px solid #e2e2e2; 
    background-color: #fafafa;
}
.gall-img > img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.gall-text{
    padding: 25px;
}
.gall-tit{
    height: 47px;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.3;
}
.gall-con{
    margin-top: 15px;
    font-size: 15px;
    font-weight: 500;
}
.gall-con span{
    display: inline-block;
    position: relative;
    line-height: 1.3;
    vertical-align: top;
}
.gall-con span + span{ 
    padding-left: 10px;
    margin-left: 8px;
}
.gall-con span + span:before{
    display: block;
    content: '';
    clear: both;
    position: absolute;
    top: 4px;
    left: 0;
    width: 2px;
    height: 11px;
    background-color: #c7d0df;
}
.gall-list .btn-admin{
    margin-top: 25px;
    text-align: center;
}
.bbs-admin{
    position: absolute;
    top: 20px;
    right: 20px;
    text-align: right;
}
.bbs-admin .form-item{
    width: 65px;
    height: 27px;
    margin: 2px;
    padding: 0 3px;
    border-color: #565656;
    background-color: #fff;
    font-size: 14px;
    vertical-align: top;
}
.bbs-admin .btn.btn-modify,
.bbs-admin .btn.btn-delete{
    width: 27px;
    height: 27px;
    margin: 2px;
    border-radius: 2px;
    background-color: #fff;
    background-repeat: no-repeat;
    background-position: center;
    border: 1px solid #565656;
}
.bbs-admin .btn.btn-modify{
    background-image: url('../image/ic_modify.png');
}
.bbs-admin .btn.btn-delete{
    background-image: url('../image/ic_delete.png');
    background-color: #565656;
}
.gall-list .no-data{
    display: block;    
    width: 100% !important;
    padding: 70px 15px;
    border-top: 2px solid #17504d;
    border-left: 0;
    border-right: 0;
    font-size: 20px;
    font-weight: 600;
    color: #17504d;
    text-align: center;
}

/* list::effect */
.ef01,
.ef02,
.ef03,
.ef04{
    position: relative;
}
.ef01 > a,
.ef02 > a,
.ef03 > a,
.ef04 > a{
    width: 100%;
    height: 100%;
}
.ef03:before,
.ef03:after{
    display: block;
    content: '';
    clear: both;
    position: absolute;
    z-index: 1;
    width: 0;
    height: 3px;
    background-color: #5ecedb;
}
.ef03:before{
    top: 0;
    left: 0;
    transition: 0.2s ease;
}
.ef03:after{
    right: 0;        
    transition: 0.2s ease 0.2s;
}
.ef03 > a:before,
.ef03 > a:after{
    display: block;
    content: '';
    clear: both;
    position: absolute;
    width: 3px;
    height: 0;
    background-color: #5ecedb;
}
.ef03 > a:before{
    bottom: 0;
    left: 0;
    transition: 0.2s ease 0.3s;
}
.ef03 > a:after{
    top: 0;
    right: 0;    
    transition: 0.2s ease 0.1s;
}
.ef03:hover:before{
    width: 100%;
}
.ef03 > a:hover:after{
    height: 100%;
}
.ef03:hover:after{
    width: 100%;    
}
.ef03 > a:hover:before{
    height: 100%;
}

/* button */
.board-wrap .btn-wrap{
    margin-top: 30px;
}
.btn-admin .btn.btn-board{
    display: inline-block;
    min-width: 50px;
    height: 27px;
    padding: 2px 0;
    margin: 1px;
    border-radius: 3px;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.6;
    vertical-align: top;
}
.board-view + .btn-wrap{
    text-align: right;
}
.btn.btn-board{
    display: inline-block;
    min-width: 115px;
    padding: 9px 20px;
    margin: 4px;
    border-radius: 3px;
    border: 1px solid transparent;
    font-size: 18px;
    font-weight: 600;
    line-height: 1.4;
    text-align: center;
}
.btn.btn-list{
    background-color: #fff;
    border-color: #3c568a;
    color: #3c568a;
}
.btn.btn-modify{
    background-color: #20366f;
    border-color: #20366f;
    color: #fff;
}
.btn.btn-delete{
    background-color: #bd466a;
    border-color: #bd466a;
    color: #fff;
}
.btn.btn-cancel{
    background-color: #929292;
    border-color: #929292;
    color: #fff;
}
.btn.btn-write{
    background-color: #20366f;
    border-color: #20366f;
    color: #fff;
}
.btn.btn-reply{
    background-color: #4986ac;
    border-color: #4986ac;
    color: #fff;
}

/* list::paging */
.paging-wrap{
    margin-top: 40px;
    text-align: center;
}
.paging{
    display: inline-block;
    vertical-align: top;
    text-align: center;
}
.paging > li{
    overflow: hidden;
    display: inline-block;
    width: 30px;
    height: 30px;
    margin: 1px;
    border-radius: 50%;
    vertical-align: top;
    transition: 0.3s ease;
}
.paging > .num:hover,
.paging > .num.on,
.paging > .num:hover > a,
.paging > .num.on > a{
    background-color: #f3f3f3;
    font-weight: 600;
    color: #000000;
}
.paging > li > a{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
    padding: 3px 0;
    font-size: 18px;
    color: #b3b3b3;
    transition: 0.3s ease;
}
.paging > li:not(.num){
    background-repeat: no-repeat;
    background-position: center;
    transition: 0.3s ease;
}
.paging > li:not(.num):hover{
    background-color: none;
}
.paging .first{
    background-image: url('../image/ic_first.png');
}
.paging .first:hover{    
    background-image: url('../image/ic_first_on.png');
}
.paging .prev{
    margin-right: 15px;
    background-image: url('../image/ic_prev.png');
}
.paging .prev:hover{
    background-image: url('../image/ic_prev_on.png');
}
.paging .next{
    margin-left: 15px;
    background-image: url('../image/ic_next.png');
}
.paging .next:hover{    
    background-image: url('../image/ic_next_on.png');
}
.paging .last{    
    background-image: url('../image/ic_last.png');
}
.paging .last:hover{
    background-image: url('../image/ic_last_on.png');
}

/* view */
.board-view{
}
.view-contop{
    padding: 20px 25px;
    background-color: #f2fbfc;
    border-top: 2px solid #37c0d0;
    border-bottom: 1px solid #bbbbbb;
    font-size: 15px;
}
.view-contop + .view-contents{
    border-top: 0;
}
.view-tit{
    font-size: 25px;
    font-weight: 600;
    color: #37c0d0;
    text-align: center;
}
.view-contop:not(:has(.view-cnt)) .view-tit{
    margin-bottom: 10px;
}
.view-cnt{
    margin-bottom: 10px;
}
.view-cnt button + button{
    margin-left: 10px;
}
.view-cnt .icon{
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 30px;
    height: 30px;
    background-color: #fff;
    border-radius: 50%;
    vertical-align: middle;
}
.view-cnt .cnt{
    display: inline-block;
    margin-left: 5px;
    vertical-align: middle;
}
.view-info > span{
    display: inline-block;
    position: relative;
    vertical-align: middle;
}
.view-info > span + span{
    padding-left: 8px;
    margin-left: 6px;
}
.view-info > span + span:before{
    display: block;
    content: '';
    clear: both;
    position: absolute;
    top: 4px;
    left: 0;
    width: 1px;
    height: 14px;
    background-color: #e5e2e4;
}
.view-info > span strong{
    font-weight: 500;
    color: #5abec9;
}
.view-info > span img {
    vertical-align: middle;
    margin-right: 6px;
    margin-top: -1px;
}
.view-link{
    padding: 20px 25px 0;
}
.view-link > a{
    display: inline-block;
    padding-left: 20px;
    background-repeat: no-repeat;
    background-position: 0 center;
    background-image: url('../image/ic_view_link.png');
    font-weight: 500;
    color: #000;
    word-break: break-all;
    vertical-align: top;
}
.view-contents{
    padding: 25px;
    padding-bottom: 50px;
    border-bottom: 1px solid #e2e2e2;
    font-size: 18px;
    font-weight: 500;
}
.board-view:has(.view-attach) .view-contents{
    border-bottom: 0;
}
.view-contents *{
    font: inherit;
}
.view-contents img{
    max-width: 100%;
}

.view-attach{
    padding: 0 25px 40px;
    border-bottom: 1px solid #e2e2e2;
}
.view-attach-con{
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    padding: 25px 30px;
    border-radius: 5px;
    border: 1px solid #e7e7e7;
    background-color: #f8f8f8;
    font-size: 15px;
}
.view-attach-con .con > a{
    display: block;
    padding-left: 30px;
    background-repeat: no-repeat;
    background-position: 0 3px;
    background-image: url('../image/ic_file2.png');
    transition: 0.3s ease;
    word-break: break-all;
}
.view-attach-con .con > a:hover{
    background-image: url('../image/ic_file2_on.png');
}
.view-attach-con .con > a + a{
    margin-top: 5px;
}

.gall-view-wrap{
    position: relative;
    max-width: 700px;
    margin: 50px auto;
    border: 1px solid #dfdfdf;
    border-radius: 3px;
}
.gall-view-wrap .btn-img-down{
    position: absolute;
    right: 20px;
    bottom: 20px;
}
.gall-view-wrap img{
    max-width: 100%;
}
.gall-rolling-wrap{
    position: relative;
    max-width: 940px;
    margin: 0 auto 40px;
    text-align: center;
}
.gall-view-rolling{
    overflow: hidden;
}
.gall-view-rolling .slick-list,
.gall-view-rolling .slick-track{
    height: 100%;
}
.btn-gall{
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background-repeat: no-repeat;
    background-position: center;
    background-size: 100%;
    vertical-align: middle;
    background-color: #fff;
}
.btn-gall-prev{
    left: 0;
    background-image: url('../image/btn_gall_prev.png');
}
.btn-gall-next{
    right: 0;
    background-image: url('../image/btn_gall_next.png');
}
.gall-cnt-wrap{
    position: absolute;    
    top: 50%;
    transform: translateY(-50%);
    left: 50px;
    vertical-align: middle;
}
.gall-cnt-wrap .current,
.gall-cnt-wrap .total{
    display: inline-block;
    font-size: 22px;
    font-weight: 500;
    color: #9f9f9f;
    vertical-align: top;
}
.gall-cnt-wrap .current{
    font-size: 25px;
    font-weight: 900;
    color: #5ecedb;
}
.gall-cnt-wrap .total{
    position: relative;
    padding-top: 7px;
}
.gall-cnt-wrap .total:before{
    display: inline-block;
    content: '/';
    clear: both;
    margin: 0 5px;
    font-size: 20px;
    font-weight: 300;
    color: #9f9f9f;
}

.gall-view-rolling{
    max-width: 700px;
    margin: 0 auto;
}
.gall-view-rolling .slick-slide{
    display: flex !important;
    flex-wrap: wrap;
    gap: 12px;
}
.gall-view-con:after{
    display: block;
    content: '';
    clear: both;
}
.gall-view-con > a{
    float: left;
    width: calc((100% - 60px)/5);
    height: 90px;
    border: 1px solid #dfdfdf;
    border-radius: 3px;
}
.gall-view-con > a > img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* write */
.filebox{
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}
.filebox .upload-name{
    width: calc(100% - 50px);
    height: 35px;
    padding-left: 10px;
    border: 1px solid #cacaca;
    box-sizing: border-box;
}
.filebox label{
    width: 40px;
    padding: 7px 0;
    border-radius: 2px;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.4;
    cursor: pointer;
    vertical-align: middle;
    text-align: center;
    background: #575e71 url('/image/icon/bbsIcon_search_wh.png')no-repeat center;
    text-indent: -9999px;
}
.filebox input[type="file"] {
    position: absolute;
    width: 0;
    height: 0;
    padding: 0;
    overflow: hidden;
    border: 0;
}
.filebox .attach-file{
    flex: 1 1 auto;
    width: 100%;
}
.filebox + *{
    display: inline-block;
    vertical-align: middle;
}
.attach-file .file_del{
    display: inline-block;
    margin-top: -3px;
    margin-left: 5px;
    vertical-align: middle;
}
.attach-file .link {
    text-decoration: underline;
}
.attach-file .btn-file-delete {
    color: Red;
}


/* =====================================

	* responsive

====================================== */
@media screen and (max-width: 1024px){
    
    /* list */
    .gall-tit{
        height: 43px;
    }

    /* view */
    .gall-rolling-wrap{
        max-width: 700px;
        text-align: right;
    }
    .gall-view-rolling{
        width: 100%;
        max-width: 100%;
        margin-top: 30px;
    }
    .gall-cnt-wrap,
    .btn-gall{
        display: inline-block !important;
        position: static;
        top: auto;
        left: auto;
        transform: none;
        vertical-align: middle;
    }
    .gall-cnt-wrap{
        float: left;
    }
    .gall-cnt-wrap .total{
        padding-top: 3px;
    }
    .gall-cnt-wrap, .btn-gall{
        margin: 0 5px;
    }

}
@media screen and (max-width: 768px){
    
    /* list */
    .gall-list{
        gap: 15px;
    }
    .gall-list > li{
        width: 100%;
    }
    .gall-list > li > a{
        height: auto;
    }
    .gall-list > li:hover .gall-text{
        opacity: 1;
    }
    .gall-img{
        height: 110px;
    }
    .gall-text{
        padding: 15px;
    }
    .gall-tit{
        height: auto;
        font-size: 14px;
    }
    .gall-con{
        margin-top: 5px;
        font-size: 12px;
    }
    .gall-con span + span:before{
        top: 3px;
        width: 1px;
        height: 9px;
    }    
    .bbs-admin{
        display: none;
        top: 10px;
        right: 10px;
    }
    .gall-list .no-data{
        padding: 30px 15px;
        font-size: 14px;
    }

    .gall-list.n2 > li{
        width: calc((100% - 15px)/2);
    }
    .gall-list.n2 .gall-name{
        display: block;
        margin-bottom: 3px;
        width: 100%;
    }
    .gall-list.n2 .gall-con span + span{
        margin-left: 0;
        padding: 0 5px;
    }
    .gall-list.n2 .gall-con .gall-name + span{
        margin-left: -5px;
    }
    .gall-list.n2 .gall-name + span:before{
        display: none;
    }

    /* button */
    .board-wrap .btn-wrap{
        margin-top: 20px;
    }
    .btn.btn-board{
        min-width: initial;
        padding: 7px 20px;
        font-size: 14px;
    }
    .board-view + .btn-wrap{
        text-align: center;
    }
    .btn-board.btn-list{
        float: none !important;
    }
    
    /* list::paging */
    .paging-wrap{
        margin-top: 30px;
    }
    .paging > li{
        width: 25px;
        height: 25px;
    }
    .paging > li > a{
        font-size: 14px;
    }
    .paging > li:not(.num){
        background-size: auto 10px;
    }
    .paging .prev{
        margin-right: 5px;
    }
    .paging .next{
        margin-left: 5px;
    }

    /* view */
    .view-contop{
        padding: 20px 15px;
    }
    .view-tit{
        margin-bottom: 10px;
        font-size: 17px;
        line-height: 1.3;
    }
    .view-cnt{
        margin-bottom: 5px;
        font-size: 12px;
    }
    .view-cnt button + button{
        margin-left: 5px;
    }
    .view-cnt .icon{
        width: 20px;
        height: 20px;
        padding: 5px;
    }
    .view-cnt .icon img{
        max-width: 100%;
    }
    .view-cnt .cnt{
        margin-left: 3px;
    }
    .view-info > span{
        font-size: 14px;
    }
    .view-info > span + span:before{
        top: 5px;
        height: 12px;
    }
    .view-info > span img {
        margin-right: 5px;
    }
    .view-link{
        padding: 10px 0 0;
    }
    .view-link > a{
        padding-left: 15px;
        background-size: 10px;
        background-position: 0 6px;
        font-size: 13px;
    }
    .gall-rolling-wrap{
        padding: 0 15px;
        margin-bottom: 0;
    }
    .view-contents{
        padding: 20px 15px;
        font-size: 14px;
        line-height: 1.5;
    }

    .view-attach{
        padding: 0 0 20px;
    }
    .view-attach-con{
        padding: 15px;
        border-radius: 3px;
        font-size: 14px;
    }
    .view-attach-con .con > a{   
        padding-left: 20px;
        background-size: 10px;
        font-size: 12px;     
        line-height: 1.3;
    }
    
    .gall-view-wrap{
        width: calc(100% - 30px);
        margin: 20px auto;
        border-radius: 2px;
    }
    .gall-view-wrap .btn-img-down{
        right: 15px;
        bottom: 15px;
        width: 20px;
        height: 20px;
    }
    .gall-cnt-wrap .current, 
    .gall-cnt-wrap .total{
        vertical-align: middle;
    }
    .gall-cnt-wrap .current{
        font-size: 22px;
    }
    .gall-cnt-wrap .total{
        padding-top: 0;
        font-size: 20px;
    }
    .btn-gall{
        width: 30px;
        height: 30px;
        margin: 2px;
    }
    .gall-view-rolling{
        margin-top: 10px; 
    }
    .gall-view-rolling .slick-slide{
        gap: 7px;
    }
    .gall-view-con > a{
        width: calc((100% - 40px)/5);
        height: 45px;
        border-radius: 2px;
    }


}