.page-title-nav {
  position: relative;
}

/* フローティングホームボタン */
.floating-home-btn {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 60px;
  height: 60px;
  background-color: var(--primary);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  text-decoration: none;
  transition: all 0.3s ease;
  z-index: 999;
}

.floating-home-btn:hover {
  background-color: var(--primary-dark);
  transform: translateY(-5px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

.floating-home-icon {
  font-size: 24px;
}

@media screen and (max-width: 768px) {
  .floating-home-btn {
    width: 50px;
    height: 50px;
    bottom: 20px;
    right: 20px;
  }

  .floating-home-icon {
    font-size: 20px;
  }
} /* ページナビゲーション */
.page-navigation {
  padding: 20px 0;
  margin: 20px 0 40px;
  border-top: 1px solid rgba(76, 175, 80, 0.1);
  border-bottom: 1px solid rgba(76, 175, 80, 0.1);
  background-color: var(--background-alt);
}

.nav-buttons {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 15px;
}

.nav-btn {
  display: inline-flex;
  align-items: center;
  background-color: white;
  color: var(--primary-dark);
  padding: 10px 15px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.nav-btn:hover {
  background-color: var(--primary-light);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.1);
}

.nav-icon {
  font-size: 18px;
  margin-right: 5px;
  margin-left: 5px;
}

@media screen and (max-width: 768px) {
  .page-navigation {
    padding: 15px 0;
    margin: 15px 0 30px;
  }

  .nav-buttons {
    justify-content: center;
  }

  .nav-btn {
    font-size: 14px;
    padding: 8px 12px;
  }
} /* パンくずリスト */
.breadcrumb-container {
  background-color: #f9fbf9;
  padding: 10px 0;
  border-bottom: 1px solid rgba(76, 175, 80, 0.1);
  margin-top: 80px;
}

.breadcrumb {
  list-style: none;
  display: flex;
  padding: 0;
  margin: 0;
}

.breadcrumb-item {
  font-size: 14px;
  color: var(--text-light);
}

.breadcrumb-item a {
  color: var(--primary);
  text-decoration: none;
}

.breadcrumb-item a:hover {
  text-decoration: underline;
}

.breadcrumb-item.active {
  color: var(--text);
  font-weight: 500;
}

.breadcrumb-item + .breadcrumb-item::before {
  content: ">";
  margin: 0 8px;
  color: var(--text-light);
}

@media screen and (max-width: 768px) {
  .breadcrumb-container {
    margin-top: 55px;
    padding: 8px 0;
  }

  .breadcrumb-item {
    font-size: 12px;
  }
} /* 共通変数の定義 */
:root {
  --primary: #4caf50;
  --primary-light: #81c784;
  --primary-dark: #388e3c;
  --accent: #ffd54f;
  --text: #212121;
  --text-light: #757575;
  --background: #ffffff;
  --background-alt: #f5f9f5;
}

/* 基本スタイル */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Hiragino Kaku Gothic Pro", "Meiryo", sans-serif;
}

body {
  background-color: var(--background);
  color: var(--text);
  line-height: 1.6;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ヘッダースタイル */
header {
  background-color: #f9fbf9;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
  border-bottom: 3px solid #aed581;
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 0;
}

.logo-link {
  text-decoration: none;
  display: flex;
  align-items: center;
  transition: opacity 0.3s;
}

.logo-link:hover {
  opacity: 0.9;
}

.logo {
  display: flex;
  align-items: center;
}

.logo img {
  height: 50px;
  width: 50px;
  min-width: 50px;
  margin-right: 15px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #aed581;
  padding: 2px;
  background-color: white;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease;
}

.logo:hover img {
  transform: scale(1.05);
}

.logo h1 {
  font-size: 24px;
  color: var(--primary-dark);
  font-weight: 700;
}

nav ul {
  display: flex;
  list-style: none;
}

/* デスクトップ表示で通常のナビゲーションを保持 */
@media screen and (min-width: 769px) {
  /* デスクトップでのボタン表示確保 */
  .hero .btn {
    display: inline-flex !important;
    text-align: center;
    align-items: center;
    justify-content: center;
  }

  .nav-menu {
    position: static !important;
    max-height: none !important;
    box-shadow: none !important;
    border: none !important;
    flex-direction: row !important;
    overflow: visible !important;
  }

  .hero-description-full {
    display: block;
  }

  .hero-description-mobile {
    display: none;
  }

  .floating-action-buttons {
    display: none;
  }

  /* デスクトップでもAboutセクションのアコーディオンを有効化 */
  .about-details {
    margin-top: 20px;
  }

  .about-toggle {
    background: none;
    border: 2px solid var(--primary);
    color: var(--primary);
    padding: 12px 20px;
    border-radius: 25px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 16px;
    font-weight: 600;
    transition: all 0.3s ease;
    font-family: inherit;
  }

  .about-toggle:hover {
    background-color: var(--primary);
    color: white;
    transform: translateY(-2px);
  }

  .about-toggle:focus {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
  }

  .about-full-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
    padding: 0;
    margin-top: 20px;
  }

  .about-full-content.active {
    max-height: 1200px;
    padding: 20px 0;
  }

  /* デスクトップでの展開レイアウト */
  .about-expanded-layout {
    gap: 60px;
  }

  .about-image {
    flex: 0 0 400px;
  }

  /* デスクトップでの説明文スタイル強化 */
  .about-summary-card {
    padding: 50px 60px;
    margin-bottom: 40px;
  }

  .summary-text {
    font-size: 20px;
    line-height: 1.8;
  }

  .feature-tag {
    font-size: 15px;
    padding: 10px 20px;
  }

  .about-summary-section {
    margin-bottom: 40px;
  }
}

nav ul li {
  margin-left: 30px;
}

nav ul li a {
  text-decoration: none;
  color: var(--text);
  font-weight: 500;
  font-size: 16px;
  transition: color 0.3s;
}

nav ul li a:hover,
nav ul li a.active {
  color: var(--primary);
}

nav ul li a.active {
  font-weight: 700;
  border-bottom: 2px solid var(--primary);
}

/* モバイルメニューボタン */
.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  flex-direction: column;
  cursor: pointer;
  padding: 5px;
  z-index: 1001;
  position: relative;
  width: 30px;
  height: 22px;
  justify-content: space-between;
  transition: all 0.3s ease;
}

.mobile-menu-btn:hover {
  opacity: 0.8;
}

.mobile-menu-btn:focus {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}

