/* Policy Page Styles (Privacy Policy, Terms, etc.) */

/* Page Hero - 共通スタイル */
.page-hero {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    padding: 140px 0 60px;
    color: white;
    text-align: center;
}

.page-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.breadcrumb {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.8);
}

.breadcrumb a {
    color: rgba(255, 255, 255, 0.8);
    transition: color 0.3s ease;
}

.breadcrumb a:hover {
    color: white;
}

.breadcrumb i {
    font-size: 0.75rem;
}

/* Policy Content */
.policy-content {
    padding: 80px 0;
    background: #f8f9fa;
}

.policy-wrapper {
    max-width: 800px;
    margin: 0 auto;
    background: white;
    padding: 60px;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

/* Policy Introduction */
.policy-intro {
    margin-bottom: 50px;
    padding-bottom: 30px;
    border-bottom: 1px solid #e0e0e0;
}

.policy-intro p {
    font-size: 1.125rem;
    line-height: 1.8;
    color: #666;
}

/* Policy Sections */
.policy-section {
    margin-bottom: 40px;
}

.policy-section:last-child {
    margin-bottom: 0;
}

.policy-section h2 {
    font-size: 1.5rem;
    color: var(--text-dark);
    margin-bottom: 20px;
    padding-left: 20px;
    position: relative;
}

.policy-section h2::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 24px;
    background: var(--primary-color);
    border-radius: 2px;
}

.policy-section p {
    color: #666;
    line-height: 1.8;
    margin-bottom: 15px;
}

.policy-section ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.policy-section ul li {
    padding: 8px 0;
    padding-left: 30px;
    position: relative;
    color: #666;
    line-height: 1.6;
}

.policy-section ul li::before {
    content: "・";
    position: absolute;
    left: 10px;
    color: var(--primary-color);
    font-weight: bold;
}

/* Contact Box */
.contact-box {
    background: #f8f9fa;
    padding: 30px;
    border-radius: 8px;
    margin-top: 20px;
}

.contact-box p {
    margin-bottom: 20px;
    color: #666;
}

.contact-info {
    background: white;
    padding: 25px;
    border-radius: 5px;
    border-left: 4px solid var(--primary-color);
}

.contact-info p {
    margin: 5px 0;
    line-height: 1.6;
}

.contact-info p strong {
    color: var(--text-dark);
    font-size: 1.125rem;
    display: block;
    margin-bottom: 10px;
}

/* Policy Date */
.policy-date {
    margin-top: 60px;
    padding-top: 30px;
    border-top: 1px solid #e0e0e0;
    text-align: right;
}

.policy-date p {
    margin: 5px 0;
    color: #999;
    font-size: 0.875rem;
}

/* Table of Contents (if needed) */
.policy-toc {
    background: #f8f9fa;
    padding: 30px;
    border-radius: 8px;
    margin-bottom: 40px;
}

.policy-toc h3 {
    font-size: 1.25rem;
    color: var(--text-dark);
    margin-bottom: 20px;
}

.policy-toc ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.policy-toc ul li {
    margin-bottom: 10px;
}

.policy-toc ul li a {
    color: #666;
    text-decoration: none;
    display: flex;
    align-items: center;
    transition: color 0.3s ease;
}

.policy-toc ul li a:hover {
    color: var(--primary-color);
}

.policy-toc ul li a::before {
    content: "▸";
    margin-right: 10px;
    color: var(--primary-color);
}

/* Responsive Design */
@media (max-width: 768px) {
    .page-title {
        font-size: 2rem;
    }
    
    .policy-wrapper {
        padding: 40px 20px;
    }
    
    .policy-section h2 {
        font-size: 1.25rem;
        padding-left: 15px;
    }
    
    .policy-section h2::before {
        width: 3px;
        height: 20px;
    }
    
    .contact-box {
        padding: 20px;
    }
    
    .contact-info {
        padding: 20px 15px;
    }
    
    .policy-date {
        text-align: center;
    }
}