/*
Theme Name: 2column-matome
Theme URI: http://example.com/your-theme
Description: 2カラムのまとめサイト用のテーマです
Author: kenichi
Version: 1.0
*/

/* ---FANZA記事CSS--- */
.introduction-video{
	display: block;
	margin: 0 auto;
	margin-top: 3%;
	margin-bottom: 3%;
}
.introduction-video iframe{
	display: block;
	width: 98%;
}

.introduction{
	display: block;
	width: 90%;
	margin: 0 auto;
	margin-top: 6%;
	margin-bottom: 6%;
	padding: 3%;
	border:solid #0080FF 3px;
	border-radius: 6px;
}

#contents-page .link-area{
	width: 96% !important;
	margin: 0 auto;
	margin-top: 1%;
	margin-bottom: 1%;
	padding: 4% 0;
}
#contents-page .video-link{
	display: block;
	margin: 0 auto;
	margin-top: 1%;
	text-align: center;
	width: 90%;
	padding: 1%;
	color: white !important;
	background: #21759b;
	border: solid grey 1px;
	border-radius: 8px 8px;
	font-size: 16px;
	font-weight: bold;
	text-decoration: none;
}
#contents-page .syouhin-link{
	display: block;
	margin: 0 auto;
	margin-top: 1%;
	text-align: center;
	width: 90%;
	padding: 1%;
	color: white !important;
	background: #FE2E2E;
	border: solid grey 1px;
	border-radius: 8px 8px;
	font-size: 16px;
	font-weight: bold;
	text-decoration: none;
}
#contents-page .video-link:hover, #contents-page .syouhin-link:hover{ background: #FA5882; }

#contents-page .syouhin-link img{
	width: 30%;
}
#contents-page .syouhin-link span{
	width: 68%;
	display: inline-block;
	vertical-align: top;
	margin-left: 1%;
}

#contents-page　.link-line a{ text-decoration-line: underline; }



/* 初期化 */
html, body, header, footer, div, article, p, a, ul, li{
    margin: 0px;
    padding: 0px;
}
ul li{
    list-style: none;
}
a{
    word-break: break-word;
    text-decoration: none;
}
a:hover{
   opacity: 0.33; 
}

/* body */
body{
    background-color: #FaFaFe;
}

/* header */
header{
        border-bottom: solid 1px #ddd;
}
#header-inner{
    margin: 0 auto;
    width: 90%;
    padding: 2%;
    display: flex;
}
#header-inner .block1{
    width: 30%;
}
#header-inner .block1 h1,#header-inner .block1 h1 a{
    font-size: 1.1em;
    font-weight: bold;
}

#header-inner .block1 p{
    font-size: 0.8em;
}

/* header-menu */
#main-menu{
    border-bottom: solid 1px #ddd;
}
.nav-menu ul{
    margin: 0 auto;
    width: 90%;
    padding: 1% 2%;
    
}
.nav-menu ul li{
    list-style: none;
    display: inline-block;
    margin-right: 2%;
}
.nav-menu ul li a{
    xcolor: #FFF;
}

/* main */
#wrapper{
    margin: 0 auto;
    width: 90%;
    display: flex;
    padding: 3% 1% 1% 1%;
}
main{
    width: 68%;
    padding: 0 1% 1% 1%;
}

/* //////////////////////////////////////////////////////////////////////
// 一覧ページ
////////////////////////////////////////////////////////////////////////*/

#loop-page{
    padding: 1% 0 3% 0;
	display: flex;
	flex-wrap: wrap;
}

#loop-page .loop-page-title{
    width: 100%;
    padding: 1%;
}

#loop-page article{
	width: 30%;
    margin: 0 1% 9% 0;
    padding: 0 1% 1% 1%;
    background-color: #FFF;
    border: solid 1px #ddd;
    border-radius: 6px 6px;
	overflow: hidden;
}

#loop-page article p{
    margin: 1% 2%;
}

#loop-page article h2{
    font-size: 1.0em;
    font-weight: bold;
    color: black;
    height: 76px;
	overflow: hidden;
}

#loop-page article .attachment-thumbnail{
   	display: block;
	margin: 0 auto;
	width: 96%;
	height: 160px;
}

/* 
#loop-page .loop-tags, #loop-page .post-categories{
    margin-left: 6%;
}

#loop-page article .post-categories li{
	display: inline-block;
}

#loop-page .loop-tags a, #loop-page .post-categories li{
    font-size: 13px;
    font-weight: bold;
    color: #FFF;
    background-color: blue;
    border-radius: 6px 6px;
	margin: 1% 0;
    padding: 2% 2%;
}
#loop-page .post-categories li a{
    color: #FFF;
} */


