:root {
  --navy-900: #071a2d;
  --navy-800: #0b2744;
  --navy-700: #11385e;
  --blue-500: #1f70b8;
  --blue-300: #78abd6;
  --gold-500: #d3a744;
  --slate-900: #1d2935;
  --slate-700: #4a5b6e;
  --slate-500: #73879b;
  --bg-100: #f2f7fb;
  --bg-200: #e6eef6;
  --white: #fff;
  --radius-lg: 18px;
  --radius-md: 12px;
  --shadow-lg: 0 20px 42px rgba(8, 28, 49, 0.18);
  --shadow-md: 0 12px 24px rgba(9, 38, 67, 0.12);
}

* { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: "Noto Sans SC", "Noto Sans JP", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  color: var(--slate-900);
  background: linear-gradient(180deg, #f5f9fd 0%, #edf3f9 100%);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

a { text-decoration: none; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  background: linear-gradient(90deg, rgba(7,26,45,0.94) 0%, rgba(12,42,73,0.94) 100%);
  border-bottom: 1px solid rgba(255,255,255,0.12);
}

.header-inner {
  max-width: 1680px;
  margin: 0 auto;
  padding: 14px 22px;
  display: flex;
  align-items: center;
  gap: 22px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--white);
  font-weight: 800;
  letter-spacing: 0.02em;
  font-size: 1.72rem;
}

.brand-mark {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.38);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.82rem;
}
.brand-logo {
  width: 1.12em !important;
  height: 1.12em !important;
  object-fit: contain;
  filter: brightness(0) invert(1);
  display: inline-block;
  vertical-align: middle;
  flex: 0 0 auto;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-left: auto;
}

.main-nav a {
  color: rgba(255,255,255,0.82);
  font-size: 1.42rem;
  font-weight: 600;
  transition: color .2s;
}

.main-nav a.active,
.main-nav a:hover { color: var(--gold-500); }

.lang-switch {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: 12px;
  padding-left: 14px;
  border-left: 1px solid rgba(255,255,255,0.24);
}

.lang-btn {
  color: rgba(255,255,255,0.88);
  font-size: 1.22rem;
  cursor: pointer;
}

.lang-btn.active,
.lang-btn:hover { color: var(--gold-500); font-weight: 700; }

.hero {
  position: relative;
  min-height: 20vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background:
    linear-gradient(120deg, rgba(8,26,45,.76) 0%, rgba(15,56,93,.45) 48%, rgba(8,38,69,.66) 100%),
    url('https://images.unsplash.com/photo-1484920274317-87885fcbc978?auto=format&fit=crop&w=2200&q=80') center/cover no-repeat;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto -12% -36% -10%;
  height: 52%;
  background: radial-gradient(circle at center, rgba(120,171,214,.22) 0%, rgba(120,171,214,0) 60%);
  pointer-events: none;
}

.hero-inner {
  width: calc(100% - 44px);
  max-width: 1680px;
  width: min(1680px, 100% - 44px);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.06fr 0.94fr;
  gap: 36px;
  align-items: end;
}

.hero-copy h1 {
  margin: 0 0 14px;
  color: #fff;
  line-height: 1.06;
  font-size: clamp(1.15rem, 2.4vw, 2rem);
}

.hero-copy p {
  margin: 0;
  color: rgba(255,255,255,0.9);
  font-size: clamp(.78rem, .95vw, .92rem);
  max-width: 650px;
}

.hero-kpis {
  display: grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 14px;
}

.kpi {
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: var(--radius-md);
  padding: 10px 12px;
  color: #fff;
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}

.kpi strong { font-size: 1.7rem; line-height: 1; }
.kpi span { display:block; opacity:.86; margin-top:5px; font-size:.92rem; }

.page-wrap {
  width: calc(100% - 44px);
  max-width: 1680px;
  width: min(1680px, 100% - 44px);
  margin: -8px auto 0;
  position: relative;
  z-index: 3;
}

.split {
  display: grid;
  grid-template-columns: 270px 1fr;
  gap: 20px;
}

.side-panel {
  background: linear-gradient(180deg, #fff 0%, #f7fbff 100%);
  border: 1px solid #d7e4ef;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  padding: 18px;
  position: sticky;
  top: 84px;
  height: fit-content;
}

.panel-title {
  margin: 0 0 12px;
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--navy-800);
  border-bottom: 2px solid var(--gold-500);
  padding-bottom: 8px;
}

