:root{color-scheme:light;--ink:#171714;--paper:#f3efe6;--muted:#625f58;--quiet:#918b80;--dark:#171714;--save:#df8249;--civic:#4bb69e;--portal:#738fe8;--mint:#dce9e3;--peach:#efe0d2;--blue:#dfe6f5;--yellow:#eee3b9;--header-h:68px;--pager-h:68px;--max:1520px}*{box-sizing:border-box}html{scroll-behavior:smooth;background:var(--paper)}body{margin:0;padding-bottom:var(--pager-h);color:var(--ink);background:var(--paper);font-family:ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI","Noto Sans JP",sans-serif;font-weight:560;line-height:1.65;-webkit-font-smoothing:antialiased}a{color:inherit;text-decoration:none}button{font:inherit}img{display:block;max-width:100%}figure{margin:0}[hidden]{display:none!important}.wrap{width:min(var(--max),calc(100% - clamp(32px,6vw,104px)));margin:auto}.mono{font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace}.site-header{position:fixed;z-index:100;inset:0 0 auto;height:var(--header-h);display:grid;grid-template-columns:1fr auto 1fr;align-items:center;padding:0 clamp(18px,5vw,76px);color:#f5f1e8;background:rgba(23,23,20,.96);border-bottom:1px solid rgba(255,255,255,.11);backdrop-filter:blur(18px)}.brand{display:flex;align-items:center;gap:11px;font-size:14px;font-weight:950;letter-spacing:.075em}.brand-mark{display:grid;grid-template-columns:repeat(2,5px);grid-template-rows:repeat(2,5px);gap:2px}.brand-mark i{background:#f5f1e8}.brand-mark i:nth-child(2){background:var(--save)}.brand-mark i:nth-child(3){background:var(--civic)}.brand-mark i:nth-child(4){background:var(--portal)}.header-nav{display:flex;gap:30px;color:#aaa69d;font-size:12px;font-weight:800}.header-nav a:hover{color:#fff}.account-chip{justify-self:end;display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:38px;padding:0 13px;border:1px solid rgba(255,255,255,.22);font-size:11px;font-weight:850;line-height:1}.account-dot,.account-state-dot{position:relative;flex:0 0 8px;width:8px;height:8px;border-radius:50%;background:#77756f}.account-dot.is-on,.account-state-dot.is-on{background:var(--civic)}.account-dot.is-on::after,.account-state-dot.is-on::after{content:"";position:absolute;inset:-2px;border-radius:50%;background:var(--civic);opacity:.3;animation:auth-status-pulse 1.8s ease-out infinite}@keyframes auth-status-pulse{0%{transform:scale(.8);opacity:.38}70%,100%{transform:scale(1.55);opacity:0}}@media(prefers-reduced-motion:reduce){.account-dot.is-on::after,.account-state-dot.is-on::after{display:none}}.chapter{position:relative;min-height:100svh;scroll-margin-top:0;padding:calc(var(--header-h) + clamp(34px,5vw,72px)) 0 calc(var(--pager-h) + clamp(34px,5vw,72px));display:flex;align-items:center;overflow:hidden}.section-code{margin:0 0 13px;color:var(--quiet);font-size:9px;font-weight:900;letter-spacing:.16em}h1,h2,h3,p{overflow-wrap:anywhere}
/* Japanese prose only; designed headings, buttons and counters are unchanged. */
.section-lead,.hero-text,.app-copy p,.route-card p,.account-panel p,.connect-item p,.legal-grid p{
  word-break:normal;line-break:strict;overflow-wrap:break-word;text-wrap:pretty
}
h1,h2,h3{margin-top:0;text-wrap:balance;word-break:auto-phrase;line-break:strict}h1{margin:0 0 18px;font-size:clamp(82px,10.2vw,168px);line-height:.76;letter-spacing:-.075em;font-weight:950}h2{margin:0 0 18px;font-size:clamp(48px,6.2vw,92px);line-height:.94;letter-spacing:-.062em;font-weight:940}.section-lead{max-width:620px;margin:0;color:var(--muted);font-size:15px;line-height:1.85}.button{min-height:46px;display:inline-flex;align-items:center;justify-content:center;padding:0 18px;border:1px solid currentColor;font-size:12px;font-weight:900}.button-primary{background:var(--dark);border-color:var(--dark);color:#fff}.text-link{font-size:12px;font-weight:850;border-bottom:1px solid currentColor;padding-bottom:2px}.text-link.strong{display:inline-block;margin-top:22px}.hero{background:var(--paper)}.hero-grid{position:relative;z-index:1;display:grid;grid-template-columns:minmax(0,.74fr) minmax(0,1.26fr);gap:clamp(24px,3vw,54px);align-items:center;max-width:var(--max)}.hero-art{position:relative;width:100%;max-width:920px;justify-self:center}.hero-art img{display:block;width:100%;height:auto}.hero-art-links{position:absolute;inset:0;pointer-events:none}.hero-art-link{position:absolute;bottom:7%;height:13%;pointer-events:auto}.hero-art-link-portal{left:13%;width:14.5%}.hero-art-link-civic{left:30%;width:17%}.hero-art-link-grid{left:49%;width:23.5%}.hero-art-link-oriha{left:74%;width:19%}.hero-lead{margin:0 0 12px;font-size:clamp(22px,2.2vw,34px);font-weight:900}.hero-text{max-width:590px;margin:0;color:var(--muted);font-size:15px}.hero-actions{display:flex;align-items:center;gap:20px;margin-top:28px}.apps-section{background:#fffaf0}.apps-layout{display:grid;grid-template-columns:minmax(330px,.7fr) minmax(0,1.3fr);gap:clamp(44px,7vw,100px);align-items:center}.apps-heading>p:not(.section-code){max-width:480px;color:var(--muted);font-size:14px}.app-switcher{display:grid;grid-template-columns:180px minmax(0,1fr);gap:24px}.app-tabs{display:flex;flex-direction:column;justify-content:center;gap:6px}.app-tab{min-height:78px;padding:11px 13px;border:0;border-radius:12px;background:transparent;text-align:left;color:#736d63;cursor:pointer}.app-tab span{display:block;font:900 7px/1.2 ui-monospace,monospace;opacity:.6}.app-tab b{display:block;margin-top:4px;font-size:17px}.app-tab small{display:block;margin-top:2px;font-size:9px}.app-tab.is-active{background:var(--dark);color:#fff}.app-panel{display:grid;grid-template-columns:1.15fr .85fr;height:min(430px,42svh);min-height:350px;border-radius:26px;overflow:hidden;box-shadow:0 22px 65px rgba(40,34,25,.10)}.app-save{background:#f3dfce}.app-civic{background:#dcece6}.app-portal{background:#dfe6f8}.app-shot{overflow:hidden}.app-shot img{width:100%;height:100%;min-height:0;height:100%;object-fit:cover}.app-copy{padding:clamp(28px,4vw,52px);display:flex;flex-direction:column;justify-content:center}.app-copy small{font-size:8px;color:#726b61;letter-spacing:.14em}.app-copy h3{margin:8px 0 12px;font-size:clamp(28px,3vw,48px);line-height:.95;letter-spacing:-.05em;white-space:nowrap;overflow-wrap:normal;word-break:normal}.app-copy p{margin:0;color:#4f4a43;font-size:14px;line-height:1.7}.free-section{background:var(--mint)}.free-title{font-size:clamp(44px,5.25vw,76px)}.free-title .phrase{display:inline-block;white-space:nowrap}.free-layout{display:grid;grid-template-columns:minmax(0,.78fr) minmax(500px,1.22fr);gap:clamp(55px,8vw,120px);align-items:center}.route-cards{display:grid;grid-template-columns:1fr 1fr;gap:12px}.route-card{min-height:310px;padding:28px;border-radius:22px;display:flex;flex-direction:column}.route-card.monthly{background:#fffaf2}.route-card.extra{background:var(--dark);color:#fff}.route-card>span{font-size:8px;letter-spacing:.14em;color:#857f75}.route-card.extra>span,.route-card.extra p{color:#aaa69d}.route-card b{display:block;margin-top:54px;font-size:24px;letter-spacing:-.03em}.route-card p{margin:10px 0 0;color:#5d5952;font-size:12px}.route-card em{margin-top:auto;font-style:normal;font-size:11px;font-weight:900}.now-section{background:var(--blue)}.now-layout{display:grid;grid-template-columns:minmax(0,.65fr) minmax(560px,1.35fr);gap:clamp(50px,8vw,120px);align-items:center}.stat-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:12px}.stat-card{min-height:210px;padding:22px;border-radius:18px;background:rgba(255,255,255,.65);display:flex;flex-direction:column}.stat-card small{font:900 7px/1 ui-monospace,monospace;letter-spacing:.14em;color:#747a87}.stat-card strong{display:block;margin-top:auto;font-size:clamp(42px,5vw,72px);line-height:1;letter-spacing:-.05em}.stat-card span{margin-top:8px;color:#5d6370;font-size:11px}.milestone{display:inline-block;margin:18px 0 0;padding:8px 12px;border-radius:999px;background:var(--dark);color:#fff;font-size:11px;font-weight:900}.account-section{background:var(--peach)}.account-grid{display:grid;grid-template-columns:minmax(0,.88fr) minmax(430px,1.12fr);gap:clamp(55px,8vw,120px);align-items:center}.account-panel{border-radius:30px;background:#fffaf2;padding:clamp(28px,4vw,50px);box-shadow:0 26px 70px rgba(64,44,28,.11)}.account-panel-head{display:block;padding-bottom:17px;border-bottom:1px solid #ddd1c4}.account-panel-head small{display:block;margin-left:16px;color:#978d81;font-size:7px;letter-spacing:.13em}.account-status-line{display:inline-flex;align-items:center;gap:8px;margin-top:5px}.account-panel-head strong{display:block;margin:0;font-size:18px;line-height:1}.account-email{display:grid;grid-template-columns:74px 1fr;gap:14px;padding:17px 0;border-bottom:1px solid #ddd1c4}.account-email span{color:#978d81;font-size:7px}.account-email b{font-size:13px}.account-panel>p{margin:15px 0 19px;color:#665e54;font-size:11px}.connect-section{background:#f6f2e9}.connect-grid{display:grid;grid-template-columns:minmax(0,.72fr) minmax(520px,1.28fr);gap:clamp(55px,8vw,120px);align-items:center}.connect-list{display:grid;border-top:1px solid rgba(23,23,20,.18)}.connect-item{min-height:92px;padding:14px 4px;display:grid;grid-template-columns:54px 1fr auto;gap:15px;align-items:center;border-bottom:1px solid rgba(23,23,20,.18);background:transparent;transition:padding .18s ease}.connect-item:hover{padding-left:10px}.connect-item>.brand-icon{width:46px;height:46px;display:grid;place-items:center;border-radius:14px;background:#fff}.brand-icon img{width:24px;height:24px}.brand-icon.mail-icon{background:var(--dark)}.brand-icon.mail-icon svg{width:24px;height:24px;fill:none;stroke:#fff;stroke-width:1.8;stroke-linejoin:round;stroke-linecap:round}.connect-copy small{display:block;color:#817b72;font-size:7px;letter-spacing:.13em}.connect-copy b{display:block;margin-top:3px;font-size:15px}.connect-item em{font-style:normal;font-size:10px;font-weight:900}.legal-section{min-height:100dvh;background:#11110f;color:#f5f1e8}.legal-grid{display:grid;grid-template-columns:.7fr 1.3fr;gap:60px}.legal-grid p{color:#aaa69d;font-size:12px}.legal-list{border-top:1px solid #393832}.legal-list div{display:flex;justify-content:space-between;padding:16px 0;border-bottom:1px solid #393832;font-size:12px}.legal-list b{color:#77756f;font-size:7px}.section-pager{position:fixed;z-index:90;inset:auto 0 0;min-height:var(--pager-h);display:flex;align-items:center;justify-content:space-between;padding:8px clamp(18px,5vw,76px) max(8px,env(safe-area-inset-bottom));border-top:1px solid rgba(255,255,255,.11);background:rgba(23,23,20,.97);color:#f5f1e8}.pager{display:grid;gap:3px}.pager span{color:#7e7b74;font:800 7px/1.2 ui-monospace,monospace}.pager strong{max-width:44vw;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:11px}.pager-next{margin-left:auto;text-align:right;justify-items:end}.pager[hidden]{display:none!important}
@media(max-width:960px){:root{--header-h:62px;--pager-h:56px}.wrap{width:min(var(--max),calc(100% - 26px))}.site-header{grid-template-columns:1fr auto;padding:0 14px}.header-nav{display:none}.brand{font-size:13px}.account-chip{min-height:34px;font-size:10px;padding:0 10px}.chapter{height:auto;min-height:100dvh;padding:calc(var(--header-h) + 16px) 0 calc(var(--pager-h) + 16px);align-items:flex-start}h1{font-size:clamp(50px,16vw,70px)}h2{font-size:clamp(34px,10.7vw,48px)}.section-code{font-size:7px;margin-bottom:7px}.section-lead,.hero-text{font-size:10.5px;line-height:1.55}.hero{height:auto;min-height:100dvh;align-items:flex-start}.hero:after{content:"";position:absolute;width:34vw;height:34vw;right:-8vw;bottom:-18vw;border-radius:50%;background:var(--yellow);z-index:0}.hero-art{display:none}.apps-layout,.free-layout,.now-layout,.account-grid,.connect-grid,.legal-grid{grid-template-columns:1fr;gap:14px}.hero-grid{display:block;max-width:760px;margin-top:0;margin-bottom:0}.hero-copy{display:grid;grid-template-rows:auto minmax(min-content,1fr);min-height:calc(100dvh - var(--header-h) - var(--pager-h) - 32px)}.hero-main{display:flex;flex-direction:column;justify-content:center}.hero-lead{font-size:17px;margin-bottom:7px}.hero-actions{margin-top:12px}.button{min-height:38px;font-size:9px;padding:0 12px}.text-link{font-size:9px}.apps-heading>p:not(.section-code){font-size:9.5px;margin:0}.text-link.strong{margin-top:9px}.app-switcher{grid-template-columns:1fr;gap:7px}.app-tabs{display:grid;grid-template-columns:repeat(3,1fr);gap:4px}.app-tab{min-height:48px;padding:7px;text-align:center}.app-tab span{font-size:5.5px}.app-tab b{font-size:11px;margin-top:2px}.app-tab small{font-size:7px}.app-panel{grid-template-columns:1fr 1fr;height:auto;min-height:0;border-radius:14px}.app-shot img{min-height:0;height:28svh}.app-copy{padding:13px 11px}.app-copy small{font-size:5.5px}.app-copy h3{font-size:24px;margin:5px 0 6px}.app-copy p{font-size:8.5px;line-height:1.45}.free-layout{gap:22px}.route-cards{gap:6px}.route-card{min-height:190px;padding:15px;border-radius:12px}.route-card>span{font-size:5.5px}.route-card b{margin-top:26px;font-size:15px}.route-card p{font-size:8px}.route-card em{font-size:8px}.stat-grid{grid-template-columns:repeat(2,1fr);gap:6px}.stat-card{min-height:128px;padding:12px;border-radius:11px}.stat-card small{font-size:5.5px}.stat-card strong{font-size:32px}.stat-card span{font-size:7.5px;margin-top:5px}.milestone{margin-top:8px;font-size:8px;padding:5px 8px}.account-panel{padding:18px 15px;border-radius:15px}.account-panel-head{padding-bottom:10px}.account-panel-head strong{font-size:13px}.account-email{padding:10px 0;grid-template-columns:58px 1fr}.account-email b{font-size:9px}.account-panel>p{font-size:8px;margin:8px 0 10px}.connect-list{gap:0}.connect-item{min-height:68px;padding:8px 2px;grid-template-columns:36px 1fr auto;gap:9px}.connect-item>.brand-icon{width:30px;height:30px}.brand-icon img,.brand-icon.mail-icon svg{width:17px;height:17px}.connect-copy small{font-size:5px}.connect-copy b{font-size:9px}.connect-item em{font-size:7px}.legal-list div{padding:10px 0;font-size:9px}.section-pager{padding:6px 12px max(6px,env(safe-area-inset-bottom))}.pager span{font-size:6px}.pager strong{font-size:9px}}
@media(max-width:400px){.chapter{padding-top:calc(var(--header-h) + 11px);padding-bottom:calc(var(--pager-h) + 11px)}h2{font-size:31px}.app-shot img{height:25svh}.route-card{min-height:165px}.connect-item{min-height:64px}.connect-copy b{font-size:8px}}
@media(max-width:960px) and (max-height:700px){.chapter{padding-top:calc(var(--header-h) + 8px);padding-bottom:calc(var(--pager-h) + 8px)}h1{font-size:45px}h2{font-size:29px}.app-shot img{height:23svh}.route-card{min-height:140px}.route-card p{display:none}.connect-item{min-height:62px}.section-lead{font-size:8.5px}}

@media(max-width:960px){h1,h2,.hero-lead,.route-card b{text-wrap:balance;word-break:auto-phrase;line-break:strict}.app-copy h3{font-size:clamp(18px,5.6vw,24px);white-space:normal;overflow-wrap:break-word;word-break:normal;line-break:strict;text-wrap:balance}}

.hero-metrics{display:grid;grid-template-columns:repeat(4,max-content);align-items:center;gap:8px;margin-bottom:14px}.hero-metric{display:inline-flex;align-items:center;gap:7px;padding:6px 9px;border:1px solid rgba(23,23,20,.16);background:rgba(255,255,255,.28);font-size:8px;letter-spacing:.1em}.hero-metric small{color:var(--quiet);font:900 7px/1 ui-monospace,monospace;letter-spacing:.12em;white-space:nowrap}.hero-metric strong{min-width:6ch;margin-left:auto;text-align:right;font-size:10px;letter-spacing:.08em;font-variant-numeric:tabular-nums}.hero-metric b{font-size:13px;line-height:1}.hero-network-icon{width:12px;height:12px;flex:0 0 auto}.hero-metrics .milestone{grid-column:1/-1;margin:0;justify-self:start}
@media(min-width:961px) and (max-width:1240px){.hero-metrics{grid-template-columns:repeat(2,max-content)}}
@media(max-width:960px){.hero-metrics{grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;margin-bottom:8px}.hero-metric{justify-content:space-between;padding:5px 7px;font-size:6px}.hero-network{display:flex;justify-content:flex-start}.hero-network small{margin-right:auto}.hero-network-icon{width:10px;height:10px}.hero-metric small{font-size:5px}.hero-metric strong{font-size:8px}.hero-metric b{font-size:10px}.free-title{font-size:clamp(30px,9.2vw,41px)}}


/* UX / Micro Interaction */
:where(a,button):focus-visible{outline:2px solid var(--portal);outline-offset:3px}
a,button:not(:disabled){cursor:pointer}
:where(a,button){-webkit-tap-highlight-color:rgba(23,23,20,.08)}
.brand,.header-nav a,.account-chip,.hero-metric,.button,.text-link,.app-tab,.route-card,.connect-item,.pager,.legal-list a{
  transition:color .14s ease,background-color .14s ease,border-color .14s ease,box-shadow .14s ease,transform .14s ease,opacity .14s ease
}
@media(hover:hover) and (pointer:fine){
  .brand:hover{opacity:.82}
  .header-nav a:hover{color:#fff}
  .account-chip:hover{background:rgba(255,255,255,.06);border-color:rgba(255,255,255,.42)}
  .hero-metric:hover{transform:translateY(-1px);border-color:#aaa397;box-shadow:0 5px 16px rgba(40,34,25,.07)}
  .button:hover{transform:translateY(-1px);box-shadow:0 5px 16px rgba(40,34,25,.10)}
  .button-primary:hover{background:#292925;border-color:#292925}
  .text-link:hover{color:var(--portal)}
  .app-tab:not(.is-active):hover{background:rgba(23,23,20,.07);color:var(--ink)}
  .app-tab.is-active:hover{box-shadow:0 6px 18px rgba(23,23,20,.14)}
  .route-card:hover{transform:translateY(-2px);box-shadow:0 10px 26px rgba(40,34,25,.10)}
  .connect-item:hover{transform:translateX(3px)}
  .pager:hover span{color:#bdb8af}
  .pager:hover strong{color:#fff}
  .legal-list a:hover{color:#fff;text-decoration:underline;text-underline-offset:3px}
}
.account-chip:active,.hero-metric:active,.button:active,.app-tab:active,.route-card:active,.connect-item:active,.pager:active{
  transform:translateY(1px)
}
@media(prefers-reduced-motion:reduce){
  .brand,.header-nav a,.account-chip,.hero-metric,.button,.text-link,.app-tab,.route-card,.connect-item,.pager,.legal-list a{
    transition:none!important
  }
}


/* HOME CTA / route card title refinement */
.hero-app-cta{gap:10px}
.hero-app-cta-arrow{display:inline-block}
.route-card-title{
  display:flex!important;
  align-items:baseline;
  gap:.28em;
  font-size:24px!important;
  font-weight:950;
  line-height:1.25;
  letter-spacing:-.03em;
}
.route-title-line{display:inline}
@media(max-width:960px){
  .route-card-title{
    flex-direction:column;
    align-items:flex-start;
    gap:4px;
    font-size:15px!important;
    line-height:1.25;
  }
}

/* Mobile HOME only: use the visible viewport height, not the layout viewport.
   Keep the pre-image centered design and allow document scrolling when needed. */
@media(max-width:960px){
  #top.hero{
    --hub-home-gap:16px;
    min-height:var(--hub-home-visible-height,100dvh);
    padding-top:calc(var(--header-h) + var(--hub-home-gap));
    padding-bottom:calc(var(--pager-h) + var(--hub-home-gap));
  }
  #top .hero-copy{
    min-height:calc(var(--hub-home-visible-height,100dvh) - var(--header-h) - var(--pager-h) - var(--hub-home-gap) - var(--hub-home-gap));
  }
  #top.hero[data-home-compact="true"]{--hub-home-gap:8px}
}
@media(max-width:400px){
  #top.hero{--hub-home-gap:11px}
}

/* 棚蔵・折葉と同じヘッダー内の「アプリを追加」導線。 */
.site-identity{position:relative;display:flex;flex-direction:column;align-items:flex-start;justify-content:center;min-width:0;padding-left:23px}
.site-identity .brand-mark{position:absolute;left:0;top:50%;transform:translateY(-50%)}
.site-identity .pwa-install{
  display:inline-flex;align-items:center;gap:4px;margin-left:0;padding:0;min-height:18px;
  border:0;background:transparent;color:var(--portal);
  font-size:10px;font-weight:750;line-height:1.3;white-space:nowrap;
}
.site-identity .pwa-install:hover{text-decoration:underline;text-underline-offset:2px}
.site-identity .pwa-install svg{flex:none}
.pwa-install-guide{
  width:min(420px,calc(100vw - 24px));max-width:calc(100vw - 24px);padding:22px;
  border:1px solid rgba(23,23,20,.18);border-radius:14px;background:var(--paper);
  color:var(--ink);color-scheme:light;box-shadow:0 18px 70px rgba(0,0,0,.2);
}
.pwa-install-guide::backdrop{background:rgba(0,0,0,.48)}
.pwa-install-guide h2{margin:0 0 12px;font-size:20px;font-weight:900;line-height:1.4;letter-spacing:0}
.pwa-install-guide p{margin:0 0 18px;line-height:1.7;font-size:14px}
.pwa-install-guide .button{width:100%}
