@charset "utf-8";

body {
  background-image: none;
}

#fv {
  background-image: url(../img/news_fv.webp);
}

@media (max-width: 519px) {
  #fv {
    background-image: url(../img/news_fv_sp.webp);
    height: 180px;
  }
}

#news {
  margin-top: 45px;
  padding-bottom: 65px;
  max-width: 938px;
}

#news .nav-links {
  display: flex;
  justify-content: center;
  -moz-column-gap: 30px;
  -webkit-column-gap: 30px;
  column-gap: 30px;
  margin-bottom: 45px;
}

@media (max-width: 959px) {
  #news .nav-links {
    flex-direction: column;
    -moz-row-gap: 10px;
    -webkit-row-gap: 10px;
    row-gap: 10px;
  }
}

#news .nav-links .btn.active {
  /* background-color: #D1CAC4; */
  background-color: #e3dfdc;
  border: 1px solid #D2C081;
  color: #B6AE93;
}

#news .nav-links .btn.arr.active::after {
  border-right-color: #B6AE93;
  border-top-color: #B6AE93;
}

#news .nav-links .btn.arr.active:hover::before {
  /* background-color: #B39E54; */
  content: none;
}

#news .nav-links .btn.arr.active:hover::after {
  right: 35px;
}

#news .ttl {
  color: #8A2222;
  text-align: center;
  font-size: 32px;
  letter-spacing: 1.5px;
}

#news .content {
  width: 100%;
}

#news .list li {
  border-bottom: 1px solid #C49979;
}

#news .list li a {
  display: flex;
  align-items: center;
  padding: 20px 4px;
}

#news .list li .date {
  flex-shrink: 0;
  width: 115px;
  font-size: 13px;
}

#news .list li p {
  color: #0042C3;
  text-decoration: underline;
}

#news .list li a:hover p {
  color: #8A2222;
  text-decoration: none;
}

@media (max-width: 959px) {
  #news .content {
    margin-top: 20px;
  }
}

@media (max-width: 519px) {
  #news {
    margin-top: 40px;
    padding-bottom: 40px;
  }

  #news .list li a {
    display: block;
    padding: 15px 4px;
  }

  #news .list li p {
    margin-top: 5px;
  }

  #news .nav-links .btn.arr {
    padding: 13px 55px 13px 40px;
  }

  #news .ttl {
    font-size: 28px;
  }

  #news .content {
    margin-top: 10px;
  }
}

#news .card {
  padding-top: 45px;
}

#news .card ul {
  display: flex;
  justify-content: flex-start;
  flex-wrap: wrap;
  -moz-column-gap: 2%;
  -webkit-column-gap: 2%;
  column-gap: 2%;
  row-gap: 20px;
}

#news .card li {
  display: flex;
  width: 32%;
}

@media (max-width: 519px) {
  #news .card ul {
    -moz-column-gap: 4%;
    -webkit-column-gap: 4%;
    column-gap: 4%;
  }

  #news .card li {
    width: 48%;
  }
}


#news .card li a {
  display: flex;
  flex-direction: column;
  background: #fff;
  box-shadow: 0px 2px 10px 0px #794F4F33;
}

#news .card .img {
  overflow: hidden;
  width: 100%;
}

#news .card .img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: all ease 0.3s;
  transform-origin: center;
  aspect-ratio: 86 / 55;
}

#news .card a:hover .img img {
  transform: scale(1.05);
  opacity: 0.8;
}

#news .card a p {
  padding: 10px 5px;
  margin-top: auto;
  margin-bottom: auto;
  text-align: center;
  line-height: 1.4;
}

#news .card .text {
  padding: 8px 16px;
  text-align: center;
}

@media (max-width: 519px) {
  #news .card a p {
    font-size: 14px;
  }
  #news .card .text {
    padding-left: 10px;
    padding-right: 10px;
    font-size: 14px;
  }
}

#news-detail .content {
  max-width: 1000px;
  margin: auto;
  padding-top: 56px;
  padding-bottom: 32px;
}

