/* =========================
   ViVa PILATES Feature Page
   Scoped: .viva-pilates
   ========================= */

.viva-pilates {
  --viva-bg: #0b0b0c;
  --viva-fg: #ffffff;
  --viva-muted: rgba(255,255,255,.72);
  --viva-dim: rgba(255,255,255,.12);
  --viva-card: rgba(255,255,255,.06);
  --viva-accent: #ffffff; /* テーマ側で色があるならここだけ変えてOK */
  --viva-max: 1100px;
  --viva-radius: 16px;
  --viva-shadow: 0 18px 40px rgba(0,0,0,.35);
  color: #161616;
  background: #fff; /* テーマが白でもページは黒基調に寄せやすい */
}

.viva-pilates-container {
  width: min(var(--viva-max), calc(100% - 40px));
  margin: 0 auto;
}

.viva-pilates-section {
  padding: 36px 0;
}

.viva-pilates-section--muted {
  background: rgba(255,255,255,.03);
  border-top: 1px solid rgba(255,255,255,.06);
  border-bottom: 1px solid rgba(255,255,255,.06);
}

.viva-pilates-heading {
  margin-bottom: 28px;
}

.viva-pilates-kicker, .viva-pilates-eyebrow {
    letter-spacing: .12em;
    text-transform: uppercase;
    font-size: 12px;
    opacity: .75;
    margin: 0 0 10px;
    color: #41c5f0;
    font-weight: bold;
}

.viva-pilates-title {
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.15;
  margin: 0 0 18px;
}

.viva-pilates-h2 {
    font-size: clamp(22px, 3vw, 32px);
    line-height: 1.25;
    margin: 0;
    border-bottom: solid 1px #41c5f0;
}

.viva-pilates-lead {
  color: #fff;
  font-size: 16px;
  line-height: 1.9;
  margin: 0 0 22px;
	text-shadow: 1px 1px #606060;
}

.viva-pilates-em {
  font-size: 16px;
  line-height: 1.9;
  padding: 18px 18px;
  border-radius: 12px;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
}

.viva-pilates-narrow {
  width: min(820px, 100%);
}

.viva-pilates-hero {
  position: relative;
  min-height: 72vh;
  padding: 120px 0 90px;
  background-size: cover;
  background-position: center;
  border-bottom: 1px solid rgba(255,255,255,.08);
}

.viva-pilates-hero__overlay {
    position: absolute;
    inset: 0;
    background: radial-gradient(800px 500px at 25% 20%, rgb(0 0 0 / 0%), #ffffff47), linear-gradient(180deg, rgba(0,0,0,.15), rgb(0 0 0 / 30%));
}

.viva-pilates-hero__inner {
    position: relative;
    width: min(var(--viva-max), calc(100% - 40px));
    margin: 0 auto;
    padding-top: 24px;
    z-index: 3;
}

.hero {
    position: relative;
    padding: 0;
    overflow: hidden;
    border-bottom: 2px solid var(--line);
    min-height: 520px;
}

.viva-pilates-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 18px;
}

.viva-pilates-actions--center {
  justify-content: center;
}

.viva-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 18px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.22);
  background: #31c4f2;
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  letter-spacing: .02em;
  transition: transform .15s ease, background .15s ease, border-color .15s ease;
}

.viva-btn:hover {
  transform: translateY(-1px);
  background: rgba(255,255,255,.16);
  border-color: rgba(255,255,255,.36);
}


.viva-link {
   display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 18px;
    border-radius: 999px;
    border: 1px solid rgba(255,255,255,.22);
    background: #31c4f2;
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    letter-spacing: .02em;
    transition: transform .15s ease, background .15s ease, border-color .15s ease;
}

.viva-link:hover {
  border-bottom-color: rgba(255,255,255,.75);
}

.viva-pilates-inline-cta {
  margin-top: 18px;
}

.viva-pilates-grid {
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 28px;
  align-items: start;
}

.viva-pilates-text p {
  color: rgb(58 58 58);
  line-height: 1.95;
  margin: 0 0 14px;
}

.viva-pilates-list {
  margin: 20px 0 0;
  padding-left: 1.1em;
  color: rgb(58 58 58);
	list-style-type: disc;
}

.viva-pilates-list li {
  margin: 8px 0;
}

.viva-pilates-media__placeholder {
  border-radius: var(--viva-radius);
  border: 1px dashed rgba(255,255,255,.20);
  background: rgba(255,255,255,.04);
  padding: 22px;
  min-height: 220px;
  display: grid;
  place-items: center;
  color: rgba(255,255,255,.65);
}

.viva-pilates-steps {
  color: rgba(255,255,255,.85);
  font-weight: 700;
  letter-spacing: .03em;
  margin: 0 0 18px;
}

.viva-pilates-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 20px;
}

.viva-card {
  border-radius: var(--viva-radius);
  background: var(--viva-card);
  border: 1px solid rgba(255,255,255,.10);
  box-shadow: var(--viva-shadow);
  padding: 18px 18px;
}

.viva-card__title {
  margin: 0 0 10px;
  font-size: 16px;
}

.viva-pilates-note {
    color: var(--jp-carousel-bg-color);
    margin: 36px 0 0;
    font-size: 16px;
    font-weight: bold;
}

.viva-pilates-benefits {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.viva-chip {
  padding: 10px 12px;
  border-radius: 999px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.12);
  color: rgba(255,255,255,.86);
  font-size: 14px;
}

.viva-pilates-reco {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.viva-reco-card {
  border-radius: 14px;
  padding: 14px 14px;
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.10);
  color: rgba(255,255,255,.88);
}

.viva-pilates-flow {
  list-style: none;
  padding: 0;
  margin: 18px 0 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.viva-flow-step {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    padding: 16px 16px;
    border-radius: var(--viva-radius);
    background: rgb(255 105 0 / 58%);
    border: 1px solid rgba(255,255,255,.10);
}

.viva-flow-step__num {
  width: 34px;
  height: 34px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.14);
  font-weight: 800;
}

.viva-flow-step__title {
  margin: 0 0 6px;
  font-size: 15px;
}

.viva-flow-step p {
    margin: 0;
    color: var(--jp-carousel-primary-color);
    line-height: 1.8;
    font-size: 14px;
}

.viva-pilates-small {
  margin-top: 14px;
  color: rgba(255,255,255,.70);
  font-size: 13px;
}

.viva-pilates-cta {
  padding: 36px 0;
  background:
    radial-gradient(900px 480px at 60% 20%, rgba(255,255,255,.08), rgba(0,0,0,.0)),
    linear-gradient(180deg, rgba(255,255,255,.03), rgba(0,0,0,.0));
  border-top: 1px solid rgba(255,255,255,.08);
}

.viva-pilates-cta__inner {
  text-align: center;
}

.hero-media {
    position: absolute;
    inset: 0;
}
.hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
    background: rgb(0 0 0 / 30%);
}

/* Responsive */
@media (max-width: 900px) {
  .viva-pilates-section { padding: 24px 0; }
  .viva-pilates-grid { grid-template-columns: 1fr; }
  .viva-pilates-cards { grid-template-columns: 1fr; }
  .viva-pilates-reco { grid-template-columns: 1fr; }
  .viva-pilates-flow { grid-template-columns: 1fr; }
  .viva-pilates-hero { padding: 96px 0 70px; min-height: 66vh; }
}

.hero-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    inset: 0;
}