/* //////////////////////////////////////////////////////////////////////
// 投稿&固定ページ
////////////////////////////////////////////////////////////////////////*/

#contents-page {
    background-color: #FFF;
    border: solid 1px #ddd;
    border-radius: 6px 6px;
    padding: 0 2%;
}
#contents-page article{
    overflow: hidden;
}
#contents-page .time-category, #contents-page .tags{
    margin: 2% 0;
}
#contents-page .time-category i:first-child{
    margin: 0 1px 0 0;
}
#contents-page .time-category i:nth-child(2){
    margin: 0 1px 0 2%;
}

/* 見出し */
#contents-page article h1{
    max-height: 3em;
    overflow: hidden;
	font-size: 1.3em;
	margin: 3% 0 3% 0;
}
#contents-page article h2{
	font-size: 1.2em;
	margin: 9% 0 3% 0;
	border-radius: 3px;
	padding: 3% 0% 3% 2%;
	color: #FFF;
	background-color: #A9BCF5;

}
#contents-page article h3{
	font-size: 0.9em;
	margin: 9% 0 3% 0;
}
#contents-page article h4, #contents-page article h5, #contents-page article h6{
	font-size: 0.8em;
	margin: 9% 0 3% 0;
}

#contents-page article blockquote{
	background-color: red;
	margin: 2%;
	padding: 1%;
	border-radius: 6px;
	background-color: #f5f5f5;
	border: 1px solid #ccc;
	font-family: Georgia, serif;
	font-style: italic; 
}

blockquote::before {
  content: "\201C"; 
  font-size: 2em; 
  color: #999;
  margin-left: 10px;
}

blockquote::after {
  content: "\201D";
  font-size: 2em;
  color: #999;
  margin-right: 10px;
}


#contents-page article img, #contents-page article video{
    display: block;
    margin: 0 auto;
    margin-top: 2%;
    margin-bottom: 2%;
    width: 100%;
}


/****  前の記事&次の記事  ****/
.prev_next{
	margin: 6% 0 18% 0;
}
.prev,
.next{
	width: 46%;
	height: 200px;
	overflow: hidden;

}
.prev{
	float: left;
}
.next{
	text-align: right;
	float: right;
}
.prev_next_header{
	color: #666;
}


/**** 関連記事 ****/
.quarter_posts{
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	margin: 2%;
}
.quarter_post{
	width: 24%;
}
.quarter_post h3{
	font-size: 0.9em;
}
.quarter_post .no_thumbnail{
	font-size: 0.8em;
}

.category_desc{
	width: 94%;
	max-width: 780px;
	color: #666;
	margin: 0 auto;
}


/* //////////////////////////////////////////////////////////////////////
// その他
////////////////////////////////////////////////////////////////////////*/

/* sidebar */
#sidebar{
    width: 27%;
}
#sidebar .box{
    padding: 1% 3% 3% 3%;
    margin-bottom: 9%;
    background-color: #FFF;
    border: solid 1px #ddd;
    border-radius: 6px 6px;
}
#sidebar h2{
    border-bottom: solid 1px #ddd;
	font-size: 1.0em;
    padding: 1% 3%;
}
#sidebar #searchform #s{
    width: 80%;
}

/* ---カテゴリ・タグウィジェット-- */
#categories-2 ul li{
	display: inline-block;
	margin: 2% 1%;
	padding: 5px;
	box-shadow:0px 0px 3px 1px #c8c8c9;
	border-radius:6px;
}

#tag_cloud-2 ul li{
	display: inline-block;
	margin: 2% 1%;
	padding: 5px;
	box-shadow:0px 0px 3px 1px #c8c8c9;
	border-radius:6px;
}
#categories-2 ul li a, #tag_cloud-2 ul li a{
	font-size: 16px !important;
	font-weight: bold;
}



/* footer */
footer{
    padding: 1%;
    text-align: center;
    background-color: grey;
}
footer a{
    color: #FFF;
}



/****  ページネーション  ****/
.pagination{
	clear:both;
	line-height: 35px;
	text-align: center;
	margin-bottom: 30px;
	
}
.pagination span,
.pagination a {
	display:inline-block;
	line-height: 40px;
	text-align: center;
	padding-left: 4px;
	padding-right: 4px;
	margin-left: 8px;
	text-decoration: none;
	border-width: 1px;
	border-style: solid;
	min-width: 34px;
}
.pagination a:first-child{
	margin: 0;
}

.pagination .current, .pagination a:hover {
    color: #FFFFFF;
    background: #1c294d;
    opacity: 1;
}


/****  パンくず  ****/
.bread-wrap{
	min-height: 8px;
	padding: 0% 2%;
	color: #FFFFFF;
    background: #1c294d;
}
.bread{
	font-size: 0.84em;
	padding: 6px;
}
.bread i{
	margin-right: 2px;
}
.bread a{
	color: #FFFFFF;
	text-decoration: none;
}

