/* ========================================
   TERMS PAGE STYLES - terms.html専用
   利用規約ページ専用スタイル
   ======================================== */

/* 利用規約ヒーローセクション */
.terms-hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    overflow: visible;
}

.terms-hero-content {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1200px;
    padding: 0 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 60px;
    text-align: center;
}

.terms-hero-title {
    font-size: 6rem;
    font-weight: 300;
    color: #333;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin: 0;
    margin-top: 50px;
    opacity: 0;
    transform: translateY(-50px);
    transition: all 1s ease-out;
    text-align: center;
    animation: fadeInUp 1s ease-out 0.5s both;
}

.terms-hero-message {
    background: rgba(255, 255, 255, 0.85);
    border: 2px solid rgba(255, 255, 255, 0.8);
    border-radius: 20px;
    padding: 50px 70px;
    backdrop-filter: blur(10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    opacity: 0;
    transform: translateY(50px) scale(0.9);
    transition: all 1.2s ease-out;
    position: relative;
    z-index: 3;
    text-align: center;
    max-width: 900px;
    width: 100%;
    animation: fadeInUp 1s ease-out 0.8s both, float 6s ease-in-out infinite 2s;
}

.terms-main-title {
    font-size: 2.3rem;
    line-height: 1.3;
    color: #2c3e50;
    margin: 0 0 25px 0;
    text-align: center;
    font-weight: 700;
}

.terms-description {
    font-size: 1.2rem;
    line-height: 1.6;
    color: #555;
    margin: 0 0 30px 0;
    text-align: center;
    font-weight: 400;
}

.terms-update-date {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-top: 20px;
}

/* 利用規約内容セクション */
.terms-content-section {
    position: relative;
    background: transparent;
    padding: 80px 0;
    overflow: visible;
}

.terms-content {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 40px;
}

.terms-section {
    background: rgba(255, 255, 255, 0.85);
    border: 2px solid rgba(255, 255, 255, 0.8);
    border-radius: 20px;
    padding: 40px 50px;
    margin-bottom: 40px;
    backdrop-filter: blur(10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
    animation: fadeInUp 0.8s ease-out both;
}

.terms-section:nth-child(1) { animation-delay: 0.1s; }
.terms-section:nth-child(2) { animation-delay: 0.2s; }
.terms-section:nth-child(3) { animation-delay: 0.3s; }
.terms-section:nth-child(4) { animation-delay: 0.4s; }
.terms-section:nth-child(5) { animation-delay: 0.5s; }
.terms-section:nth-child(6) { animation-delay: 0.6s; }
.terms-section:nth-child(7) { animation-delay: 0.7s; }
.terms-section:nth-child(8) { animation-delay: 0.8s; }
.terms-section:nth-child(9) { animation-delay: 0.9s; }
.terms-section:nth-child(10) { animation-delay: 1.0s; }
.terms-section:nth-child(11) { animation-delay: 1.1s; }
.terms-section:nth-child(12) { animation-delay: 1.2s; }
.terms-section:nth-child(13) { animation-delay: 1.3s; }
.terms-section:nth-child(14) { animation-delay: 1.4s; }

.terms-section:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.terms-section-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: #2c3e50;
    margin: 0 0 25px 0;
    padding-bottom: 15px;
    border-bottom: 3px solid #007bff;
    position: relative;
}

.terms-section-title::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #007bff, #0056b3);
    border-radius: 2px;
}

.terms-section-content {
    font-size: 1.1rem;
    line-height: 1.7;
    color: #555;
}

.terms-section-content p {
    margin: 0 0 20px 0;
}

.terms-list {
    list-style: none;
    padding: 0;
    margin: 20px 0;
}

.terms-list li {
    position: relative;
    padding: 8px 0 8px 30px;
    margin-bottom: 8px;
    font-size: 1.1rem;
    line-height: 1.6;
    color: #555;
}

.terms-list li::before {
    content: '•';
    position: absolute;
    left: 0;
    top: 8px;
    color: #007bff;
    font-weight: bold;
    font-size: 1.5rem;
}

/* 定義項目 */
.terms-definitions {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin: 25px 0;
}

