/*============
body
=============*/
body {
  font-family: heisei-maru-gothic-std, sans-serif;
  font-weight: bold;
  font-style: normal;
  background-color: #FFF8E9;
}

.contact-header {
  position: sticky;
  top: 0px;
  background-color: #FFF8E9;
  width: 100%;
  transform: translate3d(0, 0, 0);
  z-index: 10000;
}

.contact-header__logoImg {
  width: 60px;
  margin: 0 auto;
}

.contact-header__text {
  padding: 30px;
}

.contact-header__textMain {
  color: #e6e6e6;
  text-align: center;
  font-size: 20px;
  font-family: 游明朝, serif;
  letter-spacing: 10px;
}

.contact-header__mainImg {
  width: 90%;
  height: auto;
  margin: auto;
  position: relative;
  z-index: 10;
}

.contact-header__main {
  position: relative;
  width: 100%;
}

.cafeBox {
  background-color: #A99167;
  width: 100%;
  height: 64vh;
  position: absolute;
  top: 108%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 1;
}

.cafeBox_text {
  margin-top: 38vh;
  color: #ffffff;
  text-align: center;
  font-size: 20px;
  line-height: 40px;
}

.menu {
  margin-top: 50vh;
  text-align: center;
  font-size: 70px;
  color: #674b2148;
}

.cafe_btn-drink,
.cafe_btn-food {
  text-align: center;
  color: #ffffff;
  padding: 5px 0;
  font-size: 1rem;
}

.drink,
.food {
  background: #A99167;
  border-radius: 50px;
  width: 60%;
  max-width: 140px;
  margin: 100px auto 40px;
  text-align: center;
  padding: 8px;
  color: white;
  font-size: 1rem;
}

