@charset "utf-8";

/* common */

.sr-only {
  border: 0;
  clip: rect(0, 0, 0, 0);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  width: 1px;
}

.container {
  padding-inline: 2rem;
}

.m-section-hdg-main {
  font-size: 4rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  line-height: 1.8;
}

.m-section-hdg-sub {
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  line-height: 1.8;
  margin-top: 2rem;
}

.m-section-txt {
  font-family: "Noto Sans JP", sans-serif;
  font-size: 1.5rem;
  line-height: 1.8;
  margin-top: 6.2rem;
}

.m-section-link {
  background-color: var(--color-black);
  border: 0.1rem solid rgba(240, 240, 240,0.5);
  font-size: 1.5rem;
  font-weight: 700;
  height: fit-content;
  justify-content: space-between;
  line-height: 1.6;
  max-width: 39rem;
  padding: 2.8rem 3rem;
  width: 100%;
}

.m-recruit-img img {
  object-fit: cover;
  object-position: top;
}

@media (hover: hover) {
  .m-section-link:hover {
    background-color: #272727;
  }
}

@media screen and (max-width: 767px) {
  .container {
    padding-inline: 3rem;
  }

  .m-section-hdg-main {
    font-size: 3rem;
    line-height: 1.6;
  }

  .m-section-hdg-sub {
    font-size: 1.5rem;
    margin-top: 1rem;
  }

  .m-section-txt {
    margin-top: 4.5rem;
  }

  .m-section-link {
    font-size: 1.8rem;
    padding: 1.5rem 3rem;
  }
}

/* top-visual */
.m-top-visual {
  height: 90rem;
  overflow-x: hidden;
  position: relative;
}

.m-top-visual::before {
  background: url(/recruit/resource/img/top/bg_top_visual.png) bottom center / cover no-repeat;
  content: "";
  inset: 0 0 15rem 0;
  position: absolute;
}

.m-top-visual .container {
  height: 100%;
  position: relative;
  width: calc(100% - 4rem);
}

.m-top-visual__container {
  align-items: flex-end;
  bottom: 13.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 4rem 2rem;
  justify-content: space-between;
  left: 2rem;
  position: absolute;
  width: calc(100% - 4rem);
}

.m-top-visual__hdg-img {
  max-width: 54.2rem;
}

.m-top-visual__sub {
  font-size: 2rem;
  line-height: 2.5;
  margin-top: 8rem;
}

.m-top-visual__link {
  align-items: center;
  background-color: transparent;
  border: 0.1rem solid var(--color-white);
  color: var(--color-white);
  display: flex;
  font-size: 1.8rem;
  height: 7.3rem;
  justify-content: center;
  margin-bottom: 1.5rem;
  max-width: 30rem;
}

.m-top-visual__link::after {
  position: absolute;
  right: 3rem;
  top: 50%;
  transform: translateY(-50%) rotate(-90deg);
}

@media (hover: hover) {
  .m-top-visual__link:hover {
    background-color: #272727;
  }

  .m-top-visual__link:hover::after {
    transform: translateY(-50%) rotate(-90deg) rotateY(360deg);
  }
}

@media screen and (max-width: 767px) {
  .m-top-visual {
    height: 94.5rem;
    width: 100%;
  }

  .m-top-visual::before {
    background: url(/recruit/resource/img/top/bg_top_visual_sp.png) bottom center / cover no-repeat;
    inset: 0 0 45rem 0;
  }

  .m-top-visual__container {
    bottom: 8rem;
    flex-direction: column;
    gap: 4.5rem;
    left: 0;
    padding-inline: 3rem;
    width: calc(100% - 8rem);
  }

  .m-top-visual__hdg-wrap {
    margin-inline: auto;
  }

  .m-top-visual__sub {
    font-size: 1.8rem;
    margin-top: 4rem;
  }

  .m-top-visual__link {
    height: 6rem;
    margin-block: 0;
    margin-inline: auto;
    max-width: 50rem;
    width: 100%;
  }
}

/* ニュース */
.m-news {
  border-block: 0.1rem solid  rgba(176, 176, 176,0.5);
}

