
  :root{
    --red:#FF0000;
    --red-deep:#C40000;
    --red-dark:#8F0000;
    --ink:#1A0000;
    --line-onred:rgba(255,255,255,0.28);
    --line-onwhite:rgba(26,0,0,0.12);
    --radius:2px;
    --maxw:1120px;
  }

  *{box-sizing:border-box;}
  html{scroll-behavior:smooth;}
  @media (prefers-reduced-motion: reduce){
    html{scroll-behavior:auto;}
    *{animation-duration:0.001ms !important; animation-iteration-count:1 !important; transition-duration:0.001ms !important;}
  }

  body{
    margin:0;
    background:#fff;
    color:var(--ink);
    font-family:"Zen Kaku Gothic New", "Noto Sans JP", sans-serif;
    line-height:1.8;
    -webkit-font-smoothing:antialiased;
    overflow-x:hidden;
  }

  h1,h2,h3,h4{ margin:0; font-family:"Zen Kaku Gothic New", sans-serif; font-weight:900; }
  a{ color:inherit; }
  img{ max-width:100%; display:block; }
  strong.emph{ font-weight:900; font-size:1.28em; line-height:1.4; display:inline-block; }

  .wrap{ max-width:var(--maxw); margin:0 auto; padding:0 28px; }

  /* ---------- WARNING MARQUEE ---------- */
  .warn-bar{
    background:repeating-linear-gradient(-45deg, #000 0 22px, #FFD400 22px 44px);
    color:#000; font-weight:900; font-size:0.78rem; letter-spacing:0.05em;
    overflow:hidden; white-space:nowrap; position:relative;
  }
  .warn-bar .track{
    display:inline-block; padding:9px 0;
    animation:marquee 22s linear infinite;
  }
  .warn-bar span{
    display:inline-block; background:#fff; padding:2px 18px; margin:0 10px; border-radius:999px;
  }
  @keyframes marquee{ 0%{ transform:translateX(0); } 100%{ transform:translateX(-50%); } }

  /* ---------- SECTION BASE + COLOR VARIANTS ---------- */
  section{ padding:100px 0; position:relative; }
  section.on-red{ background:var(--red); color:#fff; border-top:1px solid var(--line-onred); }
  section.on-white{ background:#fff; color:var(--ink); border-top:1px solid var(--line-onwhite); }

  .section-num{ font-weight:900; font-size:0.85rem; letter-spacing:0.3em; margin-bottom:18px; display:block; }
  .on-red .section-num{ color:rgba(255,255,255,0.75); }
  .on-white .section-num{ color:rgba(255,0,0,0.8); }

  .section-head{ max-width:680px; margin:0 0 60px; }
  .section-head h2{ font-size:clamp(1.8rem, 3.4vw, 2.6rem); line-height:1.5; }
  .on-red .section-head h2{ color:#fff; }
  .on-white .section-head h2{ color:var(--ink); }
  .on-white .section-head h2 strong.emph{ color:var(--red); }
  .section-head p{ margin-top:18px; max-width:56ch; font-size:1rem; }
  .on-red .section-head p{ color:rgba(255,255,255,0.85); }
  .on-white .section-head p{ color:rgba(26,0,0,0.7); }

  /* ---------- HEADER ---------- */
  header.site{
    position:fixed; top:0; left:0; right:0; z-index:50;
    background:rgba(196,0,0,0.94);
    backdrop-filter:blur(6px);
    border-bottom:1px solid var(--line-onred);
  }
  header.site .wrap{ display:flex; align-items:center; justify-content:space-between; height:72px; }
  .logo{ font-weight:900; font-size:1.5rem; letter-spacing:0.06em; color:#fff; display:flex; align-items:center; gap:8px; }
  .logo span{ color:var(--red-dark); background:#fff; padding:0 6px; }
  .logo .eye{ font-size:1.1rem; animation:blink 4s infinite; }
  @keyframes blink{ 0%,92%,100%{ opacity:1; } 95%{ opacity:0.2; } }
  nav.main-nav{ display:flex; gap:28px; }
  nav.main-nav a{ font-size:0.85rem; letter-spacing:0.04em; text-decoration:none; color:rgba(255,255,255,0.85); }
  nav.main-nav a:hover{ color:#fff; text-decoration:underline; }
  .nav-cta{
    background:#fff; color:var(--red) !important; font-weight:900;
    padding:10px 22px; font-size:0.85rem; border-radius:var(--radius);
    text-decoration:none; letter-spacing:0.04em;
  }
  @media (max-width:900px){ nav.main-nav{ display:none; } }

  /* ---------- HERO ---------- */
  .hero{ position:relative; padding:168px 0 120px; overflow:hidden; background:var(--red); border-top:none; }
  .ripple-field{ position:absolute; right:-160px; top:-120px; width:640px; height:640px; pointer-events:none; }
  .ripple-field svg{ width:100%; height:100%; }
  .ripple-field circle{ fill:none; stroke:#fff; stroke-opacity:0.18; }
  .ripple-field circle:nth-child(1){ animation:sink 7s ease-in-out infinite; }
  .ripple-field circle:nth-child(2){ animation:sink 7s ease-in-out infinite 1.4s; }
  .ripple-field circle:nth-child(3){ animation:sink 7s ease-in-out infinite 2.8s; }
  .ripple-field circle:nth-child(4){ animation:sink 7s ease-in-out infinite 4.2s; }
  @keyframes sink{ 0%{ transform:scale(0.7); stroke-opacity:0.36; } 100%{ transform:scale(1.35); stroke-opacity:0; } }

  .hero .wrap{ position:relative; z-index:2; }
  .eyebrow{
    display:inline-flex; align-items:center; gap:10px;
    font-size:0.8rem; letter-spacing:0.16em; color:#fff; font-weight:700; margin-bottom:28px;
    background:rgba(0,0,0,0.18); padding:8px 16px;
  }
  .hero h1{ font-size:clamp(2.2rem, 4.8vw, 3.8rem); line-height:1.5; max-width:18ch; color:#fff; }
  .hero h1 strong.emph{ color:#fff; font-size:1.15em; }
  .hero .lede{ margin-top:28px; max-width:48ch; font-size:1.05rem; color:rgba(255,255,255,0.9); }
  .hero .cta-row{ margin-top:44px; display:flex; gap:18px; flex-wrap:wrap; align-items:center; }
  .btn-primary{
    background:#fff; color:var(--red); padding:18px 36px; text-decoration:none;
    font-weight:900; font-size:1rem; letter-spacing:0.04em; border-radius:var(--radius);
    box-shadow:0 10px 26px rgba(0,0,0,0.28); transition:transform .2s ease;
  }
  .btn-primary:hover{ transform:translateY(-2px); }
  .btn-ghost{ color:#fff; text-decoration:none; font-size:0.92rem; border-bottom:1px solid #fff; padding-bottom:2px; }
  .hero .fine{ margin-top:22px; font-size:0.74rem; color:rgba(255,255,255,0.55); }

  /* ---------- ABOUT ---------- */
  .about-grid{ display:grid; grid-template-columns:1.1fr 0.9fr; gap:64px; align-items:center; }
  .about-copy p{ margin-bottom:20px; font-size:1rem; color:rgba(26,0,0,0.78); }
  .swamp-visual{ position:relative; aspect-ratio:1/1; display:flex; align-items:center; justify-content:center; }
  .swamp-visual svg{ width:100%; height:100%; }
  .badge-sketchy{
    display:inline-block; border:2px dashed var(--red); color:var(--red); font-weight:900;
    padding:6px 14px; font-size:0.78rem; transform:rotate(-3deg); margin-bottom:18px;
  }
  @media (max-width:860px){
    .about-grid{ grid-template-columns:1fr; }
    .swamp-visual{ order:-1; max-width:280px; margin:0 auto 20px; }
  }

  /* ---------- DIAGNOSIS QUIZ ---------- */
  .quiz-list{ display:flex; flex-direction:column; gap:0; border-top:1px solid var(--line-onwhite); }
  .quiz-item{
    display:flex; align-items:center; gap:18px; padding:22px 0; border-bottom:1px solid var(--line-onwhite);
  }
  .quiz-item .check{
    width:26px; height:26px; border:2px solid var(--red); flex:none; border-radius:4px; position:relative;
  }
  .quiz-item .check::before, .quiz-item .check::after{ content:""; position:absolute; background:var(--red); }
  .quiz-item .check::before{ width:2px; height:12px; top:6px; left:11px; transform:rotate(45deg); transform-origin:bottom; }
  .quiz-item span.qt{ font-size:1rem; font-weight:700; }
  .quiz-result{
    margin-top:30px; padding:26px 28px; background:#FFF3F0; border:1px dashed var(--red);
    font-size:0.94rem; color:var(--ink);
  }
  .quiz-result strong{ color:var(--red); }

  /* ---------- COMPARE TABLE ---------- */
  .compare-table-wrap{ overflow-x:auto; border:1px solid rgba(255,255,255,0.35); }
  .compare-table{ width:100%; border-collapse:collapse; min-width:640px; background:rgba(0,0,0,0.08); }
  .compare-table th, .compare-table td{
    padding:18px 20px; text-align:left; font-size:0.92rem; border-bottom:1px solid rgba(255,255,255,0.2);
    color:rgba(255,255,255,0.9); vertical-align:top;
  }
  .compare-table thead th{
    font-weight:900; font-size:0.95rem; color:#fff; border-bottom:2px solid rgba(255,255,255,0.5);
  }
  .compare-table th.col-us, .compare-table td.col-us{
    background:rgba(255,255,255,0.14); font-weight:700;
  }
  .compare-table td.row-label{ font-weight:700; color:rgba(255,255,255,0.75); white-space:nowrap; }
  .mk{ display:inline-block; font-weight:900; margin-right:6px; }
  .mk-good{ color:#FFD400; }
  .mk-mid{ color:rgba(255,255,255,0.85); }
  .mk-bad{ color:rgba(255,255,255,0.55); }
  .compare-note{ margin-top:24px; font-size:0.8rem; color:rgba(255,255,255,0.6); max-width:70ch; }
  @media (max-width:700px){
    .compare-table th, .compare-table td{ padding:14px 14px; font-size:0.85rem; }
  }

  /* ---------- FEATURES (with photo slots) ---------- */
  .feature-grid{ display:grid; grid-template-columns:repeat(3, 1fr); gap:2px; background:rgba(255,255,255,0.2); }
  .feature-card{ background:var(--red); padding:0 0 34px; display:flex; flex-direction:column; }
  .feature-photo{
    aspect-ratio:4/3; width:100%;
    background:repeating-linear-gradient(45deg, rgba(255,255,255,0.10) 0 10px, rgba(255,255,255,0.04) 10px 20px);
    border:1px dashed rgba(255,255,255,0.55);
    display:flex; flex-direction:column; align-items:center; justify-content:center;
    gap:8px; color:rgba(255,255,255,0.75); margin-bottom:26px;
  }
  .feature-photo svg{ width:34px; height:34px; stroke:rgba(255,255,255,0.75); }
  .feature-photo span{ font-size:0.78rem; letter-spacing:0.04em; }
  .feature-card .feature-body{ padding:0 34px; }
  .feature-num{ font-weight:900; font-size:0.85rem; letter-spacing:0.1em; color:rgba(255,255,255,0.7); margin-bottom:14px; display:block; }
  .feature-card h3{ font-size:1.35rem; color:#fff; margin-bottom:12px; line-height:1.5; }
  .feature-card p{ color:rgba(255,255,255,0.85); margin:0; font-size:0.96rem; }
  @media (max-width:860px){ .feature-grid{ grid-template-columns:1fr; } }

  /* ---------- CASE STUDIES ---------- */
  .case-grid{ display:grid; grid-template-columns:repeat(3, 1fr); gap:36px; }
  .case-card{ border:1px solid var(--line-onwhite); position:relative; }
  .case-card::before{
    content:"沼落ち済み"; position:absolute; top:14px; right:-34px; background:var(--red); color:#fff;
    font-size:0.68rem; font-weight:900; padding:4px 40px; transform:rotate(35deg); z-index:2;
    box-shadow:0 3px 8px rgba(0,0,0,0.25);
  }
  .case-photo{
    aspect-ratio:4/3; width:100%;
    background:repeating-linear-gradient(45deg, rgba(255,0,0,0.06) 0 10px, rgba(255,0,0,0.02) 10px 20px);
    border-bottom:1px solid var(--line-onwhite);
    display:flex; flex-direction:column; align-items:center; justify-content:center; gap:8px;
    color:rgba(255,0,0,0.65);
  }
  .case-photo svg{ width:30px; height:30px; stroke:rgba(255,0,0,0.6); }
  .case-photo span{ font-size:0.75rem; }
  .case-body{ padding:26px 28px 30px; }
  .case-tag{ font-size:0.76rem; letter-spacing:0.08em; color:var(--red); font-weight:700; margin-bottom:10px; display:block; }
  .case-card h3{ font-size:1.1rem; color:var(--ink); margin-bottom:10px; line-height:1.6; }
  .case-card p{ color:rgba(26,0,0,0.7); font-size:0.92rem; margin:0; }
  .case-stat{ margin-top:16px; font-weight:900; font-size:1.4rem; color:var(--red); }
  .case-note{ margin-top:36px; font-size:0.82rem; color:rgba(26,0,0,0.5); }
  @media (max-width:860px){ .case-grid{ grid-template-columns:1fr; } .case-card::before{ display:none; } }

  /* ---------- FLOW (LEVELS) ---------- */
  .level-list{ display:flex; flex-direction:column; }
  .level-item{ display:grid; grid-template-columns:150px 1fr; gap:36px; padding:36px 0; border-top:1px solid var(--line-onred); align-items:center; }
  .level-item:last-child{ border-bottom:1px solid var(--line-onred); }
  .level-badge{ display:flex; align-items:center; gap:14px; }
  .level-ring{ position:relative; width:60px; height:60px; flex:none; }
  .level-ring svg{ width:100%; height:100%; }
  .level-ring circle{ fill:none; stroke:#fff; }
  .level-num{ font-weight:900; font-size:0.85rem; color:#fff; letter-spacing:0.06em; }
  .level-body h3{ font-size:1.3rem; margin-bottom:8px; color:#fff; }
  .level-body p{ color:rgba(255,255,255,0.85); margin:0; max-width:58ch; font-size:0.98rem; }
  @media (max-width:640px){ .level-item{ grid-template-columns:1fr; gap:14px; } }

  /* ---------- FAQ ---------- */
  .faq-list{ border-top:1px solid var(--line-onwhite); }
  .faq-item{ border-bottom:1px solid var(--line-onwhite); }
  .faq-q{
    width:100%; text-align:left; background:none; border:none; padding:28px 0;
    display:flex; align-items:flex-start; gap:20px; cursor:pointer; font-family:inherit; color:var(--ink);
  }
  .faq-q .qmark{ font-weight:900; color:var(--red); font-size:1.2rem; flex:none; }
  .faq-q span.qtext{ font-size:1.05rem; font-weight:700; padding-top:2px; }
  .faq-q .toggle{ margin-left:auto; flex:none; width:22px; height:22px; position:relative; }
  .faq-q .toggle::before, .faq-q .toggle::after{ content:""; position:absolute; background:var(--ink); top:50%; left:50%; transform:translate(-50%,-50%); }
  .faq-q .toggle::before{ width:14px; height:2px; }
  .faq-q .toggle::after{ width:2px; height:14px; transition:transform .25s ease; }
  .faq-item.open .toggle::after{ transform:translate(-50%,-50%) rotate(90deg); opacity:0; }
  .faq-a{ max-height:0; overflow:hidden; transition:max-height .3s ease; padding-left:40px; }
  .faq-item.open .faq-a{ max-height:220px; }
  .faq-a p{ color:rgba(26,0,0,0.72); margin:0 0 28px; font-size:0.98rem; max-width:62ch; }

  /* ---------- OTHER LINKS STRIP ---------- */
  .other-strip{ display:flex; gap:14px; flex-wrap:wrap; }
  .other-strip a{
    border:1px solid rgba(255,0,0,0.5); padding:12px 22px; text-decoration:none;
    color:var(--red); font-weight:700; font-size:0.9rem; border-radius:var(--radius);
  }
  .other-strip a:hover{ background:var(--red); color:#fff; }

  /* ---------- CTA ---------- */
  .cta-section{ background:var(--ink); text-align:center; border-top:none; }
  .cta-section h2{ font-size:clamp(1.8rem, 3.4vw, 2.6rem); max-width:22ch; margin:0 auto 20px; color:#fff; }
  .cta-section p{ color:rgba(255,255,255,0.75); max-width:46ch; margin:0 auto 40px; }
  .cta-buttons{ display:flex; gap:18px; justify-content:center; flex-wrap:wrap; }
  .btn-on-dark{ background:var(--red); color:#fff; padding:18px 38px; text-decoration:none; font-weight:900; border-radius:var(--radius); box-shadow:0 10px 26px rgba(0,0,0,0.4); }
  .btn-outline-dark{ border:1px solid rgba(255,255,255,0.4); color:#fff; padding:18px 34px; text-decoration:none; border-radius:var(--radius); }
  .contact-note{ margin-top:30px; font-size:0.82rem; color:rgba(255,255,255,0.45); }

  /* ---------- FOOTER ---------- */
  footer.site{ background:var(--ink); color:rgba(255,255,255,0.55); padding:48px 0 32px; font-size:0.82rem; border-top:1px solid rgba(255,255,255,0.12); }
  footer.site .foot-top{ display:flex; justify-content:space-between; align-items:center; flex-wrap:wrap; gap:20px; padding-bottom:32px; border-bottom:1px solid rgba(255,255,255,0.14); margin-bottom:24px; }
  footer.site .foot-logo{ font-weight:900; color:#fff; font-size:1.2rem; }
  footer.site .foot-links{ display:flex; gap:26px; flex-wrap:wrap; }
  footer.site .foot-links a{ text-decoration:none; color:rgba(255,255,255,0.6); }
  footer.site .foot-links a:hover{ color:#fff; }
  footer.site .foot-fine{ margin-top:14px; font-size:0.72rem; color:rgba(255,255,255,0.35); }

  /* ---------- FLOATING DEMO BUTTON ---------- */
  .demo-float{
    position:fixed; right:24px; bottom:24px; z-index:60;
    background:var(--ink); color:#fff; text-decoration:none;
    display:flex; align-items:center; gap:10px;
    padding:16px 24px; border-radius:999px; font-weight:900; font-size:0.92rem;
    box-shadow:0 10px 28px rgba(0,0,0,0.35);
    border:2px solid var(--red);
    transition:transform .2s ease;
  }
  .demo-float:hover{ transform:translateY(-3px) rotate(-1deg); }
  .demo-float .dot{ width:9px; height:9px; border-radius:50%; background:var(--red); animation:pulse 1.6s ease-in-out infinite; }
  @keyframes pulse{ 0%,100%{ transform:scale(1); opacity:1; } 50%{ transform:scale(1.6); opacity:0.5; } }
  @media (max-width:560px){ .demo-float{ right:14px; bottom:14px; padding:14px 18px; font-size:0.85rem; } }

  :focus-visible{ outline:2px solid var(--red); outline-offset:3px; }
