@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;
  max-width: 100%;
  overflow: hidden;
}

.mainVisual h1 {
  margin: 0;
}

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

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

@keyframes honkakuBiribiri {
  0% {
    opacity: 0.9;
    transform: translate3d(0, 0, 0) skewX(0deg);
    filter: brightness(1);
  }
  12% {
    transform: translate3d(-4px, 1px, 0) skewX(-1.4deg);
    filter: brightness(1.2);
  }
  24% {
    opacity: 1;
    transform: translate3d(4px, -1px, 0) skewX(1.2deg);
    filter: brightness(1.35);
  }
  36% {
    transform: translate3d(-3px, 1px, 0) skewX(-1deg);
    filter: brightness(1.15);
  }
  48% {
    opacity: 0.86;
    transform: translate3d(3px, -1px, 0) skewX(1deg);
    filter: brightness(1.28);
  }
  64% {
    opacity: 1;
    transform: translate3d(-2px, 0, 0) skewX(-0.8deg);
    filter: brightness(1.1);
  }
  78% {
    transform: translate3d(2px, 0, 0) skewX(0.6deg);
    filter: brightness(1.05);
  }
  100% {
    opacity: 1;
    transform: translate3d(0, 0, 0) skewX(0deg);
    filter: brightness(1);
  }
}

.mainVisual #main_visual_title {
  position: absolute;
  top: 40px;
  right: 0;
  left: 0;
  z-index: 2;
  display: block;
  width: 60%;
  height: auto;
  margin-right: auto;
  margin-left: auto;
  opacity: 0;
}

.mainVisual #main_visual_udon {
  position: absolute;
  bottom: 0;
  left: 18%;
  z-index: 1;
  display: block;
  width: 70%;
  opacity: 0;
}

.mainVisual #main_visual_honkaku {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  z-index: 2;
  width: 100%;
  pointer-events: none;
  transform-origin: center;
}

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

.mainVisual #main_visual_honkaku.is-active {
  animation: honkakuBiribiri 0.72s steps(2, end) both;
  will-change: transform, opacity, filter;
}

.mainVisual.is-ready #main_visual_title {
  animation: mainVisualFadeIn 1.2s ease-out forwards;
}

.mainVisual.is-ready #main_visual_udon {
  animation: mainVisualFadeIn 1.2s ease-out 1.15s forwards;
}

@media (prefers-reduced-motion: reduce) {
  .mainVisual.is-ready #main_visual_title,
  .mainVisual.is-ready #main_visual_udon {
    animation: none;
    opacity: 1;
  }

  .mainVisual #main_visual_honkaku.is-active {
    animation: none;
  }
}

/* menuArea */

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

.menuArea.shibikara {
  background-image: url(../img/bg_shibikara.png);
}

.menuInner ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  width: 66%;
  margin: 0 auto 60px;
}

.menuInner ul li {
  width: 48%;
}

.recommend {
  width: 66%;
  margin: 0 auto;
  padding: 40px 7%;
  background: #fff;
  border-radius: 24px;
}

.recommend h2 {
  width: 24%;
}

.set_wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  margin: 0 auto;
}

.set_wrap > img:first-child {
  display: block;
  max-width: 100%;
  height: auto;
}

.recommend .set {
  position: relative;
  display: block;
  width: 40%;
  margin: 10px auto 0;
}

@keyframes setPriceReveal {
  0% {
    opacity: 0;
    transform: scale(0.72) rotate(-6deg);
  }
  40% {
    opacity: 1;
    transform: scale(1.1) rotate(4deg);
  }
  60% {
    transform: scale(0.92) rotate(-3deg);
  }
  80% {
    transform: scale(1.04) rotate(1.5deg);
  }
  100% {
    opacity: 1;
    transform: scale(1) rotate(0deg);
  }
}

.recommend img#set_price {
  position: absolute;
  top: 0;
  right: 0;
  transform-origin: top right;
  opacity: 0;
  transform: scale(0.72) rotate(-6deg);
}

.recommend img#set_price.is-visible {
  animation: setPriceReveal 0.95s cubic-bezier(0.33, 1.25, 0.45, 1) forwards;
}

@media (prefers-reduced-motion: reduce) {
  .recommend img#set_price {
    opacity: 1;
    transform: none;
    animation: none;
  }

  .recommend img#set_price.is-visible {
    animation: none;
  }
}

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

.menuArea .linkBtn.shibikaraLink {
  width: 400px;
  margin-top: 0;
}

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

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

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

/* egg animation */

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

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

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

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

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

/* footer */

#footer {
  padding-top: 40px;
}

/* p-gotop */

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

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

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

/* responsive（ブレークポイントは js/main.js の MEDIA_MOBILE_MAX と揃える） */

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

  .mainVisual #main_visual_title {
    top: 30px;
  }

  .mainVisual #main_visual_udon {
    left: 0;
    width: 100%;
  }

  .menuArea {
    padding-bottom: 240px;
    background-position: bottom;
    background-size: cover;
  }

  .menuInner ul,
  .menuInner ul li {
    width: 100%;
  }

  .recommend {
    width: 90%;
  }

  .recommend h2 {
    width: 62%;
    margin: 0 auto;
  }

  .recommend .set {
    width: 100%;
  }

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

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

  .stage {
    width: 155px;
  }

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

  .yolk {
    width: 67px;
  }

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

/* PC: 上の max-width:700px と隣接定義（701px = 700px の直後） */
@media screen and (min-width: 701px) {
  .sp_view {
    display: none !important;
  }
}
