/*Individual page*/
/* =========================
   Page Common
========================= */
/* Shared subpage header
   White background / No shadow */
.subpage .header,
.subpage .header.is-transparent,
.subpage .header.is-solid{
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border-bottom-color: var(--c-border);
  box-shadow: none;
}

/* Fixed header offset */
.subpage .page-main{
  padding-top: 86px;
}

@media (max-width: 1024px){
  .subpage .page-main{
    padding-top: 78px;
  }
}

@media (max-width: 768px){
  html{
    scroll-padding-top: 84px;
  }

  .subpage .page-main{
    padding-top: 72px;
  }
}

/* =========================
   Products Hero
========================= */
.page-products-hero{
  background: #000;
  padding: 104px 20px 92px;
}

.page-products-hero__inner{
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
}

.page-products-hero__title{
  margin: 0;
  color: #00b7ff;
  font-size: clamp(54px, 5vw, 92px);
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: 0;
}

.page-products-hero__lead{
  margin-top: 34px;
  max-width: 1140px;
}

.page-products-hero__lead p{
  margin: 0;
  color: rgba(255,255,255,.92);
  font-size: 15px;
  font-weight: 500;
  line-height: 1.95;
}

.page-products-hero__lead p + p{
  margin-top: 2px;
}

.page-products-hero__lead .page-products-hero__leadSpacer{
  margin-top: 24px;
}

.page-products-hero__nav{
  margin-top: 66px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-left: 1px solid rgba(255,255,255,.72);
  border-right: 1px solid rgba(255,255,255,.72);
}

.page-products-hero__navItem{
  min-height: 168px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 26px;
  color: #fff;
  text-decoration: none;
  border-right: 1px solid rgba(255,255,255,.72);
  transition: background-color .2s ease;
}

.page-products-hero__navItem:last-child{
  border-right: none;
}

.page-products-hero__navItem:hover{
  background: rgba(255,255,255,.04);
}

.page-products-hero__navLabel{
  display: block;
  text-align: center;
  font-size: 28px;
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: 0;
}

/* Down arrow - desktop */
.page-products-hero__navArrow{
  width: 28px;
  height: 16px;
  position: relative;
  display: block;
}

.page-products-hero__navArrow::before,
.page-products-hero__navArrow::after{
  content: "";
  position: absolute;
  top: 6px;
  width: 14px;
  height: 2px;
  background: #fff;
}

.page-products-hero__navArrow::before{
  left: 1px;
  transform: rotate(45deg);
  transform-origin: right center;
}

.page-products-hero__navArrow::after{
  right: 1px;
  transform: rotate(-45deg);
  transform-origin: left center;
}

/* =========================
   Products Hero / Tablet
========================= */
@media (max-width: 1100px){
  .page-products-hero{
    padding: 92px 18px 76px;
  }

  .page-products-hero__title{
    font-size: clamp(46px, 5vw, 72px);
  }

  .page-products-hero__lead{
    margin-top: 26px;
  }

  .page-products-hero__lead p{
    font-size: 14px;
    line-height: 1.85;
  }

  .page-products-hero__lead .page-products-hero__leadSpacer{
    margin-top: 18px;
  }

  .page-products-hero__nav{
    margin-top: 48px;
  }

  .page-products-hero__navItem{
    min-height: 136px;
    gap: 18px;
  }

  .page-products-hero__navLabel{
    font-size: 22px;
  }

  .page-products-hero__navArrow{
    width: 24px;
    height: 14px;
  }

  .page-products-hero__navArrow::before,
  .page-products-hero__navArrow::after{
    top: 5px;
    width: 12px;
  }
}

/* =========================
   Products Hero
========================= */
.page-products-hero{
  background: #000;
  padding: 104px 20px 92px;
}

.page-products-hero__inner{
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
}

.page-products-hero__title{
  margin: 0;
  color: #00b7ff;
  font-size: clamp(54px, 5vw, 92px);
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: 0;
}

.page-products-hero__lead{
  margin-top: 34px;
  max-width: 1140px;
}

.page-products-hero__lead p{
  margin: 0;
  color: rgba(255,255,255,.92);
  font-size: 15px;
  font-weight: 500;
  line-height: 1.95;
}

.page-products-hero__lead p + p{
  margin-top: 2px;
}

.page-products-hero__lead .page-products-hero__leadSpacer{
  margin-top: 24px;
}

.page-products-hero__nav{
  margin-top: 66px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-left: 1px solid rgba(255,255,255,.72);
  border-right: 1px solid rgba(255,255,255,.72);
}

.page-products-hero__navItem{
  min-height: 168px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 26px;
  color: #fff;
  text-decoration: none;
  border-right: 1px solid rgba(255,255,255,.72);
  transition: background-color .2s ease;
}

.page-products-hero__navItem:last-child{
  border-right: none;
}

.page-products-hero__navItem:hover{
  background: rgba(255,255,255,.04);
}

.page-products-hero__navLabel{
  display: block;
  text-align: center;
  font-size: 28px;
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: 0;
}

/* Down arrow - desktop */
.page-products-hero__navArrow{
  width: 28px;
  height: 16px;
  position: relative;
  display: block;
}

.page-products-hero__navArrow::before,
.page-products-hero__navArrow::after{
  content: "";
  position: absolute;
  top: 6px;
  width: 14px;
  height: 2px;
  background: #fff;
}

.page-products-hero__navArrow::before{
  left: 1px;
  transform: rotate(45deg);
  transform-origin: right center;
}

.page-products-hero__navArrow::after{
  right: 1px;
  transform: rotate(-45deg);
  transform-origin: left center;
}

/* =========================
   Products Hero / Tablet
========================= */
@media (max-width: 1100px){
  .page-products-hero{
    padding: 92px 18px 76px;
  }

  .page-products-hero__title{
    font-size: clamp(46px, 5vw, 72px);
  }

  .page-products-hero__lead{
    margin-top: 26px;
  }

  .page-products-hero__lead p{
    font-size: 14px;
    line-height: 1.85;
  }

  .page-products-hero__lead .page-products-hero__leadSpacer{
    margin-top: 18px;
  }

  .page-products-hero__nav{
    margin-top: 48px;
  }

  .page-products-hero__navItem{
    min-height: 136px;
    gap: 18px;
  }

  .page-products-hero__navLabel{
    font-size: 22px;
  }

  .page-products-hero__navArrow{
    width: 24px;
    height: 14px;
  }

  .page-products-hero__navArrow::before,
  .page-products-hero__navArrow::after{
    top: 5px;
    width: 12px;
  }
}

/* =========================
   Products Hero / Mobile
========================= */
@media (max-width: 768px){
  .page-products-hero{
    padding: 84px 16px 54px;
  }

  .page-products-hero__title{
    font-size: 44px;
    line-height: 1.04;
  }

  .page-products-hero__lead{
    margin-top: 18px;
  }

  .page-products-hero__lead p{
    font-size: 13px;
    line-height: 1.75;
  }

  .page-products-hero__lead .page-products-hero__leadSpacer{
    margin-top: 14px;
  }

  .page-products-hero__nav{
    margin-top: 30px;
    grid-template-columns: 1fr;
    border-top: 1px solid rgba(255,255,255,.72);
    border-left: 1px solid rgba(255,255,255,.72);
    border-right: 1px solid rgba(255,255,255,.72);
  }

  .page-products-hero__navItem{
    min-height: 88px;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    padding: 0 18px;
    border-right: none;
    border-bottom: 1px solid rgba(255,255,255,.72);
  }

  .page-products-hero__navLabel{
    font-size: 22px;
    line-height: 1.05;
    text-align: left;
  }

  /* Use a border arrow on mobile */
  .page-products-hero__navArrow{
    width: 10px;
    height: 10px;
    flex: 0 0 10px;
    display: block;
    position: relative;
    border-top: 2px solid #fff;
    border-right: 2px solid #fff;
    transform: rotate(45deg);
  }

  .page-products-hero__navArrow::before,
  .page-products-hero__navArrow::after{
    content: none;
  }
}



/* =========================
   Products Grid Section
========================= */
.page-products-grid{
  background: #000;
  padding: 0 0 110px;

  /* Layout variables */
  --products-gap-x: 80px;   /* Horizontal gap */
  --products-gap-y: 40px;   /* Vertical gap */
}

.page-products-grid__inner{
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
}

.page-products-grid__block + .page-products-grid__block{
  margin-top: 110px;
}

.page-products-grid__heading{
  margin: 0 0 42px;
  color: #c4aa78;
  font-size: 64px;
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: 0;
}

.page-products-grid__list{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  column-gap: var(--products-gap-x);
  row-gap: var(--products-gap-y);
}

.page-products-grid__item{
  display: block;
  color: #fff;
  text-decoration: none;
}

.page-products-grid__thumb{
  display: block;
  width: 100%;
  background: #000;
  overflow: hidden;
}

.page-products-grid__thumb img{
  display: block;
  width: 100%;
  height: auto;
  transition: transform .25s ease, opacity .25s ease;
}

.page-products-grid__item:hover .page-products-grid__thumb img{
  transform: scale(1.01);
  opacity: .96;
}

/* =========================
   Products Grid / Tablet
========================= */
@media (max-width: 1100px){
  .page-products-grid{
    padding: 0 0 86px;
    --products-gap-x: 28px;
    --products-gap-y: 28px;
  }

  .page-products-grid__block + .page-products-grid__block{
    margin-top: 84px;
  }

  .page-products-grid__heading{
    margin-bottom: 28px;
    font-size: 52px;
  }
}

/* =========================
   Products Grid / Mobile
========================= */
@media (max-width: 768px){
  .page-products-grid{
    padding: 0 16px 56px;
    --products-gap-x: 0;
    --products-gap-y: 14px;
  }

  .page-products-grid__block + .page-products-grid__block{
    margin-top: 54px;
  }

  .page-products-grid__heading{
    margin-bottom: 18px;
    font-size: 42px;
    line-height: 1.08;
  }

  .page-products-grid__list{
    grid-template-columns: 1fr;
  }
}


/* Single-Use process block (inside Products Grid Section) */
.page-products-grid__process{
  width: 100%;
  max-width: 1200px;
  margin: 44px auto 0;
  color: #fff;

  /* Desktop settings */
  --process-mainimg-w: 270px;  /* Main image width */
  --process-main-gap: 24px;
  --process-subimg-w: 760px;   /* Sub image width */
  --process-subimg-mt: 14px;
}

/* Top row: image and text */
.page-products-grid__process-main{
  display: flex;
  align-items: flex-start;
  gap: var(--process-main-gap);
  width: 100%;
}

.page-products-grid__process-mainimg{
  flex: 0 0 var(--process-mainimg-w);
  width: var(--process-mainimg-w);
  line-height: 0;
}

.page-products-grid__process-mainimg img{
  display: block;
  width: 100%;
  height: auto;
}

.page-products-grid__process-body{
  flex: 1 1 auto;
  min-width: 0;
  padding-top: 2px;
}

.page-products-grid__process-title{
  margin: 0 0 16px;
  color: #c4aa78;
  font-size: 34px;
  line-height: 1.15;
  font-weight: 700;
  letter-spacing: 0;
}

.page-products-grid__process-text{
  margin: 0;
  color: #fff;
  font-size: 14px;
  line-height: 1.9;
  font-weight: 400;
}

.page-products-grid__process-text + .page-products-grid__process-text{
  margin-top: 6px;
}

/* Bottom row: wide image */
.page-products-grid__process-subimg{
  margin: var(--process-subimg-mt) 0 0; /* Align left */
  width: min(var(--process-subimg-w), 100%);
  line-height: 0;
}

.page-products-grid__process-subimg img{
  display: block;
  width: 100%;
  height: auto;
}

/* =========================
   Single-Use process / Tablet
========================= */
@media (max-width: 1100px){
  .page-products-grid__process{
    margin-top: 34px;

    --process-mainimg-w: 240px;
    --process-main-gap: 18px;
    --process-subimg-w: 680px;
    --process-subimg-mt: 12px;
  }

  .page-products-grid__process-title{
    margin-bottom: 12px;
    font-size: 28px;
  }

  .page-products-grid__process-text{
    font-size: 13px;
    line-height: 1.8;
  }
}

/* =========================
   Single-Use process / Mobile
========================= */
@media (max-width: 768px){
  .page-products-grid__process{
    margin-top: 28px;

    --process-main-gap: 0;
    --process-subimg-w: 100%;
    --process-subimg-mt: 10px;
  }

  .page-products-grid__process-main{
    display: block;
  }

  .page-products-grid__process-mainimg{
    width: 100%;
    margin: 0 0 12px;
    flex: none;
  }

  .page-products-grid__process-body{
    padding-top: 0;
  }

  .page-products-grid__process-title{
    margin-bottom: 10px;
    font-size: 22px;
    line-height: 1.2;
  }

  .page-products-grid__process-text{
    font-size: 13px;
    line-height: 1.75;
  }

  .page-products-grid__process-subimg{
    margin-top: var(--process-subimg-mt);
    width: 100%;
  }
}


/* =========================
   About Us
========================= */
#about-us-page{
  background: #969696;
}

#about-us-page .page-main{
  overflow: hidden;
}

#about-us-page .about-wrap{
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
}

#about-us-page .about-section{
  padding: 0 20px 118px;
}

#about-us-page .about-heading{
  margin: 0 0 34px;
  color: #c4aa77;
  font-size: clamp(52px, 5vw, 86px);
  line-height: 1.02;
  font-weight: 700;
  letter-spacing: 0;
}

/* =========================
   About Hero
========================= */
#about-us-page .about-hero{
  position: relative;
  min-height: clamp(240px, 28vw, 410px);/* Height setting */
  overflow: hidden;
  background: #dcecf6;
}

#about-us-page .about-hero .page-hero__bg{
  position: absolute;
  inset: 0;
}

#about-us-page .about-hero .page-hero__bg img{
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

#about-us-page .about-hero .page-hero__inner{
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 84px 20px 34px;
}

#about-us-page .about-hero .page-hero__title{
  margin: 0;
  color: #1f348f;
  font-size: clamp(48px, 6vw, 92px);
  line-height: 1;
  font-weight: 700;
  letter-spacing: 0;
}

/* =========================
   About Intro
========================= */
#about-us-page .about-intro{
  padding-top: 88px;
}

#about-us-page .about-intro__grid{
  display: grid;
  grid-template-columns: minmax(0, 1fr) 410px;
  gap: 74px;
  align-items: start;
}

#about-us-page .about-intro__text{
  max-width: 560px;
}

