/* 2026-10-13（windows-install-guide-public-20261013）: 承認済みの見本（cosmic-windows-install-guide.html）の画面の形。サイトの style.css の上に重ねる。外部の読み込みなし */
.cg-window { --cg-bg: #0b142b; --cg-top: #0e1a35; --cg-text: #eef3ff; --cg-muted: #a5b6d3; --cg-line: #2b3e5f; --cg-soft: #142543; --cg-accent: #82b7ff; --cg-action: #85b9ff; --cg-action-text: #09172e; --cg-warning-bg: #30281d; --cg-warning-text: #efd19a;
  width: min(100%, 620px); margin: 8px auto 0; background: var(--cg-bg); color: var(--cg-text); border: 1px solid var(--cg-line); border-radius: 16px; overflow: hidden; box-shadow: 0 12px 36px #00000030; font-size: 14px; line-height: 1.75; }
.cg-window p, .cg-window h1, .cg-window h2, .cg-window h3 { margin: 0; color: inherit; }
.cg-window strong { font-weight: 500; }
.cg-window [hidden] { display: none !important; }
.cg-i { width: 18px; height: 18px; flex-shrink: 0; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.cg-chrome { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 14px 22px; background: var(--cg-top); border-bottom: 1px solid var(--cg-line); }
.cg-brand { display: flex; gap: 8px; align-items: center; font-size: 13px; letter-spacing: .08em; font-weight: 500; }
.cg-brand .cg-i { color: var(--cg-accent); }
.cg-chrome-label { font-size: 12px; color: var(--cg-muted); }
.cg-content { padding: 28px; }
.cg-symbol { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 13px; background: var(--cg-soft); color: var(--cg-accent); margin-bottom: 18px; }
.cg-symbol .cg-i { width: 23px; height: 23px; }
.cg-eyebrow { font-size: 12px; color: var(--cg-accent) !important; margin-bottom: 7px !important; }
.cg-window h1 { font-size: 23px; line-height: 1.4; font-weight: 500; letter-spacing: -.03em; margin-bottom: 13px; }
.cg-lead { color: var(--cg-muted) !important; }
.cg-window h2 { font-size: 14px; font-weight: 500; border: 0; padding: 0; }
.cg-text-button { display: inline-flex; align-items: center; gap: 5px; min-height: 40px; color: var(--cg-accent); padding: 6px 0; text-decoration: none; }
.cg-text-button:hover { text-decoration: underline; }
.cg-secondary { font-size: 12px; color: var(--cg-muted) !important; margin-top: 12px !important; }
.cg-primary-button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 43px; padding: 9px 20px; border-radius: 9px; background: var(--cg-action); color: var(--cg-action-text); font-weight: 500; text-decoration: none; }
.cg-download-button { margin: 25px 0 8px; }
.cg-download-detail { margin: 0 0 22px !important; }
.cg-download-help { border-top: 1px solid var(--cg-line); padding-top: 21px; display: flex; gap: 12px; align-items: flex-start; }
.cg-download-help > .cg-i { margin-top: 3px; color: var(--cg-accent); }
.cg-download-help p { margin-top: 5px !important; color: var(--cg-muted) !important; font-size: 13px; }
.cg-back { display: inline-flex; align-items: center; gap: 7px; min-height: 40px; color: var(--cg-muted); margin-bottom: 15px; text-decoration: none; }
.cg-back:hover { color: var(--cg-text); }
.cg-warning-options { display: grid; gap: 10px; margin: 24px 0; }
.cg-warning-option { display: flex; align-items: center; gap: 13px; width: 100%; min-height: 44px; padding: 15px; border: 1px solid var(--cg-line); border-radius: 10px; background: var(--cg-bg); color: var(--cg-text); font: inherit; text-align: left; cursor: pointer; }
.cg-warning-option > span:nth-child(2) { flex: 1; min-width: 0; }
.cg-warning-option strong, .cg-warning-option small { display: block; }
.cg-warning-option small { font-size: 12px; color: var(--cg-muted); margin-top: 3px; }
.cg-warning-option > .cg-i { color: var(--cg-muted); }
.cg-warning-option[aria-pressed="true"] { background: var(--cg-soft); border-color: var(--cg-accent); }
.cg-option-icon { width: 35px; height: 35px; display: grid; place-items: center; flex-shrink: 0; background: var(--cg-soft); border-radius: 9px; color: var(--cg-accent); }
.cg-answer { padding-top: 24px; border-top: 1px solid var(--cg-line); margin-top: 24px; }
.cg-step-kicker { display: block; font-size: 12px; color: var(--cg-accent); margin-bottom: 6px; }
.cg-answer-heading h2 { font-size: 19px; line-height: 1.5; margin-bottom: 11px; }
.cg-answer-heading p { color: var(--cg-muted) !important; font-size: 13px; margin: 8px 0 !important; }
.cg-important { display: flex; gap: 11px; align-items: flex-start; padding: 16px; background: var(--cg-warning-bg); color: var(--cg-warning-text); border-radius: 10px; margin: 18px 0; }
.cg-important > .cg-i { margin-top: 3px; }
.cg-important p { font-size: 13px; margin-top: 5px !important; color: inherit !important; }
.cg-source-check { font-size: 13px; color: var(--cg-muted) !important; margin: 15px 0 !important; }
.cg-steps { list-style: none; padding: 0; margin: 23px 0; display: grid; gap: 19px; }
.cg-steps li { display: flex; gap: 12px; align-items: flex-start; color: var(--cg-text); }
.cg-number { display: grid; place-items: center; flex-shrink: 0; width: 27px; height: 27px; background: var(--cg-soft); color: var(--cg-accent); border-radius: 8px; font-weight: 500; }
.cg-steps li div { padding-top: 1px; }
.cg-steps p { color: var(--cg-muted) !important; font-size: 13px; margin-top: 4px !important; }
.cg-footer-links { display: flex; gap: 13px; flex-wrap: wrap; margin-top: 21px; padding-top: 17px; border-top: 1px solid var(--cg-line); }
.cg-footer-links a { display: inline-flex; align-items: center; gap: 5px; min-height: 40px; font-size: 12px; color: var(--cg-accent); text-decoration: none; overflow-wrap: anywhere; }
.cg-footer-links a:hover { text-decoration: underline; }
.cg-guide-note { margin-top: 23px !important; }
.cg-window a:focus-visible, .cg-window button:focus-visible { outline: 2px solid #91ceff; outline-offset: 3px; }
@media (max-width: 480px) {
  .cg-content { padding: 23px 18px; } .cg-chrome { padding: 13px 18px; } .cg-window h1 { font-size: 21px; }
  .cg-warning-option { padding: 13px; gap: 9px; } .cg-option-icon { display: none; }
  .cg-download-button { width: 100%; padding-inline: 10px; }
}
