@charset "utf-8";
/*
Theme Name: 相模経済新聞
Theme URI: 
Description: 
Author: NAD
Version: 1.0
*/

*{
margin: 0;
padding: 0;
}
textarea, input[type="text"], input[type="password"], input[type="datetime"], input[type="datetime-local"], input[type="date"], input[type="month"], input[type="time"], input[type="week"], input[type="number"], input[type="email"], input[type="url"], input[type="search"], input[type="tel"], input[type="color"], input[type="submit"], .uneditable-input, .wpcf7-form input[type="text"], .wpcf7-form input[type="password"], .wpcf7-form input[type="email"], .wpcf7-form input[type="url"], .wpcf7-form input[type="tel"], .wpcf7-form input[type="submit"], .wpcf7-form textarea, input[type="checkbox"], input[type="radio"], select, .header-banner-content, ul#global_menu_ul .menu-caption, ul#global_menu_ul li a, #hd_searchform #searchform input#searchtext, #hd_searchform table.gsc-search-box td.gsc-input, .content blockquote, .content table, .content dl, #loop-section.normal .loop-media-icon a, #loop-section.portfolio .loop-article, #loop-section.portfolio .loop-article header, .entry .wp-caption, .entry img, #switch_comment_type li, #commentform input[type="text"], #commentform input[type="url"], #commentform input[type="email"], #commentform textarea, nav.navigation .nav-arrow, .dp_tab_widget_ul li, div.gsc-input-box, .hd-slide-nav{
-moz-box-sizing: border-box;
-webkit-box-sizing: border-box;
-o-box-sizing: border-box;
-ms-box-sizing: border-box;
box-sizing: border-box;
}

img{
    border: 0 none;
    line-height: 0;
    margin: 0;
    padding: 0;
    vertical-align: bottom;
}
a, a:visited {
    color: #3a3a3a ;
}
a, a:hover, a:visited, a:active {
    font-style: normal;
    font-weight: normal;
    text-decoration: none;
}
ul {
    list-style: outside none none;
}
h1, h2, h3, h4, h5, h6 {
    font-style: normal;
    font-weight: normal;
}
.clearfix:after {
    content:" ";
    display:block;
    clear:both;
}
html {
font-family: Arial,"ヒラギノ角ゴ ProN W3","Hiragino Kaku Gothic ProN","メイリオ",Meiryo,"ＭＳ Ｐゴシック",sans-serif;
font-size: 62.5%;
}
body{
height: 100%;
word-wrap: break-word;
background: #FFF;
}

#wrapper{
}

/*****************
	レイアウト
*****************/
#masthead,#main,#mastfoot,#topnav ul,#top-inner{
	width:1010px;
	margin: 0 auto;
}
#container{
    clear: both;
    overflow: hidden;
}
#main{
	margin: 20px auto 30px;
}
#left_column{
	width: 680px;
	float: left;
}
#right_column{
	width: 280px;
	float: right;
}
#footer{
}
/*****************
	ヘッダー
*****************/
#header{
padding: 20px 0 15px;
}
#masthead{
overflow: hidden;
}
#masthead p{
    font-size: 1.2rem;
    margin: 0 0 10px;
}
#search{
    display: inline-block;
    float: left;
    width: 33%;
}
#search-form{
    background: #fff none repeat scroll 0 0;
    height: 35px;
    margin: 14px 0 0;
    width: 200px;
}
#search-form .search-field{
    background: rgba(0, 0, 0, 0) url("images/header/search.png") no-repeat scroll -15px center / 60px auto;
    border: 1px solid #e6e6e6;
    border-radius: 0px;
    height: 35px;
    line-height: 1;
    padding: 10px 10px 10px 36px;
    width: 230px;
}
#logo{
    float: left;
    text-align: center;
    width: 33%;
}
#headinfo{
    float: left;
    text-align: right;
    width: 33%;
    margin: 12px 0 0 ;
}
/*****************
	ナビゲーション
*****************/
#topnav{
    clear: both;
