/* CSS Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Noto Sans JP', Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8f9fa;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header Styles */
.header {
    background: linear-gradient(135deg, #2c5aa0 0%, #4a90e2 100%);
    color: white;
    padding: 60px 0;
    text-align: center;
    margin-bottom: 40px;
}

.header-content {
    max-width: 800px;
    margin: 0 auto;
}

.main-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.main-title i {
    font-size: 2.2rem;
}

.subtitle {
    font-size: 1.2rem;
    font-weight: 300;
    opacity: 0.9;
}

/* Navigation Styles */
.navigation {
    margin-bottom: 50px;
}

.nav-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin-bottom: 40px;
}

.nav-card {
    background: white;
    border-radius: 12px;
    padding: 30px;
    text-decoration: none;
    color: #333;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.nav-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(135deg, #2c5aa0, #4a90e2);
}

.nav-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.nav-icon {
    font-size: 2.5rem;
    color: #2c5aa0;
    margin-bottom: 15px;
}

.nav-card h3 {
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: #2c5aa0;
}

.nav-card p {
    font-size: 0.95rem;
    color: #666;
    margin-bottom: 20px;
}

.nav-arrow {
    position: absolute;
    top: 30px;
    right: 30px;
    font-size: 1.2rem;
    color: #2c5aa0;
    opacity: 0;
    transition: all 0.3s ease;
}

.nav-card:hover .nav-arrow {
    opacity: 1;
    transform: translateX(5px);
}

/* Content Styles */
.content {
    margin-bottom: 50px;
}

