.comilog-guide {
  --guide-accent: #06b6d4;
  --guide-accent-dark: #0e7490;
  --guide-ink: #172033;
  --guide-muted: #56637a;
  --guide-line: #dbe5ec;
  --guide-soft: #f3fbfd;
  max-width: 900px;
  margin: 0 auto;
  color: var(--guide-ink);
}

.comilog-guide * { box-sizing: border-box; }

.guide-breadcrumbs {
  margin-bottom: 22px;
  color: #64748b;
  font-size: .86rem;
}

.guide-breadcrumbs a { color: var(--guide-accent-dark); }

.guide-hero {
  padding: clamp(28px, 6vw, 56px);
  border: 1px solid #ccebf1;
  border-radius: 24px;
  background: linear-gradient(145deg, #edfbfd 0%, #fff 68%);
  box-shadow: 0 18px 44px rgba(15, 118, 144, .08);
}

.guide-kicker {
  margin: 0 0 10px;
  color: var(--guide-accent-dark);
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .1em;
}

.guide-hero h1 {
  margin: 0;
  font-size: clamp(2rem, 6vw, 3.6rem);
  line-height: 1.2;
  letter-spacing: -.035em;
}

.guide-lead {
  max-width: 720px;
  margin: 22px 0 0;
  color: var(--guide-muted);
  font-size: 1.08rem;
  line-height: 1.9;
}

.guide-answer {
  margin-top: 24px;
  padding: 18px 20px;
  border-left: 5px solid var(--guide-accent);
  border-radius: 0 14px 14px 0;
  background: #fff;
  line-height: 1.8;
}

.guide-meta {
  margin: 16px 0 0;
  color: #718096;
  font-size: .82rem;
}

.guide-cover {
  margin: 30px 0 48px;
}

.guide-cover img {
  display: block;
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  border-radius: 22px;
  box-shadow: 0 18px 44px rgba(15, 23, 42, .13);
}

.guide-cover figcaption {
  margin-top: 12px;
  color: var(--guide-muted);
  font-size: .9rem;
  line-height: 1.75;
}

.guide-cover--compact {
  max-width: 760px;
  margin: 34px auto 0;
}

.guide-toc {
  margin: 30px 0 48px;
  padding: 24px;
  border: 1px solid var(--guide-line);
  border-radius: 18px;
  background: #fff;
}

.guide-toc strong { display: block; margin-bottom: 12px; }
.guide-toc ol { margin: 0; padding-left: 1.4em; }
.guide-toc li + li { margin-top: 8px; }
.guide-toc a { color: var(--guide-accent-dark); }

.guide-section { margin-top: 56px; }

.guide-section h2 {
  margin: 0 0 22px;
  padding-bottom: 12px;
  border-bottom: 3px solid #bcecf3;
  font-size: clamp(1.5rem, 4vw, 2rem);
  line-height: 1.45;
}

.guide-section h3 {
  margin: 32px 0 10px;
  font-size: 1.22rem;
  line-height: 1.5;
}

.guide-section p,
.guide-section li { line-height: 1.9; }
.guide-section p { color: #354259; }
.guide-section li + li { margin-top: 7px; }

.guide-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.guide-card {
  padding: 22px;
  border: 1px solid var(--guide-line);
  border-radius: 16px;
  background: #fff;
}

.guide-card h3 { margin-top: 0; }
.guide-card p:last-child { margin-bottom: 0; }

.guide-purpose-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.guide-purpose-card {
  position: relative;
  overflow: hidden;
  padding: 24px;
  border: 1px solid var(--guide-line);
  border-radius: 18px;
  background: #fff;
}

.guide-purpose-card > span {
  position: absolute;
  top: 12px;
  right: 16px;
  color: #d7f3f7;
  font-size: 2.5rem;
  font-weight: 900;
  line-height: 1;
}

.guide-purpose-card h3 {
  position: relative;
  margin-top: 0;
  padding-right: 42px;
}

.guide-purpose-card strong {
  display: block;
  color: var(--guide-accent-dark);
  line-height: 1.7;
}

.guide-choice-map {
  margin-top: 24px;
  padding: 24px;
  border-radius: 18px;
  background: #102635;
  color: #fff;
}

.guide-choice-map > strong {
  display: block;
  margin-bottom: 12px;
  color: #67e8f9;
  font-size: .82rem;
  letter-spacing: .08em;
}

.guide-choice-map p {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) auto minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  margin: 0;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255,255,255,.12);
  color: #e7f3f6;
}

