.gallery_mv {
  width: 100%;
  position: relative;
}
.gallery_mv .gallery_mv_img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
}
.gallery_mv .gallery_mv_img img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
}
.gallery_mv .gallery_mv_inner {
  width: 80%;
  max-width: 1024px;
  position: absolute;
  top: 55%;
  left: 50%;
  transform: translate(-50%, -50%);
  padding: 20px;
  box-sizing: border-box;
  text-align: center;
}
.gallery_mv .gallery_mv_inner .gallery_mv_title h1 {
  width: -moz-fit-content;
  width: fit-content;
  font-size: clamp(2.4rem, 3vw, 4rem);
  line-height: 1.6;
  font-weight: bold;
  margin: 0 auto 20px;
  padding: 0 0 5px;
  border-bottom: 1px solid #000;
}
.gallery_mv .gallery_mv_inner .gallery_mv_title p {
  font-size: 1.6rem;
  line-height: 1.6;
  margin: 0;
  padding: 0;
}
.gallery_mv .gallery_mv_inner .gallery_mv_title p span {
  font-size: clamp(1.6rem, 1.8vw, 2.3rem);
  font-weight: bold;
}
.gallery_mv .gallery_mv_inner .gallery_mv_title .gallery_mv_link {
  display: block;
  font-size: 1.6rem;
  line-height: 1.6;
  font-weight: bold;
  width: -moz-fit-content;
  width: fit-content;
  margin: 10px auto 0;
  padding: 10px 20px;
  color: #000;
  text-decoration: none;
}
.gallery_mv .gallery_mv_inner .gallery_mv_title .gallery_mv_link::after {
  content: "";
  display: inline-block;
  width: 8px;
  height: 8px;
  border-bottom: 2px solid #000;
  border-right: 2px solid #000;
  transform: rotate(-45deg);
}
.gallery_mv .gallery_mv_inner .gallery_mv_btn {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  margin-top: 20px;
}
.gallery_mv .gallery_mv_inner .gallery_mv_btn .gallery_mv_btn_item {
  width: calc(20% - 10px);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 0;
  height: auto;
  aspect-ratio: 1/1;
  font-size: 1.6rem;
  line-height: 1.6;
  background: #FFF;
  border-radius: 50%;
  border: 1px solid #000;
  text-decoration: none;
  color: #000;
}
.gallery_mv .gallery_mv_inner .gallery_mv_btn .gallery_mv_btn_item span {
  font-size: clamp(1.6rem, 1.8vw, 2.3rem);
  font-weight: bold;
}
.gallery_mv .gallery_mv_inner .gallery_mv_btn .gallery_mv_btn_item::after {
  content: "";
  display: inline-block;
  width: 8px;
  height: 8px;
  border-bottom: 2px solid #000;
  border-right: 2px solid #000;
  transform: rotate(45deg);
  margin-top: 20px;
}
.gallery_mv .gallery_mv_inner .gallery_mv_btn .gallery_mv_btn_item:hover {
  background: #000;
  color: #FFF;
  transition: all 0.15s ease-in-out;
}
.gallery_mv .gallery_mv_inner .gallery_mv_btn .gallery_mv_btn_item:hover::after {
  border-bottom: 2px solid #FFF;
  border-right: 2px solid #FFF;
  transform: rotate(45deg) all 0.15s ease-in-out;
}
.gallery_mv .gallery_mv_inner .gallery_mv_btn .gallery_mv_btn_item.a01 {
  background: #FFF;
  border: 1px solid #E56F29;
  color: #E56F29;
}
.gallery_mv .gallery_mv_inner .gallery_mv_btn .gallery_mv_btn_item.a01::after {
  border-bottom: 2px solid #E56F29;
  border-right: 2px solid #E56F29;
}
.gallery_mv .gallery_mv_inner .gallery_mv_btn .gallery_mv_btn_item.a01:hover {
  background: #E56F29;
  color: #FFF;
  transition: all 0.15s ease-in-out;
}
.gallery_mv .gallery_mv_inner .gallery_mv_btn .gallery_mv_btn_item.a01:hover::after {
  border-bottom: 2px solid #FFF;
  border-right: 2px solid #FFF;
  transform: rotate(45deg) all 0.15s ease-in-out;
}
.gallery_mv .gallery_mv_inner .gallery_mv_btn .gallery_mv_btn_item.a02 {
  background: #FFF;
  border: 1px solid #007C86;
  color: #007C86;
}
.gallery_mv .gallery_mv_inner .gallery_mv_btn .gallery_mv_btn_item.a02::after {
  border-bottom: 2px solid #007C86;
  border-right: 2px solid #007C86;
}
.gallery_mv .gallery_mv_inner .gallery_mv_btn .gallery_mv_btn_item.a02:hover {
  background: #007C86;
  color: #FFF;
  transition: all 0.15s ease-in-out;
}
.gallery_mv .gallery_mv_inner .gallery_mv_btn .gallery_mv_btn_item.a02:hover::after {
  border-bottom: 2px solid #FFF;
  border-right: 2px solid #FFF;
  transform: rotate(45deg) all 0.15s ease-in-out;
}
.gallery_mv .gallery_mv_inner .gallery_mv_btn .gallery_mv_btn_item.a03 {
  background: #FFF;
  border: 1px solid #373FB5;
  color: #373FB5;
}
.gallery_mv .gallery_mv_inner .gallery_mv_btn .gallery_mv_btn_item.a03::after {
  border-bottom: 2px solid #373FB5;
  border-right: 2px solid #373FB5;
}
.gallery_mv .gallery_mv_inner .gallery_mv_btn .gallery_mv_btn_item.a03:hover {
  background: #373FB5;
  color: #FFF;
  transition: all 0.15s ease-in-out;
}
.gallery_mv .gallery_mv_inner .gallery_mv_btn .gallery_mv_btn_item.a03:hover::after {
  border-bottom: 2px solid #FFF;
  border-right: 2px solid #FFF;
  transform: rotate(45deg) all 0.15s ease-in-out;
}

