/* ============================================================
   三勝・積勝グループ 官网 — 与 OA 系统同一套品牌色
   集团 Logo 规范：三勝ブルー #1E50B4 / 勝ライム #8CC43C / 墨色 #18202E
   ============================================================ */
:root {
  --blue-900: #0e2557;
  --blue-800: #15336f;
  --blue-700: #1e50b4;   /* 三勝ブルー */
  --blue-600: #2c62c9;
  --blue-100: #dfe8f8;
  --blue-50:  #f1f5fc;
  --lime:     #8cc43c;   /* 勝ライム */
  --lime-on-blue: #a6da55;
  --ink:      #18202e;   /* 墨色 */
  --gray:     #5b6576;
  --gray-2:   #8a93a3;
  --line:     #e3e8f0;
  --bg-gray:  #f5f7fa;
  --white:    #ffffff;
  --radius:   6px;
  --radius-lg: 10px;
  --shadow:   0 8px 28px rgba(14, 37, 87, .10);
  --skew:     -18deg;    /* Logo 斜条角度 */
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; }
body {
  font-family: "Noto Sans JP", "Hiragino Sans", "Yu Gothic", sans-serif;
  color: var(--ink); background: var(--white);
  line-height: 1.85; letter-spacing: .03em;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
.container { width: min(1180px, 100% - 32px); margin-inline: auto; }
.pc { display: inline; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 32px; border-radius: var(--radius); font: inherit; font-size: 15px; font-weight: 700;
  letter-spacing: .06em; cursor: pointer; border: 1.5px solid transparent; transition: .2s;
}
.btn-sm { padding: 8px 16px; font-size: 13px; }
.btn svg { width: 16px; height: 16px; }
.btn-blue { background: var(--blue-700); color: var(--white); }
.btn-blue:hover { background: var(--blue-800); }
.btn-lime { background: var(--lime-on-blue); color: var(--blue-900); }
.btn-lime:hover { background: #b9e66f; }
.btn-ghost-white { border-color: rgba(255,255,255,.5); color: var(--white); }
.btn-ghost-white:hover { background: rgba(255,255,255,.1); border-color: var(--white); }
.btn-outline { border-color: var(--blue-700); color: var(--blue-700); }
.btn-outline:hover { background: var(--blue-700); color: var(--white); }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--white); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; gap: 28px; height: 72px; }
.logo { margin-right: auto; display: inline-flex; align-items: center; gap: 10px; }
.logo-icon { height: 36px; width: auto; }
.logo-text { display: flex; flex-direction: column; line-height: 1.15; }
.logo-text b { font-size: 20px; font-weight: 900; color: var(--ink); letter-spacing: .08em; }
.logo-text small { font-family: Inter, sans-serif; font-size: 9px; font-weight: 700; letter-spacing: .22em; color: var(--gray); }
.site-footer .logo-text b { color: var(--white); }
.site-footer .logo-text small { color: #8a93a3; }
.logo-full { height: 40px; width: auto; }
.logo-mark { display: none; height: 34px; width: auto; }
.nav { display: flex; gap: 26px; font-size: 14px; font-weight: 500; }
.nav a { color: var(--ink); position: relative; padding: 4px 0; white-space: nowrap; }
.nav a::after { content: ""; position: absolute; left: 0; bottom: -2px; height: 2px; width: 0; background: var(--lime); transition: width .2s; }
.nav a:hover::after { width: 100%; }
/* 导航引导：带框标签，悬停 / 当前区块 = 蓝底白字 */
@media (min-width: 901px) {
  /* 一条浅灰导航轨道，当前项为白色浮起块 */
  .nav { gap: 2px; align-items: center; padding: 4px; background: var(--bg-gray); border: 1px solid var(--line); border-radius: 12px; }
  .nav a:not(.nav-contact) { padding: 8px 18px; border-radius: 9px; color: var(--gray); font-weight: 700; transition: background .2s, color .2s, box-shadow .2s; }
  .nav a::after { display: none; }
  .nav a:hover { color: var(--blue-700); background: rgba(255,255,255,.6); }
  .nav a.on { color: var(--blue-700); background: var(--white); box-shadow: 0 1px 2px rgba(24,32,46,.08), 0 2px 8px rgba(30,80,180,.10); }
}
.nav-contact { display: none; }
.nav-toggle { display: none; background: none; border: 0; width: 40px; height: 40px; cursor: pointer; }
.nav-toggle span { display: block; height: 2px; background: var(--ink); margin: 6px 8px; transition: .2s; }

/* Language switch */
.lang { display: inline-flex; border: 1px solid var(--line); border-radius: 999px; padding: 3px; background: var(--bg-gray); flex-shrink: 0; }
.lang button { font: inherit; font-size: 12px; font-weight: 700; color: var(--gray); background: none; border: 0; border-radius: 999px; padding: 5px 11px; cursor: pointer; transition: .15s; white-space: nowrap; }
.lang button:hover { color: var(--blue-700); }
.lang button.on { background: var(--blue-700); color: var(--white); }
:lang(zh-CN) body, html:lang(zh-CN) { font-family: "Noto Sans SC", "Noto Sans JP", "Microsoft YaHei", sans-serif; }

/* ---------- Hero ---------- */
.hero { position: relative; background: var(--blue-900); color: var(--white); overflow: hidden; }
.hero-bars { position: absolute; right: -6%; top: 0; bottom: 0; width: 46%; display: flex; flex-direction: column-reverse; justify-content: center; gap: 22px; opacity: .14; pointer-events: none; }
.hero-bars i { display: block; height: 70px; background: var(--blue-600); transform: skewX(var(--skew)); }
.hero-bars i:nth-child(2) { margin-left: 8%; }
.hero-bars i:nth-child(3) { margin-left: 16%; }
.hero-bars i.lime { background: var(--lime-on-blue); margin-left: 34%; height: 40px; }
.hero-inner { position: relative; display: grid; grid-template-columns: 1fr 1.05fr; gap: 56px; align-items: center; padding: 96px 0 104px; }
.kicker { display: flex; align-items: center; gap: 12px; font-family: Inter, sans-serif; font-size: 12px; font-weight: 700; letter-spacing: .28em; color: var(--lime-on-blue); margin-bottom: 22px; }
.kicker-bar { width: 32px; height: 4px; background: var(--lime-on-blue); transform: skewX(var(--skew)); }
.hero h1 { font-size: clamp(30px, 4.2vw, 50px); line-height: 1.45; font-weight: 900; letter-spacing: .04em; }
.hero h1 em { font-style: normal; color: var(--lime-on-blue); }
.hero .lead { margin-top: 24px; font-size: 15px; color: rgba(255,255,255,.78); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 38px; }

/* OA mock */
.hero-visual { position: relative; padding-bottom: 40px; }
/* 実画面スクリーンショット：PC ウィンドウ + スマホ端末 */
.hero-visual { padding: 0 0 56px; }
.shot-pc { margin: 0; border-radius: 10px; overflow: hidden; background: var(--white); box-shadow: 0 2px 0 rgba(255,255,255,.08) inset, 0 40px 80px -20px rgba(0,0,0,.55), 0 18px 36px -18px rgba(0,0,0,.5); transform: perspective(1800px) rotateY(-6deg) rotateX(2deg); transform-origin: left center; }
.shot-bar { display: flex; align-items: center; gap: 6px; height: 26px; padding: 0 12px; background: #e9edf3; border-bottom: 1px solid #d6dce5; }
.shot-bar i { width: 9px; height: 9px; border-radius: 50%; background: #c5ccd7; }
.shot-bar i:first-child { background: #ff6159; } .shot-bar i:nth-child(2) { background: #ffbd2e; } .shot-bar i:nth-child(3) { background: #28c941; }
.shot-pc img { display: block; width: 100%; height: auto; }
.shot-phone { position: absolute; right: -18px; bottom: 0; width: 31%; max-width: 210px; margin: 0; padding: 7px; background: #0b1424; border-radius: 30px; box-shadow: 0 0 0 1.5px #2a3550 inset, 0 30px 60px -10px rgba(0,0,0,.65), 0 10px 20px rgba(0,0,0,.35); }
.shot-phone::before { content: ""; position: absolute; top: 13px; left: 50%; width: 30%; height: 12px; transform: translateX(-50%); background: #0b1424; border-radius: 0 0 9px 9px; z-index: 1; }
.shot-phone-screen { border-radius: 24px; overflow: hidden; aspect-ratio: 390 / 760; background: #f2f5fa; }
.shot-phone-screen img { display: block; width: 100%; height: auto; }
.mock { background: var(--white); color: var(--ink); border-radius: var(--radius-lg); box-shadow: 0 30px 60px rgba(0,0,0,.35); overflow: hidden; font-size: 12px; }
.mock-top { display: flex; align-items: center; gap: 10px; background: var(--blue-700); color: var(--white); padding: 10px 14px; font-weight: 700; }
.mock-mark { height: 18px; width: auto; }
.mock-dots { margin-left: auto; display: flex; gap: 5px; }
.mock-dots i { width: 8px; height: 8px; border-radius: 50%; background: rgba(255,255,255,.4); }
.mock-body { display: grid; grid-template-columns: 96px 1fr; min-height: 260px; }
.mock-side { background: #1b2433; padding: 10px 0; display: flex; flex-direction: column; }
.mock-side b { font-weight: 500; color: #aeb7c6; padding: 8px 12px; border-left: 3px solid transparent; }
.mock-side b.on { color: var(--white); background: rgba(30,80,180,.35); border-left-color: var(--lime-on-blue); }
.mock-main { padding: 14px; background: var(--bg-gray); }
.mock-kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 12px; }
.mock-kpis div { background: var(--white); border: 1px solid var(--line); border-radius: 4px; padding: 8px 10px; }
.mock-kpis small { display: block; color: var(--gray-2); font-size: 10px; }
.mock-kpis strong { font-family: Inter, sans-serif; font-size: 20px; color: var(--blue-700); }
.gantt { background: var(--white); border: 1px solid var(--line); border-radius: 4px; padding: 8px 10px; display: grid; gap: 8px; }
.g-row { display: grid; grid-template-columns: 62px 1fr; align-items: center; gap: 8px; }
.g-row span { font-size: 11px; color: var(--gray); white-space: nowrap; }
.g-track { position: relative; height: 14px; background: repeating-linear-gradient(90deg, var(--bg-gray) 0 calc(10% - 1px), var(--line) calc(10% - 1px) 10%); border-radius: 2px; }
.g-track i { position: absolute; top: 2px; bottom: 2px; background: var(--blue-700); border-radius: 2px; }
.g-track i.l { background: var(--lime); }
.mock-phone { position: absolute; right: -10px; bottom: 0; width: 150px; background: var(--white); color: var(--ink); border-radius: 18px; border: 5px solid #0b1424; box-shadow: var(--shadow); padding: 10px; font-size: 11px; }
.mp-head { font-weight: 700; color: var(--blue-700); margin-bottom: 6px; }
.mp-card { background: var(--blue-50); border-radius: 6px; padding: 6px 8px; margin-bottom: 6px; }
.mp-card b { display: block; font-size: 11px; }
.mp-card small { color: var(--gray); font-size: 10px; }
.mp-btn { background: var(--blue-700); color: var(--white); text-align: center; border-radius: 6px; padding: 6px; font-weight: 700; }

/* ---------- Sections ---------- */
.section { padding: 104px 0; }
.section-gray { background: var(--bg-gray); }
.section-navy { background: var(--blue-900); color: var(--white); }
.sec-head { text-align: center; margin-bottom: 56px; }
.sec-en { font-family: Inter, sans-serif; font-size: 13px; font-weight: 800; letter-spacing: .3em; color: var(--blue-700); display: inline-flex; align-items: center; gap: 10px; }
.sec-en::before { content: ""; width: 22px; height: 4px; background: var(--lime); transform: skewX(var(--skew)); }
.sec-head h2, .split-text h2, .contact h2 { font-size: clamp(26px, 3vw, 36px); font-weight: 900; letter-spacing: .06em; margin-top: 8px; line-height: 1.4; }
.sec-lead { margin-top: 14px; color: var(--gray); font-size: 15px; }
.sec-head.light .sec-en { color: var(--lime-on-blue); }
.sec-head.light .sec-en::before { background: var(--lime-on-blue); }
.sec-head.light .sec-lead { color: rgba(255,255,255,.72); }

/* Business cards */
.biz-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.biz-card { position: relative; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 36px 26px 30px; display: flex; flex-direction: column; transition: .25s; overflow: hidden; }
.biz-card::before { content: ""; position: absolute; left: 0; top: 0; height: 4px; width: 100%; background: var(--blue-700); transform: scaleX(0); transform-origin: left; transition: transform .25s; }
.biz-card:hover { box-shadow: var(--shadow); transform: translateY(-3px); border-color: transparent; }
.biz-card:hover::before { transform: scaleX(1); }
.biz-card.main { border: 2px solid var(--blue-700); }
.biz-card.main .biz-icon { background: var(--blue-700); color: var(--white); }
.biz-tag { position: absolute; top: 0; left: 22px; background: var(--lime); color: var(--blue-900); font-size: 11px; font-weight: 700; padding: 3px 10px; border-radius: 0 0 4px 4px; letter-spacing: .08em; }
.split-text h2 small { display: block; font-size: 16px; font-weight: 700; color: var(--blue-700); letter-spacing: .04em; margin-top: 6px; }
.biz-no { position: absolute; top: 18px; right: 22px; font-family: Inter, sans-serif; font-weight: 800; font-size: 34px; color: var(--blue-50); line-height: 1; }
.biz-icon { width: 58px; height: 58px; border-radius: var(--radius); background: var(--blue-50); color: var(--blue-700); display: grid; place-items: center; margin-bottom: 22px; }
.biz-icon svg { width: 30px; height: 30px; }
.biz-card h3 { font-size: 19px; font-weight: 700; line-height: 1.5; margin-bottom: 12px; }
.biz-card p { font-size: 14px; color: var(--gray); flex: 1; }
.biz-more { margin-top: 20px; font-size: 13px; font-weight: 700; color: var(--blue-700); display: inline-flex; align-items: center; gap: 6px; }
.biz-more::after { content: "→"; transition: transform .2s; }
.biz-card:hover .biz-more::after { transform: translateX(4px); }

/* OA */
.oa-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.feat { background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.12); border-radius: var(--radius-lg); padding: 28px 26px; transition: .2s; }
.feat:hover { background: rgba(255,255,255,.08); border-color: rgba(166,218,85,.5); }
.feat-ic { display: grid; place-items: center; width: 44px; height: 44px; border-radius: var(--radius); background: var(--blue-700); color: var(--white); margin-bottom: 16px; }
.feat-ic svg { width: 22px; height: 22px; }
.feat h4 { font-size: 17px; font-weight: 700; margin-bottom: 8px; }
.feat p { font-size: 14px; color: rgba(255,255,255,.7); }
.oa-steps { margin-top: 56px; background: var(--white); color: var(--ink); border-radius: var(--radius-lg); padding: 40px; display: grid; grid-template-columns: auto 1fr auto; gap: 32px; align-items: center; }
.oa-steps h3 { font-size: 20px; font-weight: 900; writing-mode: horizontal-tb; }
.oa-steps ol { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; }
.oa-steps li { position: relative; padding: 0 18px; border-left: 1px solid var(--line); }
.oa-steps li span { font-family: Inter, sans-serif; font-weight: 800; color: var(--lime); font-size: 14px; display: block; }
.oa-steps li b { display: block; font-size: 15px; }
.oa-steps li small { color: var(--gray); font-size: 12px; line-height: 1.6; display: block; margin-top: 2px; }

/* Split sections */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.split.reverse .split-visual { order: 2; }
.split.solo { grid-template-columns: 1fr; max-width: 820px; text-align: center; }
.split.solo .checks { justify-content: center; text-align: left; width: fit-content; margin-inline: auto; margin-bottom: 32px; }
.split-text .body { margin: 18px 0 22px; color: var(--gray); font-size: 15px; }
.checks { list-style: none; display: grid; gap: 10px; margin-bottom: 32px; }
.checks li { position: relative; padding-left: 28px; font-size: 15px; }
.checks li::before { content: ""; position: absolute; left: 0; top: .62em; width: 14px; height: 6px; background: var(--lime); transform: skewX(var(--skew)); }
.split-visual { position: relative; }
.ph { border-radius: var(--radius-lg); display: grid; place-items: start; padding: 22px; color: rgba(255,255,255,.75); font-size: 13px; letter-spacing: .2em; }
.ph-blue { aspect-ratio: 4 / 3; background: var(--blue-700); background-image: repeating-linear-gradient(-72deg, transparent 0 34px, rgba(255,255,255,.05) 34px 68px); }
.ph-small { position: absolute; right: -24px; bottom: -32px; width: 44%; aspect-ratio: 1; background: var(--blue-900); border: 6px solid var(--white); }
.ph span::before { content: "PHOTO｜"; color: var(--lime-on-blue); }

.used-cats { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.used-cats div { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 30px 24px; position: relative; overflow: hidden; }
.used-cats div::after { content: ""; position: absolute; right: -10px; bottom: 16px; width: 60px; height: 10px; background: var(--blue-100); transform: skewX(var(--skew)); }
.used-cats div:nth-child(2)::after, .used-cats div:nth-child(3)::after { background: var(--lime); opacity: .45; }
.used-cats b { display: block; font-size: 17px; color: var(--blue-700); }
.used-cats small { color: var(--gray); font-size: 13px; }
/* 中古販売：家具製造の下にまとめる */
.used-block { max-width: 980px; margin-top: 72px; padding-top: 56px; border-top: 1px solid var(--line); text-align: center; }
.used-head h3 { font-size: clamp(22px, 2.4vw, 28px); font-weight: 900; letter-spacing: .06em; margin-top: 8px; }
.used-head .body { margin: 14px auto 28px; max-width: 720px; color: var(--gray); font-size: 15px; }
.used-block .used-cats { grid-template-columns: repeat(4, minmax(0, 1fr)); text-align: left; }
.used-block .used-cats div { background: var(--bg-gray); padding: 24px 20px 34px; }
.used-block .checks { width: fit-content; margin: 28px auto; text-align: left; }

/* Strengths */
.strengths { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; }
.strengths div { padding-top: 6px; }
.s-bar { display: block; width: 48px; height: 6px; background: var(--blue-700); transform: skewX(var(--skew)); margin-bottom: 20px; box-shadow: 18px 0 0 var(--lime); }
.strengths h4 { font-size: 19px; font-weight: 700; margin-bottom: 8px; }
.strengths p { font-size: 14px; color: var(--gray); }

/* Company */
.company-grid { display: grid; grid-template-columns: 1fr; gap: 24px; max-width: 760px; margin-inline: auto; }
.company-card { background: var(--white); border-radius: var(--radius-lg); padding: 34px 36px; border-top: 4px solid var(--blue-700); }
.company-card:nth-child(2) { border-top-color: var(--lime); }
.company-card h3 { font-size: 20px; font-weight: 900; margin-bottom: 14px; }
.company-card dl div { display: grid; grid-template-columns: 110px 1fr; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.company-card dt { color: var(--blue-700); font-weight: 700; }

/* Contact */
.contact { background: var(--blue-700); color: var(--white); position: relative; overflow: hidden; }
.contact::before { content: ""; position: absolute; left: -80px; bottom: 40px; width: 320px; height: 56px; background: rgba(255,255,255,.07); transform: skewX(var(--skew)); box-shadow: 40px -80px 0 rgba(255,255,255,.05); }
.contact .sec-en { color: var(--lime-on-blue); }
.contact .sec-en::before { background: var(--lime-on-blue); }
.contact-inner { position: relative; display: grid; grid-template-columns: 1fr 1.2fr; gap: 64px; align-items: start; }
.contact-text > p:not(.sec-en):not(.tel) { margin-top: 16px; color: rgba(255,255,255,.82); }
.co-mini { margin-top: 26px; font-size: 13px; line-height: 1.7; }
.co-mini div { padding: 10px 0; border-bottom: 1px solid rgba(255,255,255,.15); }
.co-mini dt { font-weight: 700; color: var(--lime-on-blue); }
.co-mini dd { color: rgba(255,255,255,.85); }
.tel-list { margin-top: 30px; display: grid; gap: 14px; }
.tel { display: block; font-family: Inter, sans-serif; font-weight: 700; letter-spacing: .1em; color: var(--white); border-left: 4px solid var(--lime-on-blue); padding-left: 14px; line-height: 1.4; }
.tel strong { font-size: 28px; margin-left: 6px; }
.tel small { display: block; font-family: "Noto Sans JP", sans-serif; font-weight: 500; font-size: 12px; color: rgba(255,255,255,.7); letter-spacing: .05em; }
.tel-link { color: var(--blue-700); font-weight: 700; word-break: break-all; }
.tel.mail strong { font-size: 20px; margin-left: 0; letter-spacing: .02em; word-break: break-all; }
.footer-addr { margin-top: 28px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.1); font-size: 12px; line-height: 1.9; color: #8a93a3; }
.footer-addr b { color: #c9d0db; font-weight: 700; }
.contact-form { background: var(--white); color: var(--ink); border-radius: var(--radius-lg); padding: 36px; display: grid; gap: 16px; box-shadow: var(--shadow); }
.contact-form label { display: grid; gap: 6px; font-size: 13px; font-weight: 700; color: var(--ink); }
.req { display: inline-block; margin-left: 6px; font-size: 10px; font-weight: 700; color: var(--white); background: var(--blue-700); border-radius: 2px; padding: 0 5px; vertical-align: 1px; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.contact-form input, .contact-form select, .contact-form textarea { font: inherit; font-weight: 400; font-size: 14px; padding: 11px 12px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg-gray); color: var(--ink); width: 100%; }
.contact-form :is(input, select, textarea):focus { outline: 2px solid var(--blue-700); outline-offset: -1px; background: var(--white); }
.contact-form .btn { justify-self: start; }
.form-note { font-size: 12px; color: #c0392b; }

/* Footer */
.site-footer { background: var(--ink); color: #aeb7c6; padding: 44px 0 36px; font-size: 13px; }
.footer-inner { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 40px; }
.footer-logo { margin: 0; }
.site-footer nav { display: flex; gap: 22px; flex-wrap: wrap; justify-content: center; }
.site-footer nav a:hover { color: var(--white); }

/* Reveal */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s, transform .6s; }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1280px) {
  .header-inner { gap: 18px; }
  .nav { gap: 18px; font-size: 13px; }
  .logo-full { height: 34px; }
}
@media (max-width: 1100px) {
  .biz-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .oa-steps { grid-template-columns: 1fr; }
}
@media (max-width: 900px) {
  .pc { display: none; }
  .nav-toggle { display: block; }
  .header-login { display: none; }
  .header-inner { gap: 10px; }
  .nav { position: absolute; top: 72px; left: 0; right: 0; flex-direction: column; gap: 0; background: var(--white); border-bottom: 1px solid var(--line); max-height: 0; overflow: hidden; transition: max-height .3s; }
  .nav.open { max-height: 480px; }
  .nav a { padding: 15px 16px; border-top: 1px solid var(--line); border-left: 4px solid transparent; font-weight: 700; }
  .nav a.on { border-left-color: var(--blue-700); color: var(--blue-700); background: var(--bg-gray); }
  .nav a::after { display: none; }
  .nav-contact { display: block; color: var(--blue-700) !important; font-weight: 700; }
  .hero-inner { grid-template-columns: 1fr; padding: 64px 0 72px; gap: 48px; }
  .hero-bars { width: 80%; }
  .mock-phone { right: 0; }
  .shot-pc { transform: none; width: 88%; }
  .shot-phone { right: 0; width: 30%; }
  .section { padding: 72px 0; }
  .oa-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .split { grid-template-columns: 1fr; gap: 48px; }
  .split.reverse .split-visual { order: 0; }
  .ph-small { right: 0; }
  .strengths { grid-template-columns: 1fr; gap: 28px; }
  .company-grid { grid-template-columns: 1fr; }
  .contact-inner { grid-template-columns: 1fr; gap: 36px; }
  .footer-inner { grid-template-columns: 1fr; justify-items: center; gap: 20px; text-align: center; }
}
@media (max-width: 900px) {
  .used-block .used-cats { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .logo-text small { display: none; }
  .logo-text b { font-size: 17px; }
  .logo-icon { height: 30px; }
  .lang button { padding: 5px 8px; }
  .biz-grid, .oa-grid { grid-template-columns: 1fr; }
  .oa-steps { padding: 28px 22px; }
  .oa-steps ol { grid-template-columns: 1fr 1fr; row-gap: 18px; }
  .mock-body { grid-template-columns: 72px 1fr; }
  .mock-side b { padding: 7px 8px; font-size: 11px; }
  .mock-phone { display: none; }
  .shot-pc { width: 84%; }
  .shot-phone { width: 34%; padding: 5px; border-radius: 22px; }
  .shot-phone-screen { border-radius: 18px; }
  .shot-phone::before { top: 9px; height: 9px; }
  .hero-visual { padding-bottom: 36px; }
  .row2 { grid-template-columns: 1fr; }
  .contact-form { padding: 24px; }
  .company-card { padding: 26px 22px; }
  .company-card dl div { grid-template-columns: 1fr; gap: 2px; }
  .hero-actions .btn { flex: 1; }
}

/* ============================================================
   OA を主役に：Hero の要点 / 導入機器（3D 製品図・データの流れ）
   ============================================================ */
.hero-points { list-style: none; display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 28px; font-size: 13px; font-weight: 700; color: rgba(255,255,255,.86); }
.hero-points li { position: relative; padding-left: 22px; }
.hero-points li::before { content: ""; position: absolute; left: 0; top: .6em; width: 12px; height: 6px; background: var(--lime-on-blue); transform: skewX(var(--skew)); }

.hw { background: linear-gradient(180deg, var(--white) 0%, var(--blue-50) 100%); }

/* データの流れ */
.flow { display: grid; grid-template-columns: 196px minmax(50px, 1fr) 196px minmax(50px, 1fr) minmax(400px, 2.6fr); align-items: center; gap: 8px;
  background: var(--white); border: 1px solid var(--line); border-radius: 16px; padding: 36px 36px 30px; box-shadow: var(--shadow); }
.flow-node { text-align: center; }
.flow-node img { height: 118px; width: auto; margin: 0 auto 10px; }
.flow-node.main img { height: 150px; }
.flow-node b, .flow-dest b { display: block; font-size: 15px; font-weight: 900; color: var(--ink); }
.flow-node small, .flow-dest small { display: block; font-size: 12px; color: var(--gray); line-height: 1.6; }
.flow-node.main b { color: var(--blue-700); }
.flow-arrow { position: relative; height: 3px; margin: 0 6px 34px; border-radius: 2px;
  background: repeating-linear-gradient(90deg, var(--lime) 0 10px, transparent 10px 18px); background-size: 36px 3px; animation: flowdash 1.2s linear infinite; }
.flow-arrow::after { content: ""; position: absolute; right: -4px; top: 50%; transform: translateY(-50%); border: 7px solid transparent; border-left: 10px solid var(--lime); border-right: 0; }
.flow-arrow span { position: absolute; left: 50%; bottom: 10px; transform: translateX(-50%); white-space: nowrap; font-size: 11px; font-weight: 700; color: var(--blue-700); background: var(--blue-50); padding: 2px 10px; border-radius: 999px; }
@keyframes flowdash { to { background-position: 36px 0; } }
.flow-dests { position: relative; display: grid; gap: 12px; padding-left: 26px; }
.flow-dests::before { content: ""; position: absolute; left: 0; top: 16%; bottom: 16%; width: 3px; background: var(--lime); border-radius: 2px; }
.flow-dest { position: relative; display: grid; grid-template-columns: 92px 1fr; align-items: center; gap: 12px; background: var(--bg-gray); border-radius: 12px; padding: 8px 14px 8px 8px; }
.flow-dest::before { content: ""; position: absolute; left: -26px; top: 50%; width: 18px; height: 3px; background: var(--lime); }
.flow-dest::after { content: ""; position: absolute; left: -10px; top: 50%; transform: translateY(-50%); border: 6px solid transparent; border-left: 8px solid var(--lime); border-right: 0; }
.flow-dest img { height: 70px; width: 92px; object-fit: contain; }
.flow-dest em { font-style: normal; font-family: Inter, sans-serif; font-weight: 800; font-size: 11px; color: var(--white); background: var(--blue-700); border-radius: 4px; padding: 0 6px; margin-right: 6px; vertical-align: 2px; }
.flow-dest b { display: inline; }
.flow-fn { list-style: none; display: inline-block; text-align: left; margin: 6px 0 0; padding: 0; }
.flow-fn li { position: relative; padding-left: 13px; font-size: 12px; line-height: 1.55; color: var(--gray); margin-top: 2px; }
.flow-fn li::before { content: ""; position: absolute; left: 1px; top: .62em; width: 6px; height: 6px; border-radius: 50%; background: var(--lime); }
.flow-dest .flow-fn { display: block; margin-top: 4px; }
.flow-dest { align-items: start; padding-top: 10px; padding-bottom: 10px; }
.flow-dest img { align-self: center; }
.flow-rule { list-style: none; display: flex; justify-content: center; gap: 14px; margin: 24px 0 64px; flex-wrap: wrap; }
.flow-rule li { display: flex; align-items: baseline; gap: 6px; background: var(--white); border: 1px solid var(--line); border-radius: 999px; padding: 6px 18px; font-size: 13px; font-weight: 700; color: var(--gray); }
.flow-rule strong { font-family: Inter, sans-serif; font-size: 22px; font-weight: 800; color: var(--blue-700); }

/* 機器ラインナップ */
.hw-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.hw-card { position: relative; background: var(--white); border: 1px solid var(--line); border-radius: 14px; padding: 22px 22px 24px; transition: .25s; }
.hw-card:hover { box-shadow: var(--shadow); transform: translateY(-3px); border-color: transparent; }
.hw-tag { position: absolute; top: 14px; left: 14px; z-index: 1; font-size: 11px; font-weight: 700; letter-spacing: .06em; padding: 2px 10px; border-radius: 999px; background: var(--lime); color: var(--blue-900); }
.hw-tag.opt { background: var(--blue-100); color: var(--blue-700); }
.hw-img { height: 170px; display: grid; place-items: center; margin: 6px 0 14px; border-radius: 10px; background: radial-gradient(ellipse at 50% 60%, var(--blue-50) 0%, rgba(241,245,252,0) 70%); }
.hw-img img { max-height: 150px; width: auto; transition: transform .35s; }
.hw-card:hover .hw-img img { transform: translateY(-6px) scale(1.04); }
.hw-card h3 { font-size: 16px; font-weight: 900; line-height: 1.5; margin-bottom: 10px; }
.hw-card ul { list-style: none; display: grid; gap: 6px; }
.hw-card li { position: relative; padding-left: 18px; font-size: 13px; color: var(--gray); line-height: 1.6; }
.hw-card li::before { content: ""; position: absolute; left: 0; top: .6em; width: 9px; height: 5px; background: var(--lime); transform: skewX(var(--skew)); }
.hw-foot { margin-top: 36px; display: flex; align-items: center; justify-content: center; gap: 28px; flex-wrap: wrap; text-align: center; }
.hw-foot p { font-size: 13px; color: var(--gray); max-width: 560px; }

@media (max-width: 1100px) {
  .flow { grid-template-columns: 1fr; justify-items: center; padding: 30px 22px; gap: 4px; }
  .flow-arrow { width: 3px; height: 56px; margin: 6px 0 18px; background: repeating-linear-gradient(180deg, var(--lime) 0 10px, transparent 10px 18px); background-size: 3px 36px; animation-name: flowdashv; }
  .flow-arrow::after { right: auto; left: 50%; top: auto; bottom: -6px; transform: translateX(-50%); border: 7px solid transparent; border-top: 10px solid var(--lime); border-bottom: 0; }
  .flow-arrow span { left: 14px; bottom: 50%; transform: translateY(50%); }
  .flow-dests { width: 100%; max-width: 460px; padding-left: 0; }
  .flow-dests::before, .flow-dest::before, .flow-dest::after { display: none; }
  .hw-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@keyframes flowdashv { to { background-position: 0 36px; } }
@media (max-width: 560px) {
  .hw-grid { grid-template-columns: 1fr; }
  .flow-node img { height: 96px; }
  .flow-node.main img { height: 120px; }
  .hero-points { font-size: 12px; gap: 8px 16px; }
}
@media (prefers-reduced-motion: reduce) { .flow-arrow { animation: none; } }
/* 首页（建築）：没有右侧画面，文字单栏 */
.hero-solo .hero-inner { grid-template-columns: 1fr; padding: 120px 0 128px; }
.hero-solo .hero-text { max-width: 720px; }
.hero-solo .hero-bars { width: 54%; opacity: .2; }
@media (max-width: 560px) { .hero-solo .hero-inner { padding: 64px 0 72px; } .hero-solo .hero-bars { opacity: .1; } }

/* ===== 実績（研究施設） ===== */
.works-filter { display: flex; justify-content: center; gap: 6px; margin: -8px 0 28px; }
.works-filter button { border: 1px solid var(--line); background: var(--white); color: var(--gray); font: inherit; font-size: 14px; font-weight: 700; padding: 7px 20px; border-radius: 999px; cursor: pointer; }
.works-filter button.on { background: var(--blue-700); border-color: var(--blue-700); color: var(--white); }
.works-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.work { display: flex; flex-direction: column; text-align: left; padding: 0; border: 0; background: var(--white); border-radius: 12px; overflow: hidden; cursor: pointer; font: inherit; color: inherit; box-shadow: 0 1px 2px rgba(14,37,87,.06), 0 6px 18px rgba(14,37,87,.07); transition: transform .2s, box-shadow .2s; }
.work[hidden] { display: none; }
.work:hover { transform: translateY(-3px); box-shadow: 0 2px 4px rgba(14,37,87,.08), 0 14px 30px rgba(14,37,87,.14); }
.work-img { position: relative; display: block; aspect-ratio: 3 / 2; background: var(--bg-gray); }
.work-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.work-n { position: absolute; right: 8px; bottom: 8px; font: 700 11px/1 Inter, sans-serif; color: #fff; background: rgba(14,37,87,.72); padding: 4px 8px; border-radius: 999px; }
.work-n::before { content: "\25A3  "; }
.work-body { display: block; padding: 12px 14px 14px; }
.work-body b { display: block; font-size: 14px; font-weight: 700; line-height: 1.5; margin-top: 6px; }
.work-body small { display: block; font-size: 12px; color: var(--gray); margin-top: 2px; }
.work-tag { display: inline-block; font-size: 11px; font-weight: 700; padding: 1px 8px; border-radius: 4px; background: var(--blue-50); color: var(--blue-700); }
.work-tag.c { background: #eef7e1; color: #4d7a17; }
.lightbox { position: fixed; inset: 0; z-index: 200; background: rgba(8,16,36,.92); display: flex; align-items: center; justify-content: center; padding: 56px 64px; }
.lightbox[hidden] { display: none; }
.lightbox figure { margin: 0; max-width: 100%; max-height: 100%; display: flex; flex-direction: column; align-items: center; }
.lightbox img { max-width: 100%; max-height: calc(100vh - 140px); object-fit: contain; border-radius: 6px; }
.lb-cap { color: rgba(255,255,255,.85); font-size: 14px; margin-top: 12px; text-align: center; }
.lightbox button { position: absolute; border: 0; background: rgba(255,255,255,.12); color: #fff; width: 48px; height: 48px; border-radius: 50%; font-size: 30px; line-height: 1; cursor: pointer; }
.lightbox button:hover { background: rgba(255,255,255,.24); }
.lb-close { top: 16px; right: 16px; }
.lb-prev { left: 12px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 12px; top: 50%; transform: translateY(-50%); }
.lightbox:not(.multi) .lb-prev, .lightbox:not(.multi) .lb-next { display: none; }
@media (max-width: 1100px) { .works-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 760px) {
  .works-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .work-body { padding: 10px 10px 12px; } .work-body b { font-size: 13px; }
  .lightbox { padding: 56px 8px 80px; }
  .lb-prev, .lb-next { top: auto; bottom: 16px; transform: none; }
  .lb-prev { left: calc(50% - 60px); } .lb-next { right: calc(50% - 60px); }
}

/* 联系：电话 / 邮件按钮（替代未接通的表单） */
.contact-direct { align-content: start; }
.contact-direct h3 { font-size: 20px; font-weight: 900; }
.contact-direct p { font-size: 14px; color: var(--gray); margin-bottom: 6px; }
.contact-direct .cd-btn { justify-self: stretch; display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 16px 20px; }
.contact-direct .cd-btn b { font-family: Inter, sans-serif; font-weight: 700; font-size: 15px; letter-spacing: .02em; overflow-wrap: anywhere; text-align: right; }
@media (max-width: 560px) { .contact-direct .cd-btn { flex-direction: column; align-items: flex-start; gap: 2px; } .contact-direct .cd-btn b { text-align: left; } }
@media (max-width: 760px) { .contact-direct { display: none; } }
