.content {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-image-container {
  display: flex;
  justify-content: center;
}

.hero-image {
  width: 100vw;
}

.copy-container {
  display: flex;
  justify-content: center;
}

.copy-icon-container {
  width: 400px;
  height: 250px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 24px;
  position: relative;
  text-align: center;
}

.copy-text {
  color: var(--black);
  font-family: var(--font-family-line_seed_jp_otf-regular);
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 3px;
  line-height: normal;
}

.copy-underline {
  background: linear-gradient(rgba(255, 192, 203, 0.5), rgba(255, 192, 203, 0.5)) bottom;
  background-size: 100% 3px;
  background-repeat: no-repeat;
  /* ここの数値で高さ調整できる！ */
  background-position: 0 90%;
}

.copy-spacing {
  height: 20px;
}

.copy-text-strong {
  margin: 20px;
  padding-left: 5px;
  color: var(--black);
  font-family: var(--font-family-line_seed_jp_otf-regular);
  font-size: 16px;
  font-weight: 400;
  letter-spacing: 4.8px;
}

.copy-member-icon {
  position: absolute;
}

.copy-member-icon-container-left {
  position: absolute;
  top: 0px;
  left: 0px;
}

.copy-member-icon-chika {
  width: 30px;
  height: 30px;
  top: 0px;
  left: 30px;
  transform: rotate(-10deg);
}

.copy-member-icon-yoshiko {
  width: 25px;
  height: 25px;
  top: 70px;
  left: 10px;
  transform: rotate(15deg);
}

.copy-member-icon-ruby {
  width: 25px;
  height: 25px;
  top: 120px;
  left: 50px;
}

.copy-member-icon-you {
  width: 30px;
  height: 30px;
  top: 180px;
  left: 20px;
  transform: rotate(-20deg);
}

.copy-member-icon-container-right {
  position: absolute;
  top: 0px;
  right: 0px;
}

.copy-member-icon-mari {
  width: 25px;
  height: 25px;
  top: 0px;
  right: 30px;
}

.copy-member-icon-kanan {
  width: 25px;
  height: 25px;
  top: 60px;
  right: 50px;
  transform: rotate(10deg);
}

.copy-member-icon-dia {
  width: 30px;
  height: 30px;
  top: 100px;
  right: 20px;
  transform: rotate(-10deg);
}

.copy-member-icon-riko {
  width: 30px;
  height: 30px;
  top: 140px;
  right: 60px;
  transform: rotate(20deg);
}

.copy-member-icon-hanamaru {
  width: 25px;
  height: 25px;
  top: 190px;
  right: 40px;
}

/* アイコンの基本設定 */
.copy-member-icon-container-left,
.copy-member-icon-container-right {
  position: absolute;
  width: 100%;
  max-width: 1200px;
  opacity: 1;
  visibility: visible;
  /* displayの代わりにvisibilityを使用 */
  transition: opacity 0.5s ease, visibility 0.5s ease;
  /* visibilityもトランジションに含める */
}

/* 360px以下でフェードアウト */
@media screen and (max-width: 360px) {

  .copy-member-icon-container-left,
  .copy-member-icon-container-right {
    opacity: 0;
    visibility: hidden;
    /* displayの代わりにvisibilityを使用 */
  }
}

/* 泡 */

.bubble-1 {
  width: 5px;
  height: 5px;
  line-height: 5px;
  background-color: #fedfe1;
  border-radius: 50%;
  position: absolute;
  top: 10px;
  left: 10px;
}

.bubble-2 {
  width: 10px;
  height: 10px;
  line-height: 10px;
  background-color: #fedfe1;
  border-radius: 50%;
  position: absolute;
  top: 25px;
  left: 0px;
}

.bubble-3 {
  width: 10px;
  height: 10px;
  line-height: 20px;
  background-color: #fedfe1;
  border-radius: 50%;
  position: absolute;
  top: 60px;
  left: 50px;
}

.bubble-4 {
  width: 8px;
  height: 8px;
  line-height: 15px;
  background-color: #fedfe1;
  border-radius: 50%;
  position: absolute;
  top: 110px;
  left: 10px;
}

.bubble-5 {
  width: 10px;
  height: 10px;
  line-height: 10px;
  background-color: #fedfe1;
  border-radius: 50%;
  position: absolute;
  top: 125px;
  left: 20px;
}

.bubble-6 {
  width: 5px;
  height: 5px;
  line-height: 15px;
  background-color: #fedfe1;
  border-radius: 50%;
  position: absolute;
  top: 200px;
  left: 70px;
}

.bubble-7 {
  width: 8px;
  height: 8px;
  line-height: 10px;
  background-color: #fedfe1;
  border-radius: 50%;
  position: absolute;
  top: 190px;
  left: 80px;
}

/* 泡　アニメーション　左 */
.bubble-left {
  width: 100px;
  height: 10px;
  position: absolute;
  top: 20px;
  left: 10px;
  animation: floating-y 1.8s ease-in-out infinite alternate-reverse;
}

.bubble-8 {
  width: 10px;
  height: 10px;
  line-height: 20px;
  background-color: #fedfe1;
  border-radius: 50%;
  position: absolute;
  top: 20px;
  right: 0px;
}

.bubble-9 {
  width: 8px;
  height: 8px;
  line-height: 10px;
  background-color: #fedfe1;
  border-radius: 50%;
  position: absolute;
  top: 40px;
  right: 10px;
}

.bubble-10 {
  width: 10px;
  height: 10px;
  line-height: 20px;
  background-color: #fedfe1;
  border-radius: 50%;
  position: absolute;
  top: 90px;
  right: 50px;
}

.bubble-11 {
  width: 5px;
  height: 5px;
  line-height: 15px;
  background-color: #fedfe1;
  border-radius: 50%;
  position: absolute;
  top: 130px;
  right: 10px;
}

.bubble-12 {
  width: 10px;
  height: 10px;
  line-height: 10px;
  background-color: #fedfe1;
  border-radius: 50%;
  position: absolute;
  top: 140px;
  right: 20px;
}

.bubble-13 {
  width: 5px;
  height: 5px;
  line-height: 15px;
  background-color: #fedfe1;
  border-radius: 50%;
  position: absolute;
  top: 0px;
  right: 60px;
}

.bubble-14 {
  width: 10px;
  height: 10px;
  line-height: 10px;
  background-color: #fedfe1;
  border-radius: 50%;
  position: absolute;
  top: 190px;
  right: 80px;
}

/* 泡　アニメーション　右 */

.bubble-right {
  width: 100px;
  height: 10px;
  position: absolute;
  top: 20px;
  right: 10px;
  animation: floating-y 1.8s ease-in-out infinite alternate-reverse;
}

@keyframes floating-y {
  0% {
    transform: translateY(-10%);
  }

  100% {
    transform: translateY(20%);
  }
}

.description-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 24px;
  width: 100%;
  text-align: center;
}

