/*
Theme Name: NEXT JAPAN
Theme URI: https://nextjapan.online/
Author: NEXT JAPAN
Author URI: https://nextjapan.online/
Description: Corporate website theme for NEXT JAPAN - Bringing global innovation to Japan through crowdfunding
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: nextjapan
*/

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Noto Sans JP', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.8;
    color: #333;
    background-color: #fff;
}

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

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

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

/* Header */
.site-header {
    background-color: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

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

.site-logo {
    font-size: 28px;
    font-weight: 700;
    color: #1a73e8;
}

.site-logo span {
    color: #333;
}

/* Navigation */
.main-navigation ul {
    display: flex;
    list-style: none;
    gap: 40px;
}

.main-navigation a {
    font-weight: 500;
    color: #333;
    padding: 10px 0;
    position: relative;
}

.main-navigation a:hover {
    color: #1a73e8;
}

.main-navigation a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #1a73e8;
    transition: width 0.3s ease;
}

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

/* Mobile Menu Toggle */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #333;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, #1a73e8 0%, #0d47a1 100%);
    color: #fff;
    padding: 120px 0;
    text-align: center;
}

.hero-content h1 {
    font-size: 48px;
    margin-bottom: 20px;
    font-weight: 700;
}

.hero-content p {
    font-size: 20px;
    margin-bottom: 40px;
    opacity: 0.95;
}

.cta-button {
    display: inline-block;
    background-color: #fff;
    color: #1a73e8;
    padding: 15px 40px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 18px;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

/* Services Section */
.services-section {
    padding: 80px 0;
    background-color: #f8f9fa;
}

.section-title {
    text-align: center;
    font-size: 36px;
    margin-bottom: 60px;
    color: #333;
}

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

.service-card {
    background: #fff;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

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

.service-card h3 {
    font-size: 24px;
    margin-bottom: 15px;
    color: #1a73e8;
}

.service-card p {
    color: #666;
    line-height: 1.8;
}

/* Stats Section */
.stats-section {
    padding: 80px 0;
    background-color: #1a73e8;
    color: #fff;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    text-align: center;
}

.stat-item h3 {
    font-size: 48px;
    margin-bottom: 10px;
    font-weight: 700;
}

.stat-item p {
    font-size: 18px;
    opacity: 0.9;
}

/* Products Section */
.products-section {
    padding: 80px 0;
}

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

.product-card {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

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

.product-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.product-content {
    padding: 30px;
}

.product-content h3 {
    font-size: 24px;
    margin-bottom: 15px;
    color: #333;
}

.product-badge {
    display: inline-block;
    background-color: #1a73e8;
    color: #fff;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 12px;
    margin-bottom: 10px;
}

.product-content p {
    color: #666;
    margin-bottom: 20px;
}

.product-link {
    color: #1a73e8;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.product-link:hover {
    gap: 10px;
}

/* Company Section */
.company-section {
    padding: 80px 0;
    background-color: #f8f9fa;
}

.company-content {
    max-width: 800px;
    margin: 0 auto;
}

.company-info {
    background: #fff;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.info-row {
    display: grid;
    grid-template-columns: 200px 1fr;
    padding: 20px 0;
    border-bottom: 1px solid #e0e0e0;
}

.info-row:last-child {
    border-bottom: none;
}

.info-label {
    font-weight: 600;
    color: #333;
}

.info-value {
    color: #666;
}

/* About Section */
.about-section {
    padding: 80px 0;
}

.about-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.about-content h2 {
    font-size: 36px;
    margin-bottom: 30px;
    color: #333;
}

.about-content p {
    font-size: 18px;
    color: #666;
    line-height: 2;
    margin-bottom: 20px;
}

/* Contact Section */
.contact-section {
    padding: 80px 0;
    background-color: #f8f9fa;
}

.contact-content {
    max-width: 700px;
    margin: 0 auto;
}

.contact-form {
    background: #fff;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

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

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #333;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-family: inherit;
    font-size: 16px;
}

.form-group textarea {
    min-height: 150px;
    resize: vertical;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #1a73e8;
}

.submit-button {
    width: 100%;
    padding: 15px;
    background-color: #1a73e8;
    color: #fff;
    border: none;
    border-radius: 5px;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.submit-button:hover {
    background-color: #0d47a1;
}

.contact-info {
    margin-top: 30px;
    text-align: center;
}

.contact-info p {
    font-size: 16px;
    color: #666;
    margin: 10px 0;
}

.contact-info a {
    color: #1a73e8;
    font-weight: 600;
}

/* Footer */
.site-footer {
    background-color: #1a1a1a;
    color: #fff;
    padding: 40px 0 20px;
}

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

.footer-content p {
    margin: 10px 0;
    opacity: 0.8;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin: 20px 0;
}

.footer-links a {
    color: #fff;
    opacity: 0.8;
}

.footer-links a:hover {
    opacity: 1;
    color: #1a73e8;
}

/* Responsive Design */
@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }
    
    .main-navigation {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: #fff;
        box-shadow: 0 5px 10px rgba(0,0,0,0.1);
    }
    
    .main-navigation.active {
        display: block;
    }
    
    .main-navigation ul {
        flex-direction: column;
        gap: 0;
        padding: 20px;
    }
    
    .main-navigation li {
        border-bottom: 1px solid #eee;
    }
    
    .main-navigation a {
        display: block;
        padding: 15px 0;
    }
    
    .hero-content h1 {
        font-size: 32px;
    }
    
    .hero-content p {
        font-size: 16px;
    }
    
    .section-title {
        font-size: 28px;
    }
    
    .products-grid {
        grid-template-columns: 1fr;
    }
    
    .info-row {
        grid-template-columns: 1fr;
        gap: 10px;
    }
}

@media (max-width: 480px) {
    .hero-section {
        padding: 60px 0;
    }
    
    .hero-content h1 {
        font-size: 24px;
    }
    
    .services-section,
    .stats-section,
    .products-section,
    .company-section,
    .about-section,
    .contact-section {
        padding: 40px 0;
    }
    
    .stat-item h3 {
        font-size: 36px;
    }
}