.m-news-list__item a {
  align-items: center;
  background-color: var(--color-black);
  border-top: 0.1rem solid rgba(176, 176, 176,0.5);
  color: var(--color-white);
  column-gap: 3.5%;
  display: grid;
  font-family: "Noto Sans JP", sans-serif;
  font-size: 1.6rem;
  grid-template-columns: 10rem 1fr auto;
  line-height: 1.8;
  padding: 2.55rem 4rem;
  transition: all 0.3s;
}

.m-news-list__item:nth-child(1) a {
  border-top: none;
}

.m-news-list__item a::before {
  aspect-ratio: 1;
  background-color: var(--color-white);
  background-position: center;
  background-size: 0.77rem 0.97rem;
  border-radius: 50%;
  content: "";
  height: 2rem;
  position: absolute;
  right: 6rem;
  top: 50%;
  transform: translate(100%, -50%);
  width: 2rem;
}

.m-news-list__item .a-has-arrow-horizon::after {
  background-image: url(/recruit/resource/img/icn_arrow_black.svg);
  background-size: 1rem;
  height: 1rem;
  position: absolute;
  right: 4.5rem;
  top: 50%;
  transform: translateY(-50%) rotate(-90deg);
  width: 0.8rem;
}

.m-news-list__item-date, .m-news-list__item-txt {
  line-height: 1.8;
}

.m-news-list__item-txt {
  -webkit-box-orient: vertical;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  overflow: hidden;
}

@media (hover: hover) {
  .m-news-list__item a:hover {
    background-color: #272727;
  }

  .m-news-list__item:hover .a-has-arrow-horizon::after {
    transform: translateY(-50%) rotate(-90deg) rotateY(360deg);
  }
}

@media screen and (max-width: 767px) {
  .m-news .container {
    padding-inline: 0;
  }

  .m-news-list__item a {
    grid-template-columns: 1fr;
    padding: 2rem 8rem 2.2rem 3rem;
  }

  .m-news-list__item a::before {
    right: 5rem;
    transform: translate(100%, 10%);
  }

  .m-news-list__item .a-has-arrow-horizon::after {
    right: 3.5rem;
    transform: translateY(73%) rotate(-90deg);
  }

  .m-news-list__item-date, .m-news-list__item-txt {
    font-size: 1.5rem;
  }

  .m-news-list__item-txt {
    -webkit-box-orient: vertical;
    margin-top: 1.4rem;
  }
}

/* 職種・オフィス紹介 */
.m-jobfile {
  background-image: url(/recruit/resource/img/top/bg_star1.png);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  padding-block: 15rem;
}

.m-jobfile-container {
  display: flex;
  flex-wrap: wrap;
  gap: 6rem 2rem;
  justify-content: space-between;
}

.m-jobfile-left {
  align-content: space-between;
  display: grid;
  width: 39rem;
}

.m-jobfile-left__head {
  position: relative;
  top: -2.5rem;
}

.m-jobfile-right {
  display: grid;
  gap: 6rem;
  width: 68rem;
}

.m-jobfile-item {
  display: grid;
  grid-template-columns: 29.4% auto;
}

.m-jobfile-item__body {
  align-content: space-between;
  background-color: #111;
  display: grid;
}

.m-jobfile-item__txtarea {
  padding: 3rem 4rem 3.3rem;
}

.m-jobfile-item__hdg {
  font-size: 2rem;
  font-weight: 700;
  line-height: 1.8;
}

.m-jobfile-item__txt {
  font-family: "Noto Sans JP", sans-serif;
  font-size: 1.4rem;
  line-height: 1.8;
  margin-top: 2rem;
}

.m-jobfile-item__link {
  border-top: 0.1rem solid rgba(176, 176, 176,0.5);
  font-size: 1.5rem;
  font-weight: 700;
  justify-content: space-between;
  line-height: 1.6;
  padding: 1.2rem 2rem;
}

.m-jobfile-item__link:nth-last-child(1) {
  border-bottom: 0.1rem solid rgba(176, 176, 176,0.5);
}

@media (hover: hover) {
  .m-jobfile-item__link:hover {
    background-color: #272727;
  }
}

@media screen and (max-width: 1129px) {
  .m-jobfile-container {
    margin-inline: auto;
    width: min-content;
  }
}



