* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html,
body {
  width: 100%;
  height: 100%;
  min-height: 100vh;
}
html {
  font-size: 100%;
  font-family: "Noto Sans JP", sans-serif;
  font-optical-sizing: auto;
  font-weight: 300;
  font-style: normal;
  position: relative;

  color: white;
  z-index: 1;
}

html::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: linear-gradient(
      rgba(86, 84, 84, 0.4),
      rgba(86, 84, 84, 0.4)
    ),
    url("img/hatti-back.PNG");
  background-size: cover; /* 画像を画面いっぱいに広げる */
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  object-fit: cover;

  z-index: -1;
}

/*共通css*/
.title {
  font-family: "Quicksand", sans-serif;
  font-optical-sizing: auto;
  font-weight: weight;
  font-style: normal;
  font-size: 3rem;
}
h2 {
  text-align: center;
  font-size: 1.4rem;
  font-weight: 300;
}
.margin {
  margin-top: 30px;
  margin-bottom: 30px;
}
.map-container {
  width: 100%;
  text-align: center;
}
.map-container iframe {
  width: 560px;
  height: 350px;
  border-radius: 15px;
}
.SNS {
  display: flex;
  justify-content: center;
}

.SNS-X img,
.SNS-insta img {
  width: 50px;
  height: 50px;
  margin: 20px 5px;
}
.SNS-phone {
  display: flex;
  align-items: center;
  margin: 0 5px;
}
/*各ボタン*/
.button {
  position: relative;
  background-color: transparent;
  font-size: 1rem;
  font-weight: 600;
  border: 1px solid #d7cc50;
  cursor: pointer;
  padding: 15px 40px;
  margin-bottom: 30px;
  border-radius: 20px;
  transition: transform 0.4s; /* 拡大アニメーション用のトランジション */
}

.button::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 1px solid #d7cc50;
  background-color: #d7cc50;
  z-index: -1;
  border-radius: 20px;
  transition: transform 0.4s;
  transform: scaleX(0);
  transform-origin: center;
}

.button:hover::before {
  transform: scaleX(1);
}

.button:hover {
  font-weight: 600;
  color: white;
  transform: scale(1.1);
}
/*トップへ戻るボタン*/

.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 20px;
  width: 50px;
  height: 50px;
  background-color: #fffefc;
  color: #eeb82e;
  border-radius: 50%;
  border: 1px solid #ecba44;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  box-shadow: 0 4px 6px rgba(162, 74, 74, 0.1);
}

.back-to-top:hover {
  opacity: 0.8;
}

/*ヘッダー*/
.header {
  width: 100%;
  height: auto;
}
ul {
  display: inline-block;
  text-align: center;
}

nav {
  width: 100%;
  padding: 15px 0;
  text-align: center;
}

nav ul {
  width: 100%;
  background-color: #424141;
  list-style: none;
}
nav ul li {
  display: inline-block;
  padding: 0 30px;
  margin: 10px 15px;
  text-decoration-line: none;
}
nav ul li a {
  text-decoration: none;
  color: aliceblue;
}

nav.sticky {
  position: fixed;
  left: 0;
  top: 0;
  background: #424141;
  color: aliceblue;
  display: flex;
  justify-content: space-around;
  align-items: center;
  transition: 0.6s;
  opacity: 0.9;
  z-index: 2;
}

nav.sticky ul {
  background-color: transparent;
}

/*ロゴ*/
.logo-img {
  width: 100%;
  height: 140px;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 15px;
}
.logo-img img {
  height: 100%;
  object-fit: cover;
  border-radius: 80px;
}

/*section-INFO*/
#INFO {
  width: 90%;
  margin: 0 auto;
}
#INFO-p {
  text-align: center;
  line-height: 2;
  margin-bottom: 50px;
  letter-spacing: 2px;
}
.INFO-head {
  text-align: center;
  font-size: 1.8rem;
  width: 100%;
  height: auto;
  margin-top: 60px;
  margin-bottom: 20px;
  border-radius: 15px;
  object-fit: cover;
}
/*各section、画像の大きさ*/
#hatti,
#hatti-staff {
  width: 90%;
  margin: 0 auto;
}
#hatti-shop {
  width: 90%;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
}

