/*
 * P-SIX Theme — plan-detail.css
 * SUP / BIG SUP / レンタル / SUPヨガ 共通スタイル
 */

/* ═══ PLAN NAV (sticky) ═══ */
.plan-nav-wrap { position: sticky; top: 60px; z-index: 80; background: var(--white); border-bottom: 1px solid var(--pearl); transition: top .3s; }
.plan-nav { max-width: 1100px; margin: 0 auto; display: flex; gap: 0; overflow-x: auto; -webkit-overflow-scrolling: touch; }
.plan-nav a { flex-shrink: 0; padding: 18px 28px; font-size: 12px; font-weight: 500; letter-spacing: 1px; color: var(--steel); text-decoration: none; border-bottom: 2px solid transparent; transition: all .3s; white-space: nowrap; }
.plan-nav a:hover, .plan-nav a.active { color: var(--sea); border-bottom-color: var(--sea); }

/* ═══ PLAN SECTION ═══ */
.plan-section { padding: 120px 60px; }
.plan-section .sec-inner { display: grid; grid-template-columns: 1.1fr 1fr; gap: 80px; align-items: center; }
.plan-section h2 { font-family: 'Playfair Display', serif; font-size: clamp(24px, 3vw, 34px); font-weight: 400; color: var(--ink); line-height: 1.7; margin-bottom: 20px; }
.plan-section h2 em { font-style: italic; color: var(--sea); }
.plan-section .plan-text { font-size: 14px; font-weight: 300; color: var(--steel); line-height: 2.4; }
.plan-img { width: 100%; aspect-ratio: 4/3; border-radius: 2px; overflow: hidden; box-shadow: 0 24px 64px rgba(0,0,0,.08); }
.plan-img img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* Price */
.plan-price-wrap { margin-top: 32px; }
.plan-price { font-family: 'DM Sans', sans-serif; font-size: 36px; font-weight: 600; color: var(--sea); letter-spacing: 1px; }
.plan-price-note { font-size: 13px; color: var(--mist); margin-top: 4px; }
.plan-old-price { font-size: 18px; color: var(--mist); text-decoration: line-through; margin-right: 12px; }
.plan-time { margin-top: 20px; font-size: 14px; color: var(--steel); line-height: 2; }
.plan-time strong { color: var(--ink); font-weight: 600; }
.plan-points { list-style: none; margin-top: 20px; }
.plan-points li { font-size: 14px; color: var(--steel); line-height: 2.2; padding-left: 20px; position: relative; }
.plan-points li::before { content: '✓'; position: absolute; left: 0; color: var(--sea); font-weight: 600; }

/* ═══ UPSELL ═══ */
.upsell { background: linear-gradient(135deg, var(--sea-deep), var(--sea)); color: var(--white); padding: 60px; }
.upsell-inner { max-width: 1100px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 40px; }
.upsell-badge { display: inline-block; padding: 6px 16px; background: rgba(255,255,255,.12); border-radius: 20px; font-size: 11px; letter-spacing: 2px; margin-bottom: 12px; }
.upsell h3 { font-family: 'Playfair Display', serif; font-size: clamp(20px, 2.5vw, 28px); font-weight: 400; margin-bottom: 8px; }
.upsell-text p { font-size: 13px; font-weight: 300; color: rgba(255,255,255,.7); line-height: 2; }
.upsell-action { text-align: center; flex-shrink: 0; }
.upsell-price { font-family: 'DM Sans', sans-serif; font-size: 36px; font-weight: 600; letter-spacing: 1px; }
.upsell-price-note { font-size: 12px; color: rgba(255,255,255,.6); margin-top: 4px; }
.upsell-per { font-size: 13px; color: var(--sea-glow); margin-top: 8px; }

/* ═══ DETAILS TABLE ═══ */
.details { background: var(--white); padding: 120px 60px; }
.details .sec-inner { max-width: 900px; }

/* ═══ SCHEDULE ═══ */
.schedule { background: var(--snow); padding: 120px 60px; }
.sched-steps { display: flex; gap: 0; justify-content: center; }
.sched-step { flex: 1; max-width: 170px; text-align: center; padding: 40px 16px; position: relative; border-top: 2px solid var(--pearl); transition: border-color .3s; }
.sched-step:hover { border-color: var(--sea); }
.sched-num { font-family: 'Playfair Display', serif; font-size: 32px; font-weight: 400; color: var(--sea); margin-bottom: 12px; margin-top: -24px; background: var(--snow); display: inline-block; padding: 0 8px; }
.sched-step p { font-size: 13px; color: var(--steel); font-weight: 400; letter-spacing: .5px; }
.sched-note { margin-top: 48px; text-align: center; font-size: 12px; color: var(--mist); }

/* ═══ GALLERY SLIDESHOW ═══ */
.gallery { background: var(--white); padding: 120px 60px; }
.slideshow { position: relative; overflow: hidden; border-radius: 3px; max-width: 900px; margin: 0 auto; }
.slideshow-track { display: flex; transition: transform .5s cubic-bezier(.4, 0, .2, 1); }
.slideshow-slide { flex: 0 0 100%; }
.slideshow-slide img { width: 100%; aspect-ratio: 16/10; object-fit: cover; display: block; }
.ss-btn { position: absolute; top: 50%; transform: translateY(-50%); width: 48px; height: 48px; border-radius: 50%; border: 1px solid rgba(255,255,255,.3); background: rgba(0,0,0,.3); backdrop-filter: blur(8px); display: flex; align-items: center; justify-content: center; cursor: pointer; z-index: 5; transition: all .3s; }
.ss-btn:hover { background: rgba(0,0,0,.5); border-color: rgba(255,255,255,.5); }
.ss-prev { left: 16px; }
.ss-next { right: 16px; }
.ss-btn svg { width: 20px; height: 20px; stroke: var(--white); fill: none; stroke-width: 2; }
.ss-counter { position: absolute; bottom: 16px; right: 16px; font-family: 'DM Sans', sans-serif; font-size: 12px; color: rgba(255,255,255,.7); letter-spacing: 2px; z-index: 5; }
.ss-dots { display: flex; justify-content: center; gap: 8px; margin-top: 20px; }
.ss-dot { width: 8px; height: 8px; border-radius: 50%; border: none; background: var(--pearl); cursor: pointer; transition: all .3s; padding: 0; }
.ss-dot.active { background: var(--sea); width: 24px; border-radius: 4px; }

/* ═══ RESPONSIVE ═══ */
@media (max-width: 1024px) {
  .plan-section .sec-inner { grid-template-columns: 1fr; gap: 48px; }
  .upsell-inner { flex-direction: column; text-align: center; }
  .details, .schedule, .gallery { padding: 80px 40px; }
}

@media (max-width: 768px) {
  .plan-section { padding: 80px 24px; }
  .details, .schedule, .gallery { padding: 60px 24px; }
  .plan-nav a { padding: 14px 20px; font-size: 11px; }
  .sched-steps { flex-direction: column; align-items: center; }
  .sched-step { border-top: none; border-left: 2px solid var(--pearl); text-align: left; padding: 14px 24px; max-width: 100%; width: 100%; }
  .sched-step:hover { border-left-color: var(--sea); }
  .sched-num { margin-top: 0; background: transparent; display: inline; margin-right: 10px; }
  .ss-btn { width: 36px; height: 36px; }
}
