/* ======================
   共通スタイル
====================== */
html {
  scroll-behavior: smooth;
}

/* ABOUTセクション：クリックで画像が切り替わるギャラリー */
.about-gallery {
  position: relative;
  text-align: center;
  background: #dedede;
  padding-bottom: 60px;
  overflow: hidden;
}
.about-gallery::before {
  content: "";
  position: absolute;
  top: 100;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('images/footer-logo.png') left center / 35% no-repeat; /* 左側に配置 */
  opacity: 0.1; /* ロゴを薄く */
  z-index: 0;
}
.about-gallery .main-image {
  position: relative;
  z-index: 1;
  max-width: 100%;
  width: 800px;
  height: auto;
  border-radius: 10px;
  margin: 0 auto 20px;
  display: block;
  transition: opacity 0.6s ease;
}
.about-gallery .thumbnails {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  flex-wrap: nowrap;
}
.about-gallery .thumbnails img {
  width: 20%;
  height: auto;
  max-width: 160px;
  border-radius: 6px;
  cursor: pointer;
  opacity: 0.8;
  transition: opacity 0.3s ease, transform 0.3s ease;
}
.about-gallery .thumbnails img:hover {
  opacity: 1;
  transform: scale(1.05);
  filter: brightness(1.1);
}
.about-gallery .thumbnails img.active {
  border: 3px solid var(--accent);
  opacity: 1;
}

body.menu-open {
  overflow: hidden;
  height: 100vh;
}

:root {
  --bg: #dedede;
  --card: #dedede;
  --accent: #ff5ca1;
  font-family: "Noto Sans JP", sans-serif;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
body {
  margin: 0;
  background: var(--bg);
  color: #000;
}

header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  background: transparent;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 28px 40px;
  color: #fff;
  transition: background 0.3s ease;
}

.logo img {
  height: 60px;
  width: auto;
  display: block;
}

nav {
  display: flex;
  gap: 18px;
}
nav a {
  color: #fff;
  text-decoration: none;
}
nav a:hover {
  color: var(--accent);
}

.menu-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
  width: 28px;
  height: 22px;
  justify-content: space-between;
}
.bar {
  height: 3px;
  width: 100%;
  background: #fff;
  border-radius: 3px;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.menu-toggle.active .bar:nth-child(1) {
  transform: translateY(9px) rotate(45deg);
}
.menu-toggle.active .bar:nth-child(2) {
  opacity: 0;
}
.menu-toggle.active .bar:nth-child(3) {
  transform: translateY(-9px) rotate(-45deg);
}

.container {
  max-width: 100%;
  margin: 0 auto;
  padding: 0;
}

.hero {
  position: relative;
  width: 100%;
  height: 90vh;
  overflow: hidden;
  padding:0 0 60px 0;
}

.hero-slider img {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: scale(1.1);
  transition: opacity 1.5s ease, transform 3s ease;
  z-index: 1;
}
.hero-slider img.active {
  opacity: 1;
  transform: scale(1);
}

.hero-content {
  position: absolute;
  bottom: 10%;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  color: #fff;
  z-index: 10;
    width: 90%; /* 横幅を広げる */
  max-width: 1200px; /* 最大幅を指定 */
  margin: 0 auto;
}

.hero-logo {
  width: 75%;
  max-width: 600px;
  height: auto;
  margin-bottom: 20px;
  filter: drop-shadow(0 4px 10px rgba(0,0,0,0.6));
  transition: all 0.5s ease;
}

.hero-content p {
  font-size: 1.3rem;
  text-shadow: 0 2px 8px rgba(0,0,0,0.7);
}

section {
  padding: 60px 0;
  border-radius: 0;
  margin-bottom: 40px;
}

h2 {
  position: relative;
  text-align: center;
  font-size: 1.8rem;
  font-weight: 800;
  margin: 0 auto 30px auto;
  display: block;
  width: fit-content;
}
h2::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 100%;
  height: 3px;
  background-color: #000;
  border-radius: 2px;
}

#about, #shops, #recruit {
  background: #dedede;
}

