@charset "utf-8";

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

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

.c-heading__en {
  font-family: var(--font-noto-sans);
  color: var(--color-cyan);
  font-size: 47px;
  line-height: 1;
  letter-spacing: 0;
}

.c-heading__ja {
  margin-left: 5px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.25;
  color: var(--color-gray);

  &::before {
    content: "";
    display: block;
    width: 23px;
    height: 4px;
    background: var(--color-l-cyan);
    flex-shrink: 0;
  }
}

.c-heading.is-white {
  .c-heading__en,
  .c-heading__ja {
    color: var(--color-white);
  }

  .c-heading__ja::before {
    background: var(--color-white);
  }
}

.c-arrow-btn {
  width: 100%;
  max-width: 250px;
  height: 56px;
  border-radius: 50px;
  background: linear-gradient(90deg, #9ed0a9 0%, #1598e3 100%);
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  padding: 0px 24px 0 30px;

  p {
    color: var(--color-white);
    font-weight: 600;
    line-height: normal;
    letter-spacing: 0;
  }
}

.c-arrow-btn:hover {
  opacity: 0.7;
}

.c-arrow-btn::after {
  content: "";
  width: 16px;
  aspect-ratio: 16/7;
  background: url("https://eco-connect-plus.co.jp/system_panel/uploads/images/btn-arrow-white.svg") no-repeat center center / contain;
  transition: all 0.3s ease;
}

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

.c-category {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 60px;
  padding: 4px 5px;
  border-radius: 5px;
  background: var(--color-l-cyan);
  font-size: 12px;
  line-height: normal;
  color: var(--color-white);
  font-weight: 500;
  letter-spacing: 0.03em;
}

.c-works-item {
}

.c-works-item__head {
  width: 100%;
  aspect-ratio: 354/250;
  overflow: hidden;
  border-radius: 10px;

  img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
}

.c-works-item__body {
  margin-top: 20px;
}

.c-works-item__tags {
  display: flex;
  gap: 12px;
  align-items: center;
}

.c-works-item__title {
  margin-top: 9px;
  font-weight: 500;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  -webkit-line-clamp: 2;
  min-height: 60px;
}

.c-works-item__link {
  margin-top: 4px;
  text-align: end;
}

.c-works-item__link a {
  width: fit-content;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: #2c2c2c;
  line-height: normal;
  border-bottom: 1px solid #b5b5b5;
  padding-bottom: 0.1em;
}

.c-works-item__link a::after {
  content: "";
  width: 8px;
  height: 10px;
  background: url("https://eco-connect-plus.co.jp/system_panel/uploads/images/works-arrow.svg") no-repeat center center / contain;
  transition: all 0.3s ease;
}

.c-works-item__link a:hover {
  border-bottom: 1px solid var(--color-base);
}

.c-works-item__link a:hover::after {
  filter: brightness(0.7);
}

.c-news-item {
  width: 100%;
  height: 84px;
  background: var(--color-white);
  border-radius: 5px;
  display: flex;
  padding: 0 80px 0 40px;
  gap: 16px;
  align-items: center;
  position: relative;

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

  .c-news-item__date-wrap {
    display: flex;
    align-items: start;
    flex-direction: column;
    gap: 4px;
    flex-shrink: 0;
    min-width: 98px;

    @media (width < 1120px) {
      flex-direction: row;
      align-items: center;
    }
  }

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

.c-news-item::after {
  content: "";
  position: absolute;
  background: url("https://eco-connect-plus.co.jp/system_panel/uploads/images/news-arrow.svg");
  width: 42px;
  height: 19px;
  border-radius: 100px;
  top: 50%;
  transform: translateY(-50%);
  right: 36px;

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

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

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

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

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

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

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

.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 {
    background: var(--color-white);
  }

  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;
  }

  ul .number a {
    width: 30px;
    height: 30px;
    display: grid;
    place-items: center;
    border-radius: 50%;
  }

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

  li.next {
    margin-left: 20px;
  }

  li.prev {
    margin-right: 20px;
  }

  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://eco-connect-plus.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://eco-connect-plus.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;
  }
}
