@import url("https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@100..900&display=swap");
.p-top-visual {
  position: relative;
}
@media (max-width: 767px) {
  .p-top-visual {
    margin-top: 20px;
  }
}
.p-top-visual__pic {
  margin-top: 30px;
  height: 1037px;
  position: relative;
  width: 100%;
}
@media (max-width: 767px) {
  .p-top-visual__pic {
    margin-top: 70px;
    height: 279px;
  }
}
.p-top-visual__pic::before {
  content: "";
  display: block;
  background: url(../img/main-visual.jpg) center center no-repeat;
  background-size: 2805.5px 1037px;
  position: absolute;
  width: 2805.5px;
  height: 1037px;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%) scale(1) rotate(0deg);
}
@media (max-width: 767px) {
  .p-top-visual__pic::before {
    width: 755.01px;
    height: 279px;
    background: url(../img/main-visual.jpg) center center no-repeat;
    background-size: 755.01px 279px;
  }
}
@keyframes bigbang {
  0% {
    transform: translate(-50%, -50%) scale(0) rotate(0deg);
    opacity: 0;
  }
  60% {
    transform: translate(-50%, -50%) scale(1) rotate(0deg);
    opacity: 1;
  }
  80% {
    transform: translate(-50%, -50%) scale(1) rotate(0deg);
  }
  100% {
    transform: translate(-50%, -50%) scale(1) rotate(0deg);
    opacity: 1;
  }
}
.p-top-visual__inner {
  z-index: 5;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  top: 0;
  width: 100%;
  height: 100%;
  padding-top: 40px;
  max-width: 1120px;
}
@media (max-width: 767px) {
  .p-top-visual__inner {
    padding-top: 0;
  }
}
.p-top-visual__title {
  text-align: center;
  font-weight: 900;
  font-size: 5.6rem;
  letter-spacing: 2%;
  margin-top: 0;
}
@media (max-width: 767px) {
  .p-top-visual__title {
    font-size: 2rem;
    margin-top: -5px;
  }
}
.p-top-visual__news {
  position: absolute;
  left: 0;
  bottom: 142px;
}
@media (max-width: 767px) {
  .p-top-visual__news {
    bottom: -50px;
    left: 50%;
    transform: translateX(-50%) !important;
  }
}
@media (min-width: 768px) and (max-width: 1200px) {
  .p-top-visual__news {
    left: 40px;
    right: 40px;
  }
}
.p-top-visual__news a {
  min-width: 624px;
  border: 3px solid #00296d;
  border-radius: 9999px;
  display: block;
  background: #f6efc5;
  position: relative;
  padding: 18px;
  padding-left: 66px;
  padding-right: 50px;
  text-decoration: none;
  font-weight: 500;
  font-size: 1.6rem;
  letter-spacing: 2%;
  transition: 0.3s ease;
}
@media (max-width: 767px) {
  .p-top-visual__news a {
    min-width: 317px;
    font-size: 1.2rem;
    padding: 5px;
    padding-left: 48px;
    padding-right: 40px;
  }
}
.p-top-visual__news a:before {
  content: "";
  position: absolute;
  left: 10px;
  top: 50%;
  margin-top: -20px;
  background: url(../img/p-top-visual-news.svg) 0 0 no-repeat;
  background-size: contain;
  width: 40px;
  height: 40px;
}
@media (max-width: 767px) {
  .p-top-visual__news a:before {
    width: 30px;
    height: 30px;
    margin-top: -15px;
  }
}
.p-top-visual__news a:after {
  content: "";
  position: absolute;
  right: 10px;
  top: 50%;
  background: url(../img/angle-right-blue.png) 0 0 no-repeat;
  background-size: contain;
  width: 4.5px;
  height: 6.5px;
  margin-top: -3.25px;
}
.p-top-visual__news a time {
  font-size: 1.2rem;
  letter-spacing: 2%;
  margin-right: 15px;
}
@media (max-width: 767px) {
  .p-top-visual__news a time {
    display: block;
    font-size: 1rem;
  }
}
.p-top-visual__news a:hover {
  background: #eff6fb;
  text-decoration: none;
}

