.jisseki-title2 {
    max-width: 150px;
    background: #FF9645;
    color: #ffffff;
    text-align: center;
    padding: 5px 35px 5px
}

.jisseki-img-box {
    display: flex;
    justify-content: space-evenly;
}

.keihi-img {
  width: 600px;
    margin: 0 auto;
    display: block;
}

/* (1)(2) の親リスト */
.paren-list {
  list-style: none;
  padding-left: 0;
  margin-left: 0;
  counter-reset: item;
}

/* ★直下の li だけ番号スタイルにする */
.paren-list > li {
  position: relative;
  padding-left: 2em;
  margin: 0.5em 0 1em;
  counter-increment: item;
}

.paren-list > li::before {
  content: "（" counter(item) "）";
  position: absolute;
  left: 0;
  top: 0;
}

/* 黒丸リスト */
.dot-list {
  list-style: disc;
  padding-left: 1.5em; /* 黒丸の左余白 */
  margin-top: 0.5em;
}

/* 黒丸リストの li を親の影響から完全に戻す */
.paren-list .dot-list > li {
  position: static;
  padding-left: 0;
  margin: 0.3em 0;
  list-style: disc;  /* 念のため明示 */
}

/* --- 子：①②③… のための丸数字カウンター定義 --- */
@counter-style circled-decimal {
  system: fixed;
  symbols: ① ② ③ ④ ⑤ ⑥ ⑦ ⑧ ⑨ ⑩
           ⑪ ⑫ ⑬ ⑭ ⑮ ⑯ ⑰ ⑱ ⑲ ⑳;
  suffix: " ";
}

/* 子リスト：①②形式 */
.circle-child-list {
  list-style: none;          /* 黒丸は消す */
  padding-left: 0;
  margin: 0.6em 0 0 0;       /* 親との間隔 */
  counter-reset: child;
}

.circle-child-list > li {
  position: relative;
  padding-left: 2em;
  margin: 0.3em 0;
  counter-increment: child;
}

.circle-child-list > li::before {
  content: counter(child, circled-decimal);
  position: absolute;
  left: 0;
  top: 0;
}

.zoomable { 
  width: 450px;
  cursor: zoom-in; 
  max-width: 100%; 
  height: auto; }

  dialog#imgDialog {
    border: none;
    padding: 0;
    max-width: min(92vw, 1100px);
    max-height: 92vh;
    background: transparent;
  }
  dialog#imgDialog::backdrop { background: rgba(0,0,0,.65); }

  #imgDialog img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 12px;
    background: #fff;
  }

  #closeBtn{
    position: absolute;
    top: 10px; right: 10px;
    width: 40px; height: 40px;
    border: 0;
    border-radius: 999px;
    background: rgba(0,0,0,.55);
    color: #fff;
    font-size: 22px;
    cursor: pointer;
  }