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%;
  height: 100%;
  max-width: none;
  object-fit: contain;
  margin-right: 0;
  flex-shrink: 0;
}

.news-img-wrap {
  width: 144px;
  height: 80px;
  flex-shrink: 0;
  margin-right: 20px;
  background-color: #000;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.news-img-wrap .news-img-plain {
  object-fit: cover;
}

.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: 18px;
  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: center;
}

.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: 1.5em 0 .5em;
  font-size: 32px;
  font-weight: 200;
}

.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%;
}

.k-map p {
  margin: 0.5em 0 30px;
  text-align: right;
}

.k-map p a {
  color: #fff;
  text-decoration: none;
  font-size: 18px;
  line-height: 1.4;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.k-map-link-pin {
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  object-fit: contain;
}



#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 #container-r {
  width: 100%;
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

.tourist #container-rr {
  width: 100%;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;

}

.tourist {
  background: linear-gradient(180deg, #fbfcfc 0%, #f1f6f5 100%);
}



.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 {
  margin: 50px 0 10px;
  padding-bottom: 0;
  font-weight: bold;
  position: relative;
  border-bottom: none;
  font-size: 32px;
  color: #00a0c6;
  text-align: center;
}

.underline::before {
  content: none;
}

@media (min-width: 769px) {
  .tourist .underline {
    margin-bottom: 0;
  }
}

.tourist-lead {
  margin: 0 0 35px;
  text-align: center;
  color: #4e5d60;
  font-size: 1.05em;
  letter-spacing: 0.08em;
}

.tourist-carousel {
  --tourist-visible: 3;
  overflow-x: clip;
  overflow-y: visible;
  --tourist-center-width: clamp(720px, 40vw, 760px);
  --tourist-side-width: clamp(504px, 28vw, 532px);
  --tourist-side-offset: clamp(40px, 3.8vw, 56px);
  --tourist-gap: 18px;
  --tourist-edge-peek: 0px;
  width: 100%;
  max-width: calc(var(--tourist-center-width) + var(--tourist-side-width) * 2 + var(--tourist-gap) * 2 + var(--tourist-edge-peek) * 2);
  margin: 0 auto;
}

.tourist-carousel-viewport {
  width: 100%;
  margin: 0 auto;
  overflow: visible;
}

.tourist-carousel-track {
  display: flex;
  align-items: flex-start;
  gap: var(--tourist-gap);
  will-change: transform;
  transform: translate3d(0, 0, 0);
  backface-visibility: hidden;
}

.tourist-slide {
  flex: 0 0 var(--tourist-side-width);
  width: var(--tourist-side-width);
  padding: var(--tourist-side-offset) 0 0;
  border: 0;
  background: transparent;
  box-shadow: none;
  appearance: none;
  -webkit-appearance: none;
  border-radius: 0;
  cursor: pointer;
}

.tourist-slide-image {
  display: block;
  width: 100%;
  aspect-ratio: 630 / 355;
  object-fit: cover;
  border: 1px solid #d9dfdf;
  background: #f4f6f6;
  opacity: 0.28;
  box-shadow: 0 18px 30px -18px rgba(18, 50, 58, 0.2), 0 8px 14px -10px rgba(18, 50, 58, 0.1);
  transition: box-shadow 0.32s ease, transform 0.32s ease;
  backface-visibility: hidden;
}

.tourist-slide.is-current {
  flex-basis: var(--tourist-center-width);
  width: var(--tourist-center-width);
  padding-top: 0;
}

.tourist-slide.is-current .tourist-slide-image {
  opacity: 1;
  box-shadow: 0 24px 38px -20px rgba(18, 50, 58, 0.24), 0 10px 18px -12px rgba(18, 50, 58, 0.12);
  transform: none;
}

.tourist-slide.is-near {
  padding-top: var(--tourist-side-offset);
}

.tourist-slide.is-near .tourist-slide-image {
  opacity: 0.58;
}

.tourist-slide.is-far {
  padding-top: calc(var(--tourist-side-offset) + 10px);
}

.tourist-slide.is-far .tourist-slide-image {
  opacity: 0.2;
}

.tourist-stage-copy {
  width: 100%;
  max-width: var(--tourist-center-width);
  margin: 20px auto 0;
}

.tourist-stage-header {
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 1.5rem;
  flex-wrap: nowrap;
}

.tourist-stage-text {
  flex: 1 1 auto;
  min-width: 0;
  margin: 0;
  padding: 0;
  text-align: left;
}

.tourist-stage-title {
  margin: 0;
  padding: 0;
  color: #24383d;
  font-size: 24px;
  font-weight: 500;
  line-height: 1.35;
  text-indent: 0;
  text-align: left;
  overflow-wrap: anywhere;
}

.tourist-stage-address {
  margin: 0.6rem 0 0;
  color: #48585c;
  font-size: 1rem;
  line-height: 1.9;
  text-align: left;
}

.tourist-stage-nav {
  display: flex;
  flex-shrink: 0;
  gap: 0.85rem;
  margin-left: auto;
  margin-right: 4px;
  align-self: flex-start;
}

.tourist-nav-button {
  width: 3.2rem;
  height: 3.2rem;
  border-radius: 999px;
  border: 1px solid rgba(103, 122, 126, 0.35);
  background: rgba(255, 255, 255, 0.92);
  color: #38484b;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1.25rem;
  transition: background 0.2s ease, transform 0.2s ease, border-color 0.2s ease;
}

.tourist-nav-button:hover {
  background: #ffffff;
  border-color: rgba(50, 84, 92, 0.5);
  transform: translateY(-2px);
}

.tourist-stage-map-wrap {
  width: 100%;
  margin-top: 1.4rem;
  display: flex;
  justify-content: center;
}

.tourist-stage-map {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  width: 160px;
  height: 50px;
  padding: 0;
  border-radius: 999px;
  background-color: #04afcd;
  color: #ffffff;
  text-decoration: none;
  box-shadow: 0px 6px 14px 0px rgba(24, 224, 238, 0.28);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  box-sizing: border-box;
  opacity: 1;
}

.tourist-stage-map:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 34px rgba(102, 193, 216, 0.3);
}

