body,
button {
  font-family: "游明朝", "Yu Mincho", YuMincho, "Hiragino Mincho Pro", serif;
}

h3 {
  text-align: center;
  font-size: 2.1em;
  letter-spacing: 0.1em;
}

@font-face {
  font-family: "Garamond";
  src: url("../font/CormorantGaramond-VariableFont_wght.ttf");
}

h2 {
  font-family: "Yu Mincho", "游明朝", "YuMincho", "Hiragino Mincho Pro", serif;
  font-size: 42px;
  margin-bottom: 0;
  line-height: 1.3;
  font-weight: 600;
  letter-spacing: 0.05em;
}

.title-sub {
  font-family: "Garamond", sans-serif;
  font-size: 20px !important;
  font-weight: 600;
}

.normal-section01 {
  min-height: 100vh;
  padding: 100px 0;
  background: #315868;
}

.normal-section02 {
  padding: 100px 0;
  background: #ffffff;
}

.main-contents {
  width: 100%;
  max-width: 1100px;
  margin: auto;
}

/*メインビジュアル*/
#hero {
  width: 100%;
  height: 100vh;
  overflow: hidden;
}

#hero video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  object-fit: cover;
  z-index: 0;
}

#hero h1 {
  font-size: 3.6em;
  margin: 0.2em 0;
  letter-spacing: 0.2em;
}

.hero-copy {
  position: absolute;
  bottom: 3%;
  left: 3%;
  z-index: 1;
  color: white;
  text-shadow: 0 0 15px rgba(0, 0, 0, 0.6);
  text-align: left;
  margin-bottom: 2em;
}

.hero-copy h1,
.hero-copy h2 {
  font-weight: 500;
  line-height: 1.4;
}

.hero-copy h2 {
  font-size: 1.8rem;
}

/*newsエリア*/
.news-area {
  display: flex;
  justify-content: space-around;
  width: 100%;
  box-sizing: border-box;
}

.news-header {
  width: 28%;
  margin: auto;
  padding: 0 1em;
}

.news-contents {
  width: 70%;
}

.news-header p {
  font-size: 12px;
  color: #666;
  margin-bottom: 20px;
}

.news-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.news-item a {
  display: flex;
  align-items: center;
  border-bottom: 1px solid #eee;
  padding: 15px 0;
  text-decoration: none;
}

.news-img {
  width: 100%;
  max-width: 144px;
  height: 80px;
  object-fit: cover;
  margin-right: 20px;
}

.news-info {
  display: flex;
  align-items: center;
  width: 100%;
}

.news-date {
  font-size: 18px;
  color: #888;
  margin-right: 1em;
}

.news-date span {
  display: block;
}

.news-tag {
  color: #04afcd;
  font-size: 12px;
}

.news-title {
  color: #333;
  text-decoration: none;
  font-size: 1em;
}

.arrow {
  height: 20px;
}

.news-footer {
  display: block;
  height: 50px;
  width: 140px;
  border-radius: 3em;
  background-color: #04afcd;
  box-shadow: 0px 6px 14px 0px rgba(24, 224, 238, 0.28);
  border: none;
  margin: 20px 0 0 auto;
}

