:root {
  --font-sans-ja:
    "Yu Gothic", "游ゴシック", YuGothic, "Hiragino Kaku Gothic ProN", Meiryo,
    sans-serif;
  --font-m-plus-1p: "M PLUS 1p", var(--font-sans-ja);
  --section-title-size: clamp(28px, 3.28vw, 42px);
  --ink: #292725;
  --paper: #fff;
  --orange: #ef6f39;
  --mint: #70b9a7;
}

/* Reusable typography */
.fontMPlus1p {
  font-family: var(--font-m-plus-1p);
  font-weight: 800;
}

.sectionTitle {
  font-size: var(--section-title-size);
}

.spBreak {
  display: none;
}

@media (max-width: 760px) {
  :root {
    --section-title-size: 30px;
  }

  .spBreak {
    display: block;
  }

  .spHiddenPunctuation {
    display: none;
  }
}

.heroShell,
.s1,
.s2 {
  font-family: var(--font-sans-ja);
  color: #272725;
}
.heroShell {
  max-width: 1220px;
  margin: 0 auto;
  background: #f5f4ef;
  box-shadow: 0 0 18px #00000012;
}
.header {
  height: 94px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 31px;
  position: relative;
  z-index: 2;
}
.logo {
  display: flex;
  align-items: center;
  color: #20201f;
  text-decoration: none;
  font-weight: 700;
  line-height: 1.15;
  font-size: 15px;
}
.topLogoMark {
  width: 48px;
  height: 48px;
  margin-right: 14px;
  position: relative;
  transform: rotate(30deg);
}
.topLogoMark i {
  position: absolute;
  width: 19px;
  height: 19px;
  border-radius: 3px;
}
.topLogoMark i:nth-child(1) {
  background: #ed7043;
  left: 3px;
  top: 3px;
}
.topLogoMark i:nth-child(2) {
  background: #efb948;
  right: 3px;
  top: 3px;
}
.topLogoMark i:nth-child(3) {
  background: #70bca9;
  left: 14px;
  top: 14px;
}
.topLogoMark i:nth-child(4) {
  background: #91c85f;
  right: 3px;
  bottom: 3px;
}
.topLogoMark i:nth-child(5) {
  background: #e78c62;
  left: 3px;
  bottom: 3px;
}
.topLogoMark i:nth-child(6) {
  background: #45a894;
  left: 14px;
  bottom: 0;
}
.logoText small {
  font-size: 6px;
  display: block;
  font-weight: 500;
  letter-spacing: 0.04em;
  margin-top: 4px;
}
.headerLinks {
  display: none;
}
.menu {
  border: 0;
  background: transparent;
  display: grid;
  grid-template-columns: auto 27px;
  column-gap: 7px;
  align-items: center;
  padding: 8px;
  cursor: pointer;
  color: #222;
}
.menu span {
  font-size: 13px;
  grid-row: 1/4;
}
.menu i {
  display: block;
  width: 27px;
  height: 1px;
  background: #333;
  margin: 3px 0;
}
.hero {
  height: 665px;
  background: url("img/Hero-PC.jpg") center/cover no-repeat;
  position: relative;
}
.heroCopy {
  position: absolute;
  left: 62%;
  top: 58px;
}
.heroCopy h1 {
  font-size: 56px;
  line-height: 1.15;
  letter-spacing: 0.08em;
  margin: 0;
  writing-mode: vertical-rl;
  height: 290px;
}
.heroCopy h1 span {
  color: #eb5b2d;
}
.heroCopy h1 em {
  font-style: normal;
  color: #65b7a3;
}
.heroCopy p {
  margin: 17px 0 0 -24px;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.8;
  white-space: nowrap;
}
.heroNav {
  height: 69px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  background: transparent;
}
.heroNav a {
  background: #ec693e;
  color: white;
  text-decoration: none;
  padding: 12px 20px;
  font-size: 15px;
  min-width: 176px;
  text-align: center;
  box-shadow: none;
}
.heroNav a span {
  font-size: 10px;
  margin-left: 7px;
}
.s1 {
  background: #fff;
  overflow: hidden;
}
.s1Inner {
  width: 100%;
  max-width: 1120px;
  height: min(1050px, 93.75vw);
  margin: 0 auto;
  position: relative;
  padding-top: min(75px, 6.6964vw);
}
.s1Copy {
  width: min(760px, 74vw);
  margin-right: auto;
  margin-left: auto;
}
.s1Copy h2 {
  font-size: clamp(28px, 3.75vw, 42px);
  line-height: 1.35;
  margin: 0 0 min(24px, 2.1429vw);
  font-weight: 800;
  letter-spacing: 0.03em;
}
.s1Copy h2 span {
  color: #e95f34;
}
.s1Copy h2 em {
  font-style: normal;
  color: #66b6a3;
}
.s1Copy p {
  font-size: clamp(12px, 1.6071vw, 18px);
  line-height: 1.85;
  font-weight: 600;
  margin: 0;
}
.verticals {
  position: absolute;
  right: min(120px, 10.7143vw);
  top: min(150px, 13.3929vw);
  display: flex;
  flex-direction: row-reverse;
  gap: min(8px, 0.7143vw);
  align-items: flex-start;
}
.verticals span {
  writing-mode: vertical-rl;
  color: white;
  font-size: clamp(25px, 3.5714vw, 40px);
  line-height: 1.25;
  padding: min(10px, 0.8929vw) min(5px, 0.4464vw);
  letter-spacing: 0.06em;
}
.verticals span:nth-child(1) {
  background: #e2708e;
}
.verticals span:nth-child(2) {
  background: #e7af4b;
  margin-top: min(75px, 6.6964vw);
}
.verticals span:nth-child(3) {
  background: #55ad99;
  margin-top: min(150px, 13.3929vw);
}
.s1Image {
  position: absolute;
  object-fit: cover;
}
.s1Gallery {
  --photo1-width: clamp(136px, 17.875vw, 286px);
  --photo2-width: clamp(232px, 30.4465vw, 487px);
  --photo3-width: clamp(125px, 16.3527vw, 261px);
  --photo4-width: clamp(183px, 24.0625vw, 385px);
  --photo-gap: calc(
    (100vw - var(--photo1-width) - var(--photo2-width) - var(--photo3-width) - var(--photo4-width)) / 3
  );
  position: absolute;
  top: 0;
  left: 50%;
  display: block;
  width: 100vw;
  height: 100%;
  transform: translateX(-50%);
}
.photo1 {
  width: var(--photo1-width);
  height: clamp(136px, 17.875vw, 286px);
  left: 0;
  top: min(380px, 33.9286vw);
}
.photo2 {
  width: var(--photo2-width);
  height: clamp(140px, 18.366vw, 294px);
  left: calc(var(--photo1-width) + var(--photo-gap));
  top: min(505px, 45.0893vw);
}
.photo3 {
  width: var(--photo3-width);
  height: clamp(155px, 20.3304vw, 326px);
  left: calc(
    var(--photo1-width) + var(--photo2-width) + (var(--photo-gap) * 2)
  );
  top: min(660px, 58.9286vw);
}
.photo4 {
  width: var(--photo4-width);
  height: clamp(143px, 18.7589vw, 300px);
  right: 0;
  top: min(755px, 67.4107vw);
}
.s2 {
  background: #f3f2ee;
  padding: 0 20px 88px;
}
.s2 > h2 {
  text-align: center;
  background: #fff;
  margin: 0 -20px;
  padding: 28px 20px 44px;
  line-height: 1.3;
}
.cards {
  max-width: 760px;
  margin: 0 auto;
  display: grid;
  gap: 68px;
}
.card {
  height: 350px;
  position: relative;
  background: white;
  padding: 46px 38px;
  box-sizing: border-box;
  box-shadow: 7px 7px 10px #00000018;
  overflow: visible;
}
.cardText {
  width: 61%;
  position: relative;
  z-index: 2;
}
.topCardLead {
  font-size: 19px !important;
  font-weight: 700;
  line-height: 1.35 !important;
  margin: 0 0 20px !important;
}
.card h3 {
  font-size: 26px;
  line-height: 1.38;
  margin: 0 0 30px;
}
.card h3 span {
  display: table;
  color: #fff;
  padding: 0 5px;
  margin: 3px 0;
}
.topGold h3 span {
  background: #e5ad45;
}
.topPink h3 span {
  background: #e8587e;
}
.topBrown h3 span {
  background: #ad7659;
}
.cardText > p {
  font-size: 13px;
  line-height: 1.6;
  margin: 0 0 12px;
}
.cardAccent {
  font-weight: 700;
}
.topGold .cardAccent {
  color: #d9a644;
}
.topPink .cardAccent {
  color: #dc6683;
}
.topBrown .cardAccent {
  color: #9f6d53;
}
.topCardImage {
  position: absolute;
  width: 47%;
  height: 74%;
  right: -5%;
  top: 25px;
  object-fit: contain;
  z-index: 1;
}
.tap {
  /* Temporarily hidden on both desktop and mobile. */
  display: none;
  position: absolute;
  right: 20px;
  bottom: 13px;
  border: 0;
  background: #ef713f;
  color: #fff;
  font-family: inherit;
  padding: 7px 12px;
  font-size: 13px;
  cursor: pointer;
}
.tap b {
  font-size: 16px;
}
@media (max-width: 760px) {
  .heroShell {
    max-width: none;
    box-shadow: none;
    background: #f7f6f1;
  }
  .header {
    height: 64px;
    padding: 0 12px;
    border-bottom: 1px solid #e9e6df;
  }
  .logo {
    font-size: 8px;
  }
  .topLogoMark {
    width: 28px;
    height: 28px;
    margin-right: 7px;
  }
  .topLogoMark i {
    width: 11px;
    height: 11px;
    border-radius: 2px;
  }
  .topLogoMark i:nth-child(3),
  .topLogoMark i:nth-child(6) {
    left: 8px;
  }
  .logoText small {
    font-size: 3px;
    margin-top: 2px;
  }
  .headerLinks {
    margin-left: auto;
    display: flex;
    align-items: center;
  }
  .headerLinks a {
    color: #252525;
    text-decoration: none;
    font-weight: 700;
    font-size: 9px;
    padding: 7px 9px;
    border-right: 1px solid #ddd;
  }
  .menu {
    grid-template-columns: auto 19px;
    column-gap: 4px;
    padding: 5px 0 5px 7px;
  }
  .menu span {
    font-size: 8px;
  }
  .menu i {
    width: 19px;
    margin: 2px 0;
  }
  .hero {
    height: 460px;
    background: none;
  }
  .heroCopy {
    display: none;
  }
  .heroNav {
    height: 68px;
    display: flex;
    gap: 8px;
    padding: 0 18px;
    box-sizing: border-box;
  }
  .heroNav a {
    min-width: 0;
    flex: 1;
    padding: 10px 5px;
    font-size: 9px;
    line-height: 1.35;
  }
  .heroNav a:nth-child(n + 4) {
    display: none;
  }
  .s1Inner {
    height: auto;
    padding: 9.6875vw 5.625vw 0;
    box-sizing: border-box;
  }
  .s1Copy {
    width: auto;
    margin: 0;
  }
  .s1Copy h2 {
    font-size: calc(8vw);
    line-height: 1.4;
    margin: 0 0 6.875vw;
    max-width: 96.875vw;
  }
  .s1Copy .s1Text {
    font-size: calc(3.4vw);
    line-height: 1.9;
    font-weight: 700;
  }
  .verticals {
    right: 4.375vw;
    top: 14.6875vw;
    gap: 1.5625vw;
  }
  .verticals span {
    font-size: calc(5vw);
    padding: 2.1875vw 0.9375vw;
  }
  .verticals span:nth-child(2) {
    margin-top: 12.1875vw;
  }
  .verticals span:nth-child(3) {
    margin-top: 28.4375vw;
  }
  .s1Copy {
    padding-right: 0;
  }
  .s1NoWrap {
    white-space: nowrap;
  }
  .s1Image {
    box-shadow: none;
  }
  .s1Gallery {
    display: block;
    position: relative;
    left: auto;
    width: calc(100% + 11.25vw);
    height: auto;
    aspect-ratio: 320 / 160;
    margin-left: -5.625vw;
    transform: none;
  }
  .photo1 {
    display: block;
    width: 24%;
    height: auto;
    top: -6vw;
    right: 0;
    left: auto;
  }
  .photo2 {
    width: 40%;
    height: auto;
    top: 8vw;
    left: 30%;
  }
  .photo3 {
    width: 23%;
    height: auto;
    top: 22vw;
    left: 0;
  }
  .photo4 {
    display: none;
  }
  .s2 {
    padding: 0 0 47px;
  }
  .s2 > h2 {
    margin: 0;
    padding: 32px 12px 16px;
    font-size: calc(7vw);
    text-align: center;
    white-space: nowrap;
  }
  .cards {
    gap: 35px;
    width: 88%;
  }
  .card {
    height: 290px;
    padding: 24px 18px;
  }
  .cardText {
    width: 70%;
  }
  .topCardLead {
    font-size: 13px !important;
    margin: 0 0 12px !important;
    max-width: 190px;
  }
  .card h3 {
    font-size: 17px;
    line-height: 1.3;
    margin-bottom: 18px;
  }
  .cardText > p {
    font-size: 10px;
    line-height: 1.5;
    margin-bottom: 7px;
  }
  .topCardImage {
    width: 52%;
    height: 56%;
    right: -5%;
    top: 10px;
  }
  .tap {
    right: 10px;
    bottom: 10px;
    font-size: 9px;
    padding: 4px 7px;
  }
  .tap b {
    font-size: 11px;
  }
  .topBrown.card {
    height: 306px;
  }
}
@media (min-width: 761px) and (max-width: 1100px) {
  .hero {
    height: 60vw;
  }
  .heroCopy {
    left: 61%;
    top: 4vw;
  }
  .heroCopy h1 {
    font-size: 4.5vw;
    height: 23vw;
  }
  .heroNav {
    gap: 8px;
  }
  .heroNav a {
    min-width: 0;
    padding: 10px 12px;
    font-size: 12px;
  }
  .s1Inner {
    transform-origin: top center;
  }
  .s1Copy {
    margin-right: auto;
    margin-left: auto;
  }
}

