/* ============================================
   EIKOU Co., Ltd. - Design Mockup v2
   Color: Dark + Gold | Style: Tech + Japanese
   ============================================ */

/* ---------- CSS Variables ---------- */
:root {
    --color-bg: #0a0a0f;
    --color-bg-alt: #111118;
    --color-bg-card: #16161f;
    --color-bg-card-hover: #1c1c28;
    --color-gold: #c9a84c;
    --color-gold-light: #e0c068;
    --color-gold-dark: #a08030;
    --color-text: #e8e8ec;
    --color-text-muted: #8a8a9a;
    --color-text-dim: #5a5a6a;
    --color-border: #2a2a35;
    --color-border-light: #3a3a48;
    --color-white: #ffffff;
    --font-jp: "Noto Sans JP", "Hiragino Kaku Gothic ProN", sans-serif;
    --font-en: "Inter", sans-serif;
    --container: 1200px;
    --header-height: 72px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-jp);
    font-size: 15px;
    line-height: 1.8;
    color: var(--color-text);
    background-color: var(--color-bg);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

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

ul { list-style: none; }
img { max-width: 100%; display: block; }

.container {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 40px;
}

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 36px;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.05em;
    border-radius: 4px;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    font-family: var(--font-jp);
}

.btn-primary {
    background: linear-gradient(135deg, var(--color-gold), var(--color-gold-dark));
    color: var(--color-bg);
}
.btn-primary:hover {
    background: linear-gradient(135deg, var(--color-gold-light), var(--color-gold));
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(201, 168, 76, 0.25);
}

.btn-outline {
    background: transparent;
    color: var(--color-gold);
    border: 1px solid var(--color-gold);
}
.btn-outline:hover {
    background: rgba(201, 168, 76, 0.1);
    transform: translateY(-2px);
}

.btn-ghost {
    background: transparent;
    color: var(--color-text-muted);
    border: 1px solid var(--color-border);
}
.btn-ghost:hover {
    border-color: var(--color-text-muted);
    color: var(--color-text);
}

.btn-lg {
    padding: 18px 48px;
    font-size: 16px;
}

/* ========== HEADER ========== */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--header-height);
    z-index: 1000;
    background: rgba(10, 10, 15, 0.85);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--color-border);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 20px;
    font-weight: 700;
}

.logo-en {
    font-family: var(--font-en);
    letter-spacing: 0.15em;
    color: var(--color-gold);
}

.logo-divider {
    width: 1px;
    height: 18px;
    background: var(--color-border-light);
}

.logo-jp {
    font-size: 14px;
    color: var(--color-text-muted);
    font-weight: 400;
}

.main-nav ul {
    display: flex;
    gap: 28px;
}

.main-nav a {
    font-size: 13px;
    letter-spacing: 0.05em;
    color: var(--color-text-muted);
    position: relative;
    padding-bottom: 4px;
}

.main-nav a::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--color-gold);
    transition: width 0.3s;
}

.main-nav a:hover {
    color: var(--color-text);
}

.main-nav a:hover::after,
.main-nav a.active::after {
    width: 100%;
}

.main-nav a.active {
    color: var(--color-gold);
}

.header-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

/* ---------- Language Dropdown ---------- */
.lang-dropdown {
    position: relative;
}

.lang-current {
    display: flex;
    align-items: center;
    gap: 6px;
    background: none;
    border: 1px solid var(--color-border);
    border-radius: 4px;
    padding: 6px 12px;
    color: var(--color-text-muted);
    font-family: var(--font-en);
    font-size: 12px;
    cursor: pointer;
    transition: all 0.3s;
}

.lang-current:hover {
    border-color: var(--color-gold);
    color: var(--color-text);
}

.lang-current .arrow {
    transition: transform 0.3s;
}

.lang-dropdown.open .lang-current {
    border-color: var(--color-gold);
    color: var(--color-text);
}

.lang-dropdown.open .lang-current .arrow {
    transform: rotate(180deg);
}

.lang-menu {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    min-width: 140px;
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: 6px;
    padding: 6px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: all 0.25s ease;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5);
    z-index: 100;
}

.lang-dropdown.open .lang-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.lang-menu li a {
    display: block;
    padding: 8px 16px;
    font-size: 13px;
    color: var(--color-text-muted);
    transition: all 0.2s;
}

.lang-menu li a:hover {
    background: rgba(201, 168, 76, 0.08);
    color: var(--color-text);
}

.lang-menu li a.active {
    color: var(--color-gold);
}

.btn-contact {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border: 1px solid var(--color-gold);
    color: var(--color-gold);
    border-radius: 50%;
    transition: all 0.3s;
    animation: eikou-breathing 2.4s ease-in-out infinite;
}

