/* ホームページ専用スタイル */

/* Hero Section */
.hero-section {
    height: 100vh;
    background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)), 
                url('../images/top01.jpg');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-align: center;
}

.hero-content {
    max-width: 800px;
    padding: 0 20px;
}

.hero-title {
    font-size: 50px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 24px;
}

.hero-title .highlight {
    color: #60a5fa;
}

.hero-description {
    font-size: 24px;
    line-height: 1.6;
    margin-bottom: 32px;
    color: #e5e7eb;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Cross Art Section */
.cross-art-section {
    background-color: white;
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    margin-bottom: 64px;
}

.step {
    position: relative;
    text-align: center;
}

.step-badge {
    position: absolute;
    top: 16px;
    left: 16px;
    background-color: #3b82f6;
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 700;
    z-index: 10;
}

.step-image {
    width: 100%;
    height: 256px;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    margin-bottom: 16px;
}

.step-content h3 {
    font-size: 20px;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 8px;
}

.step-content p {
    color: #6b7280;
}

.completion-badge {
    position: absolute;
    top: -8px;
    right: -8px;
    background-color: #ef4444;
    color: white;
    padding: 12px 16px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    transform: rotate(12deg);
    box-shadow: 0 4px 12px rgba(239, 68, 68, 0.3);
    line-height: 1.2;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.benefit-card {
    padding: 32px;
    border-radius: 12px;
    text-align: center;
    border: 2px solid;
}

.benefit-card.red {
    background-color: #fef2f2;
    border-color: #fecaca;
}

.benefit-card.blue {
    background-color: #eff6ff;
    border-color: #bfdbfe;
}

.benefit-card.purple {
    background-color: #faf5ff;
    border-color: #d8b4fe;
}

.benefit-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    font-size: 24px;
}

.benefit-card.red .benefit-icon {
    background-color: #ef4444;
    color: white;
}

.benefit-card.blue .benefit-icon {
    background-color: #3b82f6;
    color: white;
}

.benefit-card.purple .benefit-icon {
    background-color: #8b5cf6;
    color: white;
}

.benefit-card h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 16px;
    line-height: 1.4;
}

.benefit-card.red h3 {
    color: #dc2626;
}

.benefit-card.blue h3 {
    color: #2563eb;
}

.benefit-card.purple h3 {
    color: #7c3aed;
}

.benefit-card p {
    font-size: 14px;
    color: #4b5563;
    line-height: 1.6;
}

/* Features Section */
.features-section {
    background-color: #f9fafb;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 32px;
}

.feature-card {
    background-color: white;
    padding: 32px;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.feature-icon {
    width: 80px;
    height: 80px;
    background-color: #dbeafe;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    font-size: 32px;
    color: #3b82f6;
}

.feature-card h3 {
    font-size: 20px;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 16px;
    line-height: 1.4;
}

.feature-card p {
    color: #6b7280;
    line-height: 1.7;
}

/* Before/After Section */
.before-after-section {
    background-color: #f9fafb;
}

.before-after-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
}

.before-after-card {
    background-color: white;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    overflow: hidden;
}

.image-comparison {
    display: grid;
    grid-template-columns: 1fr 1fr;
}

.before-image,
.after-image {
    position: relative;
}

.before-image img,
.after-image img {
    width: 100%;
    height: 192px;
    object-fit: cover;
}

.image-label {
    position: absolute;
    top: 8px;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 700;
    color: white;
}

.image-label.before {
    left: 8px;
    background-color: #ef4444;
}

.image-label.after {
    right: 8px;
    background-color: #10b981;
}

.before-after-card h3 {
    padding: 24px;
    font-size: 18px;
    font-weight: 600;
    color: #1f2937;
    text-align: center;
}

/* Reasons Section */
.reasons-section {
    background-color: white;
}

.reasons-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
}

