/*
Theme Name: Corporate Standard
Theme URI: https://example.com/corporate-theme
Author: Corporate Web Team
Author URI: https://example.com
Description: A modern, high-performance corporate WordPress theme designed for business websites.
Version: 1.0.0
License: GNU General Public License v2 or later
Text Domain: corporate-standard
Tags: corporate, business, responsive-layout, custom-menu, news, clean-design
*/

/* Reset & Base */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
    color: #2b2f33;
    background-color: #f4f6f8;
    line-height: 1.7;
    font-size: 16px;
}

a {
    color: #004b87;
    text-decoration: none;
    transition: color 0.2s ease-in-out;
}

a:hover {
    color: #002e54;
    text-decoration: underline;
}

img {
    max-width: 100%;
    height: auto;
}

/* Layout */
.container {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.site-header {
    background: #ffffff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.site-branding .site-title {
    font-size: 22px;
    font-weight: 700;
}

.site-branding .site-title a {
    color: #111827;
}

.main-navigation ul {
    display: flex;
    list-style: none;
    gap: 30px;
}

.main-navigation a {
    color: #4b5563;
    font-weight: 600;
    font-size: 15px;
}

/* Hero Banner */
.hero-banner {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    color: #ffffff;
    padding: 100px 0;
    text-align: center;
}

.hero-title {
    font-size: 42px;
    font-weight: 800;
    margin-bottom: 20px;
}

.hero-description {
    font-size: 18px;
    color: #94a3b8;
    margin-bottom: 35px;
}

.btn {
    display: inline-block;
    padding: 14px 32px;
    font-weight: 600;
    border-radius: 6px;
}

.btn-primary {
    background: #004b87;
    color: #ffffff;
}

.btn-primary:hover {
    background: #003663;
    color: #ffffff;
    text-decoration: none;
}

/* Sections */
.section {
    padding: 80px 0;
}

.section-alt {
    background-color: #ffffff;
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-title {
    font-size: 30px;
    font-weight: 700;
    color: #0f172a;
    position: relative;
    display: inline-block;
    padding-bottom: 12px;
}

.section-title::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background-color: #004b87;
}

.section-subtitle {
    color: #64748b;
    margin-top: 10px;
}

/* Services Grid */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.service-card {
    background: #ffffff;
    padding: 35px;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
}

.service-icon {
    font-size: 32px;
    margin-bottom: 20px;
}

.service-title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 12px;
}

/* News List */
.news-list {
    background: #ffffff;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
}

.news-item {
    display: flex;
    align-items: center;
    padding: 20px 25px;
    border-bottom: 1px solid #f1f5f9;
}

.news-item:last-child {
    border-bottom: none;
}

.news-date {
    font-size: 14px;
    color: #64748b;
    width: 120px;
}

.news-cat {
    font-size: 12px;
    background: #e0f2fe;
    color: #0369a1;
    padding: 4px 10px;
    border-radius: 4px;
    margin-right: 20px;
}

.news-title-link {
    color: #1e293b;
    font-weight: 500;
}

/* Page Layout */
.page-wrapper {
    display: flex;
    gap: 40px;
    margin: 50px 0;
}

.main-content {
    flex: 1;
    min-width: 0;
}

.sidebar {
    width: 320px;
    flex-shrink: 0;
}

.widget {
    background: #ffffff;
    padding: 25px;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
    margin-bottom: 30px;
}

.widget-title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 18px;
    padding-bottom: 10px;
    border-bottom: 2px solid #004b87;
}

.entry-card {
    background: #ffffff;
    padding: 40px;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
}

.entry-title {
    font-size: 32px;
    font-weight: 800;
    margin-bottom: 15px;
}

.entry-meta {
    font-size: 14px;
    color: #64748b;
    margin-bottom: 20px;
}

/* Footer */
.site-footer {
    background: #0f172a;
    color: #94a3b8;
    padding-top: 60px;
    margin-top: 80px;
}

.footer-widgets {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 40px;
    padding-bottom: 50px;
}

.footer-widget-title {
    color: #ffffff;
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 20px;
}

.site-info {
    border-top: 1px solid #1e293b;
    padding: 25px 0;
    text-align: center;
    font-size: 14px;
}

/* Responsive */
@media (max-width: 868px) {
    .header-inner {
        flex-direction: column;
        height: auto;
        padding: 20px 0;
    }
    .main-navigation ul {
        margin-top: 15px;
        gap: 15px;
    }
    .page-wrapper {
        flex-direction: column;
    }
    .sidebar {
        width: 100%;
    }
    .news-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
}