/*====================
フォトアルバムスタイル
 ====================*/

#photoAlbumArea {
  width: auto;
  margin-right: auto;
  margin-left: auto;
  text-align: left;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

.photoalbum_detail #photoAlbumArea {
  display: initial;
}
#photoArea {
  margin-top: -200px;
  padding-top: 200px;
}
#photoAlbumArea .photoAlbumList {
  margin-bottom: 20px;
}
#photoAlbumArea .photoAlbumList:not(:nth-child(4n)) {
  margin-right: 20px;
}
@media screen and (max-width: 800px) {
  #photoAlbumArea {
    width: 100%;
    margin: 0 auto;
    text-align: center;
    float: none;
    justify-content: center;
    margin-top: -50px;
    padding-top: 50px;
  }
  #photoAlbumArea .photoAlbumList {
    margin-right: 0;
  }
}
/*==== 共通カテゴリー・メニュー ====*/

#photoAlbum-menu {
  width: 170px;
  float: left;
  text-align: left;
}
#photoAlbum-menu .photoAlbum-menu-title {
  border-width: 1px 0;
  border-style: solid;
  border-color: #ccc;
  padding: 15px 0;
  margin: 0 0 30px 0;
  font-size: 120%;
}
#photoAlbum-menu .photoAlbum-menu-list li {
  border-width: 0 0 1px 0;
  border-style: dotted;
  border-color: #ccc;
  padding: 0 0 10px 0;
  margin: 0 0 10px 0;
}
@media screen and (max-width: 800px) {
  #photoAlbum-menu {
    width: 100%;
    float: none;
    text-align: center;
  }
  #photoAlbum-menu .photoAlbum-menu-title {
    border-width: 1px 0;
    border-style: solid;
    border-color: #ccc;
    padding: 15px 0;
    margin: 0 0 30px 0;
    text-align: center;
    font-size: 120%;
  }
  #photoAlbum-menu .photoAlbum-menu-list li {
    border-width: 0 0 1px 0;
    border-style: dotted;
    border-color: #ccc;
    padding: 0 0 10px 0;
    margin: 0 0 10px 0;
  }
}
/*==== フォトアルバム一覧ページ ====*/

#photoAlbumArea div#pageArea {
  width: 100%;
}

#photoAlbumArea .photoAlbumList {
  width: 240px;
  display: inline-block;
  line-height: 100%;
  xtext-align: center;
  xpadding: 10px;
  xmargin: 0 10px 15px 10px;
}
#photoAlbumArea .albumPhoto {
  overflow: hidden;
  background-color: #f9f9f9;
  xwidth: 320px;
  xheight: 240px;
}
#photoAlbumArea .albumPhoto a {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 180px;
  width: 100%;
}
#photoAlbumArea .albumPhoto img {
  max-height: 100%;
  max-width: 100%;
  xvertical-align: bottom;
  overflow: hidden;
}
.albumTitle {
  xfont-size: 110%;
}
.albumCategory a:link {
  color: #fff;
}
.albumCategory a:visited {
  color: #fff;
}
.albumCategory li {
  width: 120px;
  font-size: 90%;
  color: #fff;
  padding: 5px;
  margin: 1em auto;
  -moz-border-radius: 10px;
  -webkit-border-radius: 10px;
  border-radius: 10px; /*IE 7 AND 8 DO NOT SUPPORT BORDER RADIUS*/
}

p.albumPhoto {
  margin-bottom: 0.7rem;
}

p.albumTitle {
  text-align: center;
  xfont-weight: bold;
  line-height: 1.6em;
}

#pageArea .link_next,
#pageArea .link_before {
  color: initial;
}

@media screen and (max-width: 800px) {
  #photoAlbumArea .photoAlbumList {
    width: 100%;
    display: block;
    xtext-align: center;
    xpadding: 10px;
    xmargin: 0 0 15px 0;
    margin-bottom: 2rem;
  }
  #photoAlbumArea .albumPhoto {
    width: 100%;
  }
  #photoAlbumArea .albumPhoto a {
    width: 100%;
  }
}

/*==== フォトアルバム 詳細ページ ====*/