/****  TOP&HOME戻るボタン  ****/
.ui_buttons{
	position: fixed;
	bottom: 15px;
	right: 20px;
	z-index: 10;
	
}
.ui_button{
	width: 36px;
	height: 30px;
	float: right;
	line-height: 20px;
	font-size: 24px;
	text-align: center;
	border-radius: 50%;
	margin-left: 8px;
	cursor: pointer;
	background: grey;
    color: #FFFFFF;
    padding-top: 8px;
}


/* //////////////////////////////////////////////////////////////////////
// 投稿記事
////////////////////////////////////////////////////////////////////////*/

/* iframe */
#contents-page  .embed-video{
	margin: 9% 0;

}
#contents-page  .embed-video iframe{
	width: 100%;
	height: 420px;
}


/* リンク */
#contents-page .link, #contents-page .video-link, #contents-page .video-click{
	display: block;
	margin: 0 auto;
	margin-top: 1%;
	text-align: center;
	width: 90%;
	padding: 1%;
	background: #2E2EFE;
	border: solid grey 1px;
	border-radius: 2%;
	font-size: 16px;
	font-weight: bold;
	text-decoration: none;
}
#contents-page .link, #contents-page .video-link, #contents-page .video-link a, #contents-page .video-click a{ color: #FFF; }

/* //////////////////////////////////////////////////////////////////////
// 関連記事&ブログパーツ&サイドバー人気記事
////////////////////////////////////////////////////////////////////////*/

/* 関連記事&記事下のカテゴリーごとのリンク */

aside .box_header{
    font-size: 1.2em;
    font-weight: bold;
    text-align: center;
}

aside .related_name_header{
    border: 3px solid #0000cc;
    xbackground-color: #ffffff;
    color: #0000cc;
    border-radius: 3px;
    padding: 1% 0;
    font-size: 0.8em;
    font-weight: bold;
    xtext-align: center;
    padding-left: 3%;
    
}


aside .related-post a{
    border: 1px solid #0000cc;
    border-radius: 3px;
    width: 20%;
    height: 170px;
    overflow: hidden;
    display: inline-block;
    margin: 0 2% 3% 2%;
    vertical-align: top;
}
aside .related-post a p, aside .random-links p{
    background-color: #ffffff;
    font-family: "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "游ゴシック", "Yu Gothic", "メイリオ", Meiryo, Osaka, sans-serif;
    font-size: 0.8em;
    font-weight: bold;
    color: #0000cc;
    padding: 1% 2%;
    
}
aside .related-post img{
    width: 100%;
    height: 100px;
}

/* サイト上部のランダム画像リンク */
aside .random-links{
    display: block;
    margin: 0 auto;
    width: 90%;
    padding: 1% 1%;
}

aside .random-links a{
    border: 1px solid #0000cc;
    border-radius: 3px;
    width: 16%;
    height: 170px;
    overflow: hidden;
    display: inline-block;
    margin: 0 2px 1% 2px;
    vertical-align: top;
}

aside .random-links img{
    width: 100%;
    height: 120px;
}

/* サイドバー人気記事 */
.sidebar-popular_posts{
    padding: 1%;
}
.sidebar-popular_posts li{
    margin: 1% 0 6% 0;
    height: 300px;
    overflow: hidden;
}
.sidebar-popular_posts li a img{
    width: 100%;
    height: 180px;
}
.sidebar-popular_posts li a p{

    height: 80px;
    overflow: hidden;
    font-family: "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "游ゴシック", "Yu Gothic", "メイリオ", Meiryo, Osaka, sans-serif;
    font-size: 1.1em;
    font-weight: bold;
}


/* //////////////////////////////////////////////////////////////////////
// tablet&sp
////////////////////////////////////////////////////////////////////////*/


@media screen and (max-width: 800px){
	#loop-page article{
        width: 46%;
    }
    .prev_next{
    	margin: 6% 0 70% 0;
    }
    
    
    /* 関連記事&ブログパーツ  */
    aside .related-post a{
        width: 28%;
        margin: 0 2% 3% 2%;
    }
    aside .random-links a{
        width: 22%;
        margin: 0 2px 1% 2px;
    }
}


@media screen and (max-width: 500px){
    #header-inner{
        display: block;
    }
    #header-inner .block1{
        width: auto;
    }
    #wrapper{
        width: auto;
        display: block;
    }
	main{
        width: auto;
    }
	#loop-page article{
        width: 46%;
    }
    #sidebar{
        width: auto;
    }

    /* 関連記事&ブログパーツ  */
    aside .random-links a{
        width: 30%;
        margin: 0 2px 1% 4px;
    }
    
}
