@charset "UTF-8";

/*   タブ切り替え（tab.css）   */

/* -------------------------------------------------

SwitchTabs

------------------------------------------------- */
.SwitchTabs__wrp	{
	width: 100%;
	margin: 0px auto 100px;
}


/* タブ切り替え
================================================== */
/*tabの形状*/
.TopTopics__tab	{
	width: 100%;
 margin: 0;
 padding: 0;
 list-style: none;
 display: flex;
 border-bottom: 4px solid #e0e0e0;
}

.TopTopics__tab li{
  flex: 1;
  display: flex;
		justify-content: center;
		align-items: center;
  /*cursor: pointer;*/
  transition: all 0.3s ease;
  position: relative;
  color: #999;
 	font-family: 'Noto Sans JP', sans-serif;
		font-size: 18px;
  font-weight: 400;
}
.TopTopics__tab li a {
		display: flex;
		justify-content: center;
  align-items: center;
  height: 100%;
  width: 100%;
  padding: 24px;
  box-sizing: border-box;
  text-decoration: none;
  color: #333333;
}
.TopTopics__tab li a .tab_arrow {
	position: relative;
}
.TopTopics__tab li a .tab_arrow::before{
	content:'';
	position: absolute;
	top:10px;
	left: -10px;
	width:6px;
	height:6px;
	border-top: 2px solid #333;
 border-right:2px solid #333;
 transform: rotate(135deg);
}
.sp .TopTopics__tab	{
	display: none !important;
}

@media screen and (max-width: 898px)  {
.TopTopics__tab li a {
	font-size: 16px;
 padding: 24px 14px;
}
}
@media screen and (max-width: 640px)  {
.TopTopics__tab	{
	display: none;
}
}

/*liにactiveクラスがついた時の形状*/
.TopTopics__tab li.active a{
	color: #194F99;
 font-weight: bold;
}
.TopTopics__tab li.active::after {
	 content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  right: 0;
  height: 4px;
  background:#194F99;
  animation: slideIn 0.3s ease;
}
@keyframes slideIn {
  from { transform: scaleX(0); }
  to { transform: scaleX(1); }
}

.TopTopics__tab li:not(.active):hover {
  color: #666;
  background: #f5f5f5;
}

/*エリアの表示非表示と形状*/
.TopTopics__area {
	display: none;/*はじめは非表示*/
	opacity: 0;/*透過0*/
}

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

@keyframes displayAnime{
	from {
		opacity: 0;
	}
	to {
		opacity: 1;
	}
}
@media screen and (max-width: 640px)  {
.TopTopics__tab li a .tab_arrow::before{
	content:'';
	position: absolute;
	left:-11px;
	top:7px;
	width:6px;
	height:6px;
	border-top: 2px solid #333;
 border-right:2px solid #333;
 transform: rotate(135deg);
}

.sp .TopTopics__tab	{
	width: 100%;
	display: flex !important;
	flex-flow: row wrap ;
	border-bottom: none;
	margin-bottom: 15px;
}
.sp .TopTopics__tab li{
	width: 50%;
	flex: 0 0 auto !important;
	border-bottom: 1px solid #e0e0e0;
	margin: 0 0 5px;
}
	
.sp .TopTopics__tab li a {
	font-size: 14px !important;
	padding:14px 10px;
	display: flex;
	justify-content: center;
	align-items: center;
}
	
.sp .TopTopics__tab li.active::after {
  bottom: -1px;
  left: 0;
  right: 0;
  height: 3px;
  background:#194F99;
  animation: slideIn 0.3s ease;
}
}
@media screen and (max-width: 375px)  {
.sp .TopTopics__tab li{
	width: 100%;
	margin: 0;
}
.sp .TopTopics__tab li a {
	padding:10px;
}	
}

.nav li.has-child ul li.active{
	
}	
