@charset "utf-8";
/* =Reset default browser CSS.
Based on work by Eric Meyer:http://meyerweb.com/eric/tools/css/reset/index.html


/* リンク設定
------------------------------------------------------------*/
.inner a {
  color: #656565;
  text-decoration: none;
}
.inner a:hover {
  color: #1c1c1c;
  background: #eee;
}
.inner a:active, .inner a:focus {
  outline: 0;
}
/* PC用
------------------------------------------------------------*/
@media only screen and (min-width:960px) {
  nav div.panel {
    display: block !important;
    float: left;
	  padding: 0 5px;
  }
  a#menu {
    display: none;
  }
  #mainNav {
    clear: both;
    z-index: 200;
    position: relative;
  }
  #mainNav li {
    float: left;
    position: relative;
    border-left: 1px solid #ddd;
  }
  #mainNav .end {
    border-right: 1px solid #ddd;
  }
  #mainNav li a {
    color: #555;
    display: block;
    text-align: center;
    _float: left;
    font-size: 15px;
    width: auto;
    height: 20px;
    padding: 1px 6px 6px;
    margin: 1px;
  }
  #mainNav li a span, #mainNav li a strong {
    display: block;
  }
  #mainNav li a span {
    color: #bababa;
    font-size: 10px;
  }
  #mainNav ul ul {
    width: 320px;
    background: #fff;
    border-left: 2px #249E00 solid;
  }
  #mainNav li ul {
    display: none;
  }
  #mainNav li:hover ul {
    display: block;
    position: absolute;
    top: 21px;
    z-index: 500;
  }
  #mainNav li li {
    margin: 0;
    float: none;
    width: 320px;
    border: 0;
  }
  #mainNav li li:last-child {
    border: 0;
  }
  #mainNav li li a {
    width: auto;
    height: auto;
    padding: 10px;
    font-size: 12px;
    text-align: left;
    border: 0;
  }
  #mainNav li li span {
    padding: 0 10px;
  }
  #mainNav li.current-menu-item a {
    border-color: #555;
  }
  #mainNav li.current-menu-item a, #mainNav li a:hover, #mainNav li.current-menu-item li a:hover {
    color: #3D3D3D;
  }
  #header, #wrapper, .inner {
    width: 960px;
    padding: 0;
    margin: 0 auto;
  }
  #wrapper {
    clear: both;
    padding: 4px 0;
  }
}
@media only screen and (max-width:959px) {
  * {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    -o-box-sizing: border-box;
    -ms-box-sizing: border-box;
    box-sizing: border-box;
  }
  #mainNav {
    clear: both;
    width: 100%;
    margin: 0 auto;
    padding: 0;
    border: 0px solid #e4e4e4;
    border-left: 0;
    border-right: 0;
  }
  #mainNav a.menu {
    color: #555;
    width: 100%;
    display: block;
    height: 30px;
    line-height: 30px;
    font-weight: bold;
    text-align: left;
  }
  #mainNav a#menu span {
    padding-left: 10px;
  }

  #mainNav a#menu:hover {
    cursor: pointer;
  }
  nav .panel {
    display: none;
    width: 100%;
    position: relative;
    right: 0;
    top: 0;
    z-index: 1;
  }
  #mainNav ul {
    margin: 0;
    padding: 0;
  }
  #mainNav li {
    float: none;
    clear: both;
    width: 100%;
    height: auto;
    line-height: 1.2;
	font-size: 15px;
  }
  #mainNav li a, #mainNav li.current-menu-item li a {
    color: #555;
    display: block;
    padding: 15px 10px;
    text-align: left;
    border-bottom: 1px dashed #ccc;
  }
  #mainNav li a span {
    padding-left: 10px;
  }
  #mainNav ul > li:last-child a {
    border: 0;
  }
  #mainNav li li:last-child a {
    border-bottom: 1px dashed #ccc;
  }
  #mainNav li.current-menu-item a, #mainNav li a:hover, #mainNav li.current-menu-item a, #mainNav li a:active, #mainNav li li.current-menu-item a, #mainNav li.current-menu-item li a:hover, #mainNav li.current-menu-item li a:active {
    color: #555;
  }
  #mainNav li li {
    float: left;
    border: 0;
  }
  #mainNav li li a, #mainNav li.current-menu-item li a, #mainNav li li.current-menu-item a {
    padding-left: 40px;
    background: url(images/sub1.png) no-repeat 20px 18px;
  }
  #mainNav li li.current-menu-item a, #mainNav li li a:hover, #mainNav li.current-menu-item li a:hover {
    background: url(images/sub1.png) no-repeat 20px -62px;
  }
  #mainNav li li:last-child a {
    background: url(images/subLast.png) no-repeat 20px 20px;
  }
  #mainNav li li:last-child.current-menu-item a, #mainNav li li:last-child a:hover, #mainNav li.current-menu-item li:last-child a:hover {
    background: url(images/subLast.png) no-repeat 20px -65px;
  }
  nav div.panel {
    float: none;
  }
  #mainNav a.menu span:before {
  content: '';/*何も入れない*/
  display: inline-block;/*忘れずに！*/
  width: 20px;/*画像の幅*/
  height: 20px;/*画像の高さ*/
  background-image: url(images/3line.png);
  background-size: contain;
  vertical-align: middle;
  }
  #mainNav a.menuOpen span:before {
  content: '';/*何も入れない*/
  display: inline-block;/*忘れずに！*/
  width: 20px;/*画像の幅*/
  height: 20px;/*画像の高さ*/
  background-image: url(images/batsu.png);
  background-size: contain;
  vertical-align: middle;
  }
	
}