@import url(./global/_variable.css);

/* update-archives */
/* ============================================ */

/* update-archives-content */
/* ============================================ */
.update-archives-content {
  padding-block: clamp(3.75rem, 2.6295rem + 2.9279vw, 5.625rem); /* 90~60(1920~896) */
  background-color: #FFF;
  border-radius: 50px 50px 0 0;
  position: relative;
  @media (width <= 896px) {
    border-radius: 30px 30px 0 0;
    padding-block: 30px;
  }
}
.update-archives-content__inner {
  display: flex;
  flex-direction: column;
  gap: 40px;
  max-width: 800px;
  margin-inline: auto;
  padding-inline: 20px;
}
.update-archives-content__head {
  display: flex;
  align-items: center;
  gap: 16px;
  padding-bottom: 32px;
  border-bottom: 1px solid #CCD5E3;
}
.update-archives-content__date {
  font-family: 'Oswald', var(--font_normal);
  font-size: clamp(1rem, 0.8942rem + 0.3378vw, 1.125rem); /* 18~16(1340~896) */
  font-weight: 500;
  letter-spacing: .02em;
  color: var(--font_c);
}
.update-archives-content__tag {
  flex-shrink: 0;
  padding: 6px 13px;
  background: var(--bg02_c);
  border-radius: 30px;
  font-family: 'Zen Kaku Gothic New', var(--font_normal);
  font-size: 13px;
  font-weight: 500;
  color: var(--main_c);
}
.update-archives-content__body {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.update-archives-content__lead {
  font-family: 'Zen Kaku Gothic New', var(--font_normal);
  font-size: clamp(0.9375rem, 0.7962rem + 0.4505vw, 1.0625rem); /* 17~15(1340~896) */
  font-weight: 500;
  line-height: 1.8;
  color: var(--font_c);
  word-break: keep-all;
}
.update-archives-content__list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  > li {
    position: relative;
    padding-left: 20px;
    font-family: 'Zen Kaku Gothic New', var(--font_normal);
    font-size: clamp(0.9375rem, 0.7962rem + 0.4505vw, 1.0625rem); /* 17~15(1340~896) */
    font-weight: 500;
    line-height: 1.8;
    color: var(--font_c);
    word-break: keep-all;
    &::before {
      content: '';
      position: absolute;
      top: .8em;
      left: 4px;
      width: 6px;
      height: 6px;
      border-radius: 50%;
      background: var(--main_c);
    }
  }
}
.update-archives-content__back {
  padding-top: 16px;
}
.update-archives-content__back-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: 'Zen Kaku Gothic New', var(--font_normal);
  font-size: 15px;
  font-weight: 500;
  color: var(--main_c);
  transition: opacity .2s;
  @media (any-hover: hover) {
    &:hover {
      opacity: .7;
    }
  }
}
.update-archives-content__back-icon {
  flex-shrink: 0;
  display: block;
  width: 13px;
  height: 8px;
  background-color: var(--main_c);
  /* 静的サイトは /assets/ がドキュメントルート直下だったが、WordPress ではテーマ配下に
     なるためルート絶対パスだと 404 になる。CSS からの相対パスで参照する。 */
  mask-image: url(../images/common/icon_arrow_right.svg);
  mask-repeat: no-repeat;
  mask-size: contain;
}
