/* screen - topu951440u95full-all-breakpoints */

html {
  overflow-y: scroll;
  scrollbar-gutter: stable;
}

.top {
  align-items: center;
  background-color: var(--white);
  display: flex;
  flex-direction: column;
  gap: 6.93vw;
  justify-content: center;
  position: relative;
  /* width: 100.0vw; */
  overflow: hidden;
}

.top .hero {
  /* height: 45vw; */
  flex:auto;
  min-height: 100vh;
    width: 100%;
}

/* .top .hero .hero-slider {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
} */
.top .hero .hero-img {
  /* position: absolute;
  top: 0;
  left: 0; */
  /* width: 100%; */
  height: 100%;
  opacity: 0;
  transition: opacity 2s;
  object-fit: cover;
  z-index: 1;
}
.top .hero .hero-img.active {
  opacity: 1;
  z-index: 2;
}

.top .background_-mask {
  position: absolute;
  top: 0;
  width: 100%;
}

.top .auto-layout-horizontal-4 {
  align-items: center;
  display: flex;
  gap: 3.47vw;
  justify-content: center;
  position: relative;
  width: 61.65vw;
}

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

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

.top .auto-layout-vertical-4 {
  align-items: center;
  display: inline-flex;
  flex: 0 0 auto;
  flex-direction: column;
  height: 1.39vw;
  position: relative;
}

.top .shimoda-areas {
  align-self: stretch;
  letter-spacing: 0;
  line-height: 1.39vw;
  margin-top: -0.07vw;
  position: relative;
  text-align: center;
}

.top .auto-layout-vertical-5 {
  align-items: center;
  display: inline-flex;
  flex: 0 0 auto;
  flex-direction: column;
  position: relative;
}

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

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

.top .text-12 {
  height: 0.42vw;
  margin-bottom: 0.08vw;
  margin-left: 0.97vw;
  min-width: 0.55vw;
  white-space: nowrap;
}

.top .auto-layout-vertical-6 {
  align-items: center;
  display: inline-flex;
  flex-direction: column;
  gap: 0.83vw;
  position: relative;
  bottom: 86px;
  margin: auto auto 0 auto;
  z-index: 8;
}

.top .scroll {
  letter-spacing: 0;
  line-height: 2.04vw;
  margin-top: -0.07vw;
  position: relative;
  white-space: nowrap;
  width: fit-content;
}

.top .frame-4 {
  height: 4.44vw;
  position: relative;
  width: 2.57vw;
  animation: bounce 2s infinite;
}

.top .cityofshimoda {
  align-items: center;
  display: flex;
  flex: 0 0 auto;
  flex-direction: column;
  gap: 4.85vw;
  justify-content: center;
  position: relative;
  max-width: 1230px;
}

.top .auto-layout-vertical-7 {
  align-items: center;
  display: flex;
  flex-direction: column;
  position: relative;
  width: 100%
}

.zoom-in-title {
  opacity: 0;
  transform: scale(0.8);
  transition: opacity 0.6s, transform 0.6s;
}
.zoom-in-title.zoom-in {
  opacity: 1;
  transform: scale(1);
}


.top .city-of-shimoda-1 {
  letter-spacing: 0;
  line-height: normal;
  margin-top: -0.07vw;
  position: relative;
  text-align: center;
    font-size: 40px;
}

.top .frame-5 {
  height: 1.91vw;
  margin-left: -0.01vw;
  margin-right: -0.01vw;
  position: relative;
  width: 23.67vw;
}

.top .map-wrapper {
  max-width: 1230px;
  margin: 0 auto;
  width: 100%;
}

.top .group-4 {
  width: 100%;
  height: auto;
  display: block;
}

.top .a-historic-port-town {
  letter-spacing: 0;
  margin-top: -0.07vw;
  position: relative;
  max-width: 800px;
  z-index: 1;
  width: 100%;
    padding: 0 20px;
    font-size: 2.2rem;
  line-height: 1.7;
}

.top .frame-6 {
  align-items: center;
  background-color: var(--white);
  border: 1px solid;
  border-color: var(--picton-blue);
  border-radius: 50px;
  cursor: pointer;
  display: flex;
  gap: 1.39vw;
  padding: 20px 60px;
  justify-content: center;

}

.top .frame-6:hover {
  transform: scale(1.1);
}

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

