@charset "utf-8";
@import url(../reset.css);
@import url(../main/spstyle.css);

.newsWrap {
  padding-top: 100px;
}

.tabs {
  width: 90%;
  height: 90%;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  background-color: #fff;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
}

.tab_label {
  color: greenyellow;
  background-color: #d9d9d9;
  font-weight: bold;
  font-size: larger;
  border-bottom: solid 3px #e5b7bb;
  padding: 2% 0;
  width: calc(100% / 3);
  cursor: pointer;
}

.tab_content {
  width: 100%;
  height: 40vh;
  margin: 30px;
  line-height: 1.7;
  text-align: left;
  display: none;
  overflow: hidden;
}

input[name="tab_switch"] {
  display: none;
}

.tabs input:checked + .tab_label {
  color: #fff;
  background-color: #e5b7bb;
  transition: all 0.2s ease;
}

#tab01:checked ~ #tab01_content,
#tab02:checked ~ #tab02_content,
#tab03:checked ~ #tab03_content {
  display: block;
}
