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

body {
    font-family: 'Noto Sans JP', sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
}

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

/* =========================================================================
   Sidebar Styles
   ========================================================================= */
.sidebar {
    position: fixed;
    top: 20px;
    right: 20px;
    width: 200px;
    background: linear-gradient(135deg, #4CAF50 0%, #FFC107 100%);
    z-index: 999;
    padding: 100px 20px 20px 20px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    border: 2px solid rgba(255,255,255,0.3);
}

.sidebar-content {
    padding: 0;
}

.sidebar-link {
    display: block;
    color: white;
    text-decoration: none;
    padding: 12px 15px;
    margin-bottom: 8px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
    border-left: 3px solid transparent;
}

.sidebar-link:hover {
    background: rgba(255,255,255,0.2);
    transform: translateX(-5px);
}

.sidebar-link.active {
    background: rgba(255,255,255,0.3);
    border-left-color: white;
    font-weight: 600;
}

/* =========================================================================
   Header Styles
   ========================================================================= */
.site-header {
    left: 0;
    background: rgba(255, 255, 255, 0.1);
    z-index: 1000;
    transition: all 0.3s ease;
    padding: 20px 0;
}

.site-header:hover {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(238, 238, 238, 0.8);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 60px;
    width: auto;
}

/* --- Desktop Navigation --- */
.main-nav {
    display: flex;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 40px;
}

.nav-menu li a {
    text-decoration: none;
    font-weight: 500;
    font-size: 14px;
    line-height: 1.2;
    position: relative;
    display: block;
    padding: 10px 0;
    transition: color 0.3s ease;
    color: #000 !important;
}

.nav-menu li a span {
    font-size: 12px;
    font-weight: 300;
    opacity: 0.8;
}

.site-header .nav-menu a:hover {
    color: #007BFF;
}

.nav-menu li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: #007BFF;
    transition: width 0.3s ease;
}

.nav-menu li a:hover::after {
    width: 100%;
}

/* --- Header Text Color States --- */
.site-header:not(.header-scrolled):hover .mobile-menu-toggle span {
    background: #333 !important;
}

.site-header.header-scrolled {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.site-header:not(.header-scrolled):hover {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.site-header:not(.header-scrolled):hover .nav-menu a {
    color: #333 !important;
    text-shadow: none;
}

/* ページトップでは白文字 */
.site-header:not(.header-scrolled) .nav-menu a {
    color: white !important;
    text-shadow: 0 1px 2px rgba(0,0,0,0.5);
}

/* スクロール後、またはホバー時の文字色 */
.site-header.header-scrolled .nav-menu a {
    color: #333 !important;
    text-shadow: none !important;
}

/* --- Mobile Navigation (Hamburger) --- */
.mobile-menu-toggle {
    display: none; /* Initially hidden on desktop */
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    margin: 3px 0;
    transition: background-color 0.3s ease;
}

.site-header:not(.header-scrolled) .mobile-menu-toggle span {
    background: white !important;
}

.site-header.header-scrolled .mobile-menu-toggle span,
.site-header .mobile-menu-toggle.is-open span {
    background: #333 !important;
}

.mobile-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    border-top: 1px solid rgba(238, 238, 238, 0.8);
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.mobile-menu.active {
    display: block !important;
}

.mobile-nav-menu {
    list-style: none;
    padding: 20px;
}

.mobile-nav-menu li {
    margin-bottom: 15px;
}

.mobile-nav-menu li a {
    text-decoration: none;
    color: #333 !important;
    font-weight: 500;
    font-size: 16px;
    display: block;
    padding: 15px 0;
    border-bottom: 1px solid rgba(238, 238, 238, 0.5);
    transition: color 0.3s ease;
}

.mobile-nav-menu li a:hover {
    color: #007BFF !important;
}

/* =========================================================================
   Hero Section Styles
   ========================================================================= */
.agrivoltaics-hero {
    background: linear-gradient(135deg, #4CAF50 0%, #FFC107 100%);
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    position: relative;
    overflow: hidden;
}

.agrivoltaics-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('../images/agri/Agrivoltaics-background.jpg') center/cover;
    opacity: 0.3;
    z-index: 1;
}

.hero-background::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4); /* 画像の上に暗いオーバーレイ */
    z-index: 1;
}

