.practical-home {
  grid-template-columns: 1.02fr .98fr;
}

.practical-home h1 {
  font-size: clamp(48px, 5.8vw, 74px);
  word-break: keep-all;
}

.route-board {
  display: grid;
  gap: 12px;
  align-content: center;
}

.route-card {
  position: relative;
  display: grid;
  gap: 6px;
  min-height: 132px;
  padding: 24px 26px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--surface);
  box-shadow: var(--shadow);
  text-decoration: none;
  transition: transform .18s ease, border-color .18s ease;
}

.route-card:hover {
  transform: translateY(-3px);
  border-color: rgba(24, 92, 67, .48);
}

.route-card::after {
  position: absolute;
  right: -28px;
  bottom: -42px;
  width: 122px;
  height: 122px;
  border-radius: 50%;
  background: var(--green-soft);
  content: "";
  opacity: .65;
}

.route-card > * {
  position: relative;
  z-index: 1;
}

.route-card span,
.track-card span,
.course-grid span,
.scene-preview aside span,
.scene-preview aside small,
.lesson-hero aside span,
.lesson-hero aside small,
.phrase-grid span,
.expression-grid span,
.level-connection span,
.completion-card > span,
.scenario-grid header,
.grammar-grid header {
  color: var(--muted);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .04em;
}

.route-card strong {
  font-size: 21px;
  letter-spacing: -.025em;
}

.route-card small {
  color: var(--muted);
  font-size: 12px;
}

.route-card.talk {
  margin-left: 36px;
  background: var(--ink);
  color: #fff;
}

.route-card.talk span,
.route-card.talk small {
  color: #bdc9c2;
}

.route-card.talk::after {
  background: #375f4e;
}

.route-card.jlpt {
  margin-right: 36px;
}

.track-section,
.course-map,
.phrase-section,
.dialogue-section,
.expression-section,
.quiz-section,
.scenario-section,
.grammar-section {
  padding: 80px 0;
}

.track-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.track-grid.three {
  grid-template-columns: repeat(3, 1fr);
}

.track-card {
  display: flex;
  min-height: 300px;
  flex-direction: column;
  align-items: flex-start;
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--surface);
  text-decoration: none;
}

.track-card h3 {
  margin: 36px 0 10px;
  font-size: 34px;
  letter-spacing: -.04em;
}

.track-card p {
  max-width: 460px;
  margin: 0;
  color: var(--muted);
}

.track-card b {
  margin-top: auto;
  padding-top: 30px;
  color: var(--green);
}

.track-card.practical {
  border-color: var(--ink);
  background: var(--ink);
  color: #fff;
}

.track-card.practical span,
.track-card.practical p {
  color: #bdc9c2;
}

.track-card.practical b {
  color: var(--yellow);
}

.track-card.news {
  border-color: #b8cbd7;
  background: #e7eef2;
}

.track-card.news b {
  color: var(--blue);
}

.practical-hero,
.lesson-hero,
.news-hero {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 48px;
  align-items: end;
  padding: 94px 0 52px;
}

.practical-hero h1,
.lesson-hero h1,
.news-hero h1 {
  max-width: 900px;
  margin: 0;
  font-size: clamp(46px, 7vw, 80px);
  line-height: 1.04;
  letter-spacing: -.065em;
}

.practical-hero > div > p:not(.eyebrow),
.lesson-hero > div > p:not(.eyebrow),
.news-hero > div > p:not(.eyebrow) {
  max-width: 650px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: 18px;
}

.practical-hero aside,
.lesson-hero aside,
.news-hero aside {
  display: flex;
  min-width: 215px;
  flex-direction: column;
  padding: 23px;
  border: 1px solid var(--line);
  border-radius: 19px;
  background: var(--surface);
}

.practical-hero aside span,
.practical-hero aside small,
.lesson-hero aside span,
.lesson-hero aside small,
.news-hero aside span,
.news-hero aside small {
  color: var(--muted);
}

.practical-hero aside strong,
.lesson-hero aside strong,
.news-hero aside strong {
  font-size: 44px;
  line-height: 1.25;
}

.practical-hero.compact h1 {
  font-size: clamp(44px, 6vw, 70px);
}

.course-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.course-grid > a {
  display: flex;
  min-height: 300px;
  flex-direction: column;
  align-items: flex-start;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--surface);
  text-decoration: none;
}

.course-grid h3 {
  margin: 24px 0 10px;
  font-size: 27px;
}

.course-grid p {
  margin: 0;
  color: var(--muted);
}

.course-grid b {
  margin-top: auto;
  padding-top: 24px;
  color: var(--green);
}

