@charset "UTF-8";

/* =========================================
   Privacy Policy Styles
   ========================================= */

/* Main Container Override if needed, but inheriting .container is best */
.privacy-page-wrap {
    padding: 120px 0 100px;
    /* Adjust based on header height */
    background: #f9f9f9;
}

/* Page Title area */
.privacy-title-area {
    text-align: center;
    margin-bottom: 60px;
}

.privacy-title-en {
    display: block;
    font-family: var(--font-en-head);
    font-size: 3rem;
    font-weight: 900;
    color: #e0e0e0;
    line-height: 1;
    letter-spacing: 0.05em;
    margin-bottom: -20px;
    /* Overlap effect */
    position: relative;
    z-index: 0;
}

.privacy-title-jp {
    position: relative;
    z-index: 1;
    font-size: 2rem;
    font-weight: bold;
    color: #333;
    display: inline-block;
    background: linear-gradient(transparent 70%, #e6f0fa 0%);
    /* Underline marker effect */
    padding: 0 10px;
}

/* Policy Content Box */
.policy-content {
    background: #fff;
    padding: 60px 80px;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.03);
    max-width: 900px;
    margin: 0 auto;
    font-size: 0.95rem;
    line-height: 2;
    color: #444;
}

.policy-content p {
    margin-bottom: 2em;
}

.policy-content ol {
    list-style: none;
    /* Custom numbering */
    counter-reset: policy-counter;
    padding: 0;
    margin-bottom: 3em;
}

.policy-content ol>li {
    counter-increment: policy-counter;
    margin-bottom: 2.5em;
}

.policy-content ol>li::before {
    content: "第" counter(policy-counter) "条 （" attr(data-title) "）";
    /* Note: data-title needs to be in HTML, or we just style the title inside */
    /* Alternative simplified styling if we assume format text directly */
}

/* Let's assume standard structure: <li> <h3>Title</h3> <p>Content</p> </li> or similar.
   But current HTML uses nested ULs without H tags. I will refactor HTML too.
*/

/* Refactored List Styling */
.policy-section {
    margin-bottom: 40px;
}

.policy-heading {
    font-size: 1.1rem;
    font-weight: bold;
    color: #333;
    border-left: 4px solid var(--accent-color);
    padding-left: 15px;
    margin-bottom: 15px;
    background: #f4f5f7;
    padding: 10px 15px;
    border-radius: 0 4px 4px 0;
}

.policy-list {
    list-style: none;
    padding-left: 0;
}

.policy-list li {
    padding-left: 1.5em;
    position: relative;
    margin-bottom: 10px;
}

.policy-list li::before {
    content: "・";
    position: absolute;
    left: 0;
    color: var(--accent-color);
    font-weight: bold;
}

/* Signature / Date */
.policy-footer {
    text-align: right;
    margin-top: 50px;
    font-size: 0.9rem;
    color: #666;
}

.policy-footer p {
    margin-bottom: 5px;
}

/* Back Button */
.privacy-btn-area {
    text-align: center;
    margin-top: 60px;
}

.btn-back-home {
    display: inline-block;
    padding: 15px 50px;
    border: 1px solid #ccc;
    border-radius: 50px;
    color: #666;
    font-weight: bold;
    transition: all 0.3s;
    background: #fff;
    text-decoration: none;
}

.btn-back-home:hover {
    background: #333;
    color: #fff;
    border-color: #333;
}

/* Mobile */
@media (max-width: 768px) {
    .policy-content {
        padding: 40px 20px;
    }

    .privacy-title-en {
        font-size: 2.5rem;
    }

    .privacy-title-jp {
        font-size: 1.5rem;
    }
}