@charset "UTF-8";
@import url("https://fonts.googleapis.com/css2?family=Adamina&family=Bellefair&family=Corinthia:wght@400;700&family=Zen+Kaku+Gothic+New&family=Zen+Old+Mincho&display=swap");
:root {
  --text: #505050;
  --koimegold: #866D23;
  --usumegold: #E7DECF;
  --gold: #A18D51;
  --gold2: #9C905A;
  --gold3: #C0B569;
  --gold4: #A28F54;
  --kusumiblue: #CDE5E8;
  --blue1: #BBDBE0;
  --blue2: #48B1C2;
  --blue3: #F0F8F9;
  --usublue: #F4F9F7;
  --usugray: #D2D2D2;
  --splideNav: #D4D9D7;
  --gray1: #F8F8F8;
  --gray2: #E3E3E3;
  --gray3: #D9D9D9;
  color-scheme: light;
}

.p-news__title {
  position: relative;
  padding-top: 3.7rem;
  margin-bottom: 2.6rem; /*
&:before{
  content:'';
  width: 100%;
  position: absolute;
  left:0;
  top:0;
  background: #F8F8F8;
  height: 7rem;
  @include mq('md') {
    height: 12.5rem;
  }
}*/
}
.p-news__title_text {
  position: relative;
}
.p-news-archives__list {
  display: -ms-grid;
  display: grid;
  -ms-grid-columns: 1fr 3rem 1fr 3rem 1fr;
  grid-template-columns: repeat(3, 1fr);
  gap: 3rem;
  margin-bottom: 10rem;
}
@media only screen and (max-width: 768px) {
  .p-news-archives__list {
    -ms-grid-columns: 1fr;
    grid-template-columns: 1fr;
  }
}
.p-news-archives__list_item {
  text-align: left;
}
.p-news-archives__list_thumbnail {
  border: 0.1rem solid #E9E9E9;
  margin-bottom: 1.3rem;
}
.p-news-archives__list_category {
  display: inline-block;
  color: #fff;
  background: #ADD7DD;
  font-size: 1.4rem;
  padding: 0.3rem 0.7rem;
  line-height: 1.4;
  font-weight: bold;
}
.p-news-archives__list_title {
  font-size: 1.4rem;
  line-height: 2.2857142857;
  color: var(--text);
  font-weight: normal;
}
.p-news-archives__list_link {
  color: var(--text);
  text-decoration: none;
}
.p-news-single__status {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  color: var(--text);
  font-size: 1.2rem;
  line-height: 1.4;
  gap: 1rem;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  margin-bottom: 2rem;
}
.p-news-single__status-title {
  border: 0.1rem solid #D6D6D6;
  padding: 0.3rem 1rem;
  min-width: 7.5rem;
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
  text-align: center;
}

.l-paginate-links {
  margin-top: 15.7rem;
  margin-bottom: 9rem;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  gap: 1.2rem;
}
@media only screen and (max-width: 768px) {
  .l-paginate-links {
    margin-top: 8rem;
    margin-bottom: 5.5rem;
  }
}

.page-numbers {
  font-size: 1.4rem;
  color: var(--blue2);
  text-decoration: none;
  display: inline-block;
  padding: 1rem 1.6rem;
  border: 0.1rem solid var(--blue2);
  line-height: 1.4;
}
.page-numbers.current, .page-numbers:hover {
  background: var(--blue2);
  color: #fff;
}

.p-news-single__head {
  text-align: left;
  max-width: 60rem;
  margin: 0 auto;
}

.p-news-single__title {
  font-size: 1.8rem;
  font-weight: bold;
  line-height: 1.7777777778;
  margin-bottom: 2rem;
}

.p-entry-category {
  display: inline-block;
  color: #fff;
  background: #ADD7DD;
  font-size: 1.4rem;
  padding: 0.3rem 0.7rem;
  line-height: 1.4;
  font-weight: bold;
  margin-bottom: 1rem;
}

.p-news-single {
  max-width: 60rem;
  margin: 0 auto;
}

.p-entry-thumbnail {
  margin-bottom: 2.5rem;
}

