/* 共通設定 */
body#nts-style p {
  font-weight: 400 !important;
}

p {
  font-size: 16px;
  line-height: 1.7;
  color: #394d65;
}

h2 {
  text-align: center;
}

img {
  max-width: 100%;
}

section {
  padding: 80px 15px;
}

.pc {
  display: block;
}

.tab {
  display: none;
}

.sp {
  display: none;
}
/* ヘッダー */
section.header {
  background-color: #394d65;
}

/* 動画埋め込み */
section.top {
  position: relative;
  padding: 0;
}
.top img {
  width: 380px;
  max-width: 100%;
  height: auto;
  display: block;
}
.top-wrapper {
  display: flex;
  align-items: flex-end;
  width: 100%;
  max-width: 1240px;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  top: -10%;
  z-index: 100;
  padding: 0 30px;
  justify-content: space-between;
}

.video-wrapper {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
}

.video-wrapper video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.video-wrapper .overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(33, 33, 34, 0.296);
  z-index: 2;
  pointer-events: none;
}
.video-wrapper{
  position: relative;
  width: 100vw;
  height: 100vh;
  overflow: hidden;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
}
.hero-poster, .hero-video{
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover; display: block;
}

.video-pc { display:block; }
.video-sp { display:none; }

@media (max-width:500px) {
  .video-pc { display:none; }
  .video-sp { display:block; }
}

/* ビフォーアフター */

/*Slick slider*/

.sliderArea {
  max-width: 1300px;
  margin: 0 auto;
  padding: 0;
}

.sliderArea.w300 {
  max-width: 300px;
}

.slick-slide {
  margin: 0;
}

.slick-list {
  position: relative;
  max-width: 910px;
  display: block;
  overflow: visible;
  margin: 0 auto;
  padding: 0;
}

/* slickスライダーがページ全体に影響しないように親セクションで制御 */
section.before-after {
  overflow: hidden;
}

/*矢印*/
.slick-prev {
  left: 13%;
}

.slick-next {
  right: 13%;
}

.slick-prev {
  z-index: 1;
  width: 45px;
  height: 45px;
  border: 3px solid #b0b8c1;
  border-radius: 50%;
  padding-left: 15px;
}

.slick-next {
  z-index: 1;
  width: 45px;
  height: 45px;
  border: 3px solid #b0b8c1;
  border-radius: 50%;
  padding-left: 6px;
}

.slick-prev::before {
  content: "";
  display: block;
  width: 20px;
  height: 20px;
  border-bottom: 3px solid #b0b8c1;
  border-left: 3px solid #b0b8c1;
  transform: rotate(45deg);
}

.slick-next::before {
  content: "";
  display: block;
  width: 20px;
  height: 20px;
  border-bottom: 3px solid #b0b8c1;
  border-left: 3px solid #b0b8c1;
  transform: rotate(-135deg);
}

/*スライド動き*/
.slick-slide {
  transition: all ease-in-out 0.3s;
}

/*スライド画像を３枚表示＋中央は大きく表示*/

.slider .slick-slide.slick-center {
  transform: scale(1);
  opacity: 1;
}

.ba-inner {
  max-width: 1300px;
  margin: 0 auto;
}

.ba-item {
  height: 570px;
  padding: 20px 15px;
  background: #ebedf0;
  margin-left: 50px;
}

.ba-item h3 {
  position: relative;
  left: -22px;
  top: 20px;
  width: 80%;
  height: 50px;
  background-image: url(../img/h3-bg.webp);
  background-repeat: no-repeat;
  background-size: contain;
}

.ba-item h3 span {
  position: relative;
  top: 13px;
  left: 14px;
  color: #273444;
  font-size: 16px;
}

.ba-item:nth-of-type(2n) {
  background: #ebedf0;
}

.ba-wrap {
  display: flex;
  gap: 20px;
  text-align: center;
}

.ba-img img {
  width: 28vw;
  height: 300px;
  object-fit: contain;
}

.ba-wrap p {
  font-size: 12px;
  font-weight: 500 !important;
}

.ba-wrap span {
  font-size: 18px;
  font-family: serif;
  font-weight: 400;
  background: #fff;
  color: 273444;
  padding: 5px 15px;
}

.after span {
  background: #b0b8c1;
}

.after p {
  color: #273444;
}

.ba-wrap .before,
.ba-wrap .after {
  flex: 1;
}

/* オファー01 */

section.offer01,
section.offer02 {
  background: #617184;
}

.frame01 {
  max-width: 750px;
  margin: 0 auto;
  background: #fff;
  padding: 5px;
}

.frame02 {
  position: relative;
  text-align: center;
  border: 3px solid #9d8c70;
  padding: 20px;
}

.frame02::before {
  content: "";
  position: absolute;
  top: -20px;
  left: -20px;
  width: 0;
  height: 0;
  border-top: solid 20px transparent;
  border-right: solid 20px transparent;
  border-bottom: solid 20px transparent;
  border-left: solid 20px #9d8c70;
  transform: rotateZ(-135deg);
}

