/* p-mv
---------------------------------------------------------------------------- */
.p-mv {
  width: 100%;
  height: 43.2291666667vw;
  position: relative;
}

.p-mv-swiper-container {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.p-mv-swiper-bg {
  width: 100%;
  height: 100%;
  position: relative;
  z-index: -1;
}
.p-mv-swiper-bg .swiper-slide-img {
  width: 100%;
  height: 100%;
}
.p-mv-swiper-bg .swiper-slide-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.p-mv-wrapper {
  width: 100%;
  max-width: 77.6041666667vw;
  margin-inline: auto;
  padding-top: 11.875vw;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0 4.1666666667vw;
  position: relative;
  z-index: 1;
}

.p-mv-swiper-txt {
  width: 100%;
}

.p-mv-wrap {
  padding-top: 2rem;
  width: 100%;
}

.p-mv-wrap-read {
  display: inline-block;
  font-size: 2.4rem;
  line-height: 1.5;
  letter-spacing: 0.08em;
  font-weight: 700;
  font-size: 1.25vw;
  color: #fff;
  padding-block: 0.46875vw;
  padding-inline: 0.78125vw 5.9895833333vw;
  width: fit-content;
  position: relative;
}
.p-mv-wrap-read span {
  font-size: 1.4583333333vw;
}

.p-mv-wrap-read::before,
.p-mv-wrap-read::after {
  content: "";
  position: absolute;
}

.p-mv-wrap-read::before {
  bottom: 0;
  right: 1.5625vw;
  width: 3.90625vw;
  aspect-ratio: 1/1;
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
  background-image: url(./../../images/ywrks/icn_mv_read.png);
}

.p-mv-wrap-read::after {
  top: 0;
  left: 0;
  z-index: -1;
  width: 100%;
  height: 100%;
  background-color: #2E58B7;
  clip-path: polygon(0 0, 100% 0%, calc(100% - 1.0416666667vw) 100%, 0% 100%);
}

.p-mv-wrap-ttl {
  display: flex;
  flex-direction: column;
  gap: 0.625vw;
  margin-top: 1.5625vw;
  font-size: 5.3rem;
  line-height: 1.5;
  letter-spacing: 0.08em;
  font-weight: 900;
  font-size: 2.7604166667vw;
  color: #142F7D;
  opacity: 0;
  visibility: hidden;
}

.p-mv-wrap-ttl span {
  width: fit-content;
  padding-block: 0.2604166667vw;
  padding-inline: 0.8854166667vw;
  position: relative;
  background-color: transparent;
  animation-name: showBackground;
  --duration: 1s;
  --timing: cubic-bezier(0, 0, 0.2, 1);
  animation: showBackground var(--duration) var(--timing) 2s both;
}
.p-mv-wrap-ttl span._pcdc {
  display: contents;
}

.p-mv-wrap-ttl.text-animation span {
  background-color: #fff;
  clip-path: inset(0 100% 0 0);
  animation: clip-text var(--duration) var(--timing) forwards;
}

.p-mv-wrap-ttl.text-animation span::after {
  content: "";
  position: absolute;
  z-index: 10;
  inset: 0;
  background-color: #fff;
  transform: scaleX(0);
  transform-origin: left;
  animation: text-revealer 1.2s var(--timing) forwards;
}

@keyframes showBackground {
  to {
    background-color: #fff;
  }
}
@keyframes clip-text {
  to {
    clip-path: inset(0);
  }
}
@keyframes text-revealer {
  50% {
    transform: scaleX(1);
    transform-origin: left;
  }
  51% {
    transform-origin: right;
  }
  100% {
    transform: scaleX(0);
    transform-origin: right;
  }
}
@media screen and (max-width: 767px) {
  .p-mv {
    height: 133.3333333333vw;
  }
  .p-mv-wrapper {
    max-width: initial;
    padding-top: 7.4666666667vw;
    padding-inline: 5.3333333333vw;
    flex-direction: column;
    gap: 5.3333333333vw;
  }
  .p-mv-wrap {
    padding-top: 34.9333333333vw;
    margin-bottom: initial;
  }
  .p-mv-wrap-read {
    font-size: 3.4666666667vw;
    padding-block: 1.3333333333vw;
    padding-inline: 2.1333333333vw 13.3333333333vw;
  }
  .p-mv-wrap-read span {
    font-size: 4vw;
  }
  .p-mv-wrap-read::before {
    right: 2.6666666667vw;
    width: 10.1333333333vw;
  }
  .p-mv-wrap-read::after {
    clip-path: polygon(0 0, 100% 0%, calc(100% - 2.6666666667vw) 100%, 0% 100%);
  }
  .p-mv-wrap-ttl {
    gap: 1.3333333333vw;
    margin-top: 2.6666666667vw;
    font-size: 5.3333333333vw;
  }
  .p-mv-wrap-ttl span {
    padding-block: 0.8vw;
    padding-inline: 1.6vw;
    --duration: 0.8s;
  }
  .p-mv-wrap-ttl span._pcdc {
    display: inline;
  }
  .p-mv-wrap-ttl span._spdc {
    display: contents;
  }
  .p-mv-wrap-ttl span._spdc::after {
    content: none;
  }
  .p-mv-wrap-ttl.text-animation span::after {
    animation: text-revealer 1s var(--timing) forwards;
  }
  .p-mv-wrap-ttl .fzColor {
    font-size: 4.2666666667vw;
  }
  .p-mv-wrap-ttl .mt {
    margin-top: 1.6vw;
  }
}
/* swiper
---------------------------------------------------------------------------- */
.swiper-horizontal > .swiper-pagination-bullets, .swiper-pagination-bullets.swiper-pagination-horizontal, .swiper-pagination-custom, .swiper-pagination-fraction {
  bottom: 3.125vw;
  left: 12.8125vw;
  width: fit-content;
}

.swiper-horizontal > .swiper-pagination-bullets .swiper-pagination-bullet, .swiper-pagination-horizontal.swiper-pagination-bullets .swiper-pagination-bullet {
  width: 0.625vw;
  height: 0.625vw;
  background-color: #fff;
  margin-inline: 0.5208333333vw;
}

.swiper-button-next,
.swiper-button-prev {
  top: initial;
  bottom: 2.6041666667vw;
  margin: initial;
  width: 1.728125vw;
  height: 1.728125vw;
  border: 0.1041666667vw solid #fff;
  border-radius: 50%;
}

.swiper-button-next {
  right: initial;
  left: 16.71875vw;
}

.swiper-button-prev {
  left: 10.5208333333vw;
}

.swiper-button-next::after,
.swiper-button-prev::after {
  width: 0.4166666667vw;
  height: 0.4166666667vw;
}

.swiper-button-next::after {
  border-top: 0.1041666667vw solid #fff;
  border-right: 0.1041666667vw solid #fff;
  transform: rotate(45deg);
  translate: -0.078125vw;
}

.swiper-button-prev::after {
  border-left: 0.1041666667vw solid #fff;
  border-bottom: 0.1041666667vw solid #fff;
  transform: rotate(45deg);
  translate: 0.078125vw;
}

@media screen and (max-width: 767px) {
  .swiper-horizontal > .swiper-pagination-bullets, .swiper-pagination-bullets.swiper-pagination-horizontal, .swiper-pagination-custom, .swiper-pagination-fraction {
    bottom: 10.6666666667vw;
    left: 50%;
    transform: translateX(-50%);
  }
  .swiper-horizontal > .swiper-pagination-bullets .swiper-pagination-bullet, .swiper-pagination-horizontal.swiper-pagination-bullets .swiper-pagination-bullet {
    width: 3.2vw;
    height: 3.2vw;
    margin-inline: 2.6666666667vw;
  }
  .swiper-button-next,
  .swiper-button-prev {
    bottom: 8vw;
    width: 8.5333333333vw;
    height: 8.5333333333vw;
    border-width: 0.5333333333vw;
  }
  .swiper-button-next {
    left: initial;
    right: calc(50% - 19.7333333333vw);
  }
  .swiper-button-prev {
    left: calc(50% - 19.7333333333vw);
  }
  .swiper-button-next::after,
  .swiper-button-prev::after {
    width: 2.1333333333vw;
    height: 2.1333333333vw;
  }
  .swiper-button-next::after,
  .swiper-button-prev::after {
    border-width: 0.5333333333vw;
  }
  .swiper-button-next::after {
    translate: -0.5333333333vw;
  }
  .swiper-button-prev::after {
    translate: 0.5333333333vw;
  }
}
/* p-news
---------------------------------------------------------------------------- */
.p-news {
  padding-block: 8rem;
}

@media screen and (max-width: 767px) {
  .p-news {
    padding-block: 13.3333333333vw;
  }
}
/* p-corporate
---------------------------------------------------------------------------- */
.p-corporate {
  padding-block: 8rem;
  padding-inline: 4rem 8rem;
  position: relative;
}

.p-corporate::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  z-index: -1;
  width: calc(50% + 31.25vw);
  height: 100%;
  background-position: right center;
  background-repeat: no-repeat;
  background-size: cover;
  background-image: url(./../../images/ywrks/bg_corporate_pc.png);
}

