.curriculum-main {
  --course-rule: #e5dcd7;
  --course-tint: #fff6ed;
  --course-gap: clamp(56px, 7vw, 96px);
  max-width: 1184px;
  padding: 0 40px 85px;
  margin-inline: auto;
  color: var(--ink);
  font-weight: 500;
  line-height: 1.8;
  letter-spacing: .035em;
}
.curriculum-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 16px;
  margin: clamp(36px, 5vw, 72px) 0 clamp(38px, 4.5vw, 62px);
}
.curriculum-hero h1 {
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 900;
  letter-spacing: .045em;
  line-height: 1.32;
}
.curriculum-hero p { word-break: keep-all; overflow-wrap: anywhere; max-width: 52em; font-size: clamp(15px, 1.25vw, 17px); line-height: 1.95; }
.course-contents {
  display: flex;
  flex-wrap: wrap;
  gap: 0 24px;
}
.course-contents a {
  display: inline-flex;
  align-items: center;
  gap: .5em;
  padding: 6px 0;
  font-size: 14px;
  font-weight: 700;
}
.course-contents a::before {
  content: '';
  width: .78em;
  height: .9em;
  background: url('/emo/assets/emo-nav-arrow.webp') center / contain no-repeat;
}
.course-contents a:hover { color: #a63f23; }
.curriculum-main .section-title {
  font-size: clamp(24px, 2.7vw, 34px);
  line-height: 1.55;
  gap: .48em;
  letter-spacing: .045em;
}
.curriculum-main .section-title::before { width: .65em; height: .65em; margin: 0; }
.schedule-heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 4px 24px;
  flex-wrap: wrap;
  padding-bottom: 20px;
}
.schedule-edition { font-size: 15px; font-weight: 700; }
.schedule-phase {
  display: grid;
  grid-template-columns: minmax(180px, .9fr) minmax(0, 3fr);
  border-top: 1px solid var(--course-rule);
}
.schedule-phase-header {
  padding: 18px 20px 20px 0;
}
.schedule-period { font-weight: 700; font-size: 13px; color: #913d23; }
.schedule-phase-header h3 {
  margin: 5px 0 14px;
  font-size: clamp(17px, 1.6vw, 21px);
  font-weight: 900;
  line-height: 1.5;
  letter-spacing: .015em;
}
.schedule-phase-header p { font-size: 14px; }
.schedule-phase-header strong {
  display: block;
  font: 700 clamp(16px, 1.7vw, 21px)/1.5 Roboto, "Noto Sans JP", sans-serif;
  letter-spacing: .02em;
  font-variant-numeric: tabular-nums;
}
.schedule-common { margin-top: 6px; }
.schedule-months {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-radius: 6px 6px 0 0;
  background: var(--month-band, var(--gradient)) left top / 100% 38px no-repeat;
}
.schedule-phase + .schedule-phase {
  --month-band: linear-gradient(90deg, #ff9600 0%, #ea5532 78.5%, #e83820 100%);
}
.schedule-month { min-width: 0; }
.schedule-month h4 {
  height: 38px;
  padding: 5px 20px;
  color: white;
  font-size: 20px;
  line-height: 28px;
  font-weight: 900;
}
.schedule-events {
  padding: 1px 20px 16px;
  margin: 0;
  list-style: none;
}
.schedule-month + .schedule-month .schedule-events { border-left: 1px solid var(--course-rule); }
.schedule-topic > span { display: inline-block; }
.schedule-events li { margin-top: 10px; }
.schedule-events time { display: flex; align-items: baseline; gap: 4px; }
.schedule-events b {
  font: 700 clamp(28px, 2.6vw, 34px)/1.15 Roboto, "Noto Sans JP", sans-serif;
  font-variant-numeric: tabular-nums;
  letter-spacing: -.045em;
}
.schedule-events time span { font-size: 12px; color: #55483e; }
.schedule-topic { display: block; margin-top: 3px; font-size: 14px; line-height: 1.45; }
.schedule-phase:last-child { border-bottom: 1px solid var(--course-rule); }
.schedule-section { margin-top: clamp(40px, 5vw, 64px); }
.course-classroom, .course-operations, .course-certification, .course-fees, .course-faq { margin-top: var(--course-gap); }
.course-activities > .section-title { margin-bottom: 26px; }
.course-operations > .section-title { margin-bottom: 24px; }
.course-certification > p { margin-top: 20px; max-width: 64em; font-size: 16px; line-height: 1.95; }
.classroom-heading p { margin-top: 8px; font-size: 15px; line-height: 1.85; }
.classroom-steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  column-gap: clamp(20px, 2.3vw, 32px);
  padding: 0;
  margin: 24px 0 0;
  list-style: none;
}
.classroom-steps li {
  display: grid;
  grid-row: span 4;
  grid-template-rows: subgrid;
  align-content: start;
}
.classroom-number {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--orange);
  font: 700 16px/1.2 Roboto, sans-serif;
}
.classroom-number::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--course-rule);
}
.classroom-steps img {
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: contain;
  margin-block: 12px 16px;
}
.classroom-steps h3 {
  font-size: clamp(18px, 1.55vw, 20px);
  font-weight: 900;
  line-height: 1.5;
  letter-spacing: .02em;
  word-break: keep-all;
  overflow-wrap: anywhere;
}
.classroom-steps p { margin-top: 8px; font-size: 15px; line-height: 1.85; }
@media (max-width: 900px) {
  .classroom-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .classroom-steps li:nth-child(n+3) { padding-top: 28px; }
}
@media (max-width: 560px) {
  .classroom-steps { grid-template-columns: 1fr; gap: 28px; margin-top: 20px; }
  .classroom-steps li {
    grid-row: auto;
    grid-template-columns: minmax(0, 2fr) minmax(0, 3fr);
    grid-template-rows: auto auto 1fr;
    column-gap: 14px;
  }
  .classroom-steps li:nth-child(n+3) { padding-top: 0; }
  .classroom-number { grid-column: 1 / -1; margin-bottom: 12px; }
  .classroom-steps img { grid-row: span 2; align-self: start; margin-block: 0; }
  .classroom-steps p { margin-top: 6px; }
}

