/* Search */
.bbs-search {
  display: flex;
  justify-content: flex-end;
  margin-bottom:50px;
}

.bbs-search .search {
  display: flex;
}

.bbs-search .search-select {
  width:175px;
  height:60px;
  margin-right:10px;
}

.bbs-search .search-select select {
  width:100%;
  height:100%;
  font-size:1.8rem;
  color:#808080;
  background-color:#f5f5f5;
  padding-left:20px;
}

.bbs-search .search-input {
  position: relative;
  background-color:#f5f5f5;
}

.bbs-search .search-input input {
  width:100%;
  height:100%;
  font-size:1.8rem;
  padding:0px 80px 0px 20px;
  background-color: transparent;
}

.bbs-search .search-input .button {
  position: absolute;
  top:0;
  right:0;
  width:60px;
  height:60px;
}

.bbs-search .search-input .button::before {
  content:"";
  display:inline-block;
  width:100%;
  height:100%;
  background:url('/en/img/bbs/search.png') no-repeat center;
}

@media screen and (max-width:1200px) {
  .bbs-search {
    margin-bottom:36px;
  }

  .bbs-search .search-select {
    width:160px;
    height:48px;
  }
  
  .bbs-search .search-select select {
    font-size:1.6rem;
  }

  .bbs-search .search-input input {
    font-size:1.6rem;
    padding:0px 60px 0px 20px;
  }

  .bbs-search .search-input .button {
    width:48px;
    height:48px;
  }
}
@media screen and (max-width:992px) {
  .bbs-search {
    margin-bottom:30px;
  }

  .bbs-search .search-select {
    width:150px;
  }

  .bbs-search .search-select select {
    padding-left:12px;
  }

  .bbs-search .search-input input {
    padding:0px 60px 0px 12px;
  }
}
@media screen and (max-width:768px) {
  .bbs-search {
    margin-bottom:24px;
  }

  .bbs-search .search-select {
    width: 135px;
    height:38px;
    margin-right:6px;
  }

  .bbs-search .search-select select {
    font-size:1.5rem;
  }

  .bbs-search .search-input input {
    font-size:1.5rem;
  }

  .bbs-search .search-input .button {
    width:38px;
    height:38px;
  }

  .bbs-search .search-input .button::before {
    background-size:auto 16px;
  }
}
@media screen and (max-width:576px) {
  .bbs-search .search-select {
    width: 130px;
  }

  .bbs-search .search-select select {
    font-size:1.4rem;
  }

  .bbs-search .search-input {
    width: calc(100% - 136px);
  }
  
  .bbs-search .search-input input {
    font-size:1.4rem;
  }
}


/* Pagination */
.bbs-pagination {
  display: flex;
  justify-content: center;
  margin-top:100px;
}

.bbs-pagination a {
  display:inline-flex;
  justify-content: center;
  align-items: center;
  width:44px;
  height:44px;
  margin:0px 5px;
  border-radius:50%;
  font-size:2rem;
  line-height:1;
  color:#898989;
  background-color: transparent;
  background-repeat: no-repeat;
  background-position: center;
  -webkit-transition:all ease-out .15s;
  transition:all ease-out .15s;
}

.bbs-pagination a:not(.current) {
  cursor:pointer;
}

.bbs-pagination a.current {
  color:#191919;
  font-weight:700;
  background-color: #f5f5f5;
}

.bbs-pagination a.pagination__prev {
  background-image: url('/en/img/bbs/prev.png');
}

.bbs-pagination a.pagination__next {
  background-image: url('/en/img/bbs/next.png');
}

@media screen and (max-width:1200px) {
  .bbs-pagination {
    margin-top:80px;
  }

  .bbs-pagination a {
    width:38px;
    height:38px;
    font-size:1.8rem;
  }
}
@media screen and (max-width:992px) {
  .bbs-pagination {
    margin-top:60px;
  }
}
@media screen and (max-width:768px) {
  .bbs-pagination {
    margin-top:40px;
  }

  .bbs-pagination a {
    width:36px;
    height:36px;
    font-size:1.6rem;
    margin:0px 3px;
  }
}
@media screen and (max-width:576px) {
  .bbs-pagination a {
    width:32px;
    height:32px;
    font-size:1.5rem;
  }
}


/* Gallery List */
.bbs-gallery-list {
  display: flex;
  flex-wrap: wrap;
  margin:-25px -14px;
}

.bbs-gallery-list li {
  flex:0 0 33.33%;
  max-width:33.33%;
  padding:25px 14px
}

.bbs-gallery-list .thumb {
  position: relative;
  width:100%;
  height:0;
  padding-top:calc(298/448*100%);
  overflow: hidden;
}

