.contents {
  margin: 100px auto;
}

.contentsList {
  max-width: 1300px;
  width: 95%;
  margin:0 auto;
  display: grid;
  grid-auto-flow: column;        
  grid-template-rows: repeat(8, auto); 
  column-gap: 40px;

 
}
.contentsList p:not(.contentsList_item){
  display: none;
}
.contentsList_title .contentsList_title_inner{
  display: block!important;
}
.contentsList_item {

  padding-bottom: 20px;
  margin:10px 10px 20px;
  text-align: left;
  border-bottom: 1px solid #ccc;
  padding-bottom: 15px;
  padding-left:15px ;
}
.contentsList_item a{
  margin: 0;
}

.contentsList_item img {
  text-align: center;
  margin: 0 auto;
  display: block;

}

.contentsList_img {
  display: none;
  background: #20b07c;
  padding: 10px;
  border-radius: 15px;

}

.contentsList_title {
  color: #20b07c;
  font-size: 18px;
  margin-top: 0;
}


@media screen and (max-width: 799.98px) {
  .contents {
    margin: 10vw auto;
  }

  .contentsList {
    width: 95%;
   grid-auto-flow: row;
    grid-template-rows: none;
    grid-template-columns: 1fr;
  }


  .contentsList_item img {
    text-align: center;
    margin: 0 auto;
    display: block;
    width: 50%;
  }
}

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

  .contentsList_item {
    width: 100%;
    margin-bottom: 15px;
    padding-bottom: 15px;
  }

  .contentsList_title {
    color: #20b07c;
    font-size: 14px;
    margin-top:0;
  }
}

/*投稿：一覧ページ*/
.articleList__item {
  border-bottom: 1px solid #ccc;
  padding: 10px;
  margin-bottom: 10px;
}

.xw-article-media__body--title {
  font-size: 1.7rem;
  padding: 4px 8px;
  display: inline-block;
  padding: 3px 0;
  letter-spacing: 0;
}

.article-date {
  color: #bbb;
  font-size: 1.4rem;
}

.modified-date {
  display: none;
}

/*投稿：個別ページ*/


ul.list_article {
  list-style: none;
  margin: 30px 0 0;
  padding: 0;
}


.list_article li {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.75rem 0;
  border-bottom: 1px solid #e5e5e5;
}


.list_article li .img {
  flex: 0 0 160px;
  aspect-ratio: 2 / 1;
  overflow: hidden;
}

.list_article li .img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}


.list_article li .txt {
  flex: 1 1 auto;
  line-height: 1.4;
}


.list_article li .btn_dw {
  flex: 0 0 auto;
}

.list_article li .btn_dw a {
  display: inline-block;
  padding: 0.5em 1.4em;
  background: #1fb07b;
  color: #fff;
  text-decoration: none;
  border-radius: 4px;
  transition: opacity 0.2s;
  border-radius: 5px;
}

.list_article li .btn_dw a:hover {
  opacity: 0.8;
}


@media (max-width: 600px) {
  .list_article li {
    flex-wrap: wrap;
  }

  .list_article li .img {
    flex: 0 0 100%;
    margin-bottom: 0.5rem;
  }

  .list_article li .txt {
    flex: 1 0 100%;
    margin-bottom: 0.5rem;
  }

  .list_article li .btn_dw {
    flex: 0 0 100%;
  }
}

/*headerlogo*/


h1.title-member {
  display: flex;
  color: #fff;
  align-items: end;
}

.p-header__logo h1.title-member {
  width: 50rem;
}

.p-header__logo h1.title-member img {
  width: 29rem;
}

.p-page .c-image {
  margin: 0;
  margin-top: 4em;
}

.p-header__logo h1.title-member p {
  width: 100%;
  font-size: 2.7rem;
  margin-left: 10px;
}

@media (min-width: 800px) {
  .p-header__logo h1.title-member img {
    z-index: 1;
    width: 24rem;
  }

  .p-header__logo h1.title-member p {
    width: 100%;
    font-size: 2rem;
  }
}

@media (max-width: 1000px) {
  .p-header__logo h1.title-member {
    width: 24rem;
    display: block;
    text-align: left;
  }

  .p-header__logo h1.title-member img {
    z-index: 1;
    width: 14rem;
  }

  .p-header__logo h1.title-member p {
    width: 100%;
    font-size: 1.6rem;
  }

}

@media screen and (max-width: 799.98px) {
  .p-header__logo h1.title-member {
    display: flex;
    width: 50rem;

  }

  .p-header__logo h1.title-member img {
    width: 16rem;
  }

  .p-header__logo h1.title-member p {
    width: 100%;
    font-size: 1.8rem;
  }
}

/*ログインページ*/
main.page-member input {
  font-size: 16px;
  max-width: 300px;
  width: 90%;
  padding: 5px;
  margin: 10px 0 10px;
  border-radius: 6px;
  outline: none;
  border: 1px solid #aaa;
  -webkit-transition: all .3s;
  transition: all .3s;
}

main.page-member input[type="submit"] {
  width: 300px;
  display: block;
  margin: 0 auto;
  cursor: pointer;
  text-align: center;
  display: block;
  margin: 30px auto 0;
  background: orange;
  color: #fff;
  padding: 5px 100px;
  border-radius: 20px;
  font-size: 18px;
  background: rgb(151, 224, 92);
  background: -moz-linear-gradient(top, rgba(151, 224, 92, 1) 0%, rgba(97, 196, 25, 1) 56%);
  background: -webkit-linear-gradient(top, rgba(151, 224, 92, 1) 0%, rgba(97, 196, 25, 1) 56%);
  background: linear-gradient(to bottom, rgba(151, 224, 92, 1) 0%, rgba(97, 196, 25, 1) 56%);
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#97e05c', endColorstr='#61c419', GradientType=0);
  background: rgb(129, 221, 53);
  background: -moz-linear-gradient(top, rgba(129, 221, 53, 1) 0%, rgba(87, 193, 5, 1) 56%);
  background: -webkit-linear-gradient(top, rgba(129, 221, 53, 1) 0%, rgba(87, 193, 5, 1) 56%);
  background: linear-gradient(to bottom, rgba(129, 221, 53, 1) 0%, rgba(87, 193, 5, 1) 56%);
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#81dd35', endColorstr='#57c105', GradientType=0);
  box-shadow: inset 0px 0px 0px 2px #fff, inset 0px 0px 0px 3px rgba(151, 224, 92, 1);
  border: 2px rgba(151, 224, 92, 1) solid;
}

.impu-form-line-fr {}

.ihc-login-form-wrap {
  display: flex;
  justify-content: center;
  flex-flow: column;
  width: 100%;
  text-align: center;

}

#ihc_login_form {
  width: auto;
  text-align: left;
  display: block;
  margin: 0 auto;
}

.ihc-hide-login-pw {
  position: relative;
}

.dashicons {
  position: absolute;
  top: 2px;
  right: -24px;

}

h2.screen-reader-text{
  display: none;
}
.nav-links{
 margin-top: 30px;
  display: flex;
  justify-content: center;
}
.page-numbers{
  font-size: 1.1em;
  padding: 10px;
}
.page-numbers.current{
  background-color: rgba(32, 176, 124,.1);
}

.list_article li .img img{
  object-fit: contain;
}