/*
  ブログ詳細
-----------------------------------------------------------------------------------------------*/
.kvheader .header{
  font-size: 2.8rem;
  line-height: 180%;
  padding: 90px 0 0 0;
}
.kvheader {
  min-height: 200px;
  height: auto;
  position: relative;
  padding: 0 50px 70px 50px;
}

/* detailArea */
#detailArea{
  padding-top: 30px;
}

#detailArea .phBox{
  width: 100%;
  max-height: 500px;
  overflow: hidden;
  margin-bottom: 10px;
  transition: all 0.3s;
}
#detailArea .kvMain .phBox{
  max-height: 600px;
}
#detailArea .phBox img{
  width: 100%;
}

#detailArea .blogDetailHeader{
  display: flex;
  justify-content:space-between;
  align-items: flex-end;
  margin-bottom: 15px;
}

#detailArea .blogDetailHeader .categoryBox .ico{
  margin-bottom: 0;
}

#detailArea .blogDetailHeader .year{
  font-size: 1.5rem;
  line-height: 1;
}

/* easy table of content */
#ez-toc-container{
  border: 1px solid #aaa;
  margin: 40px 0 60px;  
}
#ez-toc-container .ez-toc-title-container{
  background-color: #aaa;
  color: #fff;
  padding: 10px 15px;  
}
#ez-toc-container .ez-toc-title-container .ez-toc-title{
  font-size: 1.8rem;
  line-height: 1;
}
#ez-toc-container .ez-toc-link{
  color: #0F3B80;
}
#ez-toc-container .ez-toc-list{
  padding: 15px;
  counter-reset: toc-h2;
}
#ez-toc-container .ez-toc-list > li:not(:last-child){
  margin-bottom: 15px;
  padding-bottom: 15px;
  border-bottom: 1px dotted #CDD7D7;  
}
#ez-toc-container .ez-toc-list > li > .ez-toc-link{
  display: flex;
  align-items: center;
  font-size: 1.6rem;
  font-weight: 700;
  word-break: break-all;
  text-align: justify;
}
#ez-toc-container .ez-toc-list > li > .ez-toc-link::before{
  display: flex;
  justify-content: center;
  align-items: center;
  margin-right: .8em;
  width: 18px;
  height: 18px;
  color: #fff;
  font-size: 1.2rem;
  font-weight: 200;
  background-color: #0F3B80;
  border-radius: 2px;
  opacity: 0.6;
  counter-increment: toc-h2;
  content: counter(toc-h2);
}
#ez-toc-container .ez-toc-list > li > ul > li{
  margin-top: 5px;
  word-break: break-all;
  text-align: justify;
  margin-left: 3em;
}
#ez-toc-container .ez-toc-list > li > ul > li::before{
  content: '・';
  margin-right: .5em;
  color: #CDD7D7;
}

/* blogContentArea */
#blogContentArea{
  margin-bottom: 40px;
  counter-reset: h2;
}
#blogContentArea a{
  color: inherit;
}
#blogContentArea > p{
  margin-bottom: 10px;
  font-size: 1.5rem;
  line-height: 180%;
  word-break: break-all;
}
#blogContentArea h2{
  position: relative;
  background-color: #0F3B80;
  color: #fff;
  font-weight: 700;
  font-size: 2.2rem;
  margin: 60px 0 10px;
  padding: 20px 30px 20px;
  word-break: break-all;
  text-align: justify;
}
#blogContentArea h2::before{
  margin-right: 20px;
  padding-right: 20px;
  border-right: 1px solid rgba(255,255,255,0.4);
  counter-increment: h2;
  content: counter(h2);
}
#blogContentArea h3{
  background-color: #EBEFEF;
  color: #0F3B80;
  font-weight: 700;
  font-size: 1.8rem;
  margin-bottom: 10px;
  padding: 15px 20px;
  border-bottom: 1px solid #0F3B80;
  word-break: break-all;  
}
#blogContentArea table{
  margin-bottom: 60px;
  word-break: break-all;
}
#blogContentArea table th{
  width: 240px;
  font-weight: bold;
  text-align: left;
  padding: 25px 30px;
  background-color: #ebefef;
}
#blogContentArea table th,
#blogContentArea table td{
  padding: 20px 20px;
  font-size: 1.5rem;
  line-height: 180%;
  text-align: justify;
}
#blogContentArea table th:not(:last-of-type),
#blogContentArea table td:not(:last-of-type){
  border-right: 1px solid #ccc;
}
#blogContentArea table tr:not(:last-of-type){
  border-bottom: 1px dotted #CDD7D7;
}

#blogContentArea .linkBtn{
  display: inline-block;
  position: relative;
  color: #37A0DC;
  font-size: 1.6rem;
  border: 1px solid #37A0DC;
  margin-top: 20px;
}
#blogContentArea .linkBtn::after{
  display: block;
  content:"";
  position: absolute;
  width: 8px;
  height: 8px;
  border-top: solid 1px #37A0DC;
  border-right: solid 1px #37A0DC;
  top: 50%;
  right: 15px;
  transform: translateY(-50%) rotate(45deg);
  transition: all 0.6s;
}
#blogContentArea .linkBtn:hover{
  background-color: #37A0DC;
  color: #fff;
  opacity: 1
}
#blogContentArea .linkBtn:hover::after{
  border-top: solid 1px #fff;
  border-right: solid 1px #fff;
  right: 10px;
}
#blogContentArea .linkBtn a{
  display: block;
  padding: 15px 40px 15px 20px;
}
#blogContentArea .linkBtn a:hover{
  opacity: 1;
}

@media screen and (max-width:812px){
  /*
    ブログ詳細
  -----------------------------------------------------------------------------------------------*/
  .kvheader{
    background: url(../images/blog_top_sp.png) no-repeat top center / cover;
  }
  .kvheader .header {
    font-size: 1.8rem;
    line-height: 160%;
    text-align: justify;
    word-break: break-all;
    padding: 80px 0 0 0;
  }
  .kvheader {
    min-height: 120px;
    padding: 0 25px 30px 25px;
  }

  /* easy table of content */
  #ez-toc-container{
    margin-bottom: 40px;  
  }
  #ez-toc-container .ez-toc-list{
    padding: 10px;
  }
  #ez-toc-container .ez-toc-list > li > .ez-toc-link{
    font-size: 1.5rem;
  }

  /* blogContentArea */
  #blogContentArea h2{
    font-size: 1.8rem;
    margin: 40px 0 10px;
    padding: 15px 20px 15px;
  }
  #blogContentArea h2::before{
    margin-right: 20px;
    padding-right: 12px;
  }
  #blogContentArea h3{
    font-size: 1.6rem;
    padding: 10px;
  }

  #blogContentArea table{
    margin-bottom: 40px;
    min-width: 700px;
  }
  #blogContentArea table th,
  #blogContentArea table td{
    font-size: 1.4rem;
    line-height: 160%;
  }
  #blogContentArea table th{
    width: 240px;
    padding: 10px 15px;
  }
  #blogContentArea table td{
    padding: 10px 15px;
  }

  #blogContentArea .linkBtn{
    font-size: 1.3rem;
  }
  #blogContentArea .linkBtn a{
    display: block;
    padding: 10px 40px 10px 15px;
  }
}