.subtitle-text {
  color: var(--black);
  font-family: var(--font-family-line_seed_jp_otf-regular);
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 4.5px;
}

.spacing {
  margin-top: 30px;
}

.strong-text {
  color: var(--cabaret);
  font-family: var(--font-family-line_seed_jp_otf-regular);
  font-size: var(--font-size-xl);
  font-weight: 400;
  letter-spacing: 4.5px;
  line-height: 24px;
}

/* リンクボタンのベーススタイル */
.link-button {
  border: none;
  border-radius: 10px;
  width: 310px;
  height: 50px;
  cursor: pointer;
  color: var(--white);
  font-family: var(--font-family-line_seed_jp_otf-bold);
  font-size: 14px;
  letter-spacing: 5px;
}

.link-button:hover {
  transition: 0.3s;
  opacity: 0.7;
}

/* リンクボタン　スタンプラリー　グッズの詳細はこちら */
.link-button-goods-page {
  background-color: var(--moonstone);
}

.facility-grid-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 40px;
  width: 100%;
  text-align: center;
}

.facility-grid {
  display: grid;
  /* 2列で固定幅 */
  grid-template-columns: repeat(2, 150px);
  gap: 10px;
  justify-content: center;
  width: 380px;
}

.facility-grid-item {
  background: white;
  border-radius: 4px;
  border: var(--moonstone) 8px solid;
  /* 画像がはみ出ないように */
  overflow: hidden;
  padding: 8px;
  position: relative;
}

.facility-grid-item:last-child {
  /* 最後の要素を両方のカラムにまたがせる */
  grid-column: 1 / -1;
  /* その中で中央寄せ */
  justify-self: center;
  width: 150px;
}