.reason-card {
    background-color: white;
    padding: 32px;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.reason-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.reason-icon {
    width: 64px;
    height: 64px;
    background-color: #dbeafe;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    font-size: 24px;
    color: #3b82f6;
}

.reason-card h3 {
    font-size: 20px;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 16px;
    line-height: 1.4;
}

.reason-card p {
    color: #6b7280;
    line-height: 1.7;
}

/* Comparison Section */
.comparison-section {
    background-color: #f9fafb;
}

.comparison-title {
    font-size: 32px;
    font-weight: 700;
    color: #1f2937;
    text-align: center;
    margin-bottom: 24px;
}

.comparison-subtitle {
    text-align: center;
    margin-bottom: 32px;
}

.comparison-subtitle h4 {
    font-size: 20px;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.comparison-icon {
    background-color: #3b82f6;
    color: white;
    padding: 4px 12px;
    border-radius: 4px;
    margin-right: 12px;
}

.comparison-subtitle p {
    font-size: 14px;
    color: #6b7280;
}

.comparison-table-wrapper {
    overflow-x: auto;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.comparison-table {
    width: 100%;
    background-color: white;
    border-collapse: collapse;
}

.comparison-table th,
.comparison-table td {
    padding: 16px;
    text-align: center;
    border: 1px solid #e5e7eb;
}

.comparison-table th {
    font-weight: 700;
    font-size: 18px;
}

.comparison-table th.crossart {
    background-color: #3b82f6;
    color: white;
}

.comparison-table th.replacement {
    background-color: #eab308;
    color: white;
}

.comparison-table th.painting {
    background-color: #10b981;
    color: white;
}

.comparison-table .label {
    background-color: #f9fafb;
    font-weight: 600;
    text-align: left;
}

.crossart-price,
.crossart-time,
.crossart-waste,
.crossart-smell,
.crossart-durability,
.crossart-emboss {
    font-weight: 700;
    color: #dc2626;
}

.crossart-price {
    font-size: 20px;
}

.crossart-time {
    font-size: 20px;
}

.crossart-durability {
    font-size: 20px;
}

.rating {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    font-size: 12px;
    font-weight: 700;
    color: white;
}

.rating.excellent {
    background-color: #dc2626;
}

.rating.good {
    background-color: #d1d5db;
    color: #6b7280;
}

.rating.fair {
    background-color: #9ca3af;
}

/* Video Section */
.video-section {
    background-color: white;
}

.video-wrapper {
    max-width: 800px;
    margin: 0 auto;
}

.video-container {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    background-color: white;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    overflow: hidden;
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* FAQ Section */
.faq-section {
    background-color: #f9fafb;
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
}

.faq-card {
    background-color: white;
    padding: 24px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.faq-card h4 {
    font-size: 16px;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
}

.faq-card h4 i {
    color: #3b82f6;
    margin-right: 8px;
}

.faq-card p {
    color: #6b7280;
    line-height: 1.6;
}

/* CTA Section */
.cta-section {
    background-color: #3b82f6;
    color: white;
    text-align: center;
}

.cta-title {
    font-size: 48px;
    font-weight: 900;
    margin-bottom: 24px;
}

.cta-description {
    font-size: 20px;
    color: #bfdbfe;
    margin-bottom: 32px;
}

.cta-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* レスポンシブ */
@media (max-width: 768px) {
    .hero-title {
        font-size: 36px;
    }
    
    .hero-description {
        font-size: 18px;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .process-steps {
        grid-template-columns: 1fr;
        gap: 48px;
    }
    
    .benefits-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .before-after-grid {
        grid-template-columns: 1fr;
    }
    
    .reasons-grid {
        grid-template-columns: 1fr;
    }
    
    .comparison-table {
        font-size: 14px;
    }
    
    .comparison-table th,
    .comparison-table td {
        padding: 12px 8px;
    }
    
    .cta-title {
        font-size: 32px;
    }
    
    .cta-description {
        font-size: 16px;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
}