*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
:root {
  --navy: #1a2744;
  --navy-light: #2a3d5c;
  --gold: #c9a84c;
  --gold-light: #f5e6b8;
  --green: #2e7d32;
  --green-light: #e8f5e9;
  --blue: #1565c0;
  --blue-light: #e3f2fd;
  --orange: #e85d26;
  --orange-dark: #d4441a;
  --white: #ffffff;
  --gray-50: #f8f9fa;
  --gray-100: #f0f2f5;
  --gray-200: #e2e5ea;
  --gray-400: #9ca3af;
  --gray-600: #6b7280;
  --gray-800: #1f2937;
  --red: #dc2626;
  --shadow: 0 4px 24px rgba(0,0,0,0.08);
  --shadow-lg: 0 8px 40px rgba(0,0,0,0.12);
  --radius: 12px;
}
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: "Hiragino Kaku Gothic ProN", "Noto Sans JP", "Yu Gothic", sans-serif;
  color: var(--gray-800);
  line-height: 1.9;
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
a { text-decoration: none; color: inherit; }
img { max-width: 100%; height: auto; }

/* ===== LAYOUT ===== */
.wrap { max-width: 720px; margin: 0 auto; padding: 0 20px; }
.text-sm { font-size: 0.8rem; color: var(--gray-600); }
.text-xs { font-size: 0.7rem; color: var(--gray-400); }
.mt-8 { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }
.mt-48 { margin-top: 48px; }

/* ===== PR BAR ===== */
.pr-bar {
  background: transparent;
  padding: 4px 20px;
  font-size: 0.65rem;
  color: var(--gray-400);
  text-align: right;
  line-height: 1.4;
}

/* ===== SITE HEADER ===== */
.site-header {
  background: var(--white);
  padding: 12px 20px;
  border-bottom: 1px solid var(--gray-200);
}
.site-header .wrap {
  display: flex; align-items: center; justify-content: space-between;
}
.site-name { font-size: 0.95rem; font-weight: 900; color: var(--navy); }
.site-name span { color: var(--gold); }
.header-date { font-size: 0.7rem; color: var(--gray-400); }

