@charset "utf-8";

.top-slider {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
}

/* スライド画像 */
.slides img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
  opacity: 0;
  transition: opacity 1.5s ease-in-out;
}

/* 最初の画像は表示 */
.slides img:first-child,
.slides img.active {
  opacity: 1;
}

/* タイトル */
.top-title {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  left: 5%;
  z-index: 10;
  line-height: 1.2;
  font-family: "Mochiy Pop One", sans-serif;
  font-weight: 400;
  font-style: normal;
  font-size: 1.2rem;
  text-shadow: 3px 3px 2px #000000a5;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  white-space: nowrap;
}

/* タイトル下のサブテキスト */
.top-title p {
  font-size: 1.1rem;
  z-index: 10;
  margin-top: 20px;
}

/* 営業時間 */
.top-business-hours {
  font-family: "Mochiy Pop One", sans-serif;
  font-weight: 400;
  font-style: normal;
  position: absolute;
  bottom: 15%;
  right: 5%;
  width: 250px;
  height: 250px;
  background-color: #423cc6;
  border-radius: 50%; /* 正円 */
  color: white;
  z-index: 10;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 20px;
  box-sizing: border-box;
  line-height: 1.4;
  font-size: 1.1rem;
  box-shadow: 8px 8px #fff;
}

/* 「本日の営業時間」 */
.top-business-hours p:first-child {
  width: 80%;
  font-size: 20px;
  border-bottom: 3px dotted white;
  padding-bottom: 3px;
  margin: 40px 30px 20px;
}

/* 時間部分 */
.top-business-hours p:nth-child(2) {
  font-size: 30px;
  font-weight: bold;
  margin-bottom: 20px;
}

.top-business-hours img {
  max-width: 140px;
  height: auto;
  object-fit: contain;
  padding-bottom: 30px;
  animation: sway-time 2s ease-in-out infinite;
}
@keyframes sway-time {
  0% {
    transform: rotate(0deg); /* 開始：まっすぐ */
  }
  25% {
    transform: rotate(10deg); /* 右に傾く */
  }
  75% {
    transform: rotate(-10deg); /* 左に傾く */
  }
  100% {
    transform: rotate(0deg); /* 終了：まっすぐ */
  }
}
/* お知らせ */
.top-os {
  padding-top: 100px;
  padding-bottom: 40vh;
  text-align: center;
  position: relative;
}
.top-os-wrapper {
  display: block;
  margin: 0 auto;
  max-width: 1050px;
  padding: 0 40px;
  position: relative;
  z-index: 10;
}

.top-os .slick-dots {
  bottom: -40px;
  left: 50%;
  transform: translateX(-50%);
  width: auto;
}
.top-os-card {
  background: white;
  color: black;
  padding: 20px;
  box-sizing: border-box;
  text-align: center;
  border-radius: 10px;
  margin: 0 10px;
}
.top-os-card a {
  height: 100%;
  display: flex;
  flex-direction: column;
}

.os-content {
  display: flex;
  flex-direction: column;
  height: 100%;
}
.os-content dl {
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.top-os-date {
  font-size: 16px;
  margin: 10px 0;
  font-weight: bold;
  flex-shrink: 0;
  text-align: center;
}

.top-os-caption {
  font-size: 15px;
  flex-grow: 0;
  display: block;
  text-align: center;
  margin: 0;
  line-height: 1.5;
}
.slick-prev {
  left: 15px; /* 左端から15pxの位置 */
  z-index: 10;
}
.slick-next {
  right: 15px; /* 右端から15pxの位置 */
  z-index: 10;
}

.top-os-card img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  display: block;
  flex-shrink: 0;
  margin-bottom: 20px;
}
/* about */
.top-about {
  position: relative;
  overflow: visible;
  background-color: #2a95d1;
  overflow: visible;
}