#about-us-page .about-intro__text p{
  margin: 0 0 20px;
  color: rgba(255,255,255,.92);
  font-size: 19px;
  line-height: 1.9;
  font-weight: 500;
}

#about-us-page .about-intro__text p:last-child{
  margin-bottom: 0;
}

#about-us-page .about-intro__image img{
  display: block;
  width: 100%;
  height: auto;
}

/* =========================
   What We Do
========================= */
#about-us-page .about-cards{
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 78px;
}

#about-us-page .about-card{
  position: relative;
  display: block;
  overflow: hidden;
  color: #fff;
  text-decoration: none;
}

#about-us-page .about-card__image{
  display: block;
}

#about-us-page .about-card__image img{
  display: block;
  width: 100%;
  aspect-ratio: 560 / 215;
  object-fit: cover;
}

#about-us-page .about-card__overlay{
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(0,0,0,.34) 0%, rgba(0,0,0,.16) 54%, rgba(0,0,0,.06) 100%);
  pointer-events: none;
}

#about-us-page .about-card__content{
  position: absolute;
  inset: 0;
  z-index: 2;
  padding: 22px 24px 16px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

#about-us-page .about-card__title{
  display: block;
  color: #fff;
  font-size: clamp(28px, 3vw, 47px);
  line-height: 1.04;
  font-weight: 700;
  letter-spacing: 0;
}

#about-us-page .about-card__more{
  display: block;
  margin-top: 10px;
  align-self: flex-end;
  color: #fff;
  font-size: 18px;
  line-height: 1.2;
  font-weight: 600;
}

/* =========================
   Quality / Patent
========================= */
#about-us-page .about-quality__lead,
#about-us-page .about-patent__lead{
  max-width: 1120px;
}

#about-us-page .about-quality__lead p,
#about-us-page .about-patent__lead p{
  margin: 0 0 10px;
  color: #1d1d1d;
  font-size: 16px;
  line-height: 1.88;
  font-weight: 600;
}

#about-us-page .about-quality__lead p:last-child,
#about-us-page .about-patent__lead p:last-child{
  margin-bottom: 0;
}

#about-us-page .about-quality__icons{
  margin: 42px auto 0;
  width: 100%;
  max-width: 930px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  column-gap: 58px;
  row-gap: 24px;
  align-items: start;
}

#about-us-page .about-quality__item{
  width: 100%;
  max-width: 170px;
  margin: 0 auto;
  text-align: center;
}

#about-us-page .about-quality__item img{
  display: inline-block;
  width: auto;
  max-width: 100%;
  height: 88px;
}

#about-us-page .about-quality__item p{
  margin: 16px 0 0;
  color: #111;
  font-size: 15px;
  line-height: 1.4;
  font-weight: 700;
}

#about-us-page .about-quality__button{
  margin-top: 32px;
  text-align: center;
}

#about-us-page .about-button{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 132px;
  min-height: 46px;
  padding: 0 20px;
  background: #000;
  color: #fff;
  font-size: 16px;
  line-height: 1;
  font-weight: 700;
  text-decoration: none;
  transition: opacity .2s ease;
}

#about-us-page .about-button:hover{
  opacity: .82;
}

#about-us-page .about-patent__table-wrap{
  margin-top: 24px;
  overflow-x: auto;
}

#about-us-page .about-patent__table{
  width: 100%;
  min-width: 860px;
  border-collapse: collapse;
  table-layout: fixed;
  border: 2px solid rgba(255,255,255,.8);
}

#about-us-page .about-patent__table td{
  padding: 14px 12px;
  border: none;
  background: #717171;
  color: rgba(255,255,255,.92);
  text-align: center;
  font-size: 14px;
  line-height: 1.35;
  font-weight: 600;
}

/* Alternating cell colors */
#about-us-page .about-patent__table tr:nth-child(odd) td:nth-child(even),
#about-us-page .about-patent__table tr:nth-child(even) td:nth-child(odd){
  background: #7c7c7c;
}

/* =========================
   Locations
========================= */
#about-us-page .about-locations{
  padding-bottom: 126px;
}

#about-us-page .about-locations__list{
  display: grid;
  gap: 48px;
}

#about-us-page .about-location{
  display: grid;
  grid-template-columns: 150px 1fr 470px;
  column-gap: 42px;
  row-gap: 0;
  align-items: start;
}

#about-us-page .about-location__name{
  padding-top: 6px;
  color: #132168;
  font-size: 22px;
  line-height: 1.2;
  font-weight: 700;
}

#about-us-page .about-location__info{
  max-width: 640px;
}

#about-us-page .about-location__info p{
  margin: 0 0 24px;
  color: #1d1d1d;
  font-size: 16px;
  line-height: 1.45;
  font-weight: 600;
}

#about-us-page .about-location__info p:last-child{
  margin-bottom: 0;
}

#about-us-page .about-location__map{
  line-height: 0;
}

#about-us-page .about-location__map iframe{
  display: block;
  width: 100%;
  height: 160px;
  border: 0;
}

/* =========================
   About / Tablet
========================= */
@media (max-width: 1100px){
  #about-us-page .about-section{
    padding: 0 18px 88px;
  }

  #about-us-page .about-intro{
    padding-top: 72px;
  }

  #about-us-page .about-intro__grid{
    grid-template-columns: 1fr;
    gap: 38px;
  }

  #about-us-page .about-intro__text{
    max-width: none;
  }

  #about-us-page .about-intro__image{
    max-width: 520px;
  }

  #about-us-page .about-cards{
    gap: 30px;
  }

  #about-us-page .about-quality__icons{
    max-width: 760px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 40px;
    row-gap: 28px;
  }

  #about-us-page .about-quality__item{
    max-width: 190px;
  }

  #about-us-page .about-location{
    grid-template-columns: 130px 1fr 330px;
    column-gap: 24px;
  }

  #about-us-page .about-location__info p{
    margin-bottom: 18px;
  }

  #about-us-page .about-location__map iframe{
    height: 220px;
  }
}

/* =========================
   About / Mobile
========================= */
@media (max-width: 768px){
  #about-us-page .about-section{
    padding: 0 16px 58px;
  }

  #about-us-page .about-heading{
    margin-bottom: 20px;
    font-size: clamp(36px, 10vw, 48px);
    line-height: 1.08;
  }

  #about-us-page .about-hero{
    min-height: 220px;
  }

  #about-us-page .about-hero .page-hero__inner{
    padding: 62px 16px 22px;
  }

  #about-us-page .about-hero .page-hero__title{
    font-size: clamp(36px, 11vw, 52px);
  }

  #about-us-page .about-hero .page-hero__bg img{
    object-position: 62% center;
  }

  #about-us-page .about-intro{
    padding-top: 56px;
  }

  #about-us-page .about-intro__grid{
    gap: 26px;
  }

  #about-us-page .about-intro__text p{
    font-size: 16px;
    line-height: 1.8;
  }

  #about-us-page .about-cards{
    grid-template-columns: 1fr;
    gap: 22px;
  }

  #about-us-page .about-card__content{
    padding: 18px 18px 14px;
  }

  #about-us-page .about-card__title{
    font-size: clamp(24px, 8vw, 34px);
  }

  #about-us-page .about-card__more{
    margin-top: 10px;
    font-size: 14px;
  }

  #about-us-page .about-quality__lead p,
  #about-us-page .about-patent__lead p,
  #about-us-page .about-location__info p{
    font-size: 14px;
    line-height: 1.8;
  }

  #about-us-page .about-quality__icons{
    margin-top: 32px;
    max-width: 100%;
    column-gap: 18px;
    row-gap: 24px;
  }

  #about-us-page .about-quality__item{
    max-width: 160px;
  }

  #about-us-page .about-quality__item img{
    height: 72px;
  }

  #about-us-page .about-button{
    min-width: 116px;
    min-height: 42px;
    font-size: 14px;
  }

  #about-us-page .about-locations{
    padding-bottom: 70px;
  }

  #about-us-page .about-location{
    grid-template-columns: 1fr;
    gap: 14px;
  }

  #about-us-page .about-location__name{
    padding-top: 0;
    font-size: 20px;
  }

  #about-us-page .about-location__info{
    max-width: none;
  }

  #about-us-page .about-location__info p{
    margin-bottom: 10px;
  }

  #about-us-page .about-location__map{
    max-width: 420px;
  }

  #about-us-page .about-location__map iframe{
    height: 220px;
  }
}

/* Hero video settings */
#about-us-page .about-hero .page-hero__bg video{
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

@media (max-width: 768px){
  #about-us-page .about-hero .page-hero__bg video{
    object-position: 62% center;
  }
}


/* =========================
   Custom Design
========================= */
#custom-design-page{
  background: #fff;
}

/* =========================
   Custom Design Hero
========================= */
#custom-design-page .custom-design-hero{
  position: relative;
  min-height: clamp(240px, 28vw, 410px);/* Image height */
  overflow: hidden;
  background: #dcecf6;
}

#custom-design-page .custom-design-hero .page-hero__bg{
  position: absolute;
  inset: 0;
}

#custom-design-page .custom-design-hero .page-hero__bg img{
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

#custom-design-page .custom-design-hero .page-hero__inner{
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 84px 20px 34px;
}

#custom-design-page .custom-design-hero .page-hero__title{
  margin: 0;
  color: #13216a;
  font-size: 4vw;
  line-height: 1;
  font-weight: 700;
  letter-spacing: 0;
}



/* =========================
   Common Title
========================= */
#custom-design-page .custom-design-section-title{
  margin: 0;
  color: #13216a;
  font-size: clamp(38px, 3.55vw, 60px);
  line-height: 1.04;
  font-weight: 700;
  letter-spacing: 0;
}

/* =========================
   Custom Design Gallery
========================= */
#custom-design-page .custom-design-gallery{
  background: #c4aa77;
  padding: 92px 20px 140px;
}

#custom-design-page .custom-design-gallery__inner{
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
}

#custom-design-page .custom-design-gallery__head{
  max-width: 760px;
}

#custom-design-page .custom-design-gallery__title{
  margin: 0;
  color: #13216a;
  font-size: clamp(38px, 3.55vw, 60px);
  line-height: 1.02;
  font-weight: 700;
  letter-spacing: 0;
}

#custom-design-page .custom-design-gallery__lead{
  margin-top: 34px;
}

#custom-design-page .custom-design-gallery__lead p{
  margin: 0 0 8px;
  color: rgba(255,255,255,.9);
  font-size: 16px;
  line-height: 1.8;
  font-weight: 600;
}

#custom-design-page .custom-design-gallery__lead p:last-child{
  margin-bottom: 0;
}

#custom-design-page .custom-design-gallery__grid{
  width: 100%;
  max-width: 1080px;
  margin: 64px auto 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 110px;
  row-gap: 78px;
  align-items: start;
}

#custom-design-page .custom-design-gallery__item{
  width: 100%;
  max-width: 485px;
}

#custom-design-page .custom-design-gallery__item:nth-child(odd){
  justify-self: start;
}

#custom-design-page .custom-design-gallery__item:nth-child(even){
  justify-self: end;
}

#custom-design-page .custom-design-gallery__item a{
  display: block;
  color: inherit;
  text-decoration: none;
}

#custom-design-page .custom-design-gallery__figure{
  margin: 0;
  display: block;
  background: #fff;
  overflow: hidden;
}

#custom-design-page .custom-design-gallery__figure img{
  display: block;
  width: 100%;
  aspect-ratio: 485 / 300;
  object-fit: cover;
}

#custom-design-page .custom-design-gallery__caption{
  margin: 16px 0 0;
  color: #8d8d8d;
  font-size: 18px;
  line-height: 1.3;
  font-weight: 700;
  letter-spacing: 0;
}

/* =========================
   Feature Blocks
========================= */
#custom-design-page .custom-design-feature{
  background: #fff;
  padding: 92px 20px 60px;
}

#custom-design-page .custom-design-feature__inner{
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
}

#custom-design-page .custom-design-feature__body{
  display: grid;
  align-items: start;
}

#custom-design-page .custom-design-feature__text{
  min-width: 0;
  position: relative;
  z-index: 2;
}

#custom-design-page .custom-design-feature__lead{
  margin-top: 14px;
}

#custom-design-page .custom-design-feature__lead p{
  margin: 0 0 6px;
  color: #111;
  font-size: 14px;
  line-height: 1.65;
  font-weight: 600;
}

#custom-design-page .custom-design-feature__lead p:last-child{
  margin-bottom: 0;
}

#custom-design-page .custom-design-feature__media{
  position: relative;
  z-index: 1;
  line-height: 0;
}

#custom-design-page .custom-design-feature__media img{
  display: block;
  width: 100%;
  height: auto;
}

/* Striving
   Title stays on the left
   Image starts below the title
*/
#custom-design-page .custom-design-feature--function .custom-design-feature__body{
  grid-template-columns: 820px 300px;
  column-gap: 60px;
}

#custom-design-page .custom-design-feature--function .custom-design-feature__text{
  width: 820px;
  max-width: 820px;
}

#custom-design-page .custom-design-feature--function .custom-design-feature__title{
  width: 820px;
  max-width: 820px;
  white-space: nowrap;
}

#custom-design-page .custom-design-feature--function .custom-design-feature__lead{
  width: 760px;
  max-width: 760px;
}

#custom-design-page .custom-design-feature--function .custom-design-feature__media--small{
  width: 300px;
  margin-top: 82px;
}

/* Rapid
   Title slightly overlaps the image
   Keep within 1200px
*/
#custom-design-page .custom-design-feature--printing{
  padding-top: 118px;
}

#custom-design-page .custom-design-feature--printing .custom-design-feature__body{
  grid-template-columns: 500px 640px;
  column-gap: 60px;
  position: relative;
}

#custom-design-page .custom-design-feature--printing .custom-design-feature__text{
  width: 500px;
  max-width: 500px;
}

#custom-design-page .custom-design-feature--printing .custom-design-feature__title{
  width: 1200px;
  line-height: 1.02;
  position: relative;
  z-index: 3;
}

#custom-design-page .custom-design-feature--printing .custom-design-feature__lead{
  width: 500px;
  max-width: 500px;
  margin-top: 28px;
}

#custom-design-page .custom-design-feature--printing .custom-design-feature__media--printer{
  width: 500px;
  margin-top: -20px;
  margin-left: auto;
}

/* =========================
   Stable Supply Section
========================= */
#custom-design-page .custom-design-process{
  background: #fff;
  padding: 118px 20px 0;
}

#custom-design-page .custom-design-process__inner{
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
}

#custom-design-page .custom-design-process__title{
  width: 860px;
  max-width: 860px;
  margin: 0 0 42px;
  line-height: 1.04;
}

