@charset "utf-8";

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

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

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

.c-link-btn {
  background: linear-gradient(180deg, #3d62a2 0%, #64adca 100%);
  box-shadow: 0px 3px 6px #00000029;
  border-radius: 5px;
  display: flex;
  justify-content: space-between;
  padding: 10px 10px 10px 32px;
  gap: 10px;
  align-items: center;
  width: fit-content;
  cursor: pointer;

  p {
    color: var(--color-white);
    font-size: 14px;
  }
}

.c-link-btn:hover {
  box-shadow: 0 0 0 transparent;
  filter: brightness(0.9);
}

.c-link-btn__arrow {
  width: 45px;
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-white);
  border-radius: 5px;

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

.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 {
  display: flex;
  flex-direction: column;
}

.c-heading__en {
  font-size: 64px;
  font-family: var(--font-noto-sans);
  color: var(--color-blue);
  font-weight: 400;
  line-height: 1.4;
  letter-spacing: -0.02em;
}

.c-heading__en.is-small {
  font-size: 46px;
  line-height: 1.8;
  letter-spacing: -0.04em;
}

.c-heading__ja {
  color: var(--color-d-blue);
  font-size: 16px;
  line-height: 0.9;
  border-left: 3px solid var(--color-d-blue);
  padding-left: 10px;
}

.c-date {
  color: #7e7e7e;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
}

.c-category {
  background: #ecf1f7;
  border-radius: 12px;
  color: #025ba7;
  font-size: 12px;
  width: fit-content;
  min-width: 70px;
  padding: 3px 8px;
  letter-spacing: 0.08em;
  line-height: 1.3;
  flex-shrink: 0;
  text-align: center;
}

.c-blog-item {
  width: 100%;
  height: 122px;
  background: var(--color-white);
  border-radius: 5px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 8px;
  padding: 0 52px 0 40px;
  position: relative;

  @media (width < 768px) {
    height: 100px;
    gap: 4px;
    padding: 0 34px 0 20px;
  }

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

  .c-blog-item__title {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-weight: 600;
    font-size: 17px;
    line-height: 1.529;
    letter-spacing: 0.05em;

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

.c-blog-item::after {
  content: "";
  position: absolute;
  background: url("https://iwazukasei-okazaki.com/system_panel/uploads/images/blog-list-arrow.svg") no-repeat center center / contain;
  width: 26px;
  aspect-ratio: 1;
  top: 50%;
  transform: translateY(-50%);
  right: 28px;

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

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

.c-page-top {
  position: fixed;
  width: 102px;
  aspect-ratio: 1;
  bottom: 130px;
  right: 100px;
  background: var(--color-d-blue);
  border-radius: 50%;
  opacity: 0;
  visibility: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 22px;
  z-index: 10;
  transition: all 0.3s ease-out;

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

  @media (width < 768px) {
    right: 20px;
    bottom: 40px;
    width: 60px;
    gap: 3px;
  }

  img {
    margin-top: 12px;
    width: 10px;
    aspect-ratio: 9/6;
    object-fit: contain;
    transition: all 0.3s ease-out;
  }

  p {
    text-align: center;
    color: var(--color-white);
    font-size: 12px;
    line-height: 1.333;
    letter-spacing: 0.05em;
    text-transform: uppercase;

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

.c-page-top:hover {
  background: #06152f;
}

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

.c-page-top.is-show {
  opacity: 1;
  visibility: visible;
}
