﻿/*****************************************************************

	商品分類用横スクロールリストスタイル定義.

*****************************************************************/

.gnav
{
  overflow-x: auto;
  display: flex;
  -webkit-overflow-scrolling: touch;
}

/*----------------------------------------------------------------
  スクロールバースタイル ※Chrome, Safariのみ.
 ---------------------------------------------------------------*/

/*横スクロールバーの非表示をやめる*/
/*
.gnav::-webkit-scrollbar {
  display: none;
}
*/

/* スクロールの幅の設定 */
.gnav::-webkit-scrollbar {
    height: 12px;
}
/* スクロールの背景の設定 */
.gnav::-webkit-scrollbar-track {
  border-radius: 10px;
  box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.1);
}
/* スクロールのつまみ部分の設定 */
.gnav::-webkit-scrollbar-thumb {
  background-color: rgba(224, 224, 224, 1);
  /*background-color: rgba(181, 218, 255, 1);*/
  border-radius: 10px;
  box-shadow:0 0 0 1px rgba(255, 255, 255, 0.3);
}

/*----------------------------------------------------------------
  分類要素スタイル
 ---------------------------------------------------------------*/

.gnav .item {
  background: #f6f6f6;
  border-bottom: 2px solid #f6f6f6;
  /*add 折り返し無し */
  text-overflow: ellipsis;
  white-space: nowrap;
}
.gnav .item:hover {
  border-bottom: 2px solid #ccc;
}

.gnav *:focus {
  outline: none !important;
  box-shadow:none !important;
}

.gnav .item a {
  display: block;
  padding: 10px 20px;
  text-decoration: none;
  color: #848484;
  
  /*add 右側境界線*/
  border-right: solid 1px #ccc;
}

/*選択状態*/
.gnav .selected {
  background: #ffff9e;
  border-bottom: 2px solid #ffa500;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/*----------------------------------------------------------------
  フレームスタイル
 ---------------------------------------------------------------*/

.block {
  margin: 30px 0;
}
.block .title {
  margin-bottom: 0;
  padding: 0 15px;
}
.block .description {
  margin: 0;
  padding: 0 15px;
}
.block .gnav {
  margin: 15px 0;
  padding: 0;
}
.block .item {
  list-style: none;
}
.block .code {
  padding: 0 15px;
  text-align: center;
}
.block .code a {
  margin-left: auto;
  width: 130px;
  font-size: 15px;
  display: block;
  text-decoration: none;
  line-height: 28px;
  position: relative;
  background-color: #fff;
  border: 1px solid #ccc;
  color: #000;
  -webkit-transition: all 0.2s linear;
  -webkit-transform-origin: 50% 50%;
  -moz-transition: all 0.2s linear;
  -moz-transform-origin: 50% 50%;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.3), 0 0 40px rgba(128, 128, 128, 0.1) inset;
}
.block .code a::after {
  content: "";
  position: absolute;
  -webkit-transition: all 0.2s linear;
  -webkit-transform-origin: 50% 50%;
  -moz-transition: all 0.2s linear;
  bottom: 12px;
  width: 50%;
  height: 55%;
  box-shadow: 1px 8px 12px rgba(31, 31, 31, 0.6);
  left: 45%;
  z-index: -2;
}
.block .code a:hover {
  border-radius: 0 0 40% 0 / 0 0 30% 0;
}
.block .code a:hover::after {
  box-shadow: 1px 8px 12px rgba(31, 31, 31, 0.8);
  transform: skew(8deg) rotate(3deg);
}
/*[EOF]*/