@charset "UTF-8";

:root {
  --pink: #E51E83;
  --navy: #072E87;
  --blue: #64C3DE;
  --black: #061C2B;
  --gray: #F3F4F5;
}

* {
  box-sizing: border-box;
}

html {
  font-size: 2.6667vw;
}

@media screen and (min-width: 769px) {
  html {
    font-size: clamp(8.125px, 0.6944vw, 10px);
  }
}

body {
  font-family: "Oswald", "Noto Sans JP", sans-serif;
  font-size: 1.4rem;
  font-feature-settings: "palt";
  -webkit-font-smoothing: antialiased;
  word-break: normal;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

@media screen and (min-width: 769px) {
  body {
    font-size: 1.6rem;
  }
}

img {
  max-width: 100%;
  height: auto;
}

.siteWrap {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -webkit-flex-direction: column;
  -ms-flex-direction: column;
  flex-direction: column;
  min-height: 100vh
}

main {
  -webkit-box-flex: 1;
  -webkit-flex: 1;
  -ms-flex: 1;
  flex: 1;
  overflow: hidden
}

.c-section {
  padding: 5rem 0 3rem;
}

@media screen and (min-width: 769px) {
  .c-section {
    padding: 9rem 0 7rem;
  }
}

.c-wrap-1200 {
  width: min(100%, 126.4rem);
  padding: 0 1.6rem;
  margin-inline: auto
}

@media screen and (min-width: 769px) {
  .c-wrap-1200 {
    padding: 0 3.2rem
  }
}

.js-fadeup {
  opacity: 0;
  transform: translateY(3rem);
}

.js-fadeup.is-active {
  animation: fadeup 0.8s ease-out forwards;
}

@media screen and (max-width: 768px) {
  .js-fadeslide {
    opacity: 0;
    transform: translateY(-3rem);
  }
}

@media screen and (min-width: 769px) {
  .js-fadeslide {
    opacity: 0;
    transform: translateX(-3rem);
  }
}

.js-fadeslide.is-active {
  animation: fadeslide 0.8s ease-out forwards;
}

@keyframes fadeup {
  0% {
    transform: translateY(3rem);
    opacity: 0;
  }
  80% {
    opacity: 1;
  }
  100% {
    transform: translateY(0);
    opacity: 1;
  }
}

@media screen and (max-width: 768px) {
  @keyframes fadeslide {
    0% {
      transform: translateY(-3rem);
      opacity: 0;
    }
    80% {
      opacity: 1;
    }
    100% {
      transform: translateY(0);
      opacity: 1;
    }
  }
}

@media screen and (min-width: 769px) {
  @keyframes fadeslide {
    0% {
      transform: translateX(-3rem);
      opacity: 0;
    }
    80% {
      opacity: 1;
    }
    100% {
      transform: translateX(0);
      opacity: 1;
    }
  }
}


.delay03 {
  transition-delay: 0.3s !important;
  animation-delay: 0.3s !important;
}

.delay04 {
  transition-delay: 0.4s !important;
  animation-delay: 0.4s !important;
}

.delay05 {
  transition-delay: 0.5s !important;
  animation-delay: 0.5s !important;
}

.delay06 {
  transition-delay: 0.6s !important;
  animation-delay: 0.6s !important;
}

.delay07 {
  transition-delay: 0.7s !important;
  animation-delay: 0.7s !important;
}

.delay08 {
  transition-delay: 0.8s !important;
  animation-delay: 0.8s !important;
}

.delay09 {
  transition-delay: 0.9s !important;
  animation-delay: 0.9s !important;
}

.delay10 {
  transition-delay: 1s !important;
  animation-delay: 1s !important;
}

.delay11 {
  transition-delay: 1.1s !important;
  animation-delay: 1.1s !important;
}

.delay12 {
  transition-delay: 1.2s !important;
  animation-delay: 1.2s !important;
}

.delay13 {
  transition-delay: 1.3s !important;
  animation-delay: 1.3s !important;
}

.delay14 {
  transition-delay: 1.4s !important;
  animation-delay: 1.4s !important;
}

.delay15 {
  transition-delay: 1.5s !important;
  animation-delay: 1.5s !important;
}

.delay16 {
  transition-delay: 1.6s !important;
  animation-delay: 1.6s !important;
}

.delay17 {
  transition-delay: 1.7s !important;
  animation-delay: 1.7s !important;
}

.delay18 {
  transition-delay: 1.8s !important;
  animation-delay: 1.8s !important;
}

.p-ai-head {
  width: fit-content;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  font-weight: bold;
  margin-inline: auto;
}

.p-ai-head.--left {
  text-align: left;
  margin-inline: unset;
  align-items: flex-start;
}

.p-ai-head__ttl {
  position: relative;
  font-size: 4.4rem;
  color: var(--navy);
  width: fit-content;
  line-height: 1;
  padding: 0 0.7em;
  clip-path: inset(0 100% 0 0);
  display: inline-block;
  transition: 0.5s cubic-bezier(0.37, 0, 0.63, 1);
  transition-property: clip-path;
}

@media screen and (min-width: 769px) {
  .p-ai-head__ttl {
    font-size: 6.4rem;
    padding: 0 1em;
  }
}

.p-ai-head__ttl::before {
  content: "";
  display: block;
  width: 13rem;
  height: 2rem;
  position: absolute;
  z-index: -1;
  clip-path: inset(0 100% 0 0);
  display: inline-block;
  transition: 0.3s 0.3s cubic-bezier(0.37, 0, 0.63, 1);
  transition-property: clip-path;
}

@media screen and (min-width: 769px) {
  .p-ai-head__ttl::before {
    width: 20rem;
    height: 3rem;
  }
}

.p-ai-head__ttl.--tl::before {
  background: linear-gradient(
    270deg,
    #64C3DE80 0%,
    #64C3DE80 50%,
    #E51E8380 50%,
    #E51E8380 100%
  );
  top: 0;
  left: 0;
}

.p-ai-head__ttl.--tr::before {
  background: linear-gradient(
    90deg,
    #64C3DE80 0%,
    #64C3DE80 50%,
    #E51E8380 50%,
    #E51E8380 100%
  );
  top: 0;
  right: 0;
}

.p-ai-head__ttl.--bl::before {
  background: linear-gradient(
    270deg,
    #64C3DE80 0%,
    #64C3DE80 50%,
    #E51E8380 50%,
    #E51E8380 100%
  );
  bottom: -0.1em;
  left: 0;
}

.p-ai-head__ttl.--br::before {
  background: linear-gradient(
    90deg,
    #64C3DE80 0%,
    #64C3DE80 50%,
    #E51E8380 50%,
    #E51E8380 100%
  );
  bottom: -0.1em;
  right: 0;
}

.p-ai-head__txt {
  font-size: 1.6rem;
  color: var(--black);
  width: fit-content;
  margin-top: 0.7rem;
  letter-spacing: 0.08em;
  clip-path: inset(100% 0 0 0);
  display: inline-block;
  transition: 0.3s 0.6s cubic-bezier(0.37, 0, 0.63, 1);
  transition-property: clip-path;
}

@media screen and (min-width: 769px) {
  .p-ai-head__txt {
    font-size: 2.4rem;
    margin-top: 1.3rem;
  }
}

.p-ai-head__txt span {
  color: var(--pink);
}

.p-ai-head.is-active {
  .p-ai-head__ttl {
    clip-path: inset(0);
  }

  .p-ai-head__ttl::before {
    clip-path: inset(0);
  }

  .p-ai-head__txt {
    clip-path: inset(0);
  }
}

.p-ai-mv {
  position: relative;
  aspect-ratio: 375 / 620;
  width: 100%;
  height: auto;
}

@media screen and (min-width: 769px) {
  .p-ai-mv {
    aspect-ratio: 1440 / 351;
  }
}

.p-ai-mv img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.p-ai-mv__robot {
  aspect-ratio: 212 / 215;
  width: 16.5rem;
  position: absolute;
  bottom: -8.5rem;
  left: 1.3rem;
}

@media screen and (min-width: 769px) {
  .p-ai-mv__robot {
    width: 21.2rem;
    bottom: -12rem;
    left: 6rem;
  }
}

.p-ai-about {}

.p-ai-about__list {
  width: min(100%, 91rem);
  margin-inline: auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0 2rem;
  margin-top: 3.5rem;
}

@media screen and (min-width: 769px) {
  .p-ai-about__list {
    gap: 0 15.4rem;
    margin-top: 7rem;
  }
}

.p-ai-about__item.is-active {
  animation: fadeup 0.5s cubic-bezier(0.33, 1, 0.68, 1) forwards;
}

.p-ai-about__item-img {
  background-color: var(--gray);
  aspect-ratio: 1 / 1;
  width: 100%;
  height: auto;
  border-radius: 9999px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.p-ai-about__item-img img {
  width: 50%;
}

.p-ai-about__item-txt {
  font-size: 1.5rem;
  font-weight: bold;
  color: var(--navy);
  text-align: center;
  margin-top: 0.5rem;
}

@media screen and (min-width: 769px) {
  .p-ai-about__item-txt {
    font-size: 2rem;
    margin-top: 1rem;
  }
}

.p-ai-about__copy {
  font-size: 1.8rem;
  font-weight: bold;
  letter-spacing: 0.08em;
  text-align: center;
  margin-top: 3rem;
}

@media screen and (min-width: 769px) {
  .p-ai-about__copy {
    font-size: 2.4rem;
    margin-top: 5rem;
  }
}

.p-ai-about__copy span {
  color: var(--pink);
}

.p-ai-about__txt {
  font-size: 1.6rem;
  font-weight: 500;
  text-align: center;
  margin-top: 2rem;
  margin-inline: auto;
  width: 90%;
}

@media screen and (min-width: 769px) {
  .p-ai-about__txt {
    font-size: 1.8rem;
    width: 83%;
    margin-top: 3rem;
  }
}

.p-ai-about__txt span {
  font-size: 0.8em;
}

.p-ai-feature {}

.p-ai-feature__inner {
  position: relative;
  width: min(80%, 92rem);
  margin-inline: auto;
  padding: 5rem 0 3rem;
  margin-top: 2.5rem;
}

@media screen and (min-width: 769px) {
  .p-ai-feature__inner {
    padding: 10rem 0 7rem;
  }
}

.p-ai-feature__inner::after {
  content: "";
  display: block;
  width: calc(100% + (50vw - 50%) + 2.5rem);
  height: 100%;
  background-color: var(--gray);
  border-radius: 0 2rem 2rem 0;
  position: absolute;
  margin-left: calc(50% - 50vw);
  top: 0;
  z-index: -2;
}

@media screen and (min-width: 769px) {
  .p-ai-feature__inner::after {
    width: calc(100% + (50vw - 50%) + 7.7rem);
  }
}

.p-ai-feature__list {
  display: grid;
  gap: 5rem 0;
  counter-reset: featureList;
}

@media screen and (min-width: 769px) {
  .p-ai-feature__list {
    grid-template-columns: repeat(3, 1fr);
    gap: 0 4rem;
  }
}

.p-ai-feature__item {
  position: relative;
}

@media screen and (min-width: 769px) {
  .p-ai-feature__item:nth-child(1) {
    margin-top: 14rem;
  }

  .p-ai-feature__item:nth-child(2) {
    margin-top: 7rem;
  }
}

.p-ai-feature__item::before {
  counter-increment: featureList;
  content: counter(featureList, decimal-leading-zero);
  font-size: 3.5rem;
  font-weight: bold;
  line-height: 1;
  color: var(--navy);
  position: absolute;
  top: -2rem;
  left: 2rem;
}

@media screen and (min-width: 769px) {
  .p-ai-feature__item::before {
    font-size: 5rem;
    top: -3.5rem;
    left: 1rem;
  }
}

.p-ai-feature__item-img {
  aspect-ratio: 279 / 195;
  width: 100%;
  height: auto;
  border-radius: 1.5rem;
  overflow: hidden;
}

.p-ai-feature__item-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.p-ai-feature__item-ttl {
  font-size: 1.8rem;
  font-weight: bold;
  margin-top: 1rem;
}

@media screen and (min-width: 769px) {
  .p-ai-feature__item-ttl {
    font-size: 2.4rem;
    margin-top: 2rem;
  }
}

.p-ai-feature__item-txt {
  font-size: 1.4rem;
  margin-top: 0.5rem;
}

@media screen and (min-width: 769px) {
  .p-ai-feature__item-txt {
    margin-top: 2rem;
  }
}

.p-ai-works {}

.p-ai-works__inner {
  position: relative;
  padding-top: 9rem;
  padding-bottom: 9rem;
}

@media screen and (min-width: 769px) {
  .p-ai-works .p-ai-head__txt br {
    display: none;
  }
}


.p-ai-works__inner::after {
  content: "";
  display: block;
  width: calc(100% + (50vw - 50%) + 2.8rem);
  height: 100%;
  border-radius: 3rem 0 0 3rem;
  background-color: var(--gray);
  position: absolute;
  top: 0;
  right: calc(50% - 50vw);
  z-index: -2;
}

.p-ai-works__list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0 2rem;
  margin-top: 4rem;
}

@media screen and (min-width: 769px) {
  .p-ai-works__list {
    gap: 0 2.8rem;
    margin-top: 6rem;
  }
}

.p-ai-works__item {
  position: relative;
  display: block;
  width: calc((100% - 2rem) / 2);
  margin-top: 4rem;
}

@media screen and (max-width: 768px) {
  .p-ai-works__item:nth-child(2n) {
    transform: translateY(-3.5rem);
  }
}

@media screen and (min-width: 769px) {
  .p-ai-works__item {
    width: calc((100% - 8.4rem) / 4);
    margin-top: 9.5rem;

    &:nth-child(4n + 1) {
    }

    &:nth-child(4n + 2) {
      transform: translateY(-3.5rem);
    }

    &:nth-child(4n + 3) {
      transform: translateY(-7rem);
    }

    &:nth-child(4n) {
      transform: translateY(-10.5rem);
    }
  }
}

.p-ai-works__item-img {
  aspect-ratio: 280 / 290;
  width: 100%;
  height: auto;
  border-radius: 1rem;
  overflow: hidden;
}

.p-ai-works__item-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: all 0.3s ease;
}

