@charset "UTF-8";

/* 全体レイアウト
------------------------------------- */
body {
    margin-top: 130px;
    font-display: optional;
}

body#item_detail {
    margin-top: 0;
}

@media screen and (max-width:992px) {
    body {
        margin-top: 100px;
    }
}

#wrap {
    display: flex;
    margin-left: -15px;
    margin-right: -15px;
    flex-wrap: wrap;
}

#content-header {
    width: 100%;
    padding-left: 15px;
    padding-right: 15px;
}

#main {
    width: 80%;
    padding: 0 15px;
    order: 2;
}

#side {
    width: 20%;
    padding: 0 15px;
    order: 1;
}

/* カート
------------------------------------- */
#cart-nav{
    max-width: 90%;
    width:500px;
    height: auto;
    position:fixed;
    top:0;
    right:-100vw;
    bottom:0;
    transition: 0.5s;
    /*overflow: auto;*/
    z-index: 2002;
    visibility: hidden;
}

@media (min-width: 1420px) {

    .container,
    .container-lg,
    .container-md,
    .container-sm,
    .container-xl,
    .container-xxl {
        max-width: 1460px;
    }
}

@media screen and (max-width:992px) {
    #wrap {
        flex-wrap: wrap;
    }

    #main {
        width: 100%;
        padding: 0 15px;
        order: 1;
    }

    #side {
        display: none;
        width: 100%;
        padding: 0 15px;
        order: 2;
    }
}