.news-footer a {
  color: #fff;
  text-decoration: none;
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.news-footer img {
  display: block;
  width: 14px;
  height: 15px;
  margin-left: 0.5em;
}

/*倉橋について*/
.radial-gradient-section {
  width: 100%;
  height: 100%;
  background: radial-gradient(circle, #0a3d53 0%, #315868 100%);
  position: relative;
}

.gradation-line-top {
  position: absolute;
  top: 0;
  z-index: -1;
  width: 100%;
}

.sub-title00 {
  color: #fff;
  margin: auto;
  width: 100%;
  font-size: 20px;
}

.about-area {
  color: #fff;
}

.kurahashi-area {
  width: 100%;
  display: grid;
  grid-template-columns: 36% 1fr;
  grid-auto-rows: minmax(100px, auto);
  grid-column-gap: 0px;
  grid-row-gap: 0px;
  align-items: center;
}

@media (max-width: 1429px) {
  .kurahashi-area {
    width: 100%;
    display: grid;
    grid-template-columns: 42% 1fr;
    grid-auto-rows: minmax(100px, auto);
    grid-column-gap: 0px;
    grid-row-gap: 0px;
  }
}

.kurahashi-txt {
  text-align: start;
  grid-area: 1 / 1 / 2 / 2;
  align-self: end;
}

.kurahashi-txt p {
  font-weight: 200;
  font-size: 16px;
  line-height: 1.8em;
}

.kurahashi-access {
  grid-area: 2 / 1 / 3 / 2;
}

.aboutarea-line {
  width: 95%;
  max-width: 1300px;
  border-bottom: solid 1px rgba(255, 255, 255, 0.5);
  margin: 5em auto;
}

/* タブエリア */
.tab-area {
  grid-area: 1 / 2 / 3 / 3;
  justify-content: start;
}

.tab-switch {
  display: flex;
  justify-content: space-between;
  background-color: #ffffff3b;
  border-radius: 20px;
  height: 50px;
  gap: 10px;
  max-width: 550px;
  margin: auto;
}

.tab-button {
  flex: 1;
  border: none;
  background: none;
  color: #ccc;
  font-size: 1em;
  cursor: pointer;
  border-radius: 20px;
  backdrop-filter: blur(4px);
  transition: background-color 0.3s ease, color 0.3s ease;
}

.tab-button.active {
  background-color: #04afcd;
  color: #fff;
  box-shadow: 0 5px 15px rgba(4, 175, 205, 0.35);
}

.tab-content {
  width: 100%;
  box-sizing: border-box;
  transition: all 0.3s ease;
  margin: 0 auto;
}

.tab1-content,
.tab2-content {
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.tab1-content.active,
.tab2-content.active {
  display: flex;
}

.tab2-img {
  width: 90%;
  max-width: 700px;
  max-height: 600px;
  margin: auto;
}

.map-modal {
  position: fixed;
  background: #fff;
  color: #000;
  padding: 1.5em;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  display: none;
  z-index: 1000;
  width: 45%;
  max-width: 400px;
}

.map-modal::after {
  content: "";
  position: absolute;
  bottom: -30px;
  left: 50%;
  transform: translateX(-50%);
  border-width: 35px 16px 0 16px;
  border-style: solid;
  border-color: #fff transparent transparent transparent;
}

.map-modal img {
  width: 100%;
}

.map-modal h5 {
  font-size: 1.2em;
  margin: 0.5em 0;
}

.map-modal p {
  margin-top: 0;
}

#modal-shima-close {
  color: #000;
}

.tab1-content .close {
  display: none;
}

.guidance-title {
  margin: 2.5em 0 0.2em;
}

.kurahashi-guidance {
  display: flex;
  justify-content: space-between;
  border-top: solid 2px #04afcd;
  padding-top: 1em;
  align-items: center;
}

.kurahashi-guidance02 {
  display: flex;
  justify-content: space-between;
  padding-top: 1.5em;
  align-items: top;
}

.car-guidance-area {
  display: flex;
  flex-direction: column;
  width: 64%;
}

.car-guidance-box {
  background-color: hsla(0, 0%, 100%, 0.1);
  padding: 0.5em 1em;
  margin: 0.2em 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.car-guidance-box p {
  margin: 0;
  padding: 0;
  display: inline;
}

/* .car-add-info {
  width: 40%;
} */

.katurahama-area {
  width: 90%;
  margin: auto;
  display: grid;
  grid-template-columns: 32% 1fr;
  grid-template-rows: 1fr;
  grid-column-gap: 0px;
  grid-row-gap: 0px;
  padding: 1em 0 4em;
  align-items: center;
  justify-content: space-between;
}

.katurahama-txt {
  grid-area: 1 / 1 / 2 / 2;
}

.katurahama-txt p {
  margin: 0;
  padding: 0;
}

.kurahashi-area h4,
.katurahama-area h4 {
  margin: 0.5em 0;
  font-size: 32px;
  font-weight: 200;
}

.k-map {
  grid-area: 1 / 2 / 2 / 3;
  width: 100%;
  padding: 1em 0 0;
}

.k-map-img {
  width: 100%;
}

#svg-container {
  width: 100%;
  height: 100%;
  padding-left: 2em;
}

#svg-container svg {
  width: 100%;
  max-height: 600px;
  height: auto;
  display: block;
}

#point {
  width: 70px;
  height: 70px;
}

