/* Main Styles */

/* Variables */
: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;
}

/* Base Styles */
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;
}

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

ul {
    list-style: none;
}

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

/* Common Classes */
.container {
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 2rem;
}

.section-header {
    text-align: center;
    margin-bottom: 5rem;
}

.section-header h2 {
    font-size: 3.6rem;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
    position: relative;
    display: inline-block;
    font-weight: 700;
}

.section-header h2::after {
    content: '';
    position: absolute;
    bottom: -1rem;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 3px;
    background-color: var(--secondary-color);
}

.section-header p {
    font-size: 1.8rem;
    color: var(--text-color-muted);
    max-width: 700px;
    margin: 0 auto;
}

.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);
}

.btn.secondary {
    background-color: transparent;
    color: var(--text-color);
    border: 2px solid var(--primary-color);
    box-shadow: 0 4px 10px rgba(33, 150, 243, 0.2);
}

.btn.secondary:hover {
    background-color: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(33, 150, 243, 0.4);
}

.fade-in {
    opacity: 0;
    animation: fadeInUp 1s ease forwards;
}

.fade-in:nth-child(2) {
    animation-delay: 0.3s;
}

.fade-in:nth-child(3) {
    animation-delay: 0.6s;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Header */
#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.scrolled {
    box-shadow: var(--shadow);
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem 0;
}

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

.logo img {
    height: 40px;
    margin-right: 1.5rem;
    transition: var(--transition);
}

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

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

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

.nav-item a {
    font-size: 1.6rem;
    font-weight: 500;
    color: var(--text-color);
    transition: var(--transition);
    position: relative;
}

.nav-item a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--secondary-color);
    transition: var(--transition);
}

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

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

.hamburger {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    cursor: pointer;
    z-index: 1000;
    height: 20px;
    width: 30px;
}

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

/* Hero Section */
.hero {
    position: relative;
    height: 45vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    padding-top: 80px;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

#hero-canvas {
    width: 100%;
    height: 100%;
}

.hero-content {
    width: 100%;
    text-align: center;
    padding: 0 2rem;
}

.hero-content h2 {
    font-size: 4.0rem;
    margin-bottom: 2rem;
    color: var(--text-color);
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.hero-content p {
    font-size: 2rem;
    max-width: 800px;
    margin: 0 auto 3rem;
    color: var(--text-color);
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.hero-buttons {
    margin-top: 3rem;
}

/* About Section */
.about {
    padding: 10rem 0;
    background-color: var(--dark-bg-lighter);
}

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

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

.company-info {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.info-item h4 {
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.info-item p {
    font-size: 1.6rem;
    margin-bottom: 0;
}

.about-image .image-container {
    position: relative;
    height: 400px;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: var(--shadow);
}

.tech-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, #121212, #1e1e1e);
    background-size: 400% 400%;
    animation: gradientBG 15s ease infinite;
}

.tech-background::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 20% 30%, rgba(33, 150, 243, 0.3) 0%, transparent 20%),
        radial-gradient(circle at 80% 70%, rgba(100, 181, 246, 0.3) 0%, transparent 20%),
        radial-gradient(circle at 50% 50%, rgba(33, 150, 243, 0.1) 0%, transparent 50%);
    animation: pulsate 10s ease-in-out infinite alternate;
}

.tech-background::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%232196f3' fill-opacity='0.1'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.3;
}

