.p-first-view {
  position: relative;
  height: 100vh;
  padding-left: 0;
  padding-right: 0;
}
.p-first-view__title {
  position: absolute;
  z-index: 1;
  top: 95%;
  left: 1rem;
  font-size: min(7vw, 9vh, 3.25rem);
  font-weight: 700;
  line-height: 1.4;
  word-break: keep-all;
  overflow-wrap: break-word;
}
.p-first-view__title span:first-child {
  display: block;
}
.p-first-view__title span:nth-child(2) {
  font-size: min(9vw, 9vh, 3.75rem);
  line-height: 1.1;
  padding-left: 0.625rem;
}
@media screen and (min-width: 768px) {
  .p-first-view__title span:nth-child(2) {
    padding-left: 1.5vw;
  }
}
.p-first-view__title span:last-child {
  color: #2563EB;
  font-size: min(9vw, 9vh, 3.75rem);
  line-height: 1.1;
  padding-left: 0.5rem;
}
@media screen and (min-width: 768px) {
  .p-first-view__title {
    top: 84%;
    left: clamp(1.25rem, 2.5vw, 3.5rem);
    max-width: 56%;
  }
  .p-first-view__title span:first-child {
    font-size: min(4.5vw, 7vh, 4.5rem);
    line-height: 1.15;
  }
  .p-first-view__title span:nth-child(2), .p-first-view__title span:last-child {
    font-size: min(6vw, 8vh, 5.75rem);
    line-height: 1.08;
  }
}
.p-first-view__image {
  width: 100%;
  position: absolute;
  top: 0;
  left: 0;
  height: 85%;
}
.p-first-view__image img {
  display: none;
}
.p-first-view__video {
  position: absolute;
  z-index: 1;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  -webkit-mask-image: url("../../imgs/top/first-view-mask-sp.svg");
  mask-image: url("../../imgs/top/first-view-mask-sp.svg");
  -webkit-mask-size: 100% 100%;
  mask-size: 100% 100%;
  -webkit-mask-position: center;
  mask-position: center;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
}
@media screen and (min-width: 768px) {
  .p-first-view__video {
    -webkit-mask-image: url("../../imgs/top/first-view-mask-pc.svg");
    mask-image: url("../../imgs/top/first-view-mask-pc.svg");
    -webkit-mask-size: 100% 100%;
    mask-size: 100% 100%;
    -webkit-mask-position: center top;
    mask-position: center top;
  }
}
.p-first-view__video--pc {
  display: none;
}
@media screen and (min-width: 768px) {
  .p-first-view__video--pc {
    display: block;
  }
}
.p-first-view__video--sp {
  display: block;
}
@media screen and (min-width: 768px) {
  .p-first-view__video--sp {
    display: none;
  }
}

