:root {
  --logo-image-height: 24px;
  --link-color: #6666AA;
  --link-hover-color: #eee;
  --highlight-color: #c02;
  --card-border-radius: 7px;
  --body-background: #faf8f0;
  --query-input-border: 2px solid #888888;
}

body {
  font-family: "Helvetica Neue", "Helvetica", "Arial", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Meiryo", sans-serif;
  display: flex;
  flex-direction: column;
}

.header {
  padding: 0;
  position: relative;
}
.header:before {
  content: "";
  background-color: #fff;
  height: 82px;
  width: 100%;
  display: block;
  position: absolute;
}
.inframe .header:before {
  content: none;
}
.header:after {
  content: "";
  background: #fff url(https://custom-assets.helpfeel.com/himawari-life-faq/header-line.png) center bottom no-repeat;
  background-size: cover;
  position: absolute;
  width: 100%;
  height: 16px;
  top: 66px;
  left: 0;
}
.inframe .header:after {
  display: none;
}
.header .subtitle {
  padding-bottom: 0;
  width: 547px;
  margin: 0 auto;
}

.navbar {
  height: 82px;
  padding: 0 16px 8px 22px;
  background-color: #fff;
  position: relative;
  width: 990px;
  max-width: calc(100% - 32px);
  margin: 0 auto;
}
.navbar .header-menu {
  position: absolute;
  bottom: -48px;
  left: 16px;
  z-index: 1;
}
.navbar .header-menu .faq_title_link {
  padding: 6px;
  font-size: 22px;
  color: #333;
}

.query-input {
  margin: 16px auto;
}
.query-input:focus-within {
  border: 2px solid #606060;
}
.query-input .speech-button {
  height: calc(46px - 2px);
}

.kinds-selector .selector {
  flex-wrap: wrap;
  justify-content: space-evenly;
}
html.inframe .kinds-selector .selector {
  justify-content: left;
}
.kinds-selector .selector .kind-items {
  width: calc( ( 100% - ( 8px * 5 ) ) / 5 );
  margin: 12px 4px 0;
  position: relative;
  font-size: 14px;
}
html.inframe .kinds-selector .selector .kind-items {
  margin-bottom: 0;
}
.kinds-selector .selector .kind-items input {
  opacity: 0;
  position: absolute;
}
.kinds-selector .selector .kind-items input:checked + label {
  pointer-events: none;
  border: 2px solid #c02;
  color: #c02;
}
.kinds-selector .selector .kind-items label {
  display: flex;
  height: 100%;
  align-items: center;
  justify-content: center;
  border: 2px solid #ccc;
  border-radius: 7px;
  padding: 10px 6px;
  background-color: #fff;
}
.kinds-selector .selector .kind-items label:hover {
  color: #c02;
}

.page-content .line {
  font-size: 16px;
}
.page-content .line.title {
  font-size: 24px;
}
.page-content .line.title:after {
  content: "";
  display: block;
  width: calc(100% + 4px);
  margin: 15px -2px 0;
  height: 1px;
  background-color: var(--card-border-color);
  border-radius: 2px;
}
.page-content .indent-mark .dot {
  top: 13px;
}

.content {
  margin: 60px 0 16px;
}
.inframe .content {
  margin-top: 32px;
}

.keywords .keywords-title {
  margin-bottom: 8px;
}
.keywords .keywords-body .list {
  justify-content: left;
  margin: 2px 0 2px 10px;
}
.keywords .keywords-body .list > a {
  margin: 4px 10px 4px 0;
  border: 1px solid transparent;
}
.keywords .keywords-body .headword {
  text-align: center;
  line-height: 36px;
  margin: 6px 0 0 0;
}

.btn {
  display: block;
  margin: 0 auto 60px;
  padding: 10px 14px;
  text-align: center;
  border-radius: 7px;
}
.btn:hover {
  opacity: 0.6;
}

.footer {
  margin-top: auto;
  padding-top: 48px;
  padding-bottom: 0;
}
.article-page .footer {
  padding-top: 30px;
}
.footer .helpfeel-top {
  width: 240px;
  background-color: #fff;
  border: 2px solid #ccc;
  color: #333;
  font-weight: 500;
}
.footer .helpfeel-top:hover {
  background-color: #ccc;
}
body.search-page .footer .helpfeel-top {
  display: none;
}
.footer_wrap {
  padding: 15px 16px;
  background-color: #c02;
}
.footer_cont {
  max-width: 990px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
}
.footer_right {
  display: block;
}
.footer_logo img {
  width: 214px;
  height: 12px;
  object-fit: cover;
  object-position: left;
}
.footer_copy {
  font-size: 10px;
  color: #fff;
  text-align: right;
}
.footer .powered-by-helpfeel {
  text-align: right;
}
.footer .powered-by-helpfeel a {
  font-size: 10px;
  color: #ededed;
  padding: 0;
  padding-top: 8px;
  display: inline-block;
}
.footer .powered-by-helpfeel a:hover {
  opacity: 0.6;
}

.related-pages .related-pages-body ul > li > a {
  font-size: 16px;
  align-items: center;
}
.related-pages .related-pages-body ul > li > a .icon {
  background-size: contain;
  height: 20px;
  margin-right: 8px;
}

.article-page-empty .content {
  margin-bottom: 0;
}
.article-page-empty .content .page-content {
  padding-bottom: 0;
  border-bottom: 0;
  border-radius: var(--card-border-radius) var(--card-border-radius) 0 0;
}
.article-page-empty .related-pages-section .container .related-pages {
  border-top: 0;
  border-radius: 0 0 var(--card-border-radius) var(--card-border-radius);
}
.article-page-empty #detailed-feedback-section {
  order: 4;
}
.article-page-empty .footer {
  order: 5;
}

@media screen and (max-width: 767px) {
  body {
    background-color: #faf8f0;
  }
  body .faq-list,
body .keywords,
body .page-content,
body .related-pages {
    padding: 15px;
    border-radius: var(--card-border-radius);
    border: var(--card-border-width) solid var(--card-border-color);
  }

  .navbar {
    padding: 0 0 8px 6px;
  }

  .query-input {
    margin-top: calc(24px + 38px);
  }

  .keywords {
    margin: 16px 0;
  }
  .keywords .keywords-body .list {
    margin: 2px 0 2px 10px;
  }
  .keywords .keywords-body .list > a {
    margin: 0;
  }
  .keywords .keywords-body .headword {
    text-align: left;
    margin: 0;
  }

  .related-pages {
    margin-top: 0;
  }

  .footer_cont {
    display: block;
  }
  .footer_right {
    margin-top: 4px;
  }
  .footer .powered-by-helpfeel {
    text-align: center;
  }
}
@media screen and (max-width: 767px) {
  .kinds-selector .selector {
    justify-content: left;
  }
  .kinds-selector .selector .kind-items {
    width: calc( ( 100% - ( 8px * 3 ) ) / 3 );
  }

  .faq-list .faq-list-scroll-container {
    max-height: 230px;
  }
}
@media screen and (max-width: 470px) {
  .kinds-selector .selector .kind-items {
    width: calc( ( 100% - ( 8px * 2 ) ) / 2 );
  }
}