@charset "UTF-8";

/* ================================================================
   ゼロから始める建築施工管理 共通スタイル
   テーマカラー: #2a4073（深紺 / kentiku-kouzou.jp 姉妹サイト統一色）
   h2デザイン: 塗りつぶし背景＋下三角（mobile）/ 塗りつぶし背景（desktop）
   ================================================================ */

img { max-width: 100%; height: auto; }

/* 折り畳み式目次（旧型 checkbox 式） */
.toc-container { background: #f8f9fa; border: 2px solid #ccc; padding: 10px; margin-bottom: 20px; border-radius: 8px; box-shadow: 2px 2px 8px rgba(0,0,0,0.1); }
.toc-title { font-weight: bold !important; cursor: pointer !important; display: block !important; background: #e0e0e0 !important; padding: 8px !important; text-align: center !important; border-radius: 5px !important; color: #333 !important; }
.toc-list { list-style: none; padding: 10px; margin: 0; }
.toc-list li { padding: 5px 0; }
.toc-list a { text-decoration: none; color: #0073e6; font-weight: bold; }
.toc-checkbox { display: none; }
.toc-content { display: none; }
.toc-checkbox:checked + .toc-title + .toc-content { display: block; }

/* hover effect on images */
.figure img, .figure2 img { opacity: 1; transition: .3s ease-in-out; }
.figure:hover img, .figure2:hover img { opacity: .5; }

/* ================================================================
   Mobile (max-width: 950px)
   ================================================================ */
@media screen and (max-width: 950px) {
  .wrapper { overflow: hidden; }
  ol, ul { list-style: none; }
  html { font: 17px "メイリオ", Meiryo, Osaka, "ヒラギノ角ゴ Pro W3", "ＭＳ ゴシック", Arial, sans-serif; }
  section { display: block; }
  body { background: #fff; width: 100%; color: #313336; }
  header { width: 100%; overflow: hidden; }

  .topmenu { width: 100%; height: 80px; margin: 0 auto; background: #2a4073; font-family: 'Avenir','Helvetica Neue','Helvetica','Arial','Hiragino Sans','ヒラギノ角ゴシック',YuGothic,'Yu Gothic','メイリオ',Meiryo,'ＭＳ Ｐゴシック','MS PGothic'; }
  span a:link, span a:visited, span a:active { text-decoration: none; color: #ffffff; }
  span a { position: relative; display: inline-block; transition: .3s; font-size: 12px; }
  span a::after { position: absolute; bottom: 0; left: 50%; content: ''; width: 0; height: 1px; background-color: #ffffff; transition: .3s; transform: translateX(-50%); }
  span a:hover::after { width: 100%; }
  span { font-weight: bold; }

  .topmenu2 { padding: 0; margin-top: 10px; margin-left: 4%; margin-right: 4%; width: 100%; font-family: 'Avenir','Helvetica Neue','Helvetica','Arial','Hiragino Sans','ヒラギノ角ゴシック',YuGothic,'Yu Gothic','メイリオ',Meiryo,'ＭＳ Ｐゴシック','MS PGothic'; font-size: 12px; }
  .topmenu3 { width: 100%; height: 30px; margin: 0 auto; padding-top: 10px; text-align: center; }
  .sideul { border: 0; }
  .h_image { padding: 0; position: relative; margin: 0; text-align: center; }
  p { font-size: 17px; line-height: 1.7; color: #333333; margin-bottom: 1.0em; }
  section { padding: 15px 5px 15px 10px; margin: 0; }

  .arrow { position: relative; display: inline-block; padding: 0 0 0 17px; vertical-align: middle; text-decoration: none; font-size: 15px; }
  .arrow::before, .arrow::after { position: absolute; top: 0; bottom: 0; left: 0; margin: auto; content: ""; vertical-align: middle; }
  .sample4-3::before { width: 12px; height: 12px; border-radius: 25%; background: #0044CC; }
  .sample4-3::after { left: 5px; box-sizing: border-box; width: 3px; height: 3px; border: 3px solid transparent; border-left: 3px solid #fff; }

  a:link, a:visited, a:active { text-decoration: underline; color: #0044CC; }
  a:hover { text-decoration: underline; color: #0044CC; }

  .pan-list-inline { margin: 0; padding: 0; }
  .pan-list-inline li { display: inline; margin: 0; padding: 0; list-style-type: none; font-size: 6pt; }
  .contents4 { display: none; }
  .contents5 { float: left; width: 100%; background-color: #ffffff; margin-bottom: 0; margin-top: 10px; margin-left: 6px; border: 0; }
  * { margin: 0; padding: 0; }
  .contents1 { padding: 4% 5px 4% 10px; margin-left: 10px; margin-right: 10px; }
  .contents33 { padding: 4% 5px 4% 10px; margin-left: 10px; margin-right: 10px; }
  .contents35 { display: none; }

  h1 { font-family: "游ゴシック", YuGothic, "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif; display: block; font-size: 1.5em; margin: 1em 0 0.5em; font-weight: bold; }
  h2 { position: relative; padding: .5em .75em; background-color: #1e3a6a; border-radius: 11px; margin-top: 2.5em; margin-bottom: 1.0em; color: #ffffff; display: block; }
  h2::after { position: absolute; top: 100%; left: 30px; content: ''; width: 0; height: 0; border: 10px solid transparent; border-top: 15px solid #1e3a6a; }
  h3 { font-size: 1.30em; font-family: "游ゴシック", YuGothic, "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif; color: #3E3E3E; border-left: solid 6px #1e3a6a; padding: .7em 0 .7em .8em; margin-top: 2.5em; margin-bottom: 0.5em; font-weight: bold; }
  h4 { font-size: 17px; font-family: "游ゴシック", YuGothic, "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif; color: #333333; margin: 2.0em 0 0.5em; font-weight: bold; padding: .5em .75em; background-color: whiteSmoke; border-radius: 6px; }
  h5 { font-size: 17px; color: #ffffff; font-weight: bold; padding: .5em .75em; background-color: #1e3a6a; border-radius: 6px; }

  ul { padding-left: 20px; padding-top: 5px; padding-bottom: 5px; margin-left: 20px; margin-bottom: 20px; margin-top: 10px; border: 2px skyblue dashed; list-style-type: none; font-size: 15px; }
  .sideul { border: 0; }
  table, td, th { border: 1px solid #595959; border-collapse: collapse; }
  td, th { padding: 3px; width: 150px; height: 25px; }
  th { background: #f0e6cc; }
}

/* ================================================================
   Desktop (min-width: 950px)
   ================================================================ */
@media screen and (min-width: 950px) {
  .wrapper { max-width: 1040px; margin: 0 auto; line-height: 1.5; }
  .main { max-width: 1040px; }
  a:link, a:visited, a:active { text-decoration: underline; color: #0044CC; }
  a:hover { text-decoration: underline; color: #0044CC; }

  .arrow { position: relative; display: inline-block; padding: 0 0 0 17px; color: #000; vertical-align: middle; text-decoration: none; font-size: 15px; }
  .arrow::before, .arrow::after { position: absolute; top: 0; bottom: 0; left: 0; margin: auto; content: ""; vertical-align: middle; }
  .sample4-3::before { width: 12px; height: 12px; border-radius: 25%; background: #0044CC; }
  .sample4-3::after { left: 5px; box-sizing: border-box; width: 3px; height: 3px; border: 3px solid transparent; border-left: 3px solid #fff; }

  body { font-family: 'Avenir','Helvetica Neue','Helvetica','Arial','Hiragino Sans','ヒラギノ角ゴシック',YuGothic,'Yu Gothic','メイリオ',Meiryo,'ＭＳ Ｐゴシック','MS PGothic'; background: #fff; }
  .header { width: 100%; height: 100%; }
  .h_image { padding: 0; position: relative; margin: 0; text-align: center; }

  .topmenu { max-width: 1040px; height: 50px; margin: 0 auto; background: #2a4073; font-family: 'Avenir','Helvetica Neue','Helvetica','Arial','Hiragino Sans','ヒラギノ角ゴシック',YuGothic,'Yu Gothic','メイリオ',Meiryo,'ＭＳ Ｐゴシック','MS PGothic'; }
  span a:link, span a:visited, span a:active { text-decoration: none; color: #ffffff; }
  span a { position: relative; display: inline-block; transition: .3s; }
  span a::after { position: absolute; bottom: 0; left: 50%; content: ''; width: 0; height: 1px; background-color: #ffffff; transition: .3s; transform: translateX(-50%); }
  span a:hover::after { width: 100%; }
  span { font-weight: bold; font-size: 0.90rem; }
  .topmenu2 { padding-right: 28px; padding-left: 28px; margin-top: 10px; width: 100px; }
  .topmenu3 { max-width: 1040px; height: 40px; margin: 0 auto; padding-top: 10px; }

  .contents1 { float: left; width: 680px; background-color: #ffffff; margin-top: 10px; margin-bottom: 10px; margin-left: 0; }
  .contents5 { float: left; width: 100%; background-color: #ffffff; margin-top: 10px; margin-bottom: 0; margin-left: 0; clear: both; }
  .pan-list-inline li.home { display: inline; margin: 0; padding: 0; list-style-type: none; font-size: 10pt; }
  .contents33 { float: right; width: 336px; margin-top: 5px; margin-bottom: 5px; margin-left: 15px; }
  .contents34 { float: right; width: 336px; margin-top: 10px; margin-bottom: 30px; margin-left: 15px; }
  .contents35 { float: right; width: 336px; margin-top: 10px; margin-bottom: 30px; margin-left: 15px; }

  .saitonaikou-top { float: left; width: 1038px; background-color: #ffffff; margin-bottom: 0; margin-top: 0; padding-bottom: 10px; padding-top: 10px; clear: both; }
  .saitonaikou { float: left; width: 1038px; background-color: #ffffff; border: 1px solid #dadada; margin-bottom: 10px; margin-top: 10px; padding-bottom: 0; padding-top: 10px; clear: both; }

  section { padding: 4% 5px 0 10px; margin-left: 10px; margin-right: 10px; }
  .footer { margin: auto; clear: both; max-width: 1065px; height: 100%; background-color: #2a4073; }
  .kasentaitoru { float: left; width: 990px; background-color: #ffffff; margin-top: 0; margin-bottom: 10px; margin-left: 0; clear: both; }

  h2, p { margin: 0 1em; text-align: justify; text-justify: inter-ideograph; }
  h1 { text-align: justify; text-justify: inter-ideograph; }
  p { font-size: 17px; line-height: 2.0; color: #080000; margin-bottom: 1.0em; }

  h1 { font-family: "游ゴシック", YuGothic, "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif; display: block; font-size: 2em; font-weight: bold; margin: 0; border-bottom: none; }
  h2 { position: relative; padding: .5em .75em; background-color: #1e3a6a; border-radius: 6px; margin-top: 2.5em; margin-bottom: 1.0em; color: #ffffff; display: block; }
  h3 { font-size: 1.30em; font-family: "游ゴシック", YuGothic, "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif; color: #3E3E3E; border-left: solid 6px #1e3a6a; padding: .7em 0 .7em .8em; margin-top: 2.5em; margin-bottom: 0.5em; font-weight: bold; }
  h4 { font-size: 17px; font-family: "游ゴシック", YuGothic, "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif; color: #333333; margin: 2.0em 0 0.5em; font-weight: bold; padding: .5em .75em; background-color: whiteSmoke; border-radius: 6px; }
  h5 { font-size: 17px; color: #ffffff; margin: 0; font-weight: bold; padding: .5em .75em; background-color: #1e3a6a; border-radius: 6px; }

  .pan-list-inline { margin: 0; padding: 0; }
  .pan-list-inline li { display: inline; margin: 0; padding: 0 0 0 18px; list-style-type: none; font-size: 9pt; }

  ul { padding-left: 20px; padding-top: 5px; padding-bottom: 5px; margin-left: 20px; margin-bottom: 20px; margin-top: 10px; border: 2px skyblue dashed; list-style-type: none; font-size: 15px; }
  .sideul { margin-top: 0; margin-bottom: 10px; margin-left: 0; border: 0; }

  table { margin: 0.5em 1em 1em; border-collapse: collapse; }
  table, td, th { border: 1px solid #595959; }
  td, th { padding: 3px; width: 150px; height: 25px; }
  th { background: #f0e6cc; }
  .even { background: #fbf8f0; }
  .odd { background: #fefcf9; }
}

/* ================================================================
   コンポーネントボックス（PC/Mobile共通）
   ================================================================ */

/* h1直下の要点ボックス */
.article-point-box { border: 1px solid #d8e4ef; background: #f9fcff; padding: 12px 14px; margin: 16px 1em 20px; border-radius: 6px; font-size: 15px; line-height: 1.8; }
.article-point-title, .admin-comment-title, .confusing-terms-title { font-size: 17px; font-weight: bold; margin: 0 0 10px; color: #333333; line-height: 1.6; }
.article-point-title { font-size: 16px; color: #1e3a6a; padding: 0 0 0 8px; border-left: 4px solid #1e3a6a; }
.article-point-box p, .admin-comment-box p, .confusing-terms-box p, .source-box p { margin: 0 0 8px; line-height: 1.8; }
.article-point-box p:last-child, .admin-comment-box p:last-child, .confusing-terms-box p:last-child, .source-box p:last-child { margin-bottom: 0; }

/* 一言でいうと */
.simple-note { background: #f7f9fc; border-left: 3px solid #1e3a6a; padding: 0.55em 0.9em; margin: 0.5em 1em 1.4em; font-size: 15px; line-height: 1.85; color: #333; }

/* 管理人コメント */
.admin-comment-box { border-left: 5px solid #1e3a6a; background: #f7f9fc; padding: 12px 14px; margin: 20px 1em; border-radius: 4px; font-size: 15px; line-height: 1.8; }

/* 混同しやすい用語 */
.confusing-terms-box { border: 1px solid #e1e1e1; background: #fbfbfb; padding: 12px 14px; margin: 20px 1em; border-radius: 6px; font-size: 15px; line-height: 1.8; }
.confusing-term-name { font-size: 16px; font-weight: bold; margin: 12px 0 4px; padding: .35em .6em; background: #f1f3f5; border-radius: 5px; color: #333333; }

/* 根拠・参考 */
.source-box { border: 1px solid #e2e2e2; background: #fafafa; padding: 12px 14px; margin: 18px 1em; border-radius: 6px; font-size: 14px; line-height: 1.8; }
.source-box-title { font-size: 17px; font-weight: bold; margin: 0 0 10px; color: #333333; line-height: 1.6; }

/* hタグが入っている旧HTMLへの応急リセット */
.admin-comment-box h3, .confusing-terms-box h3, .source-box h3 { font-size: 17px; margin: 0 0 10px; padding: 0; border-left: none; border-bottom: none; background: none; color: #333333; font-weight: bold; }
.confusing-terms-box h4 { font-size: 16px; margin: 12px 0 4px; padding: .35em .6em; background: #f1f3f5; border-radius: 5px; color: #333333; font-weight: bold; }

/* サイトタイトルリンクの下線なし */
.header h1 a { text-decoration: none !important; }

/* 後方互換：旧p.h_image形式も残す */
.site-header-title { display: block; color: #ffffff !important; font-size: 1.9rem; font-weight: bold; letter-spacing: 0.08em; padding: 16px 20px 8px; text-decoration: none !important; text-align: center; line-height: 1.4; font-family: "游ゴシック", YuGothic, "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, sans-serif; }
.site-header-title:hover { opacity: 0.85; text-decoration: none !important; }
.site-header-sub { display: block; font-size: 0.55em; font-weight: normal; letter-spacing: 0.06em; opacity: 0.92; margin-top: 3px; }

/* もちごめ吹き出し */
.sokuta-voice { display: flex; align-items: flex-start; gap: 14px; margin: 18px 1em 22px; }
.sokuta-voice-icon { width: 60px; height: 60px; border-radius: 50%; flex-shrink: 0; }
.sokuta-voice-bubble { position: relative; background: #fff; border: 2px solid #1e3a6a; border-radius: 12px; padding: 10px 14px; font-size: 15px; line-height: 1.8; }
.sokuta-voice-bubble::before { content: ''; position: absolute; left: -16px; top: 14px; border: 8px solid transparent; border-right-color: #1e3a6a; }
.sokuta-voice-bubble::after { content: ''; position: absolute; left: -11px; top: 17px; border: 5px solid transparent; border-right-color: #fff; }
.sokuta-voice-name { font-size: 12px; font-weight: bold; color: #1e3a6a; margin: 0 0 5px !important; line-height: 1.4; }
.sokuta-voice-bubble p { margin: 0; }
.sokuta-answer { font-weight: bold; color: #1e3a6a; margin: 0 1em 14px; font-size: 16px; }
section > h2:first-child { margin-top: 0.8em; }

/* テキスト強調 */
.marker { background-color: #ff9; padding: 0 2px; font-size: inherit; }
.marker-under { background: linear-gradient(transparent 60%, #ff9 60%); padding: 0 2px; font-size: inherit; }
.bold-red { font-weight: bold; color: #e60033; font-size: inherit; }

/* 視線誘導文（article-guide-box） */
.article-guide-box { margin: 14px 1em 20px; padding: 4px 0; }
.article-guide-box p { margin: 0; font-size: 16px; line-height: 1.9; }

/* ================================================================
   折り畳み式目次（details/summary 式）
   ================================================================ */
.toc-box { border: 1px solid #c8d4e8; background: #f5f7fb; border-radius: 6px; margin: 16px 0 20px; padding: 0; }
.toc-box summary { cursor: pointer; list-style: none; padding: 10px 14px; background: #d8e3f0; border-radius: 6px 6px 0 0; font-size: 0.88em; font-weight: bold; color: #1e3a6a; user-select: none; }
.toc-box summary::-webkit-details-marker { display: none; }
.toc-box summary::before { content: "▲ "; font-size: 0.82em; color: #1e3a6a; }
.toc-box details:not([open]) summary::before { content: "▼ "; }
.toc-box ol.toc-h2 { list-style-type: decimal !important; margin: 8px 14px 10px 32px; padding: 0; font-size: 0.87em; line-height: 1.75; }
.toc-box ol.toc-h2 > li { margin: 4px 0; color: #222; }
.toc-box ol.toc-h3 { list-style-type: decimal !important; margin: 4px 0 4px 18px; padding: 0; font-size: 0.92em; line-height: 1.7; color: #555; }
.toc-box ol.toc-h3 > li { margin: 3px 0; }
.toc-box a { color: #0044cc; text-decoration: none; font-weight: normal !important; }
.toc-box a:hover { text-decoration: underline; }

/* ================================================================
   著者ボックス
   ================================================================ */
.author-box { display: flex; gap: 16px; align-items: flex-start; border: 1px solid #c8d4e8; background: #f5f7fb; border-radius: 6px; padding: 16px 18px; margin: 24px 0 8px; }
.author-box-img { width: 72px; height: 72px; border-radius: 50%; object-fit: cover; flex-shrink: 0; }
.author-box-body { flex: 1; }
.author-box-label { font-size: 0.78em; color: #1e3a6a; font-weight: bold; letter-spacing: 0.05em; margin-bottom: 4px; }
.author-box-name { font-size: 1em; font-weight: bold; color: #222; margin-bottom: 2px; }
.author-box-org { font-size: 0.82em; color: #666; font-weight: normal; margin-left: 6px; }
.author-box-bio { font-size: 0.85em; line-height: 1.75; color: #444; margin-top: 6px; margin-bottom: 8px; }
.author-box-links { font-size: 0.82em; }
.author-box-links a { color: #0044cc; text-decoration: none; margin-right: 10px; }
.author-box-links a:hover { text-decoration: underline; }

/* ================================================================
   kansan.jp型カテゴリナビ（PC/Mobile共通）
   ================================================================ */
.sekou-nav {
  border-top: 2px solid #2a4073;
  border-bottom: 1px solid #ddd;
  padding: 7px 12px;
  background: #fafafa;
  font-size: 13px;
  line-height: 2;
  overflow-x: auto;
  white-space: nowrap;
}
.sekou-nav a { color: #333; text-decoration: none; }
.sekou-nav a:hover { text-decoration: underline; color: #2a4073; }

@media screen and (max-width: 950px) {
  .h_image, #h_image { display: none !important; }
  .contents1 { margin-left: 0; margin-right: 0; padding: 10px 14px 20px; }
  h1 { font-size: 1.42em; line-height: 1.45; margin-top: 0.6em; margin-bottom: 0.45em; }
  .article-point-box { margin: 10px 0 14px; padding: 10px 12px; }
  .contents5 { float: none; width: auto; margin: 6px 10px 0; padding: 0; box-sizing: border-box; }
  .pan-list-inline li { display: block; font-size: 11px; line-height: 1.5; white-space: normal; overflow: visible; }
  .contents1 section > p, .contents1 > p { font-size: 15.5px; line-height: 1.9; margin-bottom: 1.05em; }
  .article-point-box p, .admin-comment-box p, .confusing-terms-box p, .source-box p, .article-guide-box p { font-size: 15px; line-height: 1.8; }
  .author-box { flex-direction: row; align-items: flex-start; gap: 12px; padding: 14px; }
  .author-box-img { width: 56px; height: 56px; }
  .author-box-bio { font-size: 0.83em; }
  .article-guide-box p { font-size: 15px; }
  .sokuta-voice { flex-direction: row; gap: 10px; padding: 12px; margin: 0 0 12px; }
  .sokuta-voice-icon { width: 46px; height: 46px; }
  .sokuta-answer { margin: -4px 0 16px; }
}

/* ================================================================
   インデックスページ用カテゴリグリッド
   ================================================================ */
.category-grid { display: flex; flex-wrap: wrap; gap: 12px; margin: 20px 1em; clear: both; list-style: none; padding: 0; border: 0; }
.category-card { flex: 1 1 calc(33% - 12px); min-width: 200px; background: #f9f9f9; border: 1px solid #ccc; border-radius: 4px; padding: 16px; text-decoration: none; display: block; }
.category-card:hover { background: #dce6f5; text-decoration: none; }
.category-card-title { color: #1e3a6a; font-weight: bold; font-size: 1em; margin-bottom: 6px; display: block; }
.category-card-desc { color: #555; font-size: 0.85em; line-height: 1.6; margin: 0; }

.featured-articles { margin: 16px 1em; }
.featured-articles ul { border: none; list-style: none; padding: 0; margin: 0; }
.featured-articles li { padding: 6px 0; border-bottom: 1px solid #eee; font-size: 15px; }

@media screen and (max-width: 950px) {
  .category-card { flex: 1 1 calc(50% - 12px); min-width: 140px; }
}
@media screen and (max-width: 480px) {
  .category-card { flex: 1 1 100%; }
}

/* ================================================================
   ○×クイズ ブロック（年度別過去問ページ用）
   ================================================================ */
.qa-block { border: 1px solid #c8d4e8; border-radius: 6px; margin: 10px 0; overflow: hidden; }
.qa-header { display: flex; align-items: baseline; gap: 8px; padding: 6px 12px; background: #f0f4fa; border-bottom: 1px solid #c8d4e8; }
.qa-no { font-size: 0.78em; font-weight: bold; color: #1e3a6a; min-width: 3.5em; white-space: nowrap; flex-shrink: 0; }
.qa-topic-label { font-size: 0.78em; color: #666; }
.qa-q { padding: 9px 12px 7px; margin: 0 !important; font-size: 15px; line-height: 1.75; }
details.qa-answer summary { cursor: pointer; list-style: none; padding: 5px 12px; font-size: 0.82em; font-weight: bold; color: #1e3a6a; background: #f7f7f7; border-top: 1px solid #c8d4e8; user-select: none; }
details.qa-answer summary::-webkit-details-marker { display: none; }
details.qa-answer summary::before { content: "▼ 答えを見る"; }
details.qa-answer[open] summary::before { content: "▲ 閉じる"; }
.qa-answer-body { padding: 9px 12px 11px; font-size: 14px; line-height: 1.85; background: #fff; border-top: 1px solid #eee; }
.qa-answer-body p { margin: 0 0 6px !important; font-size: 14px !important; line-height: 1.85 !important; }
.qa-answer-body p:last-child { margin-bottom: 0 !important; }
.qa-maru { color: #c0392b; font-weight: bold; font-size: 1.1em; }
.qa-batu { color: #1e3a6a; font-weight: bold; font-size: 1.1em; }

/* 年度別ページのカテゴリ誘導リンク */
.year-cat-link { margin: 14px 0 20px; font-size: 14px; }
.year-cat-link a { color: #0044cc; }

/* 記事本文内のul要素：枠線なし・本文と同サイズに統一 */
.contents1 ul { border: none; font-size: 17px; line-height: 1.9; }
@media screen and (max-width: 950px) {
  .contents1 ul { font-size: 15.5px; }
}

/* ================================================================
   法令確認日 / リスク・罰則ノート
   ================================================================ */
.article-date-note { font-size: 0.82em; color: #999; margin: 10px 1em 0; line-height: 1.6; }
.penalty-note { border-left: 4px solid #c0392b; background: #fff8f8; padding: 10px 14px; margin: 20px 1em 4px; border-radius: 0 4px 4px 0; font-size: 15px; line-height: 1.8; }
.penalty-note p { margin: 0; }

/* ================================================================
   同カテゴリ関連記事ボックス
   ================================================================ */
.related-category-box { border: 1px solid #c8d4e8; border-radius: 6px; margin: 16px 1em 20px; overflow: hidden; }
.related-category-title { cursor: pointer; list-style: none; padding: 9px 14px; background: #eef2f9; font-size: 0.88em; font-weight: bold; color: #1e3a6a; user-select: none; }
.related-category-title::-webkit-details-marker { display: none; }
.related-category-list { list-style: none !important; border: none !important; margin: 0 !important; padding: 6px 14px 10px !important; }
.related-category-list li { padding: 4px 0; border-bottom: 1px solid #eef2f9; font-size: 14px; }
.related-category-list li:last-child { border-bottom: none; }
.related-category-list a { color: #0044cc; text-decoration: none; }
.related-category-list a:hover { text-decoration: underline; }