@keyframes infinity-scroll-left {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-100%);
  }
}

@keyframes infinity-scroll-right {
  from {
    transform: translateX(-100%);
  }
  to {
    transform: translateX(0%);
  }
}

.scroll-infinity__wrap {
  display: flex;
  overflow: hidden;
  width: 100%;
  height: auto;
  flex-direction: row;
}

.scroll-infinity {
  display: flex;
  flex-direction: column;
  gap: 5px;
  margin: 3em 0;
}

.scroll-infinity ul {
  padding: 0;
  margin: 5px 0 0 0;
}

.scroll-infinity li {
  padding: 0 5px;
  border: none;
}

.scroll-infinity__list {
  display: flex;
  list-style: none;
  padding: 0;
}

.scroll-infinity__list--left {
  animation: infinity-scroll-left 80s infinite linear 0.5s both;
}

.scroll-infinity__list--right {
  animation: infinity-scroll-right 80s infinite linear 0.5s both;
}

.scroll-infinity__item {
  width: calc(100vw / 5);
}

.scroll-infinity__item > img {
  width: 100%;
  height: auto;
  display: block;
  margin: 0;
}

/*管理施設エリア*/
.facility-area {
  margin: 4em 0;
}

.facility-area h2 {
  text-align: center;
  width: 100%;
}

.sub-title01 {
  font-size: 20px;
  color: #000;
  border-bottom: solid 1px #777777;
  padding-bottom: 1.5em;
  margin: auto;
  width: 90%;
  text-align: center;
}

/*ラッパー要素*/
.wrapper {
  display: flex;
  justify-content: space-between;
  position: relative;
  width: 95%;
  max-width: 1300px;
  margin: 2em auto;
  align-items: flex-start;
}

.wrapper.flex-end {
  align-items: flex-end;
}

/*コンテンツのブロック*/
.contents {
  width: 40vw;
  padding-bottom: 2em;
}

.contents li {
  padding: 5vh 0;
  padding-bottom: 2em;
  border-bottom: solid 1px #bbbbbb;
  color: #000;
}
.contents li:last-child {
  padding-bottom: 6vh;
}

.contents li.active {
  transition: background-color 0.3s;
}
.contents li.active h4,
.contents li.active p,
.contents li.active span {
  color: #04afcd;
}

/*画像のブロック*/
.facility-img {
  width: 40vw;
  position: sticky;
  top: 100px;
}

.facility-img.stop {
  position: relative;
  top: auto;
}

.facility-img figure {
  position: absolute;
  margin-top: 2em;
  opacity: 0;
  transition: opacity 0.6s ease;
  z-index: 1;
}

.facility-img figure.active {
  opacity: 1;
  z-index: 2;
  visibility: visible;
}

.stop figure {
  position: absolute;
  bottom: 0;
}

.facility-img img {
  width: 100%;
  max-width: 440px;
}

/*リンクテキストエリア*/
.facility-list-link {
  width: 60%;
}

.facility-list-link a {
  text-decoration: none;
  color: #222222;
}

.facility-list-link h4 {
  font-size: 1.5em;
  margin: 0.7em 0;
}

.facility-list-link p {
  margin: 0;
  color: #777777;
}

li {
  list-style: none;
}

.facility-list-area {
  display: grid;
  grid-template-columns: 10% 1fr 5%;
  grid-template-rows: 70% 1fr;
  grid-column-gap: 0px;
  grid-row-gap: 0px;
  align-items: center;
}

