/* .tab_button{
  width:100%;
  height: 50px;
  background: #EEEEEE;
}

.tab_button p{
  padding-top: 15px;

}

.tab_cmyk{
  width: 50%;
  height: 100%;
  float: left;
  text-align:center;
  border-bottom: solid 1% black;  
}

.tab_w{
  width: 50%;
  height: 100%;
  float: left;
  text-align:center;
  border-bottom: solid 1% black;
}

.tab_cmyk_content{
  display: none;
}

.tab_w_content{
  display: none;
}

.tab_active{
  background: gray;
  color:white;
  border: solid 1% black;
  border-bottom: none;
  width: 48%;
}

.content_active{
  display: block;
} */

.tab_button {
  display: flex;
  width: 100%;
  height: auto;
  margin-bottom: 0;
  /* border-bottom: 2px solid #c7bfc2; */
}

.tab_button div {
  width: 25%;
  cursor: pointer;
  padding: 10px 6px;
  background-color: #fff;
  border: 1px solid #ccc;
  border-bottom: none;
  border-radius: 5px 5px 0 0;
  margin-right: 7px;
  margin-left: 7px;
  margin-top: 5px;
  text-align: center;
  align-content: center;
  font-weight: bold;
  color: #666;
  flex: 1;
  /* または flex-grow: 1; */

  position: relative;
  transition: background-color 0.3s, color 0.3s;
}

.tab_button div.tab_active {
  background-color: #808080;
  border: 1px solid #b19959;
  /* border-bottom: 2px solid #F3F3F3; */
  margin-bottom: -1px;
  color: #fff;
}

/* アクティブなタブの下に出る▼のスタイル */
/* アクティブなタブの下に出る▼（ソフト・コネクター版に改善） */
.tab_button div.tab_active::after {
  content: "";
  position: absolute;
  bottom: -4px;
  /* 突き出し量を少し減らす（旧: -6px） */
  left: 50%;
  width: 10px;
  /* サイズを少し小さく（旧: 12px） */
  height: 10px;
  /* サイズを少し小さく（旧: 12px） */
  background-color: #808080;
  border-right: 1px solid #b19959;
  border-bottom: 1px solid #b19959;
  border-radius: 0 0 3px 0;
  /* 先端になる右下の角だけを丸めて「矢印感」を和らげる */
  z-index: 10;
  animation: fadeDown 0.3s ease-out forwards;
}

@keyframes fadeDown {
  0% {
    opacity: 0;
    /* 要素が小さくなった分、アニメーションの移動開始位置も少し小さく調整 */
    transform: translateX(-50%) rotate(45deg) translate(-3px, -3px);
  }

  100% {
    opacity: 1;
    transform: translateX(-50%) rotate(45deg) translate(0, 0);
  }
}

.tab_contents>div {
  display: none;
  /* padding-top: 20px; */
}

.tab_contents>div.content_active {
  display: block;
}

/* 不要になる表見出し内の「サイズ一覧へ」を非表示にするための調整 */
.size_link_back {
  display: none;
}