/* Auxiliary Pages Styles */
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@300;400;500;600;700&display=swap');

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Noto Sans JP', 'Hiragino Kaku Gothic Pro', 'Source Han Sans JP', sans-serif;
    line-height: 1.6;
    color: #e5e7eb;
    background-color: #0f0f23;
    font-size: 16px;
}

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

/* Header */
.header {
    background-color: #1e1b4b;
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

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

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

.logo-container a {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.logo {
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

.brand-name {
    font-size: 1.5rem;
    font-weight: 700;
    color: #ffffff;
    letter-spacing: -0.025em;
}

/* Navigation */
.nav {
    display: flex;
    gap: 2rem;
}

.nav a {
    color: #d1d5db;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav a:hover {
    color: #ea580c;
}

/* Main Content */
.main-content {
    min-height: calc(100vh - 200px);
    padding: 2rem 0;
}

.page-header {
    text-align: center;
    padding: 3rem 0;
    background: linear-gradient(135deg, #1e1b4b 0%, #312e81 100%);
    margin-bottom: 3rem;
}

.page-title {
    font-size: 3rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 1rem;
}

.page-subtitle {
    font-size: 1.25rem;
    color: #d1d5db;
}

/* Content Sections */
.content-section {
    margin-bottom: 3rem;
}

.section-title {
    font-size: 2rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 1.5rem;
    border-left: 4px solid #ea580c;
    padding-left: 1rem;
}

.content-block {
    background-color: #1f2937;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
    border: 1px solid #374151;
}

.content-block p {
    color: #d1d5db;
    margin-bottom: 1rem;
    line-height: 1.7;
}

.content-block p:last-child {
    margin-bottom: 0;
}

/* Content Grid */
.content-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.vision-card {
    background-color: #1f2937;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
    border: 1px solid #374151;
}

.vision-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: #ea580c;
    margin-bottom: 1rem;
}

.vision-card p {
    color: #d1d5db;
    line-height: 1.6;
}

/* Values List */
.values-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.value-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    text-align: left;
}

.value-icon {
    color: #ea580c;
    flex-shrink: 0;
    margin-top: 0.25rem;
}

.value-content {
    flex: 1;
}

.value-item h4 {
    font-size: 1.125rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 0.5rem;
}

.value-item p {
    color: #d1d5db;
    line-height: 1.6;
}

/* About Page Specific Styles */
.about-hero {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    margin-bottom: 2rem;
}

.about-hero-image img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.vision-card {
    background-color: #1f2937;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
    border: 1px solid #374151;
    text-align: center;
}

.vision-icon {
    color: #ea580c;
    margin-bottom: 1.5rem;
}

.vision-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 1rem;
}

.vision-card p {
    color: #d1d5db;
    line-height: 1.6;
}

.values-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.values-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

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

.tech-card {
    background-color: #1f2937;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
    border: 1px solid #374151;
    text-align: center;
}

.tech-icon {
    color: #ea580c;
    margin-bottom: 1.5rem;
}

.tech-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 1rem;
}

.tech-card p {
    color: #d1d5db;
    line-height: 1.6;
}

/* Policy Pages Styles */
.policy-content {
    max-width: 800px;
    margin: 0 auto;
}

.policy-intro {
    background-color: #1f2937;
    padding: 2rem;
    border-radius: 12px;
    margin-bottom: 2rem;
    border: 1px solid #374151;
}

.policy-intro p {
    color: #d1d5db;
    line-height: 1.7;
    margin-bottom: 1rem;
}

.policy-intro p:last-child {
    margin-bottom: 0;
}

.last-updated {
    font-style: italic;
    color: #9ca3af !important;
    font-size: 0.9rem;
}

.policy-section {
    background-color: #1f2937;
    padding: 2rem;
    border-radius: 12px;
    margin-bottom: 2rem;
    border: 1px solid #374151;
}

.policy-section h2 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #ea580c;
    margin-bottom: 1.5rem;
    border-bottom: 2px solid #374151;
    padding-bottom: 0.5rem;
}

.policy-section h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: #ffffff;
    margin: 1.5rem 0 1rem 0;
}

.policy-section p {
    color: #d1d5db;
    line-height: 1.7;
    margin-bottom: 1rem;
}

.policy-section ul {
    color: #d1d5db;
    margin-bottom: 1rem;
    padding-left: 1.5rem;
}

.policy-section li {
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

.policy-section a {
    color: #ea580c;
    text-decoration: none;
}

.policy-section a:hover {
    text-decoration: underline;
}

.contact-info {
    background-color: #111827;
    padding: 1.5rem;
    border-radius: 8px;
    margin-top: 1rem;
}

.contact-info p {
    margin-bottom: 0.5rem;
}

.contact-info p:last-child {
    margin-bottom: 0;
}

/* Empty Content (for policy pages) */
.empty-content {
    text-align: center;
    padding: 4rem 2rem;
    background-color: #1f2937;
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
    border: 1px solid #374151;
}

.placeholder-icon {
    color: #6b7280;
    margin-bottom: 2rem;
}

.empty-content h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 1rem;
}

.empty-content p {
    color: #d1d5db;
    margin-bottom: 2rem;
    line-height: 1.6;
}

/* Button */
.btn {
    display: inline-block;
    padding: 0.875rem 2rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    text-align: center;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 160px;
}

.btn-primary {
    background-color: #ea580c;
    color: #ffffff;
    box-shadow: 0 4px 14px rgba(234, 88, 12, 0.3);
}

.btn-primary:hover {
    background-color: #dc2626;
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(234, 88, 12, 0.4);
}

/* Footer */
.footer {
    background-color: #1e1b4b;
    padding: 3rem 0 1rem;
    margin-top: 4rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h4 {
    color: #ffffff;
    font-weight: 600;
    margin-bottom: 1rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    color: #d1d5db;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: #ea580c;
}

.footer-description {
    color: #d1d5db;
    margin-top: 1rem;
}

.footer-bottom {
    border-top: 1px solid #374151;
    padding-top: 1rem;
    text-align: center;
}

.footer-bottom p {
    color: #9ca3af;
}

/* Responsive Design */
@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        gap: 1rem;
    }

    .nav {
        flex-wrap: wrap;
        justify-content: center;
    }

    .page-title {
        font-size: 2.5rem;
    }

    .section-title {
        font-size: 1.75rem;
    }

    .container {
        padding: 0 15px;
    }

    .content-grid {
        grid-template-columns: 1fr;
    }

    .about-hero,
    .values-section {
        grid-template-columns: 1fr;
    }

    .value-item {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .page-title {
        font-size: 2rem;
    }

    .nav {
        gap: 1rem;
    }

    .nav a {
        font-size: 0.9rem;
    }

    .empty-content {
        padding: 3rem 1rem;
    }
}