/*
Theme Name: DK 合同会社
Theme URI: https://dkllc.jp
Author: DK LLC
Author URI: https://dkllc.jp
Description: DK合同会社 - Corporate theme for Japan-Vietnam staffing & trading company
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: dk-theme
Tags: corporate, japanese, bilingual, staffing
*/

/* ===================== RESET & BASE ===================== */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    --red:        #C8102E;
    --red-dark:   #a00d24;
    --red-light:  #f5e6e9;
    --white:      #ffffff;
    --gray-100:   #f8f8f8;
    --gray-200:   #eeeeee;
    --gray-400:   #999999;
    --gray-700:   #444444;
    --black:      #1a1a1a;
    --font-jp:    'Noto Sans JP', 'Hiragino Kaku Gothic ProN', sans-serif;
    --shadow-sm:  0 2px 8px rgba(0,0,0,.08);
    --shadow-md:  0 4px 20px rgba(0,0,0,.12);
    --radius:     6px;
    --transition: .25s ease;
}

html { scroll-behavior: smooth; }

body {
    font-family: var(--font-jp);
    font-size: 15px;
    color: var(--black);
    background: var(--white);
    line-height: 1.7;
}

img { max-width: 100%; height: auto; display: block; }
a  { color: inherit; text-decoration: none; }
ul { list-style: none; }

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

/* ===================== HEADER ===================== */
#site-header {
    background: var(--red);
    border-bottom: none;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: var(--shadow-sm);
}

.header-inner {
    display: flex;
    align-items: center;
    gap: 24px;
    padding: 12px 20px;
    max-width: 1300px;
    margin: 0 auto;
}

/* Logo */
.site-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}
.logo-img {
    height: 48px;
    width: auto;
    display: block;
}
.logo-dk {
    background: var(--red);
    color: var(--white);
    font-size: 28px;
    font-weight: 900;
    width: 54px;
    height: 54px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    letter-spacing: -1px;
}
.logo-text h1 {
    font-size: 16px;
    font-weight: 700;
    color: var(--white);
    line-height: 1.2;
}
.logo-text p {
    font-size: 11px;
    color: rgba(255,255,255,.75);
}

/* Nav */
.site-nav {
    flex: 1;
}
.nav-list {
    display: flex;
    gap: 4px;
}
.nav-list a {
    display: block;
    padding: 8px 14px;
    font-size: 14px;
    font-weight: 500;
    color: rgba(255,255,255,.9);
    border-radius: var(--radius);
    transition: var(--transition);
    white-space: nowrap;
}
.nav-list a:hover,
.nav-list .current-menu-item a {
    color: var(--white);
    background: rgba(255,255,255,.2);
}
.nav-list .current-menu-item > a {
    border-bottom: 2px solid var(--white);
    border-radius: 0;
    background: none;
}

/* Header contact */
.header-contact {
    text-align: right;
    flex-shrink: 0;
}
.header-contact a {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 13px;
    color: rgba(255,255,255,.9);
    transition: var(--transition);
}
.header-contact a:hover { color: var(--white); }
.header-contact a i { color: rgba(255,255,255,.75); font-size: 14px; }

/* Lang switcher */
.lang-switch {
    display: flex;
    gap: 6px;
    flex-shrink: 0;
}
.lang-switch a {
    font-size: 12px;
    font-weight: 700;
    padding: 4px 8px;
    border: 1px solid rgba(255,255,255,.4);
    border-radius: 3px;
    color: rgba(255,255,255,.9);
    transition: var(--transition);
}
.lang-switch a:hover,
.lang-switch a.active {
    background: var(--white);
    color: var(--red);
    border-color: var(--white);
}

/* Mobile menu toggle */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    flex-direction: column;
    gap: 5px;
}
.menu-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--white);
    transition: var(--transition);
}

