@charset "UTF-8";

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

main {
  font-family: "Noto Serif JP", serif;
  font-optical-sizing: auto;
  font-style: normal;
  font-weight: 400;
  position: relative;
  overflow: hidden;
}

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

/* ========================================
   mainVisual
   ======================================== */

.mainVisual {
  position: relative;
  margin: 0 auto;
  overflow: hidden;
  aspect-ratio: 12 / 7;
  width: 100%;
  height: auto;
}

.mainVisual img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.mainVisual h1 {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 20;
  width: 100%;
  height: auto;
  opacity: 0;
  animation: kvFadeIn 1.4s ease 1s forwards;
}
.main_visual_bg {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 0;
  width: 100%;
  height: auto;
}
.kv_wafuu {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 10;
  width: 100%;
  height: auto;
  opacity: 0;
  animation: kvFadeIn 1.4s ease forwards;
}

@keyframes kvFadeIn {
  0% {
    opacity: 0;
    transform: translateY(12px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .kv_wafuu,
  .mainVisual h1 {
    opacity: 1;
    animation: none;
  }
}

/* ========================================
   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", sans-serif;
  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;
}

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

.menuArea {
  position: relative;
  text-align: center;
}
.menuArea::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background: url(../img/side_bg.webp) no-repeat;
  background-size: cover;
  background-attachment: fixed;
  clip-path: inset(0 0 0 0);
  pointer-events: none;
}

.menuInner {
  position: relative;
  z-index: 2;
  display: flow-root;
  width: 100%;
  max-width: 980px;
  margin: 0 auto;
  background: url(../img/main_bg.webp) no-repeat center top;
  background-size: 100% auto;
  padding: 0 100px 0 90px;
}

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

.menuInner ul.menu li {
  width: 100%;
  margin-bottom: 80px;
}

.menuCta {
  padding: 0 0 100px;
}

.note_wrap {
  width: 100%;
  position: relative;
}
.note {
  margin: 50px auto;
}
.note li {
  width: 100%;
  color: #fff;
  font-weight: 600;
  text-align: left;
  font-size: 16px;
}
.lead_img {
  margin-bottom: 50px;
}
.linkBtn {
  display: block;
  width: 318px;
  margin: 60px auto 0;
  padding: 16px 0;
  border-radius: 60px;
  background-image: url(../img/bg_btn.webp);
  color: #fff;
  font-size: 20px;
  text-align: center;
}

/* ========================================
   たまごの割れるアニメーション
   ======================================== */

.animeWrapper {
  position: fixed;
  left: max(12px, calc(50% - 805px));
  bottom: 24px;
  z-index: 3;
  display: flex;
  align-items: flex-end;
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.4s ease,
    visibility 0.4s ease;
}

.animeWrapper.is-show {
  opacity: 1;
  visibility: visible;
}

.animeWrapper #oyako {
  width: 120px;
}

.stage {
  position: relative;
  width: 180px;
  height: min(900px, calc(100vh - 48px));
  overflow: hidden;
}

.donburi {
  position: absolute;
  bottom: 0;
  left: 0;
  z-index: 1;
  width: 100%;
  height: auto;
}

.egg {
  position: absolute;
  left: 30%;
  width: 100px;
  height: auto;
  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: 30%;
  z-index: 4;
  width: 52px;
  height: auto;
  opacity: 0;
  transform: translate(-50%, 0);
}

@keyframes shake {
  0% {
    transform: translateX(-50%) rotate(0deg);
  }
  25% {
    transform: translateX(-50%) rotate(5deg);
  }
  50% {
    transform: translateX(-50%) rotate(-5deg);
  }
  75% {
    transform: translateX(-50%) rotate(3deg);
  }
  100% {
    transform: translateX(-50%) rotate(0deg);
  }
}

.shake {
  animation: shake 0.5s ease;
}

@keyframes fall {
  from {
    transform: translate(-50%, 0);
  }
  to {
    transform: translate(-50%, var(--fall-distance));
  }
}

.fall {
  animation: fall 0.8s ease forwards;
}

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

.fade-out {
  animation: fadeOut 0.4s forwards;
}

@media (prefers-reduced-motion: reduce) {
  .shake,
  .fall,
  .fade-out {
    animation: none;
  }
}

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


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

#footer {
  padding-top: 40px;
}

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

.qr {
  position: fixed;
  top: 200px;
  right: 20px;
  z-index: 10000;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition:
    opacity 0.4s ease,
    transform 0.4s ease,
    visibility 0.4s ease;
}

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

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

/* ========================================
   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 (max-width: 700px) {
  .pc_view {
    display: none !important;
  }

  .animeWrapper {
    position: absolute;
    left: 8px;
    bottom: 8px;
    z-index: 1;
    opacity: 1;
    visibility: visible;
  }

  .stage {
    width: 160px;
    height: 280px;
  }

  .whole-egg,
  .cracked-egg,
  .shell {
    top: 12px;
  }

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

  .shell {
    width: 78px;
  }

  .yolk {
    width: 46px;
  }

  .mainVisual {
    aspect-ratio: 390 / 489;
  }  

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

  .menuInner {
    z-index: auto;
    max-width: 100%;
    padding: 0 15px;
    background: url(../img/main_bg_sp.webp) no-repeat center top;
    background-size: 100% auto;
  }
  .menuInner ul.menu {
    position: relative;
    z-index: 2;
  }
  .lead_img img,
  .menuInner ul img {
    max-width: 100%;
    height: auto;
  }

  .menuCta {
    padding: 0 0 70px;
  }

  .note li {
    font-size: 13px;
  }
  .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;
    margin-left: auto;
    margin-right: auto;
    margin-top: 20px;
  }
  .linkBtn.app {
    background-image: unset;
    background-color: #590000;
    margin-top: 20px;
  }
}

@media screen and (min-width: 701px) {
  .sp_view {
    display: none !important;
  }
  .linkBtnWrap {
    display: flex;
    justify-content: center;
  }
  .linkBtnWrap .linkBtn {
    margin: 50px 10px 0;
  }
}

@media screen and (min-width:560px) and (max-width: 991px) {
  .mainVisual {
    height: 38vh;
  }
}