/* No.07専用CSS。スコープは .diary-07。
   部品の様式は No.06（diary-06.css）の様式を踏襲し、
   チャット再現・結果カード・言い回し比較の最小追加を足したもの。 */
.diary-07 {
  margin-top: 32px;
}

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

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

.diary-07 blockquote p {
  margin: 0;
  word-break: normal;
  overflow-wrap: anywhere;
}

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

/* 場面絵 */
.diary-07 figure.scene-img {
  margin: 24px 0 0;
}
.diary-07 figure.scene-img img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 12px;
}
.diary-07 .cap {
  margin-top: 8px;
  font-size: 13px;
  color: var(--muted);
  text-align: center;
}

/* 用語注記 */
.diary-07 .term-note {
  margin-top: 14px;
  font-size: 13px;
  color: var(--muted);
}

/* 読者への問い */
.diary-07 .quizbox {
  margin-top: 22px;
  border: 2px solid var(--line);
  border-radius: 12px;
  padding: 16px 18px;
  background: #fff;
}
.diary-07 .quizbox .q-title {
  font-weight: 900;
  margin: 0 0 8px;
}
.diary-07 .quizbox ol {
  margin: 8px 0 0;
  padding-left: 1.4em;
}
.diary-07 .quizbox li {
  margin-top: 6px;
  line-height: 1.7;
}