.p-news-single__body {
  text-align: left;
  font-size: 1.4rem;
  line-height: 2;
}
.p-news-single__body h2 {
  background: url(../img/common/title_decoration-blue.svg) no-repeat left 0;
  padding-left: 3.1rem;
  font-size: 1.8rem;
  font-weight: bold;
  line-height: 1.4;
  border-bottom: 0.1rem solid #CDE5E8;
  padding-bottom: 1rem;
  margin-bottom: 2.5rem;
}
.p-news-single__body h3 {
  font-size: 1.6rem;
  font-weight: bold;
  color: var(--gold);
  position: relative;
  padding-left: 2rem;
}
.p-news-single__body h3:before {
  content: "■";
  font-size: 1.2rem;
  margin-right: 0.5rem;
  position: absolute;
  left: 0;
  top: 0.5rem;
}
.p-news-single__body ul {
  margin-bottom: 2.5rem;
}
.p-news-single__body li {
  position: relative;
  padding-left: 1.5em;
}
.p-news-single__body li:before {
  content: "◯";
  display: inline-block;
  margin-right: 1rem;
  position: absolute;
  left: 0;
  top: 0;
}
.p-news-single__body p {
  margin-bottom: 2.5rem;
}
.p-news-single__body .toc_list li {
  padding-left: 0;
}
.p-news-single__body .toc_list li:before {
  content: none;
}

.wp-block-paragraph {
  margin-bottom: 3rem;
}

.p-news-single__control {
  margin: 4rem 0 0;
}

.p-news-single__control_btn {
  border: 0.1rem solid var(--gold);
  display: inline-block;
  width: 31.5rem;
  text-align: center;
  font-size: 1.2rem;
  font-family: "Zen Old Mincho", serif;
  height: 5.5rem;
  line-height: 5.5rem;
  color: var(--gold);
  position: relative;
  letter-spacing: 0.1em;
}

@media only screen and (max-width: 768px) {
  .p-venues-thyme {
    padding: 8rem 0 0;
  }
}
/********コラム*********/
.p-news-single__body .wp-block-button {
  width: 100%;
  margin-bottom: 3rem;
  text-align: center;
}
.p-news-single__body .wp-element-button {
  border: 0.1rem solid var(--gold);
  display: inline-block;
  width: 80%;
  text-align: center;
  font-size: 1.2rem;
  font-family: "Zen Old Mincho", serif;
  height: 5.5rem;
  line-height: 1.6;
  color: var(--gold);
  position: relative;
  background: none;
  border-radius: 0;
  font-size: 1.2rem;
  padding: 0;
}
.p-news-single__body .wp-element-button:hover {
  background: var(--gold);
  color: #fff;
}
.p-news-single__body .is-style-gold .wp-element-button {
  background: var(--gold);
  color: #fff;
}
.p-news-single__body .is-style-gold .wp-element-button:hover {
  background: #fff;
  color: var(--gold);
}
div#toc_container {
  width: 100%;
  padding: 1rem 3rem;
  background: #F2FAFB;
  border: none;
  margin-bottom: 4rem;
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
}
div#toc_container p.toc_title + ul.toc_list {
  margin-top: 0;
}
div#toc_container p.toc_title {
  text-align: left;
  font-weight: normal;
}

.toc_list {
  counter-reset: toc-counter;
  font-size: 1.4rem;
}
.toc_list li a {
  color: var(--text);
}
.toc_list li a::before {
  counter-increment: toc-counter;
  content: counter(toc-counter) ") ";
  margin-right: 4px;
}

