@media only screen and (max-width: 767px) {
  .kiku-products {
    padding: 0 !important;
  }
}
body #page #primary .tnont {
  display: none !important;
}
/*新しくタブをつくりなおす2024 0507*/
/*スクロールスパイタブ */
a.drtab {
  transition: 0.24s all;
}

a.drtab.activo {
  /* background: #174f9e; */
  color: #fff !important;
  font-weight: bold;
  border-radius: 10px 10px 0 0;
}

ul.ktablist li.ktabli a.activo:after {
  display: block;
  background: pink;
  width: 100%;
  height: 100px;
  position: absolute;
  content: "";
  top: 70px;
  left: 0;
  z-index: -1;
  animation: tabactivo 0.24s ease-in-out forwards;
}

@keyframes tabactivo {
  0% {
    top: 70px;
    background: #fff;
  }

  100% {
    top: 0px;
    background: #174f9e;
  }
}
.tab-toggle-label::before,
ul.ktablist li.ktabli a:before {
  content: "";
  color: #454545;
  font-family: "Material Icons";
  content: "\ef4a";
  display: inline-block;
  position: relative;
  top: 1px;
  width: 1rem;
  font-size: 0.8rem;
}

ul.ktablist li.ktabli a.activo:before {
  /*content: "\e5df";*/
  content: "\ef4a";
  display: inline-block;
  font-family: "Material Icons";
  position: relative;
  top: 1px;
  color: #fff;
  transition: 0.4s all;
  width: 1rem;
}

.ktab .spectable table img {
  width: 64px;
}

.site-main .ktab h2 {
  margin: 5.55rem auto 2rem !important;
  font-size: 1.7rem;
}

.site-main .ktab h3 {
  text-align: left;
  font-weight: bold;
  margin: 2.5rem auto 0.75rem auto !important;
  padding: 0rem 0rem;
  font-size: 1.4rem;
}

.ktab {
  /* padding: 0 1.5rem; */
  background: #fff;
  /* position: relative; */
  margin-top: 1rem;
}

.ktab img {
  width: auto;
  max-width: 100%;
}

.ktabli.active a {
  color: #fff !important;
}

ul.ktablist {
  list-style-type: none;
  padding: 0;
  margin: 0;
  position: sticky;
  top: 0;
  background: rgba(237, 248, 254, 1) 93%;
  width: calc(100% + 3rem);
  margin-left: -1.5rem;
  z-index: 1;
  min-height: 48px;
}

ul.ktablist li.ktabli {
  display: inline-flex;
  padding: 1rem;
  transition: 0.2s all;
}

ul.ktablist li.ktabli a {
  display: block;
  text-decoration: none;
  font-size: 1.1rem;
  font-weight: normal;
  color: #333;
  padding: 7px 13px;
  transition: 0.2s all;
  font-size: 0.915rem;
  font-family: "Noto Sans JP", "MS Gothic", "YuGothic", sans-serif;
  letter-spacing: 0.001rem;
  position: relative;
  overflow: hidden;
}

ul.ktablist li.ktabli {
  display: inline-block;
  padding: 0 !important;
  margin: 0 0.25rem !important;
}

ul.ktablist {
  list-style-type: none;
  padding: 10px 0 0 1rem;
  margin: 0;
  position: sticky;
  top: 0;
  background: #fff;
  width: auto;
  z-index: 1;
  white-space: nowrap;
  display: flex;
  background: #fff;
  max-width: 1980px;
  margin: 28px auto 0 auto;
}

.lavalamp {
  height: 3px;
}

div#main-header {
  position: sticky;
  top: 70px;
  z-index: 91;
}

html body.single-product {
  scroll-padding-top: 8.25rem;
}

.plineup img {
  max-width: 60px;
  display: block;
  margin: 0 auto;
}

ul.ktablist li.ktabli.active a:before,
ul.ktablist li.ktabli a:hover:before {
  color: crimson;
}

ul.commontabs {
  position: sticky;
  z-index: 99999;
  display: flex;
  justify-content: end;
  padding: 0 !important;
  margin: 12px 2rem 0 0 !important;
}

.lavalamp-menu {
  position: sticky;
  top: 70px;
  max-width: 1980px;
  /* height: 55px; */
  background: #fff;
  overflow: auto;
  z-index: 99999;
  margin: 1rem auto 0 auto !important;
}

.lavalamp-menu nav,
.lavalamp-menu li {
  display: inline-block;
  vertical-align: top;
  zoom: 1;
  *display: inline;
}

.lavalamp-menu li {
  margin: 0 15px;
}

.lavalamp-menu nav {
  position: relative;
}

.lavalamp-menu .lavalamp {
  position: absolute;
  bottom: 7px;
  height: 1px;
  background: #174f9e;
  -webkit-transition: 0.75s;
  transition: 0.75s;
  z-index: 99999;
}

.lavalamp-menu a {
  display: block;
  /* line-height: 60px; */
  color: #444;
  text-decoration: none;
  padding: 0;
  -webkit-transition: 0.2s;
  transition: 0.2s;
}

.lavalamp-menu::-webkit-scrollbar {
  background: #fafafa;
  height: 5px;
}

.lavalamp-menu::-webkit-scrollbar-thumb {
  background-color: #174f9e;
  transition: 0.2s all;
}

