/*
 * This CSS summarizes the unique style of blog posts.
 * It focuses on styling intended to be used in <div class="library-blog">~</div>.
 */
#body_library .library-blog h2 {
  border-top: 3px solid;
  border-bottom: 3px solid;
  padding: 10px;
  box-sizing: border-box;
  margin-top: 60px;
  margin-bottom: 20px;
  color: #217fc4;
}
#body_library .library-blog h3 {
  color: #217fc4;
  padding: 0.25em 0.5em;
  color: #494949;
  background: transparent;
  border-left: solid 3px #217fc4;
  margin: 30px 0 10px;
}
#body_library .library-blog h4 {
  font-weight: bold;
  padding: 5px;
  border-bottom: dotted 2px #217fc4;
  margin-bottom: 15px;
}
#body_library .library-blog p strong {
  color: red;
}
#body_library .library-blog p {
  margin: 0 0 25px 0;
}
#body_library .library-blog strong {
  color: red;
}
/* blockquote */
#body_library .library-blog blockquote {
  position: relative;
  padding: 10px 15px 10px 60px;
  box-sizing: border-box;
  font-style: italic;
  background: #f5f5f5;
  color: #777777;
  margin-bottom: 50px;
  border-left: 4px solid #217fc4;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.14);
}
#body_library .library-blog blockquote:before {
  display: inline-block;
  position: absolute;
  top: 7px;
  left: 0;
  content: '"';
  font-family: sans-serif;
  color: #9dd4ff;
  font-size: 90px;
  line-height: 1;
}
#body_library .library-blog blockquote.is-no-dash:before {
  display: none;
}
#body_library .library-blog blockquote p {
  padding: 0;
  margin: 7px 0;
  line-height: 1.7;
  text-indent: 2em;
}
#body_library .library-blog blockquote cite {
  display: block;
  text-align: right;
  color: #888888;
  font-size: 0.9em;
}
/* table.blog_table01 */
#body_library .library-blog table.blog_table01 {
  border-collapse: collapse;
  border: solid 2px #6298c0;
  width: 100%;
  margin: 30px auto;
}
#body_library .library-blog table.blog_table01 th {
  background: #eef8ff;
  color: #217fc4;
  font-weight: bold;
  text-align: left;
}
#body_library .library-blog table.blog_table01 th,
#body_library .library-blog table.blog_table01 td {
  box-sizing: border-box;
  border: 1px dashed #6298c0 ;
  padding: 5px;
}
#body_library .library-blog table.blog_table01 thead th {
  text-align: center;
}
/* list-style */
#body_library .library-blog .i_olmaru {
  counter-reset: my-counter;
  list-style: none;
  padding: 0;
  margin-bottom:30px;
}
#body_library .library-blog .i_olmaru li {
  font-size: 16px;
  line-height: 1.5;
  padding-left: 2em;
  position: relative;
  margin-bottom: 8px;
}
#body_library .library-blog .i_olmaru li:before {
  content: counter(my-counter);
  counter-increment: my-counter;
  background-color: #217fc4;
  border: 1px solid;
  border-radius: 50%;
  box-sizing: border-box;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 22px;
  width: 22px;
  color: #ffffff;
  font-size: 85%;
  line-height: 1;
  position: absolute;
  top: 3px;
  left: 0;
}
#body_library .library-blog .i_list01{
  list-style-type:disc;
  padding-left:1.5em;
  margin-bottom:30px;
}
#body_library .library-blog .i_list02{
  margin-bottom:30px;
  padding-left:0.5em;
}
#body_library .library-blog .i_list02 li{border-bottom: dotted 2px #e58b8b;
  position: relative;
  padding:4px 4px 4px 1em;
}
#body_library .library-blog .i_list02  li:before {
  counter-increment: list;
  content: "";
  display: block;
  position: absolute;
  left: 0px;
  height: 0;
  width: 0;
  border-top: 4px solid transparent;
  border-bottom: 4px solid transparent;
  border-left: 7px solid #e15050;
  top: 50%;
  -moz-transform: translateY(-50%);
  -webkit-transform: translateY(-50%);
  -o-transform: translateY(-50%);
  -ms-transform: translateY(-50%);
  transform: translateY(-50%);
}
#body_library .library-blog .i_kakomi01{
padding: 13px;
    margin-bottom: 30px !important;
    border: 2px dashed #ffca71;
    border-radius: 8px;
    background-color: #ffffe0;
}
#body_library .library-blog .i_kakomi_blue {
    padding: 10px;
    margin-bottom: 30px;
    border: 2px dashed #9ed2ff;
    border-radius: 10px;
    background-color: #f0f8ff;
}
#body_library .library-blog .i_youtube_video {
  position: relative;
  padding-top: 56.25%;
  height: 0;
}
#body_library .library-blog .i_youtube_video iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}
/* .example-box */
#body_library .library-blog .example_box {
  position: relative;
  border: solid 3px #3155A6;
  background:#ffffff;
  margin: 2em 0;
  padding: .5em;
}
#body_library .library-blog .example_box h5 {
  background:#3155A6;
  margin-bottom: 1em;
  padding: .5em .25em;
  color: #ffffff;
  line-height: 1.3;
}
#body_library .library-blog :last-child {
  margin-bottom: 0;
}
/* =============================================
Author profile (ap-*)
============================================= */
#body_library .ap-card {
  border: 1px solid #dcdcdc;
  background: #fbfbfb;
  padding: 20px;
  margin: 0 0 10px;
}
#body_library .ap-head {
  display: flex;
  align-items: center;
  gap: 20px;
  margin: 0 0 15px;
}
#body_library .ap-photo {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}
#body_library .ap-info {
  flex: 1;
}
#body_library .library-blog .ap-company {
  font-size: 13px;
  color: #666;
  margin: 0 0 4px;
}
#body_library .library-blog .ap-name {
  font-size: 18px;
  font-weight: bold;
  margin: 0;
}
#body_library .library-blog .ap-bio {
  font-size: 13px;
  line-height: 1.8;
  color: #333;
  margin: 0;
}
#body_library .ap-seminar {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
  margin: 0 0 20px;
}
#body_library .ap-seminar th,
#body_library .ap-seminar td {
  border: 1px solid #dcdcdc;
  padding: 8px 12px;
  text-align: left;
  vertical-align: top;
}
#body_library .ap-seminar th {
  background: #f5f5f5;
  font-weight: bold;
}
#body_library .ap-seminar th:first-child,
#body_library .ap-seminar td:first-child {
  width: 50px;
}
#body_library .ap-seminar a {
  color: #217FC4;
}
#body_library .ap-videos,
#body_library .ap-articles {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  list-style: none;
  margin: 0 0 20px;
  padding: 0;
}
#body_library .ap-videos li,
#body_library .ap-articles li {
  width: calc(33.333% - 14px);
}
#body_library .ap-videos a,
#body_library .ap-articles a {
  display: block;
  color: #333;
  text-decoration: none;
}
#body_library .ap-videos a:hover,
#body_library .ap-articles a:hover {
  opacity: 0.8;
}
#body_library .ap-vthumb {
  position: relative;
  width: 100%;
  padding-top: 56.25%;
  border-radius: 9px 9px 0 0;
  overflow: hidden;
  margin: 0 0 8px;
}
#body_library .ap-vthumb img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
#body_library .library-blog .ap-vtitle {
  font-size: 13px;
  line-height: 1.5;
  margin: 0;
  padding: 0 10px;
}
#body_library .library-blog .ap-date {
  font-size: 12px;
  color: #888;
  margin: 0 0 4px;
  padding: 0 10px;
}
#body_library .library-blog .ap-title {
  font-size: 13px;
  line-height: 1.5;
  margin: 0;
  padding: 0 10px;
}
#body_library .ap-vbox {
  padding: 0 0 10px;
  border: 1px solid #d9d9d9;
  border-radius: 10px;
  box-sizing: border-box;
  background: #fff;
}
/* =============================================
for PC
============================================= */
@media screen and (min-width: 600px) {
  #body_library .ap-seminar th,
  #body_library .ap-seminar td {
    padding: 10px;
    line-height: 1.6;
  }
  #body_library .ap-seminar th:first-child,
  #body_library .ap-seminar td:first-child {
    white-space: nowrap;
    width: 170px;
  }
  #body_library .library-blog .ap-company,
  #body_library .library-blog .ap-bio,
  #body_library .library-blog .ap-vtitle,
  #body_library .library-blog .ap-date,
  #body_library .library-blog .ap-title {
    font-size: 15px;
  }
  #body_library .ap-seminar {
    font-size: 15px;
  }
  #body_library .ap-videos li {
    display: flex;
  }
  #body_library .ap-vbox {
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100%;
  }
  #body_library .ap-articles li {
    display: flex;
  }
  #body_library .ap-abox {
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100%;
    padding: 0 0 10px;
    border: 1px solid #d9d9d9;
    border-radius: 10px;
    box-sizing: border-box;
    background: #fff;
  }
  #body_library .ap-athumb {
    width: 100%;
    margin: 0 0 10px;
    background: #f3f3f3;
    text-align: center;
    border-radius: 10px 10px 0 0;
    overflow: hidden;
  }
  #body_library .ap-img {
    width: clamp(96px, 72%, 112px);
    max-width: 100%;
    height: auto;
    display: inline-block;
    vertical-align: bottom;
  }
  #body_library .library-blog .example_box {
    margin: 3em 0;
    padding: .5em 1em;
  }
  #body_library .library-blog .example_box h5 {
    display: inline-block;
    position: absolute;
    bottom: 100%;
    left: -3px;
    border-radius: 5px 5px 0 0;
    margin-bottom: 0;
    padding: 0 9px;
    height: 28px;
    line-height: 28px;
    font-size: 16px;
    font-weight: bold;
  }
}
/* =============================================
for SP
============================================= */
@media screen and (max-width: 600px) {
  #body_library .library-blog p,
  #body_library .library-blog div:not(.table-of-contents) li {
    font-size: 16px;
    line-height: 1.6;
  }
  #body_library .ap-videos {
    gap: 10px;
  }
  #body_library .ap-vbox p {
    font-size: 13px;
    line-height: 1.3;
  }
  #body_library .library-blog div:not(.table-of-contents) li:not(:last-child) {
    margin-bottom: .75em;
  }
  #body_library .ap-videos li {
    display: flex;
    width: calc(50% - 10px);
  }
  #body_library .ap-articles {
    gap: 0;
    margin: 0 0 20px;
  }
  #body_library .ap-articles li {
    width: 100%;
    border-bottom: 1px solid #ececec;
    padding: 12px 0;
  }
  #body_library .ap-articles li:last-child {
    border-bottom: none;
  }
  #body_library .ap-articles .ap-abox {
    display: flex;
    flex-direction: row;
    gap: 12px;
  }
  #body_library .ap-athumb {
    flex-shrink: 0;
  }
  #body_library .ap-img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    display: block;
  }
  #body_library .ap-body {
    flex: 1;
  }
  #body_library .ap-articles .ap-date,
  #body_library .ap-articles .ap-title {
    font-size: 12px;
    padding: 0;
  }
}