.sub-hero {
  position: relative;
  margin-top: 82px;
  padding: 105px 0 95px;
  overflow: hidden;
  color: #fff;
  background:
    linear-gradient(90deg, rgba(22, 64, 141, .98), rgba(22, 64, 141, .78)),
    url("assets/images/hero-sealing-products.jpg") center 58% / cover no-repeat;
}

.sub-hero-grid {
  position: absolute;
  inset: 0;
  opacity: .5;
  background-image:
    linear-gradient(rgba(255,255,255,.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.08) 1px, transparent 1px);
  background-size: 70px 70px;
}

.sub-hero p {
  margin: 0 0 16px;
  color: var(--yellow);
  font-size: .78rem;
  font-weight: 900;
  letter-spacing: .16em;
}

.sub-hero h1 {
  margin: 0 0 18px;
  font-size: clamp(3rem, 6vw, 5.5rem);
  font-weight: 900;
  letter-spacing: -.06em;
}

.sub-hero span { color: rgba(255,255,255,.76); }

.breadcrumb-bar {
  border-bottom: 1px solid var(--line);
  background: #fff;
}

.breadcrumb-bar nav {
  display: flex;
  align-items: center;
  min-height: 58px;
  gap: 13px;
  font-size: .72rem;
  color: var(--muted);
}

.breadcrumb-bar strong { color: var(--ink); }
.sub-content { padding: 90px 0 130px; }
.side-nav { position: sticky; top: 120px; }

.side-nav-head {
  padding: 28px;
  color: #fff;
  background: #16408d;
}

.side-nav-head small {
  color: var(--yellow);
  font-size: .65rem;
  font-weight: 900;
  letter-spacing: .15em;
}

.side-nav-head h2 {
  margin: 7px 0 0;
  font-size: 1.8rem;
  font-weight: 900;
}

.side-nav nav {
  border-inline: 1px solid var(--line);
  background: #fff;
}

.side-nav nav a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 21px;
  border-bottom: 1px solid var(--line);
  font-size: .94rem;
  font-weight: 700;
}

