@charset "UTF-8";

:root {
}

/************************************
** init
************************************/
.l-content {
  margin: 0 auto;
  padding-top: 0;
  max-width: 100%;
  padding-left: 0;
  padding-right: 0;
}
.fw {
  margin-right: calc(50% - 50vw);
  margin-left: calc(50% - 50vw);
}
.inner-wrap,
.wrap {
  width: 1200px;
  margin: 0 auto;
  padding: 60px 0;
}
.pc {
  display: block;
}
.sp {
  display: none;
}
@media screen and (max-width: 480px) {
  .inner-wrap,
  .wrap {
    width: auto;
    padding: 30px 15px;
  }
  .sp {
    display: block;
  }
  .pc {
    display: none;
  }
}

/************************************
** kv
************************************/

/* .kv .kv__overlay{
	display:none;
}
 */
@media screen and (max-width: 959px) {
  .kv {
    .kv__overlay {
      bottom: 50%;
      left: 50%;
      transform: translate(-50%, -50%);
      .heading-02 .ttl {
        text-align: center;
        .sttl {
          text-align: center;
        }
      }
    }
  }
}

/************************************
** pageTop
************************************/

.c-fixBtn {
    background: #fff;
    border: 1px solid var(--pilatesmusk-color);
    color: var(--pilatesmusk-color);
}
.hov-bg-main:hover {
    background-color: var(--pilatesmusk-color)!important;
    color: #fff!important
}

/************************************
** banner
************************************/
.campaign-banner {
  padding-top: 60px;
  margin: 0 auto;
  text-align: center;
  @media screen and (max-width: 959px) {
    padding: 30px 0 0;
  }
}

/************************************
** Page-Navi
************************************/
.page-navi {
  .items {
    display: flex;
    justify-content: center;
    gap: 30px;
  }
  .rw01 {
    margin-bottom: 0px;
    a {
      display: block;
      width: 400px;
      border: 2px solid var(--pilatesmusk-color);
      border-radius: 50px;
      padding: 15px;
      font-size: 20px;
      color: #222;
      text-align: center;
      position: relative;
      transition: all 0.7s ease;
      i {
        position: absolute;
        top: 50%;
        right: 10%;
        transform: translateY(-50%);
        color: var(--pilatesmusk-color);
      }
      &:hover {
        background: var(--pilatesmusk-color);
        color: #fff;
        i {
          color: #fff;
        }
      }
    }
  }
  @media screen and (max-width: 959px) {
    .rw01 {
      margin-bottom: 40px;
      .items {
        flex-wrap: wrap;
        gap: 20px;
      }
      a {
        width: calc(100vw - 30px);
      }
    }
  }
}
/************************************
** solution
************************************/
.solution .rw01 {
  margin-bottom: 60px;
  .ttl {
    text-align: center;
    font-size: 32px;
    color: #966963;
    letter-spacing: 0.1em;
    margin-bottom: 40px;
    .s1 {
      font-size: 42px;
    }
  }
  .items {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 30px;
    .item {
      width: 220px;
      aspect-ratio: 1;
      border: 2px solid var(--pilatesmusk-color);
      border-radius: 50%;
      background: #f9f9f9;
      display: flex;
      justify-content: center;
      align-items: center;

      p {
        font-size: 18px;
        text-align: center;
      }
    }
  }
}
.solution .rw02 {
  margin-bottom: 60px;
  .lead {
    text-align: center;
    .p1 {
      font-size: 22px;
      color: #222;
      .s1 {
        font-size: 28px;
      }
    }
  }
}
.solution .rw03 {
  margin-bottom: 60px;
  .items {
    display: flex;
    gap: 10px;
  }
}
@media screen and (max-width: 767px) {
  .solution {
    padding-bottom: 30px;
    .wrap {
      padding: 0;
    }
  }
  .solution .rw01 {
    margin-bottom: 60px;
    padding: 0 15px;
    .ttl {
      font-size: 20px;
      margin-bottom: 30px;
      .s1 {
        font-size: 24px;
      }
    }
    .items {
      flex-wrap: wrap;
      justify-content: space-evenly;
      gap: 10px;
      margin-bottom: 30px;
      .item {
        width: 48%;
        p {
          font-size: 16px;
          text-align: center;
        }
      }
    }
  }
  .solution .rw02 {
    padding: 0 15px;
    margin-bottom: 30px;
    .lead {
      .p1 {
        font-size: 16px;
        color: #222;
        line-height: 2;

        .s1 {
          font-size: 18px;
        }
      }
    }
  }
  .solution .rw03 {
    padding: 0 15px;
    margin-bottom: 30px;

    .items {
      flex-wrap: wrap;
      gap: 10px;
    }
  }
}
/************************************
** program
************************************/
.program {
  .program-container {
    display: flex;
    gap: 60px;
    .program-nav {
      width: 30%;
      .program-nav__item {
        &:nth-child(7) {
          border-bottom: 2px solid #ccc;
        }
        .program-nav__btn {
          display: block;
          width: 100%;
          font-size: 24px;
          text-align: left;
          background: #fff;
          border: none;
          border-top: 2px solid #ccc;
          padding: 1em 0 1em 1em;
          position: relative;
          transition: all 0.7s ease;
          &::after {
            position: absolute;
            font-family: icomoon !important;
            content: "\e921" !important;
            top: 50%;
            transform: translateY(-50%);
            right: 10px;
          }
          &:hover {
            background: var(--pilatesmusk-color);
          }
        }
      }
    }
  }
  .swiper {
    width: 70%;
  }
}
@media screen and (max-width: 767px) {
  .program {
    .program-container {
      display: block;
      gap: 30px;
      .program-nav {
        width: auto;
        display: flex;
        justify-content: space-between;
        flex-wrap: wrap;
        margin-bottom: 30px;
        .program-nav__item {
          width: 48%;
          &:nth-child(6),
          &:nth-child(7) {
            border-bottom: 1px solid #ccc;
          }
          .program-nav__btn {
            display: block;
            width: 100%;
            font-size: 16px;
            background: transparent;
            border-top: 1px solid #ccc;
            padding: 10px;
          }
        }
      }
    }
    .swiper {
      width: auto;
    }
  }
}

