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

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

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

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

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

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

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

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

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

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

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

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

/* 図解（右端8pxの黒帯） */
.diary-02 .edge-diagram {
  max-width: 300px;
  margin: 22px auto 0;
  padding: 10px;
  border-radius: 12px;
  background: white;
  box-shadow: 0 10px 24px -16px rgba(15, 46, 51, .4);
}
.diary-02 .edge-diagram svg {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 6px;
}
.diary-02 .edge-diagram figcaption {
  margin-top: 8px;
  padding: 2px 4px;
  font-size: 13px;
  line-height: 1.7;
  color: var(--muted);
  text-align: center;
}

/* 実フレーム比較画像（修正前後） */
.diary-02 .frames-compare {
  max-width: 340px;
  margin: 22px auto 0;
  padding: 10px;
  border-radius: 12px;
  background: white;
  box-shadow: 0 10px 24px -16px rgba(15, 46, 51, .4);
}
.diary-02 .frames-compare img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 6px;
}
.diary-02 .frames-compare figcaption {
  margin-top: 8px;
  padding: 2px 4px;
  font-size: 13px;
  line-height: 1.7;
  color: var(--muted);
  text-align: center;
}
