﻿.under-h2 {
    font-size: 36px;
    color: #005aab;
    text-transform: uppercase;
    line-height: 1.5em;
    margin-bottom: 20px;
}
.pro_list{
    display:flex;
    flex-wrap:wrap;
}

.pro_layout {
    padding: 20px 0;
    display:flex;
}

.pro_item{
    position:relative;
    width: calc(25% - 20px);    
    margin: 0 26px 15px 0;
}
.pro_item:nth-child(4n){
    margin-right:0;
}

.pro_item a {
  display: block;
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  z-index: 2;
}
.pro_item:hover {
  opacity: 0.6;
}
.pro_itm_img {
  background: #575757;
  text-align: center;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 10px;
  margin: 0;
  height: 250px;
  padding: 10px;
}
.pro_itm_img .sku {
  position: absolute;
  background: #fbca4c;
  font-size: 13px;
  color: #1a95ab;
  line-height: 1.5em;
  padding: 3px 10px;
  border-radius: 30px;
  top: 15px;
  left: 15px;
  min-width: 60px;
}
.pro_itm_img img {
  flex-shrink: 0;
  max-height: 100%;
}
.pro_itm_ttl {
  text-align: center;
  line-height: 1.5em;
  font-weight: 500;
  color: #666666;
  margin-top: 23px;
}

.sidebar {
    width: 20%;
    display:none;
}
.pull_right{ width: 100%;}
.sidebar-ttl {
    font-size: 17px;
    font-weight: 500;
    color: #ffffff;
    text-transform: uppercase;
    line-height: 2em;
    margin:0 ;
    background: #60980c;
    padding: 5px 10px;
}
.sidebar-mod {
    position: relative;
    margin-bottom: 40px;
    padding: 0 10px;
    border: 1px solid #ccc;
}
.sidebar-mod-item {
    position: relative;
    padding: 10px 0;
    border-bottom: 1px solid #e6e6e6;
}
    .sidebar-mod a {
        color: #000;
        text-decoration: none;
        font-size: 15px;
        transition: all 0.3s;
    }
        .sidebar-mod a:hover {
            color: #60980c;
        }
.under .sidenews-item {width: 100%;margin: 20px 0 20px;}
.under .sidenews-item:last-child{margin-bottom: 10px;}
.under .sidenews-item a {display: flex;color: #4d4d4d;text-decoration: none;}
.under .sidenews-img {width: auto;height: auto;flex-shrink: 0;margin: 0 15px 0 0;border-radius: 5px;overflow: hidden;}
.under .sidenews-item a:hover .sidenews-img img {transform: scale(1.1, 1.1);opacity: 0.8;}
.sidenews-itm_main {overflow: hidden;}
.under .sidenews-img img {flex-shrink: 0;transition: all 0.7s ease;max-width: none;width: 100px;height: 100px;object-fit: cover;}
.under .sidenews-itm_ttl {white-space: nowrap;text-overflow: ellipsis;overflow: hidden;font-size: 15px;font-weight: bold;margin: 0 0 5px;line-height: 22px;}
.under .sidenews-itm_txt {font-size: 13px;margin: 0 0 5px;display: -webkit-box;-webkit-line-clamp: 3;-webkit-box-orient: vertical;overflow: hidden;}
@media screen and (max-width: 768px) {
.pro_item {
    width: calc(100%/3 - 27px);
    margin: 0 40px 50px 0;
    min-height:265px;
}
 .pro_item:nth-child(3n) {
    margin: 0;
}
  .pro_item:nth-child(4n) {
    margin-right: 40px;
}
 .sidebar-ttl {
     font-size: 11px;
 }
 .sidebar {
     display:none;
 }
 .sidebar-mod-item a {
     font-size: 12px;
 }
 .pull_right {
     width:100%;
 }
 .pro_layout {
     padding:0;
 }
 .pro_itm_img {
     height:200px;
 }

 .pro_itm_ttl {
     font-size:16px;
     min-width:initial;
 }

 .pro_itm_main {
     min-height:70px;
 }
 .pro_itm_price {
     font-size:13px;
 }
 .under .sidenews-img {
     margin:0;
 }
 .under .sidenews-img img  {
     display:none;
 }
 .under .sidenews-itm_ttl {
     font-size:12px;
 }
 .under .sidenews-itm_txt {
     font-size:12px;
 }
}
@media screen and (max-width: 480px) {
.pro_list{ width:auto;margin-bottom:20px;}
.pro_item {
    width: calc(50% - 20px);
    margin: 0 40px 30px 0;
}

.pro_item:nth-child(3n){
        margin-right: 40px;
}
.pro_item:nth-child(2n){
        margin-right: 0;
}


.pro_itm_img {
    padding:30px;
}
.pro_itm_ttl{
    overflow: hidden;
    font-size:14px;
    left:auto;
}
.pro_itm_main {
    min-height:initial;
}
.pro_itm_txt {
    font-size:12px;
}
.sidebar {
    display:none;
}
.pull_right {
    padding:0;
}
.pro_itm_img {
    height:auto;
}
}