.jiho-section-wrap {
    width: 100%;
    max-width: 830px;
    margin-inline: auto;
    align-self: stretch;
}

/* 最新号エリア */
.jiho-pdf-area {
    margin-bottom: 48px;
}

.jiho-pdf-label {
    display: inline-block;
    background: #b58bff;
    color: #fff;
    font-family: "Noto Serif JP", serif;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.15em;
    padding: 6px 18px;
    margin-bottom: 12px;
    border-radius: 5px;
}

.jiho-page-info {
    text-align: right;
    font-size: 12px;
    color: #959595;
    margin-bottom: 6px;
}

#jiho-viewer-wrap {
    width: 100%;
    border: 1px solid #959595;
    background: #e8e5e0;
    max-height: 700px;
    overflow-y: auto;
    margin-bottom: 16px;
}

#jiho-canvas-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 16px 0;
}

#jiho-canvas-container canvas {
    display: block;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    max-width: 100%;
}

#jiho-loading {
    color: #959595;
    font-size: 13px;
    padding: 40px;
    text-align: center;
}

.jiho-dl-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: #b58bff;
    color: #fff;
    text-decoration: none;
    padding: 16px 24px;
    font-family: "Noto Sans JP", sans-serif;
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 0.05em;
    width: 100%;
    border-radius: 5px;
    transition: opacity 0.2s;
    box-sizing: border-box;
}

.jiho-dl-btn:hover {
    opacity: 0.85;
    color: #fff;
}

.jiho-accordion-item {
    border-bottom: 1px solid #969696;
}

.jiho-accordion-btn {
    width: 100%;
    background: none;
    border: none;
    text-align: left;
    padding: 16px 4px !important;
    font-family: "Noto Serif JP", serif;
    font-size: 24px;
    font-weight: 700;
    color: #000;
    letter-spacing: 0.1em;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.jiho-accordion-btn::after {
    content: "＋";
    font-size: 24px;
    color: #959595;
}

.jiho-accordion-btn.open::after {
    content: "－";
}

.jiho-count {
    font-size: 18px;
    color: #959595;
    font-family: "BIZ UDGothic", sans-serif;
    font-weight: 400;
}

.jiho-accordion-body {
    display: none;
    padding: 12px 4px 20px;
}

.jiho-accordion-body.open {
    display: block;
}

.jiho-issue-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 6px;
}

.jiho-issue-link {
    display: flex;
    align-items: center;
    gap: 6px;
    text-decoration: none;
    color: #000;
    font-family: "BIZ UDGothic", "Noto Sans JP", sans-serif;
    font-size: 18px;
    padding: 8px 10px;
    background: #fff;
    border: 1px solid #959595;
    transition: background 0.15s;
}

.jiho-issue-link:hover {
    background: #f5f0ff;
}

.jiho-dl-icon {
    color: #b58bff;
    font-size: 16px;
    flex-shrink: 0;
}

.jiho-tag-special {
    font-size: 10px;
    background: #b58bff;
    color: #fff;
    padding: 2px 6px;
    border-radius: 3px;
    flex-shrink: 0;
    font-family: "Noto Serif JP", serif;
    font-weight: 700;
}

/* SP：PDFビューア非表示 */
@media (max-width: 767px) {
    #jiho-viewer-wrap,
    .jiho-page-info {
        display: none;
    }

    .jiho-accordion-btn {
        font-size: 18px;
    }

    .jiho-count {
        font-size: 16px;
    }

    .jiho-accordion-btn::after {
        font-size: 18px;
    }
}


.jiho-year-item.is-hidden {
    display: none;
}

.jiho-more-wrap {
    margin-top: 32px;
    text-align: center;
}

.jiho-more-btn {
    appearance: none;
    border: none;
    background: #b58bff !important;
    color: #fff;
    padding: 16px 32px !important;
    font-family: "Noto Sans JP", sans-serif;
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 0.05em;
    cursor: pointer;
    border-radius: 6px;
    transition: all 0.25s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}

/* ホバー */
.jiho-more-btn:hover {
    background: #F6F6F6 !important;
    color: #b58bff !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.18);
}

/* 押したとき */
.jiho-more-btn:active {
    transform: translateY(0);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}