/*
ABOUT
*/
.p-top-about {
  position: relative;
  margin-bottom: -150px;
}
@media (max-width: 767px) {
  .p-top-about {
    margin-top: 110px;
    margin-bottom: 80px;
  }
}
.p-top-about__grid {
  display: flex;
  justify-content: space-between;
}
@media (max-width: 767px) {
  .p-top-about__grid {
    display: block;
  }
}
.p-top-about__pics {
  order: 2;
  display: flex;
  flex: 1;
  box-sizing: border-box;
  position: relative;
  left: 0px;
  padding-left: 50px;
}
@media (max-width: 767px) {
  .p-top-about__pics {
    margin-top: 0;
    left: 0;
    margin-left: -29px;
    margin-right: -29px;
    padding-left: 0;
  }
}
.p-top-about__pics-item-all {
  max-width: 804px;
  position: relative;
  z-index: 3;
}
@media (min-width: 768px) {
  .p-top-about__pics-item-all {
    min-width: 477px;
  }
}
.p-top-about__pics-item {
  width: clamp(100px, 24vw, 374.5px);
}
.p-top-about__pics-item:nth-child(1) {
  position: relative;
  z-index: 3;
}
.p-top-about__pics-item:nth-child(2) {
  margin-top: 10%;
  margin-left: -10%;
  z-index: 2;
}
@media (max-width: 767px) {
  .p-top-about__pics-item:nth-child(2) {
    margin-top: 0;
    margin-left: 0;
    margin-top: -10px;
  }
}
.p-top-about__pics-item:nth-child(3) {
  margin-top: -10%;
  margin-left: -10%;
}
@media (max-width: 767px) {
  .p-top-about__pics-item:nth-child(3) {
    margin: 0;
    margin-left: 0;
    margin-top: -18px;
  }
}
.p-top-about__pics img {
  clip-path: polygon(0 4%, 100% 0, 100% 96%, 0% 100%);
  flex: 0 0 auto;
}
.p-top-about__content {
  order: 1;
  width: 596px;
  padding-bottom: 150px;
}
@media (max-width: 767px) {
  .p-top-about__content {
    width: 100%;
    padding-bottom: 0;
  }
}
.p-top-about__content > p.c-lead {
  max-width: 516px;
}
@media (max-width: 767px) {
  .p-top-about__content > p.c-lead {
    font-size: 1.4rem;
    font-weight: normal;
  }
}
.p-top-about__us {
  max-width: 346px;
  margin-left: 70px;
  display: block;
  margin-top: 38px;
}
@media (max-width: 767px) {
  .p-top-about__us {
    max-width: 237px;
    margin-left: auto;
    margin-right: auto;
    margin-top: 15px;
  }
}
.p-top-about__head {
  display: flex;
  align-items: center;
}
.p-top-about__head .c-title-2-caption {
  margin-block-start: 0;
}
.p-top-about__head .c-btn {
  margin-left: 35px;
}
@media (max-width: 767px) {
  .p-top-about__head {
    margin-top: 45px;
    justify-content: space-between;
  }
}

.p-top-service {
  position: relative;
  z-index: 0;
}
.p-top-service__header {
  position: relative;
  padding-top: 0px;
  padding-bottom: 50px;
}
@media (min-width: 768px) {
  .p-top-service__header .l-content {
    padding-top: 100px;
  }
}
@media (max-width: 767px) {
  .p-top-service__header {
    padding-top: 25px;
  }
}
.p-top-service__head {
  display: flex;
  align-items: center;
}
.p-top-service__head .c-title-2-caption {
  margin-block-start: 0;
}
.p-top-service__head .c-btn {
  margin-left: 35px;
}
@media (max-width: 767px) {
  .p-top-service .c-lead {
    font-size: 1.4rem;
    font-weight: normal;
    letter-spacing: normal;
  }
}

