/* =====================================================
   プライバシーポリシーページ専用スタイル
   フラッシュIOデザインスタイルに準拠
   ===================================================== */

/* ==================== 共通スタイル ==================== */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", "Hiragino Sans", "Hiragino Kaku Gothic ProN", Arial, "Yu Gothic", Meiryo, sans-serif;
    line-height: 1.8;
    color: #333;
    margin: 0;
    padding: 0;
    background-color: #f5f7fa;
}

/* ==================== ヒーローセクション ==================== */
.privacy-hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 80px 20px;
    text-align: center;
    color: white;
    position: relative;
    overflow: hidden;
}

.privacy-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 50%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.privacy-hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
}

.privacy-hero-title {
    font-size: 3rem;
    font-weight: 700;
    margin: 0 0 15px 0;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    animation: fadeInUp 0.8s ease-out;
}

.privacy-hero-subtitle {
    font-size: 1.2rem;
    margin: 0 0 25px 0;
    opacity: 0.95;
    font-weight: 500;
    animation: fadeInUp 0.8s ease-out 0.1s both;
}

.privacy-hero-description {
    font-size: 1rem;
    line-height: 1.8;
    opacity: 0.9;
    max-width: 700px;
    margin: 0 auto;
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

/* ==================== メインコンテナ ==================== */
.privacy-container {
    max-width: 1200px;
    margin: -40px auto 60px auto;
    padding: 0 20px;
    position: relative;
    z-index: 2;
}

/* ==================== 目次 ==================== */
.privacy-toc {
    background: white;
    border-radius: 16px;
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    animation: fadeInUp 0.6s ease-out 0.3s both;
}

.privacy-toc h2 {
    font-size: 1.5rem;
    margin: 0 0 20px 0;
    color: #667eea;
    display: flex;
    align-items: center;
    gap: 10px;
}

.privacy-toc h2 i {
    font-size: 1.3rem;
}

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

.privacy-toc li {
    margin-bottom: 12px;
}

.privacy-toc a {
    color: #555;
    text-decoration: none;
    display: flex;
    align-items: center;
    padding: 8px 12px;
    border-radius: 8px;
    transition: all 0.3s ease;
    font-weight: 500;
}

.privacy-toc a:hover {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    transform: translateX(5px);
}

/* ==================== コンテンツエリア ==================== */
.privacy-content {
    background: white;
    border-radius: 16px;
    padding: 40px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    animation: fadeInUp 0.6s ease-out 0.4s both;
}

/* ==================== セクション ==================== */
.privacy-section {
    margin-bottom: 60px;
    padding-top: 20px;
    scroll-margin-top: 100px;
}

.privacy-section:last-of-type {
    margin-bottom: 40px;
}

.section-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.8rem;
    margin-bottom: 20px;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.section-title {
    font-size: 2rem;
    margin: 0 0 20px 0;
    color: #333;
    font-weight: 700;
}

.section-content {
    color: #555;
    font-size: 1rem;
    line-height: 1.9;
}

.section-content p {
    margin: 0 0 20px 0;
}

.section-content ul {
    margin: 15px 0;
    padding-left: 25px;
}

.section-content li {
    margin-bottom: 10px;
}

/* ==================== 情報カード ==================== */
.info-card {
    background: linear-gradient(135deg, #f5f7fa 0%, #e8ecf4 100%);
    border-radius: 12px;
    padding: 25px;
    margin: 25px 0;
    border-left: 4px solid #667eea;
}

.info-card-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 15px;
}

.info-card-header i {
    color: #667eea;
    font-size: 1.5rem;
}

.info-card-header h3 {
    margin: 0;
    font-size: 1.3rem;
    color: #333;
}

.info-card ul {
    margin: 10px 0 0 0;
    padding-left: 25px;
}

.info-card li {
    margin-bottom: 8px;
    color: #555;
}

/* ==================== データグリッド ==================== */
.data-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin: 25px 0;
}

.data-card {
    background: white;
    border: 2px solid #e8ecf4;
    border-radius: 12px;
    padding: 25px;
    text-align: center;
    transition: all 0.3s ease;
}

.data-card:hover {
    border-color: #667eea;
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.15);
    transform: translateY(-5px);
}

