/* 基本スタイル */
body {
  font-family: 'Noto Serif JP', serif;
  color: #333;
  background: #fff;
  line-height: 1.6;
  margin: 0;
  padding: 0;
  font-size: 1rem;
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', 'Noto Serif JP', serif;
  font-weight: 700;
  letter-spacing: 0.5px;
}
a {
  color: #8e44ad;
  text-decoration: none;
  transition: color 0.3s;
}
a:hover {
  color: #5e3370;
}

/* ヒーロー画像 */
.hero-section {
  position: relative;
  height: 380px;
  min-height: 200px;
  max-height: 450px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}
.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.3);
  z-index: 1;
}
.hero-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
  text-align: center;
  color: white;
  width: 100%;
  padding: 0 20px;
}
.hero-title {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}
.hero-subtitle {
  font-size: 1.2rem;
  font-weight: 300;
  text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
}
@media (max-width: 600px) {
  .hero-section {
    height: 200px;
    min-height: 120px;
    max-height: 280px;
  }
  .hero-title {
    font-size: 2rem;
  }
  .hero-subtitle {
    font-size: 1rem;
  }
}

/* ハンバーガーメニュー - スマホとPCでの表示調整 */
@media (max-width: 768px) {
  .slide-menu {
    width: 280px;
    right: -280px;
    border-radius: 0;
    transition: right 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  }
  .slide-menu.active {
    right: 0;
  }
  .hamburger-btn {
    width: 45px;
    height: 45px;
    top: 15px;
    right: 15px;
  }
  .hamburger-btn span {
    width: 20px;
  }
}
@media (min-width: 769px) {
  .slide-menu {
    width: 300px;
    right: -300px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    transition: right 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  }
  .slide-menu.active {
    right: 0;
  }
  .hamburger-btn {
    width: 50px;
    height: 50px;
    top: 20px;
    right: 20px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
  }
  .hamburger-btn span {
    width: 24px;
    height: 3px;
  }
  .hamburger-btn.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
  }
  .hamburger-btn.active span:nth-child(2) {
    opacity: 0;
  }
  .hamburger-btn.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
  }
}
.hamburger-btn span {
  transition: transform 0.4s ease, opacity 0.4s ease;
}
.hamburger-btn.active span {
  background-color: #8e44ad;
}

.hamburger-btn {
  position: fixed;
  background: rgba(255, 255, 255, 0.95);
  border: 2px solid rgba(142, 68, 173, 0.2);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  z-index: 1200;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}
.hamburger-btn:hover {
  background: rgba(142, 68, 173, 0.1);
  border-color: #8e44ad;
  transform: translateY(-2px);
  box-shadow: 0 6px 25px rgba(142, 68, 173, 0.2);
}
.hamburger-btn span {
  height: 3px;
  background: #8e44ad;
  margin: 2px 0;
  border-radius: 2px;
}

/* スライドメニュー共通 */
.slide-menu {
  position: fixed;
  top: 0;
  background: linear-gradient(135deg, #fff 0%, #f8f9fa 100%);
  box-shadow: -10px 0 30px rgba(0, 0, 0, 0.15);
  z-index: 1100;
  padding: 0;
  overflow-y: auto;
  height: 100vh;
}
.menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s ease;
  z-index: 1000;
  backdrop-filter: blur(3px);
}
.menu-overlay.active {
  opacity: 1;
  visibility: visible;
}
.menu-header {
  padding: 25px 30px;
  border-bottom: 1px solid rgba(142, 68, 173, 0.1);
  background: linear-gradient(135deg, #8e44ad 0%, #6c3483 100%);
  color: white;
  position: relative;
}
.menu-header h3 {
  margin: 0;
  font-size: 1.2rem;
  font-weight: 600;
}
.close-btn {
  position: absolute;
  top: 20px;
  right: 25px;
  background: none;
  border: none;
  font-size: 32px;
  color: white;
  cursor: pointer;
  transition: all 0.2s ease;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  z-index: 1101;
}
.close-btn:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: rotate(90deg);
}
.menu-items {
  list-style: none;
  padding: 20px 0;
  margin: 0;
}
.menu-items li {
  margin: 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}
.menu-items li:last-child {
  border-bottom: none;
}
.menu-items a {
  display: flex;
  align-items: center;
  padding: 18px 30px;
  color: #333;
  text-decoration: none;
  font-weight: 500;
  font-size: 1.05rem;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}
.menu-items a::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  width: 0;
  height: 100%;
  background: linear-gradient(135deg, rgba(142, 68, 173, 0.1) 0%, rgba(108, 52, 131, 0.1) 100%);
  transition: width 0.3s ease;
  z-index: -1;
}
.menu-items a:hover::before {
  width: 100%;
}
.menu-items a:hover {
  color: #8e44ad;
  padding-left: 40px;
  font-weight: 600;
}
.menu-items a::after {
  content: '→';
  opacity: 0;
  transform: translateX(-10px);
  transition: all 0.3s ease;
  margin-left: auto;
  color: #8e44ad;
}
.menu-items a:hover::after {
  opacity: 1;
  transform: translateX(0);
}
.english-link {
  font-size: 0.95rem !important;
  color: #666 !important;
  font-weight: 400 !important;
}
.english-link:hover {
  color: #8e44ad !important;
}

