/*------------------------------------------------
 * 0. CSS変数定義
 * --------------------------------------------- */
:root {
  /* カラー */
  --color-primary: #00577b;
  --color-text: #333;
  --color-text-secondary: #444;
  --color-border: #dfdfdf;
  --color-background: #fff;
  --color-background-secondary: #f5f5f5;
  --color-icon: #4c4c4c;
  --color-icon-mobile: #7b7b7b;
  
  /* サイズ */
  --header-height: 70px;
  --icon-size: 18px;
  --icon-size-mobile: 26px;
  --font-size-small: 12px;
  --font-size-base: 14px;
  
  /* スペーシング */
  --spacing-xs: 5px;
  --spacing-sm: 10px;
  --spacing-md: 15px;
  --spacing-lg: 20px;
  
  /* ブレークポイント */
  --breakpoint-sm: 767px;
  --breakpoint-md: 992px;
  --breakpoint-lg: 1034px;
  
  /* その他 */
  --border-radius-small: 4px;
  --border-radius-medium: 6px;
  --border-radius-large: 8px;
  --border-radius-circle: 50px;
  --box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
  --box-shadow-dropdown: 0px 3px 3px rgba(0, 0, 0, 0.25);
}

/* 横方向のスクロールを防止 */
html, body {
  width: 100%;
}

/*------------------------------------------------
 * 1. 一時的なスタイル / ベーススタイル
 * --------------------------------------------- */
/*** Temporary CSS ***/

.layerMenu .gNavi {
  display: block !important;
}

/*------------------------------------------------
 * 2. メディアクエリ - レスポンシブデザイン
 * --------------------------------------------- */
/* PCのみの表示制御 */
@media (min-width: 768px) {
  .spOnly {
    display: none !important;
  }

  .layerMenu .gNavi>li {
    padding-right: var(--spacing-md);
  }

  .layerMenu .gNavi>li.pcOnly {
    display: inline-block;
  }

  .accountMenu_sp_float {
    display: none !important;
  }
}

/* タブレット以下の共通スタイル */
@media (max-width: 992px) {
  .layerMenu .gNavi>li {
    padding: 6px !important;
  }

  .tab--typeA .tabSwitch li span img {
    width: 25px;
  }
}

/* モバイル端末向けスタイル */
@media (max-width: 767px) {
  /* ヘッダー関連 */
  .header .inHeader {
    padding-right: 0 !important;
    padding-left: 0 !important;
    border-bottom: 1px solid var(--color-border);
    display: flex;
    position: relative;
    padding: 0 15px;
  }

  .header.noFixed {
    position: relative !important;
    height: 70px !important;
    padding-top: 20px;
  }

  header.header {
    height: unset;
    border-bottom: none;
  }

  .header,
  .fixHeader .header,
  .fix_page .header {
    padding: 0 !important;
  }

  /* ヘッダートップ部分 */
  .header .hdrTop {
    margin: 0 -15px;
    background: none !important;
    padding: 0 !important;
  }

  /* スペーシングと表示制御 */
  div#main {
    margin-top: 124px;
  }

  .header div.sp {
    background: var(--color-background);
    transition: all 0.3s ease;
  }

  /* ナビゲーション */
  .layerMenu .gNavi>li.pcOnly {
    display: none !important;
  }

  .hdr__catNavC .slick-slider {
    margin: 0;
  }

  /* カート関連 */
  .cart_mobi {
    display: flex;
    align-items: flex-end;
  }

  .cart_mobi>a {
    margin-left: 5px;
    display: inline-flex;
  }

  .cart_mobi>a .material-icons {
    font-size: 26px;
    color: #7b7b7b;
  }

  /* アイコンサイズ */
  .header_icon .material-icons {
    font-size: var(--icon-size-mobile);
    color: var(--color-icon-mobile);
  }

  /* バナーとリスト */
  .banner-3col {
    display: block;
    margin: 20px 0 20px;
  }

  .banner-3col li {
    width: 100%;
    margin: 0;
  }

  /* タブ */
  .tab--typeA .tabSwitch {
    flex-wrap: wrap;
    align-items: stretch;
    margin: 20px -3px 10px;
  }

  .tab--typeA .tabSwitch li {
    flex: 0 0 calc((100% - 20px) / 3);
    max-width: calc((100% - 20px) / 3);
    cursor: pointer;
    transition: .3s;
    border: 1px solid #333;
    margin: 0 3px 10px;
    display: flex;
    align-items: center;
  }

  .tab--typeA .tabSwitch li span {
    font-size: 10px;
    white-space: nowrap;
  }

  .tab--typeA .tabSwitch li span img {
    margin-right: 7px;
  }

  .tab--typeA .tabContent .list_4 .item:nth-child(n + 7) {
    display: none;
  }

  /* フォントサイズ */
  .brand ul>li>a {
    font-size: 12px;
  }

  .banner-slide {
    transition: opacity 0.8s ease-in-out; /* モバイル向けにトランジション時間を長く */
  }
}