.facility-list-area .number {
  font-size: 1.8em;
  grid-area: 1 / 1 / 3 / 2;
  color: #777777;
}

.facility-name {
  grid-area: 1 / 2 / 2 / 3;
}

.facility-pr {
  grid-area: 2 / 2 / 3 / 3;
}

.facility-arrow {
  grid-area: 1 / 3 / 3 / 4;
  font-weight: 300;
}

/*動画背景設定*/
.video-bg-section {
  position: relative;
  overflow: hidden;
  width: 100%;
}

.video-wrap {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
}

.video-wrap video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.video-wrap .video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.82);
  z-index: 0;
}

.video-bg-section .content {
  position: relative;
  z-index: 1;
  padding: 100px 20px;
  color: white;
  max-width: 1200px;
  margin: 0 auto;
  border-radius: 8px;
  box-sizing: border-box;
}

/*観光スポットエリア*/
.tourist h4 {
  line-height: 1.4em;
  font-size: 1.5em;
  letter-spacing: 0.1em;
}

.tourist rt {
  color: #777777;
  padding-bottom: 5px;
  letter-spacing: 0;
}

.underline,
.underline02 {
  padding-bottom: 2px;
  font-weight: bold;
  position: relative;
  border-bottom: 2px solid #dddddd;
  font-size: 1.2em;
  color: #00a0c6;
}

.underline::before,
.underline02::before {
  content: "";
  position: absolute;
  bottom: -3px;
  width: 15%;
  height: 3px;
  background: #04afcd;
}

.spot-block {
  display: flex;
  align-items: center;
  position: relative;
}

.spot-explanation {
  width: 20%;
}

.spot-explanation h5 {
  font-weight: bold;
  font-size: 1.2em;
  margin: 0.5em 0;
}

.spot-explanation p {
  margin: 0;
  width: 80%;
}

.swiper-container {
  width: 80%;
  position: relative;
  box-sizing: border-box;
}

.swiper {
  width: 100%;
}

.swiper-wrapper {
  display: flex;
  align-items: flex-start;
  padding: 1em 0;
}

.swiper-slide {
  width: 33%;
  aspect-ratio: 440 / 265;
  display: flex;
  align-items: flex-start;
  justify-content: flex-end;
  overflow: visible;
}

.swiper-slide img {
  width: 70%;
  height: auto;
  object-fit: cover;
  transition: all 0.6s ease;
  opacity: 0.8;
  transform-origin: top left;
}

.swiper-slide-active img {
  width: 100%;
  opacity: 1;
}

.slide-pagination-wrapper {
  display: flex;
  justify-content: center;
  width: 15%;
  position: absolute;
  right: 10px;
  bottom: 0;
}

.swiper-button-prev,
.swiper-button-next {
  height: 40px;
  width: 40px;
  position: static;
  margin: 0 1em;
  bottom: 0px;
  right: 10px;
}

.tourist-swiper .swiper-button-next {
  right: 50px;
}

.tourist-swiper .swiper-button-prev {
  right: 10px;
}

.swiper-button-prev::after,
.swiper-button-next::after {
  content: "";
  background-repeat: no-repeat;
  background-size: contain;
  height: 50px;
  width: 50px;
  margin: auto;
}

.swiper-button-prev::after {
  background-image: url(../img/top/spot-slide/l-yajirushi.png);
}

.swiper-button-next::after {
  background-image: url(../img/top/spot-slide/r-yajirushi.png);
}

/* モーダル */
.tourist-modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(129, 129, 129, 0.8);
  padding-top: 60px;
}

.tourist-modal-content {
  display: block;
  margin: auto;
  max-height: 80vh;
  background-color: #fff;
  max-width: 600px;
  padding: 1.5em 1.5em 3em;
  border-radius: 5px;
  text-align: center;
  color: #333;
  position: relative;
}

.tourist-modal-content img {
  width: 100%;
}

.tourist-modal-content h4 {
  margin: 0.5em 0 1em;
  font-size: 1.3em;
}

