.p-top {
  overflow-x: clip;
}

.p-top-intro {
  position: relative;
}
.p-top-intro__band {
  position: absolute;
  left: 0;
  width: 100%;
  aspect-ratio: 1440/852.5;
  pointer-events: none;
  clip-path: polygon(0 47.86%, 100% 0, 100% 10.03%, 0 100%);
  top: 41.6rem;
  background-color: var(--bg-brand);
}
@media (max-width: 768px) {
  .p-top-intro__band {
    top: 36.1rem;
    aspect-ratio: 390/231;
  }
}

.p-top-hero {
  position: relative;
  height: 70rem;
}
@media (max-width: 768px) {
  .p-top-hero {
    display: flex;
    flex-direction: column;
    gap: 2.4rem;
    height: auto;
    padding: 2.4rem 2rem;
  }
}
.p-top-hero__visual {
  position: absolute;
  top: 0;
  left: calc(50% - 26.4rem);
  width: 104rem;
  height: 65rem;
}
.p-top-hero__visual img {
  width: auto;
  height: 100%;
  max-width: none;
}
@media screen and (max-width: 1099px) {
  .p-top-hero__visual {
    top: 18rem;
    left: 40%;
    height: 50rem;
  }
}
@media (max-width: 768px) {
  .p-top-hero__visual {
    position: static;
    width: 48rem;
    height: 27rem;
  }
}
.p-top-hero__text {
  position: relative;
  z-index: 1;
  margin-left: auto;
  margin-right: auto;
  max-width: calc(var(--container) + var(--gutter-pc) * 2);
  padding: 6.4rem var(--gutter-pc) 0;
}
@media (max-width: 768px) {
  .p-top-hero__text {
    padding: 0;
  }
}
.p-top-hero__title {
  color: var(--text-primary);
  font-size: var(--font-size-display);
  font-weight: 700;
  line-height: 1.3;
}
@media (max-width: 768px) {
  .p-top-hero__title {
    font-size: 4rem;
  }
}
.p-top-hero__lead {
  margin-top: 3.8rem;
  white-space: nowrap;
  color: var(--text-primary);
  font-family: var(--font-en);
  font-size: var(--font-size-body-lg);
  font-weight: 600;
  line-height: 1.5;
}
@media screen and (max-width: 1099px) {
  .p-top-hero__lead {
    white-space: normal;
  }
}
@media (max-width: 768px) {
  .p-top-hero__lead {
    margin-top: 2.4rem;
    font-size: var(--font-size-body-sm);
  }
}

.p-top-about {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12rem;
  margin-left: auto;
  margin-right: auto;
  max-width: calc(var(--container) + var(--gutter-pc) * 2);
  padding: 12rem var(--gutter-pc) 8rem;
}
@media screen and (max-width: 1099px) {
  .p-top-about {
    gap: 6.4rem;
  }
}
@media (max-width: 768px) {
  .p-top-about {
    flex-direction: column;
    gap: 3.2rem;
    padding: 6.4rem 2rem 4rem;
  }
}
.p-top-about__diagram {
  flex-shrink: 0;
  width: 48rem;
}
@media screen and (max-width: 1099px) {
  .p-top-about__diagram {
    width: 36rem;
  }
}
@media (max-width: 768px) {
  .p-top-about__diagram {
    width: 32rem;
  }
}
.p-top-about__diagram img {
  width: 100%;
}
.p-top-about__text {
  display: flex;
  flex-direction: column;
  gap: 5.6rem;
  width: 60rem;
}
@media (max-width: 768px) {
  .p-top-about__text {
    gap: 3.2rem;
    width: 100%;
  }
}
.p-top-about__title {
  color: var(--text-primary);
  font-size: var(--font-size-h2);
  font-weight: 700;
  line-height: 1.5;
  white-space: nowrap;
}
@media screen and (max-width: 1099px) {
  .p-top-about__title {
    white-space: normal;
  }
}
@media (max-width: 768px) {
  .p-top-about__title {
    font-size: 2.8rem;
  }
}
.p-top-about__desc {
  color: var(--text-primary);
  font-size: var(--font-size-body-lg);
  line-height: 2;
}
@media (max-width: 768px) {
  .p-top-about__desc {
    font-size: var(--font-size-body);
  }
}

