.lumera-hero-v4 {
  --hero-ink: #173650;
  --hero-green: #00875f;
  --hero-green-2: #11866b;
  --public-hero-marker: #fff0a3;
  position: relative;
  overflow: hidden;
  background: #fff;
  border-bottom: 1px solid #dce9e5;
  color: var(--hero-ink);
  padding: 0 !important;
}

.lumera-hero-v4,
.lumera-hero-v4 * {
  box-sizing: border-box;
}

.skip-link {
  position: fixed;
  z-index: 200;
  top: 10px;
  left: 10px;
  padding: 10px 14px;
  border-radius: 8px;
  background: #fff;
  color: #00875f;
  font-weight: 800;
  transform: translateY(-160%);
}

.skip-link:focus-visible {
  outline: 3px solid #f5b642;
  outline-offset: 2px;
  transform: translateY(0);
}

.lumera-hero-v4-inner {
  display: grid;
  grid-template-columns: minmax(500px, 43%) minmax(0, 1fr);
  min-height: clamp(560px, calc(100dvh - 132px), 640px);
}

.lumera-hero-v4-copy {
  z-index: 2;
  display: flex;
  min-width: 0;
  flex-direction: column;
  justify-content: center;
  padding: clamp(30px, 4vh, 48px) clamp(34px, 3.5vw, 58px);
  padding-left: max(34px, calc((100vw - 1180px) / 2));
  background: #fff;
}

.lumera-hero-v4-kicker {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 14px;
  color: var(--hero-green-2);
  font-size: clamp(14px, 1.2vw, 17px);
  font-weight: 800;
  letter-spacing: .08em;
  line-height: 1.8;
}

.lumera-hero-v4-kicker span {
  width: 9px;
  height: 9px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--hero-green-2);
}

.lumera-hero-v4 h1 {
  margin: 0;
  color: var(--public-hero-ink);
  font-family: "Noto Sans JP", sans-serif;
  font-size: clamp(58px, 5vw, 80px);
  font-weight: 800;
  line-height: 1.14;
  letter-spacing: -.055em;
  text-wrap: balance;
}

.lumera-hero-v4-highlight {
  position: relative;
  z-index: 0;
  display: inline-block;
  color: var(--public-hero-accent);
  white-space: nowrap;
}

.lumera-hero-v4-highlight::after {
  position: absolute;
  z-index: -1;
  right: -.06em;
  bottom: .04em;
  left: -.06em;
  height: .2em;
  border-radius: 999px;
  background: var(--public-hero-marker);
  content: "";
}

.lumera-hero-v4-subtitle {
  max-width: 34rem;
  margin: 22px 0 0;
  color: #526b78;
  font-size: clamp(15px, 1.15vw, 17px);
  font-weight: 500;
  line-height: 1.8;
  letter-spacing: .02em;
  text-wrap: pretty;
}

body.lumera-home #tutors {
  scroll-margin-top: 140px;
}

.lumera-hero-v4-lead {
  margin: 28px 0 0;
  color: #526b78;
  font-size: clamp(16px, 1.25vw, 19px);
  font-weight: 500;
  line-height: 1.95;
  letter-spacing: .025em;
}

.lumera-hero-v4-benefits {
  display: grid;
  width: min(620px, 49vw);
  margin: 26px 0 0;
  padding: 24px 0 0;
  border-top: 1px solid #cfe3dc;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  list-style: none;
  background: #fff;
  box-shadow: 2rem 0 #fff;
  padding-bottom: 1rem;
}

.lumera-hero-v4-line {
  display: inline-block;
  white-space: nowrap;
}

.lumera-hero-v4-benefits li {
  min-width: 0;
  padding: 0 15px;
  border-left: 1px solid #e1ece8;
  color: var(--hero-ink);
}

.lumera-hero-v4-benefits li:first-child {
  padding-left: 0;
  border-left: 0;
}

.lumera-hero-v4-benefits li:last-child { padding-right: 0; }

.lumera-hero-v4-benefits svg {
  display: block;
  width: 30px;
  height: 30px;
  margin-bottom: 11px;
  fill: none;
  stroke: var(--hero-green-2);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
}

.lumera-hero-v4-benefits div { display: grid; gap: 5px; }

.lumera-hero-v4-benefits strong {
  font-size: 14px;
  line-height: 1.45;
}

.lumera-hero-v4-benefits span {
  color: #647985;
  font-size: 11px;
  font-weight: 600;
  line-height: 1.55;
}

.lumera-hero-v4-photo {
  position: relative;
  min-width: 0;
  min-height: 100%;
  margin: 0;
  overflow: hidden;
  background: #e9f2ed;
}

