/* =========================================================
   Individual Agent株式会社 - Corporate Website
   Main Stylesheet
   ========================================================= */

/* ---- CSS Variables ---- */
:root {
    --primary: #0a2a5e;
    --primary-light: #1a3f7e;
    --accent: #e8431e;
    --accent-light: #ff6b4a;
    --gold: #c9a227;
    --white: #ffffff;
    --light: #f5f7fa;
    --gray: #6b7280;
    --dark: #111827;
    --text: #374151;
    --border: #e5e7eb;
    --shadow: 0 4px 24px rgba(0,0,0,0.10);
    --shadow-lg: 0 10px 40px rgba(0,0,0,0.15);
    --radius: 12px;
    --radius-lg: 20px;
    --transition: all 0.35s cubic-bezier(0.4,0,0.2,1);
    --font-jp: 'Noto Sans JP', sans-serif;
    --font-en: 'Inter', sans-serif;
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-jp);
    color: var(--text);
    background: var(--white);
    line-height: 1.7;
    overflow-x: hidden;
}

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

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition);
}

ul {
    list-style: none;
}

/* ---- Container ---- */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ---- Section Base ---- */
.section {
    padding: 100px 0;
    position: relative;
}

/* ---- Section Header ---- */
.section-header {
    text-align: center;
    margin-bottom: 64px;
}

.section-tag {
    display: inline-block;
    font-family: var(--font-en);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 3px;
    color: var(--accent);
    background: rgba(232,67,30,0.08);
    padding: 6px 18px;
    border-radius: 50px;
    margin-bottom: 16px;
    border: 1px solid rgba(232,67,30,0.2);
}

.section-title {
    font-size: clamp(28px, 4vw, 42px);
    font-weight: 900;
    color: var(--primary);
    margin-bottom: 16px;
    line-height: 1.3;
}

.section-desc {
    font-size: 17px;
    color: var(--gray);
    max-width: 600px;
    margin: 0 auto;
}

.section-header.light .section-title,
.section-header.light .section-desc {
    color: var(--white);
}

.section-header.light .section-tag {
    background: rgba(255,255,255,0.15);
    color: #ffd166;
    border-color: rgba(255,255,255,0.3);
}

/* ---- Buttons ---- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 32px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 15px;
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid transparent;
    font-family: var(--font-jp);
}

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

.btn-primary:hover {
    background: var(--accent-light);
    border-color: var(--accent-light);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(232,67,30,0.35);
}

.btn-outline {
    background: transparent;
    color: var(--white);
    border-color: rgba(255,255,255,0.6);
}

.btn-outline:hover {
    background: var(--white);
    color: var(--primary);
    border-color: var(--white);
    transform: translateY(-2px);
}

.btn-full {
    width: 100%;
    justify-content: center;
}

/* =========================================================
   HEADER / NAVIGATION
   ========================================================= */
#header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: var(--transition);
}

.navbar {
    padding: 20px 0;
    transition: var(--transition);
}

#header.scrolled .navbar {
    background: rgba(10, 42, 94, 0.97);
    backdrop-filter: blur(16px);
    padding: 12px 0;
    box-shadow: var(--shadow);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.nav-logo .logo-main {
    font-family: var(--font-en);
    font-size: 20px;
    font-weight: 800;
    color: var(--white);
    letter-spacing: -0.5px;
}

.nav-logo .logo-sub {
    font-size: 11px;
    color: rgba(255,255,255,0.7);
    font-weight: 500;
    letter-spacing: 2px;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-link {
    padding: 8px 14px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    color: rgba(255,255,255,0.85);
    transition: var(--transition);
}

.nav-link:hover {
    color: var(--white);
    background: rgba(255,255,255,0.12);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 4px;
}

.nav-toggle span {
    display: block;
    width: 26px;
    height: 2px;
    background: var(--white);
    border-radius: 2px;
    transition: var(--transition);
}

/* =========================================================
   HERO SECTION
   ========================================================= */
.hero {
    min-height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-slider {
    position: absolute;
    inset: 0;
}

.hero-slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1.2s ease;
}

.hero-slide.active {
    opacity: 1;
}

.slide-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(10,42,94,0.88) 0%, rgba(10,42,94,0.60) 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 120px 24px 80px;
    max-width: 900px;
    margin: 0 auto;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255,255,255,0.12);
    border: 1px solid rgba(255,255,255,0.25);
    color: rgba(255,255,255,0.9);
    padding: 8px 20px;
    border-radius: 50px;
    font-family: var(--font-en);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 1px;
    margin-bottom: 28px;
    backdrop-filter: blur(8px);
}

