/* Reset & Base Variables */
:root {
  --primary: #2563eb;
  --primary-hover: #1d4ed8;
  --secondary: #f59e0b;
  --accent: #10b981;
  --danger: #ef4444;
  --bg-main: #f8fafc;
  --bg-card: #ffffff;
  --text-main: #1e293b;
  --text-muted: #64748b;
  --border: #e2e8f0;
  --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
  --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
  --radius: 12px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  background-color: var(--bg-main);
  color: var(--text-main);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* Container */
.container {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 16px;
}

/* Header & PR Notice */
.pr-bar {
  background-color: #f1f5f9;
  font-size: 11px;
  color: var(--text-muted);
  text-align: center;
  padding: 6px 12px;
  border-bottom: 1px solid var(--border);
}

header {
  background: #ffffff;
  border-bottom: 1px solid var(--border);
  padding: 20px 0;
  box-shadow: var(--shadow-sm);
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 20px;
  font-weight: 800;
  color: #0f172a;
  display: flex;
  align-items: center;
  gap: 8px;
}

.logo span {
  color: var(--primary);
}

.update-badge {
  font-size: 12px;
  background-color: #eff6ff;
  color: var(--primary);
  padding: 4px 10px;
  border-radius: 9999px;
  font-weight: 600;
  border: 1px solid #bfdbfe;
}

/* Hero Section */
.hero {
  background: linear-gradient(135deg, #1e3a8a 0%, #0f172a 100%);
  color: #ffffff;
  padding: 48px 0 40px;
  text-align: center;
}

.hero h1 {
  font-size: 28px;
  font-weight: 800;
  line-height: 1.3;
  margin-bottom: 16px;
}

.hero h1 mark {
  background: linear-gradient(transparent 60%, rgba(245, 158, 11, 0.4) 40%);
  color: #fff;
  padding: 0 4px;
}

.hero-subtitle {
  font-size: 15px;
  color: #cbd5e1;
  max-width: 720px;
  margin: 0 auto 24px;
}

.hero-features {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.feature-pill {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(8px);
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 600;
  border: 1px solid rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  gap: 6px;
}

/* Quick Summary Box (SEO Answer) */
.quick-summary {
  background: #ffffff;
  border: 2px solid #bfdbfe;
  border-radius: var(--radius);
  padding: 24px;
  margin: -24px auto 32px;
  position: relative;
  box-shadow: var(--shadow-md);
}

.summary-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--primary);
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
}

.summary-list {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 12px;
}

.summary-list li {
  font-size: 14px;
  display: block;
  line-height: 1.7;
}

.summary-list li strong {
  color: #0f172a;
}

/* Tabs */
.tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 24px;
  background: #e2e8f0;
  padding: 4px;
  border-radius: 10px;
}

.tab-btn {
  flex: 1;
  padding: 12px;
  font-size: 15px;
  font-weight: 700;
  border: none;
  background: transparent;
  color: var(--text-muted);
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s;
  text-align: center;
}

.tab-btn.active {
  background: #ffffff;
  color: var(--primary);
  box-shadow: var(--shadow-sm);
}

.tab-content {
  display: none;
}

.tab-content.active {
  display: block;
}

/* Comparison Table */
.table-wrapper {
  overflow-x: auto;
  background: #ffffff;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  margin-bottom: 40px;
}

.compare-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 13px;
  white-space: nowrap;
}

.compare-table th {
  background-color: #f8fafc;
  padding: 14px 12px;
  font-weight: 700;
  color: #475569;
  border-bottom: 2px solid var(--border);
}

.compare-table td {
  padding: 14px 12px;
  border-bottom: 1px solid var(--border);
  vertical-align: middle;
}

.compare-table tr:hover {
  background-color: #f1f5f9;
}

.bonus-val {
  font-size: 15px;
  font-weight: 800;
  color: #dc2626;
}

.badge {
  display: inline-block;
  font-size: 11px;
  padding: 2px 6px;
  border-radius: 4px;
  font-weight: 700;
}

