/* =========================
   hiken / term一覧 専用CSS（最適化版）
   見た目はそのまま・内部だけ改善
========================= */

/* =========================
   コンテンツ幅
========================= */
.page-bg-inner {
    max-width: 700px;
    margin: 0 auto;
    padding: clamp(30px, 4vw, 30px) clamp(20px, 3vw, 20px);
}

/* =========================
   セクション余白
========================= */
.term-section {
    margin-top: clamp(60px, 6vw, 60px);
    margin-bottom: clamp(35px, 4vw, 35px);
}

/* =========================
   見出し
========================= */
.term-section h2 {
    margin-bottom: clamp(15px, 2vw, 15px);
    border-bottom: 1px solid rgba(255,255,255,0.2);
    padding-bottom: clamp(6px, 1vw, 6px);
}

/* =========================
   リスト
========================= */
.term-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.term-list li {
    margin-bottom: clamp(12px, 1.5vw, 12px);
}

.term-list a {
    color: #a8d4ff;
}

/* =========================
   カード
========================= */
.term-card {
    display: block;
    position: relative;

    padding: clamp(14px, 2vw, 14px) clamp(18px, 2.5vw, 18px);
    border-radius: clamp(14px, 2vw, 14px);

    background: linear-gradient(135deg, #1e1e2f, #2c2c44);

    backdrop-filter: blur(6px);

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

    box-shadow: 0 4px 20px rgba(80, 80, 150, 0.2);

    text-decoration: none;
    transition: all 0.25s ease;
}

/* 矢印 */
.term-card::after {
    content: "›";
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.6rem;
    color: rgba(255, 255, 255, 0.7);
    transition: transform 0.2s ease;
}

/* hover */
.term-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(120, 120, 255, 0.35);
}

.term-card:hover::after {
    transform: translateY(-50%) translateX(5px);
}

/* タップ */
.term-card:active {
    transform: scale(0.98);
}

/* =========================
   テキスト
========================= */
.term-name {
    display: block;
    font-weight: 600;
    font-size: clamp(1rem, 2.5vw, 1rem);
    color: #a8d4ff;
}

.term-desc {
    display: block;
    font-size: clamp(0.85rem, 2.2vw, 0.85rem);
    color: rgba(230, 230, 255, 0.85);
    margin-top: 4px;
}

.term-heading {
    position: relative;
    text-align: center; 
    margin-bottom: 10px;
}

.term-heading h2 {
    margin: 0 0 18px;
}

.term-intro-link {
    position: absolute;
    right: 0;
    bottom: -10px;

    font-size: 0.85rem;

    text-decoration: underline;

    opacity: 0.9;
    transition: opacity 0.2s ease;
}

.term-intro-link:hover {
    opacity: 1;
    color: #66aaff;
    text-decoration: underline;
}

/* 通変星 */