.scene-preview {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 54px;
  align-items: center;
  margin: 60px 0;
  padding: 52px;
  border-radius: 28px;
  background: var(--ink);
  color: #fff;
}

.scene-preview h2 {
  margin: 0;
  font-family: "Yu Mincho", "Noto Serif JP", serif;
  font-size: clamp(36px, 5vw, 58px);
}

.scene-preview > div > p:not(.eyebrow) {
  color: #c4cec8;
}

.scene-dialogue {
  margin: 24px 0;
  padding: 18px;
  border: 1px solid #405047;
  border-radius: 16px;
  background: #213028;
}

.scene-dialogue p {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 12px;
  margin: 8px 0;
}

.scene-dialogue span {
  color: var(--yellow);
  font-size: 12px;
  font-weight: 900;
}

.scene-preview aside {
  display: flex;
  min-width: 190px;
  flex-direction: column;
  padding-left: 28px;
  border-left: 1px solid #405047;
}

.scene-preview aside span,
.scene-preview aside small {
  color: #bdc9c2;
}

.scene-preview aside strong {
  font-size: 36px;
}

.lesson-progress {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin: 0 0 40px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--surface);
}

.lesson-progress span {
  padding: 14px;
  border-right: 1px solid var(--line);
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  text-align: center;
}

.lesson-progress span:last-child {
  border-right: 0;
}

.phrase-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 10px;
}

.phrase-grid article {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 17px;
  background: var(--surface);
}

.phrase-grid h3 {
  margin: 22px 0 4px;
  font-family: "Yu Mincho", "Noto Serif JP", serif;
  font-size: 25px;
}

.phrase-grid ruby rt,
.dialogue-card ruby rt,
.scenario-grid ruby rt,
.grammar-grid ruby rt {
  color: var(--green);
  font-family: "Yu Gothic", "Noto Sans JP", sans-serif;
  font-size: .42em;
}

.phrase-grid p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.dialogue-card {
  display: grid;
  gap: 10px;
  padding: 34px;
  border-radius: 24px;
  background: var(--ink);
}

.speech {
  max-width: 82%;
  padding: 18px 20px;
  border-radius: 17px;
  background: #fff;
}

.speech.learner {
  justify-self: end;
  background: var(--green-soft);
}

.speech span {
  color: var(--red);
  font-size: 10px;
  font-weight: 900;
}

.speech p {
  margin: 5px 0 2px;
  font-family: "Yu Mincho", "Noto Serif JP", serif;
  font-size: 20px;
  font-weight: 700;
}

.speech small {
  color: var(--muted);
}

.expression-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.expression-grid article {
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--surface);
}

.expression-grid h3 {
  margin: 20px 0 12px;
  font-family: "Yu Mincho", "Noto Serif JP", serif;
  font-size: 25px;
}

.expression-grid p {
  color: var(--muted);
}

.expression-grid p b {
  color: var(--ink);
}

.level-connection {
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: 20px;
  align-items: start;
  margin-top: 18px;
  padding: 22px;
  border-left: 5px solid var(--blue);
  border-radius: 0 14px 14px 0;
  background: #e7eef2;
}

.level-connection p {
  margin: 0;
  color: #465d6b;
}

.quiz-list {
  border-top: 1px solid var(--line);
}

.quiz-list details {
  border-bottom: 1px solid var(--line);
}

.quiz-list summary {
  display: grid;
  grid-template-columns: 50px 1fr;
  align-items: center;
  padding: 22px 4px;
  font-size: 17px;
  font-weight: 850;
  cursor: pointer;
}

.quiz-list summary span {
  color: var(--red);
  font-size: 11px;
}

.quiz-list details > div {
  margin: 0 0 22px 50px;
  padding: 20px;
  border-radius: 14px;
  background: var(--surface);
}

.quiz-list details p {
  color: var(--muted);
}

.quiz-list details strong {
  color: var(--green);
}

.completion-card {
  margin-top: 36px;
  padding: 38px;
  border-radius: 24px;
  background: var(--ink);
  color: #fff;
  text-align: center;
}

.completion-card > span {
  color: var(--yellow);
}

.completion-card > strong {
  display: block;
  margin: 12px 0 4px;
  font-family: "Yu Mincho", "Noto Serif JP", serif;
  font-size: clamp(30px, 5vw, 48px);
}

.completion-card p {
  margin: 0 0 22px;
  color: #bdc9c2;
}

.scenario-grid,
.grammar-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.scenario-grid article,
.grammar-grid article {
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--surface);
}

.scenario-grid header,
.grammar-grid header {
  display: flex;
  justify-content: space-between;
}

.scenario-grid header b,
.grammar-grid header b {
  color: var(--green);
}

