@charset "UTF-8";

/* ========================================
   メインビジュアル用スタイル - top.css（レスポンシブ対応版）
   ※上書き用：このファイルをそのまま差し替えてOK
======================================== */

#visual {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
}

/* 画像スライダーコンテナ */
.visual-container {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 700px;
  overflow: hidden;
}

.image-slider {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0;
  transition: opacity 2s ease-in-out;
}

.slide.active {
  opacity: 1;
}

.slide-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    135deg,
    rgba(0, 0, 0, 0.2) 0%,
    rgba(var(--accent-rgb), 0.03) 30%,
    rgba(0, 0, 0, 0.1) 70%,
    rgba(var(--accent2-rgb), 0.03) 100%
  );
}

/* パーティクルエフェクト */
.particles-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 2;
}

#particles-canvas {
  width: 100%;
  height: 100%;
}

/* =========================================================
   メインコンテンツ
   PC時：画像上に重ねて表示（中央寄せに変更）
========================================================= */
.tour-header {
  position: absolute;
  bottom: 10%;
  left: 20%;
  transform: translateX(-50%);
  z-index: 3;

  /* 中央寄せの見栄えを安定させる */
  width: min(720px, 92vw);
  max-width: 720px;
}

/* タイトル枠 */
.title-wrap {
  background: rgba(0, 0, 0, 0.75);
  padding: 2rem 1.5rem;
  border-radius: 15px;
  border: 2px solid rgba(var(--accent-rgb), 0.6);
  box-shadow:
    0 0 30px rgba(var(--accent-rgb), 0.2),
    inset 0 0 30px rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(10px);

  /* 指示：文字は白 */
  color: #fff;
}

/* 中のテキストも白で統一 */
.title-wrap * {
  color: #fff;
}

/* メインタイトル */
.tour-title {
  margin-bottom: 1.5rem;
  line-height: 1.3;
}

/* タイトル行（色は白／インパクト維持） */
.title-line1 {
  text-align: center; /* PCもセンター寄せ */
  display: block;
  font-size: 2.4rem;
  font-weight: 900;
  color: #ffffff;
  text-shadow:
    0 0 18px rgba(255, 255, 255, 0.25),
    2px 2px 4px rgba(0, 0, 0, 0.85);
  margin-bottom: 0.5rem;
  animation: titlePulse 2s ease-in-out infinite alternate;
}



.title-line3 {
  display: block;
  font-size: 1.6rem;
  font-weight: 700;
  color: #ffffff;
  text-align: center; /* PCもセンター寄せ */
  text-shadow:
    0 0 14px rgba(255, 255, 255, 0.2),
    2px 2px 4px rgba(0, 0, 0, 0.85);
}

.title-line4 {
  margin-top: 10px;
  display: block;
  font-size: 0.8rem;
  font-weight: 700;
  color: #ffffff;
  text-align: center; /* PCもセンター寄せ */
  text-shadow:
    0 0 14px rgba(255, 255, 255, 0.2),
    2px 2px 4px rgba(0, 0, 0, 0.85);
}

@keyframes titlePulse {
  from {
    text-shadow:
      0 0 18px rgba(255, 255, 255, 0.18),
      2px 2px 4px rgba(0, 0, 0, 0.85);
  }
  to {
    text-shadow:
      0 0 26px rgba(255, 255, 255, 0.28),
      0 0 46px rgba(255, 255, 255, 0.12),
      2px 2px 4px rgba(0, 0, 0, 0.85);
  }
}

/* ツアー特徴 */
.tour-features {
  display: flex;
  justify-content: center;
  gap: 0.8rem;
  flex-wrap: nowrap;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(var(--accent-rgb), 0.15);
  padding: 0.6rem 1rem;
  border-radius: 20px;
  border: 1px solid rgba(var(--accent-rgb), 0.4);
  color: #ffffff;
  font-weight: 600;
  font-size: 0.9rem;
  transition: all 0.3s ease;
  backdrop-filter: blur(5px);
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
  white-space: nowrap;
  flex-shrink: 1;
}

.feature-item:hover {
  background: rgba(var(--accent-rgb), 0.25);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(var(--accent-rgb), 0.3);
}

/* 指示：アイコンも白 */
.feature-item i {
  color: #ffffff;
  font-size: 1rem;
  text-shadow: 0 0 8px rgba(255, 255, 255, 0.25);
  flex-shrink: 0;
}

/* 写真提供キャプション */
.photo-credit {
  position: absolute;
  top: 4rem;
  left: 1rem;
  z-index: 4;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.7rem;
  background: rgba(0, 0, 0, 0.5);
  padding: 0.3rem 0.8rem;
  border-radius: 15px;
  backdrop-filter: blur(5px);
}

.photo-credit span{
	font-size: 0.9rem;
}

/* スライダーコントロール */
.slider-controls {
  position: absolute;
  bottom: 2rem;
  right: 2rem;
  display: flex;
  gap: 0.8rem;
  z-index: 4;
}

.slider-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 2px solid rgba(var(--accent-rgb), 0.6);
  background: rgba(0, 0, 0, 0.5);
  cursor: pointer;
  transition: all 0.3s ease;
  backdrop-filter: blur(5px);
}

.slider-dot.active,
.slider-dot:hover {
  background: var(--accent);
  box-shadow: 0 0 12px rgba(var(--accent-rgb), 0.6);
}