/* チャット再現図 */
.diary-07 .chatfig {
  margin: 22px auto 0;
  max-width: 430px;
  border: 2px solid var(--line);
  border-radius: 18px;
  padding: 16px 14px 18px;
  background: #E9EDEE;
}
.diary-07 .chatfig .cf-title {
  margin: 0 0 12px;
  font-size: 13px;
  font-weight: 700;
  color: #44515A;
  text-align: center;
}
.diary-07 .chatfig .msg {
  max-width: 86%;
  margin-top: 10px;
  padding: 10px 12px;
  border-radius: 14px;
  line-height: 1.65;
  font-size: 15px;
  word-break: normal;
  overflow-wrap: anywhere;
}
.diary-07 .chatfig .msg .tag {
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .08em;
  margin-bottom: 4px;
}
.diary-07 .chatfig .msg.invite {
  background: #fff;
  border: 1px solid #CBD4D9;
  margin-right: auto;
  border-bottom-left-radius: 4px;
}
.diary-07 .chatfig .msg.invite .tag { color: #66727B; }
.diary-07 .chatfig .msg.reply {
  background: #D9F2D0;
  border: 1px solid #A9D69A;
  margin-left: auto;
  border-bottom-right-radius: 4px;
}
.diary-07 .chatfig .msg.reply .tag { color: #3E7A33; }

/* 実験メモカード */
.diary-07 .card-ja {
  margin-top: 22px;
  border: 2px solid var(--line);
  border-radius: 12px;
  padding: 16px 18px;
  background: var(--soft);
}
.diary-07 .card-ja .card-title {
  font-weight: 900;
  margin: 0 0 8px;
}
.diary-07 .card-ja p { margin-top: 8px; }
.diary-07 .card-ja p:first-of-type { margin-top: 0; }

/* 結果カード */
.diary-07 .big-results {
  margin-top: 22px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}
.diary-07 .big-card {
  border: 2px solid var(--line);
  border-radius: 14px;
  padding: 16px 12px 14px;
  background: #fff;
  text-align: center;
}
.diary-07 .big-card .bc-cond {
  margin: 0;
  font-size: 13px;
  font-weight: 700;
  color: var(--muted);
  line-height: 1.5;
}
.diary-07 .big-card .bc-num {
  margin: 6px 0 0;
  font-size: 34px;
  font-weight: 900;
  line-height: 1.15;
}
.diary-07 .big-card .bc-label {
  margin: 2px 0 0;
  font-weight: 900;
}
.diary-07 .big-card .bc-sub {
  margin: 6px 0 0;
  font-size: 12.5px;
  color: var(--muted);
  line-height: 1.55;
}
.diary-07 .big-card.bc-clear { border-color: #086D67; background: #EFFAF8; }
.diary-07 .big-card.bc-clear .bc-num { color: #086D67; }
.diary-07 .big-card.bc-warm { border-color: #D97706; background: #FEF6E7; }
.diary-07 .big-card.bc-warm .bc-num { color: #B45309; }
.diary-07 .big-card.bc-zero { border-color: var(--line); background: #F6F7F8; }
@media (max-width: 599px) {
  .diary-07 .big-results { grid-template-columns: 1fr; }
  .diary-07 .big-card .bc-num { font-size: 30px; }
}

/* 言い回し比較 */
.diary-07 .diffpair {
  margin-top: 18px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.diary-07 .diffpair .dp {
  border: 2px solid var(--line);
  border-radius: 12px;
  padding: 14px 16px;
  background: #fff;
}
.diary-07 .diffpair .dp .dp-tag {
  margin: 0 0 8px;
  font-size: 12.5px;
  font-weight: 900;
  letter-spacing: .05em;
}
.diary-07 .diffpair .dp.normal .dp-tag { color: #44515A; }
.diary-07 .diffpair .dp.soft { border-color: #D97706; background: #FFFBF2; }
.diary-07 .diffpair .dp.soft .dp-tag { color: #B45309; }
.diary-07 .diffpair .dp p { margin-top: 0; line-height: 1.75; }
.diary-07 .diffpair .dp mark {
  background: #FDE68A;
  padding: 0 2px;
  border-radius: 3px;
}
@media (max-width: 599px) {
  .diary-07 .diffpair { grid-template-columns: 1fr; }
}

/* 言えないこと */
.diary-07 .limits {
  margin-top: 22px;
  border: 2px dashed var(--line);
  border-radius: 12px;
  padding: 16px 18px;
  background: #fff;
}
.diary-07 .limits .card-title { font-weight: 900; margin: 0 0 8px; }
.diary-07 .limits p { margin-top: 8px; }
.diary-07 .limits p:first-of-type { margin-top: 0; }

/* 持ち帰り（結論） */
.diary-07 .conclusion {
  margin-top: 34px;
  border: 3px solid #D97706;
  border-radius: 14px;
  padding: 20px 22px;
  background: #FEF6E7;
}
.diary-07 .conclusion h2 {
  margin-top: 0;
  color: #B45309;
  border-left-color: #D97706;
}
.diary-07 .conclusion-lead {
  font-size: 19px;
  line-height: 1.8;
  font-weight: 700;
}

/* 場面カード（final追加） */
.diary-07 .scenes {
  margin-top: 22px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.diary-07 .scene-card {
  border: 2px solid var(--line);
  border-radius: 12px;
  padding: 14px 16px;
  background: #fff;
}
.diary-07 .scene-card .sc-tag {
  margin: 0 0 6px;
  font-size: 12.5px;
  font-weight: 900;
  letter-spacing: .05em;
  color: var(--acText);
}
.diary-07 .scene-card .sc-who { margin: 0; line-height: 1.7; }
.diary-07 .scene-card .sc-line {
  margin: 8px 0 0;
  font-size: 14px;
  color: var(--muted);
  line-height: 1.7;
}
@media (max-width: 599px) {
  .diary-07 .scenes { grid-template-columns: 1fr; }
}

/* 共通の本音 */
.diary-07 .intent-strip {
  margin-top: 12px;
  border: 2px solid #D97706;
  border-radius: 12px;
  padding: 12px 16px;
  background: #FFFBF2;
  text-align: center;
}
.diary-07 .intent-strip .is-title {
  margin: 0 0 4px;
  font-weight: 900;
  color: #B45309;
}
.diary-07 .intent-strip p { margin: 0; line-height: 1.7; }

/* 実験の流れ */
.diary-07 .flow { margin-top: 16px; }
.diary-07 .fl-step {
  border: 2px solid var(--line);
  border-radius: 12px;
  padding: 12px 16px;
  background: var(--soft);
}
.diary-07 .fl-step .fl-tag {
  margin: 0 0 4px;
  font-size: 12.5px;
  font-weight: 900;
  letter-spacing: .05em;
  color: var(--acText);
}
.diary-07 .fl-step p { margin: 0; line-height: 1.7; }
.diary-07 .fl-arrow {
  text-align: center;
  color: var(--muted);
  font-weight: 900;
  line-height: 1.6;
}
.diary-07 .spec-note {
  margin-top: 10px;
  font-size: 12.5px;
  color: var(--muted);
  line-height: 1.7;
}

/* 予想カード */
.diary-07 .pred-cards {
  margin-top: 16px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.diary-07 .pred-card {
  border: 2px dashed var(--line);
  border-radius: 12px;
  padding: 14px 16px;
  background: #fff;
}
.diary-07 .pred-card .pc-head {
  margin: 0 0 6px;
  font-weight: 900;
}
.diary-07 .pred-card p { margin: 0; line-height: 1.75; }
@media (max-width: 599px) {
  .diary-07 .pred-cards { grid-template-columns: 1fr; }
}

/* 結果カード：4枚を2×2にし、母数を単位つきで見せる */
.diary-07 .big-results { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.diary-07 .big-card .bc-unit {
  margin-left: 4px;
  font-size: 14px;
  font-weight: 700;
  color: var(--muted);
}

.diary-07 .big-results .bc-base { display: block; margin-bottom: 4px; }
.diary-07 .flow .model-id { white-space: nowrap; }
