/* Global Styles */
:root {
    --primary-color: #345c94;
    --secondary-color: #fc6444;
    --dark-blue: #1f3a63;
    --light-blue: #4a76b8;
    --light-orange: #fd8369;
    --dark-gray: #333333;
    --medium-gray: #666666;
    --light-gray: #f4f4f4;
    --white: #ffffff;
    --transition: all 0.3s ease;
    --shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    --container-width: 1200px;
}

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

html {
    scroll-behavior: smooth;
}

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

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

ul {
    list-style: none;
}

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

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 0.5rem;
    color: var(--primary-color);
    position: relative;
    padding-bottom: 10px;
}

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

.section-subtitle {
    font-size: 1.5rem;
    text-align: center;
    margin-bottom: 3rem;
    color: var(--medium-gray);
}

/* Header Styles */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
}

header.scrolled {
    padding: 10px 0;
    background-color: var(--white);
}

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

.logo img {
    height: 50px;
    display: block;
}

nav {
    display: flex;
    align-items: center;
}

.main-menu {
    display: flex;
}

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

.main-menu a {
    color: var(--dark-gray);
    font-weight: 500;
    position: relative;
}

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

.main-menu a:hover {
    color: var(--secondary-color);
}

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

.language-selector {
    margin-left: 30px;
    display: flex;
}

.language-selector a {
    padding: 5px 10px;
    color: var(--medium-gray);
    font-size: 0.9rem;
    border-radius: 4px;
}

.language-selector a.active,
.language-selector a:hover {
    color: var(--primary-color);
    font-weight: 500;
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.mobile-menu-toggle span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--dark-gray);
    margin: 2px 0;
    transition: var(--transition);
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    background: linear-gradient(135deg, var(--primary-color), var(--dark-blue));
    overflow: hidden;
}

.hero-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="%23fc6444" fill-opacity="0.2" d="M0,224L48,213.3C96,203,192,181,288,181.3C384,181,480,203,576,229.3C672,256,768,288,864,277.3C960,267,1056,213,1152,197.3C1248,181,1344,203,1392,213.3L1440,224L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>') no-repeat bottom;
    background-size: 100%;
    opacity: 0.8;
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
}

.hero h1 {
    font-size: 5rem;
    font-weight: 700;
    margin-bottom: 20px;
    letter-spacing: 2px;
}

.hero .tagline p {
    font-size: 1.8rem;
    margin-bottom: 10px;
}

.animate-title {
    animation: fadeInDown 1s ease-out;
}

.animate-subtitle {
    animation: fadeInUp 1s ease-out 0.3s forwards;
    opacity: 0;
}

.animate-subtitle-en {
    animation: fadeInUp 1s ease-out 0.6s forwards;
    opacity: 0;
}

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

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

/* Mission Section */
.mission {
    padding: 100px 0;
    background-color: var(--white);
}

.mission-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    font-size: 1.2rem;
    line-height: 1.8;
}

.mission-content p {
    margin-bottom: 20px;
}

/* Experiences Section */
.experiences {
    padding: 100px 0;
    background-color: var(--light-gray);
}

.experience-cards {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    margin-top: 50px;
}

.card {
    width: 30%;
    background-color: var(--white);
    padding: 40px 30px;
    border-radius: 8px;
    box-shadow: var(--shadow);
    text-align: center;
    transition: var(--transition);
}

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

.card-icon {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.card h4 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--primary-color);
}

/* Services Section */
.services {
    padding: 100px 0;
    background-color: var(--white);
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.service-item {
    border: 1px solid #eee;
    border-radius: 8px;
    padding: 30px;
    transition: var(--transition);
    background-color: var(--white);
    box-shadow: var(--shadow);
}

.service-item:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
    box-shadow: 0 10px 25px rgba(52, 92, 148, 0.1);
}

.service-icon {
    font-size: 2.5rem;
    color: var(--secondary-color);
    margin-bottom: 20px;
}

.service-item h4 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: var(--primary-color);
}

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

.learn-more {
    color: var(--primary-color);
    font-weight: 500;
    display: inline-flex;
    align-items: center;
}

.learn-more i {
    margin-left: 8px;
    transition: var(--transition);
}

.learn-more:hover {
    color: var(--secondary-color);
}

.learn-more:hover i {
    transform: translateX(5px);
}