.hero-title {
    font-size: clamp(36px, 6vw, 68px);
    font-weight: 900;
    color: var(--white);
    line-height: 1.2;
    margin-bottom: 24px;
    letter-spacing: -1px;
}

.hero-title .highlight {
    color: #ffd166;
    position: relative;
}

.hero-title .highlight::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    right: 0;
    height: 3px;
    background: #ffd166;
    border-radius: 2px;
}

.hero-subtitle {
    font-size: clamp(15px, 2vw, 19px);
    color: rgba(255,255,255,0.82);
    margin-bottom: 40px;
    line-height: 1.9;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 56px;
}

.hero-stats {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 16px;
    padding: 20px 40px;
    display: inline-flex;
}

.stat-item {
    text-align: center;
    padding: 0 32px;
}

.stat-num {
    display: block;
    font-family: var(--font-en);
    font-size: 28px;
    font-weight: 800;
    color: #ffd166;
    line-height: 1.2;
}

.stat-label {
    font-size: 12px;
    color: rgba(255,255,255,0.7);
    font-weight: 500;
    margin-top: 4px;
    display: block;
}

.stat-divider {
    width: 1px;
    height: 40px;
    background: rgba(255,255,255,0.2);
}

.hero-scroll {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: rgba(255,255,255,0.6);
    font-size: 11px;
    letter-spacing: 2px;
    font-family: var(--font-en);
}

.scroll-line {
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, rgba(255,255,255,0.6), transparent);
    animation: scrollPulse 2s infinite;
}

@keyframes scrollPulse {
    0%, 100% { opacity: 0.6; }
    50% { opacity: 1; }
}

.slider-dots {
    position: absolute;
    bottom: 40px;
    right: 40px;
    z-index: 2;
    display: flex;
    gap: 8px;
}

.dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255,255,255,0.35);
    cursor: pointer;
    transition: var(--transition);
}

.dot.active {
    background: var(--white);
    width: 24px;
    border-radius: 4px;
}

/* =========================================================
   TICKER
   ========================================================= */
.ticker-wrap {
    background: var(--primary);
    padding: 14px 0;
    display: flex;
    align-items: center;
    overflow: hidden;
    position: relative;
    z-index: 10;
}

.ticker-label {
    flex-shrink: 0;
    background: var(--accent);
    color: var(--white);
    padding: 0 20px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2px;
    height: 100%;
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 100px;
    justify-content: center;
    position: relative;
    z-index: 1;
}

.ticker-label::after {
    content: '';
    position: absolute;
    right: -12px;
    top: 0;
    bottom: 0;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 25px 0 25px 13px;
    border-color: transparent transparent transparent var(--accent);
}

.ticker-content {
    display: flex;
    align-items: center;
    white-space: nowrap;
    animation: tickerMove 30s linear infinite;
    color: rgba(255,255,255,0.85);
    font-size: 14px;
    font-weight: 500;
    padding-left: 24px;
}

.ticker-content span {
    padding: 0 48px;
}

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

/* Duplicate for seamless loop */
.ticker-content::after {
    content: attr(data-text);
}

/* =========================================================
   ABOUT SECTION
   ========================================================= */
