/* --- スライダー本体 --- */
.slider-viewport {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #000;
}

.slider-track {
  display: flex;
  height: 100%;
  will-change: transform;
  cursor: grab;
}

.slider-track:active {
  cursor: grabbing;
}

.slider-item {
  flex: 0 0 100%;
  width: 100%;
  position: relative;
  height: 100%;
}

.slider-item img {
  width: 100%;
  height: 100%;
  /* object-fit: cover; */
  display: block;
  user-select: none;
}

/* キャプションのスタイル */
.slider-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 40px 20px 15px;
  background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.4) 50%, transparent 100%);
  color: #fff;
  font-weight: 500;
  letter-spacing: 0.05em;
  pointer-events: none;
  z-index: 5;
  text-shadow: 0 1px 2px rgba(0,0,0,0.5);
}

/* 操作ボタン */
.nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.9);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  opacity: 0;
  transition: opacity 0.3s, background 0.2s;
}

.cabin-card:hover .nav-btn {
  opacity: 1;
}

.nav-btn:hover {
  background: #fff;
}

.btn-prev { left: 15px; }
.btn-next { right: 15px; }

.nav-btn svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: #1a2a44;
  stroke-width: 2;
}

/* カウンター */
.slider-counter {
  position: absolute;
  top: 15px;
  right: 15px;
  background: rgba(0, 0, 0, 0.6);
  color: #fff;
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 1.2rem;
  font-weight: bold;
  z-index: 10;
  backdrop-filter: blur(4px);
}
/* 概要画像クレジット用スタイル */
.vessel-img-box {
  position: relative;
}
.img-credit {
  position: absolute;
  bottom: 10px;
  right: 10px;
  background: rgba(0, 0, 0, 0.5);
  color: #ffffff;
  font-size: 10px;
  padding: 2px 8px;
  border-radius: 3px;
  font-family: var(--font-sans, sans-serif);
  pointer-events: none;
  z-index: 2;
}
/* --- 客室詳細データ表示用 --- */
.cabin-body {
  padding: 20px;
}
.cabin-text-desc {
  font-size: 1.3rem;
  color: #333;
  line-height: 1.6;
  margin-bottom: 15px;
}
.cabin-special-perks {
  background: #f0f4f8;
  border-left: 4px solid var(--primary-navy);
  padding: 15px;
  margin-top: 15px;
  font-size: 1.3rem;
  border-radius: 0 8px 8px 0;
}
.cabin-spec-box {
  margin-top: 15px;
  border-top: 1px solid #eee;
  padding-top: 15px;
}
.cabin-spec-title {
  font-size: 1.2rem;
  font-weight: bold;
  color: #1a2a44;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 5px;
}
.cabin-spec-list {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-bottom: 15px;
}
.cabin-spec-item {
  font-size: 1.1rem;
  background: #f0f4f8;
  color: #444;
  padding: 2px 8px;
  border-radius: 3px;
}
.cabin-amenity-list {
  font-size: 1.1rem;
  color: #666;
  line-height: 1.6;
}
.cabin-amenity-list span::after {
  content: " / ";
}
.cabin-amenity-list span:last-child::after {
  content: "";
}
@media (max-width: 480px) {
  .nav-btn { opacity: 1; width: 32px; height: 32px; }
  .section-title { font-size: 1.8rem; }
}
