.ol {
  --ol-red: #eb091e;
  --ol-grey: #f3f3f3;
  --ol-dark: #101010;
  background: #fff;
  color: var(--ol-dark);
  font-family: var(--font-toyota-regular);
}

.ol h1,
.ol h2,
.ol h3,
.ol h4 {
  font-family: var(--font-toyota-semibold);
  margin: 0;
}

:where(.ol) p {
  margin: 0;
}

.ol em {
  font-style: normal;
  color: var(--ol-red);
}

.ol-hero {
  display: block;
  width: 100%;
  margin: 0;
  padding: 0;
  line-height: 0;
  overflow: hidden;
}

.ol-hero__media {
  display: block;
  width: 100%;
}

@media (max-width: 991px) {
  .ol-hero {
    padding-top: var(--ol-hero-offset, 0.5333333333vw);
  }
}
.ol-hero__media img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  margin: 0;
}

.ol-intro {
  padding: 10.6666666667vw 0 6.4vw;
}

.ol-intro h1 {
  font-size: 8.9333333333vw;
  line-height: 1.35;
}

.ol-intro p {
  margin-top: 3.7333333333vw;
  font-size: 4vw;
  line-height: 1.6;
  text-align: justify;
  text-align-last: justify;
}

.ol-intro__last {
  display: block;
  text-align-last: left;
}

.ol-about {
  display: flex;
  flex-direction: column;
  gap: 10.6666666667vw;
  padding-top: 20px;
  padding-bottom: 10.6666666667vw;
}

.ol-about__row {
  display: flex;
  flex-direction: column;
  gap: 10.6666666667vw;
}

.ol-panel {
  position: relative;
  background: var(--ol-grey);
  box-shadow: 20px -20px 0 0 var(--ol-red);
  margin-right: 20px;
  cursor: pointer;
}

.ol-panel__label {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 18.6666666667vw;
  padding: 0 4.2666666667vw;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  font-family: var(--font-toyota-semibold);
  font-size: 5.3333333333vw;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  cursor: inherit;
}

.ol-panel__body {
  overflow: hidden;
  max-height: 0;
  opacity: 0;
  visibility: hidden;
  font-size: 3.7333333333vw;
  line-height: 1.6;
  text-align: left;
}

.ol-panel.--open .ol-panel__body {
  max-height: none;
  opacity: 1;
  visibility: visible;
}

.ol-about.is-ready .ol-panel__body {
  transition: opacity 0.6s linear, visibility 0.8s linear 0s, max-height 0.8s cubic-bezier(0.33, 1, 0.68, 1) 0.2s;
}

.ol-about.is-ready .ol-panel.--open .ol-panel__body {
  transition: opacity 0.8s ease-out, visibility 0.6s linear 0s, max-height 0.8s cubic-bezier(0.33, 1, 0.68, 1) 0s;
}

.ol-panel__content {
  padding: 0 5.3333333333vw 5.3333333333vw;
}

.ol-panel__body p + p {
  margin-top: 1.6em;
}

.ol-br-desktop {
  display: none;
}

.ol-panel--how .ol-panel__body {
  text-align: right;
}

.ol-steps {
  list-style: none;
  margin: 0;
  padding: 0;
}

.ol-steps li {
  margin-bottom: 2.1333333333vw;
}

.ol-steps li:last-child {
  margin-bottom: 0;
}

.ol-steps li:not(:last-child)::after {
  content: "";
  display: block;
  width: 7.2vw;
  height: 7.2vw;
  margin: 0.3368421053vw 4.2666666667vw -0.4631578947vw auto;
  background: url("../../img/open-labs/icons/chevron-down.svg") no-repeat center/contain;
}

.ol-steps h4 {
  font-size: inherit;
  line-height: inherit;
}

.ol-focus {
  padding: 5.3333333333vw 0 13.3333333333vw;
}

.ol-focus h2 {
  text-align: left;
  font-size: 6.1333333333vw;
  line-height: 1.3;
  text-transform: uppercase;
}

.ol-focus__lead {
  text-align: left;
  margin-top: 1.6vw;
  font-family: var(--font-toyota-regular);
  font-size: 4vw;
  line-height: 1.6;
}

.ol-focus__grid {
  display: grid;
  gap: 2.9333333333vw;
  margin-top: 7.4666666667vw;
  grid-template-columns: 1fr;
}

.ol-card {
  position: relative;
  display: flex;
  gap: 5.0666666667vw;
  min-height: 42.1333333333vw;
  padding: 8vw 5.3333333333vw 4.2666666667vw;
  background: #cccccc;
  --ol-card-line: var(--ol-red);
}

.ol-card--dark {
  background: var(--ol-dark);
  color: #fff;
}