.frame02::after {
  content: "";
  position: absolute;
  bottom: -20px;
  right: -20px;
  width: 0;
  height: 0;
  border-top: solid 20px transparent;
  border-right: solid 20px transparent;
  border-bottom: solid 20px transparent;
  border-left: solid 20px #9d8c70;
  transform: rotateZ(45deg);
}

.frame02 p {
  font-size: 12px;
}

.frame02 img {
  margin-bottom: 20px;
  width: 400px;
  max-width: 100%;
  height: auto;
}

/* 店舗拡大中 */
section.salon-exp {
  background-image: url(https://luluto.kabushikigaisya-rigakubody.co.jp/wp-content/themes/jin-child/top-renewal/img/bg-earth.webp);
  background-size: 55%;
  background-position: 15%;
  background-repeat: no-repeat;
  background-color: #ebedf0;
}

.exp-wrap {
  display: flex;
  justify-content: center;
}

.exp-img {
  width: 500px;
}

.exp-salon {
  width: 500px;
}

.salon-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 20px;
}

.salon-grid img {
  width: 100%;
  height: 130px;
  object-fit: cover;
}

.salon-item p {
  font-size: 13px;
  margin: 0 0 20px;
}

.salon-btn {
  text-align: center;
  margin: 20px 0;
  max-width: 250px;
}

/* ピラティスの魅力 */
section.charm {
  background: #394d65;
}
section.charm h2 {
  margin: 0 auto;
  max-width: 750px;
}
.charm-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 50px;
  margin: 50px 0;
}

.charm-img {
  position: relative;
  bottom: 50px;
  width: 500px;
}

.charm-item {
  position: relative;
  margin-bottom: 50px;
}
.charm-item img {
  height: 85px;
  width: auto;
  object-fit: contain;
}

.charm-item.c01 {
  left: -300px;
}

.charm-item.c02 {
  left: -100px;
}

.charm-item p {
  font-size: 18px;
  padding-left: 70px;
  margin: 0;
  color: #fff;
}

.charm-item span {
  color: #fff;
  font-weight: 600;
}

.charm-text {
  width: 580px;
}

/* 理学療法士監修 */
section.therapist {
  background: #394d65;
}
.therapist h2 {
  font-size: 26px;
  color: #fff;
}
.sub-title {
  font-weight: 14px;
  margin: 0 auto 16px auto;
  color: #fff;
  text-align: center;
}
.therapist-wrap {
  display: flex;
  max-width: 800px;
  margin: 50px auto 0;
  gap: 40px;
  padding: 40px;
}

.therapist-wrap p {
  color: #fff;
}
.therapist-text,
.therapist-img {
  width: 350px;
}

.therapist-text {
  font-size: 16px;
}

.therapist-btn {
  margin-top: 24px;
  width: 250px;
}

/* こんな方におすすめ */
section.recommend {
  background-color: #ebedf0;
}

.recommend {
  text-align: center;
}

.recommend h2 {
  position: relative;
  font-size: 28px;
  color: #394d65;
  margin: 0px auto 80px;
}

.recommend h2 span {
  position: absolute;
  top: -50px;
  left: 49%;
}

.recomend-wrap {
  position: relative;
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-bottom: 50px;
}

.recommend-item {
  position: relative;
  z-index: 10;
  width: 200px;
}

.recommend-item::before {
  content: "";
  position: absolute;
  bottom: -55px;
  left: 50%;
  transform: translate(-50%);
  width: 3px;
  height: 70px;
  background: #333;
  z-index: -1;
}

.recommend-item.reco01::before {
  background: #ffffff;
}

.recommend-item.reco02::before {
  background: #d9dbe1;
}

.recommend-item.reco03::before {
  background: #939da9;
}

.recommend-item.reco04::before {
  background: #627185;
}

.recommend-item.reco05::before {
  background: #394d65;
  left: 50.5%;
}

.recommend img {
  position: relative;
  z-index: 10;
  width: 1000px;
}

/* 期待できる効果 */
section.benefit {
  background-color: #ebedf0;
}
.benefit h2 {
  max-width: 750px;
  margin: 40px auto;
}
.benefit-wrap {
  position: relative;
  display: flex;
  max-width: 1000px;
  height: 430px;
  margin: 0 auto;
  justify-content: space-between;
  gap: 10px;
}

.benefit-wrap.third {
  top: -30px;
  height: 420px;
}

.benefit-line {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 140px;
  padding: 30px 0;
  background: #d7dbe0;
  z-index: 10;
}
.benefit-line img {
  width: 22px;
}

.second .benefit-line {
  top: -70px;
  background: #fff;
}

.third .benefit-line {
  top: -62px;
  height: 450px;
}