.p-top-service {
  padding: 8rem 0;
}
@media (max-width: 768px) {
  .p-top-service {
    padding: 4rem 0;
  }
}
.p-top-service__list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8rem;
}
@media (max-width: 768px) {
  .p-top-service__list {
    grid-template-columns: 1fr;
    gap: 3.2rem;
  }
}
.p-top-service__card {
  display: flex;
  flex-direction: column;
  gap: 3.2rem;
  color: var(--text-primary);
}
.p-top-service__image {
  overflow: hidden;
  aspect-ratio: 560/187;
  border-radius: var(--radius-md);
}
.p-top-service__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s;
}
@media (max-width: 768px) {
  .p-top-service__image {
    aspect-ratio: 350/117;
  }
}
.p-top-service__body {
  display: flex;
  flex-direction: column;
  gap: 2.4rem;
}
.p-top-service__heading-row {
  display: flex;
  align-items: center;
  gap: 2.4rem;
}
.p-top-service__heading {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 1.2rem;
}
.p-top-service__en {
  color: var(--text-brand);
  font-family: var(--font-en);
  font-size: var(--font-size-body-lg);
  font-weight: 600;
  line-height: 1.5;
}
@media (max-width: 768px) {
  .p-top-service__en {
    font-size: var(--font-size-body);
  }
}
.p-top-service__title {
  font-size: var(--font-size-h4);
  font-weight: 700;
  line-height: 1.5;
}
@media (max-width: 768px) {
  .p-top-service__title {
    font-size: 2.2rem;
  }
}
.p-top-service__desc {
  font-size: var(--font-size-body-lg);
  line-height: 2;
}
@media (max-width: 768px) {
  .p-top-service__desc {
    font-size: var(--font-size-body);
  }
}
@media print, screen and (min-width: 769px) {
  .p-top-service__card:hover .p-top-service__image img {
    transform: scale(1.04);
  }
  .p-top-service__card:hover .c-icon-button--outline {
    background-color: var(--brand-primary);
    color: var(--text-on-brand);
  }
}

@keyframes p-top-marquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}
.p-top-marquee {
  overflow: hidden;
  white-space: nowrap;
}
.p-top-marquee__track {
  display: flex;
  width: max-content;
  animation: p-top-marquee 80s linear infinite;
}
.p-top-marquee__text {
  padding-right: 0.3em;
  font-family: var(--font-en);
  font-size: 8rem;
  font-weight: 600;
  line-height: 1.5;
}
@media (max-width: 768px) {
  .p-top-marquee__text {
    font-size: 4rem;
  }
}
.p-top-marquee--main {
  margin-bottom: 0.8rem;
  color: var(--text-brand);
}
@media (max-width: 768px) {
  .p-top-marquee--main {
    margin-bottom: 0;
  }
}
.p-top-marquee--main .p-top-marquee__track {
  animation-direction: reverse;
}
.p-top-marquee--sub {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  color: var(--text-inverse);
}
@media (max-width: 768px) {
  .p-top-marquee--sub {
    top: 0.8rem;
  }
}
@media (prefers-reduced-motion: reduce) {
  .p-top-marquee__track {
    animation: none;
  }
}

.p-top-case {
  position: relative;
  overflow: hidden;
  padding: 16rem 0;
}
@media (max-width: 768px) {
  .p-top-case {
    padding: 8rem 0;
  }
}
.p-top-case .l-inner {
  position: relative;
}
.p-top-case--open-innovation {
  padding-top: 20rem;
  background-color: var(--bg-subtle);
}
@media (max-width: 768px) {
  .p-top-case--open-innovation {
    padding-top: 8rem;
  }
}
.p-top-case__band {
  position: absolute;
  left: 0;
  width: 100%;
  aspect-ratio: 1440/852.5;
  pointer-events: none;
  clip-path: polygon(0 0, 100% 47.86%, 100% 100%, 0 10.03%);
  top: 30rem;
  background-color: var(--bg-brand);
}
@media (max-width: 768px) {
  .p-top-case__band {
    top: 34.3rem;
    width: 72rem;
    aspect-ratio: 720/426;
  }
}
.p-top-case__slider .splide__track {
  overflow: visible;
}
.p-top-case__slider .splide__slide {
  display: flex;
  width: 35rem;
}
@media (max-width: 768px) {
  .p-top-case__slider .splide__slide {
    width: 30rem;
  }
}
.p-top-case__slider .c-card-case {
  width: 100%;
}

@media (max-width: 768px) {
  .p-top-beyond .l-inner {
    padding-left: 2rem;
    padding-right: 2rem;
  }
}
.p-top-beyond__banner {
  position: relative;
  overflow: hidden;
  height: 50rem;
  border-radius: var(--radius-xl);
  background-color: #111111;
  color: var(--text-inverse);
}
@media (max-width: 768px) {
  .p-top-beyond__banner {
    display: flex;
    flex-direction: column;
    height: auto;
    background-color: var(--bg-inverse);
  }
}
.p-top-beyond__body {
  position: relative;
  z-index: 1;
  padding: 6.6rem 0 0 12rem;
}
@media screen and (max-width: 1099px) {
  .p-top-beyond__body {
    padding-left: 6.4rem;
  }
}
@media (max-width: 768px) {
  .p-top-beyond__body {
    display: flex;
    flex-direction: column;
    gap: 1.6rem;
    padding: 3.2rem 2.4rem;
  }
}
.p-top-beyond__label {
  font-family: "Bricolage Grotesque", var(--font-en);
  font-size: 3.2rem;
  font-weight: 500;
  line-height: 1.2;
}
@media (max-width: 768px) {
  .p-top-beyond__label {
    font-size: var(--font-size-body-lg);
  }
}
.p-top-beyond__title {
  margin-top: 1.4rem;
  font-family: "Bricolage Grotesque", var(--font-en);
  font-size: var(--font-size-display);
  font-weight: 700;
  line-height: 1.2;
}
@media (max-width: 768px) {
  .p-top-beyond__title {
    margin-top: 0;
    font-size: 4rem;
  }
}
.p-top-beyond__desc {
  max-width: 57.6rem;
  margin-top: 4.6rem;
  font-size: var(--font-size-body-lg);
  font-weight: 500;
  line-height: 1.8;
}
@media (max-width: 768px) {
  .p-top-beyond__desc {
    margin-top: 0;
  }
}
.p-top-beyond__button {
  display: inline-flex;
  align-items: center;
  min-height: 6.4rem;
  margin-top: 4.6rem;
  padding: 2rem 3.2rem;
  border-radius: var(--radius-full);
  background-color: var(--base-white);
  color: var(--text-primary);
  font-size: var(--font-size-body);
  font-weight: 700;
  line-height: 1.5;
  transition: color 0.3s;
}
@media print, screen and (min-width: 769px) {
  .p-top-beyond__button:hover {
    color: var(--text-brand);
  }
}
@media (max-width: 768px) {
  .p-top-beyond__button {
    align-self: flex-start;
    margin-top: 0;
  }
}
.p-top-beyond__visual {
  position: absolute;
  top: 0;
  right: 0;
  width: 100%;
  height: 100%;
}
.p-top-beyond__visual picture {
  width: 100%;
  height: 100%;
}
.p-top-beyond__visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: left center;
}
@media (max-width: 768px) {
  .p-top-beyond__visual {
    position: static;
    width: 100%;
    height: 22rem;
  }
}

