/**
 * Common
 */

body {
  font-family: "Inter","Noto Sans JP",sans-serif;
  font-weight: normal;
  line-height: 1.4;
  color: #333;
}

b {
  font-weight: 500;
}

img { 
  max-width: 100%; 
  height:auto;
}

a,
a:visited,
a:active {
  color: #333;
  text-decoration: none;
}
a:hover {
  color: #333;
  text-decoration: underline;
}


/**
 * Header
 */
header{
  padding: 10px 0;
  border-bottom: 1px solid #3f3f3f;
  background: #004098;
}
header h1 {
  width: 960px;
  margin: 0 auto;
  color: #fff;
  font-weight: normal;
}
header h1 a {
  display: block;
  white-space: nowrap;
  overflow: hidden;
  float: left;
  color: #3f3f3f;
  font-weight: bold;
  max-width: 220px;
}
header h1 a:hover {
  color: #fff;
  opacity: 0.8;
  text-decoration: none;
}
header h1 a,
header h1 a:visited,
header h1 a:active {
  color: #fff;
  text-decoration: none;
}
header h1 span {
  padding: 0.7em 0 0 1em;
  font-size: 1rem;
  color: #fff;
  float: left;
}


/**
 * Footer
 */
footer {
  padding: 10px 0;
  background: #004098;
}
footer p {
  color: #fff;
  font-size: 0.8rem;
  font-weight: normal;
  text-align: center;
}


/**
 * contentWrap
 */
#contentWrap {
  display: table;
  position: relative;
  width: 960px;
  margin: 0 auto;
  padding: 30px 0 80px;
}
#contentWrap main {
  display: table-cell;
  padding-right: 40px;
  vertical-align: top;
}
#contentWrap nav#sideNav {
  display: table-cell;
  width: 200px;
  vertical-align: top;
}


/**
 * Headline
 */
main h2,
#attach_file h3,
#related h3 {
  margin-bottom: 15px;
  font-size: 1.4rem;
  font-weight: normal;
  color: #004098;
  border-left: 6px solid #004098;
  padding-left: 10px;
}


/**
 *  Clear: both
 */
header::after,
header h1::after,
#contentWrap::after,
.SearchText::after,
#answer::after {
  content: "";
  clear: both;
  display: block;
}
#answer::after {
  padding-bottom: 50px;
}


/**
 * Topicpath
 */
#topicpath {
  clear: both;
  width: 960px;
  margin: 0 auto;
  padding-top: 30px;
  font-size: 0.8rem;
  zoom: 1;
}
#topicpath ul li {
  display: inline-block;
  position: realtive;
}
#topicpath ul li::after {
  content: " > ";
}
#topicpath ul li:last-child::after {
  content: "";
}
#topicpath ul li em {
  font-style: normal;
}


/**
 * back button
 */
.backButton {
  clear: both;
  position: relative;
}
.backButton a {
  display: inline-block;
  position: absolute;
  bottom: 15px;
  left: 2%;
  box-sizing: border-box;
  height: 50px;
  background: #3f3f3f;
  padding: 12px 20px 15px;
  border-radius: 30px;
  color: #fff;
}


/**
 * page top button
 */
#pageTopButton {
  clear: both;
  position: fixed;
  bottom: 50px;
  right: 2%;
}
#pageTopButton a {
  display: block;
  position: relative;
  z-index: 999;
  border-radius: 30px;
  width: 50px;
  height: 50px;
  background: #3f3f3f;
  text-decoration: none;
  text-align: center;
  text-indent: 100%;
  white-space: nowrap;
  overflow: hidden;
}
#pageTopButton a::before {
  content: "";
  position: absolute;
  left: 15px;
  top: 20px;
  width: 20px;
  height: 20px;
  border-top: 2px solid #fff;
  border-right: 2px solid #fff;
  -webkit-transform: rotate(-45deg);
  transform: rotate(-45deg);
}


/**
 * Form
 */
#SA_form {
  margin-bottom: 40px;
  padding: 15px;
  border: 1px solid #ccc;
  border-radius: 2px;
}
.FaqSearch {
  padding-bottom: 15px;
}
.SearchText {
  padding-bottom: 10px;
}
.SearchCategory label {
  display: inline-block;
  padding: 0 1.4rem 7px 0;
  word-break: break-word;
}
.SearchCategory label input {
  margin-right: 4px;
}
.SearchText input {
  border: 1px solid #ccc;
}
#SA_form input[type="text"] {
  width: 460px;
  height: 40px;
  margin-right: 3px;
  padding: 5px;
  border-radius: 2px;
  float: left;
}
#SA_form input[type="submit"] {
  width: 4rem;
  height: 40px;
  border-radius: 2px;
  background: #eee;
  float: left;
}


/**
 * Keyword ranking
 */