/************************************
** Price
************************************/

.price {
  --label-width: 320px;
  --border: #d9d9d9;
  --gray: #bcbcbc;
  --brown: #9b8b8b;
  --accent: #b76a63;

  .wrap {
    display: flex;
    flex-direction: column;
    /* gap: 40px; */
  }
}

/* 共通 */
.price-section,
.price-entry {
  display: flex;
  border: 1px solid var(--border);
}
.price-entry {
  margin-bottom: 40px;
  border: none;
}
.price-label {
  width: var(--label-width);
  display: flex;
  justify-content: center;
  align-items: center;
  background: var(--brown);
  color: #fff;
  font-size: 28px;
  font-weight: 500;
  line-height: 1.5;
  padding: 20px;
  flex-shrink: 0;
}

/* 入会時 */
.price-entry {
  .price-label {
    background: var(--gray);
    border-radius: 50px 0 0 50px;
  }
  .price-entry__body {
    flex: 1;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 28px 60px;
    border: 1px solid var(--gray);
    border-radius: 0 50px 50px 0;
  }
  .price-entry__text {
    flex: 1;
    text-align: center;
    h3 {
      font-size: 30px;
      margin-bottom: 10px;
      font-weight: normal;
    }
    p {
      font-size: 16px;
    }
  }
  .price-entry__price {
    font-size: 42px; /* font-weight:600; */
    white-space: nowrap;
    span {
      font-size: 18px;
    }
  }
}

/* 初回 */
.first {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 28px 35px;
  .lead {
    font-size: 28px;
  }
  .free {
    color: var(--accent);
    font-size: 42px;
    font-weight: bold;
  }
}

