*, *::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-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;
}
.contact-form {
    background: #fff;
    border-radius: 12px;
    padding: 32px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    margin-top: 20px;
}
.form-group {
    margin-bottom: 20px;
}
.form-group label {
    display: block;
    font-weight: 600;
    font-size: 14px;
    margin-bottom: 6px;
    color: #1a1a2e;
}
.form-group select,
.form-group input,
.form-group textarea {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 15px;
    font-family: inherit;
    background: #fafafa;
    transition: border-color 0.2s;
}
.form-group select:focus,
.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #e94560;
}
.form-group textarea {
    height: 160px;
    resize: vertical;
}
.form-hint {
    font-size: 13px;
    color: #888;
    margin-top: 4px;
}
.form-submit {
    display: inline-block;
    padding: 12px 40px;
    background: #e94560;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
}
.form-submit:hover {
    background: #d63050;
}
.info-card {
    background: #fff;
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    margin-bottom: 16px;
}
.info-card h3 {
    color: #1a1a2e;
    margin-bottom: 8px;
    margin-top: 0;
}
/* 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;
}
/* inline style 置換用クラス */
.link-accent { color: #e94560; }
.form-note-margin { margin-top: 12px; }