.guide-choice-map p:last-child { border-bottom: 0; }
.guide-choice-map p span { color: #67e8f9; font-weight: 900; }

.guide-disclosure {
  margin: 22px 0;
  padding: 18px 20px;
  border: 1px solid #f5d47a;
  border-radius: 14px;
  background: #fff9e8;
}

.guide-disclosure strong { color: #8a5b00; }
.guide-disclosure p { margin: 6px 0 0; }

.guide-callout {
  margin: 24px 0;
  padding: 20px 22px;
  border-radius: 16px;
  background: var(--guide-soft);
}

.guide-callout strong { color: #0b7087; }

.guide-steps {
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: guide-step;
}

.guide-steps li {
  position: relative;
  min-height: 48px;
  padding: 5px 0 24px 60px;
  counter-increment: guide-step;
}

.guide-steps li::before {
  content: counter(guide-step);
  position: absolute;
  left: 0;
  top: 0;
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 50%;
  background: var(--guide-accent);
  color: #fff;
  font-weight: 800;
}

.guide-checklist {
  padding-left: 0;
  list-style: none;
}

.guide-checklist li { position: relative; padding-left: 30px; }
.guide-checklist li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #0891b2;
  font-weight: 900;
}

.guide-table-wrap { overflow-x: auto; }
.guide-table {
  width: 100%;
  min-width: 620px;
  border-collapse: collapse;
  background: #fff;
}

.guide-table th,
.guide-table td {
  padding: 14px 16px;
  border: 1px solid var(--guide-line);
  text-align: left;
  line-height: 1.7;
}

.guide-table th { background: #e9f9fc; }

.guide-example {
  margin: 22px 0;
  padding: 22px;
  border: 1px dashed #78d8e7;
  border-radius: 16px;
  background: #fbfeff;
}

.guide-example strong { display: block; margin-bottom: 8px; color: #0e7490; }

.guide-figure {
  display: grid;
  grid-template-columns: minmax(0, 330px) minmax(0, 1fr);
  gap: clamp(22px, 5vw, 48px);
  align-items: center;
  margin: 34px 0;
  padding: clamp(18px, 4vw, 34px);
  border-radius: 22px;
  background: #f8fafc;
}

.guide-figure img {
  display: block;
  width: 100%;
  max-height: 600px;
  object-fit: contain;
  border-radius: 14px;
  box-shadow: 0 14px 34px rgba(15, 23, 42, .13);
}

.guide-figure figcaption { color: var(--guide-muted); line-height: 1.85; }
.guide-figure figcaption strong { display: block; margin-bottom: 8px; color: var(--guide-ink); font-size: 1.16rem; }

.guide-faq details {
  border-bottom: 1px solid var(--guide-line);
  padding: 18px 0;
}

.guide-faq summary {
  cursor: pointer;
  font-weight: 750;
  line-height: 1.6;
}

.guide-faq details p { margin-bottom: 0; }

.guide-cta {
  margin-top: 56px;
  padding: clamp(26px, 6vw, 46px);
  border-radius: 24px;
  background: #102635;
  color: #fff;
  text-align: center;
}

.guide-cta h2 { margin: 0; color: #fff; font-size: clamp(1.55rem, 4vw, 2.1rem); }
.guide-cta p { max-width: 650px; margin: 14px auto 22px; color: #d7e8ee; line-height: 1.8; }
.guide-cta .btn { display: inline-flex; }

.guide-related { margin-top: 44px; }
.guide-related-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  padding: 0;
  list-style: none;
}

.guide-related-list a {
  display: block;
  height: 100%;
  padding: 18px;
  border: 1px solid var(--guide-line);
  border-radius: 14px;
  color: var(--guide-ink);
  font-weight: 700;
  text-decoration: none;
}

.guide-related-list a:hover { border-color: var(--guide-accent); color: var(--guide-accent-dark); }

@media (max-width: 700px) {
  .guide-grid,
  .guide-purpose-grid,
  .guide-related-list,
  .guide-figure { grid-template-columns: 1fr; }
  .guide-choice-map p { grid-template-columns: 1fr; gap: 3px; }
  .guide-choice-map p span { transform: rotate(90deg); width: max-content; }
  .guide-figure img { max-height: 520px; }
  .guide-hero { border-radius: 18px; }
}