.learning,
.results,
.possibility,
.voices {
  font-family: var(--font-sans-ja);
  color: #2d2b29;
}

.learningResultsBackdrop {
  background: #fff url("img/S3-bg.jpg") center 10% / 80% auto no-repeat;
}

.learning {
  background: transparent;
  padding: 88px 24px 112px;
}

.learningInner {
  max-width: 970px;
  margin: 0 auto;
}

.eyebrow {
  margin: 0 0 -38px;
  padding-left: 76px;
  font-size: 16px;
  font-weight: 800;
}

.learningTitle {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  margin: 0 0 46px;
  line-height: 1.25;
  letter-spacing: 0.06em;
}

.learningTitle span {
  display: inline-grid;
  place-items: center;
  width: 1.16em;
  height: 1.16em;
  margin-right: 2px;
  border: 1px solid #34312f;
  font-weight: 700;
}

.learningGrid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px 32px;
}

.learningCard {
  --tone: #70b9a7;
  overflow: hidden;
  border: 2px solid color-mix(in srgb, var(--tone) 65%, white);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 4px 5px 0 rgba(53, 44, 37, 0.07);
}

.midOrange {
  --tone: #ee6b32;
}
.midGold {
  --tone: #e3ad44;
}
.green {
  --tone: #9bc965;
}
.mint {
  --tone: #69b5a3;
}

.cardTitle {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 66px;
  margin: 0;
  padding: 10px 22px;
  color: white;
  background: var(--tone);
  font-size: 28px;
  line-height: 1.3;
  font-weight: 700;
  text-align: center;
}

.cardTitle img {
  width: 38px;
  height: 38px;
  margin-right: 10px;
  object-fit: contain;
}

.cardContent {
  display: grid;
  grid-template-columns: 1fr 138px;
  gap: 14px 12px;
  padding: 25px 24px 28px;
}