.definition-item {
    background: rgba(0, 123, 255, 0.1);
    border: 2px solid rgba(0, 123, 255, 0.2);
    border-radius: 15px;
    padding: 25px;
    text-align: center;
    transition: all 0.3s ease;
}

.definition-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 123, 255, 0.2);
    border-color: rgba(0, 123, 255, 0.4);
}

.definition-item h4 {
    font-size: 1.3rem;
    font-weight: 700;
    color: #2c3e50;
    margin: 0 0 12px 0;
}

.definition-item p {
    font-size: 1rem;
    color: #666;
    margin: 0;
    line-height: 1.5;
}

/* サービスカテゴリー */
.service-categories {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 25px;
    margin: 25px 0;
}

.service-category {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 25px;
    background: rgba(255, 255, 255, 0.6);
    border: 2px solid rgba(255, 255, 255, 0.8);
    border-radius: 15px;
    transition: all 0.3s ease;
}

.service-category:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    border-color: rgba(0, 123, 255, 0.4);
}

.service-icon {
    font-size: 2.5rem;
    flex-shrink: 0;
    margin-top: 5px;
}

.service-content h4 {
    font-size: 1.2rem;
    font-weight: 700;
    color: #2c3e50;
    margin: 0 0 10px 0;
}

.service-content p {
    font-size: 1rem;
    color: #666;
    margin: 0;
    line-height: 1.5;
}

/* ハイライトボックス（利用規約用） */
.terms-highlight {
    background: linear-gradient(135deg, rgba(0, 123, 255, 0.1) 0%, rgba(0, 86, 179, 0.05) 100%);
    border: 2px solid rgba(0, 123, 255, 0.3);
    border-radius: 15px;
    padding: 25px;
    margin: 25px 0;
    position: relative;
}

.terms-highlight h4 {
    font-size: 1.2rem;
    font-weight: 700;
    color: #333;
    margin: 0 0 12px 0;
}

.terms-highlight p {
    font-size: 1rem;
    color: #555;
    margin: 0;
    line-height: 1.6;
}

/* 義務項目 */
.obligations-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin: 25px 0;
}

.obligation-item {
    background: rgba(40, 167, 69, 0.1);
    border: 2px solid rgba(40, 167, 69, 0.2);
    border-radius: 15px;
    padding: 25px;
    text-align: center;
    transition: all 0.3s ease;
}

.obligation-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(40, 167, 69, 0.2);
    border-color: rgba(40, 167, 69, 0.4);
}

.obligation-item h4 {
    font-size: 1.2rem;
    font-weight: 700;
    color: #2c3e50;
    margin: 0 0 12px 0;
}

.obligation-item p {
    font-size: 1rem;
    color: #666;
    margin: 0;
    line-height: 1.5;
}

/* 知的財産権セクション */
.ip-rights-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    margin: 25px 0;
}

.ip-section {
    background: rgba(108, 117, 125, 0.1);
    border: 2px solid rgba(108, 117, 125, 0.2);
    border-radius: 15px;
    padding: 25px;
    transition: all 0.3s ease;
}

.ip-section:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(108, 117, 125, 0.2);
    border-color: rgba(108, 117, 125, 0.4);
}

.ip-section h4 {
    font-size: 1.2rem;
    font-weight: 700;
    color: #2c3e50;
    margin: 0 0 15px 0;
}

.ip-section p {
    font-size: 1rem;
    color: #666;
    margin: 0;
    line-height: 1.6;
}

/* 支払い情報 */
.payment-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin: 25px 0;
}

.payment-section {
    background: rgba(255, 193, 7, 0.1);
    border: 2px solid rgba(255, 193, 7, 0.2);
    border-radius: 15px;
    padding: 25px;
    text-align: center;
    transition: all 0.3s ease;
}

.payment-section:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 193, 7, 0.2);
    border-color: rgba(255, 193, 7, 0.4);
}

.payment-section h4 {
    font-size: 1.2rem;
    font-weight: 700;
    color: #2c3e50;
    margin: 0 0 12px 0;
}

.payment-section p {
    font-size: 1rem;
    color: #666;
    margin: 0;
    line-height: 1.5;
}

/* 責任制限セクション */
.liability-sections {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    margin: 25px 0;
}

