[data-md-color-scheme="slate"] {
    --md-default-fg-color: #eeeeee;
    --md-primary-fg-color: #5865f2;
    --md-accent-fg-color: #6d7affff;
    --md-default-fg-color--light: #c9d1d9;

    --md-code-bg-color: #272839ff;
    /* --md-code-bg-color: #323339; */
    --md-default-bg-color: #2c2d32;
    --md-default-bg-color: #1d1f2bff;
}

h5 {
    text-transform: none !important;
}

header {
    background-color: #3b48d4ff !important;
}

details {
    font-size: 0.9em !important;
}
details summary::before {
    margin-top: 0.2em !important;
}

.admonition {
    font-size: 1em !important;
}

.md-grid {
    max-width: 1300px;
}

.md-footer-meta {
    display: none;
}

article * {
    line-height: 1.9;
}

ol li,
ul li {
    margin-bottom: 0 !important;
}

code * {
    line-height: 1.4 !important;
}

strong {
    font-weight: bold;
    color: #88aeffff;
}

table {
    font-size: 0.9em !important;
}
p > code,
td > code,
th > code {
    font-size: 0.95em !important;
    background-color: rgba(255, 255, 255, 0.1) !important;
    border: solid 1px rgba(255, 255, 255, 0.2) !important;
    padding: 0.05em 0.4em !important;
    border-radius: 6px !important;
}
.md-footer-meta {
}

.highlight {
    margin-top: 1.5em !important;
    margin-bottom: 1.4em !important;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.filename,
.highlight pre,
.highlighttable {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
}

.md-sidebar .md-nav__title {
    font-weight: bold;
    font-size: 1.4em;
    margin-bottom: 0.5em;
    padding-bottom: 0.4em;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

div[data-md-component="sidebar"] li {
    line-height: 1.5;
}

/* slate ダークモード用に変数を上書き */
[data-md-color-scheme="slate"] {
    /* 各トークン色 */
    --md-code-hl-keyword-color: #ff7b72;
    --md-code-hl-string-color: #a5d6ff;
    --md-code-hl-comment-color: #8b949e;
    --md-code-hl-function-color: #d2a8ff;
    --md-code-hl-number-color: #79c0ff;
    --md-code-hl-constant-color: #ffa656;
    --md-code-hl-type-color: #4ec9b0;
    --md-code-hl-operator-color: #ff7b72;
    --md-code-hl-operator-color: #dfe0e2;
    --md-code-hl-punctuation-color: #dfe0e2;
    --md-code-hl-name-color: #dfe0e2;
}

/* フルスクリーンモード */
.mkdocs-fullscreen .md-sidebar--secondary {
    display: none !important;
}

.mkdocs-fullscreen .md-content {
    max-width: 100% !important;
}