main .FaqSearch + h2 {
  margin-bottom: 0;
  padding-bottom: 5px;
  border: 0;
  font-size: 1rem;
  font-weight: normal;
}
ul#SA_SearchRank li {
  display: inline-block;
  padding-bottom: 8px;
  word-break: keep-all;
  white-space: nowrap;
}
ul#SA_SearchRank li a,
ul#SA_SearchRank li a:visited,
ul#SA_SearchRank li a:active,
ul#SA_SearchRank li a:hover  {
  display: block;
  margin-right: 4px;
  padding: 5px 10px 2px;
  background: #004098;
  color: #fff;
  text-decoration: none;
  border-radius: 2px;
}
ul#SA_SearchRank li a:hover  {
  opacity: 0.8;
}


/**
 * top category list
 */
#category_list #category-items {
  display: flex;
  flex-wrap: wrap;
}
#category_list a {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  padding: 20px 10px;
  margin: 10px 10px 0 0;
  list-style-type: none;
  text-align: center;
  word-break: keep-all;
  width: calc(50% - 8px);
  font-size: 16px;
  box-sizing: border-box;
  background: #004098;
  color: #fff;
}
#category_list a:hover {
  color: #fff;
  opacity: 0.8;
  text-decoration: none;
}
#category_list a:visited, #category_list a:active{
  color: #fff;
}
#category_list a:nth-child(even) {
  margin-right: 0;
}
#category_list i.fas {
  vertical-align: middle;
  margin-right: 15px;
}
#category_list .category_icon {
  background: var(--background-image) no-repeat center center/contain;
  margin-right: 15px;
  height: 40px;
  width: 40px;
}
#category_list .category_name {
  word-break: break-all;
}
#faq #category_list {
  margin-top: 4em;
}


/**
 * hot list, important list, faq list
 * ... and ...
 * attach files, attach links, 
 */
#hot-items,
#faq-items,
#important-items {
  margin-bottom: 35px;
}
#hot-items .hot-item,
#faq-items .faq-item,
#important-items .important-item,
#faq ul.SA_FaqList li {
  position: relative;
  padding: 0 0 10px 15px;
  vertical-align: middle;
}

/**
 * Icon
 */
.SA_Icon {
  background: #3f3f3f; 
  color: #fff;
  border-radius: 3px;
  padding: 3px;
  margin-left: 5px;
  display: inline-block;
  font-size: 12px;
}
.SA_Icon img {
  height: 1rem;
  width: auto;
}
#hot-items .hot-item::before,
#faq-items .faq-item::before,
#important-items .important-item::before,
#faq ul.SA_FaqList li::before,
#related .related_item::before {
  position: absolute;
  content: "";
  left: 0;
  top: 0.5rem;
  width: 6px;
  height: 6px;
  border-top: 2px solid #3f3f3f;
  border-right: 2px solid #3f3f3f;
  -webkit-transform: rotate(45deg);
  transform: rotate(45deg);
}


/**
 * faq not found
 */
#SA_notFound .message {
  margin: 10px 0;
}
#SA_notFound .message + h3,
#SA_notFound .message + h4,
#SA_notFound .message + h5 {
  margin-top: 2rem;
}
#SA_hintMessage {
  list-style-type: disc;
  font-size: .8rem;
}


/**
 * pagination
 */
.pagination {
  clear: both;
  padding: 10px 0 0;
}
.pagination ul {
  display: table;
}
.pagination ul li {
  display: table-cell;
  text-align: center;
}
.pagination ul li span,
.pagination ul li a {
  display: block;
  width: 2em;
  margin: 3px;
  padding: 5px;
  color: #004098;
}
.pagination ul li a:hover, .pagination ul li a:visited, .pagination ul li a:active {
  color: #004098;
}
.pagination ul li.previous a,
.pagination ul li.next a {
  width: 4em;
}
.pagination ul li a:hover,
.pagination ul li.active span {
  border-bottom: 2px solid #004098;
  text-decoration: none;
}
.pagination ul li a:visited,.pagination ul li a:active{
  color: #004098;
}


/**
 * FAQ detail
 */
#info {
  clear: both;
  padding-top: 20px;
  text-align: right;
}
#info span {
  display: block;
  font-size: 0.8rem;
}
/** attach files, relate faqs */
main .detail_option_parts + #feedback {
  margin-top: 35px;
}
#attach_file,
#related {
  clear: both;
  padding: 15px;
  border: 1px solid #ccc;
  border-radius: 2px;
  margin-bottom: 10px;
}
#attach_file .attach_file_item,
#related .related_item {
  position: relative;
  padding: 0 0 10px 15px;
  vertical-align: middle;
}
#attach_file .attach_file_list li::before {
  font-family: 'Font Awesome 5 Free';
  content: "\f56d";
  font-weight: 900;
  position: absolute;
  left: 0;
  width: 6px;
  height: 6px;
}
/** feedback */
#feedback {
  clear: both;
  background: #ececec;
  padding: 20px 0;
  border-radius: 2px;
  text-align: center;
}
#feedback span {
  display: inline-block;
  margin: 0 10px;
}
#feedback span a {
  display: block;
  width: 12em;
  padding: 10px;
  background: #004098;
  border-radius: 2px;
  text-align: center;
  color: #fff;
}
#feedback span a:hover {
  color: #fff;
  text-decoration: none;
  opacity: 0.8;
}
#feedback span a:visited, #feedback span a:active {
  color: #fff;
}


