@charset "UTF-8";

/*子テーマ用「rwd.css」*/




/*-------------------------------------
width736px以下で、関連記事を2列表示を解除
-------------------------------------*/
@media 
only screen and (max-width : 736px) {
    /*画面幅736px以下の時に関連記事を1カラムにする*/
    .related-articles-thumbs01 li {
        font-size: 1em;
        clear:both;
        width: 100%;
    }	
}


/*--------------------------------
ロゴ画像左右ワイド
---------------------------------*/
@media only screen and (max-width: 736px) {
.site-title {
  padding: 0!important;
}
   .main-body {
   margin-top: 0;
}
.main-image {
   margin: 0;
}
}

/*--------------------------------
ロゴ画像スマホ用
---------------------------------*/
@media only screen and (max-width: 736px) {
.site-title img {
	visibility: hidden;
}
.site-title {
	padding: 0;
	background-image: url(https://kries.jp/uchiblog/wp-content/uploads/2017/07/uchi_mobile_main2.jpg);
	background-size: 100%;
	background-repeat: no-repeat;
	position: absolute;
	top: 40px;
	left: 0;
	bottom: 0;
	right: 0;
}
.site-header-conts:before {
	content: "";
	display: block;
	padding-top: 50%;
}

.site-header-conts {
	padding-top: 40px;
	padding-bottom: 0;
}
.site-header-conts a {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	text-indent: -999px;
}
}

/*--------------------------------
メイン画像分余白削除
---------------------------------*/
@media only screen and (max-width: 736px) {
.site-header-in  {
   padding-bottom: 0;
}

.site-header-conts {
    padding-bottom: 0px;
    padding-top: 40px;
}

.site-header-in img {
    width: 100%;
    height: auto;
}

.main-image {
    border-bottom: #fff solid 2em;
    border-top: none;
    margin-top: -3px;
    background: #fff;
    margin-bottom: 0;
}

.main-body-in {
    padding-top: 5px;
}
}

/*--------------------------------------------------------
モバイル　コメント
--------------------------------------------------------*/

@media only screen and (max-width: 736px) {
.btn-form01 {
    padding-top: 10px;
    padding-bottom: 10px;
}
}

@media only screen and (max-width: 736px) {
textarea#comment {
        height: 30px;
}
}

/* 名前 */
@media only screen and (max-width: 736px) {
.comment-form-author input {
width: 80%;
}
}

/* url */
@media only screen and (max-width: 736px) {
.comment-form-url input {
width: 80%;
}
}

/*--------------------------------------------------------
個別記事のケイなしに
--------------------------------------------------------*/
@media only screen and (max-width: 736px) {
.single .section-wrap {
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    margin-bottom: 30px;
    border: none;
}
}

/*--------------------------------------------------------
フッター
--------------------------------------------------------*/
@media only screen and (max-width : 736px){
.site-footer-nav,.site-footer-conts-area {
    width: 100%;
    display: block;
}
}

@media only screen and (max-width: 736px){
.site-footer-nav li, .site-footer-nav li:first-child {
    margin-left: 50px;
}
}

@media only screen and (max-width: 736px){
.site-footer {
    margin-top: 30px;
}
}


/*--------------------------------------------------------
single記事タイトル
--------------------------------------------------------*/
@media only screen and (max-width: 736px){
.section-wrap .section-in .section-title, .section-wrap .article-header .section-title {
    margin: -10px 0 10px 0;
    padding: 0px;
    font-size: 1.4em;
}
}



/*--------------------------------------------------------
パンくずサイズ
--------------------------------------------------------*/
@media only screen and (max-width: 736px){
.breadcrumbs{
font-size: 0.8em;
margin-top: 10px;
}
}

/*--------------------------------------------------------
投稿日／カテゴリ
--------------------------------------------------------*/
@media only screen and (max-width: 736px){
.post-date {
font-size: 0.8em;
margin-top: 20px 0 5px 0;
}
}

@media only screen and (max-width: 736px){
.post-cat {
display: none;
}
}


/*--------------------------------------------------------
記事下広告の間隔調整
--------------------------------------------------------*/
@media only screen and (max-width: 736px){
.double-rectangle {
     margin-bottom: 30px;
}

.textbox2 {
    background-color: #f3f5f6;
    padding: 10px 0px 10px;
    margin: 0 0 10px 0;
}

h3#reply-title {
    margin-top: 40px;
}

.comment-form-author, .comment-form-mail, .comment-form-url {
    margin-bottom: 0.5em;
}

.main-body {
    padding-bottom: 0px;
}

.sub-conts .section-wrap {
    margin: 40px 0 0 0;
    padding: 0;
    border: none;
}

.pager {
    margin-bottom: 50px;
    margin-top: 30px;
}
}



/* ----------------------------------------------------
hタグ調整
-----------------------------------------------------*/
@media only screen and (max-width: 736px){
.main-body h2 {
    font-size: 1.4em;
    line-height: 1.5;
    padding: 0.7em 0.5em;
}

.main-body h3 {
    line-height: 1.5;
}

.main-body h1 {
margin: 0;
padding: 0;
}

.main-body .archive-title {
    margin: 5px 15px 0 15px;
    font-size: 1.5em;
    line-height: 1.5;
}
}

