/* AIソリューション詳細ページ共通スタイル */

:root {
    --primary-color: #2196f3;
    --secondary-color: #64b5f6;
    --accent-color: #e0e0e0;
    --dark-bg: #121212;
    --dark-bg-lighter: #1e1e1e;
    --text-color: #ffffff;
    --text-color-muted: #bdbdbd;
    --transition: all 0.3s ease;
    --shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    --container-width: 1200px;
}

/* ベーススタイル */
html {
    font-size: 62.5%;
    scroll-behavior: smooth;
}

body {
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 1.6rem;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--dark-bg);
    overflow-x: hidden;
    margin: 0;
    padding: 0;
}

a {
    text-decoration: none;
    color: var(--text-color);
    transition: var(--transition);
}

ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

img {
    max-width: 100%;
    height: auto;
}

/* 共通クラス */
.container {
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 2rem;
}

.btn {
    display: inline-block;
    padding: 1.2rem 3rem;
    border-radius: 5px;
    font-weight: 500;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    margin: 1rem;
}

.btn.primary {
    background-color: var(--primary-color);
    color: var(--text-color);
    box-shadow: 0 4px 10px rgba(33, 150, 243, 0.4);
}

.btn.primary:hover {
    background-color: var(--secondary-color);
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(100, 181, 246, 0.5);
}

.text-center {
    text-align: center;
}

/* ヘッダー */
#header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: rgba(18, 18, 18, 0.9);
    backdrop-filter: blur(10px);
    transition: var(--transition);
    height: 80px;
}

#header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem 0;
    height: 100%;
}

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    height: 40px;
    margin-right: 1.5rem;
}

.logo-text h1 {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--text-color);
    margin: 0 0 0.3rem 0;
}

.logo-text p {
    font-size: 1.4rem;
    color: var(--primary-color);
    margin: 0;
}

.hamburger {
    display: none;
    cursor: pointer;
}

.bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    background-color: var(--text-color);
    transition: var(--transition);
}

.nav-menu {
    display: flex;
}

.nav-menu ul {
    display: flex;
    gap: 3rem;
}

.nav-item a {
    font-size: 1.6rem;
    font-weight: 500;
    color: var(--text-color);
    padding: 0.5rem 1rem;
    border-radius: 4px;
    transition: var(--transition);
}

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

/* ソリューション詳細ヒーローセクション */
.solution-hero {
    padding-top: 150px; /* ヘッダーの高さ + 余白 */
    padding-bottom: 80px;
    background: linear-gradient(135deg, var(--dark-bg) 0%, var(--dark-bg-lighter) 100%);
    position: relative;
    overflow: hidden;
}

.solution-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../../images/solutions/tech-pattern.png');
    background-size: cover;
    opacity: 0.1;
    z-index: 0;
}

.solution-hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.solution-hero h1 {
    font-size: 4.2rem;
    font-weight: 700;
    margin-bottom: 2rem;
    color: var(--primary-color);
    text-shadow: 0 0 10px rgba(33, 150, 243, 0.3);
}

.solution-hero p {
    font-size: 1.8rem;
    color: var(--text-color);
    margin-bottom: 3rem;
}

/* ソリューション概要セクション */
.solution-overview {
    padding: 8rem 0;
    background-color: var(--dark-bg);
    position: relative;
}

.solution-overview::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(33, 150, 243, 0.05) 0%, transparent 70%);
    pointer-events: none;
}

.solution-overview .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
}

.solution-overview-content h2 {
    font-size: 3.2rem;
    color: var(--primary-color);
    margin-bottom: 2.5rem;
    position: relative;
}

.solution-overview-content h2::after {
    content: '';
    position: absolute;
    bottom: -1rem;
    left: 0;
    width: 50px;
    height: 3px;
    background-color: var(--primary-color);
}

.solution-overview-content p {
    font-size: 1.6rem;
    color: var(--text-color);
    margin-bottom: 2.5rem;
    line-height: 1.8;
}

.solution-overview-image {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.solution-overview-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: var(--transition);
}

.solution-overview-image:hover img {
    transform: scale(1.05);
}

/* 特徴セクション */
.solution-features {
    padding: 8rem 0;
    background-color: var(--dark-bg-lighter);
}

.solution-features h2 {
    font-size: 3.2rem;
    color: var(--primary-color);
    margin-bottom: 5rem;
    text-align: center;
}

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