/************よくある質問*************/
.p-faq-archive-anchor {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  border: 0.1rem solid var(--gold3);
  border-left: none;
  margin-bottom: 4.5rem;
}
@media only screen and (max-width: 768px) {
  .p-faq-archive-anchor {
    -ms-flex-wrap: wrap;
        flex-wrap: wrap;
    border-bottom: none;
  }
}
.p-faq-archive-anchor__item {
  width: 25%;
}
@media only screen and (max-width: 768px) {
  .p-faq-archive-anchor__item {
    width: 100%;
  }
}
.p-faq-archive-anchor__link {
  color: var(--gold3);
  text-decoration: none;
  display: block;
  font-size: 1.4rem;
  border-left: 0.1rem solid var(--gold3);
  padding: 0.2rem 0;
}
@media only screen and (max-width: 768px) {
  .p-faq-archive-anchor__link {
    border-bottom: 0.1rem solid var(--gold3);
  }
}
.p-faq-archive-anchor__link:hover {
  background: var(--gold3);
  color: #fff;
}
.p-faq-archive-group {
  max-width: 80rem;
  margin: -8rem auto 7.6rem;
  padding-top: 8rem;
}
@media only screen and (max-width: 768px) {
  .p-faq-archive-group {
    margin-top: -2rem;
    padding-top: 2rem;
  }
}
.p-faq-archive-group__title {
  color: var(--koimegold);
  font-family: "Zen Old Mincho", serif;
  font-size: 2rem;
  font-weight: normal;
  line-height: 1.4;
  background: url(../img/common/title_decoration-gold.svg) no-repeat center bottom;
  padding-bottom: 4.5rem;
  margin-bottom: 2.5rem;
  letter-spacing: 0.1rem;
  position: relative;
}
.p-faq-item {
  border: 0.1rem solid var(--usumegold);
  margin-bottom: 1.5rem;
  text-align: left;
}
.p-faq-item__content {
  border-top: 0.1rem solid var(--usumegold);
}
.p-faq-item__title {
  padding: 2rem 7.4rem;
  position: relative;
  line-height: 1.6;
  font-family: "Zen Old Mincho", serif;
  font-weight: normal;
  cursor: pointer;
  font-size: 1.4rem;
}
@media only screen and (max-width: 768px) {
  .p-faq-item__title {
    padding: 1.5rem 4.8rem;
  }
}
.p-faq-item__title:before {
  content: "Q";
  font-family: "Bellefair";
  font-size: 3.2rem;
  color: var(--gold);
  font-weight: normal;
  position: absolute;
  left: 3.3rem;
  top: 1.4rem;
  line-height: 1;
}
@media only screen and (max-width: 768px) {
  .p-faq-item__title:before {
    font-size: 2.6rem;
    top: calc(50% - 1.3rem);
    left: 1.7rem;
  }
}
.p-faq-item__content {
  font-size: 1.4rem;
  line-height: 2;
  padding: 1.5rem 2.4rem;
  display: none;
}
.p-faq-item__content .wp-block-paragraph {
  margin-bottom: 0;
}
.p-faq-item__content a {
  color: var(--koimegold);
  font-weight: normal;
  text-decoration: none;
}
.p-faq-item__plus {
  position: absolute;
  right: 3rem;
  top: 50%;
}
@media only screen and (max-width: 768px) {
  .p-faq-item__plus {
    right: 1.8rem;
  }
}
.p-faq-item__plus:before, .p-faq-item__plus:after {
  content: "";
  width: 2.1rem;
  height: 0;
  border-bottom: 0.1rem solid var(--gold);
  display: block;
}
.p-faq-item__plus:after {
  rotate: 90deg;
}
.p-faq-item__plus.opened:after {
  content: none;
}

