﻿.ninhana-brand-lockup{
  display:flex;
  align-items:center;
  flex:0 1 auto;
  min-width:0;
  text-decoration:none;
}
.ninhana-brand-lockup img{
  display:block;
  width:260px;
  max-width:42vw;
  height:auto;
}
.site-header{
  background:#fff !important;
}
.site-footer .footer-brand{
  font-family:inherit;
  color:#111;
}
@media(max-width:850px){
  .ninhana-brand-lockup img{width:235px;max-width:48vw}
}
@media(max-width:560px){
  .ninhana-brand-lockup img{width:210px;max-width:58vw}
}
@media(max-width:390px){
  .ninhana-brand-lockup img{width:195px;max-width:56vw}
}

/* Shared footer 窶・the top LP is the canonical design. */
.site-footer{
  padding:44px 28px !important;
  text-align:center !important;
  background:#fff !important;
  border-top:1px solid #e7e0d5 !important;
  color:#24231f !important;
  font-family:-apple-system,BlinkMacSystemFont,"Hiragino Sans","Yu Gothic",Meiryo,sans-serif !important;
}
.site-footer .footer-brand{
  display:inline-block !important;
  margin:0 0 22px !important;
  color:#111 !important;
  font-family:inherit !important;
  font-size:31px !important;
  line-height:1 !important;
  font-weight:600 !important;
  text-decoration:none !important;
}
.site-footer nav{
  display:flex !important;
  justify-content:center !important;
  flex-wrap:wrap !important;
  gap:12px 24px !important;
  margin:0 !important;
  padding:0 !important;
  font-size:13px !important;
}
.site-footer nav a{
  color:#24231f !important;
  font-family:inherit !important;
  font-size:13px !important;
  font-weight:600 !important;
  text-decoration:none !important;
}
.site-footer a:hover{
  text-decoration:underline !important;
}
.site-footer .affiliate-disclosure{
  margin:16px auto 0 !important;
  color:#6d6a62 !important;
  font-size:12px !important;
  line-height:1.6 !important;
}
.site-footer .copyright{
  margin:20px 0 0 !important;
  color:#6d6a62 !important;
  font-size:12px !important;
  font-weight:400 !important;
}
@media(max-width:850px){
  .site-footer .footer-brand{font-size:25px !important}
}
@media(max-width:560px){
  .site-footer nav{flex-direction:column !important;gap:10px !important}
  .site-footer .footer-brand{font-size:22px !important}
}

/* Shared LinksWorks brand typography: match the approved top header. */
.site-footer .footer-brand{font-family:Georgia,"Times New Roman",serif !important;font-weight:400 !important;letter-spacing:-.035em !important;line-height:.95 !important}