#custom-design-page .custom-design-process__intro{
  display: grid;
  grid-template-columns: 550px 500px;
  column-gap: 70px;
  align-items: start;
}

#custom-design-page .custom-design-process__text{
  width: 100%;
  max-width: 550px;
}

#custom-design-page .custom-design-process__lead{
  width: 100%;
  max-width: 550px;
}

#custom-design-page .custom-design-process__lead p{
  margin: 0 0 12px;
  color: #111;
  font-size: 14px;
  line-height: 1.78;
  font-weight: 600;
}

#custom-design-page .custom-design-process__lead p:last-child{
  margin-bottom: 0;
}

#custom-design-page .custom-design-button{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  min-width: 154px;
  min-height: 52px;
  margin-top: 86px;
  padding: 0 24px;
  background: #13216a;
  color: #fff;
  font-size: 16px;
  line-height: 1;
  font-weight: 700;
  text-decoration: none;
}

#custom-design-page .custom-design-button__arrow{
  display: inline-block;
  font-size: 16px;
  line-height: 1;
}

#custom-design-page .custom-design-process .custom-design-button{
  display: flex;
  width: fit-content;
  margin-top: 70px;
  margin-left: auto;
  /*transform: translateX(24px);*/ /* Move right if needed */
}

#custom-design-page .custom-design-process__side-image{
  width: 500px;
  max-width: 500px;
  margin-top: 150px;
  margin-left: auto;
}

#custom-design-page .custom-design-process__side-image img,
#custom-design-page .custom-design-process__main-image img,
#custom-design-page .custom-design-process__sub-image img{
  display: block;
  width: 100%;
  height: auto;
}

#custom-design-page .custom-design-process__main-image{
  width: 760px;
  margin-top: 92px;
}

#custom-design-page .custom-design-process__sub-image{
  width: 440px;
  margin-top: 74px;
  margin-left: auto;
  margin-right: 36px;
}

/* =========================
   Laser Section
========================= */
#custom-design-page .custom-design-laser{
  background: #fff;
  padding: 108px 20px 120px;
}

#custom-design-page .custom-design-laser__inner{
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 620px 470px;
  column-gap: 52px;
  align-items: end;
}

#custom-design-page .custom-design-laser__text{
  width: 620px;
  max-width: 620px;
}

#custom-design-page .custom-design-laser__title{
  width: 620px;
  max-width: 620px;
}

#custom-design-page .custom-design-laser__lead{
  width: 100%;
  max-width: 520px;
  margin-top: 18px;
}

#custom-design-page .custom-design-laser__lead p{
  margin: 0 0 8px;
  color: #111;
  font-size: 14px;
  line-height: 1.65;
  font-weight: 600;
}

#custom-design-page .custom-design-laser__lead p:last-child{
  margin-bottom: 0;
}

#custom-design-page .custom-design-laser__text .custom-design-button{
  margin-top: 34px;
}

#custom-design-page .custom-design-laser__image{
  width: 470px;
}

#custom-design-page .custom-design-laser__image img{
  display: block;
  width: 100%;
  height: auto;
}

/* =========================
   Tablet
========================= */
@media (max-width: 1100px){
  #custom-design-page .custom-design-hero .page-hero__title{
    font-size: clamp(40px, 5vw, 58px);
  }

  #custom-design-page .custom-design-section-title{
    font-size: clamp(36px, 5vw, 54px);
    white-space: normal;
  }

  #custom-design-page .custom-design-gallery{
    padding: 38px 18px 100px;
  }

  #custom-design-page .custom-design-gallery__title{
    font-size: clamp(46px, 5vw, 72px);
  }

  #custom-design-page .custom-design-gallery__lead{
    margin-top: 24px;
  }

  #custom-design-page .custom-design-gallery__lead p{
    font-size: 14px;
    line-height: 1.75;
  }

  #custom-design-page .custom-design-gallery__grid{
    max-width: 100%;
    margin-top: 48px;
    column-gap: 48px;
    row-gap: 48px;
  }

  #custom-design-page .custom-design-gallery__item{
    max-width: none;
  }

  #custom-design-page .custom-design-gallery__figure img{
    aspect-ratio: 430 / 300;
  }

  #custom-design-page .custom-design-feature{
    padding: 72px 18px 0;
  }

  #custom-design-page .custom-design-feature--function .custom-design-feature__body,
  #custom-design-page .custom-design-feature--printing .custom-design-feature__body{
    grid-template-columns: 1fr;
    row-gap: 24px;
  }

  #custom-design-page .custom-design-feature--function .custom-design-feature__text,
  #custom-design-page .custom-design-feature--printing .custom-design-feature__text,
  #custom-design-page .custom-design-feature--function .custom-design-feature__title,
  #custom-design-page .custom-design-feature--printing .custom-design-feature__title,
  #custom-design-page .custom-design-feature__lead{
    width: auto;
    max-width: none;
    white-space: normal;
  }

  #custom-design-page .custom-design-feature--function .custom-design-feature__media--small{
    width: min(100%, 300px);
    margin-top: 0;
  }

  #custom-design-page .custom-design-feature--printing{
    padding-top: 88px;
  }

  #custom-design-page .custom-design-feature--printing .custom-design-feature__media--printer{
    width: min(100%, 640px);
    margin-top: 0;
  }

  #custom-design-page .custom-design-process{
    padding: 84px 18px 0;
  }

  #custom-design-page .custom-design-process__title{
    width: auto;
    max-width: none;
    margin-bottom: 28px;
  }

  #custom-design-page .custom-design-process__intro{
    grid-template-columns: 1fr;
    row-gap: 28px;
  }

  #custom-design-page .custom-design-process__text,
  #custom-design-page .custom-design-process__lead{
    width: auto;
    max-width: none;
  }

  #custom-design-page .custom-design-process .custom-design-button{
    width: fit-content;
    margin-top: 28px;
    margin-left: 0;
  }

  #custom-design-page .custom-design-process__side-image{
    width: min(100%, 700px);
    margin-top: 0;
  }

  #custom-design-page .custom-design-process__main-image{
    width: min(100%, 760px);
    margin-top: 48px;
  }

  #custom-design-page .custom-design-process__sub-image{
    width: min(100%, 440px);
    margin-top: 34px;
    margin-right: 0;
  }

  #custom-design-page .custom-design-laser{
    padding: 84px 18px 88px;
  }

  #custom-design-page .custom-design-laser__inner{
    grid-template-columns: 1fr;
    row-gap: 28px;
  }

  #custom-design-page .custom-design-laser__text,
  #custom-design-page .custom-design-laser__title,
  #custom-design-page .custom-design-laser__lead{
    width: auto;
    max-width: none;
  }

  #custom-design-page .custom-design-laser__image{
    width: min(100%, 470px);
  }
}

@media (max-width: 768px){
  #custom-design-page .custom-design-hero{
    min-height: 220px;
  }

  #custom-design-page .custom-design-hero .page-hero__inner{
    padding: 62px 16px 22px;
  }

  #custom-design-page .custom-design-hero .page-hero__title{
    font-size: clamp(36px, 11vw, 52px);
  }

  #custom-design-page .custom-design-hero .page-hero__bg img{
    object-position: 62% center;
  }

  #custom-design-page .custom-design-section-title{
    font-size: clamp(34px, 9vw, 46px);
    line-height: 1.12;
    white-space: normal;
  }

  #custom-design-page .custom-design-gallery{
    padding: 28px 16px 64px;
  }

  #custom-design-page .custom-design-gallery__title{
    font-size: clamp(40px, 11vw, 52px);
    line-height: 1.06;
  }

  #custom-design-page .custom-design-gallery__lead{
    margin-top: 18px;
  }

  #custom-design-page .custom-design-gallery__lead p{
    font-size: 13px;
    line-height: 1.7;
  }

  #custom-design-page .custom-design-gallery__grid{
    margin-top: 34px;
    grid-template-columns: 1fr;
    column-gap: 0;
    row-gap: 28px;
  }

  #custom-design-page .custom-design-gallery__item,
  #custom-design-page .custom-design-gallery__item:nth-child(odd),
  #custom-design-page .custom-design-gallery__item:nth-child(even){
    max-width: 100%;
    justify-self: stretch;
  }

  #custom-design-page .custom-design-gallery__figure img{
    aspect-ratio: 430 / 300;
  }

  #custom-design-page .custom-design-gallery__caption{
    margin-top: 12px;
    font-size: 16px;
  }

  #custom-design-page .custom-design-feature{
    padding: 56px 16px 0;
  }

  #custom-design-page .custom-design-feature--printing{
    padding-top: 64px;
  }

  #custom-design-page .custom-design-feature__lead{
    margin-top: 14px;
  }

  #custom-design-page .custom-design-feature__lead p{
    font-size: 13px;
    line-height: 1.7;
  }

  #custom-design-page .custom-design-feature--function .custom-design-feature__lead{
    width: 100%;
    max-width: 100%;
  }

  #custom-design-page .custom-design-feature--printing .custom-design-feature__lead{
    width: 100%;
    max-width: 100%;
  }

  #custom-design-page .custom-design-feature__media,
  #custom-design-page .custom-design-feature--function .custom-design-feature__media--small,
  #custom-design-page .custom-design-feature--printing .custom-design-feature__media--printer{
    width: 100%;
    max-width: 100%;
  }

  #custom-design-page .custom-design-process{
    padding: 58px 16px 0;
  }

  #custom-design-page .custom-design-process__lead{
    width: 100%;
    max-width: 100%;
    margin-top: 16px;
  }

  #custom-design-page .custom-design-process__lead p{
    font-size: 13px;
    line-height: 1.7;
  }

  #custom-design-page .custom-design-button{
    min-width: 136px;
    min-height: 46px;
    gap: 14px;
    margin-top: 28px;
    padding: 0 18px;
    font-size: 14px;
  }

  #custom-design-page .custom-design-process .custom-design-button{
    width: fit-content;
    margin-top: 24px;
    margin-left: 0;
  }

  #custom-design-page .custom-design-process__main-image{
    width: 100%;
    max-width: 100%;
    margin-top: 34px;
  }

  #custom-design-page .custom-design-process__sub-image{
    width: 100%;
    max-width: 100%;
    margin-top: 24px;
    margin-right: 0;
  }

  #custom-design-page .custom-design-process__side-image{
    width: 100%;
    max-width: 100%;
  }

  #custom-design-page .custom-design-laser{
    padding: 58px 16px 58px;
  }

  #custom-design-page .custom-design-laser__lead{
    width: 100%;
    max-width: 100%;
    margin-top: 16px;
  }

  #custom-design-page .custom-design-laser__lead p{
    font-size: 13px;
    line-height: 1.7;
  }

  #custom-design-page .custom-design-laser__text,
  #custom-design-page .custom-design-laser__title,
  #custom-design-page .custom-design-laser__lead,
  #custom-design-page .custom-design-laser__image{
    width: 100%;
    max-width: 100%;
  }

  #custom-design-page .custom-design-laser__text .custom-design-button{
    margin-top: 24px;
  }
}


/* Hero video settings */
#custom-design-page .custom-design-hero .page-hero__bg video{
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

@media (max-width: 768px){
  #custom-design-page .custom-design-hero .page-hero__bg video{
    object-position: 62% center;
  }
}


/* =========================
   Quality Assurance
========================= */
#quality-assurance-page{
  background: #fff;
}

/* =========================
   Quality & Regulatory
========================= */
#quality-assurance-page .qa-regulatory{
  background: #dfdfdf;
  padding: 96px 20px 110px;
}

#quality-assurance-page .qa-regulatory__inner{
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
}

#quality-assurance-page .qa-regulatory__head{
  width: 100%;
  max-width: 1200px;
}

#quality-assurance-page .qa-regulatory__title{
  margin: 0;
  color: #c4aa79;
  font-size: 4vw;
  line-height: 1.02;
  font-weight: 700;
  letter-spacing: 0;
}

#quality-assurance-page .qa-regulatory__lead{
  width: 100%;
  max-width: 1180px;
  margin-top: 34px;
}

#quality-assurance-page .qa-regulatory__lead p{
  margin: 0 0 10px;
  color: #3a332f;
  font-size: 20px;
  line-height: 1.78;
  font-weight: 500;
}

#quality-assurance-page .qa-regulatory__lead p:last-child{
  margin-bottom: 0;
}

#quality-assurance-page .qa-regulatory__grid{
  width: 100%;
  max-width: 1020px;
  margin: 102px auto 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  column-gap: 28px;
  align-items: start;
}

#quality-assurance-page .qa-cert-card{
  min-height: 100%;
  text-align: center;
}

#quality-assurance-page .qa-cert-card__icon{
  width: 148px;
  height: 118px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

#quality-assurance-page .qa-cert-card__icon img{
  display: block;
  width: 100%;
  max-width: 148px;
  height: auto;
}

#quality-assurance-page .qa-cert-card__title{
  min-height: 92px;
  margin: 26px 0 0;
  color: #000;
  font-size: 22px;
  line-height: 1.24;
  font-weight: 700;
  letter-spacing: 0;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  text-align: center;
}

#quality-assurance-page .qa-cert-card__button{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 170px;
  min-height: 44px;
  margin-top: 22px;
  padding: 0 18px;
  background: #c4aa77;
  color: #fff;
  font-size: 16px;
  line-height: 1;
  font-weight: 700;
  text-decoration: none;
}

#quality-assurance-page .qa-regulatory__notes{
  width: 100%;
  max-width: 1020px;
  margin: 18px auto 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  column-gap: 28px;
  align-items: start;
}

#quality-assurance-page .qa-regulatory__note{
  margin: 0;
  color: #111;
  font-size: 11px;
  line-height: 1.35;
  font-weight: 500;
  text-align: center;
}

#quality-assurance-page .qa-regulatory__note--left{
  grid-column: 1 / 3;
}

#quality-assurance-page .qa-regulatory__note--right{
  grid-column: 3 / 5;
}

#quality-assurance-page .qa-cert-card:nth-child(2) .qa-cert-card__icon img,
#quality-assurance-page .qa-cert-card:nth-child(3) .qa-cert-card__icon img,
#quality-assurance-page .qa-cert-card:nth-child(4) .qa-cert-card__icon img{
  opacity: .9;
}

/* =========================
   Image Placeholder Utility
========================= */
#quality-assurance-page .qa-image-placeholder{
  position: relative;
  width: 100%;
  background: #fff;
  overflow: hidden;
}

#quality-assurance-page .qa-image-placeholder::before{
  content: "";
  display: block;
  width: 100%;
  padding-top: var(--qa-placeholder-ratio, 66%);
}