.benefit-text {
  position: absolute;
  top: 12%;
  left: 15%;
  width: 500px;
  padding: 20px;
  background: rgba(255, 255, 255, 0.8);
  z-index: 10;
}
.benefit-text img {
  max-height: 30px;
}

.second .benefit-text {
  width: 550px;
  top: 20%;
  left: initial;
  right: 10%;
  padding: 30px;
}

.benefit-img {
  position: relative;
  top: 0;
  width: 500px;
}

/* ピラティス・ヨガ・ジムの違い */
section.difference {
  text-align: center;
  padding: 80px 0 0 0;
  background-color: #394d65;
}
.difference h2 {
  max-width: 750px;
  margin: 0 auto;
}

p.difference-text {
  font-size: 27px;
  font-weight: 500;
  color: #fff;
  margin: 20px 0 0 0;
}

.defference-wrap {
  position: relative;
  max-width: 740px;
  margin: 50px auto;
  padding: 40px 25px 25px 25px;
  background-color: #fff;
}

.defference-wrap h3 {
  position: relative;
  top: -10px;
  font-size: 25px;
  color: #394d65;
  font-weight: 600;
}

.defference-wrap h3 img {
  position: absolute;
  width: 110px;
  left: 50%;
  transform: translate(-50%, 0);
}

.defference-wrap::before {
  content: "";
  position: absolute;
  top: -21px;
  left: -21px;
  width: 0;
  height: 0;
  border-top: solid 20px transparent;
  border-right: solid 20px transparent;
  border-bottom: solid 20px transparent;
  border-left: solid 20px #394d65;
  transform: rotateZ(-135deg);
}

.defference-wrap::after {
  content: "";
  position: absolute;
  bottom: -21px;
  right: -21px;
  width: 0;
  height: 0;
  border-top: solid 20px transparent;
  border-right: solid 20px transparent;
  border-bottom: solid 20px transparent;
  border-left: solid 20px #394d65;
  transform: rotateZ(45deg);
}

.defference-item {
  display: flex;
  justify-content: space-between;
}

.defference-text {
  text-align: left;
  width: 450px;
  padding: 0 10px 0 50px;
}

.defference-text h3 {
  text-align: right;
}

.defference-text.no2 h3,
.defference-text.no3 h3 {
  margin-right: 20px;
}

.defference-text p {
  font-size: 15px;
}

.defference-img {
  padding-right: 20px;
  padding-bottom: 10px;
  width: 250px;
  max-width: 100%;
  height: auto;
}
.difference-img2 {
  max-width: 400px;
  margin: 0 auto;
}

.arrow-center {
  text-align: center;
  position: relative;
  bottom: -71px;
  width: 400px;
  max-width: 100%;
  height: auto;
  margin: 0 auto;
}

/* あなたはどっち派？ */

section.which-side {
  background: #394d65;
}

.which-side h2 {
  color: #fff;
  font-size: 26px;
  margin: 30px 0;
}

.which-side-table {
  text-align: center;
  max-width: 980px;
  margin: 50px auto;
}

.which-side p {
  text-align: center;
  font-size: 18px;
  font-weight: 500;
  color: #fff;
}

.which-side span {
  color: #fff;
  font-weight: 600;
}

.which-side span.accent {
  font-size: 24px;
}

/* 利用者の声 */
section.voice {
  background-color: #ebedf0;
}
.voice h2 {
  margin-bottom: 50px;
  font-size: 26px;
  color: #394d65;
}

.voice-wrap {
  max-width: 1050px;
  margin: 50px auto 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
}

.voice-item {
  position: relative;
  width: 320px;
  background: #d7dbe0;
  padding: 20px;
}

.voice-item h3 {
  position: absolute;
  top: -55px;
  left: 50%;
  transform: translateX(-50%);
}

.voice-name {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  gap: 10px;
  margin: 10px 0;
}

.voice-item img {
  width: 90px;
  margin: 20px 0 20px 20px;
}

.voice-item .voice-name p {
  text-align: right;
  font-size: 17px;
  margin: 5px 0;
}

.voice-item p {
  font-size: 13px;
}

.voice-item-inner {
  position: relative;
  height: 100%;
  background: #fff;
  display: flex;
  flex-direction: column;
  padding: 0 20px 20px;
}

/* オファー２ */
.offer02 h2 {
  font-size: 28px;
  font-family: serif;
  color: #0c4c50;
  margin: 0 0 20px;
}

/* 体験レッスンの流れ */
section.flow {
  padding-bottom: 0;
  background-color: #394d65;
}
.flow h2 {
  max-width: 400px;
  margin: 0 auto;
}

.flow-wrap {
  position: relative;
  width: 550px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 50px 0;
}

.flow-wrap::before {
  content: "";
  width: 1px;
  height: 130px;
  background: #fff;
  position: absolute;
  top: 160px;
  left: 57px;
}

