/* Approved Figma proposal, 2026-11-18. Blue = structure/actions;
   warm orange = connection points; white/warm gray = reading surfaces.
   Preserve the site's system Japanese font stack (no new web fonts). */
:root {
  --ink:#17253c;--ink2:#334155;--muted:#596576;
  --navy:#244981;--navy-deep:#173359;--navy-tint:#e9eff7;
  --paper:#fff;--wash:#f6f6f3;--line:#dde2e8;--line2:#c8d0db;
  --gold:#c66038;--gold-ink:#244981;--gold-light:#e9eff7;
  --dark:#173359;--dark2:#17253c;
}
.site-header{border-bottom:1px solid var(--line)}
.site-header .bar{max-width:1360px;height:98px;padding:24px 56px}
.site-header .logo{width:194px;height:50px;max-width:none}
.site-header .right{gap:24px}
.desktop-nav{gap:24px;font-size:12px;white-space:nowrap}
.desktop-nav a[aria-current=page],.mobile-nav a[aria-current=page]{color:var(--navy);text-decoration:underline;text-underline-offset:7px}
.site-footer img.logo{width:194px;height:50px;object-fit:contain;object-position:left}
.hero-lines{background-image:none}
.renew-section:nth-of-type(even){background:var(--wash)}
.section-no{color:var(--navy)}
.renew-grid article{border-color:var(--navy)}
.renew-notice{border-color:var(--line);background:var(--wash)}
.renew-table thead,.renew-cta{background:var(--navy-deep)}
.renew-cta .btn,.price-amount{color:var(--navy-deep)}
.renew-equation{background:var(--navy-tint)}
.plan-reference{border-color:var(--navy)}
.figma-home .wrap{max-width:1360px;padding:0 56px}
.figma-home .home-hero{padding:48px 0 56px}
.figma-home .home-hero>.wrap{grid-template-columns:420px minmax(0,1fr);gap:54px}
.figma-home .hero-copy{display:flex;flex-direction:column;align-items:flex-start;gap:24px;min-width:0}
.figma-home .hero-copy .kicker{font-family:var(--sans);font-weight:700;line-height:1.55}
.figma-home .home-hero h1{font-size:50px;line-height:1.55;letter-spacing:0;margin:0}
.figma-home .hero-copy .lead{font-size:15px;line-height:1.55;color:var(--muted);max-width:400px}
.hero-actions{display:flex;flex-direction:column;align-items:flex-start;gap:24px}
.hero-actions .btn{min-height:50px}
.hero-plan{font-size:13px;font-weight:700;text-decoration:none;min-height:24px}
.hero-plan:hover{text-decoration:underline}
.hero-connection{min-width:0;margin:0}
.connection-map-desktop{display:block;width:100%;height:auto;font-family:var(--sans);overflow:visible}
.connection-map-mobile{display:none}
.figma-home .renew-section{padding:72px 0}
.figma-home .renew-section h2{line-height:1.5}
.figma-home #products .renew-grid{grid-template-columns:1fr}
.figma-home #products article{border:0;padding:24px 0}
.figma-home #products article h3{font-size:32px;color:var(--navy-deep)}
.figma-home .renew-cta{padding:64px max(24px,calc((100% - 1248px)/2))}
@media(max-width:1199px){
  .site-header .bar{padding:20px 24px}
  .desktop-nav{gap:16px}
  .site-header .right{gap:18px}
  .figma-home .wrap{padding:0 24px}
  .figma-home .home-hero>.wrap{grid-template-columns:340px minmax(0,1fr);gap:28px}
  .figma-home .home-hero h1{font-size:40px}
}
@media(max-width:1050px){
  .desktop-nav,.header-cta{display:none!important}
  .hamburger{display:inline-flex;align-items:center}
  .mobile-nav.open{display:flex;flex-direction:column;border-top:1px solid var(--line);padding:8px 24px 16px;background:#fff}
  .mobile-nav a{display:flex;align-items:center;min-height:44px;color:var(--ink);text-decoration:none;font-size:15px;border-bottom:1px solid var(--line)}
  .figma-home .home-hero>.wrap{grid-template-columns:1fr;gap:48px}
  .figma-home .hero-copy .lead{max-width:600px}
  .hero-connection{max-width:744px;width:100%;margin:auto}
}
@media(max-width:600px){
  .site-header .bar{height:98px;gap:12px}
  .site-header .logo{width:174px;height:auto}
  .site-header .right{gap:0}
  .figma-home .home-hero{padding:40px 0 48px}
  .figma-home .home-hero h1{font-size:clamp(31px,10.25vw,40px);line-height:1.5}
  .figma-home .renew-section{padding:48px 0}
  .figma-home #products article h3{font-size:26px}
  .connection-map-desktop{display:none}
  .connection-map-mobile{display:flex;flex-direction:column;gap:32px}
  .map-stage{position:relative}
  .map-stage h2{font-size:12px;color:var(--muted);margin:0 0 12px;line-height:1.5}
  .map-stage:not(.inputs)::before{content:"";position:absolute;left:50%;top:-32px;height:28px;border-left:2px solid var(--navy)}
  .map-inputs,.map-apis{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
  .map-inputs span{position:relative;display:flex;align-items:center;justify-content:center;min-height:58px;padding:8px 4px;background:var(--wash);border:1px solid var(--line);border-radius:6px;font-size:11px;font-weight:700;text-align:center;color:var(--navy-deep)}
  .map-inputs span::after{content:"";position:absolute;top:100%;left:50%;height:16px;border-left:2px solid var(--navy)}
  .map-inputs::after{content:"";position:absolute;bottom:-17px;left:16.7%;right:16.7%;border-top:2px solid var(--navy)}
  .logic-api p{padding:18px;background:var(--navy-tint);border-radius:6px;text-align:center;color:var(--navy-deep);font-weight:700;font-size:14px}
  .operations h2{font-size:21px;color:var(--navy-deep)}
  .map-logic{padding:20px;background:var(--navy-deep);border-radius:10px;color:white}
  .map-logic p{font-size:12px;margin-bottom:16px}
  .map-logic ul{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;list-style:none}
  .map-logic li{background:var(--navy);padding:14px 4px;border-radius:5px;text-align:center;font-size:13px;font-weight:700}
  .map-apis span{padding:12px 4px;border-radius:6px;background:var(--navy-tint);text-align:center;color:var(--muted);font-size:12px}
  .map-apis b{display:block;color:var(--navy-deep);font-size:14px}
  .accounting-software p{padding:18px 12px;background:var(--wash);border:1px solid var(--line);border-radius:6px;font-size:13px;color:var(--navy-deep);text-align:center}
  .map-bypass{border-left:3px solid #c66038;padding-left:12px;font-size:12px;color:var(--navy-deep)}
  .map-note{font-size:11px;color:var(--muted)}
}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}}