#quality-assurance-page .qa-image-placeholder img{
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: var(--qa-image-position, center center);
}

#quality-assurance-page .qa-image-placeholder--empty{
  border: 1px solid rgba(0,0,0,.04);
}

/* =========================
   Quality Assurance Section
========================= */
#quality-assurance-page .qa-quality{
  background: #bbbbbb;
  padding: 94px 20px 108px;
}

#quality-assurance-page .qa-quality__inner{
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 520px;
  column-gap: 86px;
  align-items: start;
}

#quality-assurance-page .qa-quality__text{
  width: 100%;
  max-width: 640px;
}

#quality-assurance-page .qa-quality__title{
  margin: 0;
  color: #000000;
  font-size: clamp(58px, 5vw, 84px);
  line-height: 1.02;
  font-weight: 700;
  letter-spacing: 0;
}

#quality-assurance-page .qa-quality__lead{
  margin-top: 48px;
}

#quality-assurance-page .qa-quality__lead p{
  margin: 0 0 28px;
  color: #000000;
  font-size: 19px;
  line-height: 1.85;
  font-weight: 500;
}

#quality-assurance-page .qa-quality__lead p:last-child{
  margin-bottom: 0;
}

#quality-assurance-page .qa-quality__media{
  width: 100%;
  max-width: 520px;
}

#quality-assurance-page .qa-quality__media img,
#quality-assurance-page .qa-quality__media video,
#quality-assurance-page .qa-quality__media iframe{
  display: block;
  width: 100%;
  max-width: 100%;
}

#quality-assurance-page .qa-quality__media img,
#quality-assurance-page .qa-quality__media video{
  height: auto;
}

#quality-assurance-page .qa-quality__media iframe{
  border: 0;
}

#quality-assurance-page .qa-quality__placeholder{
  width: 100%;
  background: #ffffff;
}

/* =========================
   Inspection Equipments
========================= */
#quality-assurance-page .qa-inspection{
  background: #dfdfdf;
  padding: 86px 20px 118px;
}

#quality-assurance-page .qa-inspection__inner{
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
}

#quality-assurance-page .qa-inspection__title{
  margin: 0;
  color: #000;
  font-size: clamp(54px, 4.6vw, 76px);
  line-height: 1.04;
  font-weight: 700;
  letter-spacing: 0;
}

#quality-assurance-page .qa-inspection__grid{
  width: 100%;
  max-width: 1040px;
  margin: 58px auto 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
}

#quality-assurance-page .qa-inspection__item{
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

#quality-assurance-page .qa-inspection__item::before{
  padding-top: 69%;
}

#quality-assurance-page .qa-inspection__item img{
  object-position: center center;
}

/* =========================
   Gallery Modal
========================= */
#quality-assurance-page .qa-gallery-modal{
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

#quality-assurance-page .qa-gallery-modal.is-open{
  display: flex;
}

#quality-assurance-page .qa-gallery-modal__backdrop{
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.78);
}

#quality-assurance-page .qa-gallery-modal__dialog{
  position: relative;
  z-index: 1;
  width: min(1120px, calc(100vw - 48px));
  max-height: calc(100vh - 48px);
  background: #111;
  padding: 18px;
  box-sizing: border-box;
}

#quality-assurance-page .qa-gallery-modal__close{
  position: absolute;
  top: -40px;
  right: -2px;
  width: 36px;
  height: 36px;
  border: 0;
  background: transparent;
  color: #fff;
  font-size: 34px;
  line-height: 1;
  cursor: pointer;
  padding: 0;
}

#quality-assurance-page .qa-gallery-modal__media{
  width: 100%;
  background: #000;
}

#quality-assurance-page .qa-gallery-modal__image{
  display: block;
  width: 100%;
  height: auto;
  max-height: calc(100vh - 150px);
  background: #000;
  object-fit: contain;
}

#quality-assurance-page .qa-gallery-modal__nav{
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  width: 52px;
  height: 52px;
  border: 0;
  border-radius: 999px;
  background: rgba(255,255,255,.14);
  color: #fff;
  font-size: 34px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

#quality-assurance-page .qa-gallery-modal__nav--prev{
  left: 28px;
}

#quality-assurance-page .qa-gallery-modal__nav--next{
  right: 28px;
}

#quality-assurance-page .qa-gallery-modal__count{
  margin: 14px 0 0;
  color: rgba(255,255,255,.88);
  font-size: 14px;
  line-height: 1.4;
  text-align: center;
}

/* =========================
   Tablet
========================= */
@media (max-width: 1100px){
  #quality-assurance-page .qa-regulatory{
    padding: 78px 18px 90px;
  }

  #quality-assurance-page .qa-regulatory__title{
    font-size: clamp(48px, 7vw, 72px);
  }

  #quality-assurance-page .qa-regulatory__lead{
    margin-top: 26px;
  }

  #quality-assurance-page .qa-regulatory__lead p{
    font-size: 17px;
    line-height: 1.72;
  }

  #quality-assurance-page .qa-regulatory__grid{
    max-width: 760px;
    margin-top: 78px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 34px;
    row-gap: 54px;
  }

  #quality-assurance-page .qa-cert-card__title{
    min-height: 70px;
  }

  #quality-assurance-page .qa-regulatory__notes{
    max-width: 760px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 34px;
    row-gap: 14px;
  }

  #quality-assurance-page .qa-regulatory__note--left,
  #quality-assurance-page .qa-regulatory__note--right{
    grid-column: auto;
  }

  #quality-assurance-page .qa-quality{
    padding: 74px 18px 88px;
  }

  #quality-assurance-page .qa-quality__inner{
    grid-template-columns: 1fr;
    row-gap: 42px;
  }

  #quality-assurance-page .qa-quality__text,
  #quality-assurance-page .qa-quality__media{
    max-width: none;
  }

  #quality-assurance-page .qa-quality__title{
    font-size: clamp(48px, 7vw, 68px);
  }

  #quality-assurance-page .qa-quality__lead{
    margin-top: 28px;
  }

  #quality-assurance-page .qa-quality__lead p{
    font-size: 17px;
    line-height: 1.8;
    margin-bottom: 22px;
  }

  #quality-assurance-page .qa-quality__placeholder{
    max-width: 620px;
  }

  #quality-assurance-page .qa-inspection{
    padding: 72px 18px 92px;
  }

  #quality-assurance-page .qa-inspection__title{
    font-size: clamp(46px, 6vw, 64px);
  }

  #quality-assurance-page .qa-inspection__grid{
    max-width: 100%;
    margin-top: 42px;
    gap: 18px;
  }

  #quality-assurance-page .qa-gallery-modal{
    padding: 20px;
  }

  #quality-assurance-page .qa-gallery-modal__dialog{
    width: min(1000px, calc(100vw - 40px));
    max-height: calc(100vh - 40px);
    padding: 14px;
  }

  #quality-assurance-page .qa-gallery-modal__image{
    max-height: calc(100vh - 136px);
  }

  #quality-assurance-page .qa-gallery-modal__nav--prev{
    left: 18px;
  }

  #quality-assurance-page .qa-gallery-modal__nav--next{
    right: 18px;
  }
}

/* =========================
   Mobile
========================= */
@media (max-width: 768px){
  #quality-assurance-page .qa-regulatory{
    padding: 54px 16px 64px;
  }

  #quality-assurance-page .qa-regulatory__title{
    font-size: clamp(38px, 11vw, 54px);
    line-height: 1.06;
  }

  #quality-assurance-page .qa-regulatory__lead{
    margin-top: 20px;
  }

  #quality-assurance-page .qa-regulatory__lead p{
    font-size: 14px;
    line-height: 1.75;
  }

  #quality-assurance-page .qa-regulatory__grid{
    max-width: 100%;
    margin-top: 52px;
    grid-template-columns: 1fr;
    row-gap: 42px;
  }

  #quality-assurance-page .qa-cert-card__icon{
    width: 128px;
    height: 102px;
  }

  #quality-assurance-page .qa-cert-card__icon img{
    max-width: 128px;
  }

  #quality-assurance-page .qa-cert-card__title{
    min-height: auto;
    margin-top: 22px;
    font-size: 20px;
    display: block;
  }

  #quality-assurance-page .qa-cert-card__button{
    min-width: 158px;
    min-height: 42px;
    margin-top: 18px;
    font-size: 15px;
  }

  #quality-assurance-page .qa-regulatory__notes{
    max-width: 100%;
    margin-top: 14px;
    grid-template-columns: 1fr;
    row-gap: 10px;
  }

  #quality-assurance-page .qa-regulatory__note{
    font-size: 11px;
  }

  #quality-assurance-page .qa-quality{
    padding: 54px 16px 64px;
  }

  #quality-assurance-page .qa-quality__title{
    font-size: clamp(38px, 11vw, 52px);
    line-height: 1.06;
  }

  #quality-assurance-page .qa-quality__lead{
    margin-top: 20px;
  }

  #quality-assurance-page .qa-quality__lead p{
    font-size: 14px;
    line-height: 1.75;
    margin-bottom: 18px;
  }

  #quality-assurance-page .qa-inspection{
    padding: 54px 16px 64px;
  }

  #quality-assurance-page .qa-inspection__title{
    font-size: clamp(38px, 11vw, 52px);
    line-height: 1.06;
  }

  #quality-assurance-page .qa-inspection__grid{
    margin-top: 30px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  #quality-assurance-page .qa-gallery-modal{
    padding: 12px;
  }

  #quality-assurance-page .qa-gallery-modal__dialog{
    width: calc(100vw - 24px);
    max-height: calc(100vh - 24px);
    padding: 10px;
  }

  #quality-assurance-page .qa-gallery-modal__close{
    top: -34px;
    width: 30px;
    height: 30px;
    font-size: 28px;
  }

  #quality-assurance-page .qa-gallery-modal__image{
    max-height: calc(100vh - 120px);
  }

  #quality-assurance-page .qa-gallery-modal__nav{
    width: 42px;
    height: 42px;
    font-size: 28px;
  }

  #quality-assurance-page .qa-gallery-modal__nav--prev{
    left: 10px;
  }

  #quality-assurance-page .qa-gallery-modal__nav--next{
    right: 10px;
  }

  #quality-assurance-page .qa-gallery-modal__count{
    margin-top: 10px;
    font-size: 13px;
  }
}

#quality-assurance-page .qa-gallery-modal__caption{
  margin: 14px 0 0;
  color: rgba(255,255,255,.92);
  font-size: 15px;
  line-height: 1.5;
  text-align: center;
}

#quality-assurance-page .qa-gallery-modal__count{
  margin: 8px 0 0;
}

@media (max-width: 768px){
  #quality-assurance-page .qa-gallery-modal__caption{
    margin-top: 10px;
    font-size: 13px;
    line-height: 1.45;
  }
}


/* =========================
   Domestic Page
========================= */
#domestic-page{
  --domestic-wrap: 1200px;
  --domestic-side-pad: 44px;

  --domestic-h1-bg: #c4aa79;
  --domestic-h1-text: #000000;
  --domestic-h2-bg: #000000;
  --domestic-h2-title: #c4aa77;
  --domestic-h2-text: rgba(255, 255, 255, 0.88);

  --domestic-heading-size: clamp(44px, 4.4vw, 66px);
  --domestic-heading-line: 1.04;

  --domestic-body-size: 15px;
  --domestic-body-line: 1.9;

  /* H1 section */
  --domestic-h1-title-max: 1100px;
  --domestic-h1-text-max: 920px;
  --domestic-h1-pad-top: 60px;
  --domestic-h1-pad-bottom: 56px;

  /* Bridge */
  --bridge-height: 300px;
  --bridge-split: 240px;
  --bridge-img-width: 500px;
  --bridge-img-top: 0px;
  --bridge-img-left: 44px;

  /* H2 section */
  --domestic-h2-title-max: 1100px;
  --domestic-h2-text-max: 920px;
  --domestic-h2-pad-top: 56px;
  --domestic-h2-pad-bottom: 24px;
  --domestic-h2-image-width: 500px;
  --domestic-h2-image-left: 0px;
  --domestic-h2-image-top: 0px;
  --domestic-h2-image-space-top: 30px;

  /* Full bleed image */
  --domestic-wide-image-space-top: 80px;
  --domestic-wide-image-space-bottom: 84px;

  /* Features */
  --domestic-features-space-top: 78px;
  --domestic-features-space-bottom: 132px;
  --domestic-feature-gap-y: 68px;
  --domestic-feature-text-space-top: 22px;
}

#domestic-page img{
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
}

/* =========================
   Hero
========================= */
/* Static image */
/*#domestic-page .domestic-hero{
  background: #000000;
}

#domestic-page .domestic-hero__media{
  width: 100vw;
  margin-left: calc(50% - 50vw);
}

#domestic-page .domestic-hero__media img{
  display: block;
  width: 100%;
  height: auto;
}*/

/* Video settings */
#domestic-page .domestic-hero{
  position: relative;
  min-height: clamp(240px, 28vw, 410px);
  overflow: hidden;
  background: #000000;
}

#domestic-page .domestic-hero .page-hero__bg{
  position: absolute;
  inset: 0;
}

#domestic-page .domestic-hero .page-hero__bg img,
#domestic-page .domestic-hero .page-hero__bg video{
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

@media (max-width: 767px){
  #domestic-page .domestic-hero{
    min-height: 220px;
  }

  #domestic-page .domestic-hero .page-hero__bg img,
  #domestic-page .domestic-hero .page-hero__bg video{
    object-position: center center;
  }
}


/* =========================
   Common section
========================= */
#domestic-page .domestic-section{
  width: 100%;
}

#domestic-page .domestic-section__inner{
  width: min(100%, var(--domestic-wrap));
  margin: 0 auto;
  box-sizing: border-box;
}

#domestic-page .domestic-section__head{
  width: 100%;
  padding-left: var(--domestic-side-pad);
  padding-right: var(--domestic-side-pad);
  box-sizing: border-box;
}

#domestic-page .domestic-section__title{
  margin: 0;
  font-size: var(--domestic-heading-size);
  line-height: var(--domestic-heading-line);
  letter-spacing: 0.01em;
}

#domestic-page .domestic-section__text{
  margin-top: 20px;
}

#domestic-page .domestic-section__text p{
  margin: 0;
  font-size: var(--domestic-body-size);
  line-height: var(--domestic-body-line);
  letter-spacing: 0.01em;
}

#domestic-page .domestic-section__text p + p{
  margin-top: 12px;
}

#domestic-page .domestic-section__media-wrap{
  width: 100%;
  padding-left: var(--domestic-side-pad);
  padding-right: var(--domestic-side-pad);
  box-sizing: border-box;
}