@keyframes gradientBG {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

@keyframes pulsate {
    0% {
        opacity: 0.3;
    }
    50% {
        opacity: 0.6;
    }
    100% {
        opacity: 0.3;
    }
}

/* AI Solutions Section */
.ai-solutions {
    padding: 10rem 0;
    background-color: var(--dark-bg);
}

.ai-intro {
    max-width: 900px;
    margin: 0 auto 5rem;
    text-align: center;
}

.ai-intro p {
    font-size: 1.8rem;
    color: var(--text-color);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

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

.solution-card {
    background-color: var(--dark-bg-lighter);
    border-radius: 10px;
    padding: 3rem;
    box-shadow: var(--shadow);
    transition: var(--transition);
    height: 100%;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.solution-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.4);
}

.solution-icon {
    font-size: 4.8rem;
    color: var(--primary-color);
    margin-bottom: 2rem;
    text-align: center;
    position: relative;
    display: inline-block;
    width: 100px;
    height: 100px;
    line-height: 100px;
    border-radius: 50%;
    background: linear-gradient(145deg, #1a1a1a, #222);
    box-shadow: 
        5px 5px 10px rgba(0, 0, 0, 0.5),
        -5px -5px 10px rgba(255, 255, 255, 0.05);
}

.solution-icon i {
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 15px rgba(33, 150, 243, 0.5);
}

.solution-icon::after {
    content: '';
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    border-radius: 50%;
    background: linear-gradient(45deg, var(--primary-color), transparent, var(--secondary-color));
    opacity: 0;
    z-index: -1;
    transition: opacity 0.3s ease;
}

.solution-card:hover .solution-icon::after {
    opacity: 0.3;
    animation: rotate 10s linear infinite;
}

@keyframes rotate {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

.solution-card h3 {
    font-size: 2.4rem;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
    font-weight: 600;
}

.solution-card p {
    color: var(--text-color);
    opacity: 0.9;
    margin-bottom: 2rem;
}

.solution-details {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.solution-details h4 {
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.solution-details ul {
    margin-bottom: 2rem;
    padding-left: 2rem;
}

.solution-details li {
    font-size: 1.5rem;
    color: var(--text-color);
    margin-bottom: 0.8rem;
    position: relative;
}

.solution-details li::before {
    content: '•';
    color: var(--primary-color);
    font-weight: bold;
    position: absolute;
    left: -1.5rem;
}

.solution-details p {
    font-size: 1.5rem;
    color: var(--text-color-secondary);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.solution-details .btn {
    align-self: flex-start;
    margin-top: auto;
}

.ai-approach {
    background-color: rgba(33, 150, 243, 0.05);
    border-radius: 10px;
    padding: 4rem;
    margin: 5rem 0;
    box-shadow: var(--shadow);
}

.ai-approach h3 {
    font-size: 2.8rem;
    text-align: center;
    margin-bottom: 3rem;
    color: var(--text-color);
}

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

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

.approach-icon {
    font-size: 3.6rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    height: 80px;
    width: 80px;
    line-height: 80px;
    border-radius: 50%;
    background: linear-gradient(145deg, #1a1a1a, #222);
    box-shadow: 
        5px 5px 10px rgba(0, 0, 0, 0.3),
        -5px -5px 10px rgba(255, 255, 255, 0.05);
    margin: 0 auto 2rem;
}

.approach-icon i {
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.approach-item h4 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--text-color);
}

.approach-item p {
    font-size: 1.5rem;
    color: var(--text-color-secondary);
}

.cta-container {
    text-align: center;
    margin-top: 5rem;
}

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

.btn.secondary:hover {
    background-color: var(--primary-color);
    color: var(--dark-bg);
    box-shadow: 0 0 15px rgba(33, 150, 243, 0.5);
}

.btn.show-details {
    background-color: transparent;
    border: 1px solid var(--primary-color);
    color: var(--primary-color);
    padding: 0.8rem 1.5rem;
    font-size: 1.4rem;
    margin-top: 1rem;
    transition: all 0.3s ease;
}

.btn.show-details:hover {
    background-color: var(--primary-color);
    color: var(--dark-bg);
    box-shadow: 0 0 10px rgba(33, 150, 243, 0.4);
}

/* Services Section */
.services {
    padding: 10rem 0;
    background-color: var(--dark-bg);
}

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

.service-card {
    background-color: var(--dark-bg-lighter);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    height: 100%;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.4);
}

.service-content {
    padding: 3rem;
}

.service-icon {
    width: 100%;
    height: 200px;
    object-fit: cover;
    margin-bottom: 2rem;
    border-radius: 5px;
}

.service-card h3 {
    font-size: 2.4rem;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
    font-weight: 600;
}

.service-card p {
    color: var(--text-color);
    opacity: 0.9;
    margin-bottom: 2rem;
}

/* Case Studies Section */
.case-studies {
    padding: 10rem 0;
    background-color: var(--dark-bg-lighter);
}

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

.case-study-card {
    background-color: var(--dark-bg);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.case-study-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.4);
}

/* 製品・サービスセクション */
.products-services {
    padding: 10rem 0;
    background-color: var(--dark-bg);
}

.upcoming-services {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2.5rem;
}

.product-card {
    background-color: var(--dark-bg-lighter);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.4);
}

.product-image {
    height: 180px;
    overflow: hidden;
    position: relative;
}

.placeholder-image {
    width: 100%;
    height: 100%;
    background-color: #2a2a2a;
    display: flex;
    align-items: center;
    justify-content: center;
}

.placeholder-image::after {
    content: "画像準備中";
    color: #555;
    font-size: 1.2rem;
}

.product-content {
    padding: 2rem;
}

.product-content h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.product-content p {
    font-size: 1.4rem;
    color: var(--text-color-muted);
    line-height: 1.6;
}

.product-content .release-date {
    font-size: 1.3rem;
    color: #64b5f6;
    margin-top: 1rem;
    font-weight: bold;
    background-color: rgba(33, 150, 243, 0.1);
    padding: 0.5rem 1rem;
    border-radius: 5px;
    display: inline-block;
}

/* フィーチャードプロダクトカード */
.featured-product-card {
    background: linear-gradient(135deg, var(--dark-bg-lighter) 0%, #2a2a3a 100%);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(33, 150, 243, 0.2);
    transition: var(--transition);
    margin-bottom: 3rem;
}

.featured-product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5);
    border-color: rgba(33, 150, 243, 0.4);
}

.featured-product-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    padding: 4rem;
    align-items: center;
}

.featured-product-info h3 {
    font-size: 3.2rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-weight: 700;
}

.product-tagline {
    font-size: 1.8rem;
    color: var(--text-color-muted);
    margin-bottom: 3rem;
    line-height: 1.4;
}

.product-badge {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 0.8rem 1.6rem;
    border-radius: 25px;
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 2rem;
    box-shadow: 0 4px 15px rgba(33, 150, 243, 0.3);
}

.product-badge.upcoming {
    background: linear-gradient(135deg, #ff6b35, #f7931e);
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.3);
}

.product-features {
    margin-bottom: 3rem;
}

.feature-item {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
    padding: 1rem;
    background-color: rgba(33, 150, 243, 0.05);
    border-radius: 10px;
    border-left: 4px solid var(--primary-color);
    transition: var(--transition);
}

.feature-item:hover {
    background-color: rgba(33, 150, 243, 0.1);
    transform: translateX(5px);
}

.feature-item i {
    color: var(--primary-color);
    font-size: 1.8rem;
    margin-right: 1.5rem;
    min-width: 2.5rem;
}

.feature-item span {
    font-size: 1.5rem;
    color: var(--text-color);
    line-height: 1.4;
}

.product-actions {
    margin-top: 2rem;
}

.product-actions .btn {
    font-size: 1.6rem;
    padding: 1.5rem 3rem;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    box-shadow: 0 8px 25px rgba(33, 150, 243, 0.3);
    transition: var(--transition);
}

.product-actions .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 35px rgba(33, 150, 243, 0.4);
}