.btn-contact svg {
    display: block;
}

.btn-contact:hover {
    background: var(--color-gold);
    color: var(--color-bg);
    animation: none;
    box-shadow: 0 0 0 4px rgba(201, 168, 76, 0.15);
}

@keyframes eikou-breathing {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(201, 168, 76, 0.5);
        transform: scale(1);
    }
    50% {
        box-shadow: 0 0 0 8px rgba(201, 168, 76, 0);
        transform: scale(1.06);
    }
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    width: 28px;
    height: 20px;
    position: relative;
}

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

.mobile-menu-btn span:nth-child(1) { top: 0; }
.mobile-menu-btn span:nth-child(2) { top: 50%; }
.mobile-menu-btn span:nth-child(3) { top: 100%; }

/* ========== HERO with Apple-style Slideshow ========== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: var(--header-height);
    overflow: hidden;
}

.hero-slideshow {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transform: scale(1.08);
    transition: opacity 1.5s ease, transform 7s ease;
}

.hero-slide.active {
    opacity: 1;
    transform: scale(1);
}

.hero-slide.prev {
    opacity: 0;
    transform: scale(0.97);
    transition: opacity 1.5s ease, transform 1.5s ease;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to right,
        rgba(10, 10, 15, 0.88) 0%,
        rgba(10, 10, 15, 0.65) 50%,
        rgba(10, 10, 15, 0.45) 100%
    );
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    padding: 80px 0;
}

.hero-badge {
    display: inline-block;
    font-family: var(--font-en);
    font-size: 11px;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--color-gold);
    border: 1px solid rgba(201, 168, 76, 0.3);
    padding: 6px 16px;
    border-radius: 20px;
    margin-bottom: 32px;
}

.hero-title {
    font-size: 56px;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 28px;
    letter-spacing: 0.05em;
}

.hero-title-line {
    display: block;
}

.hero-title-accent {
    background: linear-gradient(135deg, var(--color-gold-light), var(--color-gold), var(--color-gold-dark));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 16px;
    color: var(--color-text-muted);
    line-height: 2;
    margin-bottom: 40px;
    max-width: 540px;
}

.hero-actions {
    display: flex;
    gap: 16px;
    margin-bottom: 80px;
}

.hero-stats {
    display: flex;
    gap: 60px;
    padding-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.stat-number {
    display: block;
    font-family: var(--font-en);
    font-size: 36px;
    font-weight: 700;
    color: var(--color-gold);
    line-height: 1;
    margin-bottom: 8px;
}

.stat-label {
    font-size: 12px;
    color: var(--color-text-dim);
    letter-spacing: 0.05em;
}

.hero-scroll {
    position: absolute;
    bottom: 40px;
    right: 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    z-index: 2;
}

.hero-scroll span {
    font-family: var(--font-en);
    font-size: 10px;
    letter-spacing: 0.2em;
    color: var(--color-text-dim);
    writing-mode: vertical-rl;
}

.scroll-line {
    width: 1px;
    height: 60px;
    background: linear-gradient(to bottom, var(--color-gold), transparent);
    animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
    0%, 100% { opacity: 1; transform: scaleY(1); }
    50% { opacity: 0.5; transform: scaleY(0.6); }
}

/* ---------- Hero Indicators ---------- */
.hero-indicators {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 3;
}

.hero-indicators .indicator {
    width: 32px;
    height: 3px;
    background: rgba(255, 255, 255, 0.2);
    border: none;
    border-radius: 2px;
    cursor: pointer;
    transition: all 0.4s;
    padding: 0;
}

.hero-indicators .indicator.active {
    background: var(--color-gold);
    width: 48px;
}

.hero-indicators .indicator:hover {
    background: rgba(255, 255, 255, 0.4);
}

.hero-indicators .indicator.active:hover {
    background: var(--color-gold-light);
}

/* ========== SECTIONS COMMON ========== */
.section {
    padding: 120px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 64px;
}

.section-tag {
    display: inline-block;
    font-family: var(--font-en);
    font-size: 12px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--color-gold);
    margin-bottom: 16px;
}

.section-title {
    font-size: 36px;
    font-weight: 700;
    letter-spacing: 0.08em;
    margin-bottom: 16px;
}

.section-desc {
    font-size: 15px;
    color: var(--color-text-muted);
    line-height: 2;
}

.section-action {
    text-align: center;
    margin-top: 48px;
}

/* ========== CORE BUSINESS ========== */
.core-business {
    background: var(--color-bg-alt);
}

.business-showcase {
    display: flex;
    flex-direction: column;
    gap: 80px;
}