.p-ai-works__item-ttl {
  position: absolute;
  bottom: 0;
  left: 0;
  transform: translateY(50%);
  width: calc((240 / 280) * 100%);
  border-radius: 0.5rem;
  background-color: #ffffff;
  font-size: 1.3rem;
  font-weight: 600;
  padding: 1rem 1rem;
  z-index: 2;
}

@media screen and (min-width: 769px) {
  .p-ai-works__item-ttl {
    width: calc((222 / 280) * 100%);
    font-size: 1.8rem;
    padding: 1rem 2rem;
  }
}

.p-ai-works__item-ttl span.arrow {
  display: block;
  mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 7 13"><path d="M.9995117,13.0001831c-.2397461,0-.4804688-.0859375-.6723633-.2597656-.4086914-.3720703-.4384766-1.0039062-.0668945-1.4130859l4.3881836-4.8271484L.2602539,1.6730347C-.1113281,1.2643433-.081543.6315308.3271484.260437.7368164-.111145,1.3686523-.0808716,1.7397461.3273315l5.0004883,5.5c.3466797.3818359.3466797.9638672,0,1.3457031L1.7397461,12.6730347c-.1972656.2167969-.4682617.3271484-.7402344.3271484Z"/></svg>') no-repeat center / contain;
  aspect-ratio: 7 / 13;
  background-color: var(--blue);
  width: 0.5rem;
  height: auto;
  position: absolute;
  top: 0;
  bottom: 0;
  right: 1rem;
  margin-block: auto;
  transition: transform 0.3s ease;
}

