/* =====================================
   ELEGANT DESIGN CSS - すべてのセクション
   ===================================== */

/* ----------------------------------------
   1. HEADER / NAVIGATION - エレガント化
   ---------------------------------------- */

/* Navigation bar - More sophisticated styling */
nav, .menu, [role="navigation"], .wp-block-navigation {
  background: linear-gradient(135deg, #d4889a 0%, #b86b82 50%, #a85574 100%) !important;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.18), 0 2px 8px rgba(0, 0, 0, 0.12) !important;
  backdrop-filter: blur(10px) !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
  transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94) !important;
  padding: 16px 0 !important;
}

/* Navigation links - Elegant typography */
nav a, .menu a, nav li a, .wp-block-navigation a, a[role="menuitem"] {
  color: #ffffff !important;
  font-weight: 500 !important;
  font-size: 15px !important;
  letter-spacing: 0.08em !important;
  text-transform: none !important;
  position: relative !important;
  transition: all 0.3s ease !important;
  padding: 12px 20px !important;
  display: inline-block !important;
  border-radius: 4px !important;
}

/* Navigation hover - Elegant effect */
nav a:hover, .menu a:hover, nav li a:hover, .wp-block-navigation a:hover, a[role="menuitem"]:hover {
  background-color: rgba(0, 0, 0, 0.12) !important;
  color: #fffacd !important;
  font-weight: 600 !important;
  box-shadow: 0 6px 16px rgba(255, 215, 0, 0.2) !important;
  border-bottom: 2px solid #ffd700 !important;
  transform: translateY(-2px) !important;
  text-shadow: 0 2px 8px rgba(255, 215, 0, 0.3) !important;
}

/* ----------------------------------------
   2. HERO SECTION - エレガント化
   ---------------------------------------- */

/* Hero Section - Only outer container */
.kuwae-hero {
  /* Background handled by inline styles in index.php */
}

.hero-section {
  /* Background handled by inline styles in index.php */
}

.kuwae-hero h1, .kuwae-hero h2, .hero-section h1, .hero-section h2 {
  font-size: 48px !important;
  font-weight: 700 !important;
  letter-spacing: -0.02em !important;
  line-height: 1.2 !important;
  color: #2c1810 !important;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.05) !important;
  margin-bottom: 20px !important;
}

.kuwae-hero p, .hero-section p {
  font-size: 18px !important;
  font-weight: 400 !important;
  letter-spacing: 0.02em !important;
  color: #54453a !important;
  line-height: 1.6 !important;
  max-width: 600px !important;
}

/* ----------------------------------------
   3. NEWS TICKER - エレガント化
   ---------------------------------------- */

.kuwae-news-ticker, .news-section {
  padding: 40px !important;
  background: linear-gradient(180deg, #faf8f3 0%, #f5f1e8 100%) !important;
}

.kuwae-news-ticker .news-item, .news-section .news-item, [class*="news"] li {
  background: #ffffff !important;
  border-left: 4px solid #d4889a !important;
  box-shadow: 0 4px 16px rgba(212, 136, 154, 0.12), 0 2px 4px rgba(0, 0, 0, 0.04) !important;
  border-radius: 8px !important;
  padding: 24px !important;
  margin-bottom: 16px !important;
  transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94) !important;
  backdrop-filter: blur(4px) !important;
}

.kuwae-news-ticker .news-item:hover, .news-section .news-item:hover, [class*="news"] li:hover {
  box-shadow: 0 12px 32px rgba(212, 136, 154, 0.2), 0 4px 12px rgba(0, 0, 0, 0.08) !important;
  transform: translateY(-4px) !important;
  border-left-color: #a85574 !important;
}

.kuwae-news-ticker .news-title, .news-section .news-title, [class*="news"] .title {
  font-size: 16px !important;
  font-weight: 600 !important;
  letter-spacing: 0.05em !important;
  color: #2c1810 !important;
  margin-bottom: 8px !important;
}

