﻿@charset "utf-8";

/*!
 * TEMP： プラグイン用CSS
 * ECCUBE：v3.14
 * CSS Information： plugin style
 * Copyright shiro8 all rights reserved.
 */

/* -------------------------------------------------------
 カテゴリ Mega Menuプラグイン / headerの一番下に配置
--------------------------------------------------------- */

/* 階層ごとの実装class

** 子カテゴリ  …ul.child-1
** 孫カテゴリ  …ul.child-2
** ひ孫カテゴリ…ul.child-3
*/
/******** common ********/
#category_block {
  position:relative;
  clear:both;
}
#category_block .mega-menu{
  width:100%;
  display:block;
  clear:both;
  padding:0;
  margin-bottom:15px;
  margin-bottom:0;
  position:relative;
  z-index:10;
}
.category-menu a {
  color:#333;
  font-size:100%;
  position:relative;
  text-decoration:none;
}
.category-menu a:hover {
  color:#000;
  background:#eee;
}
/*今いるカテゴリ*/
.category-menu .now,.category-menu a.now{
  color:#56b3a3;
  font-weight: bold !important;
}
/* clearfix */
#category_block:before,
#category_block:after {
  content: " ";
  display: table;
}
#category_block:after {
  clear: both;
}
#category_block {
  *zoom: 1;
}
.mega-menu > ul:before,
.mega-menu > ul:after {
  content: "";
  display: table;
}
.mega-menu > ul:after {
  clear: both;
}
.mega-menu > ul > li > ul:before,
.mega-menu > ul > li > ul:after {
  content: "";
  display: table;
}
.mega-menu > ul > li > ul:after {
  clear: both;
}
.mega-menu > ul > li > ul > li > ul:before,
.mega-menu > ul > li > ul > li > ul:after {
  content: "";
  display: table;
}
/********* in header ***********/
#header #category_block{
  padding-top:0px;
}
#header #category_block .mega-menu{
  padding: 10px 0;
  border-bottom:1px solid #ddd;
}
#header .category-menu {
  text-align:center;
  padding:2px;
  z-index:10;
  margin:0 auto;
}
/* drawer用 */
#header #category_block h2 {
  display: none;
}
#header .menu-dropdown-icon:before {
  display: none;
}
#header .mega-menu > ul {
  margin: 0 auto;
  width: 100%;
  list-style: none;
  padding: 0;
  position: relative;
  /* IF .mega-menu position=relative -> ul = container width, ELSE ul = 100% width */
  box-sizing: border-box;
}
#header #category_block .mega-menu > ul > li {
  background: #fff;
  padding: 0;
  margin: 0;
  display:inline-block;
}
#header #category_block .mega-menu > ul > li a {
  text-decoration: none;
  padding: 10px 15px;
  display: block;
  font-weight:bold;
}
#header #category_block .mega-menu > ul > li > ul {
  display: none;
  width: 100%;
  max-width: 1400px;
  background: #fcfcfc;
  position: absolute;
  z-index: 999;
  left: 0;
  right: 0;
  margin: auto;
  padding: 15px 15px 30px;
  list-style: none;
  box-sizing: border-box;
  border:#ddd solid 1px;
  transition: all 0.4s linear;
  box-shadow:0 0 7px #ededed;
}
#header #category_block .mega-menu > ul > li > ul  > li {
  width: 25%;
  margin: 0;
  padding-bottom: 0;
  list-style: none;
  background: none;
  float: left;
  text-align:left;
}
#header #category_block .mega-menu > ul > li > ul > li a {
  width: 95%;
  padding: 0.5em;
  display: block;
}
#header #category_block .mega-menu > ul > li > ul > li > ul {
  display: block;
  padding: 0;
  margin: 0;
  list-style: none;
  box-sizing: border-box;
}
#header #category_block .mega-menu > ul > li > ul > li > ul:after {
   clear: both;
}
#header #category_block.mega-menu > ul > li > ul > li > ul > li {
  width: 100%;
  float: left;
  padding:0;
  margin: 0;
}
#header #category_block .mega-menu > ul > li > ul > li > ul > li a {
  padding: 0.3em 0.2em;
}