/* 大きな画面サイズ向けスタイル */
@media (max-width: 1034px) {
  .breadcrumb {
    padding-top: 120px !important;
  }
}

/*------------------------------------------------
 * 3. ヘッダー関連スタイル
 * --------------------------------------------- */
/* 3-1. ヘッダー共通 */
.searchBox {
  z-index: +3 !important;
}

/* 3-2. カテゴリナビゲーション */
.hdr__catNavC .slick-slider {
  padding: 0 15px;
  margin: 0 15px;
  position: relative;
}

.hdr__catNavC li a {
  border-radius: var(--border-radius-circle);
  color: var(--color-text-secondary);
  padding: 2px 2vw;
}

/* 3-3. スマホスワイパー */
.spSwiper li {
  white-space: nowrap;
  margin: 0 5px;
  line-height: 24px;
  font-weight: 400;
  font-size: 12px;
}

.spSwiper .slick-prev:before,
.spSwiper .slick-next:before {
  content: none;
}

.spSwiper .slick-prev,
.spSwiper .slick-next {
  position: absolute;
  display: block;
  height: 20px;
  width: 20px;
  line-height: 0px;
  font-size: 0px;
  cursor: pointer;
  background: transparent;
  color: transparent;
  top: 50%;
  transform: translate(0, -50%);
  padding: 0;
  border: none;
  outline: none;
}

.spSwiper .slick-prev,
.spSwiper .slick-next {
  border-top: 1px solid #1b1b1b;
  border-right: 1px solid #1b1b1b;
  height: 8px;
  width: 8px;
  top: 21px;
}

.spSwiper .slick-prev {
  left: 0px;
  transform: translateY(-50%) rotate(-135deg);
}

.spSwiper .slick-next {
  right: 0px;
  transform: translateY(-50%) rotate(45deg);
}

/* 3-4. ヘッダーテキスト */
.add_hdr_text {
  font-size: 12px;
  text-align: center;
  color: red;
  padding: 5px 0;
}

/*------------------------------------------------
 * 4. ナビゲーション関連スタイル
 * --------------------------------------------- */
/* 4-1. テキストスライダー */
.textSlider {
  display: flex;
  justify-content: center;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0;
  background: var(--color-background);
  border-radius: var(--border-radius-large);
  box-shadow: var(--box-shadow);
}

.textSlider li {
  flex: 1;
  text-align: center;
  position: relative;
  display: block;
  padding: var(--spacing-md) var(--spacing-sm);
  color: var(--color-text);
  text-decoration: none;
  font-size: var(--font-size-base);
  font-weight: 500;
  transition: all 0.3s ease;
  border: 1px solid var(--color-border);
}

.textSlider li a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  /* background: #333; */
  transition: all 0.3s ease;
  transform: translateX(-50%);
}

.textSlider li a:hover {
  color: #000;
}

.textSlider li a:hover::after {
  width: 80%;
}

/* スマートフォン向けのスタイル */
@media screen and (max-width: 767px) {
  .textSlider {
    margin: 0 var(--spacing-sm);
  }
  
  .textSlider li {
    font-size: var(--font-size-small);
    padding: var(--spacing-sm) var(--spacing-xs);
  }
}

