@charset "UTF-8";
/*----------------------------------------------------
 Hero
----------------------------------------------------*/
#gallery .hero-visual {
  background: #EEFCDC;
}

.hero-visual {
  position: relative;
  height: 256px;
}
@media screen and (max-width: 767px) {
  .hero-visual {
    height: 64vw;
  }
}
.hero-visual .title-wrap {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 620px;
  text-align: center;
}
@media screen and (max-width: 767px) {
  .hero-visual .title-wrap {
    width: 76.8vw;
  }
}
.hero-visual .title-wrap h1 {
  font-size: 3.2rem;
  line-height: 1.4;
}
@media screen and (max-width: 767px) {
  .hero-visual .title-wrap h1 {
    font-size: 6.9333333333vw;
  }
}
.hero-visual .title-wrap p {
  margin-top: 24px;
  font-size: 1.4rem;
  font-weight: 700;
  line-height: 2;
}
@media screen and (max-width: 767px) {
  .hero-visual .title-wrap p {
    margin-top: 6.4vw;
    font-size: 3.2vw;
    line-height: 1.4;
  }
}

/*----------------------------------------------------
 Gallery
----------------------------------------------------*/
.gallery-top {
  padding: 50px 0;
}
@media screen and (max-width: 767px) {
  .gallery-top {
    padding: 10.6666666667vw 5.3333333333vw;
  }
}
.gallery-top .inner {
  max-width: 1280px;
  margin: 0 auto;
}
@media screen and (max-width: 767px) {
  .gallery-top .inner {
    width: 89.3333333333vw;
  }
}

/*----------------------------------------------------
 Search
----------------------------------------------------*/
.gallery-search {
  max-width: 720px;
  margin: 0 auto;
}

.search-row {
  display: flex;
  align-items: flex-start;
  padding: 12px 0;
  border-bottom: solid 1px #eaeaea;
}
@media screen and (max-width: 767px) {
  .search-row {
    display: block;
    padding: 3.2vw 0;
  }
  .search-row:first-child {
    padding-top: 0;
  }
}

.search-title {
  width: 80px;
  flex-shrink: 0;
  font-size: 1.4rem;
  font-weight: 700;
  line-height: 1.5;
}
@media screen and (max-width: 767px) {
  .search-title {
    width: 100%;
    margin-bottom: 2.1333333333vw;
    font-size: 3.7333333333vw;
  }
}

.search-check {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 4px 20px;
  margin: 0;
  padding: 0;
  list-style: none;
  width: 484px;
}
@media screen and (max-width: 767px) {
  .search-check {
    width: 100%;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.0666666667vw 4.2666666667vw;
  }
}
.search-check.cate {
  width: 632px;
  grid-template-columns: repeat(5, auto);
}
@media screen and (max-width: 767px) {
  .search-check.cate {
    width: 100%;
    grid-template-columns: repeat(2, 1fr);
  }
}
@media screen and (max-width: 767px) {
  .search-check.season {
    grid-template-columns: repeat(4, 1fr);
  }
}

.search-check li {
  width: 100%;
  margin: 0;
  padding: 0;
  list-style: none;
}
@media screen and (max-width: 767px) {
  .search-check li {
    width: 100%;
  }
}
.search-check li {
  /*  &.year:first-child {
      width: 100%;
      @include mq-down() {
        width: 101px;
      }
    } */
}
.search-check li.season {
  width: 100%;
}
@media screen and (max-width: 767px) {
  .search-check li.season {
    width: 100%;
  }
}
.search-check li.cate {
  width: auto;
}

/*----------------------------------------------------
 Checkbox
----------------------------------------------------*/
.check {
  display: inline-flex;
  align-items: center;
  cursor: pointer;
  -webkit-user-select: none;
          user-select: none;
  font-size: 1.4rem;
  line-height: 1.4;
}
.check input {
  display: none;
}
.check span {
  position: relative;
  width: 14px;
  height: 14px;
  margin-right: 8px;
  border-radius: 3px;
  border: solid 1px #cfcfcf;
  background: #eaeaea;
  flex-shrink: 0;
  transition: 0.2s;
}
.check input:checked + span {
  background: #82b73f;
  border-color: #82b73f;
}
.check input:checked + span::after {
  content: "";
  position: absolute;
  left: 4px;
  top: 1px;
  width: 3px;
  height: 6px;
  border-right: solid 2px #fff;
  border-bottom: solid 2px #fff;
  transform: rotate(45deg);
}

