:root {
    /* Color Palette */
    --primary-color: #003366; /* Navy Blue - Trust */
    --primary-light: #004d99;
    --accent-color: #F9A826; /* Warm Orange - Friendliness */
    --accent-hover: #d48806;
    --text-color: #333333;
    --text-light: #666666;
    --bg-light: #f5f7fa;
    --white: #ffffff;
    --border-color: #e0e0e0;

    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
    --spacing-xl: 6rem;

    /* Fonts */
    --font-sans: 'Noto Sans JP', sans-serif;
    --font-serif: 'Noto Serif JP', serif;
}

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

body {
    font-family: var(--font-sans);
    color: var(--text-color);
    line-height: 1.6;
    background-color: var(--white);
}

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

ul {
    list-style: none;
}

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

/* Typography */
h1, h2, h3 {
    font-family: var(--font-serif);
    font-weight: 700;
    line-height: 1.3;
}

/* Utilities */
.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-sm);
}

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

.section {
    padding: var(--spacing-xl) 0;
}

.section-header {
    text-align: center;
    margin-bottom: var(--spacing-lg);
}

.section-title {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: var(--spacing-xs);
}

.section-desc {
    color: var(--text-light);
    font-size: 1rem;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.8rem 2rem;
    border-radius: 4px;
    font-weight: 500;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--white);
}

.btn-primary:hover {
    background-color: var(--primary-light);
}

.btn-accent {
    background-color: var(--accent-color);
    color: var(--white);
}

.btn-accent:hover {
    background-color: var(--accent-hover);
}

.btn-outline {
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
}

.btn-outline:hover {
    background-color: var(--primary-color);
    color: var(--white);
}

.btn-lg {
    padding: 1rem 3rem;
    font-size: 1.1rem;
}

/* Header */
.header {
    background-color: var(--white);
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: var(--spacing-sm) 0;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo-icon {
    font-size: 2rem;
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.logo-sub {
    font-size: 0.75rem;
    color: var(--text-light);
}

.logo-main {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary-color);
    font-family: var(--font-serif);
}

.nav-list {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-list a {
    font-weight: 500;
    color: var(--primary-color);
}

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

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
}

/* Hero Section */
.hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--spacing-xl) 5%;
    background: linear-gradient(135deg, #f0f4f8 0%, #ffffff 100%);
    min-height: 600px;
    gap: var(--spacing-md);
}

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

.hero-title {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: var(--spacing-md);
}

.hero-subtitle {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: var(--spacing-md);
}

.hero-actions {
    display: flex;
    gap: 1rem;
}

.hero-image-container {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.image-placeholder {
    width: 100%;
    height: 400px;
    background-color: #ddd;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #888;
    border-radius: 8px;
}

/* About Section */
.about-content {
    display: flex;
    gap: var(--spacing-lg);
    align-items: center;
}

.about-text {
    flex: 2;
}

.about-stats {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
}

.stat-item {
    background: var(--white);
    padding: var(--spacing-md);
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--accent-color);
    font-family: var(--font-serif);
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-light);
}

.text-link {
    color: var(--primary-color);
    font-weight: 700;
    display: inline-block;
    margin-top: 1rem;
    border-bottom: 2px solid var(--accent-color);
}

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

.service-card {
    background: var(--white);
    padding: var(--spacing-md);
    border-radius: 8px;
    border: 1px solid var(--border-color);
    transition: transform 0.3s, box-shadow 0.3s;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.08);
    border-color: var(--primary-color);
}

.service-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.service-title {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.service-text {
    font-size: 0.95rem;
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

.service-link {
    color: var(--primary-color);
    font-weight: 700;
    font-size: 0.9rem;
}

/* News Section */
.news-list {
    max-width: 800px;
    margin: 0 auto;
}

.news-item {
    display: flex;
    align-items: center;
    padding: 1rem 0;
    border-bottom: 1px solid var(--border-color);
    gap: 1rem;
}

.news-date {
    font-family: var(--font-serif);
    color: var(--text-light);
    font-size: 0.9rem;
}

.news-tag {
    font-size: 0.8rem;
    padding: 0.2rem 0.6rem;
    border-radius: 4px;
    color: var(--white);
    background-color: #999;
}

.tag-seminar { background-color: var(--accent-color); }
.tag-info { background-color: var(--primary-color); }
.tag-report { background-color: #28a745; }

.news-title {
    flex: 1;
    font-weight: 500;
}

.news-title:hover {
    text-decoration: underline;
    color: var(--primary-color);
}

.view-all {
    display: block;
    text-align: right;
    margin-top: 1rem;
    font-size: 0.9rem;
    color: var(--primary-color);
}

/* Contact Section */
.section-contact {
    background-color: var(--primary-color);
    color: var(--white);
    text-align: center;
}

.contact-box {
    max-width: 800px;
    margin: 0 auto;
}

.contact-title {
    color: var(--white);
    margin-bottom: 1rem;
}

.contact-desc {
    margin-bottom: 2rem;
    opacity: 0.9;
}

.contact-methods {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.contact-method {
    background: rgba(255,255,255,0.1);
    padding: 2rem;
    border-radius: 8px;
    flex: 1;
    min-width: 300px;
}

.method-label {
    display: block;
    margin-bottom: 1rem;
    font-size: 0.9rem;
    opacity: 0.8;
}

.tel-link {
    display: block;
    font-size: 2rem;
    font-family: var(--font-serif);
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.method-note {
    font-size: 0.8rem;
    opacity: 0.7;
}

/* Footer */
.footer {
    background-color: #1a2530;
    color: #fff;
    padding: var(--spacing-lg) 0 var(--spacing-md);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-logo {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 1rem;
    font-family: var(--font-serif);
}

.footer-address {
    font-style: normal;
    font-size: 0.9rem;
    opacity: 0.7;
    line-height: 1.8;
}

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

.footer-link-list li {
    margin-bottom: 0.8rem;
}

.footer-link-list a {
    font-size: 0.9rem;
    opacity: 0.8;
}

.footer-link-list a:hover {
    opacity: 1;
    color: var(--accent-color);
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 2rem;
    text-align: center;
    font-size: 0.8rem;
    opacity: 0.6;
}

/* Responsive */
@media (max-width: 768px) {
    .header-container {
        position: relative;
    }

    .nav {
        display: none; /* Implement mobile menu JS later */
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--white);
        padding: 1rem;
        box-shadow: 0 5px 10px rgba(0,0,0,0.1);
    }

    .nav.active {
        display: block;
    }

    .nav-list {
        flex-direction: column;
        gap: 1rem;
    }

    .mobile-menu-btn {
        display: block;
        width: 30px;
        height: 25px;
        position: relative;
    }

    .mobile-menu-btn span {
        display: block;
        width: 100%;
        height: 2px;
        background-color: var(--primary-color);
        position: absolute;
        transition: 0.3s;
    }

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

    .hero {
        flex-direction: column;
        text-align: center;
        padding-top: 2rem;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-actions {
        justify-content: center;
    }

    .about-content {
        flex-direction: column;
    }

    .contact-methods {
        flex-direction: column;
    }
}
