/* ===== 拳士カードを並べるコンテナ ===== */
.kenshi-wrapper {
    display: grid;
    grid-template-columns: 1fr;   /* スマホは1列（縦並び） */
    gap: 24px;
    justify-items: center;
}

/* ===== タブレット (768px〜960px) → 2列 ===== */
@media (min-width: 768px) and (max-width: 960px) {
    .kenshi-wrapper {
        grid-template-columns: repeat(2, 1fr);
        gap: 32px;
    }
}

/* ===== PC (961px〜1200px) → 3列 ===== */
@media (min-width: 961px) and (max-width: 1200px) {
    .kenshi-wrapper {
        grid-template-columns: repeat(3, 1fr);
        gap: 36px;
    }
}

/* ===== 大画面 (1201px〜) → 4列 ===== */
@media (min-width: 1201px) {
    .kenshi-wrapper {
        grid-template-columns: repeat(4, 1fr);
        gap: 40px;
    }
}

/* ===== 共通カードデザイン（基本はスマホ縦並び） ===== */
.card {
    background: #fff;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: center;
    margin-bottom: 24px;
    text-align: center;
}

/* 画像 */
.card img {
    width: 180px;
    height: auto;
    border-radius: 8px;
    object-fit: cover;
    margin: 0 auto;
}

/* テキスト領域 */
.card .info {
    flex: 1;
    text-align: left;
    width: 100%;
}

.card .info div {
    margin-bottom: 8px;
    font-size: 15px;
    line-height: 1.5;
}

/* タイトル行 */
.card .title {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 10px;
}

/* ===== タブレット (768px〜960px) ===== */
@media (min-width: 768px) and (max-width: 960px) {
    .card {
        flex-direction: row;
        text-align: left;
        align-items: flex-start;
    }

    .card img {
        width: 160px;
        margin: 0;
    }

    .card .info {
        margin-top: 0;
    }
}

/* ===== PC (961px〜) ===== */
@media (min-width: 961px) {
    .card {
        flex-direction: row;
        text-align: left;
        align-items: flex-start;
        padding: 24px 28px;
    }

    .card img {
        width: 150px;
        margin: 0;
    }

    .card .info {
        margin-top: 0;
    }
}
