/* 表示切替 */
#toggle1 {
  display: none;
  visibility: hidden;
  opacity: 0;
  transition: 2s;
}

.toggle-inner {
  max-height: 0;
  overflow-x: auto;
  transition: max-height 0.5s ease, opacity 0.3s ease;
  opacity: 0;
}

#toggle1:checked ~ .toggle-inner {
  max-height: 1000px;
  opacity: 1;
}
.plan_cel {
  text-align: center;
}

/* ボタン風表示 */

.toggle-button {
  display: inline-flex;
  align-items: center;
  padding: 14px 40px;
  font-size: 16px;
  font-weight:bold;
  color: #333;
  background-color: #ffffff;
  border: 1px solid #ccc;
  border-radius: 20px;
  cursor: pointer;
  user-select: none;
  transition: background-color 0.3s, color 0.3s;
  gap: 8px;
  margin-top: 40px;
  margin-bottom: 20px;
}
/* ホバー時に色変更 */
.toggle-button:hover {
  background-color: #eaeaea;
}

.toggle-button .icon::after {
  content: "▼";
  transition: content 0.5s ease;
}

#toggle1:checked ~ .toggle-button .icon::after {
  content: "▼";
}


/* チェックされたときのボタン背景変更 */
#toggle1:checked ~ .toggle-button {
  color: #fff;
  background-color: #000000;
  font-weight: bold;
}

/* アニメーション回転（任意） */
.toggle-button .icon {
  display: inline-block;
  transition: transform 0.3s ease;
}

#toggle1:checked ~ .toggle-button .icon {
  transform: rotate(180deg);
}


/* table01 */

#table01-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow-x: auto;
  width: 100%;
}

#table01 {
  border-collapse: collapse;
  min-width: 600px;
  width: 100%;
}

#table01 th, #table01 td {
  position: relative;
  text-align: center;
  min-width: 130px;
  padding: 10px;
  height: 60px;
  /* width: 20%; */
}

#table01 th {
  background-color: #222222;
}

#table01 .head {
  background-color: #222222;
}


/* セルの固定 */
#table01 th.fixed,
#table01 td.fixed {
  position: sticky;
  top: 0;
  left: 0;
  background-color: #222222;
  z-index: 1;
  box-shadow: 2px 0 5px -2px rgba(0, 0, 0, 0.1);
}

#table01 th.fixed.head {
  z-index: 2; /* 一番上の固定セル（例: ヘッダー）はさらに上 */
}



/* 開閉システム */
.accordion_summary {
  display: block;
  background: #3e3e3e; /* 見出しの背景色 */
  font-weight: bold;
  position: relative;
  list-style: none; /* 矢印を消す */
  cursor: pointer;
  padding: 10px 38px 10px 10px;
  margin-bottom: 4px;
}
.accordion_summary::-webkit-details-marker {
  display: none;
}
.accordion_summary::after {
  content: "+";
  font-size: 1.4em; /* 記号のサイズ */
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
}
.accordion[open] .accordion_summary::after {
  content: "−";
}
.accordion_detail {
  padding: 4px 10px;
  margin: 10px 0;
}
.accordion_text {
  margin: 0;
}





/* tab */
@media only screen and (max-width: 768px) {
  #table01 .fixed {
  /* position: sticky; */
  top: 0;
  left: 0;
  z-index: 2;
  }
  #table01 .fixed:before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: -1px;
  height: 100%;
  border-left: 1px solid #707070;
  border-right: 1px solid #707070;
  }

}