/* 会員ヘッダーのロゴ（公式PNGのロックアップ）。
   header-member.php はすべての会員ページで使われるため、寸法もすべての会員ページへ届く
   ようにここに置く。0.9.9-rc1 では会員ホーム専用のCSSにだけ書いていたため、ホーム以外では
   PNGが原寸のまま大きく表示されていた。
   セレクタは body.member-area 配下だけ。公開側のページには何も起きない。 */
body.member-area .member-header__logo--lockup{display:flex;align-items:center;gap:14px;text-decoration:none}
body.member-area .member-header__mark{display:block;width:30px;height:auto;max-width:none}
body.member-area .member-header__name{display:block;width:112px;height:auto;max-width:none}
body.member-area .member-header__site-name{margin:0;padding:0;font:inherit;line-height:1;letter-spacing:normal;flex:none}

/* スマホ（959px以下）の会員メニュー。
   main.css は「固定表示の開閉メニュー（閉じているときは visibility:hidden）」、redesign.css（800px以下）は
   「通常フローの横並び（position:static）」と、二つの設計が重なっていた。結果、閉じたメニューが
   見えないまま通常フローに置かれ、ロゴの下に300px超の空白ができていた（2026-09-15 社長指摘）。
   ここでは公開側ヘッダーと同じ「閉じているときは display:none、ボタンで開くと本文を押し下げて縦に並ぶ」に統一する。
   ロゴとメニューボタンは同じ行に置く。 */
@media(max-width:959px){
 body.member-area .member-header{height:auto}
 body.member-area .member-header__inner{display:grid;grid-template-columns:1fr auto;align-items:center;gap:0 12px;height:auto;padding:12px 20px}
 body.member-area .member-menu-toggle{grid-column:2;grid-row:1}
 body.member-area .member-navigation{grid-column:1/-1;position:static;inset:auto;display:none;visibility:visible;opacity:1;transform:none;padding:8px 0 4px;background:transparent;overflow:visible;width:100%;min-width:0}
 body.member-area .member-navigation.is-open{display:block}
 body.member-area .member-navigation__list{display:grid;gap:0;min-width:0;padding:0;justify-content:stretch}
 body.member-area .member-navigation a{display:block;padding:14px 4px;border-bottom:1px solid var(--rd-line,#dde4e0);font-size:16px;white-space:normal}
 body.member-area .member-navigation li:last-child a{border-bottom:0}
}

/* 支払い猶予中の帯（0.9.23） */
body.member-area .member-notice{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:8px 20px;padding:12px clamp(16px,4vw,40px);background:#fff3e6;border-bottom:1px solid #f0c48a;color:#5a3a12;font-size:13px;line-height:1.7}
body.member-area .member-notice p{margin:0}
body.member-area .member-notice a{color:#8a4b0f;font-weight:600;text-decoration:none;white-space:nowrap}
body.member-area .member-notice a:hover{text-decoration:underline}
