/* ============================================================
   style.css — ゲーミング英会話 ランキング記事
   TailwindCSS と組み合わせて使用するカスタムスタイル
   ============================================================ */

/* ----------------------------------------------------------
   ベーススタイル
   ---------------------------------------------------------- */
html,
body {
    overflow-x: hidden;
    width: 100%;
}

:root {
    /* ----------------------------------------------------------
       Typography Scale Definition (Mobile First)
       ---------------------------------------------------------- */
    --fs-xs: 0.75rem;
    /* 12px */
    --fs-sm: 0.8125rem;
    /* 13px */
    --fs-base: 0.9375rem;
    /* 15px */
    --fs-lg: 1.0625rem;
    /* 17px */
    --fs-xl: 1.1875rem;
    /* 19px */
    --fs-2xl: 1.375rem;
    /* 22px */
    --fs-3xl: 1.75rem;
    /* 28px */
    --fs-4xl: 2.125rem;
    /* 34px */
    --fs-5xl: 2.5rem;
    /* 40px */
    --fs-6xl: 3rem;
    /* 48px */
}

@media (min-width: 768px) {
    :root {
        --fs-sm: 0.875rem;
        /* 14px */
        --fs-base: 1rem;
        /* 16px */
        --fs-lg: 1.125rem;
        /* 18px */
        --fs-xl: 1.25rem;
        /* 20px */
        --fs-2xl: 1.5rem;
        /* 24px */
        --fs-3xl: 1.875rem;
        /* 30px */
        --fs-4xl: 2.25rem;
        /* 36px */
        --fs-5xl: 3rem;
        /* 48px */
        --fs-6xl: 3.75rem;
        /* 60px */
    }
}

body {
    background-color: #f8fafc;
    color: #334155;
}

/* ----------------------------------------------------------
   背景グリッド / アンビエントブロブ
   ---------------------------------------------------------- */
.bg-grid {
    background-size: 40px 40px;
}

.blob {
    position: absolute;
    filter: blur(80px);
    z-index: -1;
    opacity: 0.2;
}

/* ----------------------------------------------------------
   汎用コンポーネント
   ---------------------------------------------------------- */

/* 斜めカットポリゴン */
.clip-polygon {
    clip-path: polygon(0 0, calc(100% - 20px) 0, 100% 20px, 100% 100%, 20px 100%, 0 calc(100% - 20px));
}

.clip-polygon-reverse {
    clip-path: polygon(20px 0, 100% 0, 100% calc(100% - 20px), calc(100% - 20px) 100%, 0 100%, 0 20px);
}

/* グラスカード */
.glass-card {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
}

/* ホバーエフェクト */
.cyber-hover {
    transition: all 0.3s ease;
}

.cyber-hover:hover {
    box-shadow: 0 10px 25px rgba(2, 132, 199, 0.15);
    transform: translateY(-2px);
    border-color: rgba(2, 132, 199, 0.3);
}

/* スクロールアニメーション (Float In) */
.reveal {
    opacity: 0;
    transform: translateY(30px) scale(0.98);
    transition-property: opacity, transform;
    transition-duration: 1.2s;
    transition-timing-function: cubic-bezier(0.16, 1, 0.3, 1);
    will-change: transform, opacity;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.reveal-delay-1 {
    transition-delay: 0.1s !important;
}

.reveal-delay-2 {
    transition-delay: 0.2s !important;
}

.reveal-delay-3 {
    transition-delay: 0.3s !important;
}

.reveal-delay-4 {
    transition-delay: 0.4s !important;
}

.reveal-delay-5 {
    transition-delay: 0.5s !important;
}

/* 展開コンテンツ */
.expandable-content {
    max-height: 5.5rem;
    overflow: hidden;
    transition: max-height 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.expandable-content.text-xs {
    max-height: 4.2rem;
}

.expandable-content.is-expanded {
    max-height: 1000px;
}

/* カスタムスクロールバー */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f5f9;
}

::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}


/* ============================================================
   記事コンテンツ構造スタイル
   セクションクラスとタグの組み合わせでスタイル適用
   ============================================================ */

/* ----------------------------------------------------------
   共通：セクションヘッダー区切り線
   ---------------------------------------------------------- */
.section-about,
.section-price,
.section-related,
.section-conclusion {
    max-width: 64rem;
    /* max-w-5xl */
    margin-left: auto;
    margin-right: auto;
    padding-left: 1rem;
    padding-right: 1rem;
}

/* Hero Section - Full width for extended image */
.section-hero {
    max-width: 100%;
    margin: 0;
    padding-left: 1rem;
    padding-right: 1rem;
}

@media (min-width: 640px) {

    .section-about,
    .section-price,
    .section-related,
    .section-conclusion {
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }

    .section-hero {
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }
}