.top-about-box {
  position: relative;
  top: -30vh;
  margin: 0 auto;
  display: flex;
  justify-content: space-around;
  align-items: center;
  padding: 0 100px;
  z-index: 10;
}
.about-img {
  max-width: 1000px;
}
.about-text {
  width: 60vw;
  max-width: 700px;
  border-radius: 20px;
  margin-left: -30%;
  text-align: center;
  position: relative;
  z-index: 20;
}

.about-text p {
  margin-bottom: 50px;
}

.slide-bg-wrapper {
  position: relative;
  width: 100vw;
  height: 400px;
  overflow-x: hidden;
  z-index: 8;
  top: -45vh;
}
.slide-bg-track {
  width: max-content;
  animation: infiniteSlide 40s linear infinite;
}

.slide-img {
  border-radius: 50%;
  object-fit: cover;
  margin-left: 50px;
  display: inline-block; /* 横並びを維持しつつ、インライン要素の挙動を修正 */
}

.size1 {
  /* width: 12vw;
  height: 12vw; */
  width: 150px;
  height: 150px;
  transform: translateY(50%);
}
.size2 {
  /* width: 25vw;
  height: 25vw; */
  width: 300px;
  height: 300px;
  transform: translateY(10%);
}
.size3 {
  /* width: 14vw;
  height: 14vw; */
  width: 170px;
  height: 170px;
  transform: translateY(-30%);
}
.size4 {
  /* width: 18vw;
  height: 18vw; */
  width: 200px;
  height: 200px;
  transform: translateY(20%);
}
.size5 {
  /* width: 12vw;
  height: 12vw; */
  width: 150px;
  height: 150px;
  transform: translateY(-30%);
}
.size6 {
  /* width: 18vw;
  height: 18vw; */
  width: 200px;
  height: 200px;
  transform: translateY(10%);
}
.size7 {
  /* width: 25vw;
  height: 25vw; */
  width: 300px;
  height: 300px;
  transform: translateY(0%);
}
.size8 {
  /* width: 14vw;
  height: 14vw; */
  width: 170px;
  height: 170px;
  transform: translateY(-10%);
}
@keyframes infiniteSlide {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

/* イベント */
.top-show {
  background-color: #423cc6;
  position: relative;
  padding-bottom: 40vh;
  z-index: 1;
}
.top-show-center {
  position: absolute;
  top: 42%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 20;
  text-align: center;
  padding: 20px 30px;
}

.top-show-fl {
  display: flex;
  flex-direction: column;
  width: 90%;
  margin: 0 auto;
  align-items: center;
}
.top-show-group {
  display: flex;
  justify-content: space-evenly;
  width: 100%;
}

.show-group-row1,
.show-group-row2 {
  margin: 100px auto;
}

.top-show-item {
  display: block;
  position: relative;
  margin: 0 50px;
  flex-shrink: 0;
  z-index: 10;
}

.show-item-main {
  object-fit: cover;
  display: block;
  border: 10px solid white;
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.5);
  border-radius: 30%;
  transition: transform 0.3s ease;
}
.size-medium {
  width: 30vw;
  height: 30vw;
  max-width: 450px;
  max-height: 450px;
}

.size-large {
  width: 35vw;
  height: 35vw;
  max-width: 500px;
  max-height: 500px;
}

.rotate-left-7 {
  --initial-rotate: -7deg;
  transform: rotate(var(--initial-rotate));
}
.rotate-left-15 {
  --initial-rotate: -15deg;
  transform: rotate(var(--initial-rotate));
}
.rotate-right-4 {
  --initial-rotate: 4deg;
  transform: rotate(var(--initial-rotate));
}
.rotate-right-10 {
  --initial-rotate: 10deg;
  transform: rotate(var(--initial-rotate));
}
.show-item-overlay1 {
  position: absolute;
  width: 12vw;
  height: 12vw;
  max-width: 180px;
  max-height: 180px;
  object-fit: contain;
  z-index: 15;
  bottom: -3vw;
  right: -3vw;
  transform: rotate(3deg);
}
.show-item-overlay2 {
  position: absolute;
  width: 14vw;
  height: 14vw;
  max-width: 200px;
  max-height: 200px;
  object-fit: contain;
  z-index: 15;
  top: -4vw;
  left: -4vw;
}
.show-item-overlay3 {
  position: absolute;
  width: 12vw;
  height: 12vw;
  max-width: 180px;
  max-height: 180px;
  object-fit: contain;
  z-index: 15;
  top: -3vw;
  right: -3vw;
  transform: rotate(-4deg);
}
.show-item-overlay4 {
  position: absolute;
  width: 14vw;
  height: 14vw;
  max-width: 200px;
  max-height: 200px;
  object-fit: contain;
  z-index: 15;
  bottom: -4vw;
  left: -4vw;
}