.top .top-item {
  width: 100%;
}

 .top .group-5 {
  /* background-image: url(../img/common/vector-1.svg); */
  background-size: 100%;
  width: 100%;
  text-align: center;
  background-color: #3cc2ff;
  /* --mask:
  radial-gradient(122.59px at 50% 170px,#000 99%,#0000 101%) calc(50% - 136px) 0/272px 51% repeat-x,
    radial-gradient(122.59px at 50% -102px,#0000 99%,#000 101%) 50% 68px/272px calc(51% - 68px) repeat-x,
  radial-gradient(122.59px at 50% calc(100% - 170px),#000 99%,#0000 101%) calc(50% - 136px) 100%/272px 51% repeat-x,
    radial-gradient(122.59px at 50% calc(100% + 102px),#0000 99%,#000 101%) 50% calc(100% - 68px)/272px calc(51% - 68px) repeat-x;
  -webkit-mask: var(--mask);
        mask: var(--mask); */
  /* padding: 110px 0 140px 0; */
  /* background-image: radial-gradient(circle, rgb(210 242 255 / 20%) 4px, transparent 10px); */
    background-size: 40px 40px;
    z-index: 1;
    position: relative;
    margin-top: 114px;
} 

.group-5::after {
      content: "";
    position: absolute;
    top: 180px;
    right: 100px;
    width: 500px;
    height: 500px;
    background-image: radial-gradient(circle 6px at 6px, #ffffff 100%, transparent 0);
    background-size: 30px 30px;
    background-repeat: repeat;
    clip-path: polygon(50% 100%, 0% 0%, 100% 0%);
    opacity: 0.1;
    z-index: 0;
}

.group-5::before {
      content: "";
    position: absolute;
    top: 600px;
    left: 100px;
    width: 500px;
    height: 500px;
    background-image: radial-gradient(circle 6px at 6px, #ffffff 100%, transparent 0);
    background-size: 30px 30px;
    background-repeat: repeat;
    
    clip-path: circle(50% at 50% 50%);
    opacity: 0.1;
    z-index: 0;
}

.top .auto-layout-vertical-8 {
  align-items: center;
  display: inline-flex;
  flex-direction: column;
  gap: 5.55vw;
  top: 14.36vw;
  max-width: 2000px;
  width: 100%;
      padding: 15px 0 80px 0;
}

.top .auto-layout-vertical-1 {
  align-items: center;
  display: flex;
  flex-direction: column;
  position: relative;
  margin-top: 30px;
}

.top .events-1 {
  color: var(--white);
  /* font-family: var(--font-family-noto_serif); */
  font-size: 8.0rem;
  font-weight: 900;
  letter-spacing: 0px;
  line-height: normal;
  margin-top: 0px;
  position: relative;
  text-align: center;
  width: 100%;
}

.top .frame {
  width: 25px;
}

.top .frame-89-1 {
  max-width: 1230px;
  display: flex;
  flex-wrap: wrap;
  gap: 20px 20px;
  justify-content: center;
  padding: 0 20px;
  z-index: 1;
}

.top .frame-89-1.event-area  {
  max-width: 2000px !important;
  /* width: 100% !important;
  display: block !important;
  padding: 0; */
  display: flex;
    flex-wrap: wrap;
    gap: 20px 20px;
    justify-content: center;
    padding: 0 20px;
    z-index: 1;
}

.top .frame-89-1.spot-area  {
  max-width: 2000px !important;
  width: 100% !important;
  display: block !important;
  padding: 0;
}

.top .auto-layout-vertical-2 {
  align-items: center;
    flex: 0 0 auto;
    gap: 2.78vw;
    justify-content: center;
    position: relative;
    width: 22.9%;
    text-align: left;
}

.top .group-5 .auto-layout-horizontal-2 .text-1-1 {
  color: #ffffff !important;
}

/* .top .mask-group {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 8px;
} */

.top .mask-group-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: 8px;
  overflow: hidden; /* 画像のはみ出しを隠す */
}

.top .mask-group {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
  display: block;
}

/* .top .auto-layout-vertical-2:hover .mask-group {
  transform: scale(1.1);
} */

.mask-group-wrapper {
    overflow: hidden;
}

.mask-group-wrapper img {
  display: block; /* 画像の余白を防ぐ */
  width: 100%; /* 画像を親要素にフィット */
  height: 100%; /* 画像の高さを親要素にフィット */
  object-fit: cover; /* 画像を親要素に収める */
  transform: scale(1); /* 初期状態でズームなし */
  transition: transform 0.3s ease; /* ズームのアニメーション */
  will-change: transform; /* GPUでのレンダリングを最適化 */
}

.top .auto-layout-vertical-2:hover .mask-group {
  transform: scale(1.1);
} 


.top .pickup-title {
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-height: 30px;
  color: #000;
}

/* .top .auto-layout-horizontal {
  display: flex;
  color: #ffffff;
  margin-top: 10px;
} */

.tourist-attraction .auto-layout-horizontal {
  color: #818181;
}


.top .auto-layout-horizontal-11 {
  display: flex;
  color: #ffffff;
  margin-top: 10px;
}
.top .frame-2 {
  margin-right: 2px;
  width: 14px;
  object-fit: contain;
}

.top .tourist-attraction .frame-2 {
  width: 14px;
  object-fit: contain;
}

.top .place-1 {
  margin-top: -0.07vw;
  position: relative;
}

.top .feb-12-2025-wed-feb-12-2025-wed {
  
    line-height: normal;
    width: 100%;
}

.top .frame-7 {
  align-items: center;
  background-color: var(--white);
  border: 0.14vw solid;
  border-color: var(--picton-blue);
  border-radius: 3.47vw;
  cursor: pointer;
  display: flex;
  gap: 1.39vw;
  height: 4.16vw;
  justify-content: center;
  padding: 1.11vw 0.69vw;
  position: relative;
  transition: all 0.2s ease;
  width: 17.34vw;
}

.top .frame-7:hover {
  transform: scale(1.1);
}

.top .tourist-attraction {
  align-items: center;
  display: flex;
  flex-direction: column;
  gap: 9.22vw;
  position: relative;
  width: 100.0vw;
      /* background-image: radial-gradient(circle, rgb(190 239 254 / 20%) 4px, transparent 10px); */
    background-size: 40px 40px;
    margin-top: -234px;
    padding-top: 234px;
    position: relative;
}

.top .tourist-attraction::after {
  content: "";
  position: absolute;
  top: 180px;
  left: 100px;
  width: 500px;
  height: 500px;
  background-image: radial-gradient(circle 6px at 6px, #3cc2ff 100%, transparent 0);
  background-size: 30px 30px;
  background-repeat: repeat;
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
  opacity: 0.1;
  z-index: 0;
}

.top .tourist-attraction::before {
  content: "";
  position: absolute;
  top: 900px;    /* 下からの位置 */
  right: 100px;       /* 右からの位置 */
  width: 500px;
  height: 500px;
  background-image: radial-gradient(circle 6px at 6px, #3cc2ff 100%, transparent 0);
  background-size: 30px 30px;
  background-repeat: repeat;
  clip-path: polygon(
      50% 0%,
      61% 35%,
      98% 35%,
      68% 57%,
      79% 91%,
      50% 70%,
      21% 91%,
      32% 57%,
      2% 35%,
      39% 35%
    ); 
  opacity: 0.1;
  z-index: 0;
}


.top .auto-layout-vertical-9 {
  align-items: center;
  display: flex
;
  flex-direction: column;
  gap: 3.19vw;
  left: 0.49vw;
}

.top .auto-layout-horizontal-5 {
  align-items: center;
  display: inline-flex;
  flex: 0 0 auto;
  gap: 1.8vw;
  position: relative;
  z-index: 1;
      display: flex;
    justify-content: center;
    align-items: center;
}

.top .group-7 {
  height: 11.51vw;
  position: relative;
  width: 9.85vw;
}

.top .auto-layout-vertical-10 {
  align-items: flex-start;
  display: flex;
  flex-direction: column;
  gap: 0.28vw;
  text-align: center;
    max-width: 65%;
}

.top .tourist-attraction-1 {
  line-height: normal;
  color: var(--gravel);
    /* font-family: var(--font-family-noto_serif); */
    font-size: 8.0rem;
    font-style: normal;
    font-weight: 900;
    margin: 0 auto;
}

.top .frame-8 {
  /* height: 1.7vw;
  margin-bottom: -0.03vw;
  margin-right: -0.02vw;
  position: relative; */
  width: 100%;
}

.top .group-8 {
  height: 7.91vw;
  position: relative;
  width: 8.11vw;
}

.top .auto-layout-horizontal-6 {
  align-items: center;
  display: flex;
  flex: 0 0 auto;
  flex-wrap: wrap;
  gap: 1.39vw 1.39vw;
  justify-content: center;
  position: relative;
  width: 99.86vw;
}

.top .auto-layout-vertical-3 {
  align-items: flex-start;
  display: inline-flex;
  flex: 0 0 auto;
  flex-direction: column;
  gap: 0.69vw;
  position: relative;
}

.top .mask-group-1 {
  height: 14.7vw;
  position: relative;
  width: 22.47vw;
}

.top .weeping-peach-blossoms-festivals-1 {
  height: 2.22vw;
  letter-spacing: 0;
  line-height: normal;
  margin-top: -0.07vw;
  position: relative;
  width: 22.47vw;
}

.top .event-title {
  overflow: hidden;
  display: -webkit-box;
  text-overflow: ellipsis;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 1;
  height: 23px;
}

.top .place-2 {
  margin-top: -0.07vw;
  position: relative;
  width: 20.8vw;
}

.top .text-1-1 {
  line-height: normal;
  width: 100%;
  text-align: left;
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  margin-top: 10px;
  color: #000000;
  line-height: 1.6em; /* 1行の高さを設定 */
  max-height: calc(1.6em * 3); /* 正確に10行分の高さを計算 */

}

.top .pick-up {
  left: 46.39vw;
  letter-spacing: 0;
  line-height: normal;
  position: absolute;
  top: 9.99vw;
}

.top .group-9 {
  height: 10.61vw;
  left: 0;
  position: absolute;
  top: 18.65vw;
  width: 99.58vw;
}

.top .auto-layout-vertical-11 {
  display: flex;
      flex-wrap: wrap;
      gap: 20px 20px;
      justify-content: center;
      max-width: 1230px;
      padding: 0 20px;
}

.top .mask-group-2 {
  width: 47.67%;
}

.top .mask-group-2 img {
  display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1);
    transition: transform 0.3s ease;
    will-change: transform;
}

 .top .category-area:hover img {
  transform: scale(1.1); /* 1.1倍に拡大 */
 }

.top .category-area {
  position: relative;
  /* width: 100%; */
  aspect-ratio: 4 / 3;
  border-radius: 20px;
  overflow: hidden; /* 画像のはみ出しを隠す */
}

.top .mask-group-3 {
  width: 31.21%;
}

.top .mask-group-3 img {
  width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
    display: block;
}


.top .category-area .category-name {
  position: absolute;
  bottom: 0;
  margin-left: 8%;
  margin-bottom: 5%;
  line-height: normal;
  color: #ffffff;
  /* font-family: var(--font-family-noto_serif); */
  font-style: normal;
  font-weight: 1000;
}

.top .mask-group-2 .category-name {
  font-size: 57px;
}

.top .mask-group-3 .category-name {
  font-size: 36px;
}

.top .group-86 {
  position: relative;
  width: 100.0vw;
  background-color: #e8f8ff;
  /* padding: 0 20px;
    --mask:
  radial-gradient(122.59px at 50% 170px,#000 99%,#0000 101%) calc(50% - 136px) 0/272px 51% repeat-x,
  radial-gradient(122.59px at 50% -102px,#0000 99%,#000 101%) 50% 68px/272px calc(51% - 68px) repeat-x,
  radial-gradient(122.59px at 50% calc(100% - 170px),#000 99%,#0000 101%) calc(50% - 136px) 100%/272px 51% repeat-x,
  radial-gradient(122.59px at 50% calc(100% + 102px),#0000 99%,#000 101%) 50% calc(100% - 68px)/272px calc(51% - 68px) repeat-x;
-webkit-mask: var(--mask);
        mask: var(--mask);
  padding: 140px 0; */
  margin-bottom: 90px;
}

.top .group-86::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 80px;
  pointer-events: none;
  background: linear-gradient(
    to bottom,
    rgba(255, 255, 255, 0) 0%,
    #ffffff 100%
  );
}

.top .auto-layout-vertical-12 {
  max-width: 1230px;
  width: 100%;
  margin: 0 auto;
  text-align: center;
  padding-top: 150px;
  padding-bottom: 100px;
}

.top .news-1 {
  letter-spacing: 0;
  line-height: normal;
  margin-top: -0.07vw;
  position: relative;
  text-align: center;
  font-size: 8.0rem;
  margin-bottom: 25px;
}

.top .auto-layout-vertical-13 {
  align-items: flex-start;
  align-self: stretch;
  display: flex;
  flex-direction: column;
  gap: 1.73vw;
  justify-content: center;
  position: relative;
  width: 100%;
  text-align: left;
  margin-bottom: 30px;
  padding: 0 20px;
  max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.top .group-10 {
  width: 100%;
}

.top .flex-row {
  align-items: center;
}

.top .flex-col {
  width: 100%;
}

.top .date {
  line-height: normal;
}

.top .news-text {
  display: flex;
}

.top .text-body {
  word-break: break-all;
  padding-right: 15px;
  line-height: 1.5;
}

.top .overlap-group {
  align-items: flex-end;
  background-color: var(--picton-blue);
  border-radius: 13px;
  height: 25px;
    width: 25px;
    padding: 7px;
}

.top .text {
  letter-spacing: 0;
  line-height: normal;
  min-height: 1.25vw;
  min-width: 0.97vw;
}

.top .line {
  width: 100%;
}

.top .group-11 {
  height: 5.56vw;
  margin-right: -0.14vw;
  position: relative;
  width: 54.79vw;
}

.top .group-12 {
  height: 5.56vw;
  margin-bottom: -0.27vw;
  margin-right: -0.14vw;
  position: relative;
  width: 54.79vw;
}

.top .group-13 {
  cursor: pointer;
  height: 4.16vw;
  position: relative;
  transition: all 0.2s ease;
  width: 17.61vw;
}

.top .group-13:hover {
  transform: scale(1.1);
}

.top .overlap-group1 {
  align-items: flex-start;
  background-color: var(--white);
  border: 0.14vw solid;
  border-color: var(--picton-blue);
  border-radius: 3.47vw;
  gap: 4.02vw;
  height: 4.16vw;
  min-width: 17.34vw;
  padding: 1.04vw 1.87vw;
}

.top .place-3 {
  min-height: 1.87vw;
  min-width: 3.54vw;
}

.top .text-22 {
  align-self: center;
  margin-bottom: 0.14vw;
  min-height: 1.25vw;
  min-width: 0.97vw;
}

.top .auto-layout-horizontal-7 {
  align-items: center;
  display: inline-flex;
  flex: 0 0 auto;
  flex-wrap: wrap;
  gap: 2.43vw 2.43vw;
  justify-content: center;
  position: relative;
}

.top .image {
  height: 10.4vw;
  object-fit: cover;
  position: relative;
  width: 19.42vw;
}


.top .overlap-group2 {
  align-items: flex-end;
  background-image: url(../img/common/vector-3.svg);
  background-size: 100% 100%;
  height: 40.15vw;
  min-width: 99.86vw;
  padding: 0.9vw 3.26vw;
  position: relative;
  top: -0.21vw;
}

.top .frame-33 {
  align-items: center;
  display: inline-flex;
  flex-direction: column;
  gap: 3.47vw;
  justify-content: center;
  position: relative;
}

.top .shimoda-tourist-asso {
  align-self: stretch;
  height: 10.33vw;
  line-height: 3.4vw;
  margin-top: -0.07vw;
}

.top .auto-layout-horizontal-8 {
  align-items: center;
  display: inline-flex;
  flex: 0 0 auto;
  gap: 1.39vw;
  position: relative;
}

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

/* .top .shimoda-tourist-as {
  line-height: 2.04vw;
  white-space: nowrap;
  width: fit-content;
} */

.top .group-84 {
  height: 377.18vw;
  left: 0;
  position: absolute;
  top: 71.08vw;
  width: 99.45vw;
}

.top .flex-col-1 {
  align-items: center;
  left: 84.54vw;
  min-height: 377.18vw;
  top: 0;
  width: 14.91vw;
}

.top .fish_1 {
  height: 21.22vw;
  width: 14.91vw;
}

.top .yellow_bubble1 {
  height: 7.7vw;
  margin-left: 1.94vw;
  margin-top: 59.5vw;
  width: 6.73vw;
}

.top .blue_bubble2 {
  height: 10.47vw;
  margin-left: 3.61vw;
  margin-top: 278.29vw;
  width: 5.76vw;
}

.top .flex-col-2 {
  align-items: flex-start;
  left: 0;
  min-height: 243.9vw;
  top: 74.69vw;
  width: 21.08vw;
}

.top .fish_2 {
  height: 19.76vw;
  width: 21.08vw;
}

.top .yellow_bubble2 {
  height: 7.7vw;
  margin-left: 2.43vw;
  margin-top: 55.27vw;
  width: 6.73vw;
}

.top .blue_bubble1 {
  align-self: center;
  height: 10.47vw;
  margin-right: 7.28vw;
  margin-top: 150.69vw;
  width: 5.76vw;
}

.top .flex-col-3 {
  display: flex;
  flex-direction: column;
  position: absolute;
}

.top .place-4 {
  letter-spacing: 0;
  line-height: normal;
  color: #ffffff
}

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

.news-category {
  align-items: center;
  background-color: var(--picton-blue);
  border-radius: 2.08vw;
  display: inline-flex;
  flex: 0 0 auto;
  flex-wrap: wrap;
  gap: 0.56vw 0.69vw;
  /* padding: 0.28vw 1.39vw; */
  padding: 5px 19px;
  position: relative;
  color: #ffffff;
  margin-right: 20px; 
  margin-top: -2px;
}

.more-link {
  display: none
}

.group-4 {
  opacity: 0;
  transform: translateY(100px);
  transition: opacity 0.8s, transform 0.8s;
}
.group-4.fadein {
  opacity: 1;
  transform: translateY(0);
}



.auto-layout-vertical-2 {
  opacity: 0;
  transform: translateY(100px);
  transition: opacity 0.8s, transform 0.8s;
}

.auto-layout-vertical-2.fadein {
  opacity: 1;
  transform: translateY(0);
}

.event-card-list {
  opacity: 0;
  transform: translateY(100px);
  transition: opacity 0.8s, transform 0.8s;
}

.event-card-list.fadein {
  opacity: 1;
  transform: translateY(0);
}
/* heroスクロールボタン */
.hero-scroll {
    bottom: 4.25rem;
    left: 50%;
    position: absolute;
    -webkit-transform: translate(-50%, 0);
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex !important;
    transform: translate(-50%, 0);
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    aspect-ratio: 1;
    background-color: #3cc2ff;
    border-radius: 50%;
    color: #ffffff;
    width: 6.5625rem;
    z-index: 2;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    /* font-family: var(--ff-en); */
    font-weight: 600;
    gap: .5rem;
    justify-content: center;
    letter-spacing: .06em;
}

.hero-scroll svg {
    -webkit-animation: bounce 2s infinite;
    animation: bounce 2s infinite;
}

#about {
  position: relative;
  padding-top: 80.22px; /* 固定ヘッダーの高さ分の余白 */
  margin-top: -80.22px; /* 元の位置を調整 */
}

/* 下田とは */
.section-about {
    max-width: 1230px;
  }

.section-about .about-title {
  font-size: 8.0rem;
  font-weight: bold;
  text-align: center;
  max-width: 90%;
  margin-left: auto;
    margin-right: auto;
}

.section-about .about-title .title-img {
    position: relative;
    width: 25%;
}

.section-about .about-content {
  display: flex;
  margin-top: 20px;
}

.section-about .about-content .about-map {
  width: 50%;
}

.section-about .about-content .about-map .map-img {
  width: 100%;
}

.section-about .about-content .text-area {
  width: 50%;
  padding: 60px 15px 0 20px;
}

.section-about .about-content .btn {
  margin-top: 30px;
  margin-left: 20px;
} 



/* .splits-container {
  font-size: 2.0rem;
  color: #cccccc;
} */

.splits-container span {
  display: inline;
  white-space: pre; /* スペースを保持 */
  color: #dcdcdc; /* 初期状態の文字色 */
  transition: color 0.5s ease-out; /* 色の変化をさらにゆっくりに */
}

.splits-container span.active {
  color: #000000; /* スクロール時に赤くなる */
}


/* heroのSHIMODAのテキスト */
.heading-rotation-wrapper {
  display: flex;
  perspective: 1000px;
  z-index: 8;
  margin-left: auto;
  margin-right: auto;
  height: auto;
  margin-top: auto;
  margin-bottom: -150px;
}

.hero-heading-home {
  position: relative; /* 各文字を独立して配置 */
  transform-style: preserve-3d; /* 3D効果を維持 */
  opacity: 0.2; /* 初期状態で薄く表示 */
  transition: opacity 1.2s ease-out; /* フェードインのアニメーション */
}

.hero-heading-home.visible {
  opacity: 1; /* フェードインで完全に表示 */
}

.hero-heading-home-front {
  position: absolute;
  top: 0;
  left: 0;
  transform-origin: center center; /* 回転の中心を正確に設定 */
  transition: transform 0.7s ease-out; /* 回転のアニメーションを短縮 */
  opacity: 1; /* 初期状態で表示 */
}

.hero-heading-home-front.rotate-out {
  transform: translate3d(0px, -50%, 0px) rotateX(90deg); /* 真上に正確に90度回転して消える動き */
}

.hero-heading-home-front.hidden {
  opacity: 0; /* 回転が止まったら非表示 */
}

.hero-heading-home-back {
  position: relative;
  top: 0;
  left: 0;
  transform-origin: center center; /* 回転の中心を正確に設定 */
  transform: translate3d(0px, 50%, 0px) rotateX(-90deg); /* 下から回転して非表示 */
  opacity: 0; /* 初期状態で非表示 */
  transition: transform 0.7s ease-out, opacity 0.7s ease-out; /* 回転とフェードインのアニメーションを短縮 */
}

.hero-heading-home-back.rotate-in {
  transform: translate3d(0px, 0%, 0px) rotateX(0deg); /* 下から回転して表示される動き */
  opacity: 1; /* 動きが止まった時に完全に表示 */
}

.hero-title-home {
  /* color: #ffffff;
    font-family: 'Anton', sans-serif;
  text-shadow: 0 0 0 #000, 1px 0 0 #000, -1px 0 0 #000, 0 1px 0 #000, 0 -1px 0 #000;  */

  font-size: 185px; /* 文字サイズを指定 */
  font-weight: 800; /* 太字に設定 */
color: rgba(255, 255, 255, 0.7);
font-family: 'Anton', sans-serif;
}

@keyframes bounce {
  0%, 100% {
    -webkit-transform: translateY(0);
    transform: translateY(0);
  }
  50% {
    -webkit-transform: translateY(0.75rem);
    transform: translateY(0.75rem);
  }
}

.wave-top {
  transform: scaleY(-1);
}

/* ---- Movie Popup ---- */
.moviea-area {
  position: relative;
  width: 100%;
  margin-bottom: -18vw;
}

.movie-img {
  height: 600px;
  position: relative;
  overflow: hidden;
}

.movie-img::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 75px; /* この高さがフェード範囲 */
  pointer-events: none;
  background: linear-gradient(
    to bottom,
    rgba(255,255,255,1) 0%,
    rgba(255,255,255,0) 100%
  );
}