.ol-card--red {
  background: var(--ol-red);
  color: #fff;
  --ol-card-line: var(--ol-dark);
}

.ol-card--grey {
  background: #cccccc;
}

.ol-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 1.0666666667vw;
  background: var(--ol-card-line);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.6s ease-out;
  pointer-events: none;
}

.ol-card:hover::before {
  transform: scaleX(1);
}

.ol-card h3 {
  font-size: 4.2666666667vw;
  line-height: 1.3;
  margin-bottom: 1.6vw;
}

.ol-card p,
.ol-card li {
  font-size: 3.2vw;
  line-height: 1.42;
}

.ol-card ul {
  margin: 0;
  padding-left: 4.8vw;
}

.ol-card ul li {
  margin-bottom: 0;
}

.ol-card ul li:last-child {
  margin-bottom: 0;
}

.ol-card--newmobility {
  display: grid;
  grid-template-columns: auto 1fr;
  column-gap: 3.7333333333vw;
  row-gap: 0;
  align-items: start;
}

.ol-card--newmobility .ol-card__head {
  display: contents;
}

.ol-card--newmobility .ol-icon {
  grid-row: 1/span 2;
}

.ol-card--newmobility .ol-card__body {
  grid-column: 2;
}

.ol-icon img {
  display: block;
}

.ol-card .ol-icon {
  flex: 0 0 10.6666666667vw;
  width: 10.6666666667vw;
  height: 10.6666666667vw;
}

.ol-card .ol-icon img {
  width: 100%;
  height: 100%;
}

.ol-card--newmobility {
  column-gap: 5.0666666667vw;
}

.ol-icon {
  display: block;
  flex: 0 0 11.7333333333vw;
  width: 11.7333333333vw;
  height: 11.7333333333vw;
}

.ol-icon svg {
  width: 100%;
  height: 100%;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.ol-apply {
  display: flex;
  align-items: center;
  min-height: 144.2666666667vw;
  padding: 10.6666666667vw 0;
  background: var(--ol-dark) url("../../img/open-labs/bg-m-1.webp") no-repeat center/cover;
  color: #fff;
}

.ol-apply > .container {
  width: 100%;
}

@media (max-width: 991px) {
  .ol-apply > .container {
    position: relative;
    top: -1.6vw;
    padding-left: 7.4666666667vw;
    padding-right: 7.4666666667vw;
  }
}
.ol-apply h2 {
  font-size: 7.4666666667vw;
  line-height: 1.2;
}

.ol-apply h2::after {
  content: "";
  display: block;
  width: 32vw;
  height: 2px;
  margin-top: 6.1333333333vw;
  background: var(--ol-red);
}

.ol-apply p {
  margin-top: 4.4533333333vw;
  font-size: 4.2666666667vw;
  line-height: 1.47;
}

.ol-apply__btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 67.4666666667vw;
  height: 13.3333333333vw;
  margin-top: 5.76vw;
  padding: 0 10.7733333333vw 1.5466666667vw 0;
  border-radius: 100vw;
  background: var(--ol-red);
  color: #fff;
  font-family: var(--font-toyota-semibold);
  font-size: 5.3333333333vw;
  line-height: 1;
  text-decoration: none;
}

.ol-apply__btn:hover,
.ol-apply__btn:focus-visible {
  color: #fff;
  text-decoration: none;
}

.ol-apply__btn-text,
.ol-apply__btn-icon {
  transition: transform 0.3s ease-in-out;
}

.ol-apply__btn-icon {
  position: absolute;
  top: 50%;
  right: 6.8266666667vw;
  width: 5.2266666667vw;
  height: 4.9173333333vw;
  margin-top: -2.4573333333vw;
  background-color: currentColor;
  -webkit-mask: url("../../img/icon-arrow-right-2.svg") no-repeat center/contain;
  mask: url("../../img/icon-arrow-right-2.svg") no-repeat center/contain;
}

.ol-apply__btn:hover .ol-apply__btn-text,
.ol-apply__btn:focus-visible .ol-apply__btn-text {
  transform: translateX(-1.6vw);
}

.ol-apply__btn:hover .ol-apply__btn-icon,
.ol-apply__btn:focus-visible .ol-apply__btn-icon {
  transform: translateX(1.6vw);
}

.ol-future {
  padding: 13.3333333333vw 0 16vw;
}

.ol-future h2 {
  font-size: 6.4vw;
  line-height: 1.3;
}

.ol-future__lead {
  margin-top: 3.7333333333vw;
  font-family: var(--font-toyota-regular);
  font-size: 4.2666666667vw;
  line-height: 1.55;
}

