.organizer-page {
  max-width: 1100px;
  margin: 0 auto;
  padding: 64px 20px;
}

.organizer-page__lead {
  max-width: 820px;
  margin: 32px auto 56px;
  line-height: 2;
  text-align: left;
}

.document-category-list {
  display: flex;
  flex-direction: column;
  gap: 80px;
}

.document-category {
  width: 100%;
}

/* 屋内企画者の皆様へ などの見出し */
.category-heading {
  position: relative;
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 0 0 28px;
  font-size: clamp(1.45rem, 2.6vw, 2rem);
  font-weight: 700;
  color: #333;
  letter-spacing: 0.04em;
}

/* 見出し左のオレンジ縦棒 */
.category-heading::before {
  content: "";
  display: block;
  width: 6px;
  height: 1.8em;
  border-radius: 999px;
  background: #f39800;
  flex-shrink: 0;
}

.document-list {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.document-card {
  background: #fff;
  border-radius: 24px;
  padding: 28px;
  border: 1px solid rgba(243, 152, 0, 0.18);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.08);
}

/* ①資料名 の見出し */
.document-title {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 18px;
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  font-weight: 700;
  color: #333;
  line-height: 1.6;
}

/* 資料名左のオレンジ横棒 */
.document-title::before {
  content: "";
  display: block;
  width: 20px;
  height: 5px;
  border-radius: 999px;
  background: #f39800;
  flex-shrink: 0;
}

.document-title__number {
  color: #f39800;
  font-weight: 800;
}

.document-actions {
  display: flex;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 20px;
}

.document-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-width: 130px;
  padding: 10px 18px;
  border-radius: 999px;
  background: #fff7ec;
  color: #d97706;
  border: 1px solid #f39800;
  font-size: 0.92rem;
  font-weight: 700;
  text-decoration: none;
  transition:
    background-color 0.2s ease,
    color 0.2s ease,
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.document-button:hover {
  background: #f39800;
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 8px 18px rgba(243, 152, 0, 0.28);
}

.document-button--download {
  background: #f39800;
  color: #fff;
}

.document-button--download:hover {
  background: #d97706;
  border-color: #d97706;
}

.pdf-viewer {
  width: 100%;
  height: 560px;
  overflow: hidden;
  border-radius: 18px;
  border: 1px solid #e5e5e5;
  background: #f7f7f7;
}

.pdf-viewer iframe {
  width: 100%;
  height: 100%;
  border: none;
}

.pdf-error {
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 100%;
  padding: 32px;
  text-align: center;
  color: #555;
  line-height: 1.8;
}

/* スマホ対応 */
@media screen and (max-width: 768px) {
  .organizer-page {
    padding: 48px 16px;
  }

  .organizer-page__lead {
    text-align: left;
    margin-bottom: 44px;
  }

  .document-category-list {
    gap: 64px;
  }

  .category-heading {
    align-items: center;
    gap: 12px;
  }

  .category-heading::before {
    width: 5px;
    height: 1.6em;
  }

  .document-card {
    padding: 20px;
    border-radius: 20px;
  }

  .document-title {
    align-items: flex-start;
  }

  .document-title::before {
    width: 20px;
    height: 4px;
    margin-top: 0.8em;
  }

  .document-actions {
    justify-content: flex-start;
  }

  .document-button {
    width: 100%;
  }

  .pdf-viewer {
    height: 420px;
  }
}

.excel-viewer {
  width: 100%;
  max-height: 520px;
  overflow: auto;
  border-radius: 18px;
  border: 1px solid #e5e5e5;
  background: #fff;
  padding: 16px;
}

.excel-viewer p {
  margin: 0;
  color: #555;
  line-height: 1.8;
}

.excel-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
  background: #fff;
}

.excel-table th,
.excel-table td {
  border: 1px solid #ddd;
  padding: 8px 10px;
  min-width: 100px;
  line-height: 1.6;
  vertical-align: top;
  white-space: pre-wrap;
}

.excel-table th {
  background: #fff7ec;
  color: #333;
  font-weight: 700;
}

.excel-table tr:nth-child(even) td {
  background: #fafafa;
}

.excel-sheet-name {
  margin: 0 0 12px;
  font-weight: 700;
  color: #d97706;
}

@media screen and (max-width: 768px) {
  .excel-viewer {
    max-height: 420px;
    padding: 12px;
  }

  .excel-table {
    font-size: 0.82rem;
  }

  .excel-table th,
  .excel-table td {
    padding: 7px 8px;
    min-width: 88px;
  }
}