@charset "UTF-8";

/* --------------------------------------------------------------------------------
Tabのレイアウト
-------------------------------------------------------------------------------- */
/*tabの形状*/
.tab{
	display: flex;
	flex-wrap: wrap;
	border-bottom:5px solid #1495b5;
	padding:0; 
}
.tab li{
	background:#d9dfe1;
	margin: 0 8px 0 0;
	border-radius:10px 10px 0 0;
}
.tab li a{
	display: block;
	background:#ddd;
	margin:0 2px;
	padding:10px 20px;
}
/*liにactiveクラスがついた時の形状*/
.tab li.active a{
	background:#1495b5;
	border-radius:10px 10px 0 0;
}


/*エリアの表示非表示と形状*/
.area {
	display: none;/*はじめは非表示*/
	opacity: 0;/*透過0*/
	background: #ffebcd;
	padding:50px 20px;
}

/*areaにis-activeというクラスがついた時の形状*/
.area.is-active {
    display: block;/*表示*/
    animation-name: displayAnime;/*ふわっと表示させるためのアニメーション*/
    animation-duration: 1s;
    animation-fill-mode: forwards;
}

@keyframes displayAnime{
	from {
		opacity: 0;
	}
	to {
		opacity: 1;
	}
}



/*========= レイアウトのためのCSS ===============*/


ul{
    list-style:none;
}

a{
    color:#333;
    text-decoration: none;
}

.tab_wrapper{
    width:100%;
    max-width: 960px;
    margin:30px auto;
    /*background:red; #fefefe;*/
}

.area h3{
    font-size:1.3rem;
    margin:0 0 20px 10px;
}
