/*
 * このコンポーネント内ではカスタムプロパティの使用を禁止します。
 */

._root_mklm5_5,
._index_mklm5_6 {
  /* Config START -------------------- */
  --COLOR_FOREGROUND_LIGHT: #fff;
  /* --COLOR_FOREGROUND_SEMILIGHT: #fff; */
  --COLOR_FOREGROUND_SEMIDARK: #999;
  --COLOR_FOREGROUND_DARK: #666;

  --COLOR_BACKGROUND_LIGHT: #fff;
  --COLOR_BACKGROUND_SEMILIGHT: #eee;
  --COLOR_BACKGROUND_SEMIDARK: #ddd;
  --COLOR_BACKGROUND_DARK: #333;

  --COLOR_OUTLINE_LIGHT: #ccc;
  --COLOR_OUTLINE_DARK: #999;

  --COLOR_ROLE_DANGER: #f00;
  --COLOR_ROLE_WARNING: #ff0;

  --FONT_CODE:
    'Courier New', '游ゴシック Medium', '游ゴシック体', 'Yu Gothic Medium',
    YuGothic, 'ヒラギノ角ゴ ProN', 'Hiragino Kaku Gothic ProN', 'メイリオ',
    Meiryo, monospace;
  /* Config END -------------------- */
}

._root_mklm5_5 {
  margin-top: 40px;
  padding-top: 40px;
  position: relative;

  /* separator */
  &::before {
    background-color: var(--COLOR_OUTLINE_LIGHT);
    content: '';
    display: block;
    height: 1px;
    left: 0;
    position: absolute;
    top: 0;
    width: 100%;
  }

  &:first-of-type {
    margin-top: 0;
    padding-top: 0;

    &::before {
      content: none;
    }
  }
}

._head_mklm5_58 {
  background-color: var(--COLOR_BACKGROUND_SEMILIGHT);
  border: 1px solid var(--COLOR_OUTLINE_LIGHT);
  border-radius: 8px 8px 0 0;
  display: flex;
  gap: 40px;
  justify-content: space-between;
  line-height: 1;
  overflow: hidden;
}

._title_mklm5_69 {
  align-self: center;
  font-size: calc(18 / var(--FONT-SIZE-ROOT) * 1rem);
  font-weight: var(--FONT-WEIGHT-BOLD);
  padding: 8px 24px;
}

._selector_mklm5_76 {
  align-items: center;
  background-color: var(--COLOR_BACKGROUND_LIGHT);
  border-left: 1px solid var(--COLOR_OUTLINE_LIGHT);
  display: flex;
  font-size: calc(12 / var(--FONT-SIZE-ROOT) * 1rem);
  justify-content: center;
  padding: 8px 24px;
}

._body_mklm5_86 {
  border-bottom: 1px solid var(--COLOR_OUTLINE_LIGHT);
  border-left: 1px solid var(--COLOR_OUTLINE_LIGHT);
  border-radius: 0 0 8px 8px;
  border-right: 1px solid var(--COLOR_OUTLINE_LIGHT);
  font-size: calc(12 / var(--FONT-SIZE-ROOT) * 1rem);
  padding: 16px 24px;

  /* Markdown 領域 - ここから */
  :where(ul, ol) {
    padding-left: 16px;

    :where(ol, ul) {
      margin-top: 4px;
    }

    :where(li + li) {
      margin-top: 4px;
    }
  }

  :where(ul) {
    > li {
      list-style: disc;
    }
  }

  :where(ol) {
    > li {
      list-style: decimal;
    }
  }

  :where(table, thead, tbody, tfoot, tr, th, td) {
    background-color: transparent;
  }

  :where(table) {
    background-color: #ccc;
    border-collapse: collapse;
    border-spacing: 0;
    margin-top: 16px;
    width: 100%;

    :where(th, td) {
      padding: 8px 16px;
    }

    :where(th) {
      font-weight: var(--FONT-WEIGHT-BOLD);
    }
  }

  :where(thead) {
    color: var(--COLOR_OUTLINE_DARK);

    :is(th, td) {
      border-top: 0;
      padding-top: 0;
    }
  }

  :where(tbody) {
    :where(tr:last-child) {
      :where(th, td) {
        padding-bottom: 0;
      }
    }
  }

  :where(th, td) {
    border-top: 1px solid var(--COLOR_OUTLINE_DARK);
  }

  :where(strong) {
    color: var(--COLOR_ROLE_DANGER);
    font-weight: var(--FONT-WEIGHT-BOLD);
  }

  :where(code) {
    border-radius: 4px;
    background-color: var(--COLOR_BACKGROUND_SEMIDARK);
    color: var(--COLOR_FOREGROUND_DARK);
    display: inline-flex;
    font-family: var(--FONT_CODE);
    font-weight: var(--FONT-WEIGHT-BOLD);
    padding: 2px 8px;
    margin: 0 4px;
  }

  /* Markdown 領域 - ここまで */
}

