.markdown-output {
    box-sizing: border-box;
    font-size: 1.0em;
}

.markdown-output h1 {
  font-size: 1.6em;
  padding-top: 5px;
  margin-block-start: 10px;
  margin-block-end: 10px;
}
.markdown-output h2 {
  font-size: 1.4em;
  padding-top: 5px;
  margin-block-start: 10px;
  margin-block-end: 10px;
}
.markdown-output h3 {
  font-size: 1.2em;
  padding-top: 5px;
  margin-block-start: 10px;
  margin-block-end: 10px;
}
.markdown-output h4 {
  font-size: 1.0em;
  padding-top: 5px;
  margin-block-start: 10px;
  margin-block-end: 5px;
}

.markdown-output p {
    line-height: 1.5;
    margin-left: 15px;
    margin-top: 5px;
    margin-bottom: 5px;
}

.markdown-output code {
    background-color: #eee;
    padding: 2px 5px;
    border-radius: 3px;
    font-weight: bold;
}

.markdown-output pre {
    background-color: #eee;
    border: 1px solid #333;
    padding: 10px;
    border-radius: 5px;
    overflow-x: auto;
    line-height: 1.5; /* 行間を調整 */
}

.markdown-output blockquote {
    margin: 10px 0;
    padding: 10px;
    background-color: #f0f0f0;
    border-left: 5px solid #ddd;
}

.markdown-output ul {
    list-style-type: disc;
    margin-left: 10px;
    padding-inline-start: 20px;
}

.markdown-output ol {
    list-style-type: decimal;
    margin-left: 10px;
}

.markdown-output table {
    font-size: 1.0em;
    width: 100%;
    border-collapse: collapse;
    border: 1px solid #aaa;
  }
  
.markdown-output th, td {
    border: 1px solid #aaa;
    padding: 6px;
    text-align: left;
  }
  
.markdown-output th {
    background-color: #ddd;
  }

/* hrの下に配置されるTOPボタンの外枠 */
.markdown-output .scroll-to-top-container {
    text-align: center;
    margin-top: 8px;
  }
  
/* INDEX リンク */
.markdown-output .scroll-to-index-link {
cursor: pointer;
font-size: 0.8em;
text-decoration: none;
color: inherit;
}

/* リンクの既読の色、JSで管理している */
.markdown-output a.clicked {
  color: purple; /* 既読リンクの色 */
}