.p-guests-kv__body {
  padding: 3.4rem 0 0;
}
@media only screen and (max-width: 768px) {
  .p-guests-kv__body {
    padding-top: 2.7rem;
  }
}
.p-guests-kv__body .l-container {
  padding: 0 4rem;
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
}
@media only screen and (max-width: 768px) {
  .p-guests-kv__body .l-container {
    padding: 0 2rem;
  }
}
.p-guests-kv__body_lead {
  margin: 2.5rem 0 0;
  line-height: 2;
  letter-spacing: 0.004em;
  text-align: left;
  font-size: 1.4rem;
  font-weight: 500;
  font-family: "Zen Old Mincho", serif;
}
@media only screen and (max-width: 768px) {
  .p-guests-kv__body_lead {
    margin-top: 2.7rem;
  }
}
.p-guests-kv__video video {
  width: 100%;
}
.p-guests-list {
  display: -ms-grid;
  display: grid;
  -ms-grid-columns: 1fr 3rem 1fr 3rem 1fr;
  grid-template-columns: repeat(3, 1fr);
  gap: 4rem 3rem;
  max-width: 100rem;
  margin: 4.5rem auto 12.5rem;
}
@media only screen and (max-width: 768px) {
  .p-guests-list {
    -ms-grid-columns: (1fr)[1];
    grid-template-columns: repeat(1, 1fr);
    padding: 0 2rem;
    margin-top: 3rem;
  }
  .p-guests-list__item {
    background: #F2FAFB;
    padding-bottom: 2rem;
  }
}
.p-guests-list__image {
  background: #F2FAFB;
  line-height: 1.4;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  min-height: 24rem;
  margin-bottom: 1.7rem;
}
@media only screen and (max-width: 768px) {
  .p-guests-list__image {
    min-height: 18rem;
    margin-bottom: 1rem;
  }
}
.p-guests-list__image img {
  width: 8.5rem;
}
.p-guests-list__image figcaption {
  font-size: 1.8rem;
  margin-top: 1.5rem;
  font-weight: 600;
}
.p-guests-list__txt {
  font-size: 1.4rem;
  line-height: 2;
  text-align: left;
}
@media only screen and (max-width: 768px) {
  .p-guests-list__txt {
    font-size: 1.4rem;
    padding: 0 2rem;
  }
}
.p-guests-list__btn {
  border: 0.1rem solid var(--gold);
  display: block;
  text-align: center;
  color: var(--gold);
  font-family: "Zen Old Mincho", serif;
  text-decoration: none;
  padding: 1.2rem 0;
  margin-top: 2rem;
}
.p-guests-list__btn:hover {
  background: var(--gold);
  color: #fff;
}

.faq-guests {
  max-width: 80rem;
  margin: 0 auto;
}
@media only screen and (max-width: 768px) {
  .faq-guests {
    padding: 0 2rem;
  }
}
.faq-guests-title_text {
  margin-bottom: 3rem;
}

.p-gallery-filter {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  gap: 2.6rem;
  margin-top: 1.4rem;
  margin-bottom: 6rem;
}
@media only screen and (max-width: 768px) {
  .p-gallery-filter {
    gap: 1rem;
  }
}
.p-gallery-filter__group {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: start;
      -ms-flex-align: start;
          align-items: flex-start;
  gap: 40px;
}
@media only screen and (max-width: 768px) {
  .p-gallery-filter__group {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    gap: 15px;
  }
}
.p-gallery-filter__label {
  width: 18rem;
  -ms-flex-negative: 0;
      flex-shrink: 0;
  font-size: 1.4rem;
  font-weight: normal;
  color: var(--koimegold);
  margin: 0;
  padding-top: 0rem;
}
@media only screen and (max-width: 768px) {
  .p-gallery-filter__label {
    display: none;
  }
}
.p-gallery-filter__content {
  -webkit-box-flex: 1;
      -ms-flex-positive: 1;
          flex-grow: 1;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  gap: 20px;
}
@media only screen and (max-width: 768px) {
  .p-gallery-filter__content {
    gap: 1rem;
  }
}
.p-gallery-filter__list {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
  gap: 15px;
  list-style: none;
  margin: 0;
  padding: 0;
}
@media only screen and (max-width: 768px) {
  .p-gallery-filter__list {
    gap: 1rem;
  }
}
.p-gallery-filter__item {
  margin: 0;
}
.p-gallery-filter__btn {
  display: -webkit-inline-box;
  display: -ms-inline-flexbox;
  display: inline-flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  padding: 0.6rem 1.6rem;
  border: 1px solid var(--koimegold);
  background-color: #fff;
  color: var(--koimegold);
  font-size: 1.4rem;
  line-height: 1.5;
  cursor: pointer;
  -webkit-transition: all 0.3s ease;
  transition: all 0.3s ease;
  text-decoration: none;
}
@media only screen and (max-width: 768px) {
  .p-gallery-filter__btn {
    padding: 0.3rem 1rem;
    letter-spacing: 0;
    font-size: 1.2rem;
  }
}
.p-gallery-filter__btn:hover {
  background-color: #fdfaf5;
}
.p-gallery-filter__btn--dropdown::after {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  margin-left: 12px;
  border-top: 1px solid currentColor;
  border-right: 1px solid currentColor;
  -webkit-transform: rotate(135deg);
          transform: rotate(135deg);
  -webkit-transform-origin: center;
          transform-origin: center;
  -webkit-transition: -webkit-transform 0.3s ease;
  transition: -webkit-transform 0.3s ease;
  transition: transform 0.3s ease;
  transition: transform 0.3s ease, -webkit-transform 0.3s ease;
  position: relative;
  top: -0.2rem;
}
.p-gallery-filter__btn--dropdown.is-closed::after {
  -webkit-transform: rotate(135deg);
          transform: rotate(135deg);
  top: -2px;
}
.p-gallery-filter__btn--active {
  background-color: var(--koimegold);
  color: #fff;
}
.p-gallery-filter__btn--active:after {
  top: 0.2rem;
  -webkit-transform: rotate(-45deg);
          transform: rotate(-45deg);
}
.p-gallery-filter__btn--active:hover {
  background-color: var(--koimegold);
}
.p-gallery-filter__sub {
  background-color: #fdfaf5;
  padding: 2rem;
}
@media only screen and (max-width: 768px) {
  .p-gallery-filter__sub {
    padding: 1.2rem;
  }
}