.p-top-news {
  padding: 16rem 0;
}
@media (max-width: 768px) {
  .p-top-news {
    padding: 8rem 0;
  }
}
.p-top-news__list {
  max-width: 96rem;
  margin-left: auto;
  border-top: 1px solid var(--border-default);
}
@media (max-width: 768px) {
  .p-top-news__list {
    max-width: none;
  }
}

.p-top-recruit {
  position: relative;
  overflow: hidden;
  padding-top: 16rem;
  background-color: var(--bg-inverse);
  color: var(--text-inverse);
}
@media (max-width: 768px) {
  .p-top-recruit {
    padding: 8rem 0;
  }
}
.p-top-recruit__band {
  position: absolute;
  left: 0;
  width: 100%;
  aspect-ratio: 1440/852.5;
  pointer-events: none;
  clip-path: polygon(0 47.86%, 100% 0, 100% 10.03%, 0 100%);
  top: 24rem;
  background-color: rgba(255, 255, 255, 0.2);
}
@media (max-width: 768px) {
  .p-top-recruit__band {
    top: 12rem;
    width: 72rem;
    aspect-ratio: 720/426;
  }
}
.p-top-recruit .l-inner {
  position: relative;
}
.p-top-recruit .p-section-heading {
  margin-bottom: 14.7rem;
}
@media (max-width: 768px) {
  .p-top-recruit .p-section-heading {
    margin-bottom: 4rem;
  }
}
.p-top-recruit__row {
  display: flex;
  justify-content: space-between;
  gap: 6.4rem;
}
@media (max-width: 768px) {
  .p-top-recruit__row {
    flex-direction: column;
    gap: 2.4rem;
  }
}
.p-top-recruit__title {
  flex-shrink: 0;
  font-size: var(--font-size-h1);
  font-weight: 700;
  line-height: 1.5;
}
@media (max-width: 768px) {
  .p-top-recruit__title {
    font-size: var(--font-size-h4);
  }
}
.p-top-recruit__text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4rem;
  width: 60rem;
}
@media (max-width: 768px) {
  .p-top-recruit__text {
    gap: 2.4rem;
    width: 100%;
  }
}
.p-top-recruit__desc {
  font-size: var(--font-size-body-lg);
  line-height: 2;
}
@media (max-width: 768px) {
  .p-top-recruit__desc {
    font-size: var(--font-size-body);
  }
}
.p-top-recruit__photos {
  --masonry-offset: 12rem;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  align-items: start;
  gap: 4rem;
  height: 54.2rem;
}
@media (max-width: 768px) {
  .p-top-recruit__photos {
    --masonry-offset: 6rem;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.6rem;
    height: 46rem;
  }
}
.p-top-recruit__col {
  display: flex;
  flex-direction: column;
  gap: 4rem;
  margin-top: calc(var(--masonry-offset) * -1);
  will-change: transform;
}
@media print, screen and (min-width: 769px) {
  .p-top-recruit__col:nth-child(even) {
    margin-top: calc(var(--masonry-offset) * -1 + 4rem);
  }
}
@media (max-width: 768px) {
  .p-top-recruit__col {
    gap: 1.6rem;
  }
  .p-top-recruit__col:nth-child(n+3) {
    display: none;
  }
}
.p-top-recruit__photo {
  aspect-ratio: 270/320;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background-color: var(--slate-200);
}
@media (max-width: 768px) {
  .p-top-recruit__photo {
    aspect-ratio: 167/198;
  }
}
.p-top-recruit__photo > img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.12);
}

.p-top-contact {
  padding: 16rem 0;
}
@media (max-width: 768px) {
  .p-top-contact {
    padding: 8rem 0;
  }
}
