@charset "UTF-8";
/* CSS Document */

nav a {
  position: relative;
  display: inline-block;
  text-decoration: none;text-align: center;line-height: 0.9;
}
@media screen and (min-width:941px) {
nav .category-title a::after {
  position: absolute;
  bottom: -8px;
  left: 0;
  content: '';
  width: 100%;
  height: 1px;
  background: #b9961c;
  transform: scale(0, 1);
  transform-origin: center top;
  transition: transform .3s;
}
}

@media screen and (max-width:940px) {

}
nav .category-title a:hover::after {
  transform: scale(1, 1);
}
nav .nav-order a:hover{
  background: #dfb148;transition: all  0.3s ease;
}

@keyframes anim-newicon{
  0%{transform:scale(0.9) rotate(-45deg)}
  50%{transform:scale(1.3) rotate(-45deg)}
  100%{transform:scale(0.9) rotate(-45deg)}}
  @keyframes anim-newicon-outer{
    0%{transform:scale(1) rotate(-45deg);opacity:1}
    50%{transform:scale(4.8) rotate(-45deg);opacity:0}
    100%{transform:scale(1) rotate(-45deg);opacity:0}}


@media screen and (min-width:941px) {
	nav{position: fixed;top: 0;right: 0;width:100%;height: 78px;background:rgba(0,0,0,0.5);z-index: 99;}
	.category{display: flex;justify-content: flex-end;align-items: center;}
  .category-title{padding:16px 0;position: relative;}
	.category-title ,.category-title a{
	font-size: 2vw;text-decoration: none;list-style: none;color: #fff;margin:0 8px;}
    .title-deco{color: #b9961c;font-size: 55%;}
    .nav-order{padding: 0;height: 80px;}
    .nav-order a{background: #99782d;color: #fff;text-decoration: none;
      display: table-cell;font-size: 2vw;height: 78px;vertical-align: middle; padding: 0 20px;}
.nav-logo{position: absolute;left: 0vw;top: 0vw;width: 18vw;max-width: 250px;}

.icon-new-pc:before {
    opacity: 1;
    content: '';
    display: block;
    width: 10px;
    border-radius: 50%;
    height: 10px;
    background: #c11919;
    position: absolute;
    top: 18px;
    left: -4px;
    transform: rotate(-45deg);
    z-index: 1;
    animation: 2.6s ease-in-out infinite anim-newicon;
    box-sizing: border-box;
}
.icon-new-pc:after {
    opacity: 1;
    content: '';
    display: block;
    width: 10px;
    border-radius: 50%;
    height: 10px;
    background: #c11919;
    position: absolute;
    top: 18px;
    left: -4px;
    transform: rotate(-45deg);
    z-index: 1;
    animation: 2.6s ease-in-out infinite anim-newicon-outer;
    box-sizing: border-box;
}

}

@media screen and (max-width:940px) {
nav{position: fixed;top: 1em;right: 1em;z-index: 99;}
#nav-open {
  display: inline-block;
  width: 36px;
  height: 32px;
  vertical-align: middle;
  background: #99782d;padding: 14px;border: #fff 1px solid;
}
.title-deco{color: #b9961c;font-size: 55%;}
.nav-logo{position: default;width: 40%;margin: 0 auto 2vw;top: 0;max-width: 400px;}
.nav-order{padding: 0;text-align: center;margin: 4vw auto 0;}
    .nav-order a{background: #99782d;color: #fff;text-decoration: none;width: 50%;
      font-size: 3.5vw; padding: 4vw 1vw;}
/*ハンバーガーアイコンをCSSだけで表現*/
#nav-open span, #nav-open span:before, #nav-open span:after {
  position: absolute;
  transition: all 0.4s;
  height: 3px;/*線の太さ*/
  width: 36px;/*長さ*/
  border-radius: 3px;
  background: #fff;
  display: block;
  content: '';
  cursor: pointer;
  z-index: 9999;/*最前面*/
}

#nav-open span:before {
  bottom: -14px;
}

#nav-open span:after {
  bottom: -28px;
}


/*中身*/
#nav-content {
  display: none;
  position: fixed;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  transition: .2s ease-in-out;
}

#nav-content.open {
  display: block;
  opacity: 1;
  overflow: auto;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 9998;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.9);/*背景色*/
  overflow: hidden;/*ブラー効果でボヤけた部分を非表示*/
}


/*:beforeにぼかし効果を設定する*/
#nav-content.open:before {
  content: '';
  overflow: hidden;
  -webkit-filter: blur(10px);
  -moz-filter: blur(10px);
  -o-filter: blur(10px);
  -ms-filter: blur(10px);
  filter: blur(10px);
  z-index: 998;/*重なり順序を一番下にしておく*/
}


/*チェックが入ったら表示する内容*/

.hamburger-top {
  height: 40px;/*×ボタンと被らないように*/
}

.category {
  text-align: center;
  margin-top: 2rem;
  font-size: 1.2em;
  letter-spacing: 0.1em;
}

.category-title {
  padding: 1rem;position: relative;
}

.category-title a {
  color: #fff;
  text-decoration: none;
}


.icon-new-sp::before {
    opacity: 1;
    content: '';
    display: block;
    width: 10px;
    border-radius: 50%;
    height: 10px;
    background: #c11919;
    position: absolute;
    top: 2px;
    left: -16px;
    transform: rotate(-45deg);
    z-index: 1;
    animation: 2.6s ease-in-out infinite anim-newicon;
    box-sizing: border-box;}

.icon-new-sp::after {
    opacity: 1;
    content: '';
    display: block;
    width: 10px;
    border-radius: 50%;
    height: 10px;
    background: #c11919;
    position: absolute;
    top: 2px;
    left: -16px;
    transform: rotate(-45deg);
    z-index: 1;
    animation: 2.6s ease-in-out infinite anim-newicon-outer;
    box-sizing: border-box;
}


/*三本線を動かす*/
#nav-open.active span {
  -webkit-transform: translateY(14px) rotate(-45deg);
  transform: translateY(14px) rotate(-45deg);
}

#nav-open.active span:before {
  -webkit-transform: translateY(-14px) rotate(45deg);/*打ち消す*/
  transform: translateY(-14px) rotate(45deg);/*打ち消す*/
  opacity: 0;
}

#nav-open.active span:after {
  -webkit-transform: translateY(-28px) rotate(45deg);
  transform: translateY(-28px) rotate(90deg);
}
}