@media screen and (min-width: 769px) {
  .p-ai-works__item-ttl span.arrow {
    width: 0.7rem;
    right: 2rem;
  }
}

@media (hover: hover) and (pointer: fine) {
  .p-ai-works__item:hover {
    .p-ai-works__item-img img {
      transform: scale(1.03);
    }

    .p-ai-works__item-ttl span.arrow {
      transform: translateX(0.5rem);
    }
  }
}

.p-ai-intro {}

@media screen and (min-width: 769px) {
  .p-ai-intro .p-ai-head__txt br {
    display: none;
  }
}

.p-ai-intro__list {
  counter-reset: introList;
  display: grid;
  gap: 5rem 0;
  margin-top: 6rem;
}

@media screen and (min-width: 769px) {
  .p-ai-intro__list {
    grid-template-columns: repeat(4, 1fr);
    gap: 9rem 6.7rem;
    margin-top: 10rem;
  }
}

.p-ai-intro__item {
  position: relative;
  background-color: var(--gray);
  border-radius: 1rem;
  padding: 3rem 2rem 2rem;
  display: grid;
  grid-template-columns: 30% 1fr;
  align-items: center;
  gap: 0 1rem;
}

@media screen and (min-width: 769px) {
  .p-ai-intro__item {
    padding: 5.7rem 2rem 3rem;
    grid-template-columns: 1fr;
    grid-template-rows: auto auto;
    align-items: flex-start;
    gap: 1rem 0;
  }
}

