@charset "utf-8";

.l-inner {
  max-width: 1190px;
  margin: 0 auto;
  padding: 0 20px;
}

.js-fade-trigger {
  opacity: 0;
  transform: translateY(20px);
}

.fade-up {
  animation-name: fadeUp;
  animation-duration: 1s;
  animation-fill-mode: forwards;
  opacity: 0;
}

@keyframes fadeUp {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.gjs-dashed *[data-highlightable] .js-fade-trigger {
  opacity: 1;
  transform: translateY(0);
}

.c-heading {
}

.c-heading__en {
  color: var(--color-blue);
  font-family: var(--font-noto-sans);
  font-size: 65px;
  line-height: 1.2;
}

.c-heading__ja {
  font-weight: 700;
  font-size: 14px;
  color: #272e32;
  line-height: calc(32 / 16);
}

.c-sub-heading {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.c-sub-heading__en {
  color: var(--color-blue);
  font-family: var(--font-noto-sans);
  font-size: 18px;
  line-height: 1.2;
}

.c-sub-heading__ja {
  font-weight: 700;
  font-size: 32px;
  line-height: 1;
}

.c-date {
  font-family: var(--font-noto-sans);
  font-size: 12px;
  font-weight: 400;
  line-height: normal;
  color: #43423f;
}

.c-category {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 72px;
  height: 24px;
  padding: 0 5px;
  border-radius: 5px;
  font-size: 12px;
  line-height: normal;
  letter-spacing: 0.03em;
  background: var(--color-white);
  color: var(--color-blue);
}

.c-blog-item {
  width: 100%;
  height: 80px;
  border-radius: 5px;
  display: flex;
  padding: 0 80px 0 40px;
  gap: 32px;
  align-items: center;
  position: relative;
  background: #f2f5f8;

  @media (width < 768px) {
    flex-direction: column;
    align-items: start;
    height: auto;
    padding: 16px 40px 16px 16px;
    gap: 5px;
  }

  .c-blog-item__date-wrap {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
  }

  .c-blog-item__title {
    width: 100%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
}

.c-blog-item::after {
  content: '';
  position: absolute;
  background: var(--color-blue) url('https://plusnauts.co.jp/system_panel/uploads/images/arrow-white.svg') no-repeat center center / 50%;
  width: 22px;
  height: 22px;
  border-radius: 5px;
  top: 50%;
  transform: translateY(-50%);
  right: 42px;

  @media (width < 768px) {
    right: 12px;
  }
}

.c-blog-item:hover {
  opacity: 0.7;
}

.c-page-top {
  position: fixed;
  width: 102px;
  aspect-ratio: 1;
  bottom: 60px;
  right: 20px;
  border-radius: 50%;
  opacity: 0;
  visibility: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 22px;
  z-index: 10;
  background: var(--color-white);

  @media (width < 768px) {
    right: 20px;
    width: 70px;
    gap: 10px;
  }

  img {
    margin-top: 12px;
    width: 8px;
    aspect-ratio: 9/6;
    object-fit: contain;
  }

  p {
    font-family: var(--font-noto-sans);
    text-align: center;
    font-size: 12px;
    line-height: normal;
    letter-spacing: 0.05em;
    text-transform: uppercase;

    @media (width < 768px) {
      font-size: 10px;
    }
  }
}

.c-page-top.is-show:hover {
  opacity: 0.7;
}

.c-page-top.is-show,
.gjs-dashed *[data-highlightable] .c-page-top {
  opacity: 1;
  visibility: visible;
}

.webgene-pagination {
  justify-self: center;
  grid-column: 1 / -1;
  color: #4b4b4b;

  ul .number a {
    width: 30px;
    height: 30px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: #f2f5f8;
    font-weight: 400;
    transition: all 0.3s ease-out;
  }

  ul .number a:hover,
  ul .number.selected a {
    background: var(--color-blue);
    color: var(--color-white);
  }

  ul .number.selected a {
    pointer-events: none;
  }

  ul {
    display: flex;
    list-style: none;
    gap: 10px;
    padding-inline-start: 0;
    justify-content: center;
    align-items: center;
  }

  li.next,
  li.prev {
    position: relative;
  }

  li.next {
    margin-left: 20px;

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

  li.prev {
    margin-right: 20px;

    @media (width < 768px) {
      margin-right: 8px;
    }
  }

  li.next a,
  li.prev a {
    height: 40px;
    width: 76px;
    line-height: 1;
    display: flex;
    align-items: center;
  }

  li.prev a {
    justify-content: end;
  }

  li.next:hover::after,
  li.prev:hover::after {
    background: url('https://plusnauts.co.jp/system_panel/uploads/images/page-arrow-blue.svg') no-repeat center center / contain;
  }

  li.prev:after,
  li.next:after {
    pointer-events: none;
    content: '';
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    right: 0;
    width: 40px;
    height: 40px;
    background: url('https://plusnauts.co.jp/system_panel/uploads/images/page-arrow-white.svg') no-repeat center center / contain;
    transition: all 0.3s ease-out;
  }

  li.prev:after {
    left: 0;
    transform: translateY(-50%) rotate(180deg);
  }

  li.next:after {
    right: 0;
  }
}