.operations-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(20px, 2.6vw, 36px);
}
.operation-media {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: contain;
}
.operation-platform {
  -webkit-mask: url("/emo/assets/operations-partner-mask.svg") center / contain no-repeat;
  mask: url("/emo/assets/operations-partner-mask.svg") center / contain no-repeat;
}
.operation h3 {
  margin: 16px 0 8px;
  font-size: clamp(18px, 1.5vw, 20px);
  line-height: 1.5;
  font-weight: 900;
  letter-spacing: .02em;
}
.operation h3 span { display: inline-block; }
.operation p { font-size: 15px; line-height: 1.85; }
@media (max-width: 760px) {
  .operations-grid { grid-template-columns: 1fr; gap: 24px; }
  .operation {
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(0, 3fr);
    grid-template-rows: auto 1fr;
    gap: 5px 18px;
    align-content: start;
  }
  .operation-media { grid-row: span 2; align-self: start; }
  .operation h3 { margin: 0; }
}
@media (max-width: 480px) {
  .operations-grid { gap: 30px; }
  .operation { display: block; }
  .operation h3 { margin: 12px 0 5px; }
}

.fee-prices {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 24px 0 0;
  padding: clamp(22px, 3vw, 36px) 0;
  background: var(--course-tint);
}
.fee-prices > div { padding: 0 clamp(18px, 3.5vw, 48px); }
.fee-prices > div + div { border-left: 1px solid #decdbd; }
.fee-prices dt { margin-bottom: 5px; font-size: 19px; font-weight: 700; }
.fee-prices dd { margin: 0; font-size: clamp(16px, 1.8vw, 23px); font-weight: 700; }
.fee-prices b {
  margin-right: .08em;
  font: 900 clamp(40px, 4.8vw, 62px)/1.15 Roboto, "Noto Sans JP", sans-serif;
  letter-spacing: -.035em;
  font-variant-numeric: tabular-nums;
}
.fee-benefits { margin-top: 24px; }
.fee-benefits h3 { font-size: 18px; }
.fee-benefits ul {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 28px;
  margin: 12px 0 0;
  padding: 0;
  list-style: none;
  font-size: 15px;
}
.fee-benefits li::before {
  content: '';
  display: inline-block;
  width: .45em;
  height: .45em;
  margin: 0 .55em .13em 0;
  background: var(--orange);
  border-radius: 50%;
}
.fee-notes { margin-top: 21px; border-top: 1px solid var(--course-rule); padding-top: 14px; }
.fee-notes p { padding-inline-start: 1em; text-indent: -1em; font-size: 13px; line-height: 1.85; }
.course-faq .section-title { margin-bottom: 22px; }
.course-faq details { border-bottom: 1px solid var(--course-rule); }
.course-faq details:first-of-type { border-top: 1px solid var(--course-rule); }
.course-faq summary {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: baseline;
  padding: 16px 0;
  font-weight: 700;
  list-style: none;
  cursor: pointer;
}
.course-faq summary::-webkit-details-marker { display: none; }
.course-faq summary::after { content: '+'; color: var(--orange); font: 500 22px/1 Roboto, sans-serif; }
.course-faq details[open] summary::after { content: '−'; }
.course-faq summary:focus-visible { outline: 2px solid var(--orange); outline-offset: 3px; }
.course-faq details p { margin: 0 24px 18px 0; font-size: 15px; }
.course-cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  margin-top: clamp(44px, 5vw, 72px);
}
.course-cta .briefing-button { width: min(100%, 340px); }
.course-cta .detail-link { display: inline-flex; align-items: center; gap: 12px; min-height: 48px; font-weight: 700; }
.course-cta .detail-link:is(:hover, :focus-visible) { color: var(--orange); }
@media (max-width: 800px) {
  .curriculum-main { padding-inline: 24px; }
  .curriculum-hero { gap: 14px; }
  .schedule-phase { grid-template-columns: 1fr; }
  .schedule-phase-header { display: flex; flex-wrap: wrap; gap: 5px 12px; align-items: baseline; padding: 12px 16px; }
  .schedule-phase-header h3 { margin: 0; }
  .schedule-common { margin-top: 0; }
  .schedule-phase-header p { margin-left: auto; }
  .schedule-phase-header strong { display: inline; margin-left: .4em; }
  .schedule-month:first-child { border-left: 0; }
}
@media (max-width: 560px) {
  .curriculum-main { padding: 0 20px 54px; }
  .curriculum-hero h1 { font-size: clamp(22px, 8vw, 32px); }
  .curriculum-hero { margin: 30px 0 34px; }
  .course-contents { gap: 0 18px; }
  .schedule-heading { display: block; padding-bottom: 12px; }
  .schedule-edition { margin-top: 4px; font-size: 13px; }
  .schedule-phase-header { gap: 3px 9px; }
  .schedule-phase-header p { flex-basis: 100%; margin-left: 0; }
  .schedule-phase-header { padding-inline: 0; }
  .schedule-months { display: block; background: none; }
  .schedule-month { display: grid; grid-template-columns: 38px 1fr; gap: 10px; padding: 14px 0; border: 0; }
  .schedule-month + .schedule-month { border-top: 1px solid var(--course-rule); }
  .schedule-month h4 {
    align-self: start;
    height: auto;
    padding: 2px 3px;
    background: var(--course-tint);
    color: var(--ink);
    border-top: 2px solid var(--orange);
    text-align: center;
    font-size: 16px;
  }
  .schedule-month + .schedule-month .schedule-events { border: 0; }
  .schedule-events { padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 12px; }
  .schedule-events li { margin: 0; }
  .schedule-events b { font-size: 26px; }
  .schedule-topic { font-size: 13px; }
  .fee-prices > div { padding: 0 clamp(10px, 3.5vw, 20px); }
  .fee-prices b { font-size: clamp(27px, 7vw, 39px); }
  .fee-prices dt { font-size: 16px; }
  .fee-prices dd { font-size: 14px; }
  .fee-benefits ul { display: grid; }
}

