/* 営業時間ドロップダウンスタイル */
.hours-dropdown {
  position: relative;
  display: inline-block;
  margin-right: 1rem;
}

.hours-btn {
  background-color: transparent;
  color: #fff;
  padding: 0.5rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 4px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: 'Noto Serif JP', serif;
  font-size: 0.9rem;
  transition: all 0.3s ease;
}

.hours-btn:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

.header.scrolled .hours-btn {
  color: var(--primary-color);
  border-color: rgba(0, 0, 0, 0.1);
}

.header.scrolled .hours-btn:hover {
  background-color: rgba(0, 0, 0, 0.05);
}

.hours-content {
  display: none;
  position: absolute;
  right: 0;
  background-color: #fff;
  min-width: 250px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
  z-index: 1;
  border-radius: 4px;
  padding: 1rem;
  margin-top: 0.5rem;
  opacity: 0;
  transform: translateY(-10px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.hours-dropdown:hover .hours-content {
  display: block;
  opacity: 1;
  transform: translateY(0);
}

.hours-item {
  display: flex;
  justify-content: space-between;
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

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

.day-name {
  font-weight: 600;
  color: var(--primary-color);
  min-width: 60px;
}

.day-hours {
  color: #666;
  text-align: right;
  line-height: 1.4;
}

/* 夜モード用スタイル */
.night-mode .hours-btn {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.3);
}

.night-mode .hours-btn:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

.night-mode .hours-content {
  background-color: #262626;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
}

.night-mode .hours-item {
  border-bottom-color: rgba(255, 255, 255, 0.1);
}

.night-mode .day-name {
  color: var(--accent-color);
}

.night-mode .day-hours {
  color: #e0e0e0;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
  .hours-dropdown {
    margin-right: 0.5rem;
  }
  
  .hours-btn {
    padding: 0.4rem 0.8rem;
    font-size: 0.8rem;
  }
  
  .hours-content {
    min-width: 220px;
    right: -70px;
  }
  
  .hours-content::before {
    right: 85px;
  }
}

/* ドロップダウン矢印 */
.hours-content::before {
  content: '';
  position: absolute;
  top: -10px;
  right: 20px;
  border-left: 10px solid transparent;
  border-right: 10px solid transparent;
  border-bottom: 10px solid #fff;
}

.night-mode .hours-content::before {
  border-bottom-color: #262626;
}

/* アニメーション */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hours-content {
  animation: fadeIn 0.3s ease-out forwards;
}
