/* Kashiwazaki SEO Perfect Breadcrumbs */
.kspb-breadcrumbs {
    margin: 20px 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    font-size: 14px;
    line-height: 1.5;
}

.kspb-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    row-gap: 4px;
}

.kspb-item {
    display: flex;
    align-items: center;
    margin: 0 0 2px 0;
    padding: 0;
}

.kspb-icon {
    display: inline-flex;
    align-items: center;
    margin-right: 4px;
    vertical-align: middle;
}

.kspb-item a {
    color: #1976d2;
    text-decoration: none;
    padding: 2px 6px;
    border-radius: 4px;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    line-height: 1.5;
    margin-bottom: 1px;
}

.kspb-item a:hover {
    color: #1565c0;
    background-color: #f5f5f5;
}

.kspb-item span {
    color: #333;
    font-weight: 600;
    padding: 4px 8px;
}

.kspb-separator {
    color: #666;
    margin: 0 4px;
    font-weight: normal;
}

/* --- デザインパターン --- */
.kspb-breadcrumbs.classic {
    background: none;
}

.kspb-breadcrumbs.classic .kspb-item a {
    color: #1976d2;
    background: none;
    border: none;
}

.kspb-breadcrumbs.classic .kspb-item a:hover {
    color: #1565c0;
    text-decoration: underline;
    background: none;
}

/* モダンデザイン */
.kspb-breadcrumbs.modern {
    background: #f8f9fa;
    padding: 12px 16px;
    border-left: 4px solid #1976d2;
}

.kspb-breadcrumbs.modern .kspb-item a {
    color: #495057;
    font-weight: 500;
}

.kspb-breadcrumbs.modern .kspb-item a:hover {
    color: #1976d2;
    background: #e9ecef;
}

.kspb-breadcrumbs.modern .kspb-separator {
    color: #6c757d;
}

/* 角丸デザイン */
.kspb-breadcrumbs.rounded {
    background: #ffffff;
    padding: 10px 16px;
    border: 1px solid #dee2e6;
    border-radius: 20px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.kspb-breadcrumbs.rounded .kspb-item a {
    color: #495057;
    background: #f8f9fa;
    border-radius: 15px;
    padding: 6px 12px;
}

.kspb-breadcrumbs.rounded .kspb-item a:hover {
    background: #e9ecef;
    color: #1976d2;
}

.kspb-breadcrumbs.rounded .kspb-separator {
    color: #6c757d;
}

.kspb-breadcrumbs.shadow {
    background: #fff;
    padding: 14px 20px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.12);
    border: 1px solid #e0e0e0;
}

.kspb-breadcrumbs.shadow .kspb-item a {
    color: #1976d2;
    background: #f5f5f5;
    border-radius: 6px;
    box-shadow: 0 1px 2px rgba(0,0,0,0.08);
}

.kspb-breadcrumbs.shadow .kspb-item a:hover {
    background: #e3e3e3;
    color: #1565c0;
}

.kspb-breadcrumbs.shadow .kspb-separator {
    color: #bdbdbd;
}

/* アロー型 */
.kspb-breadcrumbs.arrow .kspb-list {
    gap: 0;
}

.kspb-breadcrumbs.arrow .kspb-item {
    position: relative;
    margin-right: 0;
}

.kspb-breadcrumbs.arrow .kspb-item a {
    background: #e3eafc;
    color: #1976d2;
    border-radius: 0;
    padding: 8px 24px 8px 16px;
    margin-right: -10px;
    position: relative;
    z-index: 1;
}

.kspb-breadcrumbs.arrow .kspb-item a:after {
    content: '';
    position: absolute;
    top: 0; right: -16px;
    width: 16px; height: 100%;
    background: inherit;
    clip-path: polygon(0 0, 100% 50%, 0 100%);
    z-index: 2;
}

.kspb-breadcrumbs.arrow .kspb-item:last-child a:after {
    display: none;
}

.kspb-breadcrumbs.arrow .kspb-separator {
    display: none;
}

/* リボン型 */
.kspb-breadcrumbs.ribbon {
    background: linear-gradient(90deg, #f8fafc 80%, #e3eafc 100%);
    padding: 10px 18px;
    border-radius: 8px;
    border-left: 6px solid #1976d2;
    position: relative;
}

.kspb-breadcrumbs.ribbon .kspb-item a {
    background: #fffbe7;
    color: #b8860b;
    border-radius: 12px;
    padding: 6px 14px;
    margin-right: 6px;
    border: 1px solid #ffe082;
    box-shadow: 0 1px 2px rgba(255,215,64,0.08);
}

.kspb-breadcrumbs.ribbon .kspb-item a:hover {
    background: #fffde7;
    color: #1976d2;
}

.kspb-breadcrumbs.ribbon .kspb-separator {
    color: #b8860b;
    font-weight: bold;
}

/* アイコン調整 */
.kspb-icon svg {
    display: inline-block;
    vertical-align: middle;
    width: 1em;
    height: 1em;
}

.kspb-icon-home svg { stroke: #1976d2; }
.kspb-icon-folder svg { stroke: #ff9800; }
.kspb-icon-page svg { stroke: #43a047; }

/* レスポンシブ */
@media (max-width: 768px) {
    .kspb-breadcrumbs {
        font-size: 13px;
        margin: 15px 0;
    }
    
    .kspb-item a,
    .kspb-item span {
        padding: 3px 6px;
    }
    
    .kspb-separator {
        margin: 0 6px;
    }
    
    .kspb-breadcrumbs.modern,
    .kspb-breadcrumbs.rounded,
    .kspb-breadcrumbs.shadow,
    .kspb-breadcrumbs.ribbon {
        padding: 8px 10px;
    }
} 