#domestic-page .domestic-section__media{
  width: var(--domestic-h2-image-width);
  max-width: 100%;
}

#domestic-page .domestic-section__media img{
  display: block;
}

/* =========================
   Intro
========================= */
#domestic-page .domestic-intro{
  background: var(--domestic-h1-bg);
}

/* =========================
   H1 section
========================= */
#domestic-page .domestic-section--h1{
  background: transparent;
  color: var(--domestic-h1-text);
}

#domestic-page .domestic-section--h1 .domestic-section__inner{
  padding-top: var(--domestic-h1-pad-top);
  padding-bottom: var(--domestic-h1-pad-bottom);
}

#domestic-page .domestic-section--h1 .domestic-section__title{
  max-width: var(--domestic-h1-title-max);
  color: var(--domestic-h1-text);
}

#domestic-page .domestic-section--h1 .domestic-section__text{
  max-width: var(--domestic-h1-text-max);
}

/* =========================
   Bridge
========================= */
#domestic-page .domestic-bridge{
  background: var(--domestic-h1-bg);
}

#domestic-page .domestic-bridge__stage{
  position: relative;
  width: 100%;
  height: var(--bridge-height);
  background: linear-gradient(
    to bottom,
    var(--domestic-h1-bg) 0,
    var(--domestic-h1-bg) var(--bridge-split),
    var(--domestic-h2-bg) var(--bridge-split),
    var(--domestic-h2-bg) 100%
  );
  overflow: visible;
}

#domestic-page .domestic-bridge__img{
  position: absolute;
  top: var(--bridge-img-top);
  left: 50%;
  width: var(--bridge-img-width);
  max-width: calc(var(--domestic-wrap) - (var(--domestic-side-pad) * 2));
  transform: translateX(calc((var(--domestic-wrap) / -2) + var(--bridge-img-left)));
  z-index: 2;
}

/* =========================
   H2 section
========================= */
#domestic-page .domestic-section--h2{
  background: var(--domestic-h2-bg);
  color: var(--domestic-h2-text);
}

#domestic-page .domestic-section--h2 .domestic-section__inner{
  padding-top: var(--domestic-h2-pad-top);
  padding-bottom: var(--domestic-h2-pad-bottom);
}

#domestic-page .domestic-section--h2 .domestic-section__title{
  max-width: var(--domestic-h2-title-max);
  color: var(--domestic-h2-title);
}

#domestic-page .domestic-section--h2 .domestic-section__text{
  max-width: var(--domestic-h2-text-max);
}

#domestic-page .domestic-section__media-wrap--second{
  margin-top: var(--domestic-h2-image-space-top);
}

#domestic-page .domestic-section__media--second{
  margin-left: var(--domestic-h2-image-left);
  transform: translateY(var(--domestic-h2-image-top));
}

/* =========================
   Full bleed image
========================= */
#domestic-page .domestic-wide-image{
  background: var(--domestic-h2-bg);
  padding-top: var(--domestic-wide-image-space-top);
  padding-bottom: var(--domestic-wide-image-space-bottom);
}

#domestic-page .domestic-wide-image__media{
  width: 100vw;
  margin-left: calc(50% - 50vw);
}

#domestic-page .domestic-wide-image__media img{
  display: block;
  width: 100%;
  height: auto;
}

/* =========================
   Features
========================= */
#domestic-page .domestic-features{
  background: var(--domestic-h2-bg);
  padding-top: var(--domestic-features-space-top);
  padding-bottom: var(--domestic-features-space-bottom);
}

#domestic-page .domestic-features__inner{
  width: min(100%, var(--domestic-wrap));
  margin: 0 auto;
}

#domestic-page .domestic-feature{
  --feature-min-height: 360px;
  --feature-title-width: calc(100% - 0px);
  --feature-text-width: 470px;
  --feature-img-width: 500px;
  --feature-img-top: 0px;
  --feature-img-right: 44px;
  position: relative;
  min-height: var(--feature-min-height);
}

#domestic-page .domestic-feature + .domestic-feature{
  margin-top: var(--domestic-feature-gap-y);
}

#domestic-page .domestic-feature__content{
  position: relative;
  min-height: inherit;
  padding-left: var(--domestic-side-pad);
  padding-right: var(--domestic-side-pad);
  box-sizing: border-box;
}

#domestic-page .domestic-feature__body{
  position: relative;
  z-index: 2;
  width: 100%;
}

#domestic-page .domestic-feature__title{
  position: relative;
  z-index: 3;
  width: var(--feature-title-width);
  max-width: none;
  margin: 0;
  font-size: var(--domestic-heading-size);
  line-height: var(--domestic-heading-line);
  letter-spacing: 0.01em;
  color: var(--domestic-h2-title);
}

#domestic-page .domestic-feature__text{
  max-width: var(--feature-text-width);
  margin-top: var(--domestic-feature-text-space-top);
}

#domestic-page .domestic-feature__text p{
  margin: 0;
  font-size: var(--domestic-body-size);
  line-height: var(--domestic-body-line);
  letter-spacing: 0.01em;
  color: var(--domestic-h2-text);
}

#domestic-page .domestic-feature__text p + p{
  margin-top: 12px;
}

#domestic-page .domestic-feature__img{
  position: absolute;
  top: var(--feature-img-top);
  right: var(--feature-img-right);
  z-index: 1;
  width: var(--feature-img-width);
  max-width: calc(100% - (var(--domestic-side-pad) * 2));
}

/* 01 */
#domestic-page .domestic-feature--01{
  --feature-min-height: 370px;
  --feature-title-width: calc(100% - 0px);
  --feature-text-width: 470px;
  --feature-img-width: 500px;
  --feature-img-top: 0px;
  --feature-img-right: 44px;
}

/* 02 */
#domestic-page .domestic-feature--02{
  --feature-min-height: 360px;
  --feature-title-width: calc(100% - 0px);
  --feature-text-width: 470px;
  --feature-img-width: 500px;
  --feature-img-top: 0px;
  --feature-img-right: 44px;
}

/* 03 */
#domestic-page .domestic-feature--03{
  --feature-min-height: 360px;
  --feature-title-width: calc(100% - 0px);
  --feature-text-width: 470px;
  --feature-img-width: 500px;
  --feature-img-top: 0px;
  --feature-img-right: 44px;
}

/* 04 */
#domestic-page .domestic-feature--04{
  --feature-min-height: 360px;
  --feature-title-width: calc(100% - 0px);
  --feature-text-width: 470px;
  --feature-img-width: 500px;
  --feature-img-top: 0px;
  --feature-img-right: 44px;
}

@media (max-width: 1024px){
  #domestic-page{
    --domestic-side-pad: 28px;
    --domestic-heading-size: clamp(38px, 4vw, 54px);

    --domestic-h1-pad-top: 48px;
    --domestic-h1-pad-bottom: 40px;

    --bridge-height: 260px;
    --bridge-split: 95px;
    --bridge-img-width: 440px;
    --bridge-img-top: 0px;
    --bridge-img-left: 28px;

    --domestic-h2-pad-top: 44px;
    --domestic-h2-pad-bottom: 20px;
    --domestic-h2-image-width: 440px;
    --domestic-h2-image-space-top: 28px;

    --domestic-wide-image-space-top: 56px;
    --domestic-wide-image-space-bottom: 56px;

    --domestic-features-space-top: 56px;
    --domestic-features-space-bottom: 96px;
    --domestic-feature-gap-y: 48px;
  }

  #domestic-page .domestic-feature{
    --feature-min-height: 320px;
    --feature-title-width: calc(100% - 0px);
    --feature-text-width: 420px;
    --feature-img-width: 420px;
    --feature-img-right: 28px;
  }
}

@media (max-width: 767px){
  #domestic-page{
    --domestic-side-pad: 16px;
    --domestic-heading-size: 34px;

    --domestic-h1-pad-top: 36px;
    --domestic-h1-pad-bottom: 32px;

    --bridge-height: auto;
    --bridge-split: 0px;
    --bridge-img-width: 100%;
    --bridge-img-top: 0px;
    --bridge-img-left: 0px;

    --domestic-h2-pad-top: 34px;
    --domestic-h2-pad-bottom: 16px;
    --domestic-h2-image-width: 100%;
    --domestic-h2-image-space-top: 22px;
    --domestic-h2-image-left: 0px;
    --domestic-h2-image-top: 0px;

    --domestic-wide-image-space-top: 40px;
    --domestic-wide-image-space-bottom: 40px;

    --domestic-features-space-top: 40px;
    --domestic-features-space-bottom: 72px;
    --domestic-feature-gap-y: 40px;
    --domestic-feature-text-space-top: 18px;
  }

  #domestic-page .domestic-section__text{
    max-width: 100%;
    margin-top: 18px;
  }

  #domestic-page .domestic-section__text p{
    font-size: 14px;
    line-height: 1.85;
  }

  #domestic-page .domestic-bridge{
    background: var(--domestic-h1-bg);
  }

  #domestic-page .domestic-bridge__stage{
    width: min(100%, var(--domestic-wrap));
    height: auto;
    margin: 0 auto;
    background: none;
    padding: 20px var(--domestic-side-pad) 0;
    box-sizing: border-box;
  }

  #domestic-page .domestic-bridge__img{
    position: static;
    width: 100%;
    max-width: 100%;
    transform: none;
  }

  #domestic-page .domestic-section__media{
    width: 100%;
    max-width: 100%;
    margin-left: 0;
    transform: none;
  }

  #domestic-page .domestic-feature{
    --feature-min-height: 0px;
  }

  #domestic-page .domestic-feature__content{
    min-height: 0;
  }

  #domestic-page .domestic-feature__title{
    width: 100%;
    max-width: 100%;
  }

  #domestic-page .domestic-feature__text{
    max-width: 100%;
    margin-top: 18px;
  }

  #domestic-page .domestic-feature__text p{
    font-size: 14px;
    line-height: 1.85;
  }

  #domestic-page .domestic-feature__img{
    position: static;
    width: 100%;
    max-width: 100%;
    margin-top: 24px;
  }
}

/* Hero video settings */
#domestic-page .domestic-hero{
  overflow: hidden;
}

#domestic-page .domestic-hero__media{
  width: 100vw;
  margin-left: calc(50% - 50vw);
  aspect-ratio: 1440 / 410;
  background: #000;
}

#domestic-page .domestic-hero__media video{
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}



/* =========================
   Product detail
========================= */
#products-page .product{
  background: #dfdfdf;
  padding: 58px 20px 132px;
}

#products-page .product__inner{
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
}

#products-page .product__head{
  margin-bottom: 30px;
}

#products-page .product__logo{
  width: 280px;
  max-width: 280px;
}

#products-page .product__logo img{
  display: block;
  width: 100%;
  height: auto;
}

#products-page .product__top{
  display: grid;
  grid-template-columns: minmax(0, 660px) 470px;
  column-gap: 70px;
  align-items: start;
}

#products-page .product__main{
  width: 100%;
}

#products-page .product__mainBtn{
  display: block;
  width: 100%;
  aspect-ratio: 393 / 245;
  background: #000;
  overflow: hidden;
}

#products-page .product__mainBtn img,
#products-page .product__mainBtn video{
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

#products-page .product__movie{
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

#products-page .product__thumb{
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

#products-page .product__thumbs{
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px 20px;
  align-content: start;
}

#products-page .product__thumb{
  aspect-ratio: 106 / 65;
  background: #fff;
  overflow: hidden;
}

#products-page .product__thumb img{
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

#products-page .product__text{
  max-width: 1080px;
  margin-top: 32px;
}

#products-page .product__text p{
  margin: 0;
  color: #000;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.85;
}

#products-page .product__text p + p{
  margin-top: 24px;
}

#products-page .product__details{
  margin-top: 52px;
}

#products-page .detail{
  border-top: 2px dashed #707070;
}

#products-page .detail:last-child{
  border-bottom: 2px dashed #707070;
}

#products-page .detail__btn{
  display: flex;
  align-items: center;
  justify-content: flex-start;
  width: 100%;
  min-height: 68px;
  padding: 0 10px;
  border: 0;
  background: transparent;
  color: #111965;
  font-size: 22px;
  font-weight: 700;
  line-height: 1.4;
  text-align: left;
  cursor: pointer;
}

#products-page .detail__icon{
  display: block;
  position: static;
  flex: 0 0 auto;
  width: 0;
  height: 0;
  margin-left: 12px;
  border-left: 9px solid transparent;
  border-right: 9px solid transparent;
  border-top: 12px solid #85898c;
  transition: transform .2s ease;
}

#products-page .detail__icon::before,
#products-page .detail__icon::after{
  content: none;
}

#products-page .detail.is-open .detail__icon{
  transform: rotate(180deg);
}

#products-page .detail__body{
  display: none;
  padding: 0 10px 26px;
}

#products-page .detail.is-open .detail__body{
  display: block;
}

#products-page .detail__content p{
  margin: 0;
  color: #000;
  font-size: 15px;
  line-height: 1.8;
}

/* =========================
   Product gallery modal
========================= */
#products-page .product-gallery-modal{
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: none;
  align-items: flex-start;
  justify-content: center;
  padding: 110px 24px 32px;
  box-sizing: border-box;
  overflow-y: auto;
}

#products-page .product-gallery-modal.is-open{
  display: flex;
}

#products-page .product-gallery-modal__backdrop{
  position: fixed;
  inset: 0;
  border: 0;
  background: rgba(0,0,0,.78);
  cursor: pointer;
}

#products-page .product-gallery-modal__dialog{
  position: relative;
  z-index: 1;
  width: min(960px, calc(100vw - 48px));
  max-height: calc(100svh - 142px);
  padding: 18px;
  background: #111;
  box-sizing: border-box;
}

#products-page .product-gallery-modal__close{
  position: absolute;
  top: 10px;
  right: 12px;
  z-index: 3;
  width: 36px;
  height: 36px;
  padding: 0;
  border: 0;
  background: rgba(0,0,0,.45);
  color: #fff;
  font-size: 34px;
  line-height: 1;
  cursor: pointer;
}

#products-page .product-gallery-modal__media{
  width: 100%;
  background: #000;
}

#products-page .product-gallery-modal__image{
  display: block;
  width: 100%;
  height: auto;
  max-height: calc(100svh - 230px);
  object-fit: contain;
  background: #000;
}

#products-page .product-gallery-modal__nav{
  position: absolute;
  top: 50%;
  z-index: 2;
  width: 52px;
  height: 52px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(255,255,255,.14);
  color: #fff;
  font-size: 34px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transform: translateY(-50%);
}