.scenario-grid h2,
.grammar-grid h2 {
  margin: 24px 0 16px;
  font-size: 25px;
  line-height: 1.35;
  letter-spacing: -.035em;
}

.scenario-grid article > p,
.grammar-grid article > p {
  color: var(--muted);
}

.scenario-grid article > a {
  color: var(--green);
  font-weight: 900;
}

.mini-dialogue {
  padding: 18px;
  border-radius: 15px;
  background: var(--green-soft);
}

.mini-dialogue p {
  margin: 8px 0;
  font-family: "Yu Mincho", "Noto Serif JP", serif;
  font-size: 17px;
}

.mini-dialogue i {
  display: inline-block;
  width: 42px;
  color: var(--red);
  font-family: sans-serif;
  font-size: 10px;
  font-style: normal;
  font-weight: 900;
}

.grammar-grid code {
  padding: 2px 6px;
  border-radius: 6px;
  background: var(--green-soft);
  color: var(--green-dark);
  font-family: "Yu Mincho", "Noto Serif JP", serif;
}

.compare-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 9px;
}

.compare-pair.single {
  grid-template-columns: 1fr;
}

.compare-pair > div {
  padding: 18px;
  border-radius: 15px;
  background: var(--green-soft);
}

.compare-pair b {
  color: var(--green-dark);
  font-size: 11px;
}

.compare-pair p {
  margin: 8px 0 2px;
  font-family: "Yu Mincho", "Noto Serif JP", serif;
  font-size: 17px;
  font-weight: 700;
}

.compare-pair small {
  color: var(--muted);
}

.news-article {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 26px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.news-list-section {
  padding: 80px 0;
}

.news-list {
  display: grid;
}

.news-list > a {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px 30px;
  padding: 36px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--surface);
  box-shadow: var(--shadow);
  text-decoration: none;
}

.news-list-meta {
  display: flex;
  flex-wrap: wrap;
  grid-column: 1 / -1;
  gap: 8px;
  align-items: center;
}

.news-list-meta span,
.news-list-meta b {
  padding: 6px 10px;
  border-radius: 999px;
  background: var(--green-soft);
  color: var(--green-dark);
  font-size: 10px;
  font-weight: 900;
}

.news-list-meta b {
  background: var(--ink);
  color: #fff;
}

.news-list h3 {
  margin: 18px 0 0;
  font-family: "Yu Mincho", "Noto Serif JP", serif;
  font-size: clamp(27px, 4vw, 42px);
  line-height: 1.45;
}

.news-list h3 ruby rt {
  color: var(--green);
  font-family: "Yu Gothic", "Noto Sans JP", sans-serif;
  font-size: .42em;
}

.news-list > a > strong {
  grid-column: 1;
  color: var(--green-dark);
  font-size: 17px;
}

.news-list > a > p {
  grid-column: 1;
  max-width: 760px;
  margin: 0;
  color: var(--muted);
}

.news-list > a > small {
  grid-column: 2;
  grid-row: 2 / 5;
  align-self: center;
  color: var(--green);
  font-weight: 900;
  white-space: nowrap;
}

.news-policy {
  margin-bottom: 100px;
}

.news-article > header {
  padding: 42px 46px 30px;
  border-bottom: 1px solid var(--line);
}

.news-article > header h2 {
  max-width: 820px;
  margin: 0;
  font-family: "Yu Mincho", "Noto Serif JP", serif;
  font-size: clamp(34px, 5vw, 54px);
  line-height: 1.35;
  letter-spacing: -.035em;
}

.news-article > header > p:not(.eyebrow) {
  margin: 10px 0;
  color: var(--muted);
}

.news-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 22px;
}

.news-meta span {
  padding: 7px 11px;
  border-radius: 999px;
  background: var(--green-soft);
  color: var(--green-dark);
  font-size: 11px;
  font-weight: 850;
}

.news-body {
  display: grid;
  gap: 20px;
  padding: 42px 46px;
}

.news-body p {
  max-width: 920px;
  margin: 0;
  font-family: "Yu Mincho", "Noto Serif JP", serif;
  font-size: 22px;
  font-weight: 650;
  line-height: 2.15;
}

.news-body ruby rt,
.news-vocab ruby rt {
  color: var(--green);
  font-family: "Yu Gothic", "Noto Sans JP", sans-serif;
  font-size: .42em;
}

.news-summary {
  margin: 0 46px 36px;
  padding: 24px;
  border-left: 5px solid var(--green);
  border-radius: 0 15px 15px 0;
  background: var(--green-soft);
}

.news-summary h3 {
  margin: 0 0 8px;
  color: var(--green-dark);
  font-size: 14px;
}