.hatti-item-img img {
  width: 100%;
  border-radius: 15px;
}

.hatti-item,
.staff-item {
  width: 100%;
  margin: 20px auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.7s ease;
}
section {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.7s ease;
}
section.show,
.hatti-item.show,
.staff-item.show {
  opacity: 1;
  transform: translateY(0); /* 元の位置に移動 */
}
.staff-item img,
.hatti-item > .hatti-item-img img {
  width: 100%;
  height: auto;
  border-radius: 15px;
}

.hatti-item p,
.staff-item p,
.hatti-p p {
  font-size: 1.2rem;
  text-align: center;
  line-height: 2;
  letter-spacing: 2px;
}

/*section-gallery*/
.slideshow-container {
  position: relative;
  width: 90%;
  /* height: 50vh; */
  height: auto;
  margin: 0 auto;
  overflow: hidden;
}

.slides {
  display: flex;
  width: 100%;
  transition: transform 0.5s ease-in-out;
}

.slide {
  width: 100%;
  flex-shrink: 0;
  aspect-ratio: 4 / 3;
}

.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.dots-container {
  text-align: center;
  margin-top: 10px;
}

.dot {
  height: 15px;
  width: 15px;
  margin: 0 5px;
  background-color: #bbb;
  border-radius: 50%;
  display: inline-block;
  cursor: pointer;
  transition: background-color 0.3s;
}

.dot.active {
  background-color: #717171;
}

#GALLERY {
  width: 90%;
  margin: 0 auto;
}
.GALLERY-item {
  width: 100%;
}

.GALLERY-img img {
  width: 100%;
  height: 500px;
  margin: 10px 0;
  border-radius: 15px;
}
/*section-フッター*/
.copyright {
  text-align: center;
  margin: 30px auto;
}
@media (min-width: 344px) and (max-width: 480px) {
  html::before {
    background-size: auto 100%;
    background-position: center top;
    background-attachment: scroll;
  }
  .INFO-head {
    font-size: 1.5rem;
  }
  .INFO-p p {
    font-size: 0.7rem;
  }
  #INFO-p p,
  .hatti-item p,
  .staff-item p,
  .hatti-p p {
    font-size: 0.85rem;

    line-height: 1.7;
  }

  .map-container iframe {
    width: 330px;
    height: 200px;
  }

  nav ul li {
    padding: 0 15px;
    margin: 15px 5px;
    font-size: 0.7rem;
  }
  .navbar {
    padding: 5px 0;
  }

  .hatti-item > .hatti-item-img img {
    height: 220px;
  }
  .copyright {
    font-size: 0.8rem;
  }
}
@media (min-width: 481px) and (max-width: 820px) {
  nav ul li {
    padding: 0 15px;
    margin: 6px 25px;
    font-size: 0.9rem;
  }
}

@media (min-width: 821px) and (max-width: 2500px) {
  #INFO-p p,
  .item p,
  .hatti-item p,
  .staff-item p,
  .hatti-p p {
    font-size: 1.3rem;

    line-height: 1.7;
  }
  #hatti-shop {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .hatti-item {
    width: 45%;
  }
  .hatti-item-img img {
    width: 50%;
  }
  .map-container iframe {
    width: 100%;
  }
  .solid {
    width: 100%;
    border: 1px solid #d3b5a3;
    border-top: none;
  }
  #hatti-staff {
    display: flex;
    flex-wrap: wrap;
  }
  .staff-item {
    width: 45%;
  }
  nav ul li {
    margin: 15px 40px;
    font-size: 1.5rem;
  }
  .slideshow-container {
    width: 60%;
    /* height: 80vh; */
  }
}