.facility-grid-photo {
  width: 100%;
  height: 70px;
  /* 画像比率キープ */
  object-fit: cover;
}

/* スタンプと温泉名のスタイル */
.stamp-name-container {
  display: flex;
  flex-direction: column;
  gap: 5px;
  align-items: start;
  margin-top: 10px;
}

.stamp-name-text {
  color: var(--black);
  font-family: var(--font-family-line_seed_jp_otf-regular);
  font-size: 10px;
  font-weight: 400;
}

.facility-name-text {
  color: var(--black);
  font-family: var(--font-family-line_seed_jp_otf-bold);
  font-size: 13px;
  font-weight: 700;
}

.facility-grid-stamp {
  width: 52px;
  height: 52px;
  position: absolute;
  right: 0px;
  top: 0px;
  transform: rotate(-15.00deg);
  overflow: hidden;
  object-fit: cover;
}

/* リンクボタン　施設詳細はこちら */
.link-button-facility-page {
  background-color: var(--cabaret);
}

.map-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 20px;
  width: 100%;
  text-align: center;
}

.map-caption-text {
  color: var(--black);
  font-family: var(--font-family-line_seed_jp_otf-regular);
  font-size: 8px;
  font-weight: 400;
  letter-spacing: 2px;
}

.map-background {
  background: linear-gradient(180deg, rgb(117.54, 197.92, 226.39) 39.5%, rgb(135.48, 214.37, 234.92) 100%);
  width: 325px;
  height: 539px;
}

.map-frame {
  display: flex;
  width: 325px;
  height: 539px;
  align-items: flex-start;
  overflow: hidden;
  position: relative;
}

.map-title {
  color: var(--cabaret);
  font-family: var(--font-family-line_seed_jp_otf-bold);
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 6.00px;
  position: absolute;
  top: 30px;
  left: 65px;
}

.map-image {
  background-image: url(/img/map-east-shizuoka.png);
  align-items: flex-end;
  background-position: 50% 50%;
  background-size: cover;
  min-width: 580px;
  height: 533px;
  display: flex;
  justify-content: flex-end;
  margin-left: -142px;
  margin-top: -17px;
  padding: 200px 155px;
}

.map-rail {
  width: 270px;
  height: 85px;
  position: absolute;
  top: 212px;
  left: 10px;
}

.map-pin-pos-station {
  position: absolute;
  top: 235px;
  left: 158px;
}

.map-pin-station {
  width: 20px;
  position: relative;
  left: -7px;
}

.map-caption {
  color: var(--cabaret);
  font-family: var(--font-family-line_seed_jp_otf-bold);
  font-size: 11px;
  font-weight: 700;
  text-align: center;
  text-shadow: #fff 2px 0, #fff -2px 0, #fff 0 -2px, #fff 0 2px, #fff 2px 2px, #fff -2px 2px, #fff 2px -2px, #fff -2px -2px, #fff 1px 2px, #fff -1px 2px, #fff 1px -2px, #fff -1px -2px, #fff 2px 1px, #fff -2px 1px, #fff 2px -1px, #fff -2px -1px, rgba(0, 0, 0, .5) 3px 3px 3px;
}

.map-caption-station {
  position: absolute;
  top: 10px;
  left: -14px;
}

.map-pin-pos-fuji {
  position: absolute;
  top: 100px;
  left: 115px;
  cursor: pointer;
}

.map-pin-fuji {
  width: 30px;
}

.map-caption-fuji {
  margin-top: -5px;
}

/* ピンのスタイル */
.map-pin {
  width: 19px;
  height: 27px;
  cursor: pointer;
}

.map-pin-pos-chika {
  position: absolute;
  top: 275px;
  left: 185px;
}

.map-pin-pos-riko {
  position: absolute;
  top: 247px;
  left: 182px;
}

.map-pin-pos-kanan {
  position: absolute;
  top: 203px;
  left: 167px;
}

.map-pin-pos-dia {
  position: absolute;
  top: 375px;
  left: 255px;
}

.map-pin-pos-you {
  position: absolute;
  top: 300px;
  left: 140px;
}

.map-pin-pos-yoshiko {
  position: absolute;
  top: 200px;
  left: 215px;
}

.map-pin-pos-hanamaru {
  position: absolute;
  top: 270px;
  left: 205px;
}

.map-pin-pos-mari {
  position: absolute;
  top: 265px;
  left: 170px;
}

