:root {
  font:
    16px/1.8 system-ui,
    -apple-system,
    "Noto Sans JP",
    sans-serif;
  color: #18372b;
  background: #f7f8f5;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
a {
  color: #196841;
  text-underline-offset: 4px;
}
button,
input {
  font: inherit;
}
button {
  cursor: pointer;
}
a:focus-visible,
button:focus-visible,
input:focus-visible {
  outline: 3px solid #b87900;
  outline-offset: 4px;
}
button:disabled {
  cursor: default;
  opacity: 0.6;
}
[hidden] {
  display: none !important;
}
.skip {
  position: absolute;
  top: -100px;
}
.skip:focus {
  top: 4px;
  background: white;
  z-index: 10;
}
header {
  background: #103c2f;
  color: white;
  padding: 18px max(20px, calc((100% - 1120px) / 2));
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
header a {
  color: #fff;
}
.logo {
  text-decoration: none;
  font-size: 23px;
  font-weight: 800;
  letter-spacing: -0.7px;
}
.logo span {
  color: #f0bf4c;
}
header nav {
  display: flex;
  gap: 20px;
  font-size: 14px;
}
main {
  max-width: 1120px;
  margin: 0 auto;
  padding: 28px 24px 48px;
}
.breadcrumb {
  font-size: 14px;
  color: #5b6d62;
  margin-bottom: 22px;
}
.eyebrow {
  font-size: 12px;
  letter-spacing: 2px;
  color: #5d725f;
  font-weight: 700;
}
h1 {
  font-size: clamp(26px, 4vw, 38px);
  line-height: 1.5;
  letter-spacing: -0.6px;
  margin: 10px 0 18px;
}
h2 {
  font-size: 24px;
  line-height: 1.5;
  margin: 30px 0 14px;
}
h3 {
  font-size: 19px;
  margin: 20px 0 8px;
}
p {
  margin: 12px 0;
}
article {
  max-width: 760px;
}
.article-layout {
  display: grid;
  grid-template-columns: minmax(0, 760px) 260px;
  gap: 50px;
}
.summary {
  font-size: 18px;
  line-height: 1.9;
}
.lead-phrase {
  font-size: clamp(27px, 4vw, 38px);
  font-weight: 750;
  line-height: 1.4;
  color: #123f2d;
}
.callout {
  border-left: 4px solid #d5a329;
  padding: 14px 22px;
  background: #fff8e7;
  margin: 24px 0;
}
.practice-link,
.primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  background: #efba3c;
  border: 0;
  border-radius: 10px;
  padding: 14px 20px;
  color: #173c2c;
  text-decoration: none;
  font-weight: 750;
  min-height: 52px;
}
.practice-link:hover,
.primary:hover {
  background: #e6ad25;
}
.secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  border: 1px solid #b8c9bc;
  background: white;
  color: #215638;
  border-radius: 8px;
  padding: 8px 14px;
  text-decoration: none;
}
.rail {
  align-self: start;
  position: sticky;
  top: 24px;
  padding: 20px;
  background: #e9eee7;
  border-radius: 12px;
  font-size: 15px;
}
.avatar {
  width: 48px;
  height: 48px;
  object-fit: cover;
  object-position: 50% 26%;
  border-radius: 50%;
  border: 2px solid #779f77;
}
.speaker {
  display: flex;
  align-items: center;
  gap: 12px;
}
.speaker p {
  margin: 0;
}
.muted {
  color: #5b7162;
  font-size: 14px;
}
.cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin: 25px 0;
}
.card {
  background: white;
  border: 1px solid #d9e1d8;
  border-radius: 14px;
  padding: 22px;
}
.card h2 {
  font-size: 21px;
  margin: 10px 0;
}
.card .lead-phrase {
  font-size: 23px;
}
.dialogue {
  background: white;
  border: 1px solid #d9e1d8;
  border-radius: 12px;
  padding: 18px 22px;
}
.dialogue p {
  margin: 8px 0;
}
.related {
  border-top: 1px solid #d4dfd5;
  margin-top: 32px;
  padding-top: 10px;
}
footer {
  border-top: 1px solid #d4dfd5;
  max-width: 1120px;
  margin: auto;
  padding: 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 14px;
}
details {
  max-width: 700px;
  font-size: 13px;
}
details p {
  line-height: 1.7;
}
details button {
  border: 1px solid #bcc8bd;
  background: white;
  padding: 7px 12px;
  border-radius: 5px;
}
.practice-main {
  max-width: 760px;
}
.scoreboard {
  background: #103c2f;
  color: white;
  border-radius: 14px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 12px;
  padding: 20px;
  text-align: center;
}
.scoreboard b {
  font-size: 26px;
}
.scoreboard small {
  display: block;
  color: #f0bf4c;
}
.scoreboard span {
  font-size: 15px;
}
.practice-heading {
  font-size: 25px;
  margin: 20px 0 6px;
}
.timeline {
  display: flex;
  gap: 8px;
  list-style: none;
  padding: 0;
  flex-wrap: wrap;
  margin: 20px 0;
}
.timeline li {
  border: 1px solid #cdd8cd;
  border-radius: 20px;
  padding: 4px 12px;
  font-size: 14px;
}
.timeline .current {
  background: #1c613f;
  color: white;
}
.stage {
  background: #fff;
  border: 1px solid #d3ded3;
  border-radius: 16px;
  padding: 26px;
}
.moment {
  border-left: 3px solid #d5a329;
  padding-left: 14px;
  margin: 0 0 20px;
  font-size: 17px;
}
.bubble {
  background: #f0f4eb;
  padding: 12px 16px;
  border-radius: 4px 14px 14px 14px;
  flex: 1;
}
.bubble p {
  margin: 0;
}
.bubble small {
  font-size: 14px;
  color: #53705d;
}
.slots {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  min-height: 60px;
  margin: 18px 0;
  font-size: 23px;
  font-weight: 700;
}
.slot {
  border: 2px dashed #b4c3ae;
  border-radius: 8px;
  padding: 6px 12px;
  min-width: 84px;
  min-height: 50px;
  background: #fafcf7;
}
.slot.filled {
  background: #1b633f;
  color: white;
  border: 2px solid #1b633f;
}
.tiles {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 20px;
}
.tile {
  border: 1px solid #bfceb8;
  border-radius: 8px;
  padding: 9px 16px;
  background: white;
  color: #244932;
  min-height: 48px;
  font-size: 19px;
  box-shadow: 0 2px #dce5d7;
}
.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}
.actions .primary {
  flex: 1;
}
.feedback {
  padding: 12px 16px;
  background: #fff4d9;
  border-radius: 8px;
  margin: 14px 0;
}
.hint {
  padding: 12px;
  background: #f0f4eb;
  border-radius: 8px;
}
.input-label {
  display: block;
  margin: 20px 0 8px;
  font-weight: 650;
}
.recall-input {
  width: 100%;
  min-height: 56px;
  padding: 10px 14px;
  border: 2px solid #aabd9f;
  border-radius: 8px;
  font-size: 20px;
}
.result-phrase {
  font-size: 28px;
  line-height: 1.5;
  font-weight: 750;
  margin-top: 20px;
}
.summary-list {
  padding-left: 22px;
}
.notice {
  font-size: 13px;
  color: #617260;
  margin: 18px 0;
}
.session-end {
  background: #e8f0e1;
  border-radius: 12px;
  padding: 20px;
  margin: 20px 0;
}
body[data-recall="true"] .scoreboard {
  opacity: 0.85;
}
@media (max-width: 850px) {
  .article-layout {
    display: block;
  }
  .rail {
    position: static;
    margin-top: 24px;
    max-width: 760px;
  }
  .cards {
    grid-template-columns: 1fr;
  }
  .cards .card {
    padding: 20px;
  }
  .card h2 {
    margin-top: 0;
  }
}
@media (max-width: 480px) {
  header {
    padding: 14px 18px;
  }
  header nav {
    gap: 14px;
    font-size: 13px;
  }
  .logo {
    font-size: 21px;
  }
  main {
    padding: 20px 18px 36px;
  }
  .stage {
    padding: 20px 16px;
  }
  .scoreboard {
    padding: 14px 10px;
    gap: 8px;
  }
  .scoreboard span {
    font-size: 13px;
  }
  .scoreboard b {
    font-size: 23px;
  }
  .practice-heading {
    font-size: 23px;
  }
  .slots {
    font-size: 20px;
  }
  .slot {
    min-width: 65px;
    padding: 6px 8px;
  }
  .actions {
    gap: 8px;
  }
  .actions > * {
    font-size: 15px;
  }
  .result-phrase {
    font-size: 25px;
  }
}
@media (prefers-reduced-motion: reduce) {
  * {
    scroll-behavior: auto !important;
  }
}