.data-card-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px auto;
    color: white;
    font-size: 2rem;
}

.data-card h3 {
    font-size: 1.2rem;
    margin: 0 0 10px 0;
    color: #333;
}

.data-card p {
    font-size: 0.95rem;
    color: #666;
    margin: 0;
    line-height: 1.6;
}

/* ==================== 目的リスト ==================== */
.purpose-list {
    margin: 25px 0;
}

.purpose-item {
    display: flex;
    gap: 20px;
    margin-bottom: 25px;
    padding: 20px;
    background: #f8f9fc;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.purpose-item:hover {
    background: #f0f3f9;
    transform: translateX(5px);
}

.purpose-number {
    flex-shrink: 0;
    width: 45px;
    height: 45px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    font-weight: 700;
}

.purpose-content h4 {
    margin: 0 0 8px 0;
    color: #333;
    font-size: 1.2rem;
}

.purpose-content p {
    margin: 0;
    color: #666;
    line-height: 1.7;
}

/* ==================== 開示ボックス ==================== */
.disclosure-box {
    background: #fff9e6;
    border: 2px solid #ffd966;
    border-radius: 12px;
    padding: 25px;
    margin: 25px 0;
}

.disclosure-box h4 {
    margin: 0 0 15px 0;
    color: #d68800;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.disclosure-box ul {
    margin: 0;
    padding-left: 25px;
}

.disclosure-box li {
    margin-bottom: 10px;
    color: #555;
}

/* ==================== Cookie情報 ==================== */
.cookie-info {
    margin: 25px 0;
}

.cookie-section {
    background: #f8f9fc;
    border-radius: 12px;
    padding: 25px;
    margin-bottom: 20px;
}

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

.cookie-section h4 {
    margin: 0 0 15px 0;
    color: #667eea;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.cookie-section p {
    margin: 0 0 10px 0;
    color: #555;
}

.cookie-section ul {
    margin: 10px 0 0 0;
    padding-left: 25px;
}

.cookie-section li {
    margin-bottom: 8px;
    color: #555;
}

/* ==================== セキュリティグリッド ==================== */
.security-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
    margin: 25px 0;
}

.security-card {
    background: linear-gradient(135deg, #f8f9fc 0%, #e8ecf4 100%);
    border-radius: 12px;
    padding: 25px;
    text-align: center;
    transition: all 0.3s ease;
}

.security-card:hover {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.3);
}

.security-card i {
    font-size: 2.5rem;
    color: #667eea;
    margin-bottom: 15px;
    transition: color 0.3s ease;
}

.security-card:hover i {
    color: white;
}

.security-card h4 {
    font-size: 1.2rem;
    margin: 0 0 10px 0;
    color: #333;
    transition: color 0.3s ease;
}

.security-card:hover h4 {
    color: white;
}

.security-card p {
    font-size: 0.95rem;
    color: #666;
    margin: 0;
    line-height: 1.6;
    transition: color 0.3s ease;
}

.security-card:hover p {
    color: rgba(255, 255, 255, 0.9);
}

/* ==================== お子様の個人情報 ==================== */
.children-notice {
    background: #e8f4fd;
    border-left: 4px solid #4a9eff;
    border-radius: 12px;
    padding: 25px;
    margin: 25px 0;
    display: flex;
    gap: 20px;
    align-items: start;
}

.children-notice i {
    font-size: 2rem;
    color: #4a9eff;
    flex-shrink: 0;
    margin-top: 3px;
}

.children-notice h4 {
    margin: 0 0 10px 0;
    color: #333;
    font-size: 1.2rem;
}

.children-notice p {
    margin: 0;
    color: #555;
    line-height: 1.8;
}

/* ==================== 更新情報 ==================== */
.update-info {
    background: #f8f9fc;
    border-radius: 12px;
    padding: 25px;
    margin: 25px 0;
}

.update-row {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid #e0e4ec;
}

.update-row:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.update-label {
    font-weight: 700;
    color: #667eea;
    flex-shrink: 0;
    min-width: 130px;
}

.update-row span:last-child {
    color: #555;
    line-height: 1.7;
}

