/*
Theme Name: Lightning Child (Opal)
Theme URI: 
Template: lightning
Description: 
Author: 
*/

/* ================================================
   平日/土日切り替えボタン
   ================================================ */
.opal-menu-day-toggle {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin: 30px 0;
  flex-wrap: wrap;
}

.opal-day-btn {
  padding: 12px 30px;
  font-size: 16px;
  font-weight: bold;
  border: 2px solid #ddd;
  background: #f5f5f5;
  border-radius: 25px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.opal-day-btn:hover {
  background: #e8e8e8;
  transform: translateY(-2px);
}

.opal-day-btn.active {
  background: linear-gradient(135deg, #ff9a56 0%, #ff6b35 100%);
  color: white;
  border-color: #ff6b35;
  box-shadow: 0 4px 12px rgba(255, 107, 53, 0.3);
}

/* ================================================
   平日/土日バッジスタイル
   ================================================ */
.opal-day-badge {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 12px;
  font-size: 12px;
  font-weight: bold;
  margin-right: 8px;
  white-space: nowrap;
}

.opal-weekday-badge {
  background: #4a90e2;
  color: white;
}

.opal-weekend-badge {
  background: #ff6b35;
  color: white;
}

/* ================================================
   注釈テキスト
   ================================================ */
.opal-menu-notice {
  text-align: center;
  color: #666;
  margin-bottom: 20px;
}

.opal-menu-notice .opal-weekday-label {
  color: #4a90e2;
  font-weight: bold;
}

.opal-menu-notice .opal-weekend-label {
  color: #ff6b35;
  font-weight: bold;
}

/* ================================================
   メニューアイテム
   ================================================ */
.opal-menu-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 16px;
  margin-bottom: 8px;
  background: white;
  border-radius: 8px;
  border-left: 4px solid transparent;
  transition: all 0.2s;
}

.opal-menu-item:hover {
  background: #fff9f0;
  transform: translateX(4px);
}

/* 平日限定 */
.opal-menu-item.opal-weekday-only {
  border-left-color: #4a90e2;
}

.opal-menu-item.opal-weekday-only.opal-hide-weekday {
  display: none;
}

/* 土日限定 */
.opal-menu-item.opal-weekend-only {
  border-left-color: #ff6b35;
}

.opal-menu-item.opal-weekend-only.opal-hide-weekend {
  display: none;
}

/* ================================================
   価格表示
   ================================================ */
.opal-menu-price {
  font-weight: bold;
  color: #ff6b35;
  font-size: 18px;
  white-space: nowrap;
}

/* ================================================
   メニューセクション(カード風)
   ================================================ */
.opal-menu-section {
  background: linear-gradient(135deg, #fff9f0 0%, #ffe8d6 100%);
  border-radius: 12px;
  padding: 24px;
  margin-bottom: 24px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.opal-menu-section h2 {
  border-left: 5px solid #ff6b35;
  padding-left: 15px;
  margin-bottom: 20px;
  color: #333;
}

.opal-menu-section h3 {
  color: #555;
  font-size: 18px;
  margin-top: 20px;
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 2px dotted #ddd;
}

/* ================================================
   アコーディオン(詳細ブロック)スタイル
   ================================================ */
.wp-block-details summary {
  font-size: 20px;
  font-weight: bold;
  padding: 15px;
  background: #f8f8f8;
  border-radius: 8px;
  cursor: pointer;
  user-select: none;
  transition: all 0.3s ease;
}

.wp-block-details summary:hover {
  background: #ffe8d6;
}

.wp-block-details[open] summary {
  background: #ff6b35;
  color: white;
  margin-bottom: 15px;
}

/* ================================================
   特殊セクション背景色
   ================================================ */
.opal-system-section {
  background: linear-gradient(135deg, #e3f2fd 0%, #bbdefb 100%) !important;
}

.opal-limited-section {
  background: linear-gradient(135deg, #fff3e0 0%, #ffe0b2 100%) !important;
  border: 3px dashed #ff9800 !important;
}

.opal-amusement-section {
  background: linear-gradient(135deg, #f3e5f5 0%, #e1bee7 100%) !important;
}

/* ================================================
   CTAセクション
   ================================================ */
.opal-cta-section {
  background: linear-gradient(135deg, #ff9a56 0%, #ff6b35 100%);
  color: white;
  padding: 40px;
  text-align: center;
  border-radius: 12px;
  margin-top: 40px;
}

.opal-cta-section h2 {
  color: white !important;
  border: none !important;
  padding: 0 !important;
  margin-bottom: 20px;
}

.opal-cta-section p {
  font-size: 18px;
  margin-bottom: 30px;
}

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

.opal-cta-buttons .wp-block-button__link {
  padding: 12px 30px;
  border-radius: 25px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
}

.opal-cta-buttons {
  background: white !important;
  color: #ff6b35 !important;
}

.opal-cta-buttons:hover {
  background: #f5f5f5 !important;
  transform: translateY(-2px);
}

.opal-cta-btn-secondary {
  background: rgba(255,255,255,0.2) !important;
  color: white !important;
  border: 2px solid white !important;
}

.opal-cta-btn-secondary:hover {
  background: rgba(255,255,255,0.3) !important;
  transform: translateY(-2px);
}

/* ================================================
   レスポンシブデザイン
   ================================================ */
@media (max-width: 768px) {
  .opal-menu-item {
    flex-direction: column;
    align-items: flex-start;
  }
  
  .opal-menu-price {
    margin-top: 8px;
    align-self: flex-end;
  }
  
  .opal-menu-section {
    padding: 16px;
  }
  
  .opal-menu-section h2 {
    font-size: 20px;
  }
  
  .opal-day-btn {
    padding: 10px 20px;
    font-size: 14px;
  }
  
  .opal-cta-section {
    padding: 30px 20px;
  }
  
  .opal-cta-section p {
    font-size: 16px;
  }
}