@media screen and (max-width: 767px) {
  .hdr__catNavC {
    margin: 0 -15px;
    background: #fff;
  }
}

/* 4-2. ヘッダー基本スタイル */
.header {
  position: fixed;
  background: var(--color-background);
  border-bottom: none;
  box-shadow: none;
  left: 0;
  top: 0;
  padding: 0 var(--spacing-md) 0;
}

/* 4-3. PCとSP表示の切り替え */
@media (min-width: 768px) {
  .spOnly {
    display: none !important;
  }
}

/*------------------------------------------------
 * 5. 2023年改修スタイル
 * --------------------------------------------- */
/* 2023年3月改修 */
.sec_5 a.btn {
  display: block;
  margin: 0 auto;
  max-width: 270px;
  border: none;
  border-radius: 50px;
  text-align: center;
  background: #ebebeb;
}

/* 2023年4月改修 */
.hNavi ul li .header_icon .material-icons {
  font-size: 18px;
  color: #4c4c4c;
}

@media only screen and (max-width: 767px) {
  .cart_mobi {
    display: flex;
    align-items: flex-end;
  }

  .cart_mobi>a {
    margin-left: 5px;
    display: inline-flex;
  }

  .cart_mobi>a .material-icons {
    font-size: 26px;
    color: #7b7b7b;
  }
}

/* 2023年4月6日 */
.header_icon.header_icon-fav img {
  transform: translateY(-15px);
}

.cart_mobi .cart_mobi_fav img {
  transform: translateY(1px);
}

/* 2023年4月10日 */

/* 2023年4月25日 */
.header_icon-cart,
.cartIcon,
.header_icon-fav,
.favIcon {
  position: relative;
  overflow: visible !important;
}

.cartAmount {
  font-style: normal;
  position: absolute;
  background: #ebebeb;
  width: 12px;
  line-height: 12px;
  text-align: center;
  z-index: 2;
  border-radius: 50%;
  bottom: -3px;
  right: -5px;
  font-size: 10px;
}

.button {
  color: #444 !important;
}

.js_more_btn {
  font-size: 16px;
}

/*------------------------------------------------
 * 6. 検索機能スタイル
 * --------------------------------------------- */
/* 2023年5月25日 */
.hdrSearch__wrap {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  z-index: 9999;
  padding: 20px;
  background: #fff;
  box-shadow: 0px 3px 3px rgba(0, 0, 0, 0.25);
}

.keywordSearch--typeB .ks__searchForm {
  width: 600px;
  max-width: 100%;
  margin: 0 auto 30px;
}

.ks__searchForm {
  padding-right: 7.5px;
  margin-bottom: 15px !important;
}

.searchForm {
  position: relative;
  width: 100%;
}

.searchForm .searchForm__inner {
  position: relative;
  height: 47px;
  background: #EAEAEC;
  border-radius: var(--border-radius-circle);
}

.searchForm input[type="text"] {
  padding: var(--spacing-md) var(--spacing-lg) var(--spacing-md) var(--spacing-sm);
  background: transparent;
  border: none;
  width: 100%;
  display: block;
}

.add_topSearch .searchForm input[type="text"] {
  padding: 14px 14px 14px 35px;
}

.searchForm.searchFormB .searchForm__inner {
  border: 1px solid #dfdfdf;
  border-radius: 100px;
}

.searchForm .searchForm__submit {
  position: absolute;
  top: 50%;
  right: 0;
  transform: translateY(-50%);
  background: transparent;
  border: none;
  line-height: 1;
  padding: 0 6px;
}

.add_topSearch .searchForm .searchForm__submit {
  left: 0;
  right: auto;
}

.searchForm.searchFormB .searchForm__inner input[type="text"] {
  border-radius: 100px;
  vertical-align: middle;
}

.keywordSearch--typeB .ks__keywords {
  padding-top: 0;
  display: -ms-flex;
  display: flex;
  justify-content: center;
  align-items: center;
}

.keywordList {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  justify-content: flex-start;
}

.keywordList li {
  margin: 0 2.5px 5px;
}