@media screen and (max-width: 767px) {
  .m-jobfile {
    padding-block: 6.5rem 10.5rem;
  }

  .m-jobfile-left {
    gap: 5.2rem;
  }

  .m-jobfile-left__head {
    top: 0;
  }

  .m-jobfile-container {
    gap: 6rem;
    width: unset;
  }

  .m-jobfile-item {
    grid-template-columns: 1fr;
  }

  .m-jobfile-item__txtarea {
    padding: 2rem 2rem 2.3rem;
  }

  .m-jobfile-item__txt {
    margin-top: 1rem;
  }
}



/* スターフライヤーで働く人たち */
.m-interview {
  margin-block: 0;
  padding-block: 13rem 14.5rem;
}

.m-interview__head {
  align-items: flex-end;
  display: flex;
  flex-wrap: wrap;
  gap: 6rem 2rem;
  justify-content: space-between;
}

.m-interview .m-section-hdg-sub {
  margin-top: 1rem;
}

.m-interview .m-section-txt {
  margin-top: 6rem;
}

.m-interview__head .m-section-link {
  margin-bottom: 1rem;
}

.m-interview__swiper {
  margin-top: 5rem;
}

.m-interview__item:nth-child(3) .m-interview__namearea {
  left: unset;
  right: 0;
}

.m-interview__swiper-btn {
  align-items: center;
  display: flex;
  gap: 2rem;
  margin: 4.5rem auto 0;
  width: fit-content;
}

.m-interview__swiper-pagination {
  display: flex;
  gap: 0.8rem;
}

.m-interview .swiper-pagination-bullet {
  background-color: var(--color-white);
  border: 0.73rem solid var(--color-black);
  border-radius: 50%;
  display: inline-block;
  height: 1.02rem;
  position: relative;
  width: 1.02rem;
}

.m-interview .swiper-pagination-bullet-active::before {
  border: 0.1rem solid var(--color-white);
  border-radius: 50%;
  content: "";
  height: 1.6rem;
  left: 50%;
  position: absolute;
  top: 50%;
  transform: translateX(-50%) translateY(-50%);
  width: 1.6rem;
}

.m-interview__swiper-next svg, .m-interview__swiper-prev svg {
  display: none;
}

.m-interview__swiper-next, .m-interview__swiper-prev {
  background-image: url(/recruit/resource/img/icn_arrow.svg);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  content: "";
  height: 1.842rem;
  width: 1.455rem;
}

.m-interview__swiper-prev {
  transform: rotate(90deg);
}

.m-interview__swiper-next {
  transform: rotate(-90deg);
}

@media (hover: hover) {
  .m-interview .swiper-pagination-bullet, .m-interview__swiper-next:hover, .m-interview__swiper-prev:hover {
    cursor: pointer;
  }
}

@media screen and (max-width: 767px) {
  .m-interview {
    padding-block: 7rem 5rem;
  }

  .m-interview__head {
    flex-direction: column;
    gap: 5.5rem;
  }

  .m-interview .m-section-txt {
    margin-top: 4rem;
  }

  .m-interview__swiper {
    padding-inline: 7.5vw;
  }

  .m-interview__swiper-btn {
    margin-top: 0;
  }

  .m-interview__swiper-pagination {
    gap: 0.2rem;
  }

  .m-interview__swiper-next, .m-interview__swiper-prev {
    position: absolute;
    top: 50%;
  }

  .m-interview__swiper-prev {
    left: 0;
    transform: translateY(-210%) rotate(90deg);
  }

  .m-interview__swiper-next {
    right: 0;
    transform: translateY(-210%) rotate(-90deg);
  }
}

@media screen and (max-width: 767px) and  (min-width: 422px) {
  .m-interview__swiper-btn {
    margin-top: 3rem;
  }
}


/* 挑戦を重ねてきた私たちの軌跡。 */
.m-project {
  background-image: url(/recruit/resource/img/top/bg_star2.png);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  padding-block: 13rem;
}

.m-project__container {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: space-between;
}

.m-project-left {
  align-content: space-between;
  display: grid;
  width: 39rem;
}

.m-project-right {
  margin-top: 2rem;
  width: 68rem;
}

.m-project-left__img {
  aspect-ratio: 621 / 802;
  margin-inline: auto;
  max-width: 31rem;
  overflow: hidden;
  position: relative;
  width: 100%;
}