#products-page .product-gallery-modal__nav--prev{
  left: 28px;
}

#products-page .product-gallery-modal__nav--next{
  right: 28px;
}

#products-page .product-gallery-modal__caption{
  margin: 14px 0 0;
  color: rgba(255,255,255,.92);
  font-size: 15px;
  line-height: 1.5;
  text-align: center;
}

#products-page .product-gallery-modal__count{
  margin: 8px 0 0;
  color: rgba(255,255,255,.88);
  font-size: 14px;
  line-height: 1.4;
  text-align: center;
}

/* Tablet */
@media (max-width: 1100px){
  #products-page .product{
    padding: 48px 18px 96px;
  }

  #products-page .product__inner{
    max-width: 900px;
  }

  #products-page .product__top{
    grid-template-columns: minmax(0, 1fr) 340px;
    column-gap: 40px;
  }

  #products-page .product__logo{
    width: 240px;
    max-width: 240px;
  }

  #products-page .product__thumbs{
    gap: 14px;
  }

  #products-page .product__text p{
    font-size: 13px;
  }

  #products-page .detail__btn{
    font-size: 20px;
  }

  #products-page .product-gallery-modal{
    padding: 100px 20px 28px;
  }

  #products-page .product-gallery-modal__dialog{
    width: min(900px, calc(100vw - 40px));
    max-height: calc(100svh - 128px);
    padding: 14px;
  }

  #products-page .product-gallery-modal__image{
    max-height: calc(100svh - 210px);
  }

  #products-page .product-gallery-modal__nav--prev{
    left: 18px;
  }

  #products-page .product-gallery-modal__nav--next{
    right: 18px;
  }
}

/* Mobile */
@media (max-width: 767px){
  #products-page .product{
    padding: 36px 16px 72px;
  }

  #products-page .product__inner{
    max-width: 100%;
  }

  #products-page .product__head{
    margin-bottom: 22px;
  }

  #products-page .product__logo{
    width: 210px;
    max-width: 210px;
  }

  #products-page .product__top{
    grid-template-columns: 1fr;
    row-gap: 24px;
  }

  #products-page .product__thumbs{
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
  }

  #products-page .product__text{
    margin-top: 24px;
  }

  #products-page .product__text p{
    font-size: 13px;
    line-height: 1.75;
  }

  #products-page .product__details{
    margin-top: 42px;
  }

  #products-page .detail__btn{
    min-height: 58px;
    font-size: 18px;
  }

  #products-page .detail__content p{
    font-size: 13px;
    line-height: 1.75;
  }

  #products-page .product-gallery-modal{
    padding: 84px 12px 20px;
  }

  #products-page .product-gallery-modal__dialog{
    width: calc(100vw - 24px);
    max-height: calc(100svh - 104px);
    padding: 10px;
  }

  #products-page .product-gallery-modal__close{
    top: 8px;
    right: 10px;
    width: 30px;
    height: 30px;
    font-size: 28px;
  }

  #products-page .product-gallery-modal__image{
    max-height: calc(100svh - 176px);
  }

  #products-page .product-gallery-modal__nav{
    width: 42px;
    height: 42px;
    font-size: 28px;
  }

  #products-page .product-gallery-modal__nav--prev{
    left: 10px;
  }

  #products-page .product-gallery-modal__nav--next{
    right: 10px;
  }

  #products-page .product-gallery-modal__caption{
    margin-top: 10px;
    font-size: 13px;
    line-height: 1.45;
  }

  #products-page .product-gallery-modal__count{
    margin-top: 8px;
    font-size: 13px;
  }
}


/* =========================
  Contact Page
========================= */

body.contact-page {
  background: #dfdfdf;
}

.contact-page-main {
  background: #dfdfdf;
  min-height: 100vh;
  padding-top: var(--header-height, 6rem);
}

.contact-page .contact-section {
  background: transparent;
}


/* ==================================================
   Privacy Policy Page
================================================== */

#privacy-policy-page .privacy-policy {
  background: #ddd;
  color: #111;
}

#privacy-policy-page .privacy-policy__inner {
  width: min(calc(100% - 48px), 1200px);
  margin-right: auto;
  margin-left: auto;
}

#privacy-policy-page .privacy-policy__head {
  padding: 48px 0 42px;
  background: #c7ae78;
}

#privacy-policy-page .privacy-policy__title {
  margin: 0;
  color: #fff;
  font-size: clamp(2.5rem, 5vw, 4rem);
  line-height: 1.1;
  font-weight: 800;
  letter-spacing: -0.035em;
}

#privacy-policy-page .privacy-policy__intro {
  margin: 20px 0 0;
  font-size: 1rem;
  line-height: 1.8;
}

#privacy-policy-page .privacy-policy__body {
  padding: 54px 0 60px;
  background: #ddd;
}

#privacy-policy-page .privacy-policy__section + .privacy-policy__section {
  margin-top: 42px;
}

#privacy-policy-page .privacy-policy__heading {
  margin: 0 0 12px;
  color: #c3a86f;
  font-size: clamp(1.35rem, 2.4vw, 2rem);
  line-height: 1.35;
  font-weight: 800;
}

#privacy-policy-page .privacy-policy__section p {
  margin: 0;
  font-size: 1rem;
  line-height: 1.8;
}

#privacy-policy-page .privacy-policy__list {
  margin: 8px 0 0;
  padding-left: 1.4em;
}

#privacy-policy-page .privacy-policy__list li {
  font-size: 1rem;
  line-height: 1.8;
}

#privacy-policy-page .privacy-policy__date {
  margin: 42px 0 0;
  text-align: right;
  font-size: 0.9375rem;
  line-height: 1.6;
}

#privacy-policy-page .privacy-policy__contact {
  padding: 42px 0 48px;
  background: #777;
  color: #fff;
}

#privacy-policy-page .privacy-policy__contact-title {
  margin: 0 0 28px;
  color: #c7ae78;
  font-size: clamp(1.35rem, 2.4vw, 2rem);
  line-height: 1.35;
  font-weight: 800;
}

#privacy-policy-page .privacy-policy__address {
  font-style: normal;
}

#privacy-policy-page .privacy-policy__address p {
  margin: 0;
  font-size: 1rem;
  line-height: 1.8;
}

#privacy-policy-page .privacy-policy__address a {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

#privacy-policy-page .privacy-policy__address a:hover {
  opacity: 0.7;
}

@media (max-width: 767px) {
  #privacy-policy-page .privacy-policy__inner {
    width: min(calc(100% - 32px), 1200px);
  }

  #privacy-policy-page .privacy-policy__head {
    padding: 36px 0 32px;
  }

  #privacy-policy-page .privacy-policy__intro {
    margin-top: 16px;
    font-size: 0.9375rem;
  }

  #privacy-policy-page .privacy-policy__body {
    padding: 40px 0 44px;
  }

  #privacy-policy-page .privacy-policy__section + .privacy-policy__section {
    margin-top: 32px;
  }

  #privacy-policy-page .privacy-policy__section p,
  #privacy-policy-page .privacy-policy__list li {
    font-size: 0.9375rem;
  }

  #privacy-policy-page .privacy-policy__date {
    margin-top: 32px;
    text-align: left;
  }

  #privacy-policy-page .privacy-policy__contact {
    padding: 36px 0 40px;
  }

  #privacy-policy-page .privacy-policy__contact-title {
    margin-bottom: 22px;
  }
}


/* ==================================================
   News Archive Page
================================================== */

#news-index-page .news-archive {
  min-height: 70vh;
  padding: 52px 0 110px;
  background: #ddd;
  color: #000;
}

#news-index-page .news-archive__inner {
  width: min(calc(100% - 80px), 1200px);
  margin-right: auto;
  margin-left: auto;
}

#news-index-page .news-archive__title {
  margin: 0 0 74px;
  color: #fff;
  font-size: clamp(3.5rem, 6vw, 5.5rem);
  line-height: 1;
  font-weight: 800;
  letter-spacing: -0.045em;
}

#news-index-page .news-archive__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 72px 36px;
  align-items: stretch;
}

#news-index-page .news-card {
  min-width: 0;
  background: #fff;
}

#news-index-page .news-card__link {
  display: grid;
  grid-template-rows: 180px auto 84px;
  height: 100%;
  color: #000;
  text-decoration: none;
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease;
}

#news-index-page .news-card__head {
  display: flex;
  flex-direction: column;
  height: 180px;
  padding: 22px 22px 18px;
  box-sizing: border-box;
}

#news-index-page .news-card__title {
  display: -webkit-box;
  overflow: hidden;
  width: 100%;
  max-height: calc(1.125rem * 1.25 * 4);
  margin: 0;
  font-size: 1.125rem;
  line-height: 1.25;
  font-weight: 800;
  white-space: normal;
  overflow-wrap: break-word;
  text-overflow: ellipsis;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 4;
  line-clamp: 4;
}

#news-index-page .news-card__date {
  display: block;
  margin-top: auto;
  padding-top: 16px;
  font-size: 1rem;
  line-height: 1.4;
  font-weight: 700;
}

#news-index-page .news-card__image {
  overflow: hidden;
  width: 100%;
  aspect-ratio: 1.42 / 1;
  background: #ccc;
}

#news-index-page .news-card__image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

#news-index-page .news-card__excerpt-wrap {
  overflow: hidden;
  height: 84px;
  padding: 18px 28px 12px;
  background: #fff;
  box-sizing: border-box;
}

#news-index-page .news-card__excerpt {
  display: -webkit-box;
  overflow: hidden;
  width: 100%;
  max-height: calc(0.875rem * 1.4 * 2);
  margin: 0;
  padding: 0;
  font-size: 0.875rem;
  line-height: 1.4;
  white-space: normal;
  overflow-wrap: break-word;
  text-overflow: ellipsis;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-clamp: 2;
}

@media (hover: hover) and (pointer: fine) {
  #news-index-page .news-card__link:hover {
    transform: translateY(-6px);
    box-shadow: 0 14px 28px rgba(0, 0, 0, 0.12);
  }

  #news-index-page .news-card__link:hover .news-card__image img {
    transform: scale(1.03);
  }
}

@media (max-width: 1023px) {
  #news-index-page .news-archive__inner {
    width: min(calc(100% - 48px), 900px);
  }

  #news-index-page .news-archive__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 48px 32px;
  }
}

@media (max-width: 767px) {
  #news-index-page .news-archive {
    padding: 38px 0 72px;
  }

  #news-index-page .news-archive__inner {
    width: min(calc(100% - 32px), 560px);
  }

  #news-index-page .news-archive__title {
    margin-bottom: 44px;
    font-size: 3.25rem;
  }

  #news-index-page .news-archive__grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  #news-index-page .news-card__link {
    grid-template-rows: 180px auto auto;
  }

  #news-index-page .news-card__head {
    padding: 20px 20px 18px;
  }

  #news-index-page .news-card__excerpt-wrap {
    height: auto;
    min-height: 72px;
    padding: 16px 24px 14px;
  }
}


/* ==================================================
   News Detail Page
================================================== */

#news-detail-page .news-entry {
  background: #dfdfdf;
  color: #000;
}

#news-detail-page .news-entry__header {
  background: #002060;
}

#news-detail-page .news-entry__header-inner {
  width: min(calc(100% - 80px), 1200px);
  margin-right: auto;
  margin-left: auto;
  padding: 34px 0 40px;
}

#news-detail-page .news-entry__label {
  margin: 0;
  color: #fff;
  font-size: clamp(3.5rem, 6vw, 5rem);
  line-height: 1;
  font-weight: 800;
  letter-spacing: -0.04em;
}

#news-detail-page .news-entry__date {
  display: block;
  margin-top: 34px;
  color: #c4aa78;
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  line-height: 1.3;
  font-weight: 800;
}

#news-detail-page .news-entry__content {
  padding: 68px 0 76px;
  background: #dfdfdf;
}

#news-detail-page .news-entry__inner {
  width: min(calc(100% - 80px), 1200px);
  margin-right: auto;
  margin-left: auto;
}

#news-detail-page .news-entry__visual {
  width: min(100%, 970px);
  margin: 0;
}

#news-detail-page .news-entry__visual img {
  display: block;
  width: 100%;
  height: auto;
}

#news-detail-page .news-entry__title-wrap {
  position: relative;
  margin-top: 54px;
  padding-left: 44px;
}

#news-detail-page .news-entry__title-wrap::before {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 12px;
  background: #c4aa78;
  content: "";
}

#news-detail-page .news-entry__title {
  margin: 0;
  color: #002060;
  font-size: clamp(3rem, 5.4vw, 4.5rem);
  line-height: 1.18;
  font-weight: 800;
  letter-spacing: -0.035em;
}

#news-detail-page .news-entry__body {
  margin-top: 42px;
}

#news-detail-page .news-entry__body p {
  margin: 0;
  font-size: 1.125rem;
  line-height: 1.75;
}

#news-detail-page .news-entry__body p + p {
  margin-top: 36px;
}

#news-detail-page .news-entry__information {
  display: grid;
  row-gap: 32px;
  margin: 44px 0 0;
}

#news-detail-page .news-entry__information-item {
  margin: 0;
}

#news-detail-page .news-entry__information-item dt {
  position: relative;
  margin: 0 0 4px;
  padding-left: 1.35em;
  font-size: 1.125rem;
  line-height: 1.6;
  font-weight: 500;
}

#news-detail-page .news-entry__information-item dt::before {
  position: absolute;
  top: 0.35em;
  left: 0;
  width: 0.85em;
  height: 0.85em;
  background: #000;
  content: "";
}

#news-detail-page .news-entry__information-item dd {
  margin: 0;
  font-size: 1.125rem;
  line-height: 1.7;
}

#news-detail-page .news-entry__actions {
  display: flex;
  justify-content: flex-end;
  margin-top: 64px;
}

#news-detail-page .news-entry__back-link {
  display: inline-flex;
  gap: 32px;
  align-items: center;
  justify-content: center;
  min-width: 240px;
  padding: 20px 28px;
  background: #969696;
  color: #fff;
  font-size: 1rem;
  line-height: 1.4;
  font-weight: 700;
  text-decoration: none;
  box-sizing: border-box;
  transition:
    background-color 0.25s ease,
    color 0.25s ease;
}

#news-detail-page .news-entry__back-arrow {
  display: inline-block;
  font-size: 1.5rem;
  line-height: 1;
  transition: transform 0.25s ease;
}

@media (hover: hover) and (pointer: fine) {
  #news-detail-page .news-entry__back-link:hover {
    background: #002060;
  }

  #news-detail-page .news-entry__back-link:hover
  .news-entry__back-arrow {
    transform: translateX(6px);
  }
}

