body {
  margin: 0;
  padding: 0;
}

section {
  margin: auto !important;
  max-width: 800px;
  width: 100%;
  position: relative;
}

img {
  max-width: 100%;
  display: block;
  margin: auto;
}
img.adj {
  filter: hue-rotate(1deg) saturate(1.2);
}

.block {
  position: relative;
  z-index: 0;
  overflow: hidden;
}

.box img {
  position: absolute;
  left: 0;
  right: 0;
}

/*kiran効果を単品imgにかけるbox*/
.box .kiran-img {
  position: absolute;
  right: 0;
  left: 0;
  margin: auto;
}

/*背景色が流れてくるbox*/
.box .stretch {
  position: absolute;
}

div[id^="im"] .sec01 .block .box img.pts1 {
  width: 100%;
  top: 2.8%;
}
#im_sod .sec01 .block .box img.pts1 {
  top: 2.1%;
}
#im_car .sec01 .block .box img.pts1 {
  top: 0;
}
#im_cho .sec01 .block .box img.pts1 {
  top: 3.3%;
}

div[id^="im"] .sec01 .block .box img.pts2 {
  top: 60.1%;
  left: unset;
  right: 1.2%;
  max-width: 77.4%;
}
#im_car .sec01 .block .box img.pts2{
  top: 60.1%;
  left: unset;
  right: 3.4%;
  max-width: 73.6%;
}
#im_cho .sec01 .block .box img.pts2{
  top: 60.3%;
  left: unset;
  right: 6.1%;
  max-width: 68.6%;
}
div[id^="im"] .sec01 .block .box img.pts3 {
  top: 62.7%;
  left: unset;
  right: 3.9%;
  max-width: 70.2%;
}
#im_car .sec01 .block .box img.pts3{
  top: 62.6%;
  left: unset;
  right: 2.6%;
  max-width: 73.4%;
}
#im_cho .sec01 .block .box img.pts3{
  top: 62.8%;
  left: unset;
  right: 6.2%;
  max-width: 66%;
}

div[id^="im"] .sec01 .block .box img.pts4 {
  bottom: 0;
  right: unset;
  width: 50%;
}
div[id^="im"] .sec01 .block .box img.pts5 {
  bottom: 0;
  left: unset;
  width: 50%;
}
div[id^="im"] .sec01 .block .box img.pts6 {
  width: 100%;
  top: 59.8%;
  left: unset;
  right: 0;
}

div[id^="pmms"] .sec02 .block .box img.pts1 {
  width: 34%;
  top: 21.4%;
  right: unset;
  left: 0;
}

#pmms_pgc .block .box .stretch.is-animated .bg-wrap::before {
  background: #fff;
  opacity: 8;
}

#pmms_pgc .block .box .stretch.is-animated .bg-wrap::after {
  box-shadow: 4px 5px 2px rgba(110, 97, 104, 0.7);
}

#pmms_pgc .sec02 .block .box .stretch.stretch-pts1 {
  width: 8.5%;
  height: 22.25%;
  top: 21.8%;
  right: unset;
  left: 24%;
}

#pmms_pgc .sec02 .block .box .stretch.stretch-pts2 {
  width: 8.5%;
  height: 20.3%;
  top: 26.6%;
  right: unset;
  left: 11.5%;
}

#pmms_pgm .block .box .stretch.is-animated .bg-wrap::before {
  background: #fff;
  opacity: 7;
}

#pmms_pgm .block .box .stretch.is-animated .bg-wrap::after {
  box-shadow: 4px 5px 2px rgba(110, 97, 104, 0.7);
}

#pmms_pgm .sec02 .block .box .stretch.stretch-pts1 {
  width: 8%;
  height: 20.91%;
  top: 23.8%;
  right: unset;
  left: 26%;
}

#pmms_pgm .sec02 .block .box .stretch.stretch-pts2 {
  width: 8%;
  height: 22.74%;
  top: 25.4%;
  right: unset;
  left: 14.5%;
}

