/* 共通サイドバー — AdSense/AdMax 重ね表示対応 */

.lime-sidebar {
    width: 100%;
    max-width: 300px;
    font-size: 13px;
    color: #333;
    line-height: 1.55;
}

.lime-sidebar .sb-box {
    background: #fff;
    border: 1px solid #e5e5e5;
    border-radius: 4px;
    margin-bottom: 6px;
    overflow: visible; /* AdMaxが切れないように */
    box-shadow: none;
}

.lime-sidebar .sb-box:last-child {
    margin-bottom: 0;
}

.lime-sidebar .sb-head {
    background: #5a5a5a;
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    padding: 6px 10px;
}

.lime-sidebar .sb-about {
    padding: 10px 12px;
}

.lime-sidebar .sb-about-text {
    margin: 0;
    font-size: 12px;
    color: #444;
    line-height: 1.65;
}

.lime-sidebar .sb-ad {
    padding: 8px;
    text-align: center;
}

/* 重ねレイアウト */
.lime-sidebar .sb-ad-stack {
    position: relative;
    min-height: 250px;
    text-align: center;
}

.lime-sidebar .sb-ad-layer {
    width: 100%;
    text-align: center;
}

.lime-sidebar .sb-ad-layer-top {
    position: absolute;
    left: 0;
    top: 0;
    right: 0;
    z-index: 2;
    background: #fff;
    min-height: 250px;
}

.lime-sidebar .sb-body {
    padding: 8px 12px;
}

.lime-sidebar .sb-body p {
    margin: 0;
    font-size: 12px;
    color: #444;
    line-height: 1.65;
}

.lime-sidebar .sb-body a {
    color: var(--primary-color, #d4a24e);
    font-weight: 600;
    text-decoration: underline;
}

.lime-sidebar .sb-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.lime-sidebar .sb-list li {
    border-bottom: 1px solid #f0f0f0;
}

.lime-sidebar .sb-list li:last-child {
    border-bottom: none;
}

.lime-sidebar .sb-list a {
    display: block;
    padding: 7px 12px;
    color: #333 !important;
    text-decoration: none;
    font-size: 13px;
}

.lime-sidebar .sb-list a:hover {
    background: #faf7f0;
    color: var(--primary-color, #d4a24e) !important;
}

.lime-sidebar .sb-widget {
    padding: 8px;
}
