:root {
    --primary-color: #26A7E1;
    --secondary-color: #0D4C73;
    --accent-color: #FF6B35;
    --light-color: #F5F9FC;
    --dark-color: #333333;
    --gray-color: #777777;
    --success-color: #4CAF50;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Noto Sans JP', sans-serif;
    line-height: 1.6;
    color: var(--dark-color);
    overflow-x: hidden;
}

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

/* ヘッダー */
header {
    background-color: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
}

.logo {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary-color);
    text-decoration: none;
}

.logo span {
    color: var(--secondary-color);
}

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

.nav-menu li {
    margin-left: 30px;
}

.nav-menu a {
    text-decoration: none;
    color: var(--dark-color);
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-menu a:hover {
    color: var(--primary-color);
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: var(--primary-color);
}

/* ヒーローセクション */
.hero {
    background: linear-gradient(135deg, rgba(38, 167, 225, 0.1) 0%, rgba(13, 76, 115, 0.2) 100%), url('images/local-town.jpg') center/cover;
    padding: 160px 0 100px;
    position: relative;
}

.hero-content {
    max-width: 600px;
    color: var(--dark-color);
    position: relative;
    z-index: 2;
}

.hero h1 {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero p {
    font-size: 18px;
    margin-bottom: 30px;
}

.hero-stats {
    display: flex;
    justify-content: space-between;
    margin: 30px 0;
}

.stat-item {
    text-align: center;
    background-color: rgba(255, 255, 255, 0.9);
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    width: 30%;
    transform: translateY(0);
    transition: transform 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-5px);
}

.stat-number {
    font-size: 36px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 5px;
}

.stat-text {
    font-size: 14px;
    color: var(--dark-color);
}

.btn {
    display: inline-block;
    background-color: var(--accent-color);
    color: white;
    padding: 12px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    text-align: center;
}

.btn:hover {
    background-color: #e55a2b;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(255, 107, 53, 0.3);
}

.btn-primary {
    background-color: var(--primary-color);
}

.btn-primary:hover {
    background-color: var(--secondary-color);
    box-shadow: 0 4px 10px rgba(38, 167, 225, 0.3);
}

.btn-outline {
    background-color: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
}

.btn-outline:hover {
    background-color: var(--primary-color);
    color: white;
}

.fixed-cta {
    position: fixed;
    bottom: 20px;
    left: 0;
    right: 0;
    text-align: center;
    z-index: 99;
    display: none;
}

.fixed-cta .btn {
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

/* 課題セクション */
.section {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title h2 {
    font-size: 32px;
    color: var(--secondary-color);
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.section-title h2:after {
    content: '';
    position: absolute;
    width: 60px;
    height: 3px;
    background-color: var(--primary-color);
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
}

.section-title p {
    font-size: 18px;
    color: var(--gray-color);
    max-width: 700px;
    margin: 0 auto;
}

.challenges {
    background-color: var(--light-color);
}

.challenge-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.challenge-card {
    background-color: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.challenge-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.challenge-content {
    padding: 20px;
}

.challenge-content h3 {
    font-size: 20px;
    margin-bottom: 10px;
    color: var(--secondary-color);
}

.challenge-content p {
    color: var(--gray-color);
    margin-bottom: 15px;
}

.stats-container {
    margin-top: 50px;
}

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

.stat-card {
    background-color: white;
    border-radius: 8px;
    padding: 25px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-5px);
}

.stat-card .number {
    font-size: 42px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.stat-card .label {
    font-size: 16px;
    color: var(--gray-color);
}

/* 解決策セクション */
.solutions {
    background-color: white;
}

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

.solution-card {
    background-color: var(--light-color);
    border-radius: 8px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.solution-card:hover {
    transform: translateY(-5px);
}

.solution-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--primary-color);
    border-radius: 50%;
}

.solution-icon i {
    font-size: 36px;
    color: white;
}

.solution-card h3 {
    font-size: 20px;
    margin-bottom: 15px;
    color: var(--secondary-color);
}

.solution-card p {
    color: var(--gray-color);
}

/* サービス詳細セクション */
.services {
    background-color: var(--light-color);
}

.service-tabs {
    display: flex;
    justify-content: center;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.service-tab {
    padding: 10px 20px;
    background-color: white;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    cursor: pointer;
    margin: 0 5px 10px;
    border-radius: 5px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.service-tab.active, .service-tab:hover {
    background-color: var(--primary-color);
    color: white;
}

.service-content {
    display: none;
}

.service-content.active {
    display: block;
    animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.service-detail {
    background-color: white;
    border-radius: 8px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.service-detail h3 {
    font-size: 24px;
    color: var(--secondary-color);
    margin-bottom: 20px;
}

.service-detail p {
    margin-bottom: 20px;
    color: var(--gray-color);
}

.service-price {
    font-size: 24px;
    font-weight: 700;
    color: var(--accent-color);
    margin: 20px 0;
}

.service-features {
    margin: 20px 0;
}

.service-feature {
    display: flex;
    align-items: flex-start;
    margin-bottom: 15px;
}

.service-feature i {
    color: var(--success-color);
    margin-right: 10px;
    font-size: 18px;
}

/* 比較テーブル */
.comparison {
    margin-top: 60px;
}

.comparison h3 {
    text-align: center;
    font-size: 24px;
    color: var(--secondary-color);
    margin-bottom: 30px;
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    overflow: hidden;
}

.comparison-table th, .comparison-table td {
    padding: 15px;
    text-align: left;
    border-bottom: 1px solid #eee;
}

.comparison-table th {
    background-color: var(--primary-color);
    color: white;
    font-weight: 500;
}

.comparison-table tr:last-child td {
    border-bottom: none;
}

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

.comparison-table tr:hover {
    background-color: #f5f5f5;
}

.comparison-table .highlight {
    background-color: rgba(38, 167, 225, 0.1);
}

.comparison-table .check {
    color: var(--success-color);
    font-size: 18px;
}

.comparison-table .cross {
    color: #f44336;
    font-size: 18px;
}

/* お客様の声セクション */
.testimonials {
    background-color: white;
}

.testimonial-slider {
    position: relative;
    overflow: hidden;
    margin: 40px auto;
    max-width: 800px;
}

.testimonial-slide {
    display: none;
    padding: 30px;
    background-color: var(--light-color);
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.testimonial-slide.active {
    display: block;
    animation: fadeIn 0.5s ease;
}

.testimonial-header {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.testimonial-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    margin-right: 15px;
    object-fit: cover;
}

.testimonial-info h4 {
    font-size: 18px;
    margin-bottom: 5px;
}

.testimonial-info p {
    font-size: 14px;
    color: var(--gray-color);
}

.testimonial-content p {
    font-style: italic;
    margin-bottom: 20px;
    color: var(--dark-color);
}

.testimonial-nav {
    text-align: center;
    margin-top: 20px;
}

.testimonial-dot {
    display: inline-block;
    width: 12px;
    height: 12px;
    background-color: #ddd;
    border-radius: 50%;
    margin: 0 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.testimonial-dot.active {
    background-color: var(--primary-color);
}

/* 導入の流れセクション */
.process {
    background-color: var(--light-color);
}

.process-steps {
    display: flex;
    justify-content: space-between;
    margin-top: 50px;
    position: relative;
    flex-wrap: wrap;
}

.process-steps:before {
    content: '';
    position: absolute;
    top: 40px;
    left: 0;
    right: 0;
    height: 2px;
    background-color: #ddd;
    z-index: 1;
}

.process-step {
    position: relative;
    z-index: 2;
    text-align: center;
    width: 18%;
    min-width: 150px;
    margin-bottom: 30px;
}

.step-number {
    width: 80px;
    height: 80px;
    background-color: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 700;
    margin: 0 auto 20px;
    position: relative;
    z-index: 3;
}

.process-step h4 {
    font-size: 18px;
    margin-bottom: 10px;
    color: var(--secondary-color);
}

.process-step p {
    font-size: 14px;
    color: var(--gray-color);
}

/* FAQ セクション */
.faq {
    background-color: white;
}

.accordion {
    margin-top: 40px;
}

.accordion-item {
    margin-bottom: 15px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

.accordion-header {
    background-color: var(--light-color);
    padding: 15px 20px;
    cursor: pointer;
    position: relative;
    font-weight: 500;
    color: var(--secondary-color);
    transition: background-color 0.3s ease;
}

.accordion-header:hover {
    background-color: #e8f4fa;
}

.accordion-header:after {
    content: '+';
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 20px;
    transition: transform 0.3s ease;
}

.accordion-item.active .accordion-header:after {
    content: '-';
}

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

.accordion-item.active .accordion-content {
    max-height: 300px;
}

.accordion-body {
    padding: 20px;
    color: var(--gray-color);
}

/* CTA セクション */
.cta {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    text-align: center;
    padding: 80px 0;
}

.cta h2 {
    font-size: 36px;
    margin-bottom: 20px;
}

.cta p {
    font-size: 18px;
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.cta-stats {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 30px;
}

.cta-stat {
    margin: 0 20px;
    font-size: 14px;
}

.cta-stat span {
    font-weight: 700;
}

/* フッター */
footer {
    background-color: var(--dark-color);
    color: white;
    padding: 60px 0 30px;
}

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

.footer-column h3 {
    font-size: 18px;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.footer-links {
    list-style: none;
}

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

.footer-links a {
    color: #bbb;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: white;
}

.footer-contact p {
    margin-bottom: 10px;
    color: #bbb;
}

.footer-social {
    display: flex;
    margin-top: 20px;
}

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: #444;
    border-radius: 50%;
    margin-right: 10px;
    transition: background-color 0.3s ease;
}

.social-icon:hover {
    background-color: var(--primary-color);
}

.social-icon i {
    color: white;
    font-size: 18px;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid #444;
    color: #bbb;
    font-size: 14px;
}

/* アニメーション */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* テーブルレスポンシブ対応 */
.table-responsive {
    overflow-x: auto;
}

/* レスポンシブ対応 */
@media screen and (max-width: 768px) {
    .header-container {
        padding: 15px;
    }

    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        flex-direction: column;
        background-color: white;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 10px rgba(0, 0, 0, 0.1);
        padding: 20px 0;
    }

    .nav-menu.active {
        left: 0;
    }

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

    .mobile-menu-btn {
        display: block;
    }

    .hero {
        padding: 120px 0 80px;
    }

    .hero h1 {
        font-size: 32px;
    }

    .hero p {
        font-size: 16px;
    }

    .hero-stats {
        flex-direction: column;
    }

    .stat-item {
        width: 100%;
        margin-bottom: 15px;
    }

    .section {
        padding: 60px 0;
    }

    .section-title h2 {
        font-size: 28px;
    }

    .stats-grid {
        grid-template-columns: 1fr;
    }

    .process-steps:before {
        display: none;
    }

    .process-step {
        width: 100%;
        margin-bottom: 40px;
    }

    .fixed-cta {
        display: block;
    }
}

@media screen and (max-width: 480px) {
    .hero h1 {
        font-size: 28px;
    }

    .section-title h2 {
        font-size: 24px;
    }

    .btn {
        padding: 10px 20px;
        font-size: 14px;
    }
}
