/*
=================================================================
  かいご診断 - style_override.css
  読み込み順: reset.css → style.css → style_override.css
  このファイルは style.css の差分・上書き専用です
=================================================================
*/

/* =============================================
   CSS変数 / カラーパレット統一
   ============================================= */
:root {
    --green-deep:   #1B6B62;
    --green-main:   #2C9186;
    --green-light:  #4DB8AC;
    --green-pale:   #E8F5F3;
    --green-bg:     #F0FAF8;
    --accent-orange:#FF6B35;
    --accent-yellow:#FFD60A;
    --text-dark:    #1A1A2E;
    --text-mid:     #4A5568;
    --text-light:   #718096;
    --radius-sm:    8px;
    --radius-md:    16px;
    --radius-lg:    24px;
    --shadow-sm:    0 2px 8px rgba(44,145,134,0.12);
    --shadow-md:    0 4px 20px rgba(44,145,134,0.18);
    --shadow-lg:    0 8px 40px rgba(44,145,134,0.22);
    --font-round:   'M PLUS Rounded 1c', sans-serif;
}

/* =============================================
   BODY / ベース上書き
   ============================================= */
body {
    background: var(--green-bg);
    max-width: 520px; /* 元の480pxから拡張 */
    font-family: 'Noto Sans JP', "fot-tsukuardgothic-std", sans-serif;
}

/* =============================================
   STICKY TOP BAR（新規追加）
   ============================================= */
.sticky-bar {
    position: fixed;
    top: 0; left: 50%; transform: translateX(-50%);
    width: 100%; max-width: 520px;
    background: rgba(27,107,98,0.97);
    backdrop-filter: blur(12px);
    z-index: 1000;
    padding: 8px 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 2px 16px rgba(0,0,0,0.15);
}

.sticky-logo {
    font-family: var(--font-round);
    font-size: 16px;
    font-weight: 800;
    color: white;
}

.sticky-cta {
    background: var(--accent-orange);
    color: white;
    font-size: 11px;
    font-weight: 700;
    padding: 6px 14px;
    border-radius: 100px;
    border: none;
    cursor: pointer;
    white-space: nowrap;
    transition: transform 0.2s;
    animation: pulse-orange 2s infinite;
    text-decoration: none;
}

@keyframes pulse-orange {
    0%, 100% { box-shadow: 0 0 0 0 rgba(255,107,53,0.5); }
    50%       { box-shadow: 0 0 0 6px rgba(255,107,53,0); }
}

/* =============================================
   HERO / FV（既存 .trick を上書き）
   ============================================= */
header {
    padding-top: 44px; /* sticky-bar分の余白 */
}

.trick {
    background: linear-gradient(160deg, var(--green-deep) 0%, var(--green-main) 50%, #3AAFA5 100%);
    padding: 28px 20px 24px;
    position: relative;
    overflow: hidden;
}

.trick::before {
    content: '';
    position: absolute;
    top: -40px; right: -40px;
    width: 200px; height: 200px;
    background: rgba(255,255,255,0.06);
    border-radius: 50%;
}

/* FV内テキスト */
.titles.headline_green {
    background: transparent; /* 元の背景色を無効化 */
    padding: 0;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(255,214,10,0.18);
    border: 1px solid rgba(255,214,10,0.5);
    color: var(--accent-yellow);
    font-size: 11px;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 100px;
    margin-bottom: 14px;
    letter-spacing: 0.05em;
}

.hero-title {
    font-family: var(--font-round);
    font-size: 26px;
    font-weight: 900;
    color: white;
    line-height: 1.35;
    margin-bottom: 12px;
}

.hero-title .highlight {
    color: var(--accent-yellow);
    position: relative;
}

.hero-title .highlight::after {
    content: '';
    position: absolute;
    bottom: 2px; left: 0; right: 0;
    height: 3px;
    background: var(--accent-yellow);
    opacity: 0.4;
    border-radius: 2px;
}

.hero-sub {
    font-size: 13px;
    color: rgba(255,255,255,0.85);
    margin-bottom: 20px;
}

/* FV内統計 */
.hero-stats {
    display: flex;
    gap: 10px;
    margin-bottom: 22px;
}

.hero-stat {
    background: rgba(255,255,255,0.12);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: var(--radius-sm);
    padding: 10px 12px;
    flex: 1;
    text-align: center;
}

.hero-stat-num {
    font-family: var(--font-round);
    font-size: 20px;
    font-weight: 900;
    color: var(--accent-yellow);
    line-height: 1;
    margin-bottom: 4px;
}

.hero-stat-label {
    font-size: 10px;
    color: rgba(255,255,255,0.8);
    font-weight: 500;
}

/* FV メインCTA */
.hero-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    background: var(--accent-orange);
    color: white;
    font-family: var(--font-round);
    font-size: 17px;
    font-weight: 800;
    padding: 16px 20px;
    border-radius: var(--radius-md);
    border: none;
    cursor: pointer;
    box-shadow: 0 6px 20px rgba(255,107,53,0.5);
    transition: transform 0.2s, box-shadow 0.2s;
    position: relative;
    overflow: hidden;
    text-decoration: none;
}