.ol-future__grid {
  display: grid;
  gap: 2.9333333333vw 3.2vw;
  margin-top: 9.6vw;
  grid-template-columns: 1fr 1fr;
}

.ol-benefit {
  background: var(--ol-grey);
  padding: 2.6666666667vw;
}

.ol-benefit .ol-icon {
  flex-basis: auto;
  width: auto;
  height: 8vw;
  margin-bottom: 3.7333333333vw;
}

.ol-icon img {
  display: block;
  width: auto;
  height: 100%;
}

.ol-benefit h3 {
  font-size: 3.7333333333vw;
  line-height: 1.3;
}

.ol-benefit h3::after {
  content: "";
  display: block;
  width: 26.4vw;
  height: 2px;
  margin: 3.2vw 0 3.7333333333vw;
  background: var(--ol-red);
}

.ol-benefit p {
  font-size: 3.2vw;
  line-height: 1.42;
}

@media (min-width: 992px) {
  .ol-hero {
    padding-top: var(--ol-hero-offset, calc(3.5848958333vw + 2.55px));
  }
  .ol-intro {
    padding: 3.90625vw 0 2.3442708333vw;
  }
  .ol-intro h1 {
    font-size: 3.125vw;
    line-height: 1.3;
  }
  .ol-intro p {
    margin-top: 1.09375vw;
    font-size: 1.4583333333vw;
    text-align: left;
    text-align-last: auto;
  }
  .ol-br-mobile {
    display: none;
  }
  .ol-intro__last {
    display: inline;
  }
  .ol-about {
    gap: 4.7661458333vw;
    padding-bottom: 3.125vw;
  }
  .ol-about__row {
    flex-direction: row;
    align-items: flex-start;
    gap: 4.296875vw;
    padding-right: 20px;
    container-type: inline-size;
  }
  .ol-panel {
    margin-right: 0;
    flex: 0 0 6.6411458333vw;
    min-width: 0;
    min-height: 23.4375vw;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 3.90625vw;
    overflow: hidden;
    padding-top: 3.125vw;
    padding-bottom: 3.125vw;
  }
  .ol-about.is-ready .ol-panel {
    transition: flex-basis 0.8s cubic-bezier(0.33, 1, 0.68, 1), padding 0.8s cubic-bezier(0.33, 1, 0.68, 1);
  }
  .ol-about.is-ready .ol-panel__body {
    transition: opacity 0.6s linear, visibility 0.8s linear 0s, max-height 0s cubic-bezier(0.33, 1, 0.68, 1) 1s;
  }
  .ol-about.is-ready .ol-panel.--open .ol-panel__body {
    transition: opacity 0.8s ease-out, visibility 0.6s linear 0s, max-height 0s cubic-bezier(0.33, 1, 0.68, 1) 0s;
  }
  .ol-about.is-ready .ol-panel--how .ol-panel__body {
    transition: opacity 0.6s linear, visibility 0.8s linear 0s, max-height 0.8s cubic-bezier(0.33, 1, 0.68, 1) 0.2s;
  }
  .ol-about.is-ready .ol-panel--how.--open .ol-panel__body {
    transition: opacity 0.8s ease-out, visibility 0.6s linear 0s, max-height 0.8s cubic-bezier(0.33, 1, 0.68, 1) 0s;
  }
  .ol-panel.--open {
    flex-basis: calc(100% - 10.9380208333vw);
  }
  .ol-panel__label {
    flex: 0 0 2.1875vw;
    width: 2.1875vw;
    height: auto;
    padding: 0;
    font-size: 2.1875vw;
    line-height: 2.1875vw;
    writing-mode: vertical-rl;
    transform: rotate(180deg);
    white-space: nowrap;
  }
  .ol-panel__body {
    flex: 0 0 calc(100cqw - 20.8208333333vw);
    width: calc(100cqw - 20.8208333333vw);
    font-size: 1.4583333333vw;
    line-height: 1.55;
  }
  .ol-panel__content {
    padding: 0;
  }
  .ol-panel--who,
  .ol-panel--why {
    flex-direction: row-reverse;
    padding-left: 1.5625vw;
    padding-right: 2.2270833333vw;
  }
  .ol-panel--what,
  .ol-panel--how {
    flex-direction: row;
    padding-left: 2.2270833333vw;
    padding-right: 1.5625vw;
  }
  .ol-panel--what .ol-panel__body {
    text-align: right;
  }
  .ol-br-desktop {
    display: inline;
  }
  .ol-panel--how.--open {
    padding-top: 3.9838541667vw;
    padding-bottom: 3.90625vw;
  }
  .ol-steps li {
    margin-bottom: 0.625vw;
  }
  .ol-steps li:not(:last-child)::after {
    width: 2.6557291667vw;
    height: 2.6557291667vw;
    margin: 0.2372159091vw 1.5625vw -0.1528897569vw auto;
  }
  .ol-focus {
    padding: 1.5625vw 0 3.90625vw;
  }
  .ol-focus h2 {
    text-align: center;
    font-size: 3.125vw;
  }
  .ol-focus__lead {
    text-align: center;
    font-family: var(--font-toyota-semibold);
    margin-top: 0.4692708333vw;
    font-size: 1.4583333333vw;
  }
  .ol-focus__lead {
    font-size: 1.5625vw;
    line-height: 1.45;
  }
  .ol-focus__grid {
    grid-template-columns: 31.1697916667vw 1fr;
    grid-auto-rows: 1fr;
    align-items: stretch;
    gap: 1.5625vw;
    margin-top: 2.3442708333vw;
  }
  .ol-focus__grid .ol-card--newmobility {
    grid-row: span 3;
  }
  .ol-card {
    gap: 1.5625vw;
    min-height: 0;
    padding: 1.65625vw 1.5625vw 1.9447916667vw;
  }
  .ol-card::before {
    height: 0.3125vw;
  }
  .ol-card h3 {
    font-size: 1.5625vw;
    margin-bottom: 0;
  }
  .ol-card p,
  .ol-card li,
  .ol-card--newmobility p,
  .ol-card--newmobility li {
    font-size: 1.25vw;
    line-height: 1.44;
  }
  .ol-card ul {
    margin-top: 1.85vw;
    padding-left: 1.953125vw;
  }
  .ol-card ul li {
    margin-bottom: 1.85vw;
  }
  .ol-icon {
    flex-basis: 3.4375vw;
    width: 3.4375vw;
    height: 3.4375vw;
  }
  .ol-card .ol-icon {
    flex: 0 0 6.25vw;
    width: 6.25vw;
    height: 6.25vw;
    margin-top: 0.546875vw;
  }
  .ol-card--newmobility {
    display: flex;
    flex-direction: column;
    gap: 0.9692708333vw;
  }
  .ol-card--newmobility .ol-card__head {
    display: flex;
    align-items: center;
    gap: 1.5625vw;
  }
  .ol-apply {
    padding: 7.03125vw 0;
    min-height: 41.875vw;
    display: flex;
    align-items: center;
    background: var(--ol-dark) url("../../img/open-labs/bg-d-1.webp") no-repeat right center/auto 100%;
  }
  .ol-apply > .container {
    width: 100%;
    position: relative;
    top: -0.4692708333vw;
  }
  .ol-apply h2 {
    font-size: 3.125vw;
  }
  .ol-apply h2::after {
    width: 9.296875vw;
    margin-top: 1.0161458333vw;
  }
  .ol-apply p {
    margin-top: 0.8588541667vw;
    max-width: 33.2vw;
    font-size: 1.4583333333vw;
  }
  .ol-apply__btn {
    width: 19.6098958333vw;
    height: 3.90625vw;
    margin-top: 2.5vw;
    padding: 0 3.90625vw 0.296875vw 0;
    font-size: 1.5625vw;
  }
  .ol-apply__btn-icon {
    right: 1.875vw;
    width: 1.6vw;
    height: 1.5052083333vw;
    margin-top: -0.7526041667vw;
  }
  .ol-apply__btn:hover .ol-apply__btn-text,
  .ol-apply__btn:focus-visible .ol-apply__btn-text {
    transform: translateX(-0.4692708333vw);
  }
  .ol-apply__btn:hover .ol-apply__btn-icon,
  .ol-apply__btn:focus-visible .ol-apply__btn-icon {
    transform: translateX(0.4692708333vw);
  }
  .ol-future {
    padding: 3.90625vw 0 4.6875vw;
  }
  .ol-future h2 {
    font-size: 3.125vw;
  }
  .ol-future__lead {
    margin-top: 0.2807291667vw;
    font-family: var(--font-toyota-semibold);
    font-size: 1.5625vw;
    line-height: 1.45;
  }
  .ol-future__grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5625vw;
    margin-top: 2.7338541667vw;
  }
  .ol-benefit {
    padding: 1.5625vw 1.5625vw 1.328125vw;
  }
  .ol-benefit .ol-icon {
    flex-basis: auto;
    width: auto;
    height: 5.8588541667vw;
    margin-bottom: 1.5942708333vw;
  }
  .ol-benefit h3 {
    font-size: 1.40625vw;
  }
  .ol-benefit h3::after {
    width: 7.8125vw;
    margin: 0.875vw 0 0.1802083333vw;
  }
  .ol-benefit p {
    font-size: 1.25vw;
    line-height: 1.44;
  }
}