/* ----------------------------------------------------
一覧／カテゴリ／アーカイブ表示調整
-----------------------------------------------------*/
@media only screen and (max-width : 736px){
.mb-sample {
    clear: both;
}
.mb-sample .eye-catch {
    float: left;
    margin: 0 2% 0 3%;
}
.mb-sample .eye-catch img {
    width: 90px;
    margin: 0.6em 0.2em 0.6em 0.6em;
}
.main-body h2.mb-sample-title  {
    font-size: 1em;
    line-height: 1.7;
    border-bottom: none;
    background: #fff;
    font-weight: bold;
    margin: 0;
    padding: 0;
    height: 74px;
}

.main-body h2.mb-sample-title  a {
    color: #333;
    margin: 0;
}

.mb-sample-content {
    border: 1px solid #ccc;
    padding: 3% 2% 0 0;
    margin: 3%;
}

.mb-date {
    font-size: 0.8em;
    text-align: right;
    color: #bfbfbf;
}
}


/*コメント欄折り畳み*/
@media only screen and (max-width : 736px){
#comment-open .comment-open-btn{
 display: block;
 margin-bottom: 1em;
 padding: 0.5em;
 padding-left: 1em;
 color: #fff;
 font-size: 1em;
 cursor: pointer;
 background-color: #5e8599;
}

#comment-open #comment-open-in{ display: none; }

#comment-open .showComentopen{
 display: block!important;
}
}

/* ----------------------------------------------------
カテゴリ／アーカイブタイトル
-----------------------------------------------------*/
@media only screen and (max-width : 736px){
.main-body .archive-title {
font-size:1.1em;
}

.content-area.section-wrap {
    margin: 0;
}
}


/* ----------------------------------------------------
snsボタン上下帯
-----------------------------------------------------*/
@media only screen and (max-width : 736px){
ul.sns.clearfix {
     padding: 10px 0 0 0;
}
}

/* ----------------------------------------------------
引用
-----------------------------------------------------*/

@media only screen and (max-width : 736px){
blockquote {
   padding-top: 0;
}

blockquote:before {
   background: none;
}
}


@media only screen and (max-width: 736px){
blockquote {
padding: 40px 15px 10px 15px;
}
}

@media only screen and (max-width: 736px){
blockquote:before{
    display: inline-block;
    position: absolute;
    top: 15px;
    left: 15px;
    vertical-align: middle;
    content: "\f10d";
    font-family: FontAwesome;
    color: #D6E2E5;
    font-size: 30px;
    line-height: 1;
}
}



/* ----------------------------------------------------
グレー背景左右
-----------------------------------------------------*/
@media only screen and (max-width: 736px){
ul.sns.clearfix {
 margin-left:-15px;
 margin-right:-15px;
 padding: 10px 15px;
}
}

@media only screen and (max-width: 736px){
.share-comm {
 margin-left:-15px;
 margin-right:-15px;
 padding: 10px 15px 0px;
}
}



/* ----------------------------------------------------
以下追加 170815
-----------------------------------------------------*/


/* ----------------------------------------------------
.textbox
-----------------------------------------------------*/
@media only screen and (max-width : 736px){
  .textbox {
    margin:0px -22px;
  }
}

/* ----------------------------------------------------
h2左右余白無しに
-----------------------------------------------------*/
@media only screen and (max-width : 736px){
	.main-body h2{
		margin:35px -15px 20px;
	}
}

/* ----------------------------------------------------
サイドバー下A8アド余白
-----------------------------------------------------*/
@media only screen and (max-width : 736px){
section#text-5 {
    margin: 0 0 -30px 0;
}
}


/* ----------------------------------------------------
ページトップ位置修正
-----------------------------------------------------*/
@media only screen and (max-width : 736px){
.page-top {
    position: fixed;
    right: 20px;
    bottom: 0px;
    z-index: 99;
    line-height: 1.2;
    margin-bottom: 70px;
}
}


/* ----------------------------------------------------
一覧アドセンス下の空き調整
-----------------------------------------------------*/
@media only screen and (max-width : 736px){
.feed {
    margin: 3%;
}
}

/* ----------------------------------------------------
左右アキの調整
-----------------------------------------------------*/
@media only screen and (max-width: 736px){
	.single-post .article-body img[src^="http://kries.jp"] ,
	.single-post .article-body img[src^="https://kries.jp"] {
		 width: 100vw;
		 margin: 0px -15px;
		 max-width: 100vw;
	}

	.single-post .article-body #prev_next img[src^="http://kries.jp"] ,
	.single-post .article-body #prev_next img[src^="https://kries.jp"] {
		width:auto;
	}

	.single-post .article-body .related-articles img[src^="http://kries.jp"] ,
	.single-post .article-body .related-articles img[src^="https://kries.jp"] {
		width:auto;
		margin:auto;
	}

}
/* ----------------------------------------------------
pager スマホ時のみ描画	
-----------------------------------------------------*/
#prev02 {
	float:left;
}
#prev02 .fa{
	margin-right:5px;
}
#next02 {
	float:right;
}
#next02 .fa{
	margin-left:5px;
}
#home02 {
	text-align:center;
	width:25px;
	margin:0px auto;
}
#home02 .fa{
	font-size:25px;
	vertical-align:-2px;
}
#debug {
	position:fixed;
	background:red;
	font-size:11px;
	padding:5px;
	z-index:10000;
	left:0px;
	top:0px;
	right:0px;
	width:100px;
	margin:auto;
	text-align:center;
	font-family:Arial, Helvetica, sans-serif;
	display:block;
	color:white;
}