@media (min-width: 1024px) {

    .section-about,
    .section-price,
    .section-related,
    .section-conclusion {
        padding-left: 2rem;
        padding-right: 2rem;
    }

    .section-hero {
        padding-left: 0;
        padding-right: 0;
    }
}

/* ----------------------------------------------------------
   ヒーローセクション (.section-hero)
   ---------------------------------------------------------- */
.section-hero {
    padding-top: 0;
    padding-bottom: 3.5rem;
}

@media (min-width: 768px) {
    .section-hero {
        padding-top: 0;
        padding-bottom: 5rem;
    }
}

.section-hero .badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 4.5rem;
    padding: 0.375rem 0.75rem;
    border-radius: 9999px;
    border: 1px solid #e2e8f0;
    background: #fff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    margin-bottom: 2rem;
}

.section-hero .badge i {
    font-size: 1.125rem;
    color: #7c3aed;
}

.section-hero .badge span {
    font-size: var(--fs-xs);
    font-weight: 700;
    color: #475569;
    letter-spacing: 0.1em;
}

.section-hero h1 {
    font-size: var(--fs-3xl);
    font-weight: 900;
    line-height: 1.25;
    margin-bottom: 1.5rem;
    color: #0f172a;
}

@media (min-width: 768px) {
    .section-hero h1 {
        font-size: var(--fs-5xl);
    }
}

@media (min-width: 1024px) {
    .section-hero h1 {
        font-size: var(--fs-6xl);
    }
}