.about {
    background: var(--light);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

.about-image-area {
    position: relative;
}

.about-img-main {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    aspect-ratio: 4/3;
}

.about-img-main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.about-img-main:hover img {
    transform: scale(1.04);
}

.about-img-sub {
    position: absolute;
    bottom: -32px;
    right: -32px;
    width: 55%;
    border-radius: var(--radius);
    overflow: hidden;
    border: 4px solid var(--white);
    box-shadow: var(--shadow-lg);
    aspect-ratio: 16/10;
}

.about-img-sub img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-badge-float {
    position: absolute;
    top: 24px;
    left: -20px;
    background: var(--accent);
    color: var(--white);
    padding: 14px 18px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: var(--shadow);
    font-size: 22px;
}

.about-badge-float span {
    font-size: 14px;
    font-weight: 700;
    line-height: 1.3;
}

.about-info {
    padding-left: 16px;
    padding-bottom: 32px;
}

.about-headline {
    font-size: clamp(22px, 3vw, 30px);
    font-weight: 900;
    color: var(--primary);
    line-height: 1.4;
    margin-bottom: 20px;
}

.about-text {
    font-size: 16px;
    color: var(--gray);
    margin-bottom: 16px;
    line-height: 1.85;
}

.company-info-table {
    margin-top: 32px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    background: var(--white);
}

.info-row {
    display: flex;
    align-items: flex-start;
    padding: 14px 20px;
    border-bottom: 1px solid var(--border);
    gap: 16px;
    transition: background 0.2s;
}

.info-row:last-child {
    border-bottom: none;
}

.info-row:hover {
    background: var(--light);
}

.info-label {
    flex-shrink: 0;
    width: 150px;
    font-size: 13px;
    font-weight: 700;
    color: var(--primary);
    display: flex;
    align-items: center;
    gap: 8px;
}

.info-label i {
    color: var(--accent);
    width: 16px;
}

.info-value {
    font-size: 14px;
    color: var(--text);
    line-height: 1.6;
}

.info-value small {
    display: block;
    font-size: 12px;
    color: var(--gray);
    margin-top: 2px;
}

/* =========================================================
   BUSINESS SECTION
   ========================================================= */
.business {
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.section-bg-img {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.section-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(10,42,94,0.94) 0%, rgba(10,42,94,0.88) 100%);
}

.business .container {
    position: relative;
    z-index: 1;
}

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

.biz-card {
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: var(--radius-lg);
    padding: 36px 28px;
    backdrop-filter: blur(10px);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.biz-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    opacity: 0;
    transition: var(--transition);
}

.biz-card:hover {
    background: rgba(255,255,255,0.10);
    border-color: rgba(255,255,255,0.22);
    transform: translateY(-6px);
    box-shadow: 0 20px 48px rgba(0,0,0,0.25);
}

.biz-card:hover::before {
    opacity: 1;
}

.biz-card.featured {
    background: rgba(232,67,30,0.15);
    border-color: rgba(232,67,30,0.4);
}

.biz-card.featured:hover {
    background: rgba(232,67,30,0.22);
}

.biz-card-icon {
    width: 60px;
    height: 60px;
    border-radius: 16px;
    background: rgba(255,255,255,0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: #ffd166;
    margin-bottom: 20px;
}

.biz-card.featured .biz-card-icon {
    background: rgba(232,67,30,0.3);
    color: var(--white);
}

.biz-card h3 {
    font-size: 18px;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 14px;
    line-height: 1.4;
}

.biz-card h3 small {
    display: block;
    font-family: var(--font-en);
    font-size: 12px;
    font-weight: 600;
    color: rgba(255,255,255,0.5);
    letter-spacing: 1px;
    margin-top: 4px;
}

.biz-card p {
    font-size: 14px;
    color: rgba(255,255,255,0.75);
    line-height: 1.8;
    margin-bottom: 20px;
}

.biz-countries {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.country-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.18);
    color: rgba(255,255,255,0.85);
    padding: 5px 12px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 600;
}

.country-tag img {
    width: 18px;
    height: auto;
    border-radius: 2px;
    display: inline;
}

.country-tag.coming {
    background: rgba(201,162,39,0.15);
    border-color: rgba(201,162,39,0.3);
    color: #ffd166;
}

/* =========================================================
   GLOBAL SECTION
   ========================================================= */
.global {
    background: var(--white);
}

.global-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

/* Flow Diagram */
.flow-diagram {
    background: var(--light);
    border-radius: var(--radius-lg);
    padding: 40px 32px;
    border: 1px solid var(--border);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    position: relative;
}

.flow-box {
    width: 100%;
    background: var(--white);
    border-radius: var(--radius);
    padding: 24px;
    border: 2px solid var(--border);
    text-align: center;
}

.flow-box.import {
    border-color: #0066cc;
    background: rgba(0,102,204,0.04);
}

.flow-box.export {
    border-color: #e8431e;
    background: rgba(232,67,30,0.04);
}

.flow-icon {
    font-size: 28px;
    margin-bottom: 12px;
}

.flow-box.import .flow-icon {
    color: #0066cc;
}

.flow-box.export .flow-icon {
    color: var(--accent);
}

.flow-box h4 {
    font-size: 16px;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 16px;
    font-family: var(--font-jp);
}

.flow-countries {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

.fcountry {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    padding: 10px 14px;
    border-radius: 10px;
    background: var(--light);
    min-width: 80px;
    opacity: 0.6;
    transition: var(--transition);
}

.fcountry.active {
    opacity: 1;
    background: rgba(0,102,204,0.08);
    border: 1px solid rgba(0,102,204,0.2);
}

.flow-box.export .fcountry.active {
    background: rgba(232,67,30,0.08);
    border-color: rgba(232,67,30,0.2);
}

.fcountry img {
    width: 32px;
    height: auto;
    border-radius: 3px;
    display: block;
    margin: 0 auto;
}

.fcountry span {
    font-size: 12px;
    font-weight: 700;
    color: var(--primary);
}

.fcountry small {
    font-size: 10px;
    color: var(--gray);
}

.flow-arrow-down,
.flow-arrow-up {
    color: var(--gray);
    font-size: 18px;
    margin: 8px 0;
}

.flow-center {
    position: relative;
}

.flow-japan {
    background: var(--primary);
    color: var(--white);
    padding: 20px 40px;
    border-radius: var(--radius);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    box-shadow: var(--shadow);
    position: relative;
}

.flow-japan::before,
.flow-japan::after {
    content: '';
    position: absolute;
    left: -20px;
    right: -20px;
    height: 2px;
    background: linear-gradient(90deg, var(--accent), var(--primary));
}

.flow-japan::before { top: -20px; }
.flow-japan::after { bottom: -20px; }

.flow-japan img {
    width: 40px;
    border-radius: 4px;
    display: block;
    margin: 0 auto;
}

.flow-japan span {
    font-size: 16px;
    font-weight: 800;
    letter-spacing: 1px;
}

.flow-japan small {
    font-size: 11px;
    opacity: 0.7;
    text-align: center;
}

/* Global Points */
.global-points {
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.global-point {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    padding: 24px;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    transition: var(--transition);
    background: var(--white);
}

.global-point:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow);
    transform: translateX(4px);
}

.gp-num {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: var(--primary);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-en);
    font-size: 14px;
    font-weight: 800;
}

