/* -------------------- */
/* -     lenis        - */
/* -------------------- */

html.lenis,
html.lenis body {
  height: auto;
}

.lenis.lenis-smooth {
  scroll-behavior: auto !important;
}

.lenis.lenis-smooth [data-lenis-prevent] {
  overscroll-behavior: contain;
}

.lenis.lenis-stopped {
  overflow: hidden;
}

.lenis.lenis-smooth iframe {
  pointer-events: none;
}


/* -------------------- */
/* -     共通         - */
/* -------------------- */

.pc-only {
  @media (width >=768px) {
    display: block;
  }

  @media (width < 768px) {
    display: none;
  }
}

.sp-only {
  @media (width >=768px) {
    display: none;
  }

  @media (width < 768px) {
    display: block;
  }
}

.hero__item,
.is-fadeup {
  opacity: 0;
}



/* ---------------------------------------- */
/* hero         
/* ---------------------------------------- */

.hero {
  background-color: #231F20;
  overflow: hidden;

  .hero__stage {
    position: relative;
    /* width: min(100%, 1200px); */
    aspect-ratio: 1200 / 534;
    margin-inline: auto;
    overflow: hidden;

    @media (width < 1200px) {}

    @media (width < 768px) {
      width: 100%;
      aspect-ratio: 440 / 620;
    }
  }

  img.hero__item {
    position: absolute;
    max-width: none;
  }

  .hero__item--text01 {
    left: calc(366 / 1200 * 100%);
    top: calc(27 / 534 * 100%);
    width: calc(530 / 1200 * 100%);
    z-index: 3;

    @media (width < 768px) {
      left: calc(19 / 440 * 100%);
      top: calc(19 / 620 * 100%);
      width: calc(403 / 440 * 100%);
      z-index: 4;
    }
  }

  .hero__item--text02 {
    position: absolute;
    left: calc(355 / 1200 * 100%);
    top: calc(192 / 534 * 100%);
    width: calc(505 / 1200 * 100%);
    z-index: 1;


    @media (width < 768px) {
      left: calc(20 / 440 * 100%);
      top: calc(364 / 620 * 100%);
      width: calc(400 / 440 * 100%);
      aspect-ratio: 1010 / 260;
    }
  }

  .hero__item--item {
    left: calc(110 / 440 * 100%);
    top: calc(96 / 620 * 100%);
    width: calc(220 / 440 * 100%);
    z-index: 2;
  }

  .hero__item--kuromi-l {
    left: 0;
    top: calc(98 / 534 * 100%);
    width: calc(339 / 1200 * 100%);
    z-index: 2;

    @media (width < 768px) {
      left: calc(-3.416 / 440 * 100%);
      top: calc(142 / 620 * 100%);
      width: calc(145.367 / 440 * 100%);
      z-index: 3;
    }
  }

  .hero__item--kuromi-r {
    left: calc(872 / 1200 * 100%);
    top: calc(30 / 534 * 100%);
    width: calc(328 / 1200 * 100%);
    z-index: 2;

    @media (width < 768px) {
      left: calc(307 / 440 * 100%);
      top: calc(105 / 620 * 100%);
      width: calc(140.697 / 440 * 100%);
      height: calc(187 / 620 * 100%);
      z-index: 3;
    }
  }

  .hero__item--ingredient {
    left: calc(374 / 1200 * 100%);
    top: calc(333 / 534 * 100%);
    width: calc(457 / 1200 * 100%);
    z-index: 1;

    @media (width < 768px) {
      left: calc(-2 / 440 * 100%);
      /* top: calc(464 / 620 * 100%); */
      top: initial;
      bottom: 0;
      width: calc(428 / 440 * 100%);
      z-index: 2;
    }
  }
}



/* ---------------------------------------- */
/* 限定KUROMIデザイン
/* ---------------------------------------- */

@keyframes kuromi-float {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-20px);
  }
}

