/* ============================================================
   NYH — 木工 OEM/ODM 製造 corporate site
   Layout concept: "night blueprint" — technical drawing grid +
   dimension-line dividers, laid over a dark charcoal-blue ground,
   with wood-grain amber as the single accent.
   ============================================================ */

:root{
  color-scheme: dark;
  --bg:#121417;
  --bg-grid: rgba(255,255,255,0.05);
  --surface:#1a1d21;
  --surface-2:#20242a;
  --fg:#eef0ef;
  --muted:#8b9198;
  --accent:#d98c3f;
  --accent-strong:#f0a85c;
  --line: rgba(238,240,239,0.12);
  --line-strong: rgba(238,240,239,0.24);
  --shadow: 0 20px 50px -20px rgba(0,0,0,0.6);

  --font-display:'Shippori Antique B1','Hiragino Sans','Hiragino Kaku Gothic ProN',sans-serif;
  --font-body:'Noto Sans JP','Hiragino Kaku Gothic ProN','Yu Gothic',sans-serif;
  --font-mono:'JetBrains Mono',ui-monospace,'SFMono-Regular',Menlo,monospace;

  --maxw: 1180px;
}

@media (prefers-color-scheme: light){
  :root:not([data-theme="dark"]){
    color-scheme: light;
    --bg:#ece9df;
    --bg-grid: rgba(20,18,14,0.07);
    --surface:#f6f4ec;
    --surface-2:#e8e4d6;
    --fg:#1b1a17;
    --muted:#6c6660;
    --accent:#b5662a;
    --accent-strong:#8f4d1c;
    --line: rgba(27,26,23,0.14);
    --line-strong: rgba(27,26,23,0.26);
    --shadow: 0 20px 50px -24px rgba(27,26,23,0.25);
  }
}
:root[data-theme="light"]{
  color-scheme: light;
  --bg:#ece9df;
  --bg-grid: rgba(20,18,14,0.07);
  --surface:#f6f4ec;
  --surface-2:#e8e4d6;
  --fg:#1b1a17;
  --muted:#6c6660;
  --accent:#b5662a;
  --accent-strong:#8f4d1c;
  --line: rgba(27,26,23,0.14);
  --line-strong: rgba(27,26,23,0.26);
  --shadow: 0 20px 50px -24px rgba(27,26,23,0.25);
}
:root[data-theme="dark"]{ color-scheme: dark; }

.profile-table-img{ display:block; }
.profile-table-img.light-only{ display:none; }
@media (prefers-color-scheme: light){
  :root:not([data-theme="dark"]) .profile-table-img.dark-only{ display:none; }
  :root:not([data-theme="dark"]) .profile-table-img.light-only{ display:block; }
}
:root[data-theme="light"] .profile-table-img.dark-only{ display:none; }
:root[data-theme="light"] .profile-table-img.light-only{ display:block; }

*{ box-sizing:border-box; }
html,body{ margin:0; }
body{
  background:var(--bg);
  color:var(--fg);
  font-family:var(--font-body);
  font-size:16px;
  line-height:1.75;
  -webkit-font-smoothing:antialiased;
  background-image:
    linear-gradient(var(--bg-grid) 1px, transparent 1px),
    linear-gradient(90deg, var(--bg-grid) 1px, transparent 1px);
  background-size: 40px 40px;
}
@media (prefers-reduced-motion: reduce){
  *{ animation-duration:0.001ms !important; animation-iteration-count:1 !important; transition-duration:0.001ms !important; }
}

h1,h2,h3,h4{ font-family:var(--font-display); font-weight:700; margin:0; text-wrap:balance; letter-spacing:.01em; }
p{ margin:0; }
a{ color:inherit; text-decoration:none; }
img{ max-width:100%; display:block; }
button{ font-family:inherit; }

.wrap{ max-width:var(--maxw); margin:0 auto; padding-inline:24px; }

/* ---------- mono labels / eyebrows ---------- */
.mono{ font-family:var(--font-mono); }
.eyebrow{
  font-family:var(--font-mono);
  font-size:12px;
  letter-spacing:.14em;
  text-transform:uppercase;
  color:var(--accent);
}

