/* EZOGO public gateway — simple monochrome UX — 2026-09-18 */
:root{
  --ink:#08090a;
  --muted:#5e6368;
  --line:#e2e4e7;
  --soft:#f3f3f3;
  --paper:#fff;
  --focus:#74849a;
  --danger:#a72f2f;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth;-webkit-text-size-adjust:100%;background:#fff;color-scheme:light}
body{margin:0;background:#fff;color:var(--ink);font-family:Arial,-apple-system,BlinkMacSystemFont,"Helvetica Neue","Hiragino Sans","Yu Gothic",Meiryo,sans-serif;-webkit-font-smoothing:antialiased}
button,input,textarea,select{font:inherit}
button,a{-webkit-tap-highlight-color:transparent}
a{color:inherit}
button{color:inherit}
.shell{width:min(1180px,100%);margin:auto;padding:0 28px}

/* Header */
.site-head{position:sticky;top:0;z-index:50;background:#000;color:#fff}
.head-inner{min-height:82px;display:flex;align-items:center;gap:24px}
.brand{display:flex;flex-direction:column;gap:4px;text-decoration:none;line-height:1;margin-right:auto}
.brand strong{font-size:26px;font-weight:900;letter-spacing:.1em}
.brand small{font-size:8px;letter-spacing:.22em;color:#cfcfcf}
.head-actions{display:flex;align-items:center;gap:14px}
.head-demo{display:inline-flex;min-height:36px;align-items:center;justify-content:center;padding:0 12px;border:1px solid #2f6b59;border-radius:999px;background:#0c2a21;color:#eefbf6;text-decoration:none;font-size:12px;font-weight:900;white-space:nowrap}
.head-demo:hover{background:#10382c}
.head-login{color:#fff;text-decoration:none;font-size:14px;font-weight:800}
.head-login:hover{text-decoration:underline;text-underline-offset:5px}
.head-join{display:inline-flex;min-height:46px;align-items:center;justify-content:center;padding:0 22px;border-radius:999px;background:#fff;color:#000;text-decoration:none;font-size:14px;font-weight:900}
.menu-btn{width:42px;height:42px;border:0;background:transparent;display:grid;place-items:center;cursor:pointer}
.menu-lines{width:25px;display:grid;gap:5px}
.menu-lines i{height:2px;background:#fff;border-radius:999px}

/* Home */
.hero{padding:72px 0 62px;background:#fff}
.hero-inner{max-width:760px;margin-left:0}
.hero-context{display:flex;align-items:center;gap:9px;font-size:15px;font-weight:800;margin-bottom:28px}
.hero-context svg{width:21px;height:21px;fill:#000;stroke:none}
.hero h1,.hero h2{margin:0;font-size:clamp(52px,6.2vw,78px);line-height:1.03;letter-spacing:-.065em;font-weight:950}
.lead{max-width:700px;margin:26px 0 0;color:#42474c;font-size:16px;line-height:1.75;font-weight:600}
.hero-consult{margin-top:20px}

.text-link{display:inline-flex;width:max-content;max-width:100%;padding:4px 0;border:0;border-bottom:1px solid #aeb2b6;background:transparent;color:#111;text-decoration:none;font-size:14px;font-weight:800;cursor:pointer}
.text-link:hover{border-color:#111}
.primary-btn{display:inline-flex;min-height:58px;align-items:center;justify-content:center;padding:0 28px;border-radius:12px;background:#000;color:#fff;text-decoration:none;font-size:16px;font-weight:900}

/* Action cards */
.action-section{padding:58px 0 72px}
.action-section h2,.account-section h2{margin:0;font-size:clamp(34px,4.5vw,54px);line-height:1.08;letter-spacing:-.055em;font-weight:950}
.action-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;margin-top:34px}
.action-card{min-height:190px;padding:24px;border:0;border-radius:24px;background:var(--soft);display:flex;flex-direction:column;align-items:flex-start;justify-content:space-between;color:#111;text-align:left;text-decoration:none;cursor:pointer;transition:transform .16s ease,background .16s ease}
.action-card:hover{transform:translateY(-2px);background:#ececec}
.action-icon{width:64px;height:64px;border-radius:18px;background:#fff;display:grid;place-items:center}
.action-icon svg{width:32px;height:32px;fill:none;stroke:#111;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.action-card strong{font-size:18px;line-height:1.3}

/* Account */
.account-section{padding:74px 0;border-top:1px solid var(--line)}
.account-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(320px,.8fr);gap:70px;align-items:center}
.account-section p{max-width:600px;margin:20px 0 0;color:var(--muted);font-size:15px;line-height:1.75}
.account-actions{display:flex;flex-direction:column;align-items:flex-start;gap:22px}

/* Notice */
.notice-wrap{border-top:1px solid var(--line);background:#fafafa}
.notice{display:flex;align-items:flex-start;gap:12px;padding:20px 0}
.notice-icon{flex:0 0 22px;width:22px;height:22px;border-radius:50%;display:grid;place-items:center;background:#111;color:#fff;font-size:12px;font-weight:900;font-family:Georgia,serif}
.notice p{margin:1px 0 0;color:#50555a;font-size:11px;line-height:1.65;font-weight:650}

/* Footer */
.footer{padding:52px 0 calc(52px + env(safe-area-inset-bottom));background:#050505;color:#fff}
.footer-top{display:flex;justify-content:space-between;align-items:flex-end;gap:24px}
.footer-identity{display:flex;flex-direction:column;gap:6px}
.footer-brand{font-size:26px;font-weight:900;letter-spacing:.1em}
.footer-identity small{font-size:8px;letter-spacing:.22em;color:#c8c8c8}
.footer-copy{font-size:12px;color:#c9c9c9}
.legal{display:flex;gap:22px;flex-wrap:wrap;margin-top:34px;padding-top:22px;border-top:1px solid #282828}
.legal a{font-size:11px;color:#eee;text-decoration:none}

/* Drawer */
.drawer-backdrop{position:fixed;inset:0;z-index:60;overflow:hidden;background:rgba(0,0,0,.52);opacity:0;pointer-events:none;transition:opacity .2s}
.drawer-backdrop.open{opacity:1;pointer-events:auto}
.drawer{position:absolute;right:0;top:0;height:100%;width:min(430px,92vw);padding:28px;overflow-y:auto;background:#fff;box-shadow:-18px 0 48px rgba(0,0,0,.16);transform:translateX(100%);transition:transform .25s}
.drawer-backdrop.open .drawer{transform:translateX(0)}
.drawer-head{display:flex;justify-content:space-between;align-items:center;padding-bottom:22px;border-bottom:1px solid var(--line)}
.drawer-head strong{font-size:22px;letter-spacing:.08em}
.close-btn,.sheet-close{width:42px;height:42px;border:0;border-radius:50%;background:#f1f3f5;color:#111;font-size:24px;cursor:pointer}
.drawer-nav{display:grid;margin-top:18px}
.drawer-nav a{padding:19px 2px;border-bottom:1px solid #eceff1;font-size:15px;font-weight:900;text-decoration:none}

/* Consultation sheet */
.sheet-backdrop{position:fixed;inset:0;z-index:70;background:rgba(0,0,0,.58);opacity:0;pointer-events:none;transition:opacity .2s;display:flex;align-items:flex-end;justify-content:center}
.sheet-backdrop.open{opacity:1;pointer-events:auto}
.sheet{width:min(720px,100%);max-height:88dvh;overflow:auto;padding:24px 24px calc(30px + env(safe-area-inset-bottom));border-radius:18px 18px 0 0;background:#fff;box-shadow:0 -18px 60px rgba(0,0,0,.2);transform:translateY(100%);transition:transform .25s}
.sheet-backdrop.open .sheet{transform:translateY(0)}
.sheet-grab{width:48px;height:5px;margin:0 auto 18px;border-radius:99px;background:#c6cbd0}
.sheet-top{display:flex;justify-content:space-between;align-items:flex-start;gap:16px;margin-bottom:18px}
.sheet-top small{display:block;color:#68717a;font-size:10px;letter-spacing:.13em;font-weight:800}
.sheet-top h2{margin:5px 0 0;font-size:28px;letter-spacing:-.03em;overflow-wrap:anywhere}
.selected-chip{display:inline-flex;align-items:center;margin-bottom:16px;padding:8px 12px;border-radius:999px;background:#111;color:#fff;font-size:12px;font-weight:800}
.consult-explanation,#consultStatus{color:#4f555b;font-size:14px;line-height:1.7}
.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px}
.form-grid .full{grid-column:1/-1}
.f-label{display:block;margin-bottom:7px;font-size:14px;font-weight:800}
input[type=text],input[type=email],input[type=tel],textarea{width:100%;padding:13px 14px;border:1px solid #c9ced3;border-radius:10px;background:#fff;color:#111;-webkit-text-fill-color:currentColor;caret-color:#111;color-scheme:light;font-size:16px;outline:none}
input:focus,textarea:focus{border-color:#111;box-shadow:0 0 0 3px rgba(116,132,154,.28)}
input::placeholder,textarea::placeholder{color:#737b83;opacity:1}
textarea{min-height:120px;resize:vertical;line-height:1.6}
.contact-note{margin:0 0 8px;color:#68717a;font-size:14px}
.consent{display:flex;gap:10px;align-items:flex-start;margin-top:14px;padding:12px;border:1px solid #dce0e4;border-radius:10px;background:#f6f7f8;color:#50565c;font-size:14px;line-height:1.6}
.consent a{color:#111;font-weight:750}
.submit-btn{width:100%;margin-top:14px;padding:16px;border:1px solid #111;border-radius:12px;background:#111;color:#fff;font-size:16px;font-weight:900;cursor:pointer}
.submit-btn:disabled{opacity:.55;cursor:not-allowed}
.form-error{display:none;margin-bottom:12px;padding:10px 12px;border:1px solid #e7c7c7;border-radius:10px;background:#fff4f4;color:var(--danger);font-size:14px}
.form-done{display:none;padding:34px 10px;text-align:center}
.form-done .done-icon{width:64px;height:64px;margin:0 auto 14px;border-radius:50%;background:#edf5f0;color:#24613f;display:grid;place-items:center;font-size:34px}
.form-done h3{margin:0;font-size:24px}
.form-done p{color:#555;font-size:14px;line-height:1.7}
.invalid-banner{display:none;margin:0 0 16px;padding:12px 14px;border:1px solid #dfd0c9;border-radius:10px;background:#faf5f2;color:#7d4a34;font-size:14px;line-height:1.6}

:where(a,button,input,textarea,select,summary):focus-visible{outline:3px solid var(--focus);outline-offset:3px}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*::before,*::after{transition:none!important;animation:none!important}}

@media(max-width:760px){
  .shell{padding:0 20px}
  .head-inner{min-height:78px;gap:10px}
  .brand strong{font-size:23px}
  .brand small{font-size:7px}
  .head-actions{gap:8px}
  .head-demo{min-height:38px;padding:0 10px;font-size:11px}
  .head-login{font-size:13px}
  .head-join{min-height:44px;padding:0 18px;font-size:13px}
  .menu-btn{width:38px;height:38px}
  .hero{padding:48px 0 48px}
  .hero-context{font-size:14px;margin-bottom:24px}
  .hero h1,.hero h2{font-size:clamp(44px,12vw,58px)}
  .lead{font-size:14px;line-height:1.7;margin-top:22px}
  .action-section{padding:52px 0 60px}
  .action-section h2,.account-section h2{font-size:36px}
  .action-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-top:28px}
  .action-card{min-height:150px;padding:16px;border-radius:20px}
  .action-icon{width:52px;height:52px;border-radius:15px}
  .action-icon svg{width:27px;height:27px}
  .action-card strong{font-size:13px}
  .account-section{padding:58px 0}
  .account-grid{grid-template-columns:1fr;gap:34px}
  .account-actions{gap:18px}
  .primary-btn{width:100%;min-height:56px}
  .footer-top{flex-direction:column;align-items:flex-start;gap:12px}
  .sheet{border-radius:0;max-height:92dvh}
  .form-grid{grid-template-columns:1fr}
  .form-grid .full{grid-column:auto}
}
@media(max-width:420px){
  .shell{padding:0 16px}
  .head-login{display:none}
  .head-join{padding:0 15px}
  .hero h1,.hero h2{font-size:43px}
  .action-grid{gap:10px}
  .action-card{min-height:140px;padding:14px}
  .action-icon{width:48px;height:48px}
  .action-card strong{font-size:12px;overflow-wrap:anywhere}
}
@media(max-width:360px){
  .shell{padding:0 14px}
  .head-join{display:none}
  .brand{min-width:0}
  .brand strong,.brand small{overflow-wrap:anywhere}
  .menu-btn{flex:0 0 42px}
  .action-card strong,.primary-btn,.text-link{overflow-wrap:anywhere;word-break:break-word}
  .account-grid>*{min-width:0}
  .account-actions{width:100%;min-width:0}
  .primary-btn{max-width:100%;white-space:normal;text-align:center;padding-inline:18px}
  .text-link{width:auto;max-width:100%;white-space:normal}
  .drawer{width:min(294px,92vw);max-width:100%}
}

/* FREE AI AGENT entry — monochrome, secondary to delivery journeys */
.free-agent{padding:74px 0;border-top:1px solid var(--line);background:#fff}
.free-agent-inner{max-width:760px}
.free-agent-eyebrow{display:inline-flex;align-items:center;min-height:30px;padding:0 12px;border-radius:999px;background:#000;color:#fff;font-size:11px;font-weight:900;letter-spacing:.16em}
.free-agent h1{margin:18px 0 0;font-size:clamp(32px,4.5vw,50px);line-height:1.1;letter-spacing:-.05em;font-weight:950}
.free-agent-lead{margin:18px 0 0;color:var(--ink);font-size:16px;line-height:1.8}
.free-agent-ideas{margin:14px 0 0;padding:0;list-style:none;display:flex;flex-wrap:wrap;gap:6px 14px;color:var(--muted);font-size:14px;font-weight:650}
.free-agent-soft{margin:16px 0 0;font-size:15px;line-height:1.8;font-weight:800}
.free-agent-choices{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin-top:22px}
.free-agent-choice{min-height:52px;padding:10px 14px;border:1.5px solid var(--line);border-radius:14px;background:var(--soft);color:var(--ink);text-align:left;font-size:15px;font-weight:850;line-height:1.35;cursor:pointer;transition:background .16s ease,border-color .16s ease}
.free-agent-choice:hover{border-color:#111}
.free-agent-choice[aria-pressed="true"]{background:#000;border-color:#000;color:#fff}
.free-agent-choice:focus-visible,.free-agent-cta:focus-visible{outline:3px solid var(--focus);outline-offset:2px}
.free-agent-optional{margin:10px 0 0;color:var(--muted);font-size:12px;line-height:1.6}
.free-agent-cta{width:100%;max-width:420px;margin-top:18px}
.free-agent-note{margin:10px 0 0;color:var(--muted);font-size:12px;line-height:1.6}
.free-agent-steps{margin:26px 0 0;padding:0;list-style:none;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}
.free-agent-steps li{display:grid;gap:8px;padding:14px;border-radius:14px;background:var(--soft);font-size:13px;line-height:1.5;font-weight:750}
.free-agent-steps b{width:26px;height:26px;display:grid;place-items:center;border-radius:8px;background:#000;color:#fff;font-size:12px}
.free-agent-trust{display:flex;align-items:flex-start;gap:12px;margin-top:22px;padding:16px 18px;border:1px solid var(--line);border-radius:14px;background:#fafafa}
.free-agent-trust ul{margin:0;padding:0;list-style:none;color:#50555a;font-size:13px;line-height:1.75;font-weight:650}
@media(max-width:760px){
  .free-agent{padding:56px 0}
  .free-agent h1{font-size:34px}
  .free-agent-lead{font-size:15px}
  .free-agent-ideas{display:none}
  .free-agent-choices{grid-template-columns:1fr 1fr;gap:8px}
  .free-agent-choice{min-height:48px;font-size:14px}
  .free-agent-cta{max-width:none}
  .free-agent-steps{grid-template-columns:1fr 1fr}
}
@media(max-width:360px){
  .free-agent-choices{grid-template-columns:1fr}
}


/* 2026-10-10: the AI-agent-first hiding of delivery sections (2026-09-30) is replaced by
   bounded views — / shows delivery, /ai shows the AI agent (see "Bounded views" below). */

.site-head{background:rgba(255,255,255,.94);backdrop-filter:blur(16px);-webkit-backdrop-filter:blur(16px)}
.head-agent,
.head-delivery{min-height:36px;display:inline-flex;align-items:center;justify-content:center;border-radius:999px;font-size:11px;font-weight:900;white-space:nowrap;text-decoration:none}
.head-agent{padding:0 14px;border:1px solid #000;background:#000;color:#fff}
.head-delivery{padding:0 11px;border:1px solid var(--line);background:#fff;color:#555;cursor:pointer}
.head-delivery:hover{border-color:#000;color:#000}

.free-agent{min-height:calc(100svh - 70px);display:flex;align-items:center;padding:84px 0 72px;border-top:0;background:
  radial-gradient(circle at 82% 15%,rgba(0,0,0,.055),transparent 26%),
  linear-gradient(180deg,#fff 0%,#f7f7f7 100%)}
.free-agent-inner{max-width:920px}
.free-agent-eyebrow{min-height:32px;padding:0 13px}
.free-agent h1{max-width:820px;margin-top:22px;font-size:clamp(48px,7vw,86px);line-height:.98;letter-spacing:-.065em}
.free-agent-lead{max-width:720px;margin-top:24px;font-size:18px;line-height:1.85}
.free-agent-ideas{max-width:760px;margin-top:20px}
.free-agent-soft{margin-top:22px;font-size:16px}
.free-agent-choices{margin-top:28px}
.free-agent-cta{max-width:520px;min-height:62px;margin-top:24px;font-size:16px}
.free-agent-note{font-size:11px}
.free-agent-steps{margin-top:32px}
.free-agent-trust{margin-top:24px}
.drawer-nav .drawer-delivery{width:max-content;min-width:72px;margin-top:10px;padding:9px 14px;border:1px solid var(--line);border-radius:999px;color:#666;font-size:11px}

@media(max-width:760px){
  .head-agent{padding:0 10px;font-size:10px}
  .head-delivery{padding:0 9px;font-size:10px}
  .free-agent{min-height:calc(100svh - 62px);padding:54px 0 46px}
  .free-agent h1{font-size:clamp(44px,14vw,62px);line-height:1.02}
  .free-agent-lead{font-size:15px}
  .free-agent-soft{font-size:14px}
}
@media(max-width:420px){
  .head-login{display:none}
  .head-agent{max-width:112px}
  .free-agent h1{font-size:46px}
}


/* Keep the compact AI-first header resilient at 200% text zoom on narrow phones. */
@media(max-width:420px){
  .brand small{display:none}
  .head-agent{max-width:96px;white-space:normal;line-height:1.15;text-align:center}
  .head-actions{gap:5px}
}
@media(max-width:360px){
  .brand strong{font-size:12px}
  .head-agent{max-width:86px;padding-inline:7px}
  .head-delivery{padding-inline:7px}
}


/* White AI-first header contrast overrides. */
.site-head{color:#000}
.site-head .brand strong{color:#000}
.site-head .brand small{color:#666}
.site-head .head-login{color:#000}
.site-head .menu-lines i{background:#000}


/* Published QR compatibility: visible AI entry, below the sticky header. */
.free-agent{position:relative}
.free-agent-legacy-anchor{position:absolute;top:0;left:0;scroll-margin-top:90px}
#free-agent{scroll-margin-top:90px}
.free-agent h1{line-height:1.12;letter-spacing:-.04em;overflow-wrap:anywhere}
.free-agent-note,.free-agent-optional{font-size:14px;line-height:1.7}
@media(max-width:420px){.free-agent h1{font-size:clamp(30px,9vw,42px)}}

/* Bounded views: one gateway file serves / (delivery), /ai and /yamashita. */
html[data-view="home"] [data-view-section="ai"],
html[data-view="home"] [data-view-section="yamashita"],
html[data-view="ai"] [data-view-section]:not([data-view-section="ai"]),
html[data-view="yamashita"] [data-view-section]:not([data-view-section="yamashita"]){display:none}
.nowrap{display:inline-block}
/* Header emphasis follows the view: delivery is primary on the delivery view. */
html[data-view="home"] .head-agent{border-color:var(--line);background:#fff;color:#555}
html[data-view="home"] .head-agent:hover{border-color:#000;color:#000}
html[data-view="home"] .head-delivery{border-color:#000;background:#000;color:#fff}
.more-section{padding:56px 0 64px;border-top:1px solid var(--line)}
.more-section h2{margin:0;font-size:clamp(24px,3vw,32px);line-height:1.2;letter-spacing:-.04em;font-weight:950}
.more-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-top:22px}
.more-link{display:flex;flex-direction:column;gap:6px;min-height:96px;padding:18px 20px;border:1px solid var(--line);border-radius:18px;background:#fff;color:#111;text-decoration:none}
.more-link strong{font-size:16px;font-weight:900}
.more-link span{color:var(--muted);font-size:13px;line-height:1.6}
.more-link:hover{border-color:#111}
@media (max-width:760px){.more-grid{grid-template-columns:1fr}.more-section{padding:44px 0 52px}}