.design {
  margin-inline: auto;
  background-color: #231F20;
  padding-top: calc(60 / 1200 * 100%);

  @media (width < 768px) {
    padding-top: 5vw;
  }

  .design__stage {
    position: relative;
    max-width: 1200px;
    margin-inline: auto;
    width: 100%;
    aspect-ratio: 1200 / 321;
    container-type: inline-size;

    @media (width < 768px) {
      aspect-ratio: 577 / 634;
    }
  }

  .design__kuromi,
  .design__limited,
  .design__text,
  .design__badges li {
    position: absolute;
  }

  img {
    display: block;
    width: 100%;
    height: 100%;
    max-width: none;
  }

  .design__kuromi {
    left: calc(214 / 1200 * 100%);
    top: calc(31 / 321 * 100%);
    width: calc(298 / 1200 * 100%);
    height: calc(255 / 321 * 100%);

    @media (width < 768px) {
      left: calc(147 / 577 * 100%);
      top: calc(53 / 634 * 100%);
      width: calc(298 / 577 * 100%);
      height: calc(255 / 634 * 100%);
    }

    img {
      animation: kuromi-float 3s ease-in-out infinite;
    }
  }

  .design__limited {
    left: calc(461 / 1200 * 100%);
    top: 0;
    width: calc(133 / 1200 * 100%);
    height: calc(113 / 321 * 100%);

    @media (width < 768px) {
      left: calc(29 / 577 * 100%);
      top: calc(298 / 634 * 100%);
      width: calc(133 / 577 * 100%);
      height: calc(113 / 634 * 100%);
    }
  }

  .design__text {
    left: calc(609 / 1200 * 100%);
    top: calc(43 / 321 * 100%);
    width: calc(371 / 1200 * 100%);
    color: #fff;
    line-height: 1.8;
    letter-spacing: 0.1em;
    text-align: center;

    @media (width < 768px) {
      left: calc(177 / 577 * 100%);
      top: calc(341 / 634 * 100%);
      width: calc(371 / 577 * 100%);
      font-size: calc(20 / 577 * 100cqi);
    }
  }

  .design__shipments {
    left: calc(620 / 1200 * 100%);
    top: calc(168 / 321 * 100%);
    width: calc(144 / 1200 * 100%);
    height: calc(100 / 321 * 100%);

    @media (width < 768px) {
      left: calc(107 / 577 * 100%);
      top: calc(466 / 634 * 100%);
      width: calc(144 / 577 * 100%);
      height: calc(100 / 634 * 100%);
    }
  }

  .design__bup {
    left: calc(764 / 1200 * 100%);
    top: calc(168 / 321 * 100%);
    width: calc(113 / 1200 * 100%);
    height: calc(100 / 321 * 100%);

    @media (width < 768px) {
      left: calc(251 / 577 * 100%);
      top: calc(466 / 634 * 100%);
      width: calc(113 / 577 * 100%);
      height: calc(100 / 634 * 100%);
    }
  }

  .design__putipla {
    left: calc(877 / 1200 * 100%);
    top: calc(172 / 321 * 100%);
    width: calc(100 / 1200 * 100%);
    height: calc(89 / 321 * 100%);

    @media (width < 768px) {
      left: calc(364 / 577 * 100%);
      top: calc(470 / 634 * 100%);
      width: calc(100 / 577 * 100%);
      height: calc(89 / 634 * 100%);
    }
  }
}


/* ---------------------------------------- */
/* あなたはどっち派？
/* ---------------------------------------- */