.keywordList li a {
  display: block;
  font-size: var(--font-size-small);
  line-height: 16px;
  padding: 3px 0.5em;
  text-align: center;
  border-radius: var(--border-radius-medium);
  background: var(--color-background-secondary);
}

.header .inHeader .hdrSearch--toggle i {
  color: #444;
}

/*------------------------------------------------
 * 7. モバイル・レスポンシブスタイル
 * --------------------------------------------- */
@media (max-width: 767px) {
  .header .inHeader {
    display: flex;
  }

  .header .inHeader .hdrSearch--toggle {
    z-index: 1000;
    height: 57px;
    line-height: 1;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 49px;
  }

  .add_hdrSearch {
    margin-top: 0 !important;
  }

  .layerOn .layerMenu {
    /* top: 65px !important;*/
    top: 85px !important;
    height: calc(100% - 80px);
  }

  .layerMenu .add_topSearch.add_hdrSearch {
    padding: 20px;
    background: #fff;
    margin-bottom: 0 !important;
  }

  .layerMenu .sec_checked {
    padding: 0;
    padding-bottom: 20px;
    background: #fff;
  }

  .layerOn .layerMenu {
    overflow-y: scroll;
  }

  .layerMenu .sec_checked .container .list_4 .item {
    width: calc(100% / 3 - 5px) !important;
    padding: 1px !important;
  }

  .layerMenu .sec_checked .container .list_4 .item:nth-child(n + 4) {
    display: none !important;
  }

  .searchBox.sp {
    top: 70px;
    position: inherit;
  }

  #wrap {
    padding-top: 0 !important;
  }

  .header .inHeader .hamberger {
    position: absolute;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    width: 40px;
    height: 40px;
    font-size: 10px;
    padding: 12px 8px 0 0px;
  }

  .header .inHeader .hamberger span {
    width: 100%;
    margin-bottom: 3px;
  }

  .header .inHeader .hamberger i {
    font-size: 22px;
    color: #444;
    line-height: 18px;
  }

  .header .inHeader .hamberger small {
    font-size: 10px;
    display: block;
    width: 100%;
    /*letter-spacing: -2px;*/
    white-space: nowrap;
    transform: scale(.8);
  }

  .header .inHeader .hdrSearch--toggle {
    margin-left: 5px;
  }

  .header .inHeader .hdrSearch--toggle i {
    font-size: 22px;
  }

  .header .inHeader .hdrSearch--toggle small {
    font-size: 10px;
    color: #000;
    white-space: nowrap;
    transform: scale(.8);
    display: block;
  }

  .header .inHeader .logo_mobi {
    padding: 10px 0px 0;
    padding-top: 3px;
  }

  .logo_mobi img {
    height: 40px !important;
  }

  .header .inHeader .cart_mobi {
    max-width: 38%;
    padding: 10px 0 0;
    text-align: right;
    display: flex;
    justify-content: flex-end;
    padding-top: 8px;
  }

  .header .inHeader .cart_mobi a {
    display: inline-flex;
    justify-content: center;
    flex-wrap: wrap;
    max-width: 31%;
    margin-left: 0;
    max-width: 25%;
  }

  .header .inHeader .cart_mobi a .cartAmount {
    bottom: 13px;
    bottom: 9px;
    right: 5px;
  }


  .header .inHeader .cart_mobi a img {
    transform: translateY(-2px);
  }

  .header .inHeader .cart_mobi a small {
    font-size: 10px;
    display: block;
    width: 100%;
    /* letter-spacing: -2px;*/
    text-align: center;
    line-height: 1;
    margin-top: -1px;
    white-space: nowrap;
    transform: scale(.8);
  }

  .list_4 .des_name {
    text-decoration: underline;
  }

  .breadcrumb {
    padding-top: 0 !important;
  }

  .fixHeader,
  .fix_page {
    padding-top: 0 !important;
  }

  .header .hNavi .txt_top_left {
    margin-top: -5px !important;
    top: -7px;
  }

  .fixHeader .header,
  .fix_page .header {
    padding: 20px 15px 0px !important;
  }
}

