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

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

/* --- 暖簾全体のステージ --- */
.noren-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    perspective: 1000px; /* 3D効果を際立たせる */
    pointer-events: none;
}

/* 暖簾の棒 */
.noren-bar {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 24px;
    background: linear-gradient(to bottom, #613b1e, #3d2411);
    box-shadow: 0 4px 8px rgba(0,0,0,0.3);
    z-index: 10;
}

/* --- 暖簾の布（3分割） --- */
.noren-curtain {
    position: absolute;
    top: 24px; /* 棒の下から */
    width: 34%; /* 3枚で100%を少し超えるようにして隙間を防ぐ */
    height: calc(100% - 24px);
    background-color: #1a2b4c; /* 深みのある朱・えんじ */
    color: #f7f3ec;
    padding-top: 15vh;
    text-align: center;
    font-size: 3.5rem;
    font-weight: bold;
    writing-mode: vertical-rl;
    letter-spacing: 0.4em;
    box-shadow: inset 0 0 30px rgba(0,0,0,0.5), 5px 0 15px rgba(0,0,0,0.2);
    
    /* イージングを細かく設定して布の質感を出す */
    transition: transform 4.8s cubic-bezier(0.25, 1, 0.5, 1), opacity 4s ease;
}

/* 左の布：左上を固定して、手前・左上にめくれ上がる */
.noren-1 {
    left: 0;
    transform-origin: left top;
}
/* 真ん中の布：中央上を固定して、手前に大きくめくれ上がる */
.noren-2 {
    left: 33.3%;
    transform-origin: center top;
}
/* 右の布：右上を固定して、手前・右上にめくれ上がる */
.noren-3 {
    right: 0;
    transform-origin: right top;
}

/* --- 開くアニメーション（JSで .open を付与） --- */

/* 左の布：角度を反転させて「／」の形に跳ね上げる */
.noren-container.open .noren-1 {
    transform: rotateY(-45deg) rotateZ(35deg) scaleX(0.2) translateY(-20%);
    opacity: 0;
}

/* 真ん中の布：人がくぐったように手前（上）に持ち上がる（既存のまま） */
.noren-container.open .noren-2 {
    transform: rotateX(85deg) scaleY(0);
    opacity: 0;
    transition-duration: 1.1s;
}

/* 右の布：角度を反転させて「＼」の形に跳ね上げる */
.noren-container.open .noren-3 {
    transform: rotateY(45deg) rotateZ(-35deg) scaleX(0.2) translateY(-20%);
    opacity: 0;
}

/* 棒も静かにフェードアウト */
.noren-container.open .noren-bar {
    transform: translateY(-24px);
    opacity: 0;
    transition: transform 0.8s ease 0.4s, opacity 0.8s ease 0.4s;
}

.mainVisual {
  position: relative;
  margin: 0 auto;
  /* height: 100vh; */
  overflow: hidden;
}

.mainVisual h1 {
  margin: 0;
  width: 100%;
  height: 100%;
}

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

.open .copy {
  position: absolute;
  width: min(49.94791666666667vw,959px);
  top: 9%;
  left: 50%;
  transform: translateX(-50%);
  animation: fadeIn 1.5s ease-out 1 both;
  animation-delay: 2.5s;
  z-index: 20;
}
.open .copy02 {
  position: absolute;
  width: min(30.05208333333333vw,577px);
  top: 60%;
  left: 84%;
  transform: translate(-50%,-50%);
  animation: fadeIn 1.5s ease-out 1 both;
  animation-delay: 3s;
  z-index: 20;
}

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

.mainCopy {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background-image: url(../img/bg01.png);
  background-size: cover;
  background-repeat: no-repeat;
  height: 732px;
}

.mainVisual_copy_01,
.mainVisual_copy_02 {
  visibility: hidden;
  opacity: 0;
  transition: opacity 1.5s ease;
}

.mainVisual_copy_01.is-visible,
.mainVisual_copy_02.is-visible {
  visibility: visible;
  opacity: 1;
}

.mainVisual_copy_01 img,
.mainVisual_copy_02 img {
  display: block;
  width: 80%;
  margin: 0 auto;
}

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

.menuArea {
  position: relative;
  background: url(../img/bg02.png) no-repeat;
  background-size: cover;
  text-align: center;
  background-attachment: fixed;
}

.menuInner {
  width: 100%;
  max-width: 980px;
  /* height: 100vh; */
  margin: 0 auto;
  background-color: #E7F2FC;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  padding: 70px 0 90px;
}

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

.menuInner ul li {
  padding: 50px 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;
}


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

#footer {
  padding-top: 40px;
}

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

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

/* ========================================
   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;
  }
  
  .noren-container {
      height: 100vh;
  }

  .open .copy {
    width: 307.5px;
    top: 70px;
  }

  .open .copy02 {
    width: 138px;
    top: 43%;
    left: 80%;
  }

  /* .mainVisual {
    height: 670px;
  } */

  .mainCopy {
    background-image: url(../img/bg01_sp.png);
    height: 260px;
  }

  .mainVisual_copy_01 img,
  .mainVisual_copy_02 img {
    width: 100%;
  }

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

  .menuInner {
    max-width: 100%;
    padding: 0 0 110px;
  }

  .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: #009481;
    margin-top: 20px;
  }
}

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