@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;
}
.c-footer-sp-store__btn{
  font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif;
}

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

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


.mainVisual h1.kv_title {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  z-index: 20;
  width: 76.3%;
}
.open .mainVisual h1 {
  animation: fadeIn 1.8s forwards;
  animation-delay: 1.4s;
}


.kv_parts {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 20;
}
.open .kv_parts01 {
  animation: fadeIn 1.8s forwards;
}
.open .kv_parts02 {
  transform: translateY(20px) scale(0.9);
  animation: appearanceFromSteam 1.5s cubic-bezier(0.25, 1, 0.5, 1) 1s forwards;
  animation-delay: 2.2s;
}

.main_visual_wrap{
  display: flex;
  position: relative;
  width: 100%;
}

/* タイトル: 上から下へフェードスライド（translateX(-50%) の中央寄せを保持） */
.mainVisual h1.kv_title {
  opacity: 0;
  transform: translate(-50%, -30px);
}
.mainVisual.is-animated h1.kv_title {
  animation: mvTitleFadeSlideIn 1.2s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

@keyframes mvTitleFadeSlideIn {
  0% {
    opacity: 0;
    transform: translate(-50%, -30px);
  }
  100% {
    opacity: 1;
    transform: translate(-50%, 0);
  }
}

/* 左から右へフェードスライド（遅延は main.js が --mv-delay で付与。.kv_title より少し後に開始）
   移動距離を大きめにして、後から来る画像が前の画像に少し被りながら入る */
.main_visual_item {
  position: relative;
  opacity: 0;
  transform: translateX(-40%);
  will-change: opacity, transform;
}
.main_visual_item:nth-child(1) { z-index: 1; }
.main_visual_item:nth-child(2) { z-index: 2; }
.main_visual_item:nth-child(3) { z-index: 3; }
.mainVisual.is-animated .main_visual_item {
  animation: mvFadeSlideIn 1.8s cubic-bezier(0.22, 1, 0.36, 1) var(--mv-delay, 0s) forwards;
}

@keyframes mvFadeSlideIn {
  0% {
    opacity: 0;
    transform: translateX(-40%);
  }
  60% {
    opacity: 1;
  }
  100% {
    opacity: 1;
    transform: translateX(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .main_visual_item {
    opacity: 1;
    transform: none;
  }
  .mainVisual h1.kv_title {
    opacity: 1;
    transform: translateX(-50%);
  }
  .mainVisual.is-animated h1.kv_title,
  .mainVisual.is-animated .main_visual_item {
    animation: none;
  }
}


@keyframes fadeIn {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

@keyframes riseRealSteam {
  0% {
    opacity: 0;
    transform: translateY(10px) scaleX(0.5) scaleY(0.6) rotate(0deg);
    border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%;
  }
  20% {
    opacity: 0.75;
  }
  50% {
    opacity: 0.5;
    transform: translateY(-60px) scaleX(1.2) scaleY(1.3) rotate(15deg) translateX(10px);
    border-radius: 60% 40% 30% 70% / 50% 30% 70% 40%;
  }
  80% {
    opacity: 0.2;
  }
  100% {
    opacity: 0;
    transform: translateY(-140px) scaleX(2) scaleY(1.8) rotate(-20deg) translateX(-15px);
    border-radius: 50%;
    filter: blur(20px);
  }
}

@keyframes appearanceFromSteam {
  0% {
    opacity: 0;
    filter: blur(16px);
    transform: translateY(30px) scale(0.85);
  }
  60% {
    opacity: 0.8;
    filter: blur(4px);
  }
  100% {
    opacity: 1;
    filter: blur(0);
    transform: translateY(0) scale(1);
  }
}

/* ========================================
   mainVisual SP
   ======================================== */
.mainVisual-sp {
  position: relative;
  overflow: hidden;
  width: 100%;
  height: auto;
  aspect-ratio: 374 / 575;/* w748 h1120 */
  margin-bottom: -30px;
}
.kv_title_sp{
  position: absolute;
  top: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  width: 100%;
}
.kv_title_sp img{
  width: 100%;
  height: auto;
}
.kv_parts_sp{
  position: absolute;
  top: 0;
  right: 5px;
  z-index: 5;
}
.kv_parts_sp img{
  width: 50px;
  height: auto;
}
.main_visual_wrap_sp{
  position: relative;
  width: 100%;
  height: 100%;
}
.main_visual_item_sp{
  position: absolute;
}
.main_visual_item_sp.kv_menu_01{
  top: 0;
  left: 0;
  width: 50%;  
}
.main_visual_item_sp.kv_menu_01 img{
  width: 100%;
  height: auto;
}
.main_visual_item_sp.kv_menu_02{
  top: 0;
  right: 0;
  width: 50%;
}
.main_visual_item_sp.kv_menu_02 img{
  width: 100%;
  height: auto;
}
.main_visual_item_sp.kv_menu_03{
  bottom: 30px;
  left: 0;
  width: 100%;
}

/* SPアニメーション（main.js が .mainVisual-sp に .is-animated と各 --mv-delay を付与）
   タイトルは上から、01は左から、02は右から、03は下からフェードスライド */
.kv_title_sp {
  opacity: 0;
  transform: translate(-50%, -30px);
}
.mainVisual-sp.is-animated .kv_title_sp {
  animation: mvTitleFadeSlideIn 0.9s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.main_visual_item_sp {
  opacity: 0;
  transform: var(--mv-from);
  will-change: opacity, transform;
}
.main_visual_item_sp.kv_menu_01 { --mv-from: translateX(-40%); }
.main_visual_item_sp.kv_menu_02 { --mv-from: translateX(40%); }
.main_visual_item_sp.kv_menu_03 { --mv-from: translateY(60px); }
.mainVisual-sp.is-animated .main_visual_item_sp {
  animation: mvSpFadeSlideIn 1.2s cubic-bezier(0.22, 1, 0.36, 1) var(--mv-delay, 0s) forwards;
}

@keyframes mvSpFadeSlideIn {
  0% {
    opacity: 0;
    transform: var(--mv-from);
  }
  60% {
    opacity: 1;
  }
  100% {
    opacity: 1;
    transform: translate(0, 0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .kv_title_sp {
    opacity: 1;
    transform: translateX(-50%);
  }
  .main_visual_item_sp {
    opacity: 1;
    transform: none;
  }
  .mainVisual-sp.is-animated .kv_title_sp,
  .mainVisual-sp.is-animated .main_visual_item_sp {
    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';
  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;
  background: url(../img/bg_gray.jpg) no-repeat;
  background-size: cover;
  text-align: center;
  background-attachment: fixed;
  clip-path: inset(0 0 0 0);
}

.menuInner {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 980px;
  margin: 0 auto;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

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

.menuInner ul.menu li {
  width: 100%;
  padding: 100px 0;
}

#menuA {
  position: relative;
  padding: 40px 0 100px;
  background: url(../img/bg_enji.jpg) no-repeat;
  background-size: cover;
}

#menuB {
  padding: 20px 0;
  background: url(../img/bg_wasabi.jpg) no-repeat;
  background-size: cover;
}

#menuC {
  padding: 70px 0 10px;
  background: url(../img/bg_cheese.jpg) no-repeat;
  background-size: cover;
}

#menu03 {
  padding: 100px 0 40px;
}
#menu04 {
  padding: 0 0 100px;
}

/* メニューコピー: 画面に入ったらフェード＋バウンドしながらスケールイン（main.js が .is-inview を付与） */
.menu_copy {
  opacity: 0;
  transform: scale(0.3);
}
.menu_copy.is-inview {
  animation: menuCopyBounceIn 0.9s both;
}

@keyframes menuCopyBounceIn {
  0% {
    opacity: 0;
    transform: scale(0.3);
    animation-timing-function: cubic-bezier(0.5, 0, 0.75, 0.5);
  }
  12% {
    opacity: 1;
  }
  22% {
    transform: scale(1.22);
    animation-timing-function: cubic-bezier(0.45, 0, 0.55, 1);
  }
  42% {
    transform: scale(0.92);
    animation-timing-function: cubic-bezier(0.45, 0, 0.55, 1);
  }
  62% {
    transform: scale(1.05);
    animation-timing-function: cubic-bezier(0.45, 0, 0.55, 1);
  }
  80% {
    transform: scale(0.99);
    animation-timing-function: cubic-bezier(0.45, 0, 0.55, 1);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}

@media (prefers-reduced-motion: reduce) {
  .menu_copy {
    opacity: 1;
    transform: none;
  }
  .menu_copy.is-inview {
    animation: none;
  }
}

.note_wrap {
  width: 100%;
  padding: 0 100px 0 90px;
  position: relative;
}
.note {
  margin: 0 auto;
}
.note li {
  width: 100%;
  color: #fff;
  font-weight: 600;
  text-align: left;
  font-size: 16px;
}
.note li.attention_img {
  margin-top: 50px;
}

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


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

#footer {
  padding-top: 40px;
}

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

.qr {
  position: fixed;
  top: 200px;
  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;
}

.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: #002469;
}

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

.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;
  margin-left: 10px;
}

.stage {
  position: relative;
  width: 140px;
  height: min(900px, calc(100vh - 48px));
  overflow: hidden;
  padding-bottom: 4px;
  box-sizing: content-box;
}

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

.egg {
  position: absolute;
  left: 50%;
  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: 50%;
  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;
  }
}

/* ========================================
   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: 100px;
    height: 320px;
  }
  .donburi {
    bottom: 0;
  }
  .animeWrapper #oyako {
    width: 100px;
  }

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

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

  .shell {
    width: 78px;
  }

  .yolk {
    width: 46px;
  }
  .menuInner ul.menu {
    position: relative;
    z-index: 2;
  }
  .menuCta {
    padding: 0 0 70px;
    margin-bottom: 80px;
  }
  .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 {
    max-width: 100%;
    padding: 0;
  }
  .menuInner ul.menu li {
    padding: 50px 0;
  }
  .menuInner ul img {
    max-width: 100%;
  }

  #menuC {
    padding: 0;
    background: url(../img/bg04_sp.jpg) no-repeat;
    background-size: cover;
  }
  
  #menu03 {
    padding: 80px 0 30px;
  } 
  #menu04 {
    padding: 0 0 70px;
  }
  .menu_copy{
    width: 70%;
    margin-left: auto;
    margin-right: auto;
  }

  .note_wrap {
    padding: 0 15px;
  }
  .note li {
    font-size: 13px;
  }
  .note li.attention_img {
    margin-top: 30px;
  }

  .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.pr {
    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; */
  }
}