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

body {
    font-family: "Noto Sans JP", "Hiragino Sans", "Yu Gothic UI", sans-serif;
    color: #4a3728;
    background: #fdf8f5;
    line-height: 1.75;
    font-size: clamp(0.9375rem, 2.8vw, 1rem);
    -webkit-text-size-adjust: 100%;
}

.page-shell {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.page-main {
    flex: 1;
    width: 100%;
    padding: clamp(20px, 4vw, 48px) clamp(16px, 4vw, 28px) clamp(40px, 6vw, 72px);
}

.page-inner {
    max-width: 720px;
    margin: 0 auto;
    width: 100%;
}

.back-row {
    margin-bottom: clamp(18px, 3vw, 24px);
}

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.875rem;
    font-weight: 500;
    color: #5c4f44;
    text-decoration: none;
    padding: 8px 4px;
    border-radius: 6px;
    transition: color 0.2s, background 0.2s;
}

.back-link:hover {
    color: #c17d65;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.back-link:focus-visible {
    outline: 2px solid #c17d65;
    outline-offset: 2px;
}

.page-header {
    text-align: center;
    margin-bottom: clamp(22px, 4vw, 32px);
}

.page-header h1 {
    font-family: "Shippori Mincho", "Noto Serif JP", serif;
    font-size: clamp(1.2rem, 4.2vw, 1.65rem);
    font-weight: 600;
    color: #3d2e24;
    letter-spacing: 0.04em;
    line-height: 1.45;
}

.page-header .rule {
    width: min(260px, 58%);
    height: 1px;
    background: linear-gradient(90deg, transparent, #c4b5a8, transparent);
    margin: 14px auto 0;
}

.content-card {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(61, 46, 36, 0.08);
    padding: clamp(22px, 5vw, 40px) clamp(18px, 4vw, 36px);
    overflow-wrap: anywhere;
    word-break: break-word;
}

.prose h2 {
    font-family: "Shippori Mincho", "Noto Serif JP", serif;
    font-size: clamp(1.02rem, 3.2vw, 1.18rem);
    font-weight: 600;
    color: #3d2e24;
    margin: 1.65em 0 0.6em;
    line-height: 1.4;
}

.prose h2:first-child {
    margin-top: 0;
}

.prose p {
    margin: 0 0 1em;
    color: #5c4f44;
}

.prose ul {
    margin: 0 0 1.1em 1.15em;
    padding: 0;
    color: #5c4f44;
}

.prose li {
    margin: 0.4em 0;
    padding-left: 0.2em;
}

.prose li::marker {
    color: #c17d65;
}

.prose .note {
    margin-top: 1.35em;
    padding: 14px 16px;
    background: #fff9e1;
    border-radius: 10px;
    font-size: 0.88em;
    line-height: 1.7;
    color: #5c4f44;
}

.def-list dt {
    font-weight: 600;
    color: #3d2e24;
    margin-top: 1.35em;
    font-size: 0.92rem;
}

.def-list dt:first-of-type {
    margin-top: 0;
}

.def-list dd {
    margin: 0.4em 0 0;
    color: #5c4f44;
    font-size: 1rem;
}

.company-name {
    font-family: "Shippori Mincho", "Noto Serif JP", serif;
    font-size: clamp(1.1rem, 3vw, 1.25rem);
    font-weight: 600;
    color: #3d2e24;
    margin-bottom: 0.25em;
}

.site-footer {
    border-top: 1px solid #e8dfd6;
    background: #f7f2ed;
    padding: 28px 20px 36px;
    margin-top: auto;
}

.site-footer-inner {
    max-width: 920px;
    margin: 0 auto;
}

.site-footer-nav ul {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 8px 6px;
}

.site-footer-nav li {
    display: inline-flex;
    align-items: center;
    font-size: 0.875rem;
}

.site-footer-nav li:not(:last-child)::after {
    content: "";
    display: inline-block;
    width: 1px;
    height: 0.85em;
    margin-left: 10px;
    background: #c4b5a8;
    opacity: 0.7;
}

.site-footer-nav a {
    color: #5c4f44;
    text-decoration: none;
    padding: 6px 4px;
    border-radius: 4px;
    transition: color 0.2s, background 0.2s;
}

.site-footer-nav a:hover {
    color: #c17d65;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.site-footer-nav a:focus-visible {
    outline: 2px solid #c17d65;
    outline-offset: 2px;
}

.site-footer-nav a[aria-current="page"] {
    color: #c17d65;
    font-weight: 600;
    pointer-events: none;
}

.site-footer-copy {
    margin-top: 18px;
    text-align: center;
    font-size: 0.75rem;
    color: #8a7b6f;
}

@media (max-width: 520px) {
    .site-footer-nav ul {
        flex-direction: column;
        gap: 4px;
    }

    .site-footer-nav li:not(:last-child)::after {
        display: none;
    }

    .prose ul {
        margin-left: 1em;
    }
}
