.section__title {
  font-family: "Arial";
  font-size: 2.8rem;
  display: inline-block;
  background: linear-gradient(90deg, #000000, #f21d89);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  /* Firefox対応 */
  text-fill-color: transparent;
  letter-spacing: 0.08em;
  position: relative;
  margin-bottom: 2.5rem;
  text-transform: uppercase;
  text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.4);
  transition: transform 0.3s ease, letter-spacing 0.3s ease;
}

.section__title::after {
  content: "";
  position: absolute;
  bottom: -12px;
  left: 0;
  /* 左揃え */
  width: 100px;
  height: 5px;
  background: linear-gradient(90deg, #000000, #f21d89, #000000);
  border-radius: 3px;
  box-shadow: 0 2px 8px rgba(242, 29, 137, 0.6);
  animation: line-glow 3s infinite linear;
  background-size: 200% auto;
}

.facility-name {
  background: linear-gradient(90deg, #000000, #f21d89);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-fill-color: transparent;
  text-align: center;
  letter-spacing: 0.08em;
  position: relative;
  margin-bottom: 2.5rem;
  text-transform: uppercase;
  text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.4);
  transition: transform 0.3s ease, letter-spacing 0.3s ease;
  font-size: 24px;
}



@keyframes line-glow {
  0% {
    background-position: 0% 50%;
  }

  100% {
    background-position: 200% 50%;
  }
}

/* レスポンシブ調整 */
@media (max-width: 768px) {
  .section__title {
    font-size: 2rem;
    /* スマホ向けに縮小 */
    letter-spacing: 0.05em;
  }

  .section__title::after {
    width: 70px;
    /* 下線も短く調整 */
    height: 4px;
    bottom: -10px;
  }
  .facility-name {
    font-size: 15px;
  }

}

@media (max-width: 480px) {
  .section__title {
    font-size: 1.6rem;
    /* 小さい画面向け */
    letter-spacing: 0.04em;
  }

  .section__title::after {
    width: 50px;
    height: 3px;
    bottom: -8px;
  }
}


/* Topセクション */
.top-section {
  position: relative;
  width: 100%;
  height: 60vh;
  overflow: hidden;
}

.top-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (max-width: 768px) {
  .top-section {
    height: 43vh;
  }
}

.top-title {
  position: absolute;
  font-family: system-ui, sans-serif;
  top: 57%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  font-weight: bold;
  font-size: clamp(1.5rem, 5vw, 3rem);
  color: #ffffff;
  /* 基本文字色 */

  /* 文字だけの3D感 */
  text-shadow:
    1px 1px 0 #f21d89,
    2px 2px 0 #333,
    3px 3px 0 #088b0b,
    4px 4px 0 #f21d89,
    5px 5px 5px rgba(0, 0, 0, 0.5);
}


/* 文字サイズを画面幅に応じて調整 */
.top-title h1 {
  position: relative;
  font-size: clamp(1.5rem, 5vw, 3rem);
  z-index: 1;
  background: none;
  display: inline-block;
  padding: 1em 2em;
  white-space: nowrap;
}

/* 各文字をアニメーション対象にする */
.top-title h1 span {
  display: inline-block;
  opacity: 0;
  animation: fly-in 1s forwards;
}

/* 1文字ずつディレイを付けて順番に出現 */
.top-title h1 span:nth-child(1) {
  animation-delay: 0.1s;
}

.top-title h1 span:nth-child(2) {
  animation-delay: 0.2s;
}

.top-title h1 span:nth-child(3) {
  animation-delay: 0.3s;
}

.top-title h1 span:nth-child(4) {
  animation-delay: 0.4s;
}

.top-title h1 span:nth-child(5) {
  animation-delay: 0.5s;
}

.top-title h1 span:nth-child(6) {
  animation-delay: 0.6s;
}

.top-title h1 span:nth-child(7) {
  animation-delay: 0.7s;
}

/* アニメーション定義：いろんな方向から飛んでくる */
@keyframes fly-in {
  0% {
    opacity: 0;
    transform: translate(calc(var(--x, 0) * 100px),
        calc(var(--y, 0) * 100px)) rotate(-30deg);
  }

  100% {
    opacity: 1;
    transform: translate(0, 0) rotate(0);
  }
}

/* ランダムっぽさを出すためにカスタムプロパティで方向を変える */
.top-title h1 span:nth-child(odd) {
  --x: 1;
  --y: -1;
}

.top-title h1 span:nth-child(even) {
  --x: -1;
  --y: 1;
}



.top-title h1 {
  position: relative;
  font-size: clamp(1.5rem, 5vw, 3rem);
  /* 最小1.5rem、最大3rem */
  z-index: 1;
  /* 丸より前面に表示 */
  background: none;
  /* 背景なし */
  display: inline-block;
  padding: 1em 2em;
  /* paddingも文字サイズに合わせる */
}

.top-title h1::before {
  content: "";
  position: absolute;
  top: 60%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: clamp(100px, 25vw, 280px);
  height: clamp(100px, 25vw, 280px);

  /* 球体っぽいグラデーション */
  background: radial-gradient(circle at 30% 30%,
      rgb(242 29 137 / 62%),
      rgba(50, 150, 255, 0.8),
      rgba(10, 20, 60, 0.95));

  border-radius: 50%;

  /* 光沢・立体感 */
  box-shadow:
    inset -10px -10px 25px rgba(255, 255, 255, 0.7),
    inset 8px 8px 20px rgba(0, 0, 0, 0.4),
    0 12px 25px rgba(0, 0, 0, 0.5),
    0 0 25px rgba(50, 150, 255, 0.6);
  /* ネオン外光 */

  z-index: -1;
  animation: glowPulse 6s ease-in-out infinite;
}

/* ネオンが呼吸するようなアニメーション */
@keyframes glowPulse {

  0%,
  100% {
    box-shadow:
      inset -10px -10px 25px rgba(255, 255, 255, 0.7),
      inset 8px 8px 20px rgba(0, 0, 0, 0.4),
      0 12px 25px rgba(0, 0, 0, 0.5),
      0 0 25px rgba(50, 150, 255, 0.6);
  }

  50% {
    box-shadow:
      inset -8px -8px 20px rgba(255, 255, 255, 0.8),
      inset 6px 6px 18px rgba(0, 0, 0, 0.35),
      0 10px 20px rgba(0, 0, 0, 0.45),
      0 0 45px rgba(50, 200, 255, 0.9);
  }
}


/********************************
矢印の場所　css　start
*********************************/
/* コンテナ全体 */
.breadcrumb-container {
  display: flex;
  align-items: center;
  gap: 15px;
  background: linear-gradient(135deg, #928866, #33465f);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(5px);
  padding: 0px 0px 0px 20px;
}

/* ロゴ */
.breadcrumb-logo img {
  height: 20px;
  width: auto;
  transition: transform 0.3s;
}

.breadcrumb-logo img:hover {
  transform: scale(1.1) rotate(-5deg);
}

/* パンくずリスト */
.main-header-breadcrumbs-list {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  padding: 0;
  font-family: 'Poppins', sans-serif;
  color: #fff;
  text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.5);
}

/* 矢印 */
/* パンくずリスト */
.main-header-breadcrumbs-list {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 15px;
  margin: 0;
  padding: 0;
  font-family: 'Poppins', sans-serif;
  color: #fff;
  font-size: 12px;
}

/* 矢印装飾 */
.main-header-breadcrumbs-list li:not(:last-child)::after {
  content: "";
  display: inline-block;
  width: 14px;
  height: 14px;
  margin: 0 10px;
  background: linear-gradient(135deg, #ffcc00, #ff9900);
  clip-path: polygon(0 0, 100% 50%, 0 100%);
  transition: transform 0.3s, filter 0.3s;
}

.main-header-breadcrumbs-list li:not(:last-child):hover::after {
  transform: translateX(3px) rotate(10deg);
  filter: drop-shadow(0 0 4px #ffeb3b);
}

/* リンク */
.main-header-breadcrumbs-list li a {
  color: #fff;
  text-decoration: none;
  transition: color 0.3s, transform 0.3s;
}

.main-header-breadcrumbs-list li a:hover {
  color: #ffeb3b;
  transform: translateY(-2px);
}

/* 現在のページ */
.main-header-breadcrumbs-list li.current {
  color: #ffeb3b;
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.7);
}

/* レスポンシブ調整 */
@media screen and (max-width: 600px) {

  .main-header-breadcrumbs-list {
    gap: 5px;
    font-size: 13px;
  }
}


/***********************************
矢印の場所　css　end
***********************************/



.facility-img {
  width: 100%;
  /* 親要素に合わせて横幅を調整 */
  height: auto;
  /* 縦横比を維持 */
  display: block;
  /* ブロック表示で余白調整しやすく */
  margin: 0 auto;
  /* 中央揃え */
}

.facility-img01 {
    width: 60%;
    height: auto;
    padding: 10px 0px 30px 0px;
    display: block;
    margin: 0 auto;
}



/* 施設紹介 */
.facility-info {
  max-width: 1000px;
  margin: 50px auto;
  padding: 0 20px;
}


.facility-info h3 {
  color: #f21d89;
  margin-bottom: 15px;
}

.facility-info p {
  margin-bottom: 20px;
  font-size: 1.1rem;
}

.buttons {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.btn {
  background-color: #f21d89;
  color: #fff;
  padding: 12px 25px;
  border-radius: 30px;
  transition: 0.3s;
  display: inline-block;
  margin-bottom: 20px;
}

.btn:hover {
  background-color: #d11b7f;
}

.download {
  background-color: #555;
}

.download:hover {
  background-color: #333;
}

/* Mapセクション */
.map-section {
  max-width: 1000px;
  margin: 50px auto;
  padding: 0 20px;
}


/* レスポンシブ */
@media screen and (max-width: 768px) {
  .top-title span {
    font-size: 2rem;
  }

  .top-title h1 {
    font-size: 1.5rem;
    padding: 8px 15px;
  }
}

/***********************************
アクセス　css　ｓtart
***********************************/
/* section-map 背景設定 */
#section-map {
  position: relative;
  background-image: url('../img/bg-map.jpg');
  /* 背景画像パス */
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: 80px 20px;
  /* 上下の余白 */
  color: #fff;
  /* テキスト色 */
}

/* map-container を左右に並べる */
.map-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 30px;
}

/* テキスト部分 */
.map-text {
  flex: 1 1 300px;
  /* 最小幅300pxで拡張可能 */
  color: black;
}

/* タイトル */
.map-text .section__title {
  font-size: 2rem;
}

/* 地図部分 */
.map-container iframe {
  flex: 1 1 400px;
  /* 最小幅400pxで拡張可能 */
  border: 0;
  width: 100%;
  height: 300px;
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(37, 35, 36, 0.6);
}

/* スマホ対応 */
@media (max-width: 768px) {
  .map-container {
    flex-direction: column;
  }

  .map-container iframe {
    height: 250px;
  }

  .map-text {
    text-align: center;
  }
}