/* screen - detail */

.detail {
  align-items: center;
  background-color: var(--white);
  display: flex;
  flex-direction: column;
  gap: 5.07vw;
  overflow: hidden;
  position: relative;
}

/* .detail .hero {
  height: 13.4vw;
  margin-left: -0.02vw;
  margin-right: -0.02vw;
  position: relative;
  width: 100.03vw;
  min-height: 79px;
} */

.detail .overlap-group {
  height: 13.4vw;
  position: relative;
  width: 100.0vw;
}

.detail .rectangle-1 {
  background-color: var(--white);
  height: 11.18vw;
  left: 0;
  position: absolute;
  top: 2.22vw;
  width: 100.0vw;
}

.detail .mask-group-1 {
  left: 0;
  position: absolute;
  top: 0;
  width: 100%;
}

.detail .rectangle-13 {
  height: 12.5vw;
  left: 0;
  position: absolute;
  top: 0;
  width: 100.0vw;
}

.detail .events {
  letter-spacing: 0;
  line-height: normal;
  margin-top: -0.07vw;
  position: relative;
  width: fit-content;
}

.detail .news {
  letter-spacing: 0;
  line-height: normal;
  margin-top: -0.07vw;
  position: relative;
  width: fit-content;
}

.detail .city-of-shimoda {
  letter-spacing: 0;
  line-height: 1.39vw;
  margin-top: -0.07vw;
  position: relative;
  text-align: center;
  white-space: nowrap;
  width: fit-content;
}

.detail .auto-layout-vertical-1 {
  align-items: flex-start;
  display: inline-flex;
  flex: 0 0 auto;
  flex-wrap: wrap;
  gap: 0.0vw 0.0vw;
  justify-content: center;
  position: relative;
}

.detail .tourist-attractions {
  letter-spacing: 0;
  line-height: 1.39vw;
  margin-top: -0.07vw;
  position: relative;
  text-align: center;
  white-space: nowrap;
  width: fit-content;
}

.detail .group-3 {
  border: 0.07vw solid;
  border-color: var(--white);
  border-radius: 2.08vw;
  height: 2.78vw;
  position: relative;
  width: 7.5vw;
}

.detail .group-4 {
  align-items: center;
  display: flex;
  left: 1.11vw;
  min-width: 5.83vw;
  position: relative;
  top: 0.56vw;
}

.detail .text-1 {
  color: var(--white);
  /* font-family: var(--font-family-noto_serif); */
  font-size: var(--font-size-xxs);
  font-weight: 700;
  height: 0.42vw;
  margin-bottom: 0.08vw;
  margin-left: 0.97vw;
  min-width: 0.56vw;
  white-space: nowrap;
}

.detail .line-9 {
  height: 0.14vw;
  left: 21.25vw;
  position: absolute;
  top: 5.0vw;
  width: 5.49vw;
}

.detail .frame-107 {
  align-items: flex-start;
  align-self: stretch;
  display: flex;
  flex-wrap: wrap;
  gap: 3.47vw 3.47vw;
  height: auto;
  justify-content: center;
  position: relative;
  width: 100%;
  max-width: 1230px;
  margin: 0 auto;
}

.detail .frame-89 {
  align-items: flex-start;
  display: flex;
  flex-direction: column;
  gap: 1.39vw;
  height: auto;
  margin-top: -90px;
  margin-bottom: -0.49vw;
  padding: 1.6vw 0.0vw;
  position: relative;
  width: 70%;
}

.detail .top-events-events-name {
  align-self: stretch;
  color: transparent;
  /* font-family: var(--font-family-gothic_a1); */
  font-size: var(--font-size-m);
  font-weight: 400;
  letter-spacing: 0;
  line-height: normal;
  margin-top: -0.07vw;
  position: relative;
}

.detail .city-of-shimoda-city {
  align-self: stretch;
  color: #4c4b4b;
  /* font-family: var(--font-family-noto_serif); */
  font-size: 40px;
  font-weight: 900;
  letter-spacing: 0;
  line-height: normal;
  position: relative;
}

.detail .frame-88 {
  align-items: flex-start;
  align-self: stretch;
  display: flex;
  flex-direction: column;
  gap: 0.69vw;
  padding: 0.56vw 0.0vw;
  position: relative;
  width: 100%;
}

.detail .frame-4 {
  align-items: center;
  display: flex;
  gap: 0.35vw;
  position: relative;
  width: 100%;
}

.detail .x3-1 img {
  width: 15px;
}

.detail .place {
  margin-left: 10px;
}

