@import url('https://fonts.googleapis.com/css2?family=M+PLUS+Rounded+1c:wght@400;700&family=Noto+Sans+JP:wght@400;700&family=Noto+Sans+SC:wght@400;700&display=swap');

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

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

body {
    font-family: "Noto Sans JP", "Noto Sans SC", "M PLUS Rounded 1c", sans-serif;
    color: #333;
    background-color: #f5f5f5;
    max-inline-size: 65%;
    max-width: 900px;
    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;
}

u {
    text-decoration: underline dashed;
    text-decoration-color: maroon;
    text-underline-offset: 3px;
    text-decoration-thickness: 1px;
}

.text-red { color: red; }

.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;
    }
}