.midCardLead {
  margin: 0;
  color: var(--tone);
  font-size: 20px;
  line-height: 1.55;
  font-weight: 800;
}

.midCardImage {
  width: 138px;
  height: 90px;
  margin-top: 3px;
  object-fit: cover;
}

.cardBody {
  grid-column: 1 / -1;
  margin: 0;
  font-size: 16px;
  line-height: 1.85;
  font-weight: 500;
}

.results {
  padding: 77px 24px 100px;
  text-align: center;
  background: transparent;
}

.results h2 {
  margin: 0 0 49px;
  line-height: 1.35;
  letter-spacing: 0.02em;
}

.results h2 span {
  color: #eb6b36;
}
.results h2 strong {
  color: #63b6a3;
}

.metrics {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 35px;
  max-width: 1020px;
  margin: 0 auto;
}

.metric {
  position: relative;
  width: 270px;
  min-height: 190px;
}

.laurel {
  position: absolute;
  inset: 4px 0 auto;
  pointer-events: none;
}

.laurel img {
  width: 100%;
}

.metricCopy {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  line-height: 1;
}

.metricCopy span {
  margin-top: 12px;
  font-size: 20px;
  font-weight: 800;
}

.metricCopy strong {
  color: #eb632d;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 64px;
  font-weight: 700;
  letter-spacing: -0.05em;
}

.metricCopy small {
  font-size: 0.58em;
}

.metricCopy b {
  margin-top: 5px;
  font-size: 14px;
  line-height: 1.3;
}

.metric a {
  position: relative;
  display: inline-block;
  z-index: 2;
  margin-top: 13px;
  color: #ad7659;
  font-size: 14px;
  font-weight: 700;
  text-underline-offset: 5px;
}

.possibility {
  padding: 70px 24px 88px;
  background: #fff;
}

.possibilityInner {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  align-items: center;
  gap: 45px;
  max-width: 1030px;
  margin: 0 auto;
}

.possibilityCopy h2 {
  margin: 0 0 30px;
  font-size: clamp(32px, 3.25vw, 48px);
  line-height: 1.45;
  letter-spacing: 0.03em;
}

.actionLines {
  margin-bottom: 42px;
}
.actionLines p {
  margin: 0 0 8px;
  font-size: clamp(22px, 2.2vw, 31px);
  font-weight: 800;
}
.actionLines p:nth-child(1) span {
  color: #65b7a5;
}
.actionLines p:nth-child(2) span {
  color: #d48852;
}
.actionLines p:nth-child(3) span {
  color: #dc5678;
}
.actionLines p:nth-child(4) span {
  color: #99c96a;
}

.possibilityBody {
  margin: 0;
  font-size: 16px;
  line-height: 2;
  font-weight: 700;
}

.possibilityImage {
  width: 100%;
}

.voices {
  position: relative;
  scroll-margin-top: 120px;
  padding: 96px 24px 40px;
  background: #f6f4ef;
}

.voiceHeading {
  position: absolute;
  top: -38px;
  left: 50%;
  z-index: 3;
  transform: translateX(-50%);
}

.voiceHeading::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -16px;
  transform: translateX(-50%);
  border: 16px solid transparent;
  border-top-color: #fff;
  border-bottom: 0;
}

.voiceHeading h2 {
  min-width: 350px;
  margin: 0;
  padding: 13px 45px 12px;
  border: 2px solid #8d8a85;
  border-radius: 8px;
  background: #fff;
  box-shadow: 2px 3px 0 rgba(0, 0, 0, 0.12);
  line-height: 1.2;
  text-align: center;
}

.carouselShell {
  position: relative;
  max-width: 1040px;
  margin: 0 auto;
}

.voiceTrack {
  display: flex;
  overflow-x: auto;
  gap: 28px;
  padding: 8px max(82px, calc((100% - 820px) / 2)) 16px;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
  cursor: grab;
  touch-action: pan-x;
}

.voiceTrack:active {
  cursor: grabbing;
}
.voiceTrack::-webkit-scrollbar {
  display: none;
}

.voiceTrack:focus-visible {
  outline: 3px solid #ef6f39;
  outline-offset: 7px;
}

.voiceSlide {
  flex: 0 0 min(820px, calc(100vw - 150px));
  margin: 0;
  scroll-snap-align: center;
  scroll-snap-stop: always;
  user-select: none;
}

.voiceSlide img {
  width: 100%;
  aspect-ratio: 2464 / 1488;
  object-fit: contain;
  filter: drop-shadow(0 3px 2px rgba(48, 37, 28, 0.08));
}

.arrow {
  position: absolute;
  top: 50%;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  padding: 0 0 7px;
  transform: translateY(-50%);
  border: 0;
  border-radius: 50%;
  color: #fff;
  background: #ef6f39;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.15);
  font-size: 48px;
  line-height: 1;
  cursor: pointer;
}

.arrow:disabled {
  opacity: 0.25;
  cursor: default;
}
.arrow:focus-visible {
  outline: 3px solid #2d2b29;
  outline-offset: 3px;
}
.prev {
  left: 0;
}
.next {
  right: 0;
}

.dots {
  display: flex;
  justify-content: center;
  gap: 11px;
  margin-top: 13px;
}

.dots button {
  width: 10px;
  height: 10px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #b8b3ab;
  cursor: pointer;
}

.dots button.activeDot {
  background: #ef6f39;
  transform: scale(1.35);
}
.dots button:focus-visible {
  outline: 2px solid #2d2b29;
  outline-offset: 3px;
}

.swipeHint {
  margin: 16px 0 0;
  color: #77716b;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-align: center;
}

@media (max-width: 760px) {
  .learningResultsBackdrop {
    background-position: center top;
    background-size: auto 100%;
  }
  .learning {
    padding: 58px 18px 35px;
  }
  .eyebrow {
    display: none;
  }
  .learningTitle {
    flex-wrap: wrap;
    margin-bottom: 30px;
    letter-spacing: 0;
  }
  .learningTitle span {
    width: 1.12em;
    height: 1.12em;
  }
  .learningGrid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .cardTitle {
    min-height: 58px;
    padding: 10px 14px;
    font-size: 19px;
  }
  .cardTitle img {
    width: 31px;
    height: 31px;
    margin-right: 7px;
  }
  .cardContent {
    grid-template-columns: 1fr;
    padding: 20px 18px 24px;
    gap: 12px;
  }
  .midCardLead {
    font-size: 18px;
    line-height: 1.6;
  }
  .midCardImage {
    display: none;
  }
  .cardBody {
    font-size: 14px;
    line-height: 1.9;
  }

  .results {
    padding: 30px 18px 24px;
  }
  .results h2 {
    margin-bottom: 42px;
    font-size: clamp(24px, 6vw, 34px);
    white-space: normal;
  }
  .metrics {
    flex-direction: column;
    align-items: center;
    gap: clamp(0px, 1vw, 8px);
  }
  .metric {
    width: 280px;
    min-height: 0;
  }
  .metric:nth-child(2) {
    padding-bottom: 38px;
  }
  .metricCopy span {
    font-size: 21px;
  }
  .metricCopy strong {
    font-size: 70px;
  }

  .possibility {
    padding: 20px 22px 78px;
  }
  .possibilityInner {
    display: grid;
    grid-template-columns: minmax(0, 60%) minmax(0, 40%);
    row-gap: clamp(24px, 6vw, 38px);
  }
  .possibilityCopy {
    display: contents;
  }
  .possibilityCopy h2 {
    grid-column: 1 / -1;
    grid-row: 1;
    margin-bottom: 0;
    font-size: clamp(28px, 7.5vw, 46px);
    line-height: 1.55;
  }
  .actionLines {
    position: relative;
    z-index: 1;
    grid-column: 1;
    grid-row: 2;
    width: max-content;
    margin: 0;
    padding: 0;
    align-self: center;
  }
  .actionLines p {
    font-size: clamp(18px, 5.625vw, 28px);
    white-space: nowrap;
  }
  .possibilityImage {
    position: relative;
    right: auto;
    top: auto;
    z-index: 0;
    grid-column: 2;
    grid-row: 2;
    width: 145%;
    max-width: none;
    align-self: center;
    justify-self: end;
    transform: translateX(clamp(0px, calc(96px - 15vw), 48px));
  }
  .possibility {
    position: relative;
    overflow: hidden;
  }
  .possibilityBody {
    position: relative;
    z-index: 1;
    grid-column: 1 / -1;
    grid-row: 3;
    font-size: clamp(14px, 4.375vw, 18px);
    line-height: 1.8;
  }
  .possibilityBody br {
    display: none;
  }

  .voices {
    scroll-margin-top: 80px;
    padding: 80px 0 30px;
  }
  .voiceHeading {
    top: -30px;
  }
  .voiceHeading h2 {
    min-width: 245px;
    padding: 12px 25px;
    border: 0;
    box-shadow: none;
  }
  .carouselShell {
    max-width: none;
  }
  .voiceTrack {
    gap: 14px;
    padding: 5px 26px 10px;
  }
  .voiceSlide {
    flex-basis: calc(100vw - 52px);
  }
  .arrow {
    width: 38px;
    height: 38px;
    padding-bottom: 5px;
    font-size: 36px;
  }
  .prev {
    left: 5px;
  }
  .next {
    right: 5px;
  }
  .dots {
    margin-top: 8px;
  }
}

