@charset "UTF-8";

/* ========================================
   common
   ======================================== */

body {
  font-family: "Noto Serif JP", serif;
  font-optical-sizing: auto;
  font-style: normal;
  font-weight: 400;
}

main {
  position: relative;
  overflow: hidden;
}

#main p {
  font-size: 16px;
  text-align: center;
}

/* ========================================
   mv_bg
   ======================================== */

.mv_bg {
  position: absolute;
  z-index: -1;  
  width: 100%;
}
.mv_bg img {
  width: 100%;
  object-fit: cover;
}

/* ========================================
   mainVisualcopy01
   ======================================== */

/*
  PC: KV画像は 3840x2150。width:100% だと
  ヘッダー分を含めて 100vh を超え、ファーストビューで見切れる。
  残り高さに収まるよう幅を抑え、全体を縮小して表示する。
*/
.mainVisual {
  --kv-header-offset: 120px;
  --kv-aspect: 3840 / 2150;
  position: relative;
  margin: 0 auto;
  width: min(100%, calc((100vh - var(--kv-header-offset)) * var(--kv-aspect)));
  width: min(100%, calc((100svh - var(--kv-header-offset)) * var(--kv-aspect)));
  aspect-ratio: 3840 / 2150;
  overflow: hidden;
}

.mainVisual h1 {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
  opacity: 0;
  width: 100%;
}
.copy01,
.copy02 {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 2;
  opacity: 0;
  width: 100%;
}
.main_visual_main {
  position: absolute;
  bottom: 0;
  left: 0;
  z-index: 3;
  width: 100%;
}

.mainVisual img {
  display: block;
  width: 100%;
}

.mainVisual.is-ready h1 {
  animation: mainVisualFadeIn 1.2s ease-out forwards;
}
.mainVisual.is-ready .copy01 {
  animation: mainVisualFadeIn 1.2s ease-out 1.15s forwards;
}
.mainVisual.is-ready .copy02 {
  animation: mainVisualFadeIn 1.2s ease-out 1.5s forwards;
}

@keyframes mainVisualFadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}


/* ========================================
   linkWrap
   ======================================== */

.linkWrap {
  background-color: #B50007;
}
.linkWrap ul {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 80px;
}
.linkWrap ul li {
  position: relative;
}
.linkWrap ul li a {
  position: relative;
  font-family: 'Noto Sans JP';
  display: block;
  font-size: 18px;
  font-weight: bold;
  padding: 0 40px;
  color: #fff;
}
.linkWrap ul li a::after {
  content: "";
  width: 1px;
  height: 100%;
  background: #fff;
  position: absolute;
  right: 0;
}
.linkWrap ul li:last-child a::after {
  display: none;
}


/* ========================================
   mainCopy
   ======================================== */

.mainCopy {
  position: relative;
  background-color: #000;
  padding: 120px 0 100px;
  max-height: 850px;
  text-align: center;
  height: 980px;
  overflow: hidden;
}
.mainCopy::before,
.mainCopy::after {
  position: absolute;
  content: '';
  max-width: 300px;
  width: 300px;
  height: 662px;
  background-repeat: no-repeat;
  background-size: contain;
}
.mainCopy::before {
  background-image: url(../img/point_left.png);
  top: 3%;
  left: 6%;
}
.mainCopy::after {
  background-image: url(../img/point_right.png);
  bottom: 3%;
  right: 6%;
}

.mainCopy h2 {
  margin-left: 32px;
  margin-bottom: 50px;
}
.mainCopy ul li {
  margin-bottom: 60px;
}

/* ========================================
   menuArea
   ======================================== */

.menuArea {
  position: relative;
  background: url(../img/bg01.jpg) repeat-y;
  background-size: 100%;
  text-align: center;
}

.image-container {
  position: absolute;
  width: 100%;
  height: 100%;
}

/* 共通の画像スタイル */
.scroll-img {
  position: absolute;
  top: 0;
  left: 0;
  object-fit: cover;
  will-change: transform, opacity;
  
  /* デフォルト値 */
  --progress: 0;
}

/* パターン①：左に消えていく */
.scroll-img.pattern-left {
  transform: translateX(calc(var(--progress) * -100vw));
  opacity: calc(1 - var(--progress));
}

/* パターン②：右に消えていく */
.scroll-img.pattern-right {
  transform: translateX(calc(var(--progress) * 100vw));
  opacity: calc(1 - var(--progress));
}

.menuInner {
  width: 100%;
  max-width: 1184px;
  margin: 0 auto;
  padding: 0 0 120px;
}

.menuInner ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-evenly;
}

.menuInner ul li {
  padding: 80px 0;
}

.linkBtn {
  display: block;
  width: 318px;
  margin: 60px auto 0;
  padding: 16px 0;
  border-radius: 60px;
  background-image: url(../img/bg_btn.png);
  color: #fff;
  font-size: 20px;
  text-align: center;
}

/* ========================================
   linksArea
   ======================================== */

.linksArea h2 {
  margin: 0 0 16px;
  font-size: 24px;
  text-align: center;
}

.linksArea .online {
  margin: 32px auto;
  max-width: 980px;
}

.linksArea .online ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

.linksArea .online li {
  width: 24.5%;
}

.linksArea .online li img {
  border-radius: 5px;
}

