/* 利用規約ページのスタイル */

/* ヒーローセクション */
.hero-section {
    padding: 120px 0 80px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    text-align: center;
}

.hero-section h1 {
    font-size: 3rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-text {
    font-size: 1.1rem;
    line-height: 1.8;
    max-width: 800px;
    margin: 0 auto;
    opacity: 0.95;
}

/* メインコンテンツ */
.terms-main {
    min-height: 100vh;
    background-color: #f8f9fa;
}

.terms-content {
    padding: 80px 0;
}

.terms-section {
    background: white;
    border-radius: 12px;
    padding: 2.5rem;
    margin-bottom: 2rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.terms-section:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.terms-section h2 {
    color: #2c5aa0;
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #e9ecef;
}

.terms-text {
    line-height: 1.8;
    font-size: 1rem;
    color: #333;
}

.terms-text p {
    margin-bottom: 1rem;
}

.terms-text ul {
    margin: 1rem 0;
    padding-left: 2rem;
}

.terms-text li {
    margin-bottom: 0.5rem;
    position: relative;
}

.terms-text li::marker {
    color: #2c5aa0;
}

.terms-text strong {
    color: #2c5aa0;
    font-weight: 600;
}

/* 更新日 */
.terms-update {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
    margin-top: 3rem;
}

.terms-update p {
    margin: 0.5rem 0;
    font-size: 1rem;
}

/* レスポンシブデザイン */
@media (max-width: 768px) {
    /* スマホ用余白縮小 */
    .container {
        padding: 0 16px;
    }
    
    section, .section {
        padding: 40px 0 !important;
    }
    
    h1 {
        font-size: 1.75rem;
        line-height: 1.3;
    }
    
    h2 {
        font-size: 1.5rem;
        line-height: 1.3;
    }
    
    p {
        font-size: 0.95rem;
        line-height: 1.6;
    }
    
    .hero-section {
        padding: 140px 0 60px !important;
    }
    
    .hero-section h1 {
        font-size: 1.75rem;
    }
    
    .hero-text {
        font-size: 0.95rem;
        padding: 0 1rem;
    }
    
    .terms-content {
        padding: 40px 0;
    }
    
    .terms-section {
        padding: 1rem;
        margin-bottom: 1rem;
    }
    
    .terms-section h2 {
        font-size: 1.25rem;
    }
    
    .terms-text {
        font-size: 0.95rem;
    }
    
    .terms-text ul {
        padding-left: 1.5rem;
    }
    
    .terms-update {
        padding: 1.5rem;
        margin-top: 2rem;
    }
}

@media (max-width: 480px) {
    .hero-section h1 {
        font-size: 1.8rem;
    }
    
    .terms-section {
        padding: 1rem;
    }
    
    .terms-section h2 {
        font-size: 1.2rem;
    }
    
    .terms-text {
        font-size: 0.9rem;
    }
}