.business-item {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.business-item-reverse {
    direction: rtl;
}

.business-item-reverse > * {
    direction: ltr;
}

.business-image {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
}

.business-image img {
    width: 100%;
    height: 360px;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.business-item:hover .business-image img {
    transform: scale(1.05);
}

.business-image-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(201, 168, 76, 0.08), transparent);
    pointer-events: none;
}

.business-info {
    padding: 20px 0;
}

.business-number {
    font-family: var(--font-en);
    font-size: 60px;
    font-weight: 700;
    color: rgba(201, 168, 76, 0.1);
    line-height: 1;
    margin-bottom: 12px;
}

.business-info h3 {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 16px;
    letter-spacing: 0.05em;
}

.business-info p {
    font-size: 14px;
    color: var(--color-text-muted);
    line-height: 2;
    margin-bottom: 20px;
}

.business-tags {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 24px;
}

.business-tags li {
    font-size: 12px;
    color: var(--color-gold);
    background: rgba(201, 168, 76, 0.08);
    border: 1px solid rgba(201, 168, 76, 0.15);
    padding: 4px 14px;
    border-radius: 20px;
}

/* ========== WORKS GRID ========== */
.works-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto auto;
    gap: 24px;
}

.work-card-large {
    grid-row: 1 / 4;
    display: flex;
    flex-direction: column;
}

.work-card {
    border-radius: 8px;
    overflow: hidden;
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    transition: all 0.4s;
    cursor: pointer;
}

.work-card:hover {
    border-color: var(--color-gold);
    transform: translateY(-4px);
}

.work-image {
    overflow: hidden;
}

.work-card-large .work-image {
    flex: 1;
}

.work-image img {
    width: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.work-card:hover .work-image img {
    transform: scale(1.05);
}

.work-card-large .work-image img {
    height: 100%;
    min-height: 400px;
}

.work-card:not(.work-card-large) .work-image img {
    height: 200px;
}

.work-info {
    padding: 24px;
}

.work-category {
    font-size: 11px;
    color: var(--color-gold);
    letter-spacing: 0.1em;
    margin-bottom: 8px;
    display: block;
}

.work-info h3 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 4px;
}

.work-info p {
    font-size: 12px;
    color: var(--color-text-dim);
}

/* ========== VIDEO SECTION ========== */
.video-section {
    background: var(--color-bg-alt);
}

.video-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    grid-template-rows: auto auto;
    gap: 24px;
}

.video-card-main {
    grid-row: 1 / 3;
    display: flex;
    flex-direction: column;
}

.video-card {
    border-radius: 8px;
    overflow: hidden;
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    transition: all 0.4s;
    cursor: pointer;
}

.video-card:hover {
    border-color: var(--color-border-light);
    transform: translateY(-3px);
}

.video-thumb {
    position: relative;
    overflow: hidden;
}

.video-card-main .video-thumb {
    flex: 1;
}

.video-thumb img {
    width: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.video-card-main .video-thumb img {
    height: 100%;
    min-height: 380px;
}

.video-card:not(.video-card-main) .video-thumb img {
    height: 180px;
}

.video-card:hover .video-thumb img {
    transform: scale(1.05);
}

.video-play {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    opacity: 0.7;
    transition: all 0.3s;
}

.video-card:hover .video-play {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1.1);
}

.video-info {
    padding: 20px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.video-info h3 {
    font-size: 15px;
    font-weight: 500;
}

.video-info span {
    font-family: var(--font-en);
    font-size: 12px;
    color: var(--color-text-dim);
}

/* ========== WHY EIKOU ========== */
.why-eikou {
    background: var(--color-bg);
}

.reasons-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
}

.reason-item {
    padding: 40px;
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: 8px;
    position: relative;
    transition: all 0.3s;
}

.reason-item:hover {
    border-color: rgba(201, 168, 76, 0.3);
}

.reason-number {
    font-family: var(--font-en);
    font-size: 48px;
    font-weight: 700;
    color: rgba(201, 168, 76, 0.12);
    position: absolute;
    top: 20px;
    right: 30px;
    line-height: 1;
}

.reason-item h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 12px;
    letter-spacing: 0.05em;
}

.reason-item p {
    font-size: 13px;
    color: var(--color-text-muted);
    line-height: 2;
}

/* ========== PARTNERS MARQUEE ========== */
.partners-section {
    background: var(--color-bg-alt);
    overflow: hidden;
}

.partners-marquee {
    overflow: hidden;
    margin: 0 -40px;
    padding: 20px 0;
}

.marquee-track {
    display: flex;
    gap: 48px;
    animation: marquee 30s linear infinite;
    width: max-content;
}

.partner-logo {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 60px;
    padding: 0 32px;
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: 8px;
    transition: all 0.3s;
}

.partner-logo:hover {
    border-color: rgba(201, 168, 76, 0.3);
}