.feature-card {
    background-color: rgba(30, 30, 30, 0.5);
    border-radius: 10px;
    padding: 3rem;
    transition: var(--transition);
    box-shadow: var(--shadow);
    height: 100%;
    display: flex;
    flex-direction: column;
}

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

.feature-icon {
    width: 7rem;
    height: 7rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(33, 150, 243, 0.2) 0%, rgba(100, 181, 246, 0.2) 100%);
    border-radius: 50%;
    margin-bottom: 2.5rem;
}

.feature-icon i {
    font-size: 3rem;
    color: var(--primary-color);
}

.feature-card h3 {
    font-size: 2.2rem;
    color: var(--text-color);
    margin-bottom: 1.5rem;
}

.feature-card p {
    font-size: 1.6rem;
    color: var(--text-color-muted);
    margin-bottom: 0;
    flex-grow: 1;
}

/* 導入事例セクション */
.solution-cases {
    padding: 8rem 0;
    background-color: var(--dark-bg);
}

.solution-cases h2 {
    font-size: 3.2rem;
    color: var(--primary-color);
    margin-bottom: 5rem;
    text-align: center;
}

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

.case-card {
    background-color: rgba(30, 30, 30, 0.5);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.case-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

.case-image {
    height: 200px;
    overflow: hidden;
}

.case-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

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

.case-content {
    padding: 2.5rem;
}

.case-content h3 {
    font-size: 2rem;
    color: var(--text-color);
    margin-bottom: 1.5rem;
}

.case-content p {
    font-size: 1.5rem;
    color: var(--text-color-muted);
    margin-bottom: 2rem;
}

.case-content .case-result {
    font-size: 1.5rem;
    color: var(--primary-color);
    font-weight: 500;
}

/* CTAセクション */
.solution-cta {
    padding: 8rem 0;
    background: linear-gradient(135deg, rgba(33, 150, 243, 0.1) 0%, rgba(100, 181, 246, 0.1) 100%);
    text-align: center;
}

.solution-cta h2 {
    font-size: 3.2rem;
    color: var(--primary-color);
    margin-bottom: 2rem;
}

.solution-cta p {
    font-size: 1.8rem;
    color: var(--text-color);
    margin-bottom: 3rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

/* フッター */
footer {
    background-color: var(--dark-bg);
    padding: 5rem 0 2rem;
    position: relative;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 5rem;
}

.footer-logo {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.footer-logo img {
    height: 50px;
    margin-bottom: 2rem;
}

.footer-logo h3 {
    font-size: 2.2rem;
    color: var(--text-color);
    margin-bottom: 0.5rem;
}

.footer-logo p {
    font-size: 1.6rem;
    color: var(--primary-color);
    margin-bottom: 2rem;
}

.footer-links h4 {
    font-size: 1.8rem;
    color: var(--text-color);
    margin-bottom: 2rem;
    position: relative;
}

.footer-links h4::after {
    content: '';
    position: absolute;
    bottom: -1rem;
    left: 0;
    width: 30px;
    height: 2px;
    background-color: var(--primary-color);
}

.footer-links ul {
    padding: 0;
}

.footer-links li {
    margin-bottom: 1rem;
}

.footer-links a {
    font-size: 1.5rem;
    color: var(--text-color-muted);
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--primary-color);
    padding-left: 5px;
}

.footer-services li {
    font-size: 1.5rem;
    color: var(--text-color-muted);
    margin-bottom: 1rem;
    position: relative;
    padding-left: 1.5rem;
}

.footer-services li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--primary-color);
}

.copyright {
    text-align: center;
    padding-top: 3rem;
    margin-top: 3rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.copyright p {
    font-size: 1.4rem;
    color: var(--text-color-muted);
}

/* レスポンシブデザイン */
@media (max-width: 992px) {
    .solution-overview .container {
        grid-template-columns: 1fr;
    }
    
    .solution-overview-image {
        order: -1;
        margin-bottom: 3rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr 1fr;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
}

@media (max-width: 768px) {
    html {
        font-size: 55%;
    }
    
    .hamburger {
        display: block;
    }
    
    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }
    
    .hamburger.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }
    
    .hamburger.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }
    
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: var(--dark-bg);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
        padding: 2rem 0;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-menu ul {
        flex-direction: column;
        gap: 0;
    }
    
    .nav-item {
        margin: 2rem 0;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .cases-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 576px) {
    .solution-hero h1 {
        font-size: 3.2rem;
    }
    
    .solution-hero p {
        font-size: 1.6rem;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
}