@charset "utf-8";
/* CSS Document */

#global-navi {
display: flex;
justify-content: space-between;
align-items: baseline; 
}
.head_mypage li, .menu li{
display:inline-flex;
}
#wrapper .menu a{
color: #6e6e6e;
border-left: 1px dotted #6e6e6e;
text-decoration: none;
padding: 0.6em 1em;
width: 82px;
display: inline-block;
text-align: center;
}
#page {
  position: relative;
  z-index: 2;
  left: 0;
  background: #fff;
  -webkit-transition: all 400ms cubic-bezier(1.000, 0.000, 0.000, 1.000);
  -moz-transition: all 400ms cubic-bezier(1.000, 0.000, 0.000, 1.000);
  -o-transition: all 400ms cubic-bezier(1.000, 0.000, 0.000, 1.000);
  transition: all 400ms cubic-bezier(1.000, 0.000, 0.000, 1.000); /* easeInOutExpo */
  -webkit-transition-timing-function: cubic-bezier(1.000, 0.000, 0.000, 1.000);
  -moz-transition-timing-function: cubic-bezier(1.000, 0.000, 0.000, 1.000);
  -o-transition-timing-function: cubic-bezier(1.000, 0.000, 0.000, 1.000);
  transition-timing-function: cubic-bezier(1.000, 0.000, 0.000, 1.000); /* easeInOutExpo */
}
#drawernav {
  position: fixed;
  top: 0;
  right: -300px;
  width: 300px;
  height: 100%;
  background: #fff;
  z-index: 999;
  padding-top: 52px;
  -webkit-transition: all 400ms cubic-bezier(1.000, 0.000, 0.000, 1.000);
  -moz-transition: all 400ms cubic-bezier(1.000, 0.000, 0.000, 1.000);
  -o-transition: all 400ms cubic-bezier(1.000, 0.000, 0.000, 1.000);
  transition: all 400ms cubic-bezier(1.000, 0.000, 0.000, 1.000); /* easeInOutExpo */
  -webkit-transition-timing-function: cubic-bezier(1.000, 0.000, 0.000, 1.000);
  -moz-transition-timing-function: cubic-bezier(1.000, 0.000, 0.000, 1.000);
  -o-transition-timing-function: cubic-bezier(1.000, 0.000, 0.000, 1.000);
  transition-timing-function: cubic-bezier(1.000, 0.000, 0.000, 1.000); /* easeInOutExpo */
  overflow: scroll;
}
#drawernav ul {
  list-style: none;
  padding: 0;
}
#drawernav ul li {
	padding: 1em;
}
#drawernav ul li a {
  text-decoration: none;
}
#drawernav h4 {
  padding: 0 15px;
}
#humberger {
  position: absolute;
  top: 0;
  right: 0;
  z-index: 10000;
  padding: 6px 5px 10px 10px;
  cursor: pointer;
  background-color: #fff;
  text-align: center;
  height: 62px;
}
.icon-bar {
  height: 2px;
  background: #333;
  display: none;
  margin-bottom: 6px;
  -webkit-transition: all 400ms cubic-bezier(1.000, 0.000, 0.000, 1.000);
  -moz-transition: all 400ms cubic-bezier(1.000, 0.000, 0.000, 1.000);
  -o-transition: all 400ms cubic-bezier(1.000, 0.000, 0.000, 1.000);
  transition: all 400ms cubic-bezier(1.000, 0.000, 0.000, 1.000); /* easeInOutExpo */
  -webkit-transition-timing-function: cubic-bezier(1.000, 0.000, 0.000, 1.000);
  -moz-transition-timing-function: cubic-bezier(1.000, 0.000, 0.000, 1.000);
  -o-transition-timing-function: cubic-bezier(1.000, 0.000, 0.000, 1.000);
  transition-timing-function: cubic-bezier(1.000, 0.000, 0.000, 1.000); /* easeInOutExpo */
}
.fixed-content {
  right: inherit;
  width: 100%;
  z-index: 2;
  -webkit-transition: all 400ms cubic-bezier(1.000, 0.000, 0.000, 1.000);
  -moz-transition: all 400ms cubic-bezier(1.000, 0.000, 0.000, 1.000);
  -o-transition: all 400ms cubic-bezier(1.000, 0.000, 0.000, 1.000);
  transition: all 400ms cubic-bezier(1.000, 0.000, 0.000, 1.000); /* easeInOutExpo */
  -webkit-transition-timing-function: cubic-bezier(1.000, 0.000, 0.000, 1.000);
  -moz-transition-timing-function: cubic-bezier(1.000, 0.000, 0.000, 1.000);
  -o-transition-timing-function: cubic-bezier(1.000, 0.000, 0.000, 1.000);
  transition-timing-function: cubic-bezier(1.000, 0.000, 0.000, 1.000); /* easeInOutExpo */
}
#overlay {
  z-index: -1;
  opacity: 0;
  background: #000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  position: fixed;
  -webkit-transition: all 400ms cubic-bezier(1.000, 0.000, 0.000, 1.000);
  -moz-transition: all 400ms cubic-bezier(1.000, 0.000, 0.000, 1.000);
  -o-transition: all 400ms cubic-bezier(1.000, 0.000, 0.000, 1.000);
  transition: all 400ms cubic-bezier(1.000, 0.000, 0.000, 1.000); /* easeInOutExpo */
  -webkit-transition-timing-function: cubic-bezier(1.000, 0.000, 0.000, 1.000);
  -moz-transition-timing-function: cubic-bezier(1.000, 0.000, 0.000, 1.000);
  -o-transition-timing-function: cubic-bezier(1.000, 0.000, 0.000, 1.000);
  transition-timing-function: cubic-bezier(1.000, 0.000, 0.000, 1.000); /* easeInOutExpo */
}
#humberger i {
	font-size: 23px;
	margin-top: -3px;
}
#humberger .menu_cart i::after {
	content: '買い物かご';
	display: block;
	font-size: 10px;
	font-weight: normal;
	line-height: 1.2;
	margin-top: 3px;
}
#humberger .menu_mypage i::after {
	content: 'マイページ';
	display: block;
	font-size: 10px;
	font-weight: normal;
	line-height: 1.2;
	margin-top: 3px;
}
#humberger .menu_sagasu i::after {
	content: 'さがす';
	display: block;
	font-size: 10px;
	font-weight: normal;
	line-height: 1.2;
	margin-top: 3px;
}
.head_sp_menu {
	display: flex;
}
.head_sp_menu div {
	margin: 5px;
	width: 30px;
}

