@charset "UTF-8";
/*
Theme Name: OK Theme
Author: 
Author URI: 
Version: 1.0
*/

#sideNav .navbar-nav .nav-item.nav-active.wp_lower .nav-link {
  color: #fff!important
}
#sideNav .navbar-nav .nav-item.nav-active.wp_top .nav-link {
  color: #FFEB58!important
}

.linkbutton-topics-wrapper .current_cat {
  color: #FFF;
  background-color: #e60012;
  border: solid 1px #e60012;
}

.topics-item-imgwrap {
  text-align: center;
}
.second-voice-sub-imgwrap img,
.topics-item-imgwrap img,
.second-voice-post-imgwrap img {
  max-width: 65%!important;
  border-radius: 10px;
}
  @media screen and (max-width: 991px) {
    .second-voice-sub-imgwrap img,
	.topics-item-imgwrap img,
    .second-voice-post-imgwrap img {
      max-width: 100%!important;
    }
  }

/*ページ分割ナビ*/
.wp-pagenavi {
  text-align: center;
  overflow: hidden;
}
.wp-pagenavi a, .wp-pagenavi span {
  display: inline-block;
  width: 32px;
  line-height: 30px;
  background: #fff;
  border: 1px solid #CACACD;
  border-radius: 3px;
  color: #000;
  margin: 0 3px 6px 3px;
  text-decoration: none;
  font-size: 1.6rem;
}
.wp-pagenavi span {
  background: #E60012;
  border: solid 1px #E60012;
  color: #fff;
}
.wp-pagenavi a:hover {
  background: #E60012;
  color: #fff;
  border: 1px solid #E60012;
}
.wp-pagenavi .first, .wp-pagenavi .last {
  line-height: 1;
  width: auto;
  border: none;
}
.wp-pagenavi .first:hover, .wp-pagenavi .last:hover {
  border: none;
  color: #000;
  background: none;
  text-decoration: underline;
}
.wp-pagenavi .extend {
  line-height: 1;
  width: auto;
  border: none;
  color: #000;
  background: none;
}

.topics-item-txt h1 {
  position: relative;
  margin: 40px 0;
  padding: 5px;
  font-size: 3rem;
  line-height:  1.4;
  color: #E60012;
  border-bottom: 3px solid #E60012;
}
.topics-item-txt h2 {
  margin: 40px 0;
  padding: 5px 5px 5px 20px;
  font-size: 2.8rem;
  line-height: 1.4;
  border-left: 5px solid #E60012;
}
.topics-item-txt h3 {
  margin: 30px 0;
  padding: 10px 20px;
  font-size: 2.6rem;
  font-weight: bold;
  line-height: 1.3;
  color: #fff;
  background: #E60012;
}
.topics-item-txt h4 {
  position: relative;
  margin: 30px 0;
  padding: 0 0 10px 0;
  font-size: 2.4rem;
  line-height: 1.3;
  border-bottom: 3px solid #ccc;
}
.topics-item-txt h4::before {
  position: absolute;
  content: "";
  left: 0;
  bottom: -3px;/*線の上下位置*/
  display: inline-block;
  width: 180px;/*線の長さ*/
  height: 3px;/*線の太さ*/
  background-color: #E60012;/*線の色*/
}
.topics-item-txt h5 {
  position: relative;
  margin: 20px 0;
  padding: 10px 0;
  font-size: 2.2rem;
  line-height: 1.3;
  color: #E60012;
}
  @media screen and (max-width: 749px) {
    .topics-item-txt h1 {
      margin: 30px 0;
      font-size: 2.6rem;
    }
    .topics-item-txt h2 {
      margin: 30px 0;
      padding: 5px 5px 5px 15px;
      font-size: 2.4rem;
    }
    .topics-item-txt h3 {
      margin: 25px 0;
      padding: 10px;
      font-size: 2.2rem;
    }
    .topics-item-txt h4 {
      margin: 20px 0;
      font-size: 2rem;
    }
    .topics-item-txt h5 {
      margin: 20px 0;
      padding: 10px 0;
     font-size: 1.8rem;
    }
  }