.p-service-cards {
  position: relative;
  padding-top: 50px;
}
@media (min-width: 768px) {
  .p-service-cards {
    margin-top: -70px;
  }
}
@media (max-width: 767px) {
  .p-service-cards {
    padding-top: 0;
  }
}

.p-service-card {
  position: relative;
  padding-bottom: 30px;
}
@media (max-width: 767px) {
  .p-service-card {
    padding-bottom: 1px;
    margin-bottom: 50px;
  }
}
.p-service-card .l-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
@media (min-width: 768px) {
  .p-service-card .l-content {
    padding-top: 50px;
    padding-bottom: 50px;
  }
}
@media (max-width: 767px) {
  .p-service-card .l-content {
    display: block;
  }
}
.p-service-card__pic {
  order: 2;
  border-radius: 10px;
  overflow: hidden;
}
@media (max-width: 767px) {
  .p-service-card__pic > img {
    border-radius: 10px;
  }
}
@media (max-width: 767px) {
  .p-service-card__pic {
    padding-top: 34px;
    overflow: auto;
    width: 100%;
  }
}
.p-service-card__content {
  order: 1;
  width: 657px;
  padding-right: 100px;
}
@media (max-width: 767px) {
  .p-service-card__content {
    padding-right: 0;
    width: 100%;
  }
}
.p-service-card__content .c-text {
  margin-bottom: 40px;
}
@media (max-width: 767px) {
  .p-service-card__content .c-text {
    margin-top: 0;
    margin-bottom: 20px;
  }
}
.p-service-card--2 {
  background: #00296d;
  padding: 74px 0;
}
.p-service-card--reverse .p-service-card__pic {
  order: 1;
}
.p-service-card--reverse .p-service-card__content {
  order: 2;
  padding-right: 0px;
}
@media (min-width: 768px) {
  .p-service-card--reverse .p-service-card__content {
    padding-left: 100px;
  }
}
.p-service-card__header {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: flex-start;
  margin-top: 30px;
}
@media (max-width: 767px) {
  .p-service-card__header {
    justify-content: space-between;
    margin-top: 0;
  }
}
.p-service-card__en {
  font-size: 5rem;
  font-weight: bold;
  line-height: 1.1em;
  letter-spacing: 1%;
}
.p-service-card__en::first-letter {
  font-size: 7.5rem;
}
@media (max-width: 767px) {
  .p-service-card__en::first-letter {
    font-size: 3rem;
  }
}
@media (max-width: 767px) {
  .p-service-card__en {
    font-size: 2.5rem;
  }
}
.p-service-card__picto {
  margin-left: 20px;
}
@media (max-width: 767px) {
  .p-service-card__picto {
    margin-left: 0;
    width: 40%;
  }
}
.p-service-card__title {
  width: 100%;
  margin-bottom: 30px;
  font-size: 1.8rem;
  letter-spacing: 2%;
  line-height: 1.4444em;
}
@media (max-width: 767px) {
  .p-service-card__title {
    font-size: 1.4rem;
  }
}
@media (max-width: 767px) {
  .p-service-card__btns {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-gap: 5px;
  }
}
.p-service-card__btns .c-btn {
  margin-right: 19px;
}
@media (max-width: 767px) {
  .p-service-card__btns .c-btn {
    margin-right: 0px;
  }
}
.p-service-card .c-btn-text {
  margin-top: 45px;
}
@media (max-width: 767px) {
  .p-service-card .c-btn-text {
    margin-top: 25px;
  }
}