.flow-wrap.last::before {
  content: none;
}

.flow-text h3 {
  font-size: 22px;
  color: #fff;
  font-weight: 600;
}

.flow-text p {
  margin: 0;
  color: #fff;
}

.flow-img {
  position: relative;
  z-index: 10;
  width: 110px;
}

/* Price */
section.price {
  background-color: #394d65;
}
.price-wrap {
  max-width: 800px;
  margin: 0 auto;
  background: #ebedf0;
  padding: 40px;
}

section.price h2 {
  margin-bottom: 50px;
}

.price-wrap h3 {
  text-align: center;
  margin-bottom: 40px;
}

.price-inner {
  padding: 40px;
  background: #fff;
}

.campaign {
  display: flex;
  border-top: 2px solid #394d65;
  border-bottom: 2px solid #394d65;
  justify-content: center;
  gap: 30px;
}

.campaign p {
  font-size: 24px;
  margin: 5px 0;
}

.campaign-right {
  position: relative;
}

.campaign .small {
  position: relative;
  font-size: 16px;
  bottom: 5px;
}

span.small::before {
  content: "";
  display: block;
  width: 175px;
  border-bottom: 1px solid #394d65;
  position: absolute;
  bottom: 0;
  left: -8px;
}

span.small::after {
  content: "";
  display: block;
  height: 13px;
  border-right: 1px solid #394d65;
  position: absolute;
  bottom: -2px;
  right: -10px;
  transform: rotateZ(-55deg);
}

.campaign .large {
  font-size: 25px;
  color: #a0844f;
}

.price-img {
  text-align: center;
  margin: 30px 0;
}

/* Q&A */
section.qa {
  background-color: #ebedf0;
}
.qa h2 {
  font-size: 26px;
  color: #394d65;
}
.qa-wrap {
  max-width: 800px;
  margin: 50px auto;
  background: #fff;
  padding: 20px 0px 40px 160px;
}

.qa-question {
  position: relative;
  font-size: 24px;
  color: #394d65;
}

.qa-question::before {
  content: "Q";
  font-size: 30px;
  color: #fff;
  position: absolute;
  top: -26px;
  left: -130px;
  padding: 17px 32px;
  background: #394d65;
  border-radius: 50%;
  z-index: 10;
}

.qa-answer {
  position: relative;
  margin: 0;
}

.qa-answer::before {
  content: "A";
  font-size: 26px;
  color: #394d65;
  position: absolute;
  top: -23px;
  left: -90px;
  background: #fff;
  padding: 10px 25px;
  border-radius: 50%;
  z-index: 1;
}

/* 店舗一覧 */
section.salon-list {
  background: #394d65;
  border-bottom: #fff 1px solid;
}

.logo {
  text-align: center;
  margin: 20px auto;
  width: 100px;
}

.salon-list h2 {
  font-size: 30px;
  color: #fff;
}

/* アコーディオン */
.accordion {
  width: 100%;
  max-width: 740px;
  margin: 50px auto;
}

.accordion-item {
  padding: 0;
  margin-bottom: 50px;
}

.accordion-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 25px;
  color: #394d65;
  background-color: #ebedf0;
  cursor: pointer;
}

.toggle-btn {
  background: none;
  border: none;
  font-size: 20px;
  color: #fff;
  cursor: pointer;
  padding: 4px 10px;
  border-radius: 50%;
  background-color: #394d65;
}

.toggle-btn.show {
  transform: rotate(135deg) !important;
  top: 5px;
}

.accordion-content,
.sub-accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s ease-out;
  padding: 0 10px;
}

.accordion-content.show,
.sub-accordion-content.show {
  max-height: 10000px;
  /* Adjust this value based on content */
}

.sub-accordion {
  margin-top: 10px;
}

.sub-accordion-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #fff;
  padding: 7px 15px;
  margin-bottom: 20px;
  background-color: #617184;
  cursor: pointer;
}

.sub-accordion-header .toggle-btn {
  position: relative;
  bottom: 4px;
  right: 8px;
  background: none;
  border-bottom: 2px solid #fff;
  border-left: 2px solid #fff;
  border-radius: 0;
  padding: 0;
  width: 15px;
  height: 15px;
  transform: rotate(-45deg);
}

.sub-accordion-content {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  padding: 0;
}

.sub-item {
  position: relative;
  width: 47%;
  margin-bottom: 50px;
  background: #fff;
  box-shadow: 0px 2px 7px 0 #aaa;
}

.sub-item img {
  width: 100%;
  height: 250px;
  object-fit: cover;
}

.sub-item h3 {
  font-size: 22px;
  font-weight: 600;
  text-align: center;
  margin: 10px 0;
}

.sub-item p {
  padding: 0 15px;
}

.sub-item span {
  font-size: 14px;
}

.sub-item .detail {
  text-align: right;
}

