/* Header / footer / floating banner of the live top page, scoped so they can be dropped into
   pages that carry their own inline styles (used by the /_phase1/ test pages).
   Source of truth for the look: assets/css/style.css. */
:root{--bg:#fffff7;--ink:#333;--mute:#838383;
  --font:"Noto Sans JP","Hiragino Kaku Gothic ProN","Hiragino Sans",Meiryo,sans-serif;--en:"Montserrat","Noto Sans JP",sans-serif}
html{scroll-padding-top:80px}
body.has-chrome{padding-top:80px}
/* 日本語の折り返しを文節単位に（対応ブラウザのみ・2026-12-02） */
body.has-chrome{word-break:auto-phrase;overflow-wrap:anywhere}
.site-header,.site-footer,.float-banner{font-family:var(--font);font-weight:400;line-height:1.8;color:var(--ink);-webkit-font-smoothing:antialiased}
.site-header *,.site-footer *,.float-banner *{box-sizing:border-box}
.site-header a,.site-footer a{color:inherit;text-decoration:none}
.site-header a:hover,.site-footer a:hover{color:inherit}
.site-header img,.site-footer img,.float-banner img{display:block;max-width:100%;height:auto}
.site-header p,.site-footer p{margin:0}
.site-header button{font:inherit;color:inherit;background:none;border:0;padding:0;cursor:pointer}

.site-header{position:fixed;inset:0 0 auto 0;height:80px;background:var(--bg);z-index:50;display:flex;align-items:center;justify-content:space-between;padding:0 34px}
.site-header .logo img{width:110px;height:43px}
.gnav{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);display:flex;gap:20px;white-space:nowrap}
.gnav a{font-size:14px;font-weight:600;line-height:1;padding:8px 0;letter-spacing:.02em}
.gnav a:hover{opacity:.6}
.hbtns,.fbtns .pill{}
.hbtns{display:flex;gap:24px}
.site-header .pill,.site-footer .pill{display:inline-flex;align-items:center;justify-content:center;border:1px solid #8f8f8f;border-radius:48px;font-size:14px;font-weight:600;line-height:19.6px;padding:7px 20px;background:transparent;transition:background .2s}
.site-header .pill:hover,.site-footer .pill:hover{background:#fff}
.menu-btn{display:none}

.float-banner{position:fixed;right:32px;bottom:32px;width:320px;border-radius:8px;box-shadow:0 0 10px 4px rgba(163,163,163,.2);overflow:hidden;z-index:40;background:#eee;display:block}
.float-banner img{width:100%}

.site-footer{background:var(--bg);padding:108px 80px 0;min-height:911px;position:relative}
.fcols{display:flex;gap:64px;align-items:flex-start}
.fcols .logo img{width:110px;height:43px}
.fnav{display:flex;flex-direction:column;gap:20px;margin-left:20px}
.fnav a{font-size:14px;line-height:14px;font-weight:600}
.fbtns{display:flex;flex-direction:column;gap:23px;margin-left:30px}
.frel{margin-left:auto;margin-right:100px;display:flex;flex-direction:column;gap:10px}
.frel a{display:flex;align-items:center;gap:8px;font-size:14px;line-height:26.6px}
.frel img{width:18px;height:14px}
.fsmall{display:flex;flex-direction:column;gap:10px;margin:28px 0 0 26px;font-size:11px;line-height:20.9px}
.fbig{margin:300px auto 0;width:min(1571px,100%)}
.copy{position:absolute;right:80px;bottom:60px;font-family:"Inter",var(--en);font-size:12px;line-height:22.8px}

@media (max-width:1380px) and (min-width:1101px){
  /* ナビ8項目（イベント追加後）が中間幅で右側ボタンと重ならないよう圧縮（2026-12-02） */
  .gnav{gap:12px}
  .gnav a{font-size:13px}
  .hbtns{gap:14px}
  .site-header .pill{padding:7px 14px}
  .site-header{padding:0 24px}
}
@media (max-width:1100px){
  .gnav{display:none}
  .hbtns{display:none}
  .menu-btn{display:block;width:44px;height:44px;position:relative}
  .menu-btn::before,.menu-btn::after{content:"";position:absolute;left:10px;right:10px;height:2px;background:var(--ink);top:17px;transition:transform .2s,top .2s}
  .menu-btn::after{top:26px}
  /* 開いている間は×に（2026-12-03） */
  body.nav-open .menu-btn::before{top:21px;transform:rotate(45deg)}
  body.nav-open .menu-btn::after{top:21px;transform:rotate(-45deg)}
  body.nav-open .gnav,body.nav-open .hbtns{display:flex;position:fixed;left:0;right:0;transform:none;background:var(--bg);flex-direction:column;align-items:flex-start;padding:24px 34px;gap:18px}
  body.nav-open .gnav{top:80px}
  body.nav-open .hbtns{top:auto;bottom:0;flex-direction:row;padding-bottom:40px}
  .float-banner{display:none}
}
@media (max-width:720px){
  .site-header{padding:0 16px}
  .site-footer{padding:60px 24px 0}.fcols{flex-wrap:wrap;gap:32px}.frel{margin:0}.fbig{margin-top:120px}
  .copy{position:static;margin-top:24px;text-align:right}
}