.section-hero h1 .gradient-text {
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    background-image: linear-gradient(to right, #0284c7, #7c3aed, #db2777);
}

.section-hero>p {
    max-width: 48rem;
    line-height: 1.8;
}

.section-hero .lead {
    font-size: var(--fs-lg);
    color: #334155;
    margin-bottom: 2.5rem;
    text-shadow:
        0 0 10px rgba(255, 255, 255, 1),
        0 0 20px rgba(255, 255, 255, 1),
        0 0 30px rgba(255, 255, 255, 0.95),
        0 0 40px rgba(255, 255, 255, 0.9),
        0 0 60px rgba(255, 255, 255, 0.8);
}

@media (min-width: 768px) {
    .section-hero .lead {
        font-size: var(--fs-xl);
    }
}

.section-hero .subtext {
    font-size: var(--fs-sm);
    color: #1e293b;
    margin-bottom: 3rem;
    text-shadow:
        0 0 10px rgba(255, 255, 255, 1),
        0 0 20px rgba(255, 255, 255, 1),
        0 0 30px rgba(255, 255, 255, 0.95),
        0 0 40px rgba(255, 255, 255, 0.9),
        0 0 60px rgba(255, 255, 255, 0.8);
}

.section-hero .cta-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2rem;
    font-size: var(--fs-lg);
    font-weight: 700;
    color: #fff;
    background-image: linear-gradient(to right, #7c3aed, #0284c7);
    transition: all 0.3s ease;
    box-shadow: 0 10px 25px rgba(124, 58, 237, 0.3);
    text-decoration: none;
}

.section-hero .cta-btn:hover {
    background-image: linear-gradient(to right, #0284c7, #7c3aed);
}

.section-hero .cta-btn i {
    margin-right: 0.5rem;
    font-size: 1.5rem;
}

/* ヒーローグリッド & 画像バブル (背景装飾) */
.section-hero {
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.hero-grid {
    display: flex;
    flex-direction: column;
    min-height: 500px;
}

@media (min-width: 1024px) {
    .hero-grid {
        display: block;
        min-height: 600px;
        padding-top: 0;
        padding-bottom: 4rem;
        max-width: 64rem;
        margin-left: auto;
        margin-right: auto;
        padding-left: 2rem;
        padding-right: 2rem;
    }
}

.hero-content {
    position: relative;
    z-index: 10;
    max-width: 720px;
}

.hero-text-card {
    background: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 1.5rem;
    border-radius: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.05);
    margin-bottom: 2.5rem;
}

@media (min-width: 768px) {
    .hero-text-card {
        padding: 2rem;
        margin-left: -1rem;
        margin-right: -1rem;
    }
}

.hero-images {
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    max-width: none;
    height: 100%;
    display: flex;
    justify-content: flex-end;
    align-items: flex-start;
    pointer-events: none;
    z-index: 0;
    opacity: 0.9;
}

@media (max-width: 1023px) {
    .hero-images {
        top: auto;
        bottom: -150px;
        right: -20%;
        opacity: 0.6;
    }

    .hero-grid {
        padding-bottom: 100px;
    }
}

.bubble-container {
    position: relative;
    width: 600px;
    height: 600px;
}

@media (min-width: 768px) {
    .bubble-container {
        width: 900px;
        height: 900px;
    }
}

@media (min-width: 1024px) {
    .bubble-container {
        width: 1000px;
        height: 1000px;
    }
}

.bubble {
    border-radius: 50%;
    overflow: hidden;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.12);
    border: 8px solid #fff;
    transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.bubble img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.bubble-big {
    width: 400px;
    height: 400px;
    position: absolute;
    top: 0;
    right: 0;
    z-index: 1;
}

.bubble-small {
    width: 260px;
    height: 260px;
    position: absolute;
    top: 250px;
    right: 250px;
    z-index: 2;
    border-width: 10px;
}

@media (min-width: 768px) {
    .bubble-big {
        width: 650px;
        height: 650px;
    }

    .bubble-small {
        width: 420px;
        height: 420px;
        top: 420px;
        right: 420px;
    }
}

@media (min-width: 1024px) {
    .bubble-big {
        width: 750px;
        height: 750px;
    }

    .bubble-small {
        width: 480px;
        height: 480px;
        top: 480px;
        right: 480px;
    }
}

@media (min-width: 1024px) {
    .hero-images {
        top: -80px;
        right: -120px;
    }
}

/* リンクボタンの重なり順を保証 */
.hero-content .hero-actions {
    position: relative;
    z-index: 20;
}

/* ----------------------------------------------------------
   メリット・デメリットセクション (.section-about)
   ---------------------------------------------------------- */
.section-about {
    padding-top: 3.5rem;
    padding-bottom: 3.5rem;
}

@media (min-width: 768px) {
    .section-about {
        padding-top: 5rem;
        padding-bottom: 5rem;
    }
}

.section-about .section-label {
    font-weight: 700;
    letter-spacing: 0.15em;
    font-size: var(--fs-xs);
    text-transform: uppercase;
    color: #7c3aed;
}

.section-about h2 {
    font-size: var(--fs-3xl);
    font-weight: 900;
    color: #1e293b;
    margin-top: 1rem;
}

@media (min-width: 768px) {
    .section-about h2 {
        font-size: var(--fs-4xl);
    }
}

.section-about .section-desc {
    color: #64748b;
    margin-top: 1.5rem;
    max-width: 42rem;
    line-height: 1.8;
    font-size: var(--fs-base);
}

/* サイドバー（メリット/デメリット概要） */
.section-about .sidebar {
    padding: 1.5rem;
    border-radius: 1rem;
    border: 1px solid;
}

.section-about .sidebar.pros {
    background-color: rgba(239, 246, 255, 0.5);
    border-color: rgba(191, 219, 254, 0.5);
}

.section-about .sidebar.cons {
    background-color: rgba(253, 242, 248, 0.5);
    border-color: rgba(251, 207, 232, 0.5);
}

.section-about .sidebar h3 {
    font-size: var(--fs-2xl);
    font-weight: 900;
    color: #1e293b;
    letter-spacing: -0.025em;
}

.section-about .sidebar p {
    font-size: var(--fs-sm);
    color: #475569;
    line-height: 1.8;
    margin-top: 0.5rem;
}

/* 各カード */
.section-about .feature-card {
    background: #fff;
    padding: 1.5rem 2rem;
    border-radius: 1rem;
    border: 1px solid #e2e8f0;
    box-shadow: 0 4px 20px rgb(0 0 0 / 3%);
}

.section-about .feature-card h4 {
    font-size: var(--fs-base);
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.section-about .feature-card h4 .num {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    border-radius: 9999px;
    background-color: #f8fafc;
    font-weight: 700;
    border: 1px solid #f1f5f9;
    flex-shrink: 0;
    font-size: var(--fs-sm);
}

.section-about .feature-card p {
    font-size: var(--fs-sm);
    color: #475569;
    line-height: 1.8;
    padding-left: 0;
}

@media (min-width: 768px) {
    .section-about .feature-card p {
        padding-left: 2.75rem;
    }
}

/* 関連記事バナー */
.section-about .related-link,
.section-how-to .related-link {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 1rem;
    background: #fff;
    border: 1px solid #e2e8f0;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    border-radius: 1rem;
    text-decoration: none;
    transition: all 0.2s ease;
    width: 100%;
    max-width: 42rem;
    text-align: left;
}

@media (min-width: 640px) {

    .section-about .related-link,
    .section-how-to .related-link {
        flex-direction: row;
        align-items: center;
        padding: 0.5rem 1.5rem 0.5rem 0.5rem;
        border-radius: 9999px;
    }
}

.section-about .related-link:hover,
.section-how-to .related-link:hover {
    background-color: #f8fafc;
    border-color: rgba(124, 58, 237, 0.3);
}

.section-about .related-link .tag,
.section-how-to .related-link .tag {
    background-color: #7c3aed;
    color: #fff;
    font-size: var(--fs-xs);
    font-weight: 700;
    padding: 0.375rem 1rem;
    border-radius: 9999px;
    margin-bottom: 0.75rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    flex-shrink: 0;
}

@media (min-width: 640px) {

    .section-about .related-link .tag,
    .section-how-to .related-link .tag {
        margin-bottom: 0;
        margin-right: 1rem;
    }
}

.section-about .related-link .text,
.section-how-to .related-link .text {
    font-size: var(--fs-sm);
    font-weight: 700;
    color: #334155;
    flex-grow: 1;
    padding-right: 0.5rem;
    line-height: 1.6;
}

.section-about .related-link:hover .text,
.section-how-to .related-link:hover .text {
    color: #7c3aed;
}

/* ----------------------------------------------------------
   選び方セクション (.section-how-to)
   ---------------------------------------------------------- */
.section-how-to {
    padding-top: 3.5rem;
    padding-bottom: 3.5rem;
    background-color: rgba(255, 255, 255, 0.5);
    border-top: 1px solid rgba(226, 232, 240, 0.6);
    border-bottom: 1px solid rgba(226, 232, 240, 0.6);
    max-width: 100%;
}

@media (min-width: 768px) {
    .section-how-to {
        padding-top: 5rem;
        padding-bottom: 5rem;
    }
}

.section-how-to .inner {
    max-width: 64rem;
    margin: 0 auto;
    padding-left: 1rem;
    padding-right: 1rem;
}

@media (min-width: 640px) {
    .section-how-to .inner {
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }
}

@media (min-width: 1024px) {
    .section-how-to .inner {
        padding-left: 2rem;
        padding-right: 2rem;
    }
}

.section-how-to .section-label {
    font-weight: 700;
    letter-spacing: 0.15em;
    font-size: var(--fs-xs);
    text-transform: uppercase;
    color: #0284c7;
}

.section-how-to h2 {
    font-size: var(--fs-3xl);
    font-weight: 900;
    color: #1e293b;
    margin-top: 1rem;
}

@media (min-width: 768px) {
    .section-how-to h2 {
        font-size: var(--fs-4xl);
    }
}

.section-how-to .section-desc {
    color: #64748b;
    margin-top: 1.5rem;
    max-width: 42rem;
    line-height: 1.8;
    font-size: var(--fs-base);
}

.section-how-to .point-num {
    font-weight: 300;
    font-size: 4.5rem;
    line-height: 1;
    margin-bottom: 1rem;
    color: #e2e8f0;
    transition: color 1s ease;
}

.reveal.active .section-how-to .point-num,
.reveal.active .point-num {
    color: #0284c7;
}

.section-how-to h3 {
    font-size: var(--fs-2xl);
    font-weight: 700;
    color: #1e293b;
    letter-spacing: -0.025em;
}

.section-how-to .point-body p {
    color: #475569;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    font-size: var(--fs-base);
}

.section-how-to .game-type-card {
    background-color: #f8fafc;
    padding: 1.5rem;
    border-radius: 0.75rem;
    border: 1px solid #f1f5f9;
}

.section-how-to .game-type-card h4 {
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 0.5rem;
    font-size: var(--fs-base);
}

.section-how-to .game-type-card p {
    font-size: var(--fs-sm);
    color: #475569;
    line-height: 1.8;
    margin-bottom: 0;
}

.section-how-to .check-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.section-how-to .check-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    font-size: var(--fs-sm);
    color: #475569;
    line-height: 1.8;
    list-style: none;
}

.section-how-to .check-list li i {
    color: #cbd5e1;
    margin-top: 0.25rem;
    transition: color 1s ease;
    flex-shrink: 0;
}

.reveal.active .section-how-to .check-list li i {
    color: #db2777;
}

/* ----------------------------------------------------------
   料金セクション (.section-price)
   ---------------------------------------------------------- */
.section-price {
    padding-top: 3.5rem;
    padding-bottom: 3.5rem;
}

@media (min-width: 768px) {
    .section-price {
        padding-top: 5rem;
        padding-bottom: 5rem;
    }
}

.section-price .section-label {
    font-weight: 700;
    letter-spacing: 0.15em;
    font-size: var(--fs-xs);
    text-transform: uppercase;
    color: #db2777;
}

.section-price h2 {
    font-size: var(--fs-3xl);
    font-weight: 900;
    color: #1e293b;
    margin-top: 1rem;
}

@media (min-width: 768px) {
    .section-price h2 {
        font-size: var(--fs-4xl);
    }
}

.section-price .section-desc {
    color: #64748b;
    margin-top: 1.5rem;
    max-width: 42rem;
    line-height: 1.8;
    font-size: var(--fs-base);
}

/* 料金カード共通 */
.section-price .price-card {
    background: #fff;
    border-radius: 1.5rem;
    padding: 2rem;
    border: 1px solid #e2e8f0;
    box-shadow: 0 4px 20px rgb(0 0 0 / 3%);
}

.section-price .price-card h3 {
    font-size: var(--fs-xl);
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 0.25rem;
}

.section-price .price-card .subtitle {
    font-size: var(--fs-sm);
    color: #64748b;
}

.section-price .price-item {
    background-color: #f8fafc;
    border-radius: 1rem;
    padding: 1.25rem;
    border: 1px solid #f1f5f9;
}

.section-price .price-item .label {
    font-size: var(--fs-sm);
    font-weight: 700;
    color: #334155;
    margin-bottom: 0.5rem;
}

.section-price .price-item .amount {
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 0.25rem;
}

.section-price .price-item .amount .num {
    font-weight: 700;
    font-size: var(--fs-3xl);
    color: #1e293b;
}

.section-price .price-item .amount .unit {
    font-size: var(--fs-sm);
    color: #64748b;
}

.section-price .price-item .amount .sep {
    color: #94a3b8;
    margin: 0 0.25rem;
}

/* ゲーム英会話カード（ダーク） */
.section-price .price-card-dark {
    background-color: #0f172a;
    border-radius: 1.5rem;
    padding: 0.25rem;
    position: relative;
    box-shadow: 0 25px 50px -12px rgba(2, 132, 199, 0.2);
    transform: translateY(-0.5rem);
}

.section-price .price-card-dark .badge-top {
    position: absolute;
    top: -1rem;
    left: 50%;
    transform: translateX(-50%);
    background-image: linear-gradient(to right, #0284c7, #7c3aed);
    color: #fff;
    font-size: var(--fs-xs);
    font-weight: 700;
    padding: 0.5rem 1.5rem;
    border-radius: 9999px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    white-space: nowrap;
    letter-spacing: 0.05em;
    z-index: 20;
}

.section-price .price-card-dark .inner {
    background-color: #0f172a;
    border-radius: calc(1.5rem - 4px);
    padding: 2rem;
    position: relative;
    overflow: hidden;
}

.section-price .price-card-dark h3 {
    font-size: var(--fs-xl);
    font-weight: 700;
    color: #fff;
    margin-bottom: 0.25rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.section-price .price-card-dark .subtitle {
    font-size: var(--fs-sm);
    color: #94a3b8;
}

.section-price .price-card-dark .price-item {
    background-color: rgba(30, 41, 59, 0.6);
    backdrop-filter: blur(4px);
    border-color: #334155;
    transition: border-color 0.2s ease;
}

.section-price .price-card-dark .price-item:hover {
    border-color: rgba(2, 132, 199, 0.5);
}

.section-price .price-card-dark .price-item .label {
    color: #cbd5e1;
}

.section-price .price-card-dark .price-item .amount .num {
    color: #fff;
    font-size: var(--fs-4xl);
    font-weight: 900;
}

.section-price .price-card-dark .price-item .amount .unit {
    color: #94a3b8;
}

.section-price .price-card-dark .price-item .amount .sep {
    color: #475569;
}

/* アドバイスボックス */
.section-price .advice-box {
    background-color: rgba(239, 246, 255, 0.5);
    border-radius: 1rem;
    padding: 1.5rem 2rem;
    border: 1px solid #bfdbfe;
    position: relative;
    overflow: hidden;
}

.section-price .advice-box h4 {
    font-size: var(--fs-base);
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 0.75rem;
}

.section-price .advice-box p {
    font-size: var(--fs-sm);
    color: #475569;
    line-height: 1.8;
    margin-bottom: 1rem;
}

.section-price .advice-box p:last-child {
    margin-bottom: 0;
}

/* ----------------------------------------------------------
   ランキングセクション (.section-ranking)
   ---------------------------------------------------------- */
.section-ranking {
    padding-top: 3.5rem;
    padding-bottom: 3.5rem;
    background-color: rgba(255, 255, 255, 0.5);
    border-top: 1px solid rgba(226, 232, 240, 0.6);
    max-width: 100%;
}

@media (min-width: 768px) {
    .section-ranking {
        padding-top: 5rem;
        padding-bottom: 5rem;
    }
}

.section-ranking .inner {
    max-width: 64rem;
    margin: 0 auto;
    padding-left: 1rem;
    padding-right: 1rem;
}

@media (min-width: 640px) {
    .section-ranking .inner {
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }
}

@media (min-width: 1024px) {
    .section-ranking .inner {
        padding-left: 2rem;
        padding-right: 2rem;
    }
}

.section-ranking .section-label {
    font-weight: 700;
    letter-spacing: 0.15em;
    font-size: var(--fs-xs);
    text-transform: uppercase;
    color: #94a3b8;
}

.section-ranking h2 {
    font-size: var(--fs-3xl);
    font-weight: 900;
    color: #1e293b;
    margin-top: 0.75rem;
}

@media (min-width: 768px) {
    .section-ranking h2 {
        font-size: var(--fs-5xl);
    }
}

/* ランキングカード（article） */
.section-ranking .ranking-list {
    display: flex;
    flex-direction: column;
    gap: 4rem;
    margin-top: 1.5rem;
}

.section-ranking .ranking-list>article {
    background: #fff;
    border-radius: 1.5rem;
    padding: 1.5rem;
    border: 2px solid #e2e8f0;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.04);
    position: relative;
    transition: box-shadow 0.3s ease, opacity 1.2s ease, transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

@media (min-width: 768px) {
    .section-ranking .ranking-list>article {
        padding: 2rem;
    }
}

@media (min-width: 1024px) {
    .section-ranking .ranking-list>article {
        padding: 2.5rem;
    }
}

.section-ranking .ranking-list>article:hover {
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}

/* No.1 ゴールドボーダー */
.section-ranking .ranking-list>article.rank-1 {
    border-color: rgba(252, 211, 77, 0.5);
    box-shadow: 0 20px 25px -5px rgba(245, 158, 11, 0.05);
}

/* No.3 オレンジボーダー */
.section-ranking .ranking-list>article.rank-3 {
    border-color: rgba(253, 186, 116, 0.6);
}

/* ランクバッジ */
.section-ranking .ranking-list>article .rank-badge {
    position: absolute;
    top: -1.25rem;
    left: 1.5rem;
}

@media (min-width: 768px) {
    .section-ranking .ranking-list>article .rank-badge {
        left: 2.5rem;
    }
}

.section-ranking .ranking-list>article .rank-badge .badge-inner {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.375rem;
    padding: 0.5rem 1.5rem;
    border-radius: 9999px;
    color: #fff;
    font-weight: 700;
    font-size: var(--fs-xl);
    letter-spacing: 0.05em;
    border: 2px solid #fff;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.section-ranking .ranking-list>article.rank-1 .badge-inner {
    background-image: linear-gradient(to right, #f59e0b, #d97706);
    box-shadow: 0 4px 6px rgba(245, 158, 11, 0.2);
}

.section-ranking .ranking-list>article.rank-2 .badge-inner {
    background-image: linear-gradient(to right, #94a3b8, #64748b);
    box-shadow: 0 4px 6px rgba(148, 163, 184, 0.2);
}

.section-ranking .ranking-list>article.rank-3 .badge-inner {
    background-image: linear-gradient(to right, #f97316, #ea580c);
    box-shadow: 0 4px 6px rgba(249, 115, 22, 0.2);
}

/* ランク4-6 バッジ — 個別カラー */
.section-ranking .ranking-list .small-cards>article .rank-badge .badge-inner {
    font-size: var(--fs-sm);
    padding: 0.3rem 1.1rem;
    border-radius: 9999px;
    border: 2px solid rgba(255, 255, 255, 0.4);
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.18);
    letter-spacing: 0.08em;
    background-image: none;
    position: relative;
    overflow: hidden;
}

/* shimmer overlay */
.section-ranking .ranking-list .small-cards>article .rank-badge .badge-inner::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.25) 0%, transparent 60%);
    border-radius: inherit;
    pointer-events: none;
}

.section-ranking .ranking-list .small-cards>article.rank-4 .rank-badge .badge-inner {
    background-image: linear-gradient(135deg, #0891b2, #0e7490);
    color: #fff;
    box-shadow: 0 4px 12px rgba(8, 145, 178, 0.35);
    border-color: rgba(255, 255, 255, 0.35);
}

.section-ranking .ranking-list .small-cards>article.rank-5 .rank-badge .badge-inner {
    background-image: linear-gradient(135deg, #e11d48, #be185d);
    color: #fff;
    box-shadow: 0 4px 12px rgba(225, 29, 72, 0.3);
    border-color: rgba(255, 255, 255, 0.35);
}

.section-ranking .ranking-list .small-cards>article.rank-6 .rank-badge .badge-inner {
    background-image: linear-gradient(135deg, #7c3aed, #6d28d9);
    color: #fff;
    box-shadow: 0 4px 12px rgba(124, 58, 237, 0.3);
    border-color: rgba(255, 255, 255, 0.35);
}

/* 記事ヘッダー */
.section-ranking .ranking-list>article header {
    margin-top: 1rem;
    margin-bottom: 2rem;
}

.section-ranking .ranking-list>article header h3 {
    font-size: var(--fs-2xl);
    font-weight: 900;
    color: #1e293b;
    letter-spacing: -0.025em;
    margin-bottom: 0.5rem;
}

@media (min-width: 768px) {
    .section-ranking .ranking-list>article header h3 {
        font-size: var(--fs-3xl);
    }
}

.section-ranking .ranking-list>article header .service-sub {
    font-size: var(--fs-sm);
    color: #64748b;
    font-weight: 400;
    margin-left: 0.75rem;
}

/* スクール名 + ゲームロゴ行 */
.school-name-row {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.school-name-row h3 {
    margin-bottom: 0 !important;
}

.game-logos {
    display: flex;
    align-items: center;
    gap: 0.375rem;
    flex-shrink: 0;
}

.game-logo {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    object-fit: cover;
    opacity: 0.9;
    border: 1px solid rgba(0, 0, 0, 0.06);
}

/* Small cards用 — ロゴを少し小さく */
.section-ranking .small-cards .game-logo {
    width: 32px;
    height: 32px;
    border-radius: 7px;
}

.section-ranking .ranking-list>article header .tagline {
    font-weight: 700;
    font-size: var(--fs-base);
}

@media (min-width: 768px) {
    .section-ranking .ranking-list>article header .tagline {
        font-size: var(--fs-lg);
    }
}

/* スペックグリッド */
.section-ranking .ranking-list>article .spec-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.75rem;
    margin-bottom: 2rem;
}

@media (min-width: 768px) {
    .section-ranking .ranking-list>article .spec-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 1rem;
    }
}

.section-ranking .ranking-list>article .spec-grid dt {
    font-size: var(--fs-xs);
    font-weight: 700;
    color: #94a3b8;
    margin-bottom: 0.25rem;
}

.section-ranking .ranking-list>article .spec-grid dd {
    font-size: var(--fs-sm);
    font-weight: 700;
    color: #334155;
    margin: 0;
    line-height: 1.4;
}

.section-ranking .ranking-list>article .spec-grid dd .price-num {
    font-size: var(--fs-xl);
    line-height: 1.4;
}

.section-ranking .ranking-list>article .spec-grid .spec-cell {
    background-color: rgba(248, 250, 252, 0.8);
    border-radius: 1rem;
    padding: 1.25rem;
    border: 1px solid #f1f5f9;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

/* スクール画像 */
.school-image-container {
    width: 100%;
    aspect-ratio: 16 / 9;
    border-radius: 1rem;
    overflow: hidden;
    margin-bottom: 1.5rem;
    border: 1px solid #e2e8f0;
    background-color: #f1f5f9;
}

.school-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.section-ranking article:hover .school-image {
    transform: scale(1.05);
}

.small-cards .school-image-container {
    margin-bottom: 1rem;
    border-radius: 0.75rem;
}

/* 特徴エリア */
.section-ranking .ranking-list>article .features {
    border-top: 1px solid #f1f5f9;
    padding-top: 1.5rem;
    margin-top: 1rem;
}

.section-ranking .ranking-list>article .features h4 {
    font-weight: 700;
    color: #1e293b;
    font-size: var(--fs-lg);
    margin-bottom: 0.75rem;
}

.section-ranking .ranking-list>article .features .expandable-content p {
    font-size: var(--fs-sm);
    color: #475569;
    line-height: 1.8;
}

/* CTAボタン */
.section-ranking .ranking-list>article .cta-area {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid #f1f5f9;
    display: flex;
    justify-content: center;
}

.section-ranking .ranking-list>article .cta-area a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    background-color: #7c3aed;
    color: #fff;
    font-weight: 700;
    border-radius: 9999px;
    box-shadow: 0 10px 15px -3px rgba(124, 58, 237, 0.3);
    transition: all 0.3s ease;
    width: 100%;
    font-size: var(--fs-lg);
    text-decoration: none;
}

@media (min-width: 640px) {
    .section-ranking .ranking-list>article .cta-area a {
        width: 22rem;
    }
}

.section-ranking .ranking-list>article .cta-area a:hover {
    background-color: rgba(124, 58, 237, 0.9);
    box-shadow: 0 20px 25px -5px rgba(124, 58, 237, 0.3);
    transform: translateY(-0.25rem);
}

/* ランク4-6 小サイズカード */
.section-ranking .small-cards {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-top: 3rem;
    padding-top: 1.5rem;
    align-items: start;
}

@media (min-width: 768px) {
    .section-ranking .small-cards {
        grid-template-columns: repeat(3, 1fr);
    }
}

.section-ranking .small-cards>article {
    background: #fff;
    border-radius: 1.5rem;
    padding: 1.5rem;
    border: 1px solid #e2e8f0;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
    display: flex;
    flex-direction: column;
    position: relative;
    transition: box-shadow 0.3s ease, opacity 1.2s ease, transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
    height: 100%;
}

.section-ranking .small-cards>article:hover {
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.section-ranking .small-cards>article header {
    margin-top: 0.5rem;
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #f1f5f9;
}

.section-ranking .small-cards>article header h3 {
    font-size: var(--fs-base);
    font-weight: 700;
    color: #1e293b;
    line-height: 1.4;
    margin-bottom: 0;
}

.section-ranking .small-cards>article .tagline {
    font-size: var(--fs-xs);
    font-weight: 700;
    margin-bottom: 1rem;
}

.section-ranking .small-cards>article .spec-table {
    font-size: var(--fs-xs);
    color: #475569;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 1rem;
    background-color: #f8fafc;
    padding: 1rem;
    border-radius: 1rem;
    border: 1px solid #f1f5f9;
}

.section-ranking .small-cards>article .spec-table p {
    margin: 0;
}

.section-ranking .small-cards>article .spec-table span.key {
    color: #94a3b8;
    font-weight: 700;
}

.section-ranking .small-cards>article .features {
    border-top: 1px solid #f1f5f9;
    padding-top: 1rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.section-ranking .small-cards>article .features h4 {
    font-size: var(--fs-sm);
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 0.5rem;
}

.section-ranking .small-cards>article .features .expandable-content p {
    font-size: var(--fs-xs);
    color: #475569;
    line-height: 1.8;
}

.section-ranking .small-cards>article .cta-area {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid #f1f5f9;
}

.section-ranking .small-cards>article .cta-area a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.375rem;
    padding: 0.75rem 1rem;
    background-color: #7c3aed;
    color: #fff;
    font-weight: 700;
    border-radius: 0.75rem;
    box-shadow: 0 4px 6px rgba(124, 58, 237, 0.2);
    transition: all 0.3s ease;
    width: 100%;
    font-size: var(--fs-sm);
    text-decoration: none;
}

.section-ranking .small-cards>article .cta-area a:hover {
    background-color: rgba(124, 58, 237, 0.9);
    box-shadow: 0 10px 15px -3px rgba(124, 58, 237, 0.2);
    transform: translateY(-0.125rem);
}

/* ----------------------------------------------------------
   関連記事セクション (.section-related)
   ---------------------------------------------------------- */
.section-related {
    padding-top: 3rem;
    padding-bottom: 3rem;
    background: #fff;
    border-top: 1px solid #e2e8f0;
    border-bottom: 1px solid #e2e8f0;
    max-width: 100%;
}

@media (min-width: 768px) {
    .section-related {
        padding-top: 4rem;
        padding-bottom: 4rem;
    }
}

.section-related .inner {
    max-width: 64rem;
    margin: 0 auto;
    padding-left: 1rem;
    padding-right: 1rem;
}

@media (min-width: 640px) {
    .section-related .inner {
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }
}

@media (min-width: 1024px) {
    .section-related .inner {
        padding-left: 2rem;
        padding-right: 2rem;
    }
}

.section-related .section-label {
    font-weight: 700;
    letter-spacing: 0.15em;
    font-size: var(--fs-xs);
    text-transform: uppercase;
    color: #7c3aed;
}

.section-related h2 {
    font-size: var(--fs-3xl);
    font-weight: 900;
    color: #1e293b;
    margin-top: 0.75rem;
}

.section-related .section-desc {
    color: #64748b;
    margin-top: 1rem;
    font-size: var(--fs-sm);
}

.section-related .guide-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

@media (min-width: 768px) {
    .section-related .guide-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .section-related .guide-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.section-related .guide-card {
    display: block;
    text-decoration: none;
}

.section-related .guide-card .card-inner {
    height: 100%;
    background-color: #f8fafc;
    padding: 1.5rem;
    border: 1px solid #e2e8f0;
    border-radius: 0.75rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.section-related .guide-card:hover .card-inner {
    background: #fff;
    box-shadow: 0 10px 25px rgba(2, 132, 199, 0.15);
    transform: translateY(-2px);
    border-color: rgba(2, 132, 199, 0.3);
}

.section-related .guide-card h3 {
    font-size: var(--fs-lg);
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 0.75rem;
    transition: color 0.2s ease;
    position: relative;
    z-index: 10;
}

.section-related .guide-card:hover h3 {
    color: #0284c7;
}

.section-related .guide-card p {
    font-size: var(--fs-xs);
    color: #475569;
    line-height: 1.8;
    margin-bottom: 1rem;
    flex-grow: 1;
    position: relative;
    z-index: 10;
}

.section-related .guide-card .link-text {
    font-size: var(--fs-xs);
    font-weight: 700;
    color: #7c3aed;
    display: flex;
    align-items: center;
    gap: 0.25rem;
    transition: transform 0.2s ease;
    position: relative;
    z-index: 10;
}

.section-related .guide-card:hover .link-text {
    transform: translateX(0.5rem);
}

/* ----------------------------------------------------------
   まとめセクション (.section-conclusion)
   ---------------------------------------------------------- */
.section-conclusion {
    padding-top: 4rem;
    padding-bottom: 4rem;
}

.section-conclusion h2 {
    font-size: 1.5rem;
    font-weight: 900;
    color: #1e293b;
    margin-bottom: 1.5rem;
}

.section-conclusion p {
    font-size: 0.875rem;
    color: #475569;
    line-height: 1.8;
    margin-bottom: 2rem;
}

@media (min-width: 768px) {
    .section-conclusion p {
        font-size: 1rem;
    }
}