@media screen and (min-width:601px) and (max-width: 1024px) {
	.head_sp_menu div {
		width: auto;
	}
	body.drawer-opened .menu_sagasu {
		width: 35px;
	}
}

/*** ドロワー開放時のスタイル**/
@media(max-width: 1024px) {
  body.drawer-opened #page {
    left: -300px;
  }
  body.drawer-opened .fixed-content {
    left: -300px;
  }
  body.drawer-opened #drawernav {
    right: 0;
  }
  body.drawer-opened #humberger {
    background: none;
    width: 0;
  }
  body.drawer-opened #humberger .icon-bar {
    background: #000;
    display: block;
  }
  body.drawer-opened .menu_sagasu {
    position: fixed;
    right: 8px;
    top: 8px;
  }
  body.drawer-opened #humberger .menu_sagasu :nth-child(1) {
    transform: translate(0, 8px) rotate(45deg);
    -webkit-transform: translate(0, 8px) rotate(45deg);
    margin-top: 5px;
  }
  body.drawer-opened #humberger .menu_sagasu :nth-child(2) {
    transform: translate(-20px, 0);
    -webkit-transform: translate(-20px, 0);
    opacity: 0;
  }
  body.drawer-opened #humberger .menu_sagasu :nth-child(3) {
    transform: translate(0, -8px) rotate(-45deg);
    -webkit-transform: translate(0, -8px) rotate(-45deg);
    margin-top: 5px;
  }
  body.drawer-opened .fa-magnifying-glass, body.drawer-opened .fa-shopping-cart, body.drawer-opened .fa-user {
	  display: none;
  }
  body.drawer-opened #overlay {
    z-index: 999;
    opacity: 0.3;
    left: -300px;
	position: fixed;
  }
}

/*スマホ画面でハンバーガーメニューの形にする*/
@media screen and (max-width: 600px) {
#wrapper nav {
    position: fixed;
    top: 0;
    right: -300px;
    width: 300px;
    height: 100%;
    padding-top: 50px;
    background:#fff;
    font-size: 16px;
    box-sizing: border-box;
    z-index: 2;
}

#drawernav .menu a {
	border-bottom: 1px dotted #6e6e6e;
	border-left: none;
	padding: 0 0 20px 0;
	width: 100%;
	text-align: left;
	justify-content: space-between;
	display: flex;
}
	
#drawernav .menu a::after {
	font-family: "Font Awesome 5 Free";
	content: '\f054';
	font-weight: 900;
}

.head_mypage li, .menu li{
	display:block;
}
}

/*タブレット画面でハンバーガーメニューの形にする*/
@media screen and (min-width:601px) and (max-width: 1024px) {
#wrapper nav {
    position: fixed;
    top: 0;
    right: -300px;
    width: 300px;
    height: 100%;
    padding-top: 50px;
    background:#333;
    font-size: 16px;
    box-sizing: border-box;
    z-index: 2
}

#drawernav .menu a {
	border-bottom: 1px dotted #6e6e6e;
	border-left: none;
	padding: 0 0 20px 0;
	width: 100%;
	text-align: left;
	justify-content: space-between;
	display: flex;
}
	
#drawernav .menu a::after {
	font-family: "Font Awesome 5 Free";
	content: '\f054';
	font-weight: 900;
}

.head_mypage li, .menu li{
	display:block;
}
}