/* ===== ARTICLE HEADER ===== */
.article-header {
  background: linear-gradient(135deg, var(--navy) 0%, #1e3a5f 100%);
  color: var(--white);
  padding: 32px 20px 28px;
  position: relative;
}
.article-header::after {
  content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 4px;
  background: linear-gradient(90deg, var(--gold), var(--gold-light), var(--gold));
}
.article-tag {
  display: inline-block;
  background: var(--orange);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 3px 14px;
  border-radius: 4px;
  margin-bottom: 12px;
}
.article-header h1 {
  font-size: 1.4rem;
  font-weight: 900;
  line-height: 1.5;
}
.article-header h1 em {
  font-style: normal;
  color: var(--gold-light);
}
.article-meta {
  margin-top: 12px;
  font-size: 0.75rem;
  opacity: 0.7;
}

/* ===== HERO IMAGE ===== */
.hero-img {
  width: 100%;
  max-height: 220px;
  background: var(--gray-100);
  border-bottom: 3px solid var(--gold);
  display: flex; align-items: center; justify-content: center;
  color: var(--gray-400);
  font-size: 0.85rem;
  overflow: hidden;
}
.hero-img img { width: 100%; height: 100%; object-fit: cover; }
@media(min-width:769px){ .hero-img { max-height: 300px; } }

/* ===== ARTICLE BODY ===== */
.article-body {
  padding: 32px 20px;
}
.article-body p {
  margin-bottom: 20px;
}
.article-body strong {
  color: var(--navy);
}
.marker {
  background: linear-gradient(transparent 60%, var(--gold-light) 60%);
  font-weight: 700;
}
.marker-red {
  background: linear-gradient(transparent 60%, #fce4ec 60%);
  font-weight: 700;
}

/* ===== PAIN POINTS ===== */
.pain-box {
  background: var(--blue-light);
  border-left: 4px solid var(--blue);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 20px 24px;
  margin: 24px 0;
}
.pain-box p.pain-lead {
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 12px;
}
.pain-box ul {
  list-style: none;
  padding: 0;
}
.pain-box li {
  padding: 6px 0 6px 28px;
  position: relative;
  font-size: 0.95rem;
}
.pain-box li::before {
  content: '✓';
  position: absolute; left: 0;
  color: var(--blue);
  font-weight: 900;
}

/* ===== SECTION HEADINGS ===== */
.sec-h2 {
  font-size: 1.2rem;
  font-weight: 900;
  color: var(--navy);
  padding: 12px 0 12px 16px;
  border-left: 4px solid var(--gold);
  margin: 48px 0 20px;
  line-height: 1.5;
}
.sec-h3 {
  font-size: 1.05rem;
  font-weight: 900;
  color: var(--navy);
  margin: 32px 0 12px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--gray-200);
}

/* ===== COMPARISON TABLE (SIMPLE) ===== */
.comp-table {
  width: 100%;
  border-collapse: collapse;
  margin: 24px 0;
  font-size: 0.85rem;
}
.comp-table th, .comp-table td {
  border: 1px solid var(--gray-200);
  padding: 10px 12px;
  text-align: center;
  vertical-align: middle;
}
.comp-table thead th {
  background: var(--navy);
  color: var(--white);
  font-weight: 700;
}
.comp-table .col-best {
  background: #fffde7;
}
.comp-table .row-label {
  background: var(--gray-50);
  font-weight: 700;
  text-align: left;
  white-space: nowrap;
}
.comp-table .val-good { color: var(--green); font-weight: 700; }
.comp-table .val-ok { color: var(--gray-600); }
.comp-table .val-bad { color: var(--red); }

/* ===== RESULT CALLOUT ===== */
.result-callout {
  background: #fff3e0;
  border: 2px solid var(--orange);
  border-radius: var(--radius);
  padding: 24px;
  margin: 32px 0;
  text-align: center;
}
.result-callout .big-num {
  font-size: 2.2rem;
  font-weight: 900;
  color: var(--orange);
  line-height: 1.2;
}
.result-callout .big-num span {
  font-size: 1rem;
  color: var(--gray-800);
}

/* ===== FEATURE BOX (2 POINTS) ===== */
.feature-box {
  background: var(--gray-50);
  border-radius: var(--radius);
  padding: 24px;
  margin: 24px 0;
}
.feature-box h4 {
  font-size: 1rem;
  color: var(--navy);
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.feature-num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 28px; height: 28px;
  background: var(--gold);
  color: var(--white);
  border-radius: 50%;
  font-size: 0.85rem;
  font-weight: 900;
  flex-shrink: 0;
}

/* ===== PHOTO PLACEHOLDER ===== */
.photo-placeholder {
  width: 100%;
  aspect-ratio: 16/9;
  background: var(--gray-100);
  border: 2px dashed var(--gray-200);
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--gray-400);
  font-size: 0.8rem;
  margin: 20px 0;
  padding: 16px;
  text-align: center;
}
.photo-placeholder .ph-label {
  font-weight: 700;
  color: var(--gray-600);
  font-size: 0.85rem;
  margin-bottom: 4px;
}

/* ===== RECOMMEND CARD (MAIN) ===== */
.rec-card {
  background: var(--white);
  border: 3px solid var(--gold);
  border-radius: var(--radius);
  overflow: hidden;
  margin: 32px 0;
  box-shadow: var(--shadow-lg);
  position: relative;
}
.rec-badge {
  position: absolute;
  top: -1px; left: -1px;
  background: linear-gradient(135deg, var(--orange), var(--orange-dark));
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 900;
  padding: 6px 20px 6px 12px;
  border-radius: var(--radius) 0 20px 0;
  z-index: 2;
}
.rec-header {
  background: linear-gradient(135deg, var(--navy), var(--navy-light));
  color: var(--white);
  padding: 28px 24px 20px;
  display: flex;
  align-items: center;
  gap: 16px;
}
.rec-logo {
  width: 60px; height: 60px;
  background: var(--white);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
  flex-shrink: 0;
}
.rec-logo img { width: 100%; height: 100%; object-fit: contain; padding: 6px; }
.rec-name h2 {
  font-size: 1.3rem;
  font-weight: 900;
  line-height: 1.3;
}
.rec-name .rec-sub {
  font-size: 0.75rem;
  opacity: 0.7;
  margin-top: 4px;
}
.rec-body {
  padding: 24px;
}
.rec-points {
  list-style: none;
  padding: 0;
  margin: 16px 0;
}
.rec-points li {
  padding: 8px 0 8px 32px;
  position: relative;
  font-size: 0.95rem;
  border-bottom: 1px solid var(--gray-100);
}
.rec-points li:last-child { border-bottom: none; }
.rec-points li::before {
  content: '◎';
  position: absolute; left: 4px;
  color: var(--gold);
  font-weight: 900;
}
.rec-specs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--gray-200);
  border: 1px solid var(--gray-200);
  border-radius: 8px;
  overflow: hidden;
  margin: 20px 0;
}
.rec-spec {
  background: var(--white);
  padding: 12px;
  text-align: center;
}
.rec-spec .spec-label {
  font-size: 0.7rem;
  color: var(--gray-600);
  margin-bottom: 4px;
}
.rec-spec .spec-val {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--navy);
}