.map-pin-pos-ruby {
  position: absolute;
  top: 207px;
  left: 140px;
}

.map-google {
  left: 200px;
  letter-spacing: 6.60px;
  top: 6132px;
  width: 880px;
}

/* リンクボタン　Google MAP */
.link-button-map-page {
  background-color: var(--moonstone);
}

.link-button-questionnaire-page {
  background-color: var(--cabaret);
}

.questionnaire-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 20px;
  width: 100%;
  text-align: center;
}

.sns-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 24px;
  width: 100%;
  text-align: center;
  margin-bottom: 90px;
}

/* xタイムライン埋め込み */
.twitter-timeline {
  overflow: hidden;
  /* 表示済みの紫を黒にする */
  color: var(--black) !important;
  font-family: var(--font-family-line_seed_jp_otf-regular);
  font-size: 16px;
}

/* フッターページリンクのコンテナ要素 */
.page-link-container-top {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 24px;
}

.index-footer-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 20px;
  width: 100%;
  text-align: center;
}

/* マップ詳細モーダル関連のスタイル ここから↓ */

/* ピンのスタイル */
.map-pin {
  cursor: pointer;
}

/* モーダルのオーバーレイ */
.modal-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 1000;
  opacity: 0;
  transition: opacity 0.3s ease;
}

/* モーダルダイアログのスタイル */
.modal-content {
  position: fixed;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-evenly;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.9);
  background-color: rgba(0, 0, 0, 0.75);
  padding: 20px 20px;
  border-radius: 15px;
  width: 360px;
  height: 580px;
  overflow-y: auto;
  z-index: 1001;
  transition: all 0.3s ease;
}

.modal-overlay.active {
  opacity: 1;
}

.modal-content.active {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

.facility-detail {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.facility-content {
  opacity: 0;
  transition: opacity 0.3s ease-out;
}

.facility-content.active {
  opacity: 1;
}

/* モーダルを閉じるボタンのスタイル */
.close-button-container {
  cursor: pointer;
  position: absolute;
  right: 50px;
  top: 20px;
}

.close-button {
  width: 25px;
  height: 25px;
  position: absolute;
  top: 0;
  left: 0;
}

/* 左右矢印ボタンのスタイル */
.arrow-button-container {
  position: absolute;
  top: 280px;
  width: 90%;
}

.arrow-button {
  cursor: pointer;
  position: absolute;
  width: 24px;
  height: 38px;
}

/* 左矢印ボタン */
.arrow-button.left {
  left: 0;
}

/* 右矢印ボタン */
.arrow-button.right {
  right: 0;
}

/* 施設名称のスタイル */
.title-container {
  display: flex;
  align-items: center;
  height: 40px;
}

/* ♨アイコンのスタイル */
.spa-icon {
  height: 22px;
  width: 28px;
  margin-right: 8px;
}

/* モーダル内のピン画像のスタイル */
.pin-image {
  width: 24px;
  height: 38px;
  margin-bottom: 5px;
}

.location-title {
  color: var(--white);
  font-family: var(--font-family-line_seed_jp_otf-bold);
  font-size: 23px;
  letter-spacing: 7.5px;
}

/* キャプションのスタイル */
.facility-caption {
  display: flex;
  align-items: center;
  gap: 2px;
  height: 50px;
  text-align: center;
  color: var(--white);
  font-family: var(--font-family-line_seed_jp_otf-bold);
  font-size: 12px;
  letter-spacing: 5px;
  line-height: 20px;
}

.stamp-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-around;
  gap: 10px;
}

/* モーダル内のスタンプ画像のスタイル */
.stamp-image {
  width: 150px;
}

/* モーダル内の施設画像のスタイル */
.modal-facility-image {
  width: 150px;
}

.button-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-around;
  gap: 10px;
  margin-top: 10px;
}

/* リンクボタン */
.btn {
  width: 250px;
  height: 40px;
  padding: 10px 20px;
  border: none;
  border-radius: 5px;
  color: white;
  cursor: pointer;
  color: var(--white);
  font-family: var(--font-family-line_seed_jp_otf-bold);
  font-size: 16px;
  letter-spacing: 4.5px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.btn.hp {
  background-color: var(--cabaret);
}

.btn.map {
  background-color: var(--moonstone);
}

/* マップ詳細モーダルのスタイル ここまで↑ */