.partner-logo span {
    font-family: var(--font-en);
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 0.15em;
    color: var(--color-text-dim);
    transition: color 0.3s;
}

.partner-logo:hover span {
    color: var(--color-gold);
}

@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* ========== SERVICE LINK ========== */
.service-link {
    font-size: 13px;
    color: var(--color-gold);
    font-family: var(--font-en);
    letter-spacing: 0.05em;
    transition: all 0.3s;
}

.service-link:hover {
    letter-spacing: 0.12em;
}

/* ========== CTA ========== */
.cta-section {
    position: relative;
    text-align: center;
    padding: 100px 0;
    overflow: hidden;
}

.cta-bg {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at center, rgba(201, 168, 76, 0.1) 0%, transparent 70%);
}

.cta-content {
    position: relative;
    z-index: 1;
}

.cta-content h2 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 20px;
    letter-spacing: 0.05em;
    line-height: 1.6;
}

.cta-content p {
    font-size: 15px;
    color: var(--color-text-muted);
    margin-bottom: 36px;
    line-height: 2;
}

.cta-actions {
    display: flex;
    justify-content: center;
    gap: 16px;
}

/* ========== FOOTER ========== */
.site-footer {
    background: var(--color-bg-alt);
    border-top: 1px solid var(--color-border);
    padding: 64px 0 0;
}

.footer-top {
    display: flex;
    justify-content: space-between;
    padding-bottom: 48px;
    border-bottom: 1px solid var(--color-border);
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 18px;
    margin-bottom: 16px;
}

.footer-tagline {
    font-size: 13px;
    color: var(--color-text-muted);
    margin-bottom: 8px;
}

.footer-company {
    font-size: 12px;
    color: var(--color-text-dim);
}

.footer-nav {
    display: flex;
    gap: 64px;
}

.footer-nav-group h4 {
    font-size: 12px;
    letter-spacing: 0.1em;
    color: var(--color-gold);
    margin-bottom: 16px;
    font-weight: 500;
}

.footer-nav-group li {
    margin-bottom: 10px;
}

.footer-nav-group a, .footer-nav-group li {
    font-size: 13px;
    color: var(--color-text-muted);
}

.footer-nav-group a:hover {
    color: var(--color-text);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 0;
    font-size: 12px;
    color: var(--color-text-dim);
}

.footer-links {
    display: flex;
    gap: 24px;
}

.footer-links a {
    color: var(--color-text-dim);
    font-size: 12px;
}

.footer-links a:hover {
    color: var(--color-text-muted);
}

/* ========== RESPONSIVE ========== */
@media (max-width: 1024px) {
    .main-nav ul {
        gap: 16px;
    }

    .business-item {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .business-item-reverse {
        direction: ltr;
    }

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

    .video-card-main {
        grid-row: auto;
    }
}

@media (max-width: 768px) {
    .container { padding: 0 20px; }

    .main-nav, .header-right { display: none; }
    .mobile-menu-btn { display: block; }

    .hero-title { font-size: 36px; }
    .hero-stats { flex-direction: column; gap: 24px; }
    .hero-actions { flex-direction: column; }
    .hero-actions .btn { width: 100%; }

    .section { padding: 80px 0; }
    .section-title { font-size: 28px; }

    .works-grid { grid-template-columns: 1fr; }
    .work-card-large { grid-row: auto; }
    .work-card-large .work-image img { min-height: 250px; }
    .reasons-grid { grid-template-columns: 1fr; }

    .business-item {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .business-image img {
        height: 240px;
    }

    .video-grid { grid-template-columns: 1fr; }
    .video-card-main { grid-row: auto; }
    .video-card-main .video-thumb img { height: 220px; }

    .footer-top { flex-direction: column; gap: 40px; }
    .footer-nav { flex-direction: column; gap: 32px; }
    .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }

    .cta-content h2 { font-size: 24px; }
    .cta-actions { flex-direction: column; align-items: center; }

    .hero-indicators {
        bottom: 24px;
    }
}

/* ========================================
   SUB PAGE STYLES
   ======================================== */

/* ========== PAGE HERO (sub pages) ========== */
.page-hero {
    position: relative;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    margin-top: var(--header-height);
}

.page-hero-sm {
    height: 320px;
}

.page-hero-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
}

.page-hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(10, 10, 15, 0.75);
}

.page-hero-content {
    position: relative;
    z-index: 1;
}

.page-hero-content h1 {
    font-size: 42px;
    font-weight: 700;
    letter-spacing: 0.08em;
    margin: 16px 0;
}

.page-hero-content p {
    font-size: 16px;
    color: var(--color-text-muted);
}