/*------------------------------------------------
 * 8. コンテンツスタイル
 * --------------------------------------------- */
.des_name img {
  display: none !important;
}

.button.button-typeB {
  display: block;
  margin-left: auto;
  margin-right: auto;
  padding: 10px;
  text-align: center;
  background: none;
  border: 1px solid #000;
  border-radius: 0;
  width: 340px;
  font-size: 14px;
}

/*------------------------------------------------
 * 9. 2024年改修スタイル
 * --------------------------------------------- */
/* 2024年1月19日改修 */
@media screen and (max-width: 767px) {
  header.header {
    height: unset;
  }

  .hdr__catNavC .slick-slider {
    margin: 0;
  }

  .header .inHeader {
    position: relative;
    padding: 0 15px;
  }

  div#main {
    margin-top: 124px;
  }
}

/*------------------------------------------------
 * 10. バナーとリスト表示スタイル
 * --------------------------------------------- */
.banner-3col {
  display: flex;
  justify-content: space-between;
  margin: 0 0 45px;
}

.banner-3col li {
  width: calc((100% - 20px) / 3);
  width: 33.3333%;
  padding: 5px;
  margin: 0 0 0 -4px;
}

@media only screen and (max-width: 767px) {
  .banner-3col {
    display: block;
    margin: 20px 0 20px;
  }

  .banner-3col li {
    width: 100%;
    margin: 0 0 0px;
  }
}

.brand ul>li>a {
  text-decoration: underline;
  font-size: 14px;
  color: #3d76b4;
}

@media screen and (max-width: 767px) {
  .brand ul>li>a {
    font-size: 12px;
  }
}

/*------------------------------------------------
 * 11. ナビゲーションとレイヤーメニュー
 * --------------------------------------------- */
/* 2024年3月5日 */
@media only screen and (min-width: 768px) {
  .layerMenu .gNavi>li.pcOnly {
    display: inline-block;
  }
}

.layerMenu .gNavi>li.hasChildren--click {
  padding: 0 !important;
}

.hasChildren--click>div {
  display: none;
  width: 100%;
  background: #fff;
  padding: 0 10px;
  padding-bottom: 20px;
  overflow-x: hidden; /* 横方向のスクロールを防止 */
}

li.hasChildren--click>a {
  font-weight: normal;
}

li.hasChildren--click>a::after,
li.hasChildren--click>a::before {
  right: 20px !important;
  border: none;
  width: 1px !important;
  height: 12px !important;
  background: #1b1b1b;
  display: block !important;
  left: initial !important;
  top: 50% !important;
  margin-top: 0 !important;
  position: absolute;
}

li.hasChildren--click>a::before {
  content: "";
  transform: rotate(0deg) translateY(-50%) !important;
  transform-origin: top center !important;
  transition: 0.15s;
}

li.hasChildren--click>a::after {
  transform: rotate(90deg) translateY(-50%) !important;
  transform-origin: top center !important;
}

li.hasChildren--click>a.open::before {
  transform: rotate(90deg) translateY(-50%) !important;
}

li.hasChildren--click div a {
  font-weight: normal;
}

/*------------------------------------------------
 * 12. タブコンテンツスタイル
 * --------------------------------------------- */
.tabContent:not(.active) {
  display: none;
}

.tabSwitch {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 20px auto;
}

.tab--typeA .tabSwitch li {
  flex: 0 0 calc(100% / 6);
  max-width: calc(100% / 6);
  cursor: pointer;
  transition: .3s;
}

.tab--typeA .tabSwitch li:not(:last-child) {
  border-right: 1px solid #333;
}

.tab--typeA .tabSwitch li:hover {
  transition: .3s;
  background: #f2f2f2;
}

.tab--typeA .tabSwitch li.active {
  background: #f2f2f2;
  transition: .3s;
}

.tab--typeA .tabSwitch li span {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  padding: 5px;
}

.tab--typeA .tabSwitch li span img {
  width: 50px;
  margin-right: 10px;
}

@media (max-width: 920px) {
  .tab--typeA .tabSwitch li span img {
    width: 25px;
  }
}

