

@import url(./common/_variable.css);

/* top */
/* ============================================ */


.area__list {
  position: relative;
  padding: 5.208vw 20px;
  @media (width < 480px) {
    padding: 40px 20px;
  }
}

.block__list {
  position: relative;
  max-width: 1200px;
  margin: auto;
  container-type: inline-size;
}

.list_news {
  display: grid;
  grid-template-columns: repeat(4,1fr);
  gap: 3.333cqw;
  @media (width < 1025px) {
    grid-template-columns: repeat(3,1fr);
    gap: 20px;
  }
  @media (width < 896px) {
    grid-template-columns: repeat(2,1fr);
    gap: 20px;
  }
}

.item_news {
  .news_header {
    padding: 10px 0 0;
  }
}

.thumb_news {
  aspect-ratio: 3 / 2;
  overflow: hidden;
  position: relative;
  &::after {
    content: "";
    display: block;
    width: 20px;
    height: 20px;
    background-image: url(../images/common/gotop.svg);
    background-size: 100% 100%;
    position: absolute;
    right: 5px;
    bottom: 5px;
    transform: rotate(135deg);
    z-index: 50;
  }
  img {
    position: relative;
    z-index: 40;
    object-fit: cover;
    width: 100%;
    height: 100%;
  }
}

.txt_list {
  padding: 8px 0 0;
  p {
    font-size: 1.4rem;
    line-height: 1.6em;
    @media (width < 896px) {
      font-size: 1.3rem;
      line-height: 1.5em;
    }
  }
}

.area__detail {
  padding: 5.208vw 20px;
  position: relative;
  @media (width < 480px) {
    padding: 40px 20px;
  }
}

.block__detail {
  max-width: 1200px;
  margin: auto;
  container-type: inline-size;
}

.block__detail--ttl {
}
.news_header {
  display: flex;
  align-items: center;
}
.news_date {
  font-size: 1.4rem;
  line-height: 1em;
  padding: 0 16px 0 0;
  @media (width < 480px) {
    font-size: 1.2rem;
  }
}
.news_category {
  border: #666 solid 1px;
  font-size: 1.2rem;
  line-height: 1em;
  padding: 5px;
  width: 8em;
  text-align: center;
  @media (width < 480px) {
    font-size: 1.1rem;
  }
}

.hd_detail {
  font-size: clamp(1.8rem,2cqw,2.4rem);
  line-height: 1.4em;
  padding: 10px 0;
  border-bottom: var(--main_c) dotted 1px;
}


.block__detail--body {
}

.img_large {
  width: 100%;
  margin: auto;
  aspect-ratio: 16 / 9;
  img {
    object-fit: contain;
    width: 100%;
    height: 100%;
  }
}

.column__body {
  padding: 2.5cqw 0 0;
  &:after {
    content: ".";
    display: block;
    height: 0;
    clear: both;
    visibility: hidden;
  }
  @media (width < 480px) {
    padding: 16px 0 0;
  }
}
.column__body--txt {
  line-height: 2em;
  @media (width < 480px) {
    padding: 16px 0 0 0;
  }
}
.column__body--img {
  width: 54%;
  float: left;
  padding: 0 2.5cqw 0 0;
  display: grid;
  gap: 16px;
  @media (width < 480px) {
    width: 100%;
    padding: 0 0px 0 0;
    gap: 10px;
    float: none;
  }
}

.btn_lc {
  margin: auto;
}

.box_pdf {
  padding: 2.5cqw 0 0;
  width: 100%;
  text-align: center;
  @media (width < 480px) {
    padding: 16px 0 0;
  }
  a {
    display: inline-block;
    padding: 10px 44px 10px 16px;
    border: var(--main_c) solid 1px;
    position: relative;
    line-height: 1.4em;
    &:hover {
      background-color: var(--bg_c);
    }
    &::after {
      content: "";
      background-image: url(../images/common/icon_pdf.svg);
      background-size: contain;
      background-repeat: no-repeat;
      display: block;
      width: 24px;
      height: 24px;
      position: absolute;
      right: 10px;
      top: 50%;
      transform: translateY(-50%);
    }
  }
}




/* CMSページネーション */
.camel_paging_sp {
  padding: 4.166cqw 0 0;
  ul {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    li {
      border: #CCC solid 1px;
      border-radius: 4px;
      padding: 5px 0 5px 4px;
      margin: 4px;
      line-height: 1em;
      font-size: 1.3rem;
      font-family: 'Poppins', sans-serif;
      text-align: center;
      position: relative;
      display: flex;
      justify-content: center;
      width: 25px;
      position: relative;
      z-index: 8;
      @media (max-width: 896px){
        margin: 4px 2px;
        width: 23px;
      }
      &.active {
        background-color: var(--main_c);
        color: #FFF;
        &:hover {
          color: #000;
        }
      }
      &:hover {
        background-color: var(--bg_c);
      }
      &.mostprev {
        width: 25px;
        box-sizing: border-box;
        @media (max-width: 896px){
          width: 23px;
        }
      }
      &.prev {
        width: 25px;
        box-sizing: border-box;
        @media (max-width: 896px){
          width: 23px;
        }
      }
      &.next {
        width: 25px;
        box-sizing: border-box;
        @media (max-width: 896px){
          width: 23px;
        }
      }
      &.mostnext {
        width: 25px;
        box-sizing: border-box;
        @media (max-width: 896px){
          width: 23px;
        }
      }
      a {
        display: flex;
        justify-content: center;
        align-items: center;
        height: 100%;
        width: 100%;
        position: absolute;
        top: 0;
        left: 0;
      }
    }
  }
}