.hamburger-line {
  width: 100%;
  height: 3px;
  background-color: var(--primary-dark);
  border-radius: 1px;
  transition: all 0.3s ease;
  transform-origin: center;
}

/* メニューが開いている時のハンバーガーアイコン */
.mobile-menu-btn.active .hamburger-line:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-btn.active .hamburger-line:nth-child(2) {
  opacity: 0;
}

.mobile-menu-btn.active .hamburger-line:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -6px);
}

/* ヒーローセクション - 革命的デザイン */
.hero {
  height: 100vh;
  background: linear-gradient(
      135deg,
      rgba(76, 175, 80, 0.1) 0%,
      rgba(0, 0, 0, 0.7) 50%,
      rgba(174, 213, 129, 0.1) 100%
    ),
    url("images/site/store-interior.webp") center/cover no-repeat;
  background-attachment: fixed;
  background-position: center;
  background-size: cover;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: white;
  position: relative;
  overflow: hidden;
}

.hero-logo {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid rgba(255, 255, 255, 0.9);
  padding: 3px;
  margin-bottom: 30px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.15);
  background-color: rgba(255, 255, 255, 0.6);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  cursor: pointer;
  position: relative;
}

.hero-logo-link {
  display: inline-block;
  position: relative;
}

.hero-logo-link:hover .hero-logo {
  transform: scale(1.05);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.25), 0 0 20px rgba(174, 213, 129, 0.5);
  border-color: white;
}

.hero-logo-link::after {
  content: "✨ Instagramをチェック ✨";
  position: absolute;
  bottom: 45px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(
    45deg,
    #f09433 0%,
    #e6683c 25%,
    #dc2743 50%,
    #cc2366 75%,
    #bc1888 100%
  );
  color: white;
  padding: 8px 18px;
  border-radius: 25px;
  font-size: 16px;
  font-weight: 600;
  white-space: nowrap;
  text-align: center;
  opacity: 0;
  transition: all 0.3s ease;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  z-index: 10;
}

.hero-logo-link:hover::after {
  opacity: 1;
  transform: translateX(-50%) scale(1);
}

@keyframes pulse {
  0% {
    transform: translateX(-50%) scale(1);
  }

  50% {
    transform: translateX(-50%) scale(1.02);
  }

  100% {
    transform: translateX(-50%) scale(1);
  }
}

.hero-content {
  max-width: 800px;
  padding: 0 20px;
}

.hero h2 {
  font-size: 48px;
  margin-bottom: 15px;
  font-weight: 700;
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.8), 0 0 15px rgba(0, 0, 0, 0.6),
    1px 1px 4px rgba(0, 0, 0, 0.9);
}

.hero-subtitle {
  font-size: 24px;
  margin-bottom: 30px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.95);
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.8), 0 0 15px rgba(0, 0, 0, 0.6),
    1px 1px 4px rgba(0, 0, 0, 0.9);
  font-style: italic;
}

.hero p {
  font-size: 20px;
  margin-bottom: 30px;
  text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.8), 0 0 12px rgba(0, 0, 0, 0.6),
    1px 1px 3px rgba(0, 0, 0, 0.9);
}

/* ボタンスタイル */
.btn {
  display: inline-block;
  background-color: var(--primary);
  color: white;
  padding: 12px 30px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 600;
  font-size: 18px;
  transition: background-color 0.3s, transform 0.2s;
  border: none;
  cursor: pointer;
  margin: 5px;
}

.btn:hover {
  background-color: var(--primary-light);
  transform: translateY(-3px);
}

.btn.dark {
  background-color: var(--primary-dark);
}

.btn.dark:hover {
  filter: brightness(1.2);
}

.btn.secondary {
  background-color: var(--primary-light);
}

.btn.secondary:hover {
  background-color: var(--primary);
}

/* Instagram特別ボタン */
.instagram-btn {
  background: linear-gradient(
    45deg,
    #f09433 0%,
    #e6683c 25%,
    #dc2743 50%,
    #cc2366 75%,
    #bc1888 100%
  );
}

.instagram-btn:hover {
  background: linear-gradient(
    45deg,
    #f09433 0%,
    #e6683c 35%,
    #dc2743 60%,
    #cc2366 85%,
    #bc1888 100%
  );
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

/* セクション共通スタイル */
.section {
  padding: 100px 0;
}

/* Aboutセクション内の統合コンテンツ */
.comparison-section {
  margin: 30px 0;
}

.comparison-section h4 {
  font-size: 1.3rem;
  color: var(--primary-dark);
  margin-bottom: 20px;
  border-bottom: 2px solid var(--primary-light);
  padding-bottom: 8px;
}

.comparison-grid-simple {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  margin: 20px 0;
}

.comparison-item {
  padding: 20px;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  background: #f8f8f8;
}

.comparison-item.luff-item {
  background: #f0f8f0;
  border-color: var(--primary-light);
}

.comparison-item h5 {
  font-size: 1.1rem;
  color: var(--primary-dark);
  margin-bottom: 15px;
  text-align: center;
}

.comparison-item ul {
  list-style: none;
  padding: 0;
}

.comparison-item li {
  padding: 5px 0;
  color: #666;
  position: relative;
  padding-left: 20px;
}

.comparison-item li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--primary);
}

.features-section {
  margin: 40px 0 30px;
}

.features-section h4 {
  font-size: 1.3rem;
  color: var(--primary-dark);
  margin-bottom: 25px;
  border-bottom: 2px solid var(--primary-light);
  padding-bottom: 8px;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 25px;
  margin-top: 20px;
}

.feature-item {
  text-align: center;
  padding: 20px;
  background: #f9f9f9;
  border-radius: 10px;
  border: 1px solid #e0e0e0;
}

.feature-icon {
  font-size: 2rem;
  margin-bottom: 10px;
}

.feature-item h5 {
  font-size: 1.1rem;
  color: var(--primary-dark);
  margin-bottom: 10px;
}

.feature-item p {
  font-size: 0.9rem;
  color: #666;
  line-height: 1.5;
  margin: 0;
}