@keyframes shake {
  0% {
    transform: scale(1.03) rotate(calc(var(--initial-rotate) + 0deg));
  }
  25% {
    transform: scale(1.03) rotate(calc(var(--initial-rotate) + 1deg));
  }
  50% {
    transform: scale(1.03) rotate(calc(var(--initial-rotate) + -1deg));
  }
  75% {
    transform: scale(1.03) rotate(calc(var(--initial-rotate) + 1deg));
  }
  100% {
    transform: scale(1.03) rotate(calc(var(--initial-rotate) + 0deg));
  }
}

.top-show-item:hover .show-item-main[class*="rotate-"] {
  animation: shake 0.3s linear infinite;
  transition: none;
}

.show-item-overlay1,
.show-item-overlay2,
.show-item-overlay3,
.show-item-overlay4 {
  transition: transform 0.3s ease;
}

/* top-show-item（リンク全体）にホバーしたときのスタイル */
.top-show-item:hover .show-item-overlay2,
.top-show-item:hover .show-item-overlay4 {
  transform: scale(1.05);
}
.top-show-item:hover .show-item-overlay1 {
  transform: scale(1.05) rotate(3deg);
}
.top-show-item:hover .show-item-overlay3 {
  transform: scale(1.05) rotate(-4deg);
}

.top-show-center h3 {
  margin-bottom: 10px;
}

.top-show-center p {
  font-family: "Mochiy Pop One", sans-serif;
  font-weight: 400;
  font-style: normal;
  text-shadow: 3px 3px 2px #000000a5;
  margin-bottom: 40px;
}

/* SNS */
.sns-section {
  padding: 10vh 0 40vh; /* 上下の余白 */
  text-align: center;
  background-color: #2a95d1;
  position: relative;
}

/* 各アイテムのラッパー: ボタンの絶対配置の基準となる */
.top-sns-item {
  position: relative;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  line-height: 0;
}
.sns-box {
  position: relative;
  z-index: 10;
}
.sns-image,
.sns-image.youtube-video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.top-sns-button {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 5;
  background-color: rgba(255, 255, 255, 0.7);
  color: rgb(0, 0, 0);
  box-shadow: 3px 3px #000000a5;
  text-decoration: none;
  font-weight: bold;
  border-radius: 25px;
  line-height: 45px;
  font-size: 16px;
  font-weight: 500;
  display: inline-block;
  width: 180px;
  transition: all 0.3s;
}

.top-sns-button:hover {
  background-color: rgba(92, 92, 92, 0.7);
  box-shadow: 3px 3px #ffffffa5;
  color: #fff;
}

.sns-content-wrapper {
  padding: 2vw 5vw 5vw;
  max-width: 1300px;
  margin: 0 auto;
}
.wide-image-area {
  margin-bottom: 30px;
}

.sns-flex-group {
  display: flex;
  flex-direction: row-reverse;
}

.video-area {
  flex: 1;
  aspect-ratio: 2 / 1.2;
}