.tenpo-btn a {
  display: block;
  color: #394d65;
  text-decoration: none;
  background: #fff;
  width: 90%;
  padding: 10px;
  margin: 20px auto;
  text-align: center;
  font-weight: 500;
  border: solid 1.5px #394d65;
  border-radius: 3px;
  box-shadow: 0px 2px 7px 0px #ccc;
}

.tenpo-btn a:hover {
  color: #fff;
  background: #394d65;
}

span.fc {
  position: absolute;
  font-size: 16px;
  top: 10px;
  right: 10px;
  padding: 10px 20px;
  background: #394d65;
  color: #fff;
}

/* タブレット表示（780px） */
@media (max-width: 780px) {
  /* 共通設定 */
  .pc {
    display: none;
  }

  .tab {
    display: block;
  }

  /* 動画埋め込み */
  .top-wrapper {
    display: block;
  }

  /* ビフォーアフター */
  .slick-list {
    max-width: 440px;
  }

  .ba-item h3 {
    width: 100%;
  }

  .ba-img img {
    width: 50vw;
    height: 300px;
    object-fit: contain;
  }

  /* 店舗拡大中 */
  section.salon-exp {
    background-size: 90%;
    background-position: -100px center;
  }

  /* ピラティスの魅力 */
  .charm-item p {
    padding-left: 30px;
  }

  /* 理学療法士監修 */
  .therapist-btn {
    bottom: -20px;
  }

  /* 期待できる効果 */
  section.benefit {
    padding: 80px 0;
  }

  .benefit-wrap {
    height: 50vh;
  }

  .benefit-img {
    top: 10%;
  }

  .benefit-text {
    top: 40%;
    left: 20%;
  }

  .second .benefit-text {
    top: 45%;
    padding: 20px;
  }

  .benefit-wrap.third {
    height: 60vh;
  }

  .third .benefit-line {
    top: 0;
    height: 65vh;
  }

  /* ピラティス・ヨガ・ジムの違い */
  section.difference {
    padding: 80px 30px;
  }

  /* 利用者の声 */
  .voice-wrap {
    max-width: 670px;
    justify-content: left;
    gap: 80px 30px;
  }

  .voice-item:last-child {
    justify-self: left;
  }

  /* オファー01 */
  .frame01 {
    max-width: 650px;
  }
}