.p-gallery-slider {
  margin-bottom: 6rem;
  margin-top: -9rem;
  padding-top: 9rem;
}
@media only screen and (max-width: 768px) {
  .p-gallery-slider {
    margin-top: -3rem;
    padding-top: 3rem;
  }
}
.p-gallery-slider .slick-prev, .p-gallery-slider .slick-next {
  top: 50%;
}
.p-gallery-slider__head {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  margin-bottom: 1.5rem;
  width: 100%;
}
.p-gallery-slider__more {
  margin-right: 0;
  margin-left: auto;
  display: block;
  font-family: "Zen Old Mincho", serif;
  font-size: 1.2rem;
  border: 0.1rem solid var(--gold);
  color: var(--gold);
  width: 14rem;
  text-decoration: none;
}
@media only screen and (max-width: 768px) {
  .p-gallery-slider__more {
    margin: 4rem auto 0;
    width: 24rem;
    padding: 0.7rem 0;
  }
}
@media only screen and (max-width: 768px) {
  .p-gallery-slider__title {
    -webkit-box-align: start !important;
        -ms-flex-align: start !important;
            align-items: flex-start !important;
  }
  .p-gallery-slider__title .is-jp {
    margin-left: 0;
    margin-right: auto;
  }
  .p-gallery-slider__title .is-jp:before {
    content: none !important;
  }
}
.p-gallery-slider__title .is-en {
  line-height: 1;
  letter-spacing: 0.004em;
  font-size: 3.2rem;
  font-weight: 400;
  font-family: "Bellefair", serif;
  color: var(--gold);
}
.p-gallery-slider__title .is-jp {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  gap: 2.2rem;
  line-height: 1.4;
  letter-spacing: 0.021em;
  font-size: 1.2rem;
  font-weight: 400;
  color: var(--gold);
}
.p-gallery-slider__title .is-jp:before {
  content: none;
}
.p-gallery-slider .splide__slide {
  height: 20rem;
  margin-right: 0.2rem;
  width: auto;
}
.p-gallery-slider .splide__slide img {
  height: 100%;
  width: auto;
}
.p-gallery-slider .splide__slide video {
  height: 100%;
  width: auto;
  -o-object-fit: cover;
     object-fit: cover;
}
.p-gallery-slider .slick-dots {
  left: auto;
  right: 0;
  bottom: auto;
  -webkit-box-pack: end;
      -ms-flex-pack: end;
          justify-content: flex-end;
  gap: 0.3rem;
  padding: 0;
}
@media only screen and (max-width: 768px) {
  .p-gallery-slider .slick-dots {
    width: 100%;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
    text-align: center;
  }
}
@media only screen and (max-width: 768px) {
  .p-gallery-slider .slick-dots {
    display: none !important;
  }
}
.p-gallery-slider .slick-dots li {
  width: 4.4rem;
  height: 0.2rem;
}
.p-gallery-slider .slick-dots li button {
  width: 100%;
  height: 100%;
  margin: 0;
  border-radius: 0;
  background: var(--splideNav);
  opacity: 1;
  vertical-align: top;
}
.p-gallery-slider .slick-dots li.slick-active button {
  background: var(--koimegold);
  -webkit-transform: scale(1, 1);
          transform: scale(1, 1);
}
.p-gallery-slider .splide__pagination {
  -webkit-box-pack: end;
  -ms-flex-pack: end;
  justify-content: center;
  gap: 0.3rem;
  padding: 0;
  top: calc(100% + 2.3rem);
  left: 0;
  right: auto;
  bottom: auto;
  width: 100%;
}
@media only screen and (max-width: 768px) {
  .p-gallery-slider .splide__pagination {
    width: 100%;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
    top: calc(100% + 2rem);
  }
}
.p-gallery-slider .splide__pagination li {
  width: 4.4rem;
  height: 1px;
}
.p-gallery-slider .splide__pagination li button {
  width: 100%;
  height: 100%;
  margin: 0;
  border-radius: 0;
  background: var(--splideNav);
  opacity: 1;
  vertical-align: top;
}
.p-gallery-slider .splide__pagination li button.is-active {
  background: var(--blue2);
  -webkit-transform: scale(1, 1);
          transform: scale(1, 1);
}
.p-gallery-slider.is-grid .p-gallery-slider__head,
.p-gallery-slider.is-grid .p-gallery-slider__more {
  display: none !important;
}
.p-gallery-slider.is-grid {
  margin-top: 0;
  padding-top: 0;
  margin-bottom: 0.2rem;
}
@media only screen and (max-width: 768px) {
  .p-gallery-slider.is-grid {
    margin-bottom: 10px;
  }
}
.p-gallery-slider.is-grid .js-gallery-slider {
  display: -webkit-box !important;
  display: -ms-flexbox !important;
  display: flex !important;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
  gap: 0.2rem;
}
@media only screen and (max-width: 768px) {
  .p-gallery-slider.is-grid .js-gallery-slider {
    -ms-grid-columns: 1fr 0.2rem 1fr;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.2rem;
  }
}
.p-gallery-slider.is-grid .splide__slide {
  width: auto !important;
  display: inline-block !important;
}
.p-gallery-slider.is-grid .splide__slide img, .p-gallery-slider.is-grid .splide__slide video {
  height: 20rem;
  width: auto;
}
.p-gallery-slider.is-grid {
  /*
      // 1. タイトル（head）とMoreボタンを非表示にする
      .p-gallery-slider__head,
      .p-gallery-slider__more {
        display: none !important;
      }

      // 2. セクション自体の余白を調整し、連続したグリッドに見せる
      // ※既存のmarginやpaddingがあれば上書きしてリセットします
      margin-top: 0;
      padding-top: 0;
      margin-bottom: .2rem; // 下のセクションとの隙間をgridのgapと合わせる

      @include mq('md') {
        margin-bottom: 10px;
      }

      .js-gallery-slider {
        display: flex !important;
        flex-wrap: wrap;
        gap: .2rem;

        @include mq('md') {
          grid-template-columns: repeat(2, 1fr);
          gap: .2rem;
        }
      }

      .splide__slide {
        width: 26.6rem !important;
        display: block !important;
        height: auto;
        width: auto;


        img,video{
          width: auto;
          height: auto;
          max-width: 100%;
        }
      }*/
}
.p-gallery-section.l-container {
  margin-bottom: 6rem;
}

.p-modal-counter {
  position: absolute;
  top: 20px;
  left: 20px;
  z-index: 99999;
  color: #fff;
  font-size: 16px;
  font-weight: bold;
  font-family: sans-serif;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.8);
  pointer-events: none;
}

/***kvのスライダーが1枚だけだった時用***/
.js-kv-slider:not(.splide) .splide__track,
.js-kv-slider:not(.splide) .splide__list,
.js-kv-slider:not(.splide) .splide__slide {
  width: 100%;
  max-width: 100%;
  display: block;
}
.js-kv-slider:not(.splide) img {
  width: 100%;
  height: auto;
  display: block;
}

.fancybox__slide.has-html5video .fancybox__content,
.fancybox__slide.has-video .fancybox__content {
  aspect-ratio: auto !important;
  width: 100% !important;
  height: 100% !important;
  max-height: 100vh !important;
  background: transparent;
}
.fancybox__slide.has-html5video .fancybox__content video,
.fancybox__slide.has-video .fancybox__content video {
  width: 100% !important;
  height: 100% !important;
  -o-object-fit: contain !important;
     object-fit: contain !important;
}