/* contents.html固有のスタイル */

/* ========================================
   Contents Page Styles
======================================== */

/* Smooth scroll */
html {
    scroll-behavior: smooth;
}

/* Gradient text */
.gradient-text {
    background: linear-gradient(135deg, #2E3D4C 0%, #4a6b8a 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Hero gradient background */
.hero-gradient {
    background: linear-gradient(135deg, #131926 0%, #2E3D4C 50%, #3d5a73 100%);
}

/* Card hover effect */
.card-hover {
    transition: all 0.3s ease;
}

.card-hover:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(46, 61, 76, 0.15);
}

/* Feature icon gradient */
.feature-icon {
    background: linear-gradient(135deg, #2E3D4C 0%, #4a6b8a 100%);
}

/* Pulse animation */
.pulse-animation {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

/* Scroll indicator animation */
.scroll-indicator {
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(10px); }
}

/* ========================================
   FAQ Accordion Styles (from faq.css)
======================================== */

/* FAQ Accordion */
.faq-item {
    background: #fff;
    border: 1px solid #EEF4FB;
    border-radius: 12px;
    margin-bottom: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item:hover {
    border-color: #3D85CC;
    box-shadow: 0 4px 12px rgba(61, 133, 204, 0.1);
}

.faq-question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    cursor: pointer;
    font-weight: 600;
    color: #131926;
    gap: 16px;
}

.faq-question:hover {
    color: #3D85CC;
}

.faq-question .icon {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #EEF4FB;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.faq-item.active .faq-question .icon {
    background: #3D85CC;
    color: #fff;
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-answer-inner {
    padding: 0 24px 20px;
    color: #4D7399;
    line-height: 1.8;
}

.faq-item.active .faq-answer {
    max-height: 500px;
}

/* Section title */
.section-title {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.25rem;
    font-weight: 700;
    color: #131926;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid #EEF4FB;
}

.section-title .icon {
    width: 40px;
    height: 40px;
    background: #3D85CC;
    color: #fff;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* TOC link */
.toc-link {
    display: block;
    padding: 0.5rem 0;
    color: #4D7399;
    font-size: 0.875rem;
    border-left: 2px solid transparent;
    padding-left: 1rem;
    transition: all 0.2s ease;
}

.toc-link:hover,
.toc-link.active {
    color: #131926;
    border-left-color: #3D85CC;
    background: #EEF4FB;
}

/* Sidebar */
.toc-sidebar {
    position: sticky;
    top: 100px;
}

/* Data list */
.data-list {
    background: #EEF4FB;
    border-radius: 8px;
    padding: 16px 20px;
    margin-top: 12px;
}

.data-list li {
    padding: 8px 0;
    border-bottom: 1px solid rgba(77, 115, 153, 0.2);
    color: #131926;
}

.data-list li:last-child {
    border-bottom: none;
}

.data-list li strong {
    color: #3D85CC;
}