.p-corporate-wrapper {
  display: flex;
  align-items: center;
  gap: 0 5.2083333333vw;
  padding-left: 2rem;
}

.p-corporate-img {
  flex-shrink: 0;
  width: 56rem;
  aspect-ratio: 560/420;
}
.p-corporate-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.p-corporate-wrap {
  width: 66rem;
}

.p-corporate-wrap-txt {
  font-size: 1.8rem;
  line-height: 1.8;
  letter-spacing: 0.06em;
  font-weight: 500;
  color: #242E44;
  margin-top: 3rem;
}

.p-corporate-wrap-button {
  width: 24rem;
  margin-top: 4rem;
}

@media screen and (max-width: 767px) {
  .p-corporate {
    padding-block: 14.1333333333vw 13.3333333333vw;
    padding-inline: initial;
  }
  .p-corporate::after {
    width: 100%;
    background-image: url(./../../images/ywrks/bg_corporate_sp.png);
  }
  .p-corporate-wrapper {
    flex-direction: column;
    align-items: initial;
    gap: initial;
    padding-left: initial;
  }
  .p-corporate-img {
    width: 78.6666666667vw;
    margin-top: 6.6666666667vw;
    margin-inline: auto;
  }
  .p-corporate-wrap {
    display: contents;
  }
  .p-corporate-ttl {
    order: -1;
  }
  .p-corporate-wrap-txt {
    font-size: 4.2666666667vw;
    line-height: 1.8125;
    margin-top: 7.4666666667vw;
  }
  .p-corporate-wrap-button {
    width: 100%;
    margin-top: 7.4666666667vw;
  }
}
/* p-service
---------------------------------------------------------------------------- */
.p-service {
  padding-inline: 2rem;
  margin-top: 10rem;
}

