/* 名作朗読劇場（/meisaku/）。劇場のえんじ色と金。このページだけ読みこむ */
.page-ms {
  --ms-red: #7a1321;
  --ms-red2: #a51d2d;
  --ms-gold: #e9c46a;
  --ms-ink: #1a0d10;
}
.ms-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  color: #fff;
  background: radial-gradient(120% 90% at 50% 0%, #a51d2d 0%, #5a0d18 55%, #1a0d10 100%);
  padding: 28px 0 44px;
}
.ms-hero::before,
.ms-hero::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: min(14vw, 150px);
  z-index: -1;
  background: repeating-linear-gradient(90deg, #5a0d18 0 14px, #8b1626 14px 30px, #3e0810 30px 40px);
  box-shadow: 0 0 40px rgba(0, 0, 0, 0.55);
  opacity: 0.9;
}
.ms-hero::before { left: 0; border-bottom-right-radius: 60% 12%; }
.ms-hero::after { right: 0; border-bottom-left-radius: 60% 12%; }
.ms-hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
  opacity: 0.42;
}
.ms-hero-in {
  max-width: 860px;
  margin: 0 auto;
  padding: 0 clamp(18px, 6vw, 40px);
  text-align: center;
}
.ms-hero .crumb { justify-content: center; color: #f4d9dc; }
.ms-hero .crumb a { color: #f4d9dc; }
.ms-kicker {
  margin: 14px 0 6px;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.28em;
  color: var(--ms-gold);
}
.ms-hero h1 {
  margin: 0;
  font-size: clamp(34px, 8vw, 64px);
  line-height: 1.15;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-shadow: 0 4px 24px rgba(0, 0, 0, 0.6);
}
.ms-hero h1 small {
  display: block;
  margin-top: 12px;
  font-size: clamp(15px, 3.6vw, 22px);
  letter-spacing: 0.04em;
  color: var(--ms-gold);
}
.ms-lead {
  margin: 18px auto 0;
  max-width: 660px;
  font-size: 16px;
  line-height: 1.95;
  color: #fbeeee;
  text-align: left;
}
.ms-lead b { color: #fff; background: linear-gradient(transparent 62%, rgba(233, 196, 106, 0.45) 62%); }
.ms-stats {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 22px;
  margin-top: 20px;
  font-size: 14px;
  color: #f4d9dc;
}
.ms-stats b { font-size: 26px; color: var(--ms-gold); margin: 0 3px; font-weight: 900; }
.ms-hero-acts { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin: 22px 0 0; }
.ms-hero-acts .btn.primary,
.page-ms .ms-acts .btn.primary { background: linear-gradient(90deg, #e9c46a, #f4a261); color: #2a1206; border-color: transparent; font-weight: 900; }
.ms-hero-acts .btn:not(.primary) { background: rgba(255, 255, 255, 0.12); color: #fff; border-color: rgba(255, 255, 255, 0.45); }

.ms-wrap { max-width: 1180px; margin: 0 auto; padding: 0 clamp(14px, 4vw, 28px) 60px; }
.ms-sec { margin-top: 54px; }
.ms-h { margin-bottom: 18px; }
.ms-h .ms-kicker { margin-top: 0; color: var(--ms-red2); }
:root[data-theme='dark'] .ms-h .ms-kicker { color: var(--ms-gold); }
.ms-h h2 { margin: 0 0 6px; font-size: clamp(24px, 5vw, 34px); font-weight: 900; color: var(--ink); }
.ms-h p { margin: 0; color: var(--ink2); line-height: 1.85; }

.ms-tabs { display: flex; gap: 8px; margin: 0 0 20px; padding-bottom: 4px; }
.ms-tabs button {
  flex: none;
  padding: 9px 16px;
  border-radius: 999px;
  border: 2px solid color-mix(in srgb, var(--ms-red2) 35%, transparent);
  background: var(--paper);
  color: var(--ink);
  font: inherit;
  font-weight: 800;
  font-size: 14px;
  cursor: pointer;
}
.ms-tabs button[aria-selected='true'] { background: var(--ms-red2); border-color: var(--ms-red2); color: #fff; }

.ms-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(340px, 100%), 1fr)); gap: 22px; }
.ms-card {
  display: flex;
  flex-direction: column;
  background: var(--paper);
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid color-mix(in srgb, var(--ink) 12%, transparent);
  box-shadow: 0 10px 28px rgba(40, 10, 16, 0.12);
}
.ms-card[hidden] { display: none; }
.ms-poster { position: relative; display: block; aspect-ratio: 16 / 9; background: #2a1216; overflow: hidden; }
.ms-poster > img,
.ms-poster > .noimg { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.5s; }
.ms-card:hover .ms-poster > img { transform: scale(1.05); }
.ms-no,
.ms-time {
  position: absolute;
  top: 10px;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.06em;
}
.ms-no { left: 10px; background: var(--ms-red2); color: #fff; }
.ms-time { right: 10px; background: rgba(20, 8, 10, 0.78); color: var(--ms-gold); }
.ms-body { padding: 16px 18px 18px; display: flex; flex-direction: column; flex: 1; }
.ms-by { margin: 0; font-size: 12.5px; font-weight: 800; color: var(--ms-red2); }
:root[data-theme='dark'] .ms-by { color: var(--ms-gold); }
.ms-body h3 { margin: 4px 0 2px; font-size: 20px; line-height: 1.4; font-weight: 900; }
.ms-body h3 a { color: var(--ink); text-decoration: none; }
.ms-en { margin: 0; font-size: 13px; color: var(--ink2); font-style: italic; }
.ms-hook { margin: 12px 0 0; font-size: 14.5px; line-height: 1.9; color: var(--ink); }
.ms-facts { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin: 12px 0 0; padding: 0; }
.ms-facts li {
  padding: 3px 9px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 700;
  color: var(--ink2);
  background: color-mix(in srgb, var(--ms-red2) 9%, transparent);
}
.ms-tip { margin: 12px 0 0; font-size: 13px; line-height: 1.75; color: var(--ink2); }
.ms-acts { display: flex; flex-wrap: wrap; gap: 8px; margin: auto 0 0; padding-top: 14px; }
.ms-acts .btn { font-size: 14px; }
.ms-parts { margin-top: 12px; font-size: 13.5px; }
.ms-parts summary { cursor: pointer; font-weight: 800; color: var(--ink2); }
.ms-parts ol { margin: 8px 0 0; padding-left: 1.4em; line-height: 1.9; }
.ms-parts small { margin-left: 8px; color: var(--ink2); white-space: nowrap; }

.ms-prom { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr)); gap: 16px; }
.ms-prom li {
  padding: 20px;
  border-radius: 16px;
  background: linear-gradient(160deg, #5a0d18, #2a0a10);
  color: #fbeeee;
  border: 1px solid rgba(233, 196, 106, 0.35);
}
.ms-prom b { display: block; font-size: 18px; color: var(--ms-gold); margin-bottom: 8px; }
.ms-prom span { font-size: 14px; line-height: 1.9; }

.ms-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr)); gap: 16px; }
.ms-steps li { position: relative; padding: 20px 18px 16px; border-radius: 16px; background: var(--paper); border: 1px solid color-mix(in srgb, var(--ink) 12%, transparent); }
.ms-step-n {
  position: absolute;
  top: -12px;
  left: 16px;
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--ms-red2);
  color: #fff;
  font-weight: 900;
  font-size: 14px;
}
.ms-steps b { font-size: 16.5px; color: var(--ink); }
.ms-steps p { margin: 8px 0 0; font-size: 14px; line-height: 1.9; color: var(--ink2); }

.ms-gal { display: flex; gap: 14px; padding: 4px 2px 12px; }
.ms-gal a {
  flex: none;
  width: min(62vw, 230px);
  display: flex;
  flex-direction: column;
  text-decoration: none;
  background: #fbf6ec;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(60, 30, 20, 0.2);
}
.ms-gal img { width: 100%; height: 240px; object-fit: contain; background: #fbf6ec; display: block; }
.ms-gal span { padding: 8px 10px 10px; background: #2a1216; flex: 1; }
.ms-gal b { display: block; font-size: 13px; color: #fff; line-height: 1.5; }
.ms-gal small { display: block; margin-top: 2px; font-size: 11px; color: #e9c46a; line-height: 1.5; }

.ms-cast { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(250px, 100%), 1fr)); gap: 10px; }
.ms-cast li { padding: 12px 14px; border-radius: 12px; background: var(--paper); border: 1px solid color-mix(in srgb, var(--ink) 12%, transparent); font-size: 13.5px; line-height: 1.7; }
.ms-cast b { display: block; font-size: 15px; color: var(--ink); }
.ms-cast span { display: block; color: var(--ink2); }
.ms-cast a { font-size: 12.5px; }

.ms-faq details { border-bottom: 1px solid color-mix(in srgb, var(--ink) 14%, transparent); padding: 12px 2px; }
.ms-faq summary { cursor: pointer; font-weight: 800; color: var(--ink); }
.ms-faq p { margin: 10px 0 2px; line-height: 1.95; color: var(--ink2); }
.ms-more { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }

@media (max-width: 640px) {
  .ms-hero { padding-bottom: 34px; }
  .ms-hero::before,
  .ms-hero::after { width: 22px; }
  .ms-stats b { font-size: 22px; }
  .ms-sec { margin-top: 42px; }
}
@media (prefers-reduced-motion: reduce) {
  .ms-poster > img { transition: none; }
}
/* 横に流すところは、ページごと横に揺れないように自分の中だけでスクロールさせる */
.ms-tabs,
.ms-gal { overflow-x: auto; max-width: 100%; -webkit-overflow-scrolling: touch; scrollbar-width: thin; }
.ms-wrap { overflow-x: clip; }