/* ========== ABOUT PAGE ========== */
.about-intro {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-intro-text p {
    font-size: 15px;
    color: var(--color-text-muted);
    line-height: 2;
    margin-bottom: 16px;
}

.about-intro-image {
    border-radius: 8px;
    overflow: hidden;
}

.about-intro-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
}

.mv-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
}

.mv-card {
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: 8px;
    padding: 48px 40px;
    text-align: center;
    transition: border-color 0.3s;
}

.mv-card:hover {
    border-color: rgba(201, 168, 76, 0.3);
}

.mv-icon {
    margin-bottom: 24px;
}

.mv-card h3 {
    font-family: var(--font-en);
    font-size: 14px;
    letter-spacing: 0.15em;
    color: var(--color-gold);
    margin-bottom: 16px;
}

.mv-main {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 16px;
    letter-spacing: 0.05em;
}

.mv-desc {
    font-size: 14px;
    color: var(--color-text-muted);
    line-height: 2;
}

.numbers-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
    text-align: center;
}

.number-item {
    padding: 40px 20px;
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: 8px;
}

.number-value {
    display: block;
    font-family: var(--font-en);
    font-size: 48px;
    font-weight: 700;
    color: var(--color-gold);
    line-height: 1;
    margin-bottom: 12px;
}

.number-value small {
    font-size: 28px;
}

.number-label {
    font-size: 13px;
    color: var(--color-text-muted);
}

.company-table {
    max-width: 900px;
    margin: 0 auto;
}

.company-table table {
    width: 100%;
    border-collapse: collapse;
}

.company-table tr {
    border-bottom: 1px solid var(--color-border);
}

.company-table th,
.company-table td {
    padding: 20px 24px;
    font-size: 14px;
    text-align: left;
    vertical-align: top;
}

.company-table th {
    width: 160px;
    color: var(--color-gold);
    font-weight: 500;
    white-space: nowrap;
}

.company-table td {
    color: var(--color-text-muted);
    line-height: 1.8;
}

/* ========== SERVICES PAGE ========== */
.service-sub-title {
    font-size: 13px;
    color: var(--color-gold);
    letter-spacing: 0.05em;
    margin-bottom: 12px;
    font-weight: 500;
}

.service-detail-list {
    margin-bottom: 20px;
}

.service-detail-list li {
    font-size: 13px;
    color: var(--color-text-muted);
    padding: 4px 0 4px 16px;
    position: relative;
}

.service-detail-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 12px;
    width: 6px;
    height: 1px;
    background: var(--color-gold);
}

.workflow-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.workflow-step {
    padding: 36px 32px;
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: 8px;
    transition: border-color 0.3s;
}

.workflow-step:hover {
    border-color: rgba(201, 168, 76, 0.3);
}

.workflow-number {
    font-family: var(--font-en);
    font-size: 32px;
    font-weight: 700;
    color: var(--color-gold);
    opacity: 0.4;
    margin-bottom: 16px;
}

.workflow-step h3 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 12px;
    letter-spacing: 0.05em;
}

.workflow-step p {
    font-size: 13px;
    color: var(--color-text-muted);
    line-height: 2;
}

/* ========== WORKS PAGE ========== */
.works-filter {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 48px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 8px 24px;
    font-size: 13px;
    font-family: var(--font-jp);
    background: transparent;
    border: 1px solid var(--color-border);
    border-radius: 24px;
    color: var(--color-text-muted);
    cursor: pointer;
    transition: all 0.3s;
}

.filter-btn:hover {
    border-color: var(--color-gold);
    color: var(--color-text);
}

.filter-btn.active {
    background: var(--color-gold);
    border-color: var(--color-gold);
    color: var(--color-bg);
}

.works-grid-full {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.works-grid-full .work-card .work-image img {
    height: 220px;
}

/* ========== VIDEO PAGE ========== */
.video-grid-full {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.video-grid-full .video-card .video-thumb img {
    height: 220px;
}

/* ========== PARTNERS PAGE ========== */
.partners-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.partner-card {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100px;
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: 8px;
    transition: all 0.3s;
}

.partner-card:hover {
    border-color: rgba(201, 168, 76, 0.3);
}

.partner-card span {
    font-family: var(--font-en);
    font-size: 18px;
    font-weight: 600;
    letter-spacing: 0.15em;
    color: var(--color-text-dim);
    transition: color 0.3s;
}

.partner-card:hover span {
    color: var(--color-gold);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.testimonial-card {
    padding: 36px 32px;
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: 8px;
    transition: border-color 0.3s;
}

.testimonial-card:hover {
    border-color: rgba(201, 168, 76, 0.3);
}

.testimonial-quote {
    font-family: Georgia, serif;
    font-size: 48px;
    color: var(--color-gold);
    opacity: 0.3;
    line-height: 1;
    margin-bottom: 8px;
}

.testimonial-card > p {
    font-size: 14px;
    color: var(--color-text-muted);
    line-height: 2;
    margin-bottom: 24px;
}

.testimonial-author strong {
    display: block;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 4px;
}

.testimonial-author span {
    font-size: 12px;
    color: var(--color-text-dim);
}

/* ========== CONTACT PAGE ========== */
.contact-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 60px;
}

.contact-form-wrap h2 {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 8px;
}

.form-note {
    font-size: 13px;
    color: var(--color-text-dim);
    margin-bottom: 32px;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-size: 13px;
    font-weight: 500;
    color: var(--color-text);
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 12px 16px;
    font-size: 14px;
    font-family: var(--font-jp);
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: 6px;
    color: var(--color-text);
    transition: border-color 0.3s;
    outline: none;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--color-text-dim);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--color-gold);
}

