:root {
  --primary-color: #f44336;
  --bg-dark: #111;
  --bg-light: #1a1a1a;
  --text-color: #fff;
  --text-muted: #ddd;
  --font-family: 'Helvetica Neue', sans-serif;
}

/* Reset --------------------------------------------------------------------------------*/
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Noto Serif JP', serif;
  font-weight: 700;
  background-color: var(--bg-dark);
  color: var(--text-color);
  line-height: 1.7;
}



img {
  max-width: 100%;
  height: auto;
  display: block;
}

h1, h2, h3 {
  font-weight: bold;
  margin-bottom: 1rem;
}

/* Header --------------------------------------------------------------------------------*/
.header {
  background-color:rgba(0, 0, 0, 0.6); /* 黒＋透過 */
  padding: 1rem 2rem;
  position: sticky;
  top: 0;
  z-index: 100;
  /*transition: background 0.3s ease; 黒＋透過 */
}

/*
.header.scrolled {
  background-color: #222;
}
  */

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
}

.logo img {
  width: 250px;
}

.menu-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
  background: none;
  border: none;
}

.menu-toggle span {
  height: 3px;
  width: 25px;
  background: var(--text-color);
  margin: 4px 0;
  transition: all 0.3s;
}

.nav ul {
  list-style: none;
  display: flex;
  gap: 1.5rem;
  font-family: 'Noto Serif JP', serif;
  font-size: 1.2rem;
}

.nav a {
  color: var(--text-color);
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s;
}

.nav a:hover {
  color: var(--primary-color);
}

/* Hero Section --------------------------------------------------------------------------------*/
.hero {
  padding: 0;
  max-width: none;
  position: relative;
  overflow: hidden;
}

.hero-slider {
  position: relative;
  width: 100%;
  height: 75vh;
}

.slides {
  width: 100%;
  height: 100%;
  position: relative;
}

.slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1s ease-in-out;
  filter: brightness(0.6);
}

.slide.active {
  opacity: 1;
}

.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(0, 0, 0, 0.5);
  color: white;
  border: none;
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  font-size: 1.5rem;
  cursor: pointer;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
}

.prev-btn {
  left: 1rem;
}

.next-btn {
  right: 1rem;
}

.hero-text-overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white;
  text-align: center;
  z-index: 5;
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.7);
}

.hero-text-overlay h1 {
  font-family: 'Noto Serif JP', serif;
  font-size: clamp(3.5rem, 15vw, 6.5rem);
  margin: 0;
  line-height: 1.4;
}

.hero-text-overlay .text-xl {
  font-size: 1.5em;
}

.hero-text-overlay .text-l {
  font-size: 1.2em;
}

.no-wrap {
  white-space: nowrap;
}

.hero-copy {
  font-family: 'Noto Serif JP', serif;
  background-color: var(--bg-light);
  padding: 3rem 1rem;
  text-align: center;
}

.hero-copy p {
  font-size: clamp(1.4rem, 3vw, 1.8rem);
  max-width: 800px;
  margin: 0 auto;
  line-height: 1.8;
  white-space: nowrap;
}

/* General Section Styling --------------------------------------------------------------------------------*/
section {
  padding: 4rem 3rem;
  max-width: 1200px;
  margin: 0 auto 6rem;
}

section h3 {
  font-family: 'Noto Serif JP', serif;
  text-align: center;
  font-size: 1.5rem;
  color: var(--text-muted);
  margin-bottom: 0;
}

section h2 {
  font-family: 'Noto Serif JP', serif;
  text-align: center;
  margin-top: 0;
  margin-bottom: 3rem;
  font-size: 2.5rem;
  color: var(--text-color);
  position: relative;
  padding-bottom: 1rem; 
}

section h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background-color: var(--primary-color);
  border-radius: 2px;
}

/* Menu Section --------------------------------------------------------------------------------*/
.menu {
  background-color: var(--bg-dark);
}

.menu-items {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-bottom: 6rem;
}

.menu-item {
  text-align: center;
  background: var(--bg-light);
  padding: 1.5rem;
  border-radius: 8px;
  transition: transform 0.3s;
}

.menu-item:hover {
    transform: translateY(-10px);
}

.menu-item img {
  border-radius: 8px;
  margin-bottom: 1.5rem;
}

.menu-item h3 {
  font-family: 'Noto Serif JP', serif;
  font-size: 1.5rem;
  color: var(--text-color);
  margin-bottom: 15px;
}

/* Collabo Menu --------------------------------------------------------------------------------*/
.collab-image-container {
  max-width: 500px; /* 画像の最大幅 */
  margin: 2rem auto; /* 上下と中央揃え */
  border-radius: 8px; /* 角を丸くする */
  overflow: hidden; /* 画像のはみ出しを防ぐ */
}

.collab-image-container img {
  width: 100%;
  transition: transform 0.3s;
}

.collab-image-container img:hover {
  transform: scale(1.05);
}

.collabo-list {
  list-style: none;
  text-align: center;
  margin-top: 3rem;
  color: var(--text-muted);
  font-size: 1.3rem; /* 文字を大きく */
}

.collabo-list li {
  margin: 1rem 0; /* 行間を広げる */
}