.kuwae-news-ticker .news-date, .news-section .news-date, [class*="news"] .date {
  font-size: 13px !important;
  font-weight: 500 !important;
  color: #b86b82 !important;
  letter-spacing: 0.08em !important;
}

/* ----------------------------------------
   4. MOVIE GALLERY - エレガント化
   ---------------------------------------- */

.kuwae-movie-section, .gallery-section {
  padding: 60px 40px !important;
  background: linear-gradient(180deg, #f5f1e8 0%, #faf8f3 100%) !important;
  border-top: 1px solid rgba(212, 136, 154, 0.15) !important;
}

.kuwae-movie-section h3, .gallery-section h3, [class*="gallery"] h3 {
  font-size: 28px !important;
  font-weight: 700 !important;
  letter-spacing: -0.01em !important;
  color: #2c1810 !important;
  margin-bottom: 40px !important;
  text-align: center !important;
}

.kuwae-movie-grid, .gallery-grid, [class*="gallery"] ul {
  display: grid !important;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)) !important;
  gap: 32px !important;
}

.kuwae-movie-item, .gallery-item, [class*="gallery"] li {
  background: #ffffff !important;
  border-radius: 12px !important;
  overflow: hidden !important;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08), 0 2px 4px rgba(0, 0, 0, 0.04) !important;
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94) !important;
  border: 1px solid rgba(212, 136, 154, 0.1) !important;
}

.kuwae-movie-item:hover, .gallery-item:hover, [class*="gallery"] li:hover {
  box-shadow: 0 16px 48px rgba(212, 136, 154, 0.2), 0 4px 12px rgba(0, 0, 0, 0.1) !important;
  transform: translateY(-8px) scale(1.02) !important;
  border-color: #d4889a !important;
}

.kuwae-movie-item img, .gallery-item img, [class*="gallery"] li img {
  width: 100% !important;
  height: 200px !important;
  object-fit: cover !important;
  transition: transform 0.4s ease !important;
}

.kuwae-movie-item:hover img, .gallery-item:hover img, [class*="gallery"] li:hover img {
  transform: scale(1.05) !important;
}

.kuwae-movie-info, .gallery-info, [class*="gallery"] .info {
  padding: 20px !important;
}

.kuwae-movie-title, .gallery-title, [class*="gallery"] .title {
  font-size: 16px !important;
  font-weight: 600 !important;
  letter-spacing: 0.05em !important;
  color: #2c1810 !important;
  margin-bottom: 8px !important;
}

/* ----------------------------------------
   5. LIVE SCHEDULE - エレガント化
   ---------------------------------------- */

.kuwae-live-section, .schedule-section {
  padding: 60px 40px !important;
  background: #ffffff !important;
}

.kuwae-live-section h3, .schedule-section h3, [class*="schedule"] h3 {
  font-size: 28px !important;
  font-weight: 700 !important;
  letter-spacing: -0.01em !important;
  color: #2c1810 !important;
  margin-bottom: 40px !important;
  text-align: center !important;
}

.kuwae-live-table, .schedule-table, [class*="schedule"] table {
  width: 100% !important;
  border-collapse: collapse !important;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08) !important;
  border-radius: 8px !important;
  overflow: hidden !important;
}

