@charset "utf-8";

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

.l-anchor {
  scroll-margin-top: 80px;

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

.c-logo {
  width: 213px;
  aspect-ratio: 213/57;
  background: var(--color-red);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;

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

  div {
    font-weight: 700;
    color: #fff;
    font-size: 15px;
    line-height: 1;
    letter-spacing: 0.05em;
  }

  div.is-large {
    font-size: 30px;
  }
}

.c-link-btn {
  background: var(--color-red);
  border-radius: 4px;
  display: flex;
  justify-content: space-between;
  padding: 4px;
  gap: 10px;
  align-items: center;
  width: 100%;
  max-width: 260px;
  cursor: pointer;
  transition: all 0.2s ease;

  p {
    color: #fff;
    transition: all 0.2s ease;
  }
}

.c-link-btn__arrow {
  width: 40px;
  height: 100%;
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  border-radius: 4px;
  transition: all 0.2s ease;
  flex-shrink: 0;

  img {
    width: 10px;
    object-fit: contain;
  }
}

.c-heading {
  display: flex;
  align-items: center;
  gap: 0 34px;
  color: var(--color-red);
  flex-wrap: wrap;

  @media (width < 768px) {
    gap: 0 20px;
  }
}

.c-heading__en {
  font-weight: 700;
  font-size: 59px;
  font-family: var(--font-noto-sans);
  line-height: 1.4;
  letter-spacing: -0.02em;

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

.c-heading__ja {
  padding-left: 26px;
  border-left: 1px solid var(--color-red);
  font-weight: 700;
  line-height: 1.6;
  margin-top: 14px;

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

.c-sub-heading {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding-bottom: 16px;
  border-bottom: 1px solid #d3d3d3;
}

.c-sub-heading__en {
  font-weight: 700;
  font-size: 16px;
  font-family: var(--font-noto-sans);
  color: var(--color-red);
  line-height: 1.313;
  letter-spacing: -0.02em;
}

.c-sub-heading__ja {
  display: inline-flex;
  gap: 23px;
  align-items: center;
  font-weight: 700;
  font-size: 32px;
  line-height: 1.813;

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

.c-sub-heading__ja::before {
  content: "";
  width: 12px;
  height: 12px;
  background: var(--color-red);
  border-radius: 50%;
  flex-shrink: 0;
}

.c-date {
  min-width: 83px;
  color: #372710;
  font-size: 14px;
  letter-spacing: 0.02em;
}

.c-category {
  background: #ebebeb;
  border-radius: 50px;
  color: var(--color-red);
  font-size: 12px;
  font-family: var(--font-noto-sans);
  width: fit-content;
  min-width: 78px;
  padding: 3px 8px;
  letter-spacing: 0.02em;
  line-height: 1.3;
  flex-shrink: 0;
  text-align: center;
}

.c-news-item {
  width: 100%;
  height: 80px;
  background: #fff;
  border-radius: 5px;
  display: flex;
  align-items: center;
  gap: 58px;
  padding: 0px 74px 0 47px;
  position: relative;

  @media (width < 768px) {
    flex-direction: column;
    align-items: start;
    justify-content: center;
    gap: 0;
    padding: 0px 40px 4px 12px;
  }

  .c-news-item__date-wrap {
    display: flex;
    align-items: center;
    gap: 6px;
  }

  .c-news-item__title {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    color: #372710;
    text-decoration: underline;
    line-height: 1.643;
    letter-spacing: 0.08em;
    transition: all 0.2s ease;

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

.c-news-item::after {
  content: "";
  position: absolute;
  background: #292f32 url("https://ajpc-inc.com/system_panel/uploads/images/arrow-right-white.svg") no-repeat center center / 25%;
  width: 34px;
  aspect-ratio: 1;
  border-radius: 4px;
  top: 50%;
  transform: translateY(-50%);
  right: 40px;

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

.c-news-item:hover {
  .c-news-item__title {
    color: var(--color-red);
  }
}