.shops {
  display: flex;
  flex-direction: column;
  gap: 40px;
  max-width: 1200px;
  margin: auto;
}
.shop-article {
  background: var(--card);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  text-align: center;
}
.shop-article img {
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
}
.shop-content {
  padding: 20px;
}
.shop-logo {
  max-width: 180px;
  margin: 0 auto 10px auto;
}
.shop-content h3 {
  margin: 10px 0;
  font-size: 1.4rem;
}
.about p,.shop-content p,.recruit p , .line p {
  line-height: 1.7;
  margin: 8px 0;
}

.about, .recruit, .line{
    text-align: center;
  background: #dedede;
  padding: 60px 0;
}
.recruit img, .line img {
  max-width: 60%;
  height: auto;
  display: block;
  margin: 2% auto;
}

/* ======================
   SNSリンク
====================== */
.shop-links {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  margin-top: 20px;
}
.shop-links a img {
  height: 6vw;
  max-height: 60px;
  width: auto;
  transition: transform 0.3s ease, opacity 0.3s ease;
}
.shop-links a img:hover {
  transform: scale(1.1);
  opacity: 0.8;
}

/* ======================
   トップに戻るボタン（CSS）
====================== */
#back-to-top {
  position: fixed;
  bottom: 40px;
  right: 40px;
  width: 60px;
  height: 60px;
  background: var(--accent);
  color: #fff;
  border: none;
  border-radius: 50%;
  font-size: 22px;
  font-weight: bold;
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  transform: translateY(60px) scale(0.9);
  pointer-events: none;
  transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
  z-index: 998;
  cursor: pointer;
  box-shadow: 0 3px 6px rgba(0,0,0,0.2);
}
#back-to-top.show {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}
#back-to-top:hover {
  background: #ff8fb5;
}

/* ======================
   フッター
====================== */
footer {
  background-color: #dedede;
  text-align: center;
}
.footer-image {
  width: 100%;
  display: block;
}
.footer-logo {
  margin: 30px auto 10px;
  display: block;
  width: 120px;
  height: auto;
}
.footer-copy {
  font-size: 0.9rem;
  color: #333;
  margin-bottom: 30px;
}


/* ======================
   メディアクエリ
====================== */
@media (max-width: 1024px) {
  section:not(.hero) {
    padding-left: 8%;
    padding-right: 8%;
  }
  .hero-logo {
    width: 100%;
    max-width: 1000px;
  }
  .hero-content p {
    font-size: 1.1rem;
  }
}

@media (max-width: 768px) {

  header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
  }

  nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(0, 0, 0, 0.8);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
  }

  nav.active {
    opacity: 1;
    pointer-events: auto;
  }

  .menu-toggle {
    display: flex; /* これを追加して表示を復活 */
    flex-direction: column;
    position: absolute;
    top: 30px;
    right: 30px;
    width: 28px;
    height: 22px;
    justify-content: space-between;
    cursor: pointer;
    z-index: 1001;
  }
  .menu-toggle .bar {
    height: 3px;
    width: 100%;
    background: #fff;
    border-radius: 3px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  }
  .menu-toggle.active .bar:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
  }
  .menu-toggle.active .bar:nth-child(2) {
    opacity: 0;
  }
  .menu-toggle.active .bar:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
  }

  .logo {
    position: relative;
    z-index: 1002; /* ロゴを最前面に */
  }
  section:not(.hero) {
    padding: 0 5%;
  }
  .shop-links a img {
    height: 10vw;
    max-height: 50px;
  }
  .footer-logo {
    width: 90px;
  }
  .recruit, .line{
  background: #dedede;
  padding: 60px 0;
}
.recruit img, .line img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
}
  nav a {
    display: block;
    width: 70%;
    text-align: center;
    padding: 14px 0;
    margin: 6px 0;
    border: 2px solid #fff;
    border-radius: 6px;
    color: #fff;
    text-decoration: none;
    font-size: 1.2rem;
    transition: background 0.3s ease, color 0.3s ease;
  }

  nav a:hover {
    background: #fff;
    color: #000;
  }
  .about-gallery .thumbnails img {
    width: 25%;
    max-width: 120px;
  }
  .about-gallery::before {
    background-size: 60%; /* スマホ時は少し大きめ */
  }


}

@keyframes fadeDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 600px) {
  .hero-logo {
    width: 100%;
    max-width: 1000px;
  }
  .hero-content p {
    font-size: 1.2rem;
  }
}