.bbs-gallery-list .thumb_img {
  position: absolute;
  top:0;
  left:0;
  right:0;
  bottom: 0;
  width:100%;
  height:100%;
  background-repeat: no-repeat;
  background-position: center;
  background-size:cover;
  transform: scale(1);
  transition:all .5s ease-in-out;
}

.bbs-gallery-list .context {
  padding-top:30px;
}

.bbs-gallery-list .bbs_category {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  font-size:1.8rem;
  font-weight:700;
  line-height:1;
  color:#fff;
  padding:5px 10px;
  border-radius:5px;
  background-color: #0068b7;
}

.bbs-gallery-list .bbs_subject {
  display: -webkit-box;
  height:74px;
  font-size:2.4rem;
  font-weight:700;
  line-height:1.5;
  color:#191919;
  text-overflow: ellipsis;
  overflow: hidden;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  margin:30px 0px 40px;
}

.bbs-gallery-list .bbs_data {
  font-size:1.8rem;
  color:#808080;
}

@media screen and (min-width:1201px) {
  .bbs-gallery-list li:hover .thumb_img {
    transform: scale(1.05);
  }
}
@media screen and (max-width:1200px) {
  .bbs-gallery-list .context {
    padding-top:24px;
  }
  
  .bbs-gallery-list .bbs_category {
    font-size:1.6rem;
  }

  .bbs-gallery-list .bbs_subject {
    height:60px;
    font-size:2rem;
    margin:24px 0px 30px;
  }

  .bbs-gallery-list .bbs_data {
    font-size:1.6rem;
  }
}
@media screen and (max-width:992px) {
  .bbs-gallery-list {
    margin:-18px -8px;
  }
  
  .bbs-gallery-list li {
    padding:18px 8px
  }

  .bbs-gallery-list .context {
    padding-top:18px;
  }

  .bbs-gallery-list .bbs_subject {
    margin:18px 0px 24px;
  }
}
@media screen and (max-width:768px) {
  .bbs-gallery-list {
    margin:-12px -4px;
  }
  
  .bbs-gallery-list li {
    padding:12px 4px
  }

  .bbs-gallery-list .context {
    padding-top:12px;
  }

  .bbs-gallery-list .bbs_category {
    font-size:1.5rem;
    padding:3px 6px;
  }

  .bbs-gallery-list .bbs_subject {
    height:54px;
    font-size:1.8rem;
    margin:12px 0px 18px;
  }

  .bbs-gallery-list .bbs_data {
    font-size:1.5rem;
  }
}
@media screen and (max-width:576px) {
  .bbs-gallery-list {
    margin:-8px -4px;
  }

  .bbs-gallery-list li {
    flex:0 0 50%;
    max-width:50%;
    padding:8px 4px;
  }

  .bbs-gallery-list .bbs_category {
    font-size:1.4rem;
  }

  .bbs-gallery-list .bbs_subject {
    height:48px;
    font-size:1.6rem;
    margin:8px 0px 12px;
  }

  .bbs-gallery-list .bbs_data {
    font-size:1.4rem;
  }
}

/* Gallery View */
.bbs-gallery-view .view-table {
  width:100%;
  table-layout: fixed;
  border-collapse: collapse;
  border-top:2px solid #bfbfbf;
}

.bbs-gallery-view .view-table tr {
  border-bottom:1px solid #d2d2d2;
}

.bbs-gallery-view .view-table-title {
  width:100%;
  padding:40px 20px;
}

.bbs-gallery-view .title-category {
  font-size:1.8rem;
  font-weight:700;
  color:#0068b7
}

.bbs-gallery-view .title-subject {
  font-size:3.6rem;
  font-weight:700;
  color:#191919;
  margin:20px 0px 30px;
}

.bbs-gallery-view .title-data {
  font-size:1.8rem;
  font-weight:400;
  color:#808080;
} 

.bbs-gallery-view .view-table-context {
  text-align: left;
  vertical-align: top;
  height: 530px;
  padding:40px 0px;
}

.bbs-gallery-view .view-navi {
  width:100%;
  table-layout: fixed;
  border-collapse: collapse;
}

.bbs-gallery-view .view-navi tr {
  border-bottom:1px solid #d2d2d2;
}

.bbs-gallery-view .view-navi th,
.bbs-gallery-view .view-navi td {
  height:80px;
}

.bbs-gallery-view .view-navi th {
  width:100px;
  font-size:1.8rem;
  font-weight:400;
  color:#191919;
}