.intro-section, .features-section {
    background: white;
    border-radius: 12px;
    padding: 40px;
    margin-bottom: 30px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

.content h2 {
    color: #2c5aa0;
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 20px;
    border-left: 4px solid #2c5aa0;
    padding-left: 15px;
}

.content p {
    margin-bottom: 15px;
    font-size: 1rem;
}

.quick-guide {
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 25px;
    margin-top: 25px;
}

.quick-guide h3 {
    color: #2c5aa0;
    font-size: 1.2rem;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.quick-guide ol {
    padding-left: 20px;
}

.quick-guide li {
    margin-bottom: 8px;
    font-size: 0.95rem;
}

.quick-guide strong {
    color: #2c5aa0;
    font-weight: 600;
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    margin-top: 30px;
}

.feature-item {
    text-align: center;
    padding: 25px;
    background: #f8f9fa;
    border-radius: 8px;
    border: 1px solid #e9ecef;
}

.feature-item i {
    font-size: 2.5rem;
    color: #4a90e2;
    margin-bottom: 15px;
}

.feature-item h4 {
    color: #2c5aa0;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 10px;
}

.feature-item p {
    font-size: 0.9rem;
    color: #666;
    margin: 0;
}

/* Footer */
.footer {
    text-align: center;
    padding: 30px 0;
    color: #666;
    border-top: 1px solid #e9ecef;
    margin-top: 50px;
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: #2c5aa0;
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: none;
    cursor: pointer;
    font-size: 1.2rem;
    box-shadow: 0 4px 15px rgba(44, 90, 160, 0.3);
    transition: all 0.3s ease;
    opacity: 0;
    visibility: hidden;
}

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

.back-to-top:hover {
    background: #4a90e2;
    transform: translateY(-2px);
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }
    
    .header {
        padding: 40px 0;
    }
    
    .main-title {
        font-size: 2rem;
        flex-direction: column;
        gap: 10px;
    }
    
    .main-title i {
        font-size: 2rem;
    }
    
    .subtitle {
        font-size: 1rem;
    }
    
    .nav-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .nav-card {
        padding: 25px;
    }
    
    .intro-section, .features-section {
        padding: 25px;
    }
    
    .content h2 {
        font-size: 1.5rem;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

@media (max-width: 480px) {
    .main-title {
        font-size: 1.8rem;
    }
    
    .nav-card {
        padding: 20px;
    }
    
    .nav-icon {
        font-size: 2rem;
    }
    
    .nav-card h3 {
        font-size: 1.2rem;
    }
    
    .intro-section, .features-section {
        padding: 20px;
    }
}

/* Common Styles for Manual Pages */
.manual-container {
    max-width: 880px;
    margin: 0 auto;
    padding: 32px 40px;
    background: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    margin-bottom: 40px;
}

.manual-nav {
    background: #2c5aa0;
    color: white;
    padding: 15px 0;
    margin-bottom: 30px;
    position: sticky;
    top: 0;
    z-index: 100;
}

.manual-nav .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.manual-nav a {
    color: white;
    text-decoration: none;
    padding: 8px 15px;
    border-radius: 4px;
    transition: background-color 0.3s ease;
}

.manual-nav a:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.manual-title {
    text-align: center;
    border-bottom: 3px solid #2c5aa0;
    padding-bottom: 16px;
    margin-bottom: 32px;
    font-size: 28px;
    color: #2c5aa0;
}

.manual-section h2 {
    color: #2c5aa0;
    font-size: 22px;
    margin-top: 32px;
    margin-bottom: 16px;
    border-left: 4px solid #2c5aa0;
    padding-left: 16px;
}

.manual-section h3 {
    color: #555;
    font-size: 18px;
    margin-top: 24px;
    margin-bottom: 12px;
}

/* Manual Page Specific Styles */

/* Intro Text */
.intro-text {
    background-color: #e7f3ff;
    padding: 20px;
    border-left: 5px solid #2c5aa0;
    margin-bottom: 30px;
    font-weight: 500;
    border-radius: 4px;
}

.intro-text i {
    margin-right: 10px;
    color: #2c5aa0;
}

/* Section Content */
.section-content {
    margin-bottom: 20px;
}

/* Checklist Styles */
.checklist {
    background-color: #ffffff;
    border: 1px solid #dee2e6;
    padding: 20px;
    margin: 16px 0;
    border-radius: 8px;
}

.checklist h3 {
    margin-bottom: 20px;
    color: #2c5aa0;
    font-size: 1.2rem;
}

.checklist-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 16px;
    padding: 12px;
    background-color: #f8f9fa;
    border-radius: 6px;
    transition: background-color 0.3s ease;
}

.checklist-item:hover {
    background-color: #e9ecef;
}

.checklist-item input[type='checkbox'] {
    margin-right: 12px;
    margin-top: 4px;
    transform: scale(1.2);
    cursor: pointer;
}

.checklist-item label {
    cursor: pointer;
    flex: 1;
}

.checklist-item .sub-list {
    margin-top: 8px;
    padding-left: 20px;
}

.checklist-item .sub-list li {
    margin-bottom: 4px;
    font-size: 0.9rem;
}

/* Danger and Warning Boxes */
.danger, .warning {
    padding: 16px;
    margin: 16px 0;
    border-radius: 8px;
}

.danger {
    background-color: #fff5f5;
    border: 2px solid #dc3545;
}

.warning {
    background-color: #fff8f0;
    border: 2px solid #fd7e14;
}

.danger-header, .warning-header {
    color: white;
    padding: 8px 16px;
    margin: -16px -16px 12px -16px;
    font-weight: bold;
    font-size: 18px;
    border-radius: 6px 6px 0 0;
}

.danger-header {
    background-color: #dc3545;
}

.warning-header {
    background-color: #fd7e14;
}

.danger ul, .warning ul {
    margin: 0;
    padding-left: 20px;
}

.danger li, .warning li {
    margin-bottom: 8px;
}

/* Spec Table */
.spec-table {
    display: grid;
    gap: 1px;
    background-color: #dee2e6;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    overflow: hidden;
    margin: 20px 0;
}

.spec-row {
    display: grid;
    grid-template-columns: 1fr 2fr;
    background-color: white;
}

.spec-label {
    padding: 12px 16px;
    background-color: #f8f9fa;
    font-weight: 600;
    color: #2c5aa0;
}

.spec-value {
    padding: 12px 16px;
    background-color: white;
}

/* Features List */
.features-list {
    display: grid;
    gap: 15px;
    margin: 20px 0;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: 15px;
    background-color: #f8f9fa;
    border-radius: 8px;
    border-left: 4px solid #2c5aa0;
}

.feature-item i {
    font-size: 1.5rem;
    color: #2c5aa0;
    margin-top: 2px;
}

.feature-item h4 {
    margin: 0 0 5px 0;
    color: #2c5aa0;
    font-size: 1.1rem;
}

.feature-item p {
    margin: 0;
    font-size: 0.9rem;
    color: #666;
}

/* Next Steps */
.next-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 15px;
    margin: 20px 0;
}

.next-step-card {
    display: flex;
    align-items: center;
    padding: 15px;
    background: white;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    text-decoration: none;
    color: #333;
    transition: all 0.3s ease;
}

.next-step-card:hover {
    border-color: #2c5aa0;
    box-shadow: 0 4px 15px rgba(44, 90, 160, 0.1);
    transform: translateY(-2px);
}

.step-number {
    background: #2c5aa0;
    color: white;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    margin-right: 15px;
}

.step-content h4 {
    margin: 0 0 5px 0;
    color: #2c5aa0;
    font-size: 1rem;
}

.step-content p {
    margin: 0;
    font-size: 0.85rem;
    color: #666;
}

.next-step-card i {
    margin-left: auto;
    color: #2c5aa0;
    font-size: 1.2rem;
}

/* Safety Levels */
.safety-levels {
    margin: 20px 0;
}

.safety-level {
    display: flex;
    align-items: flex-start;
    padding: 15px;
    margin-bottom: 15px;
    border-radius: 8px;
    border-left: 4px solid;
}

.safety-level.danger {
    background-color: #fff5f5;
    border-left-color: #dc3545;
}

.safety-level.warning {
    background-color: #fff8f0;
    border-left-color: #fd7e14;
}

.safety-level.caution {
    background-color: #fffbf0;
    border-left-color: #ffc107;
}

.safety-level-icon {
    font-size: 1.5rem;
    margin-right: 15px;
    margin-top: 2px;
}

.safety-level.danger .safety-level-icon {
    color: #dc3545;
}

.safety-level.warning .safety-level-icon {
    color: #fd7e14;
}

.safety-level.caution .safety-level-icon {
    color: #ffc107;
}

.safety-title {
    font-weight: bold;
    font-size: 1.1rem;
    margin-bottom: 5px;
}

.safety-level.danger .safety-title {
    color: #dc3545;
}

.safety-level.warning .safety-title {
    color: #fd7e14;
}

.safety-level.caution .safety-title {
    color: #ffc107;
}

.safety-description {
    font-size: 0.9rem;
    color: #666;
}

/* Notice Sections */
.notice-section {
    margin: 30px 0;
    border-radius: 8px;
    overflow: hidden;
}

.notice-section.danger-section {
    border: 2px solid #dc3545;
}

.notice-section.warning-section {
    border: 2px solid #fd7e14;
}

.notice-section.caution-section {
    border: 2px solid #ffc107;
}

.section-title {
    padding: 12px 20px;
    font-weight: bold;
    font-size: 1.2rem;
    color: white;
    display: flex;
    align-items: center;
    gap: 10px;
}

.danger-section .section-title {
    background-color: #dc3545;
}

.warning-section .section-title {
    background-color: #fd7e14;
}

.caution-section .section-title {
    background-color: #ffc107;
    color: #000;
}

.subsection {
    padding: 20px;
    background-color: white;
}

.subsection:not(:last-child) {
    border-bottom: 1px solid #e9ecef;
}

.subsection-title {
    font-weight: 600;
    color: #2c5aa0;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.subsection ul {
    margin: 0;
    padding-left: 20px;
}

.subsection li {
    margin-bottom: 8px;
}

/* Contact Info */
.contact-info {
    display: grid;
    gap: 15px;
    margin: 20px 0;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    background-color: #f8f9fa;
    border-radius: 8px;
    border-left: 4px solid #2c5aa0;
}

.contact-item i {
    font-size: 1.5rem;
    color: #2c5aa0;
    width: 30px;
    text-align: center;
}

.contact-item h4 {
    margin: 0 0 5px 0;
    color: #2c5aa0;
    font-size: 1.1rem;
}

.contact-item p {
    margin: 0;
    font-size: 0.9rem;
    color: #666;
}

.phone-number, .email {
    font-weight: 600;
    color: #2c5aa0;
}

/* Parts Categories */
.parts-categories {
    margin: 20px 0;
}

.parts-category {
    margin-bottom: 25px;
    background: white;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    overflow: hidden;
}

.category-header {
    background: linear-gradient(135deg, #2c5aa0, #4a90e2);
    color: white;
    padding: 12px 20px;
    font-weight: 600;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.parts-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.parts-list li {
    display: flex;
    align-items: center;
    padding: 12px 20px;
    border-bottom: 1px solid #f0f0f0;
    transition: background-color 0.3s ease;
}

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

.parts-list li:hover {
    background-color: #f8f9fa;
}

.parts-list input[type="checkbox"] {
    margin-right: 12px;
    transform: scale(1.2);
    cursor: pointer;
}

.parts-list label {
    cursor: pointer;
    flex: 1;
}

/* Check Progress */
.check-progress {
    margin: 30px 0;
    padding: 20px;
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    border-radius: 8px;
    text-align: center;
}

.progress-info {
    font-size: 1.1rem;
    font-weight: 600;
    color: #2c5aa0;
    margin-bottom: 15px;
}

.progress-bar {
    background-color: #e9ecef;
    height: 10px;
    border-radius: 5px;
    overflow: hidden;
}

.progress-fill {
    background-color: #2c5aa0;
    height: 100%;
    border-radius: 5px;
    transition: width 0.3s ease, background-color 0.3s ease;
}

/* Warning and Info Boxes */
.warning-box, .info-box {
    padding: 15px;
    border-radius: 8px;
    margin: 15px 0;
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.warning-box {
    background-color: #fff3cd;
    border: 1px solid #ffc107;
}

.info-box {
    background-color: #d1ecf1;
    border: 1px solid #bee5eb;
}

.warning-box p, .info-box p {
    margin: 0;
    flex: 1;
}

.warning-box i {
    color: #856404;
    font-size: 1.2rem;
}

.info-box i {
    color: #0c5460;
    font-size: 1.2rem;
}

/* Warranty Info */
.warranty-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 15px;
    margin: 20px 0;
}

.warranty-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: 15px;
    background-color: #f8f9fa;
    border-radius: 8px;
    border-left: 4px solid #28a745;
}

.warranty-item i {
    font-size: 1.5rem;
    color: #28a745;
    margin-top: 2px;
}

.warranty-item h4 {
    margin: 0 0 5px 0;
    color: #28a745;
    font-size: 1.1rem;
}

.warranty-item p {
    margin: 0;
    font-size: 0.9rem;
    color: #666;
}

/* Quick Manual Specific Styles */
.spec-grid {
    display: grid;
    gap: 1px;
    background-color: #dee2e6;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    overflow: hidden;
    margin: 20px 0;
}

.spec-item {
    display: grid;
    grid-template-columns: 1fr 2fr;
    background-color: white;
}

.spec-label {
    padding: 12px 16px;
    background-color: #f8f9fa;
    font-weight: 600;
    color: #2c5aa0;
}

.spec-value {
    padding: 12px 16px;
    background-color: white;
}

/* Setup Steps */
.setup-steps {
    margin: 20px 0;
}

.step-section {
    margin-bottom: 40px;
}

.step-section h3 {
    color: #2c5aa0;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.step-list {
    display: grid;
    gap: 15px;
}

.step-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: 20px;
    background: white;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.step-item:hover {
    box-shadow: 0 4px 15px rgba(44, 90, 160, 0.1);
    border-color: #2c5aa0;
}

.step-item .step-number {
    background: #2c5aa0;
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.step-item .step-content h4 {
    margin: 0 0 8px 0;
    color: #2c5aa0;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.step-item .step-content p {
    margin: 0;
    color: #666;
    line-height: 1.5;
}

/* Mode List */
.mode-list {
    display: grid;
    gap: 10px;
    margin: 20px 0;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 8px;
}

.mode-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 12px;
    background: white;
    border-radius: 6px;
    border-left: 4px solid #2c5aa0;
}

.mode-icon {
    width: 30px;
    text-align: center;
    color: #2c5aa0;
    font-size: 1.1rem;
}

.mode-info {
    flex: 1;
}

.mode-name {
    font-weight: 600;
    color: #2c5aa0;
    margin-right: 10px;
}

.mode-desc {
    color: #666;
    font-size: 0.9rem;
}

/* Maintenance Table */
.maintenance-table {
    display: grid;
    gap: 20px;
    margin: 20px 0;
}

.maintenance-item {
    background: white;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    overflow: hidden;
}

.maintenance-frequency {
    padding: 12px 20px;
    font-weight: 600;
    color: white;
    display: flex;
    align-items: center;
    gap: 10px;
}

.maintenance-item.daily .maintenance-frequency {
    background: linear-gradient(135deg, #28a745, #20c997);
}

.maintenance-item.monthly .maintenance-frequency {
    background: linear-gradient(135deg, #ffc107, #fd7e14);
    color: #000;
}

.maintenance-item.quarterly .maintenance-frequency {
    background: linear-gradient(135deg, #dc3545, #e83e8c);
}

.maintenance-content {
    padding: 20px;
}

.maintenance-content h4 {
    margin: 0 0 15px 0;
    color: #2c5aa0;
}

.maintenance-content ol {
    margin: 0;
    padding-left: 20px;
}

.maintenance-content li {
    margin-bottom: 8px;
    line-height: 1.5;
}

/* FAQ Section */
.faq-section {
    margin: 20px 0;
}

.faq-item {
    margin-bottom: 15px;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    overflow: hidden;
}

.faq-question {
    background: #f8f9fa;
    padding: 15px 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 600;
    color: #2c5aa0;
    transition: background-color 0.3s ease;
}

.faq-question:hover {
    background: #e9ecef;
}

.faq-question i {
    color: #2c5aa0;
}

.faq-answer {
    padding: 20px;
    background: white;
}

.faq-answer p {
    margin: 0 0 10px 0;
}

.faq-answer ul {
    margin: 0;
    padding-left: 20px;
}

.faq-answer li {
    margin-bottom: 5px;
}

/* Responsive Design for Manual Pages */
@media (max-width: 768px) {
    .manual-container {
        padding: 20px;
    }
    
    .spec-table, .spec-grid {
        grid-template-columns: 1fr;
    }
    
    .spec-item {
        grid-template-columns: 1fr;
    }
    
    .step-item {
        flex-direction: column;
        text-align: center;
    }
    
    .step-item .step-number {
        margin-bottom: 10px;
    }
    
    .next-steps {
        grid-template-columns: 1fr;
    }
    
    .mode-item {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }
    
    .maintenance-table {
        gap: 15px;
    }
    
    .warranty-info, .features-list {
        grid-template-columns: 1fr;
    }
}

/* Utility Classes */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }
.mb-20 { margin-bottom: 20px; }
.mb-30 { margin-bottom: 30px; }
.mt-20 { margin-top: 20px; }
.mt-30 { margin-top: 30px; }