.navbar-nav .nav-link.active {
  color: var(--primary-color) !important;
  font-weight: 500;
  position: relative;
}

.navbar-nav .nav-link.active::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: var(--primary-color);
  transition: none !important; /* トランジションを無効化 */
}

.navbar .container {
  display: flex;
  align-items: center; /* ←修正: コンテナ内の項目も上下中央揃えに */
}

.navbar-collapse {
  display: flex;
  align-items: center; /* ←修正: 展開メニューも上下中央揃えに */
}

.gallery-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.3);
  z-index: 90;
  pointer-events: none;
}

.btn-view-more {
  background-color: var(--secondary-color);
  color: white;
  padding: 12px 30px;
  border-radius: 30px;
  font-weight: 500;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-block;
}

.btn-view-more:hover {
  background-color: var(--primary-color);
  color: white;
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.btn-view-more i {
  margin-left: 8px;
}

.apparel-note {
  font-size: 0.8rem;
  color: #777;
}

/* 全体スタイル */
@font-face {
  font-family: 'SectionTitle';
  src: url('../fonts/SectionTitle.otf') format('opentype');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

:root {
  --primary-color: #543c28;
  --secondary-color: #a87c4f;
  --accent-color: #d4a373;
  --light-color: #f5f5f5;
  --dark-color: #333333;
  --text-color: #4a4a4a;
  --overlay-color: rgba(0, 0, 0, 0.5);
}

body {
  font-family: 'Poppins', sans-serif;
  color: var(--text-color);
  overflow-x: hidden;
  scroll-behavior: smooth;
}

section {
  padding: 80px 0;
}

.section-title {
  font-family: 'SectionTitle', serif;
  font-weight: 600;
  margin-bottom: 15px;
  color: var(--primary-color);
  text-align: center;
  font-size: 2.5rem;
}

.section-description {
  text-align: center;
  margin-bottom: 40px;
  color: var(--secondary-color);
  font-family: 'Noto Sans JP', sans-serif !important;
  font-weight: 300;
  letter-spacing: 0.03em;
}

/* ナビゲーション */
.navbar {
  background-color: rgba(0, 0, 0, 0.3);
  transition: background-color 0.3s ease;
  padding: 15px 0;
  z-index: 1000; /* ←修正: z-indexを高く設定して最前面に表示 */
}

/* スクロール時の変化を削除 - 常に同じ見た目に */

.navbar-brand .logo {
  height: 40px;
}

.navbar-nav .nav-link {
  color: var(--light-color);
  font-weight: 500;
  margin: 0 10px;
  transition: color 0.3s ease;
/* 以前のシャドウ定義を完全に削除 */ /* テキストに影を追加して視認性向上 */
}

.navbar.scrolled .nav-link {
  color: var(--dark-color);
  text-shadow: none; /* スクロール時は影を削除 */
}

.navbar-nav .nav-link:hover {
  color: var(--accent-color);
}

.navbar-toggler {
  border: none;
}

/* ヒーローセクション */
.hero-section {
  height: 100vh;
  position: relative;
  overflow: hidden;
  padding-top: 70px; /* ←修正: ナビゲーションバーの高さ分のパディングを追加 */
}

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

.swiper-slide {
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  position: relative;
}

.swiper-slide::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--overlay-color);
}

.hero-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 10;
  text-align: center;
  width: 90%;
  max-width: 800px;
}

.hero-logo {
  max-width: 250px;
  margin-bottom: 30px;
}

.hero-title {
  color: var(--light-color);
  font-size: 2.5rem;
  margin-bottom: 20px;
  font-weight: 300;
}

/* メニューセクション */
.menu-section {
  background-color: var(--light-color);
}

.menu-item {
  margin-bottom: 30px;
}

