/* ==========================================================
   Myanmar Tosei Fashion — corporate site
   ========================================================== */
:root {
  --navy-900: #0e1830;
  --navy-800: #14213d;
  --navy-700: #1d2d4f;
  --navy-500: #42527a;
  --ink: #1a2238;
  --body: #4a5468;
  --muted: #7a8396;
  --line: #e4e1da;
  --bg: #ffffff;
  --bg-warm: #f6f4ef;
  --accent: #df8a2c;
  --accent-600: #c9761c;
  --gold: #f2b51c;
  --radius: 10px;
  --radius-lg: 16px;
  --shadow: 0 1px 2px rgba(14, 24, 48, .06), 0 8px 24px rgba(14, 24, 48, .06);
  --shadow-lg: 0 24px 60px rgba(14, 24, 48, .16);
  --container: 1240px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --font: "Inter", "Noto Sans JP", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; font-family: var(--font); color: var(--body); background: var(--bg);
  font-size: 16px; line-height: 1.65; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
html[lang="ja"] body { line-height: 1.85; letter-spacing: .02em; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
h1, h2, h3, h4 { color: var(--ink); margin: 0; line-height: 1.15; letter-spacing: -.02em; font-weight: 700; }
html[lang="ja"] h1, html[lang="ja"] h2, html[lang="ja"] h3 { letter-spacing: 0; line-height: 1.35; word-break: auto-phrase; }
p { margin: 0; }
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 28px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px; padding: 14px 24px; border-radius: 999px;
  font-weight: 600; font-size: 15px; border: 1px solid transparent; transition: all .25s var(--ease); white-space: nowrap;
}
.btn svg { width: 16px; height: 16px; transition: transform .25s var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-600); box-shadow: 0 10px 24px rgba(223, 138, 44, .35); }
.btn-ghost { color: #fff; border-color: rgba(255, 255, 255, .35); }
.btn-ghost:hover { background: rgba(255, 255, 255, .1); border-color: #fff; }
.btn-dark { background: var(--navy-800); color: #fff; }
.btn-dark:hover { background: var(--navy-700); }

/* ---------- Header ---------- */
.header {
  position: fixed; inset: 0 0 auto 0; z-index: 50; transition: background .3s, box-shadow .3s, border-color .3s;
  border-bottom: 1px solid transparent;
}
.header .container { display: flex; align-items: center; gap: 32px; height: 76px; }
.brand { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.brand-logo { display: flex; }
.brand-logo img { height: 30px; width: auto; }
.brand-name { font-size: 12px; line-height: 1.25; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: rgba(255,255,255,.85); transition: color .3s; }
.brand-name small { display: block; font-weight: 500; letter-spacing: .04em; text-transform: none; opacity: .7; font-size: 11.5px; }
.nav { display: flex; gap: 4px; margin-left: auto; }
.nav a { white-space: nowrap; color: rgba(255, 255, 255, .85); font-size: 14px; font-weight: 500; padding: 8px 12px; border-radius: 6px; transition: color .2s, background .2s; }
.nav a:hover, .nav a.active { color: #fff; background: rgba(255,255,255,.08); }
.nav a.nav-cta { display: none; }
.header-actions { display: flex; align-items: center; gap: 12px; }
.lang { display: flex; border: 1px solid rgba(255,255,255,.3); border-radius: 999px; padding: 3px; }
.lang button { white-space: nowrap; background: none; border: 0; color: rgba(255,255,255,.75); font-size: 12.5px; font-weight: 600; padding: 5px 11px; border-radius: 999px; transition: all .2s; }
.lang button.on { background: #fff; color: var(--navy-800); }
.header .btn { padding: 10px 18px; font-size: 14px; }
.menu-toggle { display: none; background: none; border: 0; color: #fff; padding: 8px; margin-right: -8px; }
.menu-toggle svg { width: 26px; height: 26px; }

.header.scrolled { background: rgba(255, 255, 255, .96); backdrop-filter: saturate(160%) blur(12px); -webkit-backdrop-filter: saturate(160%) blur(12px); border-color: var(--line); }
.header.scrolled .brand-name { color: var(--ink); }
.header.scrolled .nav a { color: var(--body); }
.header.scrolled .nav a:hover, .header.scrolled .nav a.active { color: var(--ink); background: var(--bg-warm); }
.header.scrolled .lang { border-color: var(--line); }
.header.scrolled .lang button { color: var(--muted); }
.header.scrolled .lang button.on { background: var(--navy-800); color: #fff; }
.header.scrolled .menu-toggle { color: var(--ink); }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; color: #fff; overflow: hidden; background: var(--navy-900); }
.hero-bg { position: absolute; inset: 0; background: url("../img/hero-sewing-hall.jpg") center/cover no-repeat; transform: scale(1.06); animation: heroZoom 18s var(--ease) forwards; }
@keyframes heroZoom { to { transform: scale(1); } }
.hero::after { content: ""; position: absolute; inset: 0; background:
  linear-gradient(90deg, rgba(14,24,48,.94) 0%, rgba(14,24,48,.82) 38%, rgba(14,24,48,.35) 75%, rgba(14,24,48,.25) 100%),
  linear-gradient(0deg, rgba(14,24,48,.85) 0%, rgba(14,24,48,0) 35%); }
.hero-content { position: relative; z-index: 2; flex: 1; display: flex; align-items: center; padding: 140px 0 60px; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); }
html[lang="ja"] .eyebrow { letter-spacing: .08em; }
.eyebrow::before { content: ""; width: 28px; height: 2px; background: currentColor; }
.hero h1 { color: #fff; font-size: clamp(40px, 5.6vw, 76px); max-width: 820px; margin: 22px 0 24px; letter-spacing: -.03em; }
html[lang="ja"] .hero h1 { font-size: clamp(32px, 4.4vw, 58px); }
.hero h1 em { font-style: normal; color: var(--gold); }
.hero-lead { font-size: clamp(17px, 1.5vw, 20px); max-width: 620px; color: rgba(255,255,255,.82); }
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 38px; }
.hero-badges { display: flex; gap: 28px; flex-wrap: wrap; margin-top: 44px; font-size: 14px; color: rgba(255,255,255,.75); }
.hero-badges span { display: inline-flex; align-items: center; gap: 8px; }
.hero-badges svg { width: 18px; height: 18px; color: var(--gold); flex-shrink: 0; }

.hero-stats { position: relative; z-index: 2; border-top: 1px solid rgba(255,255,255,.14); background: rgba(14,24,48,.55); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.hero-stats .container { display: grid; grid-template-columns: repeat(6, 1fr); }
.stat { padding: 26px 20px; border-left: 1px solid rgba(255,255,255,.1); }
.stat:first-child { border-left: 0; padding-left: 0; }
.stat-num { font-size: clamp(26px, 2.6vw, 36px); font-weight: 700; color: #fff; letter-spacing: -.02em; line-height: 1.1; font-variant-numeric: tabular-nums; }
.stat-num sup { font-size: .5em; color: var(--gold); margin-left: 2px; vertical-align: super; }
.stat-label { font-size: 13px; color: rgba(255,255,255,.65); margin-top: 6px; line-height: 1.4; }

/* ---------- Sections ---------- */
.section { padding: 120px 0; }
.section-warm { background: var(--bg-warm); }
.section-dark { background: var(--navy-800); color: rgba(255,255,255,.78); }
.section-dark h2, .section-dark h3 { color: #fff; }
.section-head { max-width: 760px; margin-bottom: 60px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head.center .eyebrow::before { display: none; }
.section-head h2 { font-size: clamp(32px, 3.6vw, 50px); margin: 16px 0 18px; }
html[lang="ja"] .section-head h2 { font-size: clamp(28px, 3vw, 42px); }
.section-head p { font-size: 18px; }
.split-head { display: grid; grid-template-columns: 1.1fr 1fr; gap: 60px; align-items: end; margin-bottom: 60px; }
.split-head .section-head { margin-bottom: 0; }

/* ---------- About ---------- */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.about-media { position: relative; }
.about-media .main { border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 4/5; box-shadow: var(--shadow-lg); }
.about-media .main img { width: 100%; height: 100%; object-fit: cover; }
.about-media .inset { position: absolute; right: -36px; bottom: -36px; width: 46%; border-radius: var(--radius); overflow: hidden; border: 6px solid #fff; box-shadow: var(--shadow-lg); aspect-ratio: 4/3; }
.about-media .inset img { width: 100%; height: 100%; object-fit: cover; }
.about-tag { position: absolute; left: 24px; top: 24px; background: #fff; border-radius: 999px; padding: 8px 16px 8px 10px; font-size: 13px; font-weight: 600; color: var(--ink); display: flex; align-items: center; gap: 8px; box-shadow: var(--shadow); }
.about-tag i { width: 8px; height: 8px; border-radius: 50%; background: #2bb673; box-shadow: 0 0 0 4px rgba(43,182,115,.18); }
.about-copy p + p { margin-top: 18px; }
.about-copy .lead { font-size: 19px; color: var(--ink); }
.facts { margin-top: 36px; border-top: 1px solid var(--line); }
.fact { display: grid; grid-template-columns: 180px 1fr; gap: 20px; padding: 16px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.fact dt { color: var(--muted); font-weight: 500; }
.fact dd { margin: 0; color: var(--ink); font-weight: 600; }
.cert-link { display: inline-flex; align-items: center; gap: 8px; margin-top: 28px; font-weight: 600; color: var(--accent-600); font-size: 15px; background: none; border: 0; padding: 0; }
.cert-link svg { width: 18px; height: 18px; }
.cert-link:hover { text-decoration: underline; text-underline-offset: 4px; }

/* ---------- Why ---------- */
.why-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.why-card { background: #fff; border-radius: var(--radius-lg); padding: 34px 28px; border: 1px solid var(--line); transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
.why-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.why-icon { width: 52px; height: 52px; border-radius: 12px; background: rgba(223,138,44,.12); color: var(--accent-600); display: grid; place-items: center; margin-bottom: 26px; }
.why-icon svg { width: 26px; height: 26px; }
.why-card h3 { font-size: 20px; margin-bottom: 12px; }
.why-card p { font-size: 15px; }

.duty { margin-top: 28px; display: grid; grid-template-columns: 1fr 1.5fr; gap: 0; background: var(--navy-800); border-radius: var(--radius-lg); overflow: hidden; color: rgba(255,255,255,.78); }
.duty-intro { padding: 48px; background: var(--navy-900); display: flex; flex-direction: column; justify-content: center; }
.duty-intro h3 { color: #fff; font-size: 26px; margin: 14px 0 14px; }
.duty-big { font-size: 64px; font-weight: 700; color: var(--gold); letter-spacing: -.03em; line-height: 1; margin-top: 18px; }
.duty-big small { font-size: 16px; font-weight: 500; color: rgba(255,255,255,.7); letter-spacing: 0; display: block; margin-top: 8px; }
.duty-table-wrap { padding: 40px 48px; overflow-x: auto; }
.duty table { width: 100%; border-collapse: collapse; font-size: 15px; min-width: 460px; }
.duty th { text-align: left; font-size: 11.5px; letter-spacing: .1em; text-transform: uppercase; color: rgba(255,255,255,.5); font-weight: 600; padding: 0 12px 14px; border-bottom: 1px solid rgba(255,255,255,.15); }
.duty td { padding: 18px 12px; border-bottom: 1px solid rgba(255,255,255,.08); color: rgba(255,255,255,.75); font-variant-numeric: tabular-nums; }
.duty td:first-child, .duty th:first-child { padding-left: 0; }
.duty td.hl { color: #fff; font-weight: 700; }
.duty td.hl span { display: inline-block; background: rgba(242,181,28,.16); color: var(--gold); padding: 3px 10px; border-radius: 999px; }
.duty .bar { display: block; height: 4px; border-radius: 4px; background: rgba(255,255,255,.18); margin-top: 8px; }
.duty td.hl .bar { background: var(--gold); }
.duty-note { font-size: 12.5px; color: rgba(255,255,255,.5); margin-top: 18px; line-height: 1.6; }

/* ---------- Products ---------- */
.tabs { display: inline-flex; gap: 6px; background: var(--bg-warm); padding: 6px; border-radius: 999px; flex-wrap: wrap; }
.tab { background: none; border: 0; padding: 10px 20px; border-radius: 999px; font-size: 14.5px; font-weight: 600; color: var(--body); transition: all .25s; }
.tab:hover { color: var(--ink); }
.tab.on { background: var(--navy-800); color: #fff; }
.product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; margin-top: 40px; }
.product { display: flex; flex-direction: column; animation: fadeUp .5s var(--ease) both; }
.product[hidden] { display: none; }
.prod-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; flex-wrap: wrap; }
.prod-head .section-head { margin-bottom: 0; }
.product { margin: 0; }
.product-img { background: #f1efea; border-radius: var(--radius); aspect-ratio: 4/5; overflow: hidden; }
.product-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.product:hover .product-img img { transform: scale(1.04); }
.product h4 { font-size: 15.5px; margin-top: 14px; font-weight: 600; }
.product span { font-size: 13.5px; color: var(--muted); }
@keyframes fadeUp { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
.fabrics { margin-top: 56px; display: grid; grid-template-columns: auto 1fr; gap: 40px; align-items: center; padding: 32px 40px; border: 1px solid var(--line); border-radius: var(--radius-lg); }
.fabrics h4 { font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 12px; }
.chip { padding: 7px 14px; border-radius: 999px; background: var(--bg-warm); font-size: 14px; font-weight: 500; color: var(--ink); }
.fabrics p { font-size: 15.5px; border-left: 1px solid var(--line); padding-left: 40px; }

.caps { margin-top: 20px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; }
.cap { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 20px 26px; background: #fff; }
.cap b { color: var(--ink); font-size: 15.5px; font-weight: 600; }
.tag { font-size: 12px; font-weight: 600; padding: 4px 10px; border-radius: 999px; white-space: nowrap; }
.tag.in { background: rgba(43,182,115,.12); color: #1d8a55; }
.tag.partner { background: var(--bg-warm); color: var(--muted); }

/* ---------- Compliance ---------- */
.comp-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.comp-card { border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 30px 28px; background: #fff; }
.comp-card .why-icon { margin-bottom: 20px; }
.comp-card h3 { font-size: 18.5px; margin-bottom: 10px; }
.comp-card p { font-size: 15px; }
.comp-cta { margin-top: 28px; display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; padding: 28px 32px; border-radius: var(--radius-lg); background: var(--navy-800); color: rgba(255,255,255,.8); }
.comp-cta h3 { color: #fff; font-size: 20px; margin-bottom: 6px; }
.comp-cta p { font-size: 15px; max-width: 720px; }

/* ---------- Process ---------- */
.process { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; counter-reset: step; }
.step { position: relative; }
.step-img { border-radius: var(--radius); overflow: hidden; aspect-ratio: 3/4; position: relative; }
.step-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.step:hover .step-img img { transform: scale(1.05); }
.step-num { position: absolute; left: 16px; top: 16px; background: rgba(14,24,48,.85); color: #fff; font-weight: 700; font-size: 13px; padding: 6px 12px; border-radius: 999px; letter-spacing: .08em; backdrop-filter: blur(4px); }
.step h3 { font-size: 20px; margin: 22px 0 10px; }
.step p { font-size: 15px; }

.floor-video { position: relative; margin-top: 56px; border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 21/9; background: var(--navy-900); box-shadow: var(--shadow-lg); }
.floor-video video { width: 100%; height: 100%; object-fit: cover; display: block; }
.floor-video::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(14,24,48,.75) 0%, rgba(14,24,48,0) 45%); pointer-events: none; }
.fv-cap { position: absolute; left: 32px; right: 32px; bottom: 26px; z-index: 1; color: #fff; display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.fv-cap p { font-size: 16px; color: rgba(255,255,255,.88); }
.fv-live { display: inline-flex; align-items: center; gap: 8px; background: rgba(255,255,255,.14); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); padding: 6px 14px; border-radius: 999px; font-size: 12.5px; font-weight: 600; letter-spacing: .04em; }
.fv-live i { width: 8px; height: 8px; border-radius: 50%; background: #ff4d4d; animation: blink 1.6s infinite; }
@keyframes blink { 50% { opacity: .3; } }
@media (max-width: 720px) {
  .floor-video { aspect-ratio: auto; margin-top: 40px; }
  .floor-video video { aspect-ratio: 16/9; height: auto; }
  .floor-video::after { display: none; }
  .fv-cap { position: static; padding: 16px 18px 18px; gap: 10px; }
  .fv-cap p { font-size: 14px; }
}

/* ---------- Equipment ---------- */
.equip-grid { display: grid; grid-template-columns: 1.35fr 1fr; gap: 64px; align-items: start; }
.equip-groups { display: grid; grid-template-columns: 1fr 1fr; gap: 40px 48px; }
.equip-group h4 { font-size: 12.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--accent-600); font-weight: 700; margin-bottom: 8px; }
.equip-row { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 13px 0; border-bottom: 1px solid var(--line); font-size: 15px; color: var(--ink); }
.equip-row small { color: var(--muted); font-size: 12.5px; margin-left: 6px; }
.equip-row b { font-size: 18px; font-variant-numeric: tabular-nums; }
.equip-total { display: flex; gap: 20px; align-items: center; margin-top: 40px; padding: 24px 28px; background: var(--navy-800); color: #fff; border-radius: var(--radius-lg); }
.equip-total b { font-size: 44px; line-height: 1; letter-spacing: -.02em; color: var(--gold); }
.equip-total span { font-size: 15px; color: rgba(255,255,255,.75); }
.equip-media { display: grid; gap: 16px; position: sticky; top: 110px; }
.equip-media img { border-radius: var(--radius); width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.equip-media .pair { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.equip-media .pair img { aspect-ratio: 3/4; }

/* ---------- Quality ---------- */
.qc-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 80px; align-items: center; }
.qc-media { position: relative; border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 4/5; }
.qc-media img { width: 100%; height: 100%; object-fit: cover; }
.qc-badge { position: absolute; left: 24px; bottom: 24px; right: 24px; background: rgba(14,24,48,.86); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border: 1px solid rgba(255,255,255,.1); border-radius: var(--radius); padding: 22px 24px; display: flex; gap: 22px; align-items: center; }
.qc-badge b { font-size: 48px; color: var(--gold); line-height: 1; letter-spacing: -.03em; }
.qc-badge span { font-size: 14.5px; color: rgba(255,255,255,.8); line-height: 1.5; }
.qc-split { display: flex; gap: 12px; margin: 8px 0 36px; }
.qc-split div { flex: 1; padding: 18px 20px; border: 1px solid rgba(255,255,255,.14); border-radius: var(--radius); }
.qc-split b { display: block; font-size: 28px; color: #fff; }
.qc-split span { font-size: 13.5px; }
.qc-list { display: grid; grid-template-columns: 1fr 1fr; gap: 28px 36px; }
.qc-item { display: flex; gap: 16px; }
.qc-item i { flex-shrink: 0; width: 34px; height: 34px; border-radius: 50%; background: rgba(223,138,44,.16); color: var(--accent); font-style: normal; font-weight: 700; font-size: 14px; display: grid; place-items: center; }
.qc-item h4 { color: #fff; font-size: 16.5px; margin-bottom: 6px; }
.qc-item p { font-size: 14.5px; line-height: 1.6; }

/* ---------- Facility ---------- */
.facility-feats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-top: 2px solid var(--ink); margin-bottom: 56px; }
.feat { padding: 26px 24px 26px 0; }
.feat + .feat { padding-left: 24px; border-left: 1px solid var(--line); }
.feat h4 { font-size: 16.5px; margin-bottom: 8px; }
.feat p { font-size: 14.5px; color: var(--body); }
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 220px; gap: 14px; }
.gallery button { padding: 0; border: 0; border-radius: var(--radius); overflow: hidden; position: relative; background: #ddd; }
.gallery button img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.gallery button:hover img { transform: scale(1.06); }
.gallery button::after { content: attr(data-cap); position: absolute; left: 0; right: 0; bottom: 0; padding: 30px 16px 12px; color: #fff; font-size: 13.5px; font-weight: 600; text-align: left; background: linear-gradient(0deg, rgba(14,24,48,.8), transparent); opacity: 0; transform: translateY(6px); transition: all .3s var(--ease); }
.gallery button:hover::after { opacity: 1; transform: none; }
.g-wide { grid-column: span 2; }
.g-tall { grid-row: span 2; }

/* ---------- Team ---------- */
.org { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.org-card { background: #fff; border: 1px solid var(--line); border-top: 3px solid var(--navy-800); border-radius: var(--radius); padding: 24px 22px; }
.org-card h4 { font-size: 16.5px; margin-bottom: 12px; }
.org-card .big { font-size: 30px; font-weight: 700; color: var(--ink); letter-spacing: -.02em; line-height: 1; margin-bottom: 10px; }
.org-card li { font-size: 14px; list-style: none; padding: 3px 0; }
.org-card ul { margin: 0; padding: 0; }

/* ---------- Work with us ---------- */
.timeline { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; position: relative; margin-bottom: 72px; }
.timeline::before { content: ""; position: absolute; left: 22px; right: 22px; top: 22px; height: 2px; background: repeating-linear-gradient(90deg, var(--accent) 0 8px, transparent 8px 14px); opacity: .45; }
.tl { position: relative; padding-right: 28px; }
.tl-dot { width: 46px; height: 46px; border-radius: 50%; background: var(--accent); color: #fff; font-weight: 700; display: grid; place-items: center; position: relative; box-shadow: 0 0 0 8px var(--bg-warm); }
.tl h3 { font-size: 19px; margin: 24px 0 8px; }
.tl p { font-size: 15px; }
.tl .when { display: inline-block; margin-top: 12px; font-size: 12.5px; font-weight: 600; color: var(--accent-600); background: rgba(223,138,44,.1); padding: 4px 10px; border-radius: 999px; }
.terms { display: grid; grid-template-columns: repeat(3, 1fr); background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; }
.term { padding: 30px 32px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.term:nth-child(3n) { border-right: 0; }
.term:nth-last-child(-n+3) { border-bottom: 0; }
.term dt { font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); font-weight: 600; margin-bottom: 10px; }
.term dd { margin: 0; font-size: 19px; color: var(--ink); font-weight: 700; line-height: 1.35; }
.term dd small { display: block; font-size: 14px; color: var(--muted); font-weight: 500; margin-top: 4px; }

/* ---------- Contact ---------- */
.contact { background: var(--navy-900); color: rgba(255,255,255,.78); position: relative; overflow: hidden; }
.contact::before { content: ""; position: absolute; inset: 0; background: url("../img/sewing-hall-b.jpg") center/cover; opacity: .08; }
.contact .container { position: relative; }
.contact-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: 72px; align-items: start; }
.contact h2 { color: #fff; font-size: clamp(32px, 3.6vw, 50px); margin: 16px 0 20px; }
html[lang="ja"] .contact h2 { font-size: clamp(28px, 3vw, 42px); }
.contact-lead { font-size: 18px; }
.contacts { margin-top: 44px; display: grid; gap: 14px; }
.ccard { display: flex; gap: 18px; padding: 22px 24px; border: 1px solid rgba(255,255,255,.12); border-radius: var(--radius); background: rgba(255,255,255,.03); }
.ccard .ic { width: 42px; height: 42px; border-radius: 10px; background: rgba(223,138,44,.16); color: var(--accent); display: grid; place-items: center; flex-shrink: 0; }
.ccard .ic svg { width: 20px; height: 20px; }
.ccard small { display: block; font-size: 11.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); font-weight: 600; margin-bottom: 4px; }
.ccard b { color: #fff; font-size: 17px; display: block; }
.ccard p { font-size: 14.5px; line-height: 1.7; }
.ccard a:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }

.form { background: #fff; border-radius: var(--radius-lg); padding: 44px; color: var(--body); box-shadow: var(--shadow-lg); }
.form h3 { font-size: 24px; margin-bottom: 6px; }
.form > p { font-size: 15px; margin-bottom: 28px; }
.fgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: 13.5px; font-weight: 600; color: var(--ink); }
.field label i { color: var(--accent-600); font-style: normal; }
.field input, .field select, .field textarea {
  font: inherit; font-size: 15px; color: var(--ink); background: #fbfaf7; border: 1px solid var(--line); border-radius: 8px;
  padding: 12px 14px; transition: border-color .2s, box-shadow .2s, background .2s; width: 100%;
}
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--accent); background: #fff; box-shadow: 0 0 0 4px rgba(223,138,44,.14); }
.field input[type="file"] { padding: 10px; font-size: 14px; }
.field .hint { font-size: 12.5px; color: var(--muted); }
.form-foot { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-top: 26px; flex-wrap: wrap; }
.form-foot small { font-size: 13px; color: var(--muted); max-width: 300px; }
.form-ok { display: none; text-align: center; padding: 40px 10px; }
.form-ok svg { width: 56px; height: 56px; color: #2bb673; margin: 0 auto 18px; }
.form-ok h3 { margin-bottom: 10px; }
.form.sent .form-body { display: none; }
.form.sent .form-ok { display: block; }

/* ---------- Footer ---------- */
.footer { background: #0a1224; color: rgba(255,255,255,.55); padding: 64px 0 32px; font-size: 14px; }
.footer-top { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 48px; padding-bottom: 48px; border-bottom: 1px solid rgba(255,255,255,.08); }
.footer .brand-logo { display: inline-flex; margin-bottom: 20px; }
.footer h5 { color: #fff; font-size: 13px; letter-spacing: .1em; text-transform: uppercase; margin: 0 0 16px; font-weight: 600; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer a:hover { color: #fff; }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; padding-top: 28px; flex-wrap: wrap; font-size: 13px; }

/* ---------- Lightbox ---------- */
.lightbox { position: fixed; inset: 0; z-index: 100; background: rgba(8,13,28,.92); display: none; align-items: center; justify-content: center; padding: 40px; }
.lightbox.open { display: flex; animation: fade .25s; }
.lightbox img { max-width: 100%; max-height: 86vh; border-radius: 8px; box-shadow: 0 30px 80px rgba(0,0,0,.5); }
.lightbox figcaption { color: rgba(255,255,255,.8); text-align: center; margin-top: 14px; font-size: 14px; }
.lb-close, .lb-nav { position: absolute; background: rgba(255,255,255,.1); border: 0; color: #fff; width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; transition: background .2s; }
.lb-close:hover, .lb-nav:hover { background: rgba(255,255,255,.2); }
.lb-close { top: 24px; right: 24px; }
.lb-prev { left: 24px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 24px; top: 50%; transform: translateY(-50%); }
.lb-close svg, .lb-nav svg { width: 22px; height: 22px; }
@keyframes fade { from { opacity: 0; } }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .08s; } .reveal.d2 { transition-delay: .16s; } .reveal.d3 { transition-delay: .24s; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero-bg { animation: none; transform: none; }
  html { scroll-behavior: auto; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1440px) {
  .brand-name { display: none; }
  .header .container { gap: 20px; }
}
@media (max-width: 1240px) {
  .nav a { padding: 8px 8px; font-size: 13.5px; }
  .header .btn { padding: 9px 14px; font-size: 13.5px; }
}
@media (max-width: 1024px) {
  .section { padding: 96px 0; }
  .nav, .header .btn { display: none; }
  .menu-toggle { display: block; }
  .header-actions { margin-left: auto; }
  .nav.open { display: flex; position: fixed; top: 76px; left: 0; right: 0; bottom: 0; flex-direction: column; background: #fff; padding: 20px 28px; gap: 0; overflow-y: auto; }
  .nav.open a { color: var(--ink); font-size: 18px; padding: 16px 0; border-bottom: 1px solid var(--line); border-radius: 0; background: none; }
  .nav.open a.nav-cta { display: flex; justify-content: center; margin-top: 24px; background: var(--accent); color: #fff; border: 0; border-radius: 999px; font-weight: 600; }
  .header.menu-open { background: #fff; }
  .header.menu-open .brand-name, .header.menu-open .menu-toggle { color: var(--ink); }
  .header.menu-open .lang { border-color: var(--line); }
  .header.menu-open .lang button { color: var(--muted); }
  .header.menu-open .lang button.on { background: var(--navy-800); color: #fff; }
  .hero-stats .container { grid-template-columns: repeat(3, 1fr); }
  .stat:nth-child(4) { border-left: 0; padding-left: 0; }
  .stat:nth-child(n+4) { border-top: 1px solid rgba(255,255,255,.1); }
  .about-grid, .qc-grid, .contact-grid, .equip-grid { grid-template-columns: 1fr; gap: 56px; }
  .about-media { max-width: 560px; }
  .why-grid, .comp-grid, .caps { grid-template-columns: repeat(2, 1fr); }
  .duty { grid-template-columns: 1fr; }
  .product-grid { grid-template-columns: repeat(3, 1fr); }
  .process { grid-template-columns: repeat(2, 1fr); row-gap: 48px; }
  .equip-media { position: static; grid-template-columns: 1fr 1fr; }
  .equip-media > img { aspect-ratio: 3/4; height: 100%; }
  .qc-media { aspect-ratio: 16/10; }
  .org { grid-template-columns: repeat(3, 1fr); }
  .facility-feats { grid-template-columns: repeat(2, 1fr); }
  .feat:nth-child(3) { padding-left: 0; border-left: 0; }
  .split-head { grid-template-columns: 1fr; gap: 24px; }
  .footer-top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  .container { padding: 0 20px; }
  .section { padding: 76px 0; }
  .section-head { margin-bottom: 40px; }
  .hero-content { padding: 120px 0 40px; }
  .hero-badges { gap: 12px 22px; }
  .hero-stats .container { grid-template-columns: repeat(2, 1fr); }
  .stat { padding: 18px 14px; }
  .stat:nth-child(odd) { border-left: 0; padding-left: 0; }
  .stat:nth-child(4) { border-left: 1px solid rgba(255,255,255,.1); padding-left: 14px; }
  .stat:nth-child(n+3) { border-top: 1px solid rgba(255,255,255,.1); }
  .about-media .inset { right: -8px; bottom: -24px; }
  .fact { grid-template-columns: 1fr; gap: 2px; }
  .why-grid, .qc-list, .equip-groups, .fgrid, .comp-grid, .caps { grid-template-columns: 1fr; }
  .cap { padding: 16px 20px; }
  .comp-cta { padding: 24px; }
  .duty-intro, .duty-table-wrap { padding: 32px 24px; }
  .product-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .prod-head > div:last-child { width: 100%; }
  .tabs { flex-wrap: nowrap; overflow-x: auto; max-width: 100%; scrollbar-width: none; }
  .tabs::-webkit-scrollbar { display: none; }
  .tab { white-space: nowrap; padding: 9px 16px; }
  .fabrics { grid-template-columns: 1fr; gap: 20px; padding: 26px; }
  .fabrics p { border-left: 0; padding-left: 0; }
  .process { grid-template-columns: 1fr 1fr; gap: 32px 14px; }
  .step h3 { font-size: 17px; }
  .org { grid-template-columns: 1fr 1fr; }
  .facility-feats { grid-template-columns: 1fr; }
  .feat, .feat + .feat { padding: 20px 0; border-left: 0; border-bottom: 1px solid var(--line); }
  .gallery { grid-template-columns: 1fr 1fr; grid-auto-rows: 160px; }
  .g-wide { grid-column: span 2; }
  .timeline { grid-template-columns: 1fr; gap: 32px; }
  .timeline::before { left: 22px; right: auto; top: 22px; bottom: 22px; width: 2px; height: auto; background: repeating-linear-gradient(180deg, var(--accent) 0 8px, transparent 8px 14px); }
  .tl { padding-left: 70px; padding-right: 0; }
  .tl-dot { position: absolute; left: 0; top: 0; }
  .tl h3 { margin-top: 8px; }
  .terms { grid-template-columns: 1fr; }
  .term, .term:nth-child(3n) { border-right: 0; border-bottom: 1px solid var(--line); }
  .term:last-child { border-bottom: 0; }
  .form { padding: 28px 22px; }
  .footer-top { grid-template-columns: 1fr; }
  .lightbox { padding: 16px; }
  .lb-nav { display: none; }
}
