/* Shared typography and navigation details across the public site. */
:root{--site-font:Inter,"Noto Sans JP",-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;--site-focus:#2877ac}
body{-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility}
:where(a,button,summary){touch-action:manipulation}
:where(a,button,summary,input,select,textarea):focus-visible{outline:2px solid var(--site-focus);outline-offset:5px}
.portal-site .desktop-nav span{font-size:10px;line-height:1.6;color:#5d7183}
.portal-site .desktop-nav a{min-height:44px;display:flex;flex-direction:column;justify-content:center}
.portal-site .section-label{line-height:1.6}
.portal-site .about-copy p,.portal-site .guide-heading p,.portal-site .guide-steps p,.portal-site .host-info p{font-size:14px;line-height:2}
.portal-site .about-copy .large-copy{font-size:19px;line-height:1.9}
.portal-site .guide-steps article>div{min-width:0;flex:1}
.portal-site .guide-steps .step-num,.portal-site .guide-steps .step-icon{flex-shrink:0}
.portal-site .faq-list summary{min-height:64px;font-size:14px;line-height:1.8}
.portal-site .faq-list summary>span{flex:none}
.portal-site .faq-list details>p{font-size:13px;line-height:2;margin:0;padding-bottom:24px}
.portal-site .faq-list details[open]{border-bottom-color:#9bbbd1}
.portal-site .faq-list details a{display:inline-flex;align-items:center;min-height:44px;margin:8px 0 0}
.portal-site .host-links{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px}
.portal-site .host-links a{min-height:44px;font-size:13px;padding:10px 0;gap:12px}
.portal-site .host-links a span{font-size:18px;font-weight:400}
.portal-site .start-guide-grid .cluster-start-link{min-width:0;transition:border-color .2s,box-shadow .2s,transform .2s}
.portal-site .start-guide-grid p{font-size:13px;line-height:1.95}
.portal-site .start-guide-grid .cluster-start-action{min-height:44px;font-size:13px}
.portal-site .start-guide-grid .cluster-start-action b{font-size:23px;font-weight:400}
.portal-site .watch-youtube{min-height:44px;font-size:12px}
.portal-site .eng-entry{border-radius:4px;text-align:left}
.portal-site .eng-entry>div{min-width:0;flex:1}
.portal-site .eng-entry strong{display:block;font-weight:600;text-wrap:balance}
.portal-site .eng-entry strong span{display:inline-block}
.portal-site .eng-entry p{text-wrap:pretty}
.portal-site .eng-entry>span{flex:none;font-size:22px}

/* A stable footer groups destinations separately from display controls. */
.portal-site>footer{display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:22px 38px;align-items:center;padding:36px 7.1% 26px}
.footer-pages{grid-column:2;display:flex;justify-content:flex-end;flex-wrap:wrap;gap:4px 24px;min-width:0}
.footer-pages a{display:inline-flex;align-items:center;min-height:44px;font-size:12px;color:#49677e;line-height:1.7}
.footer-pages a:hover{text-decoration:underline;text-underline-offset:5px}
.portal-site>footer>.back-top{grid-column:3;grid-row:1;width:44px;height:44px;margin:0;display:grid;place-items:center;flex:none}
.portal-site>footer>p{display:block;grid-column:1;grid-row:2;font-size:11px;margin:0;color:#61768a}
.portal-site>footer>.footer-right{grid-column:2/4;grid-row:2;display:flex;flex-direction:row;align-items:center;justify-content:flex-end;gap:24px;margin:0;padding:0;border:0;width:auto}
.portal-site>footer .footer-right>small{font-size:10px}
.portal-site>footer #motion-toggle{min-height:44px;font-size:11px}
.portal-site>footer>.owner-entry{grid-column:1/-1;grid-row:3;justify-self:end;width:auto;font-size:10px}

/* Dialog controls remain legible without competing with the content. */
.explore-tabs button{font-family:var(--site-font);font-size:13px;min-height:44px}
.explore-guide-link{font-size:12px;min-height:44px;gap:10px}
.explore-close{font-family:var(--site-font);font-size:12px}
.explore-content .host-info p{font-size:13px}
.guide-choices button{min-height:48px;font-size:12px}
.guide-result p,.guide-result ul{font-size:13px;line-height:1.95}
.guide-result .button{min-height:48px;font-size:12px}
.dialog-close{min-width:44px;min-height:44px}

/* The guide and participation pages share the same header proportions. */
.guide-header,.eng-header{height:84px}
.eng-page{font-family:var(--site-font);font-size:15px;line-height:1.9;letter-spacing:.025em}
.eng-header{max-width:1440px;padding:0 5%;border-bottom-color:#d5e4ee;background:#f4f8fc}
.eng-brand{font-size:21px;line-height:1.1;gap:10px;letter-spacing:.1em}
.eng-brand img{width:38px;height:38px}
.eng-brand small{font-size:8px;font-weight:600;letter-spacing:.2em;margin-top:7px}
.page-back,.guide-header .header-back{display:inline-flex;align-items:center;gap:10px;min-height:44px;font-size:12px;color:#4d708a;white-space:nowrap}
.page-back svg,.guide-header .header-back svg{width:16px;height:16px;flex:none}
.page-back:hover,.guide-header .header-back:hover{color:#1e6494;text-decoration:underline;text-underline-offset:5px}
.eng-intro{padding-top:64px;padding-bottom:40px}
.eng-intro h1{margin:19px 0;line-height:1.55;text-wrap:balance}
.eng-intro p,.request-layout aside p{line-height:2}
.eng-form{border-radius:12px;padding:32px}
.eng-form label:not(.eng-consent){font-size:14px}
.eng-form label small{font-size:11px}
.eng-form input::placeholder,.eng-form textarea::placeholder{color:#6c8293;opacity:1}
.request-note{font-size:12px;line-height:1.9}
.eng-consent{align-items:flex-start;font-size:13px}
.eng-consent input{margin-top:3px}
.eng-disclosure summary{display:flex;justify-content:space-between;align-items:center;gap:16px;min-height:44px;list-style:none;font-size:13px}
.eng-disclosure summary::-webkit-details-marker{display:none}
.eng-disclosure summary::after{content:'＋';font-size:20px;font-weight:400;color:#64879f;flex:none;transition:transform .2s}
.eng-disclosure[open] summary::after{transform:rotate(45deg)}
.eng-disclosure p,.eng-disclosure li{font-size:13px;line-height:2}
.eng-disclosure ul{padding-left:20px}
.eng-text-link{display:inline-flex;align-items:center;min-height:44px;font-size:13px}
.join-empty{border-radius:14px}
.eng-link-grid a{min-height:64px;border-radius:8px;align-items:center;font-size:14px}
.eng-link-grid a span{flex:none;font-size:19px;font-weight:400}
.eng-footer{align-items:center;font-size:11px;line-height:1.8}
.eng-footer>a{min-height:44px;display:inline-flex;align-items:center}
.guide-switch a{min-height:44px;font-size:13px}
.guide-edition-copy a,.ready-secondary{min-height:44px;display:inline-flex;align-items:center}
.ready-section .ready-secondary{display:flex;justify-content:center}
.trouble-grid summary{font-size:14px}
.trouble-grid details>a{min-height:44px;display:inline-flex;align-items:center;margin-bottom:14px;font-size:12px}
.step-finish .source-link{min-height:36px;font-size:11px;align-items:center}

@media(hover:hover) and (pointer:fine){
 .portal-site .start-guide-grid .cluster-start-link:hover{transform:translateY(-3px);border-color:#8cabc7;box-shadow:0 12px 30px #244d7410}
}
@media(max-width:1000px){
 .portal-site>footer{column-gap:24px}.footer-pages{gap:0 16px}.footer-pages a{font-size:11px}
}
@media(max-width:640px){
 .portal-site .section-label{font-size:10px;gap:14px}.portal-site .section-label>span:first-child{font-size:9px}
 .portal-site .about-copy p,.portal-site .guide-heading p,.portal-site .guide-steps p,.portal-site .host-info p{font-size:13px;line-height:2}
 .portal-site .about-copy .large-copy{font-size:16px;line-height:1.9}
 .portal-site .guide-steps article{gap:16px;padding:26px 0}
 .portal-site .guide-steps .step-num{width:34px;font-size:25px;line-height:1.5}
 .portal-site .guide-steps .step-icon{display:none}
 .portal-site .guide-steps h3{font-size:15px;line-height:1.75;margin:8px 0}
 .portal-site .guide-steps p br{display:none}
 .portal-site .guide-heading .button{min-height:48px;font-size:12px;max-width:100%}
 .portal-site .faq{gap:22px;margin-top:48px}
 .portal-site .faq-list summary{font-size:13px;min-height:60px;gap:16px}
 .portal-site .faq-list details>p{font-size:13px;padding-right:0;line-height:1.95}
 .portal-site .host-links{gap:22px;margin-top:18px}
 .portal-site .host-links a{font-size:12px}
 .portal-site .start-guide-grid .cluster-start-link{padding:25px;gap:15px;border-radius:14px}
 .portal-site .start-guide-grid p{font-size:12px}
 .portal-site .start-guide-grid .cluster-start-action{font-size:12px}
 .portal-site .eng-entry{gap:16px;padding-top:25px;padding-bottom:25px}
 .portal-site .eng-entry strong{font-size:17px;line-height:1.7}
 .portal-site .eng-entry p{font-size:12px!important;line-height:1.9!important}
 .portal-site>footer{grid-template-columns:minmax(0,1fr) 44px;padding:30px 7% 20px;gap:20px}
 .portal-site>footer>.brand{grid-column:1;grid-row:1}
 .portal-site>footer>.back-top{grid-column:2;grid-row:1}
 .footer-pages{grid-column:1/-1;grid-row:2;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:2px 18px;border-block:1px solid #dce6ee;padding:12px 0}
 .footer-pages a{font-size:12px;min-width:0}
 .portal-site>footer>p{grid-column:1/-1;grid-row:3;font-size:11px}
 .portal-site>footer>.footer-right{grid-column:1/-1;grid-row:4;justify-content:space-between;gap:8px;flex-wrap:wrap}
 .portal-site>footer .footer-right>small{font-size:9px}
 .portal-site>footer #motion-toggle{font-size:10px}
 .portal-site>footer>.owner-entry{grid-row:5;justify-self:start}
 .explore-navigation{display:grid;grid-template-columns:1fr;gap:3px;padding:10px 16px 6px}
 .explore-tabs{gap:6px}.explore-tabs button{font-size:12px;min-height:44px;padding:10px 8px;max-width:none}
 .explore-guide-link{font-size:11px;min-height:34px;justify-self:end;gap:8px}
 .explore-close{font-size:11px;min-height:44px}
 .explore-top>div>span{font-size:7px}
 .guide-choices{display:grid;grid-template-columns:1fr;gap:7px}
 .guide-choices button{font-size:12px;text-align:left;padding:12px 15px;min-height:44px}
 .guide-result{padding:22px 20px}.guide-result p,.guide-result ul{font-size:12px}
 .dialog-intro{font-size:12px}.dialog-note{font-size:10px;line-height:1.8}
 .guide-header,.eng-header{height:72px;padding-inline:6%}
 .eng-brand{font-size:18px;gap:8px}.eng-brand img{width:31px;height:31px}.eng-brand small{font-size:7px;margin-top:5px}
 .page-back,.guide-header .header-back{font-size:11px;gap:8px}
 .eng-page main{padding-inline:6%}
 .eng-intro{padding:40px 0 28px}.eng-intro h1{font-size:clamp(25px,7.2vw,29px);line-height:1.65;margin:17px 0}
 .eng-intro .request-title{font-size:clamp(21px,6vw,25px)}
 .eng-intro p,.request-layout aside p{font-size:13px;line-height:1.95}
 .request-layout{gap:27px}.request-layout aside h2{font-size:23px;margin:12px 0}
 .request-note{font-size:12px;margin-top:20px;padding-left:15px}
 .eng-form{padding:24px 20px;border-radius:12px}
 .eng-form label:not(.eng-consent){font-size:13px}.eng-form label small{font-size:10px}
 .eng-consent{font-size:12px}.eng-disclosure summary{font-size:12px}.eng-disclosure p,.eng-disclosure li{font-size:12px}
 .join-empty{padding:34px 24px;min-height:0}.join-empty h2{font-size:25px;margin:20px 0}
 .join-empty p{font-size:13px}.join-empty .eng-text-link{font-size:12px;margin-top:22px}
 .eng-follow{padding-top:40px}.eng-follow h2{font-size:22px}.eng-follow p{font-size:13px}
 .eng-link-grid a{padding:19px 20px;font-size:13px}
 .eng-footer{padding:20px 6%;gap:12px;margin-top:36px}
 .guide-switch a{font-size:12px;padding:9px 16px}.guide-switch>span{font-size:8px}
 .guide-edition-copy p,.start-bridge p{font-size:12px}
 .guide-edition-copy a{font-size:12px;min-height:44px}
 .trouble-grid summary{font-size:13px}.trouble-grid details p{font-size:13px;line-height:1.95}
 .trouble-grid details>a{font-size:12px;min-height:44px}
 .step-finish .source-link{font-size:11px;min-height:36px;margin-top:9px}
 .ready-secondary{font-size:12px}.ready-link{font-size:12px;min-height:48px}
}
@media(max-width:359px){.guide-switch>span{max-width:58px;font-size:7px;line-height:1.7}.guide-switch a{padding-inline:12px}.portal-site .section-label{font-size:9px}.footer-pages a{font-size:11px}.eng-form{padding-inline:16px}}
@media(prefers-reduced-motion:reduce){.portal-site .start-guide-grid .cluster-start-link,.eng-disclosure summary::after{transition:none}.portal-site .start-guide-grid .cluster-start-link:hover{transform:none}}
.motion-paused .start-guide-grid .cluster-start-link{transition:none}.motion-paused .start-guide-grid .cluster-start-link:hover{transform:none}
.eng-skip{position:fixed;top:10px;left:16px;z-index:100;padding:10px 18px;background:#fff;color:#173b55;transform:translateY(-160%);border:1px solid #cbdce8}.eng-skip:focus{transform:none}

/* Keep device names together when a guide heading wraps. */
.device-intro h2 > span{display:inline-block}
@media(max-width:620px){.device-tabs{grid-template-columns:repeat(3,minmax(0,1fr))}.device-tabs button{min-width:0}.device-tabs button>span:nth-child(2){min-width:0;white-space:normal;line-height:1.6}.device-tabs small{white-space:normal;line-height:1.6}}

.device-name-part{display:inline-block}