.form-group select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg width='10' height='6' viewBox='0 0 10 6' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%235a5a6a' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 40px;
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.contact-info-card {
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: 8px;
    padding: 36px 32px;
    margin-bottom: 24px;
}

.contact-info-card h3 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 24px;
    letter-spacing: 0.05em;
}

.contact-info-card ul {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.contact-info-card li {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.contact-info-card li svg {
    flex-shrink: 0;
    margin-top: 2px;
}

.contact-info-card li strong {
    display: block;
    font-size: 13px;
    font-weight: 500;
    margin-bottom: 4px;
}

.contact-info-card li p {
    font-size: 13px;
    color: var(--color-text-muted);
    line-height: 1.7;
}

.contact-map {
    border-radius: 8px;
    overflow: hidden;
}

.map-placeholder {
    height: 200px;
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.map-placeholder span {
    font-family: var(--font-en);
    font-size: 13px;
    color: var(--color-text-dim);
    letter-spacing: 0.1em;
}

/* ========== SUB PAGE RESPONSIVE ========== */
@media (max-width: 1024px) {
    .workflow-grid { grid-template-columns: repeat(2, 1fr); }
    .works-grid-full, .video-grid-full { grid-template-columns: repeat(2, 1fr); }
    .partners-grid { grid-template-columns: repeat(3, 1fr); }
    .testimonials-grid { grid-template-columns: 1fr; }
    .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
    .page-hero { height: 300px; }
    .page-hero-content h1 { font-size: 28px; }
    .about-intro { grid-template-columns: 1fr; gap: 32px; }
    .about-intro-image img { height: 250px; }
    .mv-grid { grid-template-columns: 1fr; }
    .numbers-grid { grid-template-columns: repeat(2, 1fr); }
    .workflow-grid { grid-template-columns: 1fr; }
    .works-grid-full, .video-grid-full { grid-template-columns: 1fr; }
    .partners-grid { grid-template-columns: repeat(2, 1fr); }
    .form-row { grid-template-columns: 1fr; }
}

/* ========== LOGO IMAGE ========== */
.logo-image {
    height: 44px;
    width: auto;
}
.footer-logo .logo-image {
    height: 48px;
}

/* ========== SERVICE HUB GRID (services overview) ========== */
.service-hub-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.service-hub-card {
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.4s;
    display: block;
    text-decoration: none;
    color: inherit;
}
.service-hub-card:hover {
    border-color: var(--color-gold);
    transform: translateY(-4px);
    box-shadow: 0 16px 48px rgba(0,0,0,0.3);
}
.service-hub-image {
    position: relative;
    overflow: hidden;
}
.service-hub-image img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.6s;
}
.service-hub-card:hover .service-hub-image img {
    transform: scale(1.05);
}
.service-hub-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, transparent 40%, var(--color-bg-card));
}
.service-hub-info {
    padding: 24px;
}
.service-hub-info .business-number {
    font-size: 36px;
    margin-bottom: 4px;
}
.service-hub-info .section-tag {
    margin-bottom: 8px;
}
.service-hub-info h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 8px;
}
.service-hub-info p {
    font-size: 13px;
    color: var(--color-text-muted);
    line-height: 1.8;
    margin-bottom: 12px;
}
.service-count {
    font-size: 12px;
    color: var(--color-gold);
    font-family: var(--font-en);
    letter-spacing: 0.05em;
}

