/* ============================================================
   Popup — slick-based (tour2025 production faithful)
   ============================================================ */

/* Background overlay */
.popup__bg {
  z-index: 900;
  position: fixed;
  top: 0; left: 0; bottom: 0; right: 0;
  width: 100%;
  background: rgba(0,0,0,0.7);
}

/* Popup container */
.block--popup {
  z-index: 901;
  position: fixed;
  width: 500px;
  max-height: 92vh;
  overflow-y: auto;
  background: #fff;
  padding: 20px 0;
  border-radius: 6px;
  top: 50%;
  left: 50%;
  transform: translate(-50%,-50%);
  color: #000;
}

/* Title bar */
.block--popup > .tit {
  font-weight: bold;
  font-size: 22px;
  text-align: center;
  height: 0;
  line-height: 60px;
  opacity: 0;
  overflow: hidden;
  transition: all .3s ease;
}
.block--popup.popup--start > .tit { height: 60px; overflow: visible; }
.block--popup.popup--start > .tit { opacity: 1; }

/* = YOU badge */
.block--popup .block--you {
  position: absolute;
  top: 44px;
  right: 0;
  padding-right: 15px;
  font-size: 11px;
  line-height: 2em;
  background: #fff;
  display: block;
  z-index: 1;
}
.block--popup .block--you img {
  width: 13px;
  position: relative;
  top: 4px;
  margin: 0 3px 0 0;
}

/* Slides list reset */
.block--popup > ul { margin: 0; padding: 0; list-style: none; }

/* Slide box */
.block--popup .box {
  min-height: 420px;
  font-size: 15px;
  padding: 30px 30px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
/* CASE slides */
.block--popup .slide--case .box {
  padding: 5px 22px 0;
}

/* Logo */
.block--popup .slide--cover .logo { width: 180px; margin: 0 auto 20px; }
.block--popup .slide--cover .logo img { width: 100%; height: auto; }

/* Lead */
.block--popup .lead {
  font-size: 22px;
  margin: 0 0 25px;
  text-align: center;
  font-weight: bold;
}
.block--popup .slide--cover .lead { color: #ec453b; }
.block--popup .lead span {
  color: #000;
  background: linear-gradient(transparent 60%, #6aa5d3 60%);
  display: inline-block;
  margin: 0 0 20px;
  font-size: 1.5em;
}

/* CASE lead */
.block--popup .slide--case { text-align: center; }
.block--popup .slide--case .lead {
  color: #ec453b;
  font-weight: bold;
}

/* Body txt */
.block--popup .txt {
  text-align: left;
  line-height: 1.6;
  font-size: 14px;
}

/* Device image */
.block--popup .ph { margin-top: 15px; }
.block--popup .ph img {
  max-width: 440px;
  width: 100%;
  display: block;
  margin: 0 auto;
}

/* CASE */
.block--popup .case__numb {
  margin: 2px 0 6px;
  font-weight: bold;
  font-size: 15px;
}
.block--popup .slide--case .lead {
  font-size: 22px;
  margin: 4px 0;
}
.case__list { margin: 0 0 6px; list-style: none; padding: 0; width: 100%; }
.case__list > li { position: relative; }
.case__list > li > div {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f5f5f5;
  padding: 6px 20px;
  position: relative;
}
.case__list > li + li { margin-top: 34px; }
.case__list > li + li::before,
.case__list > li + li::after {
  content: '';
  background: #000;
  width: 18px; height: 3px;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  top: -20px;
}
.case__list > li + li::after {
  transform: translateX(-50%) rotate(90deg);
  margin-left: 0;
}
.case__list > li .ph {
  display: flex;
  justify-content: center;
  flex-shrink: 0;
}
.case__list > li .ph span {
  width: 48px;
  display: inline-block;
  margin: 0 5px;
  white-space: nowrap;
}
.case__list > li .ph span img { width: 100%; height: auto; }
.case__list > li .ph span::after {
  display: block;
  font-size: 10px;
  line-height: 1em;
  margin-top: 4px;
  white-space: nowrap;
}
.case__list > li .ph .ph--entry::after { content: '応募者'; }
.case__list > li .ph .ph--accompany::after { content: '同行者'; }
.case__list > li .ph .ph--spacer {
  visibility: hidden;
}
.case__list > li .ph .ph--spacer::after { content: ''; }
.case__list > li .txt {
  margin: 0;
  padding: 0 0 0 12px;
  text-align: left;
  font-weight: bold;
  font-size: 15px;
}
.block--popup .slide--last .lead span { margin-bottom: 40px; }
.block--popup .slide--last .txt { color: #ec453b; font-weight: bold; }

/* slick dots */
.block--popup .slick-dots { margin-top: 10px; text-align: center; padding: 0; }
.block--popup .slick-dots li { display: inline-block; margin: 0 4px; }
.block--popup .slick-dots button {
  -webkit-appearance: none;
  padding: 0; margin: 0;
  width: 8px; height: 8px;
  background: #ccc;
  text-indent: 100%;
  white-space: nowrap;
  overflow: hidden;
  border-radius: 10px;
  border: none;
  outline: 0;
  cursor: pointer;
}
.block--popup .slick-dots .slick-active button { background: #000; }

/* OK button */
.block--popup .btn { text-align: center; margin-top: 10px; }
.block--popup .btn a {
  display: inline-block;
  width: 220px;
  padding: 14px 0;
  background: #000;
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.08em;
  border-radius: 999px;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
}

/* clearfix */
.clearfix::after { content: ''; display: table; clear: both; }

/* ── Responsive ── */
@media screen and (max-width: 900px) {
  .block--popup { width: 92%; padding: 10px 0; }
  .block--popup .lead { font-size: 16px; }
  .block--popup .box { min-height: 380px; height: auto; padding: 0 15px; }
  .block--popup .slide--case .box { padding: 5px 12px 0; }
  .block--popup > .tit { height: 40px; line-height: 40px; font-size: 16px; }
  .block--popup .slide--cover .logo { width: 50%; }
  .case__list > li .ph span { width: 36px; margin: 0 3px; }
  .case__list > li .ph span::after { font-size: 9px; }
  .case__list > li .txt { line-height: 1.4; font-size: 14px; }
  .block--popup .case__numb { font-size: 15px; margin-top: 0; }
  .case__list > li + li { margin-top: 30px; }
  .case__list > li + li::before,
  .case__list > li + li::after { width: 16px; height: 3px; top: -18px; }
  .case__list > li + li::after { transform: translateX(-50%) rotate(90deg); margin-left: 0; }
  .case__list > li > div { padding: 6px 12px; }
  .block--popup .slide--case .lead { font-size: 20px; margin-bottom: 2px; }
  .block--popup .box .txt { line-height: 1.4; font-size: 13px; }
}
@media screen and (max-width: 374px) {
  .block--popup .box { min-height: 230px; height: auto; }
  .block--popup .slide--cover .logo { width: 40%; margin-bottom: 10px; }
  .case__list { margin: 0 0 10px; }
  .case__list > li > div { padding: 5px; }
  .case__list > li .txt { font-size: 12px; }
  .block--popup .lead { font-size: 14px; margin-bottom: 10px; }
  .block--popup .lead + .txt { font-size: 11px; }
  .case__list > li .ph img { width: 50%; }
  .block--popup .slick-dots { margin: 0; }
}
@media screen and (min-width: 900px) {
  .block--popup .block--you { top: 76px; padding-right: 30px; }
  .block--popup .block--you img { width: 16px; }
}

/* PC page layout is now in style.css */