.tourist-modal-content p {
  margin-bottom: 0.5em;
}

.tourist-modal-title {
  position: relative;
}

.tourist-modal-title::before {
  background-color: #969696;
  bottom: -5px;
  content: "";
  height: 1px;
  left: 50%;
  position: absolute;
  transform: translateX(-50%);
  width: 25%;
}

.tourist-modal-link {
  border: solid 1px #969696;
  padding: 0 2em;
  border-radius: 5px;
  display: inline-block;
  margin-bottom: 1em;
}

.tourist-modal-link a {
  text-decoration: none;
  color: #686868;
  font-size: 0.9em;
}

.tourist-close {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  font-size: 40px;
  cursor: pointer;
}

.tourist-close img {
  width: 100%;
  max-width: 140px;
}

/*ギャラリーエリア*/
.gallery-section {
  background: url("../img/top/yuukei.jpg") no-repeat center center/cover;
  color: white;
  text-align: center;
  padding: 0;
}

.gallery-section h2 {
  font-size: 36px;
  margin-bottom: 0;
}

.gallery-area {
  background-color: rgba(10, 61, 83, 0.8);
  padding: 4em 0 8em 0;
}

.sub-title02 {
  font-size: 1em;
  margin-bottom: 40px;
}

.erutag-block,
.movie-block {
  margin: auto;
}
.erutag-block {
  margin-bottom: 4em;
}

.block-title {
  text-align: left;
  font-weight: bold;
  margin: 20px 0 10px 10px;
  font-size: 16px;
}

.erutag-images,
.movie-thumbs {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  width: 100%;
}

.erutag-images img {
  width: 14%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  display: block;
}

.movie-item {
  width: 30%;
  cursor: pointer;
}

.movie-item video {
  width: 100%;
  object-fit: cover;
}

.movie-item p {
  text-align: left;
  margin-top: 0;
  margin-left: 5px;
  font-size: 0.9em;
}

/* モーダルスタイル */
.modal {
  display: none;
  position: fixed;
  z-index: 999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.6);
  align-items: center;
  justify-content: center;
}

.modal-content {
  position: relative;
  width: 80%;
  max-width: 800px;
}

.modal-content video {
  width: 100%;
  height: auto;
}

.close {
  position: absolute;
  top: -50px;
  right: -40px;
  font-size: 40px;
  color: white;
  cursor: pointer;
}

@media (max-width: 1025px) {
  .kurahashi-area {
    grid-template-columns: 1fr;
    grid-template-rows: 1fr;
  }

  .tab-area {
    grid-area: 2 / 1 / 3 / 2;
  }

  .kurahashi-access {
    grid-area: 3 / 1 / 4 / 2;
    width: 90%;
    margin: auto;
  }

  .katurahama-area {
    grid-template-columns: 32% 1fr;
  }

  .facility-img figure {
    margin: 0;
  }

  .facility-list-link {
    width: 55%;
  }

  .facility-list-area .number {
    font-size: 1.6em;
    margin-right: 1em;
  }
  .facility-list-link h4 {
    font-size: 1.5em;
  }
}

