@import "./01.container-desktop.css";
@import "./01.container-mobile.css";
@import "./02.sec-statement.css";
@import "./03.sec-product.css";
@import "./04.sec-point.css";
@import "./05.sec-base-lenses.css";
@import "./06.sec-present.css";

html {
  scroll-behavior: smooth;
  scroll-padding: 90px;

  @media (max-width: 740px) {
    scroll-padding: 60px;
  }
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: normal;
}

#page-cotori {
  --font-poiret: "Poiret One", sans-serif;
  --font-noto-sans: "Noto Sans JP", sans-serif;
  --font-kiwi-maru: "Kiwi Maru", serif;

  --color-pink: #f99092;
  --color-pink-light: #ffe0e4;
  --color-pink-xlight: #fadbdf;

  --color-yellow: #d0b96e;
  --color-yellow-light: #efe5af;
  --color-yellow-xlight: #ecdc9a;

  --color-cool: #839bc1;
  --color-cool-light: #d8e0e3;
  --color-cool-xlight: #d8e0e3;

  --color-bitter: #b59879;
  --color-bitter-light: #e2d4c6;
  --color-bitter-xlight: #e2d4c6;

  /* zoom戦略を採っている時に、mobile端末とdesktop端末でfont-sizeのレンダリングに差異が出るので */
  -webkit-text-size-adjust: auto;

  position: relative;
  font-family: var(--font-kiwi-maru);
  font-feature-settings: "palt";
  opacity: 0;
  transition: opacity 0.5s ease;

  &[data-init="true"] {
    opacity: 1;
  }

  .util_pc-only {
    @media (width <= 740px) {
      display: none;
    }
  }

  .util_sp-only {
    @media (width > 741px) {
      display: none;
    }
  }

  .parts_button {
    display: block;
    align-content: center;
    width: 522px;
    height: 98px;
    margin: 0 auto;
    color: #fff;
    text-align: center;
    background: #000;
  }

  .parts_underlined-heading {
    font-family: var(--font-poiret);
    font-size: 97px;
    line-height: 1;
    text-align: center;
    border-bottom: 1px solid #000;
  }
}

.container-gradient-bg {
  position: fixed;
  top: 0;
  left: 0;
  z-index: -1;
  width: 100%;
  height: 100%;

  img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  @media (width <= 740px) {
    display: none;
  }
}

.embla__viewport {
  overflow: hidden;
}

.embla__container {
  display: flex;
  touch-action: pan-y pinch-zoom;
}

.embla__slide {
  flex: 0 0 100%;
  min-width: 0;
}

/* desktop用の固定コンテンツがフッターの上に来ないように */
#js-unt-getAjaxFooter {
  position: relative;
}

/* desktopコンテンツをfixedにしている関係で、パンクズより上に来てしまう。z-index:1を付与しないとマウスでさわれなくなるので */
.breadcrumb {
  position: relative;
  z-index: 1;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    filter: blur(10px);
  }
  to {
    opacity: 1;
    filter: blur(0);
  }
}

@keyframes floating {
  0% {
    transform: translate(0, 0);
  }
  50% {
    transform: translate(0, -25%);
  }
  100% {
    transform: translate(0, 0);
  }
}