/* モバイル対応 */
@media screen and (max-width: 768px) {
  .comparison-grid-simple {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .features-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .comparison-section h4,
  .features-section h4 {
    font-size: 1.2rem;
  }

  .feature-item {
    padding: 15px;
    margin-bottom: 15px;
  }

  .feature-item h5 {
    font-size: 1rem;
    margin-bottom: 8px;
  }

  .feature-item p {
    font-size: 0.85rem;
    line-height: 1.4;
  }

  .features-section {
    margin: 25px 0 20px;
  }

  .about-text {
    font-size: 16px;
    line-height: 1.8;
  }
}

/* 動物たちセクションの上の余白を狭く（デスクトップのみ） */
.animals-gallery {
  padding-top: 40px;
}

/* モバイル版では通常の余白を維持 */
@media screen and (max-width: 768px) {
  .animals-gallery {
    padding-top: 30px;
  }
}

.section-title {
  text-align: center;
  margin-bottom: 60px;
}

.section-title h2 {
  font-size: 36px;
  color: var(--primary-dark);
  margin-bottom: 15px;
  position: relative;
  display: inline-block;
}

.section-title h2::after {
  content: "";
  position: absolute;
  height: 3px;
  width: 60px;
  background-color: var(--accent);
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
}

.section-title p {
  max-width: 800px;
  margin: 20px auto 0;
  color: var(--text-light);
}

/* ページタイトル */
.page-title {
  background-color: var(--primary-dark);
  color: white;
  padding: 50px 0;
  text-align: center;
  margin-bottom: 30px;
}

.page-title h1 {
  font-size: 36px;
  margin-bottom: 15px;
}

.page-title p {
  font-size: 22px;
  max-width: 800px;
  margin: 0 auto;
  opacity: 0.9;
  line-height: 1.6;
}

/* もっと見るリンク */
.section-more-link {
  text-align: center;
  margin-top: 40px;
}

/* Aboutセクション */
.about {
  background-color: #f0f7e6;
  background-image: linear-gradient(to bottom right, #f0f7e6, #e8f3d6);
  border-top: 2px solid rgba(76, 175, 80, 0.2);
  border-bottom: 2px solid rgba(76, 175, 80, 0.2);
}

.about-content {
  display: block;
}

/* 上部の説明文セクション */
.about-summary-section {
  width: 100%;
  margin-bottom: 30px;
  text-align: center;
}

/* 新しいカード風デザイン */
.about-summary-card {
  max-width: 900px;
  margin: 0 auto 30px;
  background: linear-gradient(
    135deg,
    rgba(76, 175, 80, 0.08) 0%,
    rgba(76, 175, 80, 0.02) 100%
  );
  border-radius: 20px;
  padding: 40px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(76, 175, 80, 0.1);
  position: relative;
  overflow: hidden;
}

.about-summary-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #4caf50, #2d5530, #4caf50);
  background-size: 200% 100%;
  animation: shimmer 3s ease-in-out infinite;
}

@keyframes shimmer {
  0%,
  100% {
    background-position: 200% 0;
  }
  50% {
    background-position: -200% 0;
  }
}

.summary-content {
  text-align: left;
}

.location-highlight {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 20px;
  padding: 12px 20px;
  background: rgba(76, 175, 80, 0.1);
  border-radius: 25px;
  border: 2px solid rgba(76, 175, 80, 0.2);
  display: inline-flex;
  margin-left: auto;
  margin-right: auto;
}

.location-icon {
  font-size: 1.2rem;
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.1);
  }
}

.summary-text {
  font-size: 18px;
  line-height: 1.8;
  color: #444;
  margin-bottom: 25px;
  text-align: center;
}

.summary-features {
  display: flex;
  justify-content: center;
  gap: 15px;
  flex-wrap: wrap;
}

.feature-tag {
  display: inline-flex;
  align-items: center;
  padding: 8px 16px;
  background: linear-gradient(135deg, #4caf50, #45a049);
  color: white;
  border-radius: 20px;
  font-size: 14px;
  font-weight: 600;
  box-shadow: 0 2px 8px rgba(76, 175, 80, 0.3);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.feature-tag:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(76, 175, 80, 0.4);
}

/* 展開時のレイアウト */
.about-expanded-layout {
  display: flex;
  align-items: flex-start;
  gap: 50px;
}

.about-text-expanded {
  flex: 1;
  word-wrap: break-word;
  overflow-wrap: break-word;
  min-width: 0;
}

.about-text p {
  margin-bottom: 20px;
}

.about-image {
  flex: 1;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.about-image.visible {
  opacity: 1;
}

.about-image img {
  width: 100%;
  height: auto;
  display: block;
}

/* 展開時の画像スタイル */
.about-image-expanded {
  margin-top: 20px;
  text-align: center;
}

.about-image-expanded img {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* 動物カテゴリープレビュー */
.animals-category-preview {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-bottom: 30px;
}

.category-preview-item {
  background-color: white;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s;
  text-align: center;
}

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

.category-preview-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  transition: transform 0.5s;
}

.category-preview-item:hover .category-preview-img {
  transform: scale(1.1);
}

.category-preview-item h3 {
  padding: 15px 0 5px;
  color: var(--primary-dark);
}

.category-preview-item p {
  padding: 0 15px 20px;
  color: var(--text-light);
}

/* ユーザーガイド */
.interaction-guide {
  margin-bottom: 30px;
  text-align: center;
}

.mobile-guide,
.desktop-guide {
  margin: 0;
  padding: 15px 20px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 500;
}

.mobile-guide {
  background-color: rgba(76, 175, 80, 0.15);
  color: #1b5e20;
  border: 1px solid rgba(76, 175, 80, 0.3);
  display: block;
}

.desktop-guide {
  background-color: rgba(33, 150, 243, 0.15);
  color: #0d47a1;
  border: 1px solid rgba(33, 150, 243, 0.3);
  display: none;
}

@media screen and (min-width: 769px) {
  .mobile-guide {
    display: none;
  }

  .desktop-guide {
    display: block;
  }
}

/* 店内風景スライダー */
.gallery-slider {
  padding: 60px 0 40px;
  background-color: #fafafa;
  overflow: hidden;
}

.gallery-slider .section-title {
  text-align: center;
  margin-bottom: 40px;
}

.gallery-slider .section-title h2 {
  font-size: 28px;
  color: var(--primary-dark);
  margin-bottom: 10px;
}

.gallery-slider .section-title p {
  color: var(--text-light);
  font-size: 16px;
}

.slider-container {
  width: 100%;
  overflow: hidden;
  position: relative;
  background-color: #fafafa;
  padding: 30px 0 40px;
  margin-top: 0;
}

.slider-track {
  display: flex;
  animation: slide linear infinite;
  will-change: transform;
}

.slide {
  flex: 0 0 300px;
  height: 200px;
  margin-right: 20px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.slide:hover {
  transform: scale(1.02);
}

.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
  background-color: #f5f5f5;
  min-height: 120px;
  /* 高速読み込み最適化 */
  image-rendering: auto;
  image-rendering: crisp-edges;
  image-rendering: -webkit-optimize-contrast;
}

/* 読み込み完了した画像のスタイル */
.slide img.loaded {
  background-color: transparent;
}

/* スケルトンローディング効果 */
.slide img:not(.loaded) {
  background: linear-gradient(90deg, #f5f5f5 25%, #e8e8e8 50%, #f5f5f5 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
}

@keyframes shimmer {
  0% {
    background-position: -200% 0;
  }
  100% {
    background-position: 200% 0;
  }
}

/* 画像読み込みエラー時のスタイル */
.slide img[src=""],
.slide img:not([src]) {
  display: none;
}

/* モバイルでの画像読み込みエラー対応 */
@media screen and (max-width: 768px) {
  .slide img {
    min-height: 120px;
    background-color: #f5f5f5;
  }

  /* 読み込み失敗した画像のスライドを非表示 */
  .slide:has(img[style*="display: none"]) {
    display: none !important;
  }
}

.slide:hover img {
  transform: scale(1.05);
}

/* スライドオーバーレイとInstagramボタン */
.slide {
  position: relative;
}

.slide-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.3);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

/* デスクトップ版ホバー効果はJavaScriptで制御 */

.instagram-btn {
  background: linear-gradient(
    45deg,
    #f09433 0%,
    #e6683c 25%,
    #dc2743 50%,
    #cc2366 75%,
    #bc1888 100%
  );
  color: white;
  border: none;
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.instagram-btn:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

.instagram-btn span {
  margin-right: 5px;
}

/* スライダーアニメーション - JavaScriptで動的生成 */

/* ホバー時にアニメーション一時停止 */
.slider-track:hover {
  animation-play-state: paused;
}

/* レスポンシブ対応 */
@media screen and (max-width: 768px) {
  .gallery-slider {
    padding: 40px 0 30px;
  }

  .gallery-slider .section-title h2 {
    font-size: 24px;
  }

  .slider-container {
    overflow: hidden;
    width: 100vw;
    margin-left: calc(50% - 50vw);
  }

  .slide {
    flex: 0 0 180px;
    height: 120px;
    margin-right: 12px;
  }

  /* モバイル版スクロール設定とアニメーション制御はJavaScriptで動的に設定 */

  /* モバイル版Instagramボタン */
  .slide-overlay {
    background: rgba(0, 0, 0, 0.4);
  }

  .instagram-btn {
    font-size: 12px;
    padding: 6px 12px;
  }
}

/* 動物カード - 新しいレイアウト */
.animals-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.animal-card {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  cursor: pointer;
  aspect-ratio: 1;
}

.animal-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.animal-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.animal-card:hover img {
  transform: scale(1.05);
}

/* 動物名オーバーレイ - 常時表示スタイル */
.animal-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.7));
  color: white;
  padding: 30px 15px 15px;
  opacity: 1;
  transform: translateY(0);
  transition: all 0.3s ease;
  text-align: center;
  pointer-events: none;
}