/* スマホ表示 */
@media (max-width: 600px) {
  /* 共通設定 */
  section {
    padding: 50px 15px;
  }

  .sp {
    display: block;
  }

  .pc {
    display: none;
  }

  /* ヘッダー */
  section.header {
    padding: 64px 15px;
  }
  /* 動画埋め込み */
  .top img {
    width: 320px;
  }
  .top-wrapper {
    padding: 0 15px;
  }

  /* ビフォーアフター */
  .ba-img img {
    width: 85vw;
  }

  .slick-prev {
    left: -3%;
  }

  .slick-next {
    right: -3%;
  }

  /* オファー01 */
  section.offer01 img {
    width: 90%;
  }

  .frame02 p {
    text-align: left;
    font-size: 13px;
    padding: 0 15px;
  }

  /* 店舗拡大中 */
  section.salon-exp {
    background-size: 120%;
    background-position: 10px 20px;
  }

  .exp-wrap {
    flex-direction: column;
  }

  .exp-img,
  .exp-salon {
    width: 100%;
  }

  /* ピラティスの魅力 */
  .charm-wrap {
    flex-direction: column-reverse;
    margin: 50px 0 0;
  }

  .charm-img,
  .charm-text {
    width: 100%;
  }

  .charm-item p {
    font-size: 14px;
    padding-left: 20px;
  }

  .charm-item.c01 {
    left: 0px;
  }

  .charm-item.c01 img {
    width: 80%;
  }

  .charm-item.c02 {
    left: 0;
  }

  .charm-item.c02.last img {
    width: 75%;
  }

  /* 理学療法士監修 */
  .therapist-wrap {
    flex-direction: column;
    padding: 40px 20px;
    margin: 20px auto 0;
  }

  .therapist-text,
  .therapist-img {
    width: 100%;
  }

  .therapist-btn {
    position: relative;
    bottom: 0;
  }

  /* こんな方におすすめ */
  .recommend h2 span {
    top: -10px;
    left: 46%;
  }

  .recommend span img {
    width: 50%;
  }

  .recomend-wrap {
    height: 80px;
  }

  .recommend-item {
    position: absolute;
    width: 80px;
  }

  .recommend-item.reco01 {
    top: -40px;
    left: -10px;
  }

  .recommend-item.reco01::before,
  .recommend-item.reco05::before {
    height: 100px;
    bottom: -90px;
  }

  .recommend-item.reco02 {
    top: 10px;
    left: 60px;
  }

  .recommend-item.reco02::before,
  .recommend-item.reco04::before {
    height: 50px;
    bottom: -40px;
  }

  .recommend-item.reco03 {
    top: -40px;
    left: 50%;
    transform: translateX(-50%);
  }

  .recommend-item.reco03::before {
    height: 100px;
    bottom: -90px;
  }

  .recommend-item.reco04 {
    top: 10px;
    right: 60px;
  }

  .recommend-item.reco05 {
    right: -10px;
    top: -40px;
  }

  /* ベネフィット */
  .benefit-wrap {
    width: 100%;
    height: 70vh;
  }

  .benefit-line {
    width: 45px;
  }

  .benefit-line img {
    width: 33%;
  }

  .benefit-text {
    top: 180px;
    left: initial;
    right: -5px;
    width: 320px;
    padding: 20px;
  }

  .benefit-img {
    position: absolute;
    top: 20px;
    right: -10px;
    width: 300px;
  }

  .benefit-wrap.second {
    height: 80vh;
  }

  .second .benefit-img {
    right: initial;
    left: -5px;
  }

  .second .benefit-text {
    width: 300px;
    top: 180px;
    left: 0px;
    padding: 20px;
  }

  .second .benefit-line {
    position: absolute;
    top: 0;
    left: initial;
    right: 0;
    height: 80vh;
  }

  .benefit-wrap.third {
    top: 0;
    height: 92vh;
  }

  .third .benefit-line {
    top: -30px;
    height: auto;
  }

  .third .benefit-text {
    top: 180px;
  }

  /* ピラティス・ヨガ・ジムの違い */
  section.difference {
    text-align: center;
    padding: 64px 15px;
  }

  .defference-item {
    flex-direction: column-reverse;
  }

  .defference-img {
    margin: 0 auto;
  }

  .defference-text {
    width: 100%;
    padding: 15px;
  }

  /* 利用者の声 */
  section.voice {
    padding: 50px 15px 0;
  }

  .voice h2 img {
    width: 70%;
  }

  .voice-item {
    margin-bottom: 30px;
  }

  .voice-item:last-child {
    margin-bottom: 50px;
  }

  /* オファー02 */
  .offer02 h2 {
    font-size: 22px;
    margin: 10px 0 20px;
  }

  .offer02 img {
    width: 90%;
  }

  /* トライアルまでの流れ */
  .frow h2 {
    width: 80%;
    margin: 10px auto;
  }

  .flow-wrap {
    width: 100%;
    padding: 10px 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    height: 200px;
  }

  .flow-img {
    width: 65px;
  }

  .flow-wrap::before {
    height: 200px;
    top: 75px;
    left: 35px;
  }

  .flow-text {
    position: absolute;
    width: 82%;
    margin-left: auto;
    top: 30px;
    left: 70px;
  }

  /* 料金 */
  section.price {
    background-color: #394d65;
  }
  .price h2 {
    margin-bottom: 20px;
  }

  .price h2 img {
    width: 50%;
  }

  .price-wrap,
  .price-inner {
    padding: 20px;
  }

  .campaign {
    justify-content: space-between;
    gap: 10px;
  }

  p.campaign-right {
    display: flex;
    width: 320px;
    align-items: baseline;
  }

  .campaign p {
    font-size: 14px;
  }

  .campaign .small {
    font-size: 10px;
  }

  span.small::before {
    width: 117px;
  }

  span.small::after {
    height: 10px;
    bottom: -2px;
    right: -6px;
  }

  .campaign .large {
    font-size: 28px;
    font-weight: 600;
  }

  /* よくある質問 */
  .qa h2 img {
    width: 45%;
  }

  .qa-wrap {
    padding: 10px 10px 20px 60px;
  }

  .qa-question {
    position: relative;
    font-size: 19px;
    color: #044f52;
    margin-left: 9px;
  }

  .qa-question::before {
    font-size: 24px;
    top: -15px;
    left: -73px;
    padding: 12px 23px;
  }

  .qa-answer {
    position: relative;
    font-size: 14px;
    margin-left: 10px;
  }

  .qa-answer::before {
    font-size: 20px;
    top: -13px;
    left: -56px;
    padding: 5px 16px;
  }

  /* 店舗一覧02 */

  .salon-list h2 {
    font-size: 24px;
  }

  .accordion-content.show,
  .sub-accordion-content.show {
    max-height: 10000px;
  }

  .sub-item {
    width: 100%;
  }
}
/* 店舗一覧 テスト中 */
.store-accordion {
  font-family: sans-serif;
  padding: 2em;
}

.store-accordion details.accordion {
  border-radius: 6px;
  overflow: hidden;
  margin-bottom: 2em;
}

.store-accordion summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1em;
  font-weight: 500;
  cursor: pointer;
  list-style: none;
  color: #31696e;
  font-size: 18px;
  border-bottom: #4a4a4a 0.5px solid;
  letter-spacing: 0.1em;
}

.store-accordion summary::-webkit-details-marker {
  display: none;
}