/* Kodawari Section --------------------------------------------------------------------------------*/
.kodawari {
  background-color: var(--bg-light);
}

.kodawari-block {
  position: relative; /* テキストを重ねるための基準 */
  margin-bottom: 6rem;
  border-radius: 8px;
  overflow: hidden; /* 角丸を画像にも適用 */
}

.kodawari-block img {
  width: 100%; /* 横幅全体に */
  height: 50vh;
  object-fit: cover;
  vertical-align: middle; /* 画像下の余白を防ぐ */
  filter: brightness(0.6); /* 画像を暗くして文字の可読性を上げる */
  margin: 0 auto;    /* 中央寄せ */
  border-radius: 8px;/* ← 角を丸くする */
}

.kodawari-block-text {
  position: absolute; /* 画像の上に重ねる */
  top: 50%; /* 上下中央に */
  left: 5%; /* 左側に配置 */
  transform: translateY(-50%); /* 上下中央揃えの微調整 */
  width: 50%; /* テキストブロックの幅 */
  padding: 2rem; /* 内側の余白 */
  color: var(--text-color);
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.8); /* 文字に影をつけて読みやすくする */
}

.kodawari-block h2 {
  color: var(--text-color); /* 文字色を白に */
}

.kodawari-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  justify-content: center;
  margin-bottom: 6rem;
}

.kodawari-item h3 {
  font-family: 'Noto Serif JP', serif;
  font-size: 1.8rem;
  margin-bottom: 1.5rem;
}

.kodawari-item {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.kodawari-item p {
  max-width: 400px;
}

.kodawari-item img {
    border-radius: 8px;
    margin: 0 auto 1.5rem;
}





/* Events Section --------------------------------------------------------------------------------*/
#events {
  text-align: center;
}

#events h3 {
  margin-bottom: 0.5rem;
}

#events img {
  border-radius: 8px;
  max-width: 600px;
  width: 100%;
  height: auto;
  object-fit: cover;
  margin: 0 auto 60px;
}

#events p {
  color: var(--text-muted);
  font-size: 1.1rem;
  line-height: 1.8;
  max-width: 800px;
  margin: 0 auto 1.5rem;
}

/* Instagram --------------------------------------------------------------------------------*/
.instagram {
  background-color: var(--bg-dark);
  text-align: center;
}

.insta-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1rem;
  margin-bottom: 2rem;
}

.insta-gallery img {
    border-radius: 8px;
    transition: transform 0.3s;
}

.insta-gallery img:hover {
    transform: scale(1.05);
}

.instagram a {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: bold;
}

.instagram p {
  font-size: 1.5rem;
  margin-top: 3rem;
}

/* Contact --------------------------------------------------------------------------------*/
.contact {
  background-color: var(--bg-light);
  text-align: center;
  margin-bottom: 0;
}

.contact h3 {
  margin-top: 2rem;
}

.contact-image {
  border-radius: 8px;
  width: 100%;
  max-width: 600px;
  margin: 40px auto 40px;
  display: block;
}

.contact p {
  max-width: 400px;
  margin: 3rem auto 0;
}

.contact .btn {
  display: inline-block;
  padding: 1rem 2.5rem;
  margin-top: 4rem;
  background-color: var(--primary-color);
  color: var(--text-color);
  border: none;
  text-decoration: none;
  border-radius: 5px;
  transition: background 0.3s, transform 0.3s;
  font-weight: bold;
  width: 400px; /* ボタンの横幅 */
  text-align: center; /* ボタン内テキスト中央寄せ */
  font-size: 1.4rem; /* 文字サイズ */
}

.contact .btn:hover {
  background-color: #d32f2f;
  transform: translateY(-5px);
}

/* Footer --------------------------------------------------------------------------------*/
.footer {
  background-color: #000;
  color: var(--text-muted);
  padding: 2rem;
  text-align: center;
}

.footer img {
  width: 120px;
  margin: 0 auto 1rem;
}

/* Fade In Animation --------------------------------------------------------------------------------*/
.before-fade {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive --------------------------------------------------------------------------------*/
@media (max-width: 768px) {
  section {
    padding: 3rem 1.5rem;
  }

  .hero-title h1 {
    font-size: 4rem;
  }

  .nav ul {
    display: none;
    flex-direction: column;
    background: #000;
    position: absolute;
    top: 70px;
    right: 0;
    width: 100%;
    padding: 1rem;
    text-align: center;
  }

  .nav.active ul {
    display: flex;
  }

  .menu-toggle {
    display: flex;
    margin-left: auto;
    padding-right: 20px;
  }
  
  .kodawari-block-text {
    width: 85%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    padding: 1.5rem;
  }

  .kodawari-block-text h2 {
    white-space: nowrap;
    font-size: clamp(1.5rem, 8vw, 2.5rem);
  }

  

  .contact .btn {
    width: 100%;
    white-space: nowrap;
    font-size: clamp(1rem, 5vw, 1.4rem);
  }

  .kodawari-item p {
    margin-bottom: 20px;
  }

  .instagram p {
    white-space: nowrap;
    font-size: clamp(1rem, 4.5vw, 1.5rem);
  }
}

  .logo img {
    width: 130px;
    height: 80px;
    object-fit: cover;
  }