@charset "UTF-8";

/* --------------------------------------------------------------------------------
Tabのレイアウト
-------------------------------------------------------------------------------- */
/*tabの形状*/
.tab{
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	padding: 0;
	margin-bottom: 0;
	height: 100%;
}
.tab li {
	width: calc( 16.5% - 2px );
	background: #fff;
	
}
.tab li a{
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	background:#ddd;
	padding:10px 20px;
	border-top: 2px solid #0000ff;
	border-right: 2px solid #0000ff;
	border-left: 2px solid #0000ff;
/*	border-bottom: 2px solid #aaa;*/
	text-decoration: none;
	color: #000;
	text-align: center;
	font-size: 120%;
	height: 100%;
}
/*liにactiveクラスがついた時の形状*/
.tab li.active a{
	background: #00f;
	color: #fff;
	border-bottom: none;
}

/*エリアの表示非表示と形状*/
.tabmenu-area {
	display: none;/*はじめは非表示*/
	opacity: 0;/*透過0*/
	background: #fff;
	padding: 20px 10px;
	border-right: 2px solid #aaa;
	border-bottom: 2px solid #aaa;
	border-left: 2px solid #aaa;
}

/*areaにis-activeというクラスがついた時の形状*/
.tabmenu-area.is-active {
    display: block;/*表示*/
    animation-name: displayAnime;/*ふわっと表示させるためのアニメーション*/
    animation-duration: 1s;
    animation-fill-mode: forwards;
}

@keyframes displayAnime{
	from {
		opacity: 0;
	}
	to {
		opacity: 1;
	}
}

/*========= レイアウトのためのCSS ===============*/
.tabmenu-area h2{
	font-size:1.3rem;
	margin:0 0 20px 10px;
}

.tabmenu-area li{
	padding: 10px; 
	border-bottom: 1px solid #ddd;
}