.p-ai-intro__item::before {
  counter-increment: introList;
  content: counter(introList, decimal-leading-zero);
  font-size: 4rem;
  font-weight: bold;
  color: var(--navy);
  line-height: 1;
  width: fit-content;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  margin-inline: auto;
  transform: translateY(-50%);
}

.p-ai-intro__item::after {
  content: "";
  display: block;
  mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 12 20"><path d="M11.4103804,8.5876349c.7861594.7580081.7861594,2.0667207,0,2.8247862L3.0244421,19.4974377C1.8642224,20.6160467,0,19.7455073,0,18.085082L.0000007,1.9149351C.0000007.2545168,1.8642315-.616052,3.0244512.5025533l8.3859293,8.0850816Z"/></svg>') no-repeat center / contain;
  aspect-ratio: 12 / 20;
  background-color: var(--blue);
  width: 1.4rem;
  height: fit-content;
  position: absolute;
  
}

@media screen and (max-width: 768px) {
  .p-ai-intro__item::after {
    transform: rotate(90deg);
    left: 0;
    right: 0;
    bottom: -2.5rem;
    margin-inline: auto;
  }

  .p-ai-intro__item:last-child::after {
    display: none;
  }
}

@media screen and (min-width: 769px) {
  .p-ai-intro__item::after {
    transform: rotate(0deg);
    top: 0;
    bottom: 0;
    margin-block: auto;
  }

  .p-ai-intro__item:nth-child(-n + 4)::after {
    right: -3.35rem;
    transform: translate(50%, -50%);
  }

  .p-ai-intro__item:nth-child(n + 5):nth-child(-n + 8)::after {
    left: -3.35rem;
    transform: translate(-50%, -50%);
  }
}

