:root {
  --manual-header-height: 64px;
  --manual-sidebar-width: 320px;
  --manual-color-black: #000;
  --manual-color-dark: #111;
  --manual-color-text: #222;
  --manual-color-muted: #666;
  --manual-color-border: #e2e2e2;
  --manual-color-bg: #f6f7f8;
  --manual-color-link: #006fd6;
  --manual-color-link-hover: #004f9e;
  --manual-color-accent: #f7c600;
  --manual-content-width: 980px;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
  color: var(--manual-color-text);
  font-family: -apple-system, BlinkMacSystemFont, "Hiragino Kaku Gothic ProN", "Yu Gothic", "Meiryo", sans-serif;
  line-height: 1.75;
  background: #fff;
}

body {
  overflow: hidden;
}

h5 {
    font-size: 1em;
}

h6 {
    font-size: 0.9em;
}

a {
  color: var(--manual-color-link);
  text-decoration: none;
}

a:hover,
a:focus {
  color: var(--manual-color-link-hover);
  text-decoration: underline;
}

.manual-header {
  height: var(--manual-header-height);
  background: var(--manual-color-black);
  color: #fff;
  border-bottom: 1px solid #242424;
}

.manual-header__inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 24px;
}

.manual-header__brand {
  display: inline-flex;
  align-items: center;
  min-height: 100%;
  gap: 16px;
  color: #fff;
  text-decoration: none;
}

.manual-header__brand:hover,
.manual-header__brand:focus {
  color: #fff;
  text-decoration: none;
}

.manual-header__product {
  font-weight: 700;
  letter-spacing: 0.02em;
}

.manual-header__title {
  font-size: 0.95rem;
  color: #e5e5e5;
}

.manual-header__menu-button {
  display: none;
  border: 1px solid #555;
  background: #1f1f1f;
  color: #fff;
  padding: 12px 16px;
  line-height: 100%;
  border-radius: 4px;
  cursor: pointer;
}

.manual-layout {
  display: grid;
  grid-template-columns: var(--manual-sidebar-width) minmax(0, 1fr);
  height: calc(100vh - var(--manual-header-height));
  background: var(--manual-color-bg);
}

.manual-sidebar {
  height: calc(100vh - var(--manual-header-height));
  overflow-y: auto;
  background: #fff;
  border-right: 1px solid var(--manual-color-border);
}

.manual-nav {
  padding: 18px 14px 32px;
}

.manual-nav__section {
  border-bottom: 1px solid #eee;
}

.manual-nav__toggle {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 14px 8px;
  border: 0;
  background: transparent;
  color: #222;
  font-weight: 700;
  font-size: 0.96rem;
  text-align: left;
  cursor: pointer;
}

.manual-nav__toggle:hover,
.manual-nav__toggle:focus {
  background: #f4f4f4;
}

.manual-nav__mark {
  width: 1.1em;
  display: inline-block;
  font-weight: 700;
  color: var(--manual-color-link);
}

.manual-nav__mark::before {
  content: "+";
}

.manual-nav__toggle[aria-expanded="true"] .manual-nav__mark::before {
  content: "−";
}

.manual-nav__list {
  display: none;
  margin: 0;
  padding: 0 0 12px 28px;
  list-style: none;
}

.manual-nav__list.is-open {
  display: block;
}

.manual-nav__list li {
  margin: 0;
}

.manual-nav__list a {
  display: block;
  padding: 6px 8px;
  color: #333;
  border-radius: 4px;
  font-size: 0.92rem;
}

.manual-nav__list a:hover,
.manual-nav__list a:focus,
.manual-nav__list a.is-current {
  background: #eef5ff;
  color: var(--manual-color-link);
  text-decoration: none;
}

.manual-main {
  height: calc(100vh - var(--manual-header-height));
  overflow-y: auto;
  background: #fff;
}

.manual-content {
  max-width: var(--manual-content-width);
  margin: 0 auto;
  padding: 36px 48px 64px;
}

.manual-breadcrumb {
  margin-bottom: 22px;
  font-size: 0.9rem;
  color: var(--manual-color-muted);
}

.manual-breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0 !important;
  list-style: none;
}

.manual-breadcrumb li {
  line-height: 44px;
}

.manual-breadcrumb li::after {
  content: ">";
  margin-left: 8px;
  color: #4d4d4d;
}

.manual-breadcrumb li:last-child::after {
  content: "";
  margin-left: 0;
}

.manual-breadcrumb a {
  display: inline-block;
}