@media (max-width: 1023px) {
  #news-detail-page .news-entry__header-inner,
  #news-detail-page .news-entry__inner {
    width: min(calc(100% - 48px), 900px);
  }

  #news-detail-page .news-entry__content {
    padding-top: 56px;
  }

  #news-detail-page .news-entry__title {
    font-size: clamp(2.75rem, 6vw, 4rem);
  }
}

@media (max-width: 767px) {
  #news-detail-page .news-entry__header-inner,
  #news-detail-page .news-entry__inner {
    width: min(calc(100% - 32px), 560px);
  }

  #news-detail-page .news-entry__header-inner {
    padding: 28px 0 30px;
  }

  #news-detail-page .news-entry__label {
    font-size: 3rem;
  }

  #news-detail-page .news-entry__date {
    margin-top: 24px;
    font-size: 1.375rem;
  }

  #news-detail-page .news-entry__content {
    padding: 40px 0 56px;
  }

  #news-detail-page .news-entry__title-wrap {
    margin-top: 34px;
    padding-left: 22px;
  }

  #news-detail-page .news-entry__title-wrap::before {
    width: 7px;
  }

  #news-detail-page .news-entry__title {
    font-size: clamp(2rem, 9vw, 2.75rem);
    line-height: 1.2;
  }

  #news-detail-page .news-entry__body {
    margin-top: 30px;
  }

  #news-detail-page .news-entry__body p {
    font-size: 0.9375rem;
    line-height: 1.75;
  }

  #news-detail-page .news-entry__body p + p {
    margin-top: 26px;
  }

  #news-detail-page .news-entry__information {
    row-gap: 26px;
    margin-top: 34px;
  }

  #news-detail-page .news-entry__information-item dt,
  #news-detail-page .news-entry__information-item dd {
    font-size: 0.9375rem;
  }

  #news-detail-page .news-entry__actions {
    margin-top: 46px;
  }

  #news-detail-page .news-entry__back-link {
    min-width: 200px;
    padding: 16px 22px;
  }
}


/* ==================================================
   Capability Detail Page
================================================== */

.capability-detail {
  background: #fff;
  color: #fff;
}

.capability-detail img {
  display: block;
  max-width: 100%;
}


/* Hero
-------------------------------------------------- */

.capability-detail__hero {
  position: relative;
  overflow: hidden;
  height: clamp(250px, 22vw, 340px);
  background: #e8e8e8;
}

.capability-detail__hero-media {
  position: absolute;
  inset: 0;
}

.capability-detail__hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.capability-detail__hero-inner {
  position: relative;
  z-index: 1;
  width: min(calc(100% - 80px), 1200px);
  height: 100%;
  margin-right: auto;
  margin-left: auto;
  padding-top: 34px;
  box-sizing: border-box;
}

.capability-detail__hero-title {
  margin: 0;
  color: #00256b;
  font-size: clamp(2.75rem, 5vw, 4.75rem);
  line-height: 1;
  font-weight: 800;
  letter-spacing: -0.035em;
}


/* Common Section
-------------------------------------------------- */

.capability-detail__section {
  padding: 54px 0 64px;
}

.capability-detail__section--primary {
  background: #002b78;
}

.capability-detail__section--dark {
  padding-top: 44px;
  padding-bottom: 52px;
  background: #000;
}

.capability-detail__inner {
  width: min(calc(100% - 80px), 1200px);
  margin-right: auto;
  margin-left: auto;
}

.capability-detail__content--wide {
  width: 100%;
  margin: 0;
}

.capability-detail__body {
  margin-top: 22px;
}

.capability-detail__title {
  margin: 0;
  font-size: clamp(2.25rem, 4vw, 3.25rem);
  line-height: 1.08;
  font-weight: 800;
  letter-spacing: -0.025em;
}

.capability-detail__text {
  margin-top: 12px;
}

.capability-detail__text p {
  margin: 0;
  font-size: 1rem;
  line-height: 1.7;
}

.capability-detail__text p + p {
  margin-top: 4px;
}


/* Media
-------------------------------------------------- */

.capability-detail__media {
  margin: 0;
}

.capability-detail__media img {
  width: 100%;
  height: auto;
}

.capability-detail__media--main {
  overflow: hidden;
  width: 100%;
}

.capability-detail__media--main img {
  width: 100%;
  height: auto;
}


/* Split Section
-------------------------------------------------- */

.capability-detail__split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.9fr);
  gap: 72px;
  align-items: center;
  width: 100%;
  margin: 0;
}

.capability-detail__body--secondary {
  margin-top: 0;
}

.capability-detail__section--dark .capability-detail__title {
  color: #9c9c9c;
}

.capability-detail__section--dark .capability-detail__text {
  color: #fff;
}

.capability-detail__media--side {
  width: 100%;
}


/* Tablet
-------------------------------------------------- */

@media (max-width: 1023px) {
  .capability-detail__hero {
    height: clamp(230px, 30vw, 300px);
  }

  .capability-detail__hero-inner,
  .capability-detail__inner {
    width: min(calc(100% - 48px), 900px);
  }

  .capability-detail__section {
    padding: 48px 0 56px;
  }

  .capability-detail__split {
    grid-template-columns: minmax(0, 1fr) minmax(300px, 0.9fr);
    gap: 44px;
  }
}


/* Mobile
-------------------------------------------------- */

@media (max-width: 767px) {
  .capability-detail__hero {
    height: 210px;
  }

  .capability-detail__hero-inner,
  .capability-detail__inner {
    width: min(calc(100% - 32px), 560px);
  }

  .capability-detail__hero-inner {
    padding-top: 24px;
  }

  .capability-detail__hero-title {
    font-size: clamp(2.25rem, 11vw, 3.25rem);
  }

  .capability-detail__section,
  .capability-detail__section--dark {
    padding: 36px 0 42px;
  }

  .capability-detail__body {
    margin-top: 20px;
  }

  .capability-detail__title {
    font-size: clamp(2rem, 9vw, 2.75rem);
    line-height: 1.12;
  }

  .capability-detail__text {
    margin-top: 14px;
  }

  .capability-detail__text p {
    font-size: 0.9375rem;
    line-height: 1.75;
  }

  .capability-detail__text p + p {
    margin-top: 8px;
  }

  .capability-detail__split {
    display: flex;
    flex-direction: column;
    gap: 30px;
    width: 100%;
    margin: 0;
  }

  .capability-detail__body--secondary {
    width: 100%;
  }

  .capability-detail__media--side {
    width: 100%;
  }
}

/* End of Capability Detail Page */



/* =========================
   Our Capabilities
========================= */
#custom-design-page{
  background: #fff;
}

#custom-design-page .custom-design-hero{
  position: relative;
  min-height: clamp(240px, 28vw, 410px);
  overflow: hidden;
  background: #dcecf6;
}

#custom-design-page .custom-design-hero .page-hero__bg{
  position: absolute;
  inset: 0;
}

#custom-design-page .custom-design-hero .page-hero__bg video{
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

#custom-design-page .custom-design-hero .page-hero__inner{
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 84px 20px 34px;
}

#custom-design-page .custom-design-hero .page-hero__title{
  margin: 0;
  color: #13216a;
  font-size: clamp(44px, 4vw, 68px);
  line-height: 1;
  font-weight: 700;
}

#custom-design-page .custom-design-section-title{
  margin: 0;
  color: #13216a;
  font-size: clamp(38px, 3.55vw, 60px);
  line-height: 1.04;
  font-weight: 700;
}

#custom-design-page .custom-design-feature,
#custom-design-page .custom-design-oem,
#custom-design-page .custom-design-sterilization,
#custom-design-page .custom-design-laser{
  padding: 96px 20px;
}

#custom-design-page .custom-design-feature__inner,
#custom-design-page .custom-design-oem__inner,
#custom-design-page .custom-design-sterilization__inner,
#custom-design-page .custom-design-laser__inner{
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
}

#custom-design-page .custom-design-feature__body,
#custom-design-page .custom-design-oem__inner,
#custom-design-page .custom-design-sterilization__body,
#custom-design-page .custom-design-laser__inner{
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 500px);
  gap: 72px;
  align-items: center;
}

#custom-design-page .custom-design-feature__lead,
#custom-design-page .custom-design-oem__lead,
#custom-design-page .custom-design-sterilization__lead,
#custom-design-page .custom-design-laser__lead{
  max-width: 590px;
  margin-top: 22px;
}

#custom-design-page .custom-design-feature__lead h3{
  margin: 0 0 18px;
  font-size: 20px;
  line-height: 1.45;
}

#custom-design-page .custom-design-feature__lead p,
#custom-design-page .custom-design-oem__lead p,
#custom-design-page .custom-design-sterilization__lead p,
#custom-design-page .custom-design-laser__lead p{
  margin: 0 0 16px;
  font-size: 14px;
  line-height: 1.75;
  font-weight: 600;
}

#custom-design-page .custom-design-feature__media img,
#custom-design-page .custom-design-laser__image img{
  display: block;
  width: 100%;
  height: auto;
}

/* Scalable Production */
#custom-design-page .custom-design-feature--scalable{
  background: #082d78;
}

#custom-design-page .custom-design-feature--scalable .custom-design-section-title,
#custom-design-page .custom-design-feature--scalable .custom-design-feature__lead,
#custom-design-page .custom-design-feature--scalable .custom-design-feature__lead p{
  color: #fff;
}

/* Custom Design / OEM */
#custom-design-page .custom-design-oem{
  background: #aaa;
}

#custom-design-page .custom-design-oem__lead,
#custom-design-page .custom-design-oem__lead p{
  color: #fff;
}

#custom-design-page .custom-design-placeholder{
  display: block;
  width: 100%;
  background: rgba(255, 255, 255, .18);
  border: 1px dashed rgba(255, 255, 255, .55);
}

#custom-design-page .custom-design-oem__media{
  aspect-ratio: 16 / 9;
}

#custom-design-page .custom-design-oem__media video,
#custom-design-page .custom-design-oem__media iframe{
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  object-fit: cover;
}

/* Japanese Precision Engineering */
#custom-design-page .custom-design-feature--engineering,
#custom-design-page .custom-design-feature--rapid{
  background: #000;
}

#custom-design-page .custom-design-feature--engineering .custom-design-section-title{
  max-width: 620px;
  color: #c4aa77;
}

#custom-design-page .custom-design-feature--engineering .custom-design-feature__lead,
#custom-design-page .custom-design-feature--engineering .custom-design-feature__lead p,
#custom-design-page .custom-design-feature--rapid .custom-design-feature__lead,
#custom-design-page .custom-design-feature--rapid .custom-design-feature__lead p{
  color: #fff;
}

/* Rapid 3D Prototyping */
#custom-design-page .custom-design-feature--rapid .custom-design-section-title{
  color: #969696;
}

/* Button */
#custom-design-page .custom-design-button{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  min-height: 50px;
  margin-top: 28px;
  padding: 0 25px;
  border: 1px solid transparent;
  background: #13216a;
  color: #fff;
  font-size: 14px;
  line-height: 1;
  font-weight: 700;
  text-decoration: none;
}

#custom-design-page .custom-design-feature--engineering .custom-design-button,
#custom-design-page .custom-design-laser .custom-design-button{
  border-color: rgba(255, 255, 255, .7);
  background: transparent;
}

/* Cleaning & Sterilization */
#custom-design-page .custom-design-sterilization{
  background: #fff;
}

#custom-design-page .custom-design-sterilization__title{
  color: #888;
}

#custom-design-page .custom-design-sterilization__title span{
  font-size: .62em;
}

#custom-design-page .custom-design-sterilization__main{
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #eee;
  border-color: #bbb;
}

#custom-design-page .custom-design-sterilization__main img{
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

#custom-design-page .custom-design-sterilization__main.has-media{
  border: 0;
}

#custom-design-page .custom-design-sterilization__thumbs{
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
  margin-top: 34px;
}

#custom-design-page .custom-design-sterilization__thumb{
  padding: 0;
  border: 2px solid transparent;
  background: none;
  cursor: pointer;
}

#custom-design-page .custom-design-sterilization__thumb > span{
  aspect-ratio: 16 / 9;
  background: #eee;
  border-color: #bbb;
}

#custom-design-page .custom-design-sterilization__thumb.is-active{
  border-color: #13216a;
}

/* Precision Laser Marking */
#custom-design-page .custom-design-laser{
  background: #082d78;
}

#custom-design-page .custom-design-laser__title{
  color: #c4aa77;
}

#custom-design-page .custom-design-laser__lead,
#custom-design-page .custom-design-laser__lead p{
  color: #fff;
}

/* Tablet */
@media (max-width: 1024px){
  #custom-design-page .custom-design-feature,
  #custom-design-page .custom-design-oem,
  #custom-design-page .custom-design-sterilization,
  #custom-design-page .custom-design-laser{
    padding: 76px 18px;
  }

  #custom-design-page .custom-design-feature__body,
  #custom-design-page .custom-design-oem__inner,
  #custom-design-page .custom-design-sterilization__body,
  #custom-design-page .custom-design-laser__inner{
    grid-template-columns: minmax(0, 1fr) minmax(300px, 42%);
    gap: 42px;
  }
}

/* Mobile */
@media (max-width: 768px){
  #custom-design-page .custom-design-hero{
    min-height: 220px;
  }

  #custom-design-page .custom-design-hero .page-hero__inner{
    padding: 62px 16px 22px;
  }

  #custom-design-page .custom-design-hero .page-hero__title{
    font-size: clamp(36px, 11vw, 52px);
  }

  #custom-design-page .custom-design-hero .page-hero__bg video{
    object-position: 62% center;
  }

  #custom-design-page .custom-design-section-title{
    font-size: clamp(34px, 9vw, 46px);
    line-height: 1.1;
  }

  #custom-design-page .custom-design-feature,
  #custom-design-page .custom-design-oem,
  #custom-design-page .custom-design-sterilization,
  #custom-design-page .custom-design-laser{
    padding: 58px 16px;
  }

  #custom-design-page .custom-design-feature__body,
  #custom-design-page .custom-design-oem__inner,
  #custom-design-page .custom-design-sterilization__body,
  #custom-design-page .custom-design-laser__inner{
    grid-template-columns: 1fr;
    gap: 30px;
  }

  #custom-design-page .custom-design-feature__lead,
  #custom-design-page .custom-design-oem__lead,
  #custom-design-page .custom-design-sterilization__lead,
  #custom-design-page .custom-design-laser__lead{
    margin-top: 18px;
  }

  #custom-design-page .custom-design-feature__lead h3{
    font-size: 17px;
  }

  #custom-design-page .custom-design-feature__lead p,
  #custom-design-page .custom-design-oem__lead p,
  #custom-design-page .custom-design-sterilization__lead p,
  #custom-design-page .custom-design-laser__lead p{
    font-size: 13px;
    line-height: 1.7;
  }

  #custom-design-page .custom-design-button{
    min-height: 46px;
    margin-top: 22px;
    padding: 0 20px;
    font-size: 13px;
  }

  #custom-design-page .custom-design-sterilization__title span{
    display: block;
    margin-top: 4px;
    font-size: .52em;
  }

  #custom-design-page .custom-design-sterilization__thumbs{
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-top: 22px;
  }
}


