/*--------------- Pagination  ----------------*/
.pagination {
  display:flex;
  justify-content:center;
  margin-top:80px;
}

.pagination a {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  margin:0 4px;
  width:27px;
  height:27px;
  text-align:center;
  font-size:1.4rem;
  line-height:1;
  font-weight:400;
  background-repeat:no-repeat;
  background-position:center;
  color:#1e1e1e;
  background-color:#fff;
  -webkit-transition:all ease-out .15s;
  transition:all ease-out .15s;
  border-radius:50%;
}

.pagination a:not(.current) {
  cursor:pointer;
}

.pagination .current {
  color:#fff;
  font-weight:700;
  background-color: #000000;
}

.pagination_prev {
  background-image: url('/child/img/common/pg_prev.png');
}

.pagination_next {
  background-image: url('/child/img/common/pg_next.png');
}

@media (max-width:1200px) {

}
@media (max-width:1024px) {

  .pagination {
    margin-top:60px;
  }

}
@media (max-width:768px) {

  .pagination {
    margin-top:40px;
  }

  .pagination a {
    margin:0 3px;
    width:24px;
    height:24px;
    font-size:1.2rem;
  }

}
@media (max-width:500px) {

}


/*--------------- Basic List  ----------------*/
.board-list {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-lines: multiple;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  margin:-20px;
}

.board-list > li {
  flex:0 0 25%;
  padding:20px;
}

@media (max-width:1200px) {

}
@media (max-width:1024px) {

  .board-list {
    margin:-10px;
  }

  .board-list > li {
    padding:10px;
  }

}
@media (max-width:768px) {

  .board-list {
    margin:-6px;
  }

  .board-list > li {
    padding:6px;
  }

}
@media (max-width:500px) {

}


/*--------------- Gallery List  ----------------*/
.board-list--gallery > li {
  flex:0 0 33.33%;
  padding:20px;
}

.board-list--gallery .board_thumb {
  position: relative;
  width:100%;
  height:0;
  padding-top:calc(267/400*100%);
  border-radius:10px;
  overflow: hidden;
  background-color: #fff;
}

.board-list--gallery .board_thumb_img {
  position:absolute;
  top:50%;
  left:50%;
  -webkit-transform: translate(-50%,-50%) scale(1);
  transform: translate(-50%, -50%) scale(1);
  width:100%;
  height:100%;
  background-size:cover;
  background-repeat: no-repeat;
  background-position: center;
  -webkit-ransition: all .3s ease-out;
  transition: all .3s ease-out;
}

.board-list--gallery .board_text {
  padding:20px 0px 0px;
}

.board-list--gallery .board_t01 {
  font-size:2rem;
  font-weight:600;
  color:#000;
  text-overflow: ellipsis;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
}

.board-list--gallery .board_t02 {
  font-size:1.6rem;
  font-weight:300;
  color:#393939;
  margin-top:20px;
}


@media (min-width:1201px) {
  .board-list--gallery li:hover .board_thumb_img {
    -webkit-transform: translate(-50%, -50%) scale(1.05);
    transform: translate(-50%, -50%) scale(1.05);
  }
}
@media (max-width:1200px) {

  .board-list--gallery .board_t01 {
    font-size:1.8rem;
  }

  .board-list--gallery .board_t02 {
    font-size:1.4rem;
  }

}
@media (max-width:1024px) {

  .board-list--gallery > li {
    padding:10px;
  }

  .board-list--gallery .board_text {
    padding:10px 0px 0px;
  }

  .board-list--gallery .board_t02 {
    margin-top:10px;
  }

}
@media (max-width:768px) {

  .board-list--gallery > li {
    padding:6px;
  }

  .board-list--gallery .board_t01 {
    font-size:1.4rem;
  }

  .board-list--gallery .board_t02 {
    font-size:1.2rem;
    margin-top:10px;
  }

}
@media (max-width:500px) {

  .board-list--gallery > li {
    flex:0 0 50%;
  }

}


