/*
Theme Name: News
Theme URI:
Author:
Description:
Version: 1.0
*/


.sideList {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.sideList li a {
  position: relative;
  display: inline-block;
  padding-bottom: 2px;
  color: #b7183f;
  font-size: 13px;
  line-height: 1.2;
  text-decoration: none;
}
.sideList li a::before,
.sideList li.is-current a::after,
.sideList li a:hover::after {
  content: "";
  position: absolute;
  left: 0;
  width: 100%;
  height: 1px;
  background: #b7183f;
}
.sideList li a::before {
  bottom: 0;
}
.sideList li.is-current a::after,
.sideList li a:hover::after {
  bottom: -3px;
}

.newsList {
  padding-top: 0 !important;
}
.newsList ul {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: auto;
  column-gap: 34px;
  list-style: none;
}
.newsList ul li {
  display: grid;
  grid-template-rows: subgrid;
  grid-row: span 4;
  row-gap: 0;
  position: relative;
  width: 100%;
  padding: 0 0 60px;
  line-height: 1.4;
}
.newsList ul li a {
  text-decoration: none;
}
.newsList ul li a:hover {
  text-decoration: underline;
}
.newsList div {
  padding-top: 0;
}
.newsList ul li figure {
  margin: 0 0 16px;
}
.newsList ul li figure a {
  display: block;
  aspect-ratio: 1 / 1;
}
.newsList ul li figure img {
  max-width: 100%;
  width: 100%;
  height: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}
.newsList ul li .tag {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  column-gap: 5px;
  row-gap: 5px;
  margin: 0 0 15px;
}
.newsList ul li .tag span {
  display: inline-block;
  padding: 2px 5px;
  color: #b7183f;
  font-size: 10px;
  line-height: 1.8;
  border-radius: 3px;
  border: 1px solid #b7183f;
}
.newsList ul li .text {
  margin: 0 0 36px;
  font-size: 16px;
  font-weight: 600;
}
.newsList ul li .group {
  display: flex;
  flex-direction: row-reverse;
  justify-content: space-between;
  padding: 0 0 10px;
  border-bottom: 1px solid #b7183f;
}
.newsList ul li .more a {
  position: relative;
  display: inline-block;
  padding-right: 20px;
}
.newsList ul li .more a::after {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  border-width: 2px 2px 0 0;
  border-style: solid;
  border-color: #b7183f;
  transform: rotate(45deg);
}

.newsSingle {
  line-height: 1.7;
}
.newsSingle div {
  padding-top: 0;
}
.newsSingle p {
  font-size: 1rem;
}
.newsSingle a {
  color: #b7183f;
  text-decoration: underline;
  font-weight: normal;
}
.newsSingle a:hover {
  text-decoration: none;
}
.newsSingle img {
  max-width: 100%;
  height: auto;
}
.newsSingle h2 {
  margin: 20px 0 10px;
  font-size: 22px;
  font-weight: bold;
  line-height: 1.4;
  text-align: left;
}
.newsSingle h3 {
  font-size: 18px;
  font-weight: bold;
  line-height: 1.4;
  margin-top: 32px;
}
.newsSingle h4 {
  font-size: 16px;
  font-weight: bold;
  margin-top: 20px;
}
.newsSingle h5 {
  font-weight: bold;
  margin-top: 20px;
}
.newsSingle strong {
  font-weight: bold;
}
.newsSingle .tag {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  column-gap: 5px;
  row-gap: 5px;
  margin: 0 0 15px;
}
.newsSingle .tag span {
  display: inline-block;
  padding: 2px 5px;
  color: #b7183f;
  font-size: 10px;
  line-height: 1.8;
  border-radius: 3px;
  border: 1px solid #b7183f;
}
.newsSingle .date {
  margin-bottom: 40px;
}
.newsSingle .thumb {
  margin-bottom: 40px;
  text-align: center;
}

span.page-numbers.current {
    margin: 0.5rem;
}
	
a.page-numbers {
    margin: 0.5rem;
}

@media screen and (max-width: 480px) {

.newsList ul {
  column-gap: 20px;
}

.sp_navList{
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(50px, 1fr));
  width: 100%;
  padding: 20px 0 10px;
}
.sp_navList li{
  line-height: normal;
  box-sizing: border-box;
}
.sp_navList li a{
  width: 100%;
  display: inline-block;
  padding: 8px 0;
  color: #b4063d;
  border: 1px solid #b4063d;
  text-align: center;
}
.sp_navList li.is-current a {
  color: white;
  background-color: #b4063d;
}

.newsSingle h2 {
  margin: 15px 0 10px;
  font-size: 20px;
}
.newsSingle h3 {
  font-size: 16px;
  margin-top: 20px;
}
.newsSingle h4 {
  font-size: 14px;
}

}