.tourist-stage-map.is-disabled {
  pointer-events: none;
  opacity: 0.3;
}

@media (min-width: 1680px) {
  .tourist-carousel {
    --tourist-center-width: clamp(720px, 40vw, 760px);
    --tourist-side-width: clamp(504px, 28vw, 532px);
    --tourist-side-offset: clamp(40px, 3.8vw, 56px);
    --tourist-gap: 18px;
    --tourist-edge-peek: 72px;
  }
}

@media (min-width: 1920px) {
  .tourist-carousel-viewport {
    overflow: hidden;
  }
}

@media (min-width: 1024px) and (max-width: 1679px) {
  .tourist-carousel {
    overflow-x: clip;
    overflow-y: visible;
    --tourist-center-width: clamp(720px, 40vw, 760px);
    --tourist-side-width: clamp(504px, 30vw, 532px);
    --tourist-side-offset: clamp(40px, 3.8vw, 56px);
    --tourist-gap: 14px;
    --tourist-edge-peek: 0px;
  }
}

@media (min-width: 768px) and (max-width: 1023px) {
  .tourist-carousel {
    overflow-x: clip;
    overflow-y: visible;
    --tourist-center-width: clamp(420px, 72vw, 620px);
    --tourist-side-width: clamp(294px, 50vw, 434px);
    --tourist-side-offset: clamp(24px, 4vw, 42px);
    --tourist-gap: 8px;
    --tourist-edge-peek: 0px;
    max-width: calc(var(--tourist-center-width) + var(--tourist-side-width) * 2 + var(--tourist-gap) * 2);
  }

  .tourist-stage-copy {
    width: 100%;
    max-width: var(--tourist-center-width);
  }
}