/* Shared brand header for theme and recommendation pages */
.site-header.linksworks-header{max-width:1180px!important;min-height:92px!important;margin:0 auto!important;padding:18px 28px!important;display:flex!important;align-items:center!important;justify-content:space-between!important;gap:20px!important;background:#fff!important}
.linksworks-brand{display:inline-flex;align-items:center;gap:13px;text-decoration:none;color:#24231f;min-width:0}
.linksworks-brand-logo{width:60px;height:60px;object-fit:contain;flex:none}
.linksworks-brand-copy{display:flex;flex-direction:column;min-width:0}
.linksworks-brand-name{font-family:Georgia,"Times New Roman",serif;font-size:clamp(28px,4vw,45px);font-weight:400;letter-spacing:-.035em;line-height:1;white-space:nowrap}
.linksworks-brand-tagline{font:500 9px/1.5 Arial,sans-serif;letter-spacing:.16em;white-space:nowrap}
.linksworks-header-actions{display:flex;align-items:center;gap:16px}
.linksworks-menu{position:relative}.linksworks-menu summary{list-style:none;cursor:pointer;width:44px;height:44px;display:flex;align-items:center;justify-content:center;border:1px solid #ddd;border-radius:50%}.linksworks-menu summary::-webkit-details-marker{display:none}
.linksworks-menu summary span,.linksworks-menu summary span:before,.linksworks-menu summary span:after{display:block;content:"";width:18px;height:2px;background:#333;position:relative}.linksworks-menu summary span:before{position:absolute;top:-6px}.linksworks-menu summary span:after{position:absolute;top:6px}
.linksworks-menu-panel{position:absolute;z-index:999;right:0;top:calc(100% + 8px);width:min(300px,85vw);padding:12px 18px;background:#fff;border:1px solid #e7e0d5;border-radius:12px;box-shadow:0 12px 32px #0002;display:flex;flex-direction:column;gap:0}
.linksworks-menu-panel a{display:block;padding:11px 6px;color:#24231f;text-decoration:none;font-size:14px;font-weight:500}
@media(max-width:560px){.site-header.linksworks-header{padding:12px 16px!important;min-height:68px!important}.linksworks-brand-logo{width:42px;height:42px}.linksworks-brand{gap:8px}.linksworks-brand-name{font-size:26px}.linksworks-brand-tagline{font-size:6px}.linksworks-menu summary{width:38px;height:38px}}

/* Exact typography parity with the top LP header (2026-10-21). */
.linksworks-brand-name{font-family:Georgia,"Times New Roman",serif!important;font-weight:400!important;font-size:clamp(36px,4vw,52px)!important;line-height:.95!important;letter-spacing:-.035em!important}
.linksworks-brand-tagline{font-family:Georgia,"Times New Roman",serif!important;font-weight:400!important;font-size:11px!important;line-height:1!important;letter-spacing:.32em!important;margin-top:8px!important}
@media(max-width:850px){.linksworks-brand-name{font-size:30px!important}.linksworks-brand-tagline{font-size:7px!important;letter-spacing:.25em!important;margin-top:6px!important}}
@media(max-width:560px){.linksworks-brand-name{font-size:25px!important}.linksworks-brand-tagline{font-size:6px!important}}

/* Global emergency correction: old LP image and anchor selectors must not expand the new brand. */
.site-header.linksworks-header{display:flex!important;flex-direction:row!important;align-items:center!important;justify-content:space-between!important;gap:12px!important;max-width:1180px!important;margin:0 auto!important;padding:12px 20px!important;min-height:72px!important;background:#fff!important}
.site-header.linksworks-header .linksworks-brand{display:inline-flex!important;flex-direction:row!important;align-items:center!important;gap:9px!important;width:auto!important;max-width:calc(100% - 58px)!important;min-width:0!important;flex:0 1 auto!important;text-decoration:none!important;color:#24231f!important}
.site-header.linksworks-header .linksworks-brand-logo{display:block!important;width:46px!important;height:46px!important;max-width:46px!important;max-height:46px!important;min-width:46px!important;object-fit:contain!important;flex:0 0 46px!important;margin:0!important;padding:0!important}
.site-header.linksworks-header .linksworks-brand-copy{display:flex!important;flex-direction:column!important;align-items:flex-start!important;min-width:0!important;width:auto!important}
.site-header.linksworks-header .linksworks-brand-name{display:block!important;font-family:Georgia,"Times New Roman",serif!important;font-size:28px!important;font-weight:400!important;letter-spacing:-.035em!important;line-height:1!important;white-space:nowrap!important}
.site-header.linksworks-header .linksworks-brand-tagline{display:block!important;font-family:Georgia,"Times New Roman",serif!important;font-size:7px!important;font-weight:400!important;letter-spacing:.22em!important;line-height:1.2!important;margin-top:4px!important;white-space:nowrap!important}
.site-header.linksworks-header .linksworks-header-actions{display:flex!important;flex:0 0 auto!important;align-items:center!important;gap:8px!important}
.site-header.linksworks-header .linksworks-menu{display:block!important;position:relative!important}
.site-header.linksworks-header .linksworks-menu summary{display:flex!important;align-items:center!important;justify-content:center!important;width:40px!important;height:40px!important;list-style:none!important;cursor:pointer!important;border:1px solid #ddd!important;border-radius:50%!important}
.site-header.linksworks-header .linksworks-menu summary::-webkit-details-marker{display:none!important}
.site-header.linksworks-header .linksworks-menu summary span{display:block!important;position:relative!important;width:18px!important;height:2px!important;background:#333!important}
.site-header.linksworks-header .linksworks-menu summary span:before,.site-header.linksworks-header .linksworks-menu summary span:after{content:""!important;display:block!important;position:absolute!important;left:0!important;width:18px!important;height:2px!important;background:#333!important}
.site-header.linksworks-header .linksworks-menu summary span:before{top:-6px!important}.site-header.linksworks-header .linksworks-menu summary span:after{top:6px!important}
.site-header.linksworks-header .linksworks-menu-panel{position:absolute!important;right:0!important;top:calc(100% + 8px)!important;z-index:999!important;display:flex!important;flex-direction:column!important;width:min(300px,85vw)!important;padding:12px 18px!important;background:#fff!important;border:1px solid #e7e0d5!important;border-radius:12px!important;box-shadow:0 12px 32px #0002!important}
.site-header.linksworks-header .linksworks-menu-panel a{display:block!important;padding:10px 6px!important;font-size:14px!important;color:#24231f!important;text-decoration:none!important}
@media(max-width:560px){.site-header.linksworks-header{padding:10px 16px!important;min-height:64px!important}.site-header.linksworks-header .linksworks-brand-logo{width:40px!important;height:40px!important;min-width:40px!important;max-width:40px!important;max-height:40px!important;flex-basis:40px!important}.site-header.linksworks-header .linksworks-brand-name{font-size:25px!important}.site-header.linksworks-header .linksworks-brand-tagline{font-size:6px!important}}

/* Preserve legally relevant PR marker beside the shared menu on recommendation LPs. */
.site-header.linksworks-header .linksworks-header-actions .header-pr{display:inline-flex!important;align-items:center!important;justify-content:center!important;position:static!important;visibility:visible!important;opacity:1!important;width:auto!important;min-width:30px!important;height:auto!important;margin:0!important;padding:3px 6px!important;font:600 12px/1.3 -apple-system,BlinkMacSystemFont,"Hiragino Sans",sans-serif!important;color:#555!important;background:#fff!important;border:1px solid #aaa!important;border-radius:3px!important;white-space:nowrap!important;flex:0 0 auto!important}
