.page--gallery {
  background: linear-gradient(to bottom, #FFE19B, #FFF3D1);
}
.page--gallery::before {
  content: none;
}
.page--gallery .header {
  background-color: #FFE29C;
  border-bottom: 1px solid rgba(0, 0, 0, 0.6);
  color: #000;
}
.page--gallery .header .header-logo svg {
  fill: #000;
}
.page--gallery .header .fc-menu {
  border-color: rgba(0, 0, 0, 0.6);
}
.page--gallery .header .fc-menu .fc-border > span {
  background-color: #000;
}
.page--gallery .header .block--languages {
  border-color: rgba(0, 0, 0, 0.6);
}
.page--gallery .header .block--languages #langBer .langIcon {
  fill: #000;
}
.page--gallery .header .block--languages #langBer .nav-current {
  color: #000;
}
.page--gallery .header .block--languages #langBer::after {
  border-right: 1px solid #000;
  border-bottom: 1px solid #000;
}
.page--gallery .header .block--languages .nav--dropdown {
  background-color: #FFE29C;
}
.page--gallery .header .block--languages .nav--dropdown .list--languages li {
  color: #000;
}
.page--gallery .section--list .inner,
.page--gallery .section--detail .inner {
  flex-direction: column;
}
.page--gallery .section--list .block--title,
.page--gallery .section--detail .block--title {
  width: 100%;
  padding-bottom: 0;
  min-height: auto;
  border: none;
  color: #000;
}
.page--gallery .section--list .list-wrap,
.page--gallery .section--detail .list-wrap {
  overflow-x: scroll;
  overflow-y: hidden;
  scrollbar-width: none;
}
.page--gallery .section--list .block--list,
.page--gallery .section--detail .block--list {
  width: 100%;
  background-color: transparent;
}
.page--gallery .section--list .block--pager,
.page--gallery .section--list .block--back,
.page--gallery .section--detail .block--pager,
.page--gallery .section--detail .block--back {
  justify-content: center;
  color: #000;
  border: none;
}
.page--gallery .section--list .list--contents,
.page--gallery .section--detail .list--contents {
  width: -webkit-max-content;
  width: -moz-max-content;
  width: max-content;
  display: flex;
  flex-flow: column wrap;
  gap: 20px;
}
.page--gallery .section--list .list--contents li .thumb,
.page--gallery .section--detail .list--contents li .thumb {
  margin-bottom: 0;
}
.page--gallery .section--list .section-tit {
  margin-bottom: 0;
}
.page--gallery .section--list .block--list .list--contents li {
  width: auto;
  -moz-column-break-inside: avoid;
       break-inside: avoid;
}
.page--gallery .section--list .block--list .list--contents li .thumb {
  margin-bottom: 10px;
  padding: 15px;
  width: 100%;
  height: auto;
  overflow: hidden;
  border-top: 10px solid #A58760;
  border-left: 10px solid #A58760;
  border-bottom: 10px solid #765538;
  border-right: 10px solid #765538;
  background-color: #fff;
  box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.5);
  filter: drop-shadow(0 0 2px rgba(0, 0, 0, 0.3));
}
.page--gallery .section--list .block--list .list--contents li .list__txt {
  margin: auto;
  padding: 10px;
  width: 88%;
  background-color: #fff;
  filter: drop-shadow(1px 1px 2px rgba(0, 0, 0, 0.3));
}
.page--gallery .section--list .block--list .list--contents li .list__txt .date {
  font-size: 12px;
  color: #999;
}
.page--gallery .section--list .block--list .list--contents li .list__txt .tit {
  width: calc(100% - 20px);
  margin-top: 8px;
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 13px;
  font-weight: 600;
  color: #000;
}
.page--gallery .section--list .block--list .list--contents li a:hover .tit {
  background-size: 0;
}
@media screen and (min-width: 961px) {
  .page--gallery .header .g-nav ul {
    color: #000;
  }
  .page--gallery .header .g-nav ul li a:hover {
    color: #000;
  }
  .page--gallery .header .g-nav ul li.dropmenu .sub {
    background-color: #FFE29C;
  }
  .page--gallery .header .g-nav ul li.dropmenu > a:hover {
    color: #000;
  }
  .page--gallery .section--list .inner,
  .page--gallery .section--detail .inner {
    min-height: calc(100vh - 130px);
  }
  .page--gallery .section--list .block--list,
  .page--gallery .section--detail .block--list {
    margin-top: -80px;
    padding-top: 80px;
  }
  .page--gallery .section--list .list-wrap,
  .page--gallery .section--detail .list-wrap {
    overflow-x: hidden;
  }
  .page--gallery .section--list .list--contents,
  .page--gallery .section--detail .list--contents {
    padding: 3.4vw 0 20px 3.4vw;
    max-height: calc(100vh - 150px);
  }
  .page--gallery .section--list .block--list .list--contents li {
    width: 16vw;
  }
  .page--gallery .section--list .block--list .list--contents li:last-of-type {
    padding-right: 3.4vw;
    width: 19.4vw;
  }
  .page--gallery .section--list .block--list .list--contents li .thumb img {
    width: auto;
    max-width: 100%;
    height: auto;
    max-height: 50vh;
    display: block;
    margin: auto;
  }
  .page--gallery .section--list .block--pager {
    padding: 30px 0 40px;
  }
  .page--gallery .section--detail .list--contents li {
    width: max(18vw, 260px);
    aspect-ratio: 1/1;
  }
  .page--gallery .section--detail .list--contents li:last-of-type {
    padding-right: 3.4vw;
    width: max(21.4vw, 260px + 3.4vw);
    height: max(18vw, 260px);
    aspect-ratio: unset;
  }
  .page--gallery .section--detail .block--back {
    padding: 20px 0 30px;
  }
}
@media screen and (max-width: 960px) {
  .page--gallery .header {
    border-top: 1px solid rgba(0, 0, 0, 0.6);
  }
  .page--gallery .header .block-btn {
    border-left: 1px solid rgba(0, 0, 0, 0.6);
  }
  .page--gallery .header .drawer__btn span {
    background-color: #000;
  }
  .page--gallery.drawer__visible .drawer__btn span {
    background-color: #fff;
  }
  .page--gallery .section--list .block--list .list-wrap,
  .page--gallery .section--detail .block--list .list-wrap {
    display: flex;
  }
  .page--gallery .section--list .block--list .list--contents,
  .page--gallery .section--detail .block--list .list--contents {
    padding: 30px 5.1vw 20px;
  }
  .page--gallery .section--list .block--list .list--contents {
    max-height: calc(100vh - 60px);
  }
  .page--gallery .section--list .block--list .list--contents li {
    max-width: 53.8vw;
  }
  .page--gallery .section--list .block--list .list--contents li:last-of-type {
    padding-right: 5.1vw;
    max-width: 58.9vw;
  }
  .page--gallery .section--list .block--pager {
    padding: 20px 0 30px;
  }
  .page--gallery .section--detail .list--contents {
    max-height: min(112.8vw + 70px, 570px);
  }
  .page--gallery .section--detail .list--contents li {
    width: min(56.4vw, 250px);
    aspect-ratio: 1/1;
  }
  .page--gallery .section--detail .list--contents li:last-of-type {
    padding-right: 5.1vw;
    width: min(61.5vw, 250px + 5.1vw);
    height: min(56.4vw, 250px);
  }
  .page--gallery .section--detail .block--back {
    padding: 20px 0 30px;
  }
}