.gp-content h4 {
    font-size: 16px;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 6px;
}

.gp-content p {
    font-size: 14px;
    color: var(--gray);
    line-height: 1.7;
}

/* =========================================================
   PRODUCTS SECTION
   ========================================================= */
.products {
    background: var(--light);
}

.product-categories {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 16px;
    margin-bottom: 56px;
}

.cat-item {
    background: var(--white);
    border-radius: var(--radius);
    padding: 24px 16px;
    text-align: center;
    border: 1px solid var(--border);
    transition: var(--transition);
    cursor: default;
}

.cat-item:hover {
    border-color: var(--primary);
    transform: translateY(-4px);
    box-shadow: var(--shadow);
}

.cat-item:hover .cat-icon {
    background: var(--primary);
    color: var(--white);
}

.cat-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: rgba(10,42,94,0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: var(--primary);
    margin: 0 auto 12px;
    transition: var(--transition);
}

.cat-item span {
    font-size: 12px;
    font-weight: 600;
    color: var(--text);
    line-height: 1.4;
}

/* Product Images Grid */
.prod-img-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr;
    gap: 16px;
}

.prod-img {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    aspect-ratio: 4/3;
}

.prod-img.large {
    aspect-ratio: 3/2;
}

.prod-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.prod-img:hover img {
    transform: scale(1.06);
}

.prod-img-label {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(10,42,94,0.85), transparent);
    color: var(--white);
    padding: 28px 20px 16px;
    font-size: 14px;
    font-weight: 700;
}

/* =========================================================
   VISION SECTION
   ========================================================= */
.vision {
    padding: 120px 0;
    position: relative;
    overflow: hidden;
}

