@charset "UTF-8";

*,
::before,
::after {
    box-sizing: border-box;
    border-style: solid;
    border-width: 0;
}

body {
    font-size: 16px;
}

main {
    line-height: 1.7;
    text-align: justify;
    padding: 64px 48px;
    margin: 0 auto;
    width: 100%;
    max-width: 1024px;
    display: flex;
    flex-direction: column;
    gap: 72px;
    align-items: center;
    justify-content: center;
    font-feature-settings: "palt";
    letter-spacing: 1px;
}

section {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

h1 {
    font-size: 32px;
    color: #333;
}

h1 br {
    display: none;
}

h2 {
    font-size: 24px;
    padding: 6px 20px;
    border-left: 4px solid var(--primary);
    width: 100%;
    font-weight: normal;
    letter-spacing: 1.5px;
}

table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 16px;
}

th, td {
    border: 1px solid #C0C0C0;
    padding: 16px;
    text-align: left;
}

th {
    background-color: #ECF9FF;
}

a {
    color: var(--primary);
}

a:hover {
    text-decoration: underline;
}

.annotation {
    font-size: 12px;
    line-height: 1.3;
}

.pagetitle {
    align-items: center;
    text-align: center;
    gap: 32px;
}

.checklist th, .checklist .level, .checklist .applicable, .checklist .result, .checklist .no {
    text-align: center;
}

.underNav {
    display: none;
}

#footer {
    padding-bottom: 0 !important;
}

@media screen and (max-width: 767px) {
    main {
        padding: 48px 24px;
        gap: 64px;
        font-size: 14px;
    }

    section {
        width: 100%;
        display: flex;
        flex-direction: column;
        gap: 16px;
    }

    h1, h2 {
        line-height: 1.3;
    }

    h1 {
        font-size: 26px;
    }

    h1 br {
        display: block;
    }

    h2 {
        font-size: 22px;
        padding: 0px 16px;
    }

    th, td {
        padding: 12px;
    }

    .pagetitle p {
        text-align: justify;
    }

    .pagetitle p br {
        display: none;
    }

    .testresult th {
        width: 50%;
    }

    .checklist .table-container {
        overflow-x: auto;
    }

    .checklist th {
        line-height: 1.1;
    }

    .checklist .criteria, .checklist .note {
        min-width: 160px;
    }

    .checklist .level, .checklist .applicable, .checklist .result, .checklist .no {
        min-width: 50px;
    }
}
