@charset "UTF-8";
/********************************************************************************
　IT機器 コラム index
********************************************************************************/
/* -------------------------------------------------------
  contents
------------------------------------------------------- */
.contents h1 {
  border-bottom: 1px solid #ededed;
  padding-bottom: 10px;
  margin-bottom: 65px;
  color: #005ad4;
  font-size: 2rem;
}
.contents h1 .category-label {
  font-size: 6rem;
  font-weight: 200;
  color: #005ad4;
  margin: 0;
  line-height: 1;
  display: inline;
  margin-right: 12px;
}
.column-list {
  margin-bottom: 80px;
}
.column-list__tab {
  display: flex;
  justify-content: space-between;
  border-bottom: 1px solid #ededed;
  margin-bottom: 60px;
  flex-wrap: wrap;
}
.column-list__tab .tab {
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  width: calc(100% / 5);
  font-size: 1.6rem;
  font-weight: 500;
  padding: 10px;
  cursor: pointer;
  transition: background 0.5s ease, color 0.5s ease;
}
.column-list__tab .tab:not(:last-of-type) {
  border-right: 1px solid #ededed;
}
.column-list__tab .tab.is-current {
  background: #f0f8ff;
  color: #005ad4;
}
.column-list__article {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}
.column-list__article a {
  transition: opacity 0.5s ease;
  display: block;
}
.column-list__article a :hover {
  opacity: 0.7;
}
.column__img {
  border-radius: 20px;
  overflow: hidden;
  position: relative;
}
.column__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.5s ease, transform 0.5s ease;
  will-change: transform, opacity;
}
.column-list__article a:hover .column__img img {
  transform: scale(1.1);
}
.column__img .new {
  position: absolute;
  top: 8px;
  left: 8px;
  background: #005ad4;
  color: #fff;
  font-size: 1.2rem;
  padding: 2px 10px;
  border-radius: 20px;
  letter-spacing: 0.5px;
}
.column__tag {
  display: flex;
  flex-wrap: wrap;
  gap: 5px 10px;
  margin: 10px 0 15px;
}
.column__tag p a {
  background: #e5eefa;
  display: inline-block;
  padding: 5px 15px;
  border-radius: 30px;
  font-size: 1.3rem;
  font-weight: 400;
  color: #005ad4;
  line-height: 1;
  transition: opacity 0.5s ease;
}
.column__tag p + p {
  margin-top: 0;
}
.column__txt a {
  transition: opacity 0.5s ease;
}
.column__txt a:hover,
.column__tag p a:hover {
  opacity: 0.7;
}
.column__txt a .column__date {
  color: #666;
  font-size: 1.3rem;
  margin-top: 5px;
  display: block;
}
.column__txt a .column__date:hover {
  opacity: 1;
}
.pagination {
  border-bottom: none;
}
.nav-links {
  display: flex;
  justify-content: center;
  gap: 14px;
}
.nav-links a,
.nav-links .page-numbers {
  width: 54px;
  height: 54px;
  background: #ededed;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1.8rem;
  transition: opacity 0.5s ease;
}
.nav-links a:hover {
  opacity: 0.7;
}
.nav-links .current {
  background: #005ad4;
  color: #fff;
  opacity: 1 !important;
}
.pagination__arrow a {
  position: relative;
}
.pagination__arrow a::before {
  content: "";
  display: block;
  width: 10px;
  height: 10px;
  border-top: 2px solid #000;
  border-right: 2px solid #000;
  transform: translate(-50%, -50%) rotate(45deg);
  position: absolute;
  top: 50%;
  left: 50%;
}
.pagination__arrow--prev a::before {
  transform: translate(-50%, -50%) rotate(-135deg);
}

/* ===========================================================
  TABLET
=========================================================== */
@media screen and (max-width: 1023px) {
  .column-list__article {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* ===========================================================
  SP
=========================================================== */
@media screen and (max-width: 767px) {
  .contents h1 {
    font-size: 1.8rem;
    margin-bottom: 40px;
  }
  .contents h1 .category-label {
    font-size: 3.6rem;
  }
  .column-list__article {
    grid-template-columns: repeat(2, 1fr);
    gap: 30px 5%;
  }
  .column-list__tab {
    margin-bottom: 40px;
  }
  .column-list__tab .tab {
    width: calc(100% / 3);
    line-height: 1.2;
    height: 50px;
    font-size: 1.4rem;
  }
  .column-list__tab .tab:nth-of-type(3) {
    border-right: none;
  }
  .column-list__tab .tab:nth-of-type(-n + 3) {
    border-bottom: 1px solid #ededed;
  }
  .column-list__tab .tab:nth-last-of-type(-n + 2) {
    width: 50%;
  }
  .column__img img {
    height: clamp(115px, 23vw, 250px);
  }
  .nav-links {
    gap: 10px;
  }
  .nav-links a,
  .nav-links .page-numbers {
    width: 40px;
    height: 40px;
    font-size: 14px;
  }
}