/*----------------------------------------------------
 Keyword
----------------------------------------------------*/
.search-row.keyword {
  align-items: center;
}

.search-keyword {
  flex: 1;
}
.search-keyword input {
  width: 100%;
  height: 42px;
  padding: 0 18px;
  border-radius: 6px;
  border: solid 1px #ccc;
  font-size: 1.3rem;
  transition: 0.25s;
  box-sizing: border-box;
}
.search-keyword input:focus {
  outline: none;
  border-color: #82b73f;
}

/*----------------------------------------------------
 Buttons
----------------------------------------------------*/
.search-footer {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 20px;
  margin-top: 18px;
}
@media screen and (max-width: 767px) {
  .search-footer {
    justify-content: center;
    flex-wrap: wrap;
  }
}

.search-btn {
  width: 160px;
  height: 42px;
  border-radius: 999px;
  border: solid 1px #82b73f;
  background: #fff;
  color: #82b73f;
  font-size: 1.4rem;
  font-weight: 700;
  cursor: pointer;
  transition: 0.3s;
}
.search-btn:hover {
  background: #82b73f;
  color: #fff;
  transition: 0.3s;
}

.reset-btn {
  background: none;
  border: none;
  color: #707579;
  font-size: 1.4rem;
  text-decoration: underline;
  cursor: pointer;
  transition: 0.3s;
}
.reset-btn:hover {
  opacity: 0.6;
  transition: 0.3s;
}

/*----------------------------------------------------
 Result
----------------------------------------------------*/
.gallery-info {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 50px 0 30px;
}
@media screen and (max-width: 767px) {
  .gallery-info {
    display: block;
    margin: 10.6666666667vw 0 5.3333333333vw;
  }
}

.gallery-count {
  font-size: 1.6rem;
  font-weight: 700;
  color: #333;
}
.gallery-count span {
  color: #82b73f;
  font-size: 2.2rem;
  font-weight: 700;
  margin: 0 0.2em;
}
@media screen and (max-width: 767px) {
  .gallery-count {
    font-size: 3.7333333333vw;
  }
  .gallery-count span {
    font-size: 5.3333333333vw;
  }
}

/*----------------------------------------------------
 Gallery List
----------------------------------------------------*/
.gallery-list {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 24px 20px;
  margin: 0;
  padding: 0;
  list-style: none;
}
@media screen and (max-width: 767px) {
  .gallery-list {
    grid-template-columns: repeat(2, 1fr);
    gap: 6.4vw 5.3333333333vw;
  }
}

.gallery-item {
  list-style: none;
}
.gallery-item a {
  display: block;
  color: inherit;
  text-decoration: none;
}
@media screen and (min-width: 768px) {
  .gallery-item a:hover {
    opacity: 0.6;
    transition: 0.3s;
  }
}
.gallery-item figure {
  margin: 0;
  aspect-ratio: 4/3;
  overflow: hidden;
  border-radius: 8px;
  background: #f5f5f5;
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: 0.3s;
}

.gallery-item__tags {
  margin-top: 14px;
  font-size: 1.5rem;
  line-height: 1.7;
  color: #333;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
@media screen and (max-width: 767px) {
  .gallery-item__tags {
    margin-top: 3.2vw;
    font-size: 3.7333333333vw;
  }
}

/*----------------------------------------------------
 Empty
----------------------------------------------------*/
.gallery-empty {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 240px;
  grid-column: 1/-1;
  color: #777;
  font-size: 1.6rem;
  text-align: center;
}

/*----------------------------------------------------
 Loading
----------------------------------------------------*/
.loading {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 60px 0;
  font-size: 1.6rem;
  color: #666;
}

/*----------------------------------------------------
 Pagination
----------------------------------------------------*/
.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin-top: 60px;
  flex-wrap: wrap;
}
@media screen and (max-width: 767px) {
  .pagination {
    margin-top: 10.6666666667vw;
  }
}