/* The two periods share a time axis. Each return line connects the last activity to the first. */
.program-phases {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: clamp(24px, 3vw, 44px);
}
.program-phase {
  --step-count: 4;
  --step-gap: 14px;
  --period-color: var(--orange);
  --frame-stroke: 3px;
  --arrow-stroke: 2.5px;
  min-width: 0;
}
.program-phase + .program-phase {
  --step-count: 3;
  --period-color: #ff9600;
}
.program-period {
  margin-bottom: 18px;
  padding: 6px 17px;
  background-color: var(--period-color);
  color: white;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: .05em;
}
.program-phase + .program-phase .program-period {
  clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 50%, calc(100% - 12px) 100%, 0 100%);
}
.program-phase h3 {
  font-size: clamp(22px, 2.2vw, 30px);
  line-height: 1.5;
  font-weight: 900;
  letter-spacing: .035em;
}
.program-lead { margin: 9px 0 22px; font-size: 15px; line-height: 1.9; }
.practice-cycle { position: relative; }
.practice-steps {
  display: grid;
  grid-template-columns: repeat(var(--step-count), minmax(0, 1fr));
  gap: var(--step-gap);
  margin: 0;
  padding: 0;
  list-style: none;
}
.practice-steps li { position: relative; display: grid; min-width: 0; text-align: center; }
.cycle-step {
  display: grid;
  place-content: center;
  min-height: 82px;
  border: var(--frame-stroke) solid var(--period-color);
  border-radius: 5px;
  background: #fff;
  padding: 4px;
  font-size: 16px;
  line-height: 1.4;
  font-weight: 700;
  letter-spacing: 0;
  word-break: keep-all;
}
.practice-steps li:not(:last-child)::after {
  content: '';
  position: absolute;
  box-sizing: border-box;
  top: 50%;
  left: calc(100% + var(--step-gap) / 2);
  width: 9px;
  height: 9px;
  border: solid var(--period-color);
  border-width: var(--arrow-stroke) var(--arrow-stroke) 0 0;
  transform: translate(-65%, -50%) rotate(45deg);
}
.practice-steps small {
  display: block;
  margin: 1px 0 0;
  font-size: 13px;
  font-weight: 700;
  line-height: 21px;
}
.cycle-return {
  position: relative;
  margin-inline: calc((100% + var(--step-gap)) / (var(--step-count) * 2) - var(--step-gap) / 2);
  height: 20px;
  border: solid var(--period-color);
  border-width: 0 var(--arrow-stroke) var(--arrow-stroke);
  border-radius: 0 0 5px 5px;
}
.cycle-return::before {
  content: '';
  position: absolute;
  box-sizing: border-box;
  left: calc(0px - var(--arrow-stroke) / 2);
  top: 1px;
  width: 9px;
  height: 9px;
  border: solid var(--period-color);
  border-width: var(--arrow-stroke) 0 0 var(--arrow-stroke);
  transform: translateX(-50%) rotate(45deg);
}
@media (max-width: 1020px) {
  .program-phases { grid-template-columns: 1fr; gap: 36px; }
  .program-lead { margin-bottom: 16px; }
  .phase-break { display: none; }
}
@media (max-width: 560px) {
  .program-period { margin-bottom: 10px; padding: 4px 12px; font-size: 15px; }
  .program-lead { font-size: 14px; }
  .program-phase { --step-gap: 12px; --frame-stroke: 2px; --arrow-stroke: 2px; }
  .practice-cycle { padding-left: 18px; }
  .practice-steps { position: relative; grid-template-columns: 1fr; gap: var(--step-gap); }
  .cycle-step {
    min-height: 38px;
    padding: 4px 12px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 15px;
  }
  .practice-steps li:not(:last-child)::after {
    top: calc(100% + var(--step-gap) / 2);
    left: 50%;
    width: 7px;
    height: 7px;
    transform: translate(-50%, -65%) rotate(135deg);
  }
  .cycle-return {
    position: static;
    height: 0;
    margin: 0;
    border: 0;
  }
  .practice-steps::before {
    content: '';
    position: absolute;
    left: -18px;
    top: 19px;
    bottom: 19px;
    width: 18px;
    box-sizing: border-box;
    border: solid var(--period-color);
    border-width: var(--arrow-stroke) 0 var(--arrow-stroke) var(--arrow-stroke);
    border-radius: 5px 0 0 5px;
  }
  .cycle-return::before {
    left: 12px;
    top: 20px;
    width: 8px;
    height: 8px;
    transform: translateY(-50%) rotate(135deg);
  }

  .practice-steps small { font-size: 12px; }
}