.which {
  background:
    url(../img/wave_top.webp) no-repeat center top / 100% auto,
    url(../img/wave_bottom.webp) no-repeat center bottom / 100% auto,
    #231F20;
  padding-block: calc(119 / 1200 * 100%);

  .which__stage {
    background-color: #D93751;
  }

  .which__inner {
    max-width: 1200px;
    margin-inline: auto;
    position: relative;
    aspect-ratio: 1200 / 926;

    @media (width < 768px) {
      aspect-ratio: auto;
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 8vw;
      padding: 6vw 15vw 10vw;
    }
  }

  .which__title,
  .which__kuromi,
  .which__item,
  .which__info,
  .which__btn {
    position: absolute;
  }

  .which__title {
    margin: 0;
    line-height: 0;
    left: calc(344 / 1200 * 100%);
    top: calc(13 / 926 * 100%);
    width: calc(498 / 1200 * 100%);
    height: calc(157 / 926 * 100%);
    z-index: 3;

    @media (width < 768px) {
      position: relative;
      left: auto;
      top: auto;
      width: 100%;
      height: auto;
    }
  }

  img {
    display: block;
    width: 100%;
    height: 100%;
    max-width: none;
  }

  .which__column {
    @media (width < 768px) {
      width: 100%;
    }
  }

  .which__visual {
    @media (width < 768px) {
      max-width: 90%;
      margin-inline: auto;
      position: relative;
      aspect-ratio: 380 / 389;
    }
  }

  .which__column--03 .which__visual {
    @media (width < 768px) {
      aspect-ratio: 376 / 381;
    }
  }

  .which__column--01 .which__kuromi {
    left: calc(205 / 1200 * 100%);
    top: calc(191 / 926 * 100%);
    width: calc(286 / 1200 * 100%);
    height: calc(389 / 926 * 100%);
    z-index: 1;

    @media (width < 768px) {
      left: 0;
      top: 0;
      width: calc(286 / 380 * 100%);
      height: 100%;
    }
  }

  .which__column--01 .which__item {
    left: calc(432 / 1200 * 100%);
    top: calc(252 / 926 * 100%);
    width: calc(153 / 1200 * 100%);
    height: calc(322 / 926 * 100%);
    z-index: 2;

    @media (width < 768px) {
      left: calc(227 / 380 * 100%);
      top: calc(61 / 389 * 100%);
      width: calc(153 / 380 * 100%);
      height: calc(322 / 389 * 100%);
    }
  }

  .which__column--01 .which__info {
    left: calc(200 / 1200 * 100%);
    top: calc(595 / 926 * 100%);
    width: calc(390 / 1200 * 100%);
    height: calc(225 / 926 * 100%);

    @media (width < 768px) {
      position: relative;
      left: auto;
      top: auto;
      width: 100%;
      height: auto;
      margin-top: 3vw;
    }
  }

  .which__column--03 .which__kuromi {
    left: calc(620 / 1200 * 100%);
    top: calc(201 / 926 * 100%);
    width: calc(268 / 1200 * 100%);
    height: calc(381 / 926 * 100%);
    z-index: 1;

    @media (width < 768px) {
      left: 0;
      top: 0;
      width: calc(268 / 376 * 100%);
      height: 100%;
    }
  }

  .which__column--03 .which__item {
    left: calc(842 / 1200 * 100%);
    top: calc(251 / 926 * 100%);
    width: calc(154 / 1200 * 100%);
    height: calc(322 / 926 * 100%);
    z-index: 2;

    @media (width < 768px) {
      left: calc(222 / 376 * 100%);
      top: calc(50 / 381 * 100%);
      width: calc(154 / 376 * 100%);
      height: calc(322 / 381 * 100%);
    }
  }

  .which__column--03 .which__info {
    left: calc(614 / 1200 * 100%);
    top: calc(595 / 926 * 100%);
    width: calc(390 / 1200 * 100%);
    height: calc(225 / 926 * 100%);

    @media (width < 768px) {
      position: relative;
      left: auto;
      top: auto;
      width: 100%;
      height: auto;
      margin-top: 3vw;
    }
  }   

  .which__btn {
    top: calc(852 / 926 * 100%);
    left: 0;
    right: 0;
    width: fit-content;
    margin-inline: auto;
    text-align: center;
    @media (width < 768px) {
      position: relative;
      top: auto;
      left: auto;
      right: auto;
      width: auto;
    }
    a {
      text-align: center;
      font-size: min(3.6vw, 16px);
      letter-spacing: 0.2em;
      width: min(60vw, 350px);
      margin-inline: auto;
      font-weight: 600;
      display: inline-block;
      border: 2px solid #231815;
      background-color: #fff;
      padding-block: min(2.3vw, 15px);
      border-radius: min(5px, 1.5vw);
      transition: all 0.3s ease;
      
      @media(hover: hover) {
        &:hover {
          background-color: #231815;
          color: #fff;
        }
      }
    }
  }
}