.side-nav nav a b { color: #a3a5ac; }
.side-nav nav a:hover,
.side-nav nav a.active {
  color: #fff;
  background: var(--blue);
}
.side-nav nav a.active b,
.side-nav nav a:hover b { color: var(--yellow); }

.side-contact {
  margin-top: 22px;
  padding: 24px;
  border: 2px solid var(--ink);
  background: var(--yellow);
}

.side-contact small,
.side-contact strong { display: block; }
.side-contact small { margin-bottom: 8px; font-size: .7rem; }
.side-contact strong { margin-bottom: 20px; font-size: 1.15rem; line-height: 1.5; }
.side-contact a { font-size: .78rem; font-weight: 900; border-bottom: 1px solid var(--ink); }

.content-head {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  margin-bottom: 38px;
  padding-bottom: 24px;
  border-bottom: 2px solid var(--ink);
}

.content-head p {
  grid-column: 1 / -1;
  margin-bottom: 9px;
  color: var(--blue);
  font-size: .68rem;
  font-weight: 900;
  letter-spacing: .16em;
}

.content-head h2 {
  margin: 0;
  font-size: clamp(2.4rem, 4vw, 4rem);
  font-weight: 900;
  letter-spacing: -.05em;
}

.content-head span { color: var(--muted); font-size: .9rem; }
.greeting-visual { position: relative; height: 420px; overflow: hidden; }
.greeting-visual img { width: 100%; height: 100%; object-fit: cover; object-position: center 56%; }

.visual-label {
  position: absolute;
  right: 0;
  bottom: 0;
  display: flex;
  align-items: end;
  gap: 12px;
  padding: 18px 22px;
  color: var(--ink);
  background: var(--yellow);
}

.visual-label b { font-family: "Archivo Black"; font-size: 2.8rem; line-height: .85; }
.visual-label span { font-size: .62rem; font-weight: 900; line-height: 1.3; }
.greeting-copy { padding-top: 52px; }
.lead-copy { font-size: clamp(1.35rem, 2vw, 1.8rem); font-weight: 700; line-height: 1.6; letter-spacing: -.04em; }
.lead-copy strong { color: #16408d; }
.body-copy { color: #555861; font-size: 1rem; line-height: 1.95; }
.signature { margin-top: 36px; color: var(--ink); font-weight: 800; text-align: right; }
.navbar .nav-link.active { color: var(--blue)!important; }

@media (max-width: 991.98px) {
  .sub-hero { margin-top: 72px; padding: 80px 0 70px; }
  .sub-content { padding: 65px 0 90px; }
  .side-nav { position: static; }
  .side-nav nav { display: grid; grid-template-columns: repeat(2, 1fr); }
  .side-contact { display: none; }
}

@media (max-width: 767.98px) {
  .sub-hero { margin-top: 70px; padding: 65px 0 55px; }
  .sub-hero span { font-size: .85rem; }
  .breadcrumb-bar nav { overflow-x: auto; white-space: nowrap; }
  .side-nav-head { padding: 22px; }
  .side-nav nav { grid-template-columns: 1fr; }
  .content-head { display: block; }
  .content-head span { display: block; margin-top: 10px; }
  .greeting-visual { height: 300px; }
  .greeting-copy { padding-top: 35px; }
}

/* Product catalog */
.product-sub-hero {
  background:
    linear-gradient(90deg, rgba(22,64,141,.98), rgba(22,64,141,.68)),
    url("assets/images/machined-urethane-seal.jpg") center 52% / cover no-repeat;
}
.compact-sub-hero { padding-block: 80px 72px; }
.oil-sub-hero {
  background:
    linear-gradient(90deg, rgba(22,64,141,.98), rgba(22,64,141,.7)),
    url("assets/images/outer-diameter-oil-seal.jpg") center 50% / cover no-repeat;
}
.notice-sub-hero {
  background:
    linear-gradient(90deg, rgba(22,64,141,.98), rgba(22,64,141,.76)),
    url("assets/images/hero-sealing-products.jpg") center 55% / cover no-repeat;
}
.product-side-menu a { min-height: 52px; }
.catalog-search,
.stock-check form,
.notice-search {
  display: flex;
  gap: 10px;
  margin-bottom: 34px;
}
.catalog-search input,
.stock-check input,
.notice-search input,
.notice-search select {
  min-width: 0;
  border: 1px solid #aeb4bf;
  border-radius: 0;
  background: #fff;
  padding: 15px 17px;
  font: inherit;
}
.catalog-search input,
.stock-check input,
.notice-search input { flex: 1; }
.catalog-search button,
.stock-check button,
.notice-search button {
  flex: 0 0 auto;
  border: 0;
  background: var(--blue);
  color: #fff;
  padding: 0 24px;
  font-weight: 800;
}
.catalog-search input:focus,
.stock-check input:focus,
.notice-search input:focus,
.notice-search select:focus {
  outline: 3px solid rgba(22,64,141,.15);
  border-color: var(--blue);
}
.catalog-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}
.catalog-card {
  display: grid;
  grid-template-columns: 42% 1fr;
  min-height: 220px;
  border: 1px solid var(--line);
  background: #fff;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
  scroll-margin-top: 120px;
}
.catalog-card:hover {
  transform: translateY(-4px);
  border-color: var(--blue);
  box-shadow: 0 18px 35px rgba(16,17,20,.1);
}
.catalog-image { overflow: hidden; background: #f3f4f6; }
.catalog-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .45s ease;
}
.catalog-card:hover img { transform: scale(1.05); }
.catalog-card > div:last-child {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 26px 22px;
}
.catalog-card small,
.detail-kicker,
.oil-intro-copy small,
.quick-contact small,
.stock-check > small {
  color: var(--blue);
  font-size: .63rem;
  font-weight: 900;
  letter-spacing: .13em;
}
.catalog-card h3 { margin: 8px 0; font-size: 1.35rem; font-weight: 900; }
.catalog-card p { color: var(--muted); font-size: .78rem; line-height: 1.55; }
.catalog-card span { margin-top: auto; font-size: .72rem; font-weight: 900; }

/* Product detail */
.detail-image {
  position: relative;
  height: 470px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #f3f4f6;
}
.detail-image img { width: 100%; height: 100%; object-fit: cover; }
.detail-image > span {
  position: absolute;
  left: 16px;
  bottom: 16px;
  padding: 7px 10px;
  background: var(--yellow);
  font-size: .65rem;
  font-weight: 800;
}
.detail-summary { display: flex; flex-direction: column; align-items: flex-start; }
.detail-summary h2 { margin: 10px 0 18px; font-size: clamp(2.4rem,4vw,4rem); font-weight: 900; letter-spacing: -.06em; }
.detail-lead { color: var(--muted); line-height: 1.8; }
.spec-list { width: 100%; margin: 20px 0 28px; border-top: 2px solid var(--ink); }
.spec-list div { display: grid; grid-template-columns: 90px 1fr; padding: 14px 3px; border-bottom: 1px solid var(--line); }
.spec-list dt { color: var(--muted); font-size: .82rem; font-weight: 500; }
.spec-list dd { margin: 0; font-size: .85rem; font-weight: 700; }
.detail-cta { margin-top: auto; padding: 15px 20px; background: var(--blue); color: #fff; font-weight: 800; }
.detail-section { margin-top: 75px; }
.detail-section-title { display: flex; align-items: center; gap: 15px; margin-bottom: 22px; padding-bottom: 15px; border-bottom: 2px solid var(--ink); }
.detail-section-title small { display: grid; place-items: center; width: 32px; height: 32px; background: var(--yellow); font-weight: 900; }
.detail-section-title h3 { margin: 0; font-size: 1.55rem; font-weight: 900; }
.detail-section > p { max-width: 850px; color: #545761; line-height: 1.9; }
.material-table > div { display: grid; grid-template-columns: 120px 1fr 1fr; padding: 16px 18px; border-bottom: 1px solid var(--line); }
.material-table .table-head { background: var(--blue); color: #fff; font-weight: 800; }
.material-table b { color: var(--blue); }
.stock-check { margin-top: 75px; padding: 40px; border: 2px solid var(--ink); background: #f7f8fa; }
.stock-check h3 { margin: 8px 0; font-size: 1.8rem; font-weight: 900; }
.stock-check p { color: var(--muted); }
.stock-check form { margin: 20px 0 10px; }
.stock-note { color: #b42318; font-size: .72rem; }

/* Oil seal guide */
.oil-guide-intro { margin-bottom: 55px; }
.oil-main-image { height: 390px; overflow: hidden; background: #f3f4f6; }
.oil-main-image img { width: 100%; height: 100%; object-fit: cover; }
.oil-intro-copy { height: 100%; padding: 40px; color: #fff; background: var(--blue); }
.oil-intro-copy small { color: var(--yellow); }
.oil-intro-copy h3 { margin: 16px 0 22px; font-size: 1.75rem; font-weight: 900; line-height: 1.4; }
.oil-intro-copy p { color: rgba(255,255,255,.72); line-height: 1.8; }
.seal-type-list { border-top: 2px solid var(--ink); }
.seal-type-card {
  display: grid;
  grid-template-columns: 85px 1fr;
  gap: 25px;
  padding: 30px 10px;
  border-bottom: 1px solid var(--line);
  scroll-margin-top: 120px;
}
.seal-type-no { font-family: "Archivo Black"; font-size: 2.2rem; color: var(--blue); }
.seal-type-card small { color: var(--muted); font-size: .62rem; font-weight: 800; letter-spacing: .12em; }
.seal-type-card h3 { margin: 6px 0 10px; font-size: 1.45rem; font-weight: 900; }
.seal-type-card p { max-width: 730px; color: #5e6169; line-height: 1.75; }
.type-tags { display: flex; gap: 7px; flex-wrap: wrap; }
.type-tags span { padding: 5px 9px; background: #edf1f8; color: var(--blue); font-size: .68rem; font-weight: 800; }
.oil-caution { display: flex; gap: 25px; margin-top: 35px; padding: 24px; border-left: 6px solid var(--yellow); background: #f3f4f6; }
.oil-caution span { color: var(--muted); }

/* Notice */
.notice-search { justify-content: flex-end; }
.notice-search select { width: 120px; }
.notice-search input { max-width: 300px; }
.notice-board { border-top: 2px solid var(--ink); }
.notice-item {
  display: grid;
  grid-template-columns: 65px 1fr 110px 30px;
  gap: 20px;
  align-items: center;
  min-height: 105px;
  padding: 20px 15px;
  border-bottom: 1px solid var(--line);
  transition: background .2s ease, padding .2s ease;
}
.notice-item:hover { padding-inline: 24px; background: #fff9d9; }
.notice-number { color: var(--muted); text-align: center; font-size: .78rem; }
.notice-fixed .notice-number { color: var(--blue); font-weight: 900; }
.board-tag { color: var(--blue); font-size: .58rem; font-weight: 900; letter-spacing: .1em; }
.notice-item h3 { margin: 6px 0 0; font-size: 1rem; font-weight: 700; }
.notice-item time { color: var(--muted); font-size: .75rem; }
.notice-item b { font-size: 1.2rem; }
.pagination-custom { display: flex; justify-content: center; margin-top: 35px; }
.pagination-custom a { display: grid; place-items: center; width: 40px; height: 40px; border: 1px solid var(--ink); font-weight: 800; }
.pagination-custom a.active { background: var(--blue); color: #fff; border-color: var(--blue); }

/* Shared direct inquiry */
.quick-contact { padding: 75px 0; color: #fff; background: var(--blue); }
.quick-contact > .container-xl { display: flex; justify-content: space-between; align-items: center; gap: 40px; }
.quick-contact small { color: var(--yellow); }
.quick-contact h2 { margin: 9px 0; font-size: clamp(1.8rem,3vw,3rem); font-weight: 900; letter-spacing: -.05em; }
.quick-contact p { margin: 0; color: rgba(255,255,255,.7); }
.quick-contact-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.quick-contact-actions a { padding: 14px 18px; border: 1px solid rgba(255,255,255,.7); font-weight: 800; white-space: nowrap; }
.quick-contact-actions a:first-child { border-color: var(--yellow); background: var(--yellow); color: var(--ink); }
.quick-contact-actions a:hover { background: #fff; color: var(--blue); }

@media (max-width: 991.98px) {
  .catalog-grid { grid-template-columns: 1fr; }
  .product-side-menu { max-height: 260px; overflow-y: auto; }
  .quick-contact > .container-xl { display: block; }
  .quick-contact-actions { margin-top: 28px; }
}

@media (max-width: 767.98px) {
  .catalog-card { grid-template-columns: 38% 1fr; min-height: 190px; }
  .catalog-card > div:last-child { padding: 20px 16px; }
  .catalog-search button, .stock-check button, .notice-search button { padding-inline: 16px; }
  .detail-image { height: 340px; }
  .material-table > div { grid-template-columns: 75px 1fr; gap: 7px; }
  .material-table > div > :last-child { grid-column: 2; }
  .material-table .table-head > :last-child { display: none; }
  .stock-check { padding: 25px 20px; }
  .oil-main-image { height: 300px; }
  .oil-intro-copy { padding: 28px; }
  .seal-type-card { grid-template-columns: 55px 1fr; gap: 15px; }
  .seal-type-no { font-size: 1.6rem; }
  .oil-caution { display: block; }
  .oil-caution span { display: block; margin-top: 8px; line-height: 1.6; }
  .notice-search { display: grid; grid-template-columns: 100px 1fr; }
  .notice-search select, .notice-search input { width: 100%; max-width: none; }
  .notice-search button { grid-column: 1 / -1; min-height: 48px; }
  .notice-item { grid-template-columns: 45px 1fr 25px; gap: 10px; }
  .notice-item time { grid-column: 2; grid-row: 2; }
  .notice-item b { grid-column: 3; grid-row: 1 / 3; }
  .quick-contact { padding: 55px 0; }
}