.movie-img img {
  display: block;
  width: 100%;
 height: 100%; 
  object-fit: cover;
  object-position: center center;   
}

.movie-button-play {
  width: 35px;
}

.moviea-area .movie-button {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  width: 110px;
    height: 110px;
  /* 中心から配置し、拡大も同じ基点で行う */
  transform: translate(-50%, -50%) scale(1);
  transform-origin: center center;
  transition: transform 0.3s ease;
  z-index: 1;
}

.moviea-area .movie-button:hover {
  transform: translate(-50%, -50%) scale(1.2);
}

.moviea-area .movie-button-inner {
  position: relative;
  display: block;
}

.moviea-area .movie-button-text,
.moviea-area .movie-button-play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  margin: 0;
}
.moviea-area .movie-button-text {
  width: 110px;
}

.moviea-area .movie-button-play {
      margin-left: 5px;
}


.moviea-area .movie-button-text img,
.moviea-area .movie-button-play img {
  display: block;
}

.moviea-area .movie-button-text img {
    --movie-spin-duration: 12s;
  transform-origin: center center;
  /* 変数で指定した時間で回転 */
  animation: spin var(--movie-spin-duration) linear infinite;
}

@keyframes spin {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

/* ポップアップ非表示 */
.movie-popup {
  position: fixed;
  inset: 0;
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 1000;
}
.movie-popup.is-active { display: flex; }
.movie-popup__bg {
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.8);
}
.movie-popup__inner {
  position: relative;
  z-index: 1;
  width: 90%;
  max-width: 900px;
}
.movie-popup__movie-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 16/9;
}
.movie-popup__movie-wrapper iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.movie-popup__close {
  position: absolute;
  top: -37px;
  right: -3px;
  background: none;
  border: none;
  cursor: pointer;
  width: 40px;
}