.m-project-left__img-inner {
  height: 100%;
  position: relative;
  width: 100%;
}

.m-project-left__img img {
  box-shadow: 0 0 4px rgba(0, 0, 0, 0.25);
  display: block;
  height: 100%;
  left: 0;
  object-fit: cover;
  position: absolute;
  top: 0;
  transition: transform 1.2s cubic-bezier(0.25, 1, 0.5, 1), opacity 1.2s ease;
  width: 100%;
}

.m-project-left__img img {
  opacity: 0;
  transform: translateX(100%);
}

.m-project-left__img img.is-active {
  opacity: 1;
  transform: translateX(0);
  z-index: 2;
}

.m-project-left__img img.is-before {
  opacity: 0;
  transform: translateX(-100%);
  z-index: 1;
}

.m-project-left__img img.is-after {
  opacity: 0;
  transform: translateX(100%);
  z-index: 1;
}

.m-project-link {
  align-items: center;
  background-color: transparent;
  border-top: 0.1rem solid rgba(176, 176, 176, 0.5);
  color: var(--color-white);
  display: flex;
  gap: 3rem;
  justify-content: space-between;
  padding: 4.5rem 4rem 5rem;
  position: relative;
}

.m-project-link:nth-last-child(1) {
  border-bottom: 0.1rem solid rgba(176, 176, 176, 0.5);
}

.m-project-link::after {
  position: absolute;
  right: 4rem;
  top: 50%;
  transform: translateY(-50%) rotate(-90deg);
}

.m-project-link__hdg-box {
  align-items: center;
  display: flex;
  gap: 3.5rem;
  padding-inline: 0.5rem;
}

.m-project-link__hdg-label {
  border: 0.1rem solid var(--color-white);
  font-size: 1.4rem;
  font-weight: 700;
  line-height: 1.6;
  padding: 0.3rem 1.2rem;
  transform: skew(-18deg, 0deg);
}

.m-project-link__hdg-label span {
  display: inline-block;
  transform: skew(18deg, 0deg);
}

.m-project-link__hdg {
  font-size: 2.4rem;
  font-weight: 700;
  line-height: 1.8;
}

.m-project-link__sub-hdg {
  font-family: "Noto Sans JP", sans-serif;
  font-size: 1.5rem;
  font-weight: 500;
  line-height: 1.6;
  margin-top: 1.5rem;
}

.m-project-link__txt {
  font-family: "Noto Sans JP", sans-serif;
  font-size: 1.4rem;
  line-height: 1.8;
  margin-top: 3.5rem;
}

.m-project-link__content {
  flex: 1;
  min-width: 0;
}

.m-project-link__img {
  display: none;
}

@media (hover: hover) {
  .m-project-link:hover {
    background-color: #272727;
  }

  .m-project-link:hover::after {
    transform: translateY(-50%) rotate(-90deg) rotateY(360deg);
  }
}

@media screen and (max-width: 1129px) {
  .m-project__container {
    margin-inline: auto;
    width: min-content;
  }

  .m-project-left {
    gap: 4rem;
  }
}

@media screen and (max-width: 767px) {
  .m-project {
    padding-block: 6.5rem;
  }

  .m-project__container {
    gap: 4rem;
    grid-template-columns: 1fr;
    width: unset;
  }

  .m-project-left {
    gap: 5rem;
  }

  .m-project-left__img {
    display: none;
  }

  .m-project-right {
    display: grid;
    gap: 6rem;
  }

  .m-project-link {
    border-bottom: 0.1rem solid rgba(176, 176, 176, 0.5);
    flex-direction: column;
    padding: 2rem 2rem 6.9rem;
  }

  .m-project-link::after {
    bottom: 1.5rem;
    right: 2rem;
    top: unset;
    width: 1.6rem;
  }

  .m-project-link__hdg-box {
    align-items: flex-start;
    flex-direction: column;
    gap: 1.8rem;
    padding-inline: 0;
  }

  .m-project-link__hdg {
    font-size: 2rem;
    letter-spacing: -0.05em;
  }

  .m-project-link__sub-hdg {
    font-size: 1.4rem;
    margin-top: 0;
  }


  .m-project-link__img {
    display: block;
    margin: 2.5rem auto 0;
    width: 54%;
  }

  .m-project-link__img img {
    display: block;
    height: auto;
    width: 100%;
  }

  .m-project-link__txt {
    margin-top: 2rem;
  }

  .m-project-link__hdg-label {
    margin: 1rem 0.5rem 0;
  }
}

