﻿/* Layout concept: corporate showcase in the KEST-ENG manner — full-bleed hero slider, centered menu,
   tall business columns, photo banners with a location bar on sub pages. Brand blue taken from the KPP logo. */
:root {
  --brand: #303192;
  --brand-deep: #1c1d5e;
  --accent: #2b7de9;
  --ink: #16181d;
  --text: #3d4249;
  --muted: #7a818b;
  --line: #e3e6eb;
  --soft: #f4f6f9;
  --white: #ffffff;
  --font: "Noto Sans KR", "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
  --font-en: "Montserrat", "Noto Sans KR", sans-serif;
  --wrap: 1280px;
  --gutter: clamp(16px, 4vw, 48px);
  --header: 88px;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--white); color: var(--text); font-family: var(--font);
  font-size: 16px; line-height: 1.75; word-break: keep-all; overflow-wrap: break-word; overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { margin: 0; color: var(--ink); line-height: 1.3; text-wrap: balance; }
p { margin: 0; }
button { font: inherit; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding-inline: var(--gutter); }
.en { font-family: var(--font-en); letter-spacing: 0.04em; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; background: #fff; padding: 8px 12px; z-index: 200; }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } }

/* ---------------- header ---------------- */
.header {
  position: fixed; top: env(safe-area-inset-top, 0px); left: 0; right: 0; z-index: 100;
  transition: background .3s, box-shadow .3s; color: #fff;
}
.header .wrap { display: flex; align-items: center; height: var(--header); gap: 24px; max-width: 1480px; }
.logo { flex: 0 0 auto; display: block; width: 210px; }
.logo img { width: 100%; height: auto; }
.logo .on-light { display: none; }
.gnb { flex: 1; display: flex; justify-content: center; gap: clamp(8px, 3vw, 56px); }
.gnb > li { list-style: none; position: relative; }
.gnb { margin: 0; padding: 0; }
.gnb > li > a { display: block; padding: 30px 6px; font-weight: 500; font-size: 17px; }
.gnb .sub {
  position: absolute; top: 100%; left: 50%; transform: translate(-50%, 6px); min-width: 200px; background: #fff;
  border-radius: 6px; box-shadow: 0 12px 32px rgba(20, 24, 40, .14); padding: 10px 0; opacity: 0; visibility: hidden;
  transition: opacity .2s, transform .2s; margin: 0; list-style: none;
}
.gnb > li:hover .sub, .gnb > li:focus-within .sub { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.gnb .sub a { display: block; padding: 8px 20px; color: var(--text); font-size: 15px; white-space: nowrap; }
.gnb .sub a:hover { color: var(--brand); background: var(--soft); }
.head-right { display: flex; align-items: center; gap: 14px; flex: 0 0 auto; }
.head-tel { font-family: var(--font-en); font-weight: 600; font-size: 15px; }
.burger { width: 44px; height: 44px; border: 0; background: none; color: inherit; cursor: pointer; display: grid; place-items: center; }
.burger span, .burger span::before, .burger span::after { display: block; width: 26px; height: 2px; background: currentColor; position: relative; content: ""; }
.burger span::before { position: absolute; top: -8px; }
.burger span::after { position: absolute; top: 8px; width: 18px; }
.header.solid, .header:hover { background: #fff; color: var(--ink); box-shadow: 0 1px 0 var(--line); }
.header.solid .logo .on-dark, .header:hover .logo .on-dark { display: none; }
.header.solid .logo .on-light, .header:hover .logo .on-light { display: block; }
@media (max-width: 1080px) {
  .gnb, .head-tel { display: none; }
  .header .wrap { justify-content: space-between; height: 72px; }
  .logo { width: 170px; }
}

/* full menu panel */
.allmenu {
  position: fixed; inset: 0; z-index: 150; background: var(--brand-deep); color: #fff; overflow-y: auto;
  padding: calc(env(safe-area-inset-top, 0px) + 24px) var(--gutter) 40px;
}
.allmenu .top { display: flex; justify-content: space-between; align-items: center; max-width: 1180px; margin: 0 auto 32px; }
.allmenu .close { background: none; border: 1px solid rgba(255,255,255,.35); color: #fff; border-radius: 4px; padding: 8px 14px; cursor: pointer; }
.allmenu nav { max-width: 1180px; margin: 0 auto; display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 32px; }
.allmenu h2 { color: #fff; font-size: 22px; padding-bottom: 12px; border-bottom: 1px solid rgba(255,255,255,.2); margin-bottom: 12px; }
.allmenu h2 small { display: block; font-family: var(--font-en); font-size: 12px; color: #9aa0e0; letter-spacing: .12em; font-weight: 500; }
.allmenu ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.allmenu ul a { color: #d6d8f5; }
.allmenu ul a:hover { color: #fff; }

/* ---------------- hero slider ---------------- */
.hero { position: relative; height: clamp(560px, 92vh, 900px); background: var(--brand-deep); color: #fff; overflow: hidden; }
.slide {
  position: absolute; inset: 0; display: grid; align-items: center; opacity: 0; visibility: hidden;
  transition: opacity 1s ease, visibility 1s;
}
.slide.on { opacity: 1; visibility: visible; }
.slide .bg { position: absolute; inset: 0; background-size: cover; background-position: center; transform: scale(1.06); transition: transform 7s ease; }
.slide.on .bg { transform: scale(1); }
.slide .bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(14,15,52,.88) 0%, rgba(14,15,52,.55) 55%, rgba(14,15,52,.25) 100%); }
.slide .wrap { position: relative; width: 100%; display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; padding-top: var(--header); }
.slide .wrap > * { min-width: 0; }
.slide .kicker { font-size: clamp(17px, 1.8vw, 24px); font-weight: 400; color: rgba(255,255,255,.88); }
.slide h2 { color: #fff; font-size: clamp(38px, 6vw, 76px); font-weight: 900; letter-spacing: -0.02em; margin-top: 8px; }
.slide .desc { margin-top: 18px; color: rgba(255,255,255,.78); max-width: 30em; }
.slide .more {
  display: inline-flex; align-items: center; gap: 10px; margin-top: 30px; padding: 13px 26px; border-radius: 40px;
  background: var(--accent); color: #fff; font-weight: 500;
}
.slide .more:hover { background: #1f68c8; }
.slide .visual { justify-self: end; background: #fff; border-radius: 10px; padding: 18px; box-shadow: 0 30px 60px rgba(0,0,0,.35); max-width: 560px; width: 100%; }
.slide .visual img { width: 100%; }
.slide .visual.trio { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; align-items: end; }
.slide .visual.trio img { width: 100%; height: 230px; object-fit: contain; }
.slide .visual figcaption { font-size: 13px; color: var(--muted); margin-top: 10px; text-align: center; }
.slide .visual figcaption b { color: var(--brand); font-family: var(--font-en); }
.hero-ctrl { position: absolute; left: 0; right: 0; bottom: clamp(32px, 6vh, 64px); z-index: 2; }
.hero-ctrl .wrap { display: flex; align-items: center; gap: 18px; }
.dots { display: flex; align-items: center; gap: 14px; font-family: var(--font-en); font-weight: 600; }
.dots button { background: none; border: 0; color: rgba(255,255,255,.45); cursor: pointer; padding: 4px; display: flex; align-items: center; gap: 12px; font-size: 15px; }
.dots button.on { color: #fff; }
.dots button .line { width: 0; height: 1px; background: rgba(255,255,255,.35); position: relative; transition: width .4s; overflow: hidden; }
.dots button.on .line { width: 64px; }
.dots button.on .line::after { content: ""; position: absolute; inset: 0; background: #fff; transform-origin: left; animation: fill 6s linear forwards; }
@keyframes fill { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.pause { background: none; border: 1px solid rgba(255,255,255,.4); color: #fff; width: 32px; height: 32px; border-radius: 50%; cursor: pointer; font-size: 11px; }
@media (max-width: 900px) {
  .slide .wrap { grid-template-columns: 1fr; padding-top: 72px; }
  .slide .visual { justify-self: start; max-width: 420px; padding: 12px; }
  .slide .visual.trio img { height: 140px; }
  .hero { height: auto; min-height: 720px; }
}

.badge-circle {
  position: absolute; right: clamp(90px, 8vw, 140px); bottom: clamp(32px, 6vh, 64px); z-index: 3; width: 120px; height: 120px;
  display: grid; place-items: center; color: #fff;
}
.badge-circle svg { position: absolute; inset: 0; animation: spin 14s linear infinite; }
.badge-circle .dot { width: 54px; height: 54px; border-radius: 50%; background: var(--accent); display: grid; place-items: center; font-weight: 700; font-size: 13px; }
@keyframes spin { to { transform: rotate(360deg); } }
@media (max-width: 900px) { .badge-circle { display: none; } }

/* ---------------- marquee ---------------- */
.marquee { overflow: hidden; border-bottom: 1px solid var(--line); background: #fff; }
.marquee div { display: flex; width: max-content; animation: flow 40s linear infinite; }
.marquee span { font-family: var(--font-en); font-weight: 800; font-size: clamp(40px, 7vw, 96px); color: transparent; -webkit-text-stroke: 1px #c9cde6; white-space: nowrap; padding: 18px 0; }
@keyframes flow { to { transform: translateX(-50%); } }

/* ---------------- sections ---------------- */
.sec { padding-block: clamp(64px, 10vw, 130px); }
.sec.gray { background: var(--soft); }
.label { font-family: var(--font-en); font-weight: 600; font-size: 13px; letter-spacing: .2em; color: var(--accent); text-transform: uppercase; }
.title { font-size: clamp(28px, 3.6vw, 46px); font-weight: 700; margin-top: 12px; letter-spacing: -0.02em; }
.title b { color: var(--brand); }
.lead { margin-top: 20px; color: var(--muted); font-size: 17px; max-width: 34em; }
.btn {
  display: inline-flex; align-items: center; gap: 10px; padding: 13px 26px; border-radius: 40px; font-weight: 500;
  border: 1px solid transparent; cursor: pointer; font-size: 15.5px;
}
.btn-blue { background: var(--accent); color: #fff; }
.btn-blue:hover { background: #1f68c8; }
.btn-line { border-color: var(--line); color: var(--ink); background: #fff; }
.btn-line:hover { border-color: var(--brand); color: var(--brand); }
.btn-white { border-color: rgba(255,255,255,.5); color: #fff; }
.btn-white:hover { background: rgba(255,255,255,.1); }
.arrow::after { content: "→"; font-family: var(--font-en); }

.intro-split { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.intro-split > * { min-width: 0; }
.frame { background: #fff; border-radius: 14px; padding: 18px; box-shadow: 0 24px 60px rgba(28, 29, 94, .12); border: 1px solid var(--line); }
.frame .cap { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; }
.frame .cap b { border: 1px solid var(--ink); padding: 2px 12px; border-radius: 3px; font-family: var(--font-en); font-size: 14px; color: var(--ink); }
.frame .cap span { font-size: 13px; color: var(--muted); }
.frame .foot { margin-top: 12px; font-size: 13px; color: var(--muted); display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.intro-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 34px; }
.since { font-family: var(--font-en); font-size: 13px; letter-spacing: .3em; color: var(--muted); }
@media (max-width: 900px) { .intro-split { grid-template-columns: 1fr; } }

/* business columns */
.biz { display: grid; grid-template-columns: 0.9fr repeat(3, 1fr); min-height: 560px; }
.biz > * { min-width: 0; }
.biz .head { padding: clamp(32px, 4vw, 64px) clamp(16px, 3vw, 48px); background: var(--soft); display: grid; align-content: center; }
.biz .col {
  position: relative; overflow: hidden; display: grid; align-content: end; padding: 36px 32px; color: #fff; min-height: 420px;
  background: var(--brand-deep);
}
.biz .col .pic { position: absolute; inset: 0; background: linear-gradient(180deg, #eef0f7 0%, #dfe3f0 100%); transition: transform .5s; }
.biz .col .pic img { position: absolute; left: 24px; right: 24px; top: 28px; bottom: 210px; width: calc(100% - 48px); height: calc(100% - 238px); object-fit: contain; }
.biz .col:hover .pic { transform: scale(1.04); }
.biz .col .txt { position: relative; z-index: 1; }
.biz .col::before { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 190px; background: var(--brand-deep); z-index: 1; transition: height .4s; }
.biz .col:hover::before { height: 210px; background: var(--brand); }
.biz .col h3 { color: #fff; font-size: 26px; }
.biz .col .en { color: #8f94e6; font-size: 12px; font-weight: 600; letter-spacing: .14em; display: block; margin-top: 2px; }
.biz .col p { margin-top: 14px; font-size: 14.5px; color: rgba(255,255,255,.78); line-height: 1.6; }
@media (max-width: 1080px) { .biz { grid-template-columns: 1fr 1fr; } .biz .head { grid-column: 1 / -1; } }
@media (max-width: 640px) { .biz { grid-template-columns: 1fr; } }

/* vacuum pad line-up on home */
.lineup { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 20px; margin-top: 48px; }
.lineup a { background: #fff; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; display: grid; grid-template-rows: auto 1fr; transition: border-color .2s, box-shadow .2s, transform .2s; }
.lineup a:hover { border-color: var(--brand); box-shadow: 0 16px 36px rgba(28, 29, 94, .12); transform: translateY(-3px); }
.lineup .ph { aspect-ratio: 4 / 3; background: #fff; display: grid; place-items: center; padding: 14px; border-bottom: 1px solid var(--line); }
.lineup .ph { overflow: hidden; }
.lineup .ph img { width: 100%; height: 100%; object-fit: contain; }
.lineup.four { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 900px) { .lineup.four { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .lineup.four { grid-template-columns: 1fr; } }
.lineup .tx { padding: 18px 20px 22px; }
.lineup .code { font-family: var(--font-en); font-weight: 700; font-size: 13px; color: var(--accent); letter-spacing: .06em; }
.lineup h3 { font-size: 19px; margin-top: 4px; }
.lineup p { color: var(--muted); font-size: 14.5px; margin-top: 6px; line-height: 1.6; }
.sec-head { display: flex; justify-content: space-between; align-items: end; gap: 24px; flex-wrap: wrap; }

/* community band */
.community { position: relative; color: #fff; background: var(--brand-deep) center / cover no-repeat; }
.community::before { content: ""; position: absolute; inset: 0; background: rgba(14, 15, 52, .78); }
.community .wrap { position: relative; display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 40px; padding-block: clamp(64px, 9vw, 120px); align-items: end; }
.community .wrap > * { min-width: 0; }
.community .label { color: #9aa0e0; }
.community h2 { color: #fff; font-size: clamp(26px, 3.2vw, 40px); margin-top: 10px; }
.community .box { border-top: 1px solid rgba(255,255,255,.3); padding-top: 22px; display: grid; gap: 8px; }
.community .box h3 { color: #fff; font-size: 22px; }
.community .box p { color: rgba(255,255,255,.72); font-size: 15px; }
.community .box a { font-family: var(--font-en); font-size: 13px; letter-spacing: .14em; margin-top: 10px; color: #fff; }
.community .box a:hover { color: #9fc4ff; }
@media (max-width: 900px) { .community .wrap { grid-template-columns: 1fr; } }

/* ---------------- sub pages ---------------- */
.banner { position: relative; height: clamp(320px, 42vw, 460px); color: #fff; display: grid; place-items: center; text-align: center; background: var(--brand-deep) center / cover no-repeat; }
.banner::before { content: ""; position: absolute; inset: 0; background: rgba(14, 15, 52, .45); }
.banner .in { position: relative; padding-top: 60px; padding-inline: 16px; }
.banner .en { font-size: 14px; letter-spacing: .3em; font-weight: 600; color: rgba(255,255,255,.85); }
.banner h1 { color: #fff; font-size: clamp(32px, 4.6vw, 54px); font-weight: 700; margin-top: 8px; }

.locbar { border-bottom: 1px solid var(--line); background: #fff; position: relative; z-index: 20; }
.locbar .wrap { display: flex; align-items: stretch; min-height: 60px; }
.locbar .home { width: 60px; display: grid; place-items: center; border-inline: 1px solid var(--line); color: var(--muted); }
.locbar .home svg { width: 18px; height: 18px; }
.dd { position: relative; border-right: 1px solid var(--line); min-width: min(260px, 40vw); }
.dd summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 12px; height: 100%; padding: 0 22px; font-size: 15px; color: var(--ink); }
.dd summary::-webkit-details-marker { display: none; }
.dd summary::after { content: ""; width: 8px; height: 8px; border-right: 1.5px solid var(--muted); border-bottom: 1.5px solid var(--muted); transform: rotate(45deg) translateY(-3px); flex: none; }
.dd[open] summary::after { transform: rotate(-135deg); }
.dd ul { position: absolute; left: -1px; right: -1px; top: 100%; background: #fff; border: 1px solid var(--line); list-style: none; margin: 0; padding: 6px 0; box-shadow: 0 12px 24px rgba(20, 24, 40, .1); }
.dd ul a { display: block; padding: 9px 22px; font-size: 15px; }
.dd ul a:hover, .dd ul a[aria-current="page"] { color: var(--brand); background: var(--soft); }
@media (max-width: 640px) { .dd summary { padding: 0 12px; font-size: 14px; } .locbar .home { width: 48px; } .dd { min-width: 0; flex: 1; } }

.content { padding-block: clamp(56px, 8vw, 100px); }
.page-title { display: flex; justify-content: space-between; align-items: end; gap: 20px; flex-wrap: wrap; padding-bottom: 28px; border-bottom: 2px solid var(--ink); margin-bottom: 48px; }
.page-title h2 { font-size: clamp(26px, 3.2vw, 38px); font-weight: 700; }
.page-title .sub { font-family: var(--font-en); color: var(--accent); font-weight: 600; font-size: 14px; letter-spacing: .06em; display: block; margin-bottom: 6px; }

.block + .block { margin-top: 64px; }
.block > h3 { font-size: 21px; display: flex; align-items: center; gap: 10px; margin-bottom: 18px; }
.block > h3::before { content: ""; width: 4px; height: 20px; background: var(--brand); }
.block > h3 small { font-size: 14px; color: var(--muted); font-weight: 400; }
.summary { background: var(--soft); border-left: 4px solid var(--brand); padding: 24px 28px; border-radius: 0 8px 8px 0; display: grid; gap: 8px; }
.summary p { color: var(--text); }
.hl { color: var(--brand); font-weight: 700; }

.prod-top { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 4vw, 56px); align-items: start; }
.prod-top > * { min-width: 0; }
@media (max-width: 900px) { .prod-top { grid-template-columns: 1fr; } }
.viewer { border: 1px solid var(--line); border-radius: 10px; overflow: hidden; background: #fff; }
.viewer .main { aspect-ratio: 4 / 3; display: grid; place-items: center; padding: 20px; }
.viewer .main { overflow: hidden; }
.viewer .main img { width: 100%; height: 100%; object-fit: contain; cursor: zoom-in; }
.viewer .thumbs { display: flex; gap: 8px; padding: 10px; border-top: 1px solid var(--line); overflow-x: auto; }
.viewer .thumbs button { flex: 0 0 72px; height: 72px; border: 1px solid var(--line); border-radius: 6px; background: #fff; padding: 4px; cursor: pointer; }
.viewer .thumbs button.on { border-color: var(--brand); box-shadow: 0 0 0 1px var(--brand); }
.viewer .thumbs img { width: 100%; height: 100%; object-fit: contain; }
.prod-info .models { font-family: var(--font-en); color: var(--accent); font-weight: 700; letter-spacing: .04em; }
.prod-info h2 { font-size: clamp(26px, 3vw, 36px); margin-top: 6px; }
.prod-info .en-name { color: var(--muted); font-size: 15px; margin-top: 4px; }
.prod-info .pill { display: inline-block; margin-top: 14px; background: #eceefa; color: var(--brand); border-radius: 30px; padding: 4px 14px; font-size: 14px; font-weight: 500; }
.prod-info .desc { margin-top: 20px; padding-top: 20px; border-top: 1px solid var(--line); }
.prod-info .actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }

.checks { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.checks li { position: relative; padding-left: 30px; }
.checks li::before { content: ""; position: absolute; left: 0; top: .35em; width: 18px; height: 18px; border-radius: 50%; background: #eceefa; }
.checks li::after { content: ""; position: absolute; left: 6px; top: calc(.35em + 5px); width: 6px; height: 4px; border-left: 2px solid var(--brand); border-bottom: 2px solid var(--brand); transform: rotate(-45deg); }
.chips { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.chips li { border: 1px solid var(--line); border-radius: 30px; padding: 6px 16px; font-size: 14.5px; background: #fff; }

.tbl { overflow-x: auto; border-top: 2px solid var(--brand); }
table { width: 100%; border-collapse: collapse; font-size: 15px; font-variant-numeric: tabular-nums; }
th, td { padding: 13px 14px; border-bottom: 1px solid var(--line); text-align: center; white-space: nowrap; }
thead th { background: #f0f2fa; color: var(--ink); font-weight: 500; }
tbody th { font-weight: 500; color: var(--ink); background: #fafbfd; }
td.code, .code-col td:not(:first-child) { font-family: var(--font-en); font-size: 14px; }
.tbl caption { caption-side: bottom; text-align: left; padding: 10px 2px; font-size: 13.5px; color: var(--muted); }
.note { font-size: 14px; color: var(--muted); margin-top: 10px; }

.two { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.two > * { min-width: 0; }
@media (max-width: 900px) { .two { grid-template-columns: 1fr; } }
.pad-photo { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 14px; }
.pad-photo figure { margin: 0; border: 1px solid var(--line); border-radius: 8px; padding: 10px; text-align: center; font-size: 14px; color: var(--muted); background: #fff; }
.pad-photo img { margin: 0 auto 6px; }
.subtitle { color: var(--accent); font-weight: 700; font-size: 17px; margin-bottom: 10px; }

.formula { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; padding: 22px 26px; border: 1px solid var(--line); border-radius: 10px; background: #fff; }
.formula .eq { display: flex; align-items: center; gap: 12px; font-family: var(--font-en); font-size: 22px; color: var(--brand); font-weight: 600; }
.formula .frac { display: inline-grid; text-align: center; }
.formula .frac span:first-child { border-bottom: 2px solid var(--brand); padding: 0 10px; }
.formula dl { display: flex; gap: 6px 20px; flex-wrap: wrap; margin: 0; font-size: 14.5px; color: var(--muted); }
.formula dl div { display: flex; gap: 6px; }
.formula dt { font-family: var(--font-en); font-weight: 700; color: var(--ink); }
.formula dd { margin: 0; }

.catalog-pages { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 16px; }
.catalog-pages button { border: 1px solid var(--line); border-radius: 8px; padding: 8px; background: #fff; cursor: zoom-in; display: grid; gap: 8px; color: var(--muted); font-size: 14px; }
.catalog-pages button:hover { border-color: var(--brand); }
.type-card { display: grid; grid-template-columns: 1fr 300px; gap: 28px; padding: 28px; border: 1px solid var(--line); border-radius: 12px; align-items: start; }
.type-card + .type-card { margin-top: 20px; }
.type-card > * { min-width: 0; }
.type-card .code { font-family: var(--font-en); font-weight: 800; font-size: 28px; color: var(--brand); letter-spacing: .02em; }
.type-card h4 { font-size: 20px; margin-top: 2px; }
.type-card .en-name { color: var(--muted); font-size: 14px; }
.type-card p { margin-top: 12px; }
.type-card .range { margin-top: 14px; font-family: var(--font-en); font-size: 14px; background: var(--soft); border-radius: 6px; padding: 10px 14px; color: var(--ink); }
@media (max-width: 800px) { .type-card { grid-template-columns: 1fr; } }

.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 16px; }
.gallery button { border: 0; padding: 0; background: none; cursor: zoom-in; text-align: left; display: grid; gap: 10px; }
.gallery img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 8px; background: var(--soft); }
.gallery b { font-weight: 500; color: var(--ink); font-size: 15px; }
.gallery span { display: block; font-size: 13.5px; color: var(--muted); }

.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 22px; }
.cards a { border: 1px solid var(--line); border-radius: 12px; overflow: hidden; background: #fff; display: grid; grid-template-rows: auto 1fr; transition: border-color .2s, box-shadow .2s; }
.cards a:hover { border-color: var(--brand); box-shadow: 0 16px 36px rgba(28, 29, 94, .1); }
.cards .ph { aspect-ratio: 1 / 1; display: grid; place-items: center; padding: 22px; border-bottom: 1px solid var(--line); }
.cards .ph { overflow: hidden; }
.cards .ph img { width: 100%; height: 100%; object-fit: contain; }
.cards .tx { padding: 18px 20px 22px; }
.cards .code { font-family: var(--font-en); font-size: 13px; color: var(--accent); font-weight: 700; }
.cards h3 { font-size: 19px; margin-top: 4px; }
.cards p { color: var(--muted); font-size: 14.5px; margin-top: 6px; line-height: 1.6; }

.cta-box { margin-top: 72px; border-radius: 14px; background: var(--brand); color: #fff; padding: clamp(28px, 4vw, 44px); display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; }
.cta-box h3 { color: #fff; font-size: 24px; }
.cta-box p { color: rgba(255,255,255,.8); margin-top: 4px; }
.cta-box .tel { font-family: var(--font-en); font-size: clamp(26px, 3vw, 34px); font-weight: 700; color: #fff; }

.greet { display: grid; grid-template-columns: 1fr 1.3fr; gap: clamp(32px, 6vw, 80px); }
.greet > * { min-width: 0; }
.greet .big { font-size: clamp(26px, 3.2vw, 40px); font-weight: 700; color: var(--ink); line-height: 1.35; }
.greet .body { display: grid; gap: 16px; }
.greet .sign { font-weight: 700; color: var(--ink); }
@media (max-width: 900px) { .greet { grid-template-columns: 1fr; } }
.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); border-top: 2px solid var(--ink); }
.facts div { padding: 26px 22px; border-bottom: 1px solid var(--line); border-right: 1px solid var(--line); }
.facts div:last-child { border-right: 0; }
.facts .en { font-size: 12px; color: var(--accent); font-weight: 700; letter-spacing: .14em; }
.facts b { display: block; font-size: 19px; color: var(--ink); margin-top: 6px; }
.facts p { color: var(--muted); font-size: 14.5px; }
.info { display: grid; grid-template-columns: 120px 1fr; margin: 0; border-top: 2px solid var(--ink); }
.info dt, .info dd { padding: 14px 16px; border-bottom: 1px solid var(--line); margin: 0; }
.info dt { background: var(--soft); color: var(--ink); font-weight: 500; }

.form { display: grid; gap: 0; border-top: 2px solid var(--ink); }
.form .row { display: grid; grid-template-columns: 160px 1fr; border-bottom: 1px solid var(--line); }
.form .row > label:first-child { background: var(--soft); padding: 16px; font-weight: 500; color: var(--ink); }
.form .row > div { padding: 10px 14px; }
.form input, .form select, .form textarea { width: 100%; font: inherit; padding: 10px 12px; border: 1px solid var(--line); border-radius: 4px; background: #fff; color: var(--ink); }
.form textarea { min-height: 160px; resize: vertical; }
.form .agree { padding: 18px 0; display: flex; gap: 10px; align-items: flex-start; font-size: 14.5px; color: var(--muted); }
.form .agree input { width: auto; margin-top: 6px; }
.form .submit { display: flex; justify-content: center; padding-top: 18px; }
.form-msg { margin-top: 16px; padding: 14px 16px; background: #eceefa; color: var(--brand); border-radius: 6px; }
@media (max-width: 640px) { .form .row { grid-template-columns: 1fr; } }

/* ---------------- footer & quick ---------------- */
.footer { background: #f1f2f5; color: var(--muted); font-size: 14px; }
.footer .links { border-bottom: 1px solid var(--line); }
.footer .links .wrap { display: flex; flex-wrap: wrap; gap: 6px 24px; padding-block: 18px; }
.footer .links a { color: var(--ink); font-weight: 500; }
.footer .info-f { padding-block: 28px 40px; display: grid; gap: 4px; }
.footer .info-f .logo-f { width: 170px; margin-bottom: 14px; opacity: .85; }
.footer .sep { color: #c6cad1; margin-inline: 8px; }
.footer .copy { margin-top: 14px; font-size: 13px; font-family: var(--font-en); }

.quick { position: fixed; right: 18px; bottom: calc(env(safe-area-inset-bottom, 0px) + 18px); z-index: 90; display: grid; gap: 8px; }
.quick a, .quick button { width: 50px; height: 50px; border-radius: 50%; display: grid; place-items: center; box-shadow: 0 6px 16px rgba(0,0,0,.18); border: 0; cursor: pointer; font-weight: 800; font-size: 13px; }
.quick .blog { background: #03c75a; color: #fff; font-family: var(--font-en); font-size: 18px; }
.quick .call { background: var(--brand); color: #fff; }
.quick .top { background: #fff; color: var(--ink); border-radius: 6px; }
.quick svg { width: 20px; height: 20px; }

/* lightbox */
dialog.lightbox { border: 0; padding: 0; background: transparent; max-width: min(1100px, 94vw); max-height: 92vh; }
dialog.lightbox::backdrop { background: rgba(10, 12, 30, .85); }
dialog.lightbox img { max-height: 84vh; width: auto; margin: 0 auto; background: #fff; border-radius: 6px; }
dialog.lightbox p { color: #fff; text-align: center; margin-top: 8px; font-size: 14px; }
dialog.lightbox .close { position: fixed; top: 16px; right: 16px; background: #fff; border: 0; border-radius: 4px; padding: 8px 14px; cursor: pointer; }



/* slide 1: blurred robot-arm photo stays visible, like the Google Site header */
.slide.robot .bg::after { background: linear-gradient(90deg, rgba(14,15,52,.58) 0%, rgba(14,15,52,.32) 55%, rgba(14,15,52,.18) 100%); }


.slide.robot .kicker, .slide.robot h2, .slide.robot .desc { text-shadow: 0 2px 12px rgba(10, 12, 40, .6); }
.slide.robot .desc { color: #fff; }

.pad-hero { margin: 0 0 14px; aspect-ratio: 4 / 3; background: #fff; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; }
.pad-hero img { width: 100%; height: 100%; object-fit: contain; cursor: zoom-in; }

.type-photos { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 12px; margin-top: 18px; }
.type-photos figure { margin: 0; aspect-ratio: 4 / 3; background: #fff; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; }
.type-photos img { width: 100%; height: 100%; object-fit: contain; cursor: zoom-in; }

.gnb > li > a { white-space: nowrap; }

.lineup.three { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 900px) { .lineup.three { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .lineup.three { grid-template-columns: 1fr; } }
.hero-ctrl { display: none; }

/* v10 */
.banner .ttl { color: #fff; font-size: clamp(32px, 4.6vw, 54px); font-weight: 700; margin-top: 8px; line-height: 1.3; }
.page-title h1 { font-size: clamp(26px, 3.2vw, 38px); font-weight: 700; }
.slide h1 { color: #fff; font-size: clamp(38px, 6vw, 76px); font-weight: 900; letter-spacing: -0.02em; margin-top: 8px; }
.slide.robot h1 { text-shadow: 0 2px 12px rgba(10, 12, 40, .6); }
.contact-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); border-top: 2px solid var(--ink); }
.contact-cards > div { padding: 28px 24px; border-bottom: 1px solid var(--line); border-right: 1px solid var(--line); }
.contact-cards > div:last-child { border-right: 0; }
.contact-cards .en { font-size: 12px; color: var(--accent); font-weight: 700; letter-spacing: .14em; }
.contact-cards b { display: block; color: var(--ink); margin-top: 4px; }
.contact-cards .big-tel { font-family: var(--font-en); font-size: clamp(24px, 2.6vw, 30px); font-weight: 700; color: var(--brand); margin-top: 6px; word-break: break-all; }
.blog-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 40px; }
.blog-list:empty { display: none; }
.blog-list a { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 22px 24px; display: grid; gap: 8px; align-content: start; transition: border-color .2s, box-shadow .2s; }
.blog-list a:hover { border-color: #03c75a; box-shadow: 0 12px 28px rgba(3, 199, 90, .12); }
.blog-list .date { font-family: var(--font-en); font-size: 13px; color: #03a64c; font-weight: 600; }
.blog-list h3 { font-size: 17px; line-height: 1.45; }
.blog-list p { color: var(--muted); font-size: 14.5px; line-height: 1.6; }
.blog-list img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 8px; }
@media (max-width: 900px) { .blog-list { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .blog-list { grid-template-columns: 1fr; } }
