@charset "UTF-8";

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  font-family: "游ゴシック体", YuGothic, "游ゴシック", "Yu Gothic", "メイリオ", Meiryo, sans-serif;
  font-weight: 500;
  color: #3a2d25;
  background: #f4f4f4;
  line-height: 2.0;
}

/* ===== ヘッダー ===== */
.header {
  background: #fff;
  height: 120px;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: none;
}

.header-logo {
  display: flex;
  align-items: flex-end;
  gap: 20px;
}

.header-logo .logo-icon {
  width: 90px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.header-logo .logo-icon img {
  width: 90px;
  height: auto;
}

.header-logo .logo-text {
  line-height: 1;
}

.header-logo .logo-text .sub {
  font-size: 1rem;
  color: #3a2d25;
  font-weight: bold;
  display: block;
  margin-bottom: 10px;
}

.header-logo .logo-text .main {
  font-size: 1.875rem;
  font-weight: bold;
  color: #010101;
  line-height: 1;
}

.hamburger {
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 10px;
}

.hamburger span {
  display: block;
  width: 30px;
  height: 3px;
  background: #010101;
}

/* ===== ヒーローバナー ===== */
.hero-banner {
  background: #010101;
  color: #fff;
  text-align: center;
  padding: 60px 20px;
}

.hero-banner h1 {
  font-size: 3rem;
  font-weight: bold;
  margin-bottom: 0;
  font-family: NotoSansJP, "游ゴシック体", YuGothic, "游ゴシック", "Yu Gothic", "メイリオ", Meiryo, sans-serif;
  line-height: 36px;
}

.hero-banner .subtitle {
  font-size: 1.125rem;
  color: #fff;
  display: block;
  margin-top: 20px;
  font-family: "游ゴシック体", YuGothic, "游ゴシック", "Yu Gothic", "メイリオ", Meiryo, sans-serif;
  font-weight: bold;
}

/* ===== メインレイアウト ===== */
.main-container {
  max-width: 1200px;
  margin: 30px auto;
  padding: 0 20px;
  display: grid;
  grid-template-columns: 250px 1fr 280px;
  gap: 25px;
}

/* ===== 左サイドバー ===== */
.sidebar-left {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.book-cover {
  background: #4da6d9;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
  text-align: center;
  padding: 20px 15px;
  color: #fff;
}

.book-cover .issn {
  font-size: 10px;
  text-align: right;
  color: rgba(255,255,255,0.7);
  margin-bottom: 10px;
}

.book-cover .agency {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 15px;
  font-size: 9px;
  color: rgba(255,255,255,0.8);
}

.book-cover .agency-logo {
  width: 30px;
  height: 30px;
  background: #fff;
  border-radius: 50%;
}

.book-cover .book-title {
  font-size: 28px;
  font-weight: bold;
  letter-spacing: 0.15em;
  margin-bottom: 5px;
}

.book-cover .book-year {
  font-size: 28px;
  font-weight: bold;
  margin-bottom: 8px;
}

.book-cover .book-sub {
  font-size: 14px;
}

.book-cover .pdf-link {
  display: inline-block;
  margin-top: 15px;
  padding: 8px 20px;
  background: #fff;
  color: #010101;
  border-radius: 4px;
  text-decoration: none;
  font-weight: bold;
  font-size: 13px;
  border: 2px solid #fff;
  transition: all 0.2s;
}

.book-cover .pdf-link:hover {
  background: transparent;
  color: #fff;
  border-color: #fff;
}

/* ===== 目次ナビ ===== */
.toc-nav {
  background: #fff;
  border-radius: 6px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  overflow: hidden;
  position: sticky;
  top: 20px;
}

.toc-nav .toc-header {
  background: #010101;
  color: #fff;
  padding: 12px 15px;
  font-size: 1.125rem;
  font-weight: bold;
  text-align: center;
}

.toc-nav ul {
  list-style: none;
}

.toc-nav ul li a {
  display: block;
  padding: 10px 15px;
  color: #010101;
  text-decoration: none;
  font-size: 0.875rem;
  border-bottom: 1px solid #eee;
  transition: background 0.2s;
}

.toc-nav ul li a:hover,
.toc-nav ul li a.active {
  background: #fce4ec;
  color: #fa2a78;
  font-weight: bold;
}

/* ===== メインコンテンツ ===== */
.content-main {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.section-card {
  background: #fff;
  border-radius: 6px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  overflow: hidden;
}

.section-card .section-header {
  background: #010101;
  color: #fff;
  padding: 14px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.section-card .section-header h2 {
  font-size: 1.125rem;
  letter-spacing: 0.05em;
}

.section-card .section-header h2 a {
  color: #fff;
  text-decoration: none;
}

.section-card .section-header h2 a:hover {
  text-decoration: underline;
}


.section-card .section-body {
  padding: 20px;
}

.section-card .section-desc {
  color: #646464;
  font-size: 0.9375rem;
  margin-bottom: 15px;
  padding-bottom: 15px;
  border-bottom: 1px dashed #ddd;
}

.section-card .sub-items {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.section-card .sub-items a {
  display: inline-block;
  padding: 6px 14px;
  background: #fff;
  color: #010101;
  border: 1px solid #ddd;
  border-radius: 20px;
  text-decoration: none;
  font-size: 0.875rem;
  transition: all 0.2s;
}

.section-card .sub-items a:hover {
  background: #fa2a78;
  color: #fff;
  border-color: #fa2a78;
}

.section-card .section-body h3 {
  font-size: 0.9375rem;
  color: #010101;
}

/* 演奏会記録セクション */
.record-options {
  display: flex;
  gap: 15px;
  margin-top: 10px;
}

.record-option {
  flex: 1;
  background: #f8f8f8;
  border: 2px solid #ddd;
  border-radius: 8px;
  padding: 20px;
  text-align: center;
  cursor: pointer;
  transition: all 0.2s;
  text-decoration: none;
  color: #010101;
}

.record-option:hover {
  border-color: #fa2a78;
  background: #fce4ec;
}

.record-option .option-icon {
  font-size: 32px;
  margin-bottom: 8px;
}

.record-option .option-label {
  font-size: 1rem;
  font-weight: bold;
}

.record-option .option-desc {
  font-size: 0.75rem;
  color: #787878;
  margin-top: 5px;
}

/* 統計セクション */
.stats-list {
  list-style: none;
}

.stats-list li {
  padding: 10px 15px;
  border-bottom: 1px solid #eee;
  font-size: 0.9375rem;
}

.stats-list li a {
  color: #010101;
  text-decoration: none;
}

.stats-list li a:hover {
  color: #fa2a78;
  text-decoration: underline;
}

.stats-list li::before {
  content: "\25B8 ";
  color: #fa2a78;
}

/* PDF・Excelアイコンリンク */
.icon-link {
  display: inline-block;
  margin-left: 8px;
  padding: 2px 10px;
  border-radius: 4px;
  font-size: 0.8125rem;
  font-weight: bold;
  text-decoration: none;
  vertical-align: middle;
  transition: opacity 0.2s;
}

.icon-link i {
  margin-right: 4px;
}

.icon-link:hover {
  opacity: 0.7;
}

.icon-pdf {
  background: #fce4ec;
  color: #d32f2f;
  border: 1px solid #ef9a9a;
}

.icon-excel {
  background: #e8f5e9;
  color: #2e7d32;
  border: 1px solid #a5d6a7;
}

/* ===== 右サイドバー ===== */
.sidebar-right {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* 年度ナビ */
.year-nav {
  background: #fff;
  border-radius: 6px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  overflow: hidden;
  position: sticky;
  top: 20px;
}

.year-nav .year-header {
  background: #000;
  color: #fff;
  padding: 12px 15px;
  font-size: 1rem;
  font-weight: bold;
  text-align: center;
}

.year-nav ul {
  list-style: none;
}

.year-nav ul li a {
  display: block;
  padding: 10px 15px;
  text-decoration: none;
  font-size: 0.9375rem;
  color: #010101;
  border-bottom: 1px solid #eee;
  transition: background 0.2s;
}

.year-nav ul li a:hover {
  background: #fce4ec;
  color: #fa2a78;
}

.year-nav ul li a.current,
.year-nav ul li span.current {
  display: block;
  padding: 10px 15px;
  font-size: 0.9375rem;
  background: #fa2a78;
  color: #fff;
  font-weight: bold;
  border-bottom: 1px solid #eee;
  cursor: default;
}

/* 検索パネル */
.search-panel {
  background: #fff;
  border-radius: 6px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  overflow: hidden;
}

.search-panel .search-header {
  background: #484848;
  color: #fff;
  padding: 12px 15px;
  font-size: 1rem;
  font-weight: bold;
  text-align: center;
}

.search-panel .search-body {
  padding: 15px;
}

.search-panel .search-subtitle {
  background: #f4f4f4;
  border: 1px solid #ddd;
  border-radius: 4px;
  padding: 8px 12px;
  text-align: center;
  font-weight: bold;
  font-size: 0.9375rem;
  margin-bottom: 12px;
  color: #010101;
}

.search-panel .search-sub-header {
  font-size: 0.9375rem;
  font-weight: bold;
  color: #010101;
  text-align: center;
  margin-bottom: 5px;
}

.search-panel .search-system {
  background: #eee;
  text-align: center;
  padding: 5px;
  font-size: 12px;
  font-weight: bold;
  margin-bottom: 12px;
  border-radius: 3px;
}

.search-panel .search-links {
  list-style: none;
}

.search-panel .search-links li {
  padding: 8px 0;
  border-bottom: 1px solid #eee;
}

.search-panel .search-links li a {
  color: #010101;
  text-decoration: none;
  font-size: 0.9375rem;
  display: flex;
  align-items: center;
  gap: 8px;
}

.search-panel .search-links li a::before {
  content: "";
  width: 10px;
  height: 10px;
  background: #fa2a78;
  border-radius: 50%;
  flex-shrink: 0;
}

.search-panel .search-links li a:hover {
  text-decoration: underline;
}

/* ===== フッター ===== */
.footer {
  background: #000;
  color: #fff;
  text-align: center;
  padding: 40px 20px;
  margin-top: 40px;
  font-size: 0.875rem;
}

.footer a {
  color: #fff;
  text-decoration: none;
}

.footer a:hover {
  text-decoration: underline;
}

/* ===== レスポンシブ ===== */

/* --- タブレット横 --- */
@media screen and (max-width: 1150px) {
  .main-container {
    grid-template-columns: 220px 1fr;
    gap: 20px;
  }

  .sidebar-right {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
  }

  .hamburger {
    display: flex;
  }
}

/* --- タブレット縦 --- */
@media screen and (max-width: 767px) {
  .main-container {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .sidebar-left {
    display: grid;
    grid-template-columns: 180px 1fr;
    gap: 15px;
  }

  .sidebar-right {
    grid-template-columns: 1fr;
  }

  .hero-banner {
    padding: 40px 20px;
  }

  .section-card .section-header h2 {
    font-size: 1rem;
  }

  .record-options {
    flex-direction: column;
  }

  .header {
    height: auto;
    padding: 10px 15px;
  }

  .header-logo {
    gap: 15px;
  }

  .header-logo .logo-icon {
    width: 60px;
  }

  .header-logo .logo-icon img {
    width: 60px;
  }

  .header-logo .logo-text .sub {
    font-size: 0.75rem;
    margin-bottom: 5px;
  }

  .header-logo .logo-text .main {
    font-size: 1.25rem;
  }

  .footer {
    padding: 25px 20px;
    margin-top: 50px;
  }
}

/* --- スマートフォン --- */
@media screen and (max-width: 450px) {
  .hero-banner h1 {
    font-size: 1.5rem;
    line-height: 1.2;
  }

  .hero-banner .subtitle {
    font-size: 0.75rem;
    margin-top: 15px;
    line-height: 1;
  }

  .sidebar-left {
    grid-template-columns: 1fr;
  }

  .header-logo .logo-icon {
    width: 50px;
  }

  .header-logo .logo-icon img {
    width: 50px;
  }

  .header-logo .logo-text .main {
    font-size: 1.125rem;
  }

  .toc-nav .toc-header {
    font-size: 1rem;
  }

  .toc-nav ul li a {
    font-size: 0.75rem;
    padding: 8px 12px;
  }

  .section-card .section-header {
    padding: 10px 15px;
  }

  .section-card .section-header h2 {
    font-size: 0.875rem;
  }

  .section-card .section-body {
    padding: 15px;
  }

  .section-card .section-desc {
    font-size: 0.875rem;
  }

  .section-card .sub-items a {
    font-size: 0.75rem;
    padding: 4px 10px;
  }

  .stats-list li {
    font-size: 0.875rem;
    padding: 8px 10px;
  }

  .year-nav .year-header {
    font-size: 0.875rem;
  }

  .year-nav ul li a {
    font-size: 0.875rem;
    padding: 8px 12px;
  }

  .book-cover .book-title {
    font-size: 22px;
  }

  .book-cover .book-year {
    font-size: 22px;
  }

  .footer {
    font-size: 0.75rem;
  }
}
