﻿@charset "UTF-8";

/* =============================================================

    CATEGORY LIST CSS

============================================================= */


/*//////////////////////////////////////////////////

　　　　　　　　　　ALL SETTING

//////////////////////////////////////////////////*/

/* SECTION COMMON
============================================================= */

.topCategoryList,
.topCategoryList a {
  color: inherit;
}


/* CATEGORY LIST
============================================================= */


.topCategoryList {
  position: relative;
  width: auto !important;
}

/*//////////////////////////////////////////////////

　　　　　　　　　　PC ONLY SETTING

//////////////////////////////////////////////////*/


@media (min-width: 769px) {

  #Wrap,
  .wrapTop {
    width: 110rem;
  }


  /* CATEGORY LIST
  ============================================================= */

  .topCategoryList {
    margin-bottom: 8rem;
    padding: 3rem 0 0;
  }

  .menu_contents__ttl.main_ttl {
    margin-bottom: 2rem;
    font-size: 2.8rem;
  }

   /* ---- カテゴリ一覧 ---- */

  .topCategoryList .cate_list {
    display: flex;
    font-size: 1.3rem;
  }

  .topCategoryList .cate_list > li {
    width: 25%;
    margin-left: 1.5rem;
    padding-left: 1.5rem;
    border-left: 1px solid #f7f7f7;
  }

  .topCategoryList .cate_list > li:first-child {
    margin-left: 0;
    padding-left: 0;
    border-left-width: 0;
  }

   .topCategoryList .cate_list > li > dl:first-child {
     padding-top: 0;
   }

  .topCategoryList .cate_list dt,
  .topCategoryList .cate_list dt > a,
  .topCategoryList .cate_list > li > p > a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    height: 4.5rem;
    margin: 0 0 1.5rem;
    padding: 0 .6rem 0 1rem;
    border-radius: .5rem;
    background: #f8f7ef;
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--color-secondary);
  }

  .topCategoryList .cate_list dt > a {
    width: calc(100% + 2rem);
    margin: 0 -1rem;
  }

  .topCategoryList .cate_list dt > a:hover {
    text-decoration: none;
  }

  .topCategoryList .cate_list dt .btn_cate,
  .topCategoryList .cate_list > li > p > a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
  }

  .topCategoryList .cate_list > li > p:last-child a {
    margin-bottom: 0;
  }

  .topCategoryList .cate_list > li > p > a:hover {
    text-decoration: none;
  }

  .topCategoryList li {
    padding-right: 2rem;
    padding-left: 2rem;
    text-align: left;
  }

  .topCategoryList .child_cate_list,
  .topCategoryList .child_cate_list a {
    color: var(--color-secondary);
  }

  .topCategoryList .child_cate_list {
    margin-bottom: 3rem;
    margin-right: -2rem;
    padding: 0 1rem;
    font-size: 1.3rem;
  }

  .topCategoryList .child_cate_list li {
    margin: 0 0 1rem;
    padding: 0;
    line-height: 1.4;
    letter-spacing: -0.02em;
  }

   /* ---- セール ---- */

   .topCategoryList .menu_contents__sale {
    padding-top: 4rem;
  }

  .topCategoryList  .menu_contents__sale .menu_contents__ttl.main_ttl {
    margin-bottom: 3rem;
  }

  .topCategoryList .menu_contents__sale .cate_list > li {
    width: auto;
    margin-left: 0;
    padding-left: 0;
    border-left-width: 0;
  }

  .topCategoryList .menu_contents__sale .cate_list > li {
    padding-right: 1rem;
  }

  .topCategoryList .menu_contents__sale .cate_list > li > p > a {
    width: 17.4rem;
    height: 5.4rem;
    margin-left: 0;
    padding-right: 1rem;
    border-radius: 1rem;
    background-color: #f5f5f5;
    font-size: 1.8rem;
  }

  .topCategoryList .menu_contents__sale .cate_list > li > p > a img {
    max-width: 4rem;
  }

}



