@charset "UTF-8";

/* cateList
------------------------------------------------- */
.cateList {
    font-size: 0;
}
.cateList__item {
    display: inline-block;
    margin: 0 10px 10px 0;
    font-size: 1.3rem;
}


/* companyList
------------------------------------------------- */
.companyList {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}
.companyList__item {
    width: calc((100% - 18px) / 4);
    height: 48px;
    letter-spacing: -0.06em;
}
.companyList__item.is-active .modBtn03 {
    background-color: var(--color-base01);
    color: #fff;

}
@media screen and (max-width: 768px) {
    .companyList {
        max-height: 260px;
        overflow-x: auto;
    }
    .companyList__item {
        width: calc((100% - 12px) / 3);
        height: 32px;
    }
}


/* company-cateList
------------------------------------------------- */
.company-cateList {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}
.company-cateList__item {
    width: calc((100% - 18px) / 4);
    height: 60px;
    letter-spacing: -0.06em;
}
.company-cateList__item.is-active .modBtn04 {
    background-color: var(--color-base01);
    color: #fff;

}
@media screen and (max-width: 768px) {
    .company-cateList {
        max-height: 260px;
        overflow-x: auto;
    }
    .company-cateList__item {
        width: calc((100% - 12px) / 3);
        height: 40px;
    }
}


/* sec
------------------------------------------------- */
.sec {
    margin-top: 70px;
    position: relative;
}
.sec__lead {
    padding: 0 0 0 30px;
    margin-bottom: 30px;
    color: var(--color-baseText02);
    line-height: 1.3;
}
.sec__footer {
    position: absolute;
    top: 10px;
    right: 0;
    text-align: right;
    font-size: 1.2rem;
}
.sec .sec__lead {
    margin-top: -10px;
}

@media screen and (max-width: 768px) {
    .sec {
        margin-top: 50px;
    }
    .sec__lead {
        margin-bottom: 15px;
    }
    .sec__footer {
        position: static;
        margin-top: 20px;
    }
    .sec .modTtl01.modTtl01--company-cate {
        letter-spacing: -0.1em;
    }
}


/* pickup
------------------------------------------------- */
.pickup-section {
    padding: 30px 0;
    margin-bottom: 50px;
}

/* ===== ヘッダー ===== */
.pickup-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}

.pickup-header .flame-icon {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
}

.pickup-header h2 {
    font-size: 1.8rem;
    font-weight: bold;
    color: #222;
}

.pickup-badge {
    background: var(--color-base01);
    color: #fff;
    font-size: 1.2rem;
    font-weight: bold;
    padding: 4px 10px;
    border-radius: 4px;
    white-space: nowrap;
}

/* ===== カードリスト ===== */
.pickup-list {
    display: flex;
    gap: 12px;
}

/* ===== カード1枚 ===== */
.pickup-card {
    position: relative;
    flex: 0 0 calc((100% - 48px) / 5);
    border: 1px solid var(--color-base01);
    border-radius: 10px;
    padding: 28px 10px 16px;
    text-align: center;
    background: #fff;
    box-sizing: border-box;
}

/* ===== 順位バッジ ===== */
.rank-badge {
    position: absolute;
    top: -14px;
    left: -10px;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    font-weight: bold;
    color: #fff;
}

.rank-1 {
    background: var(--color-ranking01);
}

.rank-2 {
    background: var(--color-ranking02);
}

.rank-3 {
    background: var(--color-ranking03);
}

.rank-4 {
    background: var(--color-ranking04);
}

.rank-5 {
    background: var(--color-ranking05);
}

/* ===== カテゴリラベル ===== */
.card-category {
    font-size: 1.2rem;
    color: var(--color-baseText02);
    margin-bottom: 8px;
    letter-spacing: -0.05em;
}

/* ===== 会社名 ===== */
.card-name {
    font-size: 1.6rem;
    font-weight: bold;
    line-height: 1.5;
    margin-bottom: 10px;
    min-height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-base01);
}

/* ===== 星評価 ===== */
.card-stars {
    display: flex;
    justify-content: center;
    gap: 2px;
    margin-bottom: 8px;
    font-size: 1.6rem;
}

.star-filled {
    color: #f59e0b;
}

.star-empty {
    color: #d1d5db;
}

.card-rating {
    font-size: 1.2rem;
    color: var(--color-baseText02);
    margin-bottom: 12px;
}

/* ===== リンク ===== */
.card-link {
    font-size: 1.6rem;
    color: var(--color-base01);
    text-decoration: none;
    font-weight: 500;
}

.card-link:hover {
    text-decoration: underline;
}

@media screen and (max-width: 768px) {
    .pickup-header {
        flex-direction: column-reverse;
        align-items: flex-start;
    }

    .pickup-block {
        overflow-x: auto;
        flex-wrap: nowrap;
        -webkit-overflow-scrolling: touch;
        padding: 14px 0 8px 10px;
    }

    .pickup-card {
        flex: 0 0 200px;
    }

    /* スクロールバーを薄く */
    .pickup-block::-webkit-scrollbar {
        height: 6px;
    }

    .pickup-block::-webkit-scrollbar-thumb {
        background: #ccc;
        border-radius: 999px;
    }
}