/* 月額・都度 */
.price-list {
  flex: 1;
}
.price-item {
  display: grid;
  grid-template-columns: 1fr 260px;
  border-bottom: 1px solid var(--border);
}
.price-item:last-child {
  border-bottom: none;
}
.plan {
  padding: 28px 35px;
  h3 {
    font-size: 28px;
    margin-bottom: 8px;
    font-weight: 500;
  }
  p {
    font-size: 17px;
    line-height: 1.8;
  }
}
.price-value {
  display: flex;
  justify-content: center;
  align-items: center;
  border-left: 1px solid var(--border);
  font-size: 34px;
  font-weight: 500;
  span {
    margin-top: 5px;
    font-size: 15px;
  }
}
/* 相互利用 */
.mutual {
  .price-label {
    background: var(--accent);
  }
}
.mutual-box {
  flex: 1;
  text-align: center;
}
.copy {
  padding: 25px;
  font-size: 28px;
  color: var(--accent);
  border-bottom: 1px dashed var(--border);
}
.campaign {
  padding: 45px;
  p {
    font-size: 30px;
  }
}
.campaign-price {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 35px;
  margin-top: 25px;
}
.before {
  font-size: 32px;
  text-decoration: line-through;
}
.arrow {
  font-size: 55px;
  color: var(--accent);
}
.after {
  font-size: 72px;
  color: var(--accent);
  small {
    font-size: 22px;
  }
}
.note {
  background: #f6f6f6;
  padding: 20px;
  font-size: 22px;
}
.banner {
  padding: 35px;
  p {
    margin-bottom: 18px;
    color: #2f9c98;
    font-size: 24px;
  }
  img {
    width: 100%;
    display: block;
  }
}

/************************************
** price SP
************************************/
@media (max-width: 768px) {
  .price-section,
  .price-entry {
    display: block;
    margin-bottom: 40px;
  }
  .price-label {
    width: 100%;
    padding: 16px;
    font-size: 20px;
  }
  .price-entry {
    .price-label {
      border-radius: 0;
    }
    .price-entry__body {
      display: block;
      padding: 15px 20px;
      text-align: center;
      border-radius: 0;
    }
    .price-entry__text {
      margin-bottom: 0;

      h3 {
        font-size: 24px;
        margin-bottom: 0;
      }
    }
    .price-entry__price {
      font-size: 28px;
    }
  }
  .first {
    padding: 35px 20px;
    .lead {
      font-size: 20px;
    }
    .free {
      font-size: 36px;
    }
  }
  .price-item {
    grid-template-columns: 1fr 1fr;
  }
  .plan {
    padding: 15px;
    text-align: center;
    h3 {
      font-size: 20px;
    }
    p {
      font-size: 14px;
    }
  }
  .price-value {
    padding: 15px;
    font-size: 22px;

    span {
      font-size: 13px;
    }
  }
  .copy {
    padding: 15px;
    font-size: 20px;
  }
  .campaign {
    padding: 30px 20px;
    p {
      font-size: 28px;
    }
  }
  .campaign-price {
    display: block;
    margin-top: 0;
  }
  .before,
  .arrow,
  .after {
    display: block;
  }
  .before {
    font-size: 28px;
  }
  .arrow {
    margin: 10px 0;
    transform: rotate(90deg);
  }
  .after {
    font-size: 48px;
  }
  .note {
    padding: 15px;
    font-size: 20px;
  }
  .banner {
    padding: 20px;
    p {
      font-size: 24px;
    }
  }
}
/************************************
** links
************************************/
.links .rw {
  display: block;
  text-align: center;
  margin-bottom: 40px;
  font-size: 16px;
  p {
    margin-bottom: 10px;
  }
}

.links .rw02 a {
  display: block;
  width: 600px;
  margin: 0 auto;
  transition: all 0.7s ease;
  &:hover {
    opacity: 0.8;
  }
  @media screen and (max-width: 767px) {
    width: auto;
  }
}
/************************************
** Studio Section Base
************************************/

#studio {
  overflow: hidden; /* Swiperからはみ出したスライドを隠す */
  padding: 0 0 60px;
}

#studio .wrap {
  /* Swiperがwrapを基準に slidesPerView 計算するようにするため、
     wrapに overflow: visible; が必要な場合があります（テーマによる）。
     基本はデフォルトのままで動作します。
  */
}

/* --- Swiper Container Adjustment --- */
.js-studio-slider {
  padding: 0 0 40px; /* 左右の10%部分に前後のスライドが見えてくる */
}