@media screen and (max-width:720px) {

    .container,
    .container-sm {
        max-width: 620px;
    }
}

  /* ヘッダーレイアウト
  ------------------------------------- */
  #header{
    background: #ffffff;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 100;
  /*  box-shadow: 5px 0px 10px 3px rgb(0 0 0 / 30%);*/
    transition: 0.5s;
  }
  #header .container{
    transition: 0.5s;
    padding:5px 15px;
  }
  #header.sticky .container{

  }
  .header-contact-wrap{
    display: block;
    position:relative;
    z-index: 2;
  }
  .header-nav-wrap .container{
    position:relative;
    margin-top:-10px;
  }
  @media screen and (max-width:992px){
    .header-contact-wrap{
      display: none;
    }
    .header-nav-wrap .container{
      margin-top:0;
    }
  }
  /* メニューレイアウト(desktop)
  ------------------------------------- */
  .header-logo,.desktop-nav,.icon-nav{
    display: flex;
    flex-wrap: wrap;
    align-items :center;
    height:100%;
  }
  .desktop-nav li{
    position: relative;  
  }
  .icon-nav li{
    position: relative;
    padding:10px 10px;
  }
  .icon-nav{
    justify-content: flex-end;
  }
  .header-logo-img{
    margin-top:5px;
    margin-bottom:5px;
    max-height: 40px;
    max-width: 200px;
    transition: 0.5s;
  }
  #header.sticky .header-logo-img{

  }
  /* メニューの子要素 */
  .header-nav ul.sub-nav{
    position: relative;
    padding:5px 10px;
    width:200px;
    position: absolute;
    top:100%;
    left:-100px;
    display: none;
    z-index:2;
    margin-left:50%;
  }
  .header-nav li.has-children:focus-within .sub-nav a,
  .header-nav li.has-children:focus .sub-nav a,  
  .header-nav li.has-children:focus-within .sub-nav,
  .header-nav li.has-children:focus .sub-nav,  
  .header-nav li.has-children:hover .sub-nav a,
  .header-nav li.has-children:hover .sub-nav{
    display: block;
  }
  .header-nav li.has-children{
    padding-right: 15px;
  }
  .header-nav li.has-children > a:after {
    position: absolute;
    top: 50%;
    right: 0px;
    margin-top: -0.5em;
  }
  /* メガメニューレイアウト
  ------------------------------------- */
  .mega-nav-wrap{
    padding:5px 10px;
    width:100vw;
    height:100vh;
    position: fixed !important;
    top:0;
    left:0;
    z-index:2;
    display:none;
    background: rgb(0 0 0 / 60%);
  }
  .mega-nav-wrap.active{
    display:block;
    padding-top:20px;
  }
  .mega-nav-wrap ul.mega-nav{
    display: flex;
    flex-wrap: wrap;
    padding:20px;
    margin-top:30px;
    overflow: scroll;
    max-height:calc(100vh - 80px);
  }
  .mega-nav-wrap ul.mega-nav > li{
    padding:10px 10px;
    position: relative;
    width:24%;
    margin-right:1%;
  }
  
  .mega-nav-wrap ul.mega-nav > li > a{
    /*border-left:1px solid #ccc;*/
    padding-left: 10px;
  }
  .mega-nav ul.sub-nav{
    width:100%;
    top:100%;
    right:0;
    left:auto;
    margin-left:0;
  }
  .mega-nav ul.sub-nav li a{
    padding: 10px;
  }
  .mega-menu-close{
    position:absolute;
    top:30px;
    right:-15px;
    width:25px;
    height:25px;
  }
  .sticky .mega-menu-close{
    top:0px;
  }
  .mega-menu-close .menu-close{
    background:#fff;
  }
  @media screen and (max-width:1440px){
    .mega-nav-wrap ul.mega-nav > li{
      width:32%;
    }
  }
  /* メニューレイアウト(mobile)
  ------------------------------------- */
  #mobile-nav{
    padding:15px 0;
    background:#fff;
    width:90vw;
    height: auto;
    position:fixed;
    top:0;
    left:-90vw;
    right:0;
    bottom:0;
    transition: 0.5s;
    overflow: auto;
    visibility: hidden;
    z-index:2002;
  }
  
  /* ヘッダースタイル
  ------------------------------------- */
  #header{
    box-shadow: 5px 0px 10px 3px rgb(0 0 0 / 10%);
  }
  .header-caution{
    color:#fff;
    text-align: center;
    background: #e71413;
    font-size:12px;
    font-weight: bold;
    padding:3px;
  }
  
  /* メニュースタイル
  ------------------------------------- */
  .desktop-nav > li > a{
    position: relative;
    display: inline-block;
    padding:5px 10px;
  }
  .desktop-nav > li > a::after {
    position: absolute;
    bottom: -4px;
    left: 0;
    content: '';
    width: 100%;
    height: 1px;
    background: #e71413;
    transform: scale(0, 1);
    transform-origin: center top;
    transition: transform .3s;
  }
  .desktop-nav > li > a:hover::after {
    transform: scale(1, 1);
  }
  /* メニューの子要素 */
  #header li.has-children > a:after {
    font-family: 'Font Awesome 5 Free';
    content: '\f078';
    font-size: 0.8em;
    font-weight: bold;
  }
  #header li.has-children:hover > a,
  #header li.has-children:hover > a:after{
    color:#e71413;
  }
  .header-nav .sub-nav{
    background:#fff;
    padding:5px 10px;
    z-index:2;
    box-shadow: 0px 0px 10px 3px rgba(0,0,0,0.3);
    -moz-box-shadow: 0px 0px 10px 3px rgba(0,0,0,0.3);
    -webkit-box-shadow: 0px 0px 10px 3px rgba(0,0,0,0.3);
  }
  .header-nav .sub-nav:after{
    content: "";
    position: absolute;
    top:0px;
    left:50%;
    height: 0;
    width: 0;
    border: 8px solid transparent;
    border-bottom: 8px solid #fff;
    margin-top:-16px;
    margin-left:-8px;
  }
  
  /* メガメニュースタイル(ヘッダーエリア)
  ------------------------------------- */
  .mega-nav{
    background:#fff;
    z-index:2;
    box-shadow: 0px 0px 5px 1px rgba(0,0,0,0.3);
    -moz-box-shadow: 0px 0px 5px 1px rgba(0,0,0,0.3);
    -webkit-box-shadow: 0px 0px 5px 1px rgba(0,0,0,0.3);
  }
  
  /*スマホ時のメニューボタンのスタイル
  ----------------------------------------*/
  .mobile-contact-btn,
  #cart-close,
  #toggle-close,
  #toggle-open{
    width:25px;
    height:25px;
  }
  .mobile-contact-btn,
  #toggle-open{
    display: none;
  }
  .mobile-contact-btn{
    margin-left:15px;
  }
  #cart-close{
    position: relative;
  }
  #toggle-close {
    padding: 10px;
    position: relative;
    margin-left: auto;
    margin-right: 10px;
    display: block;
  }
  .menu-close,
  .menu-btn {
    overflow: hidden;
    display: block;
    width:20px;
    height: 2px;
    cursor: pointer;
    background:#000;
    margin-bottom:6px;
    position: relative;
    pointer-events: none;
  }
  .menu-btn:last-child{
    margin-bottom:0;
  }
  .menu-close{
    width:30px;
  }
  .menu-close:first-child{
    position:absolute;
    top:15px;
    left:0;
    transform: rotate(45deg);
  }
  .menu-close:last-child{
    position: absolute;
    top:15px;
    left:0;
    transform: rotate(-45deg);
  }
  .menu-text{
    display:block;
    font-size:0.7em;
    width:100%;
    text-align:center;
    line-height:1;
    margin-top:5px;
    color: #000;
  }
  
  /*mobile-navのスタイル*/
  .mobile-nav li{
    padding: 10px;
  }
  /* メガメニュースタイル(mobileナビエリア)
  ------------------------------------- */
  ul.mobile-category-nav{
    border-top:1px solid #ccc;
  }
  ul.mobile-category-nav > li{
    position: relative;
    border-bottom:1px solid #ccc;
    padding:0;
    background: #eee;
  }
  ul.mobile-category-nav > li > a{
    display: block;
    padding:15px 45px 15px 15px;
    background: #fff;
  }
  ul.mobile-category-nav > li > h4{
    padding:15px 45px 15px 15px;
    margin:0;
  }
  ul.mobile-category-nav > li .sub-nav{
    background: #eee;
    margin-top:10px;
    margin-bottom:10px;
    display: none;
  }
  ul.mobile-category-nav > li .sub-nav li{
    position: relative;
    padding:10px 20px 10px 15px;
  }
  ul.mobile-category-nav > 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;
  }
  ul.mobile-category-nav > li .sub-nav.active{
    display: block!important;
  }
  ul.mobile-category-nav > li > .sub-nav-toggle{
    content: "";
    position: absolute;
    top:0;
    right:0;
    height: 54px;
    width: 54px;
    z-index:9;
    background:#eee;
    display: flex;
    justify-content: center;
    align-items: center;
  }
  ul.mobile-category-nav > li > .sub-nav-toggle i{
    pointer-events: none;
  }
  /*stickになった時のスタイル*/
  header.stick .menu-btn span,
  header.stick .menu-btn::before,
  header.stick .menu-btn::after {
    background: #ab874d;
  }
  header.stick .menu-btn span {
    color: #ab874d;
  }
  header.stick .menu-text{
    color:#000;
  }
  @media screen and (max-width:992px){
    #header{
      padding-left: 0;
      padding-right: 0;
    }
    .header-logo{
      justify-content: center;
    }
    .header-logo-img{
      max-height: 40px;
      max-width: 120px;
    }
    .mobile-contact-btn,
    #toggle-open{
      display: block;
    }
    .desktop-nav{
      display:none;
    }
  }
  @media screen and (max-width:576px){
    .icon-nav{
      flex-wrap: nowrap;
    }
    .icon-nav li{
      padding:10px 10px;
    }
  }

  /*------------------------------------------------------------ */
  /* サイドエリア
  -------------------------------------------------------------- */
  .category-nav{
    margin-bottom:30px;
  }
  .category-nav li{
    position: relative;
  }
  .category-nav li.has-children > 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;
  /*
    border: 5px solid transparent;
    border-left: 5px solid #000;
    */
    margin-left:-16px;
  }
  .category-nav li.has-children:hover > a,
  .category-nav li.has-children:hover > a:after{
    color:#e71413;
  }
  .category-nav li a{
    position: relative;
    display: block;
    padding:10px 0;
    font-size: 0.9rem;
  }
  .category-nav>li:first-child>a{
    border-top:1px solid #eee;
  }
  .category-nav>li>a{
    border-bottom:1px solid #eee;
  }
  .category-nav .sub-nav{
    position: relative;
    background:#fff;
    padding:5px 10px;
    width:300px;
    position: absolute;
    top:0;
    left:100%;
    display: none;
    z-index:9;
    box-shadow: 0px 0px 10px 3px rgba(0,0,0,0.3);
    -moz-box-shadow: 0px 0px 10px 3px rgba(0,0,0,0.3);
    -webkit-box-shadow: 0px 0px 10px 3px rgba(0,0,0,0.3);
  }
  .category-nav .sub-nav:after{
    content: "";
    position: absolute;
    top:15px;
    left:0;
    height: 0;
    width: 0;
    border: 8px solid transparent;
    border-right: 8px solid #fff;
    margin-left:-16px;
  }
  
  @media screen and (min-width:992px){
    .category-nav li:focus-within .sub-nav,
    .category-nav li:focus .sub-nav,
    .category-nav li:hover .sub-nav{
      display: block;
    }
  }
  @media screen and (max-width:992px){
    /*
    .category-nav li.has-children > a:after{
      content: "\f067";
      top:10px;
      right:10px;
      height: 1em;
      width: 1em;
      font-family: 'Font Awesome 5 Free';
    }
    */
  }
  @media screen and (max-width:576px){
  
  }