@charset "UTF-8";
/* [ 富士テレネット ] news.css */
/* [ 富士テレネット ] setting */
section {
  width: 100%;
  margin: 0 auto 150px;
}
section h2 {
  margin: 1.0em 0;
}
@media only screen and (max-width: 768px) {
  section {
    margin-bottom: 50px;
  }
}

/*==================================================*
 *  [ NEWS一覧 ]
 *==================================================*/
.news-list {
  position: relative;
  display: flex;
  justify-content: flex-start;
  align-items: stretch;
  flex-flow: wrap;
  gap: min(3.02vw, 58px) min(1.5625vw, 30px);
  max-width: calc(1300px + (20px * 2));
  width: 100%;
  margin: 0 auto;
  padding: 0 20px;
}
.news-list li {
  width: calc((100% - (1.5625vw * 3)) / 4);
  list-style: none;
}
.news-list li a {
  display: block;
  position: relative;
}
.news-list li a .news-image {
  position: relative;
  width: 100%;
  overflow: hidden;
  margin-bottom: min(0.52vw, 10px);
}
.news-list li a .news-image img {
  transition: all .4s ease;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}
.news-list li a .news-image span {
  position: absolute;
  bottom: 0;
  left: 0;
  width: fit-content;
  height: 30px;
  color: #fff;
  font-size: clamp(1rem, calc(1.0rem + 0.208vw), 1.4rem);
  font-weight: 500;
  line-height: 1.5;
  padding: min(0.26vw, 5px) min(0.78125vw, 15px);
}
.news-list li a .news-image span.company {
  background: #414A9C;
}
.news-list li a .news-image span.program {
  background: #00A0FF;
}
.news-list li a time {
  color: #666;
  font-size: clamp(1rem, calc(1.0rem + 0.104vw), 1.2rem);
  font-weight: 700;
}
.news-list li a .news-title {
  margin-top: 4px;
  font-size: min(0.9375vw, 1.8rem);
  font-weight: 500;
}
@media (hover: hover) {
  .news-list li:hover a .news-image img {
    transform: scale(1.1);
    transition: all .4s ease;
  }
}
@media screen and (max-width: 1024px) {
  .news-list {
    gap: 45px 20px;
  }
  .news-list li {
    width: calc((100% - (20px * 2)) / 3);
  }
  .news-list li a .news-image span {
    font-size: clamp(1rem, calc(1.0rem + 0.39vw), 1.4rem);
  }
  .news-list li a time {
    font-size: clamp(1rem, calc(1.0rem + 0.195vw), 1.2rem);
  }
  .news-list li a .news-title {
    font-size: min(1.75vw, 1.8rem);
  }
}
@media only screen and (max-width: 768px) {
  .news-list {
    gap: 25px 10px;
    padding: 0 max(3.84vw, 15px);
  }
  .news-list li {
    width: calc((100% - 10px) / 2);
  }
  .news-list li a .news-image {
    margin-bottom: 0;
  }
  .news-list li a .news-image span {
    height: auto;
    padding: 5px;
  }
  .news-list li a .news-title {
    font-size: min(3.589vw, 1.4rem);
    font-weight: 400;
  }
}

.news-pagination {
  max-width: 1300px;
  width: fit-content;
  margin: 0 auto;
}
.news-pagination .page-numbers {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  list-style: none;
}
.news-pagination .page-numbers li > * {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 42px;
  aspect-ratio: 1 / 1;
  font-size: 2.6rem;
  font-weight: 700;
}
.news-pagination .page-numbers li > *:not(.dots) {
  width: 42px;
  color: #414A9C;
  background: #EAEBF4;
  border-radius: 50%;
  transition: color 0.3s ease, background 0.3s ease;
}
.news-pagination .page-numbers li > .current {
  color: #fff;
  background: #414A9C;
}
@media (hover: hover) {
  .news-pagination .page-numbers li:hover a {
    color: #fff;
    background: #414A9C;
  }
}
@media only screen and (max-width: 768px) {
  .news-pagination {
    max-width: 90%;
    gap: 2.56vw;
  }
  .news-pagination li > * {
    height: 30px !important;
    font-size: 1.8rem !important;
  }
  .news-pagination li > *:not(.dots) {
    width: 30px !important;
  }
}

/*==================================================*
 *  [ NEWS記事 ]
 *==================================================*/
