@charset "UTF-8";
figure img {
  width: 100%;
}

/*===================================
		Blog
===================================*/
/*	記事一覧
-----------------------------------*/
#blog ul {
  display: grid;
  grid-template-columns: repeat(3, 205px);
  gap: 27.5px;
  padding-bottom: 25px;
}
#blog ul li {
  width: 205px;
  margin-bottom: 25px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
#blog ul li figure {
  width: 100%;
  margin-bottom: 10px;
}
#blog ul li h3 {
  flex-grow: 1;
}
#blog ul li p {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
  margin: 10px 0;
}
#blog ul li a {
  display: block;
  background: #0283e9;
  color: #fff;
  width: 100%;
  height: 40px;
  line-height: 40px;
  text-align: center;
  font-size: 110%;
  font-weight: bold;
  transition: all .5s;
  position: relative;
}
#blog ul li a::after {
  position: absolute;
  content: "";
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 5px 0 5px 5px;
  border-color: transparent transparent transparent #fff;
  top: 50%;
  transform: translateY(-50%);
  right: 20px;
}
#blog ul li a:hover {
  text-decoration: none;
  background: #195495;
}

@media only screen and (max-width: 1024px) {
  #blog h2 {
    color: #ff8414;
    margin: 10px 0;
    padding: .25em 0 .5em .75em;
    border-left: 6px solid #ff8414;
    border-bottom: 1px solid #ff8414;
    font-size: .8em;
    text-align: left;
    height: auto;
    background: transparent;
  }
  #blog h2::before, #blog h2::after {
    display: none;
  }
  #blog ul {
    display: block;
  }
  #blog ul li {
    width: 100%;
  }
  #blog ul li h3 {
    margin: 0;
    font-size: 14px;
  }
  #blog ul li p {
    font-size: 12px;
  }
  #blog ul li a {
    width: 60%;
    margin: auto;
  }
}
/*	記事
-----------------------------------*/
article > figure {
  width: 100%;
  margin-bottom: 20px;
}
article section {
  margin-bottom: 40px;
}
article h3 {
  color: #195495;
  font-size: 150%;
  padding-bottom: 10px;
  border-bottom: solid 1px #195495;
  margin-bottom: 20px;
}
article h4 {
  color: #0283e9;
  font-size: 120%;
  margin-bottom: 10px;
}
article h4::before {
  content: "●";
  margin-right: .2em;
}
article h4.number::before {
  display: none;
}
article h5 {
  font-size: 110%;
  margin-bottom: 10px;
  margin-left: 20px;
}
article h5::before {
  content: "■";
  margin-right: .2em;
}
article h5 + p {
  margin-left: 20px;
}
article h5.number::before {
  display: none;
}
article p:not(:last-child) {
  margin-bottom: 20px;
}
article p a {
  color: #0283e9 !important;
  text-decoration: underline !important;
}
article table {
  width: 100%;
}
article table th, article table td {
  padding: 5px;
  border: solid 1px #ccc;
  text-align: center;
}
article table th {
  background: #eee;
}

@media only screen and (max-width: 1024px) {
  article h2 {
    color: #ff8414 !important;
    margin: 10px 0;
    padding: .25em 0 .5em .75em !important;
    border-left: 6px solid #ff8414;
    border-bottom: 1px solid #ff8414;
    font-size: .8em;
    text-align: left;
    height: auto !important;
    background: transparent !important;
  }
  article h2::before, article h2::after {
    display: none;
  }
  article h3 {
    font-size: 14px;
    margin: 0 0 20px 0;
  }
  article h4 {
    font-size: 14px;
  }
  article h5, article p, article table {
    font-size: 12px;
  }
}