.lavalamp-menu::-webkit-scrollbar-thumb:hover {
  background-color: #174f9e;
}

.ktab-panel {
  padding: 0rem 2.5rem 5rem 2.5rem;
  min-height: 45vh;
  max-width: 1980px;
  margin: 0rem auto;
  /* margin-top: 200px; */
}

.ktabli.active {
  background: #174f9e;
  color: #fff;
  border-radius: 10px 10px 0 0;
}

@media screen and (max-width: 1024px) {
  ul.ktablist {
    justify-content: left !important;
  }
}

@media screen and (max-width: 768px) {
  .ktab-panel {
    padding: 5rem 0.5rem;
    min-height: 45vh;
  }

  .spectable {
    transition: all 0.8788s;
    width: calc(100% - 0rem);
    margin: 1rem auto 3rem auto;
  }
}

@media screen and (max-width: 420px) {
  .lavalamp-menu .lavalamp {
    display: none !important;
  }
}

@media screen and (max-width: 1000px) {
  #page #primary #tab-common {
    display: none !important;
  }
  tnont {
    display: block;
  }
  div#main-header {
    position: sticky;
    top: 0px;
    z-index: 91;
  }
}

.lavalamp-menu,
#tab-common {
  top: 67px !important;
}

ul.commontabs li img {
  max-height: 60px !important;
  margin-top: 1px;
}

.product_meta .dataTables_wrapper,
.dataTables_wrapper:before {
  display: none !important;
}

.ktab-panel-comm {
  /* padding-top: 150px; */
  max-width: 1980px;
  margin: 0 auto;
}

.ktab-panel-comm .dlgrid img {
  max-width: 48px !important;
}

/* 吹き出しスタイル */
.drtab {
  position: relative;
  /* 吹き出しの位置基準 */
  display: inline-block;
  /* アイコンのサイズに合わせる */
}

.drtab .tooltip {
  display: none;
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  background-color: #174f9e;
  color: #ffffff;
  padding: 0px 9px;
  border-radius: 4px;
  font-size: 10px;
  white-space: nowrap;
  z-index: 10;
  line-height: 24px;
}

/* li.drtab:nth-last-child(1) .tooltip {
  left: calc(50% - 10px);
} */
/* 三角形ポインタ */
.drtab .tooltip::before {
  content: "";
  position: absolute;
  top: -12px;
  /* 吹き出しの上に三角形 */
  left: 50%;
  transform: translateX(-50%);
  border: 8px solid transparent;
  border-bottom-color: #174f9e;
  /* 三角形の色 */
}

/* .drtab .tooltip::before {
    left: calc(100% - 16px);
} */
/* li.drtab:nth-last-child(1) .tooltip::before {
  left: calc(100% - 18px) !important;
} */

/* ホバー時に表示 */
.drtab:hover .tooltip {
  display: block;
}

/* デフォルトでチェックボックスを非表示 */
.tab-toggle {
  display: none;
}

/* トグルラベルをデフォルトで非表示（1000px以下でのみ表示） */
.tab-toggle-label {
  display: none;
}

/* 1000px以下で適用 */
@media screen and (max-width: 1000px) {
  #tab-common {
    display: none;
  }
  .ktablist {
    display: none !important;
    /* 優先度を高めて非表示 */
    flex-direction: column;
    padding: 0;
    margin: 0;
    white-space: normal;
  }

  /* lavalamp-menuの高さ制限を解除 */
  .lavalamp-menu {
    height: auto !important;
    overflow: visible !important;
  }

  /* トグルラベルを表示（ul.ktablistと同じ位置） */
  .tab-toggle-label {
    display: block;
    padding: 0.7rem 1.5rem 0.7rem 0.5rem !important;
    border-bottom: 1px solid #ddd;
    cursor: pointer;
    font-weight: 700;
    color: #333;
    position: relative;
    width: 100%;
    font-size: 0.915rem;
    font-weight: 400;
    margin-left: calc(0.25rem + 13px);
    letter-spacing: 0.001rem;
    /* padding-right: 0.7rem !important; */
    display: inline-block;
  }

  /* ▼アイコンを右端に配置 */
  .tab-toggle-label::after {
    content: "\e313";
    /* ▼アイコン */
    font-family: "Material Icons";
    font-size: 1rem;
    color: #777;
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
  }

  /* タブアイテム */
  .ktablist li.ktabli {
    width: 100%;
    margin: 0 !important;
    padding: 0.5rem 1rem !important;
    border-bottom: 1px solid #ddd;
  }

  /* アクティブタブのリンク */
  .ktablist li.ktabli a.drtab {
    color: #333 !important;
  }

  /* アクティブタブのスタイル（展開時のみ適用） */
  .ktablist li.ktabli.active a.drtab.activo {
    /* font-weight: bold; */
    background: #fff;
  }

  .ktablist li.ktabli a.activo:after {
    display: none !important;
  }

  /* チェックボックスがチェックされた状態（タブ展開） */
  .tab-toggle:checked ~ .ktablist {
    display: flex !important;
    /* 展開時に表示 */
  }

  /* 展開時のアイコンを▲に変更 */
  .tab-toggle:checked + .tab-toggle-label::after {
    content: "\e316";
  }
}
.tab-toggle-label::before {
  margin-right: 0.25rem;
}

/*ウニタ・ミエナイ*/
#primary .unita {
  display: none;
}