@media (max-width: 390px) {
  .possibilityCopy h2 {
    font-size: clamp(28px, 7.5vw, 46px);
  }
  .actionLines p {
    font-size: clamp(18px, 5.625vw, 22px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .voiceTrack {
    scroll-behavior: auto;
  }
}

.graduates,
.departments,
.advanced,
.footer {
  font-family: var(--font-sans-ja);
}

.graduates {
  max-width: 920px;
  margin: 0 auto;
  padding: 92px 24px 124px;
}

.sectionIntro {
  text-align: center;
}

.sectionIntro h2 {
  margin: 0;
  color: #252321;
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1.35;
}

.sectionIntro p {
  margin: 18px 0 0;
  font-size: 15px;
  font-weight: 600;
  line-height: 2;
}

.movieCard {
  width: min(690px, 100%);
  margin: 42px auto 0;
  padding: 62px 84px 44px;
  background: #f5f3ee;
  text-align: center;
}

.movieFrame {
  position: relative;
  width: 100%;
  padding-top: 56.25%;
  overflow: hidden;
  background: #111;
}

.movieFrame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.alumniName {
  margin: 28px 0 8px;
  font-size: 21px;
  font-weight: 700;
}

.alumniName span {
  margin-right: 8px;
  color: #d27c59;
  font-size: 16px;
}

.alumniCompany {
  margin: 0;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.7;
}

.moreLink {
  display: block;
  width: min(690px, 100%);
  margin: 16px auto 0;
  color: #d27c59;
  font-size: 16px;
  font-weight: 700;
  text-align: right;
  text-underline-offset: 4px;
}

.departments,
.advanced {
  padding: 0 24px 116px;
}

.departments .sectionIntro,
.advanced .sectionIntro {
  max-width: 850px;
  margin: 0 auto 70px;
}

.cardList {
  display: grid;
  gap: 30px;
  width: min(920px, 100%);
  margin: 0 auto;
}

.courseCard {
  --tone: #dc5678;
  padding: 34px 52px 38px;
  background: #faf7f1;
}

.courseCard h3 {
  margin: 0 0 30px;
  padding: 0 0 14px 26px;
  border-bottom: 1px solid color-mix(in srgb, var(--tone) 55%, transparent);
  color: var(--tone);
  font-size: 29px;
  font-weight: 700;
  letter-spacing: 0.025em;
  line-height: 1.35;
  position: relative;
}

.courseCard h3::before {
  content: "";
  position: absolute;
  top: 0.1em;
  bottom: 0.42em;
  left: 0;
  width: 8px;
  background: var(--tone);
}

.courseBody {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 185px;
  align-items: center;
  gap: 38px;
}

.courseText h4 {
  margin: 0 0 16px;
  font-size: 19px;
  font-weight: 700;
  line-height: 1.6;
}

.courseText p {
  margin: 0;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.95;
}

.courseText {
  min-width: 0;
}

.courseBody img {
  width: 185px;
  height: 198px;
  object-fit: cover;
}

.courseText > a {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  width: 100%;
  max-width: none;
  min-height: 58px;
  margin-top: 18px;
  background: var(--tone);
  color: #fff;
  font-size: 17px;
  font-weight: 700;
  text-align: center;
  text-decoration: none;
  transition:
    filter 180ms ease,
    transform 180ms ease;
}

.courseText > a:hover {
  filter: brightness(0.93);
  transform: translateY(-2px);
}

.courseText > a span {
  font-size: 13px;
}

.bottomPink {
  --tone: #dc5678;
}
.advancedCard.bottomPink {
  --tone: #de82b2;
}
.bottomOrange {
  --tone: #e77b55;
}
.bottomGold {
  --tone: #e7b342;
}
.bottomBrown {
  --tone: #ad775c;
}
.purple {
  --tone: #9470b7;
}

.advanced {
  padding-top: 8px;
  padding-bottom: 128px;
}

.advancedCard .courseBody img {
  height: 220px;
}

.courseBody picture {
  display: block;
  grid-column: 2;
  grid-row: 1;
  width: 100%;
}

.courseBody picture img {
  display: block;
}

.footer {
  padding-bottom: 42px;
  overflow: hidden;
}

.footerNav {
  height: 78px;
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) repeat(4, minmax(0, 1fr));
  align-items: flex-end;
  gap: clamp(5px, 1.25vw, 18px);
  width: min(100%, 1160px);
  max-width: 1160px;
  margin: 0 auto 95px;
  padding: 0 clamp(8px, 2.4vw, 34px);
  background: transparent;
}

.footerNav a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-width: 0;
  padding: clamp(10px, 1.05vw, 14px) clamp(6px, 1.55vw, 22px);
  background: #ec693e;
  color: #fff;
  font-size: clamp(11px, 1.35vw, 18px);
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
  box-shadow: none;
}

.footerNav a:first-child {
  min-width: 0;
}

.footerNav a span {
  margin-left: clamp(4px, 0.55vw, 7px);
  font-size: clamp(9px, 0.95vw, 13px);
}

.visit {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 325px;
  align-items: start;
  gap: 60px;
  width: min(910px, calc(100% - 48px));
  margin: 0 auto 50px;
}

.visitCopy h2 {
  margin: 2px 0 26px;
  font-size: 29px;
  line-height: 1.55;
}

.visitCopy h2 span {
  color: #d16f4a;
}

.visitCopy p {
  margin: 0;
  font-size: 15px;
  font-weight: 600;
  line-height: 2.1;
}

.visitPhoto {
  width: 325px;
  aspect-ratio: 1.29;
  object-fit: cover;
}

.visitPhotoMobile {
  display: block;
  width: 100%;
  height: auto;
  margin: 0 auto 6.25vw;
}

@media (min-width: 761px) {
  .courseBody {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 185px;
    align-items: start;
    gap: 38px;
  }

  .courseText {
    grid-column: 1;
    grid-row: 1;
  }

  .courseBody picture {
    grid-column: 2;
    grid-row: 1;
    width: 185px;
  }

  .courseBody picture img,
  .advancedCard .courseBody picture img {
    width: 185px;
    height: 220px;
    object-fit: cover;
  }

  .visitPhotoMobile {
    display: none;
  }
}

.photoStrip {
  width: min(1160px, calc(100% - 48px));
  height: 164px;
  margin: 0 auto 42px;
  object-fit: cover;
}

.ctaRow {
  display: grid;
  grid-template-columns: 1fr 1.38fr;
  gap: 22px;
  width: min(850px, calc(100% - 48px));
  margin: 0 auto 44px;
}

.cta {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 94px;
  color: #fff;
  font-size: 21px;
  font-weight: 700;
  text-decoration: none;
  transition: filter 180ms ease;
}

.cta:hover {
  filter: brightness(0.94);
}

.request {
  background: #75bba9;
}
.openCampus {
  background: #ef6f39;
}

