/* 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;
}
.ui-tabs-nav:after { /* clearing without presentational markup, IE gets extra treatment */
    display: block;
    clear: both;
    content: " ";
}
*>.ui-tabs-nav a span { /* hide from IE 6 */
    width: auto;
    height: auto;
}
.ui-tabs-nav .ui-tabs-selected a:link, .ui-tabs-nav .ui-tabs-selected a:visited, .ui-tabs-nav .ui-tabs-disabled a:link, .ui-tabs-nav .ui-tabs-disabled a:visited { /* @ Opera, use pseudo classes otherwise it confuses cursor... */
    cursor: text;
}
.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 {
    background: #fff; /* declare background color for container to avoid distorted fonts in IE while fading */
}

/* Additional IE specific bug fixes... */
* html .ui-tabs-nav { /* auto clear, @ IE 6 & IE 7 Quirks Mode */

}
*: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)... */

}

/*タブ
---------------------------------------------------------------*/
#ui-tab {
    position: relative;
    padding: 44px 0 0;
}
.tab_menu {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
}
.tab_menu li {
    float:left;
    margin-right: 2%;
    -moz-border-radius:5px 5px 0 0;
    -webkit-border-radius:5px 5px 0 0;
    border-radius:5px 5px 0 0;
    background-color: #f7d2e3;
    width: 49%;
    text-align: center;
    position: relative;
    font-size: 8px;
}
.tab_menu li:last-child {
    margin-right: 0;
}
.tab_menu li a{
    display:block;
    padding: 30px 0 8px;
    border-radius:5px 5px 0 0;
    color: #666;
    text-decoration: none;
}
.tab_menu .tab01.ui-tabs-selected a span {
    border-bottom: 3px solid #d34d74;
}
.tab_menu .tab02.ui-tabs-selected a span {
    border-bottom: 3px solid #ff0000;
}
.tab_menu .tab03.ui-tabs-selected a span {
    border-bottom: 3px solid #00ff00;
}
.tab_menu .bgIcon {

}
.tab_menu .ui-tabs-selected .bgIcon {
    background-position: top left!important;
}
.tab_menu .ui-tabs-selected a {
    padding-left: 10px;
    padding-right: 10px;
    padding-bottom: 0;
    -moz-box-shadow: 0 0 5px #d4d4cd;
    -webkit-box-shadow: 0 0 5px #d4d4cd;
    box-shadow: 0 0 5px #d4d4cd;
}
.tab_menu .tab01.ui-tabs-selected:after {
    content: "";
    background-color: #fff;
    width: 100%;
    height: 5px;
    position: absolute;
    top: 46px;
    left: 0;
}
.tab_menu .tab01 .bgIcon {
    background-image: url(../img/top/icon_tab_new.png);
    background-repeat: no-repeat;
    background-position: top right;
    background-size: 40px 20px;
    width: 20px;
    height: 20px;
    border: none!important;
    position: absolute;
    top: 5px;
    left: 50%;
    margin-left: -10px;
}
.tab_menu .tab02.ui-tabs-selected:after {
    content: "";
    background-color: #fff;
    width: 100%;
    height: 5px;
    position: absolute;
    top: 46px;
    left: 0;
}
.tab_menu .tab02 .bgIcon {
    background-image: url(../img/top/icon_tab_pickup.png);
    background-repeat: no-repeat;
    background-position: top right;
    background-size: 36px 19px;
    width: 18px;
    height: 19px;
    border: none!important;
    position: absolute;
    top: 5px;
    left: 50%;
    margin-left: -9px;
}
.tab_menu .tab03.ui-tabs-selected:after {
    content: "";
    background-color: #fff;
    width: 100%;
    height: 5px;
    position: absolute;
    top: 46px;
    left: 0;
}
.tab_menu .tab03 .bgIcon {
    background-image: url(../img/top/icon_tab_ranking.png);
    background-repeat: no-repeat;
    background-position: top right;
    background-size: 30px 20px;
    width: 15px;
    height: 20px;
    border: none!important;
    position: absolute;
    top: 5px;
    left: 50%;
    margin-left: -7px;
}
.tab_menu .tab03.ui-tabs-selected .bgIcon {
    background-position: top 15px!important;
}
.tab_menu .ui-tabs-selected a span {
    display: block;
    padding: 0 0 5px;
    position: relative;
}
.tab_menu .ui-tabs-selected {
    background-color: #fff!important;
}
.tab_content{
    clear:both;
    -moz-box-shadow: 0 0 5px #d4d4cd;
    -webkit-box-shadow: 0 0 5px #d4d4cd;
    box-shadow: 0 0 5px #d4d4cd;
    padding:15px;
    -moz-border-radius: 0 0 5px 5px;
    -webkit-border-radius: 0 0 5px 5px;
    border-radius: 0 0 5px 5px;
    border-top: 2px solid #deded3;
}

