/* ホームのお知らせ（1行にまとめる）と、お知らせの一覧のシート */
.note-sum{display:flex;align-items:center;gap:.6rem;width:100%;min-height:2.75rem;padding:.4rem .9rem;margin-bottom:.75rem;border:0;border-left:3px solid var(--warn);background:var(--warn-bg);font-size:.875rem;text-align:left;color:var(--ink)}
.note-sum:hover{background:#f6e7c4}
.note-sum .hint{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.note-sum .i:last-child{margin-left:auto;color:var(--muted)}
dialog.note-sheet{max-width:none;position:fixed;inset:0 0 0 auto;margin:0;width:min(28rem,100%);height:100%;max-height:none;border:0;border-left:1px solid var(--line-2);border-radius:0;padding:0;box-shadow:-6px 0 24px #10251f33;overflow:auto}
dialog.note-sheet::backdrop{background:#10251f66}
.note-sheet-head{position:sticky;top:0;z-index:1;display:flex;align-items:center;justify-content:space-between;gap:.75rem;padding:.9rem 1.1rem;background:var(--paper);border-bottom:1px solid var(--line);border-top:2px solid var(--ink)}
.note-sheet-head h2{margin:0;font-size:1.0625rem}
.note-sheet-body{display:grid;gap:.25rem;padding:1rem 1.1rem 1.5rem}
.note-sheet-body .note-bar{margin-bottom:.5rem}
@media(max-width:640px){
  dialog.note-sheet{inset:auto 0 0 0;width:100%;height:auto;max-height:82vh;border-left:0;border-top:1px solid var(--line-2);border-radius:8px 8px 0 0;box-shadow:0 -6px 24px #10251f33}
}
@media(prefers-reduced-motion:no-preference){
  dialog.note-sheet[open]{animation:notesheetin .2s ease-out}
  @keyframes notesheetin{from{transform:translateX(24px);opacity:.4}to{transform:none;opacity:1}}
}
/* 右下のAIボタンと重ならないよう、本文の下端に余白をとる（最後までスクロールすると、どのボタンも隠れない） */
main{padding-bottom:6.5rem}