/* ==================================================
   Japanese Precision Engineering
================================================== */

#japanese-engineering-page{
  background: #000;
}

#japanese-engineering-page .jp-engineering-inner{
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
}

/* ==================================================
   Hero
================================================== */

#japanese-engineering-page .jp-engineering-hero{
  position: relative;
  height: clamp(330px, 38vw, 570px);
  overflow: hidden;
  background: #1a1a1a;
}

#japanese-engineering-page .jp-engineering-hero::after{
  content: none;
}

#japanese-engineering-page .jp-engineering-hero__image{
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

#japanese-engineering-page .jp-engineering-hero__inner{
  position: absolute;
  z-index: 1;
  top: 32px;
  left: 50%;
  width: 100%;
  max-width: 1200px;
  padding: 0 20px;
  transform: translateX(-50%);
}

#japanese-engineering-page .jp-engineering-hero__title{
  display: inline-block;
  margin: 0;
  padding: 14px 20px;
  background: rgba(70, 70, 70, .55);
  color: #fff;
  font-size: clamp(40px, 4.2vw, 68px);
  line-height: 1.08;
  font-weight: 700;
}

/* ==================================================
   Content sections
================================================== */

#japanese-engineering-page .jp-engineering-intro,
#japanese-engineering-page .jp-engineering-process{
  padding: 96px 20px 112px;
  background: #000;
}

#japanese-engineering-page .jp-engineering-row{
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 500px);
  gap: 72px;
  align-items: center;
}

#japanese-engineering-page .jp-engineering-row + .jp-engineering-row{
  margin-top: 92px;
}

#japanese-engineering-page .jp-engineering-row--reverse{
  grid-template-columns: minmax(360px, 500px) minmax(0, 1fr);
}

#japanese-engineering-page .jp-engineering-row__text{
  max-width: 590px;
}

#japanese-engineering-page .jp-engineering-title{
  margin: 0 0 22px;
  color: #c4aa77;
  font-size: clamp(36px, 3.4vw, 56px);
  line-height: 1.08;
  font-weight: 700;
}

#japanese-engineering-page .jp-engineering-row__text p{
  margin: 0 0 16px;
  color: #fff;
  font-size: 14px;
  line-height: 1.75;
  font-weight: 600;
}

#japanese-engineering-page .jp-engineering-row__text p:last-child{
  margin-bottom: 0;
}

#japanese-engineering-page .jp-engineering-row__image{
  overflow: hidden;
  background: #1a1a1a;
}

#japanese-engineering-page .jp-engineering-row__image img{
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

/* Japanese Quality */
#japanese-engineering-page
.jp-engineering-intro
.jp-engineering-row--reverse{
  align-items: center;
}

/* A Wealth of Experience Creates Quality */
#japanese-engineering-page
.jp-engineering-process
.jp-engineering-row:nth-child(2){
  align-items: start;
}

/* ==================================================
   Parallax
================================================== */

#japanese-engineering-page .jp-engineering-parallax{
  width: 100%;
  min-height: clamp(252px, 30.8vw, 462px);
  background-color: #222;
  background-image: var(--parallax-image);
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  background-attachment: fixed;
}

/* ==================================================
   Workshop image
================================================== */

#japanese-engineering-page .jp-engineering-workshop{
  width: 100%;
  background: #1a1a1a;
}

#japanese-engineering-page .jp-engineering-workshop img{
  display: block;
  width: 100%;
  height: clamp(360px, 48vw, 700px);
  object-fit: cover;
  object-position: center;
}

/* ==================================================
   Tablet
================================================== */

@media (max-width: 1024px){
  #japanese-engineering-page .jp-engineering-intro,
  #japanese-engineering-page .jp-engineering-process{
    padding: 76px 18px 88px;
  }

  #japanese-engineering-page .jp-engineering-row,
  #japanese-engineering-page .jp-engineering-row--reverse{
    grid-template-columns: minmax(0, 1fr) minmax(300px, 42%);
    gap: 42px;
  }
}

/* ==================================================
   Mobile
================================================== */

@media (max-width: 768px){
  #japanese-engineering-page .jp-engineering-hero{
    height: 300px;
  }

  #japanese-engineering-page .jp-engineering-hero__image{
    object-position: 45% center;
  }

  #japanese-engineering-page .jp-engineering-hero__inner{
    top: 24px;
    left: 0;
    width: 100%;
    max-width: none;
    padding: 0 16px;
    transform: none;
  }

  #japanese-engineering-page .jp-engineering-hero__title{
    max-width: 340px;
    padding: 10px 14px;
    font-size: clamp(34px, 10vw, 48px);
  }

  #japanese-engineering-page .jp-engineering-intro,
  #japanese-engineering-page .jp-engineering-process{
    padding: 58px 16px 68px;
  }

  #japanese-engineering-page .jp-engineering-row,
  #japanese-engineering-page .jp-engineering-row--reverse{
    grid-template-columns: 1fr;
    gap: 28px;
    align-items: start;
  }

  #japanese-engineering-page .jp-engineering-row + .jp-engineering-row{
    margin-top: 64px;
  }

  #japanese-engineering-page
  .jp-engineering-row--reverse
  .jp-engineering-row__image{
    order: 2;
  }

  #japanese-engineering-page
  .jp-engineering-row--reverse
  .jp-engineering-row__text{
    order: 1;
  }

  #japanese-engineering-page .jp-engineering-title{
    margin-bottom: 18px;
    font-size: clamp(32px, 9vw, 43px);
  }

  #japanese-engineering-page .jp-engineering-row__text{
    max-width: none;
  }

  #japanese-engineering-page .jp-engineering-row__text p{
    font-size: 13px;
    line-height: 1.7;
  }

  #japanese-engineering-page .jp-engineering-parallax{
    min-height: 238px;
    background-attachment: scroll;
  }

  #japanese-engineering-page .jp-engineering-workshop img{
    height: 360px;
    object-position: 58% center;
  }
}


/* ==================================================
   Individual Pages - Font Size Normalization
   Font sizes only
================================================== */

/* Page titles / Hero H1 */
.page-products-hero__title,
#about-us-page .about-hero .page-hero__title,
#custom-design-page .custom-design-hero .page-hero__title,
#quality-assurance-page .qa-regulatory__title,
#privacy-policy-page .privacy-policy__title,
#news-index-page .news-archive__title,
#news-detail-page .news-entry__label,
.capability-detail__hero-title,
#japanese-engineering-page .jp-engineering-hero__title{
  font-size: clamp(44px, 4vw, 68px);
}

/* Main section H2 */
.page-products-grid__heading,
#about-us-page .about-heading,
#custom-design-page .custom-design-section-title,
#custom-design-page .custom-design-gallery__title,
#quality-assurance-page .qa-quality__title,
#quality-assurance-page .qa-inspection__title,
#privacy-policy-page .privacy-policy__heading,
#privacy-policy-page .privacy-policy__contact-title,
.capability-detail__title,
#japanese-engineering-page .jp-engineering-title{
  font-size: clamp(38px, 3.55vw, 60px);
}

/* Supporting H3 */
.page-products-grid__process-title,
#about-us-page .about-location__name,
#custom-design-page .custom-design-feature__lead h3,
#quality-assurance-page .qa-cert-card__title{
  font-size: 20px;
}

/* Body and lead text */
.page-products-hero__lead p,
.page-products-grid__process-text,
#about-us-page .about-intro__text p,
#about-us-page .about-quality__lead p,
#about-us-page .about-patent__lead p,
#about-us-page .about-quality__item p,
#about-us-page .about-location__info p,
#custom-design-page .custom-design-gallery__lead p,
#custom-design-page .custom-design-feature__lead p,
#custom-design-page .custom-design-process__lead p,
#custom-design-page .custom-design-oem__lead p,
#custom-design-page .custom-design-sterilization__lead p,
#custom-design-page .custom-design-laser__lead p,
#quality-assurance-page .qa-regulatory__lead p,
#quality-assurance-page .qa-quality__lead p,
#domestic-page .domestic-section__text p,
#domestic-page .domestic-feature__text p,
#products-page .product__text p,
#products-page .detail__content p,
#privacy-policy-page .privacy-policy__intro,
#privacy-policy-page .privacy-policy__section p,
#privacy-policy-page .privacy-policy__list li,
#privacy-policy-page .privacy-policy__address p,
#news-index-page .news-card__excerpt,
#news-detail-page .news-entry__body p,
#news-detail-page .news-entry__information-item dt,
#news-detail-page .news-entry__information-item dd,
.capability-detail__text p,
#japanese-engineering-page .jp-engineering-row__text p {
  font-size: 18px;
  font-weight: normal;
}

@media (max-width: 768px){
  /* Page titles / Hero H1 */
  .page-products-hero__title,
  #about-us-page .about-hero .page-hero__title,
  #custom-design-page .custom-design-hero .page-hero__title,
  #quality-assurance-page .qa-regulatory__title,
  #privacy-policy-page .privacy-policy__title,
  #news-index-page .news-archive__title,
  #news-detail-page .news-entry__label,
  .capability-detail__hero-title,
  #japanese-engineering-page .jp-engineering-hero__title{
    font-size: clamp(36px, 11vw, 52px);
  }

  /* Main section H2 */
  .page-products-grid__heading,
  #about-us-page .about-heading,
  #custom-design-page .custom-design-section-title,
  #custom-design-page .custom-design-gallery__title,
  #quality-assurance-page .qa-quality__title,
  #quality-assurance-page .qa-inspection__title,
  #privacy-policy-page .privacy-policy__heading,
  #privacy-policy-page .privacy-policy__contact-title,
  .capability-detail__title,
  #japanese-engineering-page .jp-engineering-title{
    font-size: clamp(34px, 9vw, 46px);
  }

  /* Supporting H3 */
  .page-products-grid__process-title,
  #about-us-page .about-location__name,
  #custom-design-page .custom-design-feature__lead h3,
  #quality-assurance-page .qa-cert-card__title{
    font-size: 17px;
  }

  /* Body and lead text */
  .page-products-hero__lead p,
  .page-products-grid__process-text,
  #about-us-page .about-intro__text p,
  #about-us-page .about-quality__lead p,
  #about-us-page .about-patent__lead p,
  #about-us-page .about-quality__item p,
  #about-us-page .about-location__info p,
  #custom-design-page .custom-design-gallery__lead p,
  #custom-design-page .custom-design-feature__lead p,
  #custom-design-page .custom-design-process__lead p,
  #custom-design-page .custom-design-oem__lead p,
  #custom-design-page .custom-design-sterilization__lead p,
  #custom-design-page .custom-design-laser__lead p,
  #quality-assurance-page .qa-regulatory__lead p,
  #quality-assurance-page .qa-quality__lead p,
  #domestic-page .domestic-section__text p,
  #domestic-page .domestic-feature__text p,
  #products-page .product__text p,
  #products-page .detail__content p,
  #privacy-policy-page .privacy-policy__intro,
  #privacy-policy-page .privacy-policy__section p,
  #privacy-policy-page .privacy-policy__list li,
  #privacy-policy-page .privacy-policy__address p,
  #news-index-page .news-card__excerpt,
  #news-detail-page .news-entry__body p,
  #news-detail-page .news-entry__information-item dt,
  #news-detail-page .news-entry__information-item dd,
  .capability-detail__text p,
  #japanese-engineering-page .jp-engineering-row__text p{
    font-size: 13px;
  }
}





/*Custom CSS*/
/* ==================================================
   Quality Assurance Page Update
   Updated: 2026-07-13
   Changes:
   - Center the three certificate cards
   - Adjust styles for button elements
   - Center the download password notice
================================================== */

/* Center the three certificate cards on desktop */
@media (min-width: 1024px) {
  #quality-assurance-page .qa-regulatory__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    justify-content: center;
    width: 100%;
    max-width: 960px;
    margin-right: auto;
    margin-left: auto;
  }
}

/* Reset default button styles while preserving the existing design */
#quality-assurance-page button.qa-cert-card__button {
  margin: 0;
  border: 0;
  box-sizing: border-box;
  font-family: inherit;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
}

/* Center the download password notice */
#quality-assurance-page .qa-regulatory__download-note {
  width: 100%;
  margin: 40px 0 0;
  text-align: center;
}

/* ==================================================
   About Us - Quality & Regulatory Layout Update
   Updated: 2026-07-13
   Change: Center the three regulatory icons
================================================== */

@media (min-width: 1024px) {
  #about-us-page .about-quality__icons {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    justify-content: center;
    justify-items: center;
    width: 100%;
    max-width: 960px;
    margin-right: auto;
    margin-left: auto;
  }
}

@media (max-width: 767px) {
  #about-us-page .about-quality__icons {
    display: grid;
    grid-template-columns: 1fr;
    justify-items: center;
    width: 100%;
    max-width: none;
    margin-right: auto;
    margin-left: auto;
    row-gap: 32px;
  }

  #about-us-page .about-quality__icons img {
    width: 120px;
    height: 120px;
    object-fit: contain;
  }
}


/* ==================================================
   Product Detail Column Style
================================================== */
/* Two Column*/
#products-page .detail__content.detail__content--split{
  display: flex !important;
  align-items: flex-start;
  width: 100%;
}

#products-page .detail__content--split .detail__content-text{
  flex: 0 0 40%;
  width: 40%;
  min-width: 0;
}

#products-page .detail__content--split .detail__content-image{
  flex: 0 0 50%;
  width: 50%;
  min-width: 0;
  margin-left: 10%;
}

#products-page .detail__content--split .detail__content-image img{
  display: block;
  width: 100%;
  height: auto;
}

@media (max-width: 767px){

  #products-page .detail__content.detail__content--split{
    display: block !important;
  }

  #products-page .detail__content--split .detail__content-text{
    width: 100%;
  }

  #products-page .detail__content--split .detail__content-image{
    width: 100%;
    margin-top: 24px;
    margin-left: 0;
  }
}