/* .swiper-slide {
  width: calc(100vw / 5.7) !important;
  min-width: calc(100vw / 5.7);
  margin: 0 10px;
} */

#carousel-spot {
  width: 100% !important;
  box-sizing: border-box; /* パディングを含めるなら */
}

 
#carousel-spot .swiper-wrapper {
  flex-wrap: nowrap !important;
}

/* ---------- Swiper ナビボタンデザイン ---------- */
#carousel-spot .swiper-button-prev,
#carousel-spot .swiper-button-next {
  width: 60px;
  height: 60px;
  background: rgba(60,194,255, 0.8);
  border-radius: 50%;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
  top: 50%;
  transform: translateY(-50%);
}

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

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

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

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

.category-slider {
    max-width: 2000px !important;
    width: 100% !important;
    padding: initial !important;
  }
.continuous-slider .swiper-slide {
  width: 266px;
  height: 177.55px;
  overflow: hidden;
  border-radius: 8px;
  margin: 0 10px;
}

/* カテゴリースライダー：画像に黒マスクを重ねる */
.category-slider .category-area {
  position: relative;
  overflow: hidden;
}
.category-slider .category-area::before {
  content: "";
  position: absolute;
  inset: 0;            /* top:0; right:0; bottom:0; left:0; と同じ */
  background: rgba(0, 0, 0, 0.4);  /* 不透明度40%の黒 */
  pointer-events: none; /* マスク上でクリックを邪魔しない */
  z-index: 1;
}
/* 画像とテキストをマスクの下に */
.category-slider .category-area img,
.category-slider .category-area .category-name {
  position: absolute;
  z-index: 0;
}

