.sp {
  display: block;
}

@media(min-width: 768px) {
  .pc {
    display: block;
  }
  .sp {
    display: none;
  }
}

.left {
  text-align: left!important;
}

.intro__wrapper {
  background: url(https://shoei-k.jp/oiso/wp/wp-content/themes/house-shoei-k/img/product/zerocube/bg-model.webp) no-repeat;
  background-size: 65%;
  background-position: right;
  margin-bottom: 60px;
}

.service-logo {
  width: 50%;
  margin-bottom: 60px;
  margin-top: 40px;
}

.intro-copy {
  font-size: 18px;
  letter-spacing: 6px;
}

.model__wrapper {
  display: flex;
  justify-content: space-between;
  margin-bottom: 100px;
}

.model__wrapper img {
  width: 18%;
}

.intro__wrapper h2{
  font-size: 30px;
  font-weight: 500;
  letter-spacing: 10px;
}

#product-page .sec__label {
  display: flex;
  align-items: center;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.sec__label h3 {
  letter-spacing: 3px;
}

#product-page .sec__label h2.h2 {
  margin-bottom: 0;
  font-size: 30px;
  font-weight: 500;
  text-align: left;
}

.label {
    font-size: 60px;
    color: #39758b;
    font-weight: bold;
    margin-right: 60px;
}

.label h4 {
  letter-spacing: 2px;
}

.label.plan {
  margin-right: 30px;
}

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

.point__item {
  width: 30%;
}

.point__item h3 {
  font-size: 24px;
    letter-spacing: 3px;
    text-align: center;
    color: #39758b;
    margin: 10px 0;
    white-space: nowrap;
}

.bold {
  font-weight: bold;
}

.sec-intro {
  margin-bottom: 6vw!important;
}

.sec-plan {
  background: #add7d5;
  background-size: cover;
  background-position: center;
  position: relative;
  min-width: 100vw;
  left: 50%;
  transform: translateX(-50%) !important;
  padding: 0px 0 10vw;
}