.vision-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.vision-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(10,42,94,0.92), rgba(232,67,30,0.7));
}

.vision-content {
    position: relative;
    z-index: 1;
    text-align: center;
}

.vision-content h2 {
    font-size: clamp(28px, 4vw, 48px);
    font-weight: 900;
    color: var(--white);
    margin: 20px 0;
    line-height: 1.4;
}

.vision-content p {
    font-size: 17px;
    color: rgba(255,255,255,0.85);
    line-height: 2;
    margin-bottom: 56px;
}

.vision-pillars {
    display: flex;
    justify-content: center;
    gap: 32px;
    flex-wrap: wrap;
}

.pillar {
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: var(--radius-lg);
    padding: 32px 36px;
    min-width: 160px;
    text-align: center;
    transition: var(--transition);
}

.pillar:hover {
    background: rgba(255,255,255,0.18);
    transform: translateY(-6px);
}

.pillar i {
    font-size: 28px;
    color: #ffd166;
    margin-bottom: 14px;
    display: block;
}

.pillar h4 {
    font-size: 18px;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 6px;
}

.pillar p {
    font-size: 13px;
    color: rgba(255,255,255,0.7);
    margin: 0;
    line-height: 1.5;
}

/* =========================================================
   PURPOSE SECTION
   ========================================================= */
.purpose {
    background: var(--white);
}

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

.purpose-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 24px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    transition: var(--transition);
    background: var(--white);
}

.purpose-item:hover {
    border-color: var(--primary);
    background: rgba(10,42,94,0.03);
    box-shadow: var(--shadow);
}

.purpose-item i {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: rgba(10,42,94,0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    color: var(--primary);
    transition: var(--transition);
}

.purpose-item:hover i {
    background: var(--primary);
    color: var(--white);
}

.purpose-item p {
    font-size: 14px;
    color: var(--text);
    line-height: 1.7;
}

/* =========================================================
   CONTACT SECTION
   ========================================================= */
.contact {
    background: var(--light);
}

.contact-layout {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 56px;
    align-items: start;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.contact-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    transition: var(--transition);
}

.contact-card:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow);
}

.contact-card i {
    font-size: 22px;
    color: var(--accent);
}

.contact-card h4 {
    font-size: 14px;
    font-weight: 800;
    color: var(--primary);
}

.contact-card p {
    font-size: 14px;
    color: var(--text);
    line-height: 1.6;
}

/* Contact Form */
.contact-form-wrap {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 48px;
    box-shadow: var(--shadow-lg);
}

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

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

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

.form-group label {
    font-size: 14px;
    font-weight: 700;
    color: var(--primary);
}

.required {
    color: var(--accent);
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 12px 16px;
    border: 1.5px solid var(--border);
    border-radius: 10px;
    font-family: var(--font-jp);
    font-size: 14px;
    color: var(--text);
    transition: var(--transition);
    background: var(--white);
    width: 100%;
    outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(10,42,94,0.1);
}

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

