@charset "UTF-8";
/* ==========================================================================
   gi-security.css ─ セキュリティの基礎知識（wind/news/securiy.html）専用
   2026年9月の全面改訂で追加。共通の gi-legacy.css の上に重ねる。
   ========================================================================== */

/* 本文の幅はほかの旧ページ（.legacy-content の1000px）にそろえる */
.gi-legacy .sec-page .legacy-entry-title { margin-bottom: 16px; }
.gi-legacy .sec-page .sec-lead { font-size: 17px; margin: 0 0 8px; }
.gi-legacy .sec-page .sec-updated { margin: 0; color: var(--gi-sub); font-size: 14px; }

/* 見出しの番号 */
.gi-legacy .sec-page h2 { display: flex; align-items: baseline; gap: 12px; margin-top: 56px; }
.gi-legacy .sec-page .sec-num {
  flex: 0 0 auto; display: inline-flex; align-items: center; justify-content: center;
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--gi-navy); color: #fff; font-size: 17px; font-weight: 700; line-height: 1;
  transform: translateY(-3px);
}
.gi-legacy .sec-page h3 { font-size: 20px; margin: 32px 0 12px; }
.gi-legacy .sec-page h2 + h3, .gi-legacy .sec-page h2 + p + h3 { margin-top: 20px; }

/* 共通の箇条書き（gi2026.css の gi-list は小さいため本文の大きさに合わせる） */
.gi-legacy .sec-page .gi-list { font-size: 16px; margin: 0 0 20px; }
.gi-legacy .sec-page .gi-list li { padding: 10px 0 10px 18px; line-height: 1.8; }
.gi-legacy .sec-page .gi-list li::before { top: calc(10px + .85em); width: 8px; height: 2px; background: var(--gi-accent); }