/* スクロールインジケーター */
.scroll-indicator {
  position: absolute;
  bottom: 1rem;
  right: 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.3rem;
  z-index: 4;
  animation: scrollBounce 2s ease-in-out infinite;
  cursor: pointer;
}

.scroll-text {
  color: var(--accent);
  font-size: 0.7rem;
  font-weight: 600;
  writing-mode: vertical-rl;
  letter-spacing: 0.2em;
  text-shadow:
    0 0 8px rgba(var(--accent-rgb), 0.5),
    1px 1px 2px rgba(0, 0, 0, 0.8);
}

.scroll-arrow {
  color: var(--accent);
  font-size: 1rem;
  text-shadow:
    0 0 8px rgba(var(--accent-rgb), 0.5),
    1px 1px 2px rgba(0, 0, 0, 0.8);
}

@keyframes scrollBounce {
  0%, 20%, 50%, 80%, 100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(-8px);
  }
  60% {
    transform: translateY(-4px);
  }
}

/* =========================================================
   レスポンシブ対応
========================================================= */
@media (max-width: 1024px) {
  /* タブレット以下：画像の下に配置 */
  #visual {
    flex-direction: column;
  }

  .visual-container {
    height: 65vh;
    min-height: 450px;
  }

  /* タイトルをスライダーの下に配置 */
  .tour-header {
    position: relative;
    bottom: auto;
    left: auto;
    transform: none;
    width: 100%;
    max-width: none;
    padding: 2rem 1.5rem;
    background: #000;
  }

  .title-wrap {
    padding: 2rem 1.5rem;
    background: rgba(0, 0, 0, 0.9);
    border: 2px solid rgba(var(--accent-rgb), 0.8);
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
  }

  .title-line1 {
    font-size: 2rem;
    text-align: center;
  }

  .title-line3 {
    font-size: 1.4rem;
    text-align: center;
  }

  .title-line4 {
    font-size: 0.8rem;
    text-align: center;
  }

  .tour-features {
    gap: 0.6rem;
  }

  .feature-item {
    padding: 0.5rem 0.8rem;
    font-size: 0.85rem;
  }
}

@media (max-width: 768px) {
  .visual-container {
    height: 60vh;
    min-height: 400px;
  }

  .tour-header {
    padding: 1.5rem 1rem;
  }

  .title-wrap {
    padding: 1.5rem 1.2rem;
    max-width: 600px;
  }

  .title-line1 {
    font-size: 1.8rem;
    margin-bottom: 0.3rem;
  }

  .title-line3 {
    font-size: 1.3rem;
  }

  .tour-title {
    margin-bottom: 1rem;
  }

  .tour-features {
    gap: 0.5rem;
  }

  .feature-item {
    font-size: 0.8rem;
    padding: 0.4rem 0.7rem;
  }

  .feature-item i {
    font-size: 0.9rem;
  }

  .slider-controls {
    bottom: 1.5rem;
    right: 1.5rem;
  }

  .scroll-indicator {
    bottom: 0.8rem;
    right: 1.5rem;
  }
}

@media (max-width: 480px) {
  .visual-container {
    height: 50vh;
    min-height: 350px;
  }

  .tour-header {
    padding: 1.5rem 0.5rem;
  }

  .title-wrap {
    padding: 1.2rem 0.8rem;
    max-width: 100%;
  }

  .title-line1 {
    font-size: 1.4rem;
    margin-bottom: 0.2rem;
  }

  .title-line3 {
    font-size: 1rem;
  }

  .tour-title {
    margin-bottom: 0.8rem;
  }

  .tour-features {
    gap: 0.3rem;
  }

  .feature-item {
    font-size: 0.7rem;
    padding: 0.3rem 0.5rem;
    gap: 0.2rem;
  }

  .feature-item i {
    font-size: 0.8rem;
  }

  .photo-credit {
    font-size: 0.5rem;
    padding: 0.2rem 0.6rem;
    top: 5rem;
    left: 0.5rem;
  }
.photo-credit span{
	font-size: 0.7rem;
}
  .slider-controls {
    bottom: 1rem;
    right: 1rem;
  }

  .scroll-indicator {
    bottom: 0.5rem;
    right: 1rem;
  }
}

@media (max-width: 360px) {
  .tour-features {
    gap: 0.2rem;
  }

  .feature-item {
    font-size: 0.65rem;
    padding: 0.25rem 0.4rem;
  }

  .feature-item i {
    font-size: 0.7rem;
  }
}

/* =========================================================
   デスクトップ専用（1025px以上）
   ※センター寄せを維持（左寄せ指定は削除）
========================================================= */
@media (min-width: 1025px) {
  #visual {
    flex-direction: row;
  }

  .visual-container {
    height: 100vh;
    min-height: 700px;
  }

  .tour-header {
    position: absolute;
    bottom: 10%;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    width: min(720px, 92vw);
    max-width: 720px;
    padding: 0;
    background: transparent;
  }

  .title-wrap {
    background: rgba(0, 0, 0, 0.75);
    padding: 2rem 1.5rem;
    border: 2px solid rgba(var(--accent-rgb), 0.6);
    box-shadow:
      0 0 30px rgba(var(--accent-rgb), 0.2),
      inset 0 0 30px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
    text-align: center;
  }
}
