.tab-wrap {
  margin-top: 10%;
  margin-bottom: 10%;
  display: flex;
  flex-wrap: wrap;
  
}
.tab-wrap:after {
  content: '';
  width: 50%;
  height: 50px;
  display: block;
  order: -1;
}
.tab-label {
  color: rgb(130, 85, 63);
  font-size: 200%;
  background: #ffaaf1;
  font-weight: bold;
  white-space: nowrap;
  text-align: center;
  padding: 10px .5em;
  order: -1;
  position: relative;
  z-index: 1;
  cursor: pointer;
  border-radius: 5px 5px 0 0;
  flex: 1;
}

.tab-label2 {
    background: #76d7f7;
}

.tab-label3 {
    background:  #faf26a;
}

.tab-label:not(:last-of-type) {
  margin-right: 5px;
}
.tab-content {
  width: 100%;
  height: 0;
  padding: none;
  overflow: hidden;
  opacity: 0;
}
.tab-switch:checked+.tab-label {
  background: #328c4b;
}
.tab-switch:checked+.tab-label+.tab-content {
	width: 100%;
  height: auto;
  overflow: auto;
  opacity: 1;
  transition: .5s opacity;
  background-image: url("../haikei/shou.png");
	background-repeat: no-repeat;
  background-size: 100%;
}
.tab-switch:checked+.tab-label2+.tab-content {
  height: auto;
  overflow: auto;
  opacity: 1;
  transition: .5s opacity;
  background-image: url("../haikei/tyuu.png");
  background-size: 100%;
	background-repeat: no-repeat;
	padding-bottom: 31%;
}
.tab-switch:checked+.tab-label3+.tab-content {
  height: auto;
  overflow: auto;
  opacity: 1;
  transition: .5s opacity;
  background-image: url("../haikei/kou.png");
  background-repeat: no-repeat;
  background-size: 100%;
  padding-bottom: 50%;
}

.tab-switch {
  display: none;
}
.tab-switch:checked+.tab-label {
    background: #ffaaf1;
    margin-top: -0.5rem;
    transition: margin .3s;
    align-items: center;
    display: flex;
    justify-content: center;
}

.tab-switch:checked+.tab-label2 {
    background:#76d7f7;
  }

.tab-switch:checked+.tab-label3 {
    background: #faf26a; 
  }
.tab-label{
    border-radius: 0;
    position: relative;
}
.tab-label:after {
    position: absolute;
    top: 0;
    right: 0;
    content: '';
    width: 0;
    border-width: 0 16px 16px 0;
    border-style: solid;
    border-color: #fff #fff #ddd #ddd;
    box-shadow: -1px 1px 2px rgba(0, 0, 0, .1);
}
/*↑タブメニュー*/

.container { display : flex ; }