/**
 * FAQ Inquiry
 */
#SA_InquiryBox h3 {
  border-bottom: 1px dotted #3f3f3f;
  margin-bottom: 10px;
  padding-bottom: 10px;
  font-size: 0.8rem;
}
.inquiry_box {
  display: none;
  position: absolute;
  width: 80%;
  margin: 0;
  padding: 20px;
  background: #fff;
  border: 6px solid #3f3f3f;
  border-radius: 2px;
  line-height: 1.4;
  text-align: left;
  z-index: 100;
}
.inquiry_box .SALabel {
  display: block;
  padding-bottom: 8px;
}
.inquiry_box input[type="text"] {
  width: 100%;
  box-sizing: border-box;
  padding: 5px;
  border: 1px solid #ccc;
  border-radius: 2px;
}
.inquiry_box textarea {
  height: 160px;
  padding: 5px;
  width: 100%;
  margin: 15px 0 0;
  border-radius: 2px;
  border: 1px solid #ccc;
  box-sizing: border-box;
}
p.inquiry_label {
  margin: 0;
  padding: 0 0 1em;
  font-size: 0.8rem;
  line-height: 1.6;
}
.inquiry_button {
  text-align: center;
}
.inquiry_button input,
.inquiry_button a {
  display: inline-block;
  width: 6rem;
  height: 40px;
  border-radius: 2px;
}
.inquiry_button input {
  background: #3f3f3f;
  border: 1px solid #3f3f3f;
  color: #fff;
  -webkit-appearance: none;
}
.inquiry_button a {
  margin-left: 20px;
  background: #eee;
  border: 1px solid #ccc;
  line-height: 38px;
}
span.error,
span.limit {
  color: #ff0000;
}
.inquiry_box span#SALabel_message {
  display: none;
}
iframe[name='hideFrame'] {
  display: none;
}



/**
 * Search Result
 */
#Navigation {
  clear: both;
  padding-bottom: 10px;
}
.sa_sort {
  padding-left: 10px;
  padding-bottom: 40px;
  text-align: right;
}
.sa_sort span a:hover {
  color: #004098;
  text-decoration: none;
  opacity: 0.8;
}
.sa_sort span a, .sa_sort span a:visited, .sa_sort span a:active{
  color: #004098;
  padding: 6px 8px 3px;
  border: 2px solid #024098;
  font-size: 14px;
}
.sa_sort span.active {
  background: #004098;
  color: #fff;
  padding: 6px 8px 3px;
  border: 2px solid #024098;
  font-size: 14px;
}
.result_col {
  padding-bottom: 20px;
}
.result_col a {
  display: block;
  padding: 10px;
  text-decoration: none;
  transition: background-color 0.3s linear;
  -webkit-transition: background-color 0.3s linear;
}
.result_col a:hover {
  display: block;
  background: #e2efff;
  border-radius: 2px;
}
.result_col dl dt {
  margin-bottom: 10px;
  padding-bottom: 8px;
  border-bottom: 1px solid #3f3f3f;
}
.result_col dl dd {
  font-size: 0.9rem;
  line-height: 1.6;
}
.result_col em.SA_Search_Highlight {
  font-style: normal;
  font-weight: 500;
  background: #ffffc6;
}
.result_col .ss_url {
  color: #009933;
}


/**
 * adlink
 */
.adlink {
  clear: both;
  background: #f5f5f5;
  margin-bottom: 30px;
  padding: 15px;
}
.pagination + .adlink,
#SA_notFound + .adlink {
  margin-top: 40px;
  margin-bottom: 0;
}
.adlink h3 {
  padding-bottom: 5px;
}
.adlink dl dt {
  font-weight: bold;
}
.adlink dl dd {
  width: 100%;
  margin-bottom: 10px;
  padding-bottom: 10px;
  border-bottom: 1px dotted #ccc;
}
.adlink dl dd:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: 0;
}


/**
 * mobile
 */
@media (max-width: 767px) {
  header h1 {
    width: auto;
    padding-left: 10px;
  }
  header h1 span {
    padding-left: 0.4em;
  }
  #topicpath {
    width: 100%;
    margin: 0;
    padding-top: 15px;
  }
  #topicpath ul {
    padding: 0 10px;
  }
  #contentWrap {
    display: block;
    width: 100%;
    margin: 0;
  }
  #contentWrap main {
    display: block;
    width: 100%;
    margin: 0 -10px 0 0;
    padding: 0 10px;
  }
  #contentWrap nav#sideNav {
    clear: both;
    display: block;
    width: 100%;
    margin: 35px -10px 0 0;
    padding: 0 10px;
  }
  #sideNav h2 {
    font-size: 1.4rem;
  }
  #SA_form input[type="text"] {
    width: 75%;
  }
  #feedback span {
    display: block;
    margin: 0 15px;
  }
  #feedback span + span {
    margin: 10px 15px 0;
  }
  #feedback span a {
    width:100%;
    padding: 15px 0;
  }
  .inquiry_box {
    width: 90%;
  }
  .inquiry_box textarea {
    height: 120px;
  }
}
