.parallax_content {
  min-height: 600px;
  background-position: center top;
  background-repeat: no-repeat;
  background-attachment: fixed;
  background-size: cover;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: white;
  font-size: 1.8rem;
  padding: 0 20px;
  position: relative;
  overflow: hidden;
  font-family: 'Yuji Syuku', serif;
  line-height: 4rem;
}

.parallax_content .overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.6);
  z-index: 1;
}

.parallax_content .text_box {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  color: white;
  text-align: center;
  font-size: 1.8rem;
}

.parallax_content.img_bg_01 {
  background-image: url(../images/cafe_top.webp);
}

.text_box {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 1.5s ease, transform 1.5s ease;
  text-align: center;
  color: white;
}

.text_box.show {
  opacity: 1;
  transform: translateY(0);
}

/*モバイル版*/
section {
  position: relative;
  width: 100%;
  height: 200vh;
}

.sectionInner {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  clip: rect(auto, auto, auto, auto);
}

.imageBg {
  position: fixed;
  top: 0;
  left: 0;
  z-index: -1;
  width: 100%;
  height: 120vh;
  background-image: url('/assets/images/cafe_top.webp');
  background-size: cover;
  background-position: center;
  background-attachment: scroll;
}

.cntFrame {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  height: 100vh;
  margin-top: 100vh;
  padding: 0 20px;

  text-align: center;
  color: white;

  background: rgba(0, 0, 0, 0.5);
  font-size: 1.8rem;
  font-family: 'Yuji Syuku', serif;
  line-height: 4rem;
}

.pc-only {
  display: block;
}

.sp-only {
  display: none;
}

/* カフェ */
.position {
  position: relative;
}

.p-cafe {
  background-color: #ffffff;
}

.brownBox {
  background-color: #A99167;
  width: 100%;
  height: 500px;
  margin-top: 20vh;
}

.p-cafeBox {
  display: flex;
  align-items: end;
  width: 100%;
  max-width: 1200px;
  border-radius: 20px;
  gap: 3vw;
  margin: auto;
  color: rgb(255, 255, 255);
  position: absolute;
  top: 20%;
  left: 50%;
  -ms-transform: translate(-50%, -50%);
  -webkit-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
}

.p-cafe_imgBox-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: nowrap;
  gap: 3vw;
}

.p-cafe_imgBox {
  flex-shrink: 0;
  max-width: 600px;
  margin-top: -50px;
}

.p-cafe_imgBox img {
  width: 100%;
  max-width: 600px;
  height: auto;
  border-radius: 20px;
  object-fit: cover;
}

.p-cafe_textBox-wrap {
  flex: 1;
  margin-top: 200px;
  margin-left: auto;
  max-width: 100%;
  width: 100%;
}

.p-cafe_textBox {
  color: white;
  width: 100%;
}

.p-cafe_textBox p {
  margin-bottom: 4vh;
  font-size: 1.2vw;
  line-height: 2em;
}

.more-btn-cafe {
  display: inline-block;
  background: white;
  border: 2px solid #707070;
  color: #707070;
  padding: 6px 45px;
  border-radius: 25px;
  font-weight: bold;
  margin-top: 15px;
  cursor: pointer;
}

.more-btn-cafe:hover {
  background: #f0f0f0;
}

@media (max-width: 1024px) {

  .parallax_content,
  .text_box {
    min-height: 70vh !important;
  }

  .text_box {
    font-size: 2rem !important;
    line-height: 3rem !important;
  }

  .brownBox {
    height: 50vh;
    margin-top: 19vh;
  }

  .p-cafeBox {
    flex-direction: column;
    align-items: center;
    text-align: center;
    top: 30%;
    padding: 5vh 5vw;
    gap: 5vh;
  }

  .p-cafe_imgBox-wrap {
    max-width: 600px;
    flex-direction: column;
    align-items: center;
    gap: 3vh;
  }

  .p-cafe_imgBox {
    margin-top: 0;
  }

  .p-cafe_imgBox img {
    max-width: 470px;
  }

  .p-cafe_textBox-wrap {
    margin-top: 30px;
  }

  .p-cafe_textBox p {
    font-size: 2.5vw;
    text-align: left;
  }

  .more-btn-cafe {
    padding: 8px 40px;
    font-size: 14px;
  }
}

@media (max-width: 768px) {

  .parallax_content {
    min-height: 60vh !important;
  }

  section {
    height: 70vh;
  }

  .imageBg {
    min-height: 100vh;
    height: 120vh;
    transform: translateZ(0);
  }

  .cntFrame {
    height: 70vh;
    margin-top: 0;
    font-size: 1.4rem;
    line-height: 2.8rem;
    padding: 0 15px;
  }

  .brownBox {
    height: 60vh;
    margin-top: 19vh;
  }

  .p-cafeBox {
    top: 35%;
    padding: 5vh 5vw;
    gap: 4vh;
  }

  .p-cafe_textBox p {
    margin-bottom: 3vh;
  }

  .more-btn-cafe {
    padding: 6px 30px;
    font-size: 13px;
  }

  .pc-only {
    display: none;
  }

  .sp-only {
    display: block;
  }
}

@media screen and (max-width: 600px) {
  .p-cafe_imgBox img {
    max-width: 80vw;
  }
  .p-cafe_textBox p {
    font-size: 3vw;
    line-height: 1.8em;
  }
}

@media screen and (max-width: 480px) {
  .cntFrame {
    font-size: 1.2rem;
    line-height: 2rem;
  }
  .brownBox {
    height: 40vh;
    margin-top: 15vh;
  }

  .p-cafeBox {
    gap: 0 !important;
  }

  .p-cafe_imgBox {
    flex-shrink: 0;
    max-width: 600px;
    margin-top: -10px;
  }

  .p-cafe_textBox p {
    font-size: 3.5vw;
    line-height: 1.8em;
  }
}

@media screen and (max-width: 380px) {
  .p-cafeBox {
    top: 28%;
    padding: 5vh 5vw;
    gap: 3vh;
  }

  .brownBox {
    height: 50vh;
    margin-top: 18vh;
  }
}

@media screen and (max-width: 350px) {
  .p-cafeBox {
    top: 25%;
    padding: 5vh 5vw;
  }

  .brownBox {
    height: 35vh;
    margin-top: 16vh;
  }
}