/* 佐渡クリスマスダイビング 2026（6言語のページ共通）。もとは christmas-dive.html の中にあった指定 */
/* Christmas dive page specific styles */
.xmas-content {
  max-width: 760px;
  margin: 0 auto;
}

.xmas-text {
  font-size: 0.92rem;
  color: var(--dark);
  line-height: 2;
  margin-bottom: 12px;
}

.xmas-note {
  max-width: 760px;
  margin: 16px auto 0;
  font-size: 0.85rem;
  color: #6B7280;
  line-height: 1.9;
}

.xmas-info {
  max-width: 760px;
  margin: 0 auto;
  border-top: 1px solid #e5e7eb;
}

.xmas-info-row {
  display: grid;
  grid-template-columns: 9em 1fr;
  gap: 16px;
  padding: 18px 4px;
  border-bottom: 1px solid #e5e7eb;
  font-size: 0.92rem;
  line-height: 1.9;
  color: var(--dark);
}

.xmas-info-row dt {
  font-weight: 700;
  color: #1B365D;
}

.xmas-info-row dd {
  margin: 0;
}

.xmas-info-row dd strong {
  font-size: 1.15rem;
  color: #1B365D;
}

.xmas-points {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  max-width: 720px;
  margin: 32px auto 0;
}

.xmas-point {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  overflow: hidden;
}

.xmas-point img {
  display: block;
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}

.xmas-point-body {
  padding: 20px 20px 24px;
}

.xmas-point h3 {
  font-family: 'Noto Serif JP', serif;
  font-size: 1.05rem;
  color: #1B365D;
  margin-bottom: 8px;
}

.xmas-point p {
  font-size: 0.88rem;
  line-height: 1.9;
  color: var(--dark);
}

.xmas-schedule-wrap {
  max-width: 760px;
  margin: 0 auto;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  overflow: hidden;
}

.xmas-schedule {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.92rem;
  color: var(--dark);
}

.xmas-schedule caption {
  background: #1B365D;
  color: #fff;
  font-weight: 700;
  padding: 14px 16px;
  text-align: left;
  letter-spacing: 0.04em;
}

.xmas-schedule th,
.xmas-schedule td {
  padding: 14px 16px;
  border-bottom: 1px solid #e5e7eb;
  text-align: left;
  line-height: 1.8;
  vertical-align: top;
}

.xmas-schedule tr:last-child th,
.xmas-schedule tr:last-child td {
  border-bottom: none;
}

.xmas-schedule th {
  width: 6.5em;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  color: #1B365D;
  white-space: nowrap;
}

.xmas-schedule-wrap + .xmas-schedule-wrap {
  margin-top: 24px;
}

.xmas-slots-summary {
  max-width: 760px;
  margin: 0 auto 20px;
  text-align: center;
  font-size: 0.95rem;
  color: var(--dark);
}

.xmas-slots-summary strong {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.6rem;
  color: #B3261E;
  margin: 0 4px;
}

.xmas-slots {
  list-style: none;
  padding: 0;
  margin: 0 auto;
  max-width: 760px;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 10px;
}

.xmas-slot {
  background: #fff;
  border: 1px solid #cfe3d6;
  border-radius: 10px;
  padding: 12px 6px;
  text-align: center;
  line-height: 1.5;
}

.xmas-slot-num {
  display: block;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 1.05rem;
  color: #1B365D;
}

.xmas-slot-state {
  display: block;
  font-size: 0.78rem;
  font-weight: 700;
  color: #2F6B4F;
}

.xmas-slot.is-full {
  background: #F3F4F6;
  border-color: #e5e7eb;
}

.xmas-slot.is-full .xmas-slot-num,
.xmas-slot.is-full .xmas-slot-state {
  color: #4B5563;
}

.xmas-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  max-width: 1080px;
  margin: 0 auto;
}

.xmas-gallery a {
  display: block;
  border-radius: 10px;
  overflow: hidden;
}