#pmms_pgm .sec02 .block .box .stretch.stretch-pts3 {
  width: 8%;
  height: 13.23%;
  top: 37.5%;
  right: unset;
  left: 4.3%;
}




/*ブランドページ*/
#isshomotecon .sec01 .block .box img.pts1 {
  width: 100%;
  top: 75.5%;
}

#primoremonthly .sec01 .block .flex-nowrap {
  position: absolute;
  top: 81%;
  display: flex;
}

#primoremonthly .sec01 .block .flex-nowrap img {
  width: 50%;
  position: relative;
}

#isshomotecon .sec02 .block .box img.pts1 {
  width: 100%;
  top: 14.5%;
}

#isshomotecon .sec02 .block .box img.pts2 {
  top: 79.5%;
  right: unset;
  max-width: 30.1%;
}
#isshomotecon .sec02 .block .box img.pts3 {
  top: 79.5%;
  left: 30%;
  right: unset;
  max-width: 19.9%;
}
#isshomotecon .sec02 .block .box img.pts4 {
  top: 79.5%;
  left: unset;
  right: 30%;
  max-width: 19.9%;
}
#isshomotecon .sec02 .block .box img.pts5 {
  top: 79.5%;
  left: unset;
  right: 0;
  max-width: 30.1%;
}


#isshomotecon .sec03 .block .box img.pts1 {
  top: 16.2%;
  left: unset;
  right: 1.2%;
  max-width: 51%;
}
#isshomotecon .sec03 .block .box img.pts2 {
  top: 72.3%;
  left: 0.8%;
  right: unset;
  max-width: 52.2%;
}
#isshomotecon .sec03 .block .box .kiran-img {
  top: 16.9%;
  aspect-ratio: 361 / 251;
  right: 4.8%;
  left: unset;
  transform: rotate(4deg);
  width: 45%;
  border-radius: 12px;
  z-index: 9;
  transform-origin: left;
}
#isshomotecon .sec03 .block .box .kiran-img:last-of-type {
  top: 76.5%;
  aspect-ratio: 361 / 251;
  left: 3.6%;
  right: unset;
  transform: rotate(-6.9deg);
  width: 45%;
  border-radius: 12px;
  z-index: 9;
  transform-origin: left;
}

#isshomotecon .sec04 .block .box img.pts1 {
  top: 21.3%;
  left: 24.7%;
  right: unset;
  max-width: 48.4%;
  animation-delay: 0s;
}
#isshomotecon .sec04 .block .box img.pts2 {
  top: 30.2%;
  left: unset;
  right: 16.3%;
  max-width: 34.3%;
  animation-delay: 0.05s;
}
#isshomotecon .sec04 .block .box img.pts3 {
  top: 53.1%;
  left: 25.8%;
  right: unset;
  max-width: 48.4%;
  animation-delay: 0.1s;
}
#isshomotecon .sec04 .block .box img.pts4 {
  top: 31.1%;
  left: 15.3%;
  right: unset;
  max-width: 34.3%;
  animation-delay: 0.15s;
}
#isshomotecon .sec04 .block .box img.pts5 {
  top: 29.6%;
  left: -1.1%;
  max-width: 50.7%;
  z-index: 2;
}

#isshomotecon .sec05 .block .box img.pts1 {
  top: 22.1%;
  left: 1.3%;
  right: unset;
  max-width: 50.2%;
}
#isshomotecon .sec05 .block .box img.pts2 {
  top: 22.4%;
  left: unset;
  right: 1%;
  max-width: 49.4%;
}
#isshomotecon .sec05 .block .box img.pts3 {
  top: 56.5%;
  left: 1.2%;
  right: unset;
  max-width: 50.5%;
}
#isshomotecon .sec05 .block .box img.pts4 {
  top: 58.2%;
  left: unset;
  right: 1%;
  max-width: 50.3%;
}

