@charset "UTF-8";
/*====================================================
**layout
====================================================*/

/*base layout
====================================================*/
.wrapper {
  margin-top: 80px;
}

.wrapper.true {
  margin-top: 20px;
}

main {
  min-height: 80vh;
  padding-top: var(--lg);
  padding-bottom: var(--lg);
}

@media only screen and (max-width: 992px) {
  /*グリッドレイアウトシステムのガター（余白量）を調整*/
  .row {
    --bs-gutter-x: 2rem;
  }
}


/* header layout
====================================================*/
header {
  transition: .3s cubic-bezier(.4, 0, .2, 1);
  width: 100%;
  height: 80px;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 999;
  padding: var(--xs) var(--xs);
  border-bottom: 1px solid #ccc;
}

.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
}

header .logo {
  width: 20%;
  display: flex;
  align-items: center;
  font-size: var(--fs-normal);
}

.nav-toggle {
  width: 2rem;
  height: 2rem;
  position: relative;
  cursor: pointer;
  margin-right: var(--sm);
}

header .logo img {
  max-height: 50px;
}

header .header-search {
  width: 50%;
}

header .member {}

.icon-nav {
  display: flex;
  justify-content: flex-end;
}

.icon-nav li {
  position: relative;
  padding: 10px 10px;
}

.icon-nav li {
  font-size: var(--fs-sm);
}

.member a.btn {
  padding: var(--xs);
  min-width: 5em;
}

.member .btn-text {
  font-size: var(--fs-sm);
}

.num-in-cart {
  position: absolute;
  top: 0;
  right: 0;
  width: 25px;
  height: 25px;
  color: #fff;
  background: var(--accent1-color);
  margin-right: -5px;
  margin-top: -5px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 5px 0px 5px 1px rgb(0 0 0 / 30%);
  font-size: var(--fs-xs);
  font-weight: bold;
  z-index: 3;
}

.toggle {
  width: 60px;
  height: 60px;
  position: absolute;
  top: 0;
  right: 0;
}

header .header-search #scope .checkbox-list {
  display: flex;
}

header .header-search .entry-field.taxonomy {
  width: 10em;
}

@media only screen and (max-width: 1260px) {
  header .header-search {
    width: 40%;
  }
}

@media only screen and (max-width: 992px) {
  header{
    height:auto;
  }
  
  .header-inner {
    justify-content: space-between;
  }

  header .logo {
    text-align: left;
    width: 45%;
    order: 1;
  }

  header .header-search {
    padding-top: var(--xs);
    width: 100%;
    order: 3;
  }

  header .member {
    text-align: right;
    width: 55%;
    order: 2;
  }

  header .member .btn-text {
    margin-top: 3px;
    display: inline-block;
    font-size: var(--fs-xs);
  }

  header .btn-text {
    display: block;
  }
}

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

  header .header-search .entry-field.taxonomy {
    width: 6em;
  }

  header .header-search .btn-md {
    padding-left: 10px;
    padding-right: 10px;
  }

  .member a.btn {
    padding: 5px 5px;
    min-width: 4em;
  }
  
  .icon-nav li {
    padding: 5px 5px;
  }
}

/*toggleのスタイル
---------------------------------------*/
.toggle {
  padding: 10px 0px;
}

#toggle-close {
  display: none;
  padding: 10px;
  position: fixed;
  top: 15px;
  left: 320px;
  width: 30px;
  height: 30px;
  z-index: 1002;
}

.menu-btn {
  overflow: hidden;
  display: block;
  position: relative;
  z-index: 0;
  width: 20px;
  height: 20px;
  cursor: pointer;
  margin-right: var(--sm);
}

.menu-btn span,
.menu-btn::before,
.menu-btn::after {
  display: block;
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  width: 20px;
  height: 2px;
  /*線の太さを変える*/
  margin: auto;
  background: var(--font-color);
}

.menu-btn span {
  overflow: hidden;
  z-index: 1;
  color: var(--main-color);
  pointer-events: none;
}

.menu-btn::before {
  z-index: 2;
  transform: translate(0, -8px);
  content: "";
}