/* ========== SERVICE DETAIL GRID (category detail pages) ========== */
.service-category-intro {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    font-size: 15px;
    color: var(--color-text-muted);
    line-height: 2;
}
.service-detail-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
}
.service-detail-card {
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: 8px;
    padding: 32px;
    transition: all 0.4s;
}
.service-detail-card:hover {
    border-color: var(--color-gold);
}
a.service-detail-card-link {
    display: block;
    text-decoration: none;
    color: inherit;
    cursor: pointer;
}
a.service-detail-card-link:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0,0,0,0.3);
}
.service-detail-more {
    display: inline-block;
    margin-top: 12px;
    font-size: 13px;
    color: var(--color-gold);
    font-family: var(--font-en);
    letter-spacing: 0.03em;
    transition: transform 0.2s;
}
a.service-detail-card-link:hover .service-detail-more {
    transform: translateX(4px);
}
.service-detail-card .service-detail-number {
    font-family: var(--font-en);
    font-size: 48px;
    font-weight: 700;
    color: rgba(201, 168, 76, 0.12);
    line-height: 1;
    margin-bottom: 12px;
}
.service-detail-card h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 12px;
}
.service-detail-card > p {
    font-size: 14px;
    color: var(--color-text-muted);
    line-height: 1.9;
    margin-bottom: 16px;
}
.service-detail-card .service-detail-list {
    margin-bottom: 16px;
}
.service-detail-card .service-detail-list li {
    font-size: 13px;
    color: var(--color-text-muted);
    padding: 4px 0 4px 16px;
    position: relative;
}
.service-detail-card .service-detail-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    width: 6px;
    height: 1px;
    background: var(--color-gold);
}

/* ========== HOME SERVICE GRID (compact 3x2) ========== */
.service-grid-home {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.service-card-home {
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.4s;
    display: block;
    text-decoration: none;
    color: inherit;
}
.service-card-home:hover {
    border-color: var(--color-gold);
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0,0,0,0.3);
}
.service-card-image {
    position: relative;
    overflow: hidden;
}
.service-card-image img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    transition: transform 0.6s;
}
.service-card-home:hover .service-card-image img {
    transform: scale(1.05);
}
.service-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, transparent 50%, var(--color-bg-card));
}
.service-card-content {
    padding: 20px;
}
.service-card-content .service-card-number {
    font-family: var(--font-en);
    font-size: 32px;
    font-weight: 700;
    color: rgba(201, 168, 76, 0.15);
    line-height: 1;
    margin-bottom: 4px;
}
.service-card-content h3 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 6px;
}
.service-card-content p {
    font-size: 12px;
    color: var(--color-text-muted);
    line-height: 1.7;
    margin-bottom: 8px;
}
.service-card-link {
    font-size: 12px;
    color: var(--color-gold);
    font-family: var(--font-en);
    letter-spacing: 0.05em;
}

/* ========== NAV SUBMENU DROPDOWN ========== */
.main-nav ul li {
    position: relative;
}
.main-nav ul li .submenu {
    display: none;
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: var(--color-bg-alt);
    border: 1px solid var(--color-border);
    border-radius: 6px;
    min-width: 240px;
    padding: 8px 0;
    box-shadow: 0 12px 40px rgba(0,0,0,0.5);
    z-index: 100;
}
.main-nav ul li:hover .submenu {
    display: block;
}
.main-nav ul li .submenu li {
    display: block;
}
.main-nav ul li .submenu li a {
    display: block;
    padding: 10px 20px;
    font-size: 13px;
    color: var(--color-text-muted);
    transition: all 0.2s;
    white-space: nowrap;
}
.main-nav ul li .submenu li a:hover {
    color: var(--color-gold);
    background: rgba(201,168,76,0.05);
}

/* ========== VIDEO MODAL ========== */
.video-modal {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
}
.video-modal.active {
    display: flex;
}
.video-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.92);
    cursor: pointer;
}
.video-modal-content {
    position: relative;
    width: 90%;
    max-width: 960px;
    z-index: 1;
}
.video-modal-content video {
    width: 100%;
    border-radius: 8px;
    background: #000;
}
.video-modal-close {
    position: absolute;
    top: -44px;
    right: 0;
    color: #fff;
    font-size: 32px;
    background: none;
    border: none;
    cursor: pointer;
    opacity: 0.7;
    transition: opacity 0.2s;
}
.video-modal-close:hover {
    opacity: 1;
}

/* ========== RELATED WORKS SECTION ========== */
.related-works-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

/* ========== SERVICE PAGES RESPONSIVE ========== */
@media (max-width: 1024px) {
    .service-hub-grid { grid-template-columns: repeat(2, 1fr); }
    .service-grid-home { grid-template-columns: repeat(2, 1fr); }
    .related-works-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
    .service-hub-grid { grid-template-columns: 1fr; }
    .service-detail-grid { grid-template-columns: 1fr; }
    .service-grid-home { grid-template-columns: 1fr; }
    .related-works-grid { grid-template-columns: 1fr; }
    .main-nav ul li .submenu {
        position: static;
        transform: none;
        box-shadow: none;
        border: none;
        background: transparent;
        padding: 0;
        min-width: auto;
    }
}

