*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Hiragino Sans", "Noto Sans JP", sans-serif;
    background: #f5f5f5;
    color: #333;
    line-height: 1.8;
}
.legal-header {
    background: #1a1a2e;
    padding: 24px 0;
    border-bottom: 3px solid #e94560;
}
.legal-header-inner {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.legal-logo {
    color: #e94560;
    font-size: 22px;
    font-weight: 700;
    text-decoration: none;
}
.legal-home-link {
    color: #aaa;
    font-size: 14px;
    text-decoration: none;
}
.legal-home-link:hover { color: #fff; }
.legal-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 40px 24px 60px;
}
.legal-content h1 {
    font-size: 28px;
    color: #1a1a2e;
    margin-bottom: 8px;
}
.legal-updated {
    color: #888;
    font-size: 14px;
    margin-bottom: 32px;
}
.legal-notice {
    background: #fff3cd;
    border: 1px solid #ffc107;
    border-radius: 8px;
    padding: 16px 20px;
    margin-bottom: 32px;
    font-size: 14px;
    color: #856404;
}
.legal-content h2 {
    font-size: 20px;
    color: #1a1a2e;
    margin-top: 36px;
    margin-bottom: 12px;
    padding-bottom: 8px;
    border-bottom: 2px solid #e94560;
}
.legal-content h3 {
    font-size: 16px;
    color: #444;
    margin-top: 20px;
    margin-bottom: 8px;
}
.legal-content p {
    margin-bottom: 12px;
    font-size: 15px;
}
.legal-content ul, .legal-content ol {
    margin-bottom: 12px;
    padding-left: 24px;
}
.legal-content li {
    margin-bottom: 6px;
    font-size: 15px;
}
.penalty-table {
    width: 100%;
    border-collapse: collapse;
    margin: 16px 0 24px;
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}
.penalty-table th {
    background: #1a1a2e;
    color: #fff;
    padding: 10px 16px;
    text-align: left;
    font-size: 14px;
    font-weight: 600;
}
.penalty-table td {
    padding: 10px 16px;
    font-size: 14px;
    border-bottom: 1px solid #eee;
}
.penalty-table tr:last-child td {
    border-bottom: none;
}
.severity-low { color: #f0ad4e; font-weight: 600; }
.severity-mid { color: #e94560; font-weight: 600; }
.severity-high { color: #c0392b; font-weight: 600; }
/* v0.6.3: Burrow Theme 対応 - wood-dark グラデ + キャロット辺縁 + hay リンク */
.legal-footer {
    background: linear-gradient(180deg, #3a2818 0%, #2e1a0c 100%);
    padding: 26px 0 28px;
    text-align: center;
    border-top: 3px solid #ef7a2a;
    position: relative;
}
.legal-footer::before {
    content: '';
    position: absolute;
    top: -14px;
    left: 0;
    right: 0;
    height: 12px;
    background-image: radial-gradient(circle at 12px 0, #ef7a2a 0 5px, transparent 5.5px);
    background-size: 24px 12px;
    background-repeat: repeat-x;
    opacity: 0.55;
    pointer-events: none;
}
.legal-footer a {
    color: #f5ead4;
    text-decoration: none;
    font-size: 13px;
    margin: 0 4px;
    padding: 4px 10px;
    border-radius: 999px;
    transition: color 0.15s ease, background 0.15s ease;
}
.legal-footer a:hover {
    color: #2e1a0c;
    background: #ff9a55;
}
.legal-footer-copy {
    color: #dcc48d;
    font-size: 12px;
    margin-top: 12px;
    letter-spacing: 0.03em;
}
/* link accent color utility */
.link-accent { color: #e94560; }
