body {
  overflow-x: hidden;
}

/*----------キービジュアル*-------------*/
.hero {
  position: relative;
  width: 100%;
  height: 90vh;
  margin-top: 80px;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  aspect-ratio: 16/9;
}

.slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transform: scale(1.2);
  transition: opacity 1s ease-in-out, transform 6s ease-in-out;
}

.slide.active {
  opacity: 1;
  transform: scale(1);
  z-index: 1;
}

.slide-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: transparent;
  border: none;
  color: white;
  font-size: 3rem;
  cursor: pointer;
  user-select: none;
  z-index: 10;
  padding: 0;
}

.slide-btn i {
  display: block;
  width: 1em;
  height: 1em;
  line-height: 1;
  text-align: center;
}

.slide-btn.prev {
  left: 15px;
}

.slide-btn.next {
  right: 15px;
}



.dots {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 2;
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #fff;
  opacity: 0.5;
  cursor: pointer;
}

.dot.active {
  opacity: 1;
  background: var(--main-color);
}

.scroll-indicator {
  position: absolute;
  right: 50px;
  bottom: 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  font-family: 'Noto Sans JP', sans-serif;
  z-index: 10;
}

.scroll-text {
  writing-mode: vertical-rl;
  font-size: 20px;
  font-weight: bold;
  color: #fff;
  text-shadow: 0 0 4px rgba(0, 0, 0, 0.7);
}

.scroll-arrow {
  font-size: 40px;
  animation: bounce 1.5s infinite;
  color: var(--main-color);
  font-weight: bold;
  -webkit-text-stroke: 0.5px white;
}

@keyframes bounce {

  0%,
  100% {
    transform: translateY(0);
    opacity: 0.7;
  }

  50% {
    transform: translateY(10px);
    opacity: 1;
  }
}




/*-----------コンセプト*-----------*/
.about-text {
  max-width: 1000px;
  margin: 0 auto 20px;
  padding: 0 5px;
  font-size: 1.1rem;
  line-height: 1.6;
}

.about-image {
  max-width: 1000px;
  height: auto;
  margin: 0 auto;
  padding: 0 5px;
}

.about-image img {
  width: 100%;
  max-height: 500px;
  object-fit: cover;
  object-position: bottom;
  border-radius: 10px;
}



/*--------お知らせ-----------*/
.news-item {
  display: inline-block;
  margin-bottom: 10px;
  padding: 0 5px;
}

.news-item a {
  color: inherit;
  text-decoration-color: inherit;
  text-decoration: underline;
  text-decoration-style: dotted;
  text-underline-offset: 2px;
  padding-left: 10px;
  transition: color 0.3s ease, text-decoration-color 0.3s ease;
}

.news-item a:hover {
  color: var(--main-color);
  text-decoration-color: var(--main-color);
}

/* 初期状態では改行しない */
.br-sp {
  display: inline;
}

/* スマホ時のみ改行する */
@media (max-width: 768px) {
  .br-sp {
    display: block;
  }

  .news-item a {
    padding-left: 0;
  }
}



.news-list-btn {
  display: block;
  width: 150px;
  margin: 40px auto 0;
  border: 1px solid var(--main-color);
  background: #FFF;
  border-radius: 30px;
  text-align: center;
  color: var(--main-color);
  transition: transform 0.3s;
}

.news-list-btn:hover {
  transform: scale(1.1);
}

.news-list-btn a {
  display: block;
  padding: 10px 0;
  color: inherit;
  text-decoration: none;
}







/*--------------商品----------------*/
.product {
  display: flex;
  align-items: center;
  gap: 30px;
  max-width: 1000px;
  flex-wrap: wrap;
}

.product-image {
  padding: 0 5px;
  flex: 1 1 400px;
}

.product-image img {
  width: 100%;
  border-radius: 10px;
  object-fit: cover;
}

.product-text {
  padding: 0 5px;
  flex: 1 1 400px;
}