/* 1 まず押さえたい5つの基本：番号付きのカード */
.gi-legacy .sec-basics { counter-reset: sec-basic; list-style: none; margin: 20px 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.gi-legacy .sec-basics li {
  counter-increment: sec-basic; position: relative;
  padding: 20px 20px 18px 64px;
  border: 1px solid #d7e0e9; border-top: 3px solid var(--gi-navy); border-radius: 0 0 4px 4px;
  background: #f4f7fa;
}
.gi-legacy .sec-basics li:last-child { grid-column: 1 / -1; }
.gi-legacy .sec-basics li::before {
  content: counter(sec-basic); position: absolute; left: 20px; top: 20px;
  width: 30px; height: 30px; border-radius: 50%;
  background: #fff; border: 2px solid var(--gi-navy); color: var(--gi-navy);
  font-size: 15px; font-weight: 700; line-height: 26px; text-align: center;
}
.gi-legacy .sec-basics h3 { margin: 0 0 6px; font-size: 18px; line-height: 1.6; }
.gi-legacy .sec-basics p { margin: 0; font-size: 15px; line-height: 1.85; }

/* 2 被害に遭う前に：チェックリスト */
.gi-legacy .sec-checkgrid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 16px; align-items: start; margin: 0 0 16px; }
.gi-legacy .sec-checkbox { padding: 18px 20px 12px; border: 1px solid #d7e0e9; border-radius: 4px; background: #fff; }
.gi-legacy .sec-checkbox .sec-checkbox__title { margin: 0 0 8px; padding-bottom: 8px; border-bottom: 1px solid var(--gi-line); color: var(--gi-navy); font-size: 17px; font-weight: 700; }
.gi-legacy .sec-check { list-style: none; margin: 0; padding: 0; }
.gi-legacy .sec-check li { position: relative; padding: 8px 0 8px 30px; font-size: 15px; line-height: 1.75; border-bottom: 1px dotted var(--gi-line); }
.gi-legacy .sec-check li:last-child { border-bottom: 0; }
.gi-legacy .sec-check li::before {
  content: ""; position: absolute; left: 2px; top: calc(8px + .35em);
  width: 16px; height: 16px; border: 2px solid var(--gi-navy); border-radius: 3px; background: #fff;
}

/* 補足と「もっと詳しく」 */
.gi-legacy .sec-page .sec-note { padding: 12px 16px; border-left: 3px solid var(--gi-line); background: #f7f9fb; color: var(--gi-text); font-size: 15px; }
.gi-legacy .sec-page .sec-more { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 20px; font-size: 15px; }
.gi-legacy .sec-page a[target="_blank"]::after { content: " ↗"; font-size: .85em; text-decoration: none; display: inline-block; }

/* 3 当社を名乗るメールへの注意 */
.gi-legacy .sec-notice { margin: 8px 0 24px; padding: 18px 22px 4px; border: 1px solid #e4b9b7; border-left: 4px solid var(--gi-accent); border-radius: 0 4px 4px 0; background: #fdf5f4; }
.gi-legacy .sec-notice p { margin: 0 0 14px; font-size: 15px; line-height: 1.85; }
.gi-legacy .sec-notice .sec-notice__title { margin-bottom: 8px; color: var(--gi-accent); font-size: 17px; font-weight: 700; }

/* 2 感染したかも：手順 */
.gi-legacy .sec-steps { counter-reset: sec-step; list-style: none; margin: 0 0 20px; padding: 0; }
.gi-legacy .sec-steps li { counter-increment: sec-step; position: relative; padding: 0 0 18px 56px; }
.gi-legacy .sec-steps li::before {
  content: counter(sec-step); position: absolute; left: 0; top: 0;
  width: 38px; height: 38px; border-radius: 50%;
  background: var(--gi-accent); color: #fff; font-size: 17px; font-weight: 700; line-height: 38px; text-align: center;
}
/* 番号の丸をつなぐ線 */
.gi-legacy .sec-steps li:not(:last-child)::after { content: ""; position: absolute; left: 18px; top: 42px; bottom: 4px; width: 2px; background: #e4b9b7; }
.gi-legacy .sec-steps p { margin: 0; font-size: 15px; line-height: 1.85; }
.gi-legacy .sec-steps .sec-steps__title { margin: 4px 0 4px; color: var(--gi-navy); font-size: 18px; font-weight: 700; }

/* 6 相談先 */
.gi-legacy .sec-contacts { margin: 8px 0 12px; font-size: 15px; }
.gi-legacy .sec-contacts td { line-height: 1.8; }
.gi-legacy .sec-contacts td:first-child { width: 38%; color: var(--gi-navy); font-weight: 700; }
.gi-legacy .sec-contacts td strong { color: var(--gi-text); }
.gi-legacy .sec-page .sec-subhead { margin-top: 36px; }

@media (max-width: 767px) {
  .gi-legacy .sec-page .sec-lead { font-size: 16px; }
  .gi-legacy .sec-page h2 { margin-top: 44px; gap: 10px; }
  .gi-legacy .sec-page .sec-num { width: 30px; height: 30px; font-size: 15px; transform: translateY(-2px); }
  .gi-legacy .sec-page h3 { font-size: 18px; }
  .gi-legacy .sec-basics { grid-template-columns: 1fr; gap: 12px; }
  .gi-legacy .sec-basics li { padding: 16px 16px 14px 56px; }
  .gi-legacy .sec-basics li::before { left: 14px; top: 16px; }
  .gi-legacy .sec-checkgrid { grid-template-columns: 1fr; gap: 12px; }
  .gi-legacy .sec-checkbox { padding: 16px 16px 8px; }
  .gi-legacy .sec-notice { padding: 16px 16px 2px; }
  .gi-legacy .sec-steps li { padding-left: 50px; }
  /* 相談先の表は縦に積む */
  .gi-legacy .sec-contacts, .gi-legacy .sec-contacts tbody, .gi-legacy .sec-contacts tr, .gi-legacy .sec-contacts td { display: block; width: 100%; }
  .gi-legacy .sec-contacts thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .gi-legacy .sec-contacts tr { border-bottom: 1px solid var(--gi-line); padding: 12px 0; }
  .gi-legacy .sec-contacts td { border: 0; padding: 2px 0; }
  .gi-legacy .sec-contacts td:first-child { width: 100%; margin-bottom: 4px; }
}