.detail .frame-3-1 {
  align-items: flex-start;
  display: flex;
  gap: 0.35vw;
  height: 1.94vw;
  margin-bottom: -0.56vw;
  position: relative;
  width: 100%;
}

.detail .frame-3-1 img {
  width: 20px;
  margin-top: -1px;
    margin-right: 6px;
}

.detail .feb-12-2025-wed-feb-12-2025-wed-1 {
  height: 1.39vw;
  margin-right: -10.07vw;
  margin-top: -0.07vw;
  width: 100%
}

.detail .mask-group-2 {
  align-self: stretch;
  height: auto;
  position: relative;
  width: 100%;
  margin-top: 25px;
  aspect-ratio: 5 / 3;
    object-fit: cover;
    border-radius: 7px;
}

.detail .text-area {
  align-self: stretch;
  flex-grow: 1;
  height: 100%;
  letter-spacing: 0;
  line-height: 24px;
  position: relative;
  width: 100%;
  word-wrap: break-word;
  overflow-wrap: break-word;
  white-space: normal;
  display: block;
  font-size: 1.7rem;
  line-height: 1.8;
  margin-bottom: 30px;
  margin-top: 10px;
}

.detail .frame-96 {
  align-items: flex-start;
  background-color: #e8f8ff;
  display: flex;
  flex-direction: column;
  gap: 1.39vw;
  height: auto; 
  margin-bottom: -1.6vw;
  padding: 25px;
  position: relative;
  width: 100%;
  border-radius: 15px;
}

.detail .text-2 {
  color: var(--black);
  /* font-family: var(--font-family-gothic_a1); */
  font-size: var(--font-size-l);
  font-weight: 700;
  margin-top: -0.07vw;
  position: relative;
  width: fit-content;
}

.detail .frame {
  align-items: flex-start;
  display: flex;
  flex: 0 0 auto;
  flex-direction: column;
  gap: 0.69vw;
  margin-right: -1.53vw;
  position: relative;
  width: 100%;
}

.detail .text-3 {
  margin-top: -0.07vw;
  position: relative;
  width: fit-content;
}

.detail .text-4 {
  position: relative;
  width: fit-content;
}

.detail .line-1 {
  height: 0.07vw;
  margin-bottom: -0.03vw;
  object-fit: cover;
  position: relative;
  width: 100%;
  height: 1px;
  /* margin: 7px 0; */
  margin: 7px 0 2px 0;
}

.detail .url {
  letter-spacing: 0;
  line-height: normal;
  margin-top: -0.07vw;
  position: relative;
  width: fit-content;
}

.detail .url-body {
  display: flex;
}

.detail .url-body a{
  color: #0d6efd;
}

.detail .url-body .url-icon {
  width: 15px;
  height: 15px;
  margin-right: 10px;
  margin-top: 3px;
}

.detail .httpstestcom {
  letter-spacing: 0;
  line-height: normal;
  position: relative;
  width: fit-content;
  word-break: break-all;
}

.detail .text-5 {
  margin-top: -0.07vw;
  position: relative;
  width: fit-content;
}

.detail .feb-12-2025-wed-feb-12-2025-wed-2 {
  width: fit-content;
}

.detail .text-6 {
  margin-top: -0.07vw;
  position: relative;
  width: fit-content;
}

.detail .x2025-03-19-223122-1 {
  align-self: stretch;
  height: 17.71vw;
  object-fit: cover;
  position: relative;
  width: 100%;
}

.detail .frame-96-1 {
  align-items: flex-end;
  display: inline-flex;
  flex: 0 0 auto;
  gap: 1.04vw;
  position: relative;
}

.detail .x123-4567-1-2-3-456-5-f {
  letter-spacing: 0;
  line-height: normal;
  margin-top: -0.07vw;
  position: relative;
  width: 100%;
}

.detail .frame-89-1 {
  align-items: center;
  background-color: var(--white);
  border: 0.14vw solid;
  border-color: var(--picton-blue);
  border-radius: 3.47vw;
  gap: 1.39vw;
  height: 30px;
  justify-content: center;
  padding: 5px;
  width: 200px;
}

.detail .google-map {
  color: var(--black);
  /* font-family: var(--font-family-gothic_a1); */
  font-size: var(--font-size-xs);
  font-weight: 400;
  letter-spacing: 0;
  line-height: normal;
  margin-bottom: -0.28vw;
  margin-left: -0.59vw;
  margin-top: -0.56vw;
  position: relative;
  width: fit-content;
}

.google-button {
  width: 100%;
  margin-top: 10px;
}

