/* ===== Accordion ===== */
.accordion-toggle {
    cursor: pointer;
    font-weight: 600;
    padding: 0.2em 0.1.5em;
    position: relative;
}

.accordion-toggle::before {
    content: "▶ ";
    display: inline-block;
    margin-right: 0.3em;
    transition: transform 0.2s ease;
}

.accordion-toggle.open::before {
    transform: rotate(90deg);
}

.accordion-content {
    display: none;
    padding-left: 1.2em;
}

.accordion-content.open {
    display: block;
}

/* 階層ごとのフォント・余白 */
.composer-toggle { font-weight: 700; }
.work-toggle     { font-weight: 600; margin-left: 0.5em; }
.work-decade-toggle { font-weight: 500; margin-left: 1em; }

/* Concert item */
.concert-item { margin: 0.05em 0; line-height: 1.2; }

/* 必要に応じて Cocoon 標準の p マージン対策も残す */
.accordion-content p {
    margin: 0.2em 0;
}

/* composer row layout */
/* composer row layout */
.composer-row {
    display: flex;
    align-items: center;
    justify-content: space-between; /* ← これが重要 */
    width: 100%;
}

/* 左：composer 名 */
.composer-toggle {
    flex: 1;               /* 左側を伸ばす */
}

/* 右：stats */
.composer-stats {
    font-size: 0.85em;
    color: #666;
    white-space: nowrap;
    text-align: right;
    margin-left: 1em;
}

/* decade 配下（concert list）を一段深く */
.work-decade-toggle + .accordion-content {
    padding-left: 2.5em;
}

/* アコーディオン全体の行間を引き締める */
.accordion,
.accordion-item {
    line-height: 1.25;
}

.person-bio {
    line-height: 1.4;
}

.collaborator-bio,
.term-description {
    font-size: 0.85em;
    line-height: 1.3;
    margin-bottom: 0.6em;
}

.loading {
    font-size: 0.9em;
    opacity: 0.6;
    padding-left: 1em;
}

.collaborator-role {
    font-size: 0.85em;
    white-space: nowrap;
    color: #666;
}

.collaborator-date {
    font-size: 0.85em;
    white-space: nowrap;
    color: #666;
}

.about-project {
  font-size: 0.85rem;
  line-height: 1.6;
  color: #555;
}

.people-list {
    max-width: 900px;
    margin: 1.5rem auto;
}

.person-row {
    display: flex;
    gap: 0.8rem;
    align-items: baseline;
    padding: 0.0rem 0;   /* 行間を詰める */
    border: none;        /* 区切り線なし */
}

.person-name {
    font-weight: 600;
    white-space: nowrap;
}

.person-life {
    color: #666;
    font-size: 0.9em;
    white-space: nowrap;
}

.person-role {
    color: #555;
    font-size: 0.9em;
}
