@charset "utf-8";
#main {
  margin-left: 0;
  margin-right: 0;
}
.blog-main-img {
}

.ai-block,
.category-block {
  border-radius: 5px;
  padding: 10px 10px;
  position: relative;
  background-color: #ffffff;
  margin: 80px 10px 0 10px;
}

.ai-block h1,
.category-block h1 {
  display: block;
  position: absolute;
  top: -30px;
  left: 15px;
  color: var(--color-secondary);
  font-size: 22px;
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 700;
}
ul.post-index li {
  width: 100%;
  overflow: hidden;
  margin-bottom: 10px;
  position: relative;
  padding-bottom: 10px;
  border-bottom: 1px solid #eeeeee;
}
ul.post-index a {
  display: block;
  text-decoration: none;
}
ul.post-index li:last-child {
  border-bottom: none;
  padding-bottom: 0;
  margin-bottom: 0;
}
/*左側
-------------------------------------------------------*/
ul.post-index .post_thumbnail {
  width: 46%;
  float: left;
}

ul.post-index .post_thumbnail img {
  width: 100%;
  height: auto;
  vertical-align: bottom;
  padding: 0;
  margin-bottom: 0;
  border-radius: 3px;
}
/*右側
-------------------------------------------------------*/
ul.post-index .head {
  width: 52%;
  float: right;
  padding-top: 0px;
}
ul.post-index .head h2 {
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 700;
  font-style: normal;
  font-size: 12px;
  line-height: 18px;
  background-image: none;
  border: none;
  margin: 0;
  padding: 0;
  height: auto;
  padding-top: 0px;
}
ul.post-index .head .post-dates {
  font-size: 12px;
  background-image: url(/wp/wp-content/themes/aisiteru/images/icon/time_bl.png);
  background-repeat: no-repeat;
  background-size: 12px auto;
  background-position: left center;
  padding: 0 0 0 16px;
  margin-bottom: 0px;
  color: var(--color-text);
}
ul.post-index .head .post-content {
    color: var(--color-text);
  }
@media only screen and (min-width: 680px) {
  .ai-block,
  .category-block {
    padding: 0;
    margin: 33px 0 0 0;
  }
  .ai-block h1,
  .category-block h1 {
    top: -40px;
    left: 25px;
  }
  ul.post-index {
    padding: 50px;
  }
  ul.post-index li {
    margin-bottom: 15px;
    padding-bottom: 15px;
  }
  ul.post-index li:last-of-type {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
  }
  /*左側
-------------------------------------------------------*/
  ul.post-index .post_thumbnail {
    overflow: hidden;
    width: 35%;
  }
  ul.post-index a img {
    transition-duration: 0.3s;
  }
  /*右側
-------------------------------------------------------*/
  ul.post-index .head {
    width: 60%;
    float: right;
  }
  ul.post-index .head h2 {
    font-size: 16px;
    line-height: 24px;
    margin: 0;
    padding: 0;
    transition-duration: 0.3s;
    overflow: hidden;
  }
  ul.post-index .head h2 span {
    margin: 0;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
  }
  ul.post-index .head .post-title {
    margin-bottom: 10px;
    padding-bottom: 0;
  }
  ul.post-index .head .post-content {
    overflow: hidden;
  }
  ul.post-index .head .post-content p {
    font-size: 13px;
    line-height: 20px;
    margin: 0;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
  }
}