.lumera-hero-v4-photo::before {
  position: absolute;
  z-index: 1;
  inset: 0 auto 0 0;
  width: 20%;
  background: linear-gradient(90deg, #fff 0%, rgba(255, 255, 255, .52) 26%, rgba(255, 255, 255, 0) 100%);
  content: "";
  pointer-events: none;
}

.lumera-hero-v4-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 67% center;
}

@media (min-width: 941px) {
  .lumera-hero-v4-inner {
    min-height: clamp(560px, calc(100dvh - 132px), 640px);
  }

  .lumera-hero-v4-copy {
    padding-top: clamp(28px, 3.5vh, 42px);
    padding-bottom: clamp(28px, 3.5vh, 42px);
  }

  .lumera-hero-v4-kicker {
    margin-bottom: 14px;
  }

  .lumera-hero-v4 h1 {
    font-size: clamp(58px, 4.9vw, 78px);
    line-height: 1.12;
  }

  .lumera-hero-v4-benefits {
    margin-top: 26px;
  }
}

@media (max-width: 1120px) {
  .lumera-hero-v4-inner {
    grid-template-columns: minmax(0, 58%) minmax(0, 1fr);
  }

  .lumera-hero-v4 h1 {
    font-size: clamp(54px, 5.8vw, 66px);
  }

  .lumera-hero-v4-benefits { width: min(560px, 100%); }
}

@media (max-width: 940px) {
  .lumera-hero-v4-inner {
    display: flex;
    min-height: 0;
    flex-direction: column;
  }

  .lumera-hero-v4-photo {
    order: -1;
    min-height: 0;
    aspect-ratio: 16 / 8.7;
  }

  .lumera-hero-v4-photo::before {
    display: none;
  }

  .lumera-hero-v4-photo img {
    object-position: 62% 48%;
  }

  .lumera-hero-v4-copy {
    padding: 54px clamp(28px, 7vw, 70px) 62px;
  }

  .lumera-hero-v4 h1 {
    font-size: clamp(46px, 8vw, 68px);
  }

  .lumera-hero-v4-benefits {
    width: min(650px, 100%);
  }
}

@media (max-width: 640px) {
  .lumera-hero-v4-photo {
    aspect-ratio: 1 / .78;
  }

  .lumera-hero-v4-photo img {
    object-position: 52% center;
  }

  .lumera-hero-v4-copy {
    padding: 28px 20px 16px;
  }

  .lumera-hero-v4-kicker {
    margin-bottom: 18px;
    font-size: 13px;
  }

  .lumera-hero-v4 h1 {
    font-size: clamp(32px, 8.8vw, 40px);
    line-height: 1.2;
    letter-spacing: -.06em;
  }

  .lumera-hero-v4-line {
    white-space: nowrap;
  }

  .lumera-hero-v4-lead {
    margin-top: 22px;
    font-size: 15px;
    line-height: 1.8;
  }

  .lumera-hero-v4-lead br {
    display: none;
  }

  .lumera-hero-v4-benefits {
    width: 100%;
    margin-top: 24px;
    padding-top: 20px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    row-gap: 16px;
  }

  .lumera-hero-v4-subtitle {
    margin-top: 18px;
    font-size: 14px;
    line-height: 1.75;
  }

  .lumera-hero-v4-benefits li { padding: 0 14px; }
  .lumera-hero-v4-benefits li:nth-child(odd) { padding-left: 0; border-left: 0; }
  .lumera-hero-v4-benefits li:nth-child(even) { padding-right: 0; }
  .lumera-hero-v4-benefits svg { width: 28px; height: 28px; margin-bottom: 9px; }
  .lumera-hero-v4-benefits strong { font-size: 13px; }
  .lumera-hero-v4-benefits span { font-size: 11px; }

  .lumera-hero-v4-photo {
    aspect-ratio: 4 / 3;
  }
}

/* Three hero benefits stay inside the copy column. */
.lumera-hero-v4-benefits{width:100%;max-width:100%;grid-template-columns:repeat(3,minmax(0,1fr))}
@media(max-width:640px){.lumera-hero-v4-benefits{gap:0}.lumera-hero-v4-benefits li{padding:0 8px}.lumera-hero-v4-benefits li:nth-child(n+2){padding-left:8px;border-left:1px solid #e1ece8}.lumera-hero-v4-benefits li:last-child{padding-right:0}.lumera-hero-v4-benefits strong{font-size:12px}.lumera-hero-v4-benefits span{font-size:10px}}