.sns-vertical-group {
  flex: 1;
  display: flex;
  flex-direction: column;
  height: 100%;
}
.modal-overlay {
  display: none; /* 初期状態では非表示 */
  position: fixed;
  z-index: 1000; /* 他のコンテンツの上に表示 */
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.8); /* 半透明の黒背景 */
  backdrop-filter: blur(5px); /* 背景をぼかす（対応ブラウザのみ） */
}

.modal-content {
  background-color: #fefefe;
  margin: 10% auto; /* 画面中央付近に配置 */
  padding: 20px;
  border-radius: 15px;
  width: 80%;
  max-width: 600px; /* 最大幅を設定 */
  position: relative;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
  animation: modal-fadein 0.3s;
}

.modal-content img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 15px;
}

.modal-text {
  text-align: center;
  color: #000;
}
#modal-date {
  font-size: 1.1rem;
  font-weight: bold;
}
#modal-caption {
  font-size: 1.2rem;
  line-height: 1.4;
}

/* 閉じるボタン */
.close-button {
  color: #aaa;
  position: absolute;
  top: 10px;
  right: 20px;
  font-size: 28px;
  font-weight: bold;
  cursor: pointer;
  transition: color 0.3s;
}

.close-button:hover,
.close-button:focus {
  color: #d9534f;
  text-decoration: none;
}

/* モーダル表示アニメーション */
@keyframes modal-fadein {
  from {
    opacity: 0;
    transform: scale(0.9);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}
@media (max-width: 768px) {
  .top-business-hours {
    right: auto;
    left: 50%;
    transform: translateX(-50%);
    bottom: 5%;
    width: 300px;
    height: 120px;
    border-radius: 20px;
    font-size: 0.9rem;
    box-shadow: 6px 6px #fff;
  }

  .top-business-hours p:first-child {
    font-size: 16px;
    margin: 20px 10px 10px;
  }

  .top-business-hours p:nth-child(2) {
    font-size: 24px;
    margin-bottom: 10px;
  }

  .top-business-hours img {
    max-width: 100px;
    padding-bottom: 15px;
    position: absolute;
    top: -10%;
    right: -10%;
  }
  .top-title {
    font-size: 1rem;
    left: 50%;
    transform: translate(-50%, -50%);
  }
  .top-about-box {
    display: block;
    top: -10vh;
    padding: 0 5vw;
  }
  .about-text {
    width: 100%;
    margin-left: 0;
    text-align: center;
    position: relative;
    z-index: 20;
    line-height: 1.2;
    font-size: 0.9rem;
  }
  .slide-bg-wrapper {
    top: -20vh;
  }
  .top-about {
    margin-bottom: -40px;
  }
  .top-os {
    padding-bottom: 25vh;
  }
  .top-show-group {
    width: 100%;
    align-items: center;
    justify-content: center;
  }
  .show-group-row1,
  .show-group-row2 {
    margin: 20px auto;
  }
  .top-show {
    background-color: #423cc6;
    position: relative;
    padding-bottom: 20vh;
    z-index: 1;
    margin: 0 auto;
  }
  .top-show-center {
    position: relative;
    top: 0;
    left: 0;
    transform: translate(0, 0);
    z-index: 20;
    text-align: center;
    padding: 20px 30px;
  }
  .top-show-item {
    margin: 0;
    flex-shrink: 0;
    z-index: 10;
  }
  .show-item-main {
    object-fit: cover;
    display: block;
    border: 5px solid white;
    box-shadow: 0 5px 5px rgba(0, 0, 0, 0.5);
    border-radius: 25%;
  }
  .top-show-center p {
    margin-bottom: 20px;
  }
  .top-show-fl {
    width: 100%;
  }
  .wide-image-area {
    margin-bottom: 0;
  }
  .sns-flex-group {
    display: flex;
    flex-direction: column-reverse;
  }
  .sns-image {
    aspect-ratio: 4 / 1;
    /* 親要素の幅に合わせてサイズが決まる */
    width: 100%;
  }
  .video-area {
    aspect-ratio: auto;
  }
  .sns-section {
    padding: 10vh 0 20vh;
  }
}