.cta img {
  position: absolute;
  bottom: 0;
  left: -28px;
  width: 120px;
  height: 112px;
  object-fit: contain;
  object-position: bottom;
  pointer-events: none;
}

.cta span {
  position: relative;
  z-index: 1;
  padding-left: 42px;
}

.cta b {
  margin-left: 18px;
  font-size: 20px;
  font-weight: 400;
}

.finalMessage {
  position: relative;
  width: min(960px, calc(100% - 48px));
  min-height: 190px;
  margin: 0 auto 34px;
  padding: 48px 430px 34px 130px;
  background: #ef6f39;
  color: #fff;
}

.finalMessage p {
  position: relative;
  z-index: 1;
  margin: 0;
  font-size: 22px;
  font-weight: 700;
  line-height: 1.75;
  white-space: nowrap;
}

.finalMessage img {
  position: absolute;
  right: 12px;
  bottom: 0;
  width: 330px;
  height: 235px;
  object-fit: contain;
  object-position: bottom right;
}

.schoolLogo {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: fit-content;
  margin: 0 auto;
  color: #222;
  text-decoration: none;
}

.schoolLogo strong,
.schoolLogo small {
  display: block;
}

.schoolLogo strong {
  font-size: 14px;
  letter-spacing: 0.02em;
}

.schoolLogo small {
  margin-top: 3px;
  font-size: 6px;
  letter-spacing: 0.13em;
  text-align: center;
}

.bottomLogoMark {
  position: relative;
  display: block;
  width: 37px;
  height: 37px;
  transform: rotate(30deg);
}

.bottomLogoMark i {
  position: absolute;
  width: 20px;
  height: 20px;
  background: #72b9a8;
  clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%);
}

.bottomLogoMark i:nth-child(1) {
  top: 0;
  left: 8px;
  background: #f4b63f;
}
.bottomLogoMark i:nth-child(2) {
  top: 16px;
  left: 0;
  background: #70b9a7;
}
.bottomLogoMark i:nth-child(3) {
  top: 16px;
  right: 0;
  background: #ef6f39;
}

@media (max-width: 760px) {
  .graduates {
    padding: 70px 18px 86px;
  }

  .sectionIntro h2,
  .advanced .sectionIntro h2 {
    letter-spacing: 0;
  }

  .sectionIntro p {
    margin-top: 10px;
    font-size: 11px;
    line-height: 1.75;
  }

  .sectionIntro p br {
    display: none;
  }

  .movieCard {
    margin-top: 24px;
    padding: 22px 12px 28px;
    border-radius: 8px;
  }

  .alumniName {
    margin-top: 18px;
    font-size: 16px;
  }

  .alumniName span {
    font-size: 12px;
  }

  .alumniCompany {
    font-size: 12px;
  }

  .moreLink {
    margin-top: 12px;
    font-size: 12px;
  }

  .departments,
  .advanced {
    padding-right: 18px;
    padding-left: 18px;
    padding-bottom: 82px;
  }

  .departments .sectionIntro,
  .advanced .sectionIntro {
    margin-bottom: 28px;
  }

  .cardList {
    gap: 18px;
  }

  .courseCard {
    padding: 19px 18px 26px;
  }

  .courseCard h3 {
    margin-bottom: 16px;
    padding: 0 0 9px 17px;
    font-size: clamp(19px, 5.9vw, 25px);
    line-height: 1.45;
  }

  .courseCard h3::before {
    width: 6px;
  }

  .courseBody {
    grid-template-columns: minmax(0, 1fr) 110px;
    align-items: start;
    gap: 13px;
  }

  .courseText h4 {
    margin-bottom: 8px;
    font-size: 15px;
    line-height: 1.5;
  }

  .courseText p {
    font-size: 10px;
    line-height: 1.8;
  }

  .courseText p br {
    display: none;
  }

  .courseBody img,
  .advancedCard .courseBody img {
    width: 110px;
    height: 140px;
  }

  .courseText > a {
    width: 100%;
    max-width: none;
    min-height: 54px;
    margin-top: 18px;
    padding: 10px 8px;
    font-size: 14px;
    line-height: 1.4;
  }

  .advanced {
    padding-top: 0;
    padding-bottom: 70px;
  }

  .advanced .sectionIntro {
    margin-bottom: 34px;
  }

  .footer {
    padding-bottom: 22px;
  }

  .footerNav {
    display: none;
  }

  .visit {
    display: block;
    width: 100%;
    margin-bottom: 34px;
  }

  .visitCopy {
    padding: 0 25px;
    text-align: center;
  }

  .visitCopy h2 {
    margin-bottom: 26px;
    font-size: 25px;
    line-height: 1.55;
  }

  .visitCopy p {
    font-size: 12px;
    line-height: 2.05;
  }

  .visitCopy p br {
    display: none;
  }

  .visitPhoto {
    display: none;
  }

  .photoStrip {
    width: 100%;
    height: auto;
    margin-bottom: 28px;
  }

  .ctaRow {
    grid-template-columns: 1fr 1.38fr;
    gap: 12px;
    width: calc(100% - 38px);
    margin-bottom: 38px;
  }

  .cta {
    min-height: 62px;
    font-size: clamp(10px, 3vw, 14px);
  }

  .cta img {
    left: -15px;
    width: 75px;
    height: 80px;
  }

  .cta span {
    padding-left: 31px;
  }

  .cta b {
    margin-left: 5px;
    font-size: 13px;
  }

  .finalMessage {
    width: 100%;
    min-height: 128px;
    margin-bottom: 0;
    padding: 30px 154px 26px 22px;
    background: #75bba9;
  }

  .finalMessage p {
    font-size: clamp(12px, 3.55vw, 17px);
    line-height: 1.85;
    white-space: normal;
  }

  .finalMessage img {
    right: -9px;
    width: 162px;
    height: 162px;
  }

  .schoolLogo {
    display: none;
  }
}

@media (max-width: 390px) {
  .courseBody {
    grid-template-columns: minmax(0, 1fr) 92px;
  }

  .courseBody img,
  .advancedCard .courseBody img {
    width: 92px;
    height: 124px;
  }

  .cta img {
    width: 64px;
  }

  .cta span {
    padding-left: 25px;
  }

  .finalMessage {
    padding-right: 132px;
  }

  .finalMessage img {
    width: 145px;
  }
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-sans-ja);
  font-feature-settings: "palt";
  -webkit-font-smoothing: antialiased;
}

body.menuOpen {
  overflow: hidden;
}

main {
  width: 100%;
  overflow: clip;
}

.heroShell {
  position: relative;
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: none;
  min-height: max(100svh, 61vw);
  margin: 0;
  box-shadow: none;
}

.hero {
  --hero1-top: 16%;
  --hero1-left: 63%;
  --hero2-top: 64%;
  --hero2-left: 58%;
  flex: 1 1 auto;
  width: 100%;
  height: auto;
  min-height: 0;
  background-position: center;
  background-size: cover;
}

.heroCopy {
  inset: 0;
}

.heroCopy .hero1 {
  position: absolute;
  top: var(--hero1-top);
  left: var(--hero1-left);
  display: flex;
  flex-direction: row-reverse;
  align-items: flex-start;
  gap: 0.04em;
  height: auto;
  margin: 0;
  font-size: clamp(64px, 4.8vw, 84px);
  line-height: 1.12;
  writing-mode: horizontal-tb;
}

.heroCopy h1 .heroTitleLine {
  display: block;
  color: #373433;
  white-space: nowrap;
  writing-mode: vertical-rl;
}

.heroCopy h1 .heroTitleOrange {
  color: #f3663e;
}

.heroCopy h1 .heroTitleMint {
  color: #68b19b;
}

.heroCopy h1 .heroTitleBlack {
  color: #373433;
}

.heroCopy .hero2 {
  position: absolute;
  top: var(--hero2-top);
  left: var(--hero2-left);
  margin: 0;
  font-size: clamp(16px, 1.8vw, 28px);
  line-height: 2;
  font-weight: 900;
}

.heroCopy p > span,
.heroCopy p > strong {
  display: inline-block;
  padding-bottom: 3px;
  border-bottom: 2px dotted #373433;
}