.badge-green { background: #dcfce7; color: #15803d; }
.badge-blue { background: #dbeafe; color: #1e40af; }
.badge-orange { background: #ffedd5; color: #c2410c; }
.badge-gray { background: #f1f5f9; color: #475569; }

/* Ranking Cards */
.ranking-section {
  margin-bottom: 48px;
}

.section-header {
  margin-bottom: 24px;
}

.section-header h2 {
  font-size: 22px;
  font-weight: 800;
  color: #0f172a;
  display: flex;
  align-items: center;
  gap: 10px;
}

.section-header p {
  color: var(--text-muted);
  font-size: 14px;
  margin-top: 4px;
}

.broker-card {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  margin-bottom: 24px;
  overflow: hidden;
  transition: transform 0.2s, box-shadow 0.2s;
}

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

.broker-header {
  padding: 16px 20px;
  background: #f8fafc;
  border-bottom: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.broker-title-group {
  display: flex;
  align-items: center;
  gap: 12px;
}

.rank-badge {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #334155;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 15px;
}

.rank-1 { background: #f59e0b; }
.rank-2 { background: #94a3b8; }
.rank-3 { background: #b45309; }

.broker-name {
  font-size: 18px;
  font-weight: 800;
  color: #0f172a;
}

.broker-body {
  padding: 20px;
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 24px;
}

@media (max-width: 768px) {
  .broker-body {
    grid-template-columns: 1fr;
  }
}

.broker-specs {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  background: #f8fafc;
  padding: 16px;
  border-radius: 8px;
  margin-bottom: 16px;
}

.spec-item {
  font-size: 13px;
}

.spec-label {
  color: var(--text-muted);
  margin-bottom: 2px;
}

.spec-value {
  font-weight: 700;
  color: #0f172a;
}

.broker-points {
  font-size: 14px;
  margin-bottom: 16px;
}

.point-list {
  list-style: none;
}

.point-list li {
  position: relative;
  padding-left: 20px;
  margin-bottom: 6px;
}

.point-list li::before {
  content: "✔";
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: bold;
}

.caution-list li::before {
  content: "▲";
  position: absolute;
  left: 0;
  color: var(--secondary);
  font-weight: bold;
}

.cta-box {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  background: #eff6ff;
  border-radius: 8px;
  padding: 20px;
  border: 1px solid #bfdbfe;
}

.cta-bonus {
  font-size: 20px;
  font-weight: 900;
  color: #dc2626;
  margin-bottom: 8px;
}

.cta-desc {
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.btn-cta {
  display: block;
  width: 100%;
  background: #dc2626;
  color: #ffffff;
  text-decoration: none;
  font-weight: 700;
  font-size: 15px;
  padding: 12px 16px;
  border-radius: 8px;
  box-shadow: 0 4px 6px -1px rgba(220, 38, 38, 0.4);
  transition: all 0.2s;
  text-align: center;
}

.btn-cta:hover {
  background: #b91c1c;
  transform: translateY(-1px);
}

.cta-micro {
  font-size: 11px;
  color: var(--text-muted);
  margin-top: 8px;
}

/* Guide & SEO Section */
.guide-section {
  background: #ffffff;
  border-radius: var(--radius);
  padding: 32px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  margin-bottom: 48px;
}

.guide-section h3 {
  font-size: 18px;
  font-weight: 800;
  color: #0f172a;
  margin: 24px 0 12px;
  padding-left: 12px;
  border-left: 4px solid var(--primary);
}

.guide-section h3:first-child {
  margin-top: 0;
}

.guide-section p {
  font-size: 14px;
  margin-bottom: 16px;
  color: #334155;
}

/* FAQ Section */
.faq-item {
  border-bottom: 1px solid var(--border);
  padding: 16px 0;
}

.faq-question {
  font-size: 16px;
  font-weight: 700;
  color: #0f172a;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.faq-answer {
  font-size: 14px;
  color: #475569;
  margin-top: 10px;
  line-height: 1.6;
}

/* Footer & Disclaimer */
footer {
  background: #0f172a;
  color: #94a3b8;
  padding: 40px 0 24px;
  font-size: 12px;
  line-height: 1.7;
}

footer h4 {
  color: #ffffff;
  font-size: 14px;
  margin-bottom: 12px;
}

.disclaimer-box {
  background: rgba(255, 255, 255, 0.05);
  padding: 16px;
  border-radius: 8px;
  margin-bottom: 24px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 12px;
  line-height: 1.8;
}

.disclaimer-box p {
  margin-bottom: 10px;
}

.disclaimer-box ol {
  margin: 8px 0 0;
  padding-left: 20px;
}

.disclaimer-box li {
  margin-bottom: 8px;
}

.disclaimer-box li:last-child {
  margin-bottom: 0;
}

.disclaimer-box strong {
  color: #e2e8f0;
}

/* Footer sitemap (internal links) */
.footer-sitemap {
  margin: 20px 0 18px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-sitemap h4 {
  color: #ffffff;
  font-size: 13px;
  margin-bottom: 10px;
}

.footer-sitemap ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin: 0;
  padding: 0;
}

.footer-sitemap a {
  color: #93c5fd;
  font-size: 12px;
  text-decoration: none;
}

.footer-sitemap a:hover {
  text-decoration: underline;
}

.footer-bottom {
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 20px;
  color: #64748b;
}

/* ===== Detail pages (added 2026-11-14) ===== */
a.logo {
  text-decoration: none;
}

.breadcrumb-bar {
  background: #ffffff;
  border-bottom: 1px solid var(--border);
  padding: 10px 0;
}

.breadcrumb {
  font-size: 12px;
  color: var(--text-muted);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
}

.breadcrumb a {
  color: var(--primary);
  text-decoration: none;
}

.breadcrumb a:hover {
  text-decoration: underline;
}

.breadcrumb span {
  color: #cbd5e1;
}

.page-hero {
  background: linear-gradient(135deg, #1e3a8a 0%, #0f172a 100%);
  color: #ffffff;
  padding: 34px 0 40px;
}

.hero-tag {
  display: inline-block;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #dbeafe;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 999px;
  margin-bottom: 12px;
}

.page-hero h1 {
  font-size: 24px;
  font-weight: 800;
  line-height: 1.4;
  margin-bottom: 12px;
}

.page-lead {
  font-size: 14px;
  color: #cbd5e1;
  max-width: 780px;
  margin-bottom: 18px;
}

.article {
  padding-bottom: 40px;
}

.article section {
  margin-bottom: 36px;
}

.article h2 {
  font-size: 19px;
  font-weight: 800;
  color: #0f172a;
  margin: 0 0 16px;
  padding: 10px 12px;
  background: #f1f5f9;
  border-left: 4px solid var(--primary);
  border-radius: 4px;
}

.article h3 {
  font-size: 15px;
  font-weight: 800;
  color: #0f172a;
  margin: 18px 0 8px;
}

.article p {
  font-size: 14px;
  color: #334155;
  margin-bottom: 12px;
}

.toc {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px 22px;
  margin-bottom: 32px;
  box-shadow: var(--shadow-sm);
}

.toc-title {
  font-size: 14px;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 8px;
}

.toc ol {
  margin-left: 20px;
}

.toc li {
  font-size: 13px;
  margin-bottom: 4px;
}

.toc a {
  color: #334155;
  text-decoration: none;
}

.toc a:hover {
  color: var(--primary);
  text-decoration: underline;
}

.table-wrapper table.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
  white-space: normal;
  min-width: 0;
}

.data-table th {
  background: #f8fafc;
  color: #475569;
  font-weight: 700;
  text-align: left;
  padding: 10px 12px;
  width: 34%;
  border-bottom: 1px solid var(--border);
  vertical-align: top;
}

.data-table td {
  padding: 10px 12px;
  border-bottom: 1px solid var(--border);
  color: #1e293b;
  vertical-align: top;
}

.data-table tr:last-child th,
.data-table tr:last-child td {
  border-bottom: none;
}

.steps-list {
  list-style: none;
  counter-reset: step;
}

.steps-list li {
  position: relative;
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 14px 16px 14px 16px;
  margin-bottom: 12px;
  box-shadow: var(--shadow-sm);
}

.step-title {
  font-size: 14px;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 4px;
}

.steps-list li p {
  font-size: 13px;
  color: #475569;
  margin: 0;
}

.note-box,
.warn-box {
  font-size: 13px;
  line-height: 1.7;
  border-radius: 10px;
  padding: 14px 16px;
  margin: 6px 0 4px;
}

.note-box {
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  color: #1e3a8a;
}

.warn-box {
  background: #fffbeb;
  border: 1px solid #fde68a;
  color: #92400e;
}

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

@media (max-width: 768px) {
  .two-col {
    grid-template-columns: 1fr;
  }
}

.two-col-box {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 16px 18px;
  box-shadow: var(--shadow-sm);
}

.two-col-box h3 {
  margin-top: 0;
  font-size: 14px;
}

.two-col-box .point-list li {
  font-size: 13px;
  line-height: 1.6;
}

.cta-wide {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  background: linear-gradient(135deg, #eff6ff 0%, #ffffff 100%);
  border: 2px solid #bfdbfe;
  border-radius: var(--radius);
  padding: 22px 24px;
  margin: 0 0 36px;
  box-shadow: var(--shadow-md);
}

.cta-wide-text {
  flex: 1 1 320px;
}

.cta-wide-text p {
  margin: 0 0 4px;
  font-size: 13px;
  color: #475569;
}

.cta-wide .cta-bonus {
  font-size: 22px;
  margin-bottom: 4px;
}

.cta-wide-btn {
  flex: 0 0 280px;
  width: auto;
}

@media (max-width: 640px) {
  .cta-wide-btn {
    flex: 1 1 100%;
  }
}

.faq-item {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 14px 16px;
  margin-bottom: 10px;
}

.faq-item h3.faq-question {
  cursor: default;
  margin: 0;
  font-size: 14px;
  color: #0f172a;
  display: block;
}

.faq-answer {
  font-size: 13px;
  color: #475569;
  margin-top: 8px;
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 12px;
}

.related-card {
  display: block;
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 14px 16px;
  text-decoration: none;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s, box-shadow 0.2s;
}

.related-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: #bfdbfe;
}

.related-name {
  font-size: 14px;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 4px;
}

.related-desc {
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 8px;
}

.related-arrow {
  font-size: 12px;
  font-weight: 700;
  color: var(--primary);
}

.meta-note {
  font-size: 11px;
  color: var(--text-muted);
  line-height: 1.7;
  margin-top: 16px;
}

/* Sub navigation */
.subnav-bar {
  background: #0f172a;
  border-bottom: 1px solid #1e293b;
}

.subnav {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  padding: 6px 0;
}

.subnav a {
  font-size: 12px;
  font-weight: 700;
  color: #cbd5e1;
  text-decoration: none;
  padding: 6px 10px;
  border-radius: 6px;
}

.subnav a:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
}

.subnav a.current {
  background: var(--primary);
  color: #ffffff;
}

/* ---------------------------------------------------------------- language switch */
.header-right {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
  border-radius: 9999px;
  padding: 3px;
  flex-shrink: 0;
}

.lang-opt {
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
  padding: 6px 10px;
  border-radius: 9999px;
  color: #475569;
  text-decoration: none;
  display: inline-block;
}

.lang-opt:hover {
  background: #e2e8f0;
  color: #0f172a;
}

.lang-opt.is-on {
  background: #2563eb;
  color: #ffffff;
}

@media (max-width: 600px) {
  .header-content {
    gap: 8px;
  }
  .lang-opt {
    padding: 5px 8px;
  }
}
/* ===== note有料ガイドへの導線（2026-11-16 追加） ===== */
.note-paid-cta {
  margin: 34px 0 8px;
  padding: 22px 22px 20px;
  border-radius: var(--radius);
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  border: 1px solid #334155;
  box-shadow: var(--shadow-md);
}

.note-paid-cta h2 {
  margin: 0 0 10px;
  font-size: 17px;
  line-height: 1.5;
  color: #ffffff;
  background: none;
  border: none;
  padding: 0;
}

.note-paid-cta > p {
  margin: 0 0 16px;
  font-size: 13px;
  line-height: 1.8;
  color: #cbd5e1;
}

.paid-note-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 12px;
}

.paid-note-card {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 14px 16px;
  background: #ffffff;
  border: 1px solid #475569;
  border-radius: 10px;
  text-decoration: none;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s, box-shadow 0.2s;
}

.paid-note-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.paid-note-tag {
  align-self: flex-start;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.04em;
  padding: 3px 9px;
  border-radius: 9999px;
  background: #dbeafe;
  color: #1e40af;
}

.paid-note-tag.is-out {
  background: #ffedd5;
  color: #c2410c;
}

.paid-note-title {
  font-size: 13px;
  font-weight: 800;
  line-height: 1.55;
  color: #0f172a;
}

.paid-note-desc {
  font-size: 12px;
  line-height: 1.7;
  color: #475569;
}

.paid-note-price {
  font-size: 12px;
  font-weight: 800;
  color: #1d4ed8;
}

.paid-note-note {
  margin: 12px 0 0;
  font-size: 11px;
  line-height: 1.7;
  color: #94a3b8;
}

@media (max-width: 640px) {
  .note-paid-cta {
    padding: 18px 16px 16px;
  }
  .note-paid-cta h2 {
    font-size: 15px;
  }
}

/* ===== SNSシェア行（X / LINE・Facebook / リンクをコピー） ===== */
.x-share {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 0 0 22px;
  padding: 12px 16px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
}

.x-share-label {
  font-size: 12px;
  font-weight: 800;
  color: #64748b;
  margin-right: 4px;
  letter-spacing: 0.02em;
}

.x-share-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 8px 13px;
  font-size: 12.5px;
  font-weight: 700;
  line-height: 1;
  font-family: inherit;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.12s ease, background 0.12s ease, box-shadow 0.12s ease;
}

.x-share-btn:hover {
  transform: translateY(-1px);
}

.x-share-btn:focus-visible {
  outline: 2px solid #2563eb;
  outline-offset: 2px;
}

.x-share-icon {
  width: 14px;
  height: 14px;
  flex: 0 0 14px;
}

.x-share-btn--x {
  background: #0f172a;
  color: #ffffff;
}

.x-share-btn--x:hover {
  background: #1e293b;
}

.x-share-btn--fb {
  background: #1877f2;
  color: #ffffff;
}

.x-share-btn--fb:hover {
  background: #0f65d6;
}

.x-share-btn--copy {
  background: #f1f5f9;
  color: #1e293b;
  border-color: #e2e8f0;
}

.x-share-btn--copy:hover {
  background: #e2e8f0;
}

.x-share.is-copied .x-share-btn--copy {
  background: #dcfce7;
  color: #15803d;
  border-color: #bbf7d0;
}

.x-share--hero {
  justify-content: center;
  max-width: 560px;
  margin: 18px auto 24px;
  padding: 10px 14px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: none;
}

.x-share--hero .x-share-label {
  color: #cbd5e1;
}

.x-share--hero .x-share-btn--x {
  background: #ffffff;
  color: #0f172a;
}

.x-share--hero .x-share-btn--x:hover {
  background: #e2e8f0;
}

.x-share--hero .x-share-btn--copy {
  background: rgba(255, 255, 255, 0.1);
  color: #e2e8f0;
  border-color: rgba(255, 255, 255, 0.25);
}

.x-share--hero .x-share-btn--copy:hover {
  background: rgba(255, 255, 255, 0.18);
}

.x-share--hero.is-copied .x-share-btn--copy {
  background: rgba(16, 185, 129, 0.22);
  color: #d1fae5;
  border-color: rgba(16, 185, 129, 0.5);
}

.x-share--bottom {
  margin: 34px 0 8px;
}
/* シェア行の直後に来る結論カードは、ヒーロー重ね用の負マージンを解除する */
.x-share + .quick-summary {
  margin-top: 0;
}

@media (max-width: 640px) {
  .x-share {
    gap: 6px;
    padding: 10px 12px;
  }
  .x-share-label {
    width: 100%;
    margin: 0 0 2px;
  }
  .x-share-btn {
    padding: 8px 11px;
    font-size: 12px;
  }
  .x-share--hero {
    max-width: 100%;
  }
}

/* ===== note実践編シリーズへの導線（2026-11-20 追加） ===== */
.note-series-cta {
  margin: 34px 0 8px;
  padding: 22px;
  border-radius: var(--radius);
  background: linear-gradient(135deg, #eff6ff 0%, #ffffff 70%);
  border: 1px solid #bfdbfe;
  box-shadow: var(--shadow-sm);
}

.note-series-cta h2 {
  margin: 0 0 8px;
  font-size: 17px;
  line-height: 1.5;
  color: #0f172a;
  background: none;
  border: none;
  padding: 0;
}

.note-series-cta > p {
  margin: 0 0 6px;
  font-size: 13px;
  line-height: 1.8;
  color: #475569;
}

.note-series-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 10px;
  margin-top: 12px;
}

.note-series-grid a {
  display: block;
  background: #ffffff;
  border: 1px solid #dbeafe;
  border-radius: 8px;
  padding: 12px 14px;
  text-decoration: none;
  color: #0f172a;
  font-size: 13px;
  font-weight: 700;
}

.note-series-grid a span {
  display: block;
  font-size: 11px;
  color: var(--text-muted);
  font-weight: 400;
  margin-top: 3px;
  line-height: 1.5;
}

.note-series-grid a:hover {
  border-color: #93c5fd;
  background: #f0f7ff;
}

.note-series-cta .note-series-related {
  margin: 14px 0 0;
  font-size: 12px;
  line-height: 1.9;
  color: #64748b;
}

.note-series-cta .note-series-related a {
  color: #1d4ed8;
  font-weight: 700;
}

@media (max-width: 640px) {
  .note-series-cta { padding: 18px 16px; }
  .note-series-cta h2 { font-size: 15px; }
}