.manual-content h1 {
  margin: 0 0 24px;
  padding-bottom: 16px;
  border-bottom: 3px solid var(--manual-color-black);
  font-size: 2.2rem;
  line-height: 1.35;
}

.manual-content h2 {
  margin: 48px 0 18px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--manual-color-border);
  font-size: 1.55rem;
}

.manual-content h3 {
  margin: 32px 0 12px;
  font-size: 1.2rem;
}

.manual-content h4 {
  margin: 24px 0 10px;
  font-size: 1.05rem;
}

.manual-content p {
  margin: 0 0 1.2em;
}

.manual-content ul,
.manual-content ol {
  padding-left: 1.5em;
  margin-top: 0.4em;
  margin-bottom: 1.4em;
}

.manual-content li {
  margin-bottom: 0.35em;
}

.manual-lead {
  font-size: 1.08rem;
  color: #444;
}

.manual-index__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.manual-index__card {
  border: 1px solid var(--manual-color-border);
  border-radius: 8px;
  padding: 22px;
  background: #fff;
}

.manual-index__card h3 {
  margin-top: 0;
  padding-bottom: 10px;
  border-bottom: 1px solid #eee;
}

.manual-index__card ul {
  margin-bottom: 0;
  line-height: 2.2em; 
}

.manual-index__card a {
/*  display: inline-block; */
  display: inline-grid;
}

.manual-article__category {
  margin: 0 0 8px;
  color: var(--manual-color-muted);
  font-weight: 700;
  font-size: 1rem;
  border: 1px solid var(--manual-color-border);
  display: inline-block;
  padding: 0.1em 0.4em;
  border-radius: 0.3em;
}

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

.manual-article__body table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5em 0;
}

.manual-article__body th,
.manual-article__body td {
  border: 1px solid var(--manual-color-border);
  padding: 10px 12px;
  vertical-align: top;
}

.manual-article__body th {
  background: #f2f2f2;
  font-weight: 700;
}

.manual-pager {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 56px;
  padding-top: 28px;
  border-top: 1px solid var(--manual-color-border);
}

.manual-pager__item {
  display: block;
  border: 1px solid var(--manual-color-border);
  border-radius: 8px;
  padding: 16px;
  background: #fff;
}

.manual-pager__item:hover,
.manual-pager__item:focus {
  text-decoration: none;
  border-color: var(--manual-color-link);
}

.manual-pager__item--next {
  text-align: right;
}

.manual-pager__label {
  display: block;
  color: var(--manual-color-muted);
  font-size: 0.9rem;
}

.manual-pager__title {
  display: block;
  margin-top: 4px;
  font-weight: 700;
}

.manual-related {
  margin-top: 44px;
  padding: 24px;
  border: 1px solid var(--manual-color-border);
  border-radius: 8px;
  background: #fafafa;
}

.manual-related h2 {
  margin-top: 0;
  font-size: 1.25rem;
}

.manual-related ul {
  margin-bottom: 0;
}

@media (min-width: 961px) {
  .manual-content.manual-article {
    width: var(--manual-content-width);
    max-width: calc(100% - 96px);
    margin-left: auto;
    margin-right: auto;
    box-sizing: border-box;
  }
  .manual-content {
    width: var(--manual-content-width);
    max-width: calc(100% - 96px);
    margin-left: auto;
    margin-right: auto;
    box-sizing: border-box;
  }
}

@media (max-width: 960px) {
  body {
    overflow: auto;
  }

  .manual-header__menu-button {
    display: inline-block;
  }

  .manual-layout {
    display: block;
    height: auto;
  }

  .manual-sidebar {
    display: none;
    height: auto;
    max-height: 70vh;
    border-right: 0;
    border-bottom: 1px solid var(--manual-color-border);
  }

  .manual-sidebar.is-open {
    display: block;
  }

  .manual-main {
    height: auto;
    overflow: visible;
  }

  .manual-content {
    padding: 28px 20px 48px;
    margin: 0;
  }

  .manual-content h1 {
    font-size: 1.8rem;
  }

  .manual-index__grid {
    grid-template-columns: 1fr;
  }

  .manual-pager {
    grid-template-columns: 1fr;
  }

  .manual-pager__item--next {
    text-align: left;
  }
}

/* footer */

/* 右側コンテンツエリアを縦方向レイアウトにする */
.manual-main {
  display: flex;
  flex-direction: column;
}

/* 本文エリアを伸縮させ、footer を下部へ押し下げる */
.manual-content {
  flex: 1 0 auto;
}