._description_mklm5_179 {
  :where(a) {
    text-decoration: underline;
  }

  > :is(:first-child) {
    margin-top: 0;
  }

  > :is(:last-child) {
    margin-bottom: 0;
  }
}

._props_mklm5_193 {
  margin-top: 16px;
  max-width: 100%;
  overflow-x: auto;

  :where(h3) {
    font-weight: var(--FONT-WEIGHT-BOLD);
    margin-top: 32px;
    padding-left: 1em;
    position: relative;

    /* marker */
    &::before {
      background-color: var(--COLOR-BLAND-RIDGE-BLUE);
      content: '';
      display: block;
      height: 100%;
      left: 0;
      position: absolute;
      top: 0;
      width: 4px;
    }

    & + * {
      margin-top: 16px;
    }
  }

  :where(table) {
    background-color: var(--COLOR_BACKGROUND_DARK);
    border-radius: 4px;
    color: var(--COLOR_FOREGROUND_LIGHT);

    & + table {
      margin-top: 16px;
    }

    :is(code) {
      background-color: transparent;
      border: 1px solid var(--COLOR_OUTLINE_DARK);
      color: var(--COLOR_FOREGROUND_SEMIDARK);
      margin: 8px 4px 0 0;
    }
  }

  :where(thead) {
    :is(th, td) {
      padding-top: 8px;
      text-align: center;
    }

    :is(th) {
      &:first-of-type,
      &:last-of-type {
        width: 15%;
      }
    }
  }

  :where(tbody) {
    :where(tr) {
      :where(td:last-of-type) {
        :is(code) {
          margin: 0;
        }
      }
    }

    :where(tr:last-child) {
      :where(th, td) {
        padding-bottom: 8px;
      }
    }

    :where(td:not(:first-child)) {
      :is(em) {
        border-radius: 4px;
        background-color: #555;
        color: #fff;
        display: inline-flex;
        font-family: var(--FONT_CODE);
        font-weight: var(--FONT-WEIGHT-NORMAL);
        padding: 2px 8px;
        line-height: 1;
      }
    }
  }

  :where(tr) {
    :where(:not(:first-of-type)) {
      :where(em) {
        color: var(--COLOR_ROLE_WARNING);
      }

      :where(strong) {
        color: var(--COLOR_ROLE_WARNING);
      }
    }
  }

  :where(code) {
    background-color: var(--COLOR_BACKGROUND_SEMIDARK);
    color: var(--COLOR_FOREGROUND_DARK);
  }

  > :is(:first-child) {
    margin-top: 0;
  }

  > :is(:last-child) {
    margin-bottom: 0;
  }
}

._sample_mklm5_307 {
  margin: 24px 0;

  > :where(*) {
    margin-top: 24px;
  }

  /* > :is(:first-child) {
    margin-top: 0;
  }

  > :is(:last-child) {
    margin-bottom: 0;
  } */
}

._foot_mklm5_323 {
  background-color: var(--COLOR_BACKGROUND_DARK);
  border-radius: 8px;
  color: var(--COLOR_FOREGROUND_LIGHT);
  display: block;
  font-size: calc(12 / var(--FONT-SIZE-ROOT) * 1rem);
  font-family: var(--FONT_CODE);
  height: 240px;
  padding: 16px;
  width: 100%;
}

._index_mklm5_6 {
  margin: 80px 0;
  background-color: var(--COLOR_BACKGROUND_LIGHT);
  border: 1px solid var(--COLOR_OUTLINE_LIGHT);
  border-radius: 8px;
  overflow: hidden;
  width: 25%;
}

._indexTitle_mklm5_344 {
  background-color: var(--COLOR_BACKGROUND_SEMILIGHT);
  border-bottom: 1px solid var(--COLOR_OUTLINE_LIGHT);
  padding: 8px 16px;
  font-size: calc(12 / var(--FONT-SIZE-ROOT) * 1rem);
}

._indexItem_mklm5_351 {
  & + & {
    border-top: 1px solid var(--COLOR_OUTLINE_LIGHT);
  }
}

._indexLink_mklm5_357 {
  color: var(--COLOR_FOREGROUND_DARK);
  display: block;
  padding: 8px 16px;
  font-size: calc(12 / var(--FONT-SIZE-ROOT) * 1rem);
}

@media (any-hover: hover) {
  ._indexLink_mklm5_357 {
    &:hover {
      background-color: var(--COLOR_BACKGROUND_SEMILIGHT);
      color: var(--COLOR_BRAND_PRIMARY);
      text-decoration: underline;
    }
  }
}