.detail .text-7 {
  margin-bottom: -0.28vw;
  margin-right: -0.59vw;
  margin-top: -0.56vw;
  position: relative;
  width: fit-content;
}

.detail .text-8 {
  margin-top: -0.07vw;
  position: relative;
  width: fit-content;
}

.detail .text-9 {
  position: relative;
  width: fit-content;
}

.detail .text-10 {
  margin-top: -0.07vw;
  position: relative;
  width: fit-content;
}

.detail .text-11 {
  position: relative;
  width: fit-content;
}

.detail .text-12 {
  margin-top: -0.07vw;
  position: relative;
  width: fit-content;
}

.detail .phone {
  letter-spacing: 0;
  line-height: normal;
  position: relative;
  width: fit-content;
}

.detail .text-13 {
  margin-top: -0.07vw;
  position: relative;
  width: fit-content;
}

.detail .testtestcom {
  letter-spacing: 0;
  line-height: normal;
  position: relative;
  width: fit-content;
}

.detail .frame-89-2 {
  align-items: flex-start;
  flex-direction: column;
  gap: 0.69vw;
  width: 20%;
}

.detail .frame-89-3 {
  align-items: flex-start;
  flex-direction: column;
  gap: 5%;
  height: auto;
  width: 100%;
}

.detail .mask-group {
  height: auto;
  position: relative;
  width: 100%;
  margin-bottom: 10px;
  aspect-ratio: 5 / 3;
    object-fit: cover;
    border-radius: 7px;
}

.detail .detail-name {
  align-self: stretch;
  letter-spacing: 0;
  line-height: normal;
  position: relative;
}

.detail .frame-3 {
  align-items: flex-start;
  align-self: stretch;
  display: flex;
  gap: 0.35vw;
  height: 1.94vw;
  position: relative;
  width: 100%;
}

.detail .frame-3 img {
  width: 15px;
  margin-right: 9px;
}

.detail .feb-12-2025-wed-feb-12-2025-wed {
  height: auto;
  letter-spacing: 0;
  line-height: normal;
  margin-top: -0.07vw;
  position: relative;
  width: 100%;
}

.detail .frame-9 {
  align-items: flex-start;
  align-self: stretch;
  display: flex;
  flex-direction: column;
  gap: 5px;
  height: auto;
  position: relative;
  width: 100%;
  margin-bottom: 20px;
}

.detail .frame-25 {
  align-items: center;
  align-self: stretch;
  background-color: var(--white);
  border: 0.14vw solid;
  border-color: var(--picton-blue);
  border-radius: 3.47vw;
  display: flex;
  gap: 1.39vw;
  height: 4.17vw;
  justify-content: center;
  padding: 1.18vw 1.74vw;
  position: relative;
  width: 100%;
}

.detail .place-1 {
  margin-top: -0.1vw;
}

.detail .text-14 {
  position: relative;
  width: fit-content;
}

/* .detail .button {
  align-items: center;
  display: inline-flex;
  flex: 0 0 auto;
  gap: 3.47vw;
  position: relative;
} */

.detail .text-15 {
  position: relative;
  transform: rotate(180deg);
  width: fit-content;
}

.detail .text-17 {
  margin-top: -0.1vw;
  position: relative;
  width: fit-content;
}

.detail .overlap-group-1 {
  align-items: flex-end;
  background-image: url(../img/group-99.png);
  background-size: 100% 100%;
  display: flex;
  height: 39.03vw;
  min-width: 100.0vw;
  padding: 2.92vw 0;
}

.detail .shimoda-tourist-asso {
  align-self: stretch;
  color: var(--white);
  /* font-family: var(--font-family-noto_serif); */
  font-size: var(--font-size-xl);
  font-weight: 400;
  height: 10.35vw;
  line-height: 3.4vw;
  margin-top: -0.07vw;
}

.detail .frame-2 {
  height: 2.36vw;
  left: 0.97vw;
  position: absolute;
  top: 0.97vw;
  width: 2.36vw;
}

.detail .shimoda-tourist-as {
  text-align: center;
  width: 95.83vw;
}

.detail .feb-12-2025-wed-feb-12-2025-wed-3 {
  letter-spacing: 0;
  line-height: normal;
  position: relative;
}

.detail .frame-89-4 {
  display: flex;
  position: relative;
}

.detail .place-2 {
  letter-spacing: 0;
  line-height: normal;
  position: relative;
  width: fit-content;
}

.detail .shimoda-tourist {
  letter-spacing: 0;
  position: relative;
}

.detail .text {
  letter-spacing: 0;
  line-height: normal;
}

.gothica1-bold-black-20px {
  font-size: 22px;
}


