@font-face {
    font-family: "Outfit";
    src: url("/assets/outfit-latin-600-normal.woff2") format("woff2");
    font-weight: 600; font-style: normal; font-display: swap;
  }
.cc-guide {
    --primary: #1e2a3a;
    --primary-light: #2d3e50;
    --accent: #9a7420;
    --accent-light: #F7F0E1;
    --green: #16a34a;
    --green-light: #dcfce7;
    --amber: #d97706;
    --amber-light: #fef3c7;
    --red: #dc2626;
    --red-light: #fee2e2;
    --purple: #7c3aed;
    --purple-light: #ede9fe;
    --gray-50: #f8fafc;
    --gray-100: #f1f5f9;
    --gray-200: #e2e8f0;
    --gray-300: #cbd5e1;
    --gray-500: #64748b;
    --gray-700: #334155;
    --gray-900: #0f172a;
    --font: 'Noto Sans JP', 'Meiryo UI', sans-serif;
    --radius: 12px;
    --shadow: 0 2px 12px rgba(0,0,0,.08);
    --shadow-md: 0 4px 24px rgba(0,0,0,.12);
  }
.cc-guide *,
.cc-guide *::before,
.cc-guide *::after { box-sizing: border-box; margin: 0; padding: 0; }
.cc-guide { scroll-behavior: smooth; }
.cc-guide {
    font-family: var(--font);
    background: var(--gray-50);
    color: var(--gray-900);
    font-size: 15px;
    line-height: 1.8;
  }
