@charset "UTF-8";

:root{
  --font-inter: 'Inter', sans-serif;
}

.inner {
  padding-inline: 0;
  max-width: 1180px;
}

@media screen and (max-width:1180px) {
  .inner {
    padding-inline: 1rem;
  }
}

.news-archive {
  margin-top: 5rem;
}

.news-archive__wrap{
  display: flex;
  justify-content: flex-start;
  align-items: flex-start;
  gap: min(5.55vw, 5rem);
}

.news-main {
  max-width: 45.8125rem;
  width: 100%;
}

.news-sidebar {
  width: 16.25rem;
}

.sidebar-block {
  margin-bottom: 2.5rem;
}

.sidebar-title {
  font-family: var(--font-inter);
  font-weight: 600;
  font-size: 1.375rem;
  line-height: 1.6;
  margin-bottom: .375rem;
  font-weight: bold;
  color: #4A5565;
  border-bottom: .125rem solid #4379B8;
}

.download-title{
  color: #4A5565;
  font-family: var(--font-inter);
  font-weight: 600;
  font-size: 1.375rem;
  line-height: 1.6;
  margin-top: 13px;
  font-weight: bold;
}


.sidebar-category-list li a{
  margin-bottom: .5rem;
  display: block;
  font-size: 18px;
  font-weight: 400;
  line-height: 2;
  letter-spacing: -1.5%;
  color: #4A5565;
}

.news-item {
  display: flex;
  gap: 1.25rem;
  justify-content: space-between;
  padding-bottom: 3.125rem;
  margin-bottom: 1.875rem;
  border-bottom: .0625rem solid #E6E6E6;
  text-decoration: none;
  color: inherit;
}
.news-thumb {
  border: none;
}

.news-thumb img {
  width: 10.375rem;
  height: 10.3125rem;
  object-fit: cover;
  background: #D9D9D9;
  border: none;
  display: block;  
}

.noimage__box{
    background-image: url(../img/no-img.png);
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    width: 10.375rem;
    height: 10.3125rem;
}

.news-meta {
  display: flex;
  gap: 1.0625rem;
  align-items: center;
}

.news-date{
  color: #6C757D;
  font-family: var(--font-inter);
  font-weight: 400;
  font-size: 16px;
}

.news-cat{
  color: #0A0A0A;
  font-family: var(--font-inter);
  font-weight: 500;
  line-height: 1.4;
  font-size: .75rem;
  padding: 4px 1.1875rem;
  background-color: #D9D9D9;
  border-radius: .75rem;
}

.news-title {
  font-size: 1.1875rem;
  margin: .8125rem 0 .6875rem;
  color: #222;
  line-height: 1.4;
}

.news-excerpt {
  line-height: 1.8;
  color: #292929;
}

.searchform {
  line-height: 1;
  position: relative;
  margin-bottom: 1.5625rem;
}
 
.searchfield {
  box-sizing: border-box;
  width: 100%;
  padding: .75em 0.75em 0.75em 2.5em;
  border: .0625rem solid #E6E6E6CC;
  border-radius: 1.25rem;
  background-color: #fff;
  position: relative;
}

.searchform::after{
  content: "";
  width: 1.25rem;
  height: 1.25rem;
  background-image: url(../img/search.png);
  background-size: cover;
  background-repeat: no-repeat;
  position: absolute;
  top: 50%;
  left: .625rem;
  transform: translateY(-50%);
}
 
.searchsubmit {
  position: absolute;
  top: 50%;
  right: .75em;
  display: block;
  padding: 0;
  cursor: pointer;
  transform: translateY(-50%);
  color: #000;
  border: none;
  background: transparent;
}
 
.searchsubmit:hover {
  opacity: .6;
}


.sidebar-category-list{
  margin-top: .375rem;
}

.cat-item a{
  color: #4A5565;
  font-size: 1.125rem;
  line-height: 2;
  margin-bottom: 1.125rem;
  letter-spacing: -0.015em;
}

.pagination{
  display: flex;
  gap: 20px;
  align-items: center;
  justify-content: flex-start;
  margin-block: 3.9375rem 0.625rem;
}

.prev.page-numbers,.next.page-numbers{
  display: flex;
  justify-content: center;
  align-items: center;
  width: 4rem;
  height: 4rem;
  border: 1px solid #BCBCBC;
  border-radius: 999px;
  text-decoration: none;
  color: #BCBCBC;
}

.prev.page-numbers:hover,
.next.page-numbers:hover {
  color: #4379B8;
}

.page-numbers{
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.125rem;
  font-weight: 800;
  color: #4A5565;
  width: 4rem;
}

.page-numbers.current{
  color: #4379B8;
}


/* 詳細内 */

.news-single {
  margin: 0 auto;
  max-width: 62.25rem;
}

.news-single .news-title {
  font-size: 1.5rem;
}

.news-single p{
  line-height: 1.8;
}

.news__thumb--big {
  margin-top: 2rem;
}

