@charset "utf-8";

/*メイン画像*/

.p-info__main {
  margin-bottom: 5rem;
  padding: 50px 0 50px;
  height: auto;
  background: url('../images/index/about-bg.svg') no-repeat top center / 140%, linear-gradient(white 1%, #ebf7fc 1%, #ebf7fc 50%, #ebf7fc 100%);
  position: relative;
}

@media (min-width: 768px) {
  .p-info__main {
    padding: 100px 0 50px;
    background: url('../images/index/about-bg.svg') no-repeat top center / 100%, linear-gradient(white 2%, #ebf7fc 2%, #ebf7fc 50%, #ebf7fc 100%);
    height: auto;
    margin-bottom: 5rem;
  }
}

.p-info__list .article {
  display: grid;
  gap: 30px;
}

.p-info__list .article li a {
  width: 100%;
  padding: 1.5rem;
  background-color: white;
  border-radius: 1.5rem;
  display: block;
}

.p-info__list .article li a .photo {
  width: 100%;
  aspect-ratio: 6 / 4;
  overflow: hidden;
  position: relative;
}

.p-info__list .article li a .photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
  transition: 0.3s;
}

.p-info__list .article li a:hover .photo img {
  transform: scale(1.2);
}

.p-info__list .article li a .data {
  font-size: 14px;
  margin-top: 20px;
  display: block;
}

.p-info__list .article li a .title {
  font-size: 16px;
  font-weight: bold;
}

.p-info__list .article li a .cat {
  margin-top: 20px;
}

.p-info__list .article li a .cat span {
  display: inline-block;
  padding: 5px 10px;
  margin: 5px 10px 0 0;
  background-color: #eef2f2;
  border-radius: 100vh;
}

@media screen and (min-width: 768px) { 
  .p-info__list .article {
    grid-template-columns: repeat(3, 1fr);
    gap: 30px 20px;
  }
  
.p-info__list .article li a {
    height: 100%;
  }
}


.p-info__single .article .data {
  font-size: 18px;
}

.p-info__single .article .title {
  font-size: 24px;
}

.p-info__single .article .thumbnail {
  margin-top: 20px;
}

.p-info__single .article .thumbnail img {
  height: auto;
}

.p-info__single .article .comment {
  margin-top: 20px;
}

.p-info__single .article-nav {
  margin-top: 50px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.p-info__single .article-nav .linkbtn {
  color: #acacac;
}

.p-info__single .article-nav .linkbtn.list {
  margin: 0 20px;
}

.p-info__single .article-nav .linkbtn a {
  color: black;
}

.p-info__single .article-nav .linkbtn a:hover {
  text-decoration: underline;
}

@media screen and (min-width: 768px) {
  .p-info__single .article .data {
    font-size: 20px;
  }

  .p-info__single .article .title {
    font-size: 25px;
  }

  .p-info__single .article .thumbnail {
    margin-top: 30px;
  }

  .p-info__single .article .comment {
    margin-top: 40px;
  }

  .p-info__single .article-nav {
    margin-top: 100px;
  }

}

.c-page-nav {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  margin-top: 40px;
}

@media screen and (min-width: 768px) {
  .c-page-nav {
    margin-top: 80px;
  }
}

.c-page-nav .current {
  min-width: 32px;
  line-height: 30px;
  font-size: 15px;
  font-weight: bold;
  text-align: center;
  display: block;
  color: black;
}

@media screen and (min-width: 768px) {
  .c-page-nav .current {
    min-width: 42px;
    line-height: 40px;
  }
}

.c-page-nav a {
  min-width: 32px;
  display: block;
  line-height: 30px;
  font-size: 15px;
  font-weight: bold;
  text-align: center;
  letter-spacing: initial;
  border-radius: 100vh;
  color: white;
  background-color: black;
  margin: 5px;
  -webkit-transition: .3s;
  transition: .3s;
}

@media screen and (min-width: 768px) {
  .c-page-nav a {
    min-width: 42px;
    line-height: 40px;
  }
  .c-page-nav a:hover {
    color: white;
    border-color: black;
    background-color: black;
  }
}

.c-page-nav a.prev, .c-page-nav a.next {
  color: black;
  background-color: initial;

}

.c-page-nav a.prev {
  margin-right: 20px;
}

.c-page-nav a.next {
  margin-left: 20px;
}

@media screen and (min-width: 768px) {
  .c-page-nav a.prev, .c-page-nav a.next {
    height: 42px;
  }
}


.c-page-nav .no_link {
  display: none;
}