#photoAlbumWrap {
  width: 100%;
  text-align: center;
}
.photoAlbum-control {
  xbackground-color: #eee;
  padding: 15px 0;
}
div#photoAlbumArea div.btn {
  position: relative;
  overflow: hidden;
  max-width: 700px;
  width: 100%;
  margin: 0 auto;
  margin-bottom: 1rem;
}
.photoAlbum-control section {
  xposition: relative;
  xleft: 50%;
  xfloat: left;
}
.photoAlbum-control p {
  xdisplay: inline-block;
  margin: 0 auto;
  text-align: center;
}
.photoAlbum-control section p {
  position: relative;
  xleft: -50%;
  xfloat: left;
}
div#photoAlbumArea div.btn p a {
  color: var(--black);
  height: initial;
  text-decoration: none;
  vertical-align: middle;
  float: left;
  width: 200px;
  background-color: #fff;
  border: 1px solid #989898;
  xmargin-right: 20px;
  border-radius: 5px;
  -webkit-border-radius: 5px;
  -moz-border-radius: 5px;
  padding: 0;
  line-height: 31px;
  font-weight: bold;
  letter-spacing: 0.2rem;
  -webkit-appearance: none !important;
  font-family: "游明朝体", "Yu Mincho", YuMincho, "ヒラギノ明朝 Pro W3", "Hiragino Mincho Pro", "HiraMinProN-W3", "HGS明朝E", "ＭＳ Ｐ明朝", "MS PMincho", serif;
  width: 94%;
  margin-right: 4%;
  margin-left: 4%;
}
div#photoAlbumArea div.btn p.buttonNext a {
  margin-right: 0;
}
div#photoAlbumArea div.btn p a.back {
  float: none;
}
.fa-chevron-circle-right:before {
  display: none;
}
.fa-chevron-circle-right:after {
  content: "\f138";
}
.photoAlbumArea {
}
#mainPhoto {
  xwidth: 750px;
  xheight: 440px;
  max-height: 480px;
  overflow: hidden;
  xbackground-color: #f9f9f9;
  margin: 1em auto;
  xbackground: #fff;
}
#mainPhoto img {
  max-width: 650px;
  max-height: 480px;
  object-fit: contain;
  vertical-align: bottom;
}
.photoText {
  xwidth: 650px;
  margin: 0 auto 1em;
  text-align: left;
  line-height: 1.6em;
  font-size: 14px;
}
#photoAreaThumb {
  margin-bottom: 1em;
  text-align: center;
  width: 100%;
}
ul.photoAreaThumb-list {
  flex-wrap: wrap;
  display: flex;
}
.photoAreaThumb-list li {
  width: 188px;
  height: 124px;
  display: inline-block;
  margin-right: 20px;
  margin-bottom: 20px;
  vertical-align: top;
}
.photoAreaThumb-list li:nth-child(5n) {
  margin-right: 0;
}
.photoAreaThumb-list li img {
  width: 188px;
  height: 124px;
  overflow: hidden;
  object-fit: contain;
  background: #fff;
}
p.photoTitle {
  font-size: 1.2em;
  font-weight: 700;
  text-align: left;
  xwidth: 650px;
  margin: 0 auto 0.5rem;
  line-height: 1.6em;
  text-align: center;
}

.new_member .pages_w_inner div#photoAlbumArea article {
  padding: 0px;
  width: 100%;
}
.new_member .pages_w_inner div#photoAlbumArea article:first-child {
  border-bottom: none;
}
a.fa:before,
a.fa:after {
  font-family: "Font Awesome 5 Free";
}
.new_member .pages_w_inner div#photoAlbumArea article ul {
  padding-top: 0;
  text-align: center;
}
.new_member .pages_w_inner article ul > li {
  padding-bottom: 0;
}
.new_member .pages_w_inner article ul > li a {
  min-width: 100%;
  min-height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}
.new_member .pages_w_inner article ul > li a:hover {
  opacity: 0.8;
}
.photoAlbum-control.controlButtonWrap.clearfix.btn > section {
  display: flex;
  justify-content: center;
  padding: 0;
}
.photoAlbum-control.controlButtonWrap.clearfix.btn > section p {
  width: 33%;
}

.detail_albumTitle {
  border-bottom: 1px solid #ddd;
  padding-bottom: 1rem;
  margin-bottom: 1rem;
}
.detail_albumTitle h3 {
  line-height: 1.2em;
}
.detail_albumTitle h3:after {
  height: 0;
  display: none;
}
.detail_albumTitle p.date {
  font-size: 1.2em;
  margin-bottom: 0.5rem;
}

@media screen and (max-width: 800px) {
  #mainPhoto {
    width: 100%;
  }
  .photoText {
    width: 100%;
  }
  #mainPhoto img {
    width: auto;
    max-height: 250px;
  }
  div#photoAlbumArea div.btn p a {
    xwidth: 140px;
  }
  div#photoAlbumArea div.btn p a:nth-child(2) {
    margin-right: 0;
  }
  .photoAreaThumb-list li {
    width: calc(20% - 10px);
    height: auto;
    margin: 0;
    margin-right: 10px;
    margin-bottom: 10px;
  }
  .photoAreaThumb-list li img {
    max-height: 60px;
    object-fit: contain;
  }

  .photoAlbum-control.controlButtonWrap.clearfix.btn > section {
    flex-wrap: wrap;
  }
  .photoAlbum-control.controlButtonWrap.clearfix.btn > section p {
    margin-bottom: 0.7rem;
  }
  .photoAlbum-control.controlButtonWrap.clearfix.btn > section p {
    width: 50%;
  }
  p.photoTitle {
    width: 100%;
  }
}

/*-- ページ分割ナビエリア --*/

#pageArea {
  font-size: 100%;
  color: #888;

  margin: 50px auto 0;
  padding: 20px 0 0;

  width: 750px;
  text-align: center;
  xbackground-color: #e6e6e6;
  border-color: #ccc;
  border-style: solid;
  border-width: 1px 0 0 0;
}
#pageArea .pager_index {
  font-size: 90%;
  border-color: #ccc;
  border-style: solid;
  border-width: 1px;
  display: inline-block;
  margin: 5px 10px;
  padding: 10px;
  position: relative;
}
#pageArea p {
  font-size: 90%;
  margin: 0 !important;
}
@media screen and (max-width: 800px) {
  #pageArea {
    width: 100%;
  }
}

@media screen and (max-width: 1080px) {
}
@media screen and (max-width: 480px) {
  /* 480px以下に適用されるCSS（スマホ用） */
  .neezvilla .tab-content #photoAlbumArea .photoAlbumList {
    margin-right: 0;
    margin-bottom: 0;
  }
  .neezvilla .tab-content .slick-slide {
    padding: 0;
  }
  .neezvilla .tab-content .slick-prev {
    left: -10px;
    z-index: 1;
    padding-top: 10px;
  }
  .neezvilla .tab-content .slick-next {
    right: -10px;
    z-index: 1;
    padding-top: 10px;
  }
}
