/* リセットとベーススタイル */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-gray: #2c3e50;
    --secondary-gray: #34495e;
    --light-gray: #ecf0f1;
    --dark-gray: #1a252f;
    --accent-orange: #e67e22;
    --accent-orange-light: #f39c12;
    --accent-orange-dark: #d35400;
    --white: #ffffff;
    --text-dark: #2c3e50;
    --text-light: #7f8c8d;
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    --shadow-hover: 0 20px 40px rgba(0, 0, 0, 0.15);
}

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

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

/* 動的背景 */
.animated-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: linear-gradient(135deg, var(--light-gray) 0%, var(--white) 100%);
}

.wave-container {
    position: absolute;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.wave {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 200%;
    height: 100%;
    background: linear-gradient(45deg, var(--accent-orange) 0%, var(--accent-orange-light) 50%, var(--accent-orange) 100%);
    opacity: 0.1;
    border-radius: 50%;
    animation: wave 20s infinite linear;
}

.wave1 {
    animation-delay: 0s;
    opacity: 0.05;
}

.wave2 {
    animation-delay: -5s;
    opacity: 0.03;
    animation-duration: 25s;
}

.wave3 {
    animation-delay: -10s;
    opacity: 0.02;
    animation-duration: 30s;
}

@keyframes wave {
    0% {
        transform: translateX(-50%) translateY(0) rotate(0deg);
    }
    100% {
        transform: translateX(-50%) translateY(-100px) rotate(360deg);
    }
}

/* ヘッダー */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    transition: all 0.3s ease;
    border-bottom: 1px solid rgba(236, 240, 241, 0.5);
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-gray);
    background: linear-gradient(135deg, var(--primary-gray), var(--accent-orange));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

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

.nav-links a:hover {
    color: var(--accent-orange);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-orange);
    transition: width 0.3s ease;
}

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

/* ヒーローセクション */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 120px 2rem 2rem;
    position: relative;
    overflow: hidden;
    max-width: 1280px;
    margin: 0 auto;
}

.hero-content {
    flex: 1;
    max-width: 600px;
    z-index: 2;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    color: var(--primary-gray);
}

.title-line {
    display: block;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease forwards;
}

.title-line:nth-child(2) {
    animation-delay: 0.2s;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--text-light);
    margin-bottom: 2rem;
    line-height: 1.8;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease forwards 0.4s;
}

.hero-cta {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease forwards 0.6s;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    background: linear-gradient(135deg, var(--accent-orange), var(--accent-orange-light));
    color: var(--white);
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: var(--shadow);
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
    background: linear-gradient(135deg, var(--accent-orange-dark), var(--accent-orange));
}

.hero-visual {
    flex: 1;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.floating-elements {
    position: relative;
    width: 400px;
    height: 400px;
}

.element {
    position: absolute;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent-orange), var(--accent-orange-light));
    opacity: 0.8;
    animation: float 6s ease-in-out infinite;
}

.element-1 {
    width: 80px;
    height: 80px;
    top: 20%;
    left: 20%;
    animation-delay: 0s;
}

.element-2 {
    width: 120px;
    height: 120px;
    top: 50%;
    right: 20%;
    animation-delay: 2s;
}

.element-3 {
    width: 60px;
    height: 60px;
    bottom: 20%;
    left: 50%;
    animation-delay: 4s;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-20px);
    }
}

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

/* セクション共通スタイル */
.section {
    padding: 5rem 0;
    position: relative;
}

.section-dark {
    background: var(--primary-gray);
    color: var(--white);
}

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

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: inherit;
}

.title-underline {
    width: 80px;
    height: 4px;
    background: var(--accent-orange);
    margin: 0 auto;
    border-radius: 2px;
}

/* 私たちについてセクション */
.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-paragraph {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    color: inherit;
}

.tech-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.tech-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.tech-item:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.15);
}

.tech-item i {
    font-size: 2.5rem;
    color: var(--accent-orange);
    margin-bottom: 1rem;
}

.tech-item span {
    font-weight: 600;
    color: inherit;
}

/* 技術セクション */
.technology-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.tech-card {
    background: rgba(255, 255, 255, 0.1);
    padding: 2.5rem;
    border-radius: 20px;
    text-align: center;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.tech-card:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.15);
}

.tech-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--accent-orange), var(--accent-orange-light));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.tech-icon i {
    font-size: 2rem;
    color: var(--white);
}

.tech-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: inherit;
}

.tech-card p {
    line-height: 1.6;
    color: inherit;
    opacity: 0.9;
}

/* ビジョンセクション */
.vision-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.vision-paragraph {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    color: inherit;
}

.vision-stats {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

.stat-item {
    text-align: center;
    padding: 2rem;
    background: rgba(230, 126, 34, 0.1);
    border-radius: 15px;
    border: 1px solid rgba(230, 126, 34, 0.2);
    transition: all 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-5px);
    background: rgba(230, 126, 34, 0.15);
}

.stat-number {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--accent-orange);
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.9rem;
    color: inherit;
    opacity: 0.8;
}

/* お問い合わせセクション */
.contact-content {
    max-width: 600px;
    margin: 0 auto;
}

.contact-info {
    display: grid;
    gap: 2rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.contact-item i {
    font-size: 2rem;
    color: var(--accent-orange);
    width: 60px;
    text-align: center;
}

.contact-details h3 {
    margin-bottom: 0.5rem;
    color: inherit;
}

.contact-details a {
    color: var(--accent-orange);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.contact-details a:hover {
    color: var(--accent-orange-light);
}

.contact-details p {
    color: inherit;
    opacity: 0.9;
}

/* フッター */
.footer {
    background: var(--dark-gray);
    color: var(--white);
    padding: 3rem 0 3rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 2rem;
    align-items: center;
}

.footer-logo .logo-text {
    background: linear-gradient(135deg, var(--white), var(--accent-orange));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.footer-links {
    display: flex;
    gap: 2rem;
}

.footer-links a {
    color: var(--white);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--accent-orange);
}

.footer-copyright {
    text-align: right;
    opacity: 0.7;
}

/* モバイルメニュー */
.mobile-menu-button {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--primary-gray);
    cursor: pointer;
    padding: 0.5rem;
    transition: color 0.3s ease;
}

.mobile-menu-button:hover {
    color: var(--accent-orange);
}

.nav-links.mobile {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    flex-direction: column;
    padding: 1rem 0;
    border-top: 1px solid rgba(236, 240, 241, 0.5);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.nav-links.mobile.active {
    display: flex;
}

.nav-links.mobile li {
    width: 100%;
    text-align: center;
}

.nav-links.mobile a {
    display: block;
    padding: 1rem 2rem;
    border-bottom: 1px solid rgba(236, 240, 241, 0.3);
}

.nav-links.mobile a:last-child {
    border-bottom: none;
}

/* レスポンシブデザイン */
@media (max-width: 768px) {
    .nav {
        flex-direction: column;
        gap: 1rem;
        position: relative;
    }
    
    .nav-links {
        gap: 1rem;
    }
    
    .hero {
        flex-direction: column;
        text-align: center;
        padding: 100px 1rem 2rem;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .about-content,
    .vision-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .tech-grid {
        grid-template-columns: 1fr;
    }
    
    .technology-content {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 1rem;
    }
    
    .floating-elements {
        width: 300px;
        height: 300px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .container {
        padding: 0 15px;
    }
}