.carousel-wrapper {
  position: relative;
  width: 100%;
  margin: 40px 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.carousel-container {
  width: 100%;
  overflow: hidden;
  position: relative;
}

.carousel-track {
  display: flex;
  width: 100%;
  transition: transform 0.5s ease-in-out;
  will-change: transform;
  padding: 0;
  box-sizing: content-box;
  align-items: center;
}

.carousel-item {
  flex: 0 0 42%;
  max-width: 42%;
  transform: scale(0.9);
  transition: transform 0.3s, opacity 0.3s;
}

.carousel-item img {
  display: block;
  margin: 0 auto;
  width: 70%;
  border-radius: 50%;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.carousel-item.active {
  opacity: 1;
  transform: scale(1);
}

.carousel-text-overlay {
  display: none;
  text-align: center;
  margin-top: 10px;
  font-size: 1rem;
}

.carousel-item.active .carousel-text-overlay {
  display: block;
}

.carousel-text-overlay .carousel-title {
  font-size: 1.2rem;
  font-weight: bold;
  position: relative;
  display: inline-block;
  color: #674B21;
  text-align: center;
  margin-bottom: 0.8em;
}

.carousel-text-overlay .carousel-title::after {
  content: '';
  position: absolute;
  left: 50%;
  top: 45%;
  transform: translateX(-50%);
  height: 9px;
  width: 130%;
  background-color: #fde401da;
  z-index: -1;
  margin: 4px auto 0 auto;
  border-radius: 3px;
}

.carousel-description {
  font-size: 0.95rem;
  color: #775032;
  margin-top: 4px;
  line-height: 1.4;
}

.carousel-arrow {
  position: absolute;
  top: 52%;
  transform: translateY(-50%);
  background: none;
  border: none;
  cursor: pointer;
  z-index: 10;
  width: 70px;
  height: 70px;
  padding: 0;
}

.carousel-arrow .arrow-img {
  width: 45%;
  height: 100%;
  object-fit: contain;
}

.carousel-arrow:hover .arrow-img {
  transform: scale(1.2);
  filter: drop-shadow(0 0 10px rgba(255, 255, 180, 0.75));
  transition: transform 0.3s ease, filter 0.3s ease;
}

.carousel-arrow:active .arrow-img {
  transform: scale(0.95);
  filter: brightness(1.1);
}

.other_drinks {
  text-align: center;
  background: linear-gradient(145deg, #FFF8E9, #f3e9d8);
  padding: 50px 25px;
  margin: 60px auto 0 auto;
  border-radius: 20px;
  border: 1px solid #e6d7bd;
  box-shadow:
    0 4px 10px rgba(0, 0, 0, 0.05),
    0 6px 20px rgba(169, 145, 103, 0.1);
  max-width: 950px;
  transition: box-shadow 0.3s ease;
}

.other_drinks:hover {
  box-shadow:
    0 6px 15px rgba(0, 0, 0, 0.08),
    0 10px 25px rgba(169, 145, 103, 0.15);
}

.other_drinks h2 {
  font-size: 1.6rem;
  font-weight: bold;
  color: #A99167;
  margin-bottom: 20px;
  font-family: 'Yuji Syuku', serif;
}

.other_drinks .drink-list {
  font-size: 1.1rem;
  color: #4a4a4a;
  line-height: 2;
  font-family: 'Noto Serif JP', serif;
  max-width: 800px;
  margin: 0 auto;
}

.food-carousel {
  margin-bottom: 25vh;
}

/* タブレット向け調整（〜1024px） */
@media (max-width: 1024px) {
  .menu {
    font-size: 50px;
    margin-top: 27vh;
  }

  .drink,
  .food {
    width: 55%;
    max-width: 130px;
    padding: 5px 0;
    margin: 30px auto;
  }

  .cafe_btn-drink,
  .cafe_btn-food {
    font-size: 0.9rem;
  }

  .carousel-text-overlay .carousel-title {
    font-size: 1.1rem;
    margin-bottom: 0.5em;
  }

  .carousel-text-overlay .carousel-description {
    font-size: 0.9rem;
    padding: 0 5px;
  }

  .carousel-arrow.prev.food-prev,
  .carousel-arrow.next.food-next {
    width: 50px;
    height: 50px;
    top: 50%;
  }

  .carousel-arrow.prev.food-prev {
    left: 2%;
  }

  .carousel-arrow.next.food-next {
    right: 2%;
  }

  .carousel-arrow .arrow-img {
    width: 70%;
  }

  .food-carousel {
    margin-bottom: 12vh;
  }

  .other_drinks {
    padding: 22px 16px;
    border-radius: 12px;
    margin: 40px auto 0 auto;
  }

  .other_drinks h2 {
    font-size: 1rem;
    margin-bottom: 14px;
    line-height: 1.4;
  }

  .other_drinks .drink-list {
    font-size: 0.85rem;
    line-height: 1.7;
  }
}


@media screen and (max-width: 767px) {
  .cafeBox {
    height: 35vh;
  }

  .cafeBox_text {
    margin-top: 20vh;
    font-size: 16px;
  }
}

@media screen and (max-width: 490px) {
  .cafeBox {
    height: 30vh;
  }

  .cafeBox_text {
    margin-top: 15vh;
    font-size: 14px;
  }
}

/* ---------- ▼ タブレット大（iPad Airなど） ---------- */
@media (max-width: 1024px) and (min-width: 769px) {
  .cafeBox {
    height: 30vh;
  }

  .cafeBox_text {
    margin-top: 15vh;
    font-size: 18px;
  }
}

/* ---------- ▼ タブレット小（iPad miniなど） ---------- */
@media (max-width: 768px) and (min-width: 481px) {
  .cafeBox {
    height: 30vh;
  }

  .cafeBox_text {
    margin-top: 17vh;
  }
}

@media screen and (max-width: 600px) {
  .other_drinks {
    padding: 18px 12px;
    border-radius: 10px;
    margin: 30px 12px 0 12px;
  }

  .other_drinks h2 {
    font-size: 0.9rem;
    margin-bottom: 10px;
    line-height: 1.4;
  }

  .other_drinks .drink-list {
    font-size: 0.8rem;
    line-height: 1.6;
  }
}


/* ---------- ▼ スマホ ---------- */
@media (max-width: 480px) {
  .cafeBox {
    height: 23vh;
    top: 130%;
  }

  .cafeBox_text {
    margin-top: 11vh;
    font-size: 12px;
    line-height: 25px;
    padding: 0 3%;
  }

  .menu {
    font-size: 35px;
    margin-top: 25vh;
    padding: 0 10px;
    line-height: 1.2;
  }

  .drink,
  .food {
    width: 30%;
    max-width: 120px;
    padding: 3px 0;
    margin: 25px auto;
  }

  .cafe_btn-drink,
  .cafe_btn-food {
    font-size: 0.85rem;
  }

  .carousel-item img {
    width: 80%;
  }

  .carousel-text-overlay {
    margin-top: 8px;
    padding: 0 5px;
  }

  .carousel-text-overlay .carousel-title {
    font-size: 0.8rem;
    margin-bottom: 0.4em;
  }

  .carousel-text-overlay .carousel-title::after {
    height: 6px;
  }

  .carousel-text-overlay .carousel-description {
    font-size: 0.7rem;
    line-height: 1.3;
  }

  .carousel-arrow.prev.food-prev,
  .carousel-arrow.next.food-next {
    width: 50px;
    height: 50px;
    top: 48%;
  }

  .carousel-arrow.prev.food-prev {
    left: 1%;
  }

  .carousel-arrow.next.food-next {
    right: 1%;
  }

  .carousel-arrow .arrow-img {
    width: 80%;
  }

  .food-carousel {
    margin-bottom: 12vh;
  }

  .other_drinks {
    padding: 14px 8px;
    border-radius: 6px;
    margin: 25px 8px 0 8px;
  }

  .other_drinks h2 {
    font-size: 0.85rem;
    margin-bottom: 6px;
    line-height: 1.3;
  }

  .other_drinks .drink-list {
    font-size: 0.75rem;
    line-height: 1.5;
  }
}