.category-slider .category-area .category-name {
  bottom: initial;
  margin-left: initial;
  margin-bottom: initial;
  font-family: initial;
  font-style: initial;
  line-height: initial;
  font-size: 3.0rem;
  top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2 !important;
}

.category-slider .swiper-button-prev,
.category-slider .swiper-button-next {
  width: 60px;
  height: 60px;
  background: rgba(60,194,255, 0.8);
  border-radius: 50%;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
  top: 50%;
  transform: translateY(-50%);
}

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

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

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

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

.auto-layout-vertical-11.category-slider {
  transform: translateX(-100%);
  opacity: 0;
  transition: transform 0.8s ease-out, opacity 0.8s ease-out;
}

.auto-layout-vertical-11.category-slider.slide-in-left {
  transform: translateX(0);
  opacity: 1;
}


@media (max-width: 1240px) {
/* .swiper-slide {
  width: calc(100vw / 4.0) !important;
        min-width: calc(100vw / 4.6);
  margin: 0 10px;
} */
 /* ---- Movie Popup ---- */
.moviea-area {
  margin-bottom: -23vw;
}
}
@media (max-width: 1024px) {
  .top .mask-group-2 .category-name {
    font-size: 40px;
  }
  
  .top .mask-group-3 .category-name {
    font-size: 24px;
  }

  .ellipsis-text {
    display: -webkit-box; /* 必須: -webkit-line-clampを有効にする */
    -webkit-line-clamp: 8; /* 最大10行まで表示 */
    -webkit-box-orient: vertical; /* 必須: テキストの方向を縦に設定 */
    overflow: hidden; /* 必須: 溢れたテキストを隠す */
    white-space: normal; /* テキストを折り返し可能にする */
    line-height: 1.6em; /* 1行の高さを設定 */
  max-height: calc(1.6em * 8); /* 正確に10行分の高さを計算 */
  }
  .text-area.open .ellipsis-text {
    -webkit-line-clamp: unset !important;
    max-height: 100em !important;
    transition: max-height 0.3s;
  }
  .more-link {
    display: inline;
    margin-left: 5px;
    font-size: 1em;
    cursor: pointer;
    color: #3cc2ff;
    background-color: #ffffff;
    padding: 7px 5px;
    position: absolute;
    right: 20px;
    margin-top: -36px;
    font-size: 2.2rem;
    z-index: 1;
    text-decoration: underline;
  }
  .text-area.open .more-link {
    display: none !important;
  }

.top .auto-layout-vertical-6 {
    display: none;
  }

  /* .top .hero {
    height: 45vw;
    min-height: initial;
  } */

  /* 下田とは */
  .section-about .about-content {
    display: initial;
  }

  .section-about .about-content .about-map {
    width: 100%;
  }

  .section-about .about-content .about-map .map-img {
    width: 100%;
  }

  .section-about .about-content .text-area {
    width: 100%;
    padding: 15px 15px 0 15px;
  }

  .section-about .about-content .bnt-area {
    width: 100%;
    text-align: center;
  }

  .section-about .about-content .bnt-area .btn {
    margin-top: 30px;
    margin-left: initial;
  } 

  .heading-rotation-wrapper {
    margin-bottom: 385px;
  }
  .hero-title-home {
            font-size: 100px; /* 文字サイズを指定 */
  }

  .hero-heading-home-front.rotate-out {
    transform: translate3d(0px, -50%, 0px) rotateX(89deg); /* 真上に正確に90度回転して消える動き */
  }

  .top .group-86 {
    margin-top: 50px;
  }

  /* .swiper-slide {
  width: calc(100vw / 3.5) !important;
        min-width: calc(100vw / 4.6);
  margin: 0 10px;
} */
 .moviea-area {
  margin-bottom: -30vw;
}
}

