@charset "utf-8";

main {
  padding-top: var(--space-top);
  background-image: url(../images/decoration/light2.png);
  background-repeat: no-repeat;
  background-position: left top 85px;
  background-size: contain;
}

.voice-wrapper {
  margin: 2rem 0;
}

.property {
  color: #858585;
  margin-bottom: 0.5rem;
}

article {
  background-color: #fff;
  color: #333;
  padding: 1rem;
}

article h2 {
  font-size: 22px;
  color: var(--main-color);
  font-family: hiragino-kaku-gothic-pron, sans-serif;
  font-weight: bold;
}

article h2 span {
  display: block;
  color: #231815;
  font-size: 19px;
  margin-top: 1rem;
  font-weight: normal;
}

.thumbnail {
  margin: 1rem 0;
  aspect-ratio: 3 / 2;
}

.thumbnail img {
  width: 100%;
  height: 100%;
}

.voice-category {
  text-align: center;
}

.category-title {
  font-family: fot-tsukuaoldmin-pr6n, sans-serif;
  font-weight: 300;
  font-style: normal;
  font-size: 21px;
}

.category-contents li {
  line-height: 1.8;
}

.pagenation {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  column-gap: 4%;
  row-gap: 8px;
  margin: 2rem 0;
}

.pagenation a {
  color: var(--main-color);
  background-color: #fff;
  text-align: center;
  display: block;
  width: 48%;
  padding: 1rem;
}

.pagenation a:last-child {
  width: 100%;
}

time {
  color: #858585;
  font-size: 12px;
}

.d-flex p {
  font-size: 10px;
  color: #fff;
  background-color: var(--main-color);
  line-height: 1.5;
  padding: 3px 5px;
  margin-bottom: 0;
}

@media screen and (min-width:1200px) {

  main {
    background-position: left top;
  }

  h1 {
    margin-bottom: 5rem;
  }

  .voice-wrapper {
    background-color: #344b6b;
    padding: 2rem;
    margin: 0;
  }

  article {
    padding: 2rem;
  }

  .voice-category {
    text-align-last: left;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .category-title {
    display: inline-block;
  }

  .category-contents {
    width: 100%;
    height: 100%;
    padding-left: 3rem;
    position: relative;
  }

  .category-contents::before {
    content: '';
    display: block;
    width: 15px;
    height: 50%;
    background-image: url(../images/decoration/line-g.png);
    background-repeat: no-repeat;
    background-size: contain;
    position: absolute;
    left: 1rem;
    top: 0;
  }

  .categry-contents ul li a {
    display: block;
    width: 100%;
    height: 100%;
  }

  .pagenation a {
    width: 20%;
    font-size: 21px;
    padding: 1rem 2rem;
  }

  .pagenation a:nth-child(1) {
    order: 1;
  }

  .pagenation a:nth-child(2) {
    order: 3;
  }

  .pagenation a:nth-child(3) {
    order: 2;
    width: auto;
  }
}