.bbs-gallery-view .view-navi th::after {
  content:"";
  display: inline-block;
  vertical-align: middle;
  width:9px;
  height:7px;
  background-repeat: no-repeat;
  background-position: center;
  margin-left:10px;
}

.bbs-gallery-view .view-navi th.navi_prev::after {
  background-image: url('/en/img/bbs/prev_post.png');
}

.bbs-gallery-view .view-navi th.navi_next::after {
  background-image: url('/en/img/bbs/next_post.png');
}

.bbs-gallery-view .view-navi td {
  width:calc(100% - 100px);
  font-size:1.8rem;
  font-weight:400;
  color:#898989;
  padding:0px 30px;
}

.bbs-gallery-view .view-btns {
  display: flex;
  justify-content: center;
  margin-top:50px;
}

.bbs-gallery-view .view-btns .button {
  max-width:180px;
  width:100%;
  height:60px;
  font-size:1.8rem;
}

@media screen and (max-width:1200px) {
  .bbs-gallery-view .view-table-title {
    padding:30px 12px;
  }
  
  .bbs-gallery-view .title-category {
    font-size:1.6rem;
  }
  
  .bbs-gallery-view .title-subject {
    font-size:2.8rem;
    margin:12px 0px 24px;
  }
  
  .bbs-gallery-view .title-data {
    font-size:1.6rem;
  } 

  .bbs-gallery-view .view-table-context {
    height:440px;
    padding:30px 0px;
  }

  .bbs-gallery-view .view-navi th, 
  .bbs-gallery-view .view-navi td {
    height:60px;
  }

  .bbs-gallery-view .view-navi th {
    font-size:1.6rem;
  }

  .bbs-gallery-view .view-navi th::after {
    width:7px;
    height:5px;
    background-size:7px auto;
    margin-left:6px;
  }

  .bbs-gallery-view .view-navi td {
    font-size:1.6rem;
    padding:0px 24px;
  }

  .bbs-gallery-view .view-btns {
    margin-top:36px;
  }
  
  .bbs-gallery-view .view-btns .button {
    max-width:140px;
    height:48px;
    font-size:1.6rem;
  } 
}
@media screen and (max-width:992px) {
  .bbs-gallery-view .view-table-title {
    padding:24px 12px;
  }

  .bbs-gallery-view .title-subject {
    margin:8px 0px 18px;
  }

  .bbs-gallery-view .view-navi td {
    padding:0px 18px;
  }

  .bbs-gallery-view .view-btns {
    margin-top:30px;
  }
  
  .bbs-gallery-view .view-btns .button {
    max-width:100px;
  }
  
}
@media screen and (max-width:768px) {
  .bbs-gallery-view .view-table-title {
    padding:18px 8px;
  }

  .bbs-gallery-view .title-category {
    font-size:1.5rem;
  }
  
  .bbs-gallery-view .title-subject {
    font-size:2.4rem;
    margin:8px 0px 12px;
  }
  
  .bbs-gallery-view .title-data {
    font-size:1.5rem;
  } 

  .bbs-gallery-view .view-table-context {
    height:380px;
    padding:24px 0px;
  }

  .bbs-gallery-view .view-navi th, 
  .bbs-gallery-view .view-navi td {
    height:48px;
  }

  .bbs-gallery-view .view-navi th {
    width:80px;
    font-size:1.5rem;
  }

  .bbs-gallery-view .view-navi td {
    width:calc(100% - 80px);
    font-size:1.5rem;
    padding:0px 12px;
  }

  .bbs-gallery-view .view-btns {
    margin-top:24px;
  }
  
  .bbs-gallery-view .view-btns .button {
    height:38px;
    font-size:1.5rem;
  } 
}
@media screen and (max-width:576px) {
  .bbs-gallery-view .view-table-title {
    padding:12px 8px;
  }

  .bbs-gallery-view .title-category {
    font-size:1.4rem;
  }
  
  .bbs-gallery-view .title-subject {
    font-size:2rem;
    margin:4px 0px 8px;
  }
  
  .bbs-gallery-view .title-data {
    font-size:1.4rem;
  } 

  .bbs-gallery-view .view-table-context {
    height:320px;
    padding:18px 0px;
  }

  .bbs-gallery-view .view-navi th, 
  .bbs-gallery-view .view-navi td {
    height:40px;
  }

  .bbs-gallery-view .view-navi th {
    font-size:1.4rem;
  }

  .bbs-gallery-view .view-navi td {
    font-size:1.4rem;
    padding:0px 8px;
  }
  
  .bbs-gallery-view .view-btns .button {
    max-width:80px;
    font-size:1.4rem;
  }
}