@media (max-width: 767px) {
  .tab--typeA .tabSwitch {
    flex-wrap: wrap;
    align-items: stretch;
    margin: 20px -3px 10px;
  }

  .tab--typeA .tabSwitch li {
    flex: 0 0 calc((100% - 20px) / 3);
    max-width: calc((100% - 20px) / 3);
    cursor: pointer;
    transition: .3s;
    border: 1px solid #333;
    margin: 0 3px 10px;
    display: flex;
    align-items: center;
  }

  .tab--typeA .tabSwitch li span {
    font-size: 10px;
    white-space: nowrap;
  }

  .tab--typeA .tabSwitch li span img {
    margin-right: 7px;
  }

  .tab--typeA .tabContent .list_4 .item:nth-child(n + 7) {
    display: none;
  }
}

.tab--typeA .tabSwitch li.noIco {
  justify-content: center;
  align-items: center;
}

@media (min-width: 768px) {
  .layerMenu .gNavi>li {
    padding-right: var(--spacing-md);
  }
}

@media only screen and (max-width: 767px) {
  .layerMenu .gNavi>li.pcOnly {
    display: none !important;
  }

  .header .hdrTop {
    margin: 0 -15px;
    background: none !important;
    padding: 0 !important;
  }


  header.header::after {
    bottom: 40% !important;
  }

  .header,
  .fixHeader .header,
  .fix_page .header {
    padding: 0 !important;
  }
}

/*------------------------------------------------
 * 13. アカウントナビゲーション
 * --------------------------------------------- */
.layerMenu .gNavi>li.hasChildren--click .item>a {
  display: flex;
  align-items: center;
  min-height: 50px;
}

.drawer__accountNav {
  list-style: none;
  display: -ms-flex;
  display: flex;
  flex-wrap: wrap;
  background: #fff;
}

.drawer__accountNav li {
  list-style: none;
  max-width: 50%;
  flex: 0 0 50%;
}

.drawer__accountNav li.drawer__accountNavFull {
  max-width: 100%;
  flex: 0 0 100%;
}

.drawer__accountNav li a {
  background: var(--color-background);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  font-size: var(--font-size-small);
  font-weight: 500;
  padding: var(--spacing-sm) var(--spacing-md);
  display: flex;
  align-items: center;
}

.drawer__accountNav li a:nth-child(odd) {
  border-right: 1px solid var(--color-border);
}

.drawer__accountNav li a img,
.drawer__accountNav li a i {
  display: inline-block;
  margin-right: 5px;
}

.drawer__accountNav li a::after {
  content: none !important;
}

.accountMenu_sp_float {
  display: none;
  position: absolute;
  top: 100%;
  left: -15px;
  right: -15px;
  z-index: 9999;
  padding: 0;
  background: #fff;
  box-shadow: 0px 3px 3px rgba(0, 0, 0, 0.25);
}

.accountMenu_sp_float li a {
  display: block;
  line-height: 24px;
  padding: 8px 10px;
  border-bottom: 1px solid var(--color-border);
}

@media (min-width: 768px) {
  .accountMenu_sp_float {
    display: none !important;
  }
}

.header .inHeader .cart_mobi a.account_trigger small {
  transform: scale(0.7);
  margin-left: -6px;
}

.drawerBrand.list_5 .item span.img {
  padding: 0;
  display: inline-block;
  position: relative;
  overflow: hidden;
  width: 50px;
  height: 50px;
}

.drawerBrand.list_5 .item span.img img {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  object-fit: cover;
  width: 100%;
  height: 100%;
  max-width: none;
}

/*------------------------------------------------
 * 14. カラーアイコン
 * --------------------------------------------- */
/* ▼240827カラーアイコン用ここから▼ */
.coloreicon {
  width: 100%;
  display: block;
}

.coloreicon ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 5px;
}

.coloreicon ul li {
  width: 12.5%;
  position: relative;
  font-size: 9px;
  line-height: 1.25em;
}

.coloreicon ul li img {
  max-width: 30px;
  height: auto;
}
/* ▲240827カラーアイコン用ここまで▲ */

