/*
Theme Name: Jusei Guide AI
Theme URI: https://jusei-guide.com/
Author: Infosuccess
Author URI: https://jusei-guide.com/
Description: Custom theme for Jusei Guide AI - advertisement compliance scan SaaS for chiropractic clinics.
Version: 1.0.3
Requires at least: 6.0
Requires PHP: 7.4
License: Proprietary
Text Domain: jusei-guide
*/



  * { box-sizing: border-box; margin: 0; padding: 0; }
  :root {
    --primary: #1a1a1a;
    --accent: #8b0000;
    --accent-dark: #6b0000;
    --bg-cream: #faf8f3;
    --bg-warn: #fdf3f3;
    --bg-info: #f4f1ea;
    --bg-safe: #f0f5ec;
    --bg-soft: #faf9f7;
    --text: #1a1a1a;
    --text-sub: #555;
    --text-light: #888;
    --border: #d8d4ce;
    --border-strong: #a8a39c;
    --max-width: 1080px;
    --content-width: 760px;
  }

  html { scroll-behavior: smooth; }
  body {
    font-family: "Hiragino Kaku Gothic ProN", "Yu Gothic Medium", YuGothic, "Meiryo", sans-serif;
    color: var(--text);
    line-height: 1.75;
    background: #fff;
    font-size: 16px;
    font-feature-settings: "palt";
    -webkit-font-smoothing: antialiased;
  }

  
  header.site-header {
    background: var(--primary);
    color: #fff;
    padding: 12px 0;
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 2px solid var(--accent);
  }
  .site-header-inner {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  .logo {
    font-weight: bold;
    font-size: 16px;
    letter-spacing: 0.02em;
  }
  .logo .tag {
    display: inline-block;
    background: var(--accent);
    color: #fff;
    font-size: 10px;
    padding: 2px 6px;
    margin-left: 8px;
    border-radius: 2px;
    letter-spacing: 0.1em;
    vertical-align: middle;
  }
  .header-cta {
    background: var(--accent);
    color: #fff;
    padding: 7px 16px;
    text-decoration: none;
    font-size: 13px;
    font-weight: bold;
    border-radius: 3px;
    transition: background 0.2s;
  }
  .header-cta:hover { background: var(--accent-dark); }
  @media (max-width: 600px) {
    .header-cta { padding: 6px 12px; font-size: 12px; }
    .logo { font-size: 14px; }
    .logo .tag { display: none; }
  }

  
  .hero {
    background: linear-gradient(180deg, #0f0f0f 0%, #1f1f1f 100%);
    color: #fff;
    padding: 60px 20px 80px;
    text-align: center;
    position: relative;
    overflow: hidden;
  }
  .hero::before {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-image:
      radial-gradient(circle at 20% 30%, rgba(139,0,0,0.18) 0%, transparent 40%),
      radial-gradient(circle at 80% 70%, rgba(139,0,0,0.12) 0%, transparent 40%),
      linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
      linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
    background-size: 100% 100%, 100% 100%, 24px 24px, 24px 24px;
    pointer-events: none;
  }
  
  .hero::after {
    content: "";
    position: absolute;
    left: 0; right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent 0%, rgba(255,107,107,0.5) 50%, transparent 100%);
    top: 40%;
    pointer-events: none;
    animation: scanline 4s ease-in-out infinite;
  }
  @keyframes scanline {
    0%, 100% { top: 25%; opacity: 0.4; }
    50% { top: 75%; opacity: 0.8; }
  }
  
  .corner-deco {
    position: absolute;
    width: 48px;
    height: 48px;
    pointer-events: none;
    z-index: 1;
  }
  .corner-deco.tl { top: 20px; left: 20px; border-top: 2px solid rgba(255,107,107,0.5); border-left: 2px solid rgba(255,107,107,0.5); }
  .corner-deco.tr { top: 20px; right: 20px; border-top: 2px solid rgba(255,107,107,0.5); border-right: 2px solid rgba(255,107,107,0.5); }
  .corner-deco.bl { bottom: 20px; left: 20px; border-bottom: 2px solid rgba(255,107,107,0.5); border-left: 2px solid rgba(255,107,107,0.5); }
  .corner-deco.br { bottom: 20px; right: 20px; border-bottom: 2px solid rgba(255,107,107,0.5); border-right: 2px solid rgba(255,107,107,0.5); }

  .hero-inner {
    max-width: 880px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
  }
  .hero-eyebrow {
    display: inline-block;
    background: var(--accent);
    color: #fff;
    padding: 5px 18px;
    font-size: 12px;
    font-weight: bold;
    letter-spacing: 0.15em;
    margin-bottom: 22px;
    border-radius: 2px;
  }
  
  .warning-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(139,0,0,0.25);
    border: 1px solid rgba(255,107,107,0.5);
    padding: 7px 18px;
    border-radius: 100px;
    margin-bottom: 20px;
    font-size: 12px;
    letter-spacing: 0.08em;
    color: #ff8a8a;
    font-weight: bold;
  }
  .warning-badge svg { width: 14px; height: 14px; }
  .warning-badge .pulse-dot {
    width: 8px;
    height: 8px;
    background: #ff6b6b;
    border-radius: 50%;
    animation: pulse 1.5s ease-in-out infinite;
  }
  @keyframes pulse {
    0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(255,107,107,0.7); }
    50% { opacity: 0.5; box-shadow: 0 0 0 6px rgba(255,107,107,0); }
  }
  .hero h1 {
    font-size: 38px;
    line-height: 1.4;
    font-weight: bold;
    margin-bottom: 24px;
    letter-spacing: -0.01em;
  }
  .hero h1 .em {
    color: #ff6b6b;
    font-size: 1.15em;
    display: inline-block;
    border-bottom: 3px solid #ff6b6b;
    padding-bottom: 2px;
  }
  .hero-sub {
    font-size: 18px;
    color: #ddd;
    margin-bottom: 36px;
    line-height: 1.8;
  }
  .hero-sub strong { color: #fff; }

  .hero-cta-area {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    margin-top: 32px;
  }
  .hero-cta {
    display: inline-block;
    background: var(--accent);
    color: #fff;
    padding: 20px 56px;
    text-decoration: none;
    font-size: 19px;
    font-weight: bold;
    border-radius: 6px;
    box-shadow: 0 6px 18px rgba(139,0,0,0.4);
    transition: transform 0.15s ease, box-shadow 0.15s ease;
    letter-spacing: 0.04em;
  }
  .hero-cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 22px rgba(139,0,0,0.5);
  }
  .hero-cta::before { content: "> "; font-size: 14px; }
  .hero-cta-note {
    color: #aaa;
    font-size: 13px;
  }
  .hero-cta-note::before { content: "v "; color: #7fb069; }

  .hero-trust-bar {
    margin-top: 48px;
    padding-top: 32px;
    border-top: 1px solid rgba(255,255,255,0.15);
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
    font-size: 13px;
    color: #bbb;
  }
  .hero-trust-bar .item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    min-width: 90px;
    padding: 0 16px;
  }
  .hero-trust-bar .icon-circle {
    width: 40px;
    height: 40px;
    background: rgba(139,0,0,0.25);
    border: 1px solid rgba(255,107,107,0.4);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 4px;
  }
  .hero-trust-bar .icon-circle svg {
    width: 18px;
    height: 18px;
    color: #ff8a8a;
  }
  .hero-trust-bar .num {
    font-size: 24px;
    font-weight: bold;
    color: #fff;
    line-height: 1.2;
  }
  .hero-trust-bar .label {
    font-size: 11px;
    color: #999;
    letter-spacing: 0.05em;
  }

  @media (max-width: 720px) {
    .hero { padding: 44px 16px 60px; }
    .corner-deco { width: 32px; height: 32px; }
    .corner-deco.tl, .corner-deco.tr { top: 12px; }
    .corner-deco.bl, .corner-deco.br { bottom: 12px; }
    .corner-deco.tl, .corner-deco.bl { left: 12px; }
    .corner-deco.tr, .corner-deco.br { right: 12px; }
    .hero h1 { font-size: 26px; }
    .hero-sub { font-size: 15px; }
    .hero-cta { padding: 17px 32px; font-size: 16px; }
    .hero-trust-bar { gap: 16px; }
    .hero-trust-bar .item { min-width: 70px; padding: 0 4px; }
    .hero-trust-bar .num { font-size: 20px; }
    .hero-trust-bar .icon-circle { width: 32px; height: 32px; }
    .hero-trust-bar .icon-circle svg { width: 14px; height: 14px; }
  }

  
  section.content {
    padding: 80px 20px;
  }
  section.content.alt { background: var(--bg-cream); }
  .content-inner {
    max-width: var(--content-width);
    margin: 0 auto;
  }
  .section-eyebrow {
    display: inline-block;
    color: var(--accent);
    font-size: 13px;
    font-weight: bold;
    letter-spacing: 0.15em;
    margin-bottom: 12px;
    padding-bottom: 3px;
    border-bottom: 2px solid var(--accent);
  }
  h2.section-title {
    font-size: 30px;
    line-height: 1.4;
    margin-bottom: 36px;
    font-weight: bold;
    letter-spacing: -0.01em;
  }
  h2.section-title .accent { color: var(--accent); }
  h3.section-h3 {
    font-size: 19px;
    margin: 32px 0 12px;
    font-weight: bold;
  }

  @media (max-width: 600px) {
    section.content { padding: 56px 16px; }
    h2.section-title { font-size: 22px; margin-bottom: 24px; }
    h3.section-h3 { font-size: 17px; }
  }

  
  .problem-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    margin: 32px 0 40px;
  }
  .problem-card {
    background: #fff;
    border: 1px solid var(--border);
    padding: 24px 20px;
    border-radius: 4px;
    position: relative;
    overflow: hidden;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
  }
  .problem-card::before {
    content: "";
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--accent) 0%, #d4574c 100%);
  }
  .problem-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.08);
  }
  .problem-card .pc-icon-wrap {
    width: 44px;
    height: 44px;
    background: var(--bg-warn);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 6px 0 12px;
  }
  .problem-card .pc-icon-wrap svg {
    width: 22px;
    height: 22px;
    color: var(--accent);
  }
  .problem-card .pc-num {
    color: var(--accent);
    font-weight: bold;
    font-size: 13px;
    letter-spacing: 0.1em;
    margin-bottom: 8px;
  }
  .problem-card .pc-title {
    font-size: 17px;
    font-weight: bold;
    line-height: 1.5;
    margin-bottom: 10px;
  }
  .problem-card .pc-body {
    font-size: 13.5px;
    color: var(--text-sub);
    line-height: 1.7;
  }

  @media (max-width: 720px) {
    .problem-grid { grid-template-columns: 1fr; }
  }

  .problem-quote {
    background: var(--bg-soft);
    border-left: 4px solid var(--primary);
    padding: 22px 26px;
    margin: 32px 0;
    font-size: 15px;
    color: var(--text-sub);
    line-height: 1.85;
  }
  .problem-quote .source {
    display: block;
    margin-top: 12px;
    font-size: 12px;
    color: var(--text-light);
  }

  .alert-banner {
    background: var(--bg-warn);
    border: 2px solid var(--accent);
    padding: 22px 24px;
    margin: 32px 0;
    border-radius: 4px;
  }
  .alert-banner .ab-title {
    font-weight: bold;
    color: var(--accent);
    font-size: 16px;
    margin-bottom: 8px;
  }
  .alert-banner .ab-title::before { content: "! "; }

  
  .solution-flow {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin: 36px 0;
    position: relative;
  }
  
  .solution-flow::before {
    content: "";
    position: absolute;
    top: 60px;
    left: 8%;
    right: 8%;
    height: 2px;
    background: repeating-linear-gradient(90deg, var(--accent) 0, var(--accent) 6px, transparent 6px, transparent 12px);
    opacity: 0.25;
    z-index: 0;
  }
  .step-card {
    background: #fff;
    border: 1px solid var(--border);
    padding: 28px 20px;
    text-align: center;
    position: relative;
    z-index: 1;
    border-radius: 8px;
    box-shadow: 0 4px 14px rgba(0,0,0,0.06);
    transition: transform 0.2s ease;
  }
  .step-card:hover { transform: translateY(-3px); }
  .step-card .step-icon-circle {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, var(--primary) 0%, #333 100%);
    border-radius: 50%;
    margin: 0 auto 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    box-shadow: 0 6px 16px rgba(0,0,0,0.18);
  }
  .step-card .step-icon-circle svg {
    width: 26px;
    height: 26px;
    color: #fff;
  }
  .step-card .step-num-badge {
    position: absolute;
    top: -6px;
    right: -6px;
    width: 24px;
    height: 24px;
    background: var(--accent);
    color: #fff;
    border-radius: 50%;
    font-size: 11px;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #fff;
  }
  .step-card .step-title {
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 8px;
  }
  .step-card .step-body {
    font-size: 13px;
    color: var(--text-sub);
    line-height: 1.7;
  }
  .step-card .step-time {
    display: inline-block;
    margin-top: 12px;
    padding: 3px 10px;
    background: var(--bg-info);
    color: #8a6a26;
    font-size: 11px;
    font-weight: bold;
    border-radius: 2px;
    letter-spacing: 0.05em;
  }

  @media (max-width: 720px) {
    .solution-flow { grid-template-columns: 1fr; gap: 14px; }
    .solution-flow::before { display: none; }
  }

  
  .scan-sample {
    margin: 40px 0;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(0,0,0,0.06);
  }
  .scan-sample-header {
    background: var(--primary);
    color: #fff;
    padding: 14px 22px;
    font-size: 13px;
    letter-spacing: 0.05em;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  .scan-sample-header .badge {
    background: var(--accent);
    padding: 3px 10px;
    font-size: 11px;
    border-radius: 2px;
    font-weight: bold;
  }
  .scan-sample-body {
    padding: 24px;
  }
  .scan-result-row {
    display: grid;
    grid-template-columns: 80px 1fr 100px;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid var(--border);
    gap: 12px;
    font-size: 14px;
  }
  .scan-result-row:last-child { border-bottom: none; }
  .scan-result-row .tier {
    text-align: center;
    padding: 3px 0;
    font-size: 11px;
    font-weight: bold;
    border-radius: 2px;
    letter-spacing: 0.05em;
  }
  .scan-result-row .tier.t1 { background: var(--accent); color: #fff; }
  .scan-result-row .tier.t2 { background: #d4a017; color: #fff; }
  .scan-result-row .tier.t3 { background: #6b8e4e; color: #fff; }
  .scan-result-row .ng-text {
    color: var(--accent);
    font-weight: bold;
    font-family: "Courier New", monospace;
  }
  .scan-result-row .arrow {
    color: var(--text-light);
    text-align: center;
  }

  
  .trust-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin: 32px 0;
  }
  .trust-card {
    background: #fff;
    border: 1px solid var(--border);
    padding: 26px 24px;
    border-radius: 6px;
    position: relative;
    overflow: hidden;
  }
  .trust-card.featured {
    background: linear-gradient(135deg, #0f0f0f 0%, #2a2a2a 100%);
    color: #fff;
    border: none;
  }
  .trust-card.featured::before {
    content: "";
    position: absolute;
    top: -30px;
    right: -30px;
    width: 120px;
    height: 120px;
    background: radial-gradient(circle, rgba(139,0,0,0.4) 0%, transparent 70%);
    pointer-events: none;
  }
  .trust-card.featured .tc-label { color: #aaa; }
  .trust-card.featured .tc-num { color: #fff; }
  .trust-card.featured .tc-desc { color: #ddd; }
  .tc-icon-corner {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 32px;
    height: 32px;
    background: var(--bg-warn);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .trust-card.featured .tc-icon-corner {
    background: rgba(139,0,0,0.3);
  }
  .tc-icon-corner svg {
    width: 16px;
    height: 16px;
    color: var(--accent);
  }
  .trust-card.featured .tc-icon-corner svg {
    color: #ff8a8a;
  }
  .tc-label {
    font-size: 12px;
    letter-spacing: 0.15em;
    font-weight: bold;
    color: var(--text-light);
    margin-bottom: 10px;
  }
  .tc-num {
    font-size: 36px;
    font-weight: bold;
    line-height: 1.1;
    margin-bottom: 6px;
  }
  .tc-num .unit {
    font-size: 16px;
    font-weight: normal;
    margin-left: 4px;
  }
  .tc-desc {
    font-size: 13px;
    color: var(--text-sub);
    line-height: 1.6;
  }

  @media (max-width: 600px) {
    .trust-grid { grid-template-columns: 1fr; }
    .tc-num { font-size: 28px; }
  }

  .source-list {
    background: var(--bg-soft);
    border: 1px solid var(--border);
    padding: 24px 28px;
    margin-top: 32px;
    border-radius: 3px;
    font-size: 13px;
    color: var(--text-sub);
  }
  .source-list .sl-title {
    font-weight: bold;
    color: var(--text);
    margin-bottom: 10px;
    font-size: 13px;
    letter-spacing: 0.05em;
  }
  .source-list ul {
    list-style: none;
    line-height: 1.9;
  }
  .source-list ul li::before {
    content: "- ";
    color: var(--text-light);
    margin-right: 4px;
  }

  
  .faq-list {
    margin: 32px 0;
  }
  details.faq-item {
    border: 1px solid var(--border);
    border-radius: 3px;
    margin-bottom: 10px;
    background: #fff;
    transition: border-color 0.2s;
  }
  details.faq-item[open] {
    border-color: var(--primary);
  }
  details.faq-item summary {
    padding: 18px 24px;
    font-weight: bold;
    cursor: pointer;
    list-style: none;
    position: relative;
    padding-right: 50px;
    font-size: 15px;
    line-height: 1.6;
  }
  details.faq-item summary::-webkit-details-marker { display: none; }
  details.faq-item summary::before {
    content: "Q.";
    color: var(--accent);
    font-weight: bold;
    margin-right: 10px;
  }
  details.faq-item summary::after {
    content: "+";
    position: absolute;
    right: 24px;
    top: 18px;
    font-size: 22px;
    color: var(--text-light);
    transition: transform 0.2s;
    line-height: 1;
  }
  details.faq-item[open] summary::after {
    transform: rotate(45deg);
    color: var(--accent);
  }
  details.faq-item .faq-answer {
    padding: 0 24px 22px 50px;
    color: var(--text-sub);
    font-size: 14.5px;
    line-height: 1.85;
  }
  details.faq-item .faq-answer p { margin-bottom: 8px; }

  
  .final-cta {
    background: linear-gradient(135deg, #1a1a1a 0%, #2a2a2a 100%);
    color: #fff;
    padding: 80px 20px;
    text-align: center;
    position: relative;
    overflow: hidden;
  }
  .final-cta::before {
    content: "";
    position: absolute;
    top: -50%;
    left: -10%;
    width: 60%;
    height: 200%;
    background: radial-gradient(ellipse at center, rgba(139,0,0,0.15) 0%, transparent 70%);
    pointer-events: none;
  }
  .final-cta-inner {
    max-width: 700px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
  }
  .final-cta h2 {
    font-size: 32px;
    line-height: 1.4;
    margin-bottom: 18px;
    font-weight: bold;
  }
  .final-cta p {
    color: #ccc;
    font-size: 16px;
    margin-bottom: 36px;
    line-height: 1.8;
  }
  .final-cta-buttons {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 18px;
  }
  .primary-cta {
    display: inline-block;
    background: var(--accent);
    color: #fff;
    padding: 20px 64px;
    text-decoration: none;
    font-size: 19px;
    font-weight: bold;
    border-radius: 6px;
    box-shadow: 0 6px 20px rgba(139,0,0,0.45);
    transition: transform 0.15s, box-shadow 0.15s;
    letter-spacing: 0.04em;
  }
  .primary-cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(139,0,0,0.55);
  }
  .primary-cta::before { content: "> "; font-size: 14px; }

  .secondary-cta {
    display: inline-block;
    background: transparent;
    color: #fff;
    border: 2px solid #fff;
    padding: 13px 36px;
    text-decoration: none;
    font-size: 14px;
    font-weight: bold;
    border-radius: 4px;
    transition: background 0.2s;
  }
  .secondary-cta:hover {
    background: #fff;
    color: var(--primary);
  }

  .cta-notes {
    margin-top: 28px;
    display: flex;
    justify-content: center;
    gap: 24px;
    flex-wrap: wrap;
    font-size: 13px;
    color: #aaa;
  }
  .cta-notes span::before {
    content: "v ";
    color: #7fb069;
  }

  @media (max-width: 720px) {
    .final-cta { padding: 60px 16px; }
    .final-cta h2 { font-size: 24px; }
    .final-cta p { font-size: 15px; }
    .primary-cta { padding: 17px 36px; font-size: 16px; }
    .cta-notes { gap: 14px; font-size: 12px; }
  }

  
  footer.site-footer {
    background: #0e0e0e;
    color: #888;
    padding: 40px 20px;
    text-align: center;
    font-size: 12px;
  }
  footer.site-footer p { margin-bottom: 4px; }
  footer.site-footer a {
    color: #aaa;
    text-decoration: none;
    margin: 0 8px;
  }
  footer.site-footer a:hover { color: #fff; }
  footer .footer-links { margin-bottom: 14px; }
  footer .copyright { font-size: 11px; color: #555; }

  
  .sticky-mobile-cta {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--accent);
    color: #fff;
    text-align: center;
    padding: 14px 16px;
    text-decoration: none;
    font-weight: bold;
    font-size: 15px;
    z-index: 99;
    box-shadow: 0 -4px 14px rgba(0,0,0,0.2);
  }
  @media (max-width: 720px) {
    .sticky-mobile-cta { display: block; }
    body { padding-bottom: 56px; }
  }




  * { box-sizing: border-box; margin: 0; padding: 0; }
  :root {
    --primary: #1a1a1a;
    --accent: #8b0000;
    --bg-warn: #fdf3f3;
    --bg-info: #f4f1ea;
    --bg-safe: #f0f5ec;
    --bg-soft: #faf9f7;
    --text: #1a1a1a;
    --text-sub: #555;
    --text-light: #888;
    --border: #d8d4ce;
    --max-width: 760px;
  }

  html { scroll-behavior: smooth; }
  body {
    font-family: "Hiragino Kaku Gothic ProN", "Yu Gothic Medium", YuGothic, "Meiryo", sans-serif;
    color: var(--text);
    line-height: 1.85;
    background: #fff;
    font-size: 16px;
    font-feature-settings: "palt";
  }

  
  .article-header {
    border-bottom: 3px solid var(--accent);
    padding: 32px 20px 24px;
    max-width: var(--max-width);
    margin: 0 auto;
  }
  .breadcrumb {
    font-size: 12px;
    color: var(--text-light);
    margin-bottom: 16px;
  }
  .breadcrumb a { color: var(--text-light); text-decoration: none; }
  .breadcrumb a:hover { text-decoration: underline; }
  .category-tag {
    display: inline-block;
    background: var(--accent);
    color: #fff;
    padding: 3px 12px;
    font-size: 12px;
    font-weight: bold;
    letter-spacing: 0.12em;
    margin-bottom: 14px;
  }
  h1 {
    font-size: 28px;
    line-height: 1.4;
    margin-bottom: 16px;
    font-weight: bold;
    letter-spacing: -0.01em;
  }
  .article-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
    color: var(--text-sub);
    margin-top: 12px;
  }
  .article-meta .author { font-weight: bold; }
  .article-meta .date::before { content: " "; }
  .article-meta .reading-time::before { content: " "; }

  
  main {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 20px 80px;
  }

  
  .lead-alert {
    background: var(--bg-warn);
    border-left: 5px solid var(--accent);
    padding: 20px 24px;
    margin: 28px 0;
    border-radius: 2px;
  }
  .lead-alert strong { color: var(--accent); }
  .lead-alert .alert-title {
    font-size: 17px;
    font-weight: bold;
    margin-bottom: 10px;
    color: var(--accent);
  }

  
  .toc {
    background: var(--bg-soft);
    border: 1px solid var(--border);
    padding: 24px 28px;
    margin: 32px 0 40px;
    border-radius: 4px;
  }
  .toc-title {
    font-size: 14px;
    font-weight: bold;
    color: var(--text-sub);
    letter-spacing: 0.1em;
    margin-bottom: 14px;
    text-transform: uppercase;
  }
  .toc ol {
    margin-left: 18px;
    font-size: 14.5px;
  }
  .toc ol li { margin-bottom: 6px; }
  .toc ol li a {
    color: var(--text);
    text-decoration: none;
    border-bottom: 1px dotted var(--border);
  }
  .toc ol li a:hover {
    color: var(--accent);
    border-bottom-color: var(--accent);
  }
  .toc ol ol {
    margin-top: 4px;
    margin-bottom: 6px;
    font-size: 13.5px;
    color: var(--text-sub);
  }
  .toc ol ol li a { color: var(--text-sub); }

  
  h2 {
    font-size: 24px;
    line-height: 1.4;
    margin: 56px 0 20px;
    padding: 12px 0 12px 16px;
    border-left: 6px solid var(--accent);
    background: var(--bg-soft);
    font-weight: bold;
  }
  h3 {
    font-size: 19px;
    line-height: 1.5;
    margin: 36px 0 14px;
    padding-bottom: 8px;
    border-bottom: 2px solid var(--border);
    font-weight: bold;
  }
  h4 {
    font-size: 16.5px;
    margin: 24px 0 10px;
    color: var(--accent);
    font-weight: bold;
  }
  p { margin-bottom: 18px; }
  p + p { margin-top: -4px; }
  strong { font-weight: bold; color: var(--primary); }

  
  ul, ol {
    margin: 14px 0 24px 24px;
  }
  ul li, ol li {
    margin-bottom: 10px;
    line-height: 1.75;
  }
  ul li::marker { color: var(--accent); }

  
  .table-wrap {
    margin: 24px 0;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
  table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
    background: #fff;
  }
  th {
    background: var(--primary);
    color: #fff;
    padding: 10px 12px;
    text-align: left;
    font-weight: bold;
    border: 1px solid var(--primary);
  }
  td {
    padding: 10px 12px;
    border: 1px solid var(--border);
    vertical-align: top;
  }
  tr:nth-child(even) td { background: var(--bg-soft); }
  td.ng { color: var(--accent); font-weight: bold; }
  td.ok { color: #2d5f25; font-weight: bold; }

  
  .callout {
    margin: 28px 0;
    padding: 18px 22px;
    border-radius: 4px;
    font-size: 15px;
  }
  .callout.warning {
    background: var(--bg-warn);
    border-left: 4px solid var(--accent);
  }
  .callout.warning .callout-title {
    color: var(--accent);
    font-weight: bold;
    margin-bottom: 8px;
  }
  .callout.info {
    background: var(--bg-info);
    border-left: 4px solid #b8995a;
  }
  .callout.info .callout-title {
    color: #8a6a26;
    font-weight: bold;
    margin-bottom: 8px;
  }
  .callout.success {
    background: var(--bg-safe);
    border-left: 4px solid #2d5f25;
  }
  .callout.success .callout-title {
    color: #2d5f25;
    font-weight: bold;
    margin-bottom: 8px;
  }

  
  blockquote {
    margin: 24px 0;
    padding: 14px 20px;
    border-left: 3px solid var(--primary);
    background: var(--bg-soft);
    font-size: 14.5px;
    color: var(--text-sub);
    font-style: normal;
  }
  blockquote cite {
    display: block;
    font-size: 12.5px;
    margin-top: 8px;
    color: var(--text-light);
    font-style: normal;
  }

  
  .cta-block {
    margin: 48px 0;
    padding: 32px 28px;
    background: linear-gradient(135deg, #1a1a1a 0%, #2a2a2a 100%);
    color: #fff;
    border-radius: 8px;
    text-align: center;
  }
  .cta-block h3 {
    color: #fff;
    border: none;
    padding: 0;
    font-size: 22px;
    margin-bottom: 12px;
  }
  .cta-block p {
    color: #ddd;
    margin-bottom: 22px;
    font-size: 15px;
  }
  .cta-button {
    display: inline-block;
    background: var(--accent);
    color: #fff;
    padding: 14px 36px;
    text-decoration: none;
    font-weight: bold;
    font-size: 16px;
    border-radius: 4px;
    transition: transform 0.15s ease;
  }
  .cta-button:hover { transform: translateY(-2px); }
  .cta-note {
    display: block;
    color: #aaa;
    font-size: 12px;
    margin-top: 14px;
  }

  
  .mini-cta {
    margin: 32px 0;
    padding: 16px 20px;
    background: var(--bg-info);
    border-left: 4px solid #b8995a;
    border-radius: 2px;
    font-size: 14.5px;
  }
  .mini-cta a {
    color: var(--accent);
    font-weight: bold;
  }

  
  .summary-box {
    margin: 32px 0;
    padding: 24px;
    border: 2px solid var(--primary);
    border-radius: 4px;
  }
  .summary-box h3 {
    border: none;
    padding: 0;
    margin-top: 0;
    font-size: 18px;
  }
  .summary-box ul { margin-bottom: 0; }

  
  .article-footer {
    margin-top: 64px;
    padding-top: 32px;
    border-top: 2px solid var(--border);
    font-size: 13px;
    color: var(--text-sub);
  }
  .article-footer .author-box {
    background: var(--bg-soft);
    padding: 20px;
    border-radius: 4px;
    margin-bottom: 24px;
  }
  .article-footer .author-name {
    font-weight: bold;
    color: var(--text);
    margin-bottom: 6px;
    font-size: 14.5px;
  }
  .sources {
    font-size: 12px;
    color: var(--text-light);
  }
  .sources li { margin-bottom: 4px; }

  
  @media (max-width: 600px) {
    h1 { font-size: 22px; }
    h2 { font-size: 19px; padding: 10px 0 10px 12px; }
    h3 { font-size: 16.5px; }
    .article-header { padding: 24px 16px 20px; }
    main { padding: 0 16px 64px; }
    body { font-size: 15px; }
    .cta-block { padding: 24px 18px; }
    .cta-block h3 { font-size: 18px; }
  }

  
  h2[id], h3[id] {
    scroll-margin-top: 20px;
  }




  .reply-example {
    margin: 24px 0 32px;
    border: 1px solid var(--border);
    border-radius: 4px;
    overflow: hidden;
  }
  .reply-example .review-box {
    background: var(--bg-soft);
    padding: 14px 18px;
    font-size: 14.5px;
    border-bottom: 1px solid var(--border);
  }
  .reply-example .review-box .stars {
    color: #d4a017;
    font-size: 13px;
    margin-bottom: 6px;
    letter-spacing: 0.05em;
  }
  .reply-example .review-box .review-text {
    color: var(--text-sub);
    line-height: 1.7;
  }
  .reply-example .review-box .review-text::before {
    content: "User";
    color: var(--text-light);
    font-size: 12px;
    margin-right: 4px;
  }
  .reply-example .reply-box {
    padding: 14px 18px;
    font-size: 15px;
    line-height: 1.85;
  }
  .reply-example .reply-box::before {
    content: "v ";
    display: block;
    font-size: 12px;
    color: var(--accent);
    font-weight: bold;
    margin-bottom: 8px;
    letter-spacing: 0.06em;
  }
  .reply-example .reply-note {
    background: var(--bg-info);
    padding: 12px 18px;
    font-size: 13px;
    color: var(--text-sub);
    border-top: 1px solid var(--border);
  }
  .reply-example .reply-note::before {
    content: " : ";
    font-weight: bold;
    color: #8a6a26;
  }
  .example-num {
    display: inline-block;
    background: var(--accent);
    color: #fff;
    padding: 2px 9px;
    font-size: 12px;
    font-weight: bold;
    margin-right: 8px;
    border-radius: 2px;
    vertical-align: middle;
  }

  




body.admin-bar header.site-header { top: 32px; }
@media (max-width: 782px) {
  body.admin-bar header.site-header { top: 46px; }
}


.wp-block-image { margin: 24px 0; }
.wp-block-image img { max-width: 100%; height: auto; }


.archive-list {
  max-width: var(--content-width);
  margin: 0 auto;
  padding: 40px 20px;
}
.archive-list .archive-item {
  padding: 28px 0;
  border-bottom: 1px solid var(--border);
}
.archive-list .archive-item:last-child {
  border-bottom: none;
}
.archive-list .archive-item .category-tag-small {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  padding: 3px 10px;
  font-size: 11px;
  font-weight: bold;
  letter-spacing: 0.1em;
  margin-bottom: 10px;
  border-radius: 2px;
}
.archive-list .archive-item h2 {
  font-size: 22px;
  line-height: 1.5;
  margin-bottom: 10px;
  padding: 0;
  background: none;
  border: none;
}
.archive-list .archive-item h2 a {
  color: var(--text);
  text-decoration: none;
}
.archive-list .archive-item h2 a:hover { color: var(--accent); }
.archive-list .archive-item .meta {
  font-size: 12px;
  color: var(--text-light);
  margin-bottom: 12px;
}
.archive-list .archive-item .meta .date::before {
  content: "";
  margin-right: 4px;
}
.archive-list .archive-item .excerpt {
  font-size: 14.5px;
  color: var(--text-sub);
  line-height: 1.8;
  margin-bottom: 14px;
}
.archive-list .archive-item .read-more {
  display: inline-block;
  color: var(--accent);
  font-size: 13px;
  font-weight: bold;
  text-decoration: none;
  letter-spacing: 0.05em;
}
.archive-list .archive-item .read-more:hover {
  text-decoration: underline;
}
.archive-description {
  font-size: 14px;
  color: var(--text-sub);
  margin-top: 12px;
}
.navigation.pagination {
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  text-align: center;
}
.navigation.pagination .nav-links {
  display: inline-flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
}
.navigation.pagination .page-numbers {
  display: inline-block;
  padding: 8px 14px;
  border: 1px solid var(--border);
  background: #fff;
  color: var(--text);
  text-decoration: none;
  font-size: 14px;
  border-radius: 3px;
  min-width: 40px;
  text-align: center;
  transition: background 0.15s;
}
.navigation.pagination .page-numbers:hover {
  background: var(--bg-soft);
}
.navigation.pagination .page-numbers.current {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}
