@charset "utf-8";
@import url("https://fonts.googleapis.com/css2?family=Noto+Serif+JP&display=swap");

body {
  background: #6b5851;
}

main {
  max-width: 1200px;
  margin: 150px auto;
}

h1,
h2,
h3,
h4,
p,
li,
figcaption,
a,
time,
dt {
  font-family: "Noto Serif JP", serif;
  color: #e6e6e6;
}

li {
  list-style: none;
}

h1 {
  position: relative;
  font-size: 2.4rem;
  padding: 10px 15px;
}

a {
  text-decoration: none;
}

.news__cntainer {
  width: 80%;
  margin: 0 auto;
}

.c-heading__container {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.breadcrumbs {
  display: flex;
  margin: 15px 0;
}

.breadcrumbs li {
  display: flex;
  align-items: center;
  margin: 0 5px;
  list-style: none;
}

.breadcrumbs li::after {
  display: block;
  content: "";
  width: 8px;
  height: 8px;
  border-top: 2px solid #e6e6e6;
  border-right: 2px solid #e6e6e6;
  transform: rotate(45deg);
  margin-left: 5px;
}

.breadcrumbs li:last-child:after {
  display: none;
}

.post__listitem {
  border-bottom: 2px solid #e6e6e6;
  margin: 50px 0;
}

.post__listitem p {
  font-size: 1.4rem;
  margin: 10px 0;
}

.post__item-text a {
  font-size: 2rem;
}

/* footer {
  position: absolute;
  bottom: 0;
} */

.page-numbers {
  display: flex;
  gap: 12px;
  justify-content: center;
}

.page-numbers a {
  cursor: pointer;
}

.page-numbers.current {
  text-decoration: underline;
  cursor: default;
}

@media (max-width: 800px) {
  main {
    margin: 0;
  }

  .breadcrumbs {
    font-size: 3.8vw;
  }

  .breadcrumbs li::after {
    position: relative;
    top: 0.5vw;
    width: 2vw;
    height: 2vw;
    margin-left: 1vw;
  }
  h1 {
    font-size: 6vw;
  }

  p {
    font-size: 4vw;
  }

  time {
    font-size: 3.8vw;
  }

  .post__item-text a {
    font-size: 4.2vw;
  }

  .post__listitem {
    margin: 8vw 0;
  }

  .post__listitem p {
    font-size: 4vw;
    margin: 4vw 0;
  }
}