.animal-card:hover .animal-overlay {
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.85));
}

.animal-name {
  font-weight: 600;
  font-size: 16px;
  text-align: center;
  display: inline-block;
  background: rgba(0, 0, 0, 0.3);
  padding: 8px 12px;
  border-radius: 20px;
  backdrop-filter: blur(4px);
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
  margin: 0 auto;
}

/* レスポンシブ対応 */
@media screen and (max-width: 1024px) {
  .animals-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
  }
}

@media screen and (max-width: 768px) {
  .animals-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .animal-name {
    font-size: 14px;
    padding: 6px 10px;
  }

  .animal-overlay {
    padding: 20px 10px 10px;
  }

  .animal-name {
    font-size: 12px;
    padding: 5px 8px;
  }
}

.animal-card:hover::after {
  opacity: 1;
  transform: translateY(0);
}

.animal-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}

.animal-card:hover .animal-img img {
  transform: scale(1.1);
}

.animal-info {
  display: none;
  padding: 15px;
}

.animal-info h3 {
  font-size: 16px;
  margin-bottom: 5px;
  color: var(--primary-dark);
}

.animal-info p {
  color: var(--text-light);
  margin-bottom: 8px;
  font-size: 14px;
  line-height: 1.4;
}

/* 動物カテゴリータイトル */
.animal-category-title {
  color: var(--primary-dark);
  margin-bottom: 20px;
}

/* 動物カテゴリーナビ */
.animal-category-nav,
.gallery-category-nav {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 15px;
  margin-bottom: 50px;
}

.animal-nav-btn,
.gallery-nav-btn {
  background-color: var(--primary-light);
  color: white;
  padding: 10px 20px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 600;
  transition: background-color 0.3s, transform 0.2s;
}

.animal-nav-btn:hover,
.gallery-nav-btn:hover,
.gallery-nav-btn.active {
  background-color: var(--primary-dark);
  transform: translateY(-3px);
}

/* 動物セクション */
.animal-section {
  padding: 70px 0;
}

.animal-section:nth-child(odd) {
  background-color: var(--background-alt);
}

.category-info-box {
  background-color: #f0f7e6;
  border-radius: 10px;
  padding: 30px;
  margin-top: 40px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
}

.category-info-box h3 {
  color: var(--primary-dark);
  margin-bottom: 15px;
}

.category-info-box p {
  margin-bottom: 15px;
}

/* 料金プラン */
.pricing {
  background-color: var(--background-alt);
}

.pricing-container {
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
}

.pricing-card {
  background-color: white;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  flex: 1;
  max-width: 350px;
  text-align: center;
  transition: transform 0.3s;
}

.pricing-card:hover {
  transform: translateY(-10px);
}

.pricing-header {
  background-color: var(--primary);
  color: white;
  padding: 30px 20px;
  text-align: center;
}

.pricing-header h3 {
  font-size: 24px;
  margin-bottom: 15px;
}

.target-info {
  font-size: 16px;
  opacity: 0.9;
  margin-bottom: 20px;
}