.liability-item {
    background: rgba(220, 53, 69, 0.1);
    border: 2px solid rgba(220, 53, 69, 0.2);
    border-radius: 15px;
    padding: 25px;
    text-align: center;
    transition: all 0.3s ease;
}

.liability-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(220, 53, 69, 0.2);
    border-color: rgba(220, 53, 69, 0.4);
}

.liability-item h4 {
    font-size: 1.2rem;
    font-weight: 700;
    color: #2c3e50;
    margin: 0 0 12px 0;
}

.liability-item p {
    font-size: 1rem;
    color: #666;
    margin: 0;
    line-height: 1.5;
}

/* 法的情報 */
.legal-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin: 25px 0;
}

.legal-item {
    background: rgba(108, 117, 125, 0.1);
    border: 2px solid rgba(108, 117, 125, 0.2);
    border-radius: 15px;
    padding: 25px;
    text-align: center;
    transition: all 0.3s ease;
}

.legal-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(108, 117, 125, 0.2);
    border-color: rgba(108, 117, 125, 0.4);
}

.legal-item h4 {
    font-size: 1.2rem;
    font-weight: 700;
    color: #2c3e50;
    margin: 0 0 12px 0;
}

.legal-item p {
    font-size: 1rem;
    color: #666;
    margin: 0;
    line-height: 1.5;
}

/* 会社情報（利用規約用） */
.terms-company-info {
    background: rgba(255, 255, 255, 0.6);
    border: 2px solid rgba(255, 255, 255, 0.8);
    border-radius: 15px;
    padding: 30px;
    margin: 30px 0;
}

.terms-company-info h4 {
    font-size: 1.3rem;
    font-weight: 700;
    color: #2c3e50;
    margin: 0 0 20px 0;
}

/* 利用規約専用ボタン */
.terms-contact-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin: 30px 0 0 0;
    flex-wrap: wrap;
}

.terms-contact-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 15px 30px;
    border: none;
    border-radius: 25px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    position: relative;
    overflow: hidden;
    min-height: 55px;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    min-width: 200px;
}

.terms-contact-btn.primary {
    background: linear-gradient(135deg, rgba(0, 123, 255, 0.9), rgba(0, 86, 179, 0.8));
    color: white;
    border: 2px solid rgba(0, 123, 255, 0.3);
}

.terms-contact-btn.secondary {
    background: linear-gradient(135deg, rgba(108, 117, 125, 0.9), rgba(73, 80, 87, 0.8));
    color: white;
    border: 2px solid rgba(108, 117, 125, 0.3);
}

.terms-contact-btn:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.terms-contact-btn.primary:hover {
    box-shadow: 0 8px 25px rgba(0, 123, 255, 0.4);
}

.terms-contact-btn.secondary:hover {
    box-shadow: 0 8px 25px rgba(108, 117, 125, 0.4);
}

.terms-contact-btn .btn-icon {
    font-size: 1.3rem;
    margin-right: 12px;
}

.terms-contact-btn .btn-text {
    font-size: 1rem;
    font-weight: 600;
}

/* レスポンシブデザイン（利用規約） */
@media (max-width: 768px) {
    .terms-hero-content {
        gap: 40px;
        padding: 0 20px;
    }
    
    .terms-hero-title {
        font-size: 4rem;
    }
    
    .terms-hero-message {
        padding: 40px 30px;
        max-width: 100%;
    }
    
    .terms-main-title {
        font-size: 2rem;
    }
    
    .terms-description {
        font-size: 1.1rem;
    }
    
    .terms-content {
        padding: 0 20px;
    }
    
    .terms-section {
        padding: 30px 25px;
        margin-bottom: 30px;
    }
    
    .terms-section-title {
        font-size: 1.5rem;
    }
    
    .terms-section-content {
        font-size: 1rem;
    }
    
    .terms-definitions,
    .service-categories,
    .obligations-grid,
    .ip-rights-grid,
    .payment-info,
    .liability-sections,
    .legal-info {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .terms-contact-buttons {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }
    
    .terms-contact-btn {
        width: 100%;
        max-width: 300px;
    }
    
    .service-category {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
    
    .service-icon {
        margin-top: 0;
    }
} 