@charset "utf-8";
/*
Template: jstork
Theme Name: stork_custom
Theme URI:http://open-cage.com/stork/
*/

html, body{
	font-family: "ヒラギノ角ゴ Pro W3","Hiragino Kaku Gothic Pro","メイリオ",Meiryo,Helvetica,sans-serif;
}

@media only screen and (min-width: 1166px){

	#inner-content{
		padding: 0px;
		
	}
	
	main#main {
	    margin: 0;
	}

    #main p{
        -webkit-font-smoothing: antialiased;
        -moz-osx-font-smoothing: grayscale;
    }
	
	#main_news_tab .sp-tabs .sp-tab {
	    width: 100%;
	    padding: 10px;
	    height: auto;
	    border-radius: 3px;
	    font-size: 17px;
	    font-weight: bold;
	    text-align: center;
	}

	
}
@media only screen and (max-width: 1165px) and (min-width: 768px){
	#inner-content {
    	padding: 0px;
	}
	
	#main {
	    width: 66%;
	    margin: 0px;
	    padding: 0px;
	}
	
	#main_news_tab .sp-tabs .sp-tab {
	    width: 100%;
	    padding: 10px;
	    height: auto;
	    border-radius: 3px;
	    font-size: 17px;
	    font-weight: bold;
	    text-align: center;
	}
	
	
	.header.headercenter #logo {
		display: inline-block;
	    float: left;
	}
	
	.header.headercenter #g_nav{
		float: right;
	}
}


.writers{
    overflow:hidden;
}
.writer-profile{
    width: 18%;
    min-height: 350px;
    margin:1%;
    float:left;
}
.writer-profile .name{
    text-align:center;
    font-weight:bold;
    padding:10px 0;
    margin:0;
}
.writer-profile .description{
    font-size:0.8em;
}
.writer-profile .button a{
    font-size:0.8em;
}
.writer-profile .button a:after{
    content:' >';
}


.sns .line a {
    background: #00b833;
    box-shadow: 0 3px 0 #00b833;
}

.sns .instagram a {
    background: black;
    box-shadow: 0 3px 0 black;
}


.pagination, .page-links{
		margin-top: 15px;		
	} 
    
@media only screen and (max-width: 767px)
{
	
	/*.adsbygoogle{
		display: block !important;
		margin: 0 auto !important;
	}*/

	#inner-header {
	    position: fixed;
	    top:0px;
	    z-index: 3;
	}

	.default_top_offset{
	    padding-top: 34px;
	}
	
	#breadcrumb{
		padding-top: 68px;
	}
	
	#top_carousel{
		/*display: none;*/
	}
	
	#sidebar1 {
		padding: 0;
		float: none;
	}

	.copyright {

	    font-size: 14px;
	    text-align: center;
	}
}

.byline .writer,
.byline .writer a{
	display: inline;
}

/*広告専用*/
.postsBoxInner {
	display: none;
}

div[id^='gmossp'] {
    text-align: left;
}

.widgettitle span {
    height: auto; 
}

.gmo_ssp_wrap2 a{
	height: auto !important;
}

#container {
	padding-bottom: 80px !important;
}

.taxonomy-description {
    margin-bottom: 0.5em;
}
@media screen and (min-width: 767px){
	.sp_layout{
		display: none;
	}
}
	
@media screen and (max-width: 767px){
		.pc_layout{
			display: none;
		}
	}