.sec-plan::before {
  content: "";
    display: block;
    width: 100vw;
    height: 6vw;
    background: url(https://shoei-k.jp/oiso/wp/wp-content/themes/house-shoei-k/img/product/zerocube/green-top.png) no-repeat;
    background-size: cover;
    top: -5vw;
    position: absolute;
    background-position: top center;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1000;
    position: relative;
}

.plan__wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.plan__info {
  width: 40%;
}

.plan__info p {
  letter-spacing: 3px;
  font-weight: bold;
}

.plan__img {
  width: 47%;
}

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

.plan__sample {
  width: 47%;
}

.sec__label h4 {
    font-size: 20px;
    letter-spacing: 4px;
    line-height: 1.5;
}

.sec-fun {
  z-index: 100;
  position: relative;
  margin-top: -7vw;
  margin-bottom: -4vw;
}

.sec-fun .container {
  position: relative;
  padding: 0 0 4vw;
}

.sec-fun .container::after {
  content: "";
    background: #fbfbf2;
    padding: 100px 0;
    width: 100vw;
    height: 100%;
    display: block;
    position: absolute;
    top: 0;
    z-index: -1;
    left: 50%;
    transform: translateX(-50%);
}

.sec-fun::before {
  content: "";
  display: block;
  width: 100vw;
  height: 8vw;
  background: url(https://shoei-k.jp/oiso/wp/wp-content/themes/house-shoei-k/img/product/zerocube/fun-top.png) no-repeat;
  background-size: cover;
  top: 0px;
  position: absolute;
  background-position: top center;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1000;
   position: relative;
}

.sec-fun::after {
  content: "";
  display: block;
  width: 100vw;
  height: 8vw;
  background: url(https://shoei-k.jp/oiso/wp/wp-content/themes/house-shoei-k/img/product/zerocube/fun-bottom.png) no-repeat;
  background-size: cover;
  bottom: -2vw;
  position: absolute;
  background-position: top;
  left: 50%;
  transform: translateX(-50%);
}

.label-fun {
  font-size: 42px;
  color: #39758b;
  letter-spacing: 6px;
}

.fun__text {
  font-size: 18px;
  font-weight: bold;
  letter-spacing: 6px;
}

.lineup_funWrap {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  row-gap: 40px;
}

.lineup_funGroup {
  width: 23%;
  text-align: center;
}

.lineup_funGroup-copy {
  margin-bottom: 0px;
  margin-top: 10px;
}
.original__label {
  background:#b90043;
  color: white;
  padding: 5px;
  margin-top: 10px;
  font-weight: bold;
  font-size: 16px;
}

.lineup_modal {
  display: none;
  position: fixed;          /* ← absoluteではなくfixed */
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.8);
  z-index: 9999;
  overflow-y: auto;
}

.lineup_modalFrame {
      max-width: 1120px;
      background: white;
      margin: 0 auto;
      padding: 60px;
      overflow-x: hidden;
      top: 50%;
      position: relative;
      transform: translateY(-50%);
      max-height: 80vh;
}

.lineup_modalHead {
  display: flex;
  align-items: baseline;
  column-gap: 20px;
  margin-bottom: 20px;
}

.lineup_modalHead-h {
      text-align: left;
    font-size: 60px;
    letter-spacing: 6px;
}

.lineup_modalWrap {
  display: flex;
  justify-content: space-between;
  margin-bottom: 40px;
}

.lineup_modalWrap-img {
  width: 45%;
}

.lineup_modalWrap-txtWrap {
  width: 50%;
}

.lineup_modalWrap-read {
  font-size: 16px;
  border-bottom: 1px solid #cccc;
  padding-bottom: 20px;
}

.lineup_modal-floor {
  display: flex;
  justify-content: space-between;
}

.lineup_modal-floor li {
  width: 47%;
}

.me__items {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  max-width: 820px;
  margin:  40px auto;
  row-gap: 30px;
}

.me__item {
  width: 48%;
}

.me__item img {
  border-radius: 20px;
}

.sec-bnr {
  width: 100vw;
  left: 50%;
  transform: translatex(-50%)!important;
  display: flex;
  max-width: 1500px!important;
  position: relative;
  flex-wrap: wrap;
}

.sec-bnr .bnr {
  width: 50%;
}

.sec-bnr .bnr img {
  width: 100%;
}

.sec-lineup {
  width: 100vw;
  left: 50%;
  transform: translateX(-50%)!important;
  padding: 100px 0!important;
  background: #ececec;
  position: relative;
}

.lineup__items {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  row-gap: 40px;
}

.lineup__item {
  width: 18%;
}

.sec-hobby {
  width: 100vw;
  left: 50%!important;
  transform: translateX(-50%)!important;
  position: relative;
}

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









/* スライダー */


.slider-wrap {
  width: 90%;
  margin: 0 auto;
}

/* メインスライダー */
.main-slider {
  margin: 0 auto;
  width: 100%;
}

.main-slider .slick-slide {
  transition: all 0.4s ease;
}

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

/* 画像のスタイル */
.main-slider img {
  width: 100%;
  border-radius: 10px;
}

/* 両サイドが見切れるように */
.slick-list {
  overflow: visible;
}


/* 🔸黒帯を追加 */
.slick-slide > div::before {
  content: "";
  display: block;
  width: 100%;
  height: 100%;
  /* background: rgb(85 85 85 / 40%); */
  position: absolute;
}

.slick-current > div::before {
  background: transparent!important;
}

/* サムネイル */
.thumb-gallery {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
  margin-top: 15px;
  margin-top: -16vw;
  z-index: 1000;
  position: relative;
}

.thumb-gallery img {
  width: 100px;
  height: auto;
  border-radius: 4px;
  cursor: pointer;
  opacity: 0.5;
  transition: opacity 0.3s ease;
}

.thumb-gallery img.active {
  width: 120px;
}

.thumb-gallery img {
  opacity: 1;
  outline: 5px solid #cadae0;
  border-radius: 50%;
}

/* fin. スライダー */

@media screen and (max-width: 768px) {
  .main-slider .slick-slide {
    transform: scale(1);
    opacity: 1;
  }
  .thumb-gallery img {
    width: 80px;
  }
}

@media(max-width: 1199px) {
  .contents {
    margin: 0;
  }
}

@media(max-width: 768px) {
  .page-product .contents {
    padding-top: 0!important;
  }

  .service-logo {
    width: 84%;
  }

  .intro-copy {
    font-size: 12px;
    letter-spacing: 1px;
  }
  .service-logo {
    margin-bottom: 30px;
    margin-top: 10px;
  }

  .model__wrapper {
    margin-bottom: 60px;
    animation: slideFlow 20s linear infinite;
  }

  .model__wrapper img {
    width: 40%;
    margin: 5px;
  }

  .model__wrapper {
  display: flex;
  overflow: hidden;
  position: relative;
}

.model__static {
  display: flex;
  position: absolute;
  top: 0;
  left: 0;
}

.model__inner {
  display: flex;
  animation: slideLoop 20s linear infinite;
}

@keyframes slideLoop {
  0% { transform: translateX(0); }
  100% { transform: translateX(-100%); }
}

.intro__wrapper {
    background-position: bottom left;
    padding-bottom: 180px;
    background-size: 300px;
    margin-bottom: 0;
}

.label {
      width: 100%;
    margin-right: 0;
    text-align: center;
}

#product-page .sec__label h2.h2 {
  font-size: 15px;
  text-align: center;
  line-height: 1.8;
  width: 100%;
}
.point__item {
  width: 100%;
}

.point__wrapper {
  flex-wrap: wrap;
  row-gap: 60px;
}
.plan__info {
  width: 100%;
}
.plan__img {
  width: 100%;
}
.plan__wrapper {
  flex-wrap: wrap;
}
.label.plan {
  margin-right: 0;
}

.sec__label h3 {
  text-align: center;
  width: 100%;
}
.sec__label h4 {
  text-align: center;
  width: 100%;
  margin-top: 10px;
  font-size: 18px;
}
#product-page .sec__label{
  margin-bottom: 0;
}
.plan__img {
  margin-bottom: 30px;
}
.plan__samples {
  flex-wrap: wrap;
  row-gap: 20px
}

.plan__sample {
  width: 100%;
}
.sec-fun {
  padding: 0;
}
.label-fun {
  width: 100%;
  margin-bottom: 20px;
}
.fun__text {
  font-size: 14px;
  margin-bottom: 40px;
}
.lineup_funGroup {
  width: 47%;
}
.lineup_funGroup-copy {
  font-size: 12px;
}
.lineup_funGroup-h {
  letter-spacing: 4px;
}
.original__label {
  font-size: 12px;
}

/* .sec-me .label-fun {
  font-size: 20px;
} */
 .me__item {
  width: 100%;
 }
 .sec-bnr .bnr{
  width: 100%;
 }
 .sec-lineup .label {
  font-size: 32px;
 }
  .sec-lineup .sec__label {
    margin-bottom: 40px!important;
  }
  .sec-lineup .lineup__items {
    row-gap: 0;
  }
  .sec-lineup .lineup__item {
    width: 50%;
  }
}