.p-ai-intro__item-img {
  aspect-ratio: 1 / 1;
  width: 100%;
  height: auto;
  border-radius: 9999px;
  background-color: #ffffff;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  margin-inline: auto;
}

@media screen and (min-width: 769px) {
  .p-ai-intro__item-img {
    width: 62%;
  }
}

.p-ai-intro__item-img img {
  width: 65%;
}

.p-ai-intro__item-ttl {
  font-size: 1.8rem;
  font-weight: bold;
  text-align: center;
}

@media screen and (min-width: 769px) {
  .p-ai-intro__item-ttl {
    font-size: 2.4rem;
  }
}

.p-ai-intro__item-box {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.p-ai-intro__item-txt {
  font-size: 1.4rem;
  width: fit-content;
  margin-inline: auto;
  margin-top: 0.5rem;
}

.p-ai-flow {}

.p-ai-flow__inner {
  position: relative;
  padding-top: 9rem;
  padding-bottom: 6rem;
  display: grid;
  gap: 3rem 0;
  align-items: center;
}

@media screen and (min-width: 769px) {
  .p-ai-flow__inner {
    grid-template-columns: 34% 1fr;
    gap: 0 0;
  }
}

.p-ai-flow__inner::after {
  content: "";
  display: block;
  width: calc(100% + (50vw - 50%) + 2.8rem);
  height: 100%;
  border-radius: 0 3rem 3rem 0;
  background-color: var(--gray);
  position: absolute;
  top: 0;
  left: calc(50% - 50vw);
  z-index: -2;
}

.p-ai-flow__list {
  position: relative;
  counter-reset: flowList;
  display: grid;
  gap: 2rem 0;
  width: 60%;
  margin-inline: auto;
}

@media screen and (min-width: 769px) {
  .p-ai-flow__list {
    grid-template-columns: repeat(5, 1fr);
    gap: 0 2.6rem;
    width: 100%;
    margin-inline: unset;
  }
}

.p-ai-flow__list::after {
  content: "";
  width: 2px;
  height: 90%;
  background-color: var(--navy);
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  margin: auto;
  z-index: 0;

  clip-path: inset(0 0 100% 0);
  display: inline-block;
  transition: 0.5s 1.5s cubic-bezier(0.37, 0, 0.63, 1);
  transition-property: clip-path;
}

@media screen and (min-width: 769px) {
  .p-ai-flow__list::after {
    width: 90%;
    height: 2px;
    position: absolute;

    clip-path: inset(0 100% 0 0);
  }
}

.p-ai-flow__list.is-active::after {
  clip-path: inset(0);
}

.p-ai-flow__item {
  position: relative;
  background-color: #ffffff;
  border-radius: 1rem;
  padding: 2rem 1rem 2rem 8rem;
  z-index: 1;
}

@media screen and (min-width: 769px) {
  .p-ai-flow__item {
    padding: 8rem 1rem 2rem;
  }
}

.p-ai-flow__item::before {
  counter-increment: flowList;
  content: counter(flowList, decimal-leading-zero);
  font-size: 4rem;
  font-weight: bold;
  color: var(--navy);
  line-height: 1;
  width: fit-content;
  height: fit-content;
  position: absolute;
  top: 0;
  bottom: 0;
  left: 2rem;
  margin-block: auto;
}

@media screen and (min-width: 769px) {
  .p-ai-flow__item::before {
    top: 2rem;
    bottom: auto;
    left: 0;
    right: 0;
    margin-inline: auto;
  }
}

.p-ai-flow__item-txt {
  font-size: 1.4rem;
  font-weight: bold;
  color: var(--navy);
  text-align: center;
  line-height: 1.5;
}

.p-ai-flow__item-txt span {
  color: var(--pink);
}

.p-ai-contact {
  position: relative;
  background-color: var(--navy);
  margin-top: 7rem;
  padding: 7rem 0;
}

.p-ai-contact__ttl {
  font-size: 2.2rem;
  font-weight: bold;
  color: #ffffff;
  text-align: center;
  letter-spacing: 0.1em;
}

@media screen and (min-width: 769px) {
  .p-ai-contact__ttl {
    font-size: 3.2rem;
  }
}

@media screen and (min-width: 769px) {
  .p-ai-contact__ttl br {
    display: none;
  }
}

.p-ai-contact__txt {
  font-size: 1.5rem;
  color: #ffffff;
  text-align: center;
  letter-spacing: 0.1em;
}

@media screen and (min-width: 769px) {
  .p-ai-contact__txt {
    font-size: 1.8rem;
  }
}

.p-ai-contact__txt span {
  font-size: 0.8em;
}


.p-ai-contact__robot {
  aspect-ratio: 388 / 295;
  width: 15rem;
  position: absolute;
  top: -13rem;
  right: 0;
  opacity: 0;
  transform: translateX(15rem);
}

@media screen and (min-width: 769px) {
  .p-ai-contact__robot {
    width: 19.4rem;
    top: -17rem;
    transform: translateX(19.4rem);
  }
}

.p-ai-contact__robot.is-active {
  animation: roboslide 0.8s 0.5s ease-out forwards;
}

@keyframes roboslide {
  0% {
    transform: translateX(15rem);
    opacity: 0;
  }
  80% {
    opacity: 1;
  }
  100% {
    transform: translateX(0);
    opacity: 1;
  }
}

@media screen and (min-width: 769px) {
  @keyframes roboslide {
    0% {
      transform: translateX(19.4rem);
      opacity: 0;
    }
    80% {
      opacity: 1;
    }
    100% {
      transform: translateX(0);
      opacity: 1;
    }
  }
}

.p-ai-btn {
  position: relative;
  aspect-ratio: 450 / 80;
  width: min(90%, 45rem);
  height: fit-content;
  border-radius: 9999px;
  background-color: var(--blue);
  font-size: 1.4rem;
  font-weight: bold;
  color: #ffffff;
  text-align: center;
  display: grid;
  place-content: center;
  margin-inline: auto;
  margin-top: 5rem;
}

@media screen and (min-width: 769px) {
  .p-ai-btn {
    font-size: 1.8rem;
  }
}

.p-ai-btn span.arrow {
  display: block;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 9999px;
  background-color: #ffffff;
  position: absolute;
  top: 0;
  bottom: 0;
  right: 1.5rem;
  margin-block: auto;
  transition: transform 0.3s ease;
}

@media screen and (min-width: 769px) {
  .p-ai-btn span.arrow {
    width: 3rem;
    height: 3rem;
    right: 2rem;
  }
}

.p-ai-btn span.arrow::before {
  content: "";
  display: block;
  mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 7 13"><path d="M.9995117,13.0001831c-.2397461,0-.4804688-.0859375-.6723633-.2597656-.4086914-.3720703-.4384766-1.0039062-.0668945-1.4130859l4.3881836-4.8271484L.2602539,1.6730347C-.1113281,1.2643433-.081543.6315308.3271484.260437.7368164-.111145,1.3686523-.0808716,1.7397461.3273315l5.0004883,5.5c.3466797.3818359.3466797.9638672,0,1.3457031L1.7397461,12.6730347c-.1972656.2167969-.4682617.3271484-.7402344.3271484Z"/></svg>') no-repeat center / contain;
  aspect-ratio: 7 / 13;
  background-color: var(--blue);
  width: 0.5rem;
  height: fit-content;
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  margin: auto;
}

@media screen and (min-width: 769px) {
  .p-ai-btn span.arrow::before {
    width: 0.7rem;
  }
}

@media (hover: hover) and (pointer: fine) {
  .p-ai-btn:hover span.arrow {
    transform: translateX(0.5rem);
  }
}

footer {
  background-color: var(--black);
  padding: 1.5rem 0;
}

@media screen and (min-width: 769px) {
  footer {
    padding: 2.5rem 0;
  }
}

.p-ai-copyright {
  font-size: 1rem;
  color: #ffffff;
  text-align: center;
}

@media screen and (min-width: 769px) {
  .p-ai-copyright {
    font-size: 1.2rem;
  }
}

/*-- シングルページ　 --*/
.p-ai-sgl-mv {
  position: relative;
  aspect-ratio: 375 / 200;
  width: 100%;
  height: auto;
  background: linear-gradient(90deg, #072E87 0%, #AFE0EE 50.48%, #FFFFFF 100%);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0 2rem;
}

@media screen and (min-width: 769px) {
  .p-ai-sgl-mv {
    aspect-ratio: 1440 / 351;
    padding: 0 12rem;
  }
}

.p-ai-sgl-mv__box {
  width: fit-content;
}

.p-ai-sgl-mv__ttl {
  font-size: 3rem;
  font-weight: bold;
  color: #ffffff;
  line-height: 1;
  width: fit-content;
}

@media screen and (min-width: 769px) {
  .p-ai-sgl-mv__ttl {
    font-size: 5rem;
  }
}

.p-ai-sgl-mv__en {
  font-size: 1.3rem;
  font-weight: bold;
  color: #ffffff;
  line-height: 1;
  width: fit-content;
  margin-top: 1rem;
}

@media screen and (min-width: 769px) {
  .p-ai-sgl-mv__en {
    font-size: 2rem;
    margin-top: 2rem;
  }
}

.p-ai-sgl-gallery__inner {
  display: grid;
  gap: 2rem 0;
}

@media screen and (min-width: 769px) {
  .p-ai-sgl-gallery__inner {
    gap: 5rem 0;
  }
}

.p-ai-sgl-gallery .gallery-box {
  display: grid;
  gap: 1rem 1rem;
}

@media screen and (min-width: 769px) {
  .p-ai-sgl-gallery .gallery-box {
    gap: 2rem 2rem;
  }
}

.p-ai-sgl-gallery .gallery-box.--a {
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: repeat(4, 1fr);

  figure:nth-child(1) {
    grid-column: 1 / 3;
    grid-row: 1 / 3;
  }

  figure:nth-child(2) {
    grid-column: 1 / 2;
    grid-row: 3 / 4;
  }

  figure:nth-child(3) {
    grid-column: 2 / 3;
    grid-row: 3 / 4;
  }

  figure:nth-child(4) {
    grid-column: 1 / 2;
    grid-row: 4 / 5;
  }

  figure:nth-child(5) {
    grid-column: 2 / 3;
    grid-row: 4 / 5;
  }
}

@media screen and (min-width: 769px) {
  .p-ai-sgl-gallery .gallery-box.--a {
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(2, 1fr);

    figure:nth-child(1) {
      grid-column: 1 / 3;
      grid-row: 1 / 3;
    }

    figure:nth-child(2) {
      grid-column: 3 / 4;
      grid-row: 1 / 2;
    }

    figure:nth-child(3) {
      grid-column: 4 / 5;
      grid-row: 1 / 2;
    }

    figure:nth-child(4) {
      grid-column: 3 / 4;
      grid-row: 2 / 3;
    }

    figure:nth-child(5) {
      grid-column: 4 / 5;
      grid-row: 2 / 3;
    }
  }
}

.p-ai-sgl-gallery .gallery-box.--b {
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: repeat(4, 1fr);

  figure:nth-child(1) {
    grid-column: 1 / 2;
    grid-row: 3 / 4;
  }

  figure:nth-child(2) {
    grid-column: 2 / 3;
    grid-row: 3 / 4;
  }

  figure:nth-child(3) {
    grid-column: 1 / 2;
    grid-row: 4 / 5;
  }

  figure:nth-child(4) {
    grid-column: 2 / 3;
    grid-row: 4 / 5;
  }

  figure:nth-child(5) {
    grid-column: 1 / 3;
    grid-row: 1 / 3;
  }
}

@media screen and (min-width: 769px) {
  .p-ai-sgl-gallery .gallery-box.--b {
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(2, 1fr);

    figure:nth-child(1) {
      grid-column: 1 / 2;
      grid-row: 1 / 2;
    }

    figure:nth-child(2) {
      grid-column: 2 / 3;
      grid-row: 1 / 2;
    }

    figure:nth-child(3) {
      grid-column: 1 / 2;
      grid-row: 2 / 3;
    }

    figure:nth-child(4) {
      grid-column: 2 / 3;
      grid-row: 2 / 3;
    }

    figure:nth-child(5) {
      grid-column: 3 / 5;
      grid-row: 1 / 3;
    }
  }
}

.p-ai-sgl-gallery .gallery-box.--c {
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: repeat(4, 1fr);

  figure:nth-child(1) {
    grid-column: 1 / 3;
    grid-row: 1 / 3;
  }

  figure:nth-child(2) {
    grid-column: 1 / 3;
    grid-row: 3 / 5;
  }
}

@media screen and (min-width: 769px) {
  .p-ai-sgl-gallery .gallery-box.--c {
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(2, 1fr);

    figure:nth-child(1) {
      grid-column: 1 / 3;
      grid-row: 1 / 3;
    }

    figure:nth-child(2) {
      grid-column: 3 / 5;
      grid-row: 1 / 3;
    }
  }
}

.p-ai-sgl-gallery .gallery-box.--d {
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: repeat(2, 1fr);

  figure:nth-child(1) {
    grid-column: 1 / 2;
    grid-row: 1 / 2;
  }

  figure:nth-child(2) {
    grid-column: 2 / 3;
    grid-row: 1 / 2;
  }

  figure:nth-child(3) {
    grid-column: 1 / 2;
    grid-row: 2 / 3;
  }

  figure:nth-child(4) {
    grid-column: 2 / 3;
    grid-row: 2 / 3;
  }
}

@media screen and (min-width: 769px) {
  .p-ai-sgl-gallery .gallery-box.--d {
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: 1fr;

    figure:nth-child(1) {
      grid-column: 1 / 2;
      grid-row: 1 / 2;
    }

    figure:nth-child(2) {
      grid-column: 2 / 3;
      grid-row: 1 / 2;
    }

    figure:nth-child(3) {
      grid-column: 3 / 4;
      grid-row: 1 / 2;
    }

    figure:nth-child(4) {
      grid-column: 4 / 5;
      grid-row: 1 / 2;
    }
  }
}

.p-ai-sgl-gallery .gallery-box figure {
  position: relative;
  aspect-ratio: 590 / 826;
  width: 100%;
  height: fit-content;
  overflow: hidden;
}

.p-ai-sgl-gallery .gallery-box figure img,
.p-ai-sgl-gallery .gallery-box figure video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.p-ai-sgl-gallery .gallery-box figure figcaption {
  font-size: 1.2rem;
  line-height: 1.3;
  color: #ffffff;
  background: linear-gradient(90deg, #072E87 0%, rgba(5, 32, 94, 0.7) 59.62%, rgba(2, 11, 33, 0) 100%);
  position: absolute;
  bottom: 0;
  left: 0;
  padding: 0.5rem 1rem;
  display: flex;
  align-items: center;
  width: 100%;
  min-height: 4.4rem;
  max-height: 6rem;
}

@media screen and (min-width: 769px) {
  .p-ai-sgl-gallery .gallery-box figure figcaption {
    font-size: 1.6rem;
    padding: 1.5rem 2rem;
    height: 7rem;
    max-height: 7rem;
  }
}