.p-about {
  padding-bottom: 5rem;
  padding-top: 0rem;
}
@media screen and (min-width: 768px) {
  .p-about {
    padding-bottom: 10rem;
  }
}
@media screen and (min-width: 768px) {
  .p-about__flex {
    display: flex;
    gap: clamp(2.5rem, 100vw - 62rem, 9rem);
    align-items: stretch;
  }
  .p-about__flex > * {
    flex: 1 1 30rem;
  }
}
.p-about__img {
  width: 70vw;
  max-width: 31.25rem;
  display: flex;
  justify-content: center;
  margin: 4.25rem auto 0;
  position: relative;
  padding-top: 0.5rem;
  padding-right: 0.5rem;
}
.p-about__img--sp {
  aspect-ratio: 1/1;
}
@media screen and (min-width: 768px) {
  .p-about__img--sp {
    display: none;
    aspect-ratio: unset;
  }
}
.p-about__img img {
  height: 100%;
  width: 100%;
  object-fit: cover;
}
.p-about__img--pc {
  display: none;
}
@media screen and (min-width: 768px) {
  .p-about__img--pc {
    display: flex;
    flex-direction: column;
    min-width: 25rem;
  }
}
.p-about__img--pc[data-fade], .p-about__img--pc[data-fade=right] {
  opacity: 1;
  transform: none;
  transition: none;
}
.p-about__img--pc img {
  flex: 1;
  width: 100%;
  object-fit: cover;
  opacity: 0;
  transform: translateY(1rem);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.p-about__img--pc::before {
  opacity: 0;
  transform: translateY(-0.875rem);
  transition: opacity 0.55s ease 0.15s, transform 0.55s ease 0.15s;
}
.p-about__img--pc::after {
  opacity: 0;
  transform: translateX(0.875rem);
  transition: opacity 0.55s ease 0.3s, transform 0.55s ease 0.3s;
}
.p-about__img--pc.is-visible img {
  opacity: 1;
  transform: translateY(0);
}
.p-about__img--pc.is-visible::before {
  opacity: 1;
  transform: translateY(0);
}
.p-about__img--pc.is-visible::after {
  opacity: 1;
  transform: translateX(0);
}
@media screen and (min-width: 768px) {
  .p-about__img {
    margin-top: 0;
    padding-top: 2.5rem;
    padding-right: 2.5rem;
  }
}
.p-about__img::before {
  content: "";
  position: absolute;
  display: block;
  top: 0;
  clip-path: polygon(8px 0, 100% 0, calc(100% - 8px) 100%, 0 100%);
  left: 0;
  height: 8px;
  width: 100%;
  background-color: #2563EB;
}
@media screen and (min-width: 768px) {
  .p-about__img::before {
    height: 40px;
    clip-path: polygon(40px 0, 100% 0, calc(100% - 40px) 100%, 0 100%);
  }
}
.p-about__img::after {
  content: "";
  position: absolute;
  display: block;
  top: 0px;
  right: 0;
  height: 100%;
  width: 8px;
  background-color: #808080;
  clip-path: polygon(0 8px, 100% 0, 100% calc(100% - 8px), 0 100%);
}
@media screen and (min-width: 768px) {
  .p-about__img::after {
    width: 40px;
    clip-path: polygon(0 40px, 100% 0, 100% calc(100% - 40px), 0 100%);
    height: 100%;
  }
}
.p-about__message {
  margin-top: 5rem;
  font-size: clamp(1.125rem, 0.987804878rem + 0.5853658537vw, 1.5rem);
  line-height: 1.5;
}
@media screen and (min-width: 768px) {
  .p-about__message {
    margin-top: 3.75rem;
  }
}
.p-about__message span {
  font-weight: 700;
  color: #024BAD;
}
.p-about__text {
  margin-top: 2.5rem;
  line-height: 2;
}
.p-about .c-button {
  padding: 0.75rem 0;
  max-width: 13.75rem;
  margin-top: 2.5rem;
  margin-left: auto;
}
@media screen and (min-width: 768px) {
  .p-about .c-button {
    max-width: 15rem;
  }
}

.p-business {
  position: relative;
  background-color: #F6F5FA;
  padding: 0 1rem 2.5rem;
  margin: 5rem 0;
}
@media screen and (min-width: 768px) {
  .p-business .l-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    column-gap: 5rem;
  }
}
@media screen and (min-width: 768px) {
  .p-business .c-section-title {
    grid-column: 1;
    grid-row: 1;
    align-self: start;
    position: relative;
    top: 8.1875rem;
  }
}
.p-business__list {
  margin-top: 3.75rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
@media screen and (min-width: 768px) {
  .p-business__list {
    padding: 5rem 0;
    margin-top: 0;
    grid-column: 1/-1;
    grid-row: 1;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    row-gap: 2.5rem;
    column-gap: 5rem;
  }
}
.p-business__item {
  border: 2px solid #2563EB;
  padding: 1rem;
  padding-top: 3.25rem;
  border-radius: 36px;
  background-color: #FFFFFF;
}
@media screen and (min-width: 768px) {
  .p-business__item {
    height: fit-content;
    border: none;
    padding: 2.5rem;
    position: relative;
  }
  .p-business__item:nth-of-type(1) {
    top: 21.0625rem;
  }
  .p-business__item:nth-of-type(3) {
    top: 23.125rem;
  }
  .p-business__item:nth-of-type(5) {
    grid-column: 2;
    grid-row: 3;
  }
}
.p-business__title {
  font-weight: 700;
  font-size: clamp(1.125rem, 0.987804878rem + 0.5853658537vw, 1.5rem);
}
.p-business__title::after {
  content: "";
  margin-top: 0.75rem;
  display: block;
  width: 100%;
  height: 1px;
  background-color: #2563EB;
}
.p-business__text {
  margin-top: 0.75rem;
}
.p-business__body {
  margin-top: 2.5rem;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}
@media screen and (min-width: 768px) {
  .p-business__body {
    margin-top: 1.25rem;
  }
}
.p-business__image {
  width: 100%;
  height: auto;
  overflow: hidden;
  aspect-ratio: 1/1;
  display: flex;
  align-items: center;
  justify-content: center;
  object-fit: cover;
  -webkit-mask-image: url("../../imgs/top/business-mask-sp.svg");
  mask-image: url("../../imgs/top/business-mask-sp.svg");
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-size: 100% 100%;
  mask-size: 100% 100%;
}
@media screen and (min-width: 768px) {
  .p-business__image {
    -webkit-mask-image: url("../../imgs/top/business-mask-pc.svg");
    mask-image: url("../../imgs/top/business-mask-pc.svg");
  }
}
.p-business__image img {
  height: 100%;
  object-fit: cover;
}
@media screen and (min-width: 768px) {
  .p-business__image {
    aspect-ratio: 16/9;
  }
}
.p-business__link {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 20%;
  aspect-ratio: 1/1;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 50%;
  background-color: #2563EB;
  color: #FFFFFF;
}
@media screen and (min-width: 768px) {
  .p-business__link {
    width: 16%;
  }
}

@media screen and (min-width: 768px) {
  .p-news {
    padding: 5rem 1rem;
  }
}
@media screen and (min-width: 768px) {
  .p-news .l-container {
    display: flex;
    gap: 10rem;
  }
}
@media screen and (min-width: 768px) {
  .p-news .c-section-title {
    width: 10rem;
  }
}
@media screen and (min-width: 768px) {
  .p-news__right {
    flex: 1;
  }
}
.p-news__list {
  margin-top: 60px;
  display: flex;
  flex-direction: column;
}
@media screen and (min-width: 768px) {
  .p-news__list {
    margin-top: 0;
  }
}
.p-news__item {
  border-bottom: 1px solid #808080;
}
.p-news__link {
  padding: 1.25rem 0;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
@media screen and (min-width: 768px) {
  .p-news__link {
    padding: 2.5rem 0;
  }
}
.p-news__meta {
  display: flex;
  gap: 1rem;
  align-items: center;
}
@media screen and (min-width: 768px) {
  .p-news__meta {
    gap: 1.25rem;
  }
}
.p-news__category {
  background-color: #2563EB;
  color: #FFFFFF;
  padding: 0.25rem 1.25rem;
  border-radius: 4px;
  font-size: clamp(0.6875rem, 0.6646341463rem + 0.0975609756vw, 0.75rem);
}
@media screen and (min-width: 768px) {
  .p-news__category {
    padding: 0.75rem 2.5rem;
    border-radius: 8px;
    font-size: clamp(0.9375rem, 0.9146341463rem + 0.0975609756vw, 1rem);
  }
}
@media screen and (min-width: 768px) {
  .p-news__date {
    font-size: clamp(1rem, 0.9085365854rem + 0.3902439024vw, 1.25rem);
  }
}
.p-news__title {
  text-decoration: underline;
}
@media screen and (min-width: 768px) {
  .p-news__title {
    font-size: clamp(1rem, 0.9085365854rem + 0.3902439024vw, 1.25rem);
  }
}
.p-news .c-button {
  max-width: 13.75rem;
  margin-top: 2.5rem;
  padding: 0.75rem 0;
  margin-left: auto;
}
@media screen and (min-width: 768px) {
  .p-news .c-button {
    max-width: 15rem;
  }
}

.p-recruit {
  background-color: #808080;
  background-image: url(../../imgs/top/bg-texture.svg);
  margin-top: 1.25rem;
  padding: 3.75rem 1rem 5rem;
  position: relative;
  color: #FFFFFF;
}
@media screen and (min-width: 768px) {
  .p-recruit {
    margin-top: 2.5rem;
  }
}
.p-recruit__panels {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  grid-template-rows: repeat(6, 1fr);
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}
.p-recruit__panel {
  background-color: #808080;
  transform-origin: top center;
  transform: scaleY(1);
  transition: transform 0.6s ease var(--panel-delay, 0s);
}
.p-recruit.is-animating .p-recruit__panel {
  transform: scaleY(0);
}
.p-recruit__top, .p-recruit__bg-img, .p-recruit__stack--sp {
  position: relative;
  z-index: 1;
}
.p-recruit .l-container::before {
  content: "";
  position: absolute;
  bottom: 100%;
  left: 0;
  width: 100%;
  height: 1.25rem;
  background-color: #2563EB;
  clip-path: polygon(20px 0, 100% 0, 100% 100%, 0 100%);
}
@media screen and (min-width: 768px) {
  .p-recruit .l-container::before {
    height: 2.5rem;
    clip-path: polygon(40px 0, 100% 0, 100% 100%, 0 100%);
  }
}
.p-recruit__top {
  display: flex;
  gap: 10rem;
}
@media screen and (min-width: 768px) {
  .p-recruit__left {
    max-width: 28.75rem;
  }
}
.p-recruit .c-section-title__en {
  color: #FFFFFF;
}
.p-recruit .c-section-title__ja {
  color: #FFFFFF;
}
.p-recruit__message {
  margin-top: 3.75rem;
  font-size: clamp(1.125rem, 0.987804878rem + 0.5853658537vw, 1.5rem);
  line-height: 40px;
}
.p-recruit__message span {
  font-weight: 700;
}
.p-recruit__text {
  margin-top: 2.5rem;
  line-height: 2;
}
.p-recruit__bg-img {
  height: 21.75rem;
  margin: 3.75rem 0;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}
@media screen and (min-width: 768px) {
  .p-recruit__bg-img {
    padding: 13.75rem 0;
    margin: 5rem 0;
    margin-bottom: 0rem;
  }
}
.p-recruit__bg-img::after {
  content: "";
  position: absolute;
  background-image: var(--ccube-recruit-bg, url("../../imgs/top/hero-bg.png"));
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  top: 0;
  left: calc(50% - 50vw);
  right: calc(50% - 50vw);
  height: 21.75rem;
  width: 100vw;
  -webkit-mask-image: url("../../imgs/top/hero-mask-sp.svg");
  mask-image: url("../../imgs/top/hero-mask-sp.svg");
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-size: 100% 348px;
  mask-size: 100% 348px;
  -webkit-mask-position: center;
  mask-position: center;
}
@media screen and (min-width: 768px) {
  .p-recruit__bg-img::after {
    height: 100%;
    -webkit-mask-image: url("../../imgs/top/hero-mask-pc.svg");
    mask-image: url("../../imgs/top/hero-mask-pc.svg");
    mask-size: 100% 100%;
  }
}
.p-recruit__bg-img .c-button {
  position: relative;
  z-index: 10;
  max-width: 17.5rem;
  padding: 1.625rem 0;
  font-size: clamp(1rem, 0.9085365854rem + 0.3902439024vw, 1.25rem);
}
@media screen and (min-width: 768px) {
  .p-recruit__bg-img .c-button {
    max-width: 20rem;
  }
  .p-recruit__bg-img .c-button:hover {
    border-color: #FFFFFF;
  }
}
.p-recruit__mask {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 5;
}
.p-recruit__stack {
  display: grid;
  grid-template-columns: repeat(10, 1fr);
  grid-template-rows: repeat(10, 1fr);
}
@media screen and (min-width: 768px) {
  .p-recruit__stack {
    flex: 1;
  }
}
.p-recruit__stack--main {
  grid-column: 3/11;
  grid-row: 1/9;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 20px;
}
.p-recruit__stack--sub {
  grid-column: 1/7;
  grid-row: 5/11;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 16px;
  z-index: 1;
}
.p-recruit__stack--pc {
  display: none;
  aspect-ratio: 400/525;
}
@media screen and (min-width: 768px) {
  .p-recruit__stack--pc {
    display: grid;
    max-width: 25rem;
  }
}
.p-recruit__stack--pc[data-fade], .p-recruit__stack--pc[data-fade=right] {
  opacity: 1;
  transform: none;
  transition: none;
}
.p-recruit__stack--pc .p-recruit__stack--main {
  opacity: 0;
  transform: translate(-1rem, -1rem);
  transition: opacity 0.65s ease, transform 0.65s ease;
}
.p-recruit__stack--pc .p-recruit__stack--sub {
  opacity: 0;
  transform: translate(-1rem, 1rem);
  transition: opacity 0.65s ease 0.25s, transform 0.65s ease 0.25s;
}
.p-recruit__stack--pc.is-visible .p-recruit__stack--main {
  opacity: 1;
  transform: translate(0, 0);
}
.p-recruit__stack--pc.is-visible .p-recruit__stack--sub {
  opacity: 1;
  transform: translate(0, 0);
}
.p-recruit__stack--sp {
  aspect-ratio: 337/450;
}
@media screen and (min-width: 768px) {
  .p-recruit__stack--sp {
    display: none;
  }
}
.p-recruit__stack--sp .p-recruit__stack--main {
  grid-column: 1/9;
  grid-row: 1/9;
}
.p-recruit__stack--sp .p-recruit__stack--sub {
  grid-column: 6/11;
  grid-row: 6/11;
}

.p-student {
  color: #FFFFFF;
  background-color: #808080;
  background-image: url(../../imgs/top/bg-texture.svg);
}
@media screen and (min-width: 768px) {
  .p-student {
    padding-top: 5rem;
  }
}
@media screen and (min-width: 768px) {
  .p-student .l-container {
    display: flex;
    flex-direction: row-reverse;
    gap: 160px;
  }
}
.p-student .c-section-title__en {
  color: #FFFFFF;
}
.p-student .c-section-title__ja {
  color: #FFFFFF;
}
.p-student__text {
  margin-top: 3.75rem;
}
.p-student .c-button {
  margin-top: 2.5rem;
  padding: 0.75rem 0;
  max-width: 13.75rem;
}
@media screen and (min-width: 768px) {
  .p-student .c-button {
    max-width: 15rem;
  }
}
.p-student__image {
  margin-top: 3.75rem;
  width: 100%;
  object-fit: cover;
  border-radius: 20px;
  overflow: hidden;
}
.p-student__image img {
  height: 100%;
  object-fit: cover;
}
@media screen and (min-width: 768px) {
  .p-student__image {
    margin-top: 0;
  }
}

/*# sourceMappingURL=top.css.map */