.store-accordion .accordion-icon {
  width: 16px;
  height: 16px;
  transition: transform 0.3s ease;
}

.store-accordion details[open] .accordion-icon {
  transform: rotate(90deg);
}

.store-accordion .tenpo-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1em;
  padding: 1em;
}

.store-accordion .tenpo-box {
  background: #fff;
  padding: 1em;
}

.store-accordion .tenpo-img-wrapper {
  aspect-ratio: 16 / 9;
  width: 100%;
  margin-bottom: 24px;
  overflow: hidden;
  position: relative;
}

.store-accordion .tenpo-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.store-accordion .tenpo-title {
  font-size: 20px;
  font-weight: bold;
  margin-bottom: 24px;
  color: #31696e;
}

.store-accordion .tenpo-sub-title {
  font-size: 15px;
  font-weight: 600;
  color: #31696e;
}

.store-accordion .tenpo-text {
  font-size: 15px;
  margin-bottom: 24px;
  color: #31696e;
}

.store-accordion .tenpo-btn-wrap {
  display: flex;
  flex-wrap: wrap;
  width: 100%;
  gap: 24px;
}

.store-accordion .tenpo-btn,
.store-accordion .tenpo-btn-line {
  margin-top: 8px;
  flex: 0 0 calc(50% - 24px);
  box-sizing: border-box;
  text-decoration: none;
  font-size: 16px;
  font-weight: 600;
  padding: 16px;
  text-align: center;
}

.store-accordion .tenpo-btn {
  background: #31696e;
  color: #fff;
}

.store-accordion .tenpo-btn-line {
  background: #fff;
  color: #31696e;
  border: #31696e 1px solid;
}


/*-------------------------------------------*/
/* 最新のお知らせ（トップページ用）
/*-------------------------------------------*/

.latest-news {
    width: 90%;
    max-width: 800px;
    margin: 50px auto;
    padding: 30px;
    background-color: #fff;
}

.latest-news h2 {
    text-align: center;
    font-size: 1.6em;
    margin-top: 0;
    margin-bottom: 25px;
    padding-bottom: 15px;
    color: #394e65;
}

.latest-news ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.latest-news li {
    display: flex;
    align-items: center;
    padding: 15px 10px;
    border-bottom: 1px dotted #ccc;
}

.latest-news li:last-child {
    border-bottom: none;
}

.latest-news .news-date {
    margin-right: 20px;
    font-size: 0.8em;
    background-color: #B0B8C1;
    color: #fff; 
    padding: 4px 8px; 
    border-radius: 4px;
    white-space: nowrap;
}

.latest-news a {
    color: #394d65 !important;
    transition: color 0.2s;
}

.latest-news a:hover {
    color: #0073aa;
    text-decoration: underline;
}

.latest-news .read-more {
    text-align: right;
    margin-top: 20px;
}

.latest-news .read-more a {
    display: inline-block;
    padding: 8px 24px;
    background-color: #333;
    color: #fff;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s;
}

.latest-news .read-more a:hover {
    background-color: #394d65;
    color: #fff;
}

@media screen and (max-width: 600px) {
    .latest-news {
        padding: 20px;
    }
    .latest-news li {
        flex-direction: column;
        align-items: flex-start;
    }
    .latest-news .news-date {
        margin-right: 0;
        margin-bottom: 5px;
    }
}

/*-------------------------------------------*/
/* 5大特典キャンペーン
/*-------------------------------------------*/
.tokuten-section {
  padding: 80px 0; /* セクション上下の余白 */
  background: #ecedf0; /* 背景色（サイトに合わせて調整してください） */
}

.tokuten-wrap {
  width: 90%; /* スマホでの横幅 */
  max-width: 1080px; /* PCでの最大幅 */
  margin: 0 auto; /* 中央寄せ */
}

.tokuten-wrap a {
  display: block; /* リンクのエリアを画像全体に広げる */
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border-radius: 8px; /* 画像の角を丸める場合 */
  overflow: hidden; /* 角丸に合わせて画像を切り抜く */
}

/* PC表示でマウスを乗せた時に少し浮き上がるエフェクト（任意） */
@media (min-width: 769px) {
  .tokuten-wrap a:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
  }
}

.tokuten-wrap img {
  width: 100%; /* 画像を親要素の幅に合わせる */
  height: auto; /* 高さを自動調整 */
  display: block; /* 画像下の余分な隙間をなくす */
}


/*-------------------------------------------*/
/* 最新のお知らせ
/*-------------------------------------------*/
.latest-news-new-design {
    width: 90%;
    max-width: 1000px;
    margin: 80px auto;
    display: flex;
    gap: 40px;
    padding: 40px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08); 
    border-radius: 10px; 
  }

/* 左カラムのデザイン */
.news-left-col {
    flex-shrink: 0;
    width: 200px;
    text-align: center;
    padding-right: 20px;
    border-right: 1px solid #ecedf0;
}

