body {
  margin: 0;
  padding: 0;
}

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

img {
  max-width: 100%;
  display: block;
  margin: auto;
}

.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^="pmms"] .sec01 .block .box img.pts1 {
  width: 45.25%;
  top: 47.7%;
  right: unset;
}

div[id^="pmms"] .sec01 .block .box img.pts2 {
  top: 62%;
}

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%;
}

div[id^="pmms"] .sec02 .block .box img.pts2 {
  bottom: 22.27%;
}

div[id^="pmms"] .sec02 .block .box img.pts3 {
  bottom: 11.8%;
}

div[id^="pmms"] .sec02 .block .box img.pts4 {
  bottom: 0.5%;
}

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

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

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

#primoremonthly .sec02 .block .box img.pts1 {
  width: 100%;
  top: 9.8%;
}

#primoremonthly .sec02 .block .box img.pts2 {
  width: 100%;
  top: 17.8%;
}

#primoremonthly .sec02 .block .box img.pts3 {
  width: 100%;
  top: 57%;
}

#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);
  }
}

/*ポップアップ*/
.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: 1s;
}

@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;
  }
}

/**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);
  }
}