/*
QUALITY
*/
.p-top-qua {
  position: relative;
  padding-top: 175px;
  padding-bottom: 100px;
}
@media (max-width: 767px) {
  .p-top-qua {
    padding-top: 75px;
    padding-bottom: 70px;
  }
}
.p-top-qua__header {
  display: flex;
  justify-content: space-between;
}
.p-top-qua__header .c-lead {
  max-width: 770px;
}
.p-top-qua__header-pic {
  width: 267px;
}
@media (max-width: 767px) {
  .p-top-qua__header-pic {
    display: none;
  }
}
.p-top-qua__head {
  display: flex;
  align-items: center;
}
.p-top-qua__head .c-title-2-caption {
  margin-block-start: 0;
}
.p-top-qua__head .c-btn {
  margin-left: 35px;
}
@media (max-width: 767px) {
  .p-top-qua__head {
    justify-content: space-between;
  }
  .p-top-qua__head .c-btn {
    margin-left: 0px;
  }
}
.p-top-qua__content {
  margin-top: 20px;
  padding-top: 1px;
}
@media (min-width: 768px) {
  .p-top-qua__content .c-card:nth-child(1) {
    margin-top: 60px;
  }
}
@media (max-width: 767px) {
  .p-top-qua__content .c-card:nth-child(1) {
    margin-top: 30px;
  }
}
@media (min-width: 768px) {
  .p-top-qua__content .c-card:nth-child(2) {
    margin-top: 30px;
  }
}
@media (max-width: 767px) {
  .p-top-qua .c-lead {
    font-size: 1.4rem;
    font-weight: normal;
    letter-spacing: normal;
  }
}

/*
RECRUIT
*/
.p-top-recruit {
  position: relative;
  padding: 70px 0;
}
.p-top-recruit::before {
  content: "";
  position: absolute;
  left: -10vw;
  top: 0;
  width: 120vw;
  height: 100%;
  background: url(../img/p-top-recruit-bg.jpg) center/cover no-repeat;
  transform: rotate(-4deg);
  transform-origin: center;
  z-index: 0;
  pointer-events: none;
}
.p-top-recruit::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0px;
  width: 100vw;
  height: 8px;
  background: #00296d;
  transform: rotate(-4deg) translate(-100px);
  transform-origin: center;
  z-index: 2;
}
@media (max-width: 767px) {
  .p-top-recruit::after {
    height: 3px;
    transform: rotate(-4deg) translate(-29px);
  }
}
.p-top-recruit .l-content {
  position: relative;
  z-index: 1;
}
.p-top-recruit__head {
  display: flex;
  align-items: center;
}
@media (max-width: 767px) {
  .p-top-recruit__head {
    justify-content: space-between;
  }
}
.p-top-recruit__head .c-title-2-caption {
  margin-block-start: 0;
}
.p-top-recruit__head .c-btn {
  margin-left: 35px;
}
@media (max-width: 767px) {
  .p-top-recruit__head .c-btn {
    margin-left: 0;
  }
}
.p-top-recruit__grid {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
@media (max-width: 767px) {
  .p-top-recruit__grid {
    display: block;
  }
}
.p-top-recruit__content {
  position: relative;
  z-index: 2;
}
.p-top-recruit__content .c-lead {
  max-width: 478px;
}
@media (max-width: 767px) {
  .p-top-recruit__content .c-lead {
    font-size: 1.4rem;
    font-weight: normal;
    letter-spacing: normal;
  }
}
.p-top-recruit__title {
  font-weight: 900;
  font-size: 4rem;
  line-height: 1.375em;
  letter-spacing: 2%;
  margin-bottom: 33px;
}
@media (max-width: 767px) {
  .p-top-recruit__title {
    font-size: 2.8rem;
    margin-bottom: 22px;
  }
}
.p-top-recruit__pic {
  position: relative;
  margin-left: -70px;
  margin-bottom: -100px;
}
@media (max-width: 767px) {
  .p-top-recruit__pic {
    margin-left: 0;
  }
}

/*
NEWS
*/
.p-top-news {
  position: relative;
  padding: 70px 0;
}
@media (max-width: 767px) {
  .p-top-news {
    padding-bottom: 100px;
  }
}
.p-top-news .l-content {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding-top: 50px;
  padding-bottom: 50px;
}
@media (max-width: 767px) {
  .p-top-news .l-content {
    display: block;
    padding-top: 0;
    padding-bottom: 0;
  }
}
.p-top-news__header {
  width: 260px;
}
.p-top-news__header .c-title-2-caption {
  margin-block-start: 0;
}
.p-top-news__content {
  flex: 0 0 781px;
}
