@charset "utf-8";
.hanyo .contentIn {
  padding: 0 15px;
}
ul.snsBtn {
  margin: 0;
  width: 100%;
  float: none;
}
.clearfix:after {
  display: none;
}
ul.list li a {
  display: grid;
}
ul.list li img {
  /* box-sizing: border-box; */
  aspect-ratio: 16/9;
  object-fit: contain;
  background: #ffffff;
}

@media screen and (min-width: 900px) {
  .hanyo{
    font-size: 12px;
    line-height: 1.5;
  }
  #heading {
    padding-bottom: 0;
    margin-bottom: 30px;
    background-color: #f5f5f5;
  }
  #heading ul.breadcrumb {
    display: flex;
    padding: 10px 0;
    margin-bottom: 0;
  }
  div.category-heading {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 90px 0;
  }
  div.category-heading-contents {
    display: flex;
    align-items: center;
    font-weight: bold;
    color: #09529e;
  }
  div.category-heading-ttl {
    font-size: 72px;
  }
  div.category-heading-ruby {
    font-size: 21px;
    border-bottom: 2px solid;
    padding-bottom: 0.5em;
    margin-left: 1em;
    margin-bottom: -1em;
  }
  ul.list {
    display: flex;
    flex-wrap: wrap;
    /* justify-content: space-between; */
    width: 1280px;
  }
  ul.list li {
    width: 400px;
    margin-bottom: 60px;
    margin-right: 40px;
  }
  ul.list li:nth-child(3n) {
    margin-right: 0;
  }
  /*
  ul.list li p {
    font-size: 12px;
    margin: 0 10px;
    margin-left: 2px;
  }
  */
  ul.list li img {
    border: 2px solid #e3e3e3;
    border-radius: 10px;
  }
  ul.list li p.title {
    font-size: 16px;
  	margin: 0.5em 0;
  	line-height: 1.5;
  }
  ul.list li p.title a {
    color:#464646;
  	font-weight: bold;
  }
  ul.list li p.desc {
    color: #a9a9a9;
    font-size: 12px;
    display: inline-block;
    margin-bottom: 10px;
  }

}

@media screen and (max-width: 899px) {
  #heading {
    margin-bottom: 15px;
    background-color: #f5f5f5;
  }
  #heading ul.breadcrumb {
    padding: 10px 0;
    margin-bottom: 0;
    background-color: #f5f5f5;
    display: block;
  }
  #heading ul.breadcrumb li {
    display: inline;
    float: none;
  }
  div.category-heading {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 15px 0 30px;
  }
  div.category-heading-contents {
    display: flex;
    align-items: center;
    font-weight: bold;
    color: #09529e;
  }
  div.category-heading-ttl {
    font-size: 36px;
  }
  div.category-heading-ruby {
    font-size: 16px;
    border-bottom: 2px solid;
    padding-bottom: 0.5em;
    margin-left: 1em;
  }
  h2.style01 {
    position: relative;
    padding: 0 0 10px 0;
    margin-bottom: 30px;
    border-bottom: solid 2px #bdd9ff;
    font-size: 4vw;
  }
  h2.style01::after {
    border-bottom: solid 5px #5e91c6;
    bottom: -3px;
    position: absolute;
    content: "";
    display: block;
    border-bottom: solid 4px #5e91c6;
    bottom: -2px;
    left: 0;
    width: 50px;
  }
  ul.list {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
  }
  ul.list li {
    width: 48%;
    margin-right: 0;
    margin-bottom: 30px;
  }
  ul.list li:nth-last-child(1),
  ul.list li:nth-last-child(2) {
    margin-bottom: 0;
  }
  ul.list li .announce-red {
    padding: 0 10px;
  }
  ul.list li img {
    border: 1px solid #e3e3e3;
    border-radius: 5px;
  }
  ul.list li p.title {
    margin: 0.25em 0 0.5em;
    font-size: 13px;
    font-weight: bold;
  }
  ul.list li p.desc {
    font-size: 10px;
    line-height: 1.5;
  }

  /******
  記事
  *****/
  #contentsBox h2:first-child {
    margin: 0 calc(50% - 50vw);
    width: 100vw;
  }
}