.pagination button {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 0;
  background: transparent;
  font-size: 1.5rem;
  color: #323232;
  cursor: pointer;
  transition: 0.3s;
}
.pagination button:hover:not(:disabled) {
  opacity: 0.6;
  transition: 0.3s;
}
.pagination button.current {
  border-color: #82b73f;
  background: #82b73f;
  color: #fff;
}
.pagination button.current:hover {
  cursor: default;
  opacity: 1;
}
.pagination button.arrow {
  border-radius: 50%;
  border: 1px solid #82b73f;
  color: #82b73f;
  background: #fff;
  font-size: 1.8rem;
  font-weight: 700;
  transition: 0.3s;
}
.pagination button.arrow:hover {
  color: #FFF;
  background: #82b73f;
  transition: 0.3s;
  opacity: 1;
}

.pagination span {
  width: 30px;
  height: 38px;
  text-align: center;
  color: #323232;
  cursor: default;
}

@media screen and (max-width: 767px) {
  .gallery-list {
    grid-template-columns: repeat(2, 1fr);
  }
  .gallery-item__tags {
    font-size: 3.7333333333vw;
    line-height: 1.6;
  }
  .pagination button {
    width: 8.5333333333vw;
    height: 8.5333333333vw;
    font-size: 3.7333333333vw;
  }
  .pagination button.arrow {
    font-size: 4.2666666667vw;
    font-weight: 700;
  }
  .pagination span {
    width: 8vw;
  }
}
/*----------------------------------------------------
 Guideline
----------------------------------------------------*/
.gallery-guideline {
  max-width: 1280px;
  margin: 100px auto 0;
  padding-top: 30px;
  border-top: 1px solid #C4C7C9;
}
@media screen and (max-width: 767px) {
  .gallery-guideline {
    margin-top: 21.3333333333vw;
    padding-top: 5.3333333333vw;
  }
}

.gallery-guideline__title {
  font-size: 1.6rem;
  font-weight: 700;
  line-height: 1.6;
  color: #323232;
}
@media screen and (max-width: 767px) {
  .gallery-guideline__title {
    font-size: 4.2666666667vw;
  }
}

.gallery-guideline__text {
  margin-top: 16px;
  font-size: 1.4rem;
  line-height: 1.6;
  color: #323232;
}
@media screen and (max-width: 767px) {
  .gallery-guideline__text {
    font-size: 3.7333333333vw;
  }
}

.gallery-guideline__link {
  margin-top: 16px;
}
@media screen and (max-width: 767px) {
  .gallery-guideline__link {
    margin-top: 4.2666666667vw;
  }
}

.gallery-guideline__link a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #323232;
  text-decoration: underline;
  transition: 0.25s;
}
.gallery-guideline__link a:hover {
  opacity: 0.7;
  text-decoration: none;
  transition: 0.25s;
}
.gallery-guideline__link a::after {
  content: "";
  width: 22px;
  height: 14px;
  background: url("/wp/wp-content/themes/tmo/assets/images/common/icon_pdf.png") center/contain no-repeat;
}

/*----------------------------------------------------
 Modal /SPは別途
----------------------------------------------------*/
.gallery-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: none;
}
.gallery-modal.is-open {
  display: block;
  animation: modalFade 0.25s ease;
}

.gallery-modal__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
}

/*----------------------------------------------------
 Close
----------------------------------------------------*/
.gallery-modal__close {
  position: absolute;
  top: -30px;
  right: 0;
  display: flex;
  align-items: center;
  gap: 7px;
  border: none;
  background: none;
  color: #fff;
  cursor: pointer;
  font-size: 1.4rem;
  z-index: 50;
  transition: 0.3s;
}
.gallery-modal__close span {
  font-size: 30px;
  line-height: 1;
}
.gallery-modal__close:hover {
  opacity: 0.6;
  transition: 0.3s;
}