.news {
  max-width: 1193px;
  width: 100%;
  text-align: center;
}
.news .article-info {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  background: #F5F5F5;
  padding: 5px 30px 5px 5px;
}
.news .article-info span {
  width: fit-content;
  max-height: 30px;
  height: auto;
  color: #fff;
  font-size: clamp(1rem, calc(1.0rem + 0.208vw), 1.4rem);
  font-weight: 500;
  line-height: 1.5;
  padding: min(0.26vw, 5px) min(0.78125vw, 15px);
}
.news .article-info span.company {
  background: #414A9C;
}
.news .article-info span.program {
  background: #00A0FF;
}
.news .article-info .article-date {
  color: #666;
  font-size: clamp(1.4rem, calc(1.4rem + 0.104vw), 1.6rem);
  font-weight: 700;
}
.news .article-txt {
  max-width: 1000px;
  width: 100%;
  text-align: left;
  margin: 0 auto 65px;
}
.news .article-txt h1, .news .article-txt h2, .news .article-txt h3, .news .article-txt h4, .news .article-txt h5, .news .article-txt h6 {
  line-height: 1.4;
  padding: 10px 0;
}
.news .article-txt h1 {
  font-size: 2.0em;
}
.news .article-txt h2 {
  margin: 0;
}
.news .article-txt h2::before {
  content: none;
}
.news .article-txt h3 {
  position: static;
  font-size: 1.17em;
  margin: 0;
  font-weight: bold;
  text-align: start;
}
.news .article-txt h3::before {
  content: none;
}
.news .article-txt p {
  font-size: clamp(1.6rem, calc(1.6rem + 0.104vw), 1.8rem);
  line-height: 1.667;
  padding: 10px 0;
}
.news .article-txt p:has(img) {
  text-align: center;
  margin: 50px 0;
}
.news .article-txt p:has(img) img {
  width: 53.6%;
}
.news .article-txt p a {
  text-decoration: underline;
  color: #414A9C;
}
@media (hover: hover) {
  .news .article-txt p a:hover {
    text-decoration: none;
  }
}
.news .article-txt pre {
  width: 100%;
  font-size: clamp(1.6rem, calc(1.6rem + 0.104vw), 1.8rem);
  line-height: 1.667;
  white-space: pre-wrap;
  padding: 10px 0;
}
.news .article-txt table {
  max-width: 100%;
  margin: 10px 0;
}
.news .article-txt ul, .news .article-txt ol {
  padding: 10px 0 10px 1.5em;
}
.news .article-txt hr {
  margin-bottom: 10px;
}
.news .article-txt .wp-video {
  padding: 20px;
}
.news .article-txt iframe {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  padding: 20px;
}
.news .article-btn {
  display: flex;
  align-items: center;
  gap: 15px;
  width: fit-content;
  margin: 0 auto 90px;
}
.news .article-btn a {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 220px;
  height: 40px;
  color: #fff;
  font-size: 1.4rem;
  background: #707070;
  border-radius: 7px;
  border: 1px solid transparent;
}
.news .article-btn a[rel="prev"]::before, .news .article-btn a[rel="next"]::before {
  content: '';
  position: absolute;
  width: 8px;
  height: 14px;
  top: 50%;
  transform: translateY(-50%);
  mask-repeat: no-repeat;
  background: #fff;
  mask-size: contain;
  mask-image: url("../shared/img/icon_arrow.svg");
  mask-mode: luminance;
}
.news .article-btn a[rel="prev"]::before {
  left: 10px;
  transform: scale(-1, 1) translateY(-50%);
}
.news .article-btn a[rel="next"]::before {
  right: 10px;
}
@media (hover: hover) {
  .news .article-btn a:hover {
    color: #707070;
    background: #fff;
    border-color: #707070;
  }
  .news .article-btn a:hover::before {
    background: #707070;
  }
}
.news .link-btn {
  margin: 0 auto;
  font-weight: 400;
}
.news .link-btn::after {
  content: none;
}
@media screen and (max-width: 1300px) {
  .news .article-txt {
    padding: 0 50px;
  }
  .news .article-txt p:has(img) img {
    width: 70%;
  }
}
@media only screen and (max-width: 768px) {
  .news .article-info {
    padding: 5px 15px 5px 10px;
  }
  .news .article-info span {
    padding: min(0.51vw, 2px) min(1.28vw, 5px);
  }
  .news h3 {
    padding: 0 25px;
  }
  .news .article-txt {
    padding: 0 25px;
    margin-bottom: 75px;
  }
  .news .article-txt h1, .news .article-txt h2, .news .article-txt h3, .news .article-txt h4, .news .article-txt h5, .news .article-txt h6 {
    padding: 5px 0;
  }
  .news .article-txt p {
    padding: 7px 0;
  }
  .news .article-txt p:has(img) {
    margin: 20px 0;
  }
  .news .article-txt p:has(img) img {
    width: 90%;
  }
  .news .article-txt ul {
    padding: 7px 0 7px 1.5em;
  }
  .news .article-txt ul li ul {
    padding: 0 0 0 1.0em;
  }
  .news .article-txt ol {
    padding: 7px 0 7px 1.5em;
  }
  .news .article-txt ol li ol {
    padding: 0 0 0 1.0em;
  }
  .news .article-txt .wp-video {
    padding: 10px;
  }
  .news .article-txt iframe {
    padding: 10px;
  }
  .news .article-btn {
    gap: 10px;
    margin-bottom: 75px;
  }
  .news .article-btn a {
    width: 130px;
  }
  .news .article-btn a[rel="prev"] {
    padding-left: 15px;
  }
  .news .article-btn a[rel="next"] {
    padding-right: 15px;
  }
  .news .link-btn {
    max-height: 60px;
    font-size: 1.8rem;
  }
}