.hero-cta::before {
    content: '';
    position: absolute;
    top: 0; left: -100%;
    width: 60%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.25), transparent);
    animation: shine 2.5s infinite;
}

@keyframes shine {
    0%   { left: -100%; }
    100% { left: 200%; }
}

.hero-cta:hover { transform: translateY(-2px); box-shadow: 0 10px 28px rgba(255,107,53,0.55); }

/* trust bar（新規） */
.trust-bar {
    background: white;
    padding: 12px 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    border-bottom: 1px solid #eee;
    flex-wrap: wrap;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 11px;
    font-weight: 700;
    color: var(--green-deep);
}

.trust-item i { color: var(--green-main); font-size: 13px; }

/* =============================================
   .note 上書き（元は白文字right→見えにくいため修正）
   ============================================= */
.note p {
    text-align: right;
    font-size: 10px;
    color: rgba(255,255,255,0.55); /* 元の white から透明度を付加 */
}

/* =============================================
   ランキングセクション
   ============================================= */
.shindan_rank,
.ranking-section {
    margin: 0;
    padding: 0 16px 28px;
    background: white;
    /* CSSカウンターをここでリセット */
    counter-reset: rank-counter;
}

.shindan_rank h3 {
    background: linear-gradient(135deg, var(--green-deep), var(--green-main));
    border-radius: 0;
    font-size: 17px;
    padding: 16px 20px;
    margin: 0 -16px 20px;
    letter-spacing: 0.03em;
}

/* ランキングカード */
.rank-card {
    background: white;
    border-radius: var(--radius-md);
    margin-bottom: 14px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid #E2F4F2;
    position: relative;
    transition: transform 0.2s, box-shadow 0.2s;
    counter-increment: rank-counter; /* 表示カードのみカウント */
}

.rank-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }

/* 静的HTML用クラス */
.rank-card.rank-1 { border: 2px solid var(--accent-yellow); box-shadow: 0 4px 24px rgba(255,214,10,0.2); }
.rank-card.rank-2 { border: 2px solid #C0C0C0; }

/* 非表示カード（カウントもスキップ） */
.rank-card.rank-3 {
    display: none;
    counter-increment: none;
}

/* 動的生成カード用クラス */
.rank-card.rank-1-dyn { border: 2px solid var(--accent-yellow); box-shadow: 0 4px 24px rgba(255,214,10,0.2); }
.rank-card.rank-2-dyn { border: 2px solid #C0C0C0; }
.rank-card.rank-3-dyn { border: 2px solid #CD7F32; }

/* バッジ共通 */
.rank-num-badge {
    position: absolute;
    top: -1px; left: -1px;
    width: 44px; height: 44px;
    display: flex; align-items: center; justify-content: center;
    font-family: var(--font-round);
    font-size: 20px;
    font-weight: 900;
    border-radius: var(--radius-md) 0 var(--radius-sm) 0;
    z-index: 1;
    background: var(--green-pale);
    color: var(--green-deep);
}

/* CSSカウンターで番号を自動表示 */
.rank-num-badge::before {
    content: counter(rank-counter);
}

/* 静的HTML: nth-childでバッジ色（rank-3は非表示なので4がbronze） */
.rank-card:nth-child(1) .rank-num-badge { background: linear-gradient(135deg,#F6D365,#FDA085); color: white; }
.rank-card:nth-child(2) .rank-num-badge { background: linear-gradient(135deg,#a8a8a8,#d4d4d4); color: white; }
.rank-card:nth-child(4) .rank-num-badge { background: linear-gradient(135deg,#b8874e,#d4a76a); color: white; }
.rank-card:nth-child(n+5) .rank-num-badge { background: var(--green-pale); color: var(--green-deep); font-size: 16px; }

/* 動的生成カード: クラスでバッジ色を直接指定 */
.rank-card.rank-1-dyn .rank-num-badge { background: linear-gradient(135deg,#F6D365,#FDA085); color: white; }
.rank-card.rank-2-dyn .rank-num-badge { background: linear-gradient(135deg,#a8a8a8,#d4d4d4); color: white; }
.rank-card.rank-3-dyn .rank-num-badge { background: linear-gradient(135deg,#b8874e,#d4a76a); color: white; }
.rank-card.rank-other .rank-num-badge { background: var(--green-pale); color: var(--green-deep); font-size: 16px; }

.rank-card-header {
    padding: 12px 14px 10px 52px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid var(--green-pale);
}

.rank-logo-wrap { height: 36px; display: flex; align-items: center; }
.rank-logo-wrap img { max-height: 32px; max-width: 110px; object-fit: contain; }
.rank-logo-placeholder { font-family: var(--font-round); font-size: 13px; font-weight: 800; color: var(--green-deep); }

.rank-stars { display: flex; flex-direction: column; align-items: flex-end; gap: 2px; }
.stars-row { display: flex; gap: 2px; }
.stars-row i { color: var(--accent-yellow); font-size: 11px; }
.rank-score { font-size: 11px; font-weight: 700; color: var(--text-mid); }

.rank-card-body {
    padding: 12px 14px;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 8px;
    margin-bottom: 4px;
}

.rank-metric { text-align: center; }
.rank-metric-label { font-size: 9px; color: var(--text-light); font-weight: 500; margin-bottom: 4px; display: block; }
.rank-metric-value { font-family: var(--font-round); font-size: 13px; font-weight: 800; color: var(--green-deep); display: flex; align-items: center; justify-content: center; }
.rank-metric-value .good { color: var(--green-main); }
.rank-metric-value .normal { color: var(--text-mid); }

.rank-tags { padding: 0 14px 8px; display: flex; gap: 5px; flex-wrap: wrap; }
.rank-tag { background: var(--green-pale); color: var(--green-deep); font-size: 10px; font-weight: 700; padding: 3px 8px; border-radius: 100px; }
.rank-tag.orange { background: #FFF0EA; color: var(--accent-orange); }

.rank-recommended {
    position: absolute;
    top: 10px; right: 10px;
    background: linear-gradient(135deg,#FF6B35,#FF4500);
    color: white;
    font-size: 9px;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 100px;
    z-index: 2;
}

/* =============================================
   CTAボタン全面刷新（既存 .button 上書き）
   ============================================= */
.button,
.rank-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin: 4px 14px 14px;
    background: linear-gradient(135deg, var(--accent-orange), #FF8C42);
    color: white !important;
    font-family: var(--font-round);
    font-size: 15px;
    font-weight: 800;
    padding: 14px;
    border-radius: var(--radius-sm);
    text-align: center;
    box-shadow: 0 4px 14px rgba(255,107,53,0.4);
    transition: transform 0.2s, box-shadow 0.2s;
    position: relative;
    overflow: hidden;
    text-decoration: none;
    border: none;
    cursor: pointer;
    width: auto; /* 元の width:70% を解除 */
}

.button::before,
.rank-cta::before {
    content: '';
    position: absolute;
    top: 0; left: -100%;
    width: 50%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    animation: shine 3s infinite;
}

.button:hover,
.rank-cta:hover { transform: translateY(-2px); box-shadow: 0 6px 18px rgba(255,107,53,0.45); }

.rank-1 .rank-cta,
.rank-1 .button {
    background: linear-gradient(135deg,#FF6B35,#FF4500);
    font-size: 16px;
    padding: 16px;
    box-shadow: 0 6px 20px rgba(255,107,53,0.5);
}

.rank-cta-sub {
    font-size: 10px;
    font-weight: 500;
    opacity: 0.9;
    display: block;
    margin-top: 2px;
}

/* .shindan_rank内のボタン調整（元CSSの上書き） */
.shindan_rank .button { width: auto; padding: 14px; font-size: 14px; margin: 4px 14px 14px; }

/* =============================================
   診断フォーム（既存 .search_green 系 上書き）
   ============================================= */
.search_green {
    background: linear-gradient(160deg, var(--green-bg), #dff2ee);
    padding: 28px 20px 32px;
}

.search_white {
    background: white;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    width: 100%;
    max-width: 480px;
    padding: 0;
}

.search_titles {
    background: linear-gradient(135deg, var(--green-deep), var(--green-main));
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.search_subtitle {
    color: rgba(255,255,255,0.8);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.1em;
    margin-bottom: 4px;
}

.search_title {
    color: white;
    font-family: var(--font-round);
    font-size: 22px;
    font-weight: 900;
    padding: 0 20px 16px;
    background: linear-gradient(135deg, var(--green-deep), var(--green-main));
    margin: 0;
}

.search_title_image img {
    width: 48px; height: 48px;
    border-radius: 50%;
    background: rgba(255,255,255,0.15);
    padding: 6px;
}

/* 進捗ステップバー（新規） */
.progress-steps {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    padding: 16px 20px 4px;
}

.progress-step {
    width: 28px; height: 28px;
    border-radius: 50%;
    background: var(--green-pale);
    color: var(--text-light);
    font-size: 11px;
    font-weight: 700;
    display: flex; align-items: center; justify-content: center;
    font-family: var(--font-round);
    transition: all 0.3s;
    flex-shrink: 0;
}

.progress-step.active { background: var(--green-main); color: white; transform: scale(1.1); box-shadow: 0 2px 8px rgba(44,145,134,0.4); }
.progress-step.done   { background: var(--green-light); color: white; }
.progress-line { flex: 1; height: 2px; background: var(--green-pale); max-width: 16px; transition: background 0.3s; }
.progress-line.done { background: var(--green-light); }

/* 設問ブロック */
.choices {
    padding: 14px 20px 0;
    animation: fadeInUp 0.3s ease;
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(8px); }
    to   { opacity: 1; transform: translateY(0); }
}

.question {
    font-family: var(--font-round);
    font-size: 14px;
    font-weight: 800;
    color: var(--green-deep);
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 8px;
    line-height: 1.4;
}

.q-number {
    background: var(--green-main);
    color: white;
    min-width: 24px; height: 24px;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 12px;
    flex-shrink: 0;
}

/* 選択肢グリッド */
.choice_wrap {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}

.choice_wrap .column {
    display: contents; /* カラム構造を解除してgridに統合 */
}

/* チェック/ラジオ 非表示 */
.choice {
    display: none;
}

/* ラベルをカード型に */
.label_choice {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 12px;
    border: 2px solid #E2F4F2;
    border-radius: var(--radius-sm);
    cursor: pointer;
    font-size: 12px;
    font-weight: 500;
    color: var(--text-mid);
    transition: all 0.15s;
    background: white;
    line-height: 1.4;
}

.label_choice::before {
    content: '';
    width: 18px; height: 18px;
    border: 2px solid #CBD5E0;
    border-radius: 4px;
    flex-shrink: 0;
    transition: all 0.15s;
    background: white;
}

/* radio は丸に */
input[type="radio"] + .label_choice::before,
.label_choice.radio::before {
    border-radius: 50%;
}

.choice:checked + .label_choice {
    border-color: var(--green-main);
    background: var(--green-pale);
    color: var(--green-deep);
    font-weight: 700;
}

.choice:checked + .label_choice::before {
    background: var(--green-main);
    border-color: var(--green-main);
    box-shadow: inset 0 0 0 3px white;
}

/* エリアセレクト */
.area_wrap {
    position: relative;
}

.area_wrap::after {
    content: '▼';
    position: absolute;
    right: 14px; top: 50%;
    transform: translateY(-50%);
    color: var(--green-main);
    pointer-events: none;
    font-size: 10px;
}

.styled-select {
    width: 100%;
    padding: 12px 40px 12px 16px;
    border: 2px solid #E2F4F2;
    border-radius: var(--radius-sm);
    font-size: 14px;
    font-family: 'Noto Sans JP', sans-serif;
    color: var(--text-dark);
    background: white;
    appearance: none;
    -webkit-appearance: none;
    cursor: pointer;
    transition: border-color 0.2s;
}

.styled-select:focus { outline: none; border-color: var(--green-main); }

/* 検索ボタン */
.submit {
    display: flex !important;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: calc(100% - 40px);
    margin: 20px 20px 24px;
    background: linear-gradient(135deg, var(--green-main), var(--green-deep));
    color: white;
    font-family: var(--font-round);
    font-size: 18px;
    font-weight: 800;
    padding: 18px;
    border-radius: var(--radius-md);
    border: none;
    cursor: pointer;
    box-shadow: 0 6px 20px rgba(44,145,134,0.4);
    transition: transform 0.2s, box-shadow 0.2s;
    position: relative;
    overflow: hidden;
    background-color: var(--green-main); /* フォールバック */
}

.submit::before {
    content: '';
    position: absolute;
    top: 0; left: -100%;
    width: 60%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    animation: shine 2s infinite;
}

.submit:hover { transform: translateY(-2px); box-shadow: 0 10px 28px rgba(44,145,134,0.5); }

/* =============================================
   ポイントセクション（新規）
   ============================================= */
.points-section {
    background: white;
    padding: 28px 20px;
}

.section-title {
    font-family: var(--font-round);
    font-size: 20px;
    font-weight: 800;
    color: var(--green-deep);
    text-align: center;
    margin-bottom: 6px;
    line-height: 1.4;
}

.section-title span { color: var(--accent-orange); }

.section-subtitle {
    font-size: 13px;
    color: var(--text-light);
    text-align: center;
    margin-bottom: 22px;
}

.point-card {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    padding: 16px;
    background: var(--green-pale);
    border-radius: var(--radius-md);
    margin-bottom: 12px;
    border-left: 4px solid var(--green-main);
}

.point-icon {
    width: 44px; height: 44px;
    background: white;
    border-radius: var(--radius-sm);
    display: flex; align-items: center; justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
    box-shadow: var(--shadow-sm);
}

.point-content h3 { font-family: var(--font-round); font-size: 14px; font-weight: 800; color: var(--green-deep); margin-bottom: 4px; }
.point-content p  { font-size: 12px; color: var(--text-mid); line-height: 1.6; }

/* =============================================
   ボトムCTAバナー（新規）
   ============================================= */
.bottom-cta {
    background: linear-gradient(135deg, var(--green-deep), var(--green-main));
    padding: 28px 20px;
    text-align: center;
}

.bottom-cta h2 { font-family: var(--font-round); font-size: 20px; font-weight: 900; color: white; margin-bottom: 8px; line-height: 1.4; }
.bottom-cta p  { font-size: 12px; color: rgba(255,255,255,0.8); margin-bottom: 20px; }

.bottom-cta-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: var(--accent-orange);
    color: white;
    font-family: var(--font-round);
    font-size: 17px;
    font-weight: 800;
    padding: 18px 24px;
    border-radius: var(--radius-md);
    box-shadow: 0 6px 20px rgba(255,107,53,0.5);
    transition: transform 0.2s;
    margin-bottom: 12px;
    text-decoration: none;
    position: relative;
    overflow: hidden;
}

.bottom-cta-btn::before {
    content: '';
    position: absolute;
    top: 0; left: -100%;
    width: 60%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    animation: shine 2.5s infinite;
}

.bottom-cta-btn:hover { transform: translateY(-2px); }

/* =============================================
   フッター（既存 .footer 微調整）
   ============================================= */
.footer {
    background: var(--text-dark);
    padding: 24px 20px;
}

.menu {
    flex-wrap: wrap;
    gap: 4px 12px;
    font-size: 11px;
}

.menu > li a {
    color: rgba(255,255,255,0.6);
    transition: color 0.2s;
}

.menu > li a:hover { color: white; }

.copyright { color: rgba(255,255,255,0.35); }

/* =============================================
   スクロールアニメーション（新規）
   ============================================= */
.fade-in {
    opacity: 0;
    transform: translateY(16px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* =============================================
   HERO 2カラムレイアウト（イラスト追加）
   ============================================= */

/* FV全体をflexで左右に分割 */
.hero-inner {
    display: flex;
    align-items: flex-end;
    gap: 0;
    position: relative;
    z-index: 1;
}

/* 左：テキストエリア */
.hero-text {
    flex: 1 1 0;
    min-width: 0;
    padding-right: 8px;
}

/* 右：イラストエリア */
.hero-illust {
    flex: 0 0 140px;
    width: 140px;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    margin-bottom: -28px;
    position: relative;
}

.hero-illust svg,
.hero-illust img {
    width: 140px;
    height: auto;
    display: block;
    animation: float-illust 3.5s ease-in-out infinite;
    filter: drop-shadow(0 6px 12px rgba(0,0,0,0.15));
}

@keyframes float-illust {
    0%, 100% { transform: translateY(0); }
    50%       { transform: translateY(-6px); }
}

/* タイトルフォントサイズをイラスト共存に合わせて調整 */
.hero-inner .hero-title {
    font-size: 21px;
}

.hero-inner .hero-sub {
    font-size: 12px;
}

.hero-inner .hero-stats {
    gap: 6px;
}

.hero-inner .hero-stat {
    padding: 8px 6px;
}

.hero-inner .hero-stat-num {
    font-size: 17px;
}

.hero-inner .hero-stat-label {
    font-size: 9px;
}

/* 診断条件バッジ（動的ランキング用） */
.rank-condition-badge {
    position: absolute;
    top: 10px; right: 10px;
    background: linear-gradient(135deg, #2C9186, #1B6B62);
    color: white;
    font-size: 9px;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 100px;
    z-index: 2;
}

/* 動的生成時の3位以降のバッジ色（rank-3-vis / rank-other） */
.rank-card.rank-3-vis .rank-num-badge { background: linear-gradient(135deg,#b8874e,#d4a76a); color: white; }
.rank-card.rank-other .rank-num-badge { background: var(--green-pale); color: var(--green-deep); font-size: 16px; }

/* =============================================
   .points セクション（元の矢印部分）の上書き
   ============================================= */
.points {
    background: white;
    padding: 20px 20px 10px;
}

.points_elements p {
    font-size: 15px;
    font-weight: 700;
    color: var(--text-dark);
    text-align: center;
}

.emphasis_pink {
    color: var(--green-main); /* 元のピンク系をグリーンに統一 */
    font-size: 19px;
    font-weight: 700;
}