.price-display {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.price-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: rgba(255, 255, 255, 0.1);
  padding: 8px 15px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.price-row.weekend {
  background-color: rgba(255, 165, 0, 0.2);
  border-color: rgba(255, 165, 0, 0.4);
}

.day-type {
  background-color: rgba(255, 255, 255, 0.3);
  padding: 2px 6px;
  border-radius: 12px;
  font-size: 11px;
  font-weight: 500;
}

.price-value {
  font-size: 20px;
  font-weight: 800;
}

.pricing-body {
  padding: 30px 20px;
}

/* 料金統合案 */
.pricing-container-unified {
  display: flex;
  justify-content: center;
}

.pricing-card-unified {
  background-color: white;
  border-radius: 15px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
  max-width: 900px;
  width: 100%;
  overflow: hidden;
}

/* デスクトップ版での文字サイズ調整と左右余白 */
@media screen and (min-width: 769px) {
  .pricing-card-unified .pricing-header h3 {
    font-size: 28px;
  }

  .pricing-card-unified .target-info {
    font-size: 18px;
  }

  .pricing-card-unified .price-table-row.header {
    font-size: 18px;
  }

  .pricing-card-unified .age-title {
    font-size: 18px;
  }

  .pricing-card-unified .age-detail {
    font-size: 14px;
  }

  .pricing-card-unified .price-weekday,
  .pricing-card-unified .price-weekend {
    font-size: 20px;
  }

  .pricing-card-unified .pricing-features h4 {
    font-size: 20px;
  }

  .pricing-card-unified .pricing-features li {
    font-size: 16px;
  }

  .pricing-card-unified .pricing-notes p {
    font-size: 16px;
  }

  /* デスクトップ版では年齢区分を右側に移動して左側に余白を作る（基本設定で既に適用済み） */
}

/* スマホ版では元の幅を維持 */
@media screen and (max-width: 768px) {
  .pricing-card-unified {
    max-width: 650px;
  }

  /* スマホ版ではスペーサーを完全に削除 */
  .desktop-spacer {
    display: none !important;
  }

  /* スマホ版ではFlexboxレイアウトに強制変更（詳細度を上げる） */
  .pricing-card-unified .price-table-row {
    display: flex !important;
    grid-template-columns: none !important;
    gap: 10px;
    padding: 15px 20px;
    align-items: center;
  }

  .pricing-card-unified .price-table-row .age-type {
    flex: 1.5;
  }

  .pricing-card-unified .price-table-row .price-weekday {
    flex: 1;
    text-align: center;
  }

  .pricing-card-unified .price-table-row .price-weekend {
    flex: 1;
    text-align: center;
  }
}

.pricing-body-unified {
  padding: 35px;
}

.price-table {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 30px;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
}

.price-table-row {
  display: grid;
  grid-template-columns: 0.5fr 1.2fr 1fr 1fr;
  gap: 8px;
  padding: 15px 20px;
  align-items: center;
}

.price-table-row.header {
  background-color: var(--primary);
  color: white;
  font-weight: 600;
  font-size: 16px;
}

.price-table-row.adult {
  background-color: #f8f9fa;
  border-left: 4px solid var(--primary);
}

.price-table-row.child {
  background-color: #fff3cd;
  border-left: 4px solid #ffc107;
}

.age-type {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.age-title {
  font-weight: 600;
  font-size: 16px;
}

.age-detail {
  font-size: 12px;
  opacity: 0.8;
}

.price-weekday,
.price-weekend {
  font-size: 18px;
  font-weight: 700;
  text-align: center;
}

.pricing-features {
  margin-bottom: 25px;
}

.pricing-features h4 {
  color: var(--primary-dark);
  margin-bottom: 15px;
  font-size: 18px;
  text-align: center;
}

.pricing-features ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.pricing-features li {
  padding: 8px 15px;
  background-color: #f8f9fa;
  border-radius: 25px;
  font-size: 14px;
  text-align: center;
}

.pricing-notes {
  background-color: #e8f5e8;
  padding: 15px;
  border-radius: 10px;
  margin-bottom: 25px;
}

.pricing-notes p {
  margin: 0;
  margin-bottom: 5px;
  font-size: 14px;
  color: #2d5a2d;
}

.pricing-notes p:last-child {
  margin-bottom: 0;
}

.unified-btn {
  display: block;
  width: 100%;
  text-align: center;
  padding: 15px;
  font-size: 16px;
  font-weight: 600;
  border-radius: 10px;
  background: linear-gradient(
    135deg,
    var(--primary) 0%,
    var(--primary-dark) 100%
  );
  transition: all 0.3s ease;
}

.unified-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(76, 175, 80, 0.3);
}

.pricing-body ul {
  list-style: none;
  margin-bottom: 30px;
}

.pricing-body ul li {
  margin-bottom: 15px;
  color: var(--text-light);
}

/* ギャラリーグリッド */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
  margin-bottom: 40px;
}

.gallery-item {
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
  position: relative;
  transition: transform 0.3s;
}

.gallery-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
}

.gallery-item img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  display: block;
  transition: transform 0.5s;
}

.gallery-item:hover img {
  transform: scale(1.1);
}

.gallery-item-info {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.7), transparent);
  padding: 20px 15px 15px;
  color: white;
  text-align: center;
}

.gallery-item-info h3 {
  font-size: 18px;
  margin-bottom: 5px;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.gallery-item-info p {
  font-size: 14px;
  opacity: 0.9;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

/* 店内ギャラリー */
.interior-gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(400px, 1fr));
  gap: 20px;
  margin-bottom: 40px;
}

.interior-gallery-item {
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

.interior-gallery-item img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.5s;
}

.interior-info {
  max-width: 800px;
  margin: 40px auto 0;
  text-align: center;
}

.interior-info h3 {
  color: var(--primary-dark);
  margin-bottom: 15px;
}

.interior-info p {
  margin-bottom: 15px;
}

/* ギャラリープレビュー */
.gallery-preview-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 15px;
  margin-bottom: 30px;
}

.gallery-preview-item {
  height: 200px;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
  cursor: pointer;
  transition: transform 0.3s;
}

.gallery-preview-item:hover {
  transform: scale(1.03);
}

.gallery-preview-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* FAQ */
.faq-container {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  margin-bottom: 20px;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

.faq-question {
  padding: 20px;
  background-color: white;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 600;
  border: none;
  width: 100%;
  text-align: left;
  font-size: inherit;
  font-family: inherit;
  color: inherit;
  transition: background-color 0.2s ease;
}

.faq-question:hover {
  background-color: rgba(76, 175, 80, 0.05);
}

.faq-question:focus {
  outline: 2px solid var(--primary);
  outline-offset: -2px;
}

.faq-answer {
  padding: 0 20px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out;
  background-color: var(--background-alt);
}

.faq-answer-content {
  padding: 20px 0;
}

.faq-item.active .faq-answer {
  max-height: 200px;
}

/* 初めての方へ */
.beginners-card {
  background-color: white;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  padding: 25px;
  margin: 0 10px;
}

.beginners-desktop-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.beginners-card-header {
  text-align: center;
  margin-bottom: 15px;
}

.beginners-card-header .icon {
  font-size: 36px;
  color: var(--primary);
}

.beginners-card-header h3 {
  margin-top: 10px;
  color: var(--primary-dark);
}

.beginners-card ul {
  padding-left: 20px;
  line-height: 1.8;
}

/* 初めての方へページ用 */
.beginners-container {
  max-width: 1000px;
  margin: 0 auto;
}

.beginners-card-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-bottom: 50px;
}

