@font-face {
    font-family: "Noto Sans KR";
    font-weight: 400;
    font-display: swap;
    src: url("./fonts/noto-sans-kr-regular.woff2") format("woff2");
}

@font-face {
    font-family: "Noto Sans KR";
    font-weight: 700;
    font-display: swap;
    src: url("./fonts/noto-sans-kr-bold.woff2") format("woff2");
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    min-height: 100vh;
    background: #fff;
    color: #252525;
    font-family: "Noto Sans KR", "Malgun Gothic", sans-serif;
    word-break: keep-all;
    overflow-wrap: anywhere;
}

a {
    color: inherit;
    text-decoration: none;
}

a:focus-visible {
    outline: 2px solid #a32649;
    outline-offset: 5px;
}

.site-header {
    display: flex;
    padding: 24px 20px;
    align-items: center;
    justify-content: center;
}

.site-logo {
    display: block;
    width: 140px;
    height: auto;
}

.address-guide {
    padding: 16px 20px 0;
    text-align: center;
}

h1 {
    font-size: 32px;
    font-weight: 400;
    line-height: 1.5;
}

.action-wrap {
    margin-top: 45px;
}

.action-button {
    display: inline-block;
    max-width: 100%;
    padding: 10px 20px;
    border: 1px solid #bc284c;
    border-radius: 4px;
    background: #fe5377;
    color: #fff;
    font-size: 32px;
    font-weight: 700;
    line-height: 1.5;
}

.action-button:hover {
    background: #ec4166;
}

.home-blog-nav {
    margin: 14px 0 28px;
    font-size: 14px;
}

.home-blog-nav a {
    display: inline-block;
    padding: 6px 12px;
    color: #a32649;
    text-decoration: underline;
    text-underline-offset: 4px;
}

.address-info {
    font-size: 24px;
    line-height: 1.5;
}

.guide-article {
    width: calc(100% - 32px);
    max-width: 980px;
    margin: 50px auto 0;
    padding: 22px 24px;
    border: 1px solid #dedede;
    border-radius: 14px;
}

.guide-article h2 {
    margin: 16px 0 10px;
    padding-bottom: 8px;
    border-bottom: 1px solid #e8e8e8;
    color: #765a00;
    font-size: 24px;
}

.guide-article h3 {
    margin: 18px 0 8px;
    font-size: 20px;
}

.guide-article p {
    margin-bottom: 14px;
    color: #454545;
    font-size: 16px;
    line-height: 1.8;
}

.guide-article .updated {
    margin: 20px 0 0;
    color: #666;
    font-size: 13px;
    text-align: right;
}

.site-footer {
    max-width: 980px;
    margin: 26px auto 18px;
    padding: 0 16px;
    color: #666;
    font-size: 12px;
    line-height: 1.8;
    text-align: center;
}

.error-page .address-guide {
    padding-top: 40px;
}

.error-code {
    margin-bottom: 12px;
    color: #765a00;
    font-size: 64px;
}

.error-description {
    margin-top: 20px;
    color: #454545;
    line-height: 1.8;
}

.skip-link {
    position: absolute;
    top: -100px;
    left: 12px;
    padding: 8px 12px;
    background: #fff;
    z-index: 1;
}

.skip-link:focus {
    top: 8px;
}

@media (max-width: 580px) {
    .action-wrap {
        margin-top: 40px;
    }

    .guide-article {
        padding: 16px;
    }

    .guide-article h2 {
        font-size: 20px;
    }

    .guide-article h3 {
        font-size: 18px;
    }

    .guide-article p {
        font-size: 14px;
    }

    .guide-article .updated {
        font-size: 12px;
    }
}

@media (max-width: 360px) {
    .action-button {
        font-size: 26px;
    }

    .address-info {
        font-size: 20px;
    }
}
