﻿.scene {
  border: 1px solid #e3e0da;
  background: repeating-linear-gradient(135deg, #fff 0, #fff 9px, #f5eeeb 9px, #f5eeeb 18px);
}
.scene-label {
  margin: -32px -32px 24px;
  padding: 15px 25px;
  background: #c8202e;
  color: #fff;
}
.scene-intro { padding: 0 3px; }
.line {
  grid-template-columns: 74px 1fr;
  align-items: start;
  border: 0;
  padding: 12px 0;
}
.line > strong {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 7px;
  text-align: center;
  font-size: 10px;
}
.line > strong::before {
  content: '侍';
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border: 2px solid #c8202e;
  border-radius: 50%;
  background: #fff;
  color: #c8202e;
  font: 600 26px serif;
}
.line > div {
  position: relative;
  padding: 20px 52px 20px 22px;
  border: 1px solid #d8b2b5;
  border-radius: 14px;
  background: #fff;
}
.line > div::before {
  content: '';
  position: absolute;
  left: -8px;
  top: 21px;
  width: 13px;
  height: 13px;
  border-left: 1px solid #d8b2b5;
  border-bottom: 1px solid #d8b2b5;
  background: #fff;
  transform: rotate(45deg);
}
.line span[lang="ja"] { font-size: 21px; }
.line small { color: #8d2530; }
.line p { color: #555; }
.speak-button {
  position: absolute;
  top: 14px;
  right: 14px;
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border: 0;
  border-radius: 50%;
  background: #c8202e;
  color: #fff;
  font-size: 16px;
  cursor: pointer;
}
.speak-button:focus-visible { outline: 3px solid #f4af28; outline-offset: 3px; }
.speech-status { min-height: 1.4em; color: #6c6b68; font-size: 13px; line-height: 1.5; }
@media (max-width: 750px) {
  .scene-label { margin: -24px -24px 20px; }
  .line { grid-template-columns: 60px 1fr; gap: 8px; }
  .line > strong::before { width: 42px; height: 42px; font-size: 22px; }
  .line > div { padding: 16px 48px 16px 16px; }
  .line span[lang="ja"] { font-size: 18px; }
}