@media (max-width: 768px) {
  h2 {
    font-size: 36px;
    margin-top: 2em;
  }

  #hero h1 {
    font-size: 2.6em;
    margin: 0.2em 0;
    font-weight: lighter;
  }

  .normal-section01,
  .normal-section02 {
    padding: 20px 0 80px;
  }

  .news-area {
    flex-direction: column;
    margin: auto;
  }

  .news-header {
    width: 100%;
    margin: auto;
    padding: 0;
  }

  .news-contents {
    width: 100%;
  }

  .news-img {
    width: 80px;
    height: 80px;
  }

  .news-tag {
    font-size: 1em;
    margin-left: 0.5em;
  }

  .news-date {
    display: flex;
    align-items: center;
    font-size: 1em;
    margin-bottom: 0.4em;
  }

  .news-info {
    flex-direction: column;
    align-items: flex-start;
    width: 95%;
  }

  .news-title {
    margin: 0;
  }

  .kurahashi-guidance {
    flex-direction: column;
    padding-top: 1em;
    align-items: flex-start;
  }

  .kurahashi-txt h4 {
    margin-top: 1.5em;
    font-size: 1.75em;
  }

  .kurahashi-guidance p {
    margin: 0.5em 0;
  }

  .kurahashi-access {
    width: 100%;
  }

  .car-guidance-area {
    width: 100%;
  }

  .car-guidance-box {
    margin: 0.1em 0;
    justify-content: space-between;
  }

  .aboutarea-line {
    margin: 2em auto;
  }

  .katurahama-area {
    width: 100%;
    grid-template-columns: 1fr;
    grid-auto-rows: auto;
    align-items: center;
    padding-bottom: 1.5em;
  }

  .katurahama-txt {
    text-align: center;
    grid-area: 1 / 1 / 2 / 2;
  }

  .katurahama-txt h4 {
    margin: 1em 0 0.4em;
    padding: 0;
    line-height: 1.6em;
  }

  .k-map {
    align-items: center;
    grid-area: 2 / 1 / 3 / 2;
  }

  .k-map-img {
    width: 95%;
    margin: auto;
  }

  .katurahama-add-area {
    grid-area: 3 / 1 / 4 / 2;
  }

  .katurahama-add-area {
    display: grid;
    grid-template-columns: 10% 40% 10% 40%;
    grid-template-rows: repeat(3, 1fr);
    grid-column-gap: 0px;
    grid-row-gap: 0px;
    width: 100%;
    margin: 1em 0;
    align-items: center;
  }

  .katurahama-add-area img {
    width: 100%;
    max-width: 30px;
  }

  .katurahama-add-area p {
    margin: 5px 0 5px 5px;
    line-height: 1.2em;
  }

  .k-icon01 {
    grid-area: 1 / 1 / 2 / 2;
  }

  .k-icon01-txt {
    grid-area: 1 / 2 / 2 / 3;
  }

  .k-icon02 {
    grid-area: 1 / 3 / 2 / 4;
  }

  .k-icon02-txt {
    grid-area: 1 / 4 / 2 / 5;
  }

  .k-icon03 {
    grid-area: 2 / 1 / 3 / 2;
  }

  .k-icon03-txt {
    grid-area: 2 / 2 / 3 / 3;
  }

  .k-icon04 {
    grid-area: 2 / 3 / 3 / 4;
  }

  .k-icon04-txt {
    grid-area: 2 / 4 / 3 / 5;
  }

  .k-icon05 {
    grid-area: 3 / 1 / 4 / 2;
  }
  .k-icon05-txt {
    grid-area: 3 / 2 / 4 / 3;
  }

  .k-icon06 {
    grid-area: 3 / 3 / 4 / 4;
  }

  .k-icon06-txt {
    grid-area: 3 / 4 / 4 / 5;
  }

  .tab-switch {
    height: 45px;
  }

  #svg-container {
    padding: 0;
    margin: 1em 0 2em;
    width: 100%;
  }

  .map-modal {
    position: fixed;
    background: #fff;
    color: #000;
    padding: 1.5em;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    display: none;
    z-index: 1000;
    width: 80%;
    max-width: 400px;
  }

  .tab2-img {
    width: 100%;
  }

  .scroll-infinity {
    margin: 1em 0;
  }

  .scroll-infinity__item {
    width: calc(100vw / 2.2);
  }

  .wrapper {
    display: block;
  }

  .tourist h4 {
    margin-bottom: 1em;
  }

  .underline02 {
    border-bottom: 2px solid #dddddd;
  }

  .underline02::before {
    content: none;
    display: none;
  }

  .spot-block {
    flex-direction: column;
    align-items: start;
  }

  .spot-explanation {
    width: 98%;
    display: flex;
    margin-bottom: 1em;
    justify-content: space-between;
  }

  .spot-explanation h5 {
    width: 40%;
    margin-top: 0;
    font-size: 1.1em;
  }

  .spot-explanation p {
    width: 58%;
  }

  .swiper-container {
    width: 100%;
  }

  .swiper-slide {
    width: 100vw;
  }

  .swiper-slide img {
    transform: scale(1);
  }

  .swiper-slide {
    width: 33%;
    aspect-ratio: 440 / 265;
    display: flex;
    align-items: flex-start;
    justify-content: flex-end;
    overflow: visible;
  }

  .swiper-slide img {
    width: 100%;
  }

  .swiper-slide-active img {
    width: 100%;
    box-shadow: 0px 5px 15px -5px #050505ab;
  }

  .slide-pagination-wrapper {
    display: flex;
    justify-content: center;
    width: 15%;
    position: absolute;
    right: 10px;
    bottom: 0;
  }

  .wrapper {
    margin-top: 0;
  }

  .wrapper ul {
    padding: 0 1em;
    box-sizing: border-box;
  }

  .contents li {
    padding: 7vh 0 5vh;
  }

  .facility-list-area {
    display: grid;
    grid-template-columns: 14% 1fr;
    grid-template-rows: 1fr 15% 15%;
    align-items: start;
    color: #000;
  }

  .facility-list-area .number {
    font-size: 1.8em;
    grid-area: 1 / 1 / 6 / 2;
  }

  .facility-list-link h4 {
    font-size: 1.8em;
  }

  .facility-list-link p {
    font-size: 14px;
  }

  .facility-list-area figure {
    margin: 0;
    width: 100%;
  }

  .facility-list-img {
    grid-area: 1 / 2 / 2 / 3;
    width: 100%;
    height: 100%;
  }

  .facility-name {
    grid-area: 2 / 2 / 3 / 3;
    align-items: center;
  }

  .facility-pr {
    grid-area: 3 / 2 / 4 / 3;
    font-size: 1em;
    margin-top: 1em;
  }

  .facility-list-link {
    width: 100%;
  }

  .swiper-button-prev,
  .swiper-button-next {
    display: none;
  }

  .tourist-modal-content {
    width: 90%;
    box-sizing: border-box;
  }

  .gallery-area {
    padding: 3em 0;
  }

  .erutag-block {
    margin-bottom: 2.5em;
  }

  .erutag-images img {
    width: 32%;
    margin-bottom: 5px;
  }

  .movie-thumbs {
    flex-direction: column;
  }

  .movie-item {
    width: 100%;
    margin-bottom: 1em;
  }
}