.beginners-extra-info {
  background-color: #f0f7e6;
  border-radius: 10px;
  padding: 30px;
  margin-top: 20px;
}

.beginners-extra-info h3 {
  color: var(--primary-dark);
  margin-bottom: 15px;
  text-align: center;
}

.beginners-info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 20px;
  margin-top: 30px;
}

.beginners-info-item {
  background-color: white;
  border-radius: 10px;
  padding: 20px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
}

.beginners-info-item h4 {
  color: var(--primary-dark);
  margin-bottom: 10px;
}

/* ふれあい体験のポイント */
.tips-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-bottom: 50px;
}

.tip-card {
  background-color: white;
  border-radius: 10px;
  padding: 30px 20px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s;
}

.tip-card:hover {
  transform: translateY(-5px);
}

.tip-icon {
  font-size: 40px;
  margin-bottom: 15px;
}

.tip-card h3 {
  color: var(--primary-dark);
  margin-bottom: 15px;
}

.reservation-cta {
  text-align: center;
  margin-top: 50px;
  padding: 50px 20px;
  background: linear-gradient(
    to right,
    rgba(76, 175, 80, 0.1),
    rgba(129, 199, 132, 0.1)
  );
  border-radius: 10px;
}

.reservation-cta h3 {
  color: var(--primary-dark);
  margin-bottom: 15px;
  font-size: 24px;
}

/* 予約方法 */
.reservation-methods {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-bottom: 40px;
}