/*---------- 階層ごとの装飾 ----------*/
/* 子 */
#header #category_block .mega-menu ul.child-1 li a{
  border-bottom: 1px solid #ddd;
  margin-bottom:0.5em;
}
/* 孫 */
#header #category_block .mega-menu ul.child-2 li a{
  border: 0;
  padding-left:1.5em;
  margin-bottom:0;
  font-weight:normal;
}
#header #category_block .mega-menu ul.child-2 li a:before{
  content:''; 
  display:block;
  position:absolute;
  top:40%;
  left:0.8em;
  height:0; 
  width:0; 
  border-top: 3px solid transparent;
  border-right: 3px solid transparent;
  border-bottom: 3px solid transparent;
  border-left: 5px solid #56b3a3;
}
/* ひ孫 */
#header #category_block .mega-menu ul.child-3 li a{
  border: 0;
  font-size:87%;
}
#header #category_block .mega-menu ul.child-3 li a:before{
  content:''; 
  display:none;
}

@media only screen and (max-width: 757px) {
#drawer .mega-menu {
  clear:both;
  position:relative;
  padding:0;
  margin-bottom:15px;
  text-align:left;
}
#drawer .category-menu {
  width:100%;
  padding:5px;
  position:relative;
  display:block;
  border-top: 1px solid #ddd;
}
#drawer .mega-menu h2 {
  font-size:14px;
  font-size:1.4rem;
  display: block;
  line-height:1.5;
  padding:0.2em 1em;
  margin:0;
}
#drawer .menu-dropdown-icon:before {
  content: "+";
  display: inline-block;
  cursor: pointer;
  margin:1px;
  padding: 0.7em 1.2em;
  color: #333;
  background:#fff;
  position:absolute;
  right:0;
  z-index:999;
}
#drawer .mega-menu > ul {
  width: 100%;
  list-style: none;
  padding: 0;
  margin:0;
  position: relative;
  box-sizing: border-box;
}
#drawer .mega-menu > ul > li {
  width: 100%;
  float: none;
  display: block;
  text-align:left;
  background:#fff;
  position:relative;
}
#drawer .mega-menu > ul > li a {
  padding:1em;
  width: 100%;
  display: block;
  }
#drawer .mega-menu > ul > li > ul {
  display: none;
  width: 100%;
  position:relative;
  z-index: 10;
  margin: 0;
  padding:0;
  list-style: none;
  box-sizing: border-box;
  transition: all 0.4s linear;
}
#drawer .mega-menu > ul > li > ul.normal-sub {
  width: 100%;
}
#drawer .mega-menu > ul > li > ul > li {
  float: none;
  width: 100%;
  }
#drawer .mega-menu > ul > li > ul > li:first-child {
  margin: 0;
  }
#drawer .mega-menu > ul > li > ul > li > ul {
  position: relative;
  }
#drawer .mega-menu > ul > li > ul > li > ul > li {
  float: none;
  }
#drawer .mega-menu .show-on-mobile {
  display: block;
  }
#drawer .mega-menu > ul > li > ul.normal-sub {
  left: auto;
  padding: 10px;
}
#drawer .mega-menu > ul > li > ul.normal-sub > li {
  width: 100%;
}
#drawer > ul > li > ul.normal-sub > li a {
  border: 0;
  padding: 1em 0;
}
/*---------- 階層ごとの装飾 ----------*/
#drawer .mega-menu ul li a{
  border-bottom: 1px solid #ddd;
  font-weight:bold;
}
/* 子 */
#drawer .mega-menu ul.child-1 li a{
  border-bottom: 1px dotted #ddd;
}
/* 孫 */
#drawer .mega-menu ul.child-2 li a{
  border-bottom: 1px dotted #ddd;
  padding-left:1em;
  font-weight:normal;
}
/* ひ孫 */
#drawer .mega-menu ul.child-3 li a{
  font-size:87%;
  padding-left:2em;
}

}

/* -------------------------------------------------------
 商品一覧ページ list・grid表示切替プラグイン
--------------------------------------------------------- */






/* -------------------------------------------------------
 商品詳細ページ 商品画像lightbox風表示プラグイン
--------------------------------------------------------- */










/*ダミー登録用テーブル*/
div.sample{
  border:#ddd solid 1px;
  padding:10px;
  line-height:1.7;
}
.tbl_sample{
  background:#fff;
  margin-bottom:15px;
}
.tbl_sample th,.tbl_sample td{
  padding:5px 10px;
  border:#ddd solid 1px;
}
.tbl_sample th{
  background:#F5F5F5;
}