@charset "utf-8";

.p-about-bg {
  background: linear-gradient(180deg, #aacef6 0%, #ffffff 54%, #e1f4ff 100%);
}

.p-about {
  margin-top: 130px;
  overflow: hidden;

  @media (width < 768px) {
    margin-top: 80px;
  }

  .l-inner {
    max-width: 1110px;
    display: flex;
    align-items: start;
    justify-content: space-between;
    gap: 20px;

    @media (width < 768px) {
      flex-direction: column;
      gap: 40px;
    }
  }

  .c-square::before {
    left: -348px;

    @media (width < 768px) {
      left: -270px;
    }
  }

  .c-heading {
    margin-top: 135px;
    min-width: fit-content;

    @media (width < 768px) {
      margin-top: 40px;
    }
  }
}

.p-about__body {
  padding: 195px 0px 168px;
  width: 74%;
  background: transparent url('https://mykako.co.jp/system_panel/uploads/images/logo-l.png') no-repeat center center / 88%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;

  @media (width < 768px) {
    width: 100%;
    padding: 0 0 80px;
    flex-direction: column;
    align-items: start;
    align-self: flex-end;
    gap: 40px;
  }
}

.p-about__main-text {
  margin-bottom: 110px;
  width: fit-content;
  flex-shrink: 0;
  font-weight: 700;
  font-size: 28px;
  line-height: calc(47 / 28);
  color: var(--color-blue);

  @media (width < 768px) {
    margin-bottom: 0;
  }
}

.p-about__text {
  width: 60%;
  display: flex;
  flex-direction: column;
  gap: 30px;
  font-weight: 700;
  line-height: calc(32 / 14);

  @media (width < 768px) {
    width: 100%;
  }
}

.p-about-slides.swiper {
  width: 100%;
  aspect-ratio: 1366/490;
  max-height: 490px;
  min-height: 200px;
  object-fit: cover;

  .swiper-wrapper {
  }

  .swiper-slide {
    object-fit: cover;
    position: relative;
  }

  .swiper-slide.is-zooming {
    animation: fv-zoom 5s linear forwards;
  }
}

@keyframes fv-zoom {
  from {
    transform: scale(1);
  }
  to {
    transform: scale(1.1);
  }
}

.gjs-dashed *[data-highlightable] .p-about-slides.swiper {
  .swiper-wrapper {
    display: flex;
    flex-wrap: wrap;
    margin-left: auto;
  }

  .swiper-slide {
    width: 30%;
  }
}

.p-features-bg {
  background: linear-gradient(180deg, #daecff 0%, #ffffff 54%, #cdedff 100%);
}

.p-features {
  padding-top: 142px;

  @media (width < 768px) {
    padding-top: 80px;
  }
}

.p-features__nav {
  margin: 48px auto 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;

  @media (width < 768px) {
    max-width: 414px;
    display: flex;
    flex-direction: column;
  }
}

.p-features-nav-list {
  width: 100%;
}

.p-features-nav-list__img {
  width: 100%;
  aspect-ratio: 366/210;
  position: relative;

  img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    clip-path: polygon(14% 0, 100% 0, 86% 100%, 0% 100%);
  }
}

.p-features-nav-list__img::before {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  right: -8px;
  bottom: -14px;
  clip-path: polygon(14% 0, 100% 0, 86% 100%, 0% 100%);
}

.p-features-nav-list__link {
  margin-top: 40px;
  padding-bottom: 16px;
  margin-right: 14px;
  padding-right: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid #b1b1b1;
}

.p-features-nav-list__link:hover {
  opacity: 0.7;
}

.p-features-nav-list__column {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.p-features-nav-list__num {
  font-family: var(--font-noto-sans);
  font-weight: 500;
  font-size: 15px;
  line-height: normal;
}

.p-features-nav-list__title {
  font-weight: 700;
  font-size: 20px;
  color: var(--color-gray);
  line-height: 1;
}

.p-features-nav-list__arrow {
  border-radius: 5px;
  width: 22px;
  height: 22px;
  display: flex;
  align-items: center;
  justify-content: center;

  img {
    width: 50%;
    transform: rotate(90deg);
  }
}

.p-features-nav-list--1 {
  .p-features-nav-list__img::before,
  .p-features-nav-list__arrow {
    background: var(--color-blue);
  }

  .p-features-nav-list__num {
    color: var(--color-blue);
  }
}

.p-features-nav-list--2 {
  .p-features-nav-list__img::before,
  .p-features-nav-list__arrow {
    background: #529ecb;
  }

  .p-features-nav-list__num {
    color: #529ecb;
  }
}

.p-features-nav-list--3 {
  .p-features-nav-list__img::before,
  .p-features-nav-list__arrow {
    background: #7ec4d1;
  }

  .p-features-nav-list__num {
    color: #7ec4d1;
  }
}

.p-features__lists {
  margin: 96px auto 0;
  max-width: 1440px;

  @media (width < 768px) {
    margin: 140px auto 0;
  }
}

.p-features-list {
  width: 100%;
  position: relative;
}

.p-features-list__body {
  width: 71%;
  min-height: 761px;
  padding: 20px clamp(130px, calc(244vw / 13.66), 244px) 20px 20px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-white);
  clip-path: polygon(0% clamp(20px, calc(115vw / 13.66), 115px), 100% 0, 100% calc(100% - clamp(20px, calc(115vw / 13.66), 115px)), 0% 100%);

  @media (width < 768px) {
    width: 90%;
    padding: 140px 20px 60px;
    padding: clamp(140px, calc(140vw / 3.75), 230px) 20px 80px;
    min-height: auto;
  }
}

.p-features-list__bg {
  position: absolute;
  z-index: -1;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.p-features-list__body::before {
  content: '';
  position: absolute;
  z-index: 0;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.p-features-list__container {
  position: relative;
  z-index: 1;
}

.p-features-list__head {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.p-features-list__num {
  font-family: var(--font-noto-sans);
  font-size: 17px;
  line-height: normal;
}

.p-features-list__title {
  font-size: 30px;
  font-weight: 700;
  line-height: normal;
}

.p-features-list__text {
  margin-top: 76px;
  margin-left: 50px;
  max-width: 475px;
  display: flex;
  flex-direction: column;
  gap: 35px;
  font-weight: 700;
  line-height: calc(32 / 14);

  @media (width < 768px) {
    margin-top: 40px;
    margin-left: 20px;
  }
}

.p-feature-list__img {
  position: absolute;
  z-index: 1;
  top: 6%;
  right: 0;
  width: 45.5%;
  aspect-ratio: 619/532;
  object-fit: cover;
  clip-path: polygon(0% clamp(20px, calc(86vw / 13.66), 86px), 100% 0, 100% calc(100% - clamp(20px, calc(86vw / 13.66), 86px)), 0% 100%);

  @media (width < 768px) {
    top: -60px;
    width: 60%;
    max-width: 340px;
  }
}

.p-features-list--1 {
  .p-features-list__body::before {
    background: linear-gradient(180deg, #4294e0e6 0%, #00407ee6 100%);
  }
}

.p-features-list--2 {
  margin-top: -76px;

  @media (width < 768px) {
    margin-top: 60px;
  }

  .p-features-list__body {
    margin-left: auto;
    padding: 20px 20px 20px clamp(140px, calc(258vw / 13.66), 258px);

    @media (width < 768px) {
      padding: clamp(160px, calc(160vw / 3.75), 260px) 20px 80px;
    }
  }

  .p-feature-list__img {
    right: auto;
    left: 0;
    top: 23%;

    @media (width < 768px) {
      top: -5%;
    }
  }

  .p-features-list__body::before {
    background: linear-gradient(180deg, #68bdf0e6 0%, #09679fe6 100%);
  }
}

.p-features-list--3 {
  margin-top: 6px;

  @media (width < 768px) {
    margin-top: 60px;
  }

  .p-features-list__body::before {
    background: linear-gradient(180deg, #7ec4d1e6 0%, #3da4b7e6 100%);
  }
}

.p-service {
  padding: 130px 0 360px;
}

.p-service__head {
}

.p-service__container {
  margin-top: 46px;
}

.p-service__cards {
  border-bottom: 1px solid #b1b1b1;
  display: flex;
  justify-content: center;
  padding: 39px 0;

  @media (width < 768px) {
    flex-direction: column;
    padding: 0;
  }
}

.p-service__cards:first-of-type {
  border-top: 1px solid #b1b1b1;
}

.p-service-card {
  width: 50%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;

  @media (width < 768px) {
    width: 100%;
    padding: 39px 0;
  }
}

.p-service-card:first-of-type {
  padding-right: 50px;

  @media (width < 1120px) {
    padding-right: 20px;
  }

  @media (width < 768px) {
    padding-right: 0;
  }
}

.p-service-card:last-of-type {
  padding-left: 50px;
  border-left: 1px solid #b1b1b1;

  @media (width < 1120px) {
    padding-left: 20px;
  }

  @media (width < 768px) {
    border-top: 1px solid #b1b1b1;
    border-left: none;
    padding-left: 0;
  }
}

.p-service-card__img {
  width: 33%;
  border-radius: 5px;
  aspect-ratio: 1;
  object-fit: cover;
}

.p-service-card__body {
  width: 60%;
}

.p-service-card__num {
  font-family: var(--font-noto-sans);
  font-weight: 600;
  color: var(--color-blue);
  font-size: 15px;
  line-height: normal;
}

.p-service-card__title {
  margin-top: 10px;
  font-weight: 700;
  font-size: 20px;
  line-height: 1;
}

.p-service-card__text {
  margin-top: 24px;
  font-weight: 500;
  line-height: 2;
}