.reservation-method-card {
  background-color: white;
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.method-icon {
  font-size: 40px;
  margin-bottom: 15px;
}

.reservation-method-card h3 {
  color: var(--primary-dark);
  margin-bottom: 15px;
}

.phone-number {
  font-size: 24px;
  font-weight: 700;
  color: var(--primary-dark);
  margin: 15px 0;
}

.note {
  font-size: 14px;
  color: var(--text-light);
  font-style: italic;
}

.reservation-info-box {
  background-color: #f0f7e6;
  border-radius: 10px;
  padding: 30px;
  max-width: 800px;
  margin: 0 auto;
}

.reservation-info-box h3 {
  color: var(--primary-dark);
  margin-bottom: 15px;
  text-align: center;
}

.reservation-info-box ul {
  padding-left: 20px;
  line-height: 1.8;
}

/* カレンダー */
.calendar-container {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
}

.calendar-nav {
  display: flex;
  justify-content: center;
  margin-bottom: 20px;
}

.month-title {
  text-align: center;
  margin-bottom: 15px;
  color: var(--primary-dark);
  font-size: 24px;
}

.calendar-note {
  text-align: center;
  margin-bottom: 20px;
  line-height: 1.7;
  color: var(--text-light);
}

.calendar-image-container {
  width: 100%;
  text-align: center;
  margin-bottom: 30px;
}

.calendar-image-container img {
  max-width: 100%;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.calendar-legend {
  margin-top: 50px;
  background-color: white;
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.calendar-legend h3 {
  text-align: center;
  margin-bottom: 20px;
  color: var(--primary-dark);
}

.legend-items {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.legend-item {
  display: flex;
  align-items: center;
}

.legend-color {
  width: 30px;
  height: 30px;
  border-radius: 5px;
  margin-right: 15px;
}

/* CTA Section */
.cta-content {
  text-align: center;
  padding: 50px 20px;
  background-color: white;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  max-width: 900px;
  margin: 0 auto;
}

.cta-content h2 {
  color: var(--primary-dark);
  margin-bottom: 15px;
  font-size: 32px;
}

.cta-content p {
  margin-bottom: 30px;
}

.cta-btn {
  font-size: 20px;
  padding: 15px 40px;
}

.small-text {
  font-size: 14px;
  color: var(--text-light);
  margin-top: 20px;
}

.gallery-cta {
  background-image: linear-gradient(
    to right,
    rgba(76, 175, 80, 0.1),
    rgba(129, 199, 132, 0.1)
  );
}

.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 30px;
  flex-wrap: wrap;
}

/* コンタクトセクション */
.contact-content {
  display: grid;
  grid-template-columns: 45% 55%;
  gap: 30px;
  align-items: flex-start;
}

.map-container {
  display: flex;
  align-items: flex-start;
  height: 100%;
}

.contact-info {
  background-color: #f9fbf9;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
}

.contact-info h3 {
  margin-bottom: 20px;
  color: var(--primary-dark);
}

.contact-info-item {
  display: flex;
  align-items: center;
  margin-bottom: 12px;
}

.contact-info-item i {
  min-width: 24px;
  margin-right: 10px;
  font-style: normal;
}

.contact-info-item p {
  margin: 0;
}

.map {
  width: 100%;
  height: 100%;
  min-height: 340px;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
}

.map iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

/* フッター */
footer {
  background-color: var(--primary-dark);
  color: white;
  padding: 50px 0 20px;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  margin-bottom: 40px;
}

.footer-logo {
  flex: 1;
}

.footer-logo p {
  color: rgba(255, 255, 255, 0.8);
  max-width: 300px;
}

.footer-links {
  flex: 1;
}

.footer-links h3 {
  font-size: 18px;
  margin-bottom: 20px;
  color: var(--accent);
}

.footer-links ul {
  list-style: none;
}

.footer-links ul li {
  margin-bottom: 10px;
}

.footer-links ul li a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  transition: color 0.3s;
}

.footer-links ul li a:hover {
  color: white;
}

.footer-bottom {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* レスポンシブスタイル */
@media screen and (max-width: 992px) {
  .about-content {
    flex-direction: column;
  }

  .about-full-content.active {
    max-height: 1200px;
  }

  .animals-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
  }

  .pricing-container {
    flex-direction: column;
    align-items: center;
  }

  .contact-content {
    flex-direction: column;
  }

  .interior-gallery-grid {
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  }

  .beginners-info-grid {
    grid-template-columns: 1fr;
  }
}

@media screen and (max-width: 768px) {
  .nav-menu {
    position: fixed;
    top: 55px;
    left: 0;
    width: 100%;
    background-color: white;
    flex-direction: column;
    padding: 0;
    margin: 0;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    z-index: 999;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
  }

  .nav-menu.active {
    max-height: 400px;
  }

  .mobile-menu-btn {
    display: flex;
  }

  .hero {
    height: 100vh;
    text-align: center;
    padding: 20px 0;
    background: linear-gradient(
        135deg,
        rgba(76, 175, 80, 0.1) 0%,
        rgba(0, 0, 0, 0.7) 50%,
        rgba(174, 213, 129, 0.1) 100%
      ),
      url("images/site/store-interior.webp") center/cover no-repeat;
    background-attachment: fixed !important;
    background-position: center center;
    background-size: cover;
    background-repeat: no-repeat;
    position: relative;
    -webkit-background-attachment: fixed !important;
    transform: translateZ(0);
    will-change: transform;
    margin-top: 0;
  }

  .hero-content {
    padding: 20px 15px 0;
    margin-top: 20px;
  }

  /* モバイルでの展開レイアウト調整 */
  .about-expanded-layout {
    flex-direction: column;
    gap: 20px;
  }

  .about-image {
    display: none;
  }

  /* モバイルでの説明文調整 */
  .about-summary-card {
    padding: 25px 20px;
    margin-bottom: 20px;
  }

  .summary-text {
    font-size: 16px;
    line-height: 1.7;
  }

  .feature-tag {
    font-size: 12px;
    padding: 6px 12px;
  }

  .summary-features {
    gap: 8px;
  }

  .location-highlight {
    margin-left: 0;
    margin-right: 0;
    justify-content: center;
  }

  .about-summary-section {
    text-align: center;
    margin-bottom: 20px;
  }

  /* 料金セクションをスマホ版で横並び */
  .pricing .pricing-container {
    display: flex !important;
    flex-direction: row !important;
    gap: 15px !important;
    flex-wrap: nowrap !important;
    justify-content: space-between !important;
  }

  .pricing .pricing-card {
    flex: 1 !important;
    max-width: none !important;
    min-width: 0 !important;
    width: calc(50% - 7.5px) !important;
  }

  .pricing-header {
    padding: 20px 15px;
  }

  .pricing-header h3 {
    font-size: 18px;
    margin-bottom: 8px;
  }

  .target-info {
    font-size: 15px;
    margin-bottom: 15px;
  }

  .price-display {
    gap: 6px;
  }

  .price-row {
    padding: 6px 10px;
  }

  .day-type {
    font-size: 12px;
  }

  .price-value {
    font-size: 18px;
  }

  .pricing-body {
    padding: 20px 15px;
  }

  .pricing-body ul li {
    font-size: 13px;
    margin-bottom: 8px;
    opacity: 0.8;
  }

  .pricing-body .btn {
    padding: 12px 16px;
    font-size: 14px;
    border-radius: 20px;
  }

  .hero-logo {
    width: 140px;
    height: 140px;
    margin-bottom: 20px;
  }

  .hero h2 {
    font-size: 28px;
    margin-bottom: 10px;
    line-height: 1.3;
  }

  .hero-subtitle {
    font-size: 18px;
    margin-bottom: 25px;
  }

  .hero p {
    font-size: 16px;
    margin-bottom: 25px;
    line-height: 1.5;
  }

  .hero .btn {
    display: block;
    width: 80%;
    max-width: 300px;
    margin: 10px auto;
    padding: 15px 20px;
    font-size: 16px;
  }

  .hero-description-full {
    display: none;
  }

  .hero-description-mobile {
    display: block;
  }

  /* 動物カテゴリーの1列表示 */
  .animals-category-preview {
    grid-template-columns: 1fr;
    gap: 20px;
    max-width: 400px;
    margin: 0 auto;
  }

  .category-preview-item {
    display: flex;
    align-items: center;
    text-align: left;
    padding: 15px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  }

  .category-preview-img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 15px;
    flex-shrink: 0;
  }

  .category-preview-content {
    flex: 1;
  }

  .category-preview-item h3 {
    margin: 0 0 8px 0;
    font-size: 18px;
  }

  .category-preview-item p {
    margin: 0;
    font-size: 14px;
    line-height: 1.4;
  }

  /* フローティングアクションボタン */
  .floating-action-buttons {
    position: fixed;
    bottom: 20px;
    right: 20px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    z-index: 1000;
  }

  .fab-phone,
  .fab-reservation {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
    transform: scale(1);
  }

  .fab-phone {
    background-color: #4caf50;
  }

  .fab-reservation {
    background-color: #388e3c;
  }

  .fab-phone:hover,
  .fab-reservation:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
  }

  .fab-icon {
    font-size: 24px;
    color: white;
  }

  /* About セクションのアコーディオン */
  .about-details {
    margin-top: 15px;
  }

  .about-toggle {
    background: none;
    border: 2px solid var(--primary);
    color: var(--primary);
    padding: 8px 16px;
    border-radius: 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s ease;
    font-family: inherit;
  }

  .about-toggle:hover {
    background-color: var(--primary);
    color: white;
  }

  .about-toggle:focus {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
  }

  .about-full-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
    padding: 0;
    margin-top: 15px;
  }

  .about-full-content.active {
    max-height: 1000px;
    padding: 15px 0;
  }

  .about-full-content p {
    margin-bottom: 15px;
    line-height: 1.6;
  }

  .section {
    padding: 30px 0;
  }

  .section-title {
    margin-bottom: 25px;
  }

  .section-title h2 {
    font-size: 26px;
    margin-bottom: 10px;
  }

  /* 料金セクションのコンパクト化 */
  .pricing-container {
    flex-direction: column;
    gap: 20px;
    max-width: 400px;
    margin: 0 auto;
  }

  .pricing-card {
    max-width: none;
  }

  .pricing-header {
    padding: 25px 20px;
  }

  .pricing-body {
    padding: 25px 20px;
  }

  .pricing-body ul li {
    margin-bottom: 10px;
    font-size: 15px;
  }

  /* コンタクトセクションの調整 */
  .contact-content {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .contact-info {
    margin-bottom: 15px;
  }

  .map {
    min-height: 250px;
  }

  .footer-content {
    flex-direction: column;
    gap: 30px;
  }

  .gallery-grid {
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  }

  .gallery-item img {
    height: 200px;
  }

  .animal-nav-btn,
  .gallery-nav-btn {
    padding: 8px 15px;
    font-size: 14px;
  }

  .page-title {
    padding: 15px 0 15px;
  }

  .page-title h1 {
    font-size: 30px;
  }

  .page-title p {
    font-size: 16px;
    line-height: 1.5;
  }

  .contact-info {
    margin-bottom: 20px;
  }

  .map {
    min-height: 300px;
  }

  .cta-content h2 {
    font-size: 26px;
  }

  .cta-btn {
    font-size: 18px;
    padding: 12px 30px;
  }

  .calendar-image-container {
    margin-bottom: 20px;
  }

  .reservation-methods {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .tip-card {
    padding: 20px 15px;
  }

  .tip-icon {
    font-size: 30px;
  }
}

/* 上記の重複したモバイルメニュースタイルは削除（既に統合済み） */

/* モバイル専用スタイル統合 */
@media screen and (max-width: 768px) {
  /* ヘッダー調整 */
  header {
    height: auto;
  }

  .header-content {
    padding: 8px 0;
  }

  .logo img {
    height: 35px;
    width: 35px;
    min-width: 35px;
    margin-right: 10px;
    object-fit: cover;
    border-radius: 50%;
    border: 2px solid #aed581;
    padding: 2px;
    background-color: white;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
  }

  .logo h1 {
    font-size: 18px;
  }

  /* ヒーローセクション調整 */
  .hero {
    margin-top: 0;
    padding-top: 70px;
  }

  /* メニュー項目の調整 */
  .nav-menu li a {
    display: block;
    padding: 12px 20px;
    width: 100%;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  }

  .nav-menu li:last-child a {
    border-bottom: none;
  }
}

@media screen and (max-width: 480px) {
  .animals-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .animal-img {
    height: 150px;
  }

  .animal-info {
    padding: 12px;
  }

  .animal-info h3 {
    font-size: 14px;
  }

  .animal-info p {
    font-size: 12px;
  }

  .section-title h2 {
    font-size: 24px;
  }

  .hero-logo {
    width: 120px !important;
    height: 120px !important;
  }

  .hero-logo-link::after {
    font-size: 12px !important;
    padding: 5px 12px !important;
    bottom: 30px !important;
  }

  .hero-logo-link:hover::after {
    transform: translateX(-50%) scale(1) !important;
  }

  .animal-nav-btn,
  .gallery-nav-btn {
    padding: 6px 12px;
    font-size: 13px;
  }

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

  .cta-content h2 {
    font-size: 22px;
  }

  .cta-btn {
    font-size: 16px;
    padding: 10px 25px;
  }

  /* 極小画面でのロゴサイズ調整 */
  .logo img {
    height: 30px;
    width: 30px;
    min-width: 30px;
    margin-right: 8px;
  }

  .logo h1 {
    font-size: 16px;
  }
}

/* モバイル/デスクトップ動物セクション表示制御 */
/* デスクトップ: ナビゲーション表示、モバイルアコーディオン非表示、メインセクション表示 */
@media screen and (min-width: 769px) {
  .desktop-animal-nav {
    display: flex;
  }

  .animal-category-mobile {
    display: none;
  }

  .animal-section {
    display: block;
  }

  /* ふれあい体験のご案内セクション専用スタイル（デスクトップ版のみ） */
  section.tips .section-title {
    margin-bottom: 20px !important;
  }

  /* セクション間の余白を調整（デスクトップ版のみ） */
  section.animals-gallery {
    padding-bottom: 60px !important;
  }

  section.tips {
    padding-top: 60px !important;
  }
}

/* モバイル: ナビゲーション非表示、モバイルアコーディオン表示、メインセクション非表示 */
@media screen and (max-width: 768px) {
  .desktop-animal-nav {
    display: none;
  }

  .animal-category-mobile {
    display: block;
  }

  .animal-section {
    display: none;
  }
}

/* 動物カテゴリーアコーディオンのスタイル */
.animal-category {
  margin-bottom: 20px;
  border: 1px solid rgba(76, 175, 80, 0.2);
  border-radius: 8px;
  overflow: hidden;
  background-color: white;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.animal-category-header {
  padding: 15px 20px;
  background-color: var(--primary-light);
  color: white;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background-color 0.3s ease;
}

.animal-category-header:hover {
  background-color: var(--primary-dark);
}

.animal-category-header h3 {
  margin: 0;
  font-size: 18px;
  font-weight: 600;
}

.toggle-icon {
  font-size: 16px;
  transition: transform 0.3s ease;
}

.animal-category-header.active .toggle-icon {
  transform: rotate(180deg);
}

.animal-category-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease-out, padding 0.4s ease-out;
  padding: 0 20px;
  background-color: var(--background-alt);
}

.animal-category-content.active {
  padding: 20px;
}

/* 動物詳細モーダル */
.animal-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 9999;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.animal-modal.active {
  opacity: 1;
  visibility: visible;
}

.modal-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  cursor: pointer;
}