/* ===== CTA BUTTON ===== */
.cta-area {
  padding: 4px 24px 24px;
  text-align: center;
}
.cta-area.standalone {
  padding: 32px 0;
}
.cta-btn {
  display: block;
  background: linear-gradient(180deg, var(--orange) 0%, var(--orange-dark) 100%);
  color: var(--white);
  font-size: 1.1rem;
  font-weight: 900;
  padding: 18px 20px 14px;
  border-radius: 60px;
  text-align: center;
  box-shadow: 0 4px 16px rgba(232,93,38,0.35);
  transition: transform 0.15s, box-shadow 0.15s;
  position: relative;
  line-height: 1.4;
}
.cta-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(232,93,38,0.45);
}
.cta-btn .cta-sub {
  display: block;
  font-size: 0.7rem;
  font-weight: 500;
  opacity: 0.9;
  margin-top: 2px;
}
.cta-label {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--orange);
  margin-bottom: 8px;
}
.cta-note {
  font-size: 0.7rem;
  color: var(--gray-400);
  margin-top: 8px;
}
.cta-boost {
  display: inline-block;
  background: var(--red);
  color: var(--white);
  font-size: 0.7rem;
  font-weight: 700;
  padding: 2px 10px;
  border-radius: 4px;
  margin-bottom: 8px;
}

/* ===== REVIEW / TESTIMONIAL ===== */
.review-card {
  background: var(--gray-50);
  border-radius: var(--radius);
  padding: 20px;
  margin: 16px 0;
  position: relative;
}
.review-card::before {
  content: '"';
  position: absolute;
  top: 8px; left: 16px;
  font-size: 3rem;
  color: var(--gold);
  opacity: 0.3;
  font-family: serif;
  line-height: 1;
}
.review-meta {
  font-size: 0.75rem;
  color: var(--gray-600);
  margin-bottom: 8px;
  padding-left: 4px;
}
.review-stars {
  color: var(--gold);
  letter-spacing: 2px;
}
.review-text {
  font-size: 0.9rem;
  line-height: 1.8;
  padding-left: 4px;
}

/* ===== CASE CARDS ===== */
.case-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin: 20px 0;
}
.case-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 1px 4px rgba(0,0,0,0.06);
}
.case-card img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  display: block;
}

/* ===== WARNING BOX ===== */
.warn-box {
  background: #fef2f2;
  border: 1px solid #fca5a5;
  border-left: 4px solid var(--red);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 20px 24px;
  margin: 24px 0;
}
.warn-box h4 {
  color: var(--red);
  font-size: 0.95rem;
  margin-bottom: 8px;
}

/* ===== FAQ ===== */
.faq-item {
  border-bottom: 1px solid var(--gray-200);
  padding: 16px 0;
}
.faq-q {
  font-weight: 700;
  color: var(--navy);
  font-size: 0.95rem;
  cursor: pointer;
  display: flex;
  align-items: flex-start;
  gap: 8px;
}
.faq-q::before {
  content: 'Q';
  display: inline-flex; align-items: center; justify-content: center;
  width: 24px; height: 24px;
  background: var(--navy);
  color: var(--white);
  border-radius: 50%;
  font-size: 0.75rem;
  flex-shrink: 0;
}
.faq-a {
  margin-top: 12px;
  padding-left: 32px;
  font-size: 0.9rem;
  color: var(--gray-600);
}
.faq-a a {
  color: var(--orange);
  text-decoration: underline;
}