overflow: hidden;
background: #009fe8;
}
#topnav ul{
	border-left: 1px solid #fff;
	overflow: hidden;
}
#topnav li{
    border-right: 1px solid #fff;
    display: table-cell;
    height: 27px;
    margin: 0;
    padding: 4px 25px;
    text-align: center;
    vertical-align: middle;
}
#topnav li:nth-last-of-type(1){
margin: 0;
}
#topnav li:hover{
background:#7ecef4;
}
#topnav li a{
    color: #fff;
    display: block;
    font-size: 1.2rem;
    font-weight: 900;
    line-height: 1.1;
}
#topnav li.active{
background: #E3F3FB;
}
#topnav li.active a{
color: #009fe8;
}
/*****************
	サイドナビ
*****************/
.side_widget:not(:first-of-type){
margin-top: 30px;
}

/*****************
	サイドナビ ランキング
*****************/
.side-rank-article{
clear: both;
margin: 0 0 20px;
overflow: hidden;
}
.side-rank-list_thumb {
    position: relative;
float: left;
}
.side-rank-list_thumb::before {
    -moz-border-bottom-colors: none;
    -moz-border-left-colors: none;
    -moz-border-right-colors: none;
    -moz-border-top-colors: none;
    border-color: #009fe8 transparent transparent #009fe8;
    border-image: none;
    border-style: solid;
    border-width: 11px;
    content: "";
    left: 0;
    position: absolute;
    top: 0;
    z-index: 1;
}
.side-rank-list_thumb::after {
    color: #fff;
    font-size: 1rem;
    left: 3px;
    position: absolute;
    top: 0;
    z-index: 2;
}
.side-rank-article:nth-of-type(1) .side-rank-list_thumb::after {
    content: "1";
}
.side-rank-article:nth-of-type(2) .side-rank-list_thumb::after {
    content: "2";
}
.side-rank-article:nth-of-type(3) .side-rank-list_thumb::after {
    content: "3";
}
.side-rank-article:nth-of-type(4) .side-rank-list_thumb::after {
    content: "4";
}
.side-rank-article:nth-of-type(5) .side-rank-list_thumb::after {
    content: "5";
}
.side-rank-list_title{
    float: left;
    padding-left: 12px;
    position: relative;
    width: 194px;
}
.side-rank-list_title h4{
    -moz-box-orient: vertical;
    display: -moz-box;
    font-size: 1.3rem;
    line-height: 1.4;
    max-height: 5.46rem;
    font-weight: 400;
    margin: 0 0 10px;
vertical-align: top;
}
/*****************
	サイドナビ おすすめ
*****************/
.side-reco{
}
.side-post-article{
clear: both;
margin: 0 0 20px;
overflow: hidden;
}
.side-post-article a{
}
.side-post-list_thumb{
}
.side-reco .side-post-list_thumb {
    position: relative;
    float: left;
    height: 74px;
    width: 74px;
    background-color: #fff;
}
.side-reco .side-post-list_title{
    float: left;
    padding-left: 12px;
    position: relative;
    width: 194px;
}
.side-reco .side-post-list_title h4{
    -moz-box-orient: vertical;
    display: -moz-box;
    font-size: 1.3rem;
    line-height: 1.4;
    max-height: 5.46rem;
    font-weight: 400;
    margin: 0 0 10px;
vertical-align: top;
}
/*****************
	サイドナビ バナー
*****************/
.side_twitter{
}
.side_banner{
padding: 5px;
background: #f1f1f1;
}

.side_banner li{
margin: 0 0 5px;
}
.side_banner li:nth-last-of-type(1){
margin: 0;
}


/*****************
	フッター
*****************/
#footer {
    background-color: #303233;
    padding-bottom: 30px;
    padding-top: 30px;
}
#footer #mastfoot {
width: 1010px;
margin: 0 auto 30px;
}
#footer #mastfoot #footlink {
    float: left;
    width: 690px;
}
#footer #mastfoot #footlink dl {
    color: #fff;
    float: left;
    font-size: 1.3rem;
    width: 25%;
}
#footer #mastfoot #footlink dl dt {
    font-weight: bold;
    margin-bottom: 10px;
}
#footer #mastfoot #footlink dl dd {
    margin-bottom: 5px;
}
#footer #mastfoot #footlink dd a {
    color: #ccc;
}
#footer #mastfoot #footlogo {
    float: right;
    text-align: center;
    width: 300px;
}
#footer #mastfoot #footlogo dl dt {
    margin-bottom: 20px;
}
#footer #mastfoot #footlogo dl dd ul {
    margin: 0;
    padding: 0;
}
#footer #mastfoot #footlogo dl dd ul li {
    display: inline;
    margin-right: 10px;
}
#about {
    color: #999;
