.content-results #cases img.course-thumb {
  display: block;
  width: 100%;
  height: auto;
  min-height: 0;
  aspect-ratio: auto;
  object-fit: contain;
}

.course-toeic #score-path .usecase-title-part { display: inline-block; }

.course-yle .yle-reference { padding: 12px 0; }
.course-yle #yle-path-title { scroll-margin-top: 110px; }
.course-yle .yle-reference h2 { margin: 0 0 12px; font-size: 28px; line-height: 1.4; letter-spacing: 0; color: #205d68; }
.course-yle .yle-reference figcaption p { margin: 0; font-size: 17px; line-height: 1.8; color: #344f55; }
.course-yle .yle-staircase {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: end;
  gap: 18px;
  list-style: none;
  margin: 36px 8px 24px 0;
  padding: 12px 0 0;
}
.course-yle .yle-step {
  position: relative;
  min-width: 0;
  min-height: calc(210px + var(--yle-step) * 44px);
  box-sizing: border-box;
  padding: 24px;
  color: #fff;
  background: var(--yle-face);
}
.course-yle .yle-step::before {
  content: "";
  position: absolute;
  top: -10px;
  left: 4px;
  width: 100%;
  height: 10px;
  transform: skewX(-38deg);
  background: var(--yle-top);
}
.course-yle .yle-step::after {
  content: "";
  position: absolute;
  top: -5px;
  right: -8px;
  width: 8px;
  height: 100%;
  transform: skewY(-52deg);
  background: var(--yle-side);
}
.course-yle .yle-step-starters { --yle-step: 0; --yle-face: #a82d61; --yle-top: #e48daf; --yle-side: #752043; }
.course-yle .yle-step-movers { --yle-step: 1; --yle-face: #22638b; --yle-top: #82b9d8; --yle-side: #184661; }
.course-yle .yle-step-flyers { --yle-step: 2; --yle-face: #316b43; --yle-top: #91bc86; --yle-side: #224b2f; }
.course-yle #levels .level-cell:first-child {
  background: var(--yle-face);
  color: #fff;
}
.course-yle .yle-step-level { font-size: 16px; line-height: 1.5; font-weight: 700; }
.course-yle .yle-step h3 { margin: 10px 0 12px; color: #fff; font-size: 26px; line-height: 1.4; letter-spacing: 0; }
.course-yle .yle-step h3 span { display: block; font-size: 18px; }
.course-yle .yle-step p { margin: 0; color: #fff; font-size: 16px; line-height: 1.8; }
.course-yle .yle-reference-source { color: #344f55; font-size: 14px; line-height: 1.8; }
.course-yle .yle-reference-source a { color: #14656b; text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 700px) {
  .course-yle .yle-reference h2 { font-size: 24px; }
  .course-yle .yle-staircase { display: flex; flex-direction: column-reverse; gap: 14px; }
  .course-yle .yle-step { width: calc(100% - var(--yle-step) * 16px); min-height: 0; margin-left: auto; padding: 18px 20px; }
  .course-yle .yle-step h3 { font-size: 24px; margin: 6px 0 8px; }
  .course-yle .yle-step h3 span { display: inline-block; font-size: 17px; }
}
@media (min-width: 701px) and (max-width: 1000px) {
  .course-yle .yle-step { padding: 20px 16px; }
  .course-yle .yle-step h3 { font-size: 24px; }
}

.course-toeic .score-reference {
  scroll-margin-top: 100px;
  display: block;
  padding: 28px 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: #26364a;
  box-shadow: none;
}
.score-reference-kicker { font-size: 14px; font-weight: 700; color: #415f81; }
.score-reference h2 { margin: 10px 0; font-size: 28px; line-height: 1.4; letter-spacing: 0; }
.score-reference p { margin: 10px 0; font-size: 15px; line-height: 1.8; }
.score-staircase {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  align-items: end;
  gap: 12px;
  margin: 32px 8px 24px 0;
  padding: 16px 0 0;
  list-style: none;
  border-bottom: 2px solid #d5dce5;
}
.score-step {
  position: relative;
  box-sizing: border-box;
  height: calc(112px + var(--step) * 42px);
  padding: 22px 8px;
  background: var(--step-face);
  color: #fff;
  text-align: center;
}
.score-step::before {
  content: "";
  position: absolute;
  top: -10px;
  left: 4px;
  width: 100%;
  height: 10px;
  transform: skewX(-38deg);
  background: var(--step-top);
}
.score-step::after {
  content: "";
  position: absolute;
  top: -5px;
  right: -8px;
  width: 8px;
  height: 100%;
  transform: skewY(-52deg);
  background: var(--step-side);
}
.score-step span { display: block; font-size: 15px; font-weight: 600; line-height: 1.5; }
.score-step strong { display: block; margin-top: 8px; font-size: 28px; line-height: 1.3; letter-spacing: 0; font-variant-numeric: tabular-nums; white-space: nowrap; }
.score-step-orange { --step: 0; --step-face: #ac4c19; --step-top: #e99d63; --step-side: #773814; }
.score-step-brown { --step: 1; --step-face: #755344; --step-top: #b9957c; --step-side: #513b32; }
.score-step-green { --step: 2; --step-face: #286b52; --step-top: #7cb89d; --step-side: #1d4f3d; }
.score-step-blue { --step: 3; --step-face: #2662a2; --step-top: #80b2dc; --step-side: #1c4776; }
.score-step-gold { --step: 4; --step-face: #e0bc55; --step-top: #f5dfa0; --step-side: #b08d35; color: #3f3015; }
.course-toeic #levels .level-cell:first-child {
  background: var(--step-face);
  color: #fff;
}
.course-toeic #levels .level-cell.score-step-gold:first-child {
  color: #3f3015;
}
.score-reference-footnote { color: #405169; }
.score-reference-source a { color: #195ca4; text-decoration: underline; text-underline-offset: 3px; }
.course-toeic .section:not(.cta) .section-heading {
  display: block;
  margin-bottom: 28px;
}
.course-toeic .section:not(.cta) .section-heading h2 {
  max-width: none;
  margin: 0 0 12px;
  font-size: 34px;
  line-height: 1.4;
  letter-spacing: 0;
  text-wrap: balance;
}
.course-toeic .section:not(.cta) .section-heading p {
  max-width: 760px;
  margin: 0;
  line-height: 1.8;
}
.course-toeic #levels .level-table {
  border-radius: 8px;
  border-color: #d8e2ec;
  box-shadow: none;
}
.course-toeic #levels .level-row { grid-template-columns: 180px minmax(0, 1fr); }
.course-toeic #levels .level-cell { padding: 22px 24px; }
.course-toeic #levels .level-cell p { margin: 6px 0 0; line-height: 1.8; }
.course-toeic #levels .level-cell strong { color: #26364a; }
.course-toeic .toeic-process {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32px;
  padding: 0;
  margin: 0;
  list-style: none;
}
.course-toeic .toeic-process li {
  border-top: 2px solid #bfd1e2;
  padding-top: 20px;
}
.course-toeic .process-number { color: #2662a2; font-size: 16px; font-weight: 800; }
.course-toeic .toeic-process h3,
.course-toeic .toeic-goals h3 { margin: 12px 0; font-size: 22px; line-height: 1.5; color: #26364a; }
.course-toeic .toeic-process p,
.course-toeic .toeic-goals p { margin: 0; color: #405169; line-height: 1.9; }
.course-toeic .toeic-goals { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px; }
.course-toeic .toeic-goals article { padding-top: 12px; border-top: 1px solid #d8e2ec; }
.course-toeic .faq-item { border-radius: 8px; box-shadow: none; border-color: #d8e2ec; }
.course-toeic #score-path .toeic-usecases {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32px;
  margin-top: 40px;
}
.course-toeic #score-path .toeic-usecase {
  min-width: 0;
  border-top: 3px solid #bfd1e2;
  padding-top: 20px;
}
.course-toeic #score-path .usecase-aviation { border-color: #2662a2; }
.course-toeic #score-path .usecase-category { color: #415f81; font-size: 15px; font-weight: 700; }
.course-toeic #score-path h3 { color: #26364a; font-size: 24px; line-height: 1.5; margin: 12px 0; letter-spacing: 0; }
.course-toeic #score-path h4 { color: #26364a; font-size: 17px; line-height: 1.6; margin: 0 0 8px; }
.course-toeic #score-path p { color: #405169; line-height: 1.8; }
.course-toeic #score-path .usecase-intro { margin: 0 0 24px; }
.course-toeic #score-path .usecase-evidence { margin: 0; padding: 0; list-style: none; }
.course-toeic #score-path .usecase-evidence li { padding: 20px 0; border-top: 1px solid #d8e2ec; }
.course-toeic #score-path .usecase-evidence p { margin: 8px 0; font-size: 15px; }
.course-toeic #score-path .usecase-evidence .usecase-score {
  font-size: 32px;
  line-height: 1.35;
  font-weight: 800;
  color: var(--step-face);
  font-variant-numeric: tabular-nums;
}
.course-toeic #score-path .usecase-score span { display: block; margin-top: 4px; font-size: 14px; color: #405169; font-weight: 600; }
.course-toeic #score-path .usecase-evidence .usecase-ability { font-size: 20px; font-weight: 700; color: #2662a2; }
.course-toeic #score-path .usecase-evidence .usecase-context { font-size: 14px; }
.course-toeic #score-path .usecase-source,
.course-toeic #score-path .usecase-action { color: #195ca4; text-decoration: underline; text-underline-offset: 4px; line-height: 1.8; }
.course-toeic #score-path .usecase-source { display: inline-block; padding: 4px 0; font-size: 14px; }
.course-toeic #score-path .usecase-next { margin: 4px 0 20px; padding-top: 20px; border-top: 1px solid #d8e2ec; }
.course-toeic #score-path .usecase-next p { font-size: 15px; margin: 8px 0; }
.course-toeic #score-path .usecase-action { font-size: 16px; font-weight: 700; }
.course-toeic #score-path .usecase-footnote { margin: 28px 0 0; font-size: 14px; }
.course-toeic #score-path .usecase-consult {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  border-top: 1px solid #bfd1e2;
  margin-top: 32px;
  padding-top: 28px;
}
.course-toeic #score-path .usecase-consult h3 { margin-top: 0; }
.course-toeic #score-path .usecase-consult p { margin: 0; }
.course-toeic #score-path .usecase-consult-actions { display: flex; flex-direction: column; align-items: center; gap: 12px; flex-shrink: 0; }
@media (max-width: 1000px) {
  .course-toeic #score-path .toeic-usecases { grid-template-columns: 1fr; gap: 36px; }
  .course-toeic #score-path .usecase-consult { align-items: flex-start; flex-direction: column; gap: 20px; }
  .course-toeic #score-path .usecase-consult-actions { align-items: flex-start; }
}
@media (max-width: 700px) {
  .course-toeic .section:not(.cta) .section-heading h2 { font-size: 27px; }
  .course-toeic #levels .level-row { grid-template-columns: 1fr; }
  .course-toeic #levels .level-cell { padding: 18px 20px; }
  .course-toeic .toeic-process,
  .course-toeic .toeic-goals { grid-template-columns: 1fr; gap: 26px; }
}
@media (max-width: 700px) {
  .course-toeic .score-reference { padding: 20px 0; }
  .score-reference h2 { font-size: 24px; }
  .score-staircase { display: flex; flex-direction: column-reverse; gap: 12px; margin-top: 28px; padding-top: 10px; }
  .score-step { flex: none; width: calc(100% - var(--step) * 18px); height: 78px; margin-left: auto; padding: 10px 16px; text-align: left; }
  .score-step span { font-size: 13px; }
  .score-step strong { margin-top: 2px; font-size: 26px; }
}
@media (min-width: 701px) and (max-width: 1000px) {
  .score-step strong { font-size: 22px; }
  .score-step span { font-size: 13px; }
}