.modal-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.8);
  background-color: white;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  max-width: 600px;
  max-height: 80vh;
  width: 90%;
  transition: transform 0.3s ease;
}

.animal-modal.active .modal-content {
  transform: translate(-50%, -50%) scale(1);
}

.modal-close {
  position: absolute;
  top: 15px;
  right: 15px;
  background: rgba(0, 0, 0, 0.5);
  color: white;
  border: none;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  font-size: 20px;
  cursor: pointer;
  z-index: 10;
  transition: background-color 0.3s ease;
}

.modal-close:hover {
  background: rgba(0, 0, 0, 0.7);
}

.modal-image {
  height: 300px;
  overflow: hidden;
}

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

.modal-info {
  padding: 25px;
}

.modal-info h2 {
  color: var(--primary-dark);
  font-size: 24px;
  margin-bottom: 8px;
}

.modal-info h3 {
  color: var(--text-light);
  font-size: 18px;
  margin-bottom: 15px;
  font-weight: normal;
}

.modal-info p {
  color: var(--text);
  line-height: 1.6;
  margin-bottom: 20px;
  font-size: 16px;
}

.modal-actions {
  text-align: center;
}

.modal-reservation-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 25px;
  font-size: 16px;
  text-decoration: none;
}

.modal-reservation-btn span {
  font-size: 18px;
}

/* モバイル対応 */
@media screen and (max-width: 768px) {
  .modal-content {
    width: 95%;
    max-height: 85vh;
  }

  .modal-image {
    height: 250px;
  }

  .modal-info {
    padding: 20px;
  }

  .modal-info h2 {
    font-size: 20px;
  }

  .modal-info h3 {
    font-size: 16px;
  }

  .modal-info p {
    font-size: 14px;
  }
}
