/* /findchat header menu */
header .nav-inner { gap: 12px; }
header .site-title { display: flex; align-items: center; min-width: 0; line-height: 1.5; }
.findchat-header-logo { display: block; width: 120px; height: 38px; object-fit: contain; object-position: left center; }
@media (max-width: 700px) { .findchat-header-logo { width: 80px; height: 28px; } }
.findchat-menu-trigger { display: grid; place-items: center; width: 44px; height: 44px; flex: none; margin: -8px -6px -8px 0; padding: 10px; color: #1f1f1f; background: transparent; border: 0; border-radius: 8px; cursor: pointer; }
.findchat-menu-trigger[hidden] { display: none; }
.findchat-menu-trigger svg { display: block; width: 24px; height: 24px; }
.findchat-site-menu { position: fixed; inset: 0 0 0 auto; width: min(360px, 90vw); max-width: 100%; height: 100vh; height: 100dvh; max-height: none; margin: 0; padding: 0; border: 0; border-radius: 24px 0 0 24px; background: #fff; color: #1f1f1f; font-family: 'Noto Sans JP', sans-serif; overflow: hidden; box-sizing: border-box; }
.findchat-site-menu[open] { display: flex; flex-direction: column; }
.findchat-site-menu::backdrop { background: rgba(0,0,0,.5); }
.findchat-site-menu__header { display: flex; align-items: center; justify-content: flex-end; gap: 16px; padding: 24px 24px 20px; padding-top: max(24px, env(safe-area-inset-top)); }
.findchat-site-menu__title { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.findchat-site-menu__close { display: grid; place-items: center; flex: none; width: 44px; height: 44px; margin: -6px -6px -6px 0; padding: 10px; border: 0; background: transparent; color: #1f1f1f; border-radius: 8px; cursor: pointer; }
.findchat-site-menu__close svg { display: block; width: 24px; height: 24px; }
.findchat-site-menu .findchat-site-menu__nav { display: block; padding: 0 24px max(28px, env(safe-area-inset-bottom)); overflow-y: auto; overscroll-behavior: contain; flex: 1; min-height: 0; }
.findchat-site-menu__login { padding: 4px 0 24px; border-bottom: 1px solid #e7e6ef; }
.findchat-site-menu__login-note { margin: 0 0 12px; font-size: 13px; line-height: 1.8; color: #3f4249; }
.findchat-site-menu .findchat-site-menu__login-button { display: flex; align-items: center; justify-content: center; gap: 10px; width: 100%; min-height: 48px; padding: 12px 16px; border: 0; border-radius: 10px; background: #2DC56A; color: #fff; font: inherit; font-size: 15px; font-weight: 700; line-height: 1.6; text-decoration: none; }
.findchat-site-menu__login-button svg { width: 17px; height: 17px; flex: none; }
.findchat-site-menu__login-button:focus-visible { outline: 3px solid #2DC56A; outline-offset: 3px; }
.findchat-site-menu__link { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 20px 0; border-bottom: 1px solid #e7e6ef; color: #1f1f1f; text-decoration: none; font-size: 15px; font-weight: 500; line-height: 1.7; }
.findchat-site-menu__link:hover { color: #2DC56A; }
.findchat-site-menu__link svg { width: 18px; height: 18px; color: #2DC56A; flex: none; }
.findchat-site-menu__leading { display: flex; align-items: center; gap: 12px; flex: 1; min-width: 0; }
.findchat-site-menu__leading svg { width: 20px; height: 20px; color: inherit; }
.findchat-site-menu__label { min-width: 0; }
.findchat-site-menu__link--secondary { font-size: 12px; font-weight: 400; color: #626262; padding: 15px 0; }
.findchat-site-menu__link--secondary .findchat-site-menu__leading { gap: 10px; }
.findchat-site-menu__link--secondary .findchat-site-menu__leading svg { width: 17px; height: 17px; }
.findchat-site-menu__link--secondary > svg { width: 15px; height: 15px; color: #626262; }
.findchat-site-menu__link--secondary:hover, .findchat-site-menu__link--secondary:hover > svg { color: #2DC56A; }
.findchat-menu-trigger:focus-visible, .findchat-site-menu__close:focus-visible, .findchat-site-menu__link:focus-visible { outline: 3px solid #2DC56A; outline-offset: 2px; }
@media (max-width: 700px) { header .nav-inner { padding-top: 14px; padding-bottom: 14px; } header .site-title { flex: 1; } }
@media (prefers-reduced-motion: no-preference) { .findchat-site-menu[open] { animation: findchat-menu-in .2s cubic-bezier(.22,1,.36,1) both; } }
@keyframes findchat-menu-in { from { transform: translateX(100%); } to { transform: translateX(0); } }

/* shared header layout for pages using the /findchat header */
header .nav-inner { max-width: 1180px; margin: 0 auto; padding: 18px 32px; display: flex; align-items: center; justify-content: space-between; box-sizing: border-box; }
header .site-title { text-decoration: none; }
@media (max-width: 700px) { header .nav-inner { padding: 14px 20px; } }
header:has(#findchatMenuTrigger) { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.96); border-bottom: 1px solid #e7e6ef; backdrop-filter: blur(10px); }
