/**
 * mls_index.css — トップページ専用スタイル（FTP Edition）
 */

/* ---- mainBefore スロット（ブロック編集の外） ---- */
.mainBefore {
    padding: 1.5rem 30px 0;
    max-width: 700px;
    margin: 0 auto;
}

/* ---- What's New セクション ---- */
.index-whatsnew {
    margin: 0 0 2rem 0;
    padding: 1.5rem;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    border-left: 4px solid #dd3333;
}

.index-whatsnew-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: #333;
    margin: 0 0 1rem 0;
    letter-spacing: 0.05em;
}

.index-whatsnew-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.index-whatsnew-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.6rem 0;
    border-bottom: 1px solid #f0f0f0;
    font-size: 0.9rem;
}

.index-whatsnew-item:last-child {
    border-bottom: none;
}

.index-whatsnew-date {
    color: #999;
    font-size: 0.8rem;
    flex-shrink: 0;
    min-width: 5.5em;
    font-variant-numeric: tabular-nums;
}

.index-whatsnew-cat {
    display: inline-block;
    padding: 1px 8px;
    border-radius: 3px;
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    flex-shrink: 0;
    min-width: 4.5em;
    text-align: center;
}

.index-whatsnew-cat.cat-notice { background: #fff0f0; color: #c33; }
.index-whatsnew-cat.cat-event  { background: #f0f5ff; color: #2563eb; }
.index-whatsnew-cat.cat-info   { background: #f0faf0; color: #16a34a; }

.index-whatsnew-link {
    color: #333;
    text-decoration: none;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    flex: 1;
}

.index-whatsnew-link:hover {
    color: #dd3333;
}

.index-whatsnew-more {
    margin-top: 0.75rem;
    text-align: right;
}

.index-whatsnew-more a {
    color: #dd3333;
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 500;
}

.index-whatsnew-more a:hover {
    text-decoration: underline;
}

/* ---- 左ナビの色味調整（PC版） ---- */
.left {
    background: #f5f6f8;
}

.leftInner {
    background: #f5f6f8;
}

.leftNav a {
    color: #555;
    transition: color 0.2s, background 0.2s;
}

.leftNav a:hover {
    color: #dd3333;
    background: rgba(0,0,0,0.03);
}

.leftNav a.is-current {
    color: #dd3333;
    background: rgba(221,51,51,0.06);
    border-left: 3px solid #dd3333;
}

/* ---- モバイルドロワー ---- */
.drawer {
    background: #f5f6f8;
}

.drawerNav a {
    color: #555;
}

.drawerNav a:hover {
    color: #dd3333;
}

/* ---- レスポンシブ ---- */
@media (max-width: 767px) {
    .index-whatsnew-item {
        flex-wrap: wrap;
        gap: 0.3rem;
    }
    .index-whatsnew-link {
        white-space: normal;
        flex-basis: 100%;
    }
}