width: 1010px;
margin: 0 auto 30px;
}
#about h4 {
    border-bottom-style: solid;
    border-bottom-width: 1px;
    font-size: 1.45rem;
    font-weight: bold;
    margin-bottom: 10px;
    padding-bottom: 10px;
}
#about p {
    font-size: 1.3rem;
}
address {
    color: #666;
    font-size: 1.1rem;
    text-align: center;
width: 1010px;
margin: 0 auto 0px;
}
address a {
    color: #666;
}
/*****************
	ページタイトル
*****************/
.main-title::before, .side_title::before {
    position: absolute;
    background: #009fe8 none repeat scroll 0 0;
    content: "";
    height: 100%;
    left: 0;
    top: 0;
    width: 7px;
}
.main-title, .side_title {
    color: #4b4b4b;
    font-size: 1.6rem;
    font-weight: 700;
    margin: 0 0 15px;
    padding: 4px 4px 4px 16px;
    position: relative;
counter-reset:rank;
clear: both;
}
.post-list_title h4{
    text-align: justify;
    font-weight: 400;
	font-size: 1.5rem;
}
#post-wrap h2 {
    color: #009fe8;
    font-size: 19px;
    margin: 25px 0 10px;
}
/*****************
	特ダネ
*****************/
#exclusive-post{
width: 680px;
height: 380px;
position: relative;
margin: 0 0 28px;
        text-align: center;
        background: #fff;
        /* Center slide text vertically */
        display: -webkit-box;
        display: -ms-flexbox;
        display: -webkit-flex;
        display: flex;
        -webkit-box-pack: center;
        -ms-flex-pack: center;
        -webkit-justify-content: center;
        justify-content: center;
        -webkit-box-align: center;
        -ms-flex-align: center;
        -webkit-align-items: center;
        align-items: center;
}
.exclusive-thumb img{
width: 680px;
height: 380px;
}
.exclusive-title{
    bottom: 20px;
    color: #fff;
    font-size: 1.9rem;
    font-weight: bold;
    padding-left: 20px;
    padding-right: 20px;
    position: absolute;
    z-index: 10000;
    text-shadow: 1px 1px 2px #000;
}

/*****************
	おすすめ記事
*****************/
#recommend-post{
}
#recommend-post .post-article{
    float: left;
    margin-bottom: 28px;
    width: 208px;
	height: 291px;
	overflow: hidden;
}
#recommend-post .post-article:nth-of-type(3n-1){
margin: 0 28px 28px
}
#recommend-post .post-article:nth-of-type(3n-2) {
    clear: both;
}
#recommend-post .post-list_thumb{
    height: 126px;
    margin: 0 0 10px;
    overflow: hidden;
    position: relative;
    width: 208px;
}
#recommend-post .post-list_thumb img{
    border: medium none;
    height: 151px;
    left: 0;
    position: absolute;
    width: 208px;
    z-index: 10;
}
#recommend-post .post-list_title h4{
    margin: 0 0 5px;