/* ========== SERVICE ITEM DETAIL PAGE ========== */
.page-hero-breadcrumb {
    font-size: 13px;
    color: var(--color-text-muted);
    margin-top: 12px;
}
.page-hero-breadcrumb a {
    color: var(--color-gold);
    text-decoration: none;
    transition: opacity 0.2s;
}
.page-hero-breadcrumb a:hover {
    opacity: 0.7;
}
.page-hero-breadcrumb span {
    margin: 0 2px;
}
.service-item-overview {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
    position: relative;
}
.service-item-number-bg {
    font-family: var(--font-en);
    font-size: 160px;
    font-weight: 800;
    color: rgba(201, 168, 76, 0.06);
    line-height: 1;
    position: absolute;
    top: -40px;
    left: 50%;
    transform: translateX(-50%);
    pointer-events: none;
    z-index: 0;
}
.service-item-desc {
    position: relative;
    z-index: 1;
    font-size: 15px;
    color: var(--color-text-muted);
    line-height: 2.2;
    margin-bottom: 24px;
}
.service-item-overview .business-tags {
    position: relative;
    z-index: 1;
    justify-content: center;
}
.service-features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}
.service-feature-item {
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: 8px;
    padding: 28px 24px;
    transition: all 0.4s;
}
.service-feature-item:hover {
    border-color: var(--color-gold);
}
.service-feature-num {
    font-family: var(--font-en);
    font-size: 28px;
    font-weight: 700;
    color: var(--color-gold);
    opacity: 0.3;
    line-height: 1;
    margin-bottom: 12px;
}
.service-feature-item p {
    font-size: 14px;
    color: var(--color-text);
    line-height: 1.8;
}
.service-points-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}
.service-point-card {
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: 8px;
    padding: 36px 28px;
    text-align: center;
    transition: all 0.4s;
}
.service-point-card:hover {
    border-color: var(--color-gold);
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0,0,0,0.3);
}
.service-point-num {
    font-family: var(--font-en);
    font-size: 36px;
    font-weight: 700;
    color: rgba(201, 168, 76, 0.15);
    line-height: 1;
    margin-bottom: 16px;
}
.service-point-card h3 {
    font-size: 17px;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--color-gold);
}
.service-point-card p {
    font-size: 13px;
    color: var(--color-text-muted);
    line-height: 1.9;
}
.btn-outline {
    display: inline-block;
    padding: 14px 36px;
    border: 1px solid var(--color-gold);
    color: var(--color-gold);
    border-radius: 4px;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.3s;
}
.btn-outline:hover {
    background: var(--color-gold);
    color: var(--color-bg);
}

/* Service item detail responsive */
@media (max-width: 1024px) {
    .service-features-grid { grid-template-columns: repeat(2, 1fr); }
    .service-points-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
    .service-features-grid { grid-template-columns: 1fr; }
    .service-points-grid { grid-template-columns: 1fr; }
    .service-item-number-bg { font-size: 100px; }
}

/* ========== Contact Form 7 样式适配（深色金色主题）========== */
.eikou-cf7-wrap .wpcf7-form p {
    margin-bottom: 18px;
}

.eikou-cf7-wrap input[type="text"],
.eikou-cf7-wrap input[type="email"],
.eikou-cf7-wrap input[type="tel"],
.eikou-cf7-wrap input[type="url"],
.eikou-cf7-wrap input[type="number"],
.eikou-cf7-wrap select,
.eikou-cf7-wrap textarea {
    width: 100%;
    padding: 13px 16px;
    font-size: 15px;
    font-family: var(--font-jp);
    color: var(--color-text);
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: 4px;
    outline: none;
    transition: border-color 0.3s;
}

.eikou-cf7-wrap input:focus,
.eikou-cf7-wrap select:focus,
.eikou-cf7-wrap textarea:focus {
    border-color: var(--color-gold);
}

.eikou-cf7-wrap input::placeholder,
.eikou-cf7-wrap textarea::placeholder {
    color: var(--color-text-dim);
}

.eikou-cf7-wrap .wpcf7-submit {
    width: 100%;
    padding: 16px;
    font-size: 15px;
    font-weight: 500;
    letter-spacing: 0.05em;
    color: var(--color-bg);
    background: linear-gradient(135deg, var(--color-gold), var(--color-gold-dark));
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: opacity 0.3s;
}

.eikou-cf7-wrap .wpcf7-submit:hover {
    opacity: 0.9;
}

.eikou-cf7-wrap .wpcf7-not-valid-tip {
    color: #ff6b6b;
    font-size: 12px;
    margin-top: 4px;
}

.eikou-cf7-wrap .wpcf7-response-output {
    margin: 16px 0 0 !important;
    padding: 14px 16px !important;
    border-radius: 4px;
    font-size: 13px;
}
