body {
  font-family: "Noto Sans JP", "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, sans-serif;
  margin: 0;
  color: #333;
  line-height: 1.6;
}

.tab {
  width: 100%;
}

.tab-labels {
  display: flex;
  justify-content: center;
  gap: 0;
  border-bottom: 1px solid #ddd;
}

.tab-label {
  max-width: 300px;
  flex: 1;
  padding-top: 0;
  padding-bottom: 0;
  padding-left: 20px;
  padding-right: 20px;
  cursor: pointer;
  color: #a3a2a2;
  text-align: center;
  font-size: 1.125em;
  font-weight: normal;
  border-top: solid 1px currentColor;
  border-right: solid 1px currentColor;
  border-left: solid 1px currentColor;
  position: relative;
  order: -1;
  margin-left: -1px;
  margin-top: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
}

.tab-label:last-child {
  border-right: solid 1px currentColor;
}

.tab-btn {
  display: none;
}

.tab-content {
  display: none;
  margin-top: -1px;
  border-top: 1px solid #003b82;
  padding: 0;
}

#tab01:checked ~ .tab-labels .tab-label:nth-child(1),
#tab02:checked ~ .tab-labels .tab-label:nth-child(2) {
  color: #231815;
  border-right: 1px solid #003b82;
  border-top: 5px solid #003b82;
  border-left: 1px solid #003b82;
  border-bottom: 1px solid #f8f8f8;
  /* background-color: #f8f8f8; */
  z-index: 1;
  margin-bottom: -1px;
  margin-top: 0;
  padding-top: 8px;
  padding-bottom: 8px;
}

#tab01:checked ~ #tab01-content,
#tab02:checked ~ #tab02-content {
  display: block;
}

/* PC表示時は改行を非表示 */
.sp-only {
  display: none;
}

/* スマホ対応 */
@media (max-width: 768px) {
  .sp-only {
    display: inline;
  }
  
  .tab-label {
    font-size: 13px;
    padding: 10px 8px;
  }
  .tab-labels {
      padding: 0 10px;
  }

}