.product-actions .btn:disabled {
    background-color: #555;
    color: #999;
    cursor: not-allowed;
    box-shadow: none;
}

.product-actions .btn:disabled:hover {
    transform: none;
    box-shadow: none;
}

/* ビデオコンテナ */
.featured-product-media {
    position: relative;
}

.video-container {
    position: relative;
    width: 100%;
    height: 350px;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
    background: linear-gradient(135deg, #1a1a2e, #16213e);
}

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

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
    border-radius: 15px;
}

/* レスポンシブデザイン */
@media (max-width: 768px) {
    .featured-product-content {
        grid-template-columns: 1fr;
        gap: 3rem;
        padding: 3rem 2rem;
    }
    
    .featured-product-info h3 {
        font-size: 2.4rem;
    }
    
    .product-tagline {
        font-size: 1.6rem;
    }
    
    .feature-item {
        flex-direction: column;
        text-align: center;
        padding: 1.5rem;
    }
    
    .feature-item i {
        margin-right: 0;
        margin-bottom: 1rem;
    }
    
    .video-container {
        height: 250px;
    }
}

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

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

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

.case-study-content {
    padding: 2rem;
}

.case-study-card h3 {
    font-size: 2.2rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
    font-weight: 600;
}

.case-study-category {
    font-size: 1.4rem;
    color: var(--secondary-color);
    margin-bottom: 1.5rem;
}

.case-study-card p {
    color: var(--text-color);
    opacity: 0.9;
}

/* Footer */
#footer {
    background-color: var(--dark-bg);
}

.footer-main {
    padding: 8rem 0 5rem;
}

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

.footer-logo {
    margin-bottom: 2rem;
}

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

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

.footer-logo p {
    font-size: 1.6rem;
    color: var(--text-color-muted);
}

