@charset "utf-8";

#main-title {
    width: 90%;
    margin: 2.5rem auto 0;
    box-sizing: border-box;
}

#main-title h1 {
    margin: 0;
    padding-bottom: 0.5rem;
    border-bottom: 6px solid #d8e7ff;
    position: relative;
    font-size: 34px;
    line-height: 1.4;
}

#main-title h1::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -6px;
    width: 30%;
    height: 6px;
    background-color: #5472cd;
}

#jiko-wrapper {
    width: 90%;
    margin: 2rem auto 3rem;
    box-sizing: border-box;
    font-size: 16px;
    line-height: 1.85;
}

#jiko-wrapper p {
    margin: 0 0 1rem;
}

.jiko-intro {
    margin-bottom: 1.8rem;
    padding: 1.4rem 1.6rem;
    background-color: #eef3ff;
    border-left: 7px solid #5472cd;
    box-sizing: border-box;
    font-size: 18px;
    font-weight: bold;
}

.jiko-intro p {
    margin: 0 !important;
}

.jiko-work-alert {
    margin-bottom: 1.8rem;
    border: 2px solid #dc8b27;
    background-color: #fffaf1;
    box-sizing: border-box;
}

.jiko-work-alert h2 {
    margin: 0;
    padding: 0.8rem 1.2rem;
    background-color: #dc8b27;
    color: #fff;
    font-size: 21px;
}

.jiko-work-alert p {
    margin: 0 !important;
    padding: 1.2rem 1.4rem;
    font-weight: bold;
}

.jiko-explanation {
    margin: 0 0 2rem;
    padding: 0 1.2rem;
}

.jiko-section {
    margin: 2rem 0;
    border: 1px solid #ccd7eb;
    background-color: #fff;
    box-sizing: border-box;
}

.jiko-section > h2 {
    margin: 0;
    padding: 0.8rem 1.2rem;
    background-color: #5472cd;
    color: #fff;
    font-size: 22px;
    line-height: 1.5;
}

.jiko-section-body {
    padding: 1.5rem;
}

.jiko-night-note {
    margin-top: 1.3rem;
    padding: 1rem 1.2rem;
    background-color: #f5f7fb;
    border-left: 5px solid #7a8fbf;
}

.jiko-night-note strong {
    display: block;
    margin-bottom: 0.3rem;
    color: #354e86;
    font-size: 17px;
}

.jiko-night-note p {
    margin: 0 !important;
}

.jiko-important {
    margin: 2.5rem 0;
    border: 3px solid #d94444;
    background-color: #fff7f7;
    box-sizing: border-box;
}

.jiko-important h2 {
    margin: 0;
    padding: 0.9rem 1.3rem;
    background-color: #d94444;
    color: #fff;
    font-size: 23px;
    line-height: 1.5;
}

.jiko-important-body {
    padding: 1.3rem 1.5rem;
}

.jiko-important-body p:last-child {
    margin-bottom: 0 !important;
}

.jiko-police {
    margin: 0 0 1.5rem;
    padding: 1.2rem 1.3rem;
    background-color: #fff7e8;
    border-left: 6px solid #e19a2d;
    box-sizing: border-box;
}

.jiko-police h3 {
    margin: 0 0 0.7rem;
    color: #9a5c00;
    font-size: 19px;
}

.jiko-police p:last-child {
    margin-bottom: 0 !important;
}

.jiko-certificate {
    margin: 1.5rem 0 2rem;
    padding: 1.3rem;
    background-color: #eef4ff;
    border: 2px solid #5472cd;
    box-sizing: border-box;
}

.jiko-certificate-main {
    display: flex;
    align-items: flex-start;
}

.jiko-doc-number {
    display: flex;
    flex: 0 0 42px;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    margin-right: 1rem;
    border-radius: 50%;
    background-color: #5472cd;
    color: #fff;
    font-size: 21px;
    font-weight: bold;
    line-height: 1;
}

.jiko-doc-text {
    flex: 1;
}

.jiko-doc-text h3 {
    margin: 0 0 0.4rem;
    color: #304f9a;
    font-size: 21px;
}

.jiko-doc-text p {
    margin: 0 0 0.8rem !important;
}

.jiko-external-button {
    display: inline-block;
    padding: 0.65rem 1rem;
    background-color: #fff;
    border: 2px solid #5472cd;
    border-radius: 5px;
    color: #3558ad;
    font-weight: bold;
    line-height: 1.5;
    text-decoration: none;
}

.jiko-external-button:hover {
    background-color: #e7efff;
}

.jiko-certificate-sub {
    margin-top: 1.2rem;
    padding: 1rem 1.1rem;
    background-color: #fff;
    border-top: 1px solid #bdcae4;
}

.jiko-certificate-sub h4 {
    margin: 0 0 0.5rem;
    color: #465a88;
    font-size: 17px;
}

.jiko-certificate-sub p {
    margin-bottom: 0.7rem !important;
}

.pdf-view-link {
    display: inline-block;
    padding: 0.45rem 0.8rem;
    background-color: #5472cd;
    border-radius: 4px;
    color: #fff;
    font-weight: bold;
    line-height: 1.4;
    text-decoration: none;
}

.pdf-view-link:hover {
    background-color: #405eb4;
}

.jiko-subtitle {
    margin: 2rem 0 1rem;
    padding: 0.45rem 0.8rem;
    border-left: 5px solid #5472cd;
    color: #354e86;
    font-size: 19px;
}