.agrivoltaics-hero .container {
    position: relative;
    z-index: 2;
}

.agrivoltaics-hero h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.agrivoltaics-hero p {
    font-size: 1.3rem;
    margin-bottom: 40px;
    text-shadow: 0 1px 2px rgba(0,0,0,0.3);
}

/* =========================================================================
   Stats Section Styles
   ========================================================================= */
.stats-section-agri {
    background: linear-gradient(135deg, #4CAF50 0%, #FFC107 100%);
    padding: 80px 0;
    color: white;
}

.stats-grid-agri {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    text-align: center;
}

.stat-item-agri h3 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 10px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.stat-item-agri p {
    font-size: 1.1rem;
    font-weight: 500;
    text-shadow: 0 1px 2px rgba(0,0,0,0.2);
}

/* =========================================================================
   Content Section Styles
   ========================================================================= */
.content-section {
    padding: 100px 0;
    background: white;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 20px;
    color: #333;
}

.section-subtitle {
    font-size: 1.2rem;
    text-align: center;
    color: #666;
    margin-bottom: 60px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* =========================================================================
   Accordion Styles
   ========================================================================= */
.accordion-container {
    max-width: 900px;
    margin: 0 auto;
}

.accordion-item {
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    margin-bottom: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.accordion-item:hover {
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.accordion-header {
    display: flex;
    align-items: center;
    padding: 25px;
    background: #f8f9fa;
    cursor: pointer;
    transition: background 0.3s ease;
}

.accordion-header:hover {
    background: #e9ecef;
}

.accordion-item.active .accordion-header {
    background: linear-gradient(135deg, #4CAF50 0%, #FFC107 100%);
    color: white;
}

.accordion-icon {
    font-size: 2rem;
    margin-right: 20px;
    min-width: 60px;
    text-align: center;
}

.accordion-header h3 {
    flex: 1;
    font-size: 1.4rem;
    font-weight: 600;
    margin: 0;
}

.accordion-toggle {
    font-size: 1.5rem;
    font-weight: bold;
    min-width: 30px;
    text-align: center;
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    background: white;
}

.accordion-content p {
    padding: 25px;
    margin: 0;
    line-height: 1.8;
    color: #555;
}

.accordion-content ul {
    padding: 0 25px 25px 50px;
    margin: 0;
}

.accordion-content li {
    margin-bottom: 8px;
    color: #666;
}

/* =========================================================================
   Service Grid New Styles
   ========================================================================= */
.service-grid-new {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-top: 60px;
}

.service-card-new {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.service-card-new:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.service-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.service-card-new:hover .service-image img {
    transform: scale(1.05);
}

.service-content {
    padding: 30px;
}

.service-content h3 {
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: #333;
}

.service-content p {
    color: #666;
    line-height: 1.7;
    margin-bottom: 20px;
}

.service-features {
    list-style: none;
    padding: 0;
}

.service-features li {
    padding: 8px 0;
    color: #555;
    position: relative;
    padding-left: 20px;
}

.service-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #4CAF50;
    font-weight: bold;
}

/* =========================================================================
   Strengths Section Styles
   ========================================================================= */
.strengths-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.strengths-grid {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.strength-item {
    display: flex;
    align-items: flex-start;
    padding: 25px;
    background: #f8f9fa;
    border-radius: 15px;
    transition: all 0.3s ease;
}

.strength-item:hover {
    background: #e9ecef;
    transform: translateX(10px);
}

.strength-icon {
    font-size: 2.5rem;
    margin-right: 20px;
    min-width: 70px;
    text-align: center;
}

.strength-content h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: #333;
}

.strength-content p {
    color: #666;
    line-height: 1.7;
}

.chart-container {
    background: #f8f9fa;
    padding: 30px;
    border-radius: 15px;
}

.chart-wrapper {
    position: relative;
    height: 300px;
}

/* =========================================================================
   Results Section Styles
   ========================================================================= */
.results-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
    margin-top: 60px;
}

.result-item {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.result-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.15);
}

.result-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.result-content {
    padding: 25px;
}

.result-content h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: #333;
}

.result-content p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 10px;
}

/* =========================================================================
   Materials Grid Styles
   ========================================================================= */
.materials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 60px;
}

.material-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.material-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.material-header {
    padding: 30px;
    text-align: center;
    font-size: 3rem;
    color: white;
    font-weight: bold;
}

