*,
::before,
::after {
    box-sizing: border-box;
}

:root {
    --color-info:       #0066cc;
    --color-info-dark:  #004488;
    --color-warning:    #cc6600;
    --color-success:    #28a745;
}

.text-info      { color: var(--color-info); }
.text-info-dark { color: var(--color-info-dark); }
.text-warning   { color: var(--color-warning); }
.text-success   { color: var(--color-success); }
.text-info:hover { color: var(--color-info-dark); }

html {
    font-size: clamp(15px, 2.5vw, 20px);
}

body {
    font-family: "Noto Sans SC", "Noto Sans JP", system-ui, sans-serif;

    color: #333;
    background-color: #f5f5f5;
    max-inline-size: 65%;
    margin-inline: auto;
    line-height: 1.6;
}

a {
    cursor: pointer;
    text-decoration: none;
}
a:link    { color: maroon; }
a:visited { color: gray; }
a:focus,
a:hover   { color: maroon; background-color: #ffd9d9; }
a:active  { color: red; background-color: #ffd9d9; }

ul > li { list-style-type: circle; }
ol > li { list-style-type: decimal; }

rt {
    color: #888;
    user-select: none;
}

.table-style1 {
    border-collapse: collapse;
    width: 100%;
    overflow: hidden;
}
.table-style1 th {
    background-color: coral;
    color: #fff;
    text-align: left;
    padding: 12px 16px;
    font-weight: 700;
}
.table-style1 td {
    padding: 5px 15px;
    color: #333;
}
.table-style1 tr:hover {
    background-color: #ffb79d;
    transition: background-color 0.2s ease;
}

.table-style2 {
    border: 1px solid black;
    border-collapse: collapse;
    text-align: center;
}
.table-style2 td,
.table-style2 th {
    padding: 8px;
    border: 1px solid #ccc;
}
.table-style2 th {
    background-color: #f2f2f2;
}


@media (max-width: 1080px) {
    body {
        max-inline-size: 100%;
        margin-inline: auto;
    }
}