.heroCopy p .heroLead {
  color: #373433;
}

.heroCopy p .heroLeadOrange {
  color: #f3663e;
}

.heroCopy p .heroLeadBlack {
  color: #373433;
}

.heroNav {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  width: min(100%, 1160px);
  max-width: 1160px;
  height: 78px;
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) repeat(4, minmax(0, 1fr));
  align-items: flex-end;
  z-index: 5;
  gap: clamp(5px, 1.25vw, 18px);
  padding: 0 clamp(8px, 2.4vw, 34px);
  margin: 0 auto;
}

.heroNav a {
  width: 100%;
  min-width: 0;
  padding: clamp(10px, 1.05vw, 14px) clamp(6px, 1.55vw, 22px);
  font-size: clamp(11px, 1.35vw, 18px);
  font-weight: 700;
  white-space: nowrap;
}

.heroNav a:first-child {
  min-width: 0;
}

.heroNav a span {
  font-size: clamp(9px, 0.95vw, 13px);
}

.s2 > h2 {
  margin-bottom: 52px;
}

.verticals span {
  font-weight: 700;
}

.cards {
  max-width: 860px;
  gap: 74px;
}

.cardsControls {
  display: none;
}

.card {
  /* Keep the desktop composition, but let wrapped copy determine the box height. */
  height: auto;
  min-height: 450px;
  padding: 50px 42px;
}

.topBrown.card {
  height: auto;
  min-height: 480px;
}

.topCardLead {
  position: relative;
  display: table;
  padding-right: 88px;
  font-size: 24px !important;
  line-height: 1.4 !important;
  margin-bottom: 24px !important;
}

.card h3 {
  margin-bottom: 30px;
  font-size: 36px;
  line-height: 1.35;
}

.cardText > p {
  margin-bottom: 14px;
  font-size: 16px;
  line-height: 1.7;
}

.cardAccent {
  color: #272725 !important;
  font-weight: 500;
}

.cardAccent span {
  font-weight: 700;
}

.topGold .cardAccent span {
  color: #d9a644;
}
.topPink .cardAccent span {
  color: #dc6683;
}
.topBrown .cardAccent span {
  color: #ad7659;
}

