/* ===== Ginga Logistics English Site - Styles ===== */
* { box-sizing: border-box; margin: 0; padding: 0; }

body {
    font-family: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
    font-size: 14px;
    color: #333;
    background: #fff;
}

a { color: #1a6bbf; text-decoration: none; }
a:hover { color: #e53e00; }
img { max-width: 100%; border: 0; }
ul { list-style: none; }

/* ===== Top Bar ===== */
.top-bar {
    background: #2c3e6b;
    color: #aaa;
    font-size: 12px;
    padding: 5px 0;
}
.top-bar-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.top-bar a { color: #aaa; }
.top-bar a:hover { color: #fff; }

/* ===== Header ===== */
.site-header {
    background: #fff;
    border-bottom: 1px solid #e5e5e5;
    padding: 18px 0;
}
.header-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.site-logo img {
    height: 70px;
    width: auto;
}
.site-logo-text {
    font-size: 22px;
    font-weight: bold;
    color: #1a4a8a;
    letter-spacing: 1px;
}
.header-contact {
    text-align: right;
    color: #555;
    font-size: 13px;
    line-height: 1.8;
}
.header-contact .tel {
    font-size: 22px;
    color: #d43f00;
    font-weight: bold;
    font-family: Arial, sans-serif;
}

/* ===== Navigation ===== */
.main-nav {
    background: #1a4a8a;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 6px rgba(0,0,0,0.25);
}
.nav-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
}
.nav-inner > ul {
    display: flex;
    flex: 1;
}
.nav-inner > ul > li {
    position: relative;
}
.nav-inner > ul > li > a {
    display: block;
    color: #fff;
    padding: 16px 22px;
    font-size: 15px;
    font-weight: 500;
    white-space: nowrap;
    transition: background 0.2s;
}
.nav-inner > ul > li:hover > a,
.nav-inner > ul > li.active > a {
    background: rgba(255,255,255,0.15);
}
.nav-inner .dropdown {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: #1a4a8a;
    min-width: 160px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
    z-index: 100;
}
.nav-inner > ul > li:hover .dropdown {
    display: block;
}
.dropdown a {
    display: block;
    padding: 10px 18px;
    color: #fff;
    font-size: 13px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    transition: background 0.15s;
}
.dropdown a:hover {
    background: rgba(255,255,255,0.15);
}

/* ===== Container ===== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* ===== Banner / Hero ===== */
.hero-banner {
    background: linear-gradient(135deg, #1a237e 0%, #0d47a1 50%, #1565c0 100%);
    color: #fff;
    text-align: center;
    padding: 70px 15px;
    position: relative;
    overflow: hidden;
}
.hero-banner::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100"><circle cx="50" cy="50" r="30" fill="none" stroke="rgba(255,200,0,0.08)" stroke-width="2"/><path d="M50 20 L50 80 M20 50 L80 50" stroke="rgba(255,200,0,0.05)" stroke-width="1"/></svg>') repeat;
}
.hero-banner .container { position: relative; }
.hero-banner h1 {
    font-size: 36px;
    font-weight: bold;
    margin-bottom: 15px;
    text-shadow: 1px 1px 4px rgba(0,0,0,0.3);
}
.hero-banner p {
    font-size: 16px;
    color: rgba(255,255,255,0.85);
    max-width: 750px;
    margin: 0 auto 25px;
    line-height: 1.8;
}
.hero-banner .btn {
    display: inline-block;
    background: #e53e00;
    color: #fff;
    padding: 12px 32px;
    border-radius: 4px;
    font-size: 16px;
    font-weight: bold;
    transition: background 0.2s, transform 0.2s;
    margin: 5px;
}
.hero-banner .btn:hover { background: #c03000; transform: translateY(-2px); }
.hero-banner .btn-outline {
    background: transparent;
    border: 2px solid rgba(255,255,255,0.7);
    color: #fff;
}
.hero-banner .btn-outline:hover { background: rgba(255,255,255,0.15); }

/* Danger badge */
.danger-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(229,57,53,0.15);
    border: 2px solid #e53e00;
    border-radius: 30px;
    padding: 8px 20px;
    margin-bottom: 20px;
    font-size: 14px;
    font-weight: bold;
    color: #ffcc00;
}
.danger-badge .danger-icon { font-size: 20px; }
.danger-badge .danger-class {
    background: #e53e00;
    color: #fff;
    padding: 3px 10px;
    border-radius: 15px;
    font-size: 12px;
    margin-left: 5px;
}
.hero-certifications {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
    margin-bottom: 25px;
}
.cert-tag {
    background: rgba(255,255,255,0.12);
    border: 1px solid rgba(255,255,255,0.25);
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 13px;
    color: #fff;
}

/* ===== Sections ===== */
.section {
    padding: 60px 0;
}
.section-gray {
    background: #f5f7fa;
}
.section-title {
    text-align: center;
    margin-bottom: 40px;
}
.section-title h2 {
    font-size: 28px;
    color: #1a3a6b;
    margin-bottom: 8px;
}
.section-title p {
    color: #888;
    font-size: 15px;
}

/* ===== Services Grid ===== */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.service-card {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
    transition: transform 0.3s, box-shadow 0.3s;
}
.service-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
}
.service-card-img {
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 40px;
}
.bg1 { background: linear-gradient(135deg, #1a4a8a, #2a6ac0); }
.bg2 { background: linear-gradient(135deg, #27ae60, #2ecc71); }
.bg3 { background: linear-gradient(135deg, #e53e00, #f56c00); }
.bg4 { background: linear-gradient(135deg, #8e44ad, #9b59b6); }
.bg5 { background: linear-gradient(135deg, #c0392b, #e74c3c); }
.bg6 { background: linear-gradient(135deg, #2980b9, #3498db); }
.service-card-body {
    padding: 20px;
}
.service-card-body h3 {
    font-size: 16px;
    color: #1a3a6b;
    margin-bottom: 10px;
}
.service-card-body p {
    color: #666;
    font-size: 13px;
    line-height: 1.7;
    margin-bottom: 12px;
}
.more-link {
    font-size: 13px;
    font-weight: bold;
    color: #1a4a8a;
}
.more-link:hover { color: #e53e00; }

/* ===== About Grid ===== */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}
.about-text h2 {
    font-size: 26px;
    color: #1a3a6b;
    margin-bottom: 18px;
}
.about-text h2 span { color: #e53e00; }
.about-text p {
    line-height: 1.8;
    color: #555;
    margin-bottom: 15px;
}
.about-stats {
    display: flex;
    gap: 30px;
    margin-top: 25px;
}
.stat-item { text-align: center; }
.stat-item .num {
    font-size: 32px;
    font-weight: bold;
    color: #1a4a8a;
}
.stat-item .num small { font-size: 16px; }
.stat-item .label {
    font-size: 13px;
    color: #888;
    margin-top: 4px;
}
.about-img img {
    border-radius: 10px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.12);
}

/* ===== News Grid ===== */
.news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.news-card {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
}
.news-card-header {
    background: linear-gradient(135deg, #1a4a8a, #2a6ac0);
    color: #fff;
    padding: 14px 20px;
    font-size: 15px;
}
.news-card-body { padding: 16px 20px; }
.news-list ul li {
    padding: 8px 0;
    border-bottom: 1px dashed #eee;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
}
.news-list ul li:last-child { border-bottom: none; }
.news-list ul li a { color: #333; flex: 1; margin-right: 10px; }
.news-list ul li a:hover { color: #1a4a8a; }
.date-tag { color: #999; font-size: 12px; white-space: nowrap; }

/* ===== Partners ===== */
.partners-section {
    padding: 50px 0;
    background: #f5f7fa;
    overflow: hidden;
}
.partners-track {
    overflow: hidden;
    margin: 0 -20px;
}
.partners-list {
    display: flex;
    gap: 16px;
    animation: scroll-partners 30s linear infinite;
    width: max-content;
}
.partner-item {
    background: #fff;
    padding: 12px 24px;
    border-radius: 8px;
    font-size: 13px;
    color: #555;
    white-space: nowrap;
    box-shadow: 0 1px 4px rgba(0,0,0,0.06);
    flex-shrink: 0;
}
@keyframes scroll-partners {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* ===== Contact Strip ===== */
.contact-strip {
    background: linear-gradient(135deg, #1a3a6b, #2a5fa0);
    color: #fff;
    padding: 40px 0;
}
.contact-strip-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.contact-strip h3 { font-size: 22px; margin-bottom: 6px; }
.contact-strip p { opacity: 0.85; font-size: 14px; }
.btn-white {
    display: inline-block;
    background: #fff;
    color: #1a4a8a;
    padding: 12px 30px;
    border-radius: 4px;
    font-weight: bold;
    font-size: 15px;
    transition: background 0.2s;
}
.btn-white:hover { background: #f0f0f0; }

/* ===== Inquiry Section ===== */
.inquiry-section {
    padding: 60px 0;
    background: #f5f7fa;
}
.inquiry-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}
.inquiry-form {
    background: #fff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
}
.inquiry-form h3 {
    font-size: 18px;
    color: #1a3a6b;
    margin-bottom: 20px;
}
.form-group {
    margin-bottom: 16px;
}
.form-group label {
    display: block;
    font-size: 13px;
    color: #555;
    margin-bottom: 6px;
    font-weight: 500;
}
.form-group .req { color: #e53e00; }
.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 14px;
    transition: border-color 0.2s;
}
.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #1a4a8a;
    box-shadow: 0 0 0 3px rgba(26,74,138,0.1);
}
.form-group textarea { resize: vertical; min-height: 80px; }
.btn-submit {
    width: 100%;
    background: #1a4a8a;
    color: #fff;
    padding: 12px;
    border: none;
    border-radius: 6px;
    font-size: 15px;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.2s;
}
.btn-submit:hover { background: #153a70; }

.inquiry-info {
    background: #fff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
}
.inquiry-info h3 {
    font-size: 18px;
    color: #1a3a6b;
    margin-bottom: 20px;
}
.contact-info-item {
    display: flex;
    gap: 14px;
    margin-bottom: 20px;
    align-items: flex-start;
}
.contact-info-item .icon {
    font-size: 24px;
    width: 40px;
    text-align: center;
    flex-shrink: 0;
}
.contact-info-item .text strong {
    display: block;
    font-size: 14px;
    color: #333;
    margin-bottom: 4px;
}
.contact-info-item .text span {
    font-size: 13px;
    color: #666;
    line-height: 1.7;
}

/* ===== Contact Page ===== */
.contact-hero {
    background: linear-gradient(135deg,#1a3a6b,#2a5fa0);
    color: #fff;
    padding: 50px 0;
    text-align: center;
}
.contact-hero h1 { font-size: 28px; margin-bottom: 8px; }
.contact-hero p { opacity: .85; font-size: 15px; }

.contact-cards {
    display: grid;
    grid-template-columns: repeat(4,1fr);
    gap: 20px;
    margin: -30px 0 40px;
    position: relative;
    z-index: 2;
}
.contact-card {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 6px 24px rgba(0,0,0,0.12);
    padding: 30px 20px;
    text-align: center;
}
.contact-card .icon { font-size: 36px; margin-bottom: 12px; display: block; }
.contact-card h4 { color: #1a3a6b; font-size: 15px; margin-bottom: 8px; }
.contact-card p { color: #666; font-size: 13px; line-height: 1.9; }
.contact-card a { color: #1a6bbf; }

.branch-card {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.08);
    overflow: hidden;
    max-width: 600px;
    margin: 0 auto;
}
.branch-card-header {
    background: linear-gradient(135deg,#1a4a8a,#2a6ac0);
    color: #fff;
    padding: 18px 24px;
    display: flex;
    align-items: center;
    gap: 12px;
}
.branch-card-header .branch-icon { font-size: 28px; }
.branch-card-header h3 { font-size: 17px; }
.branch-card-header p { font-size: 12px; opacity: .8; margin-top: 2px; }
.branch-card-body { padding: 20px 24px; }
.branch-row {
    display: flex;
    padding: 9px 0;
    border-bottom: 1px dashed #eee;
    font-size: 14px;
    align-items: flex-start;
}
.branch-row:last-child { border-bottom: none; }
.branch-row .lbl { color: #999; width: 85px; flex-shrink: 0; }
.branch-row .val { color: #333; line-height: 1.7; }
.branch-row .val a { color: #1a6bbf; }

/* ===== Breadcrumb ===== */
.breadcrumb {
    background: #f5f7fa;
    border-bottom: 1px solid #e5e8ed;
    padding: 10px 0;
}
.breadcrumb-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
    font-size: 13px;
    color: #999;
}
.breadcrumb a { color: #666; }

/* ===== Page Layout ===== */
.page-layout {
    max-width: 1200px;
    margin: 0 auto;
    padding: 30px 15px;
    display: grid;
    grid-template-columns: 220px 1fr;
    gap: 30px;
}
.page-sidebar {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    overflow: hidden;
    align-self: start;
    position: sticky;
    top: 70px;
}
.sidebar-title {
    background: #1a4a8a;
    color: #fff;
    padding: 14px 20px;
    font-size: 15px;
    font-weight: bold;
}
.sidebar-nav ul { padding: 8px 0; }
.sidebar-nav li a {
    display: block;
    padding: 10px 20px;
    color: #555;
    font-size: 14px;
    border-left: 3px solid transparent;
    transition: all 0.2s;
}
.sidebar-nav li a:hover,
.sidebar-nav li.active a {
    color: #1a4a8a;
    background: #f0f5ff;
    border-left-color: #1a4a8a;
}
.page-content h1 {
    font-size: 24px;
    color: #1a3a6b;
    margin-bottom: 8px;
}
.page-content > p {
    color: #888;
    margin-bottom: 25px;
}

/* ===== Article List ===== */
.article-list { }
.article-item {
    display: flex;
    gap: 18px;
    padding: 18px 0;
    border-bottom: 1px dashed #eee;
}
.article-item .date-block {
    text-align: center;
    flex-shrink: 0;
    width: 60px;
}
.date-block .day {
    display: block;
    font-size: 24px;
    font-weight: bold;
    color: #1a4a8a;
}
.date-block .ym {
    font-size: 11px;
    color: #999;
}
.article-item .info h4 {
    font-size: 15px;
    margin-bottom: 6px;
}
.article-item .info h4 a { color: #333; }
.article-item .info h4 a:hover { color: #1a4a8a; }
.article-item .info p {
    font-size: 13px;
    color: #888;
    line-height: 1.6;
}

/* ===== Service Detail ===== */
.service-detail-card {
    background: #fff;
    border-radius: 10px;
    padding: 30px;
    margin-bottom: 24px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    border-left: 4px solid #1a4a8a;
}
.service-detail-card h3 {
    font-size: 18px;
    color: #1a3a6b;
    margin-bottom: 12px;
}
.service-detail-card p {
    color: #555;
    line-height: 1.8;
    font-size: 14px;
}
.service-detail-card ul {
    margin-top: 10px;
    padding-left: 20px;
}
.service-detail-card ul li {
    position: relative;
    padding-left: 16px;
    margin-bottom: 6px;
    color: #555;
    font-size: 14px;
    line-height: 1.7;
}
.service-detail-card ul li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #27ae60;
    font-weight: bold;
}

/* ===== Footer ===== */
.site-footer {
    background: #1a2a4a;
    color: #aaa;
    padding: 50px 0 0;
}
.footer-grid {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 30px;
}
.footer-col h4 {
    color: #fff;
    font-size: 15px;
    margin-bottom: 16px;
    padding-bottom: 10px;
    border-bottom: 2px solid #e53e00;
    display: inline-block;
}
.footer-col p.company-desc {
    font-size: 13px;
    line-height: 1.8;
}
.footer-col ul li {
    margin-bottom: 8px;
}
.footer-col ul li a { color: #aaa; font-size: 13px; }
.footer-col ul li a:hover { color: #fff; }
.footer-col ul li { font-size: 13px; }
.footer-bottom {
    margin-top: 30px;
    padding: 16px 0;
    border-top: 1px solid rgba(255,255,255,0.1);
    text-align: center;
    font-size: 12px;
}
.footer-links {
    margin-top: 8px;
}
.footer-links a {
    color: #777;
    margin: 0 10px;
    font-size: 12px;
}
.footer-links a:hover { color: #fff; }

/* ===== Float Contact ===== */
.float-contact {
    position: fixed;
    right: 15px;
    bottom: 80px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    z-index: 999;
}
.float-contact a {
    width: 50px;
    height: 50px;
    background: #1a4a8a;
    color: #fff;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
    transition: background 0.2s;
}
.float-contact a:hover { background: #e53e00; }
.float-contact .fc-icon { font-size: 18px; margin-bottom: 1px; }

/* ===== About Page ===== */
.about-hero {
    background: linear-gradient(135deg, #1a237e, #1565c0);
    color: #fff;
    padding: 60px 0;
    text-align: center;
}
.about-hero h1 { font-size: 32px; margin-bottom: 10px; }
.about-hero p { opacity: 0.85; font-size: 16px; max-width: 600px; margin: 0 auto; }
.about-content {
    max-width: 900px;
    margin: 0 auto;
    padding: 50px 15px;
}
.about-content h2 {
    font-size: 24px;
    color: #1a3a6b;
    margin: 30px 0 15px;
}
.about-content p {
    color: #555;
    line-height: 1.9;
    margin-bottom: 15px;
    font-size: 15px;
}
.about-values {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin: 30px 0;
}
.about-value-item {
    text-align: center;
    padding: 25px;
    background: #f5f7fa;
    border-radius: 10px;
}
.about-value-item .val-icon { font-size: 36px; margin-bottom: 10px; }
.about-value-item h4 { color: #1a3a6b; margin-bottom: 8px; font-size: 15px; }
.about-value-item p { color: #666; font-size: 13px; line-height: 1.6; }

/* ===== Responsive ===== */
@media (max-width: 992px) {
    .services-grid { grid-template-columns: repeat(2, 1fr); }
    .news-grid { grid-template-columns: repeat(2, 1fr); }
    .about-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: repeat(2, 1fr); }
    .inquiry-grid { grid-template-columns: 1fr; }
    .contact-cards { grid-template-columns: repeat(2, 1fr); }
    .page-layout { grid-template-columns: 1fr; }
    .page-sidebar { position: static; }
    .about-values { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
    .nav-inner > ul { flex-wrap: wrap; }
    .nav-inner > ul > li > a { padding: 12px 14px; font-size: 13px; }
    .hero-banner h1 { font-size: 26px; }
    .hero-banner p { font-size: 14px; }
    .services-grid { grid-template-columns: 1fr; }
    .news-grid { grid-template-columns: 1fr; }
    .contact-strip-inner { flex-direction: column; text-align: center; gap: 15px; }
    .footer-grid { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
    .contact-cards { grid-template-columns: 1fr; }
    .hero-banner { padding: 50px 15px; }
    .hero-banner h1 { font-size: 20px; }
    .hero-banner p { font-size: 13px; }
    .about-stats { flex-direction: column; gap: 15px; }
}
