/* 個人情報同意画面 スタイル */

.consent-page main.main-content {
    min-height: 100vh;
    padding: 120px 2rem 4rem;
    display: flex;
    align-items: center;
    justify-content: center;
}


.consent-container {
    max-width: 800px;
    width: 100%;
    margin: 0 auto;
}

.consent-card {
    background: var(--card-bg);
    border-radius: 20px;
    padding: 3rem;
    box-shadow: var(--shadow-card);
    border: var(--border-glass);
    backdrop-filter: blur(24px) saturate(180%);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.consent-card:hover {
    box-shadow: var(--shadow-card-hover);
    background: var(--card-hover);
    border: var(--border-glow);
}

/* ヘッダー部分 */
.consent-header {
    text-align: center;
    margin-bottom: 2.5rem;
}

.consent-icon {
    font-size: 3rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
    display: block;
}

.consent-title {
    font-size: 2rem;
    font-weight: 600;
    color: var(--text-bright);
    margin-bottom: 0.75rem;
    line-height: 1.3;
    white-space: nowrap;
}

.consent-subtitle {
    font-size: 1rem;
    color: var(--text-gray);
    line-height: 1.6;
    max-width: 600px;
    margin: 0 auto;
}

/* コンテンツ部分 */
.consent-content {
    margin-bottom: 2.5rem;
}

.privacy-section h2 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-bright);
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--primary-color);
}

.privacy-text {
    color: var(--text-light);
    line-height: 1.7;
}

.privacy-text p {
    margin-bottom: 1.25rem;
}

.privacy-text h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-bright);
    margin: 1.75rem 0 0.75rem;
}

.privacy-text ul {
    margin-left: 1.5rem;
    margin-bottom: 1.25rem;
}

.privacy-text li {
    margin-bottom: 0.5rem;
    position: relative;
}

.privacy-text li::marker {
    color: var(--primary-color);
}

/* アクション部分 */
.consent-actions {
    border-top: 1px solid rgba(0, 188, 212, 0.2);
    padding-top: 2rem;
}

.checkbox-container {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: rgba(0, 188, 212, 0.05);
    border-radius: 12px;
    border: 1px solid rgba(0, 188, 212, 0.1);
}

.consent-checkbox {
    width: 20px;
    height: 20px;
    margin: 0;
    cursor: pointer;
    accent-color: var(--primary-color);
    transform: scale(1.2);
    flex-shrink: 0;
}

.checkbox-label {
    font-size: 1.125rem;
    font-weight: 500;
    color: var(--text-bright);
    cursor: pointer;
    line-height: 1.5;
    user-select: none;
}

.button-group {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    padding: 1rem 2rem;
    border: none;
    border-radius: 12px;
    font-size: 1.125rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    min-width: 180px;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s;
}

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    background: var(--gradient-primary);
    color: white;
    box-shadow: 0 4px 20px rgba(0, 188, 212, 0.3);
}

.btn-primary:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 8px 32px rgba(0, 188, 212, 0.4);
}

.btn-primary:disabled {
    background: var(--text-gray);
    color: rgba(255, 255, 255, 0.6);
    cursor: not-allowed;
    box-shadow: none;
    transform: none;
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.9);
    color: var(--text-light);
    border: 1px solid rgba(0, 188, 212, 0.2);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.btn-secondary:hover {
    transform: translateY(-2px);
    background: rgba(255, 255, 255, 1);
    border-color: var(--primary-color);
    box-shadow: 0 8px 32px rgba(0, 188, 212, 0.2);
}

.btn i {
    font-size: 1rem;
}

/* レスポンシブデザイン */
@media (max-width: 768px) {
    .consent-page main.main-content {
        padding: 100px 1rem 2rem;
    }
    
    .consent-card {
        padding: 2rem 1.5rem;
        border-radius: 16px;
    }
    
    .consent-title {
        font-size: clamp(1.5rem, 5vw, 1.75rem);
        white-space: nowrap;
    }
    
    .consent-subtitle {
        font-size: 0.9rem;
    }
    
    .privacy-section h2 {
        font-size: 1.25rem;
    }
    
    .privacy-text h3 {
        font-size: 1.125rem;
    }
    
    .checkbox-container {
        flex-direction: row;
        align-items: flex-start;
        gap: 0.75rem;
        padding: 1.25rem;
    }
    
    .checkbox-label {
        font-size: 1rem;
    }
    
    .button-group {
        flex-direction: column;
        align-items: center;
    }
    
    .btn {
        width: auto;
        min-width: 200px;
        padding: 1rem 2rem;
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .consent-card {
        padding: 1.5rem 1rem;
    }
    
    .consent-title {
        font-size: clamp(1rem, 6vw, 1.5rem);
        white-space: nowrap;
    }
    
    .consent-icon {
        font-size: 2.5rem;
    }
    
    .privacy-text ul {
        margin-left: 1rem;
    }
    
    .checkbox-container {
        gap: 0.5rem;
        padding: 1rem;
    }
    
    .checkbox-label {
        font-size: 0.95rem;
        line-height: 1.4;
    }
}

/* 極小デバイス（320px以下）向け追加調整 */
@media (max-width: 320px) {
    .consent-title {
        font-size: clamp(0.85rem, 7vw, 1rem);
        white-space: nowrap;
    }
}


/* ページ読み込みアニメーション */
.fade-out {
    opacity: 0;
}

.slide-down {
    transform: translateY(-30px);
}

.fade-in {
    opacity: 1;
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.slide-up {
    transform: translateY(0);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ボタンホバー効果 */
.scale-hover {
    transform: scale(1.02);
    transition: transform 0.2s ease;
}

/* モーション低減対応はstylesheet.cssの共通定義で処理済み */