/* ==================== お問い合わせボックス ==================== */
.contact-box {
    background: linear-gradient(135deg, #f8f9fc 0%, #e8ecf4 100%);
    border-radius: 12px;
    padding: 30px;
    margin: 25px 0;
}

.contact-item {
    display: flex;
    gap: 20px;
    margin-bottom: 25px;
    align-items: start;
}

.contact-item:last-child {
    margin-bottom: 0;
}

.contact-item i {
    font-size: 1.8rem;
    color: #667eea;
    flex-shrink: 0;
    margin-top: 3px;
}

.contact-item h4 {
    margin: 0 0 8px 0;
    color: #333;
    font-size: 1.1rem;
}

.contact-item p {
    margin: 0;
    color: #555;
    line-height: 1.7;
}

.contact-link {
    color: #667eea;
    text-decoration: none;
    font-weight: 600;
    border-bottom: 2px solid transparent;
    transition: all 0.3s ease;
}

.contact-link:hover {
    color: #764ba2;
    border-bottom-color: #764ba2;
}

.response-notice {
    background: white;
    border: 2px solid #667eea;
    border-radius: 12px;
    padding: 20px;
    margin-top: 25px;
    display: flex;
    gap: 15px;
    align-items: center;
}

.response-notice i {
    font-size: 1.8rem;
    color: #667eea;
    flex-shrink: 0;
}

.response-notice p {
    margin: 0;
    color: #555;
    line-height: 1.7;
}

/* ==================== 最終更新日 ==================== */
.last-updated {
    text-align: center;
    padding: 25px;
    border-top: 2px solid #e8ecf4;
    margin-top: 40px;
    color: #666;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.last-updated i {
    color: #667eea;
    font-size: 1.1rem;
}

/* ==================== トップに戻るボタン ==================== */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 55px;
    height: 55px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(102, 126, 234, 0.4);
    z-index: 1000;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 25px rgba(102, 126, 234, 0.5);
}

.back-to-top i {
    font-size: 1.3rem;
}

/* ==================== アニメーション ==================== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ==================== レスポンシブデザイン ==================== */
@media (max-width: 768px) {
    .privacy-hero {
        padding: 60px 20px;
    }
    
    .privacy-hero-title {
        font-size: 2rem;
    }
    
    .privacy-hero-subtitle {
        font-size: 1rem;
    }
    
    .privacy-hero-description {
        font-size: 0.9rem;
    }
    
    .privacy-container {
        margin-top: -30px;
        padding: 0 15px;
    }
    
    .privacy-toc {
        padding: 20px;
    }
    
    .privacy-content {
        padding: 25px 20px;
    }
    
    .section-title {
        font-size: 1.6rem;
    }
    
    .data-grid {
        grid-template-columns: 1fr;
    }
    
    .security-grid {
        grid-template-columns: 1fr;
    }
    
    .purpose-item {
        flex-direction: column;
        gap: 15px;
    }
    
    .purpose-number {
        align-self: flex-start;
    }
    
    .children-notice {
        flex-direction: column;
        gap: 15px;
    }
    
    .update-row {
        flex-direction: column;
        gap: 8px;
    }
    
    .update-label {
        min-width: auto;
    }
    
    .back-to-top {
        width: 50px;
        height: 50px;
        bottom: 20px;
        right: 20px;
    }
}

@media (max-width: 480px) {
    .privacy-hero-title {
        font-size: 1.7rem;
    }
    
    .privacy-toc h2 {
        font-size: 1.3rem;
    }
    
    .section-title {
        font-size: 1.4rem;
    }
    
    .section-icon {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
    }
}

/* ==================== 印刷スタイル ==================== */
@media print {
    .privacy-hero {
        background: none;
        color: black;
        padding: 20px;
    }
    
    .back-to-top {
        display: none;
    }
    
    .privacy-toc {
        page-break-after: always;
    }
    
    .privacy-section {
        page-break-inside: avoid;
    }
}


/* privacy-policyページ：左右の余白を消して全幅にする */
#page-privacy-policy .pp-custom{
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
}

/* 中身は読みやすい幅で中央寄せ（好みで調整） */
#page-privacy-policy .pp-custom .pp-inner{
  max-width: 900px;
  margin: 0 auto;
  padding: 40px 16px;
  box-sizing: border-box;
}