/* ===== MARKET SECTION ===== */
.market-section {
  background: linear-gradient(180deg, #fafafa 0%, #f0f4ff 100%);
  padding: 48px 20px;
}
.market-chart {
  width: 100%;
  aspect-ratio: 16/9;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  color: var(--gray-400);
  font-size: 0.8rem;
  margin: 20px 0;
}

/* ===== OTHER COMPANIES (COMPACT) ===== */
.other-heading {
  font-size: 1rem;
  font-weight: 700;
  color: var(--gray-600);
  margin: 48px 0 16px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--gray-200);
}
.other-card {
  border: 1px solid var(--gray-200);
  border-radius: 8px;
  padding: 16px;
  margin: 12px 0;
  display: flex;
  align-items: flex-start;
  gap: 12px;
}
.other-logo {
  width: 44px; height: 44px;
  border-radius: 8px;
  flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--gray-200);
}
.other-logo img { width: 100%; height: 100%; object-fit: contain; padding: 3px; }
.other-logo.text-logo {
  background: linear-gradient(135deg, #7b2d8b, #5a1d6b);
  color: var(--white);
  font-weight: 900;
  font-size: 1.1rem;
  border: none;
}
.other-info { flex: 1; }
.other-name { font-weight: 900; font-size: 0.95rem; color: var(--navy); }
.other-desc { font-size: 0.8rem; color: var(--gray-600); margin-top: 4px; line-height: 1.6; }
.other-link {
  display: inline-block;
  font-size: 0.8rem;
  color: var(--blue);
  margin-top: 8px;
  text-decoration: underline;
}

/* ===== FOOTER ===== */
.footer {
  background: var(--navy);
  color: rgba(255,255,255,0.7);
  padding: 40px 20px 32px;
  font-size: 0.75rem;
  line-height: 1.8;
}
.footer-inner { max-width: 680px; margin: 0 auto; }
.footer h4 {
  color: var(--gold);
  font-size: 0.8rem;
  margin-bottom: 6px;
}
.footer-section { margin-bottom: 16px; }
.footer-copy {
  margin-top: 24px;
  padding-top: 16px;
  border-top: 1px solid rgba(255,255,255,0.1);
  text-align: center;
  opacity: 0.6;
}

/* ===== PC FLOATING BANNER ===== */
.float-banner {
  position: fixed;
  top: 0; left: 0; right: 0;
  background: linear-gradient(90deg, var(--navy), var(--navy-light));
  padding: 8px 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  z-index: 200;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
  transform: translateY(-100%);
  transition: transform 0.3s ease;
}
.float-banner.show { transform: translateY(0); }
.float-banner .fb-text {
  color: var(--white);
  font-size: 0.85rem;
  font-weight: 700;
}
.float-banner .fb-text em {
  color: var(--gold);
  font-style: normal;
}
.float-banner .fb-btn {
  background: var(--orange);
  color: var(--white);
  font-size: 0.8rem;
  font-weight: 700;
  padding: 8px 24px;
  border-radius: 50px;
  white-space: nowrap;
  transition: background 0.15s;
}
.float-banner .fb-btn:hover { background: var(--orange-dark); }
@media (max-width: 640px) {
  .float-banner { display: none; }
}

/* ===== STICKY CTA ===== */
.sticky-cta {
  display: none;
  position: fixed;
  bottom: 0; left: 0; right: 0;
  background: rgba(255,255,255,0.97);
  padding: 10px 16px;
  box-shadow: 0 -2px 12px rgba(0,0,0,0.1);
  z-index: 100;
  backdrop-filter: blur(8px);
}
.sticky-cta .cta-btn {
  font-size: 0.95rem;
  padding: 14px 16px 10px;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 640px) {
  .article-header h1 { font-size: 1.2rem; }
  .sec-h2 { font-size: 1.05rem; }
  .rec-header { padding: 20px 16px 16px; }
  .rec-body { padding: 16px; }
  .cta-area { padding: 4px 16px 20px; }
  .case-grid { grid-template-columns: 1fr; }
  .sticky-cta { display: block; }
  .footer { padding-bottom: 80px; }
}