
:root{--ink:#142f48;--muted:#536b80;--green:#006caa;--line:#cfdfeb;--paper:#f5f9fc;--warm:#fff5d9}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--paper);color:var(--ink);font-family:-apple-system,BlinkMacSystemFont,"Segoe UI","Noto Sans JP",Meiryo,sans-serif;line-height:1.85}a{color:var(--green);text-underline-offset:4px}a:hover{text-decoration:underline}a:focus-visible{outline:3px solid #ffbe00;outline-offset:5px}h1,h2,h3,p{margin-top:0}h1,h2,h3{line-height:1.45}.shell{width:min(1120px,calc(100% - 48px));margin:auto}.skip{position:absolute;left:15px;top:-80px;background:#fff;padding:10px;z-index:10}.skip:focus{top:10px}.mast{display:flex;justify-content:space-between;align-items:center;gap:20px;min-height:88px}.brand{text-decoration:none;color:var(--ink);line-height:1.3}.brand strong{display:block;font-size:1.35rem;letter-spacing:.06em}.brand span{font-size:.73rem;letter-spacing:.12em}.home{font-size:.85rem;text-decoration:none}.nav{display:flex;gap:28px;flex-wrap:wrap;padding-block:13px;border-top:1px solid var(--line)}.nav a{font-size:.86rem;font-weight:700;text-decoration:none}.site-header{background:#fff;border-bottom:1px solid var(--line)}.hero{padding:68px 0 72px}.hero-grid{display:grid;grid-template-columns:1.5fr 1fr;gap:60px;align-items:center}.eyebrow{font-size:.75rem;font-weight:800;letter-spacing:.16em;color:var(--green);margin-bottom:17px}h1{font-size:clamp(2.3rem,5vw,3.7rem);letter-spacing:.015em;margin-bottom:10px}.english{color:var(--green);font-size:.95rem;font-weight:700;letter-spacing:.12em;margin-bottom:24px}.lead{font-size:1.07rem;color:var(--muted);max-width:640px}.station{background:#0b304f;color:#fff;padding:32px;border-radius:12px;box-shadow:0 20px 45px #0b304f18}.station .eyebrow{color:#78d6ff;margin-bottom:6px}.callsign{font-size:clamp(2.5rem,5vw,3.8rem);font-weight:800;letter-spacing:.08em;line-height:1.35;margin:6px 0 24px}.station dl{margin:0;border-top:1px solid #ffffff30;padding-top:14px}.station dl>div{display:grid;grid-template-columns:95px 1fr;gap:12px;padding:6px 0;font-size:.89rem}.station dt{color:#abd9f1}.station dd{margin:0}.button{display:inline-flex;align-items:center;justify-content:center;gap:10px;min-height:48px;padding:11px 18px;border-radius:6px;font-weight:700;text-decoration:none;line-height:1.5;background:var(--green);color:#fff}.button:hover{background:#005486;text-decoration:none}.button.light{background:#fff;color:#0b304f;width:100%;margin-top:25px}.button.github{background:#fff;color:#24292f;border:1px solid #bed2e0}.button.github:hover{background:#eef6fc}.button img{width:20px;height:20px}.section{padding:54px 0 60px;border-top:1px solid var(--line)}.section h2{font-size:1.7rem;margin-bottom:20px}.about-grid{display:grid;grid-template-columns:1.5fr 1fr;gap:60px}.principle{margin:0;padding:26px 28px;background:var(--warm);border-left:4px solid #f3b600;border-radius:0 8px 8px 0;align-self:start}.principle strong{display:block;font-size:1.12rem;line-height:1.7}.principle p{color:#6e5d35;font-size:.91rem;margin:12px 0 0}.cards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}.card{background:#fff;border:1px solid var(--line);border-top:4px solid var(--green);border-radius:8px;padding:28px;display:flex;flex-direction:column;align-items:start}.card.software{border-top-color:#ffb900}.card.hardware{border-top-color:#00a7d8}.card.code{border-top-color:#006caa}.card .tag{font-size:.72rem;letter-spacing:.1em;font-weight:800;color:var(--muted);margin-bottom:13px}.card h3{font-size:1.36rem;margin-bottom:15px}.card p{font-size:.93rem;color:var(--muted);margin-bottom:25px}.card .button{margin-top:auto}.link-row{display:flex;justify-content:space-between;align-items:center;gap:24px;padding:26px 30px;border:1px solid var(--line);background:#fff;border-radius:8px}.link-row h2{font-size:1.24rem;margin:0 0 7px}.link-row p{color:var(--muted);font-size:.92rem;margin:0}.link-row .button{flex-shrink:0}.footer{padding:30px 0;background:#e9f2f9;border-top:1px solid var(--line)}.footer .shell{display:flex;justify-content:space-between;gap:20px;flex-wrap:wrap}.footer p{font-size:.83rem;margin:0;color:var(--muted)}.footer a{font-size:.83rem}
@media(max-width:850px){.hero-grid,.about-grid{grid-template-columns:1fr;gap:28px}.cards{grid-template-columns:1fr}.hero{padding:42px 0}.station{max-width:560px}.card{padding:24px}.section{padding:38px 0 44px}.link-row{align-items:start;flex-direction:column}}@media(max-width:480px){.shell{width:calc(100% - 32px)}.mast{min-height:78px}.brand strong{font-size:1.12rem}.brand span{font-size:.63rem}.home{font-size:.75rem}.nav{gap:18px}.station{padding:25px}.hero .lead{font-size:1rem}.link-row{padding:23px}}
.qrz-info{padding:26px 28px;background:#fff;border:1px solid var(--line);border-radius:8px}.qrz-info h2{font-size:1.3rem;margin-bottom:12px}.qrz-info p:not(.eyebrow){color:var(--muted);font-size:.94rem}
.hero-station{align-self:start}.hero-station .principle{margin-top:22px}.location-history{margin-top:24px;padding-top:20px;border-top:1px solid var(--line)}.location-history h2{font-size:1rem;margin:0 0 10px}.location-history dl{margin:0}.location-history dl>div{display:flex;flex-wrap:wrap;gap:4px 18px;padding:5px 0;font-size:.88rem;color:var(--muted)}.location-history dt{min-width:135px;font-weight:700}.location-history dd{margin:0}
.brand{display:flex;flex-direction:column;align-items:flex-start;gap:5px;padding-block:14px}.brand-logo{display:block;width:min(340px,48vw);height:auto}.brand span{padding-left:6px;color:#536b80}.site-header{border-top:4px solid #ffbe00}.principle{border-left-color:#ffbe00}.button.light{border-bottom:3px solid #ffbe00}.station{border:1px solid #12669c}.english{color:#006caa}@media(max-width:480px){.brand-logo{width:min(260px,62vw)}.brand span{font-size:.6rem}.mast{gap:10px}}
.project-cards{grid-template-columns:repeat(3,minmax(0,1fr))}.craft-section{background:#eaf5fc;border-top:1px solid #b8ddf2}.craft-section .eyebrow{color:#087da6}@media(max-width:850px){.project-cards{grid-template-columns:1fr}}
.project-banner{display:flex;align-items:center;justify-content:flex-start;width:100%;height:110px;margin:0 0 22px;overflow:hidden}.project-banner img{display:block;max-width:100%;max-height:110px;width:auto;height:auto}.sns-list{list-style:none;padding:0;margin:0;display:flex;flex-wrap:wrap;gap:12px 30px}.sns-list a{font-weight:700}.qrz-link{padding:0 0 28px;color:var(--muted);font-size:.84rem}.qrz-link p{margin:0}.qrz-link a{font-weight:400}
.sns-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}.sns-card{display:flex;align-items:center;gap:20px;padding:26px;background:#fff;border:1px solid var(--line);border-radius:10px;text-decoration:none;color:var(--ink);transition:background .15s,border-color .15s}.sns-card:hover{background:#eaf5fc;border-color:#006caa;text-decoration:none}.sns-icon{display:flex;align-items:center;justify-content:center;flex-shrink:0;width:56px;height:56px;border-radius:12px;background:#101820}.sns-icon img{width:27px;height:27px}.sns-card strong{display:block;font-size:1.1rem}.sns-handle{display:block;color:var(--muted);font-size:.88rem;font-weight:400}.sns-arrow{margin-left:auto;color:#006caa;font-size:1.25rem}@media(max-width:650px){.sns-list{grid-template-columns:1fr}.sns-card{padding:22px;gap:16px}}
.related-section{padding-top:32px;padding-bottom:38px}.related-section h2{font-size:1.25rem;margin-bottom:16px}.related-section .eyebrow{margin-bottom:10px}.related-list{list-style:none;padding:0;margin:0;display:flex;flex-wrap:wrap;gap:12px 30px}.related-list a{display:inline-flex;align-items:center;gap:10px;min-height:44px;font-size:.92rem;font-weight:600;text-decoration:none}.related-list a:hover{text-decoration:underline}.related-list img{display:block;flex-shrink:0}.related-qrz{font-weight:800;color:#142f48;font-size:.78rem;letter-spacing:.02em}.related-arrow{font-weight:400}
.craft-illustration{display:block;width:min(100%,360px);height:auto;align-self:center;margin:0 0 24px;border-radius:6px}

.project-hero{display:grid;grid-template-columns:1.1fr 1fr;gap:48px;align-items:center}.project-hero h1{font-size:clamp(2rem,4.4vw,3.3rem)}.project-lead{font-size:1.08rem;color:var(--muted);line-height:1.95}.project-illustration{display:block;width:100%;height:auto;max-height:420px;object-fit:contain}.project-hero figure{margin:0}.project-copy{max-width:900px}.project-copy article+article{padding-top:24px;margin-top:30px;border-top:1px solid var(--line)}.project-copy p{color:var(--muted)}.record-note{border-left:4px solid #ffbe00;background:#fff9e9;padding:18px 22px;font-size:.86rem}.photo-section{background:#eaf5fc}.project-gallery{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px}.project-gallery figure{margin:0;background:#fff;padding:14px;border:1px solid var(--line);border-radius:8px;min-width:0}.project-gallery img{display:block;max-width:100%;width:100%;height:310px;object-fit:contain}.project-gallery figcaption{color:var(--muted);font-size:.85rem;margin-top:12px}.project-video{max-width:850px;margin:36px auto 0}.project-video video{width:100%;max-height:560px;background:#102638;border-radius:8px}.source-note{margin:24px 0 0;color:var(--muted);font-size:.8rem}.project-hero h1{overflow-wrap:anywhere}.project-copy h2{font-size:1.5rem}@media(max-width:850px){.project-hero{grid-template-columns:1fr;gap:24px}.project-illustration{max-height:320px}}@media(max-width:520px){.project-gallery{grid-template-columns:1fr}.project-gallery img{height:auto;max-height:420px}.project-lead{font-size:1rem}.project-copy h2{font-size:1.25rem}}

/* OCOLO introduction and printable can labels */
.ocolo-intro{display:grid;grid-template-columns:280px minmax(0,1fr);gap:36px;align-items:center;margin:28px 0 8px}
.ocolo-intro img{display:block;max-width:100%;height:auto;object-fit:contain}
.ocolo-character{width:280px}.ocolo-logo{width:340px;margin:auto}
.print-section{background:#fffaf0}.print-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px;margin-top:28px}
.print-card{background:#fff;border:1px solid #e4d9bd;border-radius:12px;overflow:hidden;padding:16px;display:flex;flex-direction:column;align-items:flex-start}
.print-card img{display:block;width:100%;height:auto}.print-card h3{margin:16px 0}.print-card .button{margin-top:auto;font-size:14px}
@media(max-width:760px){.print-grid{grid-template-columns:1fr}.print-card{max-width:560px;width:100%;box-sizing:border-box;margin:auto}.ocolo-intro{grid-template-columns:1fr;gap:18px}.ocolo-character{width:240px;margin:auto}.ocolo-logo{width:300px}}