/*//////////////////////////////////////////////////

　　　　　　　　　　SP ONLY SETTING

//////////////////////////////////////////////////*/


@media (max-width: 768px) {

  /* SECTION COMMON
  ============================================================= */


  /* CATEGORY LIST
  ============================================================= */

  .topCategoryList {
    overflow: hidden;
    padding: 0 calc(15 * (100vw / 428)) calc(30 * (100vw / 428));
  }

  .topCategoryList .cate_list {
    display: block;
  }

  .topCategoryList .cate_list > li dt {
    margin: 0;
  }

  .topCategoryList .cate_list > li dd {
    display: none;
  }

  .topCategoryList .cate_list > li dl {
    padding: 0;
    border-bottom: 1px solid #f2f2f2;
  }

  /* ---- Navi Contents ---- */

  .topCategoryList .menu_btn__back {
    float: right;
    display: inline-block;
    padding-left: calc(20 * (100vw / 428));
    background: url(../Contents/ImagesPkg/common/icn_btn_arw_back_black.svg) no-repeat 0 center;
    background-size: calc(8 * (100vw / 428));
    font-size: calc(16 * (100vw / 428));
  }

  /* ---- カテゴリ一覧 ---- */

  .topCategoryList .menu_contents__ttl {
    clear: both;
    padding: calc(20 * (100vw / 428)) calc(5 * (100vw / 428)) calc(18 * (100vw / 428));
    font-size: calc(20 * (100vw / 428));
    font-weight: bold;
  }

  .topCategoryList .cate_list > li,
  .topCategoryList .cate_list > li > dl,
  .topCategoryList .cate_list > li > dl > dt {
    display: inline;
  }

  .topCategoryList .cate_list > li dt > a,
  .topCategoryList .cate_list > li dt > span,
  .topCategoryList .cate_list > li p > a,
  .topCategoryList .child_cate_list > ul > li > a {
    float: left;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 42.5%;
    height: calc(58 * (100vw / 428));
    margin: 0 1.2% calc(10 * (100vw / 428));
    background: #f5f5f5;
    border-radius: calc(10 * (100vw / 428));
    padding: 0 calc(10 * (100vw / 428));
    font-size: calc(18 * (100vw / 428));
    font-weight: bold;
    white-space: normal;
    line-height: 1.2;
    text-align: left;
    color: var(--color-secondary);
    text-decoration: none !important;
  }

  .topCategoryList .cate_list > li dt > a > span {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
  }

  .topCategoryList .cate_list > li dt img,
  .topCategoryList .cate_list > li p img {
    width: calc(34 * (100vw / 428));
    vertical-align: middle;
  }

  .topCategoryList .cate_list > li p img {
    margin-right: calc(6 * (100vw / 428));
    vertical-align: calc(-10 * (100vw / 428));
  }


  /* ---- サブカテゴリ ---- */

  .topCategoryList .child_cate_list {
    display: none;
    background: none;
    font-weight: 200;
    transition: opacity .6s ease-in-out;
  }

  .topCategoryList .child_cate_list.is-active {
    display: block;
  }

  .topCategoryList .child_cate_list .sp_only {
    display: inline;
  }

  .topCategoryList .child_cate_list ul {
    overflow: hidden;
    padding-bottom: calc(10 * (100vw / 428));
  }

  .topCategoryList .child_cate_list ul li {
    padding: 0;
  }

  .topCategoryList .child_cate_list a {
    color: var(--color-secondary);
  }

  .topCategoryList .child_cate_list .menu_contents__ttl {
    display: block;
  }

  .is-child-cate-active .menu_contents__sale,
  .is-child-cate-active .menu_contents__cate > .menu_contents__ttl,
  .is-child-cate-active .cate_list > li:not(.is-active),
  .is-child-cate-active .cate_list .is-active > dl > dt,
  .is-child-cate-active .cate_list > li > p  {
    display: none;
  }
}
