#tab{
    border-bottom:5px solid #1174a5;
    margin-bottom:30px;
}
#tab li{
    float:left;
    margin-right:1.33333%;
    padding:10px 5px;
    text-align:center;
    width:24%;
    color:#009fea;
    border:1px solid #009fea;
    cursor:pointer;
    border-bottom:none;
    position:relative;
    font-size:1.1em;
    transform: translateY(20px);
    border-radius: 10px 10px 0 0 / 10px 10px 0 0;
    -webkit-border-radius: 10px 10px 0 0 / 10px 10px 0 0;
    -moz-border-radius: 10px 10px 0 0 / 10px 10px 0 0;
}
#tab li a{
    color:#009fea;
    text-decoration:none;
}
#tab li.select a{
    color:#fff;
}
#tab li span{
}
#tab li:last-child{
    margin-right:0;
}
#tab li.select{
    background-color: #009fea;
    color: #fff;
    padding: 20px 5px;
    transform: translateY(0);
    font-size:1.2em;
}
.loop{
    padding:40px;
    background-color:#fafafa;
    margin-bottom: 40px;
}
.loop_content{
    display:none;
}
.loop_content.select{
    display:block;
}
.loop_content>ul>li{
    float:left;
    width:32%;
    margin: 1% 2% 2% 0;
}
.loop_content>ul>li:nth-child(3n){
    margin-right:0;
}
.loop_content>ul>li:nth-child(3n+1){
    clear:left;
}
.loop_content>ul>li:first-child{
    float:left;
}
.loop_content li a{
    color:#000;
    text-decoration:none;
    display:block;
}
.loop_content .img_zone{
    overflow:hidden;
}
.loop_content a:hover img{
    transform: scale(1.1);
}
.loop_content .img_zone img{
    max-width:100%;
    transition: transform 0.5s linear;
}
.loop_content .txt_zone{
    font-size:1.1em;
    background-color:#fff;
    padding:15px;
}
.txt_zone .date{
    font-size:.8em;
    display: block;
}
.cate{
    color:#009fea;
}
.cate li{
    border: 1px solid #009fea;
    padding: 0 5px;
    display: inline-block;
    margin-right: 3px;
    margin-bottom: 5px;
    cursor: pointer;
    text-align: center;
    padding: 4px 20px;
    border-radius: 5px;
}
.cate li:hover{
    background-color:#009fea;
    color:#fff;
}
.loop .btn05{
margin: 30px auto 10px;
    padding: 15px 10px;
    max-width: 90%;
    cursor: pointer;
}


.wp-pagenavi{
    text-align:center;
    margin:30px 0;
}
.wp-pagenavi .pager li{
    display:inline-block;
    margin-right:10px;
    font-size:1.3em;
}
.wp-pagenavi .pager li a, .wp-pagenavi .pager li span{
    display: block;
    width: 40px;
    text-align: center;
    border-radius: 50%;
    height: 40px;
    line-height: 40px;
    padding: 0;
}
.wp-pagenavi .pager li a{
    border:1px solid #ccc;

}
.wp-pagenavi .pager li a:hover,  .wp-pagenavi .pager li span{
    background-color:#009fea;
    color:#fff;
}
#u_layer .archive_line div h2.instructor_title:after {
    position: absolute;
    left: 0;
    display: inline-block;
    height: 40px;
    width: 45px;
    background: url(../img/news_icon.png) no-repeat center;
    background-size: contain;
    content: '';
    top: 0;
    bottom: 0;
    margin: auto;
}

#u_layer .archive_line div h2.voice_title:after {
    background: url(../img/voice_icon01.png) no-repeat center;
    background-size: contain;
    top: -5px;
    height: 35px;
    width: 40px;
}

#u_layer .archive_line div h2.blog_title:after {
    background: url(../img/blog_icon01.png) no-repeat center;
    background-size: contain;
    height: 35px;
    width: 40px;
}

#u_layer .archive_line div h2.news_title:after {
    background: url(../img/news_icon01.png) no-repeat center;
    background-size: contain;
    height: 35px;
    width: 40px;
    top: -5px;
}

.single_title {
    padding: 20px;
    font-size: 20px;
    background: #d1f0ff;
    border-left: 10px solid #009fea;
    margin-bottom: 20px;
    font-weight: bold;
}
.back a{
    display: block;
    width: 60%;
    background-color: #808080;
    color: #fff;
    max-width: 300px;
    margin: 0 auto 50px;
    text-align: center;
    padding: 15px 0;
    border-radius: 10px;
    font-size: 1.2em;
    text-decoration:none;
    position:relative;
}
.back a:before{
    content: "<<";
    position: absolute;
    left: 8px;
    top: 30%;
    margin: auto;
    display: block;
    font-size: 0.8em;
}
.back a:hover{
    background-color:#009fea;
}
@media print, screen and (min-width: 768px) {
    #u_layer .headline.archive_line{
        background: url(../img/news_headlinebg.png) no-repeat center center;
        background-size: cover;
    }
    
    #u_layer .headline.voice_line {
        background: url(../img/voice_headlinebg.png) no-repeat center center;
        background-size: cover;
    }
    
    #u_layer .headline.blog_line {
        background: url(../img/blog_headlinebg.png) no-repeat center center;
        background-size: cover;
    }
    
}
@media only screen and (max-width: 767px) {
    #tab{
        margin-bottom:0;
    }
    #tab li.select{
        font-size:0.9em;
        padding: 10px 5px;
    }
    #tab li{
        font-size:0.8em;
        padding: 5px;
        transform: translateY(10px);
    }
    .loop {
        padding: 0; 
        background:none; 
        margin-bottom: 0; 
    }
    .loop_content>ul>li{
        width:100%;
        margin-right:0;
        margin-bottom:0;
        float:none;
        border-bottom:1px solid #ccc;
    }
    .loop_content>ul>li:first-child{
        float:none;
    }
    .loop_content>ul>li a{
        display:table;
        padding: 10px;
        position:relative;
    }
 /*   .loop_content>ul>li a:after{
        font-family: 'FontAwesome';
        color: #5c5a31;
        content: "\f077";
        transform: rotate(90deg);
        font-size: 20px;
        position: absolute;
        right: 4px;
        top: 0;
        bottom: 0;
        margin: auto;
        left: auto;
        width: 20px;
        height: 20px;
    }
	*/
    .loop_content .txt_zone, .loop_content .img_zone{
        display:table-cell;
        vertical-align:middle;
        width: 50%;
    }
    .loop_content .txt_zone{
        padding: 0 10px;
    }
    .loop_content .img_zone img{
        border-radius:8px;
    }
    .cate li{
        padding:3px 5px;
    }
    #u_layer .archive_line{
        background: url(../img/schedule_headlinebg_sp.png) repeat center center;
        background-size: contain;
        height: 65px;
        border-bottom: none;
        padding-left: 5%;
    }
    #u_layer .archive_line div h2.instructor_title:after {
        width:30px;
        height:30px;
    }
    
    #u_layer .archive_line div h2.news_title:after {
        width:30px;
        height:25px;
    }
    
    .loop .btn05 {
        margin: 30px auto 40px;
    }
    
    .wp-pagenavi {
        margin: 0;
    }
    
    .back a {
        width: 300px;
        margin: 30px auto 40px;
    }
    
}