/* index.css - Premium Modern Design */

:root {
    --primary: #2a5c82;
    --primary-light: #4A90E2;
    --primary-dark: #1f425c;
    --secondary: #e9ab36;
    --dark: #1f2937;
    --gray: #4b5563;
    --light-gray: #f3f4f6;
    --white: #ffffff;
    --font-heading: 'Noto Sans JP', sans-serif;
    --font-body: 'Noto Sans JP', sans-serif;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --transition: all 0.3s ease;
}

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

body {
    font-family: var(--font-body);
    color: var(--dark);
    line-height: 1.6;
    background-color: var(--white);
    overflow-x: hidden;
}

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

.hidden {
    display: none !important;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--dark);
    line-height: 1.3;
}

p {
    margin-bottom: 1rem;
}

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

a:hover {
    color: var(--primary-light);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 8px;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    font-size: 1rem;
}

.btn.primary {
    background-color: var(--primary);
    color: var(--white);
    box-shadow: 0 4px 14px 0 rgba(42, 92, 130, 0.39);
}

.btn.primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
    color: var(--white);
    box-shadow: 0 6px 20px rgba(42, 92, 130, 0.23);
}

.btn.full-width {
    width: 100%;
}

/* Header */
header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: var(--shadow-sm);
    padding: 15px 0;
    transition: var(--transition);
}

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

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

.logo-icon {
    color: var(--primary);
}

.logo-text h1 {
    font-size: 1.2rem;
    font-weight: 700;
    margin: 0;
}

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

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

nav {
    display: flex;
    align-items: center;
    gap: 24px;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-links li a {
    color: var(--dark);
    font-weight: 500;
    font-size: 0.95rem;
    position: relative;
}

.nav-links li a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary);
    transition: var(--transition);
}

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

/* Language Switcher */
.lang-switch {
    display: flex;
    background: var(--light-gray);
    border-radius: 20px;
    padding: 4px;
    padding-bottom: 2px;
}

.lang-switch button {
    background: transparent;
    border: none;
    padding: 4px 12px;
    border-radius: 16px;
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    color: var(--gray);
    transition: var(--transition);
}

.lang-switch button.active {
    background: var(--white);
    color: var(--primary);
    box-shadow: var(--shadow-sm);
}

/* Mobile Menu Button */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    width: 30px;
    height: 20px;
    position: relative;
}

.mobile-menu-btn span {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--dark);
    position: absolute;
    left: 0;
    transition: var(--transition);
}

.mobile-menu-btn span:nth-child(1) { top: 0; }
.mobile-menu-btn span:nth-child(2) { top: 9px; }
.mobile-menu-btn span:nth-child(3) { top: 18px; }

/* Hero Section */
#hero {
    height: 100vh;
    min-height: 600px;
    background: linear-gradient(135deg, rgba(42, 92, 130, 0.9) 0%, rgba(31, 41, 55, 0.8) 100%), url('../image/hero-bg.jpg') center/cover;
    position: relative;
    display: flex;
    align-items: center;
    padding-top: 80px;
    color: var(--white);
    text-align: center;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
}

.hero-content h2 {
    color: var(--white);
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.4;
}

.hero-content p {
    font-size: 1.25rem;
    margin-bottom: 2.5rem;
    color: rgba(255,255,255,0.9);
}

/* Sections */
.section-padding {
    padding: 100px 0;
}

.bg-light {
    background-color: var(--light-gray);
}

.section-header {
    margin-bottom: 60px;
}

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

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--primary-dark);
}

.section-header p {
    font-size: 1.1rem;
    color: var(--gray);
}

.divider {
    height: 3px;
    width: 60px;
    background: var(--primary);
    margin: 20px auto;
    border-radius: 3px;
}

.divider.align-left {
    margin-left: 0;
}

/* About Section */
.about-text {
    max-width: 800px;
    margin: 0 auto;
    font-size: 1.1rem;
}
.about-text p {
    margin-bottom: 1.5rem;
}

/* Services Section */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.service-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--primary);
    transform: scaleX(0);
    transform-origin: left;
    transition: var(--transition);
}

.service-card:hover::before {
    transform: scaleX(1);
}

.icon-wrapper {
    font-size: 3rem;
    margin-bottom: 20px;
}

.service-card h3 {
    margin-bottom: 15px;
    font-size: 1.3rem;
}

.service-card p {
    color: var(--gray);
    font-size: 0.95rem;
    margin: 0;
}

/* Topics Section */
.topics-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.topic-item {
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(0,0,0,0.05);
}

.topic-content {
    padding: 30px;
}

.topic-content h3 {
    color: var(--primary);
    margin-bottom: 15px;
}

.topic-content p {
    color: var(--gray);
    font-size: 0.95rem;
}

.voice-list {
    list-style: none;
    padding: 0;
}

.voice-list li {
    background: var(--light-gray);
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 10px;
    font-style: italic;
    color: var(--dark);
}

/* Contact Form */
.form-wrapper {
    max-width: 600px;
    margin: 0 auto;
    background: var(--white);
    padding: 40px;
    border-radius: 12px;
    box-shadow: var(--shadow-md);
}

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

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

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

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(42, 92, 130, 0.1);
}

.form-success {
    text-align: center;
    padding: 30px;
    background: #e6f4ea;
    border-radius: 8px;
    margin-bottom: 20px;
}

.success-icon {
    font-size: 3rem;
    color: #34a853;
    margin-bottom: 15px;
}

/* Footer */
footer {
    background: var(--dark);
    color: rgba(255, 255, 255, 0.8);
    padding-top: 60px;
}

.footer-content {
    padding-bottom: 40px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
    color: var(--white);
}

.footer-logo h3 {
    color: var(--white);
    margin: 0;
}

.footer-bottom {
    background: #111827;
    padding: 20px 0;
    text-align: center;
    font-size: 0.9rem;
}

.footer-bottom p {
    margin: 0;
}

/* Responsive Design */
@media (max-width: 900px) {
    .topics-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--white);
        flex-direction: column;
        padding: 20px;
        box-shadow: var(--shadow-md);
        gap: 15px;
    }
    
    .nav-links.active {
        display: flex;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    .hero-content h2 {
        font-size: 2rem;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
}
