/*
Theme Name:     kaigonintei.jp help Child Theme for KnowAll
Theme URI:      http://help-s.kaigonintei.jp/
Description:    要介護認定照会システムヘルプページ用の、KnowAllの子テーマ
Author:         KURASERU, INC.
Author URI:     http://help-s.kaigonintei.jp/
Template:       knowall
Version:        1.0.0
*/

/* ------- Insert custom styles below this line ------- */
body {
  font-family: sans-serif;
  line-height: 1.3;
}

p {
  font-size: 17px;
  font-weight: 400;
  letter-spacing: 0.03em;
  line-height: 1.5;
}

ul {
  line-height: 1.5;
}

@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;
}
.hkb-article__content table td {
  padding: 16px 16px;
  border: 0;
  border-right: 1px solid #ccc;
  background-color: #fff;
}
.hkb-article__content table,
.hkb-article__content table tr,
.hkb-article__content table td {
  border-color: #ccc;
}
.widget {
  font-size: 1rem;
  background: none;
  padding: 0;
}
.hkb_widget_toc .widget__title,
.widget .widget__title {
  border-bottom: 1px solid #ccc;
  padding-bottom: 10px;
  font-size: 18px;
}
.hkb-articlemini .hkb-article__title {
  font-weight: 300;
  margin-bottom: 10px;
}
.hkb-articlemini .hkb-article__excerpt {
  display: none;
}
.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;
}
.ht-articlelist li{
  margin:0 0 22px;
  padding:0 0 12px;
  border-bottom:1px solid #ccc;
  text-decoration: none;
  color: #333333;
}
.ht-articlelist li:last-child{
  padding:0 0 12px;
  border-bottom:1px solid #ccc;
}
/* ----- header ----- */
.site-logo {
  margin: 0;
}
.site-logo a {
  vertical-align: middle;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  text-decoration: none;
}
.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;
}
.ht-pageheader .hkb-site-search .hkb-site-search__field {
  border-color: #ccc;
}
#hkb.hkb-searchresults {
  display: none;
}
.single .hkb-breadcrumbs li:last-child {
  display: none;
}
@media screen and (max-width: 767px) {
  .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;
}
/* ----- index ----- */

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

/* ----- single ----- */
.ht-voting-thanks {
  font-size: 14px;
  text-align: center;
  margin-top: 20px;
}
.hkb-article__content h2 {
  border-bottom: 1px solid #ccc;
  padding-bottom: 10px;
  padding-top: 40px;
}
.hkb-article__content h3 {
  border:none;
}
.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;
  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 #ccc;
  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 #ccc;
}

.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 ----- */