.form-success {
    text-align: center;
    padding: 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

.form-success i {
    font-size: 48px;
    color: #22c55e;
}

.form-success p {
    font-size: 16px;
    color: var(--gray);
    line-height: 1.7;
}

/* =========================================================
   FOOTER
   ========================================================= */
.footer {
    background: var(--primary);
}

.footer-top {
    padding: 80px 0 60px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1.5fr 1.5fr;
    gap: 48px;
}

.footer-logo {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
    margin-bottom: 20px;
}

.footer-logo .logo-main {
    font-family: var(--font-en);
    font-size: 22px;
    font-weight: 800;
    color: var(--white);
}

.footer-logo .logo-sub {
    font-size: 12px;
    color: rgba(255,255,255,0.6);
    letter-spacing: 2px;
    font-weight: 500;
}

.footer-desc {
    font-size: 14px;
    color: rgba(255,255,255,0.65);
    line-height: 1.8;
    margin-bottom: 24px;
}

.footer-flags {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.footer-flags img {
    width: 30px;
    height: auto;
    border-radius: 3px;
    display: inline;
    opacity: 0.85;
}

.footer-flags .fa-exchange-alt {
    color: rgba(255,255,255,0.5);
    font-size: 12px;
}

.more-flags {
    font-size: 12px;
    color: rgba(255,255,255,0.55);
    font-weight: 600;
}

.footer-links h4,
.footer-business h4,
.footer-company h4 {
    font-size: 14px;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.footer-links ul li a {
    font-size: 13px;
    color: rgba(255,255,255,0.6);
    display: flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition);
}

.footer-links ul li a:hover {
    color: var(--white);
    transform: translateX(4px);
}

.footer-links ul li a i {
    font-size: 10px;
    color: var(--accent);
}

.footer-business ul {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-business ul li {
    font-size: 13px;
    color: rgba(255,255,255,0.6);
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-business ul li i {
    color: #ffd166;
    width: 16px;
}

.footer-info-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.footer-info-list > div {
    display: flex;
    gap: 10px;
    align-items: flex-start;
}

.footer-info-list i {
    color: #ffd166;
    font-size: 14px;
    margin-top: 2px;
    width: 16px;
    flex-shrink: 0;
}

.footer-info-list span {
    font-size: 13px;
    color: rgba(255,255,255,0.65);
    line-height: 1.6;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding: 24px 0;
    text-align: center;
}

.footer-bottom p {
    font-size: 13px;
    color: rgba(255,255,255,0.45);
}

.footer-en {
    font-family: var(--font-en);
    font-size: 12px !important;
    margin-top: 4px;
}

/* =========================================================
   BACK TO TOP
   ========================================================= */
.back-to-top {
    position: fixed;
    bottom: 40px;
    right: 40px;
    z-index: 999;
    width: 48px;
    height: 48px;
    background: var(--primary);
    color: var(--white);
    border: none;
    border-radius: 12px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    transition: var(--transition);
    opacity: 0;
    pointer-events: none;
    box-shadow: var(--shadow);
}

.back-to-top.visible {
    opacity: 1;
    pointer-events: all;
}

.back-to-top:hover {
    background: var(--accent);
    transform: translateY(-3px);
}

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1100px) {
    .product-categories {
        grid-template-columns: repeat(4, 1fr);
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }
}

@media (max-width: 900px) {
    .section {
        padding: 72px 0;
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .about-img-sub {
        bottom: -24px;
        right: -16px;
    }

    .about-info {
        padding-left: 0;
        padding-bottom: 0;
    }

    .business-cards {
        grid-template-columns: repeat(2, 1fr);
    }

    .global-layout {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .product-categories {
        grid-template-columns: repeat(3, 1fr);
    }

    .prod-img-grid {
        grid-template-columns: 1fr 1fr;
    }

    .prod-img-grid .prod-img.large {
        grid-column: span 2;
    }

    .purpose-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .contact-layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: var(--primary);
        flex-direction: column;
        align-items: flex-start;
        padding: 80px 24px 40px;
        gap: 4px;
        transition: right 0.35s ease;
        z-index: 999;
        box-shadow: -10px 0 40px rgba(0,0,0,0.3);
    }

    .nav-menu.open {
        right: 0;
    }

    .nav-link {
        width: 100%;
        padding: 12px 16px;
        font-size: 16px;
    }

    .nav-toggle {
        display: flex;
        z-index: 1000;
    }

    .nav-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .nav-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .nav-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
    }

    .hero-stats {
        flex-wrap: wrap;
        gap: 16px;
        padding: 20px 24px;
    }

    .stat-divider { display: none; }

    .business-cards {
        grid-template-columns: 1fr;
    }

    .product-categories {
        grid-template-columns: repeat(2, 1fr);
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .contact-form-wrap {
        padding: 32px 24px;
    }

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

    .vision-pillars {
        gap: 16px;
    }

    .pillar {
        min-width: 130px;
        padding: 24px 20px;
    }

    .back-to-top {
        bottom: 24px;
        right: 24px;
    }

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

@media (max-width: 480px) {
    .hero-title {
        font-size: 32px;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .product-categories {
        grid-template-columns: repeat(2, 1fr);
    }

    .prod-img-grid {
        grid-template-columns: 1fr;
    }

    .prod-img-grid .prod-img.large {
        grid-column: span 1;
    }

    .slider-dots {
        right: 16px;
        bottom: 90px;
    }
}