.xmas-gallery img {
  display: block;
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.xmas-gallery a:hover img {
  transform: scale(1.04);
}

.xmas-groups {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  max-width: 1080px;
  margin: 0 auto;
}

.xmas-groups figure {
  margin: 0;
}

.xmas-groups img {
  display: block;
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  border-radius: 10px;
}

.xmas-groups figcaption {
  margin-top: 8px;
  font-size: 0.88rem;
  font-weight: 700;
  color: #1B365D;
  text-align: center;
}

.xmas-steps {
  max-width: 640px;
  margin: 0 auto 28px;
  padding: 0;
  list-style: none;
  counter-reset: xmas-step;
  text-align: left;
}

.xmas-steps li {
  counter-increment: xmas-step;
  position: relative;
  padding: 6px 0 6px 44px;
  font-size: 0.92rem;
  line-height: 1.9;
}

.xmas-steps li::before {
  content: counter(xmas-step);
  position: absolute;
  left: 0;
  top: 8px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #fff;
  color: #1B365D;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

@media (max-width: 900px) {
  .xmas-points {
    grid-template-columns: 1fr;
    max-width: 480px;
  }

  .xmas-gallery {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .xmas-info-row {
    grid-template-columns: 1fr;
    gap: 2px;
  }

  .xmas-slots {
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
  }

  .xmas-groups {
    grid-template-columns: 1fr;
  }

  .xmas-schedule th,
  .xmas-schedule td {
    padding: 12px 12px;
  }
}

/* ===== 2026-10-10 追加: 予約ボタン、空き枠から予約、写真の拡大表示、各言語トップのバナー ===== */
.xmas-cta { text-align: center; margin: 32px auto 0; }
.xmas-cta .btn { min-width: 280px; max-width: 100%; }
.xmas-cta-note { margin: 10px auto 0; max-width: 560px; font-size: 0.82rem; line-height: 1.7; color: #4B5563; }
.xmas-book.is-closed { background: #E5E7EB; border-color: #E5E7EB; color: #374151; box-shadow: none; cursor: default; pointer-events: none; }

.xmas-slots-hint { max-width: 760px; margin: -8px auto 16px; text-align: center; font-size: 0.88rem; font-weight: 700; color: #2F6B4F; }
.xmas-slot { padding: 0; overflow: hidden; }
.xmas-slot-box, .xmas-slot-link { display: block; padding: 12px 6px; border-radius: 9px; }
.xmas-slot-link { color: inherit; text-decoration: none; -webkit-tap-highlight-color: transparent; }
.xmas-slot.is-open { transition: border-color .2s, box-shadow .2s, transform .2s; }
.xmas-slot.is-open:hover { border-color: #2F6B4F; box-shadow: 0 4px 12px rgba(47, 107, 79, 0.18); transform: translateY(-1px); }
.xmas-slot-link:focus-visible { outline: 3px solid #1B365D; outline-offset: -3px; }
.xmas-slot-link:active { background: #EEF7F1; }

.xmas-gallery a { cursor: zoom-in; }
.xmas-lightbox { position: fixed; inset: 0; z-index: 10000; display: flex; align-items: center; justify-content: center; padding: 72px 12px 24px; background: rgba(8, 14, 24, 0.94); }
.xmas-lightbox[hidden] { display: none; }
.xmas-lightbox img { max-width: 100%; max-height: 100%; object-fit: contain; border-radius: 6px; }
.xmas-lightbox__close { position: fixed; top: max(12px, env(safe-area-inset-top)); right: max(12px, env(safe-area-inset-right)); width: 52px; height: 52px; display: flex; align-items: center; justify-content: center; border: 2px solid #fff; border-radius: 50%; background: rgba(0, 0, 0, 0.6); color: #fff; font-size: 1.6rem; line-height: 1; cursor: pointer; }
.xmas-lightbox__close:hover { background: rgba(0, 0, 0, 0.85); }
.xmas-lightbox__close:focus-visible { outline: 3px solid #90CCD4; outline-offset: 2px; }

.xmas-banner { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); max-width: 1100px; margin: 0 auto; border-radius: 14px; overflow: hidden; background: #1B365D; box-shadow: 0 10px 30px rgba(10, 37, 51, 0.18); text-decoration: none; }
.xmas-banner img { display: block; width: 100%; height: 100%; min-height: 300px; object-fit: cover; }
.xmas-banner__body { display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 8px; padding: 32px 32px 34px; background: #1B365D; color: #fff; }
.xmas-banner__en { font-family: 'Montserrat', sans-serif; font-size: 0.78rem; font-weight: 700; letter-spacing: 0.12em; color: #fff; }
.xmas-banner__title { font-size: clamp(1.3rem, 2.6vw, 1.9rem); font-weight: 700; line-height: 1.35; color: #fff; }
.xmas-banner__meta { font-size: 0.92rem; line-height: 1.75; color: #fff; }
.xmas-banner__more { margin-top: 8px; padding: 10px 22px; border-radius: 999px; background: #BE512D; color: #fff; font-size: 0.9rem; font-weight: 700; }
.xmas-banner:hover .xmas-banner__more, .xmas-banner:focus-visible .xmas-banner__more { background: #9D3B1C; }
@media (max-width: 767px) {
  .xmas-banner { grid-template-columns: 1fr; }
  .xmas-banner img { height: auto; min-height: 0; aspect-ratio: 3 / 2; }
  .xmas-banner__body { padding: 20px 20px 22px; }
}
@media (max-width: 600px) {
  .xmas-cta .btn { min-width: 0; width: 100%; }
}