#isshomotecon_2 .sec01 .block .box img.pts1{
  width: 100%;
  top: 22%;
}
#isshomotecon_2 .sec01 .block .box img.pts2{
  width: 100%;
  top: 38.6%;
}
#isshomotecon_2 .sec01 .block .box img.pts3{
  width: 100%;
  top: 55.2%;
}
#isshomotecon_2 .sec01 .block .box img.pts4{
  width: 100%;
  top: 72%;
}

#isshomotecon_2 .sec02 .block .box .kiran-img {
  top: 18.4%;
  right: 0;
  left: unset;
  width: 100%;
  height: 50.5%;
  z-index: 9;
  transform-origin: left;
  border-radius: 9999px 9999px 0px 0px;
  /* グラデーションマスクを追加（下だけフェード） */
  -webkit-mask-image: linear-gradient(to bottom, black 90%, transparent 100%);
  mask-image: linear-gradient(to bottom, black 90%, transparent 100%);
  -webkit-mask-size: 100% 100%;
  mask-size: 100% 100%;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
}
#isshomotecon_2 .sec02 .block .box img.pts2{
  z-index: 10;
  top: 20.7%;
}


#primoremonthly .sec02 .block .flex-nowrap {
  position: absolute;
  top: 69.7%;
  display: flex;
}

#primoremonthly .sec02 .block .flex-nowrap img {
  width: 50%;
  position: relative;
}

#primoremonthly_2 .sec01 .block .flex {
  position: absolute;
  display: flex;
  flex-wrap: wrap;
  top: 7.4%;
}

#primoremonthly_2 .sec01 .block .flex img {
  position: relative;
  width: 50%;
}

#primoremonthly_2 .sec01 .block img.pts7 {
  top: 27.6%;
}

#primoremonthly_2 .sec01 .block .box .kiran-img {
  width: 100%;
  height: 47.57%;
  top: 42%;
}

#primoremonthly_2 .sec01 .block img.pts8 {
  bottom: 19.3%;
}

#primoremonthly_2 .sec02 .block .flex {
  position: absolute;
  display: flex;
  flex-wrap: wrap;
  top: 13.8%;
}

#primoremonthly_2 .sec02 .block .flex img {
  position: relative;
  width: 50%;
}

/****アニメーション****/
.js-anim {
  opacity: 0;
}

/*ぽよよん*/
.poyoyon.is-animated {
  opacity: 1;
  animation: poyoyon 0.75s 0.25s ease-in-out forwards;
  transition: opacity 1s;
}

@keyframes poyoyon {
  0% {
    transform: scale(1, 1) translate(0, 0);
  }

  15% {
    transform: scale(0.98, 0.9) translate(0, 5px);
  }

  30% {
    transform: scale(1.02, 1) translate(0, 8px);
  }

  50% {
    transform: scale(0.98, 1.05) translate(0, -8px);
  }

  70% {
    transform: scale(1, 0.9) translate(0, 5px);
  }

  100% {
    transform: scale(1, 1) translate(0, 0);
  }

  0%,
  100% {
    opacity: 1;
  }
}

/*スライドイン_アップ*/
.slidein_u.is-animated {
  animation: slideInU 0.75s 0.25s cubic-bezier(0.25, 1, 0.5, 1) forwards;
}

.slidein_u.su1_2 {
  animation-delay: 0.35s;
}

.slidein_u.su2 {
  animation-delay: 0.4s;
}

.slidein_u.su2_2 {
  animation-delay: 0.5s;
}

.slidein_u.su3 {
  animation-delay: 0.55s;
}

.slidein_u.su3_2 {
  animation-delay: 0.65s;
}

.slidein_u.su4 {
  animation-delay: 0.7s;
}

.slidein_u.su4_2 {
  animation-delay: 0.8s;
}

.slidein_u.su5 {
  animation-delay: 0.85s;
}

@keyframes slideInU {
  0% {
    transform: translateY(30px);
    opacity: 0;
  }

  100% {
    transform: translateY(0);
  }

  40%,
  100% {
    opacity: 1;
  }
}

/*_ダウン*/
.down.is-animated {
  animation-name: slideInD;
}

