/* ツアーポイントセクション */
#point {
  padding: 80px 0;
  background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
}

.tour-points {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.tp-title {
  text-align: center;
  font-size: 2.5rem;
  color: #2d3748;
  margin-bottom: 50px;
  font-weight: 700;
  letter-spacing: 0.05em;
}

/* 5個のカードレイアウト */
.tp-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr); /* 3列 */
  gap: 30px;
  align-items: start;
}

/* 最初の2つのカードを上段に配置 */
.tp-card:nth-child(1) {
  grid-column: 1;
  grid-row: 1;
}

.tp-card:nth-child(2) {
  grid-column: 2;
  grid-row: 1;
}

.tp-card:nth-child(3) {
  grid-column: 3;
  grid-row: 1;
}

/* 下段の2つのカードを中央寄せ */
.tp-card:nth-child(4) {
  grid-column: 1 / 2;
  grid-row: 2;
}

.tp-card:nth-child(5) {
  grid-column: 2 / 3;
  grid-row: 2;
}

.tp-card {
  background: white;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(0,0,0,0.1);
  transition: all 0.3s ease;
  position: relative;
}

.tp-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 35px rgba(0,0,0,0.15);
}

.card-image {
  position: relative;
  width: 100%;
  height: 250px;
  overflow: hidden;
}

.card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.tp-card:hover .card-image img {
  transform: scale(1.05);
}

.image-copyright {
  position: absolute;
  bottom: 8px;
  right: 8px;
  background: rgba(0,0,0,0.7);
  color: white;
  font-size: 0.6rem;
  padding: 2px 6px;
  border-radius: 3px;
  font-weight: 400;
}

.tp-card-title {
  padding: 25px 20px;
  font-size: 1.1rem;
  line-height: 1.6;
  color: #2d3748;
  font-weight: 600;
  margin: 0;
  text-align: center;
min-height: 8rem;
}

.highlight-text {
  color: #e53e3e;
  font-weight: 700;
}

.accent-text {
  color: #3182ce;
  font-weight: 700;
}

.fs-80 {
  font-size: 0.8em;
  color: #718096;
  font-weight: 500;
}

/* タブレット対応 */
@media (max-width: 1024px) {
  .tp-grid {
    grid-template-columns: repeat(2, 1fr); /* 2列 */
    gap: 25px;
  }
  
  .tp-card:nth-child(1) {
    grid-column: 1;
    grid-row: 1;
  }
  
  .tp-card:nth-child(2) {
    grid-column: 2;
    grid-row: 1;
  }
  
  .tp-card:nth-child(3) {
    grid-column: 1;
    grid-row: 2;
  }
  
  .tp-card:nth-child(4) {
    grid-column: 2;
    grid-row: 2;
  }
  
  .tp-card:nth-child(5) {
    grid-column: 1 / 3; /* 5番目は2列にまたがる */
    grid-row: 3;
    max-width: 400px;
    margin: 0 auto;
  }
  
  .card-image {
    height: 220px;
  }
  
  .tp-card-title {
    font-size: 1rem;
    padding: 20px 15px;
  }
}

/* スマホ対応 */
@media (max-width: 768px) {
  #point {
    padding: 60px 0;
  }
  
  .tp-title {
    font-size: 2rem;
    margin-bottom: 40px;
  }
  
  .tp-grid {
    grid-template-columns: 1fr; /* 1列 */
    gap: 20px;
  }
  
  .tp-card:nth-child(n) {
    grid-column: 1;
    grid-row: auto;
    margin: 0 auto; /* カード全体を中央配置 */
    max-width: 300px; /* 最大幅を設定 */
  }
  
  .card-image {
    width: 300px;
    height: 200px; /* 高さも指定 */
    margin: 0 auto; /* 画像コンテナを中央配置 */
  }
  
  .card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  
  .tp-card-title {
    font-size: 0.95rem;
    padding: 18px 15px;
    line-height: 1.5;
    min-height: auto !important;
  }
  
  .tour-points {
    padding: 0 15px;
  }
}

@media (max-width: 480px) {
  .tp-title {
    font-size: 1.8rem;
  }
  
  .card-image {
    height: 180px;
  }
  
  .tp-card-title {
    font-size: 0.9rem;
    padding: 15px 12px;
  }
}