:root {
  --ink: #102033;
  --muted: #647184;
  --line: #e3e8ef;
  --blue: #0f6fdc;
  --blue-dark: #084c9e;
  --green: #19a66a;
  --orange: #f18c24;
  --bg: #f5f7fb;
  --white: #ffffff;
}

* { box-sizing: border-box; }
body {
  margin: 0;
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
  background: var(--white);
  line-height: 1.55;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
.site-wrap { width: min(1180px, calc(100% - 32px)); margin: 0 auto; }
.top-strip { background: #0c1b2d; color: #c9d6e5; font-size: 13px; }
.top-strip-inner { min-height: 38px; display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.top-actions { display: flex; gap: 18px; flex-wrap: wrap; }
.top-actions a:hover { color: var(--white); }
.nav-bar { min-height: 78px; display: flex; align-items: center; gap: 28px; }
.brand img { max-height: 48px; width: auto; }
.primary-nav { margin-left: auto; }
.primary-nav ul { margin: 0; padding: 0; list-style: none; display: flex; align-items: center; gap: 4px; }
.primary-nav li { position: relative; }
.primary-nav a { display: block; padding: 28px 13px; font-size: 15px; font-weight: 700; color: #1c2b3e; }
.primary-nav a:hover, .primary-nav a.active { color: var(--blue); }
.sub-menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 210px;
  display: none !important;
  padding: 8px 0 !important;
  background: var(--white);
  box-shadow: 0 16px 40px rgba(16,32,51,.16);
  z-index: 10;
}
.has-sub:hover .sub-menu { display: block !important; }
.sub-menu a { padding: 10px 16px; font-weight: 600; white-space: nowrap; }
.header-cta, .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 20px;
  border-radius: 4px;
  border: 1px solid transparent;
  font-weight: 700;
}
.header-cta, .btn-primary { background: var(--blue); color: var(--white); }
.header-cta:hover, .btn-primary:hover { background: var(--blue-dark); }
.btn-outline { border-color: rgba(255,255,255,.65); color: var(--white); }
.btn-outline:hover { background: rgba(255,255,255,.14); }
.nav-toggle { display: none; width: 44px; height: 44px; border: 1px solid var(--line); background: var(--white); border-radius: 4px; }
.nav-toggle span { display: block; width: 20px; height: 2px; margin: 5px auto; background: var(--ink); }

.hero-slider { position: relative; aspect-ratio: 1920 / 800; width: 100%; max-height: 800px; overflow: hidden; background: #0c1b2d; padding-top: 10px; }
.hero-slider-mobile { display: none; }
.hero-track, .hero-slide { height: 100%; }
.hero-track { position: relative; }
.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity .65s ease;
}
.hero-slide.active { opacity: 1; position: relative; }
.hero-slide a, .hero-slide img { display: block; width: 100%; height: 100%; }
.hero-slide img { object-fit: cover; object-position: center center; }
.hero-content { position: relative; color: var(--white); padding: 86px 0; }
.eyebrow { display: inline-block; color: var(--green); font-size: 13px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.hero-content h1 { max-width: 720px; margin: 14px 0 18px; font-size: clamp(40px, 6vw, 72px); line-height: 1.02; letter-spacing: 0; }
.hero-content p { max-width: 610px; margin: 0 0 30px; color: #d9e4ef; font-size: 18px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-dots { position: absolute; left: 50%; bottom: 24px; transform: translateX(-50%); display: flex; gap: 8px; }
.hero-dots button { width: 28px; height: 4px; border: 0; background: rgba(255,255,255,.4); cursor: pointer; }
.hero-dots button.active { background: var(--white); }

.section-panel { background: var(--bg); }
section { padding: 76px 0; }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 30px; }
.section-head h2 { max-width: 720px; margin: 8px 0 0; font-size: clamp(28px, 4vw, 44px); line-height: 1.12; }
.section-head.centered { display: block; text-align: center; }
.section-head.centered h2 { margin-left: auto; margin-right: auto; }
.text-link { color: var(--blue); font-weight: 800; white-space: nowrap; }
.category-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.category-card { background: var(--white); border: 1px solid var(--line); border-radius: 6px; overflow: hidden; transition: transform .2s ease, box-shadow .2s ease; }
.category-card:hover, .product-card:hover, .certificate-card:hover, .news-card:hover { transform: translateY(-4px); box-shadow: 0 18px 35px rgba(16,32,51,.12); }
.category-card figure { margin: 0; aspect-ratio: 4 / 3; background: #eef2f7; overflow: hidden; }
.category-card img, .product-card img { width: 100%; height: 100%; object-fit: cover; }
.category-card span { display: block; padding: 15px 16px; font-weight: 800; }
.product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.product-card { border: 1px solid var(--line); border-radius: 6px; overflow: hidden; background: var(--white); transition: .2s ease; }
.product-card figure { margin: 0; aspect-ratio: 1 / 1; background: #eef2f7; }
.product-card div { padding: 18px; }
.product-card h3, .advantage-card h3, .application-item h3, .news-card h3 { margin: 0 0 8px; font-size: 19px; line-height: 1.3; }
.product-card p, .advantage-card p, .application-item p, .news-card p, .about-copy p, .split-copy p { margin: 0; color: var(--muted); }
.advantage-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.advantage-card { position: relative; padding: 26px; min-height: 260px; border-radius: 6px; background: var(--white); border: 1px solid var(--line); overflow: hidden; }
.advantage-card .number { color: var(--orange); font-size: 32px; font-weight: 900; }
.advantage-card img { width: 58px; height: 58px; object-fit: cover; border-radius: 4px; margin: 18px 0; }
.split-layout { display: grid; grid-template-columns: .85fr 1.45fr; gap: 44px; align-items: start; }
.split-copy h2 { margin: 10px 0 16px; font-size: 40px; line-height: 1.14; }
.application-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.application-item { display: grid; grid-template-columns: 110px 1fr; gap: 16px; align-items: center; padding: 14px; border: 1px solid var(--line); border-radius: 6px; }
.application-item img { width: 110px; height: 88px; object-fit: cover; border-radius: 4px; }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 46px; align-items: center; }
.about-grid figure { margin: 0; }
.about-grid figure img { width: 100%; border-radius: 6px; aspect-ratio: 4 / 3; object-fit: cover; }
.about-copy h2 { margin: 10px 0 16px; font-size: 42px; line-height: 1.15; }
.about-copy .btn { margin-top: 24px; }
.stats-row { padding: 34px 0; background: #0c1b2d; color: var(--white); }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.stat-item strong { display: block; font-size: 36px; color: var(--green); }
.stat-item span { color: #c9d6e5; }
.certificate-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.certificate-card { background: var(--white); border: 1px solid var(--line); border-radius: 6px; padding: 12px; transition: .2s ease; }
.certificate-card img {
  width: 100%;
  aspect-ratio: 3 / 4;
  height: auto;
  object-fit: contain;
  background: #fff;
}
.certificate-card span { display: block; padding-top: 10px; font-weight: 700; font-size: 14px; }
.inquiry-band { background: linear-gradient(120deg, #0d5fb9, #14806a); color: var(--white); }
.inquiry-grid { display: grid; grid-template-columns: .85fr 1fr; gap: 44px; align-items: start; }
.inquiry-grid h2 { margin: 10px 0 14px; font-size: 42px; line-height: 1.12; }
.inquiry-grid p { color: #e6f1fb; }
.inquiry-form { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.inquiry-form input, .inquiry-form textarea {
  width: 100%;
  min-height: 48px;
  border: 1px solid rgba(255,255,255,.35);
  background: rgba(255,255,255,.13);
  color: var(--white);
  padding: 0 14px;
  border-radius: 4px;
}
.inquiry-form input::placeholder, .inquiry-form textarea::placeholder { color: rgba(255,255,255,.82); }
.inquiry-form textarea { grid-column: 1 / -1; min-height: 118px; padding-top: 12px; resize: vertical; }
.captcha-row { display: flex; gap: 10px; align-items: center; }
.captcha-row img { height: 42px; background: var(--white); }
.inquiry-form button { border: 0; background: #ff9c2a; color: #18263a; cursor: pointer; }
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.news-card { border: 1px solid var(--line); border-radius: 6px; padding: 24px; transition: .2s ease; background: var(--white); }
.news-card time { display: block; margin-bottom: 12px; color: var(--blue); font-weight: 800; font-size: 13px; text-transform: uppercase; }

.site-footer { background: #081524; color: #c9d6e5; }
.footer-grid { display: grid; grid-template-columns: 1.35fr repeat(4, 1fr) 1.35fr; gap: 28px; padding: 62px 0; }
.footer-logo img { max-height: 50px; filter: brightness(0) invert(1); }
.footer-company p { margin: 18px 0; color: #9fb0c4; }
.footer-col h3 { margin: 0 0 14px; color: var(--white); font-size: 16px; }
.footer-col a, .footer-link, .footer-col p { display: block; margin: 8px 0; color: #9fb0c4; font-size: 14px; }
.footer-col a:hover, .footer-link:hover { color: var(--white); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); padding: 18px 0; color: #9fb0c4; font-size: 14px; }
.footer-bottom p { margin: 0; }
.float-actions { position: fixed; right: 16px; bottom: 18px; z-index: 20; display: grid; gap: 8px; }
.float-actions a, .float-actions button { border: 0; border-radius: 4px; background: var(--blue); color: var(--white); padding: 10px 12px; font-weight: 700; cursor: pointer; }

.inner-hero { background: #0c1b2d; color: var(--white); padding: 82px 0; background-size: cover; background-position: center; position: relative; }
.inner-hero::before { content: ""; position: absolute; inset: 0; background: rgba(7,19,34,.68); }
.inner-hero .site-wrap { position: relative; }
.inner-hero h1 { margin: 10px 0 0; font-size: 46px; line-height: 1.12; }
.breadcrumb { margin-top: 14px; color: #c9d6e5; font-size: 14px; }
.inner-layout { padding: 62px 0; }
.subnav { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 28px; }
.subnav a { padding: 9px 14px; border: 1px solid var(--line); border-radius: 4px; color: var(--muted); font-weight: 700; }
.subnav a:hover, .subnav a.active { background: var(--blue); border-color: var(--blue); color: var(--white); }
.article-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.article-card { border: 1px solid var(--line); border-radius: 6px; overflow: hidden; background: var(--white); }
.article-card figure { margin: 0; aspect-ratio: 4 / 3; background: #eef2f7; }
.article-card img { width: 100%; height: 100%; object-fit: cover; }
.article-card div { padding: 18px; }
.article-card h2 { margin: 0 0 8px; font-size: 21px; }
.article-card p { margin: 0; color: var(--muted); }
.content-page { max-width: 980px; margin: 0 auto; color: #29384a; }
.content-page h1 { margin: 0 0 20px; font-size: 38px; line-height: 1.15; }
.content-page img { height: auto; }
.detail-cover { margin: 0 0 24px; }
.detail-cover img { width: 100%; max-height: 560px; object-fit: contain; background: var(--bg); border-radius: 6px; }
.pager { margin-top: 28px; display: flex; justify-content: center; gap: 8px; flex-wrap: wrap; }
.pager a, .pager span { min-width: 36px; min-height: 36px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--line); border-radius: 4px; padding: 0 10px; }

@media (max-width: 980px) {
  .top-strip { display: none; }
  .nav-bar { min-height: 68px; }
  .nav-toggle { display: block; margin-left: auto; }
  .header-cta { display: none; }
  .primary-nav { position: absolute; top: 68px; left: 0; right: 0; display: none; background: var(--white); box-shadow: 0 18px 30px rgba(16,32,51,.16); z-index: 30; }
  .primary-nav.open { display: block; }
  .primary-nav ul { display: block; }
  .primary-nav a { padding: 13px 24px; }
  .sub-menu { position: static; display: block !important; box-shadow: none; padding-left: 16px !important; }
  .hero-slider { max-height: none; }
  .hero-slider-pc { display: none; }
  .hero-slider-mobile { display: block; aspect-ratio: 3 / 4; padding-top: 0; }
  .hero-track, .hero-slide { height: 100%; }
  section { padding: 54px 0; }
  .section-head { display: block; }
  .category-grid, .product-grid, .advantage-grid { grid-template-columns: repeat(2, 1fr); }
  .split-layout, .about-grid, .inquiry-grid { grid-template-columns: 1fr; }
  .certificate-grid { grid-template-columns: repeat(3, 1fr); }
  .news-grid, .article-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  .site-wrap { width: min(100% - 24px, 1180px); }
  .hero-content h1 { font-size: 38px; }
  .advantages { display: none; }
  .category-grid, .advantage-grid, .application-list, .stats-grid, .footer-grid { grid-template-columns: 1fr; }
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .product-card:nth-child(n+7) { display: none; }
  .product-card a { display: block; position: relative; aspect-ratio: 1 / 1; overflow: hidden; }
  .product-card figure { height: 100%; }
  .product-card div {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 10px;
    background: linear-gradient(180deg, rgba(8,21,36,0), rgba(8,21,36,.84));
    color: var(--white);
  }
  .product-card h3 { margin: 0; font-size: 14px; line-height: 1.35; }
  .product-card p { display: none; }
  .certificate-grid {
    display: flex;
    grid-template-columns: none;
    gap: 12px;
    overflow-x: auto;
    padding-bottom: 8px;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
  }
  .certificate-card {
    flex: 0 0 calc(100vw - 48px);
    aspect-ratio: 1 / 1;
    scroll-snap-align: start;
    display: flex;
    flex-direction: column;
  }
  .certificate-card img { flex: 1 1 auto; min-height: 0; aspect-ratio: auto; object-fit: contain; }
  .certificate-card span { flex: 0 0 auto; }
  .application-item { grid-template-columns: 88px 1fr; }
  .application-item img { width: 88px; height: 72px; }
  .inquiry-form { grid-template-columns: 1fr; }
  .inner-hero h1 { font-size: 34px; }
}
