:root { color-scheme: light; --ink: #17345c; --muted: #59708a; --paper: #fffdf8; --blue: #194f8d; --orange: #f47b20; --yellow: #ffce42; }
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 108px; }
body { margin: 0; color: var(--ink); background: #edf6fc; font-family: 'Segoe UI', system-ui, sans-serif; line-height: 1.6; }
a { color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { font: inherit; cursor: pointer; }
a:focus-visible, button:focus-visible { outline: 3px solid var(--orange); outline-offset: 5px; }
.guide-header { position: sticky; z-index: 10; top: 0; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 16px max(24px,calc((100% - 1160px) / 2)); color: var(--ink); background: #fffdf8f2; border-bottom: 1px solid #d2e2ee; backdrop-filter: blur(16px); }
.guide-brand { display: flex; align-items: center; gap: 20px; font-size: 1.7rem; font-style: italic; font-weight: 900; letter-spacing: -.05em; text-decoration: none; }
.guide-brand span { padding-left: 20px; border-left: 1px solid #cddbe7; color: var(--muted); font-size: .78rem; font-style: normal; font-weight: 650; letter-spacing: 0; }
.guide-close { display: inline-flex; align-items: center; gap: 15px; padding: 7px 8px 7px 18px; border: 1px solid #d2e2ee; border-radius: 100px; background: #fff; font-size: .85rem; font-weight: 700; text-decoration: none; }
.guide-close:hover { background: #fff1dc; border-color: #f4b670; }
.close-icon { display: grid; width: 30px; height: 30px; place-items: center; border-radius: 50%; background: #eef4f8; font-size: 1.4rem; line-height: 1; }
main { width: min(1160px,calc(100% - 48px)); margin: 32px auto 0; }
.guide-hero { position: relative; display: grid; grid-template-columns: 1.06fr 1fr; gap: 24px 20px; padding: 48px 48px 26px; overflow: hidden; color: #fff; background: radial-gradient(circle at 85% 30%,#3c83bc 0,transparent 45%),#173e70; border-radius: 28px; box-shadow: 0 14px 35px #17345c16; }
.guide-hero::before { content: ''; position: absolute; inset: 0; pointer-events: none; opacity: .25; background-image: radial-gradient(#a2cdef 1px,transparent 1px); background-size: 22px 22px; }
.hero-copy, .hero-visual, .guide-facts { position: relative; }
.eyebrow { margin: 0 0 14px; color: var(--orange); font-size: .68rem; font-weight: 850; letter-spacing: .16em; }
.guide-hero .eyebrow { color: #ffcf64; }
h1 { max-width: 560px; margin: 0; font-size: clamp(2.6rem,4.7vw,4.2rem); font-weight: 850; letter-spacing: -.055em; line-height: 1.05; text-wrap: balance; }
.hero-intro { max-width: 430px; margin: 24px 0; color: #d4e7f6; font-size: .96rem; line-height: 1.75; }
.primary-link { display: inline-flex; align-items: center; justify-content: center; gap: 22px; min-height: 46px; padding: 11px 22px; border-radius: 12px; color: #17345c; background: var(--yellow); box-shadow: 0 4px 0 #d99a16; font-size: .86rem; font-weight: 800; text-decoration: none; transition: transform .18s ease,background .18s ease; }
.primary-link:hover { transform: translateY(-2px); background: #ffdc73; }
.hero-visual { display: grid; place-items: center; min-width: 0; }
.hero-visual img { position: relative; width: 100%; height: auto; transform: rotate(3deg); filter: drop-shadow(0 18px 16px #09244855); }
.hero-orbit { position: absolute; width: 88%; aspect-ratio: 1; border: 1px solid #a2d5f344; border-radius: 50%; box-shadow: 0 0 0 24px #a2d5f30a,0 0 0 48px #a2d5f306; }
.hero-sticker { position: absolute; right: 2%; bottom: -6px; max-width: 180px; padding: 13px 20px; color: #17345c; background: #ffce42; border: 3px solid #fff; border-radius: 18px 18px 18px 4px; font-size: .83rem; font-weight: 850; line-height: 1.3; text-align: center; transform: rotate(-7deg); }
.guide-facts { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); margin-top: 18px; padding-top: 23px; border-top: 1px solid #ffffff26; }
.guide-fact { padding: 0 20px; border-right: 1px solid #ffffff26; }
.guide-fact:first-child { padding-left: 0; }
.guide-fact:last-child { padding-right: 0; border: 0; }
.guide-fact strong { display: block; color: #ffdb72; font-size: 1.65rem; font-weight: 850; letter-spacing: -.035em; line-height: 1.2; }
.guide-fact span { display: block; margin-top: 5px; color: #d4e7f6; font-size: .74rem; }
.guide-layout { display: grid; grid-template-columns: 210px minmax(0,1fr); align-items: start; gap: 40px; margin: 44px 0; }
.guide-sidebar { position: sticky; top: 109px; }
.contents-label { margin: 0 0 17px; color: #69819b; font-size: .65rem; font-weight: 850; letter-spacing: .12em; }
.guide-sidebar nav { display: grid; gap: 6px; }
.guide-nav-link { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 10px; color: #60748a; font-size: .79rem; font-weight: 650; line-height: 1.35; text-decoration: none; transition: background .18s ease,color .18s ease; }
.guide-nav-link span { color: #90a2b3; font-size: .67rem; font-weight: 850; }
.guide-nav-link:hover, .guide-nav-link[aria-current="location"] { color: #17345c; background: #fff; box-shadow: 0 3px 12px #17345c08; }
.guide-nav-link[aria-current="location"] span { color: #d0671c; }
.sidebar-note { margin-top: 24px; padding: 16px; color: #6c5c3f; background: #fff2da; border: 1px solid #eddfc4; border-radius: 12px; }
.sidebar-note > span { color: #d98b17; font-size: 1.5rem; }
.sidebar-note p { margin: 7px 0 0; font-size: .75rem; line-height: 1.65; }
.guide-section { scroll-margin-top: 110px; margin-bottom: 40px; }
.section-heading { display: flex; align-items: flex-start; gap: 16px; margin: 0 0 22px; }
.section-number { display: grid; flex: 0 0 42px; height: 42px; place-items: center; border-radius: 13px; color: #194f8d; background: #d6e9f8; font-size: .85rem; font-weight: 850; }
.section-heading h2 { margin: -3px 0 4px; font-size: 1.55rem; font-weight: 850; letter-spacing: -.04em; line-height: 1.25; }
.section-heading p { margin: 0; color: var(--muted); font-size: .84rem; }
.guide-step { display: grid; grid-template-columns: minmax(0,1fr) minmax(200px,.86fr); align-items: center; gap: 25px; margin-bottom: 16px; padding: 28px; border: 1px solid #d9e6ef; border-radius: 20px; background: #fffdf8; box-shadow: 0 6px 20px #17345c05; }
.step-copy { min-width: 0; }
.step-label { margin: 0 0 9px; color: #cd671e; font-size: .65rem; font-weight: 850; letter-spacing: .1em; }
.step-copy h3 { margin: 0 0 13px; font-size: 1.22rem; font-weight: 800; letter-spacing: -.025em; line-height: 1.3; text-wrap: balance; }
.step-description { margin: 0; color: #52677e; font-size: .88rem; line-height: 1.85; }
.step-note { margin: 18px 0 0; padding: 12px 14px; border-left: 3px solid #f4be55; border-radius: 0 9px 9px 0; color: #786239; background: #fff3dc; font-size: .77rem; line-height: 1.7; }
.step-figure { min-width: 0; margin: 0; }
.screenshot-button { display: block; width: 100%; padding: 10px; overflow: hidden; border: 1px solid #d3e3ef; border-radius: 14px; background: #e8f2f9; transition: border-color .2s ease,transform .2s ease; }
.screenshot-button:hover { border-color: #77afd5; transform: translateY(-3px); }
.screenshot-button img { display: block; width: 100%; height: 275px; object-fit: contain; border-radius: 8px; }
.step-figure figcaption { margin-top: 8px; color: #7e8fa1; font-size: .67rem; text-align: center; }
.guide-step.no-image { grid-template-columns: 1fr; padding: 32px; border-color: #c3dac9; background: #f5fbf3; }
.guide-step.no-image .step-label { color: #367645; }
.guide-finish { display: flex; align-items: center; gap: 26px; padding: 32px 38px; border: 1px solid #eac674; border-radius: 22px; background: #ffefd0; }
.finish-star { color: #d88b17; font-size: 3rem; }
.guide-finish .eyebrow { margin-bottom: 5px; color: #9b681f; }
.guide-finish h2 { margin: 0; font-size: 1.65rem; font-weight: 850; letter-spacing: -.04em; }
.guide-finish p:last-child { margin: 7px 0 0; color: #776548; font-size: .86rem; }
.guide-finish .primary-link { flex-shrink: 0; margin-left: auto; }
.guide-footer { display: flex; align-items: center; justify-content: space-between; gap: 30px; width: min(1160px,calc(100% - 48px)); margin: 0 auto; padding: 34px 0; }
.footer-logos { display: flex; align-items: center; gap: 24px; }
.footer-logos img:first-child { width: 110px; height: auto; }
.footer-logos img:last-child { width: 150px; height: auto; }
.guide-footer p { color: #7b8fa4; font-size: .72rem; }
.screenshot-dialog { width: min(940px,94vw); max-height: 92svh; padding: 16px; border: 0; border-radius: 18px; color: var(--ink); background: var(--paper); box-shadow: 0 24px 90px #071d4566; }
.screenshot-dialog::backdrop { background: #092448cc; backdrop-filter: blur(5px); }
.screenshot-toolbar { position: sticky; top: -16px; display: flex; align-items: center; justify-content: space-between; gap: 15px; margin-bottom: 12px; padding: 6px 0; background: var(--paper); }
.screenshot-toolbar h2 { margin: 0; font-size: 1rem; }
.screenshot-toolbar button { flex-shrink: 0; width: 40px; height: 40px; border: 1px solid #ccdbe6; border-radius: 50%; color: var(--ink); background: #fff; font-size: 1.5rem; }
.screenshot-dialog > img { display: block; width: auto; max-width: 100%; max-height: 76svh; height: auto; margin: auto; border-radius: 8px; object-fit: contain; }
.no-script { margin: 30px; }
@media (max-width: 950px) {
  .guide-hero { padding: 34px; }
  .guide-layout { grid-template-columns: 170px minmax(0,1fr); gap: 25px; }
  .guide-step { grid-template-columns: 1fr; gap: 20px; padding: 24px; }
  .screenshot-button img { height: 300px; }
}
@media (max-width: 680px) {
  html { scroll-padding-top: 156px; }
  .guide-header { padding: 12px 16px; }
  .guide-brand { font-size: 1.4rem; }
  .guide-brand span { display: none; }
  .guide-close { min-height: 40px; font-size: .78rem; }
  main { width: calc(100% - 28px); margin-top: 16px; }
  .guide-hero { grid-template-columns: 1fr; gap: 24px; padding: 28px 24px 22px; border-radius: 22px; }
  h1 { font-size: clamp(2.25rem,10vw,3rem); }
  .hero-intro { margin: 18px 0 22px; font-size: .86rem; }
  .hero-visual { margin: 0 auto; width: min(100%,340px); }
  .hero-sticker { right: 0; bottom: -8px; padding: 10px 14px; font-size: .72rem; }
  .guide-facts { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 20px 0; margin-top: 8px; }
  .guide-fact { padding: 0 14px; }
  .guide-fact:nth-child(odd) { padding-left: 0; }
  .guide-fact:nth-child(even) { border: 0; }
  .guide-fact strong { font-size: 1.45rem; }
  .guide-layout { display: block; margin: 24px 0; }
  .guide-sidebar { position: sticky; z-index: 5; top: 65px; margin: 0 -14px 28px; padding: 9px 14px; background: #edf6fcf5; border-bottom: 1px solid #d2e2ee; backdrop-filter: blur(12px); }
  .contents-label, .sidebar-note { display: none; }
  .guide-sidebar nav { display: flex; gap: 8px; overflow-x: auto; padding: 4px 2px 7px; scrollbar-width: thin; }
  .guide-nav-link { flex-shrink: 0; padding: 9px 11px; background: #e0ecf5; font-size: .72rem; }
  .guide-nav-link span { font-size: .6rem; }
  .guide-section { scroll-margin-top: 150px; margin-bottom: 30px; }
  .section-heading { gap: 12px; }
  .section-heading h2 { font-size: 1.35rem; }
  .section-heading p { font-size: .78rem; }
  .guide-step { padding: 22px; border-radius: 16px; }
  .step-copy h3 { font-size: 1.17rem; }
  .step-description { font-size: .85rem; }
  .screenshot-button img { height: 290px; }
  .guide-finish { flex-wrap: wrap; gap: 15px; padding: 25px; }
  .finish-star { display: none; }
  .guide-finish h2 { font-size: 1.45rem; }
  .guide-finish .primary-link { width: 100%; margin: 4px 0; }
  .guide-footer { width: calc(100% - 40px); flex-direction: column; gap: 10px; padding: 28px 0; }
  .footer-logos { gap: 20px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; } }