@media (max-width: 520px) {
  .facility-list-area {
    grid-template-columns: 18% 1fr;
    grid-template-rows: 1fr 60px 80px;
  }

  .facility-list-area h4 {
    margin: 0.5em 0;
    font-size: 24px;
  }

  .facility-list-img {
    max-width: 350px;
    max-height: 350px;
  }
}

.scroll_down {
  position: absolute;
  bottom: 75px;
  right: 27px;
  height: 200px;
}

.scroll_down a {
  position: absolute;
  bottom: 79.13px;
  left: -11px;
  z-index: 101;
  color: #ffffff;
  font-size: 14px;
  font-weight: 700;
  font-family: "Garamond", sans-serif;
  writing-mode: vertical-rl;
  direction: ltr;
  white-space: nowrap;
  text-decoration: none;
  text-transform: none; /* 小文字を維持 */
  transform: scaleY(-1) scaleX(-1);
}

.scroll_down:before {
  content: "";
  position: absolute;
  bottom: 0;
  left: -4px;
  width: 7px;
  height: 7px;
  z-index: 100;
  border-radius: 50%;
  background: #18dfee;
  animation: circlemove 1.8s ease-in-out infinite, cirlemovehide 1.6s ease-out infinite;
}

.scroll_down:after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 1px;
  height: 66.13px;
  z-index: 99;
  background: #ffffff;
}

@keyframes circlemove {
  0% {
    bottom: 66.13px;
  }
  100% {
    bottom: 0px;
  }
}
