.bcc-archive-acc h2 {
    margin-bottom: 1rem;
    font-size: 20px;
}

@media screen and (max-width: 960px) {
    .bcc-archive-acc h2 {
        font-size: 18px;
    }
}

.bcc-archive-acc__btn {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 10px 20px;
    border: 0;
    cursor: pointer;
    background: #ffd700;
    /* 仮。好きに */
    box-shadow: 0 8px 16px rgba(0, 0, 0, .15);
}

.bcc-archive-acc__icon {
    position: relative;
    width: 28px;
    height: 28px;
    flex: 0 0 28px;
    display: inline-block;
}

.bcc-archive-acc__label {
    font-size: 18px;
    flex: 1;
    text-align: center;
    /* 画像の雰囲気寄せ */
}

@media screen and (max-width: 960px) {
    .bcc-archive-acc__label {
        text-align: left;
        font-size: 16px;

    }
}


.bcc-archive-acc__panel {
    background: #fffff4;
    /* 仮 */
    padding: 0 0;
    overflow: hidden;
    max-height: 0;
    opacity: 0;
    transition:
        max-height .35s ease,
        opacity .25s ease;
}

@media screen and (max-width: 960px) {
    .bcc-archive-acc__panel ul {
        display: flex;
        flex-wrap: wrap;
    }
}

.bcc-archive-acc__year {
    margin-block-end: 0.5rem;
}

.bcc-archive-acc__months {
    list-style: none;
    margin: 0;
    padding: 0;
    padding-inline-start: 5px;
}

.bcc-archive-acc__link {
    display: flex;
    justify-content: center;
    gap: 0;
    padding: 3px 0;
    text-decoration: none;
    font-size: 16px;
}

.bcc-archive-acc__bar {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 12px;
    /* 線の長さ */
    height: 2px;
    /* 線の太さ */
    background: #000;
    /* 色 */
    border-radius: 2px;
    transform: translate(-50%, -50%);
}

/* 横線（−）は常に表示 */
.bcc-archive-acc__bar--h {
    transform: translate(-50%, -50%);
}

/* 縦線（＋の縦棒）だけ回転＆消す */
.bcc-archive-acc__bar--v {
    transform: translate(-50%, -50%) rotate(90deg);
    transition: transform .25s ease, opacity .2s ease;
    transform-origin: center;
}

/* 開いてる時：縦棒を0度に回して横線と重ねて「−」にする（見た目は縦棒が消える） */
.bcc-archive-acc__btn[aria-expanded="true"] .bcc-archive-acc__bar--v {
    transform: translate(-50%, -50%) rotate(0deg);
    opacity: 0;
    /* ここが“スッ”と消えるポイント */
}

/* 閉じてる時：縦棒は見える＝＋ */
.bcc-archive-acc__btn[aria-expanded="false"] .bcc-archive-acc__bar--v {
    opacity: 1;
}

/* 開いた状態 */
.bcc-archive-acc__btn[aria-expanded="true"]+.bcc-archive-acc__panel {
    max-height: 500px;
    /* 月最大12件分あれば十分 */
    opacity: 1;
}

.bcc-archive-acc__month--all .bcc-archive-acc__m{
  font-weight: 700;
}
