@charset "utf-8";
/* TOP専用CSS - 聖地巡礼ツアー */

/* フォント設定 */
body {
  font-family: "游明朝体", "Yu Mincho", "YuMincho", "Hiragino Mincho ProN", "HG明朝E", "MS P明朝", "MS PMincho", serif;
}

/* メインビジュアルセクション */
#visual {
  position: relative;
  width: 100%;
  min-height: 100vh;
  background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
  overflow: hidden;
}

.visual-container {
  display: flex;
  align-items: stretch;
  max-width: 100%;
  margin: 0;
  padding: 0;
  min-height: 100vh;
}

/* スライドショーコンテナ - 左側55% */
.slideshow-container {
  flex: 0 0 55%;
  position: relative;
  overflow: hidden;
}

.slide {
  display: none;
  position: relative;
  width: 100%;
  height: 100vh;
}

.slide.active {
  display: block;
}

.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* スライド切り替えボタン */
.slide-nav {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 10;
}

.slide-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255,255,255,0.6);
  cursor: pointer;
  transition: all 0.3s ease;
  border: 2px solid rgba(255,255,255,0.8);
}

.slide-dot.active {
  background: #fff;
  transform: scale(1.2);
  box-shadow: 0 0 12px rgba(255,255,255,0.8);
}

.slide-dot:hover {
  background: rgba(255,255,255,0.9);
  transform: scale(1.05);
}

/* スライドキャプション */
.slide-caption {
  position: absolute;
  bottom: 15px;
  left: 50%;
  transform: translateX(-50%);
  color: white;
  font-size: 0.6rem;
  font-weight: 400;
  line-height: 1.2;
  font-family: Arial, sans-serif;
  z-index: 10;
  text-align: center;
  text-shadow: 1px 1px 2px rgba(0,0,0,0.7);
  white-space: nowrap;
}

/* タイトル部分 - 右側45% */
.tour-header {
  flex: 0 0 45%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(255,255,255,0.95) 0%, rgba(248,250,252,0.95) 100%);
  position: relative;
  box-sizing: border-box;
}

.tour-header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="dots" width="20" height="20" patternUnits="userSpaceOnUse"><circle cx="10" cy="10" r="1" fill="rgba(102,126,234,0.1)"/></pattern></defs><rect width="100" height="100" fill="url(%23dots)"/></svg>');
  opacity: 0.5;
}

.title-wrap {
  text-align: center;
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 100%;
  padding: 60px 50px;
  box-sizing: border-box;
}

.title-wrap h1 {
  margin-bottom: 30px;
  text-align: center;
}

.title-wrap h1 img {
width: 100%;
  max-width: 600px;
  height: auto;
  filter: drop-shadow(0 4px 8px rgba(0,0,0,0.1));
  display: block;
  margin: 0 auto;
}

.tour-subtitle {
  font-size: 1em;
  color: #555;
  margin-top: 20px;
  font-weight: 500;
  line-height: 1.7;
  padding: 18px;
  background: rgba(255,255,255,0.7);
  font-family: "游明朝体", "Yu Mincho", "YuMincho", "Hiragino Mincho ProN", "HG明朝E", "MS P明朝", "MS PMincho", serif;
  word-break: keep-all;
  overflow-wrap: break-word;
}

.tour-description {
  font-size: 0.95rem;
  color: #777;
  margin-top: 25px;
  line-height: 1.6;
  padding: 18px;
  background: rgba(255,255,255,0.7);
  border-radius: 10px;
  border-left: 4px solid #667eea;
  word-break: keep-all;
  overflow-wrap: break-word;
}

/* ツアー概要カード（2つ横並び） */
.tour-overview-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: 20px;
}

.row-card {
  background: rgba(255, 255, 255, 0.9);
  border-radius: 8px;
  padding: 10px 6px;
  text-align: center;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(102, 126, 234, 0.2);
  transition: all 0.2s ease;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 85px;
}

.row-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(102, 126, 234, 0.2);
  background: rgba(255, 255, 255, 0.95);
}

/* アイコンとタイトルを横並び */
.card-header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  margin-bottom: 4px;
  padding-bottom: 3px;
  border-bottom: 1px solid rgba(102, 126, 234, 0.3);
}

/* 専用のアイコンクラス */
.overview-icon {
  font-size: 0.95rem !important;
  margin: 0;
  display: block;
}

.row-card .card-title {
  font-size: 0.95rem;
  font-weight: 600;
  color: #333;
  margin: 0;
}

.card-content {
  font-size: 0.8rem;
  color: #555;
  line-height: 1.4;
  font-weight: 500;
  display: flex;
  flex-direction: column;
  justify-content: center;
  flex-grow: 1;
}

.card-content small {
  font-size: 0.65rem;
  color: #777;
  display: block;
  margin-top: 2px;
  line-height: 1.2;
}