/*--------------- Service List  ----------------*/
.board-list--service {
  margin:-10px;
}

.board-list--service > li {
  padding:10px;
}

.board-list--service .board-box {
  height:100%;
  padding:20px;
  background-color: #fff;
  border-radius:10px;
  box-shadow: 0px 0px 6px 3px rgba(200,200,200,.2);
  position: relative;
}

.board-list--service .board_thumb {
  position: relative;
  width:100%;
  height:0;
  padding-top:calc(160/260*100%);
  border:1px solid #cccccc;
  border-radius:10px;
  overflow: hidden;
}

.board-list--service .board_thumb img {
  position: absolute;
  top:50%;
  left:50%;
  -webkit-transform: translate(-50%,-50%);
  transform: translate(-50%,-50%);
  padding:0px 20px;
}

.board-list--service .board_text {
  padding:20px 0px 0px;
  text-align: center;
}

.board-list--service .board_t01 {
  font-size:2rem;
  font-weight:700;
  color:#000;
}

.board-list--service .board_t01 span {
  font-size:1.8rem;
  font-weight:500;
  color:#646464;
}

.board-list--service .board_t02 {
  font-size:2rem;
  font-weight:400;
  margin:25px 0px;
}

.board-list--service .board_t02 span {
  font-weight:600;
}

.board-list--service .board_btn {
  position: relative;
  padding:20px;
  border-radius:10px;
  background-color: #f4f7f9;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
}

.board-list--service .board_btn span {
  font-size:1.8rem;
  display:inline-block;
}

.board-list--service .board_btn span.btn_arrow {
  font-size:0px;
  width:24px;
  height:24px;
  background:url('/child/img/common/btn_arrow.png') no-repeat center;
  cursor: pointer;
}

.board-list--service .board_btn i {
  font-style: normal;
  font-weight:700;
  text-decoration: underline;
  text-underline-position: under;
}

.board-list--service .btn_text {
  position:absolute;
  top:80px;
  left:0;
  padding:20px;
  text-align: left;
  border-radius:10px;
  background-color: #62778b;
  z-index:99;
  opacity:0;
  visibility: hidden;
  transition:all .3s ease;
}

.board-list--service .btn_text::before {
  content:"";
  display:block;
  position: absolute;
  top:-12px;
  right:25px;
  border-bottom:12px solid #62778b;
  border-right:8px solid transparent;
  border-left:8px solid transparent;
}

.board-list--service .btn_text p {
  font-size:1.4rem;
  line-height:1.4;
  color:#fff;
}

.board-list--service .btn_arrow.on  + .btn_text {
  opacity:1;
  visibility: visible;
}

@media (max-width:1200px) {

  .board-list--service > li {
    flex:0 0 33.33%;
  }

  .board-list--service .board_t01 {
    font-size:1.8rem;
  }

  .board-list--service .board_t02 {
    font-size:1.8rem;
  }

  .board-list--service .board_btn {
    padding:10px 15px;
  }

  .board-list--service .board_btn span {
    font-size:1.4rem;
  }

  .board-list--service .btn_text {
    top:50px;
  }

  .board-list--service .btn_text::before {
    right:17px;
  }

}
@media (max-width:1024px) {

  .board-list--service {
    margin:-6px;
  }

  .board-list--service > li {
    padding:6px;
  }

  .board-list--service .board-box {
    padding:10px;
  }

  .board-list--service .board_text {
    padding:10px 0px 0px;
  }

  .board-list--service .board_t02 {
    margin:15px 0px;
  }

  .board-list--service .board_btn {
    cursor:pointer;
  }

  .board-list--service .board_btn span.btn_arrow {
    width:18px;
    height:18px;
    background-size:auto 18px;
  }

}
@media (max-width:768px) {

  .board-list--service > li {
    flex:0 0 50%;
  }

  .board-list--service .board_t01 {
    font-size:1.4rem;
  }

  .board-list--service .board_t02 {
    font-size:1.4rem;
  }

  .board-list--service .board_btn span {
    font-size:1.2rem;
  }

}
@media (max-width:500px) {

  .board-list--service > li {
    flex:0 0 100%;
  }

  .board-list--service .btn_text p {
    font-size:1.2rem;
  }

}