:root {
  --gallery-gap: 16px;
  --gallery-cell-padding: 12px;
  --gallery-image-max-scale: 75%;
}

.gallery {
  width: 100%;
  background: #FFF;
}
.gallery .gallery_body {
  width: 100%;
  position: relative;
}
.gallery .gallery_body .gallery_line {
  position: absolute;
  top: 50px;
  left: 0;
  width: 100vw;
  height: 27px;
  background: transparent url(../img/about_line.png) repeat-x center;
  background-size: contain;
  opacity: 0.4;
}
.gallery .gallery_body .gallery_inner {
  width: 90%;
  max-width: 1024px;
  margin: 0 auto;
  padding: 127px 0 0;
  box-sizing: border-box;
}
.gallery .gallery_body .gallery_inner.last {
  padding-bottom: 100px;
}
.gallery .gallery_body .gallery_inner .gallery_box {
  display: flex;
  flex-wrap: wrap;
  gap: var(--gallery-gap);
  justify-content: flex-start;
}
.gallery .gallery_body .gallery_inner .gallery_box .gallery_body_item {
  flex: 0 0 calc((100% - var(--gallery-gap) * 3) / 4);
  aspect-ratio: 1/1;
  padding: var(--gallery-cell-padding);
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  border: none;
  background: #EFEFEF;
  cursor: pointer;
}
.gallery .gallery_body .gallery_inner .gallery_box .gallery_body_item img {
  display: block;
  max-width: var(--gallery-image-max-scale);
  max-height: var(--gallery-image-max-scale);
  width: auto;
  height: auto;
  -o-object-fit: contain;
     object-fit: contain;
}
.gallery .gallery_body .gallery_inner p {
  font-size: 1.6rem;
  width: 100%;
  margin-top: 40px;
  line-height: 1.6;
}
.gallery .gallery_body .gallery_inner .subtitle {
  font-size: 1.6rem;
  width: 100%;
  margin-bottom: 40px;
  line-height: 1.6;
  text-align: center;
}
.gallery .gallery_body.s01 h2 {
  color: #E56F29;
}
.gallery .gallery_body.s02 h2 {
  color: #007C86;
}
.gallery .gallery_body.s03 h2 {
  color: #373FB5;
  margin-top: 40px;
}
.gallery .gallery_body .gallery_artist {
  width: 80%;
  margin: 0 auto 40px;
}
.gallery .gallery_body .gallery_artist h2 {
  font-family: "Noto Serif JP", serif;
  font-size: clamp(2rem, 3.8vw, 4rem);
  font-weight: bold;
  margin-bottom: 20px;
  padding: 0 10px 10px;
  background: linear-gradient(to right, transparent, #373FB5 10%, #373FB5 90%, transparent);
  background-size: 100% 2px;
  background-position: bottom;
  background-repeat: no-repeat;
  text-align: center;
  color: #373FB5;
}

.gallery .gallery_title h2 {
  text-align: center;
  font-size: clamp(2rem, 3.8vw, 4rem);
  margin-bottom: 20px;
}

.gallery .gallery_body_item img {
  transition: scale 0.15s ease-in-out;
}
.gallery .gallery_body_item:hover img {
  scale: 1.05;
}

body.gallery-modal-open {
  overflow: hidden;
}

.gallery_modal {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  box-sizing: border-box;
}

.gallery_modal[hidden] {
  display: none;
}

.gallery_modal .gallery_modal_overlay {
  position: absolute;
  inset: 0;
  padding: 0;
  border: none;
  background: rgba(0, 0, 0, 0.4);
  cursor: pointer;
}

.gallery_modal .gallery_modal_dialog {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 960px;
}

.gallery_modal .gallery_modal_close {
  position: absolute;
  top: -48px;
  right: 0;
  z-index: 2;
  width: 40px;
  height: 40px;
  padding: 0;
  border: none;
  background: transparent;
  color: #fff;
  font-size: 32px;
  line-height: 1;
  cursor: pointer;
}

.gallery_modal .gallery_modal_splide {
  width: 100%;
  max-width: min(90vw, 80vh);
  margin: 0 auto;
}

.gallery_modal .gallery_modal_splide .splide__track {
  overflow: visible;
}

.gallery_modal .gallery_modal_splide .splide__slide {
  aspect-ratio: 1/1;
  width: 100%;
  padding: var(--gallery-cell-padding);
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #EFEFEF;
}

.gallery_modal .gallery_modal_splide .splide__slide img {
  display: block;
  max-width: var(--gallery-image-max-scale);
  max-height: var(--gallery-image-max-scale);
  width: auto;
  height: auto;
  -o-object-fit: contain;
     object-fit: contain;
}

.gallery_modal .gallery_modal_splide .splide__arrow {
  background: rgba(255, 255, 255, 0.9);
}

.gallery_modal .gallery_modal_splide .splide__pagination {
  bottom: -2rem;
}

.gallery_modal .gallery_modal_splide .splide__pagination .splide__pagination__page {
  background: rgba(255, 255, 255, 0.5);
}

.gallery_modal .gallery_modal_splide .splide__pagination .splide__pagination__page.is-active {
  background: #fff;
}

.gallery_btn {
  width: 100%;
  display: flex;
  align-items: stretch;
  justify-content: center;
  gap: 20px;
  margin-top: 80px;
}
.gallery_btn .gallery_btn_item {
  width: calc(40% - 20px);
  height: auto;
  display: flex;
  align-items: stretch;
  justify-content: center;
}
.gallery_btn .gallery_btn_item_link {
  display: block;
  width: 100%;
  padding: 20px 40px;
  border-radius: 20px;
  font-size: 2rem;
  line-height: 1.6;
  font-weight: bold;
  background: #000;
  color: #FFF;
  text-decoration: none;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.gallery_btn .gallery_btn_item_link.more {
  background: #E56F29;
  color: #FFF;
  border: 1px solid #E56F29;
}
.gallery_btn .gallery_btn_item_link.more::after {
  position: absolute;
  top: 45%;
  right: 20px;
  transform: translateY(-50%) rotate(-45deg);
  content: "";
  display: inline-block;
  width: 8px;
  height: 8px;
  border-bottom: 2px solid #FFF;
  border-right: 2px solid #FFF;
  transform: rotate(-45deg);
}
.gallery_btn .gallery_btn_item_link.more:hover {
  background: #FFF;
  color: #E56F29;
  transition: all 0.15s ease-in-out;
}
.gallery_btn .gallery_btn_item_link.more:hover::after {
  border-bottom: 2px solid #E56F29;
  border-right: 2px solid #E56F29;
  transition: all 0.15s ease-in-out;
}
.gallery_btn .gallery_btn_item_link.contact {
  background: #F8B62D;
  color: #000;
  border: 1px solid #F8B62D;
}
.gallery_btn .gallery_btn_item_link.contact::after {
  position: absolute;
  top: 45%;
  right: 20px;
  transform: translateY(-50%) rotate(-45deg);
  content: "";
  display: inline-block;
  width: 8px;
  height: 8px;
  border-bottom: 2px solid #000;
  border-right: 2px solid #000;
  transform: rotate(-45deg);
}
.gallery_btn .gallery_btn_item_link.contact:hover {
  background: #FFF;
  color: #F8B62D;
  transition: all 0.15s ease-in-out;
}
.gallery_btn .gallery_btn_item_link.contact:hover::after {
  border-bottom: 2px solid #F8B62D;
  border-right: 2px solid #F8B62D;
  transition: all 0.15s ease-in-out;
}

.gallery_size {
  width: 100%;
  box-sizing: border-box;
  background: #F6EAD9;
  padding-bottom: 0;
}
.gallery_size .gallery_size_inner {
  width: 90%;
  max-width: 1024px;
  margin: 0 auto;
  padding: 80px 0 40px;
  box-sizing: border-box;
}
.gallery_size .gallery_size_title {
  width: 100%;
  text-align: center;
  font-size: clamp(1.5rem, 2vw, 2rem);
  font-weight: bold;
  margin-bottom: 80px;
}
@media (max-width: 768px) {
  .gallery_size .gallery_size_title {
    margin-bottom: 40px;
  }
}
.gallery_size .gallery_size_body {
  width: 100%;
}
.gallery_size .gallery_size_body img {
  width: 80%;
  max-width: 700px;
  margin: 0 auto;
  display: block;
}
@media (max-width: 768px) {
  .gallery_size .gallery_size_body img {
    width: 100%;
  }
}
.gallery_size .gallery_size_body .gallery_size_body_head {
  font-size: 2rem;
  line-height: 1.6;
  margin: 40px auto;
  width: 90%;
}
.gallery_size .gallery_size_body .gallery_size_body_text {
  font-size: 1.6rem;
  line-height: 1.6;
  width: 90%;
  margin: 0 auto;
}
@media (max-width: 768px) {
  .gallery_size .gallery_size_body .gallery_size_body_head {
    width: 100%;
  }
  .gallery_size .gallery_size_body .gallery_size_body_text {
    width: 100%;
  }
}
.gallery_size .gallery_size_btn {
  width: 30%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 40px auto;
}
.gallery_size .gallery_size_btn .gallery_size_btn_item {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #F8B62D;
  color: #000;
  font-size: 1.6rem;
  line-height: 1.6;
  font-weight: bold;
  text-decoration: none;
  padding: 20px;
  border-radius: 20px;
  border: 1px solid #F8B62D;
  position: relative;
}
.gallery_size .gallery_size_btn .gallery_size_btn_item::after {
  content: "";
  display: inline-block;
  position: absolute;
  top: 40%;
  right: 20px;
  transform: translateY(-50%) rotate(-45deg);
  width: 8px;
  height: 8px;
  border-bottom: 2px solid #000;
  border-right: 2px solid #000;
  transform: rotate(-45deg);
}
.gallery_size .gallery_size_btn .gallery_size_btn_item:hover {
  background: #FFF;
  color: #F8B62D;
  transition: all 0.15s ease-in-out;
}
.gallery_size .gallery_size_btn .gallery_size_btn_item:hover::after {
  transition: all 0.15s ease-in-out;
  border-bottom: 2px solid #F8B62D;
  border-right: 2px solid #F8B62D;
}

@media (max-width: 768px) {
  .gallery_mv .gallery_mv_inner .gallery_mv_title {
    margin-bottom: 100px;
  }
  .gallery_mv .gallery_mv_inner .gallery_mv_title .gallery_mv_link.pc {
    display: none;
  }
  .gallery_mv .gallery_mv_inner .gallery_mv_btn {
    flex-direction: column;
    width: 100%;
  }
  .gallery_mv .gallery_mv_inner .gallery_mv_btn .gallery_mv_btn_item {
    width: 100%;
    aspect-ratio: unset;
    border-radius: 20px;
    border: 1px solid #000;
    display: block;
    padding: 20px;
    position: relative;
  }
  .gallery_mv .gallery_mv_inner .gallery_mv_btn .gallery_mv_btn_item p {
    font-size: 1.6rem;
    line-height: 1.6;
    font-weight: bold;
  }
  .gallery_mv .gallery_mv_inner .gallery_mv_btn .gallery_mv_btn_item::after {
    position: absolute;
    top: 40%;
    right: 20px;
    transform: translateY(-50%) rotate(-45deg);
    margin-top: 0;
    transform: rotate(-45deg);
  }
  .gallery_mv .gallery_mv_inner .gallery_mv_link.sp {
    display: block;
    font-size: 1.6rem;
    line-height: 1.6;
    font-weight: bold;
    color: #000;
    text-decoration: none;
    text-align: center;
    margin-top: 20px;
  }
  .gallery_mv .gallery_mv_inner .gallery_mv_link.sp::after {
    content: "";
    display: inline-block;
    width: 8px;
    height: 8px;
    border-bottom: 2px solid #000;
    border-right: 2px solid #000;
    transform: rotate(-45deg);
    margin-left: 10px;
  }
  .gallery .gallery_btn {
    flex-direction: column;
    width: 100%;
    margin-top: 40px;
  }
  .gallery .gallery_btn .gallery_btn_item {
    width: 100%;
  }
  .gallery .gallery_body .gallery_inner .gallery_box .gallery_body_item {
    flex: 0 0 calc((100% - var(--gallery-gap)) / 2);
  }
  .gallery .gallery_body .gallery_inner p {
    margin-top: 20px;
  }
  .gallery .gallery_body .gallery_inner .subtitle {
    margin-bottom: 20px;
  }
  .gallery .gallery_body .gallery_inner .gallery_artist {
    margin-bottom: 20px;
  }
  .gallery .gallery_body .gallery_inner .gallery_title h2 {
    margin-bottom: 20px;
  }
  .gallery .gallery_body .gallery_inner .gallery_body_item:hover img {
    scale: 1;
  }
  .gallery .gallery_size .gallery_size_btn {
    width: 100%;
    margin: 20px auto;
  }
  .gallery .gallery_size .gallery_size_btn .gallery_size_btn_item {
    width: 100%;
  }
}/*# sourceMappingURL=gallery.css.map */