/* ===================== HERO ===================== */
.hero {
    position: relative;
    background: linear-gradient(135deg, #e8edf5 0%, #d0d9e8 100%);
    overflow: hidden;
    min-height: 420px;
    display: flex;
    align-items: center;
}
.hero-bg {
    position: absolute;
    inset: 0;
    background-image: url('https://images.unsplash.com/photo-1493976040374-85c8e12f0c0e?w=1400&q=80');
    background-size: cover;
    background-position: center;
    opacity: .18;
}
.hero-inner {
    position: relative;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 20px;
    width: 100%;
}

.hero-copy h2 {
    font-size: clamp(26px, 4vw, 38px);
    font-weight: 900;
    line-height: 1.4;
    color: var(--black);
    margin-bottom: 16px;
}
.hero-copy p {
    font-size: 15px;
    color: var(--gray-700);
    margin-bottom: 28px;
    line-height: 1.8;
}
.hero-buttons {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 12px 24px;
    border-radius: var(--radius);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid transparent;
}
.btn-primary {
    background: var(--red);
    color: var(--white);
    border-color: var(--red);
}
.btn-primary:hover {
    background: var(--red-dark);
    border-color: var(--red-dark);
}
.btn-outline {
    background: transparent;
    color: var(--red);
    border-color: var(--red);
}
.btn-outline:hover {
    background: var(--red);
    color: var(--white);
}

/* Hero service boxes */
.hero-services {
    background: rgba(255,255,255,.92);
    border-radius: 12px;
    padding: 28px;
    box-shadow: var(--shadow-md);
}
.service-icons {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 8px;
    text-align: center;
}
.svc-icon-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 12px 6px;
    border-radius: var(--radius);
    transition: var(--transition);
    cursor: pointer;
}
.svc-icon-item:hover { background: var(--red-light); }
.svc-icon-item .icon-circle {
    width: 54px;
    height: 54px;
    border: 2px solid var(--red);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    transition: var(--transition);
}
.svc-icon-item .icon-circle i { color: var(--red); font-size: 24px; transition: var(--transition); }
.svc-icon-item:hover .icon-circle {
    background: var(--red);
}
.svc-icon-item:hover .icon-circle i { color: var(--white); }
.svc-icon-item .svc-name {
    font-size: 13px;
    font-weight: 700;
    color: var(--red);
}
.svc-icon-item .svc-desc {
    font-size: 11px;
    color: var(--gray-700);
    line-height: 1.5;
}

/* ===================== BANNER BAR ===================== */
.banner-bar {
    background: var(--red);
    color: var(--white);
    padding: 16px 20px;
    text-align: center;
    font-size: 16px;
    font-weight: 600;
    letter-spacing: .02em;
}
.banner-bar a { color: var(--white); text-decoration: underline; }

/* ===================== SECTIONS ===================== */
.section { padding: 60px 0; }
.section-alt { background: var(--gray-100); }

.section-title {
    font-size: 22px;
    font-weight: 900;
    color: var(--black);
    margin-bottom: 6px;
    position: relative;
    padding-bottom: 14px;
}
.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 36px;
    height: 3px;
    background: var(--red);
    border-radius: 2px;
}

/* ===================== BUSINESS CARDS ===================== */
.business-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 16px;
    margin-top: 32px;
}
.biz-card {
    background: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    cursor: pointer;
}
.biz-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}
.biz-card-img {
    height: 140px;
    background: var(--gray-200);
    overflow: hidden;
    position: relative;
}
.biz-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .4s ease;
}
.biz-card:hover .biz-card-img img { transform: scale(1.06); }

.biz-card-icon {
    position: absolute;
    bottom: -1px;
    left: 12px;
    background: var(--red);
    color: var(--white);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    border: 2px solid var(--white);
}
.biz-card-icon i { color: var(--white); font-size: 16px; }
.biz-card-body { padding: 16px; }
.biz-card-body h3 {
    font-size: 14px;
    font-weight: 700;
    color: var(--red);
    margin-bottom: 8px;
}
.biz-card-body p {
    font-size: 12px;
    color: var(--gray-700);
    line-height: 1.6;
    margin-bottom: 10px;
}
.biz-card-body .link-more {
    font-size: 12px;
    color: var(--red);
    font-weight: 600;
}
.biz-card-body .link-more::after { content: ' ›'; }

/* ===================== STRENGTHS ===================== */
.strengths-layout {
    display: grid;
    grid-template-columns: 1fr 360px;
    gap: 48px;
    align-items: start;
}
.strength-list { margin-top: 32px; min-height: 200px; }
.strength-list { margin-top: 32px; }
.strength-item {
    display: flex;
    gap: 16px;
    padding: 20px 0;
    border-bottom: 1px solid var(--gray-200);
}
.strength-item:last-child { border-bottom: none; }
.strength-icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--red-light);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 2px;
}
.strength-icon i { color: var(--red); font-size: 22px; }
.strength-item h4 {
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 4px;
    color: var(--red);
}
.strength-item p {
    font-size: 13px;
    color: var(--gray-700);
    line-height: 1.7;
}