@media screen and (max-width: 767px) {
  .js-studio-slider {
    padding: 0 0 30px; /* スマホでは余白を狭く */
  }
}

/* --- Slide Item Style --- */
.studio-item {
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  transition:
    transform 0.3s ease,
    opacity 0.3s ease;
  height: auto;
  opacity: 1;
}

/* 中央のスライドだけ100%表示 */
.swiper-slide-active .studio-item {
  opacity: 1;
}

/* --- Image & Lightbox Link --- */
.studio-img a {
  display: block;
  position: relative;
  overflow: hidden;
}

.studio-img img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.5s ease;
}

/* ホバー時に画像を少し拡大 */
.studio-img a:hover img {
  transform: scale(1.05);
}

/* 拡大アイコンの表示（疑似要素） */
.studio-img a::after {
  content: "+"; /* またはアイコンフォント、SVG */
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: rgba(0, 0, 0, 0.6);
  color: #fff;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none; /* クリックイベントを阻害しない */
}

.studio-img a:hover::after {
  opacity: 1;
}
.studio-comment {
  padding: 15px;
}

/* プログレスバーの位置を下に移動 */
.swiper-horizontal > .swiper-pagination-progressbar,
.swiper-pagination-progressbar.swiper-pagination-horizontal {
  width: 80%;
  margin: 0 100px;
  bottom: 0;
  top: auto;
  background-color: #cccccc; /* プログレスバーの背景色変更 */
  height: 10px; /* プログレスバーの高さ変更 */
  .swiper-pagination-progressbar-fill {
    background: #636363;
  }
}

@media screen and (max-width: 767px) {
  .studio-item {
    height: 260px;
  }
  .swiper-horizontal > .swiper-pagination-progressbar,
  .swiper-pagination-progressbar.swiper-pagination-horizontal {
    width: 100%;
    margin: 0;
  }
}

/************************************
** service-links
************************************/
.service-links {
  /* SP: コンテナ全体のマージン */
  @media screen and (max-width: 480px) {
    margin-bottom: 30px;
  }

  .items {
    display: flex;
    gap: 30px;

    @media screen and (max-width: 480px) {
      display: block;
    }
  }

  .item {
    margin-bottom: 5px;
    width: 100%;
    border-radius: 10px;
    overflow: hidden;
    @media screen and (max-width: 480px) {
      margin-bottom: 10px;
    }

    /* 動的クラスによる背景色の出し分け（CSSネストでは & を結合） */
    &.item1 .cont {
      background: var(--andmake-color);
    }
    &.item2 .cont {
      background: var(--naturafit-color);
    }

    a {
      display: flex;
      position: relative;
      height: clamp(100px, 12.5vw, 150px);
      transition: opacity 0.7s ease; /* ホバー時の透過用 */
      &:hover {
        opacity: 0.8;
        &::after {
          right: 20px;
        }
      }

      /* 矢印アイコン */
      &::after {
        content: "";
        position: absolute;
        top: 45%;
        right: 25px;
        width: 15px;
        height: 15px;
        border-top: 2px solid #fff;
        border-left: 2px solid #fff;
        transform: rotate(135deg);
        transition: right 0.7s ease; /* アニメーション対象をrightに修正 */

        @media screen and (max-width: 480px) {
          right: 20px;
          width: 10px;
          height: 10px;
        }
      }

      /* 左側: 画像エリア */
      .iw {
        width: 40%;
        overflow: hidden;
        @media screen and (max-width: 480px) {
          width: 30%;
        }
        img {
          width: 100%;
          height: 100%;
          object-fit: cover;
        }
      }

      /* 右側: コンテンツエリア */
      .cont {
        display: block;
        width: 60%;
        padding: clamp(15px, 1.6vw, 20px);
        text-align: center;
        font-size: clamp(12px, 1.5vw, 18px);
        letter-spacing: 0.2em;
        color: #fff;
        @media screen and (max-width: 480px) {
          width: 70%;
        }
        p {
          margin-bottom: clamp(10px, 1.25vw, 15px);
        }
        .box-iw {
          margin: 0 auto;
          img {
            width: auto;
            height: clamp(40px, 5vw, 60px);
          }
        }
      }
    }
  }
}