.cardText u {
  color: #272725;
  font-weight: 500;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.tap {
  padding: 9px 15px;
  font-size: 16px;
}

.tap b {
  font-size: 20px;
}

.learningHeading {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  margin: 0 0 46px;
}

.learningLogo {
  flex: 0 0 auto;
  width: 190px;
  height: auto;
}

.learningBrand {
  flex: 0 0 auto;
  width: 190px;
  text-align: center;
}

.learningBrand .learningLogo {
  display: block;
  width: 100%;
}

.learningBrand p {
  margin: 3px 0 0;
  font-size: 18px;
  line-height: 1;
  font-weight: 700;
}

.learningHeading .learningTitle {
  margin: 0;
}

.learningResultsBackdrop {
  background-position: center 10%;
  background-size: 80% auto;
  background-repeat: no-repeat;
}

.learningTitle span {
  padding: 0;
}

.learningTitle span b {
  display: block;
  line-height: 1;
  font-weight: 700;
  transform: translate(0.025em, 0.045em);
}

.cardTitleIcons {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: flex-end;
  gap: 0;
  margin-right: 10px;
}

.cardTitle .cardTitleIcons img {
  width: 25px;
  height: 38px;
  margin: 0 -1px 0 0;
}

.learningCard .midCardLead {
  font-size: clamp(21px, 1.35vw, 24px);
  line-height: 1.5;
}

.possibilityCopy h2 {
  white-space: nowrap;
}

.metricCopy strong {
  font-family: var(--font-sans-ja);
  font-weight: 700;
  letter-spacing: -0.04em;
}

.metric a {
  min-width: 132px;
  padding: 0 2px 2px;
  color: #fd7e2f;
  background: url("img/S4-arrow.svg") center bottom / 132px 8px no-repeat;
  font-size: 17px;
  font-weight: 800;
  text-decoration: none;
}

.metric a::after {
  content: none;
}

.moreLink {
  color: #fd7e2f;
  font-size: 17px;
  font-weight: 800;
  text-decoration: none;
}

.moreLink span {
  display: inline-block;
  padding: 0 3px 11px;
  background: url("img/S4-arrow.svg") center bottom / 100% 8px no-repeat;
}

.sectionIntro p {
  font-size: 18px;
  line-height: 2.05;
}

.voiceHeading {
  width: min(398px, calc(100vw - 36px));
}

.voiceHeading::after {
  display: none;
}

.voiceHeading > img {
  display: block;
  width: 100%;
  height: auto;
}

.voiceHeading h2 {
  position: absolute;
  top: 0;
  left: 0;
  display: grid;
  place-items: center;
  width: calc(100% - 4px);
  height: 79.44%;
  min-width: 0;
  margin: 0;
  padding: 0 20px;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.voiceCard {
  display: grid;
  grid-template-columns: 245px minmax(0, 1fr);
  gap: 28px;
  min-height: 490px;
  padding: 28px 34px 28px 20px;
  overflow: hidden;
  border: 3px solid #ef6f39;
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 4px 14px rgb(48 37 28 / 8%);
}

.voicePhoto {
  display: flex;
  align-items: center;
  align-self: stretch;
  margin-bottom: 0;
}

.voiceSlide .voicePhoto img {
  width: 100%;
  height: 100%;
  max-height: 430px;
  aspect-ratio: auto;
  object-fit: contain;
  object-position: center;
  filter: none;
}

.voiceContent {
  min-width: 0;
}

.voiceMeta {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  padding: 0 0 12px;
  border-bottom: 2px solid #34312f;
}

.voiceMeta h3,
.voiceMeta p {
  margin: 0;
  font-weight: 700;
}

.voiceMeta h3 {
  padding-left: 14px;
  border-left: 12px solid #34312f;
  font-size: 25px;
  line-height: 1.25;
}

.voiceMeta p {
  flex: 0 0 auto;
  font-size: 20px;
}

.voiceMeta small {
  font-size: 13px;
}

.voiceContent h4 {
  margin: 34px 0 26px;
  font-size: 25px;
  line-height: 1.45;
  font-weight: 700;
}

.voiceContent h4 span {
  display: table;
  margin: 5px 0;
  padding: 2px 8px;
  background: #ff5b20;
  color: #fff;
}

.voiceContent > p {
  margin: 0;
  font-size: 17px;
  line-height: 2;
  font-weight: 500;
}

.voiceContent > p strong {
  color: #ff5b20;
  font-weight: 700;
}

.voiceCardNoPhoto {
  grid-template-columns: 150px minmax(0, 1fr);
}

.voiceNumber {
  display: grid;
  place-items: center;
  color: #ef6f39;
  font-size: 76px;
  font-weight: 800;
  letter-spacing: -0.06em;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
}

button {
  font: inherit;
}

.mobileMenu {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  align-content: center;
  gap: 1px;
  padding: 72px 28px 28px;
  background: rgb(246 244 239 / 98%);
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.25s ease,
    visibility 0.25s ease;
}

.mobileMenu.isOpen {
  opacity: 1;
  visibility: visible;
}

.mobileMenu a {
  padding: 17px 12px;
  border-bottom: 1px solid #ddd8ce;
  color: #292725;
  font-weight: 700;
  text-decoration: none;
}

.mobileMenuClose {
  position: absolute;
  top: 18px;
  right: 20px;
  width: 42px;
  height: 42px;
  border: 0;
  background: transparent;
  font-size: 31px;
  cursor: pointer;
}

.card.isActive {
  outline: 3px solid #ef713f;
  outline-offset: 4px;
}

@media (min-width: 761px) {
  .heroShell {
    min-height: 0;
    aspect-ratio: 916 / 559;
  }

  .hero {
    flex: 1 1 100%;
    height: 100%;
  }

  .heroCopy .hero1 {
    font-size: min(84px, 5.25vw);
  }

  .heroCopy .hero2 {
    font-size: clamp(14px, 1.8vw, 28px);
  }

  .heroNav {
    height: 14%;
  }

  .heroNav a {
    padding: clamp(10px, 1.05vw, 14px) clamp(6px, 1.55vw, 22px);
    font-size: clamp(11px, 1.35vw, 18px);
  }

  .heroNav a span {
    font-size: clamp(9px, 0.95vw, 13px);
  }

  .mobileMenu {
    width: min(420px, 100%);
    left: auto;
    box-shadow: -12px 0 36px rgb(0 0 0 / 14%);
  }
}

@media (max-width: 760px) {
  .heroShell {
    min-height: 0;
  }

  .hero {
    flex: 0 0 auto;
    height: auto;
    min-height: 0;
    aspect-ratio: 1798 / 2145;
    background: #f7f6f1 url("img/Hero-SP.jpg") center / 100% auto no-repeat;
  }

  .heroCopy {
    display: block;
  }

  .heroCopy .hero1 {
    top: 8%;
    right: 3%;
    left: auto;
    font-size: calc(9vw);
  }

  .heroCopy .hero2 {
    top: auto;
    bottom: 8%;
    left: 5%;
    font-size: calc(3.8vw);
    line-height: 1.8;
  }

  .heroNav {
    display: none;
  }

  .s2 > h2 {
    margin-bottom: 10.625vw;
  }

  .cards {
    width: 87.5vw;
    max-width: none;
    display: flex;
    gap: 4vw;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    touch-action: pan-x pan-y;
  }

  .cards::-webkit-scrollbar {
    display: none;
  }

  .card,
  .topBrown.card {
    display: flex;
    flex: 0 0 100%;
    flex-direction: column;
    height: auto;
    padding: 5.0872vw 4.2733vw;
    scroll-snap-align: start;
    scroll-snap-stop: always;
  }

  .topBrown.card {
    height: auto;
  }

  .cardText {
    display: contents;
  }

  .topCardLead {
    order: 1;
    max-width: none;
    padding-right: 0;
    font-size: clamp(18px, 4vw, 24px) !important;
    line-height: 1.4 !important;
    margin: 0 0 2.4419vw !important;
  }

  .topCardLead::after {
    width: 4.6802vw;
    height: 0.1017vw;
  }

  .card h3 {
    order: 2;
    margin: 0 0 3.0523vw;
    font-size: clamp(26px, 6vw, 36px);
    line-height: 1.35;
  }

  .card h3 span {
    padding: 0 0.5087vw;
    margin: 0.3052vw 0;
  }

  .cardText > p {
    order: 4;
    margin-bottom: 1.4244vw;
    font-size: clamp(14px, 3.2vw, 18px);
    line-height: 1.7;
  }

  .cardText > .topCardLead {
    order: 1;
  }

  .topPink .cardAccent br {
    display: none;
  }

  .topPink .topCardLead br {
    display: none;
  }

  .topPink .cardText > p:nth-of-type(2) br {
    display: none;
  }

  .topBrown h3 span:last-child {
    font-size: 0.92em;
  }

  .topCardImage {
    position: static;
    order: 3;
    width: 100%;
    height: auto;
    margin: 1.5vw 0 4vw;
    object-fit: contain;
  }

  .tap {
    position: static;
    order: 5;
    align-self: flex-end;
    margin-top: 2vw;
    padding: 1.2vw 2vw;
    font-size: clamp(14px, 3vw, 17px);
  }

  .tap b {
    font-size: 1.2em;
  }

  .cardsControls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5.2vw;
    margin-top: 5.2vw;
  }

  .cardArrow {
    position: relative;
    display: grid;
    width: 11.2vw;
    height: 11.2vw;
    padding: 0;
    place-items: center;
    border: 1px solid #2b2927;
    border-radius: 50%;
    background: #fff;
    color: #2b2927;
    font-size: 0;
    cursor: pointer;
  }

  .cardArrow::before {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 2.8vw;
    height: 2.8vw;
    border-top: 1px solid currentColor;
    border-right: 1px solid currentColor;
    content: "";
    transform-origin: center;
  }

  .cardPrev::before {
    left: calc(50% + 1vw);
    transform: translate(-50%, -50%) rotate(-135deg);
  }

  .cardNext::before {
    left: calc(50% - 1vw);
    transform: translate(-50%, -50%) rotate(45deg);
  }

  .cardArrow:disabled {
    border-color: #c9c5bd;
    color: #c9c5bd;
    cursor: default;
  }

  .cardDots {
    display: flex;
    align-items: center;
    gap: 2.8vw;
  }

  .cardDots button {
    width: 2.4vw;
    height: 2.4vw;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: #c9c5bd;
    cursor: pointer;
  }

  .cardDots button.isActive {
    background: #ef713f;
  }

  /* S2 carousel trial: center-side arrows. Remove this block to restore bottom controls. */
  .cardsCarousel {
    position: relative;
    margin-bottom: 10vw;
  }

  .cardsControls {
    position: absolute;
    inset: 0;
    z-index: 4;
    display: block;
    margin: 0;
    pointer-events: none;
  }

  .cardArrow {
    position: absolute;
    top: 50%;
    z-index: 3;
    width: 42px;
    height: 42px;
    pointer-events: auto;
  }

  .cardArrow::before {
    width: 11px;
    height: 11px;
  }

  .cardPrev {
    left: calc(6.25vw + 2px);
    transform: translate(-50%, -50%);
  }

  .cardNext {
    right: calc(6.25vw + 2px);
    transform: translate(50%, -50%);
  }

  .cardPrev::before {
    left: calc(50% + 4px);
  }

  .cardNext::before {
    left: calc(50% - 4px);
  }

  .cardArrow:disabled {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
  }

  .cardDots {
    position: absolute;
    right: auto;
    bottom: -7vw;
    left: 50%;
    pointer-events: auto;
    transform: translate(-50%, 50%);
  }

  .sectionIntro p {
    font-size: 14px;
    line-height: 1.9;
  }

  .learningHeading {
    display: block;
    margin-bottom: 34px;
    text-align: center;
  }

  .learningBrand {
    display: none;
  }

  .learningLogo {
    width: 170px;
    margin: 0 auto 18px;
  }

  .voiceHeading {
    width: min(310px, calc(100vw - 36px));
  }

  .voiceHeading h2 {
    height: 79.44%;
    padding: 0 16px;
  }

  .voiceCard,
  .voiceCardNoPhoto {
    grid-template-columns: 105px minmax(0, 1fr);
    gap: 11px;
    min-height: 520px;
    padding: 15px 14px 18px 8px;
    border-width: 2px;
    border-radius: 14px;
  }

  .voicePhoto {
    margin-bottom: 0;
  }

  .voiceSlide .voicePhoto img {
    max-height: 330px;
  }

  .voiceMeta {
    display: block;
    padding-bottom: 8px;
  }

  .voiceMeta h3 {
    padding-left: 7px;
    border-left-width: 6px;
    font-size: 13px;
  }

  .voiceMeta p {
    margin-top: 5px;
    font-size: 12px;
  }

  .voiceMeta small {
    font-size: 9px;
  }

  .voiceContent h4 {
    margin: 15px 0 12px;
    font-size: 15px;
    line-height: 1.55;
  }

  .voiceContent h4 span {
    margin: 3px 0;
    padding: 1px 4px;
  }

  .voiceContent > p {
    font-size: 11px;
    line-height: 1.75;
  }

  .voiceNumber {
    font-size: 52px;
  }
}

/* S6 carousel refinement */
.voiceTrack {
  align-items: stretch;
}

.voiceSlide {
  display: flex;
}

.voiceCard {
  flex: 1;
  width: 100%;
  grid-template-columns: 230px minmax(0, 1fr);
  grid-template-rows: auto auto 1fr;
  column-gap: 24px;
  row-gap: 0;
}

.voiceContent {
  display: contents;
}

.voiceMeta {
  grid-column: 1 / -1;
  grid-row: 1;
  width: 100%;
}

.voicePhoto {
  grid-column: 1;
  grid-row: 2 / 4;
}

.voiceContent h4 {
  grid-column: 2;
  grid-row: 2;
}

.voiceContent > p {
  grid-column: 2;
  grid-row: 3;
}

.voiceSlide .voicePhoto img {
  max-height: 365px;
}

.arrow {
  width: 54px;
  height: 54px;
  padding: 0;
  border: 1px solid rgba(239, 111, 57, 0.28);
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 4px 16px rgba(45, 36, 30, 0.2);
  color: transparent;
  font-size: 0;
}

.arrow::before {
  content: none;
  display: none;
}

.arrow img {
  display: block;
  width: 10px;
  height: 19px;
}

.arrow.next img {
  transform: rotate(180deg);
}

.arrow.prev {
  left: 12px;
}

.arrow.next {
  right: 12px;
}

.arrow:focus-visible {
  outline: 3px solid #ef6f39;
  outline-offset: 3px;
}

.arrow:disabled {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

/* S8 / S9 course cards */
.courseBody {
  align-items: start;
}

.courseText p {
  font-size: 16px;
  line-height: 1.9;
}

.courseText p br {
  display: none;
}

.courseText h4 {
  font-size: 22px;
  line-height: 1.55;
}

.courseBody img {
  height: 220px;
}

.courseText > a {
  width: 100%;
  max-width: none;
  min-height: 64px;
  margin-top: 18px;
  font-size: 21px;
}

.advancedCard h3 {
  font-size: 25px;
  letter-spacing: 0;
}

.advancedCard.purple h3 {
  font-size: 21px;
  white-space: nowrap;
}

/* Footer CTA images intentionally break out of the colored buttons. */
.footer {
  padding-bottom: 0;
}

.visitCopy p {
  font-size: 18px;
  line-height: 2;
}

.ctaRow {
  --cta-row-left: max(80px, calc((100vw - 1100px) / 2));
  column-gap: clamp(18px, 5.36vw, 60px);
  width: min(850px, calc(100% - var(--cta-row-left) - 24px));
  margin-right: auto;
  margin-left: var(--cta-row-left);
  overflow: visible;
}

.cta {
  min-width: 0;
  min-height: clamp(72px, 9.29vw, 104px);
  font-size: clamp(16px, 2.14vw, 24px);
  overflow: visible;
}

.cta img {
  left: clamp(-78px, -6.96vw, -52px);
  width: clamp(105px, 13.84vw, 155px);
  height: clamp(92px, 12.05vw, 135px);
}

.cta span {
  padding-left: clamp(32px, 4.82vw, 54px);
  white-space: nowrap;
}

.cta b {
  margin-left: clamp(5px, 1.61vw, 18px);
  font-size: clamp(14px, 1.79vw, 20px);
}

/* Full-width final message band. */
.finalMessage {
  display: flex;
  align-items: center;
  width: 100%;
  max-width: none;
  min-height: 240px;
  margin: 0;
  padding: 0 500px 0 max(80px, calc((100vw - 1100px) / 2));
}

.finalMessage p {
  font-size: 27px;
  line-height: 1.75;
}

.finalMessage img {
  right: 5vw;
  width: 480px;
  height: 390px;
}

@media (min-width: 761px) and (max-width: 1320px) {
  .finalMessage {
    width: 100%;
    min-height: clamp(190px, 18vw, 240px);
    margin: clamp(240px, 30vw, 360px) 0 0;
    padding: 38px 48% 34px max(48px, calc((100vw - 1100px) / 2));
  }

  .finalMessage img {
    right: 6vw;
    bottom: 100%;
    width: clamp(330px, 38vw, 480px);
    height: auto;
    clip-path: inset(0 0 42% 0);
    transform: translateY(42%);
  }
}

@media (max-width: 760px) {
  .learningResultsBackdrop {
    background-image: none;
  }

  .learning {
    background: #fff url("img/S3-bg-SP.jpg") center top / 100% auto no-repeat;
  }

  .footer {
    padding-bottom: 0;
  }

  .visitCopy p {
    font-size: 14px;
    line-height: 1.95;
  }

  .visitPhotoMobile {
    display: block;
    width: 100%;
    height: auto;
    margin: 0 auto 6.25vw;
  }

  .visitPhoto {
    display: none;
  }

  .voiceCard,
  .voiceCardNoPhoto {
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: auto auto auto auto;
    gap: 18px;
    min-height: 0;
    padding: 18px;
  }

  .voiceMeta {
    position: relative;
    grid-column: 1;
    grid-row: 1;
    padding: 2px 0 2px 22px;
    border-bottom: 0;
  }

  .voiceMeta::before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    width: 10px;
    background: #34312f;
  }

  .voiceMeta h3 {
    padding-left: 0;
    border-left: 0;
    font-size: clamp(20px, 4vw, 26px);
    line-height: 1.3;
  }

  .voiceMeta p {
    margin-top: 8px;
    font-size: clamp(16px, 3.2vw, 20px);
    font-weight: 600;
    line-height: 1.35;
  }

  .voiceMeta small {
    display: block;
    margin-top: 3px;
    font-size: inherit;
    font-weight: 600;
  }

  .voiceMeta small::before {
    content: "（";
  }

  .voiceMeta small::after {
    content: "）";
  }

  .voicePhoto {
    grid-column: 1;
    grid-row: 2;
    width: 100%;
    height: clamp(240px, 55vw, 330px);
    justify-content: center;
  }

  .voiceSlide .voicePhoto img {
    width: 100%;
    height: 100%;
    max-height: none;
    object-fit: contain;
    object-position: center bottom;
  }

  .voiceContent h4 {
    grid-column: 1;
    grid-row: 3;
    margin: 0;
    font-size: clamp(15px, 3.2vw, 20px);
  }

  .voiceContent h4 span {
    margin: 0.5vw 0;
    padding: 0.2vw 0.8vw;
  }

  .voiceContent > p {
    grid-column: 1;
    grid-row: 4;
    margin-top: -8px;
    font-size: clamp(14px, 3vw, 17px);
    line-height: 1.9;
  }

  .arrow {
    width: 42px;
    height: 42px;
  }

  .arrow.prev {
    left: 5px;
  }

  .arrow.next {
    right: 5px;
  }

  .arrow::before {
    width: 14px;
    height: 14px;
    border-width: 1.5px;
  }

  .arrow.next::before {
    left: calc(50% - 5px);
  }

  .arrow.prev::before {
    left: calc(50% + 5px);
  }

  .courseBody {
    display: flex;
    flex-direction: column;
    gap: 18px;
  }

  .courseBody picture {
    order: -1;
    width: 100%;
  }

  .courseBody img,
  .advancedCard .courseBody img {
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    object-fit: cover;
  }

  .courseText {
    width: 100%;
  }

  .courseText h4 {
    font-size: 17px;
  }

  .courseText p {
    font-size: clamp(14px, 3.125vw, 18px);
    line-height: 1.85;
  }

  .courseText > a {
    width: 100%;
    max-width: none;
    min-height: 54px;
    margin-top: 18px;
    font-size: 16px;
  }

  .advancedCard h3,
  .advancedCard.purple h3 {
    font-size: clamp(18px, 5vw, 23px);
    white-space: normal;
  }

  .cta img {
    left: -4.6875vw;
    width: 27vw;
    height: 27vw;
  }

  .ctaRow {
    grid-template-columns: 1fr;
    gap: 4.375vw;
    width: 88vw;
    margin-right: auto;
    margin-left: auto;
  }

  .cta {
    min-height: 15.625vw;
    font-size: 4.375vw;
  }

  .cta span {
    padding-left: 9.375vw;
  }

  .cta b {
    margin-left: 2.5vw;
    font-size: 4.0625vw;
  }

  .finalMessage {
    width: 100%;
    min-height: clamp(120px, 20.2vw, 150px);
    margin: 30vw auto 0;
    padding: 20px 28px;
    background: #ef6f39;
  }

  .finalMessage p {
    font-size: clamp(16px, 3.5vw, 21px);
    line-height: 1.35;
    white-space: normal;
  }

  .finalMessage p br {
    display: none;
  }

  .finalMessage img {
    right: 0;
    bottom: 100%;
    width: min(36vw, 230px);
    height: auto;
    clip-path: inset(0 0 42% 0);
    transform: translateY(42%);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