.cat-group { margin: 0 0 10px; }
.cat-head {
  width: 100%;
  border: 1px solid #d8e4ef;
  border-radius: 10px;
  background: #fff;
  color: var(--navy-800);
  padding: 8px 10px;
  text-align: left;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  cursor: pointer;
}
.cat-head .left {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.cat-head i {
  color: #fff;
  width: 20px;
  height: 20px;
  line-height: 20px;
  text-align: center;
  border-radius: 50%;
  font-size: 11px;
}
.cat-head .icon-jigs { background: #d6a12f !important; }
.cat-head .icon-hard { background: #2d78d8 !important; }
.cat-head .icon-soft { background: #29a96a !important; }
.cat-head .icon-acc  { background: #e6762e !important; }
.cat-head .chev {
  transition: transform .2s ease;
  color: #52708b;
}
.cat-group.open .cat-head .chev {
  transform: rotate(90deg);
}

.cat-links {
  margin: 8px 0 0;
  padding: 0;
  list-style: none;
  display: none;
}
.cat-group.open .cat-links { display: block; }

.cat-links a {
  display: block;
  padding: 7px 10px;
  border-left: 2px solid transparent;
  color: var(--slate-700);
  border-radius: 8px;
}

.cat-links a:hover,
.cat-links a.active {
  background: #edf4fc;
  color: var(--navy-800);
  border-left-color: var(--gold-500);
}

.content-panel {
  min-width: 0;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 18px;
}

.showcase-card,
.product-card,
.info-card {
  background: #fff;
  border: 1px solid #d7e2ec;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.product-card {
  box-shadow: 0 14px 28px rgba(10, 36, 63, 0.16), 0 4px 10px rgba(10, 36, 63, 0.08);
  transition: transform .2s ease, box-shadow .2s ease;
}

.product-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 34px rgba(10, 36, 63, 0.2), 0 6px 14px rgba(10, 36, 63, 0.1);
}

.product-thumb {
  aspect-ratio: 4/3;
  width: 100%;
  height: auto;
  object-fit: cover;
  background: #eef3f8;
}

.product-body {
  padding: 14px;
}

.product-cat {
  display: inline-block;
  font-size: .72rem;
  border-radius: 999px;
  padding: 4px 10px;
  color: var(--navy-700);
  background: #e8f1fb;
  border: 1px solid #d2e2f2;
}

.product-title {
  margin: 8px 0 4px;
  font-size: 1.14rem;
  color: #1a2e44;
  font-weight: 800;
}

.product-sub {
  margin: 0;
  color: var(--slate-700);
  font-size: .92rem;
  line-height: 1.5;
}

.ribbon-section {
  margin-top: 24px;
}

.ribbon-track {
  display: flex;
  gap: 14px;
  overflow: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 8px;
  position: relative;
  scrollbar-width: thin;
}

.ribbon-item {
  flex: 0 0 280px;
  border: 1px solid #d8e4ef;
  border-radius: 14px;
  background: #fff;
  padding: 8px;
  scroll-snap-align: start;
}

.ribbon-item img {
  width: 100%;
  height: 150px;
  object-fit: cover;
  border-radius: 10px;
}

.ribbon-item strong {
  display: block;
  margin-top: 9px;
  font-size: .95rem;
}

.section-title {
  margin: 2px 0 14px;
  font-size: 1.46rem;
  color: var(--navy-800);
  font-weight: 800;
}

.wide-grid {
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 18px;
  margin-top: 18px;
}

.feature-panel {
  border-radius: var(--radius-lg);
  border: 1px solid #d7e2ec;
  background: #fff;
  box-shadow: var(--shadow-md);
  overflow: hidden;
}

.feature-hero {
  min-height: 220px;
  background-size: cover;
  background-position: center;
  position: relative;
}

.feature-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(7,26,45,.18) 0%, rgba(7,26,45,.72) 100%);
}

.feature-body {
  padding: 16px;
}

.feature-title {
  margin: 0 0 8px;
  font-size: 1.24rem;
  color: #173a5f;
  font-weight: 800;
}

.feature-list {
  margin: 0;
  padding-left: 18px;
  color: var(--slate-700);
  line-height: 1.7;
}

.mini-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 12px;
}

.mini-card {
  border: 1px solid #d7e2ec;
  border-radius: 12px;
  background: linear-gradient(180deg, #fff 0%, #f6fbff 100%);
  padding: 12px;
}

.mini-card h5 {
  margin: 0 0 6px;
  font-size: 1rem;
  color: #16385a;
}

.mini-card p {
  margin: 0;
  font-size: .9rem;
  color: #607488;
  line-height: 1.5;
}

.showcase-card .cover {
  height: 190px;
  background-size: cover;
  background-position: center;
  position: relative;
}

.showcase-card .cover::before {
  display: none;
}

.showcase-card .meta {
  padding: 14px;
}
.showcase-link {
  display: block;
  color: inherit;
}

.btn-line {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid #c1d5e8;
  color: #14466f;
  background: #eef6fe;
  border-radius: 9px;
  padding: 7px 12px;
  font-weight: 700;
  font-size: .9rem;
}

.page-hero {
  min-height: 42vh;
  display: flex;
  align-items: end;
  padding: 100px 0 44px;
  background:
    linear-gradient(120deg, rgba(7,26,45,.84) 0%, rgba(14,56,91,.55) 100%),
    url('https://images.unsplash.com/photo-1523518477234-6d9e2f8a4dbf?auto=format&fit=crop&w=2200&q=80') center/cover no-repeat;
}

.page-hero h1 {
  color: #fff;
  margin: 0;
  font-size: clamp(1.8rem, 3vw, 3.1rem);
}

.page-hero-compact {
  min-height: 11vh;
  padding: 56px 0 8px;
}

.page-hero-compact h1 {
  font-size: clamp(1.2rem, 1.9vw, 1.7rem);
}

@media (max-width: 991.98px) {
  .page-hero-compact {
    min-height: 9vh;
    padding: 52px 0 6px;
  }
  .page-hero-compact h1 {
    font-size: clamp(1.05rem, 4.6vw, 1.35rem);
  }
}

.detail-grid {
  display: grid;
  grid-template-columns: 1.35fr .65fr;
  gap: 20px;
  margin-top: 24px;
}

.gallery-main {
  width: 100%;
  border-radius: var(--radius-md);
  border: 1px solid #d7e3ee;
  background: #fff;
  max-height: 760px;
  object-fit: contain;
}

.thumb-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 10px;
}

.thumb-row img {
  width: 96px;
  height: 72px;
  object-fit: cover;
  border-radius: 8px;
  border: 2px solid transparent;
  cursor: pointer;
}

.thumb-row img.active,
.thumb-row img:hover { border-color: var(--gold-500); }

.spec-table {
  width: 100%;
  border-collapse: collapse;
  font-size: .95rem;
}

.spec-table th,
.spec-table td {
  border: 1px solid #d7e3ee;
  padding: 10px;
  vertical-align: top;
}

.spec-table th {
  width: 35%;
  background: #edf4fb;
  color: #133a5f;
}

.advice {
  margin-top: 14px;
  border: 1px solid #e8ddb9;
  background: #f8f4e6;
  border-radius: 10px;
  padding: 12px;
  line-height: 1.6;
  color: #3d3b31;
  font-size: .93rem;
}

.site-footer {
  margin-top: 64px;
  background: linear-gradient(160deg, #071a2d 0%, #0d2f52 72%, #0b2846 100%);
  color: #d2dfec;
  padding: 46px 0 22px;
}

.footer-inner {
  width: calc(100% - 44px);
  max-width: 1680px;
  width: min(1680px, 100% - 44px);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.4fr .8fr 1fr;
  gap: 24px;
}

.footer-title {
  margin: 0 0 12px;
  color: #fff;
  font-size: 1rem;
  font-weight: 800;
}

.footer-links a {
  color: #d2dfec;
  display: block;
  margin-bottom: 7px;
}

.footer-meta {
  width: calc(100% - 44px);
  max-width: 1680px;
  width: min(1680px, 100% - 44px);
  margin: 14px auto 0;
  border-top: 1px solid rgba(255,255,255,0.16);
  padding-top: 12px;
  display: flex;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
  color: #9cb4c9;
  font-size: .86rem;
}

@supports not (aspect-ratio: 1 / 1) {
  .product-thumb { height: 210px; }
}

@supports not ((-webkit-backdrop-filter: blur(1px)) or (backdrop-filter: blur(1px))) {
  .site-header { background: linear-gradient(90deg, rgba(7,26,45,0.98) 0%, rgba(12,42,73,0.98) 100%); }
  .kpi { background: rgba(255,255,255,.18); }
}

@media (max-width: 991.98px) {
  .header-inner { flex-wrap: wrap; }
  .main-nav {
    display: flex;
    order: 3;
    width: 100%;
    overflow-x: auto;
    gap: 16px;
    margin-left: 0;
    padding-top: 10px;
    border-top: 1px solid rgba(255,255,255,0.16);
  }
  .main-nav a { white-space: nowrap; font-size: .96rem; }
  .hero { min-height: 42vh; }
  .hero-inner { grid-template-columns: 1fr; align-items: start; }
  .split { grid-template-columns: 1fr; }
  .side-panel { position: static; }
  .card-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .wide-grid { grid-template-columns: 1fr; }
  .mini-grid { grid-template-columns: 1fr; }
  .detail-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; }
}

@media (max-width: 575.98px) {
  .header-inner { padding: 12px; gap: 10px; }
  .brand { font-size: 1rem; }
  .lang-switch { gap: 7px; margin-left: auto; padding-left: 10px; }
  .lang-btn { font-size: .82rem; }
  .page-wrap { width: min(1320px, 100% - 22px); margin-top: -22px; }
  .card-grid { grid-template-columns: 1fr; }
  .hero-copy p { font-size: .95rem; }
  .hero-kpis { grid-template-columns: 1fr; }
  .ribbon-item { flex: 0 0 220px; }
  .hero { min-height: 38vh; }
}



.detail-buy-cta { display:inline-flex; align-items:center; font-weight:700; }