/* ---------------------------------------- */
/* ポイント
/* ---------------------------------------- */

.point {
  background:
    url(../img/point_deco.webp) no-repeat center top / calc(154 / 1200 * 100%) auto,
    url(../img/point_deco.webp) no-repeat center bottom / calc(154 / 1200 * 100%) auto,
    #231F20;
  padding-block: calc(80 / 1200 * 100%);

  @media (width < 1280px) {
    background:
      url(../img/point_deco.webp) no-repeat center top / min(30%, 154px) auto,
      url(../img/point_deco.webp) no-repeat center bottom / min(30%, 154px) auto,
      #231F20;
    padding-block: min(13vw, 80px);
  }

  .point__stage {
    max-width: 1200px;
    margin-inline: auto;
  }

  .point__block {
    width: calc(850 / 1200 * 100%);
    margin-inline: auto;
    background: url(../img/point_frame_bgtop.webp) no-repeat center top / 100% auto,
      url(../img/point_frame_bgbottom.webp) no-repeat center bottom / 100% auto,
      url(../img/point_frame_bg.webp) repeat-y center top / 100% auto;

    @media (width < 1280px) {
      width: 90%;
    }

    .point01__cont {
      display: grid;
      grid-template-columns: 1fr min(2.5vw, 21px) 1fr;
      gap: min(1.5vw, 10px);

      figure {
        img {
          width: 100%;
        }
        figcaption {
          padding-top: min(0.5vw, 5px);
          font-size: min(2vw, 14px);
          font-weight: 600;
          line-height: 1.8;
          letter-spacing: 0.1em;
          span {
            padding-top: min(1vw, 10px);
            font-size: 80%;
            display: block;
            text-align: right;
          }
        }
      } 

      p {
        text-align: center;
        padding-top: min(1vw, 10px);
        @media (width < 768px) {
          padding-top: 0;
        }
      }
    }

  }

  .point__block+.point__block {
    margin-top: calc(80 / 1200 * 100%);
  }

  .point01 {
    width: calc(800 / 850 * 100%);
    margin-inline: auto;
    padding-top: calc(39 / 850 * 100%);
    padding-bottom: calc(55 / 850 * 100%);

    .point01__title,
    .point01__text,
    .point01__cont {
      margin-inline: auto;
    }

    .point01__title {
      width: calc(315 / 800 * 100%);
    }

    .point01__text {
      width: calc(524 / 800 * 100%);
      margin-top: calc(21 / 800 * 100%);
    }

    .point01__cont {
      width: calc(740 / 800 * 100%);
      margin-top: calc(18 / 800 * 100%);
    }

    .point01 img {
      display: block;
      width: 100%;
      height: auto;
    }
  }

  .point02 {
    width: calc(800 / 850 * 100%);
    margin-inline: auto;
    padding-top: calc(37 / 850 * 100%);
    padding-bottom: calc(71 / 850 * 100%);

    .point02__title,
    .point02__text,
    .point02__cont01,
    .point02__cont02 {
      margin-inline: auto;
    }

    .point02__title {
      width: calc(315 / 800 * 100%);
    }

    .point02__text {
      width: calc(388 / 800 * 100%);
      margin-top: calc(19 / 800 * 100%);
    }

    .point02__cont01 {
      width: calc(757 / 800 * 100%);
      margin-top: calc(27 / 800 * 100%);
    }

    .point02__cont02 {
      width: calc(740 / 800 * 100%);
      margin-top: calc(21 / 800 * 100%);
    }

    .point02 img {
      display: block;
      width: 100%;
      height: auto;
    }
  }

  .point03 {
    width: calc(800 / 850 * 100%);
    margin-inline: auto;
    padding-top: calc(37 / 850 * 100%);
    padding-bottom: calc(71 / 850 * 100%);

    .point03__title,
    .point03__text,
    .point03__cont {
      margin-inline: auto;
    }

    .point03__title {
      width: calc(315 / 800 * 100%);
    }

    .point03__text {
      width: calc(513 / 800 * 100%);
      margin-top: calc(19 / 800 * 100%);
    }

    .point03__cont {
      width: calc(565 / 800 * 100%);
      margin-top: calc(27 / 800 * 100%);
    }

    .point03 img {
      display: block;
      width: 100%;
      height: auto;
    }
  }

  .point04 {
    width: calc(800 / 850 * 100%);
    margin-inline: auto;
    padding-top: calc(37 / 850 * 100%);
    padding-bottom: calc(71 / 850 * 100%);

    .point04__title,
    .point04__text,
    .point04__cont01,
    .point04__cont02 {
      margin-inline: auto;
    }

    .point04__title {
      width: calc(315 / 800 * 100%);
    }

    .point04__text {
      width: calc(388 / 800 * 100%);
      margin-top: calc(19 / 800 * 100%);
    }

    .point04__cont01 {
      width: calc(538 / 800 * 100%);
      margin-top: calc(27 / 800 * 100%);
    }

    .point04__cont02 {
      width: calc(550 / 800 * 100%);
      margin-top: calc(21 / 800 * 100%);
    }

    .point04 img {
      display: block;
      width: 100%;
      height: auto;
    }
  }

}