.news__thumb--big img{
  width: 100%;
  height: 100%;
}

.news__thumb--big .noimage__box{
  border-radius: 0.75rem;
  width: 100%;
  height: 100%;
  aspect-ratio: 996/525;
}

.news-content{
  font-size: 1rem;
  font-weight: 350;
  color: #4a5565;
  line-height: 1.8;
  margin-top: 2rem;
}

.news-content p {
  margin-top: 1rem;
}

.news-content h2 {
  line-height: 1.4;
  margin-top: 2rem;
}

.download-item{
  display: flex;
  gap: 1.25rem;
  justify-content: space-between;
  padding-bottom: 1.1875rem;
  margin-bottom: 1.5625rem;
  border-bottom: .0625rem solid #E6E6E6;
  text-decoration: none;
  align-items: flex-end;
}

.download-thumb{
  border-bottom: 2px solid #4379B8;
  margin-right: 25px;
  padding-bottom: 7px;
  position: relative;
}

.download-btn{
  display: inline-block;
  font-family: var(--font-inter);
  font-weight: 600;
  font-size: 14px;
  line-height: 1.4;
  color: #4A5565;
}

.download-btn::after{
  content: "→";
  font-size: 18px;
  font-weight: 400;
  color: #4379B8;
  position: absolute;
  top: 50%;
  right: -25px;
  transform: translateY(-60%);
}


.pagination .page-numbers.prev::before,
.pagination .page-numbers.next::before {
    content: "";
    width: 8px;
    height: 8px;
    border-top: 2px solid #333;
    border-right: 2px solid #333;
    display: block;
}

/* 有効状態（進める） → 4379B8 */
.pagination .page-numbers.prev:not([href="#"])::before,
.pagination .page-numbers.next:not([href="#"])::before {
    border-color: #4379B8;
}

/* 無効状態（進めない） → BCBCBC */
.pagination .page-numbers.prev[href="#"]::before,
.pagination .page-numbers.next[href="#"]::before {
    border-color: #BCBCBC;
}

.pagination .page-numbers.next::before {
    transform: translateX(-25%) rotate(45deg)
}


.work__btn {
  text-align: center;
}

.work__btn a {
  font-size: 1.125rem;
  color: #4A5565;
}

.work__footer {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 2.5rem;
    gap: 44px;
}

/* ページネーションの横並び */
.work__pagination {
    display: flex;
    gap: 8px;
    align-items: center;
}


.prev.page-numbers, .next.page-numbers{
      display: flex;
    justify-content: center;
    align-items: center;
    width: 4rem;
    height: 4rem;
    border: 1px solid #BCBCBC;
    border-radius: 999px;
    text-decoration: none;
    color: #BCBCBC;
}


.page-numbers.prev:not([href="#"])::before, .page-numbers.next:not([href="#"])::before {
    border-color: #4379B8;
}

.page-numbers.prev::before {
    transform: translateX(25%) rotate(-135deg);
}

.page-numbers.next::before{
  transform: rotate(45deg);
}

.page-numbers.prev::before, .page-numbers.next::before {
    content: "";
    width: 8px;
    height: 8px;
    border-top: 2px solid #BCBCBC;
    border-right: 2px solid #BCBCBC;
    display: block;
}

.news-none{
  color: #4A5565;
}

@media screen and (max-width:767px) {
  .news-archive__wrap{
    flex-direction: column;
    gap: 5rem;
  }

  .news-item{
    flex-direction: column-reverse;
    padding-bottom: 0.875rem;
    margin-bottom: 1.25rem;
  }

  .news-thumb img,.noimage__box{
    aspect-ratio: 343/201;
    object-position: center;
    width: 100%;
    height: 100%;
  }

  .news-date{
    font-size: max(4.3vw,16px);
  }

  .news-cat{
    font-size: max(3.2vw,12px);
    border-radius: 2.75rem;
  }

  .download-item {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5625rem;
  }

  .download-thumb {
    margin-left: auto;
  }

  .download-title{
    font-size: max(4.3vw,16px);
    margin-top: 0.5625rem;
  }

  .download-btn{
    font-size: max(3.7vw,14px);
  }

  .pagination {
    justify-content: center;
    margin-top: 1.875rem;
  }

  .page-numbers{
    font-size: 3.75vw;
  }

  .prev.page-numbers, .next.page-numbers{
    width: 9.6vw;
    height: 9.6vw;
  }

  .news-title{
    color: #4A5565;
    font-size: max(4.8vw,18px);
    margin-bottom: 12px;
  }

  .news-excerpt{
    font-size: max(3.7vw,14px);
    color: #4A5565;
  }

  .news-content{
    font-size: max(3.7vw,14px);
  }

  .news-sidebar {
    width: 100%;
  }

  .searchfield{
    font-size: max(4.26vw,16px);
  }

  .sidebar-title{
    font-size: max(5.87vw,22px);
  }

  .sidebar-category-list li a{
    font-size: max(4.8vw,18px);
  }
}