.p-service-container {
  padding-block: 8.7rem 8rem;
  padding-inline: 4rem;
  position: relative;
}

.p-service-container::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  background-image: url(./../../images/ywrks/bg_service_pc.png);
  border-radius: 2rem;
}

.p-service-inner {
  width: 100%;
  max-width: 120rem;
  margin-inline: auto;
}

.p-service-items {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 6rem 8rem;
  margin-top: 5rem;
}

.p-service-item-link {
  display: block;
  position: relative;
}

.p-service-item-ttl {
  position: absolute;
  bottom: 3rem;
  left: 0;
  padding-block: 2.1rem 2.2rem;
  padding-inline: 3.3rem;
  background-color: #fff;
  color: #073190;
  border-left: 0.7rem solid currentColor;
}

.p-service-item-ttl span {
  display: inline-block;
  font-size: 3rem;
  line-height: 1;
  letter-spacing: 0.06em;
  font-weight: 700;
  padding-right: 3.9rem;
  position: relative;
}

.p-service-item-ttl span::before,
.p-service-item-ttl span::after {
  content: "";
  position: absolute;
  top: 55%;
  transform: translateY(-50%);
}

.p-service-item-ttl span::before {
  right: 0.9rem;
  z-index: 1;
  width: 0.6rem;
  aspect-ratio: 1/1;
  border-top: 0.2rem solid #fff;
  border-right: 0.2rem solid #fff;
  transform: translateY(-50%) rotate(45deg);
}

.p-service-item-ttl span::after {
  right: 0;
  width: 2.4rem;
  aspect-ratio: 1/1;
  border-radius: 50%;
  background-color: currentColor;
}

.p-service-item-img {
  width: 48rem;
  aspect-ratio: 480/361;
  margin-left: auto;
}
.p-service-item-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.p-service-button {
  width: 24rem;
  margin-top: 6rem;
  margin-inline: auto;
}