.menu-btn::after {
  z-index: 2;
  transform: translate(0, 8px);
  content: "";
}

.menu-btn span {
  opacity: 1;
  transition: opacity 150ms 50ms;
}

.menu-btn::before,
.menu-btn::after {
  transition: transform 200ms;
}

.menu-btn.active span {
  opacity: 0;
  transition: opacity 150ms;
}

.menu-btn.active span,
.menu-btn.active::before,
.menu-btn.active::after {
  background: #fff;
}

.menu-btn.active::before {
  transform: rotate(45deg);
}

.menu-btn.active::after {
  transform: rotate(-45deg);
}

.menu-text {
  display: block;
  font-size: 0.7em;
  width: 100%;
  text-align: center;
  line-height: 1;
  margin-top: 5px;
  color: var(--font-color);
}

@media only screen and (max-width:576px) {
  .menu-btn {
    width: 30px;
  }

  .menu-btn span,
  .menu-btn::before,
  .menu-btn::after {
    width: 30px;
  }

  .menu-btn::before {
    transform: translate(0, -6px);
  }

  .menu-btn::after {
    transform: translate(0, 6px);
  }
}

/* mobile-nav
-------------------------------------------------*/
#mobile-nav {
  padding: var(--sm);
  background: #fff;
  width: 320px;
  height: auto;
  position: fixed;
  top: 0;
  left: -320px;
  right: 0;
  bottom: 0;
  transition: 0.5s;
  overflow: auto;
  z-index: 1001;
}

#mobile-nav .logo img {
  max-height: 50px;
}

/* mobile-category-nav
-------------------------------------------------*/
.category-nav ul {
  font-size: var(--fs-sm);
}

.category-nav ul>li {
  position: relative;
  padding: 0;
}

.category-nav ul>li>a {
  display: block;
  padding: 10px 45px 10px 15px;
}

.category-nav ul>li>h4 {
  padding: 15px 45px 15px 15px;
  margin: 0;
}

.category-nav ul>li .sub-nav {
  background: #eee;
  margin-top: 10px;
  margin-bottom: 10px;
  display: none;
}

.category-nav ul>li .sub-nav li {
  position: relative;
}

.category-nav ul>li .sub-nav li a:after {
  content: "\f054";
  position: absolute;
  top: 10px;
  right: 20px;
  height: 0;
  width: 0;
  font-weight: bold;
  font-family: 'Font Awesome 5 Free';
  color: #aaa;
  margin-left: -16px;
}

.category-nav ul>li .sub-nav.active {
  display: block;
}

.category-nav ul>li>.sub-nav-toggle {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  height: 40px;
  width: 40px;
  z-index: 9;
  background: #eee;
  display: flex;
  justify-content: center;
  align-items: center;
}

.category-nav ul>li>.sub-nav-toggle i {
  pointer-events: none;
}

/* スクロールで表示・非表示
-------------------------------------------------*/
.appear-elem {
  transition: .3s cubic-bezier(.4, 0, .2, 1);
  width: 100%;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 999;
}

/* footer layout
====================================================*/
footer {}

footer .logo img {
  max-height: 70px;
}

.title-footer {
  margin-bottom: var(--sm);
}

#copyright {
  border-top: 1px solid #ccc;
  padding-top: var(--md);
  padding-bottom: var(--md);
}

.item-list-content {
  display: flex;
  flex-wrap: nowrap;
  --category-contents: 300px;
  position: relative;
}

.item-list-content .category-contents {
  width: var(--category-contents);
  padding-right: var(--lg);
}

.item-list-content .category-nav {
  width: calc(var(--category-contents) - var(--lg));
  /*  position:absolute;
  top:0;
  left:0;*/
}

.item-list-content .item-contents {
  width: calc(100% - var(--category-contents));
}

@media only screen and (max-width: 992px) {
  .item-list-content .item-list-content {
    --category-contents: 0px;
  }

  .item-list-content .category-contents {
    display: none;
    position: static;
  }

  .item-list-content .item-contents {
    margin-left: 0;
    width: 100%;
  }
}