@media (max-width: 768px) {
  .section-about .about-title {
    font-size: 40px;
  }

  .top .events-1 {
    font-size: 40px;
  }

  .top .news-1 {
    font-size: 40px;
  }

  .top .auto-layout-vertical-2 {
    width: calc(50% - 10px);
  }

  .top .tourist-attraction-1 {
      font-size: 35px;
  }

  .top .mask-group-3 {
    width: 47.67%;
  
  }

  .top .mask-group-2 .category-name {
    font-size: 40px;
  }
  
  .top .mask-group-3 .category-name {
    font-size: 40px;
  }

  .heading-rotation-wrapper {
    margin-bottom: 20vh;
  }
  .hero-title-home {
            font-size: 50px; /* 文字サイズを指定 */
  }
  .top .group-86 {
    margin-top: 20px;
  }

  .top .group-5 {
    margin-top: 85px;
}

.moviea-area {
  margin-bottom: -60px;
}

/* .swiper-slide {
  width: calc(100vw / 2) !important;
        min-width: calc(100vw / 2);
  margin: 0 10px;
} */
.moviea-area {
  margin-bottom: -43vw;
}

.no-anime-wave-container {
    position: relative;
    width: 100%;
    height: 200px;
    overflow: hidden;
    margin-bottom: -60px;
}

  .top .hero .hero-img {
    height: 70vh !important;
  }

  .top .hero {
      height: 100% !important;
      min-height: 70vh;
  }

      .hero .hero-wave {
        margin-bottom: -1vh;
    }

}

@media (max-width: 480px) {
  .top .auto-layout-vertical-2 {
    width: calc(100% - 15px);
  }

  .top .mask-group-2 {
    width: 100%;
  
  }

  .top .mask-group-3 {
    width: 100%;
  
  }

  .top .mask-group-2 .category-name {
    font-size: 40px;
  }
  
  .top .mask-group-3 .category-name {
    font-size: 40px;
  }

  .movie-img {
    height: 260px;
  }

  /* .swiper-slide {
  width: calc(100vw / 2) !important;
        min-width: calc(100vw / 2);
  margin: 0 10px;
} */
 .moviea-area {
  margin-bottom: -55vw;
}

.top .hero {
        height: 100% !important;
        min-height: 50vh;
    }
}