.news-left-col h2 {
    font-size: 2em;
    font-weight: bold;
    color: #394e65;
    letter-spacing: 0.1em;
    margin-top: 0;
    margin-bottom: 30px;
}

/* お知らせ一覧ボタン */
.news-archive-link a {
    display: inline-block;
    padding: 10px 25px;
    border: 1px solid #394d65;
    border-radius: 30px;
    color: #394d65 !important;
    font-size: 0.9em;
    transition: all 0.3s ease;
}

.news-archive-link a:hover {
    background-color: #394d65;
    color: #fff !important;
    transform: translateY(-2px);
}

/* 右カラム（リスト部分）のデザイン */
.news-right-col {
    flex-grow: 1;
}

.news-right-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.news-right-col li {
    display: flex;
    align-items: baseline;
    padding: 12px 0;
    border-bottom: 1px dotted #ccc;
}

/* リストの一番最後の項目にも点線を表示したい場合、このブロックを削除してください */
.news-right-col li:last-child {
    border-bottom: none;
}

.news-right-col .news-date {
    flex-shrink: 0;
    width: 115px;
    margin-right: 20px;
    font-size: 1em;
    color: #394d65;
    font-weight: bold;
}

.news-right-col a {
    color: #394d65 !important;
    text-decoration: none;
    font-size: 1em;
    line-height: 1.5;
    transition: color 0.2s ease;
}

.news-right-col a:hover {
    color: #0073aa;
    text-decoration: underline;
}


/* --- レスポンシブ対応 (スマートフォン・タブレット向け) --- */
@media screen and (max-width: 768px) {
    .latest-news-new-design {
        flex-direction: column;
        gap: 30px;
        padding: 30px 20px;
        margin: 40px auto;
        width: 85%;
    }

    .news-left-col {
        width: 100%;
        border-right: none;
        border-bottom: 1px solid #eee;
        padding-right: 0;
        padding-bottom: 20px;
    }

    .news-left-col h2 {
        font-size: 1.8em;
        margin-bottom: 20px;
    }

    .news-archive-link a {
        padding: 8px 20px;
    }

    .news-right-col li {
        flex-direction: column; 
        align-items: flex-start; 
        padding: 10px 0;
    }

    .news-right-col .news-date {
        width: auto;
        margin-right: 0;
        margin-bottom: 5px;
    }
}

/* スタジオモーダル */
.studio-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 10000;
}


.studio-modal.is-open {
  display: flex;
  align-items: center;
  justify-content: center;
}


.studio-modal-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  overscroll-behavior: contain;
  touch-action: none;
}


.studio-modal-content {
  position: relative;
  width: 90%;
  max-width: 480px;
  height: 80vh;
  max-height: 600px;
  background-color: #fff;
  border-radius: 10px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  z-index: 1;
  overscroll-behavior: contain;
}




.studio-modal-header {
  position: relative;
  background-color: #fff;
  border-bottom: 1px solid #e5e7eb;
  padding: 24px 24px 20px 24px;
  overscroll-behavior: contain;
}


.studio-modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background-color: #374151;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background-color 0.3s ease;
  z-index: 2;
}


.studio-modal-close:hover {
  background-color: #1f2937;
}


.studio-modal-close span {
  color: #fff;
  font-size: 20px;
  line-height: 1;
}


.studio-modal-header-img {
  text-align: center;
}


.studio-modal-header-img img {
  width: 70%;
  margin: 0 auto;
  height: auto;
}


.studio-modal-body {
  width: 70%;
  margin: 0 auto;
  flex: 1;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  padding: 20px 20px;
  overscroll-behavior: contain;
}


body.modal-open {
  overscroll-behavior: none;
  touch-action: none;
}


.studio-prefecture-item {
  margin: 12px 0;
  overscroll-behavior: contain;
}


.studio-prefecture-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 20px;
  background-color: #f3f4f6;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: background-color 0.3s ease;
  font-size: 16px;
  font-weight: 500;
  color: #1f2937;
  touch-action: manipulation;
}


.studio-prefecture-btn:hover {
  background-color: #e5e7eb;
}


.studio-toggle-icon {
  font-size: 24px;
  color: #9ca3af;
  font-weight: 300;
  line-height: 1;
}


.studio-list {
  display: none;
  margin-top: 8px;
}


.studio-prefecture-item.is-open .studio-list {
  display: block;
}


.studio-prefecture-item.is-open .studio-toggle-icon {
  content: '−';
}


.studio-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 20px;
  color: #374151;
  text-decoration: none;
  transition: background-color 0.3s ease;
  background-color: #fff;
  border-radius: 4px;
  margin-bottom: 8px;
}


.studio-link:last-child {
  margin-bottom: 0;
}


.studio-link:hover {
  background-color: #f9fafb;
}


.studio-arrow {
  font-size: 20px;
  color: #9ca3af;
}