.linksArea .variousLinks {
  margin-bottom: 40px;
}

.linksArea .mobileOrder {
  display: flex;
  justify-content: center;
  margin-bottom: 16px;
}

.linksArea .shop {
  padding: 50px 0;
  background-color: #fff;
  text-align: center;
}

.linksArea .shop img {
  margin-top: 16px;
}


.animeWrapper {
  position: absolute;
  bottom: 0;
  left: 10%;
  display: flex;
  align-items: flex-end;
}

.menuArea.shibikara .animeWrapper {
  right: 10%;
  left: auto;
}

.animeWrapper #oyako {
  width: 86px;
}

/* egg animation */
.stage {
  position: relative;
  width: 155px;
  height: 900px;
  overflow: hidden;
}

.donburi {
  position: absolute;
  left: 0;
  bottom: 0;
  z-index: 1;
  width: 155px;
}

.egg {
  position: absolute;
  left: 50%;
  width: 100px;
  transform: translateX(-50%);
}

.whole-egg {
  top: 80px;
  z-index: 5;
  width: 75px;
}

.cracked-egg {
  top: 80px;
  z-index: 6;
  width: 75px;
  opacity: 0;
}

.shell {
  top: 80px;
  z-index: 5;
  opacity: 0;
}

.yolk {
  position: absolute;
  left: 50%;
  z-index: 3;
  width: 40px;
  opacity: 0;
  transform: translate(-50%, 0);
}


/* ========================================
   footer
   ======================================== */

#footer {
  padding-top: 40px;
}

/* ========================================
   QRコード
   ======================================== */

.qr {
  position: fixed;
  bottom: 240px;
  right: 20px;
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition:
    opacity 0.4s ease,
    transform 0.4s ease,
    visibility 0.4s ease;
  width: min(13vw,250px);
}

.qr img {
  max-width: min(13.02083333333333vw,250px);
}
.qr.is-show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.qr.is-hide {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.linkBtn.pr {
  background-image: unset;
  background-color: #117C4C;
  margin-top: 20px;
}

/* ========================================
   p-gotop（ページトップへ）
   ======================================== */

.p-gotop {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition:
    opacity 0.4s ease,
    transform 0.4s ease,
    visibility 0.4s ease;
}

.p-gotop.is-show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.p-gotop.is-hide {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

/* ========================================
   レスポンシブ
   ======================================== */
@media screen and (min-width: 1921px) {
  .mainCopy {
    height: 1300px;
  }
}

@media screen and (max-width: 700px) {
  .pc_view {
    display: none !important;
  }

  .mainVisual {
    width: 100%;
    aspect-ratio: 25 / 41;
    background-image: url(../img/main_visual_sp.jpg);
    min-height: 615px;
  }

  /* ========================================
    linkWrap
    ======================================== */

  .linkWrap {
    background-color: #880308;
    padding: 15px 10px 5px;
  }
  .linkWrap ul {
    flex-wrap: wrap;
    justify-content: space-between;
    height: 100px;
  }
  .linkWrap ul li {
    position: relative;
    width: calc(100% / 2 - 5px);
    margin-bottom: 10px;
  }
  .linkWrap ul li a {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    padding: 0;
    border-radius: 4px;
    background-color: #B50007;
    height: 40px;
  }
  .linkWrap ul li a::after {
    display: none;
  }


  /* ========================================
    mainCopy
    ======================================== */

  .mainCopy {
    height: 100%;
    padding: 60px 20px 50px;
  }
  .mainCopy::before,
  .mainCopy::after {
    content: unset;
  }

  /* ========================================
    menuArea
    ======================================== */

  .menuArea {
    background: url(../img/bg01_sp.jpg) repeat-y;
    background-size: cover;
  }

  .menuInner {
    max-width: 100%;
    padding: 60px 20px 130px;
  }

  .menuInner ul li {
    padding: 15px 0;
  }
  .menuInner ul img {
    max-width: 100%;
  }
  .menuInner ul #menu05 img {
    max-width: 190px;
  }

  .menuInner ul li {
    padding: 30px 0;
  }

  .linksArea .online ul {
    margin: 32px 6px;
  }

  .linksArea .online li.w100 {
    width: 100%;
    margin: 0 6px 6px;
    text-align: center;
  }

  .linksArea .online li.w100 img {
    width: 100%;
  }

  .linksArea .online li.w50 {
    width: 49%;
  }

  .linksArea .shop {
    padding: 50px 20px;
  }

  .linkBtn {
    position: relative;
    z-index: 100;
    width: 318px;
    font-size: 14px;
  }
  .linkBtn.app {
    background-image: unset;
    background-color: #D70C18;
    margin-top: 20px;
  }

  .animeWrapper {
    bottom: 0;
    left: 0;
  }

  .menuArea.shibikara .animeWrapper {
    left: 0;
  }

  .stage {
    height: 410px;
    width: 85px;
  }

  .whole-egg,
  .cracked-egg {
    width: 40px;
  }

  .shell {
    width: 55px;
  }

  .yolk {
    width: 23px;
  }

  .animeWrapper #oyako {
    width: 56px;
  }

  .p-gotop img {
    width: 80px;
  }
}

@media screen and (min-width: 701px) {
  .sp_view {
    display: none !important;
  }
}
