@charset "UTF-8";
/* ============================================
   コラム・お知らせ（PC 1280px）
   Figma: 1:15985 / 1:16286 / 1:16822 / 1:16539
   ============================================ */

.archive-stage {
  padding: 40px 0 34px;
}

.column-list-page .site-footer {
  padding-bottom: 43px;
}

.news-list-page .site-footer {
  padding-bottom: 77px;
}

.article-detail-page .site-footer {
  padding-bottom: 19px;
}

.archive-layout {
  display: grid;
  grid-template-columns: 812px 308px;
  gap: 80px;
  width: 1200px;
  margin-inline: auto;
}

.archive-layout--single {
  display: block;
}

.archive-list {
  width: 812px;
}

.archive-item {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 18px;
  min-height: 144px;
  padding: 22px 30px 20px;
  border-bottom: 1px solid #e0e0e0;
}

.archive-item__thumb {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 150px;
  height: 101px;
  background: #f7f7f7;
  color: #999;
  font-size: 14px;
}

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

.archive-item__body {
  padding-top: 14px;
}

.archive-item__meta {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #838383;
  font-size: 16px;
  line-height: 21px;
}

.archive-item__tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 92px;
  height: 21px;
  border-radius: 2px;
  background: var(--color-accent);
  color: var(--color-white);
  font-size: 12px;
  line-height: 1;
}

.archive-item__tag--news {
  background: #88898c;
}

.archive-item__title {
  margin: 8px 0 0;
  font-weight: 400;
  font-size: 16px;
  line-height: 28px;
}

.archive-item__title a {
  text-decoration: none;
}

.archive-item__title a:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.archive-sidebar__section + .archive-sidebar__section {
  margin-top: 36px;
}

.archive-sidebar__title {
  margin: 0;
  padding: 0 6px 10px;
  border-bottom: 1px solid var(--color-primary);
  font-size: 18px;
  line-height: 28px;
}

.popular-list {
  counter-reset: popular;
}

.popular-list__item {
  counter-increment: popular;
  display: grid;
  grid-template-columns: 102px 1fr;
  gap: 14px;
  min-height: 82px;
  padding: 24px 6px 0;
}

.popular-list__thumb {
  position: relative;
  width: 102px;
  height: 54px;
  background: #e3e3e3;
}

.popular-list__thumb::before {
  content: counter(popular);
  position: absolute;
  top: -10px;
  left: -6px;
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #b1b2b4;
  color: #fff;
  font-size: 13px;
}

.popular-list__item:first-child .popular-list__thumb::before { background: #f4b457; }
.popular-list__item:nth-child(3) .popular-list__thumb::before { background: #ea6b26; }

.popular-list__title {
  margin: -3px 0 0;
  font-size: 14px;
  font-weight: 400;
  line-height: 21px;
}

.popular-list__title a {
  text-decoration: none;
}

.popular-list__title a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 6px;
  padding-top: 18px;
}

.tag-list a {
  display: inline-flex;
  align-items: center;
  min-height: 27px;
  padding: 3px 12px;
  border-radius: 14px;
  background: var(--color-bg-blue);
  font-size: 12px;
  line-height: 18px;
  text-decoration: none;
}

.tag-list a.is-active {
  background: var(--color-primary-light);
  color: var(--color-white);
}

.column-category-list {
  margin: 0;
  padding: 8px 0 0;
  list-style: none;
}

.column-category-list__item {
  border-bottom: 1px solid #d8dce2;
}

.column-category-list__link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 48px;
  padding: 10px 12px;
  font-size: 14px;
  line-height: 24px;
  text-decoration: none;
}

.column-category-list__link:hover {
  background: var(--color-bg-blue);
}

.column-category-list__link.is-active {
  background: var(--color-primary-light);
  color: var(--color-white);
}

.column-category-list__count {
  flex: 0 0 auto;
  min-width: 2ch;
  color: #838383;
  font-variant-numeric: tabular-nums;
  text-align: right;
}

.column-category-list__link.is-active .column-category-list__count {
  color: inherit;
}

/* ---------- 記事詳細 ---------- */
.article-stage {
  padding-bottom: 96px;
}

.article-page {
  width: 1012px;
  margin-inline: auto;
  padding-top: 42px;
}

.article-page__title {
  margin: 0;
  font-family: var(--font-serif);
  font-size: 30px;
  font-weight: 400;
  line-height: 49px;
}

.article-page__date {
  margin-top: 4px;
  font-size: 13px;
  line-height: 18px;
}

.article-toc {
  margin-top: 54px;
  padding: 26px 38px;
  background: #f7f7f7;
}

.article-toc__title {
  margin: 0 0 12px;
  font-size: 20px;
  font-weight: 500;
  line-height: 44px;
}

.article-toc__list {
  font-size: 16px;
  line-height: 32px;
}

.article-toc__list ol {
  padding-left: 20px;
}

.article-toc a {
  text-underline-offset: 2px;
}

.article-body {
  margin-top: 70px;
}

.article-body > h2 {
  min-height: 62px;
  margin: 36px 0 0;
  padding: 6px 22px;
  border-left: 4px solid var(--color-primary);
  background: var(--color-bg-blue);
  font-family: var(--font-serif);
  font-size: 24px;
  font-weight: 400;
  line-height: 49px;
}

.article-body > h2:first-child {
  margin-top: 0;
}

.article-body > h3 {
  margin: 28px 0 0;
  padding-bottom: 8px;
  border-bottom: 1px solid #999;
  font-family: var(--font-serif);
  font-size: 20px;
  font-weight: 400;
  line-height: 36px;
}

