@charset "utf-8";
/*タブ切り替え全体のスタイル*/
.tabnav{
    margin: 0 0 20px 0;
    padding: 0;
	display: flex;
	justify-content:space-between;
	align-content:center;
}
.tabnav li{
	width:16%;
	height:200px;
	margin:0 0.3%; 
}
.tabnav li a{
    display: block;
	height:170px;
    color: #fff;
    padding: 0px;
    text-decoration: none;
	position:relative;
}
.tabnav li a:hover{
	opacity:0.8;
}
.tabnav li a.active::before{
	content:"";
	display:block;
	position:absolute;
	width:100%;
	height:26px;
	top:220px;
	left:0;
	background-image: url(../images/tri.svg);
	background-position:top center;
	background-repeat:no-repeat;
	background-size:74px 26px;
	z-index:100;
}
.tabnav li p{
	margin:0px;
	color:#00ABBB;
	padding:0;
	font-size:0.9em;
}
.tabcontent{
    padding: 20px;
	background-color:#E0E7EB;
	text-align:center;
	padding-top:60px;
}
.tabcontent img{
	width:100%;
}
.tabcontent p{
	display:none;
}
.tab1img{
	display:block;
	background-image: url(../images/hero_01.jpg);
	background-position:top center;
	background-repeat:no-repeat;
	background-size:contain;
	margin:0;
}
.tab2img{
	background-image: url(../images/hero_02.jpg);
	background-position:top center;
	background-repeat:no-repeat;
	background-size:contain;
	margin:0;
}
.tab3img{
	background-image: url(../images/hero_03.jpg);
	background-position:top center;
	background-repeat:no-repeat;
	background-size:contain;
	margin:0;
}.tab4img{
	background-image: url(../images/hero_04.jpg);
	background-position:top center;
	background-repeat:no-repeat;
	background-size:contain;
	margin:0;
}
.tab5img{
	background-image: url(../images/hero_05.jpg);
	background-position:top center;
	background-repeat:no-repeat;
	background-size:contain;
	margin:0;
}
.tab6img{
	background-image: url(../images/hero_06.jpg);
	background-position:top center;
	background-repeat:no-repeat;
	background-size:contain;
	margin:0;
}

@media screen and (max-width: 767px) and (-webkit-min-device-pixel-ratio: 1.5) {

.tabnav{
    margin: 0 0 20px 0;
    padding: 0;
	display: flex;
	flex-wrap:wrap;
	justify-content:space-between;
	align-content:center;
}	

.tabnav li{
	width:33%;
	height:auto;
	margin:0 0%; 
}
.tabnav li a.active::before{
	content:"";
	display:none;
}
.tabnav li a{
	height:auto;
	padding-top: 100%;
}
.tabcontent{
	padding-top:10px;
}
.tabcontent p{
	display:block;
	text-align:center;
	margin-bottom:6px;
	font-weight:bold;
	color:#00ABBB;
}
}