/*----------------------------------------------------
 Prev Next
----------------------------------------------------*/
.gallery-modal__prev,
.gallery-modal__next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 42px;
  height: 42px;
  border: solid 1px #82B73F;
  border-radius: 50%;
  background: #FFF;
  color: #82B73F;
  cursor: pointer;
  display: flex;
  align-items: end;
  justify-content: center;
  font-size: 28px;
  transition: 0.3s;
  z-index: 20;
}
.gallery-modal__prev:hover,
.gallery-modal__next:hover {
  background: #82b73f;
  color: #FFF;
  transition: 0.3s;
}

.gallery-modal__prev {
  left: -54px;
}

.gallery-modal__next {
  right: -54px;
}

/*----------------------------------------------------
 Container
----------------------------------------------------*/
.gallery-modal__container {
  position: absolute;
  top: 48%;
  left: 50%;
  transform: translate(-50%, -50%);
  max-height: 85vh;
  overflow: visible;
}

/*----------------------------------------------------
 Body
----------------------------------------------------*/
.gallery-modal__body {
  position: relative;
  display: flex;
  flex-direction: column;
  background: #fff;
  border-radius: 10px;
  padding: 20px;
}

/*----------------------------------------------------
 Image Area
----------------------------------------------------*/
.gallery-modal__image {
  display: flex;
  justify-content: center;
  align-items: center;
}

/* 画像 */
.gallery-modal__image img {
  display: block;
  max-width: 1280px;
  max-height: 72vh;
  object-fit: contain;
}

/*----------------------------------------------------
 Contents
----------------------------------------------------*/
.gallery-modal__contents {
  margin-top: 16px;
}

.gallery-modal__caption,
.gallery-modal__tags {
  font-size: 1.6rem;
  font-weight: 700;
  line-height: 1.6;
  color: #323232;
}

/*----------------------------------------------------
 Info
----------------------------------------------------*/
.gallery-modal__info {
  margin-top: 8px;
  font-size: 1.2rem;
  line-height: 1.4;
  color: #323232;
}

.gallery-modal__category {
  background: #EAEAEA;
  padding: 2px 8px;
  border-radius: 4px;
}

.gallery-modal__year {
  margin: 0 4px 0 12px;
}

.gallery-modal__season {
  margin-left: 4px;
}

/*----------------------------------------------------
 Counter
----------------------------------------------------*/
.gallery-modal__counter {
  text-align: right;
  font-size: 1.2rem;
  line-height: 1.4;
  color: #323232;
}

/*----------------------------------------------------
 Animation
----------------------------------------------------*/
@keyframes modalFade {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
.gallery-item {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
  will-change: opacity, transform;
}
.gallery-item.is-show {
  opacity: 1;
  transform: translateY(0);
}

/*----------------------------------------------------
 SP
----------------------------------------------------*/
@media screen and (max-width: 767px) {
  .gallery-modal__close {
    top: -8vw;
    right: 0;
    font-size: 3.7333333333vw;
  }
  .gallery-modal__close span {
    font-size: 8vw;
  }
  .gallery-modal__prev,
  .gallery-modal__next {
    width: 8vw;
    height: 8vw;
    font-size: 5.8666666667vw;
  }
  .gallery-modal__prev {
    left: -4vw;
  }
  .gallery-modal__next {
    right: -4vw;
  }
  .gallery-modal__container {
    width: 90.6666666667vw;
    max-height: calc(100vh - 8vw);
  }
  .gallery-modal__body {
    padding: 5.3333333333vw;
  }
  .gallery-modal__image img {
    width: 100%;
    max-height: 50vh;
  }
  .gallery-modal__contents {
    margin-top: 3.2vw;
  }
  .gallery-modal__caption,
  .gallery-modal__tags {
    font-size: 4.2666666667vw;
  }
  .gallery-modal__info {
    margin-top: 2.1333333333vw;
    font-size: 3.2vw;
  }
  .gallery-modal__counter {
    font-size: 3.2vw;
  }
}
/*# sourceMappingURL=gallery.css.map */