.cc-guide .hero {
    background: linear-gradient(135deg, var(--primary) 0%, #2d4a6a 100%);
    color: #fff;
    padding: 64px 24px 56px;
    text-align: center;
    position: relative;
    overflow: hidden;
  }
.cc-guide .hero::before {
    content: '';
    position: absolute; inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  }
.cc-guide .hero-badge {
    display: inline-block;
    background: rgba(255,255,255,.15);
    border: 1px solid rgba(255,255,255,.3);
    border-radius: 100px;
    padding: 4px 18px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .08em;
    margin-bottom: 20px;
    backdrop-filter: blur(4px);
  }
.cc-guide .hero h1 {
    font-size: clamp(28px, 5vw, 48px);
    font-weight: 900;
    letter-spacing: -.02em;
    line-height: 1.15;
    margin-bottom: 12px;
  }
.cc-guide .hero h1 .brand { color: #E9C877; font-family: "Outfit", "Noto Sans JP", sans-serif; font-weight: 600; letter-spacing: 0; }
.cc-guide .hero-sub {
    font-size: clamp(14px, 2vw, 18px);
    opacity: .85;
    margin-bottom: 8px;
  }
.cc-guide .hero-meta {
    font-size: 13px;
    opacity: .6;
    margin-top: 24px;
  }
.cc-guide .container {
    max-width: 920px;
    margin: 0 auto;
    padding: 0 20px;
  }
.cc-guide .toc-wrap {
    background: #fff;
    border-bottom: 1px solid var(--gray-200);
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 1px 8px rgba(0,0,0,.06);
  }
.cc-guide .toc {
    display: flex;
    gap: 0;
    overflow-x: auto;
    scrollbar-width: none;
    padding: 0 20px;
  }
.cc-guide .toc::-webkit-scrollbar { display: none; }
.cc-guide .toc a {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 14px 14px;
    font-size: 12.5px;
    font-weight: 700;
    color: var(--gray-500);
    text-decoration: none;
    white-space: nowrap;
    border-bottom: 3px solid transparent;
    transition: color .2s, border-color .2s;
  }
.cc-guide .toc a:hover { color: var(--accent); border-color: var(--accent); }
.cc-guide .toc-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    background: var(--gray-200);
    border-radius: 50%;
    font-size: 11px;
    color: var(--gray-700);
  }
.cc-guide .section {
    padding: 64px 0 0;
  }
.cc-guide .section-header {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 36px;
  }
.cc-guide .section-num {
    flex-shrink: 0;
    width: 52px;
    height: 52px;
    background: var(--primary);
    color: #fff;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    font-weight: 900;
    letter-spacing: -.02em;
    box-shadow: 0 4px 12px rgba(30,42,58,.3);
  }
.cc-guide .section-title-group { flex: 1; }
.cc-guide .section-title-group h2 {
    font-size: clamp(20px, 3vw, 26px);
    font-weight: 900;
    color: var(--primary);
    letter-spacing: -.02em;
    line-height: 1.2;
  }
.cc-guide .section-title-group .section-subtitle {
    font-size: 13px;
    color: var(--gray-500);
    margin-top: 4px;
  }
.cc-guide .card {
    background: #fff;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    overflow: hidden;
    margin-bottom: 20px;
    border: 1px solid var(--gray-200);
  }
.cc-guide .card-header {
    background: var(--gray-100);
    border-bottom: 1px solid var(--gray-200);
    padding: 14px 20px;
    display: flex;
    align-items: center;
    gap: 10px;
  }
.cc-guide .card-header-icon { font-size: 18px; }
.cc-guide .card-header-title {
    font-size: 14px;
    font-weight: 700;
    color: var(--gray-700);
  }
.cc-guide .card-body { padding: 20px 24px; }
.cc-guide .screen-mock {
    background: #1a2332;
    border-radius: 10px;
    overflow: hidden;
    margin: 20px 0;
    box-shadow: 0 8px 32px rgba(0,0,0,.25);
    border: 1px solid #2d3e50;
  }
.cc-guide .screen-mock-bar {
    background: #141e2b;
    padding: 10px 14px;
    display: flex;
    align-items: center;
    gap: 7px;
    border-bottom: 1px solid #2d3e50;
  }
.cc-guide .screen-dot {
    width: 10px; height: 10px;
    border-radius: 50%;
  }
.cc-guide .screen-dot.r { background: #ff5f57; }
.cc-guide .screen-dot.y { background: #febc2e; }
.cc-guide .screen-dot.g { background: #28c840; }
.cc-guide .screen-mock-title {
    color: #8899aa;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .06em;
    margin-left: 4px;
    font-family: monospace;
  }
.cc-guide .screen-mock-body {
    padding: 16px 20px;
    font-family: 'Courier New', 'MS Gothic', monospace;
    font-size: 12px;
    line-height: 1.6;
    color: #c8d8e8;
    white-space: pre;
    overflow-x: auto;
  }
.cc-guide .screen-caption {
    text-align: center;
    font-size: 11.5px;
    color: var(--gray-500);
    margin-top: -8px;
    margin-bottom: 16px;
    font-style: italic;
  }
.cc-guide .callout {
    border-radius: 10px;
    padding: 14px 18px;
    margin: 16px 0;
    display: flex;
    gap: 12px;
    align-items: flex-start;
    font-size: 13.5px;
    line-height: 1.7;
  }
.cc-guide .callout-icon { font-size: 18px; flex-shrink: 0; margin-top: 1px; }
.cc-guide .callout.tip { background: var(--accent-light); border-left: 4px solid var(--accent); }
.cc-guide .callout.tip .callout-icon::after { content: '💡'; }
.cc-guide .callout.warning { background: var(--amber-light); border-left: 4px solid var(--amber); }
.cc-guide .callout.warning .callout-icon::after { content: '⚠️'; }
.cc-guide .callout.vet { background: var(--green-light); border-left: 4px solid var(--green); }
.cc-guide .callout.vet .callout-icon::after { content: '🩺'; }
.cc-guide .callout-title { font-weight: 700; margin-bottom: 2px; }
.cc-guide .table-wrap { overflow-x: auto; margin: 16px 0; }
.cc-guide table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13.5px;
  }
.cc-guide th {
    background: var(--primary);
    color: #fff;
    padding: 10px 14px;
    text-align: left;
    font-weight: 700;
    font-size: 12.5px;
    letter-spacing: .02em;
  }
.cc-guide td {
    padding: 9px 14px;
    border-bottom: 1px solid var(--gray-200);
    vertical-align: top;
  }
.cc-guide tr:last-child td { border-bottom: none; }
.cc-guide tr:nth-child(even) td { background: var(--gray-50); }
.cc-guide td strong { color: var(--primary); }
.cc-guide .step-list { list-style: none; }
.cc-guide .step-item {
    display: flex;
    gap: 16px;
    padding: 16px 0;
    border-bottom: 1px dashed var(--gray-200);
    align-items: flex-start;
  }
.cc-guide .step-item:last-child { border-bottom: none; }
.cc-guide .step-badge {
    flex-shrink: 0;
    width: 30px; height: 30px;
    background: var(--accent);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 900;
    margin-top: 2px;
  }
.cc-guide .step-content { flex: 1; font-size: 14px; }
.cc-guide .step-content strong { font-weight: 700; color: var(--primary); }
.cc-guide .event-badge {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .04em;
  }
.cc-guide .badge-repro { background: #e8ecf3; color: #1e2a3a; }
.cc-guide .badge-calv { background: #F7F0E1; color: #8F6B1F; }
.cc-guide .badge-mgmt { background: var(--gray-100); color: var(--gray-700); }
.cc-guide .badge-health { background: var(--purple-light); color: var(--purple); }
.cc-guide .badge-milk { background: #f0fdf4; color: var(--green); }
.cc-guide .exec-row.highlight td { background: #fef9c3; font-weight: 700; }
.cc-guide .exec-code-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 26px; height: 26px;
    background: var(--primary);
    color: #fff;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 900;
  }
.cc-guide .exec-code-num.positive { background: var(--green); }
.cc-guide .exec-code-num.negative { background: var(--red); }
.cc-guide .checklist {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin: 16px 0;
  }
.cc-guide .checklist li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 16px;
    background: #fff;
    border: 1px solid var(--gray-200);
    border-radius: 8px;
    font-size: 14px;
  }
.cc-guide .checklist li .chk {
    width: 22px; height: 22px;
    border: 2px solid var(--gray-300);
    border-radius: 6px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
  }
.cc-guide .week-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 12px;
    margin: 20px 0;
  }
.cc-guide .day-card {
    background: #fff;
    border: 1px solid var(--gray-200);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
  }
.cc-guide .day-card-header {
    background: var(--primary);
    color: #fff;
    padding: 10px 14px;
    font-weight: 700;
    font-size: 13px;
    display: flex;
    align-items: center;
    gap: 8px;
  }
.cc-guide .day-card-body {
    padding: 12px 14px;
    font-size: 13px;
    line-height: 2;
  }
.cc-guide .day-card-body .task {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--gray-700);
  }
.cc-guide .task-dot {
    width: 6px; height: 6px;
    border-radius: 50%;
    background: var(--accent);
    flex-shrink: 0;
  }
.cc-guide .trouble-table td:first-child { color: var(--red); font-weight: 700; }
.cc-guide .trouble-table td:last-child { color: var(--green); }
.cc-guide .divider {
    border: none;
    border-top: 1px solid var(--gray-200);
    margin: 48px 0 0;
  }
.cc-guide .footer {
    background: var(--primary);
    color: rgba(255,255,255,.6);
    text-align: center;
    padding: 32px 20px;
    font-size: 12px;
    margin-top: 80px;
  }
.cc-guide .footer strong { color: #fff; }
.cc-guide h3 {
    font-size: 17px;
    font-weight: 700;
    color: var(--primary);
    margin: 32px 0 12px;
    padding-left: 12px;
    border-left: 4px solid var(--accent);
    line-height: 1.4;
  }
.cc-guide h4 {
    font-size: 14.5px;
    font-weight: 700;
    color: var(--gray-700);
    margin: 24px 0 10px;
    display: flex;
    align-items: center;
    gap: 8px;
  }
.cc-guide h4::before { content: '▸'; color: var(--accent); }
.cc-guide p { margin-bottom: 12px; }
.cc-guide .nav-path {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: var(--gray-100);
    border: 1px solid var(--gray-200);
    border-radius: 6px;
    padding: 4px 12px;
    font-size: 12.5px;
    color: var(--gray-700);
    font-weight: 500;
    margin: 8px 0;
  }
.cc-guide .nav-path span { color: var(--gray-400); }
.cc-guide .highlight-box {
    background: linear-gradient(135deg, #1e3a5f 0%, #1e4d8c 100%);
    color: #fff;
    border-radius: 12px;
    padding: 20px 24px;
    margin: 20px 0;
  }
.cc-guide .highlight-box h4 { color: #E9C877; margin-top: 0; }
.cc-guide .highlight-box h4::before { color: #E9C877; }
.cc-guide .highlight-box p { color: rgba(255,255,255,.85); margin-bottom: 0; font-size: 13.5px; }
.cc-guide .kpi-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 12px;
    margin: 16px 0;
  }
.cc-guide .kpi-card {
    background: #fff;
    border: 1px solid var(--gray-200);
    border-radius: 10px;
    padding: 16px;
    text-align: center;
  }
.cc-guide .kpi-value {
    font-size: 28px;
    font-weight: 900;
    color: var(--primary);
    line-height: 1;
    margin-bottom: 4px;
  }
.cc-guide .kpi-label { font-size: 12px; color: var(--gray-500); }
.cc-guide .kpi-target { font-size: 11px; color: var(--green); font-weight: 700; }
@media (max-width: 640px) {
.cc-guide .section-header { flex-direction: column; gap: 12px; }
.cc-guide .section-num { width: 42px; height: 42px; font-size: 18px; }
.cc-guide .card-body { padding: 16px; }
}
.cc-guide .feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 14px;
    margin: 20px 0;
  }
.cc-guide .feature-card {
    background: #fff;
    border: 1px solid var(--gray-200);
    border-radius: 10px;
    padding: 18px;
    box-shadow: var(--shadow);
    transition: transform .15s, box-shadow .15s;
  }
.cc-guide .feature-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.cc-guide .feature-icon { font-size: 28px; margin-bottom: 8px; }
.cc-guide .feature-title { font-size: 14px; font-weight: 700; color: var(--primary); margin-bottom: 4px; }
.cc-guide .feature-desc { font-size: 12.5px; color: var(--gray-500); line-height: 1.6; }
.cc-guide .screen-img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 8px 32px rgba(0,0,0,.18);
    margin: 16px 0;
    display: block;
    border: 1px solid var(--gray-200);
  }
.cc-guide .toc-wrap { top: 64px; }
.cc-guide section[id] { scroll-margin-top: 130px; }