/* footer を一番下に配置し、高さを小さくする */
.manual-footer {
  margin-top: auto;
  background: #000;
  color: #d7d7d7;
  border-top: 1px solid #222;
}

/* footer 内側の余白を小さくする */
.manual-footer__inner {
  padding: 10px 24px;
  text-align: center;
}

/* コピーライト文字を少し小さくする */
.manual-footer__copyright {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.4;
}

/* ALF */

.manual-page-detail img {
    border: 1px solid #ccc;
}
.manual-page-detail ul li i {
    margin-left: 0.2em;
    margin-right: 0.2em;
}
.manual-page-detail img.btn-icon-data {
    height: 32px;
    margin-left: 0.5em;
    border: none !important;
    width: auto;
    vertical-align: top;
}
.manual-page-detail h2 img.btn-icon-data {
    vertical-align: sub;
}
.manual-page-detail .disp-block{
    display: block;
}
.manual-page-detail i.fa {
    border: 1px solid;
    padding: 0.1em 0.2em;
    border-radius: 0.3em;
    margin-left: 0.2em;
    color: #3b3b3b;
}

/* PowerCMS X user-guide: common icon styles for manual pages */
/* Replace page-level <style> blocks and inline icon styles with these classes. */

.manual-article__body .pcmsx-icon,
.manual-content .pcmsx-icon {
  display: inline-block;
  border: 1px solid currentColor;
  padding: 0.3em 0.4em;
  border-radius: 0.3em;
  margin-left: 0.2em;
  color: #3b3b3b;
  line-height: 1;
  vertical-align: middle;
}

.manual-article__body .pcmsx-icon--handle,
.manual-content .pcmsx-icon--handle {
    color: #fff !important;
    background-color: #6c6c6c;
    border-color: #6c6c6c !important;
    border-radius: 0 !important;
}

.manual-article__body .pcmsx-icon--add,
.manual-content .pcmsx-icon--add {
  color: #fff !important;
  background-color: #52814e;
  border-color: #52814e;
  padding: 0.3em;
}

.manual-article__body .pcmsx-icon--danger,
.manual-content .pcmsx-icon--danger {
  color: #3b3b3b;
  background-color: #fff;
  border-color: #3b3b3b;
}

.manual-article__body .pcmsx-icon--plain,
.manual-content .pcmsx-icon--plain {
  border: 0;
  padding: 0;
  margin-left: 0.2em;
}

/* Example usage:
   <i class="fa fa-bars pcmsx-icon pcmsx-icon--handle" aria-hidden="true"></i>
   <i class="fa fa-plus-circle pcmsx-icon pcmsx-icon--add" aria-hidden="true"></i>
   <i class="fa fa-pencil-square pcmsx-icon" aria-hidden="true"></i>
   <i class="fa fa-trash pcmsx-icon" aria-hidden="true"></i>
   <i class="fa fa-ban pcmsx-icon" aria-hidden="true"></i>
*/

.manual-nav__section--has-top-link {
  position: relative;
}

.manual-nav__section--has-top-link .manual-nav__toggle {
  padding-right: 46px;
}

.manual-nav__top-link {
  position: absolute;
  top: 10px;
  right: 8px;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 4px;
  color: var(--manual-color-link);
  text-decoration: none;
}

.manual-nav__top-link:hover,
.manual-nav__top-link:focus,
.manual-nav__top-link.is-current {
  background: #eef5ff;
  color: var(--manual-color-link);
  text-decoration: none;
}

.manual-nav__top-link:focus {
  outline: 2px solid var(--manual-color-link);
  outline-offset: 2px;
}

.manual-nav__top-link i.fa {
    border: none;
    padding: 0;
    border-radius: unset;
    margin-left: 0;
    color: var(--manual-color-link);
}

/* Top Page Icon */

.manual-index__card-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 1em;
  padding-bottom: 10px;
  border-bottom: 1px solid #eee;
}

.manual-index__card-heading h3 {
  margin: 0;
  padding-bottom: 0;
  border-bottom: 0;
}

.manual-index__top-link {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  margin-right: 6px;
  border-radius: 4px;
  color: var(--manual-color-link);
  text-decoration: none;
}

.manual-index__top-link .fa {
  width: 1em;
  line-height: 1;
  text-align: center;
}

.manual-index__top-link:hover,
.manual-index__top-link:focus {
  background: #eef5ff;
  color: var(--manual-color-link);
  text-decoration: none;
  display: inline-flex;
}

.manual-index__top-link:focus {
  outline: 2px solid var(--manual-color-link);
  outline-offset: 2px;
}