/* Nodus Consulting 制作サンプル：共通の「サンプル帯」と「制作メモ」。
   サンプルごとのデザインとは無関係に、いつも同じ見た目で出す（サンプルが本物の会社に見えないようにするため）。
   サンプル側のルール：
     ・固定（fixed / sticky）のヘッダーは top: var(--soegi-bar-h) にする
     ・画面いっぱいの要素は min-height: calc(100svh - var(--soegi-bar-h)) にする
     ・アンカー移動の余白は scroll-padding-top に var(--soegi-bar-h) を足す */
/* 帯の大きさは px で決める（ブラウザの文字拡大やルートの font-size を変えても、帯がはみ出さず、高さが変わらないように） */
:root { --soegi-bar-h: 40px; }
body { padding-top: var(--soegi-bar-h); }

.soegi-bar {
  position: fixed; inset: 0 0 auto 0; z-index: 2147483000; height: var(--soegi-bar-h); max-width: 100vw; overflow: hidden;
  display: flex; align-items: center; gap: 12px; padding: 0 max(12px, env(safe-area-inset-left));
  background: #1D2327; color: #F2F5F6; border-bottom: 1px solid #39434A;
  font: 500 12.5px/1.3 "Hiragino Sans", "Yu Gothic", "YuGothic", Meiryo, system-ui, sans-serif; letter-spacing: .02em;
}
.soegi-bar * { box-sizing: border-box; }
.soegi-bar__tag { flex: none; padding: 2px 8px; border-radius: 999px; background: #B3243B; color: #fff; font-weight: 700; font-size: 11px; letter-spacing: .06em; }
.soegi-bar__text { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.soegi-bar__links { margin-left: auto; display: flex; gap: 4px; flex: none; }
.soegi-bar__links a, .soegi-bar__links button {
  min-height: 32px; padding: 0 10px; border: 1px solid #5A666D; border-radius: 6px; background: transparent; color: inherit;
  font: inherit; text-decoration: none; cursor: pointer; display: inline-flex; align-items: center; white-space: nowrap;
}
.soegi-bar__links a:hover, .soegi-bar__links button:hover { background: #2B3338; }
.soegi-bar a:focus-visible, .soegi-bar button:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
@media (max-width: 34rem) {
  .soegi-bar__text { display: none; }
  .soegi-bar__links a, .soegi-bar__links button { padding: 0 8px; }
}

/* 制作メモ（dialog） */
.soegi-memo {
  width: min(42rem, calc(100vw - 1.5rem)); max-height: calc(100dvh - 1.5rem); padding: 0; border: 0; border-radius: 14px;
  background: #fff; color: #1D2327; box-shadow: 0 24px 60px rgba(0, 0, 0, .35);
  font: 400 15px/1.8 "Hiragino Sans", "Yu Gothic", "YuGothic", Meiryo, system-ui, sans-serif; letter-spacing: .02em;
}
.soegi-memo::backdrop { background: rgba(10, 14, 16, .55); }
.soegi-memo * { box-sizing: border-box; }
.soegi-memo__in { display: flex; flex-direction: column; max-height: calc(100dvh - 1.5rem); }
.soegi-memo__hd { display: flex; align-items: flex-start; gap: .75rem; padding: 1rem 1rem 1rem 1.25rem; border-bottom: 1px solid #E4EAEC; }
.soegi-memo__hd h2 { margin: 0; margin-right: auto; font-size: 1.05rem; line-height: 1.5; font-weight: 700; }
.soegi-memo__hd small { display: block; font-size: .78rem; font-weight: 500; color: #5F6A70; }
.soegi-memo__x { flex: none; width: 2.5rem; height: 2.5rem; border: 0; border-radius: 50%; background: #ECF0EF; color: #1D2327; font-size: 1.2rem; line-height: 1; cursor: pointer; }
.soegi-memo__bd { padding: 1rem 1.25rem 1.25rem; overflow: auto; }
.soegi-memo dl { margin: 0; display: grid; gap: .9rem; }
.soegi-memo dt { font-size: .78rem; font-weight: 700; color: #B3243B; letter-spacing: .06em; }
.soegi-memo dd { margin: .1rem 0 0; }
.soegi-memo ul { margin: .1rem 0 0; padding-left: 1.2rem; }
.soegi-memo__m { margin-top: 1.1rem; padding: .9rem 1rem; border-radius: 10px; background: #F5F7F6; border: 1px solid #E4EAEC; }
.soegi-memo__m h3 { margin: 0 0 .4rem; font-size: .9rem; }
.soegi-memo__m table { width: 100%; border-collapse: collapse; font-size: .88rem; }
.soegi-memo__m th, .soegi-memo__m td { padding: .3rem .25rem; text-align: left; border-bottom: 1px solid #E4EAEC; vertical-align: top; }
.soegi-memo__m th { font-weight: 500; color: #465056; width: 46%; }
.soegi-memo__m td { font-variant-numeric: tabular-nums; font-weight: 700; }
.soegi-memo__m p { margin: .5rem 0 0; font-size: .78rem; color: #5F6A70; line-height: 1.6; }
.soegi-memo__x:focus-visible, .soegi-memo__bd a:focus-visible { outline: 2px solid #B3243B; outline-offset: 2px; }
