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

#mjtlmap .sec01 .block .box img.pts1{
    bottom: 30.6%;
    right: 2%;
    left: unset;
    max-width: 25.8%;
}
#mjtlmap .sec01 .block .box img.pts2{
    bottom: 4.3%;
    right: unset;
    left: 6.8%;
    max-width: 35.9%;
}

#mjtlmap .sec02 .block .box img.pts1{
    top: 30%;
    right: unset;
    left: 18.8%;
    max-width: 6.3%;
}
#mjtlmap .sec02 .block .box img.pts2{
    top: 33.6%;
    right: unset;
    left: 8.8%;
    max-width: 6.3%;
    animation-delay: 0.8s;
}
#mjtlmap .sec02 .block .box img.pts3{
    top: 29.7%;
    right: unset;
    left: 0;
    max-width: 25.2%;
}

#mjtlmap .sec03 .block .box img.pts1{
    top: 19.2%;
    right: 5.3%;
    left: unset;
    max-width: 92%;
}
#mjtlmap .sec03 .block .box img.pts2{
    top: 45.5%;
    right: 5.3%;
    left: unset;
    max-width: 92%;
}
#mjtlmap .sec03 .block .box img.pts3{
    top: 71.9%;
    right: 5.3%;
    left: unset;
    max-width: 92%;
}


div[id^="mjtl"] .sec01 .block .box img.pts1 {
    bottom: 29.1%;
    right: 1.8%;
    left: unset;
    max-width: 25.8%;
}
div[id^="mjtl"] .sec01 .block .box img.pts2 {
    bottom: 2.7%;
    right: unset;
    left: 4%;
    max-width: 45.4%;
}
div[id^="mjtl"] .sec01 .block .box img.pts3 {
    bottom: 2.7%;
    right: 2.8%;
    left: unset;
    max-width: 45.4%;
  }






div[id^="im"] .sec01 .block .box img.pts1 {
  width: 100%;
  top: 2.8%;
}

div[id^="im"] .sec01 .block .box img.pts2 {
  top: 60.1%;
  left: unset;
  right: 1.2%;
  max-width: 77.4%;
}

div[id^="im"] .sec01 .block .box img.pts3 {
  top: 62.7%;
  left: unset;
  right: 3.9%;
  max-width: 70.2%;
}


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



/*ブランドページ*/
#majetterelax .sec01 .block .box img.pts1 {
  width: 91.75%;
  bottom: 3.65%;
}

#majetterelax .sec02 .block .box img.pts1 {
max-width: 97.4%;
    top: 1.9%;
    right: unset;
    left: 0.3%;
}
#majetterelax .sec02 .block .box img.pts2 {
    width: 100%;  
    top: 29.7%;
    left: -0.2%;
    z-index: 2;
}
#majetterelax .sec02 .block .box video{
  position: absolute;
  max-width: 65%;
    top: 31.4%;
    left: 50%;
    transform: translateX(-50%);
  z-index: 1;
}
#majetterelax .sec02 .block .box img.pts3 {
    top: 78%;
    right: unset;
    max-width: 93.8%;
    left: 3.9%;
}

#majetterelax .sec03 .block .box img.pts1 {
  top: 24.7%;
  left: 0;
  right: 0;
  max-width: 90.3%;
}

#majetterelax .sec04 .block .box img.pts1 {
    top: 6.8%;
    left: 6%;
  right: unset;
  max-width: 86%;
  animation-delay: 0s;
}
#majetterelax .sec04 .block .box img.pts2 {
    top: 22%;
    left: 12.4%;
    right: unset;
  max-width: 80.3%;
  animation-delay: 0.05s;
}
#majetterelax .sec04 .block .box img.pts3 {
  top: 53.3%;
    left: unset;
    right: 9%;
  max-width: 24.4%;
  animation-delay: 0.1s;
}
#majetterelax .sec04 .block .box img.pts4 {
    top: 72.6%;
    left: unset;
    right: 9.4%;
  max-width: 22.4%;
  animation-delay: 0.15s;
}


#majetterelax .sec05 .block .box img{
  left: 0;
  right: 0;
  max-width: 84%;
}
#majetterelax .sec05 .block .box img.pts1 {
  top: .8%;
}
#majetterelax .sec05 .block .box img.pts2 {
  top: 16.6%;
}
#majetterelax .sec05 .block .box img.pts3 {
  top: 32.6%;
}
#majetterelax .sec05 .block .box img.pts4 {
  top: 48.6%;
}
#majetterelax .sec05 .block .box img.pts5 {
  top: 64.3%;
}
#majetterelax .sec05 .block .box img.pts6 {
  top: 80.6%;
}




#majetterelax_2 .sec01 .block .box img{
  max-width: 45.25%;
}
#majetterelax_2 .sec01 .block .box img.pts1{
    left: -41.3%;
    top: 21%;
}
#majetterelax_2 .sec01 .block .box img.pts1_2{
    left: unset;
    right: 8%;
    top: 21%;
}
#majetterelax_2 .sec01 .block .box img.pts2{
    left: -41.3%;
    top: 38%;
}
#majetterelax_2 .sec01 .block .box img.pts2_2{
    left: unset;
    right: 8%;
    top: 38%;
}
#majetterelax_2 .sec01 .block .box img.pts3{
    left: -41.3%;
    top: 54.8%;
}
#majetterelax_2 .sec01 .block .box img.pts3_2{
    left: unset;
    right: 8%;
    top: 54.8%;
}
#majetterelax_2 .sec01 .block .box img.pts4{
    left: -41.3%;
    top: 71.8%;
}
#majetterelax_2 .sec01 .block .box img.pts4_2{
    left: unset;
    right: 8%;
    top: 71.8%;
}

#majetterelax_2 .sec02 .block .box .kiran-img {
  top: 28.4%;
  right: 0;
  left: 0;
    width: 60%;
    height: 51%;
  z-index: 9;
  transform-origin: left;
  border-radius: 50%;
  /* グラデーションマスクを追加（下だけフェード） */
  mask-image: linear-gradient(to bottom, black 90%, transparent 100%);
  mask-size: 100% 100%;
  mask-repeat: no-repeat;
}
#majetterelax_2 .sec02 .block .box img.pts2{
  z-index: 10;
    bottom: 3.6%;
    left: -2.7%;
    max-width: 79.7%;
}


/****アニメーション****/
.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 0 100% 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;
  }
}

/*動画*/
video{
  width: 100%;
}


