#home-circular {
    margin: 1.25rem 0 1.5rem;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
}

.hc-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.65rem 1.25rem;
    background: linear-gradient(90deg, #3b82f6, #9333ea);
    color: #fff;
}

.hc-header h4 {
    margin: 0;
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    color: #fff;
}

.hc-header a {
    color: #fff;
    font-size: 0.8rem;
    text-decoration: none;
    border: 1px solid rgba(255,255,255,0.65);
    padding: 0.15rem 0.65rem;
    border-radius: 20px;
    white-space: nowrap;
    transition: background 0.2s;
}
.hc-header a:hover { background: rgba(255,255,255,0.2); }

#home-circular-content {
    padding: 0.9rem 1rem;
    background: #fff;
}

.hc-label {
    font-size: 0.78rem;
    font-weight: 600;
    color: #7c3aed;
    letter-spacing: 0.05em;
    margin-bottom: 0.65rem;
}

/* グリッド表示 */
.hc-files {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 0.65rem;
}

/* PDF カード */
.hc-pdf-item {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    padding: 0.7rem 0.8rem;
    background: #f8fafc;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    text-decoration: none;
    color: #1e293b;
    font-size: 0.82rem;
    line-height: 1.4;
    transition: box-shadow 0.18s, transform 0.18s;
}
.hc-pdf-item:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    transform: translateY(-2px);
    color: #1e293b;
}

.hc-pdf-icon {
    display: inline-block;
    padding: 0.1rem 0.45rem;
    background: #f97316;
    color: #fff;
    font-size: 0.68rem;
    font-weight: 700;
    border-radius: 4px;
    align-self: flex-start;
}

/* 画像カード */
.hc-img-item {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    background: #f8fafc;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    overflow: hidden;
    text-decoration: none;
    color: #1e293b;
    font-size: 0.82rem;
    transition: box-shadow 0.18s, transform 0.18s;
}
.hc-img-item:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    transform: translateY(-2px);
}
.hc-img-item img {
    width: 100%;
    height: 90px;
    object-fit: cover;
}
.hc-img-item span {
    padding: 0.3rem 0.6rem 0.5rem;
    line-height: 1.4;
}

/* スマホ */
@media (max-width: 640px) {
    .hc-files {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.5rem;
    }
    #home-circular-content { padding: 0.75rem; }
}
