/* =========================
   通変星一覧
========================= */

.term-list {

    display: grid;

    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    gap: 18px;

    margin-top: 30px;

    padding: 0;

    list-style: none;
}

.page-content ul {
    padding-left: 0;
}

.term-list li {
    margin: 0;
}

/* カード */

.term-card {

    display: flex;

    flex-direction: column;

    justify-content: center;

    min-height: 120px;

    padding: 20px 24px;

    border-radius: 20px;

    text-decoration: none;

    background:
        linear-gradient(145deg,
            rgba(255, 255, 255, 0.92),
            rgba(255, 255, 255, 0.65));

    border:
        1px solid rgba(180, 170, 255, 0.20);

    backdrop-filter: blur(10px);

    box-shadow:
        0 10px 24px rgba(0, 0, 0, 0.06);

    transition:
        transform .25s ease,
        box-shadow .25s ease,
        border-color .25s ease;
}

.term-card:hover {

    transform:
        translateY(-4px);

    border-color:
        rgba(140, 130, 255, 0.40);

    box-shadow:
        0 18px 34px rgba(0, 0, 0, 0.10),
        0 0 18px rgba(170, 150, 255, 0.14);
}

/* 星名 */

.star-name {

    margin-bottom: 10px;

    font-size: 1.15rem;

    font-weight: 700;

    line-height: 1.5;

    color: #5b4d8d;
}

/* ふりがな */

.star-kana {

    margin-left: 8px;

    font-size: .82rem;

    font-weight: 400;

    letter-spacing: .08em;

    color: #9187b5;
}

/* 説明 */

.star-desc {

    font-size: .95rem;

    line-height: 1.8;

    color: #6f677f;
}

/* =========================
   通変星5分類
========================= */

.star-groups {

    display: grid;

    grid-template-columns:
        repeat(5, 1fr);

    gap: 14px;

    margin-top: 28px;
}

.group-card {

    padding: 18px;

    border-radius: 18px;

    text-align: center;

    background:
        rgba(255, 255, 255, 0.15);

    border:
        1px solid rgba(255, 255, 255, 0.28);

    backdrop-filter: blur(8px);

    transition: .2s ease;
}

.group-card h3 {

    margin: 0 0 12px;

    font-size: 1.05rem;

    color: #6a5aa8;
}

.group-card p {

    margin: 0 0 8px;

    font-size: .98rem;

    font-weight: 700;

    line-height: 1.6;

    color: #4f3d66;
}

.group-card span {

    display: block;

    font-size: .88rem;

    color: #777;
}

/* =========================
   スマホ
========================= */

@media (max-width: 1024px) {

    .star-groups {

        grid-template-columns:
            repeat(3, 1fr);
    }
}

@media (max-width: 767px) {

    .term-list {

        grid-template-columns: 1fr;
    }

    .term-card {

        min-height: auto;

        padding: 18px;
    }

    .star-groups {

        grid-template-columns:
            repeat(2, 1fr);

        gap: 10px;
    }

    .group-card {

        padding: 16px;
    }
}

@media (max-width: 480px) {


    .star-name {

        font-size: 1.05rem;
    }

    .star-desc {

        font-size: .9rem;
    }
}