/* ===== リセット・基本 ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Noto Sans JP', 'Hiragino Kaku Gothic ProN', Meiryo, sans-serif;
  color: #1a1f3a; background: #f5f6fb; line-height: 1.8;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4, .logo { font-family: 'Zen Kaku Gothic New', 'Noto Sans JP', sans-serif; }
a { text-decoration: none; color: inherit; }
img, svg { max-width: 100%; }

.container { max-width: 1120px; margin: 0 auto; padding: 0 20px; }

/* ===== ヘッダー ===== */
.site-header {
  background: rgba(255,255,255,.85); backdrop-filter: blur(12px);
  border-bottom: 1px solid #e6e8f5; position: sticky; top: 0; z-index: 100;
  box-shadow: 0 2px 20px rgba(40,53,147,.05);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 66px; }
.logo { font-size: 1.35rem; font-weight: 900; color: #283593; letter-spacing: -0.5px; }
.global-nav { display: flex; gap: 30px; }
.global-nav a { font-size: 0.9rem; font-weight: 700; color: #4a4f6a; transition: color .2s; position: relative; }
.global-nav a::after { content: ''; position: absolute; left: 0; bottom: -6px; width: 0; height: 2px; background: #ff6f00; transition: width .25s; }
.global-nav a:hover { color: #283593; }
.global-nav a:hover::after { width: 100%; }
.nav-toggle { display: none; flex-direction: column; justify-content: center; gap: 5px; width: 44px; height: 44px; background: none; border: none; cursor: pointer; padding: 0; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: #283593; border-radius: 2px; transition: transform .25s, opacity .2s; margin: 0 auto; }
.site-header.nav-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.site-header.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
.site-header.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ===== ヒーロー ===== */
.hero { position: relative; overflow: hidden; background: linear-gradient(135deg, #1a1f3a 0%, #283593 55%, #3949ab 100%); color: #fff; padding: 70px 0 90px; }
.hero-bg { position: absolute; inset: 0; pointer-events: none; }
.hero-bg::before, .hero-bg::after {
  content: ''; position: absolute; border-radius: 50%; filter: blur(70px); opacity: .5;
}
.hero-bg::before { width: 380px; height: 380px; background: #5c6bc0; top: -120px; right: -80px; animation: float1 9s ease-in-out infinite; }
.hero-bg::after { width: 320px; height: 320px; background: #ff6f00; bottom: -140px; left: -60px; opacity: .25; animation: float2 11s ease-in-out infinite; }
@keyframes float1 { 0%,100%{ transform: translate(0,0); } 50%{ transform: translate(-30px,25px);} }
@keyframes float2 { 0%,100%{ transform: translate(0,0); } 50%{ transform: translate(25px,-20px);} }

.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.05fr .95fr; gap: 30px; align-items: center; }
.hero-label { display: inline-block; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.3); border-radius: 30px; padding: 6px 18px; font-size: 0.85rem; font-weight: 700; margin-bottom: 22px; backdrop-filter: blur(4px); }
.hero h1 { font-size: 2.9rem; font-weight: 900; line-height: 1.3; margin-bottom: 20px; letter-spacing: -.5px; }
.hero h1 .hl { background: linear-gradient(120deg, #ffd54f, #ff8a3d); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-sub { font-size: 1.05rem; opacity: .92; margin-bottom: 32px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 28px; }
.hero-trust { display: flex; gap: 20px; flex-wrap: wrap; font-size: 0.82rem; opacity: .85; }

.hero-visual { display: flex; justify-content: center; align-items: center; }
.hero-svg { width: 100%; max-width: 440px; filter: drop-shadow(0 30px 50px rgba(0,0,0,.35)); animation: heroFloat 6s ease-in-out infinite; }
@keyframes heroFloat { 0%,100%{ transform: translateY(0) rotate(0); } 50%{ transform: translateY(-14px) rotate(-1deg);} }

/* ボタン共通 */
.btn-primary, .btn-ghost, .btn-apply, .btn-detail, .table-btn { font-family: 'Zen Kaku Gothic New', sans-serif; }
.btn-primary { display: inline-block; background: linear-gradient(135deg, #ff8a3d, #f4511e); color: #fff; font-size: 1.05rem; font-weight: 700; padding: 15px 38px; border-radius: 50px; box-shadow: 0 8px 24px rgba(244,81,30,.45); transition: transform .2s, box-shadow .2s; }
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 12px 32px rgba(244,81,30,.55); }
.btn-ghost { display: inline-block; border: 2px solid rgba(255,255,255,.6); color: #fff; font-size: 1rem; font-weight: 700; padding: 13px 30px; border-radius: 50px; transition: background .2s, border-color .2s; }
.btn-ghost:hover { background: rgba(255,255,255,.15); border-color: #fff; }

/* ===== セクション共通 ===== */
.section-title { text-align: center; font-size: 1.9rem; font-weight: 900; margin-bottom: 12px; letter-spacing: -.5px; }
.section-title::after { content: ''; display: block; width: 56px; height: 4px; background: linear-gradient(90deg, #283593, #ff6f00); border-radius: 2px; margin: 14px auto 0; }
.section-sub { text-align: center; color: #6b7088; margin-bottom: 44px; font-size: 0.95rem; }

/* ===== ポイント ===== */
.points-section { padding: 80px 0; background: #fff; }
.points-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.point-card { background: #fff; border: 1px solid #ebedf7; border-radius: 20px; padding: 36px 26px; text-align: center; transition: transform .25s, box-shadow .25s, border-color .25s; }
.point-card:hover { transform: translateY(-6px); box-shadow: 0 18px 40px rgba(40,53,147,.12); border-color: #c5cae9; }
.point-icon { width: 76px; height: 76px; margin: 0 auto 18px; display: flex; align-items: center; justify-content: center; font-size: 2.2rem; border-radius: 22px; background: linear-gradient(135deg, #e8eaf6, #f3e5f5); box-shadow: inset 0 2px 6px rgba(255,255,255,.8), 0 6px 16px rgba(40,53,147,.1); }
.point-card h3 { font-size: 1.15rem; font-weight: 700; margin-bottom: 10px; }
.point-card p { font-size: 0.9rem; color: #5a6080; }

/* ===== カード診断 ===== */
.diagnosis-section { padding: 70px 0; background: linear-gradient(135deg, #1a1f3a, #283593); color: #fff; }
.diagnosis-section .section-title { color: #fff; }
.diagnosis-section .section-sub { color: rgba(255,255,255,.8); }
.diag-options { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; max-width: 760px; margin: 0 auto; }
.diag-btn { font-family: 'Zen Kaku Gothic New', sans-serif; font-size: 0.95rem; font-weight: 700; color: #283593; background: #fff; border: 2px solid transparent; border-radius: 14px; padding: 18px 12px; cursor: pointer; transition: transform .15s, box-shadow .15s; }
.diag-btn:hover { transform: translateY(-3px); box-shadow: 0 10px 24px rgba(0,0,0,.25); }
.diag-btn.active { background: linear-gradient(135deg, #ff8a3d, #f4511e); color: #fff; }
.diag-result { max-width: 620px; margin: 30px auto 0; background: #fff; color: #1a1f3a; border-radius: 18px; padding: 30px; text-align: center; box-shadow: 0 16px 40px rgba(0,0,0,.3); }
.diag-card-label { display: inline-block; background: #fff3e0; color: #e65100; font-size: 0.8rem; font-weight: 700; padding: 5px 16px; border-radius: 20px; margin-bottom: 12px; }
.diag-result h3 { font-size: 1.5rem; font-weight: 900; margin-bottom: 8px; }
.diag-catch { font-size: 0.92rem; color: #4a4f6a; margin-bottom: 20px; }
.diag-card-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* ===== ランキング ===== */
.ranking-section { padding: 84px 0; background: linear-gradient(180deg, #f5f6fb, #eef0fa); }
.card-item { background: #fff; border-radius: 22px; padding: 30px; margin-bottom: 26px; box-shadow: 0 6px 28px rgba(40,53,147,.08); border: 1px solid #ebedf7; position: relative; transition: transform .25s, box-shadow .25s; }
.card-item:hover { transform: translateY(-4px); box-shadow: 0 16px 44px rgba(40,53,147,.16); }
.rank-1 { border: 2px solid transparent; background:
  linear-gradient(#fff,#fff) padding-box,
  linear-gradient(135deg, #ffd54f, #ff8a3d) border-box; }
.rank-2 { border-top: 4px solid #b0bec5; }
.rank-3 { border-top: 4px solid #cd7f32; }

.rank-badge { position: absolute; top: -18px; left: 26px; width: 52px; height: 52px; border-radius: 16px; display: flex; align-items: center; justify-content: center; font-family: 'Zen Kaku Gothic New', sans-serif; font-weight: 900; font-size: 1rem; color: #fff; box-shadow: 0 6px 16px rgba(0,0,0,.2); transform: rotate(-6deg); }
.rank-1 .rank-badge { background: linear-gradient(135deg, #ffd54f, #ff8f00); }
.rank-2 .rank-badge { background: linear-gradient(135deg, #cfd8dc, #90a4ae); }
.rank-3 .rank-badge { background: linear-gradient(135deg, #d7a06a, #a0522d); }
.rank-4 .rank-badge, .rank-5 .rank-badge, .rank-x .rank-badge { background: linear-gradient(135deg, #5c6bc0, #283593); }

.card-header-row { display: flex; gap: 22px; align-items: center; margin-bottom: 20px; }
.card-logo-area { flex-shrink: 0; }

/* リアルなクレジットカード風ビジュアル */
.card-logo-placeholder {
  position: relative; width: 140px; height: 88px; border-radius: 12px; overflow: hidden;
  font-family: 'Zen Kaku Gothic New', sans-serif; color: #fff;
  box-shadow: 0 6px 16px rgba(0,0,0,.22);
}
.card-logo-placeholder .cc-num { position: absolute; left: 12px; bottom: 30px; font-family: monospace; font-size: 0.6rem; letter-spacing: 1.5px; color: rgba(255,255,255,.85); text-shadow: 0 1px 2px rgba(0,0,0,.4); }
.card-logo-placeholder .cc-brand { position: absolute; left: 12px; right: 36px; bottom: 9px; font-weight: 700; font-size: 0.78rem; line-height: 1.2; color: #fff; text-shadow: 0 1px 3px rgba(0,0,0,.45); }
.card-logo-placeholder .cc-mark { position: absolute; right: 11px; bottom: 9px; width: 30px; height: 18px; }
.card-logo-placeholder .cc-mark::before, .card-logo-placeholder .cc-mark::after { content: ''; position: absolute; top: 0; width: 18px; height: 18px; border-radius: 50%; }
.card-logo-placeholder .cc-mark::before { left: 0; background: rgba(255,255,255,.9); }
.card-logo-placeholder .cc-mark::after { right: 0; background: rgba(255,255,255,.5); }
.card-logo-placeholder.amber .cc-num, .card-logo-placeholder.amber .cc-brand { color: #5a4500; text-shadow: 0 1px 2px rgba(255,255,255,.3); }
.card-logo-placeholder.amber .cc-mark::before { background: rgba(90,69,0,.75); }
.card-logo-placeholder.amber .cc-mark::after { background: rgba(90,69,0,.4); }
.card-logo-placeholder::before { /* ICチップ */
  content: ''; position: absolute; top: 12px; left: 12px; width: 26px; height: 20px;
  border-radius: 4px; background: linear-gradient(135deg, #ffe082, #ffb300);
  box-shadow: inset 0 0 0 1px rgba(180,134,11,.5);
}
.card-logo-placeholder::after { /* 光沢 */
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(115deg, rgba(255,255,255,.35) 0%, rgba(255,255,255,0) 45%);
}
.card-logo-placeholder.gold   { background: linear-gradient(135deg, #c62828, #ef5350); }
.card-logo-placeholder.silver { background: linear-gradient(135deg, #ad1457, #ec407a); }
.card-logo-placeholder.bronze { background: linear-gradient(135deg, #1565c0, #42a5f5); }
.card-logo-placeholder.gray   { background: linear-gradient(135deg, #e65100, #ff9800); }
.card-logo-placeholder.green  { background: linear-gradient(135deg, #b71c1c, #e53935); }
.card-logo-placeholder.teal   { background: linear-gradient(135deg, #00897b, #4db6ac); }
.card-logo-placeholder.amber  { background: linear-gradient(135deg, #b8860b, #ffd700); color: #5a4500; text-shadow: 0 1px 2px rgba(255,255,255,.3); }
.card-logo-placeholder.platinum { background: linear-gradient(135deg, #2c3038, #6b7280); }
.card-logo-placeholder.big { width: 168px; height: 105px; }
.card-logo-placeholder.big .cc-num { font-size: 0.72rem; bottom: 38px; }
.card-logo-placeholder.big .cc-brand { font-size: 0.95rem; bottom: 12px; }
.card-logo-placeholder.big .cc-mark { width: 36px; height: 22px; bottom: 12px; }
.card-logo-placeholder.big .cc-mark::before, .card-logo-placeholder.big .cc-mark::after { width: 22px; height: 22px; }

.card-title-area h3 { font-size: 1.4rem; font-weight: 900; margin-bottom: 4px; }
.stars { color: #ffb300; font-size: 1.05rem; letter-spacing: 2px; margin-bottom: 8px; }
.card-catch { font-size: 0.92rem; color: #4a4f6a; }

.card-specs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; background: linear-gradient(135deg, #f3f4fb, #eceefb); border-radius: 14px; padding: 18px; margin-bottom: 18px; }
.spec { text-align: center; }
.spec-label { display: block; font-size: 0.72rem; color: #8a90a8; margin-bottom: 5px; }
.spec-value { font-size: 0.92rem; font-weight: 700; }
.spec-value.highlight { color: #e53935; font-size: 1.05rem; }

.card-merits { margin-bottom: 22px; }
.merit { font-size: 0.92rem; color: #3a3f5a; padding: 5px 0; }

.card-actions { display: flex; gap: 12px; align-items: center; }
.btn-apply { position: relative; overflow: hidden; display: inline-block; background: linear-gradient(135deg, #ff8a3d, #f4511e); color: #fff; font-size: 1rem; font-weight: 700; padding: 14px 34px; border-radius: 50px; box-shadow: 0 6px 18px rgba(244,81,30,.4); transition: transform .2s, box-shadow .2s; }
.btn-apply::after { content: ''; position: absolute; top: 0; left: -120%; width: 60%; height: 100%; background: linear-gradient(120deg, transparent, rgba(255,255,255,.5), transparent); transform: skewX(-20deg); transition: left .6s; }
.btn-apply:hover { transform: translateY(-2px); box-shadow: 0 10px 26px rgba(244,81,30,.55); }
.btn-apply:hover::after { left: 130%; }
.btn-detail { display: inline-block; border: 2px solid #c5cae9; color: #283593; font-size: 0.9rem; font-weight: 700; padding: 12px 24px; border-radius: 50px; transition: background .2s, border-color .2s; }
.btn-detail:hover { background: #283593; color: #fff; border-color: #283593; }

/* ===== ランキング選定基準 ===== */
.criteria-section { padding: 80px 0; background: #fff; }
.criteria-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.criteria-item { position: relative; background: linear-gradient(135deg, #f5f6fb, #eef0fa); border-radius: 18px; padding: 28px 24px 24px; border: 1px solid #ebedf7; }
.criteria-num { display: inline-block; font-family: 'Zen Kaku Gothic New', sans-serif; font-weight: 900; font-size: 1.6rem; background: linear-gradient(120deg, #283593, #ff6f00); -webkit-background-clip: text; background-clip: text; color: transparent; margin-bottom: 6px; }
.criteria-item h3 { font-size: 1.08rem; font-weight: 700; margin-bottom: 8px; }
.criteria-item p { font-size: 0.88rem; color: #5a6080; }
.criteria-note { font-size: 0.8rem; color: #8a90a8; margin-top: 26px; text-align: center; line-height: 1.8; }

/* ===== 記事内ツール導線 ===== */
.tool-links { margin-top: 22px; }
.tool-links-title { font-weight: 700; color: #283593; margin-bottom: 12px; }
.tool-links-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.tool-link { display: flex; flex-direction: column; background: linear-gradient(135deg, #fff6ee, #fdeee0); border: 1px solid #ffd9b8; border-radius: 14px; padding: 16px 18px; font-weight: 700; color: #d2691e; text-decoration: none; transition: transform .15s, box-shadow .15s; }
.tool-link:hover { transform: translateY(-2px); box-shadow: 0 6px 16px rgba(255,111,0,.15); }
.tool-link small { display: block; font-weight: 400; font-size: 0.78rem; color: #8a7355; margin-top: 5px; }
@media (max-width: 600px) { .tool-links-row { grid-template-columns: 1fr; } }

/* ===== 関連記事 ===== */
.related-articles { margin-top: 44px; padding: 24px 28px; background: linear-gradient(135deg, #f5f6fb, #eef0fa); border-radius: 18px; border: 1px solid #ebedf7; }
.related-articles h2 { font-size: 1.1rem; margin: 0 0 14px; border: none; padding: 0; }
.related-link { display: block; padding: 10px 0; font-size: 0.93rem; color: #283593; font-weight: 500; border-bottom: 1px dashed #d5d9ec; text-decoration: none; }
.related-link:last-child { border-bottom: none; }
.related-link:hover { color: #ff6f00; }

/* ===== シミュレーター ===== */
.simulator-section { padding: 72px 0; }
.sim-box { background: linear-gradient(135deg, #f5f6fb, #eef0fa); border: 1px solid #ebedf7; border-radius: 20px; padding: 30px 28px; margin-top: 8px; }
.sim-label { display: block; font-weight: 700; margin-bottom: 10px; color: #283593; }
.sim-input { width: 100%; font-size: 1.4rem; font-weight: 700; padding: 14px 16px; border: 2px solid #d5d9ec; border-radius: 12px; text-align: right; color: #283593; box-sizing: border-box; }
.sim-input:focus { outline: none; border-color: #ff6f00; }
.sim-presets { display: flex; gap: 10px; flex-wrap: wrap; margin: 14px 0 18px; }
.sim-preset { flex: 1; min-width: 70px; padding: 9px 6px; background: #fff; border: 1px solid #cfd4ea; border-radius: 10px; font-weight: 600; color: #3949ab; cursor: pointer; transition: all .15s; }
.sim-preset:hover { background: #283593; color: #fff; border-color: #283593; }
.sim-run { width: 100%; border: none; cursor: pointer; font-size: 1.05rem; }
.sim-result { margin-top: 26px; }
.sim-result-title { font-size: 1.1rem; font-weight: 700; margin-bottom: 16px; text-align: center; }
.sim-empty, .sim-note { color: #8a90a8; font-size: 0.85rem; }
.sim-note { margin-top: 18px; line-height: 1.8; }
.sim-rows { display: flex; flex-direction: column; gap: 10px; }
.sim-row { display: flex; align-items: center; gap: 12px; background: #fff; border: 1px solid #e6e8f2; border-radius: 14px; padding: 12px 16px; }
.sim-rank { font-family: 'Zen Kaku Gothic New', sans-serif; font-weight: 900; font-size: 1.2rem; color: #ff6f00; width: 22px; text-align: center; flex-shrink: 0; }
.sim-logo { width: 40px; height: 40px; border-radius: 8px; display: flex; align-items: center; justify-content: center; color: #fff; font-weight: 700; font-size: 0.8rem; flex-shrink: 0; }
.sim-name { flex: 1; font-weight: 600; font-size: 0.92rem; line-height: 1.3; }
.sim-name small { display: block; color: #8a90a8; font-weight: 400; font-size: 0.75rem; }
.sim-pts { font-family: 'Zen Kaku Gothic New', sans-serif; font-weight: 900; font-size: 1.15rem; color: #283593; text-align: right; }
.sim-pts small { display: block; font-size: 0.68rem; color: #8a90a8; font-weight: 400; }
.sim-apply { background: #ff6f00; color: #fff; padding: 7px 12px; border-radius: 8px; font-size: 0.8rem; font-weight: 700; text-decoration: none; flex-shrink: 0; }
.sim-apply:hover { background: #f4511e; }

.sim-grade-label { font-weight: 700; color: #283593; margin: 18px 0 8px; font-size: 0.92rem; }
.sim-grades { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 18px; }
.sim-grade { flex: 1; min-width: 70px; padding: 9px 6px; background: #fff; border: 1px solid #cfd4ea; border-radius: 10px; font-weight: 600; color: #3949ab; cursor: pointer; font-size: 0.9rem; transition: all .15s; }
.sim-grade:hover { border-color: #ff6f00; }
.sim-grade.active { background: #283593; color: #fff; border-color: #283593; }
.sim-fee { display: inline-block; margin-top: 3px; font-size: 0.7rem; color: #b26a00; background: #fff6e6; border-radius: 5px; padding: 1px 6px; }

/* ===== ツール相互リンク・計算結果カード ===== */
.tool-tabs { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 22px; }
.tool-tab { flex: 1; min-width: 120px; text-align: center; padding: 11px 8px; background: #fff; border: 1px solid #cfd4ea; border-radius: 11px; font-weight: 600; color: #3949ab; text-decoration: none; font-size: 0.88rem; transition: all .15s; }
.tool-tab:hover { border-color: #ff6f00; }
.tool-tab.active { background: #283593; color: #fff; border-color: #283593; }
.rb-cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin-top: 8px; }
.rb-stat { background: #fff; border: 1px solid #e6e8f2; border-radius: 14px; padding: 18px 20px; display: flex; flex-direction: column; gap: 6px; }
.rb-stat.warn { border-color: #ffcdb2; background: #fff6f1; }
.rb-stat.good { border-color: #cfe8d6; background: #f3fbf5; }
.rb-k { font-size: 0.82rem; color: #6a708c; }
.rb-v { font-family: 'Zen Kaku Gothic New', sans-serif; font-weight: 900; font-size: 1.4rem; color: #283593; }
.rb-stat.warn .rb-v { color: #e2562a; }
.rb-stat.good .rb-v { color: #1f8a4c; }
.rb-msg { margin-top: 16px; background: #f5f6fb; border-radius: 12px; padding: 16px 18px; font-size: 0.9rem; color: #4a4f6a; line-height: 1.8; }
.rb-warn { background: #fff3f0; border: 1px solid #ffcdb2; border-radius: 14px; padding: 20px 22px; color: #c0392b; line-height: 1.85; }

/* ===== 完全ガイド（ピラー） ===== */
.pillar-page { padding: 40px 0 72px; }
.pillar-toc { background: linear-gradient(135deg, #f5f6fb, #eef0fa); border: 1px solid #ebedf7; border-radius: 16px; padding: 22px 26px; margin: 24px 0 8px; }
.pillar-toc h2 { font-size: 1.05rem; margin: 0 0 12px; border: none; padding: 0; }
.pillar-toc ol { margin: 0; padding-left: 1.2em; }
.pillar-toc li { margin: 7px 0; }
.pillar-toc a { color: #283593; text-decoration: none; font-weight: 500; }
.pillar-toc a:hover { color: #ff6f00; }
.pillar-sec { margin-top: 38px; scroll-margin-top: 80px; }
.pillar-sec h2 { font-size: 1.25rem; }
.pillar-links { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin-top: 14px; }
.pillar-link { background: #fff; border: 1px solid #e6e8f2; border-radius: 11px; padding: 13px 16px; font-size: 0.88rem; color: #283593; font-weight: 500; text-decoration: none; transition: all .15s; }
.pillar-link:hover { border-color: #ff6f00; color: #ff6f00; transform: translateY(-1px); }

/* ===== 用語集 ===== */
.glossary-section { padding: 72px 0; }
.glossary-search { width: 100%; padding: 12px 16px; border: 2px solid #d5d9ec; border-radius: 12px; font-size: 1rem; box-sizing: border-box; margin-bottom: 14px; }
.glossary-search:focus { outline: none; border-color: #ff6f00; }
.glossary-rows { display: flex; gap: 7px; flex-wrap: wrap; margin-bottom: 20px; }
.glossary-row-btn { padding: 7px 13px; background: #fff; border: 1px solid #cfd4ea; border-radius: 9px; font-weight: 600; color: #3949ab; cursor: pointer; font-size: 0.85rem; transition: all .15s; }
.glossary-row-btn:hover { border-color: #ff6f00; }
.glossary-row-btn.active { background: #283593; color: #fff; border-color: #283593; }
.glossary-empty { color: #8a90a8; text-align: center; padding: 30px 0; }
.glossary-list { display: flex; flex-direction: column; gap: 14px; margin-top: 8px; }
.glossary-item { background: #fff; border: 1px solid #e6e8f2; border-left: 5px solid #3949ab; border-radius: 14px; padding: 20px 24px; }
.glossary-term { font-size: 1.1rem; font-weight: 700; color: #283593; margin: 0 0 8px; border: none; padding: 0; }
.glossary-reading { font-size: 0.78rem; font-weight: 400; color: #8a90a8; margin-left: 10px; }
.glossary-def { font-size: 0.9rem; color: #4a4f6a; line-height: 1.85; margin: 0; }

/* ===== 証券ガイド・FAQ・用語 ===== */
.securities-guide { margin-top: 20px; }
.term-box { background: linear-gradient(135deg, #f5f6fb, #eef0fa); border-radius: 18px; padding: 26px 28px; border: 1px solid #ebedf7; }
.term-box p { margin: 0 0 12px; }
.term-box p:last-child { margin-bottom: 0; }
.term-box strong { color: #283593; }
.faq-list { display: flex; flex-direction: column; gap: 14px; }
.faq-item { background: #fff; border: 1px solid #e6e8f2; border-left: 5px solid #ff6f00; border-radius: 14px; padding: 20px 24px; }
.faq-q { font-weight: 700; color: #283593; margin-bottom: 8px; font-size: 1rem; }
.faq-a { font-size: 0.9rem; color: #4a4f6a; line-height: 1.85; margin: 0; }

/* ===== 目的別 ===== */
.purpose-section { padding: 84px 0; background: #fff; }
.purpose-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.purpose-card { display: block; background: #fff; border: 1px solid #ebedf7; border-radius: 20px; padding: 32px 22px; text-align: center; transition: transform .25s, box-shadow .25s, border-color .25s; }
.purpose-card:hover { transform: translateY(-6px); box-shadow: 0 18px 40px rgba(40,53,147,.14); border-color: #c5cae9; }
.purpose-icon { width: 72px; height: 72px; margin: 0 auto 14px; display: flex; align-items: center; justify-content: center; font-size: 2.1rem; border-radius: 50%; background: linear-gradient(135deg, #e8eaf6, #fff3e0); box-shadow: 0 6px 16px rgba(40,53,147,.1); }
.purpose-card h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: 8px; }
.purpose-card p { font-size: 0.85rem; color: #5a6080; }

/* ===== 比較表 ===== */
.comparison-section { padding: 84px 0; background: linear-gradient(180deg, #eef0fa, #f5f6fb); }
.table-filters { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-bottom: 22px; }
.filter-btn { font-family: 'Zen Kaku Gothic New', sans-serif; font-size: 0.86rem; font-weight: 700; color: #3949ab; background: #fff; border: 2px solid #c5cae9; border-radius: 30px; padding: 8px 20px; cursor: pointer; transition: all .2s; }
.filter-btn:hover { background: #eef0fa; }
.filter-btn.active { background: linear-gradient(135deg, #283593, #3949ab); color: #fff; border-color: transparent; }
.table-wrapper { overflow: auto; max-height: 560px; border-radius: 18px; box-shadow: 0 8px 30px rgba(40,53,147,.1); }
.comparison-table { width: 100%; border-collapse: separate; border-spacing: 0; background: #fff; min-width: 720px; }
.comparison-table th { position: sticky; top: 0; z-index: 2; background: linear-gradient(135deg, #283593, #3949ab); color: #fff; padding: 16px 16px; font-size: 0.9rem; font-weight: 700; white-space: nowrap; }
.table-scroll-hint { text-align: center; font-size: 0.8rem; color: #8a90a8; margin-top: 10px; }
.comparison-table td { padding: 15px 16px; font-size: 0.9rem; text-align: center; border-bottom: 1px solid #eceefb; vertical-align: middle; }
.comparison-table td a strong { color: #283593; }
.comparison-table tr:last-child td { border-bottom: none; }
.comparison-table .table-highlight { background: linear-gradient(90deg, #fffef5, #fff8e1); }
.comparison-table tbody tr:hover td { background: #f3f4fb; }
.table-btn { display: inline-block; background: linear-gradient(135deg, #ff8a3d, #f4511e); color: #fff; font-size: 0.8rem; font-weight: 700; padding: 7px 18px; border-radius: 20px; transition: transform .2s; }
.table-btn:hover { transform: scale(1.06); }

/* ===== ガイド ===== */
.guide-section { padding: 84px 0; background: #fff; }
.guide-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.guide-card { background: linear-gradient(135deg, #f5f6fb, #eef0fa); border-radius: 18px; padding: 28px; border-left: 5px solid #3949ab; transition: transform .2s; }
.guide-card:hover { transform: translateY(-3px); }
.guide-card h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: 10px; }
.guide-card p { font-size: 0.9rem; color: #4a4f6a; }

/* ===== 免責 ===== */
.disclosure-section { padding: 26px 0; background: #fff3e0; }
.disclosure-box { border-left: 4px solid #ff6f00; padding: 12px 18px; }
.disclosure-box p { font-size: 0.82rem; color: #6d4c41; line-height: 1.8; }

/* ===== フッター ===== */
.site-footer { background: linear-gradient(135deg, #14182e, #1f2547); color: #b8bcd0; padding: 64px 0 26px; }
.footer-inner { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 44px; margin-bottom: 44px; }
.footer-brand .logo { color: #9fa8da; font-size: 1.3rem; display: block; margin-bottom: 14px; }
.footer-sns { display: inline-flex; align-items: center; gap: 8px; margin-top: 14px; padding: 9px 16px; border: 1px solid rgba(255,255,255,.25); border-radius: 30px; color: #cfd4ea; font-size: 0.85rem; font-weight: 600; text-decoration: none; transition: background .2s, border-color .2s; }
.footer-sns:hover { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.5); color: #fff; }
.footer-sns svg { flex-shrink: 0; }
.footer-brand p { font-size: 0.85rem; color: #9095b0; }
.footer-links h4 { color: #fff; font-size: 0.9rem; font-weight: 700; margin-bottom: 16px; }
.footer-links a { display: block; font-size: 0.85rem; color: #9095b0; margin-bottom: 10px; transition: color .2s; }
.footer-links a:hover { color: #9fa8da; }
.footer-bottom { border-top: 1px solid #2c3252; padding-top: 22px; text-align: center; }
.footer-bottom p { font-size: 0.8rem; color: #6e7396; }

/* ===== ネット証券・NISA ===== */
.securities-section { padding: 54px 0 80px; background: #f5f6fb; min-height: 60vh; }
.broker-logo { width: 140px; height: 88px; border-radius: 12px; display: flex; align-items: center; justify-content: center; text-align: center; font-family: 'Zen Kaku Gothic New', sans-serif; font-weight: 800; font-size: 0.92rem; color: #fff; padding: 8px; line-height: 1.3; box-shadow: 0 6px 16px rgba(0,0,0,.18); }
.broker-logo.big { width: 168px; height: 105px; font-size: 1.05rem; }
.broker-logo.gold { background: linear-gradient(135deg, #c62828, #ef5350); }
.broker-logo.bronze { background: linear-gradient(135deg, #1565c0, #42a5f5); }
.broker-logo.teal { background: linear-gradient(135deg, #00897b, #4db6ac); }
.broker-logo.green { background: linear-gradient(135deg, #2e7d32, #66bb6a); }
.broker-logo.silver { background: linear-gradient(135deg, #ad1457, #ec407a); }
/* 証券・NISA誘導バナー */
.securities-teaser { padding: 0 0 10px; background: #fff; }
.teaser-box { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; background: linear-gradient(135deg, #00695c, #26a69a); color: #fff; border-radius: 20px; padding: 34px 40px; }
.teaser-text h2 { font-size: 1.4rem; font-weight: 800; margin-bottom: 8px; }
.teaser-text p { font-size: 0.92rem; opacity: .92; }

/* ===== 詳細・記事ページ ===== */
.container-narrow { max-width: 820px; }
.detail-page { padding: 44px 0 80px; background: #fff; min-height: 60vh; }
.breadcrumb { font-size: 0.82rem; color: #8a90a8; margin-bottom: 26px; }
.breadcrumb a { color: #3949ab; }
.breadcrumb a:hover { text-decoration: underline; }
.detail-hero { display: flex; gap: 26px; align-items: center; background: linear-gradient(135deg, #f5f6fb, #eef0fa); border-radius: 20px; padding: 30px; margin-bottom: 26px; }
.detail-hero h1 { font-size: 1.7rem; font-weight: 900; margin-bottom: 6px; }
.detail-hero .stars { font-size: 1.25rem; margin-bottom: 8px; }
.detail-hero p { font-size: 0.92rem; color: #4a4f6a; }
.detail-specs { grid-template-columns: repeat(4, 1fr); margin-bottom: 26px; }
.apply-cta { text-align: center; margin: 34px 0; display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.detail-page h2 { font-size: 1.35rem; font-weight: 700; margin: 38px 0 14px; padding-left: 14px; border-left: 5px solid #3949ab; }
.review-text { font-size: 0.96rem; color: #3a3f5a; margin-bottom: 12px; }
.merit-list, .demerit-list { list-style: none; margin: 12px 0; }
.merit-list li, .demerit-list li { font-size: 0.95rem; padding: 10px 0; border-bottom: 1px dashed #e0e3f0; }
.article-title { font-size: 1.8rem; font-weight: 900; line-height: 1.5; margin-bottom: 12px; }
.article-date { font-size: 0.85rem; color: #8a90a8; margin-bottom: 22px; }
.article-lead { font-size: 1rem; color: #3a3f5a; background: linear-gradient(135deg, #f5f6fb, #eef0fa); border-radius: 14px; padding: 22px; margin-bottom: 12px; }
.article-cta { background: linear-gradient(135deg, #283593, #3949ab); color: #fff; border-radius: 20px; padding: 36px; text-align: center; margin-top: 50px; }
.article-cta h3 { font-size: 1.25rem; font-weight: 700; margin-bottom: 10px; }
.article-cta p { font-size: 0.9rem; opacity: .9; margin-bottom: 22px; }
.article-list-section, .purpose-detail { padding: 54px 0 80px; background: #f5f6fb; min-height: 60vh; }
.article-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.article-card { display: block; background: #fff; border-radius: 18px; padding: 26px; box-shadow: 0 6px 22px rgba(40,53,147,.08); border: 1px solid #ebedf7; transition: transform .25s, box-shadow .25s; }
.article-card:hover { transform: translateY(-6px); box-shadow: 0 16px 40px rgba(40,53,147,.16); }
.article-meta { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 12px; }
.article-tag { display: inline-block; background: #e8eaf6; color: #3949ab; font-size: 0.72rem; font-weight: 700; padding: 4px 14px; border-radius: 12px; }
.article-card-date { font-size: 0.74rem; color: #8a90a8; white-space: nowrap; }
/* トップの記事セクション */
.home-articles-section { padding: 80px 0; background: #fff; }
.home-articles-top { background: linear-gradient(180deg, #f7f8fc, #fff); }
.home-articles-more { text-align: center; margin-top: 34px; }
.article-topics { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin: 6px 0 30px; }
.article-topics a { font-size: 0.88rem; font-weight: 700; color: #283593; background: #eef0fa; border: 1px solid #dfe3f3; border-radius: 30px; padding: 8px 18px; text-decoration: none; transition: all .15s; }
.article-topics a:hover { background: #283593; color: #fff; border-color: #283593; }
.article-card h3 { font-size: 1.08rem; font-weight: 700; line-height: 1.5; margin-bottom: 10px; }
.article-card p { font-size: 0.88rem; color: #5a6080; margin-bottom: 12px; }
.read-more { font-size: 0.85rem; font-weight: 700; color: #ff6f00; }

/* ===== レスポンシブ ===== */
@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; text-align: center; }
  .hero-visual { order: -1; margin-bottom: 10px; }
  .hero-svg { max-width: 320px; }
  .hero h1 { font-size: 2.2rem; }
  .hero-actions, .hero-trust { justify-content: center; }
}
@media (max-width: 768px) {
  .points-grid { grid-template-columns: 1fr; }
  .diag-options { grid-template-columns: 1fr 1fr; }
  .criteria-grid { grid-template-columns: 1fr; }
  .purpose-grid { grid-template-columns: repeat(2, 1fr); }
  .guide-grid { grid-template-columns: 1fr; }
  .article-grid { grid-template-columns: 1fr; }
  .pillar-links { grid-template-columns: 1fr; }
  .rb-cards { grid-template-columns: 1fr; }
  .card-specs { grid-template-columns: repeat(2, 1fr); }
  .detail-hero { flex-direction: column; text-align: center; }
  .detail-specs { grid-template-columns: repeat(2, 1fr); }
  .card-header-row { flex-direction: column; text-align: center; }
  .footer-inner { grid-template-columns: 1fr; gap: 26px; }
  .nav-toggle { display: flex; }
  .global-nav {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; gap: 0; background: #fff;
    border-top: 1px solid #e6e8f5; box-shadow: 0 12px 24px rgba(40,53,147,.12);
    padding: 6px 0; max-height: calc(100vh - 66px); overflow-y: auto;
  }
  .site-header.nav-open .global-nav { display: flex; }
  .global-nav a { padding: 14px 22px; border-bottom: 1px solid #f0f1f6; }
  .global-nav a:last-child { border-bottom: none; }
  .global-nav a::after { display: none; }
}
@media (max-width: 480px) {
  .hero h1 { font-size: 1.8rem; }
  .section-title { font-size: 1.5rem; }
  .purpose-grid { grid-template-columns: 1fr; }
  .card-actions { flex-direction: column; }
  .btn-apply, .btn-detail { width: 100%; text-align: center; }
}