.material-header.type1 {
    background: linear-gradient(135deg, #4CAF50, #66BB6A);
}

.material-header.type2 {
    background: linear-gradient(135deg, #8BC34A, #AED581);
}

.material-header.type3 {
    background: linear-gradient(135deg, #CDDC39, #DCE775);
}

.material-header.type4 {
    background: linear-gradient(135deg, #FFC107, #FFD54F);
}

.material-content {
    padding: 30px;
}

.material-content h3 {
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: #333;
}

.material-content p {
    color: #666;
    line-height: 1.7;
    margin-bottom: 20px;
}

/* =========================================================================
   CTA Section Styles
   ========================================================================= */
.cta-section {
    background: linear-gradient(135deg, #4CAF50 0%, #FFC107 100%);
    padding: 100px 0;
    text-align: center;
    color: white;
}

.cta-section h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.cta-section p {
    font-size: 1.2rem;
    margin-bottom: 40px;
    text-shadow: 0 1px 2px rgba(0,0,0,0.2);
}

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

.cta-btn {
    display: inline-block;
    padding: 15px 30px;
    background: white;
    color: #4CAF50;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.cta-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.3);
}

.cta-btn.secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.cta-btn.secondary:hover {
    background: white;
    color: #4CAF50;
}

/* =========================================================================
   Contact Form Section Styles
   ========================================================================= */
.contact-form-section {
    padding: 100px 0;
    background: #f8f9fa;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    margin-top: 60px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 30px;
}

.contact-icon {
    font-size: 1.5rem;
    margin-right: 15px;
    min-width: 40px;
}

.contact-details h4 {
    font-weight: 600;
    margin-bottom: 5px;
    color: #333;
}

.contact-details p {
    color: #666;
    line-height: 1.6;
}

.consultation-flow {
    margin-top: 40px;
}

.flow-steps {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.flow-step {
    display: flex;
    align-items: flex-start;
}

.step-number {
    width: 30px;
    height: 30px;
    background: linear-gradient(135deg, #4CAF50, #FFC107);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    margin-right: 15px;
    flex-shrink: 0;
}

.step-content h5 {
    font-weight: 600;
    margin-bottom: 5px;
    color: #333;
}

.step-content p {
    color: #666;
    font-size: 0.9rem;
}

.contact-form {
    background: white;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #333;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 16px;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #4CAF50;
    box-shadow: 0 0 0 3px rgba(76, 175, 80, 0.1);
}

.submit-btn {
    background: linear-gradient(135deg, #4CAF50, #FFC107);
    color: white;
    border: none;
    padding: 15px 40px;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.2);
}

/* =========================================================================
   Footer Styles
   ========================================================================= */
.site-footer-new {
    background-color: #f8f9fa;
    color: #555;
    padding: 60px 0 20px 0;
    border-top: 1px solid #e9ecef;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-column h4 {
    font-size: 16px;
    font-weight: 700;
    color: #333;
    margin-bottom: 20px;
    text-transform: uppercase;
}

.footer-info .footer-logo-img {
    height: 80px;
    width: auto;
    margin-bottom: 20px;
}

.footer-info p {
    font-size: 14px;
    line-height: 1.7;
    margin-bottom: 10px;
}

.footer-info .company-name {
    font-weight: bold;
    color: #333;
}

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

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    text-decoration: none;
    color: #555;
    font-size: 15px;
    position: relative;
    padding-bottom: 5px;
    transition: color 0.3s ease;
}

.footer-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: #007BFF;
    transition: width 0.3s ease;
}

.footer-links a:hover {
    color: #007BFF;
}

.footer-links a:hover::after {
    width: 100%;
}

.footer-bottom {
    border-top: 1px solid #e0e0e0;
    padding-top: 20px;
    text-align: center;
    font-size: 13px;
    color: #888;
}

/* =========================================================================
   Responsive Design
   ========================================================================= */
@media (max-width: 1024px) {
    body {
        padding-right: 0;
    }
    
    .sidebar {
        display: none;
    }
    
    .site-header {
        right: 0;
    }
    
    .strengths-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .main-nav {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: flex !important;
    }
    
    .agrivoltaics-hero h1 {
        font-size: 2.5rem;
    }
    
    .agrivoltaics-hero p {
        font-size: 1.1rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .stats-grid-agri {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .service-grid-new {
        grid-template-columns: 1fr;
    }
    
    .materials-grid {
        grid-template-columns: 1fr;
    }
    
    .results-grid {
        grid-template-columns: 1fr;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .footer-content {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .agrivoltaics-hero h1 {
        font-size: 2rem;
    }
    
    .stats-grid-agri {
        grid-template-columns: 1fr;
    }
    
    .accordion-header {
        padding: 20px 15px;
    }
    
    .accordion-content p {
        padding: 20px 15px;
    }
    
    .contact-form {
        padding: 25px;
    }
}


/* =========================================================================
   架台比較表 Styles
   ========================================================================= */
.comparison-section {
    padding: 100px 0;
    background: #f8f9fa;
}

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

.comparison-header {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 40px;
}

.comparison-type {
    background: white;
    border-radius: 15px;
    padding: 30px 20px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.comparison-type-image {
    width: 100%;
    height: 150px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 20px;
}

.comparison-type.type1 {
    background: linear-gradient(135deg, #E8F5E8, #C8E6C9);
}

.comparison-type.type2 {
    background: linear-gradient(135deg, #E3F2FD, #BBDEFB);
}

.comparison-type.type3 {
    background: linear-gradient(135deg, #FFF3E0, #FFE0B2);
}

.comparison-type.type4 {
    background: linear-gradient(135deg, #F3E5F5, #E1BEE7);
}

.comparison-type h3 {
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: #333;
}

.comparison-type p {
    font-size: 0.9rem;
    color: #666;
    line-height: 1.6;
}

.comparison-table {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

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

.comparison-table th {
    background: linear-gradient(135deg, #4CAF50, #FFC107);
    color: white;
    padding: 20px;
    text-align: center;
    font-weight: 600;
    font-size: 1.1rem;
}

.comparison-table td {
    padding: 15px 20px;
    text-align: center;
    border-bottom: 1px solid #eee;
    font-weight: 500;
}

.comparison-table tr:nth-child(even) td {
    background: #f8f9fa;
}

.comparison-table .row-header {
    background: #e9ecef !important;
    font-weight: 600;
    text-align: left;
    color: #333;
}

.rating-excellent {
    color: #4CAF50;
    font-weight: 600;
}

.rating-good {
    color: #8BC34A;
    font-weight: 600;
}

.rating-average {
    color: #FFC107;
    font-weight: 600;
}

.rating-poor {
    color: #FF9800;
    font-weight: 600;
}

/* =========================================================================
   相談の流れ Section Styles
   ========================================================================= */
.consultation-flow-section {
    padding: 100px 0;
    background: white;
}

.flow-steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-top: 60px;
}

.flow-step-card {
    background: white;
    border-radius: 15px;
    padding: 40px 30px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    position: relative;
}

.flow-step-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.flow-step-card::before {
    content: '';
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #4CAF50, #FFC107);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
    color: white;
}

.flow-step-card:nth-child(1)::before {
    content: '1';
}

.flow-step-card:nth-child(2)::before {
    content: '2';
}

.flow-step-card:nth-child(3)::before {
    content: '3';
}

.flow-step-card:nth-child(4)::before {
    content: '4';
}

.flow-step-card h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin: 30px 0 15px 0;
    color: #333;
}

.flow-step-card p {
    color: #666;
    line-height: 1.7;
}

.flow-step-icon {
    font-size: 3rem;
    margin-bottom: 20px;
    color: #4CAF50;
}

/* =========================================================================
   Responsive Design Updates
   ========================================================================= */
@media (max-width: 1024px) {
    .sidebar {
        display: none;
    }
    
    .comparison-header {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .flow-steps-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    /* 当社の強みセクションの修正 */
    .strengths-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .chart-container {
        margin-top: 30px;
    }
}

@media (max-width: 768px) {
    /* モバイル時のハンバーガーメニュー表示 */
    .main-nav {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: flex !important;
    }
    
    .comparison-header {
        grid-template-columns: 1fr;
    }
    
    .comparison-table {
        overflow-x: auto;
    }
    
    .flow-steps-grid {
        grid-template-columns: 1fr;
    }
    
    /* サイドバーを完全に非表示 */
    .sidebar {
        display: none !important;
    }
}