/* Network Map Section */
.network-map {
    padding: 100px 0;
    background-color: var(--dark-blue);
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.network-map .section-title {
    color: var(--white);
}

.map-container {
    position: relative;
    height: 400px;
    margin: 50px 0;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 500"><path fill="none" stroke="%23ffffff" stroke-opacity="0.2" stroke-width="1" d="M0,250 C150,150 350,450 500,250 C650,50 850,350 1000,250"></path></svg>') center no-repeat;
    background-size: cover;
}

.network-points {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.point {
    position: absolute;
    width: 20px;
    height: 20px;
    background-color: var(--secondary-color);
    border-radius: 50%;
    cursor: pointer;
    z-index: 2;
    transition: transform 0.3s ease;
}

.point:hover {
    transform: scale(1.3);
}

.point .pulse {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background-color: var(--secondary-color);
    opacity: 0.5;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 0.5;
    }
    70% {
        transform: scale(2);
        opacity: 0;
    }
    100% {
        transform: scale(2.5);
        opacity: 0;
    }
}

.point .tooltip {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    padding: 5px 10px;
    background-color: var(--white);
    color: var(--dark-gray);
    border-radius: 4px;
    font-size: 0.8rem;
    white-space: nowrap;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.point:hover .tooltip {
    opacity: 1;
}

.map-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(31, 58, 99, 0) 0%, rgba(31, 58, 99, 1) 80%);
    z-index: 1;
}

.network-stats {
    display: flex;
    justify-content: space-around;
    margin-top: 50px;
}

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

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 10px;
}

.stat-label {
    font-size: 1rem;
    color: var(--white);
    opacity: 0.8;
}

/* Contact Section */
.contact {
    padding: 100px 0;
    background-color: var(--light-gray);
}

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

.contact-info {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
}

.contact-card {
    background-color: var(--white);
    padding: 30px;
    border-radius: 8px;
    box-shadow: var(--shadow);
}

.contact-card h3 {
    font-size: 1.3rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.contact-card p {
    margin-bottom: 20px;
    color: var(--medium-gray);
}

.contact-link {
    display: inline-flex;
    align-items: center;
    color: var(--primary-color);
    font-weight: 500;
}

.contact-link i {
    margin-right: 10px;
}

.contact-link:hover {
    color: var(--secondary-color);
}

.contact-form {
    background-color: var(--white);
    padding: 40px;
    border-radius: 8px;
    box-shadow: var(--shadow);
}

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

.form-group label {
    display: block;
    margin-bottom: 5px;
    color: var(--dark-gray);
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(52, 92, 148, 0.2);
}

.submit-btn {
    background-color: var(--primary-color);
    color: var(--white);
    border: none;
    padding: 12px 30px;
    border-radius: 4px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
}

.submit-btn:hover {
    background-color: var(--dark-blue);
}

/* Footer */
footer {
    background-color: #1e3455;
    color: var(--white);
    padding: 70px 0 20px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    margin-bottom: 50px;
}

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

.footer-links {
    display: flex;
    flex-wrap: wrap;
}

.footer-column {
    margin-left: 60px;
}

.footer-column h4 {
    font-size: 1.2rem;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

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

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

.footer-column ul li a {
    color: rgba(255, 255, 255, 0.9);
    transition: var(--transition);
}

.footer-column ul li a:hover {
    color: var(--secondary-color);
    padding-left: 5px;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.social-links a {
    color: var(--white);
    font-size: 1.2rem;
    margin-left: 20px;
    transition: var(--transition);
}

.social-links a:hover {
    color: var(--secondary-color);
}

/* Media Queries */
@media (max-width: 1024px) {
    .card, 
    .service-item {
        width: 45%;
        margin-bottom: 30px;
    }
    
    .service-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        text-align: center;
    }
    
    .logo {
        margin-bottom: 20px;
    }
    
    .main-menu {
        display: none;
    }
    
    .language-selector {
        margin: 20px 0;
    }
    
    .mobile-menu-toggle {
        display: flex;
        position: absolute;
        top: 20px;
        right: 20px;
    }
    
    .hero h1 {
        font-size: 3rem;
    }
    
    .hero .tagline p {
        font-size: 1.2rem;
    }
    
    .card, 
    .service-item {
        width: 100%;
    }
    
    .service-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        flex-direction: column;
    }
    
    .footer-column {
        margin: 30px 0 0 0;
    }
    
    .footer-bottom {
        flex-direction: column;
    }
    
    .social-links {
        margin-top: 20px;
    }
    
    .social-links a {
        margin: 0 10px;
    }
} 