/*------------------------------------------------
 * 15. ヘッダー色・表示スタイル
 * --------------------------------------------- */
/* ヘッダー基本スタイル */
.header .hNavi ul li a,
.fix_page .header .hNavi ul li a {
  color: var(--color-text);
  display: block;
}

.header .hNavi .txt_top_left,
.fix_page .header .hNavi .txt_top_left {
  color: var(--color-primary);
}

.header #logo img,
.fix_page .header #logo img {
  transform: translateY(-45px);
}

.header .gNavi li a,
.fix_page .header .gNavi li a {
  color: var(--color-text) !important;
}

.header .gNavi li .header_search,
.fix_page .header .gNavi li .header_search {
  border-bottom-color: var(--color-primary);
}

.header_icon img,
.fix_page .header_icon img {
  transform: translateY(-16px);
}

/*------------------------------------------------
 * スクロール時のヘッダースタイル
 * --------------------------------------------- */

/* カテゴリナビゲーションのスクロール時非表示 */
.hdr__catNavC.scrolled {
  transform: translateY(-100%);
}

.header .sp {
  max-height: 200px;
}

.header .sp:has(.hdr__catNavC.scrolled) {
  max-height: 0;
}

.header .hdrTop.noScroll {
  display: block;
  height: auto;
  overflow: visible;
}

.header .hdrTop {
  display: block;
  height: auto;
  transition: height 0.3s ease;
  margin: 0;
  padding: 0;
  overflow: hidden;
}

.header .hdrTop .hdr_line_bnr {
  display: block;
  width: 100%;
}

.header .hdrTop .hdr_line_bnr img {
  width: 100%;
  height: auto;
  display: block;
}

/*------------------------------------------------
 * 16. バナースライダー
 * --------------------------------------------- */
.banner-slider {
  position: relative;
  width: 100%;
  height: auto;
  overflow: hidden;
}

.banner-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  opacity: 0;
  transition: opacity 0.8s ease-in-out;
  transform: translateZ(0);
  -webkit-transform: translateZ(0);
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  will-change: opacity;
}

.banner-slide.active {
  position: relative;
  opacity: 1;
  z-index: 1;
}

.banner-slide img {
  width: 100%;
  height: auto;
  display: block;
}

.header .sp {
  display: block;
  height: auto;
  transition: height 0.3s ease;
  margin: 0;
  padding: 0;
  overflow: hidden;
}

@media screen and (max-width: 767px) {
  .banner-slide {
    transition: opacity 0.8s ease-in-out;
  }
}

/*------------------------------------------------
 * 17. ハンバーガーメニューとスライドメニュー
 * --------------------------------------------- */
.hamburger-menu {
  width: 40px;
  display: none;
  z-index: 1002;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  display: none;
  flex-direction: column;
  align-items: center;
}

.hamburger-menu small {
  font-size: 10px;
  display: block;
  width: 100%;
  text-align: center;
  line-height: 1;
  margin-top: 2px;
  white-space: nowrap;
  transform: scale(.8);
}

/* ハンバーガーメニューが開いているときにテキストを非表示にする */
.hamburger-menu.active small {
  display: none;
}

.hamburger-line {
  display: block;
  width: 25px;
  height: 2px;
  margin: 5px 0;
  background-color: #333;
  transition: all 0.3s ease;
}

.slide-menu {
  position: fixed;
  top: 0;
  left: -80%;
  width: 80%;
  height: 100vh;
  background: var(--color-background);
  box-shadow: var(--box-shadow);
  transition: left 0.3s ease;
  z-index: 1001;
  overflow-y: auto;
  overflow-x: hidden; /* 横方向のスクロールを防止 */
  padding: 72px 0 120px;
}

.slide-menu-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.slide-menu-list li:first-child {
  border-top: 1px solid #eee;
}

.slide-menu-list li {
  padding: 0 12px;
  margin-bottom: 4px;
  border-bottom: 1px solid #eee;
}

.slide-menu-list a {
  color: var(--color-text);
  text-decoration: none;
  font-size: 14px;
  display: block;
  padding: 10px 15px 10px 0;
  position: relative;
}

