/* ==============================================
   石材情報ページ
============================================== */

#search-box h4,
#sort-box h4 { margin:0;
}

/* 上部のコンテンツエリア */
#stone-infomation-top-contents {
   text-align: left;
}


/* チェックボックス＆ラジオボタン */
#main-contents-area-stone-infomation input[type=radio],
#main-contents-area-stone-infomation input[type=checkbox] {
  display: none;
}

#main-contents-area-stone-infomation .radio,
#main-contents-area-stone-infomation .checkbox {
  position: relative;
  display: inline-block;
  margin: 0 20px 10px 20px;
  padding: 5px 12px 5px 40px;
  width: 160px;
  background-color: #fff;
  border-radius: 8px;
  box-shadow: 0px 0px 5px 0px #C6C6C6;
  transition: background-color 0.2s linear;
  vertical-align: middle;
  cursor: pointer;
  box-sizing: border-box;
}

#main-contents-area-stone-infomation .checkbox:hover {
  background-color: #e2edd7;
}

#main-contents-area-stone-infomation .checkbox:after {
  position: absolute;
  top: 50%;
  left: 15px;
  width: 16px;
  height: 16px;
  margin-top: -10px;
  border: 2px solid #bbb;
  border-radius: 6px;
  content: '';
  transition: border-color 0.2s linear;
}

#main-contents-area-stone-infomation .checkbox:hover:after {
  border-color: #53b300;
}

#main-contents-area-stone-infomation .checkbox:before {
  position: absolute;
  top: 50%;
  left: 21px;
  width: 5px;
  height: 9px;
  margin-top: -7px;
  border-right: 3px solid #53b300;
  border-bottom: 3px solid #53b300;
  content: '';
  opacity: 0;
  transform: rotate(45deg);
  transition: opacity 0.2s linear;
}

#main-contents-area-stone-infomation input[type=checkbox]:checked + .checkbox:before {
  opacity: 1;
}

/* ラジオボタン */
#main-contents-area-stone-infomation .radio:before {
  position: absolute;
  top: 50%;
  left: 20px;
  width: 10px;
  height: 10px;
  margin-top: -5px;
  border-radius: 50%;
  background-color: #53b300;
  content: '';
  opacity: 0;
  transition: opacity 0.2s linear;
}

#main-contents-area-stone-infomation input[type=radio]:checked + .radio:before {
  opacity: 1;
}

/* 検索・並び替えボックス */
#main-contents-area-stone-infomation #search-box,
#main-contents-area-stone-infomation #sort-box {
  text-align: center;
  margin-bottom: 20px;
  width: 100%;
  border: 2px solid #ccc;
  border-radius: 8px;
  background-color: rgba(0, 0, 255, 0.05);
  padding: 10px 0;
}

#main-contents-area-stone-infomation #search-box h4,
#main-contents-area-stone-infomation #sort-box h4 {
  font-size: 20px;
  margin-bottom: 10px;
}

#main-contents-area-stone-infomation #sort-box p {
  display: inline-block;
  margin: 0 30px 15px 30px;
  width: 200px;
}

#main-contents-area-stone-infomation #sort-box a {
  display: block;
  width: 200px;
  font-size: 15px;
  padding: 5px;
  text-align: center;
  border-radius: 8px;
  background-color: #fff;
  box-shadow: 0px 0px 5px 0px #C6C6C6;
  transition: background-color 0.2s linear;
  color: #5B5B5B;
  text-decoration: none;
}

#main-contents-area-stone-infomation #sort-box a:hover {
  background-color: #e2edd7;
  color: #5B5B5B;
}

/* 石材一覧 */
#main-contents-area-stone-infomation #stone-box {
  text-align: center;
  padding: 20px 0;
}

#main-contents-area-stone-infomation #count-box {
  text-align: left;
  font-size: 20px;
  margin: -10px 0 10px 0;
}

#main-contents-area-stone-infomation .content-box {
  display: inline-block;
  width: 180px;
  height: 370px;
  margin: 5px 4px;
  text-align: center;
  overflow: hidden;
  vertical-align: top;
}

#main-contents-area-stone-infomation h2 a {
  font-size: 18px;
  color: #5B5B5B;
  text-decoration: none;
}

#main-contents-area-stone-infomation h2 a:hover {
  color: #CC0033;
}

#main-contents-area-stone-infomation .thumbnail-box img {
  width: 180px;
  height: 180px;
  border-radius: 9px;
}

#main-contents-area-stone-infomation .thumbnail-box img:hover {
    opacity: 0.7; 
    filter: alpha(opacity=70); 
    -ms-filter: "alpha( opacity=70 )"; 
}                                             