min-height: 46px;
}
#recommend-post .post-list_excerpt{
font-size: 1.1rem;
color: #999;
}
/*****************
	記事一覧
*****************/
#all-post{
}
#all-post .post-list{
}
#all-post .post-article{
    margin-bottom: 28px;
    overflow:hidden;
    clear: both;
}
#all-post .post-article a{
}
#all-post .post-list_thumb{
float: left;
    margin: 0 10px 10px 0;
}
#all-post .post-list_thumb img{
width: 233px;
height: 141px;
}
#all-post .post-list_title{
}
#all-post .post-list_title h4{
    margin: 0 0 10px;
    font-size: 1.7rem;
}
#all-post .post-list_excerpt{
font-size: 1.1rem;
color: #999;
}
/*****************
	ページネーション
*****************/
.pagenation {
    text-align: center;
clear: both;
}
.pagenation li {
display:inline-block;
}
.pagenation li:not(:last-of-type) {
    margin-right: 10px;
}
.pagenation li a{
    padding: 12px;
    border: 1px solid #f3f3f3;
    background-color: #fff;
    text-decoration: none;
}
.pagenation li a:hover, .pagenation li span {
    text-decoration: none;
    border: 1px solid #f3f3f3;
    background: #f3f3f3 none repeat scroll 0 0;
    color: #fff;
    padding: 12px;
}

/*****************
	投稿・固定ページ
*****************/
#post-wrap{
}
#post-img{
margin: 0 0 30px;
}
#post-content{
font-size: 1.5rem;
line-height: 1.6;
}
.wp-caption-text{
font-size: 1.2rem;
}
.post-more{
font-size: 1.6rem;
text-align: right;
margin: 30px 0;
}
.alignleft{
float: left;
margin: 0 30px 25px 0;
}

.line1 ,.line2 {
margin: 0 0 0 30px;
}
.line1 li {
    float: left;
    list-style: none;
    margin: 0 30px 30px 0;
}
.line2 li {
    float: left;
    list-style: none;
    margin: 0 100px 30px 0;
}
.line1 li img, .line2 li img {
display: block;
}
table, td, th {
    border: 2px solid #f0f0f0;
    border-collapse: collapse;
}
th {
    background: #ffffff none repeat scroll 0 0;
    font-weight: normal;
}
td, th {
    height: 25px;
    padding: 3px;
    vertical-align: middle;
}
.wp_social_bookmarking_light{
overflow: hidden;
}
.about-catch{
text-align: center;
    margin: 0 0 20px;
}
.about-article blockquote{
text-align: right;
margin: 0 0 20px;
}
.about-article{
border-bottom: 1px solid #009fe8;
padding: 0 0 40px;
margin: 0 0 40px;
}
.about-article:nth-of-type(1){
border: none;
padding: 0;
}
.about-article .about-photo{
width: 350px;
margin: 0 auto;
}
.about-article .about-photo img{
width: 100%;
}
.about-article h2{
text-align: center;
}
.about-offer{
text-align: center;
}
.about-offer p{
margin: 30px 0 20px;
}
.about-offer mark{
    background: #fff;
    border: 1px solid;
    display: inline-block;
    padding: 5px 10px;
margin: 0 5px 5px;
}
/*****************
	会社概要
*****************/
.company-catch{
text-align: center;
    margin: 0 0 20px;
}
.company-article blockquote{
text-align: right;
margin: 0 0 20px;
}
.company-article{
border-bottom: 1px solid #009fe8;
padding: 0 0 40px;
margin: 0 0 40px;
}
.company-article:nth-of-type(1){
border: none;
padding: 0;
}
.company-article .company-photo{
width: 210px;
margin: 0 auto;
}
.company-article .company-photo img{
}
.company-article h2{
text-align: center;
}
.company-idea{
text-align: center;
font-size: 16px;
}
.company-offer mark{
    background: #fff;
    border: 1px solid;
    display: inline-block;
    padding: 5px 10px;
margin: 0 5px 5px;
}
/*****************
	コンタクトフォーム
*****************/
.wpcf7 form p {
    margin: 0 0 10px 30px;
    width: 100%;
    font-size: 14px;
    line-height: 22px;
}
span.wpcf7-form-control-wrap {
    position: relative;
}
.wpcf7 input {
    margin: 0 18px 0 0;
    width: 45%;
}
.wpcf7 textarea {
    margin: 0 30px 0 0;
    width: 585px;
}
.wpcf7 input, .wpcf7 textarea {
    background: #fff url("images/search_inset.gif") repeat-x scroll center top;
    border: 1px solid #e0e0e0;
    color: #999;
    font-family: Arial,Helvetica,sans-serif;
    font-size: 12px;
    padding: 10px;
}