/* Caution! Ensure accessibility in print and other media types... */
@media projection, screen { /* Use class for showing/hiding tab content, so that visibility can be better controlled in different media types... */
    .ui-tabs-hide {
        display: none;
    }
}

/* Hide useless elements in print layouts... */
@media print {
    .ui-tabs-nav {
        display: none;
    }
}

/* Skin */

.ui-tabs-nav {
    list-style: none;
    margin: 0;
    padding: 0;
}
.ui-tabs-nav:after { /* clearing without presentational markup, IE gets extra treatment */
    display: block;
    clear: both;
    content: " ";
}

@media print, screen and (min-width: 751px){

.ui-tabs-nav{
	display: flex;
	justify-content: flex-start;
	margin:20px 0 30px;
	width: 100%;
}


.ui-tabs-nav li {
	text-align: center;
}
.ui-tabs-nav li:nth-child(2) {
	flex-grow: 2;

}
.ui-tabs-nav li a {
	color: #000000;
	line-height: 1.3;
	display: block;
	padding: 20px 15px;
	background-color: #F2F2FC;

}

	
.ui-tabs-nav .ui-tabs-selected a,.ui-tabs-nav a:hover {
    position: relative;
	background-color: #111;
	color: #FFFFFF;

}

.ui-tabs-nav .ui-tabs-selected a::after,.ui-tabs-nav a:hover::after {
	content: "";
	display: block;
	position: absolute;
	bottom: 8px;
	left: 50%;
	margin-left: -5px;
	background-image: url(../img/icon_tab.png);
	background-repeat: no-repeat;
	width: 10px;
	height: 6px;

}
	
}
@media screen and (max-width: 750px){

.ui-tabs-nav{
	display: flex;
	justify-content: flex-start;
	padding:0 15px;
	box-sizing: border-box;
	width: 100%;
	margin-bottom: 30px;
}


.ui-tabs-nav li {
	text-align: center;
	width: 25%;
	border: 1px solid #111;
}

.ui-tabs-nav li a {
	display: block;
	color: #000000;
	line-height: 1.3;
	display: block;
	padding: 20px 0;
	font-size: 14px;

	font-family: "游明朝体", "Yu Mincho", YuMincho, "ヒラギノ明朝 Pro", "Hiragino Mincho Pro", "MS P明朝", "MS PMincho", serif;
}
.ui-tabs-nav li:nth-child(1),.ui-tabs-nav li:nth-child(2),.ui-tabs-nav li:nth-child(3){
	border-right: 0;
}
	
.ui-tabs-nav .ui-tabs-selected a,.ui-tabs-nav a:hover {
    position: relative;
	background-color: #111;
	color: #FFFFFF;
	opacity: 1;

}

	
}	
.ui-tabs-nav a {


    text-decoration: none;
  /*  white-space: nowrap;  required in IE 6 */    
    outline: 0; /* prevent dotted border in Firefox */
}


.ui-tabs-nav .ui-tabs-selected a, .ui-tabs-nav a:hover, .ui-tabs-nav a:focus, .ui-tabs-nav a:active {
    background-position: 100% -150px;
}
.ui-tabs-nav a, .ui-tabs-nav .ui-tabs-disabled a:hover, .ui-tabs-nav .ui-tabs-disabled a:focus, .ui-tabs-nav .ui-tabs-disabled a:active {
    background-position: 100% -100px;
}
.ui-tabs-nav .ui-tabs-selected a span, .ui-tabs-nav a:hover span, .ui-tabs-nav a:focus span, .ui-tabs-nav a:active span {
    background-position: 0 -50px;
}
.ui-tabs-nav a span, .ui-tabs-nav .ui-tabs-disabled a:hover span, .ui-tabs-nav .ui-tabs-disabled a:focus span, .ui-tabs-nav .ui-tabs-disabled a:active span {
    background-position: 0 0;
}

.ui-tabs-nav a:hover, .ui-tabs-nav a:focus, .ui-tabs-nav a:active,
.ui-tabs-nav .ui-tabs-deselectable a:hover, .ui-tabs-nav .ui-tabs-deselectable a:focus, .ui-tabs-nav .ui-tabs-deselectable a:active { /* @ Opera, we need to be explicit again here now... */
    cursor: pointer;
}
.ui-tabs-disabled {
    opacity: .4;
    filter: alpha(opacity=40);
}
.ui-tabs-panel {
	padding-top: 70px;
	margin-top: -70px;
}
.ui-tabs-loading em {
    padding: 0 0 0 20px;
    background: url(loading.gif) no-repeat 0 50%;
}

/* Additional IE specific bug fixes... */
* html .ui-tabs-nav { /* auto clear, @ IE 6 & IE 7 Quirks Mode */
    display: inline-block;
}
*:first-child+html .ui-tabs-nav  { /* @ IE 7 Standards Mode - do not group selectors, otherwise IE 6 will ignore complete rule (because of the unknown + combinator)... */
    display: inline-block;
}

