@charset "UTF-8";

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

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

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

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

.mainVisual {
  position: relative;
  margin: 0 auto;
  overflow: hidden;
}

.mainVisual h1 {
  margin: 0;
}

.mainVisual h1 img {
  display: block;
  width: 1440px;
  max-width: 100%;
  margin: 0 auto;
}

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

.menuArea {
  position: relative;
  background: url(../img/bg_pattern_01.png) no-repeat bottom;
  background-size: cover;
  padding: 120px 0 130px;
}

.menuInner ul img {
  max-width: 64%;
  margin: 0 auto;
  display: block;
}

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

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

.menuArea .linkBtn {
  margin-top: 130px;
}

.animeWrapper {
  position: absolute;
  bottom: 40px;
  left: 5%;
  display: flex;
  align-items: flex-end;
}

.animeWrapper #oyako {
  width: 86px;
}

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

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

.stage {
  position: relative;
  width: 155px;
  height: 900px;
  overflow: hidden;
}

/* 丼 */
.donburi {
  position: absolute;
  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: 70px;
  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;
}

/* 落下（topは触らない） */
@keyframes fall {
  from {
    transform: translate(-50%, 0);
  }
  to {
    transform: translate(-50%, 580px);
  }
}

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

/* フェード */
@keyframes fadeOut {
  from {
    opacity: 1;
  }
  to {
    opacity: 0;
  }
}

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


/* ========================================
   フェードインアニメーション
   ======================================== */

.fade-in {
  opacity: 0;
  transform: translateY(50px);
  transition:
    opacity 1.2s cubic-bezier(0.22, 1, 0.36, 1),
    transform 1.2s cubic-bezier(0.22, 1, 0.36, 1);
}

.fade-in.is-visible {
  opacity: 1;
  transform: translateY(0);
}

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

#footer {
  padding-top: 40px;
}

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

  .mainVisual h1 img {
    width: 100%;
  }

  .menuInner ul img {
    max-width: 309px;
  }

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

  .stage {
    width: 155px;
  }

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

  .yolk {
    width: 67px;
  }

  .menuArea {
    background: url(../img/bg_pattern_01_sp.png) no-repeat bottom;
    padding: 40px 0 350px;
  }

  .menuInner ul {
    flex-wrap: wrap;
  }

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

  .menuArea .linkBtn {
    margin-top: 50px;
  }

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

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

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

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

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

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