.tn-year-plan {
  display: grid;
  gap: 18px;
}
.tn-year-head {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: flex-start;
}
.tn-year-head span {
  display: block;
  color: #2868c9;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.12em;
}
.tn-year-head h2 {
  margin: 5px 0 0;
  font-size: 28px;
  color: #142b44;
}
.tn-year-head > strong {
  font-size: 12px;
  color: #31556f;
  background: #edf6ff;
  border: 1px solid #d2e7f7;
  border-radius: 999px;
  padding: 8px 11px;
}
.tn-year-plan > p {
  margin: 0;
  color: #60758a;
  font-size: 12px;
  line-height: 1.65;
}
.tn-year-summary {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}
.tn-year-summary article {
  border: 1px solid #dce6ef;
  border-radius: 14px;
  padding: 14px;
  background: linear-gradient(145deg, #fff, #f7fbff);
  min-width: 0;
}
.tn-year-summary span,
.tn-year-summary small {
  display: block;
  color: #6b7f92;
  font-size: 10px;
}
.tn-year-summary strong {
  display: block;
  color: #17324f;
  font-size: 13px;
  margin: 6px 0;
  overflow-wrap: anywhere;
}
.tn-year-break {
  padding: 10px 12px !important;
  background: #f5f0ff;
  border: 1px solid #e5d9ff;
  border-radius: 12px;
  color: #5b4789 !important;
}
.tn-year-schedules {
  display: grid;
  gap: 10px;
}
.tn-year-term {
  border: 1px solid #dce6ef;
  border-radius: 14px;
  background: #fff;
  overflow: hidden;
}
.tn-year-term summary {
  list-style: none;
  cursor: pointer;
  padding: 14px 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  background: #f7fafc;
}
.tn-year-term summary::-webkit-details-marker {
  display: none;
}
.tn-year-term summary span {
  display: grid;
  gap: 3px;
}
.tn-year-term summary strong {
  color: #17324f;
  font-size: 13px;
}
.tn-year-term summary small {
  color: #718597;
  font-size: 10px;
}
.tn-year-term summary > b {
  font-size: 10px;
  color: #2868c9;
}
.tn-year-table-wrap {
  overflow: auto;
}
.tn-year-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 650px;
}
.tn-year-table th,
.tn-year-table td {
  padding: 10px 12px;
  border-top: 1px solid #edf1f5;
  text-align: left;
  font-size: 10px;
  color: #546a7d;
}
.tn-year-table th {
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #7a8ea0;
}
.tn-year-table td:nth-child(2) {
  min-width: 280px;
}
.tn-year-table td a {
  color: #17324f;
  text-decoration: none;
}
.tn-year-table td a:hover {
  text-decoration: underline;
}
.tn-year-kind {
  display: inline-block;
  width: 58px;
  margin-right: 8px;
  border-radius: 999px;
  padding: 4px 6px;
  text-align: center;
  background: #eaf3ff;
  color: #2868c9;
  font-size: 8px;
  font-weight: 900;
  text-transform: uppercase;
}
.tn-year-table tr.is-review .tn-year-kind {
  background: #fff1d6;
  color: #8c6200;
}
.tn-year-table tr.is-exam .tn-year-kind {
  background: #f2e7ff;
  color: #6d3ba8;
}
.tn-year-status {
  display: inline-flex;
  border-radius: 999px;
  padding: 4px 7px;
  background: #eef2f5;
  color: #6a7c8d;
}
.tn-year-status.is-completed {
  background: #e7f8ef;
  color: #087451;
}
.tn-year-status.is-in_progress {
  background: #fff3d9;
  color: #886000;
}
@media (max-width: 900px) {
  .tn-year-summary {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 600px) {
  .tn-year-head {
    display: grid;
  }
  .tn-year-summary {
    grid-template-columns: 1fr;
  }
  .tn-year-term summary {
    align-items: flex-start;
    flex-direction: column;
  }
}

.tn-full-schedule { display:grid;gap:14px;padding:18px;border:1px solid #dce8f2;border-radius:17px;background:#fbfdff; }
.tn-full-schedule h3 { margin:4px 0 0;color:#17213d;font-size:18px; }
.tn-full-schedule>div>span { color:#2868c9;font-size:10px;font-weight:900;letter-spacing:.12em; }
.tn-year-term summary { position:relative; }
.tn-year-term summary::after { content:"＋";color:#526b82;font-size:19px;font-weight:900; }
.tn-year-term[open] summary::after { content:"−"; }
.tn-year-term.tn-year-term1 summary { border-left:5px solid #2f74d0;background:linear-gradient(90deg,#f4f9ff,#fff); }
.tn-year-term.tn-year-term2 summary { border-left:5px solid #7b5ac7;background:linear-gradient(90deg,#f8f5ff,#fff); }
.tn-schedule-row { border-left:4px solid transparent; }
.tn-schedule-row.is-lesson { border-left-color:#5b9be1;background:#fbfdff; }
.tn-schedule-row.is-review { border-left-color:#e0a52d;background:#fffdf8; }
.tn-schedule-row.is-exam { border-left-color:#7b5ac7;background:#fbf8ff;font-weight:700; }
.tn-week-list { display:grid;gap:9px; }
.tn-week-list article { display:grid;grid-template-columns:130px minmax(0,1fr) auto 65px auto;gap:14px;align-items:center;padding:13px 14px;border:1px solid #e0e8ef;border-radius:14px;background:#fff; }
.tn-week-list time,.tn-week-list b { color:#60758a;font-size:12px; }
.tn-week-list div { display:grid;gap:3px; }
.tn-week-list small { color:#60758a;text-transform:capitalize; }
.tn-week-list a { color:#2868c9;font-size:12px;font-weight:850;text-decoration:none; }
.tn-year-table td:nth-child(3) { min-width:300px; }
@media(max-width:620px){.tn-year-table-wrap{overflow:visible}.tn-year-table{display:block;min-width:0}.tn-year-table thead{display:none}.tn-year-table tbody{display:grid;gap:10px;padding:10px}.tn-year-table tr{display:grid;gap:6px;padding:13px;border:1px solid #e1e9f1;border-radius:13px}.tn-year-table td,.tn-year-table td:nth-child(3){display:block;min-width:0;padding:2px 0;border:0}.tn-year-table td::before{content:attr(data-label) " · ";color:#718597;font-weight:800}.tn-year-table td[data-label="Plan"]::before{content:""}.tn-week-list article{grid-template-columns:1fr;gap:7px}.tn-week-list article>a{justify-self:start}.tn-year-term summary>b{padding-right:28px}}