.no-click {
  pointer-events: none;
}

/* 親要素 */
.lineup_funGroup {
  position: relative;
  display: inline-block;
  cursor: pointer;
  overflow: hidden;
}

/* 丸画像 */
.lineup_funGroup-img {
  position: relative;
  overflow: hidden;
  border-radius: 50%; /* 丸くする */
}

/* 画像 */
.lineup_funGroup-img img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.4s ease;
}

/* 黒帯オーバーレイ */
.lineup_funGroup-img::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%; /* 丸に合わせる */
  background: rgba(0, 0, 0, 0.6);
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 1;
}

/* プラスマーク */
.lineup_funGroup-img::after {
  content: "+";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
width: 60px;
  height: 60px;
  border-radius: 50px;
  color: black;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid;
  background: white;
  font-size: 28px;
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 2;
  pointer-events: none;
  font-weight: 300;
}

/* hover時の動作 */
.lineup_funGroup:hover .lineup_funGroup-img::before {
  opacity: 1;
}

.lineup_funGroup:hover .lineup_funGroup-img::after {
  opacity: 1;
}



@media(max-width: 768px) {
  .sec-fun {
    padding: 20px;
  }
  .sec-fun .container {
    padding: 0 0 100px;
  }
  .lineup_modalFrame {
    padding: 20px;
    max-width: 90%;
  }
  .lineup_modalHead {
    display: block;
  }
  .lineup_modalWrap-img {
    width: 100%;
  }
  .lineup_modalWrap-txtWrap {
    width: 100%;
  }
  .lineup_modalWrap {
    flex-wrap: wrap;
  }
  .lineup_modal-floor {
    flex-wrap: wrap;
  }
  .lineup_modal-floor li {
    width: 100%;
}
.lineup_modalHead-h {
  font-size: 36px;
}
}