.kuwae-live-table th, .schedule-table th, [class*="schedule"] table th {
  background: linear-gradient(135deg, #d4889a 0%, #b86b82 100%) !important;
  color: #ffffff !important;
  padding: 20px !important;
  font-weight: 600 !important;
  letter-spacing: 0.08em !important;
  font-size: 13px !important;
  text-align: left !important;
  text-transform: uppercase !important;
}

.kuwae-live-table td, .schedule-table td, [class*="schedule"] table td {
  padding: 18px 20px !important;
  border-bottom: 1px solid rgba(212, 136, 154, 0.15) !important;
  color: #54453a !important;
  font-size: 14px !important;
}

.kuwae-live-table tr:hover, .schedule-table tr:hover, [class*="schedule"] table tr:hover {
  background-color: rgba(212, 136, 154, 0.05) !important;
  transition: background-color 0.3s ease !important;
}

.kuwae-live-table tr:last-child td, .schedule-table tr:last-child td, [class*="schedule"] table tr:last-child td {
  border-bottom: none !important;
}

/* ----------------------------------------
   6. FOOTER - エレガント化
   ---------------------------------------- */

footer, .site-footer {
  background: linear-gradient(135deg, #2c1810 0%, #54453a 100%) !important;
  color: #e8dcc8 !important;
  padding: 60px 40px 40px !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1) !important;
  border-top: 1px solid rgba(212, 136, 154, 0.2) !important;
  margin: 0 !important;
  width: 100% !important;
}

footer h4, .site-footer h4 {
  font-size: 16px !important;
  font-weight: 700 !important;
  letter-spacing: 0.08em !important;
  color: #ffffff !important;
  margin-bottom: 20px !important;
  text-transform: uppercase !important;
}

footer p, footer a, .site-footer p, .site-footer a {
  font-size: 14px !important;
  letter-spacing: 0.02em !important;
  line-height: 1.8 !important;
  color: #d4a594 !important;
  transition: color 0.3s ease !important;
}

footer a:hover, .site-footer a:hover {
  color: #ffd700 !important;
  text-decoration: underline !important;
}

footer .footer-bottom, .site-footer .footer-bottom {
  border-top: 1px solid rgba(212, 136, 154, 0.15) !important;
  padding-top: 30px !important;
  margin-top: 40px !important;
  text-align: center !important;
  font-size: 12px !important;
  letter-spacing: 0.1em !important;
  color: #998872 !important;
}

/* ----------------------------------------
   7. GLOBAL ADJUSTMENTS
   ---------------------------------------- */

/* Refined spacing and transitions globally */
* {
  transition: color 0.3s ease, background-color 0.3s ease, box-shadow 0.3s ease !important;
}

/* Elegant typography */
body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Helvetica Neue', sans-serif !important;
  letter-spacing: 0.01em !important;
  line-height: 1.6 !important;
  color: #54453a !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow-x: hidden !important;
  scrollbar-gutter: stable !important;
}

h1, h2, h3, h4, h5, h6 {
  letter-spacing: -0.01em !important;
  font-weight: 700 !important;
}

/* Refined borders and shadows */
button, .button, [role="button"] {
  border-radius: 6px !important;
  box-shadow: 0 4px 12px rgba(212, 136, 154, 0.15) !important;
  border: none !important;
  font-weight: 600 !important;
  letter-spacing: 0.05em !important;
  transition: all 0.3s ease !important;
}

button:hover, .button:hover, [role="button"]:hover {
  box-shadow: 0 8px 24px rgba(212, 136, 154, 0.25) !important;
  transform: translateY(-2px) !important;
}

/* ----------------------------------------
   8. CONTAINER & WIDTH ADJUSTMENTS
   ページ全体をフル幅に調整
   ---------------------------------------- */

/* 【置き換え1】margin: 0 auto → margin: 0 */
.site-inner, .content-wrapper, .wp-container, [class*="container"], main {
  margin: 0 !important;
}

/* 【置き換え2】max-width: 1200px → width: 100% */
.site-inner, .content-wrapper, .wp-container, [class*="container"], body {
  width: 100% !important;
  max-width: none !important;
}

/* 【置き換え3】padding: 2rem → padding: 0 */
.site-inner, .content-wrapper, main {
  padding: 0 !important;
}

/* Ensure all sections are full width */
main, .wp-block-group, .wp-container, section {
  max-width: none !important;
  width: 100% !important;
}

/* Override max-width on inner containers */
.kuwae-hero-inner,
section > div,
[style*="max-width: 1200px"] {
  max-width: none !important;
  width: 100% !important;
  margin: 0 !important;
}

/* Full width for News section and other similar containers */
.kuwae-hero > div,
section > div > div {
  max-width: none !important;
  width: 100% !important;
}

/* Add padding to main content to account for fixed header */
main, .site-main {
  padding-top: 160px !important;
}
