*,
*::before,
*::after {
  min-width: 0px;
  min-height: 0px;
}

body {
  font-family: var(--font-sans);
  color: var(--ink);
  background-color: var(--white);
  letter-spacing: 0.04em;
}

#root {
  max-width: 1920px;
  margin: 0 auto;
}

p, h1, h2, h3, h4, h5, h6 {
  margin: 0;
}
h1, h2, h3, h4, h5, h6 {
  font-weight: inherit;
  line-height: inherit;
}

img, iframe {
  max-width: 100%;
}
iframe {
  border: none;
  box-shadow: none;
}

a, a:hover {
  color: var(--ink);
}

[id] {
  scroll-margin-top: 3.75rem;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

button {
  position: relative;
  appearance: none;
  cursor: pointer;
  box-shadow: none;
  border: 0;
  outline: none;
  background: none;
  padding: 0;
}

.list {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  padding-left: 1.5rem;
  list-style: disc outside none;

  & > p {
    margin: 0;
    display: list-item;
  }
}

.webgene-pagination {
  margin-top: 3rem;
  & ul {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 1.25rem;
    padding: 0;
    margin: 0;

    & li {
      & a {
        display: inline-block;
        width: 3rem;
        line-height: 3rem;
        text-align: center;
        border-radius: 9999px;
        background-color: hsl(from var(--ink) h s l / 30%);
        color: var(--ink);
        &:hover {
          text-decoration: none;
        }
      }

      &.selected {
        & a {
          background-color: var(--blue);
          color: var(--snow);
          &:hover {
            color: var(--snow);
          }
        }
      }
    }
  }
}

.webgene-no-items {
  width: 100%;
  text-align: center;
  font-size: 0.875rem;
}

.thumbnail {
  position: relative;

  &.thumbnail--16x9 {
    padding-top: 56.25%;
  }

  & img,
  &:empty::before {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  &:empty::before {
    content: "";
    background-image: url("/system_panel/uploads/images/ogp.png");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
  }
}

.article-body {
  & > p {
    margin: 1em 0;
  }

  & > h1,
  & > h2,
  & > h3,
  & > h4,
  & > h5,
  & > h6 {
    margin: 2em 0 1em;
  }

  & > *:first-child {
    margin-top: 0;
  }

  & > *:last-child {
    margin-bottom: 0;
  }

  & a,
  & a:hover {
    color: var(--blue);
    text-decoration: underline;
  }
}

.backdrop-object {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  object-fit: cover;
  width: 100%;
  height: 100%;
}

.page-hero {
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  padding-top: 11.25rem;
  padding-bottom: 1.25rem;
  
  @media screen and (min-width: 768px) {
    padding-top: 15rem;
  }
  
  @media screen and (min-width: 1024px) {}
}

.page-hero__title {
  display: flex;
  flex-direction: column;
  position: relative;
  max-width: 80rem;
  width: 100%;
  margin-right: auto;
  margin-left: auto;
  gap: 0.5rem;
  
  @media screen and (min-width: 768px) {
    gap: 0.75rem;
  }
}

.page-hero__title--ja {
  line-height: 1;
  letter-spacing: 0;
  font-weight: 900;
  font-size: 1rem;
  opacity: 0.4;
  padding-left: 0.25rem;  
  
  @media screen and (min-width: 768px) {
    padding-left: 0.5rem;
    font-size: 2rem;
  }
  
  @media screen and (min-width: 1024px) {
    font-size: 2.5rem;
  }
  
  @media screen and (min-width: 1200px) {
    font-size: 3rem;
  }
}

.page-hero__title--en {
  line-height: 1;
  letter-spacing: 0;
  font-weight: 700;
  font-size: 2.25rem;
  
  @media screen and (min-width: 768px) {
    font-size: 5rem;
  }
  
  @media screen and (min-width: 1024px) {
    font-size: 7rem;
  }
  
  @media screen and (min-width: 1200px) {
    font-size: 8rem;
  }
}

.pege-hero__dec {
  position: absolute;
}

.pege-hero__dec--1 {
  width: 360px;
  top: 0;
  left: -100px;
  
  @media screen and (min-width: 768px) {
    width: 520px;
  }
  
  @media screen and (min-width: 1024px) {
    width: 600px;
  }
  
  @media screen and (min-width: 1200px) {
    width: 740px;
  }
}

.pege-hero__dec--2 {
  width: 360px;
  right: -20px;
  bottom: -90px;
  
  @media screen and (min-width: 768px) {
    width: 480px;
  }
  
  @media screen and (min-width: 1024px) {
    width: 520px;
  }
  
  @media screen and (min-width: 1200px) {
    width: 636px;
  }
}

.pege-hero__dec--3 {
  width: 100%;
  height: 110px;
  left: 0;
  bottom: 0;
  
  @media screen and (min-width: 768px) {
    height: 180px;
  }
  
  @media screen and (min-width: 1024px) {
    height: 240px;
  }
  
  @media screen and (min-width: 1200px) {
    height: unset;
  }
}

.section-title {
  position: relative;
}

.section-title__en {
  position: absolute;
  letter-spacing: 0;
  line-height: 1;
  font-weight: 700;
  font-size: 3rem;
  opacity: 30%;
  top: -28px;
  left: 20px;
  white-space: nowrap;
  
  @media screen and (min-width: 768px) {
    font-size: 6rem;
    top: -48px;
    left: 40px;
  }
  
  @media screen and (min-width: 1024px) {
    font-size: 8rem;
    top: -60px;
    left: 60px;
  }
}

.section-title__ja {
  position: relative;
  letter-spacing: 0;
  line-height: 1.25;
  font-weight: 900;
  font-size: 1.5rem;
  
  @media screen and (min-width: 375px) {
    font-size: 1.25rem;
  }
  
  @media screen and (min-width: 768px) {
    font-size: 2.5rem;
  }
  
  @media screen and (min-width: 1024px) {
    font-size: 3rem;
  }
}


.about-cloud-dec {
  position: relative;
  
  @media screen and (min-width: 1200px) {
    position: absolute;
    width: 41.5%;
    top: -20px;
    left: -8.75%;
  }
}

.masked-image--about-cloud {
  position: relative;
  width: 82%;
  filter: drop-shadow(8px 8px 0px 0px var(--blue));
  --mask-image: url(/system_panel/uploads/images/mask-clowd-1--blue.png);
  
  &::before {
    content: "";
    position: absolute;
    top: 8px;
    left: 8px;
    width: 100%;
    height: 100%;
    background-image: var(--mask-image);
    background-repeat: no-repeat;
    background-size: 100% 100%;
  }
  
  & img {
    object-fit: cover;
    width: 100%;
    -webkit-mask-image: var(--mask-image);
    mask-image: var(--mask-image);
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    mask-size: 100% 100%;
  }
}
.masked-image--recruit-cloud {
  position: relative;
  width: 82%;
  filter: drop-shadow(8px 8px 0px 0px var(--blue));
  --mask-image: url(/system_panel/uploads/images/mask-cloud-1--pink.png);
  
  &::before {
    content: "";
    position: absolute;
    top: 8px;
    left: 8px;
    width: 100%;
    height: 100%;
    background-image: var(--mask-image);
    background-repeat: no-repeat;
    background-size: 100% 100%;
  }
  
  & img {
    object-fit: cover;
    width: 100%;
    -webkit-mask-image: var(--mask-image);
    mask-image: var(--mask-image);
    mask-repeat: no-repeat;
    mask-size: 100% 100%;
  }
}

.about-cloud__dec {
  position: absolute;
  width: 82%;
  top: 45%;
  left: 16%;
  opacity: 10%;
  
  @media screen and (min-width: 1200px) {
    opacity: 100%;
  }
}

.about-dec--1 {
  position: absolute;
  width: 38.75%;
  right: -9.375%;
  bottom: -80px;
  
  & img {
    width: 100%
  }
}

.button {
  display: flex;
  position: relative;
  justify-content: center;
  align-items: center;
  gap: 1.25rem;
  padding: 1.25rem 2.25rem;
  border-radius: 9999px;
  min-width: 12.5rem;
  color: var(--snow);
  line-height: 1.25;
  letter-spacing: 0.1em;
  font-weight: 700;
  transition: opacity ease 200ms;
  background-color: var(--ink);
  
  &>div {
    display: flex;
    flex-direction: column;
  }
  
  &:hover {
    opacity: 80%;
    text-decoration: none;
    color: var(--snow);
  }
  
  &.button--blue {
    background-color: var(--blue);
  }
  &.button--orange {
    background-color: var(--orange);
  }
  &.button--pink {
    background-color: var(--pink);
  }
  &.button--teal {
    background-color: var(--teal);
  }
  
  
  &.disabled {
    cursor: not-allowed;
    opacity: 0.5;
  }
}

.contact-dec {
  position: absolute;
  bottom: -177px;
  right: -277px;
}

.elevation-1 {
  box-shadow: 0px 5px 18px 1px rgba(0, 0, 0, 0.08);
}
.elevation-2 {
  box-shadow: 0px 10px 36px 0px rgba(0, 0, 0, 0.16);
}

.flow-list {
  display: grid;
  gap: 2rem;
  
  @media screen and (min-width: 768px) {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  @media screen and (min-width: 1440px) {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0;
  }

  & .flow-list__item {
    display: flex;
    flex-direction: column;
    gap: 1rem;

    & .flow-list__title {
      border-radius: 1.5rem;
      padding: 1.5rem;
      text-align: center;
      font-weight: 900;
      font-size: 1.125rem;
      line-height: 1.25;
    }
    & .flow-list__container {
      border-radius: 1.5rem;
      padding: 1rem;
      background-color: #FEF9F3;
    }
    &:first-child .flow-list__title {
      background-color: #FEF9F3;
    }
    &:nth-child(2) .flow-list__title {
      background-color: #FEF1E3;
    }
    &:nth-child(3) .flow-list__title {
      background-color: #FDD6AA;
    }
    &:nth-child(4) .flow-list__title {
      background-color: #FCC78C;
    }
    
    @media screen and (min-width: 768px) {
      & .flow-list__title {
        border-radius: 3rem;
        padding: 1.5rem;
      }
      & .flow-list__container {
        border-radius: 3rem;
        padding: 2rem;
        flex: 1 0 0%;
      }
      & .flow-list__content {
        flex: 1 0 0%;
      }
    }
    @media screen and (min-width: 1440px) {
      gap: 2rem;
      & .flow-list__title {
        position: relative;
        &::before {
          content: "";
          position: absolute;
          top: 0;
          right: -20px;
          width: 20px;
          height: 100%;
          z-index: 1;
        }
      }
      &:first-child {
        & .flow-list__title {
          border-top-right-radius: 0;
          border-bottom-right-radius: 0;
          &::before {
            background: no-repeat center/100% 100% url("/system_panel/uploads/images/flow-polygon--1.png");
          }
        }
        & .flow-list__container {
          border-top-right-radius: 0;
          border-bottom-right-radius: 0;
        }
        & .flow-list__content {
          border-right: 1px dashed var(--orange);
          padding-right: 2rem;
          margin-right: -2rem;
        }
      }
      &:nth-child(2) {
        & .flow-list__title {
          border-radius: 0;
          &::before {
            background: no-repeat center/100% 100% url("/system_panel/uploads/images/flow-polygon--2.png");
          }
        }
        & .flow-list__container {
          border-radius: 0;
        }
        & .flow-list__content {
          border-right: 1px dashed var(--orange);
          padding-right: 2rem;
          margin-right: -2rem;
        }
      }
      &:nth-child(3) {
        & .flow-list__title {
          border-radius: 0;
          &::before {
            background: no-repeat center/100% 100% url("/system_panel/uploads/images/flow-polygon--3.png");
          }
        }
        & .flow-list__container {
          border-radius: 0;
        }
        & .flow-list__content {
          border-right: 1px dashed var(--orange);
          padding-right: 2rem;
          margin-right: -2rem;
        }
      }
      &:nth-child(4) {
        & .flow-list__title {
          border-radius: 0;
          &::before {
            background: no-repeat center/100% 100% url("/system_panel/uploads/images/flow-polygon--4.png");
          }
        }
        & .flow-list__container {
          border-top-left-radius: 0;
          border-bottom-left-radius: 0;
        }
      }
    }
  }
}

.recruit-dec {
  position: absolute;
  width: 632px;
  &.recruit-dec--1 {
    top: 80px;
    right: -200px;
  }
  &.recruit-dec--2 {
    left: -130px;
    bottom: -90px;
  }
}

.service-dec {
  display: none;
  
  @media screen and (min-width: 1024px) {
    display: block;
    position: absolute;
    left: -80px;
    bottom: 200px;
    width: 496px;
  }
}

.service-bubble {
  background-color: var(--teal);
  color: var(--snow);
  padding: 0.75rem 1.5rem;
  border-radius: 9999px;
  letter-spacing: 0em;
  line-height: 1.25;
  font-size: 1.125rem;
  font-weight: 700;
  position: relative;
  &::before {
    content: "";
    position: absolute;
    bottom: -19px;
    right: 46px;
    width: 26px;
    height: 32px;
    background-image: url("/system_panel/uploads/images/service-bubble-polygon.svg");
    background-repeat: no-repeat;
  }
}

.feature-bubble {
  background-color: var(--red);
  color: var(--snow);
  padding: 0.75rem 1.5rem;
  border-radius: 9999px;
  letter-spacing: 0em;
  line-height: 1.25;
  font-size: 1.125rem;
  font-weight: 700;
  position: relative;
  &::before {
    content: "";
    position: absolute;
    bottom: -19px;
    right: 46px;
    width: 26px;
    height: 32px;
    background-image: url("/system_panel/uploads/images/feature-bubble-polygon.svg");
    background-repeat: no-repeat;
  }
}

.service-backdop-dec {
  position: absolute;
  width: 620px;
  
  &.service-backdop-dec--1 {
    top: 15.33980583%;
    left: -90px;
  }
  &.service-backdop-dec--2 {
    top: 37.08737864%;
    right: -80px;
  }
  &.service-backdop-dec--3 {
    bottom: 30.09708738%;
    left: -90px;
  }
  &.service-backdop-dec--4 {
    bottom: 8.15533981%;
    right: -100px;
  }
}

.running-track {
  position: absolute;
  width: 100%;
  left: 0;
  overflow: hidden;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
  height: 0px !important;
  overflow: visible;
  
  & img {
    width: 128px;
    animation: running-track 3s linear infinite;

    @media screen and (min-width: 414px) {
      animation-duration: 4s;
    }
    @media screen and (min-width: 768px) {
      animation-duration: 8s;
    }
    @media screen and (min-width: 1024px) {
      animation-duration: 12s;
    }
    @media screen and (min-width: 1200px) {
      animation-duration: 14s;
    }
  }
}

@keyframes running-track {
  0% {
    transform: translateX(130vw);
  }
  100% {
    transform: translateX(-30vw);
  }
}

.features-cloud {
  position: absolute;
  width: 55%;

  @media screen and (min-width: 414px) {
    width: 35%;
  }
  
  @media screen and (min-width: 768px) {
    width: 25%;
  }
  
  @media screen and (min-width: 1200px) {
    width: 100%;
  }
  
  &.features-cloud--1 {
    max-width: 475px;
    top: 0;
    left: -117px;
  }
  &.features-cloud--2 {
    max-width: 475px;
    top: 20px;
    right: -90px;
  }
  &.features-cloud--3 {
    max-width: 429px;
    bottom: 10px;
    left: -31px;
  }
  &.features-cloud--4 {
    max-width: 401px;
    bottom: 7px;
    right: -60px;
  }
}

.features-dot-cloud {
  position: absolute;
  width: 38.75%;
  max-width: 620px;
  
  &.features-dot-cloud--1 {
    top: 320px;
    right: -100px;
  }
  
  &.features-dot-cloud--2 {
    bottom: -40px;
    left: -90px;
  }
  
  &.features-dot-cloud--3 {
    top: 140px;
    right: -80px;
  }
  
  &.features-dot-cloud--4 {
    bottom: -150px;
    left: -200px;
  }
}

.strength-card {
  display: flex;
  flex-direction: column;
  background-color: var(--light-red);
  padding: 1.25rem 1.25rem 1.5rem 1.25rem;
  border-radius: 2rem;
  box-shadow: 0 12px 0 0 var(--red);
  
  @media screen and (min-width: 768px) {
    padding: 2rem 2rem 3rem 2rem;
    border-radius: 3rem;
    box-shadow: 0 20px 0 0 var(--red);
  }
}

.strength-card__num {
  position: relative;
  color: var(--snow);
  letter-spacing: 0.04em;
  line-height: 1;
  font-weight: 700;
  font-size: 1.5rem;
  align-self: flex-end;
  
  & img {
    position: relative;
    width: 100px;
  }
  
  & p {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
  }
  
  @media screen and (min-width: 768px) {
    font-size: 2.25rem;
    
    & img {
      width: 150px;
    }
  }
}

.service-card {
  display: flex;
  flex-direction: column;
  background-color: var(--snow);
  border-radius: 2rem;
  overflow: hidden;
  
  @media screen and (min-width: 768px) {
    border-radius: 3rem;
  }
}

.service-dot-cloud {
  position: absolute;
  
  &.service-dot-cloud--1 {
    top: -60px;
    right: -60px;
    width: 40.8%;
    max-width: 653px;
  }
  
  &.service-dot-cloud--2 {
    top: -50px;
    left: 50%;
    transform: translateX(-13%);
    width: 33%;
    max-width: 527px;
  }
}