@media screen and (max-width: 767px) {
  .p-service {
    padding-inline: initial;
    margin-top: 13.3333333333vw;
  }
  .p-service-container {
    padding-block: 10.6666666667vw;
    padding-inline: 5.3333333333vw;
  }
  .p-service-container::after {
    background-image: url(./../../images/ywrks/bg_service_sp.png);
    border-radius: 5.3333333333vw;
  }
  .p-service-inner {
    max-width: initial;
  }
  .p-service-items {
    grid-template-columns: 1fr;
    gap: 6.4vw;
    margin-top: 8vw;
  }
  .p-service-item-ttl {
    bottom: 8vw;
    padding-block: 4vw;
    padding-inline: 4.2666666667vw 5.3333333333vw;
    border-width: 1.3333333333vw;
  }
  .p-service-item-ttl span {
    font-size: 5.3333333333vw;
    line-height: 1.35;
    padding-right: 14.9333333333vw;
  }
  .p-service-item-ttl span::before,
  .p-service-item-ttl span::after {
    top: 50%;
  }
  .p-service-item-ttl span::before {
    right: 2.9333333333vw;
    width: 1.3333333333vw;
    border-width: 0.5333333333vw;
  }
  .p-service-item-ttl span::after {
    width: 6.9333333333vw;
  }
  .p-service-item-img {
    width: 73.3333333333vw;
    aspect-ratio: 275/207;
  }
  .p-service-button {
    width: 64vw;
    margin-top: 8vw;
  }
}
/* p-recruit
---------------------------------------------------------------------------- */
.p-recruit {
  margin-block: 10rem;
}

.p-recruit-container {
  display: block;
  padding-block: 8.5rem;
  padding-inline: 15rem;
  position: relative;
}

.p-recruit-container::before,
.p-recruit-container::after {
  content: "";
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  box-sizing: border-box;
  border-radius: 2rem;
}

.p-recruit-container::before {
  border: 0.5rem solid #073190;
}

.p-recruit-container::after {
  z-index: -1;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  background-image: url(./../../images/ywrks/bg_recruit_pc.png);
}

.p-recruit-wrap {
  display: flex;
  flex-direction: column;
  gap: 5rem;
}

.p-recruit-wrap-button-wrap {
  width: 24rem;
}

.p-recruit-wrap-button {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  font-size: 1.6rem;
  line-height: 1.6875;
  letter-spacing: 0.06em;
  font-weight: 700;
  color: #fff;
  padding-block: 1.7rem 1.9rem;
  padding-inline: 3rem 2rem;
  background-color: var(--col-main);
  border: 1px solid var(--col-main);
  border-radius: 0.5rem;
  overflow: hidden;
  position: relative;
  transition: color 0.5s ease;
}

.p-recruit-wrap-button span {
  position: relative;
}

.p-recruit-wrap-button::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  display: block;
  width: 100%;
  height: 100%;
  background-color: #fff;
  transform: scaleX(0);
  transform-origin: right;
  transition: all 0.5s ease;
  transition-property: transform;
}

.p-recruit-wrap-button::after {
  content: "";
  width: 0.8rem;
  height: 0.8rem;
  border-top: 0.2rem solid currentColor;
  border-right: 0.2rem solid currentColor;
  rotate: 45deg;
}

@media (any-hover: hover) {
  .p-recruit-container:hover .p-recruit-wrap-button {
    color: var(--col-main);
  }
  .p-recruit-container:hover .p-recruit-wrap-button::before {
    transform: scaleX(1);
    transform-origin: left;
  }
}
@media screen and (max-width: 767px) {
  .p-recruit {
    margin-block: 13.3333333333vw;
  }
  .p-recruit-container {
    padding-block: 12.8vw 74.6666666667vw;
    padding-inline: 5.3333333333vw;
  }
  .p-recruit-container::before,
  .p-recruit-container::after {
    border-radius: 4vw;
  }
  .p-recruit-container::before {
    border-width: 0.8vw;
  }
  .p-recruit-container::after {
    background-image: url(./../../images/ywrks/bg_recruit_sp.png);
  }
  .p-recruit-wrap {
    gap: 6.1333333333vw;
    align-items: center;
  }
  .p-recruit-wrap-button-wrap {
    width: 64vw;
  }
  .p-recruit-wrap-button {
    font-size: 4.2666666667vw;
    padding-block: 4vw 4.5333333333vw;
    padding-inline: 8vw 5.3333333333vw;
    border-radius: 1.3333333333vw;
  }
  .p-recruit-wrap-button::after {
    width: 2.1333333333vw;
    height: 2.1333333333vw;
    border-top: 0.5333333333vw solid currentColor;
    border-right: 0.5333333333vw solid currentColor;
  }
}