/*--------------- Service Modal ----------------*/
.area_modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  display: grid;
  place-items: center;
  visibility: hidden;
  z-index: 9999999;
  padding:15px;
}

.area_modal_container {
  max-width: 680px;
  width: 100%;
  height:auto;
  max-height:100%;
  display: grid;
  place-items: center;
  margin:0 auto;
}

.area_modal_inner {
  width: 100%;
  padding: 28px;
  background-color: #62778b;
  border-radius: 5px;
}

.area_modal_inner .box_t01 {
  font-size:1.4rem;
  line-height:1.4;
  color:#fff;
}

.area_modal .modal_list {
  position: relative;
}

.area_modal .modal_list > li {
  display:none;
  position: absolute;
  top:0;
  left:0;
}

.area_modal .modal_list > li.on {
  display:block;
  height:auto;
  position: relative;
  animation: modals-on ease-in-out .5s forwards;
}

.area_modal.on {
  visibility: visible;
}

@keyframes modals-on {
  from { opacity: 0; }
  to { opacity: 1; }
}

@media (max-width:768px) {
  .area_modal_inner {
    padding: 20px;
  }

  .area_modal_inner .box_t01 {
    font-size:1.2rem;
  }
}


/*--------------- View  ----------------*/
.view_table {
  width:100%;
  table-layout: fixed;
  border-collapse: collapse;
  background-color: #fff;
}

.view_table tr {
  text-align: left;
}

.view_table tr.view_tit th {
  font-size: 2.8rem;
  font-weight: 600;
  padding: 20px 220px 20px 0px;
  position:relative;
}

.view_table tr.view_tit span {
  font-size:1.6rem;
  font-weight:400;
  color:#858585;
  position: absolute;
  top:50%;
  right:0px;
  -webkit-transform: translateY(-50%);
  transform: translateY(-50%);
}

.view_table tr.view_txt {
  border-top:2px solid #000;
  border-bottom:1px solid #7f7f7f;
}

.view_table tr.view_txt td {
  padding:60px 40px;
}

.view_table tr.view_txt p {
  font-size:2rem;
  font-weight:400;
}

.view_buttons {
  margin-top:60px;
  text-align: center;
}

.view_buttons .button {
  font-size:2rem;
  width:260px;
  height:56px;
}

@media (max-width:1200px) {

  .view_table tr.view_tit th {
    font-size: 2.4rem;
  }

  .view_table tr.view_tit span {
    font-size:1.4rem;
  }

  .view_table tr.view_txt p {
    font-size:1.8rem;
  }

  .view_buttons .button {
    font-size:1.8rem;
    width:200px;
    height:48px;
  }

}
@media (max-width:1024px) {

  .view_table tr.view_tit th {
    padding:12px 140px 12px 0px;
  }

  .view_table tr.view_txt td {
    padding:40px 28px;
  }

  .view_buttons {
    margin-top:40px;
  }

}
@media (max-width:768px) {

  .view_table tr.view_tit th {
    font-size: 2rem;
    padding:12px 0px;
  }

  .view_table tr.view_tit span {
    font-size:1.2rem;
    margin-top:10px;
    position: relative;
    display:block;
    top:unset;
    -webkit-ransform: none;
    transform: none;
  }

  .view_table tr.view_txt td {
    padding:28px 20px;
  }

  .view_table tr.view_txt p {
    font-size:1.4rem;
  }

  .view_buttons {
    margin-top:28px;
  }

  .view_buttons .button {
    font-size:1.4rem;
    width:160px;
    height:38px;
  }

}
@media (max-width:500px) {

  .view_table tr.view_txt td {
    padding:20px 10px;
  }

  .view_buttons {
    margin-top:20px;
  }

}
