header {
  height: 30vw;
  max-height: 600px;
  background: url(./img/news/back/news_bg.png) 40% 0;
  background-size: 30%;
  background-attachment: local;
  background-repeat: no-repeat;
}

main {
  background: url(./img/news/back/main_bg.png) 90% 0;
  background-repeat: repeat-y;
  background-size: 20%;
  margin-top: -18%;
}

main>div {
  width: 90%;
  margin: auto;
  display: flex;
  justify-content: space-between;
}

/* サイドメニュー */
aside {
  margin-left: 0%;
  width: 30%;
}

h2 {
  font-size: min(max(2.4vw), 1.2rem);
  margin-top: 0;
}

.news_archives {
  overflow-y: scroll;
  list-style: none;
  padding: 0;
  padding-right: 1%;
  height: 60vh;
  margin: 0;
  margin-top: 2%;
}

.news_archives li {
  width: 100%;
  padding: 0;
  display: flex;
  margin: 5% 0;
  align-items: center;
  cursor: pointer;
}

.news_archives li img {
  width: 4.5vw;
  max-width: 110px;
  height: 4.5vw;
  max-height: 110px;
  object-fit: cover;
  font-family: 'object-fit: cover;';
  box-shadow: 1px 1px 5px rgb(146, 146, 146);
}

.news_archives p {
  display: none;
}

.news_content {
  padding-left: 5%;
  width: 65%;
}

.news-date {
  color: gray;
  margin-bottom: 1%;
  font-size: min(max(1vw), 0.5rem)
}

.news-title {
  letter-spacing: 1px;
  font-size: min(max(1vw), 0.5rem);
  font-weight: normal;
  padding: 0;
  margin: 0;
}

.news_archives li::after {
  content: "▶";
  margin: auto 3%;
  display: block;
  font-size: min(max(2vw), 1rem)
}

.news_content a {
  display: inline-block;
  margin: 0;
  text-decoration-line: underline;
}

.news_content a::after {
  content: "";
}

/* コンテンツ */
.contents {
  width: 65%;
  margin-top: -2%;
  margin-bottom: 3%;
}

section {
  width: 81%;
  margin-bottom: 4rem;
  padding-top: 4rem;
  margin-top: -4rem;
}

section img {
  margin: auto;
  display: block;
  margin-bottom: 3%;
  box-shadow: 2px 2px 7px gray;
}

/*縦長の画像*/
img.vertical {
  width: auto;
  max-width: 100%;
  height: 50vw;
  max-height: 800px;
}

/*横長の画像*/
img.oblong {
  width: 100%;
}

section p {
  font-size: min(max(1.6vw), 0.8rem);
  line-height: 1.8;
  display: block;
  padding: 0;
  margin: 0.5rem 0;
}

section a {
  text-decoration-line: underline;
}

.news_archives::-webkit-scrollbar {
  width: 15px;
}

.news_archives::-webkit-scrollbar-thumb {
  background: lightgray;
}

/* safari */
_::-webkit-full-page-media,
_:future,
:root .main_title {
  height: 5vw;
}

_::-webkit-full-page-media,
_:future,
:root .main_title h1 {
  margin-top: -1vw;
}