/* 全体のスタイル */
body {
  font-family: 'Noto Sans JP', sans-serif;
  line-height: 1.6;
  color: #333;
  margin: 0;
  padding: 0;
}

/* ヘッダーとナビゲーション */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
}

.overlay-nav {
  background-color: rgba(44, 62, 80, 0.7);
  padding: 1rem 0;
}

nav ul {
  list-style-type: none;
  padding: 0;
  margin: 0;
  display: flex;
  justify-content: center;
}

nav ul li {
  margin: 0 1rem;
}

nav ul li a {
  font-family: 'Shippori Mincho', serif;
  font-weight: 500;
  font-size: 1.1rem;
  color: #ecf0f1;
  text-decoration: none;
  transition: color 0.3s ease;
}

nav ul li a:hover {
  color: #3498db;
}

/* メインコンテンツ */
main {
  max-width: 100%;
  margin: 0 auto;
}

section {
  margin-bottom: 4rem;
}

h1, h2, h3 {
  font-family: 'Playfair Display', 'Noto Sans JP', serif;
  color: #52667c;
}

/* ヒーローセクション */
#hero {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
}

.hero-slideshow {
  width: 100%;
  height: 100%;
}

.hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}

.hero-image.active {
  opacity: 1;
}

#hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

#hero .hero-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: white;
  z-index: 1;
  width: 100%;
}

#hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: 4.5rem;
  margin-bottom: 1rem;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.7);
  color: #daf4ff;
}

#hero p {
  font-family: 'Shippori Mincho', serif;
  font-size: 1.8rem;
  text-shadow: 1px 1px 2px rgba(0,0,0,0.7);
}

/* 店舗紹介 */
#about {
  text-align: center;
  padding: 4rem 0;
}

#about .catchphrase {
  font-family: 'Shippori Mincho', serif;
  font-size: 2.5rem;
  color: #4a4a4a;
  margin-bottom: 2rem;
}

#about .description {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 1.1rem;
  line-height: 2;
  color: #666;
  max-width: 800px;
  margin: 0 auto 3rem;
}

#about .about-image {
  max-width: 700px;
  width: 50%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

/* メニュー */
#menu {
  text-align: center;
}

#menu h2 {
  font-family: 'Shippori Mincho', serif;
  font-size: 2em;
}

.menu-category {
  margin-bottom: 2rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.menu-category h3 {
  font-family: 'Shippori Mincho', serif;
  font-size: 1.5em;
  margin-bottom: 1rem;
  color: #34495e;
}

.menu-category ul {
  list-style-type: none;
  padding: 0;
  margin: 0;
}

.menu-category li {
  margin-bottom: 0.8rem;
}

/* お知らせ */
#news h2 {
  font-family: 'Shippori Mincho', serif;
  font-size: 2em;
  text-align: center;
  margin-bottom: 2rem;
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.news-item {
  display: flex;
  flex-direction: column;
  background-color: #f8f9fa;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.news-image {
  width: 100%;
  height: 250px;  /* 200pxから250pxに変更 */
  object-fit: cover;
}

.news-item h3 {
  font-size: 1.1rem;
  margin: 1rem;
}

.news-item time {
  font-size: 0.9rem;
  color: #6c757d;
  margin: 0 1rem 1rem;
}

/* ニュース */
#news ul {
  list-style-type: none;
  padding: 0;
}

#news li {
  margin-bottom: 1.5rem;
}

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

/* アクセス */
#access {
  text-align: center;
}

#access h2 {
  font-family: 'Shippori Mincho', serif;
  font-size: 2em;
}

#access address,
#access p {
  margin-bottom: 1rem;
}

#access iframe {
  max-width: 100%;
  margin-top: 2rem;
}

/* フッター */
footer {
  background-color: #34495e;
  color: #ecf0f1;
  text-align: center;
  padding: 1rem 0;
}

footer ul {
  list-style-type: none;
  padding: 0;
}

footer ul li {
  display: inline;
  margin: 0 1rem;
}

footer a {
  color: #ecf0f1;
  text-decoration: none;
}

/* レスポンシブデザイン */
@media (max-width: 768px) {
  .overlay-nav {
      background-color: rgba(44, 62, 80, 0.9);
  }

  nav ul {
      flex-direction: column;
      align-items: center;
  }

  nav ul li {
      margin: 0.5rem 0;
  }

  #hero h1 {
      font-size: 2.5rem;
  }

  #hero p {
      font-size: 1.2rem;
  }

  .news-grid {
      grid-template-columns: 1fr;
  }
}

/* ページコンテンツ（ヒーローセクション以外） */
main > section:not(#hero) {
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding: 0 20px;
}

/* 既存のCSSの後に追加 */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

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