@charset "UTF-8";

/************************************
** animation
************************************/
/* 共通部分 */
.fade {
  opacity: 0;
  transition:
    opacity 1.5s,
    transform 1s;
}

/* Y方向にフェードイン */
.fade-y {
  transform: translateY(30px);
}
.fade-y.active {
  opacity: 1;
  transform: translateY(0px);
}

/* フェードインのみ */
.fade.active {
  opacity: 1;
}
/************************************
** 
************************************/
:root {
  --color02: #c4b7b1;
}

/************************************
** home
************************************/
.mv {
  background: url(https://pilatesmusk.com/wp-content/uploads/2026/04/top_back.webp);
}
.mv .rw01 {
  position: relative;
  height: 800px;
  .item01 {
    position: absolute;
    top: 0;
    left: 0;
    width: 900px;
    img {
      width: 100%;
    }
  }
  .item02 {
    position: absolute;
    top: 10%;
    left: 75%;
    transform: translateX(-75%);
    width: 300px;
    img {
      width: 100%;
    }
  }
  .item03 {
    position: absolute;
    top: 27%;
    left: 80%;
    transform: translateX(-73%);
    width: 500px;
    .p1 {
      text-align: center;
      font-size: 36px;
      color: #966963;
      letter-spacing: 0.15em;
      .s1 {
        font-size: 48px;
      }
    }
  }
  .item04 {
    position: absolute;
    top: 41%;
    left: 72%;
    transform: translateX(-50%);
    width: 600px;
    .msg {
      text-align: center;
      font-size: 18px;
      color: #222;
      letter-spacing: 0.15em;
    }
  }
}
.mv .rw02 {
  margin-bottom: 100px;
  .ttl {
    text-align: center;
    font-size: 28px;
    color: #966963;
    margin-bottom: 60px;
    .s1 {
      font-size: 36px;
    }
  }
  .items {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 30px;
    .item {
      width: 200px;
      aspect-ratio: 1;
      border: 5px solid #fff;
      border-radius: 50%;
      background: #f7f7f7;
      display: flex;
      justify-content: center;
      align-items: center;

      p {
        font-size: 18px;
        text-align: center;
      }
    }
  }
}
.mv .rw03 {
  margin-bottom: 60px;
  .lead {
    text-align: center;
    .p1 {
      font-size: 22px;
      color: #222;
      .s1 {
        font-size: 28px;
      }
    }
  }
}
.mv .rw04 {
  margin-bottom: 60px;
  .items {
    display: flex;
    gap: 10px;
  }
}
@media screen and (max-width: 767px) {
  .mv {
    background: url(https://pilatesmusk.com/wp-content/uploads/2026/04/top_back-1.webp);
    padding-bottom: 30px;

    .wrap {
      padding: 0;
    }
  }
  .mv .rw01 {
    position: relative;
    height: 800px;

    .item01 {
      top: 18%;
      width: auto;
    }
    .item02 {
      top: 5%;
      left: 50%;
      transform: translateX(-50%);
      width: 200px;
    }
    .item03 {
      top: 23%;
      left: 77%;
      transform: translateX(-50%);
      width: auto;
      .p1 {
        writing-mode: vertical-rl;
        letter-spacing: 0.5em;
        font-size: 24px;
        .s1 {
          font-size: 28px;
        }
      }
    }
    .item04 {
      top: 80%;
      left: 50%;
      transform: translateX(-50%);
      width: calc(100% - 30px);
      .msg {
        text-align: center;
        font-size: 16px;
        color: #222;
        letter-spacing: 0.15em;
      }
    }
  }
  .mv .rw02 {
    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;
        }
      }
    }
  }
  .mv .rw03 {
    padding: 0 15px;
    margin-bottom: 30px;
    .lead {
      .p1 {
        font-size: 16px;
        color: #222;
        line-height: 2;

        .s1 {
          font-size: 18px;
        }
      }
    }
  }
  .mv .rw04 {
    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: #c4b7b1;
          }
        }
      }
    }
  }
  .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 {
  background: url(https://pilatesmusk.com/wp-content/uploads/2026/04/price_back.webp);
  background-size: cover;
  .price-section {
    margin-bottom: 30px;
    .price-container {
      .price-nav {
        display: flex;
        justify-content: center;
        .price-nav__item {
          width: 25%;
          .price-nav__btn {
            display: block;
            width: 100%;
            font-size: 20px;
            text-align: center;
            background: #fff;
            border: 1px solid var(--pilatesmusk-color);
            border-bottom: none;
            border-radius: 30px 30px 0 0;
            padding: 15px;
            transition: all 0.7s ease;
            &:hover {
              background: #c4b7b1;
              color: #fff;
            }
          }
          .price-nav__btn.is-active {
            background: var(--color02);
            color: #fff;
          }
        }
      }
    }
    .swiper {
      width: 100%;
    }
  }
  .initial-fee {
    .items {
      display: flex;
      justify-content: center;
      align-items: center;
      .item01 p {
        background: #c4b7b1;
        padding: 24px 60px;
        border: 1px solid #ccc;
        border-radius: 30px 0 0 30px;
        color: #fff;
      }
      .item02 {
        background: #fff;
        padding: 15px 60px;
        border: 1px solid #ccc;
        border-radius: 0 30px 30px 0;
        color: #222;
        span.s1 {
          font-size: 28px;
          color: #8d472f;
        }
        span.s2 {
          writing-mode: vertical-rl;
          font-size: 12px;
          color: #8d472f;
        }
      }
    }
  }
}
@media screen and (max-width: 767px) {
  .price {
    background: url(https://pilatesmusk.com/wp-content/uploads/2026/04/price_back.webp);
    .price-section {
      margin-bottom: 30px;
      .price-container {
        .price-nav {
          flex-wrap: wrap;
          margin-bottom: 30px;
          .price-nav__item {
            width: 50%;
            .price-nav__btn {
              font-size: 16px;
            }
            .price-nav__btn.is-active {
              background: var(--color02);
            }
            &:nth-child(1) .price-nav__btn {
              border-radius: 30px 0 0 0;
            }
            &:nth-child(2) .price-nav__btn {
              border-radius: 0 30px 0 0;
            }
            &:nth-child(3) .price-nav__btn {
              border-radius: 0 0 0 30px;
              border-bottom: 1px solid var(--pilatesmusk-color);
            }
            &:nth-child(4) .price-nav__btn {
              border-radius: 0 0 30px 0;
              border-bottom: 1px solid var(--pilatesmusk-color);
            }
          }
        }
      }
      .swiper {
        width: 100%;
      }
    }
    .initial-fee {
      .items {
        flex-wrap: wrap;
        .item01 {
          width: 100%;
          p {
            text-align: center;
            border-radius: 30px 30px 0 0;
            font-size: 20px;
            padding: 15px 0;
          }
        }
        .item02 {
          width: 100%;
          padding: 15px;
          text-align: center;
          border-radius: 0;
        }
      }
    }
  }
}

/************************************
** HOME - 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: 400px;
  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;
  }
}

/************************************
** faq
************************************/
.faq .qa {
  margin-bottom: 40px;
}
.qa__block {
  display: flex;
  flex-direction: column;
  min-width: 200px;
}
.qa__item {
  display: inline-block;
  margin: 0 !important;
  border-left: 1px solid #eee;
  border-right: 1px solid #eee;
  border-bottom: 1px solid #eee;
  &:nth-child(1) {
    border-top: 1px solid #eee;
  }
}
.qa__head {
  position: relative;
  text-align: left;
  padding: 20px 40px 20px 20px;
  background: transparent;
  color: #666;
  cursor: pointer;
  width: 100%;
  display: flex;
  align-items: center;
  font-weight: 700;
  border: none;
}
.qa__head:before {
  content: "Q";
  font-size: 1.5em;
  padding-right: 32px;
  color: var(--color02);
}
.qa__head:after {
  content: "";
  border-top: 1px solid var(--color02);
  border-left: 1px solid var(--color02);
  display: inline-block;
  width: 10px;
  height: 10px;
  transform: rotate(-135deg) translateY(9px);
  position: absolute;
  right: 20px;
  top: 50%;
  transition: transform 0.4s;
}
.qa__body {
  position: relative;
  background: #fff;
  color: #666;
  border: transparent;
  padding: 0 20px;
  line-height: 0;
  opacity: 0;
  transition:
    line-height 0.4s,
    padding 0.4s,
    opacity 0.4s;
  display: flex;
}
.qa__body:before {
  content: "A";
  font-size: 1.5em;
  padding-right: 32px;
  color: var(--color02);
}
.qa__body.is-open {
  padding: 20px;
  line-height: 1.5;
  opacity: 1;
  display: flex;
  font-weight: 700;
}
.qa__body p a {
  color: #666;
}
.qa__head.is-open::after {
  transform: rotate(45deg) translateY(-10px);
}
.qa__item:not(:first-child) {
  margin-top: 16px;
}

.qa__body .cont a {
  display: block;
  margin: 10px auto;
  background: #1f2020;
  border: 1px solid #6f6256;
  color: #fff;
  width: 300px;
  text-align: center;
  padding: 10px 20px;
  position: relative;
  transition: all 0.7s ease;
}
.qa__body .cont a:after {
  font-family: icomoon !important;
  content: "\e921" !important;
  position: absolute;
  top: 50%;
  right: 20px;
  transform: translateY(-50%);
}
.qa__body .cont a:hover {
  background: #fff;
  color: #61564b;
}

.faq .btn-wrap a {
  background: #6f6256;
  border: 1px solid #6f6256;
  color: #fff;
  width: 300px;
  text-align: center;
  padding: 10px 20px;
  position: relative;
  transition: all 0.7s ease;
}
.faq .btn-wrap a:after {
  font-family: icomoon !important;
  content: "\e921" !important;
  position: absolute;
  top: 50%;
  right: 20px;
  transform: translateY(-50%);
}
.faq .btn-wrap a:hover {
  background: #fff;
  color: #61564b;
}
@media screen and (max-width: 480px) {
  .faq .qa {
    margin-bottom: 40px;
  }
  .faq .btn-wrap a {
    width: 100%;
    padding: 20px 20px;
    position: relative;
    transition: all 0.7s ease;
  }
}

/************************************
** contact
************************************/
.contact {
  background: #eee;
}

/* heading */
.contact .heading02 {
  justify-content: center;
  margin-bottom: 30px;
}
.contact .heading02 .ttl .sttl {
  text-align: center;
  line-height: 1.5;
}

/* rw01 */
.contact .rw01 {
  display: block;
  text-align: center;
  padding-bottom: 30px;
  margin-bottom: 30px;
}
.contact .rw01 .p1 {
  font-size: 20px;
  margin-bottom: 10px;
}
.contact .rw01 a {
  display: block;
  background: #07b33a;
  border: 1px solid #07b53b;
  border-radius: 30px;
  color: #fff;
  width: 320px;
  padding: 15px 30px;
  margin: 0 auto;
  transition: all 0.7s ease;
}
.contact .rw01 a:hover {
  background: #ffffff;
  color: #222;
}

/* rw02 */
.contact .rw02 .contact-form-inner {
  max-width: 1000px;
  margin: 0 auto;
  padding: 50px 0;
  border: 1px solid #cccccc;
}

.contact .rw02 .form-item {
  width: 80%;
  margin: 30px auto 0;
}
.contact .rw02 .form-item:first-child {
  margin-top: 0;
}

.contact .rw02 .form-item label {
  display: block;
  font-size: 13px;
  color: #333333;
}

.contact .rw02 .form-item .must {
  color: #ac0505;
}

.contact .rw02 .form-item > input {
  width: 100%;
  height: 50px;
  border-radius: 20px;
  border: 1px solid #cccccc;
  margin-top: 10px;
}

.contact .rw02 .form-item input[type="text"],
.contact .rw02 .form-item input[type="email"],
.contact .rw02 .form-item input[type="tel"] {
  width: 100%;
  max-width: 100%;
  border-radius: 5px;
  padding: 15px;
}

.contact .rw02 .form-item textarea {
  height: auto;
  width: 100%;
  border-radius: 5px;
  border: 1px solid #cccccc;
  margin-top: 10px;
}

.contact .rw02 .form-item.send-btn {
  max-width: 300px;
  margin: 40px auto 0;
}
.contact .rw02 .form-item.send-btn input {
  background-color: var(--color02);
  color: #ffffff;
  border-radius: 5px;
  font-weight: 700;
  cursor: pointer;
}
.contact .rw02 .form-item.send-btn input:hover {
  background-color: #ffffff;
  color: var(--color02);
  border: 1px solid var(--color02);
  transition: all 0.7s ease;
}

.contact .rw02 .form-item input::placeholder,
.contact .rw02 .form-item textarea::placeholder {
  padding-left: 15px;
}

.contact .rw02 .last-check {
  display: flex;
  align-items: center;
  vertical-align: middle;
  margin-top: 10px;
}
.contact .rw02 .last-check > input {
  width: auto;
  height: auto;
  margin: 0 10px 0 0;
}
.contact .rw02 .last-check a {
  text-decoration: none;
  margin-left: 0.5em;
}

/* SP */
@media screen and (max-width: 768px) {
  .contact .heading02 {
    margin-bottom: 30px;
  }
  .contact .heading02 .ttl .sttl {
    text-align: left;
  }
  .contact .rw01 .p1 {
    font-size: 16px;
    margin-bottom: 10px;
  }
  .contact .rw02 .contact-form-inner {
    padding: 30px 0;
    border: none;
  }
  .contact .rw02 .form-item {
    width: 100%;
    margin: 20px auto 0;
  }
  .contact .rw02 .form-item > input {
    height: 35px;
    border-radius: 15px;
    margin-top: 5px;
  }
  .contact .rw02 .form-item textarea {
    border-radius: 5px;
    margin-top: 5px;
  }
  .contact .rw02 .form-item input::placeholder {
    padding-left: 5px;
  }
  .contact .rw02 .form-item.send-btn {
    width: 80%;
    margin: 30px auto 0;
  }
  .contact .rw02 .form-flex input {
    height: 35px;
    border-radius: 15px;
    margin-top: 5px;
  }
  .contact .rw02 .form-flex input:first-child {
    width: 70%;
  }
  .contact .last-check > input {
    margin: 0 5px 0 0;
  }
}

/************************************
** ub
************************************/
.ub {
  background: url(https://pilatesmusk.com/wp-content/uploads/2026/04/footer_back.webp);
  background-position: center center;
  .rw01 {
    margin-bottom: 60px;
    .items {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 20px;
      .item {
        a {
          .iw {
            width: 100%;
            border-radius: 10px;
            overflow: hidden;
            img {
              display: block;
              width: 100%;
              height: auto;
              object-fit: cover;
              transition: all 0.7s ease;
              &:hover {
                transform: scale(1.05);
              }
            }
          }
        }
        .atten {
          font-size: 14px;
          text-align: right;
        }
      }
    }
  }
  .rw02 {
    .items {
      display: flex;
      flex-wrap: wrap;
      width: 90%;
      margin: 0 auto;
      .item01 {
        width: 100%;
        text-align: center;
        margin-bottom: 30px;
        .iw img {
          width: 300px;
        }
      }
      .item02 {
        width: 50%;
        .p1 {
          font-size: 28px;
          margin-bottom: 20px;
        }
        .p2 {
          font-size: 20px;
        }
      }
      .item03 {
        width: 50%;
        .gmap {
          position: relative;
          width: 100%;
          padding-top: 56.25%;
          /* 16:9のアスペクト比 */
          height: 0;
        }

        .gmap iframe {
          position: absolute;
          top: 0;
          left: 0;
          width: 100%;
          height: 100%;
        }
      }
    }
  }
}
@media screen and (max-width: 768px) {
  .ub {
    background: url(https://pilatesmusk.com/wp-content/uploads/2026/04/footer_back-1.webp);
    .rw01 {
      .items {
        grid-template-columns: 1fr;
      }
    }
    .rw02 {
      .items {
        width: 100%;
        .item01 {
          .iw img {
            width: 200px;
          }
        }
        .item02 {
          order: 3;
          width: 100%;
          .p1 {
            font-size: 24px;
            margin-bottom: 20px;
          }
          .p2 {
            font-size: 16px;
          }
        }
        .item03 {
          order: 2;
          width: 100%;
          margin-bottom: 20px;
        }
      }
    }
  }
}