@keyframes slideIn {
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.detail-title {
  color: #000000;
    font-size: 3.0rem;
    font-weight: 900;
    line-height: normal;
}

.detail-information .place-info,.calendar-info {
  font-size: 1.7rem;
  color: #918191;
  line-height: 1.8;
}

.detail-information .place-info:before {
    content: "\f041";
    padding-right: 10px;
    fill: #918191;
    font-family: FontAwesome;
}

.detail-information .calendar-info:before {
    content: "\f073";
    padding-right: 10px;
    fill: #918191;
    font-family: FontAwesome;
}

/* 本文赤イカ用のclass */
  .detail-text-area {
    font-size: 17px;
    line-height: 1.8;
  }

  .sub-title {
    font-size: 20px;
    font-weight: bold;
    border-left: 9px solid #3cc2ff;
    padding: 0 15px;
    margin-top: 35px;
    margin-bottom: 15px;
    font-weight: bold;
  }

  .stream-content-post-site {
    margin-bottom: 20px;
    max-width: 600px;
  }

  .stream-content-post-site .stream-content-post-site-item {
    position: relative;
    margin-bottom: 12px;
  }

  .stream-content-post-site .stream-content-post-site-item .stream-content-post-site-inner {
    display: -webkit-flex;
    display: -ms-flexbox;
    display: -ms-flex;
    display: flex;
    background: #fff;
    border: 1px solid #d7d8d9;
    border-radius: 10px;
    overflow: hidden;
  }

  .stream-content-post-site .stream-content-post-site-item .stream-content-post-site-inner .stream-content-post-site-thumbnail {
    -webkit-flex: none;
    -ms-flex: none;
    flex: none;
    width: 40%;
    min-height: 100px;
    max-height: 180px;
  }

  .stream-content-post-site .stream-content-post-site-item .stream-content-post-site-inner .stream-content-post-site-thumbnail .image {
    display: block;
    object-fit: cover;
    width: 100%;
    height: 100%;
  }

  .stream-content-post-site .stream-content-post-site-item .stream-content-post-site-inner .stream-content-post-site-view {
    -webkit-flex: auto;
    -ms-flex: auto;
    flex: auto;
    -webkit-align-self: center;
    -ms-align-self: center;
    align-self: center;
    min-width: 0;
    padding: 12px 15px;
  }

  .stream-content-post-site .stream-content-post-site-item .stream-content-post-site-inner .stream-content-post-site-view .stream-content-post-site-title {
    font-size: 15px;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    visibility: visible;
    overflow: hidden;
    font-weight: bold;
  }

  .stream-content-post-site .stream-content-post-site-item .stream-content-post-site-inner .stream-content-post-site-view .stream-content-post-site-description {
    font-size: 12px;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 4;
    visibility: visible;
    overflow: hidden;
    margin-top: 10px;
  }

  .map-wrapper {
    width: 100%;
    max-width: 100%;
    aspect-ratio: 3 / 2;
  }

  .map-wrapper iframe {
    width: 100%;
    height: 100%;
    border: 0;
  }

  .image-wrapper {
    margin-top: 35px;
    width: 100%;
  }

  .image-wrapper:hover {
opacity: 0.7;
  }

  .image-wrapper .image {
    width: 100%;
  }

  /* 上部メイン画像スライダー */
        .mySwiper2 {
          width: 100%;
          margin-top: 25px;
              margin-bottom: -10px;
        }

        .mySwiper2 .swiper-slide {
          display: flex;
          justify-content: center;
          align-items: center;
        }

        .mySwiper2 .swiper-slide img {
          width: 100%;
          height: auto;
          aspect-ratio: 5 / 3;
          object-fit: cover;
          position: relative;
          align-self: stretch;
          border-radius: 8px;
        }

        .responsive-map {
                width: 100%;
                max-width: 100%;
                height: auto;
                aspect-ratio: 16 / 9;
              }

              .responsive-map iframe {
                width: 100%;
                height: 100%;
                border: 0;
              }

        /* 下部サムネイルスライダー（余白なし） */
        .mySwiper {
          width: 100%;
          height: 100%;
          /* margin-top: 10px; */
          box-sizing: border-box;
          overflow: hidden;
        }

        .mySwiper .swiper-slide {
          width: 120px;
          /* 固定幅で均等配置 */
          height: 100%;
          cursor: pointer;
          box-sizing: border-box;
          background: #000;
          border-radius: 8px;
          width: calc((100% - 20px) / 3);
          margin-right: 10px;
        }

        /* 最後の要素は右の余白を0にする */
        .mySwiper .swiper-slide:last-child {
          margin-right: 0;
        }

        .mySwiper .swiper-slide img {
          width: 100%;
          height: 100%;
          object-fit: cover;
          aspect-ratio: 4 / 3;
          border-radius: 8px;
          opacity: 0.4;
          
        }

        .mySwiper .swiper-slide-thumb-active img {
          opacity: 1;
        }

/* ---------- Swiper ナビボタンデザイン ---------- */
.mySwiper2 .swiper-button-prev,
.mySwiper2 .swiper-button-next {
  width: 50px;
  height: 50px;
  background: rgb(101 203 249 / 60%);
  border-radius: 50%;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
  top: 57%;
  transform: translateY(-50%);
}

        /* 左右位置を微調整 */
.mySwiper2 .swiper-button-prev { left: 8px; }
.mySwiper2 .swiper-button-next { right: 8px; }

/* 矢印アイコンの大きさ・色 */
.mySwiper2 .swiper-button-prev::after,
.mySwiper2 .swiper-button-next::after {
  font-size: 20px;
  color: #ffffff;
}

/* ホバー時に背景を濃く */
.mySwiper2 .swiper-button-prev:hover,
.mySwiper2 .swiper-button-next:hover {
  background: rgba(255, 255, 255, 0.8);
}

.mySwiper2 .swiper-button-prev:hover::after,
.mySwiper2 .swiper-button-next:hover::after {
  color: #3cc2ff;
}

.mySwiper2 .swiper-button-prev.swiper-button-disabled,
.mySwiper2 .swiper-button-next.swiper-button-disabled {
    opacity: 0;
}

/* 下部サムネイルナビボタン */
.thumbs-button-prev,
.thumbs-button-next {
  width: 50px !important;
  height: 50px !important;
  background: rgb(101 203 249 / 60%);
  border-radius: 50%;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
  top: 59% !important;
  transform: translateY(-50%);
}
.thumbs-button-prev { left: 8px; }
.thumbs-button-next { right: 8px; }

/* 矢印アイコン */
.thumbs-button-prev::after,
.thumbs-button-next::after {
  font-size: 20px !important;
  color: #ffffff;
}

/* ホバーで赤矢印 */
.thumbs-button-prev:hover::after,
.thumbs-button-next:hover::after {
  color: #3cc2ff;
}

.thumbs-button-prev:hover,
.thumbs-button-next:hover {
  background: rgba(255, 255, 255, 0.8);
}

.mySwiper .swiper-button-next.swiper-button-disabled,
.mySwiper .swiper-button-prev.swiper-button-disabled {
    opacity: 0;
}


@media only screen and (max-width: 1024px) {
  .frame-107 {
    flex-direction: column;
    align-items: center !important;
  }
  .frame-89 {
    width: 100%;
  }
  .detail .frame-89-2 {
    width: 90%;
    margin-top: 100px;
  }
  .detail > .frame-89-2.frame-89-4 {
    width: 90vw !important;
    margin: 0 auto !important;
    max-width: 90vw;
    display: flex;
    flex-wrap: nowrap; /* これを追加して次の行に折り返さないようにする */
    justify-content: space-around;
  }
  .detail > .frame-89-2.frame-89-4 > * {
    width: 50%; /* 子要素の幅を親要素の幅の45%にする */
  }
  .detail .frame-89{
    margin-top: 0;
    width: 100%;
        padding-right: 15px;
        padding-left: 15px;
  }
  .detail .frame-89-1 {
    align-items: center;
    background-color: var(--white);
    border: 0.14vw solid;
    border-color: var(--picton-blue);
    border-radius: 3.47vw;
    gap: 1.39vw;
    height: 30px;
    justify-content: center;
    padding: 5px;
    width: 200px;
  }
  .detail .frame-25{
    width: 200px;
  }
  .detail .mask-group {
    width: 100%;
  }
  .detail .frame-9{
    align-items: center;
  }

  .detail .city-of-shimoda-city {
    font-size: 30px;
  }

  .detail .frame-3 {
    margin-bottom: 30px;
  }

  .detail .frame-4 {
    margin-bottom: 5px;
  }

  .detail .mask-group-2 {
    margin-top: 40px;
    margin-bottom: 30px;

  }

  .detail .line-1 {
      margin: 7px 0;
  }
}


@media only screen and (max-width: 768px) {
  .detail .frame-96 {
    padding: 15px;
  }

        .thumbs-button-prev,
.thumbs-button-next {
  top: 69% !important;
}

.mySwiper2 {
    margin-bottom: 4px;
}
}