/* ---------- dimension-rule divider ---------- */
.dim-rule{
  display:flex; align-items:center; gap:14px;
  color:var(--muted);
  font-family:var(--font-mono);
  font-size:12px;
  letter-spacing:.12em;
  text-transform:uppercase;
  margin-block:28px;
}
.dim-rule::before, .dim-rule::after{
  content:""; flex:1; height:1px; background:var(--line-strong);
  background-image: linear-gradient(90deg, var(--line-strong) 0 1px, transparent 1px);
}
.dim-rule .tick{ white-space:nowrap; }

/* ---------- header / nav ---------- */
.site-header{
  position:sticky; top:env(safe-area-inset-top,0px); z-index:50;
  backdrop-filter: blur(10px) saturate(1.1);
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  border-bottom:1px solid var(--line);
}
.site-header .bar{
  display:flex; align-items:center; justify-content:space-between;
  padding-block:14px;
}
.brand{ display:flex; align-items:center; gap:12px; }
.brand .mark{ width:38px; height:38px; flex:none; color:var(--accent); }
.brand .word{ display:flex; flex-direction:column; line-height:1.1; }
.brand .word b{ font-family:var(--font-display); font-size:19px; letter-spacing:.03em; }
.brand .word span{ font-family:var(--font-mono); font-size:10px; letter-spacing:.08em; color:var(--muted); }

.nav-links{ display:flex; align-items:center; gap:22px; }
.nav-links a{
  font-size:14px; color:var(--muted); position:relative; padding-block:4px;
  transition:color .2s ease;
}
.nav-links a::after{
  content:""; position:absolute; left:0; right:0; bottom:-6px; height:2px; background:var(--accent);
  transform:scaleX(0); transform-origin:center; transition:transform .3s cubic-bezier(.16,1,.3,1);
}
.nav-links a:hover, .nav-links a.active{ color:var(--fg); }
.nav-links a:hover::after, .nav-links a.active::after{ transform:scaleX(1); }
.nav-cta{
  border:1px solid var(--line-strong); padding:9px 18px; border-radius:2px;
  font-size:13px; letter-spacing:.04em;
}
.nav-cta:hover{ border-color:var(--accent); color:var(--accent); }

.nav-toggle{ display:none; background:none; border:1px solid var(--line-strong); color:var(--fg); width:40px; height:36px; border-radius:2px; align-items:center; justify-content:center; }
.nav-toggle svg{ width:18px; height:18px; }

