#vi_lower {
  background-image: url(/cms/wp-content/themes/sdat_renew/img/cmn/vi_dummy.webp);
}
@media screen and (max-width: 767px) {
  #vi_lower {
    background-position: left center;
  }
}

.cnav li {
  min-width: 5em;
}
@media screen and (max-width: 767px) {
  .cnav {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }
  .cnav li {
    width: auto !important;
  }
  .cnav li:first-child {
    grid-column: 1/3;
  }
  .cnav li a {
    height: 100%;
  }
}

/* index.html
------------------------------------------*/
#contents .product_list {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  align-items: stretch;
  margin-bottom: 10rem;
}
@media screen and (max-width: 1024px) {
  #contents .product_list {
    grid-template-columns: repeat(3, 1fr);
  }
}
#contents .product_list > * {
  position: relative;
  display: grid;
  grid-template-rows: subgrid;
  grid-row: span 4;
  gap: 0;
}
#contents .product_list > * h2 {
  background: #f6f6f6;
  border-right: 1px solid #CCC;
}
#contents .product_list > * h2 a {
  display: flex;
  color: #001650;
  font-size: clamp(1.4rem, 1.4vw, 1.8rem);
  line-height: 1.4;
  font-weight: 700;
  justify-content: center;
  align-items: center;
  text-decoration: none !important;
  transition: 0.3s;
  padding: 2rem 5px;
  height: 100%;
}
#contents .product_list > * h2 a::before {
  content: "";
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 5px 0 5px 5px;
  border-color: transparent transparent transparent #001650;
  display: inline-block;
  margin-right: 10px;
  vertical-align: middle;
  position: relative;
  top: 2px;
}
#contents .product_list > * h2 a:hover {
  opacity: 0.8;
}
#contents .product_list > *:last-child h2 {
  border-right: none;
}
#contents .product_list > * .image {
  border-left: 1px solid #FFF;
}
#contents .product_list > * .image img {
  width: 100%;
}
#contents .product_list > * p {
  margin: 20px 10px;
}
#contents .product_list > * ul {
  margin: 30px 30px 0 30px;
  border-left: solid 1px #d2d5df;
  padding-left: 15px;
}
#contents .product_list > * ul li {
  margin-bottom: 10px;
  font-size: 1.6rem;
  font-weight: 500;
}
#contents .product_list > * ul li a {
  display: inline-block;
  padding-left: 20px;
  position: relative;
}
#contents .product_list > * ul li a::before {
  content: "";
  width: 10px;
  height: 3px;
  background: #50a6d8;
  position: absolute;
  left: 0;
  top: 12px;
}
#contents .product_list > * .btn {
  margin-left: 10px;
  padding-left: 15px;
  background: #0c1f55;
  text-align: right;
}
#contents .product_list > * .btn a {
  display: inline-block;
  display: block;
  font-size: 1.8rem;
  color: #fff;
  padding: 10px 5px;
  position: relative;
  text-align: center;
  background: #1f4584;
  text-decoration: none !important;
}
#contents .product_list > * .btn a:hover {
  opacity: 0.8;
}
#contents .product_list > * .btn a::before {
  content: "";
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 5.5px 0 5.5px 5px;
  border-color: transparent transparent transparent #fff;
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
}
@media screen and (max-width: 767px) {
  #contents .product_list {
    display: block;
  }
  #contents .product_list > * {
    width: auto;
    padding-bottom: 80px;
    position: relative;
    margin-bottom: 55px !important;
  }
  #contents .product_list > * h2 a {
    height: 7rem;
    color: #001650;
    border-left: none;
  }
  #contents .product_list > * h2 a::before {
    content: "";
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 5px 0 5px 5px;
    border-color: transparent transparent transparent #001650;
    display: inline-block;
    margin-right: 10px;
    vertical-align: middle;
    position: relative;
    top: 2px;
  }
  #contents .product_list > * h2 a:hover {
    opacity: 0.8;
  }
  #contents .product_list > * .image {
    border-left: none;
  }
  #contents .product_list > * .image img {
    width: 100%;
  }
  #contents .product_list > * ul {
    margin: 30px 5px 0 30px;
    border-left: solid 1px #d2d5df;
    padding-left: 15px;
  }
  #contents .product_list > * ul li {
    margin-bottom: 10px;
    font-size: 1.6rem;
    font-weight: 500;
  }
  #contents .product_list > * ul li a {
    display: inline-block;
    padding-left: 20px;
    position: relative;
  }
  #contents .product_list > * ul li a::before {
    content: "";
    width: 10px;
    height: 3px;
    background: #50a6d8;
    position: absolute;
    left: 0;
    top: 12px;
  }
  #contents .product_list > * .btn {
    position: absolute;
    left: 20px;
    bottom: 0;
    width: calc(100% - 40px);
    background: #0c1f55;
    text-align: right;
  }
  #contents .product_list > * .btn a {
    display: inline-block;
    font-size: 1.6rem;
    color: #fff;
    padding: 10px 30px;
    position: relative;
    text-align: center;
    background: #1f4584;
    text-decoration: none !important;
  }
  #contents .product_list > * .btn a:hover {
    opacity: 0.8;
  }
  #contents .product_list > * .btn a::before {
    content: "";
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 5.5px 0 5.5px 5px;
    border-color: transparent transparent transparent #fff;
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
  }
}
#contents .evaporatorinq {
  border: 3px solid #1f4584;
  padding: 2rem;
}
#contents .evaporatorinq p {
  text-align: center;
  font-size: 1.8rem;
}
@media screen and (max-width: 767px) {
  #contents .evaporatorinq p {
    text-align: left;
  }
}

