/* ========================================
   カテゴリ一覧css
======================================== */
.cat-nav__list {
    display: flex;
    gap: 4px;
    flex-wrap: wrap;
    margin-top: 10px;
}

.cat-nav__item a {
    display: inline-block;
    font-size: 0.9rem;
    border: 1px solid #333333;
    border-radius: 999px;
    padding: 2px 10px;
    transition: color 0.3s ease, border-color 0.3s ease, background-color 0.3s ease;
}

.cat-nav__item a:hover {
    color: #C79A95;
    border-color: #C79A95;
}


/* ========================================
   カードcss
======================================== */
.card-lead {
    margin: 20px 15px 0;
}

.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px 20px;
    margin-top: 50px;
}

.card-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: 50px;
}

.card {
    width: 100%;
    padding: 15px;
    border-radius: 10px;
}

.card__text {
    margin-top: 15px;
}

.card__text p {
    text-align: left;
}

.card__text ul {
    margin-top: 15px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.card--lg {
    text-align: center;
    box-shadow: 0 2px 8px 1px rgba(0, 0, 0, 0.12);
    transition: box-shadow 0.3s ease;
}

.card--lg:hover {
    box-shadow: 0 6px 16px 3px rgba(0, 0, 0, 0.2);
}

.card--lg img {
    width: 200px;
    height: 200px;
}

.card--sm {
    display: flex;
    border: solid 1px #d8c8bd;
}

.card--sm img {
    width: 100px;
    height: 100px;
}

.card--sm .card__text {
    margin-top: 0;
}



.card-action {
    margin-top: 16px;
    padding-top: 12px;
    border-top: 1px dotted #e0e0e0;
    text-align: right;
}

.card-action__link {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 0.8rem;
    font-weight: 400;
    color: #990000;
    transition: color 0.2s ease, transform 0.2s ease;
}

.card-action__arrow {
    display: inline-block;
    font-size: 0.8rem;
    transition: transform 0.2s ease;
}

.card-action__link:hover .card-action__arrow {
    transform: translateY(2px);
}



/* ========================================
   SP レスポンシブ
======================================== */
@media screen and (max-width: 767px) {
    .cat-nav__item {
        font-size: clamp(0.7rem, 0.549rem + 0.73vw, 0.9rem);
    }

    .card-lead {
        margin: 20px 8px 0;
    }
}