.card:hover {
  transform: translateY(-15px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 12px;
  box-shadow: 0 0 0 2px var(--accent-color);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.card:hover::after {
  opacity: 0.3;
}

.card-img-top {
  height: 200px;
  object-fit: cover;
}

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

.card-body {
  padding: 24px;
  position: relative;
}

.card-title {
  color: var(--primary-color);
  font-weight: 600;
  margin-bottom: 12px;
  font-size: 1.25rem;
  position: relative;
  display: inline-block;
}

.card-title::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 40px;
  height: 2px;
  background-color: var(--accent-color);
  transition: width 0.3s ease;
}

.card:hover .card-title::after {
  width: 100%;
}

.card-text {
  color: #6c757d;
  margin-bottom: 16px;
  line-height: 1.5;
}

.price {
  color: var(--secondary-color);
  font-weight: 700;
  margin-top: 14px;
  font-size: 1.2rem;
  display: inline-block;
  position: relative;
  padding: 5px 0;
}

/* Other drinks list styling */
.other-drinks-list {
  max-width: 600px;
  margin: 0 auto;
  padding: 40px 20px;
}

.other-drink-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 0;
  border-bottom: 1px solid #e8e8e8;
  transition: all 0.3s ease;
}

.other-drink-item:last-child {
  border-bottom: none;
}

.other-drink-item:hover {
  background-color: rgba(168, 124, 79, 0.05);
  padding-left: 10px;
  padding-right: 10px;
  margin: 0 -10px;
  border-radius: 8px;
}

.other-drink-info h5 {
  font-family: 'SectionTitle', serif !important;
  font-size: 1.3rem;
  color: var(--primary-color);
  margin-bottom: 5px;
  font-weight: 600;
}

.other-drink-info p {
  font-family: 'Noto Sans JP', sans-serif !important;
  font-size: 0.9rem;
  color: #666;
  margin: 0;
  font-weight: 300;
  letter-spacing: 0.03em;
}

.other-drink-price {
  font-family: 'SectionTitle', serif !important;
  font-size: 1.2rem;
  color: var(--secondary-color);
  font-weight: 700;
  min-width: 80px;
  text-align: right;
}

/* コーヒー豆のこだわりセクション */
.coffee-beans-section {
  padding: 100px 0;
  background-color: #fff;
  overflow: hidden;
}

.coffee-beans-content {
  padding-right: 40px;
}

.section-subtitle {
  color: var(--secondary-color);
  margin-bottom: 30px;
  font-size: 1.1rem;
}

.coffee-beans-description p {
  color: #666;
  line-height: 1.8;
  margin-bottom: 20px;
}

.coffee-features {
  list-style: none;
  padding: 0;
  margin: 25px 0 30px;
}

.coffee-features li {
  margin-bottom: 15px;
  position: relative;
  padding-left: 30px;
  color: #555;
}

.coffee-features li i {
  color: var(--secondary-color);
  position: absolute;
  left: 0;
  top: 5px;
}