/* 中間サイズ（w1300~w821）の調整 - 修正版 */
@media (max-width: 1300px) and (min-width: 821px) {
  .visual-container {
    min-height: 100vh;
  }
  
  .slideshow-container {
    flex: 0 0 60% !important;
  }
  
  .tour-header {
    flex: 0 0 40% !important;
    padding: 0 !important;
    margin: 0 !important;
    box-sizing: border-box !important;
    overflow: hidden;
  }
  
  .title-wrap {
    padding: 40px 15px !important; /* 上下のパディングを増やし、左右を調整 */
    box-sizing: border-box !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    text-align: center !important;
  }
  
  .title-wrap h1 {
    margin-bottom: 25px !important;
    text-align: center !important;
  }
  
  .title-wrap h1 img {
    max-width: 85% !important;
    height: auto !important;
    display: block !important;
    margin: 0 auto !important; /* 中央揃えを強制 */
  }
  
  .tour-subtitle {
    font-size: 0.9rem !important; /* フォントサイズを大きく */
    line-height: 1.5 !important; /* 行間を広く */
    padding: 12px 8px !important; /* パディングを増やす */
    margin-top: 20px !important;
    border-radius: 6px !important;
  }
  
  .tour-description {
    font-size: 0.85rem !important; /* フォントサイズを大きく */
    padding: 12px 8px !important; /* パディングを増やす */
    margin-top: 20px !important;
    line-height: 1.5 !important; /* 行間を広く */
    border-radius: 6px !important;
  }
  
  .tour-overview-row {
    grid-template-columns: 1fr !important; /* 1列に変更 */
    gap: 8px !important;
    margin-top: 20px !important;
    padding: 0 10px !important;
  }
  
  .row-card {
    padding: 10px 8px !important; /* パディングを増やす */
    min-height: 70px !important;
    border-radius: 6px !important;
  }
  
  .card-header {
    gap: 4px !important;
    margin-bottom: 4px !important;
    padding-bottom: 3px !important;
  }
  
  .overview-icon {
    font-size: 0.9rem !important;
  }
  
  .row-card .card-title {
    font-size: 0.9rem !important;
    line-height: 1.3 !important;
  }
  
  .card-content {
    font-size: 0.8rem !important;
    line-height: 1.3 !important;
  }
  
  .card-content small {
    font-size: 0.65rem !important;
    margin-top: 2px !important;
  }
}

/* レスポンシブ対応 */
@media (max-width: 820px) {
  #visual {
    min-height: auto;
    padding-top: 80px;
  }
  
  .visual-container {
    flex-direction: column;
    min-height: auto;
  }
  
  .slideshow-container {
    flex: none;
    height: 50vh;
  }
  
  .slide {
    height: 50vh;
  }
  
  .slide img {
    height: 100%;
  }
  
  .tour-header {
    flex: none;
    background: #fff;
  }
  
  .tour-header::before {
    display: none;
  }
  
  .title-wrap {
    padding: 40px 30px;
  }
  
  .tour-subtitle {
    font-size: 1.1rem;
    line-height: 1.6;
  }
  
  .tour-description {
    font-size: 0.9rem;
    padding: 15px;
    line-height: 1.5;
  }
  
  .tour-overview-row {
    grid-template-columns: 1fr;
    gap: 10px;
    margin-top: 18px;
  }
  
  .row-card {
    padding: 12px 8px;
    min-height: 95px;
  }
  
  .card-header {
    gap: 4px;
    margin-bottom: 5px;
  }
  
  .overview-icon {
    font-size: 1rem !important;
  }
  
  .row-card .card-title {
    font-size: 1rem;
  }
  
  .card-content {
    font-size: 0.85rem;
  }
  
  .card-content small {
    font-size: 0.7rem;
  }
  
  .slide-nav {
    bottom: 35px;
    gap: 8px;
  }
  
  .slide-dot {
    width: 10px;
    height: 10px;
  }
  
  .slide-caption {
    font-size: 0.55rem;
    bottom: 12px;
  }
}

@media (max-width: 480px) {
  .slideshow-container {
    height: 40vh;
  }
  
  .slide {
    height: 40vh;
  }
  
  .title-wrap {
    padding: 30px 25px;
  }
  
  .tour-subtitle {
    font-size: 0.9rem;
    padding: 10px;
  }
  
  .tour-description {
    font-size: 0.85rem;
  }
  
  .slide-nav {
    bottom: 30px;
    gap: 6px;
  }
  
  .slide-dot {
    width: 9px;
    height: 9px;
  }
  
  .tour-overview-row {
    grid-template-columns: 1fr;
    gap: 8px;
  }
  
  .row-card {
    padding: 10px 6px;
    min-height: 90px;
  }
  
  .card-header {
    gap: 3px;
  }
  
  .overview-icon {
    font-size: 0.95rem !important;
  }
  
  .row-card .card-title {
    font-size: 0.95rem;
  }
  
  .card-content {
    font-size: 0.8rem;
  }
  
  .card-content small {
    font-size: 0.65rem;
  }
  
  .slide-caption {
    font-size: 0.5rem;
    bottom: 10px;
  }
}

/* 大きな画面向け調整（1301px以上） */
@media (min-width: 1301px) {
  .title-wrap {
    padding: 70px 60px;
  }
  
  .tour-subtitle {
    font-size: 1.3rem;
  }
  
  .tour-description {
    font-size: 1rem;
    padding: 20px;
  }
  
  .tour-overview-row {
    gap: 10px;
    margin-top: 25px;
  }
  
  .row-card {
    padding: 14px 8px;
    min-height: 100px;
  }
  
  .card-header {
    gap: 6px;
    margin-bottom: 5px;
    padding-bottom: 4px;
  }
  
  .overview-icon {
    font-size: 1.1rem !important;
  }
  
  .row-card .card-title {
    font-size: 1.1rem;
  }
  
  .card-content {
    font-size: 0.9rem;
  }
  
  .card-content small {
    font-size: 0.75rem;
  }
}