@charset "UTF-8";

/*tabの形状*/
.tab{
  display: flex;
  flex-wrap: wrap;
}
.tab li{
	width:50%;
	font-weight:bold;
	font-size:1rem;
	text-align:center;
}
.tab li a{
  display: block;
  background:#ccc;
  margin:0px;
  padding:10px 20px;
	color:#333;
	border-radius:10px 10px 0px 0px;
}
/*liにactiveクラスがついた時の形状*/
.tab li.active a{
  background:#ffffff;
}
.tab li:first-child.active a{
	color:#fff;
	background:#a5b812;
}
.tab li:last-child.active a{
	color:#fff;
	background:#eda01b;
}

/*エリアの表示非表示と形状*/
.area {
  display: none;/*はじめは非表示*/
  opacity: 0;/*透過0*/
	background:#fff;
	border-radius:0px 0px 10px 10px;
  padding:0px;
}

/*areaにis-activeというクラスがついた時の形状*/
.area.is-active {
    display: block;/*表示*/
    animation-name: displayAnime;/*ふわっと表示させるためのアニメーション*/
    animation-duration: 2s;
    animation-fill-mode: forwards;
}

@keyframes displayAnime{
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}



/*========= レイアウトのためのCSS ===============*/

.tab_area a{
  text-decoration: none;
}

.tab_area{
	max-width:1200px;
  width:100%;
  margin:30px auto;
}

.area h2{
	text-align:center;
  font-size:1.3rem;
  margin:0px 0 20px 10px;
	padding-top:20px;
}
#area1 h2 span{
	color:#fff;
  padding: 10px 30px;
	background:#a5b812;
	border-radius:50px;
}
#area2 h2 span{
	color:#fff;
  padding: 10px 30px;
	background:#eda01b;
	border-radius:50px;
}