/* Recruit CTA box */
.recruit-box {
    background: var(--red);
    border-radius: 12px;
    padding: 28px;
    color: var(--white);
    position: relative;
    overflow: hidden;
    margin-top: 32px;
}
.recruit-box::before {
    content: '';
    position: absolute;
    right: -20px;
    bottom: -20px;
    width: 150px;
    height: 150px;
    background: rgba(255,255,255,.08);
    border-radius: 50%;
}
.recruit-box h3 {
    font-size: 20px;
    font-weight: 900;
    line-height: 1.4;
    margin-bottom: 10px;
}
.recruit-box p {
    font-size: 13px;
    opacity: .9;
    margin-bottom: 20px;
    line-height: 1.7;
}
.recruit-box .btn {
    background: var(--white);
    color: var(--red);
    font-weight: 700;
}
.recruit-box .btn:hover {
    background: var(--red-dark);
    color: var(--white);
}
/* Dummy "people" image placeholder */
.recruit-people {
    margin-top: 16px;
    display: flex;
    justify-content: flex-end;
}
.recruit-people-avatar {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    border: 3px solid rgba(255,255,255,.4);
    background: rgba(255,255,255,.2);
    margin-left: -16px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.recruit-people-avatar i { color: rgba(255,255,255,.85); font-size: 26px; }

/* ===================== CLIENTS ===================== */
.clients-grid {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-top: 28px;
}
.client-item {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius);
    padding: 16px 24px;
    text-align: center;
    font-size: 13px;
    font-weight: 600;
    color: var(--gray-700);
    min-width: 130px;
    box-shadow: var(--shadow-sm);
}
.client-item span { display: block; font-size: 11px; color: var(--gray-400); margin-bottom: 2px; }

.clients-recruit-layout {
    display: grid;
    grid-template-columns: 1fr 360px;
    gap: 48px;
    align-items: center;
}

@media (max-width: 768px) {
    .clients-recruit-layout { grid-template-columns: 1fr; }
}

.clients-note {
    font-size: 12px;
    color: var(--gray-400);
    margin-top: 12px;
}

/* ===================== FOOTER ===================== */
#site-footer {
    background: var(--red-dark);
    color: var(--white);
    padding: 48px 0 0;
}
.footer-inner {
    display: grid;
    grid-template-columns: 240px 1fr 200px 200px 160px;
    gap: 32px;
    padding-bottom: 40px;
}
.footer-logo .logo-dk { background: var(--red); }
.footer-logo .logo-text h1 { color: var(--white); font-weight: 700; }
.footer-logo .logo-text p { color: rgba(255,255,255,.75); }
.footer-logo .f-tagline { font-size: 12px; color: #888; margin-top: 10px; }
.footer-logo address { font-style: normal; font-size: 12px; color: rgba(255,255,255,.7); margin-top: 12px; line-height: 1.8; }

.footer-contact h4,
.footer-hours h4,
.footer-form-col h4,
.footer-links h4 {
    font-size: 13px;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 14px;
    text-transform: uppercase;
    letter-spacing: .08em;
}
.footer-contact a {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: rgba(255,255,255,.8);
    margin-bottom: 6px;
    transition: var(--transition);
}
.footer-contact a:hover { color: var(--white); }
.footer-contact a i { color: rgba(255,255,255,.6); font-size: 15px; }

.footer-hours .hours-time { display: flex; gap: 8px; align-items: center; }
.footer-hours .hours-time i { color: rgba(255,255,255,.7); font-size: 15px; }

.footer-form-col .btn {
    background: var(--red);
    color: var(--white);
    border-color: var(--red);
    width: 100%;
    justify-content: center;
    font-size: 13px;
}
.btn-contact {
    font-size: 12px !important;
    padding: 10px 16px !important;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: flex !important;
    align-items: center;
    gap: 6px;
    width: 100%;
    justify-content: center;
}

.footer-links ul { display: flex; flex-direction: column; gap: 8px; }
.footer-links a { font-size: 12px; color: rgba(255,255,255,.7); transition: var(--transition); }
.footer-links a:hover { color: var(--white); }

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,.2);
    padding: 16px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.footer-bottom p { font-size: 12px; color: rgba(255,255,255,.7); }
.back-to-top {
    width: 36px;
    height: 36px;
    background: rgba(255,255,255,.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 14px;
    transition: var(--transition);
    border: none;
    color: var(--white);
}
.back-to-top:hover { background: var(--white); color: var(--red); }

/* ===================== RESPONSIVE ===================== */
@media (max-width: 1024px) {
    .business-grid { grid-template-columns: repeat(3, 1fr); }
    .footer-inner { grid-template-columns: 1fr 1fr 1fr; }
    .strengths-layout { grid-template-columns: 1fr; }
    .hero-services .service-icons { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 768px) {
    .menu-toggle { display: flex; }
    .site-nav { display: none; position: absolute; top: 100%; left: 0; right: 0; background: var(--white); padding: 12px; box-shadow: var(--shadow-md); border-top: 2px solid var(--red); }
    .site-nav.is-open { display: block; }
    .nav-list { flex-direction: column; }
    .header-contact { display: none; }
    .hero-inner { grid-template-columns: 1fr; }
    .business-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-inner { grid-template-columns: 1fr 1fr; }
    .clients-grid { gap: 10px; }
    .client-item { min-width: 100px; padding: 12px 16px; }
}

@media (max-width: 480px) {
    .business-grid { grid-template-columns: 1fr; }
    .footer-inner { grid-template-columns: 1fr; }
    .hero-copy h2 { font-size: 24px; }
    .hero-services .service-icons { grid-template-columns: repeat(2, 1fr); }
}
