.home-company-guide {
  padding: 0;
  background: #fff;
}

/* News → Message spacing */
.news {
  padding-bottom: 120px;
}

.news__list {
  margin-bottom: 24px;
  min-height: 0;
}

#message.banner {
  min-height: auto;
}

#message .banner__japanese-heading[data-astro-cid-w3zfjt2s] {
  font-size: 20px;
}

body .endless-section[data-astro-cid-5r2d55z7] {
  margin-top: 100px;
  margin-bottom: 48px;
}

#projects[data-astro-cid-amng4zvp] h2[data-astro-cid-amng4zvp] {
  margin-bottom: 88px;
}

.home-company-guide__panel {
  position: relative;
  isolation: isolate;
  width: 100%;
  min-height: 660px;
  margin: 0;
  padding: clamp(54px, 6vw, 80px) 7vw;
  display: flex;
  align-items: center;
  overflow: hidden;
  box-sizing: border-box;
  color: #fff;
  text-decoration: none;
  background: linear-gradient(120deg, #007bea 0%, #0083ff 50%, #48aaf5 100%);
}

.home-company-guide__content {
  position: relative;
  z-index: 3;
  width: min(590px, 65%);
  margin-left: 0;
  text-align: left;
}

.home-company-guide__eyebrow {
  margin: 0 0 16px;
  font-family: Roboto, sans-serif;
  font-size: var(--section-title-large-font-size);
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: .05em;
}

.home-company-guide__title {
  margin: 0 0 32px;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.6;
  letter-spacing: .05em;
}

.home-company-guide__text {
  max-width: 536px;
  margin: 0 0 24px;
  font-size: 14px;
  font-weight: 300;
  line-height: 2.15;
  letter-spacing: .05em;
}

.home-company-guide__cta {
  display: inline-block;
  color: rgba(255,255,255,1);
  font-size: 16px;
  font-weight: 400;
  letter-spacing: .05em;
  text-decoration: none;
  opacity: 1;
}

.home-company-guide__cta-arrow {
  display: inline-block;
  margin-right: .35em;
  transition: transform .25s ease;
}

.home-company-guide__cta:hover .home-company-guide__cta-arrow {
  transform: translateX(4px);
}

.home-company-guide__cta:hover {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 5px;
}

.home-company-guide__word {
  position: absolute;
  z-index: 2;
  top: 50%;
  right: -8px;
  bottom: auto;
  color: rgba(255,255,255,.12);
  font-family: Roboto, sans-serif;
  font-size: clamp(82px, 9vw, 132px);
  font-weight: 500;
  line-height: 1;
  letter-spacing: .04em;
  white-space: nowrap;
  writing-mode: vertical-rl;
  text-orientation: mixed;
  transform: translateY(-50%) rotate(180deg);
  transform-origin: center;
}

.home-company-guide__bars {
  position: absolute;
  z-index: 1;
  right: clamp(32px, 5vw, 72px);
  bottom: 0;
  width: 150px;
  height: 250px;
  display: flex;
  align-items: flex-end;
  gap: 4px;
  opacity: .86;
}

.home-company-guide__bars i {
  width: 34px;
  background: linear-gradient(0deg, rgba(255,255,255,.95) 0 50%, rgba(255,255,255,0) 100%);
}

.home-company-guide__bars i:nth-child(1) { height: 90px; }
.home-company-guide__bars i:nth-child(2) { height: 135px; }
.home-company-guide__bars i:nth-child(3) { height: 185px; }
.home-company-guide__bars i:nth-child(4) { height: 235px; }

@media (max-width: 767px) {
  .news {
    padding-bottom: 48px;
  }

  .banner {
    margin-top: 0;
  }

  #message.banner {
    margin-bottom: 32px;
  }

  #message .banner__japanese-heading[data-astro-cid-w3zfjt2s] {
    font-size: 18px;
  }

  body .endless-section[data-astro-cid-5r2d55z7] {
    margin-top: 0;
    margin-bottom: 0;
  }

  body .mobile__header[data-astro-cid-g5jplrhu] {
    margin-top: 32px;
  }

  #projects[data-astro-cid-amng4zvp] h2[data-astro-cid-amng4zvp] {
    margin-bottom: 25px;
  }

  .home-company-guide {
    padding: 0;
  }

  .home-company-guide__panel {
    min-height: 410px;
    padding: 48px 24px 110px;
    align-items: flex-start;
  }

  .home-company-guide__content {
    width: 100%;
  }

  .home-company-guide__eyebrow {
    margin-bottom: 8px;
    font-size: 32px;
    line-height: 1.2;
    letter-spacing: .04em;
  }

  .home-company-guide__title {
    margin-bottom: 22px;
    font-size: 14px;
    line-height: 1.6;
  }

  .home-company-guide__text {
    margin-bottom: 26px;
    font-size: 13px;
    line-height: 2;
  }

  .home-company-guide__cta {
    font-size: 16px;
  }

  .home-company-guide__word {
    display: block;
    top: auto;
    right: -5px;
    bottom: 0;
    font-size: 52px;
    letter-spacing: .03em;
    transform: rotate(180deg);
  }

  .home-company-guide__bars {
    right: 22px;
    width: 86px;
    height: 145px;
    gap: 2px;
  }

  .home-company-guide__bars i { width: 20px; }
  .home-company-guide__bars i:nth-child(1) { height: 48px; }
  .home-company-guide__bars i:nth-child(2) { height: 72px; }
  .home-company-guide__bars i:nth-child(3) { height: 102px; }
  .home-company-guide__bars i:nth-child(4) { height: 136px; }
}
