/*
Theme Name:     nintei.jp help Child Theme for KnowAll
Theme URI: 		http://help.nintei.jp/
Description:    認定jpヘルプページ用の、KnowAllの子テーマ
Author: 		 5Minutes Inc.
Author URI: 	http://help.nintei.jp/
Template:       knowall
Version:        1.1.4
*/

/* ------- Insert custom styles below this line ------- */
body {
  font-family: sans-serif;
}
@media screen and (max-width: 767px) {
  body {
    display: flex;
  }
  .ht-sitecontainer {
    width: 100%;
  }
}
@media screen and (max-width: 767.98px) {
  .ht-page {
    padding: 50px 0;
  }
}
.hkb-article__content ul,
.hkb-article__content .block-library-list ul {
  text-align: left;
  list-style: none;
  padding: 0;
}
.widget {
  font-size: 1rem;
  background: none;
  padding: 0;
}
.hkb_widget_toc .widget__title,
.widget .widget__title {
  border-bottom: 1px solid #e6e6e6;
  padding-bottom: 10px;
  font-size: 18px;
}
.hkb-articlemini .hkb-article__title {
  font-weight: 300;
  margin-bottom: 10px;
}
.sp-only {
  display: none;
}
.site-footer {
  margin-top: auto;
}
@media screen and (max-width: 550px) {
  .sp-only {
    display: block;
  }
}
.ht-categoryheader {
  padding-bottom: 14px;
}
.ht-categoryheader .ht-categoryheader__title {
  font-size: 28px;
  line-height: 1.5;
}
/* ----- header ----- */
.site-logo {
  margin: 0;
}
.site-logo a {
  vertical-align: middle;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  text-decoration: none;
}
.site-logo img {
  height: 40px;
  vertical-align: middle;
  display: inline-block;
  margin-right: 10px;
}
.site-logo .site-logo__title {
  display: inline-block;
  vertical-align: middle;
  font-size: 22px;
  line-height: 40px;
  margin: 0;
  color: #fff;
}
.home-tittle h1 {
  text-align: center;
  color: #fff;
  margin: 60px 0 0;
}
.site-header .site-header__search {
  padding-top: 30px;
}
.site-header .site-header__title,
.nav-header ul li a {
  font-weight: 600;
}
.hkb-site-search .hkb-site-search__field {
  box-shadow: none;
  border-radius: 5px;
}
#hkb.hkb-searchresults {
  display: none;
}
.single .hkb-breadcrumbs li:last-child {
  display: none;
}
@media screen and (min-width: 768px) {
  .ht-pageheader .ht-container {
    position: relative;
  }
  /*.ht-pageheader .hkb-site-search {
    position: absolute;
    right: 30px;
  }*/
}
@media screen and (max-width: 767px) {
  .hkb-breadcrumbs_wrap {
    margin-bottom: 0px;
  }
  .hkb-site-search {
    margin-bottom: 10px;
  }
  .site-header .site-header__search {
    padding: 30px 0;
  }
  .site-logo .site-logo__title {
    font-size: 3.8vw;
  }
  .site-header .site-header__title,
  .nav-header ul li a {
    font-size: 3.8vw;
  }
}
@media screen and (max-width: 550px) {
  .site-logo .site-logo__title {
    font-size: 18px;
    line-height: 20px;
  }
  .site-header .site-header__title,
  .nav-header ul li a {
    font-size: 18px;
  }
}
/* ----- header ----- */