#news-detail .header {
  text-align: center;
  border-bottom: 1px solid #D1CAC4;
  padding-bottom: 16px;
}

#news-detail .header .icon .text {
  color: #B39E54;
  font-size: 14px;
  margin-top: 8px;
  margin-bottom: 16px;
}

#news-detail .header .ttl {
  font-size: 32px;
  color: #000000;
  letter-spacing: 1.5px;
}

#news-detail .header .date {
  font-style: 16px;
  color: #999999;
}

#news-detail .body {
  padding: 36px 45px;
  color: #000000;
  font-size: 16px;
  line-height: 1.8;
  letter-spacing: 1.5px;
}

#news-detail .body h4,
#news-detail .body h5,
#news-detail .body p {
  margin-bottom: 1em;
}
#news-detail .body p {
  padding: 0 50px;
}

#news-detail .body h4 {
  color: #8A2222;
  font-size: 24px;
  line-height: 1.5;
  padding-bottom: 10px;
  /* border-bottom: 3px solid #D6CDAF; */
  position: relative;
}

#news-detail .body h4::before {
  content: "";
  display: block;
  width: 100%;
  height: 3px;
  background: #D6CDAF;
  position: absolute;
  bottom: 0;
}

#news-detail .body h5 {
  color: #000000;
  font-size: 20px;
  line-height: 1.5;
  display: flex;
  align-items: center;
}

#news-detail .body h5::before {
  content: "";
  display: block;
  width: 20px;
  height: 3px;
  margin-right: 10px;
  background: #8A2222;
}

#news-detail .body a {
  color: #0042C3;
  text-decoration: underline;
}

#news-detail .body a:hover {
  color: #8A2222;
  text-decoration: none;
}

#news-detail .body img {
  max-width: 100%;
}

#news-detail .footer {
  border-top: 1px solid #D1CAC4;
  padding-top: 32px;
  display: flex;
  justify-content: space-between;
  position: relative;
}

#news-detail .footer .prev,
#news-detail .footer .next {
  background: #C1B074;
  border-color: #C1B074;
}

#news-detail .footer .btn.arr.prev {
  padding: 15px 40px 15px 55px;
}

#news-detail .footer .prev::after {
  transform: rotate(225deg);
  left: 35px;
}

#news-detail .footer .prev:hover::after {
  left: 30px;
}

#news-detail .footer .prev.disabled,
#news-detail .footer .next.disabled {
  /* background-color: #D1CAC4; */
  background-color: #e3dfdc;
  border: 1px solid #D2C081;
  color: #B6AE93;
  /* cursor: not-allowed; */
}

#news-detail .footer .prev.disabled::before,
#news-detail .footer .next.disabled:before {
  content: none;
}

#news-detail .footer .prev.disabled::after,
#news-detail .footer .next.disabled::after {
  border-right-color: #B6AE93;
  border-top-color: #B6AE93;
}

#news-detail .footer .prev.disabled::after {
  left: 35px;
}

#news-detail .footer .next.disabled::after {
  right: 35px;
}

@media (max-width: 519px) {
  #news-detail .header .icon img {
    width: 50px;
  }

  #news-detail .header .ttl {
    font-size: 24px;
  }

  #news-detail .body {
    padding: 36px 0;
  }

  #news-detail .body h4,
  #news-detail .body h5,
  #news-detail .body p {
    padding-right: 0;
    padding-left: 0;
  }

  #news-detail .body h4::before {
    width: 100%;
  }

  #news-detail .body h4 {
    font-size: 22px;
  }

  #news-detail .body h5 {
    font-size: 18px;
  }

  #news-detail .footer {
    flex-wrap: wrap;
    gap: 10px;
    padding-bottom: 70px;
  }

  #news-detail .footer .btn {
    width: 100%;
  }

  #news-detail .footer .prev,
  #news-detail .footer .next {
    width: calc(50% - 5px);
  }
  #news-detail .footer .next {
    text-align: right;
  }

  #news-detail .footer .back_list {
    width: 100%;
    order: 5;
  }
}