/* ourproducts.html
------------------------------------------*/
#contents .ourproducts_list {
  display: grid;
  grid-template-columns: max-content max-content;
  grid-template-areas: "lead lead" "list condition";
  gap: 1rem 4rem;
}
#contents .ourproducts_list .lead {
  grid-area: lead;
  margin-bottom: 2rem;
}
#contents .ourproducts_list .lead .pc-inline {
  display: inline;
}
#contents .ourproducts_list .lead .sp-inline {
  display: none;
}
#contents .product {
  grid-area: list;
  width: fit-content;
  display: grid;
  grid-template-columns: 10em 10em 3em;
  align-self: self-start;
}
#contents .product li {
  margin-bottom: 1rem;
  display: grid;
  grid-template-columns: subgrid;
  grid-column: span 3;
  gap: 1rem 1rem;
}
#contents .product li a {
  display: inherit;
  grid-template-columns: inherit;
  grid-column: inherit;
  padding: 1rem 1.5rem 1rem 1.5rem;
  background: #eeeeee;
  text-decoration: none;
}
#contents .product li a::after {
  content: "";
  display: block;
  width: 2rem;
  aspect-ratio: 1/1.2;
  mask: url(/cms/wp-content/themes/sdat_renew/img/cmn/link_dl.png) no-repeat center/contain;
  background: #0c1f55;
}
#contents .condition {
  grid-area: condition;
  border: 2px solid #1f4584;
  padding: 0 0 2rem;
  margin-bottom: 0;
  align-self: self-start;
}
#contents .condition h3 {
  background: #1f4584;
  color: #FFF;
  padding: 1rem 2rem;
}
#contents .condition dl {
  margin: 2rem 2rem 0 2rem;
  display: grid;
  grid-template-columns: max-content 1fr;
  gap: 0.5rem 0;
}
#contents .data {
  grid-area: data;
}
#contents .data .pop {
  border: 1px solid #CCC;
  display: block;
  position: relative;
}
#contents .data .pop:after {
  background: url("/cms/wp-content/themes/sdat_renew/img/cmn/zoom.webp") 0 0/contain;
  content: "";
  position: absolute;
  bottom: -12px;
  right: -12px;
  width: 64px;
  height: 64px;
}
@media screen and (max-width: 1024px) {
  #contents .ourproducts_list {
    gap: 2rem;
  }
  #contents .ourproducts_list .lead .pc-inline {
    display: none;
  }
  #contents .ourproducts_list .lead .sp-inline {
    display: inline;
  }
  #contents .ourproducts_list .condition {
    width: fit-content;
  }
}
@media screen and (max-width: 767px) {
  #contents .ourproducts_list {
    display: block;
  }
  #contents .product {
    display: grid;
    width: 100%;
    grid-template-columns: 10em 11em 5.5rem;
    align-self: self-start;
  }
  #contents .product li {
    gap: 1rem 1rem;
  }
  #contents .product li a {
    width: 100%;
    display: inherit;
    grid-template-columns: inherit;
    grid-column: inherit;
    padding: 1rem 1rem 1rem 1rem;
  }
  #contents .product li a::after {
    content: "";
    display: block;
    width: 2rem;
    aspect-ratio: 1;
    mask: url(/cms/wp-content/themes/sdat_renew/img/cmn/link_dl.png) no-repeat center/contain;
    background: #0c1f55;
  }
}

/* about.html
------------------------------------------*/
#contents .aboutPhotoList {
  display: flex;
  justify-content: center;
  grid-gap: 4rem;
  margin: 5rem 0 0 0;
}
@media screen and (max-width: 767px) {
  #contents .aboutPhotoList {
    grid-gap: 2rem;
  }
}

/* inspection.html
------------------------------------------*/
#contents .inspectionPhotoList {
  display: flex;
  justify-content: center;
  grid-gap: 4rem;
  margin: 5rem 0 0 0;
}
@media screen and (max-width: 767px) {
  #contents .inspectionPhotoList {
    display: block;
    grid-gap: 2rem;
  }
  #contents .inspectionPhotoList li {
    margin-bottom: 2rem;
  }
}

/* emergency.html
------------------------------------------*/
#contents .emgcTable h3 {
  color: #FFF;
  display: inline-block;
  background: #001650;
  padding: 5px 10px;
  margin-bottom: 1rem;
}