﻿.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_item {
    width: calc(100%/5 - 16px);
    position: relative;
    overflow: hidden;
    margin: 0 20px 40px 0;
    text-decoration: none;
    padding: 10px;
	border: 1px solid #e5e5e5;
    /*box-shadow: 0px 0px 5px 0px #e5e5e5;*/
}

.pro_item:nth-child(5n){
    margin-right:0;
}

.pro_ttl {
    font-size: 26px;
    text-transform: uppercase;
    line-height: 1.5em;
  font-family: 'Oswald', sans-serif;
  font-weight: 300;
}
.pro_link a {
    text-decoration: none;
    color: #fff;
    display: inline-block;
    font-size: 20px;
  font-family: 'Oswald', sans-serif;
  font-weight: 200;
  transition: all 0.3s;
}
.pro_link a:hover {
  color: #333;
}
.pro_link li {
  position: relative;
  padding-left: 35px;
  margin-top: 10px;
}
.pro_link li:before {
  content: '';
  position: absolute;
  background: url("../W_images/idx_icon01.png") no-repeat center center/100% auto;
  left: 0;
  top: 5px;
  width: 24px;
  height: 10px;
}

.pro_itm_img {
  display: block;
      overflow: hidden;
  position: relative;
  
 
}
.pro_itm_img img {
  width: 100%;
  transition: all 0.7s;
}
.pro_item:hover .pro_itm_img img {
  transform: scale(1.1,1.1);
}
.pro_itm_main {
   
}
.pro_item:after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: rgb(0 0 0 / 10%);
    left: 0;
    top: 0;
    transform: scale(0.5,0.5);
    opacity: 0;
    transition: all 0.5s ease;
}
.pro_item:hover:after {
  transform: scale(1,1);opacity: 1;
}
/*.pro_item .pro_itm_img:after {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  z-index: 1;
  background: #000;
  opacity: 0.5;
  top: calc(100% - 60px);
  left: 0;
  transition: all 0.3s;
}
.pro_item:hover .pro_itm_img:after {
  top: 0;
}*/
.pro_item:hover .pro_itm_link{
    opacity:1;
}
.pro_itm_ttl{
    display: block;
    text-decoration: none;
    /*white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;*/
 
    line-height: 1.8em;
  font-family: 'Oswald', sans-serif;
  text-transform: uppercase;
  text-align: center;
  transition: all 0.3s;margin-bottom: 0;
}
.pro_item:hover .pro_itm_ttl{
  color: #f79930;
}
.pro_itm_star {
  margin: 0;
  text-align: center;
}
.pro_itm_link{position: absolute;top: 0;left: 0;
    width: 100%;height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
  opacity: 0;
  transition: all 0.3s;
}
.pro_itm_link  li {
    width: 35px;
    height: 35px;
    display: flex;
    background: #f79930;
    border-radius: 8px;
    justify-content: center;
    align-items: center;
  transition: all 0.3s;
}
.pro_itm_link img {
  flex-shrink: 0;
}
.pro_item:hover .pro_itm_link li{opacity:1;}
.pro_itm_link li:not(:last-child) {
  margin-right: 10px;
}
.pro_itm_link a:hover {
  background: #f34431;
}
.pro_list:not(:last-child) {
  margin-bottom: 70px;
}

.pro_itm_txt {
    margin:0;
    color: #fff;
    font-size:14px;
}

.hover {
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    transition: all 0.3s;
}

.pro_layout {
    padding: 40px 0;
}
.sidebar {
    width: 24%;
}
.sidebar-ttl {
    font-size: 17px;
    font-weight: 500;
    color: #ffffff;
    text-transform: uppercase;
    line-height: 2em;
    margin:20px 0 0 0 ;
    background: #0976bd;
    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-item a {
        color: #000;
        text-decoration: none;
        font-size: 15px;
    }
        .sidebar-mod-item a:hover {
            color: #005aab;
        }
.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(50% - 40px);
        margin: 0 30px 10px 10px;
    }
 .sidebar-ttl {
     font-size: 11px;
 }
 .sidebar {
     width: 20%;
 }
 .sidebar-mod-item a {
     font-size: 12px;
 }
 .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{justify-content:space-between; width:auto;}
.pro_item {
    width: 49%;
    margin: 0 0 30px;
}
.pro_itm_ttl{
    height: 48px;
    overflow: hidden;
}
.pro_itm_txt {
    font-size:12px;
}
.sidebar {
    display:none;
}
}