@media (max-width: 767px) {
  .tourist-lead {
    margin-bottom: 1.8rem;
    font-size: 0.95rem;
  }

  .tourist-carousel {
    overflow-x: clip;
    overflow-y: visible;
    --tourist-visible: 1;
    --tourist-center-width: min(100%, 630px);
    --tourist-side-width: min(100%, 630px);
    --tourist-side-offset: 0px;
    --tourist-gap: 0px;
    --tourist-edge-peek: 0px;
    max-width: 630px;
  }

  .tourist-slide {
    display: block;
    flex-basis: 100%;
    padding-top: 0;
    line-height: 0;
  }

  .tourist-slide.is-current .tourist-slide-image,
  .tourist-slide.is-near .tourist-slide-image,
  .tourist-slide.is-far .tourist-slide-image,
  .tourist-slide-image {
    opacity: 1;
    transform: none;
    box-shadow: none;
  }

  .tourist-slide.is-current {
    padding: 0 3px;
    box-sizing: border-box;
  }


  .is-far .tourist-slide-image {
    border: none;
  }

  .is-current .tourist-slide-image {
    border: 1px solid #d9dfdf;
    padding: 0;
  }

  .tourist-slide.is-far {
    padding-top: calc(var(--tourist-side-offset));
  }

  .tourist-stage-copy {
    width: 100%;
    max-width: none;
    margin-top: 20px;
  }

  .tourist-stage-nav {
    gap: 0.6rem;
  }

  .tourist-nav-button {
    width: 2.8rem;
    height: 2.8rem;
  }

  .tourist-stage-header {
    gap: 1rem;
    flex-wrap: nowrap;
  }

  .tourist-stage-title {
    font-size: 16px;
  }

  .tourist-stage-address {
    font-size: 0.95rem;
    line-height: 1.75;
  }

  .tourist-stage-map-wrap {
    margin-top: 1.4rem;
  }

  .tourist-stage-map {
    width: 160px;
  }
}

/*ギャラリーエリア*/
.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;
}

.instagram-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  row-gap: 12px;
}

.instagram-grid a,
.instagram-item {
  width: 15.5%;
}

.instagram-grid img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  display: block;
}

@media (max-width: 768px) {

  .instagram-grid a,
  .instagram-item {
    width: 32%;
  }
}

.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: 28px;
    margin-top: 2em;
  }

  .sub-title00,
  .sub-title01,
  .tourist>#container>span {
    font-size: 14px;
  }

  .gallery-section h2 {
    font-size: 28px;
  }

  #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-wrap {
    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: 24px;
  }

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

  .kurahashi-guidance02 {
    flex-direction: column;
    justify-content: flex-start;
    padding-top: 1em;
    margin-top: 1.5em;
    align-items: flex-start;
  }

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

  .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;
    font-size: 28px;
    line-height: 1.6em;
  }

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

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

  .k-map p {
    margin: 0.5em 0 10px;
  }

  .k-map p a {
    font-size: 14px;
  }

  .k-map-link-pin {
    width: 14px;
    height: 14px;
    flex: 0 0 14px;
  }

  .katurahama-add-area {
    grid-area: 3 / 1 / 4 / 2;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    width: 100%;
    margin: 1em 0;
  }

  .k-map-button {
    min-height: 55px;
    padding: 10px 8px;
    border: 1px solid #fff;
    background: transparent;
    display: flex;
    align-items: center;
    gap: 8px;
    box-sizing: border-box;
    text-decoration: none;
  }

  .k-map-button::after {
    content: "";
    display: block;
    width: 10px;
    height: 10px;
    margin-left: auto;
    flex: 0 0 10px;
    background: url("../img/white_arrow.png") no-repeat center center / contain;
  }

  .k-map-button-icon {
    width: 22px;
    height: 22px;
    flex: 0 0 22px;
    object-fit: contain;
  }

  .k-map-button-label {
    color: #fff;
    font-size: 14px;
    line-height: 1.3;
    font-weight: 500;
    word-break: break-word;
    min-width: 0;
  }

  .k-map-button-label-spa {
    white-space: normal;
    font-size: 13px;
    line-height: 1.3;
    letter-spacing: -0.03em;
  }

  .k-map-button-label-process {
    white-space: normal;
    font-size: 13px;
    line-height: 1.3;
    letter-spacing: -0.03em;
  }

  .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;
  }

  .tourist .underline {
    margin-bottom: 0;
    font-size: 20px;
  }

  .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%;
  }


  .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;
  }
}