.main-slider::after {
  content: "";
  display: block;
  width: 100vw;
  height: 8vw;
  background: url(https://shoei-k.jp/oiso/wp/wp-content/themes/house-shoei-k/img/product/zerocube/gallery-bottom.png) no-repeat;
  background-size: cover;
  bottom: 6vw;
  position: absolute;
  background-position: top center;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1000;
   position: relative;
}

.main-slider img {
  min-height: 640px;
  object-fit: cover!important;
}

.hobby-room {
  color: white;
  font-size: 48px;
  font-weight: bold;
  position: absolute;
  bottom: 220px;
  left: 58%;
}

@media(max-width: 768px) {
  .thumb-gallery {
    gap: 16px;
    bottom: 0px;
  }
  .thumb-gallery img {
    outline: 3px solid #cadae0;
  }
  .label-fun {
    font-size: 20px;
    letter-spacing: 2px;
  }
  .sec-fun {
    margin-top: -140px;
  }
  .label {
    font-size: 40px;
  }
.main-slider img {
  min-height: 500px;
}
.hobby-room {
  font-size: 36px;
  left: auto;
  right: 7%;
  bottom: 100px;
}
}

/* 閉じるボタン */
.modalCloseBtn {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 40px;
  height: 40px;
  border: none;
  border-radius: 50%;
  color: black;
  background: white;
  font-size: 28px;
  line-height: 38px;
  text-align: center;
  cursor: pointer;
  z-index: 10000;
  transition: background 0.3s ease, transform 0.2s ease;
}

/* スマホ対応 */
@media (max-width: 768px) {
  .modalCloseBtn {
    top: 15px;
    right: 15px;
    width: 36px;
    height: 36px;
    font-size: 24px;
  }
  .lineup_modalWrap-img {
    margin: 20px 0;
  }

  .lineup_funGroup::before {
        content: "＋";
        width: 30px;
        height: 30px;
        background: white;
        border: 1px solid black;
        position: absolute;
        right: 0px;
        top: 120px;
        z-index: 1;
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 50%;
  }
    .lineup_funGroup.no-click::before {
      display: none;
    }


    .thumb-gallery img {
      width: 30px!important;
    }


    .thumb-gallery img.active {
      transform: scale(1.3)!important;
    }

    .sec-me .sec__label {
      margin-top: 40px;
    }


}

.slick-slide img {
  max-height: 660px;
  object-fit: contain;
}

.Wrapper {
  max-width: 1280px;
  padding: 0 30px;
  width: 100%;
}

.sec__label h2 {
  margin-bottom: 0!important;
  text-align: left!important;
}

.h_label {
  font-size: 18px;
  background: #39758b;
  padding: 3px 10px;
  margin-right: 10px;
  color: white;
  display: inline-block;
  margin-top: 5px;
}

.me__ttl {
  font-size: 32px;
}

.me__item span {
    font-size: 17px;
    line-height: 1.3;
    margin: 5px 0 10px;
    display: block;
}

@media(max-width: 1200px) {
  .sec-plan {
    padding: 0 30px 160px;
  }
  .sec-fun::after {
    bottom: -1vw;
  }
}

@media(max-width: 768px) {
  .Wrapper {
    padding: 0;
  }
      .sec-plan {
      padding: 0px 0 46vw;
    }

    .slick-slide img {
      max-height: 300px;
    }

  .sec__label h2 {
    margin-bottom: 20px!important;
    text-align: center!important;
    width: 100%;
  }

  .h_label {
  font-size: 14px;
  letter-spacing: 6px;
}

.me__ttl {
  font-size: 28px;
}

.me__item span {
  font-size: 14px;
}

}

.slick-next:before, .slick-prev:before {
  opacity: 0;
}