@keyframes slideInD {
  0% {
    transform: translateY(-30px);
    opacity: 0;
  }

  100% {
    transform: translateY(0);
  }

  40%,
  100% {
    opacity: 1;
  }
}

/*フェードイン*/
.fadein.is-animated {
  animation: fadeIn 2s 0.25s cubic-bezier(0.25, 1, 0.5, 1) forwards;
}

.fadein.f1_2 {
  animation-delay: 0.35s;
}

.fadein.f2 {
  animation-delay: 0.4s;
}

.fadein.f2_2 {
  animation-delay: 0.5s;
}

.fadein.f3 {
  animation-delay: 0.55s;
}

.fadein.f3_2 {
  animation-delay: 0.65s;
}

.fadein.f4 {
  animation-delay: 0.7s;
}

.fadein.f4_2 {
  animation-delay: 0.8s;
}

.fadein.f5 {
  animation-delay: 0.85s;
}

@keyframes fadeIn {
  0% {
    transform: translateY(-4px);
    opacity: 0;
  }

  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/*フェードイン2*/
.fadein2.is-animated {
  animation: fadeIn2 1s cubic-bezier(0.25, 1, 0.5, 1) forwards 0.25s;
}

.fadein2.f1 {
  animation-delay: 0.5s;
}

@keyframes fadeIn2 {
  0% {
    transform: translateY(-30px);
    opacity: 0;
  }
  80% {
    opacity: 1;
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/*フェードアップ*/
.fadeup.is-animated {
  animation: fadeup 1s cubic-bezier(0.33, 1, 0.68, 1) forwards;
}

.fadeup.f1_2 {
  animation-delay: 0.35s;
}

.fadeup.f2 {
  animation-delay: 0.4s;
}

.fadeup.f2_2 {
  animation-delay: 0.5s;
}

.fadeup.f3 {
  animation-delay: 0.55s;
}

.fadeup.f3_2 {
  animation-delay: 0.65s;
}

.fadeup.f4 {
  animation-delay: 0.7s;
}

.fadeup.f4_2 {
  animation-delay: 0.8s;
}

.fadeup.f5 {
  animation-delay: 0.85s;
}
@keyframes fadeup {
  0% {
    transform: translateY(30px);
    opacity: 0;
  }
  80% {
    opacity: 1;
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/*フェードダウン*/
.fadedwn.is-animated {
  animation-name: fadeDawn;
}
@keyframes fadeDawn {
  0% {
    transform: translateY(-30px);
    opacity: 0;
  }
  80% {
    opacity: 1;
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}
/*フェードレフト*/
.fadelft.is-animated {
  animation-name: fadeLeft;
}
@keyframes fadeLeft {
  0% {
    transform: translateX(30px);
    opacity: 0;
  }
  80% {
    opacity: 1;
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}
/*フェードライト*/
.faderigt.is-animated {
  animation-name: fadeRight;
}
@keyframes fadeRight {
  0% {
    transform: translateX(-30px);
    opacity: 0;
  }
  80% {
    opacity: 1;
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}




/*ポップアップ*/
.popup.is-animated {
  animation: popup 0.6s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.popup.pu1 {
  animation-delay: 0.35s;
}

@keyframes popup {
  0% {
    transform: translateY(40px) scale(0.8);
    opacity: 0;
  }
  100% {
    transform: translateY(0) scale(1);
  }
  80%,
  100% {
    opacity: 1;
  }
}

/*きらんと光る*/
.kiran {
  opacity: 1;
  overflow: hidden;
}

.kiran.is-animated::before {
  background-color: #fff;
  content: "";
  display: block;
  position: absolute;
  top: -100px;
  left: 0;
  width: 2.2rem;
  height: 100%;
  opacity: 0;
  transition: cubic-bezier(0.32, 0, 0.67, 0);
  animation: kiran 0.35s linear forwards;
  animation-delay: 0.5s;
}

@keyframes kiran {
  0% {
    transform: scale(2) rotate(45deg);
    opacity: 0;
  }

  20% {
    transform: scale(20) rotate(45deg);
    opacity: 0.6;
  }

  40% {
    transform: scale(30) rotate(45deg);
    opacity: 0.4;
  }

  80% {
    transform: scale(45) rotate(45deg);
    opacity: 0.2;
  }

  100% {
    transform: scale(50) rotate(45deg);
    opacity: 0;
  }
}

/*背景色が流れてくる*/
.stretch {
  opacity: 1;
}

.stretch .bg-wrap {
  position: relative;
  width: 100%;
  height: 100%;
}

.stretch.is-animated .bg-wrap::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  transform: scaleY(0) translateY(-1%);
  transform-origin: top center;
  opacity: 0;
}

.stretch.str2.is-animated .bg-wrap::before {
  animation: stretch 2s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.stretch.str3.is-animated .bg-wrap::before {
  animation: stretch 2s 0.5s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.stretch.str4.is-animated .bg-wrap::before {
  animation: stretch 2s 0.75s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.stretch.is-animated .bg-wrap::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  transform: scaleY(0) translateY(-1%);
  transform-origin: top center;
  opacity: 0;
}

.stretch.str2.is-animated .bg-wrap::after {
  animation: stretch 2s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.stretch.str3.is-animated .bg-wrap::after {
  animation: stretch 2s 0.5s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.stretch.str4.is-animated .bg-wrap:after {
  animation: stretch 2s 0.75s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

@keyframes stretch {
  0% {
    opacity: 0;
    transform: scaleY(0) translateY(-1%);
  }
  30% {
    transform: scaleY(1) translateY(0);
  }
  100% {
    transform: scaleY(1) translateY(0);
  }
  30%,
  100% {
    opacity: 0.7;
  }
}

/*画像を左から右へ表示*/
.scrollin.is-animated {
  clip-path: inset(0 100% 0 0); /* 初期状態で右側が隠れる */
  animation: revealImage 1.5s cubic-bezier(0.4, 0.4, 0.2, 1) forwards 0.4s;
}
@keyframes revealImage {
  0% {
      opacity: 0;
      clip-path: inset(0 100% 0 0); /* 右側が隠れる */
    }
  25%{
      opacity: 1;
    }
  100% {
      opacity: 1;
      clip-path: inset(0 0 0 0); /* 全体を表示させる */
    }
}

/**cssアニメーション**/
/*回転*/
.rotate {
  animation: rotate 22s infinite linear;
}

@keyframes rotate {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

/*ふわふわ揺れる*/
.fuwafuwa {
  animation: 3s fuwafuwa ease-in-out infinite alternate;
}

@keyframes fuwafuwa {
  0%,
  100% {
    transform: translate(0, 0) rotate(-3deg);
  }

  50% {
    transform: translate(3%, -10%) rotate(0deg);
  }
}

/*ふわふわ2*/
.fuwafuwa.fu2 {
  animation-name: fuwafuwa2;
  animation-delay: 0.5s;
}

@keyframes fuwafuwa2 {
  0%,
  100% {
    transform: translate(0, 0) rotate(4deg);
  }

  50% {
    transform: translate(-3%, 2%) rotate(0deg);
  }
}

/*ふわふわ控えめ*/
.fuwafuwa.modest {
  animation-name: fuwafuwa_modest;
}

@keyframes fuwafuwa_modest {
  0%,
  100% {
    transform: translate(0, 0) rotate(-4deg);
  }

  50% {
    transform: translate(3%, -2%) rotate(0deg);
  }
}

/*ふわっ、しゅん*/
.calm-pulse {
  animation: calmPulse 1.3s ease-in-out infinite;
  transform-origin: center;
}

@keyframes calmPulse {
  0% {
    transform: scale(1);
    opacity: 1;
  }

  47.5% {
    transform: scale(0.95);
    opacity: 0.98;
  }

  52.5% {
    transform: scale(0.95);
    opacity: 0.98;
  }

  100% {
    transform: scale(1);
    opacity: 1;
  }
}