/* ----- index ----- */
@media screen and (max-width: 767px) {
  .ht-page .ht-page__content {
    width: 100%;
  }
}
.hkb-category.hkb-category--boxed {
  position: relative;
  max-width: 350px;
  background: #fff;
  border: 1px solid #ccc;
  margin: 0 auto 20px;
}
.hkb-category.hkb-category--17::before {
  content: "";
  background-image: url(https://help.nintei.jp/wp-content/themes/knowall/img/icon_applicant.svg);
  background-repeat: no-repeat;
  position: absolute;
  width: 74px;
  height: 58px;
  top: 50%;
  left: 25px;
  transform: translateY(-50%);
}
.hkb-category.hkb-category--2::before {
  content: "";
  background-image: url(https://help.nintei.jp/wp-content/themes/knowall/img/icon_municipality.svg);
  background-repeat: no-repeat;
  position: absolute;
  width: 61px;
  height: 45px;
  top: 50%;
  left: 32px;
  transform: translateY(-50%);
}
.hkb-category--17 h2.hkb-category__title,
.hkb-category--2 h2.hkb-category__title {
  margin-left: 85px;
}
/* ----- index ----- */

/* ----- serch ----- */
.hkb-search-noresults {
  text-align: center;
  padding: 30px 0;
  text-align: left;
  padding: 0 0 60px;
}
/* ----- serch ----- */

/* ----- single ----- */
.ht-voting-thanks {
  font-size: 14px;
  text-align: center;
  margin-top: 20px;
}
.hkb-article__content h3 {
  border-bottom: 1px solid #e6e6e6;
  padding-bottom: 10px;
  padding-top: 40px;
}
.hkb-article h1.hkb-article__title {
  text-align: left;
  margin-bottom: 30px;
  color: var(--custom-default-color);
}
/* ----- single ----- */
/* ----- side ----- */
@media screen and (min-width: 768px) {
  .ht-page.ht-page--sidebarleft .sidebar {
    padding-right: 30px;
  }
}
/* ----- side ----- */

/* ----- custom ----- */
.hkb_widget_toc {
  box-shadow: rgb(0 0 0 / 8%) 0px 1px 16px;
  border-radius: 10px;
  padding: 16px;
}

.hkb_widget_toc ol li.active > a {
  background: var(--custom-default-color) !important;
}

.hkb-custom-article-list {
  display: flex;
  flex-direction: column;
  padding: 0 8px;
}

.hkb-custom-article {
  margin-bottom: 50px;
}

.hkb-custom-article-content {
  display: flex;
  align-items: center;
  border-top: 1px solid #e6e6e6;
  padding: 20px 0;
  text-decoration: none;
  color: #333333;
}

.hkb-custom-article-content:hover {
  color: var(--custom-default-color);
}

.hkb-custom-article-content:last-of-type {
  border-bottom: 1px solid #e6e6e6;
}

.hkb-custom-article-icon {
  margin-left: auto;
  width: 16px;
  height: 16px;
  fill: var(--custom-default-color);
}

.hkb-custom-article-readmore {
  display: flex;
  justify-content: flex-end;
  padding: 16px 0;
  color: var(--custom-default-color);
}

.hkb_custom_category_widget__category_link {
  display: flex !important;
  align-items: center !important;
}

.hkb-category__content {
  display: flex !important;
  justify-content: center;
  align-items: center !important;
}

.hkb-category__content .hkb-category__title {
  margin-left: 12px !important;
  width: auto !important;
  display: inline-block;
}

.hkb_custom_category_widget__category_text {
  font-weight: bold;
  margin-left: 16px;
  color: #333333;
  border-bottom: 1px solid transparent;
}

.hkb_custom_category_widget__category_link:hover
  .hkb_custom_category_widget__category_text {
  color: var(--custom-default-color);
  border-bottom-color: var(--custom-default-color);
}

.hkb_custom_category_widget__category_icon,
.hkb-custom-category__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.hkb-category__title {
  margin-left: 0 !important;
  width: auto !important;
  display: inline-block;
}

.nintei_help_custom_widget_categories {
  margin: 0 0 30px !important;
}

.nintei_help_custom_widget_categories h3 {
  display: none;
}

.hkb_widget_categories .hkb_category_widget__category_list {
  color: #333;
}

.ht-categoryheader {
  border-bottom: none;
}

.ht-categoryheader__title {
  color: var(--custom-default-color);
  text-align: center;
  font-size: 32px;
  font-weight: 600;
}

@media screen and (min-width: 768px) {
  .hkb-custom-article-list {
    padding: 0;
  }

  .ht-page.ht-page--sidebarright .sidebar {
    padding-left: 50px;
  }
}

@media screen and (max-width: 767px) {
  .sidebar {
    display: block !important;
  }

  * + .sidebar {
    margin-top: 30px;
  }

  .widget.hkb_widget_toc {
    display: none;
  }
}
/* ----- custom ----- */