.news-summary p {
  margin: 0;
  color: #344d41;
}

.news-source {
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: 18px;
  padding: 24px 46px;
  background: var(--ink);
  color: #fff;
}

.news-source span {
  color: #bdc9c2;
  font-size: 11px;
  font-weight: 900;
}

.news-source a {
  color: var(--yellow);
  font-weight: 850;
}

.news-study {
  padding: 90px 0 40px;
}

.news-vocab {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.news-vocab article {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 17px;
  background: var(--surface);
}

.news-vocab h3 {
  margin: 0;
  font-family: "Yu Mincho", "Noto Serif JP", serif;
  font-size: 23px;
}

.news-vocab p {
  margin: 7px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.news-grammar {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin-top: 18px;
}

.news-grammar article {
  padding: 28px;
  border-radius: 19px;
  background: var(--ink);
  color: #fff;
}

.news-grammar span {
  color: var(--yellow);
  font-size: 11px;
  font-weight: 900;
}

.news-grammar h3 {
  margin: 15px 0 8px;
  font-family: "Yu Mincho", "Noto Serif JP", serif;
  font-size: 27px;
}

.news-grammar p {
  margin: 0;
  color: #c4cec8;
}

@media(max-width: 900px) {
  .practical-home,
  .practical-hero,
  .lesson-hero,
  .news-hero {
    grid-template-columns: 1fr;
  }

  .route-board {
    margin-top: 8px;
  }

  .course-grid {
    grid-template-columns: 1fr;
  }

  .course-grid > a {
    min-height: 230px;
  }

  .phrase-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .scene-preview {
    grid-template-columns: 1fr;
  }

  .scene-preview aside {
    padding: 22px 0 0;
    border-top: 1px solid #405047;
    border-left: 0;
  }

  .track-grid.three {
    grid-template-columns: 1fr;
  }

  .news-list > a {
    grid-template-columns: 1fr;
  }

  .news-list > a > small {
    grid-column: 1;
    grid-row: auto;
    margin-top: 12px;
    white-space: normal;
  }
}

@media(max-width: 680px) {
  .practical-home {
    gap: 30px;
  }

  .practical-home h1 {
    font-size: 43px;
  }

  .route-card.talk,
  .route-card.jlpt {
    margin-right: 0;
    margin-left: 0;
  }

  .track-section,
  .course-map,
  .phrase-section,
  .dialogue-section,
  .expression-section,
  .quiz-section,
  .scenario-section,
  .grammar-section {
    padding: 55px 0;
  }

  .track-grid,
  .scenario-grid,
  .grammar-grid,
  .expression-grid {
    grid-template-columns: 1fr;
  }

  .track-card {
    min-height: 260px;
    padding: 26px 22px;
  }

  .practical-hero,
  .lesson-hero,
  .news-hero {
    padding-top: 64px;
  }

  .practical-hero h1,
  .lesson-hero h1,
  .news-hero h1 {
    font-size: 43px;
  }

  .practical-hero > div > p:not(.eyebrow),
  .lesson-hero > div > p:not(.eyebrow),
  .news-hero > div > p:not(.eyebrow) {
    font-size: 16px;
  }

  .scene-preview {
    margin: 30px 0;
    padding: 28px 20px;
  }

  .lesson-progress {
    grid-template-columns: repeat(2, 1fr);
  }

  .lesson-progress span:nth-child(2) {
    border-right: 0;
  }

  .lesson-progress span:nth-child(-n+2) {
    border-bottom: 1px solid var(--line);
  }

  .phrase-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .phrase-grid article {
    padding: 18px;
  }

  .dialogue-card {
    padding: 18px;
  }

  .speech {
    max-width: 94%;
    padding: 15px;
  }

  .speech p {
    font-size: 17px;
  }

  .level-connection {
    grid-template-columns: 1fr;
  }

  .quiz-list summary {
    grid-template-columns: 38px 1fr;
    font-size: 15px;
  }

  .quiz-list details > div {
    margin-left: 0;
  }

  .compare-pair {
    grid-template-columns: 1fr;
  }

  .news-article > header,
  .news-body {
    padding: 28px 20px;
  }

  .news-body p {
    font-size: 18px;
  }

  .news-summary {
    margin: 0 20px 24px;
    padding: 20px;
  }

  .news-source {
    grid-template-columns: 1fr;
    padding: 22px 20px;
  }

  .news-vocab,
  .news-grammar {
    grid-template-columns: 1fr;
  }

  .news-list-section {
    padding: 55px 0;
  }

  .news-list > a {
    padding: 24px 20px;
  }
}
