/* スマホ向けチップ（プラン選択） */
.plan-filter-chips {
  display: flex;
  gap: 0.75rem;
  overflow-x: auto;
  padding: 0.5rem 0 1rem;
  margin-bottom: 2rem;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  /* Firefox */
}

.plan-filter-chips::-webkit-scrollbar {
  display: none;
  /* Chrome/Safari */
}

.chip {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem 1.25rem;
  background-color: #f0f4f4;
  color: #2f4f4f;
  border: 1px solid #dcdcdc;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.chip[aria-selected="true"] {
  background-color: #2f4f4f;
  color: #fff;
  border-color: #2f4f4f;
  box-shadow: 0 2px 6px rgba(47, 79, 79, 0.2);
}

.chip:hover {
  background-color: #e0e8e8;
}

/* プランセクション */
.plans-container {
  display: flex;
  flex-direction: column;
  gap: 4rem;
}

.plan-section {
  scroll-margin-top: 140px;
  /* チップやヘッダーとの被り防止 */
}

.plan-header {
  margin-bottom: 1.5rem;
  border-bottom: 1px solid #eee;
  padding-bottom: 1rem;
}

.plan-tag {
  display: inline-block;
  background-color: #e6f0f0;
  color: #006464;
  font-size: 0.8rem;
  padding: 0.25rem 0.75rem;
  border-radius: 4px;
  margin-bottom: 0.5rem;
  font-weight: 600;
}

.plan-title {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
  color: #333;
}

.plan-desc {
  font-size: 1rem;
  color: #666;
  margin-bottom: 1rem;
  line-height: 1.6;
}

.plan-meta {
  display: grid;
  gap: 0.75rem;
  background: #f4fcfc;
  padding: 1.25rem;
  border-radius: 8px;
  border: 1px solid rgba(31, 122, 122, 0.15);
}

.plan-meta div {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.plan-meta dt {
  font-weight: 700;
  color: #1f7a7a;
  font-size: 0.95rem;
  line-height: 1.4;
}

.plan-meta dd {
  margin: 0;
  color: #333;
  font-size: 1.2rem;
  font-weight: 700;
  line-height: 1.4;
}

/* デモ用言語切り替えボタン */
.demo-lang-toggle {
  margin-top: 1rem;
  display: flex;
  gap: 0.5rem;
}

.lang-btn {
  padding: 0.4rem 1rem;
  border: 1px solid #ccc;
  background: #fff;
  border-radius: 4px;
  cursor: pointer;
  font-size: 0.9rem;
  transition: all 0.2s;
}

.lang-btn.active,
.lang-btn[aria-pressed="true"] {
  background: #2f4f4f;
  color: #fff;
  border-color: #2f4f4f;
}

/* Card Icons Fix */
.spot-card svg {
  width: 1.25em;
  height: 1.25em;
  flex-shrink: 0;
  fill: currentColor;
  vertical-align: sub;
}

/* PCのみ表示、スマホのみ表示の制御（簡易） */
/* PCのみ表示、スマホのみ表示の制御（簡易） */
@media (min-width: 768px) {
  .mobile-only {
    display: none;
  }

  .plans-container {
    gap: 6rem;
  }

  .plan-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
    padding-bottom: 3rem;
    border-bottom: 1px solid #eee;
  }

  .plan-section:last-child {
    border-bottom: none;
  }

  .plan-info-col {
    position: sticky;
    top: 120px;
  }

  .plan-header {
    border-bottom: none;
    padding-bottom: 0;
  }

  .plan-demo-col {
    padding-top: 1rem;
    max-width: 400px;
    /* スマホ画面幅を意識した制限 */
    justify-self: center;
    /* カラム内で中央寄せ */
    width: 100%;
  }

  .demo-caption {
    font-size: 0.85rem;
    color: #888;
    margin: 0 0 0.5rem;
    font-weight: 500;
  }

  /* デモエリア内のカードグリッド */
  .spot-demo-area .spot-category-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}