.article-body > p {
  margin-top: 12px;
  font-size: 16px;
  line-height: 34px;
}

.article-body table {
  width: 100%;
  margin-top: 20px;
  border-collapse: collapse;
  font-size: 16px;
  line-height: 30px;
}

.article-body td {
  padding: 16px;
  border: 1px solid #999;
}

.article-section + .article-section {
  margin-top: 18px;
}

.article-section__title {
  min-height: 62px;
  margin: 0;
  padding: 6px 22px;
  border-left: 4px solid var(--color-primary);
  background: var(--color-bg-blue);
  font-family: var(--font-serif);
  font-size: 24px;
  font-weight: 400;
  line-height: 49px;
}

.article-section__subtitle {
  margin: 33px 0 0;
  padding-bottom: 8px;
  border-bottom: 1px solid #999;
  font-family: var(--font-serif);
  font-size: 20px;
  font-weight: 400;
  line-height: 49px;
}

.article-section__text {
  margin-top: 12px;
  font-size: 16px;
  line-height: 34px;
}

.article-section--first .article-section__text {
  min-height: 288px;
}

.article-section--second .article-section__text {
  min-height: 272px;
}

.article-section--third {
  margin-top: 20px;
}

.article-page__back {
  margin-top: 194px;
  text-align: center;
}

.article-page__back .btn-detail {
  width: 318px;
  background: var(--color-primary-light);
  color: var(--color-white);
}

.news-detail-page .article-page__back .btn-detail {
  width: 290px;
  background: #f7f7f7;
  color: #111;
}

.article-related {
  margin-top: 118px;
  padding-top: 49px;
  border-top: 1px solid #999;
}

.article-related__title {
  margin: 0 0 70px;
  text-align: center;
  font-family: var(--font-serif);
  font-size: 36px;
  font-weight: 400;
  line-height: 49px;
}

.article-related .archive-list {
  width: 1012px;
}

.article-related .archive-item {
  min-height: 144px;
  padding-left: 30px;
}

.article-related .archive-item__body {
  padding-top: 12px;
}

@media (min-width: 768px) and (max-width: 1279px) {
  .archive-stage,
  .article-stage {
    padding: 40px 32px 80px;
  }

  .archive-layout,
  .archive-list,
  .article-page,
  .article-related .archive-list {
    width: 100%;
  }

  .archive-layout {
    grid-template-columns: minmax(0, 1fr) 280px;
    gap: 40px;
  }

  .archive-layout--single {
    display: block;
  }

  .archive-item {
    grid-template-columns: 128px minmax(0, 1fr);
    padding-right: 16px;
    padding-left: 16px;
  }

  .archive-item__thumb {
    width: 128px;
  }

  .article-page {
    padding-top: 0;
  }

}

@media (min-width: 768px) and (max-width: 959px) {
  .archive-layout {
    display: block;
  }

  .archive-sidebar {
    margin-top: 56px;
  }
}

@media (max-width: 767px) {
  .archive-stage,
  .article-stage {
    padding: 32px 20px 72px;
  }
  .archive-layout,
  .archive-list,
  .article-page,
  .article-related .archive-list {
    width: 100%;
  }
  .archive-layout {
    display: block;
  }

  .archive-sidebar {
    margin-top: 48px;
  }

  .archive-item {
    grid-template-columns: 92px minmax(0, 1fr);
    gap: 12px;
    min-height: 0;
    padding: 20px 0;
  }

  .archive-item__thumb {
    width: 92px;
    height: 68px;
  }

  .archive-item__body {
    min-width: 0;
    padding-top: 0;
  }

  .archive-item__meta {
    align-items: flex-start;
    flex-direction: column;
    gap: 6px;
    font-size: 14px;
  }

  .archive-item__title {
    margin-top: 6px;
    line-height: 25px;
  }

  .article-page {
    padding-top: 0;
  }

  .article-page__title {
    font-size: 24px;
    line-height: 36px;
  }

  .article-toc {
    margin-top: 32px;
    padding: 20px;
  }

  .article-toc__list {
    line-height: 30px;
  }

  .article-body {
    margin-top: 48px;
  }

  .article-body > h2 {
    min-height: 0;
    padding: 12px 16px;
    font-size: 20px;
    line-height: 32px;
  }

  .article-body > h3 {
    margin-top: 28px;
    font-size: 18px;
    line-height: 32px;
  }

  .article-body > p,
  .article-body table {
    line-height: 30px;
  }

  .article-section__title {
    min-height: 0;
    padding: 12px 16px;
    font-size: 20px;
    line-height: 32px;
  }

  .article-section__subtitle {
    margin-top: 28px;
    font-size: 18px;
    line-height: 32px;
  }

  .article-section__text,
  .article-section--first .article-section__text,
  .article-section--second .article-section__text {
    min-height: 0;
    line-height: 30px;
  }

  .article-page__back {
    margin-top: 64px;
  }

  .article-page__back .btn-detail,
  .news-detail-page .article-page__back .btn-detail {
    width: 100%;
  }

  .article-related {
    margin-top: 72px;
    padding-top: 40px;
  }

  .article-related__title {
    margin-bottom: 40px;
    font-size: 28px;
    line-height: 40px;
  }

  .article-related .archive-item {
    min-height: 0;
    padding-left: 0;
  }

  .column-list-page .site-footer,
  .news-list-page .site-footer,
  .article-detail-page .site-footer {
    padding-bottom: 32px;
  }
}
