/* プライバシーポリシーページ専用CSS */

/* 基本設定 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Hiragino Kaku Gothic ProN", "ヒラギノ角ゴ ProN W3", "メイリオ", Meiryo, "MS PGothic", sans-serif;
    line-height: 1.7;
    color: #333;
    background-color: #f8f9fa;
}

/* パンくずナビ */
.breadcrumb-nav {
    background-color: #fff;
    padding: 1rem 2rem;
    border-bottom: 1px solid #e9ecef;
    font-size: 0.9rem;
}

.breadcrumb-link {
    color: #007bff;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.breadcrumb-link:hover {
    color: #0056b3;
    text-decoration: underline;
}

.breadcrumb-separator {
    margin: 0 0.5rem;
    color: #6c757d;
}

/* メインコンテナ */
.privacy-container {
    max-width: 800px;
    margin: 2rem auto;
    padding: 0 1rem;
}

/* ページヘッダー */
.privacy-header {
    text-align: center;
    padding: 2.5rem 2rem;
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    color: white;
    border-radius: 12px;
    margin-bottom: 3rem;
    box-shadow: 0 4px 20px rgba(40, 167, 69, 0.2);
}

.privacy-title {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.privacy-subtitle {
    font-size: 1.1rem;
    opacity: 0.9;
    font-weight: 400;
}

/* 基本方針セクション */
.basic-policy {
    background: #fff;
    padding: 2rem;
    border-radius: 8px;
    margin-bottom: 2rem;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.08);
    border-left: 4px solid #28a745;
}

.policy-intro {
    text-align: center;
}

.intro-text {
    font-size: 1rem;
    line-height: 1.8;
    color: #495057;
}

.intro-text strong {
    color: #28a745;
    font-weight: 600;
}

/* 外部リンク */
.external-link {
    color: #007bff;
    text-decoration: none;
    font-weight: 500;
    border-bottom: 1px dotted #007bff;
    transition: all 0.3s ease;
}

.external-link:hover {
    color: #0056b3;
    text-decoration: none;
    border-bottom: 1px solid #0056b3;
}

/* 詳細セクション */
.privacy-details {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.detail-section {
    background: #fff;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    border-left: 4px solid #007bff;
    transition: all 0.3s ease;
}

.detail-section:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.section-title {
    font-size: 1.3rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.section-number {
    background: #007bff;
    color: white;
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    font-weight: bold;
    flex-shrink: 0;
}

.section-content {
    margin-left: 2.5rem;
}

.section-text {
    color: #495057;
    line-height: 1.8;
    font-size: 0.95rem;
}

/* リスト内のスタイル調整 */
.section-text ul, 
.section-text ol {
    margin: 1rem 0;
    padding-left: 1.5rem;
}

.section-text li {
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

.section-text p {
    margin-bottom: 1rem;
}

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

/* 強調テキスト */
.section-text strong {
    color: #2c3e50;
    font-weight: 600;
}

/* フッター */
.privacy-footer {
    background: #2c3e50;
    color: white;
    padding: 2rem;
    border-radius: 8px;
    margin-top: 3rem;
}

.footer-title {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #20c997;
}

.footer-note p {
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.last-updated {
    text-align: center;
    padding-top: 1rem;
    border-top: 1px solid #495057;
    font-size: 0.9rem;
    color: #adb5bd;
}

.last-updated span {
    font-weight: 500;
    color: #20c997;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    .privacy-container {
        margin: 1rem auto;
        padding: 0 0.5rem;
    }

    .privacy-header {
        padding: 2rem 1rem;
        margin-bottom: 2rem;
    }

    .privacy-title {
        font-size: 1.8rem;
    }

    .privacy-subtitle {
        font-size: 1rem;
    }

    .basic-policy,
    .detail-section {
        padding: 1.5rem;
        margin-bottom: 1.5rem;
    }

    .section-title {
        font-size: 1.2rem;
        flex-direction: column;
        align-items: flex-start;
        gap: 0.8rem;
    }

    .section-content {
        margin-left: 0;
        margin-top: 1rem;
    }

    .intro-text {
        font-size: 0.95rem;
        text-align: left;
    }

    .section-text {
        font-size: 0.9rem;
    }

    .privacy-footer {
        padding: 1.5rem;
        margin-top: 2rem;
    }

    .breadcrumb-nav {
        padding: 0.8rem 1rem;
        font-size: 0.8rem;
    }
}

@media (max-width: 480px) {
    .privacy-title {
        font-size: 1.5rem;
    }

    .privacy-subtitle {
        font-size: 0.9rem;
    }

    .basic-policy,
    .detail-section {
        padding: 1rem;
    }

    .section-title {
        font-size: 1.1rem;
    }

    .section-number {
        width: 1.8rem;
        height: 1.8rem;
        font-size: 0.8rem;
    }

    .section-text {
        font-size: 0.85rem;
    }

    .intro-text {
        font-size: 0.9rem;
    }

    .footer-title {
        font-size: 1.1rem;
    }

    .privacy-footer {
        padding: 1rem;
    }
}

/* 印刷対応 */
@media print {
    .privacy-container {
        max-width: none;
        margin: 0;
        padding: 0;
    }

    .privacy-header {
        background: none !important;
        color: black !important;
        box-shadow: none !important;
        border: 2px solid black;
    }

    .basic-policy,
    .detail-section {
        box-shadow: none !important;
        border: 1px solid #ccc;
        break-inside: avoid;
    }

    .section-number {
        background: #f0f0f0 !important;
        color: black !important;
    }

    .privacy-footer {
        background: none !important;
        color: black !important;
        border: 1px solid black;
    }

    .breadcrumb-nav {
        display: none;
    }

    .external-link {
        color: black !important;
        border-bottom: 1px solid black !important;
    }

    .external-link::after {
        content: " (" attr(href) ")";
        font-size: 0.8rem;
        color: #666;
    }
}

/* アクセシビリティ改善 */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* フォーカス対応 */
.external-link:focus {
    outline: 2px solid #007bff;
    outline-offset: 2px;
}

.breadcrumb-link:focus {
    outline: 2px solid #007bff;
    outline-offset: 2px;
}