/* No.03専用CSS。スコープは .diary-03。
   diary-01-final.css の部品（実験メモ・結論・場面区切り・キャプション・用語注記・引用）の
   様式を No.03 用に複製し、図解用の最小追加だけを足したもの。 */
.diary-03 {
  margin-top: 32px;
}

.diary-03 > .talk:first-child,
.diary-03 .ln p {
  margin-top: 0;
}

.diary-03 figure a {
  display: block;
  border-radius: 6px;
}

.diary-03 figure a:focus-visible {
  outline: 3px solid var(--acText);
  outline-offset: 3px;
}

.diary-03 blockquote {
  margin-top: 16px;
  padding: 12px 16px;
  border-left: 4px solid var(--accent);
  background: var(--soft);
}

.diary-03 blockquote p {
  margin: 0;
}

@media (max-width: 599px) {
  .diary-03 h2 {
    margin-top: 44px;
  }
}

/* 実験メモ（折りたたみ） */
.diary-03 details.memo {
  margin-top: 30px;
  border: 2px dashed var(--line);
  border-radius: 12px;
  padding: 14px 18px;
  background: #fff;
}
.diary-03 details.memo summary {
  cursor: pointer;
  font-weight: 900;
}

/* 結論セクション */
.diary-03 .conclusion {
  margin-top: 34px;
  border: 3px solid #D97706;
  border-radius: 14px;
  padding: 20px 22px;
  background: #FEF6E7;
}
.diary-03 .conclusion h2 {
  margin-top: 0;
  color: #B45309;
  border-left-color: #D97706;
}
.diary-03 .conclusion-lead {
  font-size: 19px;
  line-height: 1.8;
}
.diary-03 .conclusion .note {
  font-size: 13px;
  color: var(--muted);
}

/* 場面転換の区切り */
.diary-03 .scene {
  margin-top: 36px;
  text-align: center;
  font-weight: 700;
  color: var(--muted);
  letter-spacing: .08em;
}

/* 画像・図解直下の短いキャプション */
.diary-03 .cap {
  margin-top: 10px;
  font-size: 13px;
  line-height: 1.8;
  color: var(--muted);
  text-align: center;
}

/* 用語の短い補足 */
.diary-03 .term-note {
  margin-top: 16px;
  font-size: 13px;
  line-height: 1.8;
  color: var(--muted);
}

.diary-03 .edge-diagram svg {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 6px;
}
.diary-03 .edge-diagram figcaption {
  margin-top: 8px;
  padding: 2px 4px;
  font-size: 13px;
  line-height: 1.7;
  color: var(--muted);
  text-align: center;
}


/* 判定ルール（持ち帰り成果物） */
.diary-03 .rules-card {
  margin-top: 22px;
  border: 2px solid var(--line);
  border-radius: 12px;
  padding: 16px 18px;
  background: var(--soft);
}
.diary-03 .rules-card h3 {
  margin: 0 0 10px;
  font-size: 16px;
}
.diary-03 .rules-card ul {
  margin: 0;
  padding-left: 20px;
}
.diary-03 .rules-card li {
  margin-top: 8px;
  line-height: 1.8;
}

/* 結果表（B6：.result で包んだ表の列幅。No.01 diary-01-final.css の列幅指定にならい、
   320pxで1列目が潰れないようラベル列を広く取る） */
.diary-03 .result th:first-child {
  width: 31%;
}
.diary-03 .result th {
  font-size: 12px;
}
.diary-03 .result th:nth-child(2),
.diary-03 .result th:nth-child(3),
.diary-03 .result th:nth-child(4) {
  width: 23%;
}

/* 実験メモの箇条（R5：黒丸が点線枠に重ならないよう左余白を足す） */
.diary-03 details.memo ul {
  padding-left: 1.2em;
}
