﻿@charset "utf-8";
/*==========================================================================
# photolist-cmn.css
写真配置CSS

## Filepath
/detail/css-cmn/

## History
2018/10/31 新規作成
2018/04/11 figcaption修正

==========================================================================*/
.photo_list {
  display: flex;
  flex-wrap: wrap;
  margin-bottom: 10px;
}
.photo_list li {
  margin-bottom: 7px;
  margin-left: 5px;
  margin-right: 5px;
  width: calc((100% - 40px) / 4.01);
}
.photo_list li a {
  position: relative;
}
.photo_list figcaption {
  font-size: 1.4rem;
  padding: 6px 8px;
  text-align: center;  
}
.photo_list figcaption.person_name {
  font-size: 12px;
}
.photo_list_img img {
  width: 100%;
}
.group_photo_box {
  border: 2px solid #64af86;
  margin-bottom: 30px;
  width: 100%;
}
.group_photo_box_ttl {
  align-items: center;
  background: #64af86;
  color: #fff;
  display: flex;
  font-size: 2rem;
  justify-content: center;
  line-height: 1.2;
  padding: 10px 20px;
  width: 350px;
}
.group_photo_box_ttl > span {
  display: table;
}
.group_photo_box_ttl > span >span  {
  display: inline-block;
}
.group_photo_box_list {
  align-items: center;
  padding-left: 10px;
  padding-right: 10px;
  width: 646px;
}
.group_photo_box_list li {
  margin: 10px 5px;
  width: 303px;
}
.group_photo_box_list .btn_com {
  padding: 10px;
}
.group_photo_box_list .btn_com::before {
  content: "";
  display: block;
}
.group_photo_box_list_all .btn_com::before {
  background: url(/static/image-cmn/ico-search-btn07.png) -68px 0 / 170px 27px no-repeat;
  height: 28px;
  margin-right: 10px;
  width: 34px;
}
.group_photo_box_list_album .btn_com::before {
  background: url(/static/detail/image/ico-collection.svg) center center / contain no-repeat;
  margin: 3px 10px 3px 0;
  height: 22px;
  width: 27px;
}
.group_photo_box_list_all span {
  font-size: 1.4rem;
}
.figcap_fac {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.photo_list_zoom .photo_list_img {
  display: block;
  position: relative;
}
.photo_list_zoom .photo_list_img::after {
  content: "";
  background: url(/static/image-cmn/ico-search.jpg) 0 0 / 16px 16px no-repeat;
  bottom: 1px;
  height: 16px;
  position: absolute;
  right: 1px;
  width: 16px;  
}

@media screen and (min-width:768px), print {
  .photo_list {
    margin-left: 10px;
    margin-right: 10px;
  }
  .photo_list.photo_official li {
    margin-right: 6px;
    width: calc((100% - 20px) / 4);
  }
  .photo_list.photo_official:not(.col5) li:nth-of-type(4n) {
    margin-right: 0;
  }
  .photo_list.col5 li {
    margin-left: 0px;
    margin-right: 6px;
    width: calc((100% - 24px) / 5);
  }
  .photo_list.col1 li {
    margin-left: 0px;
    margin-right: 6px;
    width: 100%;
  }
  .photo_list.col2 li {
    margin-left: 0px;
    margin-right: 6px;
    width: calc((100% - 8px) / 2);
  }
  .photo_list.col3 li {
    margin-left: 0px;
    margin-right: 6px;
    width: calc((100% - 14px) / 3);
  }
  .photo_list.col4 li {
    margin-left: 0px;
    margin-right: 6px;
    width: calc((100% - 20px) / 4);
  }
  .photo_list.col2 li:nth-of-type(2n) {
    margin-right: 0;
  }
  .photo_list.col3 li:nth-of-type(3n) {
    margin-right: 0;
  }
  .photo_list.col4 li:nth-of-type(4n) {
    margin-right: 0;
  }
  .photo_list.col5 li:nth-of-type(5n) {
    margin-right: 0;
  }
  .photo_list_img img {
    height: 190px;
  }
  .col1 .photo_list_img img {
    height: 573px;
  }
  .col2 .photo_list_img img {
    height: 286px;
  }
  .group_photo_box_list .btn_com {
    font-size: 2rem;
  }
}
@media screen and (max-width:767px) {
  .photo_list {
    margin: auto;
    padding-left: 5px;
    padding-right: 5px;
    max-width: 500px;
  }
  .photo_list li {
    margin-left: 0px;
    margin-right: 5px;
    width: calc((100% - 5px) / 2);
  }
  .photo_list li:nth-of-type(2n) {
    margin-right: 0;
  }
  .photo_list_img {
    display: block;
    height: 0;
    padding-bottom: 100%;
    position: relative;
  }
  .photo_list_img img {
    left: 50%;
    position: absolute;
    top: 50%;
    -webkit-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
  }
  .group_photo_box {
    border: 2px solid #64af86;
    margin-bottom: 25px;
    width: 100%;
  }
  .group_photo_box_ttl {
    font-size: 1.8rem;
    width: 100%;
  }
  .group_photo_box_list {
    align-items: stretch;
    padding: 10px 5px;
    width: 100%;
  }
  .group_photo_box_list li {
    margin: 0 5px;
    width: calc(50% - 10px);
  }
  .group_photo_box_list .btn_com {
    flex-wrap: wrap;
    height: 100%;
    padding: 36px 6px 6px;
  }
  .group_photo_box_list .btn_com::before {
    left: 50%;
    position: absolute;
    top: 5px;
    -webkit-transform: translateX(-50%);
    transform: translateX(-50%);
  }
  .group_photo_box_list_all .btn_com::before {
    margin-right: 0;
  }
  .group_photo_box_list_album .btn_com::before {
    margin: 5px 0 1px 0;
  }
  .group_photo_box_list_all span {
    display: inline-block;
    font-size: 1.4rem;
  }
}

/* 列切り替えボタン */

.column_select {
  display: flex;
  gap: 10px;
  justify-content: center;
  margin: 10px auto 25px;
}
.column_select li a {
  align-items: center;
  background: #fff;
  border: 1px solid #0852ae;
  border-radius: 5px;
  box-shadow: 0px 1px 0 0 #0852ae;
  color: #0852ae;
  cursor: pointer;
  display: flex;
  font-size: 16px;
  font-weight: 600;
  height: 34px;
  padding: 2px 25px 0 42px;
  position: relative;
}
.column_select li a::before {
  background-repeat: no-repeat;
  background-position: center;
  background-size: auto 16px;
  bottom: 0;
  content: "";
  display: block;
  left: 20px;
  position: absolute;
  top: 0;
  width: 16px;
}
.column_select li.btn_active a {
  background: #4c89d7;
  border: 1px solid #0852ae;
  box-shadow: 0px 1px 0 0 #0852ae;
  color: #fff;
}

.column_select li.btn_select_1column a::before {
  background-image: url(/static/image-cmn/ico-1column_off.png);
}
.column_select li.btn_select_1column.btn_active a::before {
  background-image: url(/static/image-cmn/ico-1column_on.png);
}
.column_select li.btn_select_2column a::before {
  background-image: url(/static/image-cmn/ico-2column_off.png);
}
.column_select li.btn_select_2column.btn_active a::before {
  background-image: url(/static/image-cmn/ico-2column_on.png);
}
.column_select li.btn_select_3column a::before {
  background-image: url(/static/image-cmn/ico-3column_off.png);
}
.column_select li.btn_select_3column.btn_active a::before {
  background-image: url(/static/image-cmn/ico-3column_on.png);
}
.column_select li.btn_select_4column a::before {
  background-image: url(/static/image-cmn/ico-4column_off.png);
}
.column_select li.btn_select_4column.btn_active a::before {
  background-image: url(/static/image-cmn/ico-4column_on.png);
}
.column_select li.btn_select_5column a::before {
  background-image: url(/static/image-cmn/ico-4column_off.png);
}
.column_select li.btn_select_5column.btn_active a::before {
  background-image: url(/static/image-cmn/ico-4column_on.png);
}
.column_select li a:hover {
  opacity: 0.8;
}
.column_select li a::before:hover {
  opacity: 0.8;
}

/*施設詳細 写真投稿*/
.content_box .img_frame02 {
    border: 1px solid #ffb8cc
}

.detail_article section .movie_ttl::before {
    background: url(/static/image-cmn/ico-search-btn02.png) -102px 0 / 170px 27px no-repeat;
}

.detail_article section .photo_ttl::before {
    background: url(/static/image-cmn/ico-search-btn02.png) -68px 0 / 170px 27px no-repeat;
}

.detail_article section .photo_ttl {
    background: #fffcf0 url(/static/image-cmn/bg-title.png) right top no-repeat;
    border-bottom: 1px solid #ded588;
    border-left: 1px solid #ded588;
    border-right: 1px solid #ded588;
    border-top: 3px solid #64af86;
    font-size: 2rem;
    margin-bottom: 20px;
    padding: 14px 90px 13px 60px;
    position: relative;
}

.detail_article section .img_frame02 .a_alpha {
    overflow: hidden;
    border-bottom: 1px solid #ded588;
}

.detail_article section .pager01 .current {
    background: #64af86;
}

.detail_article section .pager01 .pager_prev_g,
.detail_article section .pager01 .pager_next_g {
    background: #fff !important;
    border: 1px solid #7a914d !important;
    color: #487608;
}

.detail_article section .pager01 .pager_prev_g::after,
.detail_article section .pager01 .pager_prev a::after,
.detail_article section .pager01 .pager_next_g::after,
.detail_article section .pager01 .pager_next a::after {
    background: url(/static/image-cmn/ico-arrow-green-right.svg) center center / contain no-repeat;
    content: "";
    height: 10px;
    position: absolute;
    top: 50%;
    -webkit-transform: translateY(-50%);
    transform: translateY(-50%);
    width: 6px;
}
.detail_article section .pager01 a {
    background: #f4fee1;
    border: 1px solid #7a914d;
    color: #487608;
}
.detail_article section .pager01 a:hover {
    background: #64af86;
    border-color: #64af86;
    color: #fff;
}