.mobile-menu{ display:none; flex-direction:column; padding-block:8px 22px; border-top:1px solid var(--line); }
.mobile-menu.open{ display:flex; }
.mm-row{ display:flex; align-items:center; gap:14px; padding:13px 2px; border-bottom:1px solid var(--line); color:var(--fg); }
.mm-row .mm-num{ font-family:var(--font-mono); font-size:11px; color:var(--muted); width:18px; flex:none; }
.mm-row .mm-icon{ width:34px; height:34px; border:1px solid var(--line-strong); border-radius:3px; display:flex; align-items:center; justify-content:center; flex:none; background:var(--surface); }
.mm-row .mm-icon svg{ width:16px; height:16px; color:var(--accent); }
.mm-row .mm-label{ font-size:15.5px; flex:1; }
.mm-row .mm-label span{ display:block; font-family:var(--font-mono); font-size:10.5px; color:var(--muted); margin-top:2px; letter-spacing:.04em; }
.mm-row .mm-arrow{ width:14px; height:14px; color:var(--muted); flex:none; }
.mm-row.active .mm-label{ color:var(--accent); }
.mm-row.active .mm-icon{ border-color:var(--accent); }
.mm-row.mm-cta{ margin-top:12px; border:1px solid transparent; border-radius:2px; background:var(--accent); color:#17130d; }
.mm-row.mm-cta .mm-num{ color:rgba(23,19,13,.55); }
.mm-row.mm-cta .mm-icon{ border-color:rgba(23,19,13,.25); background:rgba(23,19,13,.08); }
.mm-row.mm-cta .mm-icon svg{ color:#17130d; }
.mm-row.mm-cta .mm-arrow{ color:rgba(23,19,13,.6); }
.mm-foot{ margin-top:14px; display:flex; flex-direction:column; gap:7px; font-family:var(--font-mono); font-size:12.5px; color:var(--muted); align-items:center; }

/* ---------- tel banner (click-to-call) ---------- */
.tel-banner{
  display:flex; align-items:center; gap:10px; padding:6px 16px 6px 6px;
  border:1px solid var(--line-strong); border-radius:3px; color:var(--fg);
  background:color-mix(in srgb, var(--accent) 7%, transparent);
  transition:border-color .2s ease, background .2s ease, transform .2s ease;
}
.tel-banner:hover{
  border-color:var(--accent); background:color-mix(in srgb, var(--accent) 15%, transparent);
  transform:translateY(-1px);
}
.tel-banner .ic{
  width:32px; height:32px; flex:none; border-radius:50%;
  background:var(--accent); color:#17130d;
  display:flex; align-items:center; justify-content:center;
  transition:background .2s ease;
}
.tel-banner .ic svg{ width:16px; height:16px; }
.tel-banner:hover .ic{ background:var(--accent-strong); }
.tel-banner .txt{ display:flex; flex-direction:column; line-height:1.2; }
.tel-banner .txt span{ font-family:var(--font-mono); font-size:9.5px; color:var(--muted); letter-spacing:.08em; }
.tel-banner .txt b{ font-family:var(--font-mono); font-size:14px; letter-spacing:.01em; font-weight:700; }

.mm-call{
  display:flex; align-items:center; justify-content:center; gap:12px;
  margin-top:14px; padding:16px; border-radius:3px;
  background:var(--accent); color:#17130d;
}
.mm-call .ic{ width:22px; height:22px; flex:none; }
.mm-call .txt{ display:flex; flex-direction:column; line-height:1.25; }
.mm-call .txt span{ font-family:var(--font-mono); font-size:10.5px; letter-spacing:.08em; opacity:.75; }
.mm-call .txt b{ font-family:var(--font-mono); font-size:19px; letter-spacing:.01em; }

@media (max-width:860px){
  .nav-links, .tel-banner.desktop-only{ display:none; }
  .nav-toggle{ display:flex; }
}
@media (max-width:1080px){
  .nav-links{ gap:16px; font-size:13.5px; }
}

/* ---------- hero ---------- */
.hero{
  position:relative; padding-block:96px 72px; overflow:hidden;
}
.hero .grain{
  position:absolute; inset:-20% -10%; opacity:.5; pointer-events:none;
  z-index:0;
}
.hero-inner{ position:relative; z-index:1; max-width:760px; }
.hero h1{
  font-size:clamp(34px,5.4vw,62px);
  line-height:1.18;
  margin-block:18px 20px;
}
.hero h1 em{ color:var(--accent); font-style:normal; }
.hero p.lead{ font-size:17px; color:var(--muted); max-width:560px; margin-bottom:34px; }

@keyframes hero-in{ from{ opacity:0; transform:translateY(22px); } to{ opacity:1; transform:translateY(0); } }
.hero-inner > *{ opacity:0; animation:hero-in .8s cubic-bezier(.16,1,.3,1) forwards; }
.hero-inner > *:nth-child(1){ animation-delay:.05s; }
.hero-inner > *:nth-child(2){ animation-delay:.16s; }
.hero-inner > *:nth-child(3){ animation-delay:.3s; }
.hero-inner > *:nth-child(4){ animation-delay:.45s; }
.hero .wood-panel{ opacity:0; animation:hero-in 1s cubic-bezier(.16,1,.3,1) .35s forwards; }

.cta-row{ display:flex; gap:16px; flex-wrap:wrap; }
.btn{
  display:inline-flex; align-items:center; gap:10px;
  padding:13px 26px; border-radius:2px; font-size:14px; letter-spacing:.03em;
  border:1px solid transparent; transition:all .2s ease;
}
.btn-primary{ background:var(--accent); color:#17130d; font-weight:700; }
.btn-primary:hover{ background:var(--accent-strong); }
.btn-ghost{ border-color:var(--line-strong); color:var(--fg); }
.btn-ghost:hover{ border-color:var(--accent); color:var(--accent); }

/* ---------- sections ---------- */
section{ padding-block:64px; }
.section-head{ max-width:640px; margin-bottom:44px; }
.section-head .eyebrow{ display:block; margin-bottom:10px; }
.section-head h2{ font-size:clamp(26px,3.4vw,38px); }
.section-head p{ color:var(--muted); margin-top:14px; font-size:15.5px; }

.surface{ background:var(--surface); border:1px solid var(--line); border-radius:3px; }

/* ---------- grids / cards ---------- */
.grid{ display:grid; gap:20px; }
.grid-3{ grid-template-columns:repeat(3,1fr); }
.grid-2{ grid-template-columns:repeat(2,1fr); }
.grid-4{ grid-template-columns:repeat(4,1fr); }
@media (max-width:900px){ .grid-3,.grid-4{ grid-template-columns:repeat(2,1fr); } }
@media (max-width:620px){ .grid-3,.grid-4,.grid-2{ grid-template-columns:1fr; } }

.card{
  background:var(--surface); border:1px solid var(--line);
  padding:26px; border-radius:3px; min-width:0;
  display:flex; flex-direction:column; gap:14px;
  transition:border-color .35s cubic-bezier(.16,1,.3,1), transform .35s cubic-bezier(.16,1,.3,1), box-shadow .35s ease;
}
.card:hover{ border-color:var(--accent); transform:translateY(-5px); box-shadow:0 18px 30px -20px rgba(0,0,0,.65); }
.card .icon{ width:34px; height:34px; color:var(--accent); flex:none; transition:transform .35s cubic-bezier(.34,1.56,.64,1); }
.card:hover .icon{ transform:scale(1.12) rotate(-4deg); }
.card .icon-tile{ transition:border-color .3s ease, transform .35s cubic-bezier(.34,1.56,.64,1); }
.card:hover .icon-tile{ border-color:var(--accent); transform:scale(1.08); }
.card h3{ font-size:17px; }
.card p{ color:var(--muted); font-size:14.5px; }
.card .num{ font-family:var(--font-mono); font-size:12px; color:var(--muted); letter-spacing:.1em; }

/* staggered cascade for grid reveals */
.grid.reveal, .grid > .reveal{ transition-delay:0s; }
.grid > .reveal:nth-child(2){ transition-delay:.09s; }
.grid > .reveal:nth-child(3){ transition-delay:.18s; }
.grid > .reveal:nth-child(4){ transition-delay:.27s; }

/* link-card (teaser cards linking to other pages) */
.link-card{
  display:flex; flex-direction:column; gap:16px; padding:30px;
  background:var(--surface); border:1px solid var(--line); border-radius:3px;
  min-width:0; position:relative; overflow:hidden;
  transition:border-color .35s cubic-bezier(.16,1,.3,1), transform .35s cubic-bezier(.16,1,.3,1), box-shadow .35s ease;
}
.link-card:hover{ border-color:var(--accent); transform:translateY(-5px); box-shadow:0 18px 30px -20px rgba(0,0,0,.65); }
.link-card .tag{ font-family:var(--font-mono); font-size:11px; letter-spacing:.12em; color:var(--accent); text-transform:uppercase; }
.link-card h3{ font-size:21px; }
.link-card p{ color:var(--muted); font-size:14.5px; flex:1; }
.link-card .go{ display:flex; align-items:center; gap:8px; font-size:13px; color:var(--fg); }
.link-card .go svg{ width:14px; height:14px; transition:transform .3s cubic-bezier(.16,1,.3,1); }
.link-card:hover .go svg{ transform:translateX(6px); }

/* ---------- workflow timeline ---------- */
.flow{ display:flex; flex-direction:column; gap:0; }
.flow-row{
  display:grid; grid-template-columns:64px 1fr; gap:20px; position:relative;
}
.flow-row .stem{
  position:relative; display:flex; flex-direction:column; align-items:center;
}
.flow-row .stem .dot{
  width:46px; height:46px; border-radius:50%; border:1px solid var(--line-strong);
  background:var(--surface); display:flex; align-items:center; justify-content:center;
  font-family:var(--font-mono); font-size:13px; color:var(--accent); flex:none; z-index:1;
}
.flow-row .stem .rail{ position:absolute; top:46px; bottom:-28px; width:1px; background:var(--line-strong); left:50%; }
.flow-row:last-child .stem .rail{ display:none; }
.flow-row .body{ padding-block:2px 44px; min-width:0; }
.flow-row .body h4{ font-size:17px; margin-bottom:6px; }
.flow-row .body p{ color:var(--muted); font-size:14px; max-width:520px; }
.flow-row .body .chip{
  display:inline-block; margin-top:10px; font-family:var(--font-mono); font-size:11px;
  letter-spacing:.08em; color:var(--muted); border:1px solid var(--line); padding:4px 10px; border-radius:20px;
}
.flow-row .body .chip.oem{ color:var(--accent); border-color:color-mix(in srgb, var(--accent) 50%, var(--line)); }
.flow-row .body .chip.odm{ color:var(--fg); border-color:var(--line-strong); }
@media (max-width:620px){
  .flow-row{ grid-template-columns:40px 1fr; gap:14px; }
  .flow-row .stem .dot{ width:36px; height:36px; font-size:11px; }
  .flow-row .stem .rail{ top:36px; }
}

/* ---------- comparison table ---------- */
.table-wrap{ overflow-x:auto; border:1px solid var(--line); border-radius:3px; }
table.compare{ width:100%; border-collapse:collapse; min-width:560px; font-size:14.5px; }
table.compare th, table.compare td{ padding:16px 20px; text-align:left; border-bottom:1px solid var(--line); vertical-align:top; }
table.compare thead th{
  font-family:var(--font-mono); font-size:12px; letter-spacing:.08em; text-transform:uppercase;
  color:var(--muted); background:var(--surface-2); border-bottom:1px solid var(--line-strong);
}
table.compare tbody th{ color:var(--muted); font-weight:500; font-size:13px; white-space:nowrap; }
table.compare tbody tr:last-child td, table.compare tbody tr:last-child th{ border-bottom:none; }
table.compare td strong{ color:var(--accent); }

/* ---------- spec card (equipment) ---------- */
.spec-card{ background:var(--surface); border:1px solid var(--line); border-radius:3px; padding:0; overflow:hidden; min-width:0; }
.spec-card .figure{
  height:150px; position:relative; background:var(--surface-2);
  display:flex; align-items:center; justify-content:center;
  border-bottom:1px solid var(--line);
}
.spec-card .figure svg{ width:64px; height:64px; color:var(--accent); opacity:.9; }
.spec-card .figure .tag{
  position:absolute; top:10px; left:12px; font-family:var(--font-mono); font-size:11px; color:var(--muted); letter-spacing:.06em;
}
.spec-card .content{ padding:22px; }
.spec-card h3{ font-size:16.5px; margin-bottom:8px; }
.spec-card p{ color:var(--muted); font-size:14px; margin-bottom:14px; }
.spec-list{ list-style:none; margin:0; padding:0; display:flex; flex-direction:column; gap:6px; }
.spec-list li{ display:flex; justify-content:space-between; gap:12px; font-size:12.5px; font-family:var(--font-mono); color:var(--muted); border-top:1px dashed var(--line); padding-top:6px; }
.spec-list li span:last-child{ color:var(--fg); text-align:right; }

/* ---------- quality banner ---------- */
.quality{
  display:grid; grid-template-columns:1fr 1fr; gap:48px; align-items:center;
}
@media (max-width:760px){ .quality{ grid-template-columns:1fr; } }
.quality .note{
  font-family:var(--font-mono); font-size:12.5px; color:var(--muted); line-height:1.9;
  border-left:2px solid var(--accent); padding-left:16px; margin-top:22px;
}

/* ---------- stat strip ---------- */
.stats{ display:flex; gap:0; border:1px solid var(--line); border-radius:3px; overflow:hidden; }
.stats .stat{ flex:1; padding:26px 22px; border-right:1px solid var(--line); min-width:0; }
.stats .stat:last-child{ border-right:none; }
.stats .stat b{ display:block; font-family:var(--font-mono); font-size:30px; color:var(--accent); }
.stats .stat span{ display:block; font-size:12.5px; color:var(--muted); margin-top:6px; }
@media (max-width:700px){ .stats{ flex-direction:column; } .stats .stat{ border-right:none; border-bottom:1px solid var(--line); } .stats .stat:last-child{border-bottom:none;} }

/* ---------- CTA band ---------- */
.cta-band{
  background:var(--surface); border:1px solid var(--line); border-radius:3px;
  padding:48px; display:flex; flex-wrap:wrap; justify-content:space-between; align-items:center; gap:24px;
}
.cta-band h3{ font-size:24px; max-width:480px; }

/* ---------- footer ---------- */
footer.site-footer{ border-top:1px solid var(--line); padding-block:48px 40px; margin-top:40px; }
.foot-grid{ display:block; }
.foot-addr{ display:flex; flex-wrap:wrap; align-items:baseline; gap:4px 12px; font-size:13.5px; }
.foot-addr span{ color:var(--muted); }
.foot-addr a{
  font-family:var(--font-mono); font-size:11px; color:var(--accent); letter-spacing:.05em;
  display:inline-flex; align-items:center; gap:4px; white-space:nowrap;
}
.foot-addr a:hover{ color:var(--accent-strong); }
.foot-addr a svg{ width:10px; height:10px; }
@media (max-width:700px){ .foot-grid{ grid-template-columns:1fr; } }
.foot-grid h4{ font-family:var(--font-mono); font-size:12px; letter-spacing:.1em; text-transform:uppercase; color:var(--muted); margin-bottom:14px; }
.foot-grid ul{ list-style:none; margin:0; padding:0; display:flex; flex-direction:column; gap:10px; font-size:14px; }
.foot-grid ul a:hover{ color:var(--accent); }
.foot-bottom{ display:flex; justify-content:space-between; flex-wrap:wrap; gap:10px; margin-top:40px; padding-top:20px; border-top:1px solid var(--line); font-size:12px; color:var(--muted); font-family:var(--font-mono); }

/* ---------- page header (sub pages) ---------- */
.page-head{ padding-block:64px 20px; }
.page-head h1{ font-size:clamp(30px,4.6vw,46px); margin-block:16px 14px; }
.page-head p{ color:var(--muted); max-width:620px; font-size:15.5px; }
.breadcrumb{ font-family:var(--font-mono); font-size:12px; color:var(--muted); letter-spacing:.06em; }
.breadcrumb a:hover{ color:var(--accent); }

/* ---------- hero grid + wood panel ---------- */
.hero-grid{ display:grid; grid-template-columns:1.25fr 1fr; gap:40px; align-items:center; }
.wood-panel{ position:relative; aspect-ratio:4/5; border:1px solid var(--line); border-radius:3px; overflow:hidden; background:var(--surface); }
.wood-panel svg{ position:absolute; inset:0; width:100%; height:100%; }
.wood-panel svg path{ stroke-dasharray:16 11; animation:grain-flow 8s linear infinite; }
.wood-panel svg path:nth-child(3n+1){ animation-duration:11s; }
.wood-panel svg path:nth-child(3n+2){ animation-duration:9s; animation-direction:reverse; }
@keyframes grain-flow{ to{ stroke-dashoffset:-270; } }
.wood-panel .corner{ position:absolute; font-family:var(--font-mono); font-size:11px; color:var(--muted); letter-spacing:.08em; }
.wood-panel .corner.tl{ top:14px; left:16px; } .wood-panel .corner.br{ bottom:14px; right:16px; }
@media (max-width:860px){ .hero-grid{ grid-template-columns:1fr; } .wood-panel{ display:none; } }

.map-panel{ position:relative; width:100%; aspect-ratio:1/1; border:1px solid var(--line); border-radius:3px; overflow:hidden; background:var(--surface); max-width:420px; margin-inline:auto; }
.map-panel svg{ position:absolute; inset:0; width:100%; height:100%; }
.map-panel .corner{ position:absolute; font-family:var(--font-mono); font-size:11px; color:var(--muted); letter-spacing:.08em; }
.map-panel .corner.tl{ top:14px; left:16px; } .map-panel .corner.br{ bottom:14px; right:16px; }
@media (max-width:860px){ .map-panel{ max-width:320px; } }

/* ---------- illustrated access map (postcard style) ---------- */
.illust-map{
  position:relative; width:100%; aspect-ratio:4/3; border-radius:6px; overflow:hidden;
  background:#f1ead9; box-shadow:0 18px 40px -20px rgba(0,0,0,.6); border:6px solid #f1ead9;
}
.illust-map svg{ position:absolute; inset:0; width:100%; height:100%; }
.illust-caption{
  display:flex; align-items:center; justify-content:center; gap:8px; margin-top:12px;
  font-family:var(--font-mono); font-size:11px; color:var(--muted); letter-spacing:.06em;
}

/* ---------- icon tile (strength cards) ---------- */
.icon-tile{ width:46px; height:46px; border:1px solid var(--line-strong); border-radius:3px; display:flex; align-items:center; justify-content:center; animation:icon-pulse 2.6s ease-in-out infinite; }
@keyframes icon-pulse{
  0%,100%{ box-shadow:0 0 0 0 color-mix(in srgb, var(--accent) 0%, transparent); }
  50%{ box-shadow:0 0 16px 3px color-mix(in srgb, var(--accent) 45%, transparent); }
}
.icon-tile svg{ width:22px; height:22px; color:var(--accent); }

/* ---------- checklist (quality section) ---------- */
.checklist{ display:flex; flex-direction:column; gap:14px; }
.check-item{ display:grid; grid-template-columns:40px 1fr; gap:14px; padding:16px 18px; background:var(--surface); border:1px solid var(--line); border-radius:3px; min-width:0; }
.check-item .n{ font-family:var(--font-mono); font-size:13px; color:var(--accent); border:1px solid var(--line-strong); border-radius:50%; width:28px; height:28px; display:flex; align-items:center; justify-content:center; }
.check-item h4{ font-size:14.5px; margin-bottom:4px; }
.check-item p{ font-size:13px; color:var(--muted); }

/* ---------- process flow grid (production page) ---------- */
.flow-grid{ display:flex; flex-wrap:wrap; align-items:stretch; gap:0; border:1px solid var(--line); border-radius:3px; overflow:hidden; background:var(--line); }
.flow-card{
  flex:1 1 210px; min-width:170px; background:var(--surface);
  padding:22px 18px 20px; position:relative; overflow:hidden;
  display:flex; flex-direction:column; gap:8px; min-height:168px;
}
.flow-card .bignum{
  position:absolute; top:-14px; right:4px; font-family:var(--font-mono); font-weight:700;
  font-size:56px; line-height:1; color:var(--line-strong); z-index:0; user-select:none;
}
.flow-card .ic{ width:30px; height:30px; color:var(--accent); z-index:1; flex:none; }
.flow-card h4{ font-size:14.5px; z-index:1; }
.flow-card p{ font-size:12px; color:var(--muted); z-index:1; line-height:1.55; }
.flow-card .chip-row{ display:flex; gap:6px; flex-wrap:wrap; z-index:1; margin-top:auto; padding-top:4px; }
.flow-card .chip-row .chip{ font-size:10px; padding:3px 8px; }
.flow-connector{ display:flex; align-items:center; justify-content:center; flex:0 0 1px; background:var(--line); position:relative; z-index:2; }
.flow-connector span{
  position:absolute; width:22px; height:22px; border-radius:50%; background:var(--bg);
  border:1px solid var(--line-strong); display:flex; align-items:center; justify-content:center; color:var(--accent);
}
.flow-connector svg{ width:12px; height:12px; }
@media (max-width:760px){
  .flow-connector{ display:none; }
  .flow-card{ flex:1 1 100%; border-bottom:1px solid var(--line); }
}

/* ---------- production line timeline ---------- */
.pline{ position:relative; margin-top:12px; padding-block:4px; }
.pline::before{
  content:""; position:absolute; top:0; bottom:0; left:50%; width:2px; transform:translateX(-50%);
  background: repeating-linear-gradient(to bottom, var(--accent) 0 9px, transparent 9px 20px);
  opacity:.8; animation: pline-flow 1.1s linear infinite;
}
@keyframes pline-flow{ from{ background-position-y:0; } to{ background-position-y:20px; } }
.pline-progress{
  position:absolute; top:0; left:50%; width:2px; height:0; transform:translateX(-50%);
  background:var(--accent); box-shadow:0 0 10px 1px var(--accent); z-index:1; border-radius:2px;
}
.pline-row{ position:relative; display:grid; grid-template-columns:1fr 46px 1fr; column-gap:18px; align-items:start; padding-block:16px; }
.pline-dot{
  grid-column:2; justify-self:center; margin-top:8px; width:36px; height:36px; border-radius:50%;
  background:var(--bg); border:1px solid var(--accent); display:flex; align-items:center; justify-content:center;
  font-family:var(--font-mono); font-size:11px; color:var(--accent); z-index:1; flex:none;
  box-shadow:0 0 0 5px var(--bg);
}
.pline-card{
  position:relative; min-width:0; background:var(--surface); border:1px solid var(--line); border-radius:3px;
  padding:18px 20px; display:flex; flex-direction:column; gap:7px; overflow:hidden;
  opacity:0; transform:translateY(26px);
  transition: opacity .65s cubic-bezier(.16,1,.3,1), transform .65s cubic-bezier(.16,1,.3,1),
              border-color .3s ease, box-shadow .3s ease;
}
.pline-row.in .pline-card{ opacity:1; transform:translateY(0); }
.pline-card:hover{ border-color:var(--accent); box-shadow:0 16px 28px -18px rgba(0,0,0,.6); transform:translateY(-4px); }
.pline-row.in .pline-card:hover{ transform:translateY(-4px); }
.pline-dot{
  opacity:0; transform:scale(.4);
  transition: opacity .5s cubic-bezier(.34,1.56,.64,1) .18s, transform .5s cubic-bezier(.34,1.56,.64,1) .18s,
              border-color .35s ease, box-shadow .35s ease, background .35s ease, color .35s ease;
}
.pline-row.in .pline-dot{ opacity:1; transform:scale(1); }
.pline-row.active .pline-dot{
  background:var(--accent); color:#17130d; border-color:var(--accent-strong);
  box-shadow:0 0 0 5px var(--bg), 0 0 16px 2px var(--accent);
}
.pline-row.active .pline-card{ border-color:var(--accent); }
.pline-row.active .pline-card h4{ color:var(--accent); }
.pline-card .ic{ width:24px; height:24px; color:var(--accent); z-index:1; }
.pline-card h4{ font-size:14.5px; z-index:1; transition:color .3s ease; }
.pline-card p{ font-size:12.5px; color:var(--muted); line-height:1.6; z-index:1; }
.pline-card .bignum{
  position:absolute; top:14px; font-family:var(--font-mono); font-weight:700; font-size:54px;
  line-height:1; color:var(--line-strong); z-index:0; user-select:none;
}
.pline-card .chip-row{ display:flex; gap:6px; flex-wrap:wrap; z-index:1; }
.pline-card .chip-row .chip{ font-size:10px; padding:3px 8px; }
.pline-row.l .pline-card{ grid-column:1; align-items:flex-end; text-align:right; }
.pline-row.l .pline-card .bignum{ left:16px; }
.pline-row.l .pline-card .chip-row{ justify-content:flex-end; }
.pline-row.r .pline-card{ grid-column:3; align-items:flex-start; text-align:left; }
.pline-row.r .pline-card .bignum{ right:16px; }
@media (max-width:760px){
  .pline::before, .pline-progress{ left:22px; }
  .pline-row{ grid-template-columns:44px 1fr; column-gap:14px; }
  .pline-dot{ grid-column:1; }
  .pline-row.l .pline-card, .pline-row.r .pline-card{
    grid-column:2; align-items:flex-start; text-align:left;
  }
  .pline-row.l .pline-card .bignum{ left:auto; right:16px; }
  .pline-row.l .pline-card .chip-row{ justify-content:flex-start; }
}

/* ---------- recycle flow panel (環境への取り組み) ---------- */
.recycle-panel{ position:relative; padding:40px 30px 32px; }
.recycle-panel .corner{ position:absolute; font-family:var(--font-mono); font-size:10px; color:var(--muted); letter-spacing:.08em; }
.recycle-panel .corner.tl{ top:14px; left:18px; }
.recycle-panel .corner.br{ bottom:12px; right:18px; }
.recycle-flow{ display:flex; align-items:center; gap:18px; }
.recycle-flow .node{ text-align:center; min-width:0; flex:none; }
.recycle-arrow{ flex:1; min-width:48px; max-width:120px; position:relative; height:22px; }
.recycle-arrow::before{
  content:""; position:absolute; left:0; right:16px; top:50%; height:2px; transform:translateY(-50%);
  background: repeating-linear-gradient(to right, var(--accent) 0 7px, transparent 7px 14px);
  background-size:14px 2px; animation: recycle-flow .9s linear infinite;
}
@keyframes recycle-flow{ to{ background-position-x:-14px; } }
.recycle-arrow .head{ position:absolute; right:-2px; top:50%; transform:translateY(-50%); width:16px; height:16px; color:var(--accent); }

/* ---------- utility ---------- */
.reveal{ opacity:0; transform:translateY(20px); transition:opacity .7s cubic-bezier(.16,1,.3,1), transform .7s cubic-bezier(.16,1,.3,1); }
.reveal.in{ opacity:1; transform:none; }
.center{ text-align:center; }
.mt-8{ margin-top:8px; } .mt-16{ margin-top:16px; } .mt-24{ margin-top:24px; } .mt-40{ margin-top:40px; }