/* 働く環境を知る */
.m-environment .m-section-hdg-sub {
  margin-top: 1rem;
}

.m-environment-box {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  margin-top: 6.8rem;
}

.m-environment-item {
  position: relative;
}

.m-environment-item__link {
  background-color: rgba(17, 17, 17,0.9);
  bottom: 0;
  font-size: 1.8rem;
  font-weight: 700;
  height: 10rem;
  justify-content: space-between;
  left: 0;
  line-height: 1.8;
  padding-inline: 3rem;
  position: absolute;
}

.m-environment-img img {
  filter: grayscale(1);
  transition: 0.3s;
}

@media (hover: hover) {
  .m-environment-item:hover .m-environment-item__link::after {
    transform: rotate(-90deg) rotateY(360deg);
  }

  .m-environment-item:hover .m-environment-img img {
    filter: grayscale(0);
  }
}

@media screen and (max-width: 1024px) {
  .m-environment-item__link {
    font-size: 1.5rem;
  }
}

@media screen and (max-width: 767px) {
  .m-environment {
    padding-top: 1.5rem;
  }

  .m-environment-box {
    grid-template-columns: 1fr;
    margin-top: 5.5rem;
  }

  .m-environment-item__link {
    font-size: 1.8rem;
    height: 8.125rem;
  }
}

/* 採用情報・エントリー */
.m-recruit {
  align-items: center;
  border-top: 0.1rem solid var(--color-white);
  display: grid;
  grid-template-columns: 35.4% auto;
  margin-block: 13.8rem -6.2rem;
}

.m-recruit-txtarea {
  padding-block: 12.5rem;
  padding-inline: 13rem max(2rem, calc((100vw - 1200px) / 2));
}

.m-recruit .m-section-hdg-main {
  letter-spacing: 0;
}

.m-recruit  .m-section-hdg-sub {
  font-size: 1.4rem;
  letter-spacing: 0;
  margin-top: 0.5rem;
}

.m-recruit .m-section-link {
  font-size: 1.8rem;
  margin-top: 5.3rem;
  max-width: unset;
  padding-block: 2.4rem;
  width: 100%;
}

.m-recruit .m-section-txt {
  margin-top: 4.2rem;
}

.m-recruit-link-box {
  margin-top: 6rem;
}

.m-recruit-link {
  border-top: 0.1rem solid rgba(176, 176, 176,0.5);
  font-size: 1.5rem;
  font-weight: 700;
  justify-content: space-between;
  line-height: 1.8;
  padding: 2.3rem 3rem;
}

.m-recruit-link:nth-last-child(1) {
  border-bottom: 0.1rem solid rgba(176, 176, 176,0.5);
}

.m-recruit-sub-link-box {
  display: grid;
  gap: 1.5rem;
  margin-top: 5rem;
}

.m-recruit-sub-link {
  color: var(--color-white);
  font-family: "Noto Sans JP", sans-serif;
  font-size: 1.5rem;
  line-height: 1.8;
  text-decoration: underline;
}

@media (hover: hover) {
  .m-recruit-link:hover {
    background-color: #272727;
  }
}

@media screen and (max-width: 1440px) {
  .m-recruit-txtarea {
    padding-block: 8.7vw 10vw;
    padding-inline: 14% 12.9%;
  }
}

@media screen and (max-width: 1024px) {
  .m-recruit-txtarea {
    padding-inline: 4rem 2rem;
  }
}

@media screen and (max-width: 767px) {
  .m-recruit {
    display: flex;
    flex-direction: column-reverse;
    margin-block: 7.8rem -6.2rem;
  }

  .m-recruit-txtarea {
    padding: 6.5rem 3rem 5rem;
  }

  .m-recruit .m-section-hdg-sub {
    margin-top: 1.2rem;
  }

  .m-recruit .m-section-txt {
    margin-top: 4.2rem;
  }

  .m-recruit .m-section-link {
    padding-block: 1.6rem;
  }

  .m-recruit-link {
    padding-block: 1.6rem;
  }
}