/* ---------------------------------------- */
/* 商品
/* ---------------------------------------- */

.product {
  background:
    url(../img/wave_top.webp) no-repeat center top / 100% auto,
    #231F20;
  padding-top: calc(119 / 1200 * 100%);

  .product__inner {
    background-color: #D93751;
    padding-bottom: calc(80 / 1200 * 100%);
    padding-inline: min(5vw, 30px);
  }

  .product__title {
    text-align: center;
    width: calc(793 / 1200 * 100%);
    height: calc(204 / 1200 * 100%);
    margin-inline: auto;

    @media(max-width: 768px) {
      width: 100%;
      max-width: 793px;
    }
  }

  .product__cont {
    max-width: 800px;
    margin-inline: auto;
    margin-top: calc(30 / 1200 * 100%);
    background: url(../img/product_deco.webp) no-repeat center min(10vw,50px) / min(20vw,110px) auto,
     rgba(255, 255, 255, 0.7);
    border-radius: min(10px, 1.5vw);
    padding-top: min(18vw, 110px);
    padding-bottom: min(10vw, 50px);
    padding-inline: min(5vw, 50px);
  }

  .product__item {
    display: flex;
    justify-content: center;
    gap: min(3vw, 30px);

    figure {
      display: grid;
      justify-content: center;
      width: 50%;
      figcaption {
        font-size: min(2.4vw, 16px);
        font-weight: 600;
        line-height: 1.6;
        margin-top: min(3vw, 10px);
      }
    }
  }

  .product__btn {
    text-align: center;
    margin-top: min(8vw, 50px);
    a {
      font-size: min(3.6vw, 16px);
      letter-spacing: 0.2em;
      width: min(55vw, 350px);
      margin-inline: auto;
      font-weight: 600;
      display: inline-block;
      border: 2px solid #231815;
      background-color: #fff;
      padding-block: min(2.3vw, 15px);
      border-radius: min(5px, 1.5vw);
      transition: all 0.3s ease;
      
      @media(hover: hover) {
        &:hover {
          background-color: #231815;
          color: #fff;
        }
      }
    }
  }

}


/* ---------------------------------------- */
/* フッター
/* ---------------------------------------- */

.kuromi_footer {
  text-align: center;
  background-color: #D93751;
  padding-bottom: min(6vw, 40px);

  figure {
    width: min(50vw, 394px);
    margin-inline: auto;
  }
  p {
    width: min(60vw, 270px);
    margin-inline: auto;
    margin-top: min(8vw, 60px);
  }
}