/* screen - detail */

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

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

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

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

.news-detail .mask-group-1 {
  left: 0;
  position: absolute;
  top: 0;
  /* width: 99.93vw; */
  width: 100%;
  min-width: 768px;
}

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

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

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

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

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

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

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

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

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

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

.news-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: 800px;
  margin: 0 auto;
}

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

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

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

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

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

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

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

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

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

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

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

.news-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;
  word-break: break-all;
  white-space: normal;
  display: block;
  font-size: 1.7rem;
  line-height: 1.8;
}

/* 画像がない時のテキストエリア */
.news-detail .text-area.no-image {
  width: 100%;
  max-width: 100%;
  margin-top: 25px;
}

.news-detail .frame-96 {
  align-items: flex-start;
  background-color: #f9f9f9;
  display: flex;
  flex-direction: column;
  gap: 1.39vw;
  height: auto; 
  margin-bottom: -1.6vw;
  padding: 2.78vw 3.47vw;
  position: relative;
  width: 100%;
}

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

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

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

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

.news-detail .line-1 {
  height: 0.07vw;
  margin-bottom: -0.03vw;
  object-fit: cover;
  position: relative;
  width: 100%;
}

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

.news-detail .frame-3 img {
  width: 15px;
}

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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






.mod-news-detail-pagination {
  margin: 60px auto 0;
}

.mod-news-detail-pagination .buttons {
  -webkit-flex-wrap: nowrap;
  -ms-flex-wrap: nowrap;
  flex-wrap: nowrap;
  -webkit-justify-content: space-between;
  -ms-justify-content: space-between;
  justify-content: space-between;
}

.buttons-inline {
  display: -webkit-flex;
  display: -ms-flexbox;
  display: -ms-flex;
  display: flex;
  -webkit-flex-wrap: wrap;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  -webkit-justify-content: center;
  -ms-justify-content: center;
  justify-content: center;
  width: 100%;
  margin-top: -10px;
}

.buttons-inline .button {
  margin-top: 10px;
}

.page-button {
  display: block;
  position: relative;
  max-width: 320px;
  padding: 0 10px;
}

.page-button.button-primary .button-inner {
  background: #fff;
  box-shadow: 0 0 0 1px #3cc2ff inset;
}

.page-button .button-inner {
  display: block;
  position: relative;
  background: #fff;
  border-radius: 30px;
  box-shadow: 0 0 0 2px rgba(0, 0, 0, 0.75) inset;
  cursor: pointer;
  margin: 0;
  padding: 0;
  -webkit-transition: .5s;
  transition: .5s;
}

.mod-news-detail-pagination .buttons .page-button.button-prev .button-inner .button-text, .mod-news-detail-pagination .buttons .button.button-next .button-inner .button-text {
  padding-left: 16px;
  padding-right: 16px;
}

.mod-news-detail-pagination .buttons .page-button .button-inner .button-text {
  padding-left: 16px;
  padding-right: 16px;
}

.page-button.button-primary .button-inner .button-text {
  color: #3cc2ff;
}

.page-button .button-inner .button-text {
  display: -webkit-flex;
  display: -ms-flexbox;
  display: -ms-flex;
  display: flex
;
  -webkit-align-items: center;
  -ms-align-items: center;
  align-items: center;
  position: relative;
  color: #070809;
  text-align: center;
  padding: 12px 24px;
  -webkit-transition: .5s;
  transition: .5s;
}

.mod-news-detail-pagination .buttons .page-button.button-prev .button-inner .button-text .icon, .mod-news-detail-pagination .buttons .page-button.button-next .button-inner .button-text .icon {
  width: 12px;
  height: 12px;
}

.page-button.button-primary .button-inner .button-text .icon {
  fill: #3cc2ff;
}

.page-button .button-inner .button-text .icon {
  -webkit-flex: none;
  -ms-flex: none;
  flex: none;
  display: block;
  width: 20px;
  height: 20px;
  -webkit-transition: .5s;
  transition: .5s;
}

.page-button .button-inner .button-text .label {
  -webkit-flex: auto;
  -ms-flex: auto;
  flex: auto;
  font-size: 14px;
  text-align: left;
  line-height: 1.4;
}

.page-button .button-inner .button-text>*~* {
  margin-left: 10px;
}

@media screen and (min-width: 480px) {
  .mod-news-detail-pagination .buttons .page-button.button-prev .button-inner .button-text, .mod-news-detail-pagination .buttons .button.button-next .button-inner .button-text {
      padding-left: 24px;
      padding-right: 24px;
  }

  .mod-news-detail-pagination .buttons .page-button .button-inner .button-text {
    padding-left: 24px;
    padding-right: 24px;
}
}


@media only screen and (max-width: 1024px) {
  .frame-107 {
    flex-direction: column;
    align-items: center !important;
  }
  .frame-89 {
    width: 100%;
  }
  .news-detail .frame-89-2 {
    width: 90%;
    margin-top: 100px;
  }
  .news-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;
  }
  .news-detail > .frame-89-2.frame-89-4 > * {
    width: 50%; /* 子要素の幅を親要素の幅の45%にする */
  }
  .news-detail .frame-89{
    width: 90%;
  }
  .news-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;
  }
  .news-detail .frame-25{
    width: 200px;
  }
  .news-detail .mask-group {
    width: 100%;
  }
  .news-detail .frame-9{
    align-items: center;
  }

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

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

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

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

}
}