.btn-coffee {
  background-color: var(--primary-color);
  color: white;
  padding: 12px 25px;
  border-radius: 30px;
  font-weight: 500;
  font-family: 'Noto Sans JP', sans-serif;
  letter-spacing: 0.05em;
  border: none;
  transition: all 0.3s ease;
  display: inline-block;
  text-decoration: none;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.btn-coffee:hover {
  background-color: var(--secondary-color);
  color: white;
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.btn-coffee i {
  margin-left: 8px;
  transition: transform 0.3s ease;
}

.btn-coffee:hover i {
  transform: translateX(5px);
}

.coffee-beans-image {
  position: relative;
}

.image-container {
  overflow: hidden;
  border-radius: 10px;
  box-shadow: 0 15px 45px rgba(0, 0, 0, 0.1);
  position: relative;
}

.image-container:before {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  background: linear-gradient(135deg, rgba(168, 124, 79, 0.3) 0%, rgba(84, 60, 40, 0.1) 100%);
  z-index: 1;
}

.image-container img {
  transition: transform 0.7s ease;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

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

/* ドリンクセクション */
.drink-section {
  background-color: #fff;
}

.menu-tabs {
  justify-content: center;
  border-bottom: none;
  margin-bottom: 30px;
}

.nav-tabs .nav-link {
  border: none;
  color: var(--secondary-color);
  font-weight: 500;
  padding: 10px 20px;
  border-radius: 20px;
  transition: all 0.3s ease;
}

.nav-tabs .nav-link.active {
  background-color: var(--secondary-color);
  color: var(--light-color);
}

/* アパレルセクション */
.apparel-section {
  padding: 80px 0 0 0;
  background-color: #f9f9f9;
}

.apparel-gallery-container {
  position: relative;
  width: 100%;
  height: 550px;
  margin-top: 40px;
  overflow: hidden;
}

.apparel-gallery-swiper {
  width: 100%;
  height: 100%;
}

.apparel-gallery-item {
  height: 100%;
  width: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.apparel-gallery-item img {
  height: 100%;
  width: auto;
  object-fit: cover;
  display: block;
}

.btn-gallery-view {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 100;
  background-color: rgba(255, 255, 255, 0.15);
  color: white;
  padding: 15px 40px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 30px;
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 300;
  font-size: 1.1rem;
  letter-spacing: 0.05em;
  text-decoration: none;
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
  transition: all 0.4s ease;
}

.btn-gallery-view:hover {
  background-color: rgba(255, 255, 255, 0.25);
  color: white;
  transform: translate(-50%, -50%) scale(1.05);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

/* ギャラリーセクション */
.gallery-section {
  padding: 80px 0 0 0;
  background-color: #f9f9f9;
  overflow: hidden;
}

.gallery-banner {
  width: 100%;
  height: 500px;
  position: relative;
  margin-top: 40px;
  overflow: hidden;
}

.gallery-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.3);
  z-index: 10;
  pointer-events: none;
}

.gallery-scroll-container {
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.gallery-scroll-content {
  display: flex;
  height: 100%;
  animation: scrollGallery 30s linear infinite;
}

@keyframes scrollGallery {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(calc(-100% / 9 * 6)); /* 6枚の画像分スクロール */
  }
}

.gallery-img {
  height: 100%;
  width: auto;
  flex-shrink: 0;
  object-fit: cover;
}

.btn-gallery-more {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 20;
  background-color: transparent;
  color: white;
  padding: 15px 40px;
  border: 2px solid white;
  border-radius: 30px;
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 300;
  font-size: 1.1rem;
  letter-spacing: 0.05em;
  text-decoration: none;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
  transition: all 0.4s ease;
}

.btn-gallery-more:hover {
  background-color: rgba(255, 255, 255, 0.1);
  color: white;
  transform: translate(-50%, -50%) scale(1.05);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

/* お問い合わせセクション */
.contact-section {
  background-color: #fff;
}

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

.info-list {
  list-style: none;
  padding: 0;
  margin: 20px 0;
}

.info-list li {
  margin-bottom: 15px;
  display: flex;
  align-items: center;
}

.info-list li i {
  color: var(--secondary-color);
  width: 25px;
  margin-right: 10px;
}

.social-links {
  margin-top: 30px;
}

.social-links a {
  display: inline-block;
  width: 40px;
  height: 40px;
  line-height: 40px;
  text-align: center;
  background-color: var(--secondary-color);
  color: white;
  border-radius: 50%;
  margin-right: 10px;
  transition: all 0.3s ease;
}

.social-links a:hover {
  background-color: var(--primary-color);
  transform: translateY(-3px);
}

.contact-form .form-control {
  border-radius: 0;
  padding: 12px 15px;
  margin-bottom: 15px;
  border: 1px solid #ddd;
}

.contact-form textarea.form-control {
  min-height: 150px;
}

.contact-form .btn {
  background-color: var(--secondary-color);
  border: none;
  padding: 12px 30px;
  border-radius: 30px;
  color: white;
  font-weight: 500;
  transition: background-color 0.3s ease;
}

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

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

.footer-logo {
  height: 50px;
  margin-bottom: 15px;
}

.privacy-link {
  color: var(--light-color);
  text-decoration: none;
  margin-left: 15px;
  transition: color 0.3s ease;
}

.privacy-link:hover {
  color: var(--accent-color);
}