/* コンポーネント - ボックス、テーブル、コード、その他 */

/* 小さいテキスト */
.small {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 1rem;
}

.small,
ol {
    margin-left: 0;
    margin-bottom: 1.2rem;
    padding-left: 0;
    list-style: none;
    /* 箇条書き記号禁止 */
}

li {
    margin-bottom: 0.5rem;
    text-indent: 1em;
    /* 段落字下げ1文字 */
}

/* 導入文 */
/* 概要（Abstract） */
.lead {
    background-color: transparent;
    padding: 1rem 2rem;
    margin-bottom: 3rem;
    border: none;
    font-size: 0.95rem;
    font-style: italic;
    text-align: justify;
    width: 90%;
    margin-left: auto;
    margin-right: auto;
}

.lead::before {
    content: "Abstract: ";
    font-weight: bold;
    font-style: normal;
}

/* ノートボックス */
/* ノートボックス (Remark/Note) -> Plain text */
.note {
    background-color: transparent;
    border: none;
    padding: 0;
    margin: 1.5rem 0;
    text-indent: 1em;
}

.note::before {
    content: "[Note] ";
    font-weight: bold;
}

.note::after {
    content: none;
}

/* タイムラインボックス */
/* タイムラインボックス -> Plain text */
.timeline-box {
    background-color: transparent;
    border: none;
    padding: 0;
    margin: 1.5rem 0;
    text-indent: 1em;
}

/* 実践的なボックス */
/* 実践的なボックス -> Case Study風 Plain text */
.practical-box {
    background-color: transparent;
    border: none;
    padding: 0;
    margin: 1.5rem 0;
    text-indent: 1em;
}

/* テーブル */
/* テーブル (Academic Style) */
table {
    width: 100%;
    border-collapse: collapse;
    margin: 2rem 0;
    border-top: 2px solid #000;
    border-bottom: 2px solid #000;
}

th,
td {
    border: none;
    padding: 0.5rem 1rem;
    text-align: left;
    vertical-align: top;
}

th {
    background-color: transparent;
    font-weight: bold;
    border-bottom: 1px solid #000;
}

td {
    border-bottom: 1px solid #ccc;
}

tr:last-child td {
    border-bottom: none;
}

/* コードブロック */
pre {
    background-color: #f5f5f5;
    border: 1px solid #ddd;
    padding: 1rem;
    overflow-x: auto;
    margin: 1rem 0;
    font-size: 0.9rem;
    line-height: 1.5;
    font-family: 'Courier New', Courier, monospace;
}

/* 参考・免責文 */
/* 参考・免責文 */
.refs {
    background-color: transparent;
    border-top: 1px solid #000;
    padding: 1rem 0;
    margin-top: 4rem;
    font-size: 0.9rem;
}