.view-more {
  display: inline-block;
  color: #333;
  text-decoration: none;
  font-weight: bold;
  border-bottom: 1px solid #999;
  transition: all 0.3s;
  padding-top: 10px;
}

.view-more:hover {
  transform: scale(1.1);
  color: var(--main-color);
  border-bottom-color: var(--main-color);
}

/*---------------ギャラリー---------------*/
.gallery-inner {
  width: 100vw;
  overflow: hidden;
  margin-left: calc(-50vw + 50%);
}

.gallery-track {
  display: flex;
  will-change: transform;
  width: max-content;
}

.gallery-track img {
  width: auto;
  height: 300px;
  margin-right: 20px;
  border-radius: 8px;
}

.gallery-item img {
  transition: opacity 0.3s ease;
}

.gallery-item img:hover {
  opacity: 0.6;
}


/* 横スクロールアニメーション */
@keyframes scroll-left {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

/*画像が大きく表示されたとき*/
.modal {
  display: none;
  position: fixed;
  z-index: 9999;
  padding-top: 60px;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.8);
}

.modal-content {
  margin: auto;
  display: block;
  max-width: 90%;
  max-height: 80%;
  border-radius: 8px;
  position: relative;
}


/*×ボタン*/
.close {
  position: absolute;
  top: 0%;
  right: 2%;
  color: #fff;
  font-size: 40px;
  font-weight: bold;
  cursor: pointer;
}

/*説明文*/
.caption {
  color: #fff;
  text-align: center;
  padding: 15px;
  font-size: 1.2em;
  background-color: var(--main-color);
  border-radius: 5px;
  margin: 20px auto 0 auto;
  max-width: 300px;
  word-wrap: break-word;
  display: block;
}


/*----------------店舗案内-----------------*/
.access-info {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;

}

.access-text {
  flex: 2 1 600px;
}

.access-text dl {
  display: grid;
  grid-template-columns: 130px 1fr;
}

.access-text dt {
  padding: 8px;
  text-align: left;
  vertical-align: top;
  font-weight: bold;
}

.access-text dd {
  padding: 8px;
  text-align: left;
  vertical-align: top;
}

.access-text a {
  color: inherit;
  text-decoration: underline;
  text-decoration-style: dotted;
  text-decoration-color: inherit;
  text-underline-offset: 4px;
  transition: color 0.3s ease, text-decoration-color 0.3s ease;
}

.access-text a:hover {
  color: var(--main-color);
  text-decoration-color: var(--main-color);
}


.access-image {
  flex: 1 1 380px;
  padding: 0 5px;
}

.access-image img {
  width: 100%;
  border-radius: 10px;
  margin-top: 25px;
  object-fit: cover;
}

.tel-link {
  pointer-events: none;
}

a.tel-link {
  text-decoration: none;
}


/*地図*/
.map-container {
  width: 100%;
  margin: 0;
}

.map-iframe {
  width: 100%;
  height: 400px;
  border: 0;
  display: block;
}





/*レスポンシブ対応*/
@media (max-width: 768px) {

  /*キービジュアル*/
  .hero {
    background-size: cover;
    background-position: center;
    height: 50vh;
  }

  .scroll-indicator {
    display: none;
  }

  .slide-btn.prev {
    left: 0vw;
  }

  .slide-btn.next {
    right: 0vw;
  }




  /*お知らせ*/
  .news-list li span:nth-child(1)::after {
    content: "\A";
    white-space: pre;
  }


  /*メニュー*/
  .menu {
    flex-direction: column;
    align-items: center;
    gap: 10px;
  }


  /*ギャラリー*/
  .gallery-item img {
    width: 40vh;
    height: auto;
    margin-right: 8px;
  }



  /*店舗案内*/
  .access-info {
    flex-direction: column;
  }

  .access-text,
  .access-image {
    flex: 1 1 100%;
  }

  .tel-link {
    pointer-events: auto;
  }

  a.tel-link {
    text-decoration: underline;
    text-decoration-style: dotted;
    text-decoration-color: inherit;
  }

}