/* プロフィール紫縦線・フォントサイズ調整 */
.profile-section {
  position: relative;
  padding-left: 20px;
  margin-bottom: 2rem;
  border-left: 4px solid #8e44ad;
}
.profile-section-title {
  font-size: 1rem;
  color: #8e44ad;
  font-family: 'Montserrat', 'Noto Serif JP', serif;
  font-weight: 700;
  margin-bottom: 0.8rem;
}
.profile-section p, .profile-section ul, .profile-section li {
  font-size: 0.9rem;
}

/* 公演予定カード */
.concert-card {
  background: #fff;
  border-left: 6px solid #8e44ad;
  box-shadow: 0 4px 18px rgba(142,68,173,0.07);
  transition: box-shadow 0.3s;
}
.concert-card:hover {
  box-shadow: 0 10px 32px rgba(142,68,173,0.13);
}
.btn-details {
  background: #fff;
  color: #8e44ad;
  border: 2px solid #8e44ad;
  border-radius: 22px;
  padding: 0.4em 1.2em;
  font-weight: 600;
  transition: all 0.2s;
}
.btn-details:hover {
  background: #8e44ad;
  color: #fff;
}

/* 演奏会アーカイブ - コンパクト化 */
.past-concert-card {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 5px 20px rgba(0,0,0,0.08);
  margin-bottom: 1.5rem;
  overflow: hidden;
  transition: transform 0.3s;
  padding: 12px 16px;
}
.past-concert-card:hover {
  transform: translateY(-5px);
}
.concert-date-badge {
  background: linear-gradient(135deg, #8e44ad, #6c3483);
  color: white;
  padding: 6px 12px;
  font-weight: 700;
  display: inline-block;
  font-size: 0.9rem;
}
.concert-card-content {
  padding: 15px;
}
.concert-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}
.concert-header h3 {
  font-size: 1.1rem;
  margin-bottom: 5px;
}
.concert-detail-btn {
  background: #8e44ad;
  color: white;
  padding: 6px 15px;
  border-radius: 20px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
}
.concert-venue {
  font-size: 0.9rem;
  margin-bottom: 8px;
}
.concert-program h4 {
  font-size: 0.95rem;
  margin-bottom: 8px;
}
.program-items {
  display: grid;
  gap: 6px;
}
.program-item {
  background: #f8f9fa;
  padding: 8px 12px;
  border-radius: 6px;
  border-left: 3px solid #8e44ad;
  font-size: 0.85rem;
}

/* ポスターギャラリー - 画像表示最適化 */
.poster-gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 18px;
}
.poster-item {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f8f9fa;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0,0,0,0.08);
  transition: transform 0.3s;
  cursor: pointer;
  min-height: 140px;
  max-height: 220px;
}
.poster-item:hover {
  transform: translateY(-8px);
}
.poster-img {
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: 200px;
  object-fit: contain;
  display: block;
  transition: transform 0.3s;
}
.poster-img:hover {
  transform: scale(1.05);
}

@media (max-width: 600px) {
  .poster-gallery-grid {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }
  .poster-item {
    min-height: 80px;
    max-height: 140px;
  }
  .poster-img {
    max-height: 120px;
  }
}

/* フッター */
.footer {
  background: linear-gradient(90deg, #8e44ad 0%, #2c3e50 100%);
  color: #fff;
  padding: 2.2rem 0 1rem 0;
  margin-top: 4rem;
}
.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: end;
  margin-bottom: 1rem;
}
.footer-brand h3 {
  margin: 0 0 0.5rem 0;
  font-size: 1.5rem;
}
.footer-brand p {
  margin: 0;
  opacity: 0.8;
  font-style: italic;
}
.footer-contact a {
  color: #fff;
  text-decoration: underline;
}
.footer-contact a:hover {
  color: #ddd;
}
.footer-copyright {
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  padding-top: 1rem;
  opacity: 0.7;
}

/* レスポンシブ調整・フッター左寄せ */
@media (max-width: 768px) {
  .poster-gallery-grid {
    grid-template-columns: 1fr;
  }
  .poster-img {
    max-height: 300px;
  }
  .poster-item {
    max-height: 320px;
  }
  .footer-content {
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    gap: 0.5rem;
  }
  .footer-brand, .footer-contact {
    width: 100%;
  }
  .footer-contact {
    margin-top: 0.5rem;
  }
}

/* モーダルスタイル */
.poster-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 9999;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}
.poster-modal.active {
  opacity: 1;
  visibility: visible;
}
.modal-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.modal-content {
  position: relative;
  max-width: 90vw;
  max-height: 90vh;
  transform: scale(0.8);
  transition: transform 0.3s ease;
}
.poster-modal.active .modal-content {
  transform: scale(1);
}
.modal-image {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}
.modal-close {
  position: absolute;
  top: -15px;
  right: -15px;
  width: 40px;
  height: 40px;
  background: #fff;
  border: none;
  border-radius: 50%;
  font-size: 24px;
  font-weight: bold;
  color: #333;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: all 0.2s ease;
}
.modal-close:hover {
  background: #f8f9fa;
  transform: scale(1.1);
}