.jiko-doc-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.jiko-doc-card {
    padding: 1.1rem;
    border: 1px solid #d5ddea;
    background-color: #f8f9fc;
    box-sizing: border-box;
}

.jiko-doc-card h4 {
    margin: 0 0 0.5rem;
    color: #304f9a;
    font-size: 18px;
}

.jiko-doc-card p {
    margin-bottom: 0.8rem !important;
}

.jiko-doc-card a,
.jiko-self-doc a,
.jiko-other-doc a {
    display: inline-block;
    padding: 0.45rem 0.8rem;
    background-color: #5472cd;
    border-radius: 4px;
    color: #fff;
    font-weight: bold;
    line-height: 1.4;
    text-decoration: none;
}

.jiko-doc-card a:hover,
.jiko-self-doc a:hover,
.jiko-other-doc a:hover {
    background-color: #405eb4;
}

.jiko-doc-note {
    margin: 1.5rem 0 0 !important;
    padding: 0.9rem 1rem;
    background-color: #f3f3f3;
    font-size: 14px;
}

.jiko-self > h2 {
    background-color: #3977a8;
}

.jiko-self-doc,
.jiko-other-doc {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    box-sizing: border-box;
}

.jiko-self-doc {
    margin: 1.3rem 0;
    padding: 1.1rem 1.2rem;
    background-color: #eef7fb;
    border-left: 5px solid #3977a8;
}

.jiko-self-doc h3 {
    margin: 0 0 0.4rem;
    color: #28618c;
    font-size: 18px;
}

.jiko-self-doc p,
.jiko-other-doc p {
    margin: 0 !important;
}

.jiko-small-note {
    margin: 1rem 0 0 !important;
    font-size: 14px;
}

.jiko-other > h2 {
    background-color: #4b7f65;
}

.jiko-other-doc {
    margin: 0.3rem 0 1.3rem;
    padding: 0;
    background-color: #fff;
    border: 0;
}

.jiko-example-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.8rem;
    margin: 1.3rem 0 1.5rem;
}

.jiko-example-list > div {
    padding: 0.9rem 1rem;
    background-color: #f2f8f4;
    border-left: 4px solid #4b7f65;
    box-sizing: border-box;
}

.jiko-example-list strong {
    display: block;
    margin-bottom: 0.2rem;
    color: #35624c;
}

.jiko-example-list span {
    display: block;
}

.jiko-summary {
    margin-top: 2.5rem;
    padding: 1.4rem 1.5rem;
    background-color: #f2f5fa;
    border: 2px solid #b8c8e5;
    box-sizing: border-box;
}

.jiko-summary h2 {
    margin: 0 0 1rem;
    color: #354e86;
    font-size: 22px;
}

.jiko-summary ol {
    margin: 0;
    padding: 0;
    list-style: none;
}

.jiko-summary li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 0.8rem;
}

.jiko-summary li:last-child {
    margin-bottom: 0;
}

.jiko-summary li > span {
    display: flex;
    flex: 0 0 30px;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    margin-right: 0.8rem;
    border-radius: 50%;
    background-color: #5472cd;
    color: #fff;
    font-weight: bold;
    line-height: 1;
}

.jiko-summary li p {
    margin: 0 !important;
}

@media screen and (max-width: 700px) {
    #main-title {
        width: auto;
        margin: 1.5rem 1rem 0;
    }

    #main-title h1 {
        font-size: 26px;
        border-bottom-width: 5px;
    }

    #main-title h1::after {
        bottom: -5px;
        width: 45%;
        height: 5px;
    }

    #jiko-wrapper {
        width: auto;
        margin: 1.2rem 1rem 2rem;
        font-size: 15px;
        line-height: 1.75;
    }

    .jiko-intro {
        padding: 1rem;
        font-size: 16px;
    }

    .jiko-work-alert h2,
    .jiko-section > h2,
    .jiko-important h2 {
        padding: 0.75rem 0.9rem;
        font-size: 18px;
    }

    .jiko-work-alert p,
    .jiko-section-body,
    .jiko-important-body {
        padding: 1rem;
    }

    .jiko-explanation {
        padding: 0 0.3rem;
    }

    .jiko-police {
        padding: 1rem;
    }

    .jiko-police h3 {
        font-size: 17px;
    }

    .jiko-certificate {
        padding: 1rem;
    }

    .jiko-doc-number {
        flex-basis: 36px;
        width: 36px;
        height: 36px;
        margin-right: 0.7rem;
        font-size: 18px;
    }

    .jiko-doc-text h3 {
        font-size: 18px;
    }

    .jiko-external-button {
        display: block;
        text-align: center;
    }

    .jiko-certificate-sub {
        padding: 0.9rem;
    }

    .jiko-subtitle {
        margin-top: 1.5rem;
        font-size: 17px;
    }

    .jiko-doc-list,
    .jiko-example-list {
        grid-template-columns: 1fr;
    }

    .jiko-doc-card h4,
    .jiko-self-doc h3 {
        font-size: 17px;
    }

    .jiko-self-doc,
    .jiko-other-doc {
        display: block;
    }

    .jiko-self-doc {
        padding: 1rem;
    }

    .jiko-other-doc {
        padding: 0;
    }

    .jiko-self-doc a,
    .jiko-other-doc a {
        margin-top: 0.8rem;
    }

    .jiko-summary {
        padding: 1rem;
    }

    .jiko-summary h2 {
        font-size: 19px;
    }

    .jiko-summary li > span {
        flex-basis: 28px;
        width: 28px;
        height: 28px;
        margin-right: 0.6rem;
        font-size: 14px;
    }
}