.slide-menu-list a::after {
  content: '>';
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  color: #999;
}

/* カテゴリーメニューは矢印を表示しない */
.hasChildren--click > a::after {
  display: none;
}

.slide-menu.active {
  left: 0;
}

.menu-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 1000;
}

.menu-overlay.active {
  display: block;
}

@media (max-width: 768px) {
  .hamburger-menu {
    display: flex;
    align-items: center;
    justify-content: center;
  }
}

/*------------------------------------------------
 * 18. 探すメニュースタイル
 * --------------------------------------------- */
/* 探すメニューのスタイル */
.hasChildren--click {
  padding: 0 !important;
  background-color: var(--color-background-secondary);
}

.hasChildren--click > a {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px;
  border-radius: 4px;
  margin-bottom: 1px;
}

.hasChildren--click > a::after {
  content: '';
  width: 8px;
  height: 8px;
  border-right: 2px solid #666;
  border-bottom: 2px solid #666;
  transform: rotate(45deg);
  transition: transform 0.3s ease;
  margin-left: 10px;
}

.hasChildren--click.active > a::after {
  transform: rotate(-135deg);
}

.hasChildren--click > a span {
  font-size: 14px;
  color: var(--color-text);
}

/* リスト表示時のスタイル */
.hasChildren--click.active > a {
  border-radius: 4px 4px 0 0;
}

.hasChildren--click .list_5 {
  display: none;
  background: var(--color-background);
  padding: 15px;
}

.hasChildren--click.active .list_5 {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 10px;
}

@media (max-width: 768px) {
  .hasChildren--click > a {
    padding: 12px;
  }
  
  .hasChildren--click > a span {
    font-size: 13px;
  }
  
  /* モバイル表示時のアコーディオンメニューの横幅を調整 */
  .hasChildren--click > div {
    width: 100%;
    margin-left: 0;
    padding: 0 10px;
  }
}

/* サブメニューの矢印を消す */
.hasChildren--click .list_5 a::after,
.bl-hot a::after {
  display: none;
}

/* ヘッダーアイコンの共通スタイル */
.header_icon .material-icons {
  font-size: var(--icon-size);
  color: var(--color-icon);
}

@media (max-width: 767px) {
  .header_icon .material-icons {
    font-size: var(--icon-size-mobile);
    color: var(--color-icon-mobile);
  }
}

/* 小さいテキストの共通スタイル */
.small-text {
  font-size: var(--font-size-small);
  display: block;
  width: 100%;
  white-space: nowrap;
  transform: scale(.8);
}

/* ボタンの共通スタイル */
.button-base {
  display: block;
  text-align: center;
  border-radius: var(--border-radius-circle);
  background: var(--color-background-secondary);
  padding: var(--spacing-sm);
  transition: all 0.3s ease;
}

/* カードの共通スタイル */
.card-base {
  background: var(--color-background);
  border: 1px solid var(--color-border);
  border-radius: var(--border-radius-small);
  padding: var(--spacing-md);
  box-shadow: var(--box-shadow);
}

/* メディアクエリをまとめる */
@media (max-width: 767px) {
  .header .inHeader {
    padding-right: 0;
    padding-left: 0;
    border-bottom: 1px solid var(--color-border);
  }
  
  .cart_mobi {
    display: flex;
    align-items: flex-end;
  }
  
  .cart_mobi > a {
    margin-left: var(--spacing-xs);
    display: inline-flex;
  }
  
  .header.noFixed {
    position: relative;
    height: var(--header-height);
    padding-top: var(--spacing-lg);
  }
  
  /* その他のモバイル用スタイル */
}

/* 最近みたアイテムのスタイル */
.title-mean h2.small {
  font-size: 14px;
  padding-top: 20px;
}

/* ハンバーガーメニューが開いているときにテキストを非表示にする */
.header .inHeader .hamberger.active small {
  display: none;
}

/* サブヘッダーのスクロール制御 */
.hdr__catNavC {
  transition: transform 0.3s ease, opacity 0.3s ease;
}