.footer-links {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.footer-links-column h4 {
    font-size: 1.8rem;
    margin-bottom: 2rem;
    color: var(--primary-color);
    font-weight: 600;
}

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

.footer-links-column ul li a {
    color: var(--text-color);
    opacity: 0.9;
    transition: var(--transition);
}

.footer-links-column ul li a:hover {
    color: var(--secondary-color);
}

.company-info ul li {
    margin-bottom: 1rem;
    color: var(--text-color);
    opacity: 0.95;
}

.footer-bottom {
    padding: 2rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

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

/* Scroll Top Button */
.scroll-top {
    position: fixed;
    bottom: 3rem;
    right: 3rem;
    width: 5rem;
    height: 5rem;
    background-color: var(--primary-color);
    color: var(--text-color);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 2rem;
    box-shadow: var(--shadow);
    transition: var(--transition);
    opacity: 0;
    visibility: hidden;
    z-index: 999;
}

.scroll-top.active {
    opacity: 1;
    visibility: visible;
}

.scroll-top:hover {
    background-color: var(--secondary-color);
    transform: translateY(-5px);
}

/* Responsive Styles */
@media screen and (min-width: 769px) {
    .hamburger {
        display: none;
    }
}

@media screen and (max-width: 1024px) {
    .hero-content h2 {
        font-size: 4rem;
    }
    
    .hero-content p {
        font-size: 1.8rem;
    }
    
    .section-header h2 {
        font-size: 3.2rem;
    }
}

@media screen and (max-width: 768px) {
    .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: 80px;
        gap: 0;
        flex-direction: column;
        background-color: var(--dark-bg);
        width: 100%;
        height: calc(100vh - 80px);
        text-align: center;
        transition: var(--transition);
        box-shadow: var(--shadow);
        z-index: 999;
    }
    
    .nav-list {
        flex-direction: column;
        padding: 3rem 0;
        gap: 2rem;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .hero-content h2 {
        font-size: 3.2rem;
    }
    
    .hero-content p {
        font-size: 1.6rem;
    }
    
    .about-grid,
    .footer-content {
        grid-template-columns: 1fr;
    }
    
    .company-info {
        grid-template-columns: 1fr;
    }
    
    .footer-links {
        grid-template-columns: 1fr;
    }
}

@media screen and (max-width: 480px) {
    .hero-content h2 {
        font-size: 2.8rem;
    }
    
    .section-header h2 {
        font-size: 2.8rem;
    }
    
    .service-card {
        min-height: auto;
    }
    
    .btn {
        padding: 1rem 2rem;
        font-size: 1.4rem;
    }
}

/* アニメーション効果 */
.fade-in {
    opacity: 0;
    animation: fadeInUp 1s ease forwards;
}

@keyframes fadeInUp {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* スクロールアニメーション */
.solution-card, .service-card, .case-study-card, .about-content, .about-image {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.solution-card.scrolled, .service-card.scrolled, .case-study-card.scrolled, .about-content.scrolled, .about-image.scrolled {
    opacity: 1;
    transform: translateY(0);
}

/* 遅延アニメーション */
.solution-card:nth-child(2), .service-card:nth-child(2), .case-study-card:nth-child(2) {
    transition-delay: 0.2s;
}

.solution-card:nth-child(3), .service-card:nth-child(3), .case-study-card:nth-child(3) {
    transition-delay: 0.4s;
}

.service-card:nth-child(4) {
    transition-delay: 0.2s;
}

.service-card:nth-child(5) {
    transition-delay: 0.4s;
}

.service-card:nth-child(6) {
    transition-delay: 0.6s;
}

/* ホバーエフェクト強化 */
.solution-card, .service-card, .case-study-card {
    transition: transform 0.5s ease, box-shadow 0.5s ease;
    will-change: transform;
    transform-style: preserve-3d;
}

.solution-card:hover, .service-card:hover, .case-study-card:hover {
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.6);
    transform: translateY(-10px) scale(1.03);
}

/* 光る効果 */
.btn.primary {
    position: relative;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(33, 150, 243, 0.4);
}

.btn.primary:hover {
    box-shadow: 0 8px 25px rgba(33, 150, 243, 0.6);
}

.btn.primary::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        to bottom right,
        rgba(255, 255, 255, 0) 0%,
        rgba(255, 255, 255, 0.1) 100%
    );
    transform: rotate(30deg);
    transition: transform 0.5s ease;
}

.btn.primary:hover::after {
    transform: rotate(30deg) translate(10%, 10%);
}
