/*
Theme Name: AFFINGER4 Child
Template: affinger4
Version: 20160912β
*/
@import url('../affinger4/style.css');
.side_prof img.profpic{
	width:50%;
	margin-top:20px;
}
/*ボタンを変えるときはここから*/
.shoplinkamazon a{background-color:#FF9901 !important;
border-radius: 5px;padding: 5px 7px;margin: 5px;display: inline-block;color: #fff;font-size: 0.8rem;}
.shoplinkrakuten a{background-color:#c20004 !important;
border-radius: 5px;padding: 5px 7px;margin: 5px;display: inline-block;color: #fff;font-size: 0.8rem;}
.shoplinkkindle a{background-color:#007dcd !important;
border-radius: 5px;padding: 5px 7px;margin: 5px;display: inline-block;color: #fff;font-size: 0.8rem;}
.shoplinkkakakucom a{background-color:#314995 !important;
border-radius: 5px;padding: 5px 7px;margin: 5px;display: inline-block;color: #fff;font-size: 0.8rem;}
.shoplinkyahoo{display:none !important;}
/*ここまでを変更*/

/*釣行記テンプレート用*/
.choko-info{
background: #dcefff;
padding:20px;
font-size:0.9em;
overflow:hidden;
}
.choko-info dt:before{content:"・";}
.choko-info dt{
width:20%;
float:left;
clear:both;
}
.choko-info dd{
width:75%;
float:right;
margin-bottom:7px;
}
/*　//釣行記テンプレート用*/

.pnk {
    background-color: #ffcccc;
    color: #000;
}
.b_pink{
background-color: #FFFF99;
color: #000;
}
.txt_gray{color:#999;}
.txt_big{font-size:1.6em;}
.txt_red{color:#ff3300;}
.dot_bor {
    margin: 0 30px 20px 30px;
    padding: 20px;
    border: 1px dotted #999999;
    clear: both;
    overflow: hidden;
    font-size: 0.9em;
    line-height: 1.8em;
}
.graybox{
	overflow:hidden;
}
/*sns*/
#sns {
margin: 0 30px 1em 0;
padding: 0;
height: 21px;
font-size: 80%;
clear: both;
overflow: hidden;
}
#sns li {
float: left;
margin: 0 10px 0 0;
padding: 0;
line-height: 21px;
list-style-type: none;
}
main h1.entry-title {
	border-top: 5px solid #36F;
	border-bottom: 1px solid #333;
	color: #333333;
	font-size: 1.5em !important;
	padding: 1em 0 !important;
	clear: both;
	margin: 0 0 1em 0;
}
main h2{
	border-top: 5px solid #999;
}
main .mainbox h2,main .mainbox h3,main .mainbox h4,main .mainbox h5 {
	background: url(images/g_back.jpg) #eee;
	text-shadow: 1px 1px 0 #fff;
	margin-bottom: 15px;
	clear:both;
}
main h5.kanren-t{
clear:none;background:transparent;
}
main .mainbox h5 {clear:none;background:none;}
.left_pic_natu {
width: 100px;
padding: 1em 30px 0 0;
float: left;
overflow: hidden;
}
.font_red,.style3 {
color: #CC0000;
}
header .sitename{
	font-size: 1rem;
	color: #fff;
	margin-bottom: 10px;
	line-height: 30px;
	font-family: 'Oswald', sans-serif;
	margin-top: 15px;
}
#sub_footer{
	background:#09f;
	overflow:hidden;
	width:100%;
	zoom:1;
	color:#fff;
	border-top:solid 1px #fff;
	font-size:80%;
	line-height:1.3em;
}
#sub_footer h5{margin-bottom:0;font-size: 12px;margin: 3px 0;}
#sub_footer2{background: #000;border-top:solid 1px #003366;}
#sub_footer a:link{color:#fff;}
#sub_footer a:visited{color:#ccc;}
#sub_footer a:hover{color:#9cf;}
#sub_footer ul{padding:0 20px 0 30px;list-style-type:circle;}
.sub_footer_box{
     color: #ccc;
     width:760px;
     padding:20px 100px;
     margin:0 auto;
     overflow: hidden;
}
#sub_footer_left,#sub_footer_center,#sub_footer_right{width:230px;margin:0 30px 30px 0;float:left;}
#sub_footer_right{margin:0;}
#sub_footer_center .mailaddress{color:#fff;}

.side_prof{
	margin-bottom:10px;
	border:1px solid #ccc;
	border-radius:5px;
	padding:10px;
	background:#fff;
}
ul.sns_list{
	width: 100%;
	list-style-type: none;
	margin: 0;
	padding: 0;
}
#side ul.sns_list li{
	padding: 0 5px 0 0;
	display: inline-block;
	width: 30%;
}
#side ul.sns_list li a{
	display: block;
	text-align: center;
	color: #fff;
	padding: 23px 0 0 0;
	margin-bottom: 5px;
	text-decoration: none;
	height: 50px;
	border-radius: 50%;
}
ul.sns_list li a.facebook{
	background-color:#3A5999 ;
	border-bottom:solid 2px  #1e2e4f;
}
ul.sns_list li a.googleplus{
	background-color:#DA4936 ;
	border-bottom:solid 2px  #90281A;
}
ul.sns_list li a.twitter{
	background-color:#00ACED ;
	border-bottom:solid 2px  #0087BA;
}
dl.intro_product{
	border: 1px solid #ccc;
	padding:15px;position: relative;
	overflow: hidden;
	background: #dcefff;
	font-size: 0.9em;
	line-height: 1.7;
	margin-bottom:16px;
}
dl.intro_product dt{
	width: 200px;
	float: left;
	font-size:0.8em;
	min-height:180px;
}
dl.intro_product dd{
	position: absolute;
	margin-left: 220px;
	top:0;
	left:0;
	padding: 20px;
}
.post dl.intro_product dd ul{
	padding:0;
	margin:0;
}
a.home-btn{color:#333;text-decoration: none;}
#sm_footer_menu,#sm_footer_cat{position: fixed;font-size: 4vw;bottom: 0;padding:0 20px 60px 20px;background: #fff;display: none;}
#sm_footer_menu ul li{width:50%;float:left;list-style-type:circle;margin-top:5px;}
#sm_footer_cat .kanren .clearfix dd h5 a{
  font-size:0.8rem;
   line-height: 1.2;}
#sm_footer_cat .kanren dl{
    margin-bottom: 10px;
    padding-bottom: 10px;}
#sm_footer_cat .kanren dd {
    padding-left: 90px;
}
#sm_footer_cat .kanren{padding:0;}
#sm_footer_cat .kanren dt{width:auto;}
#sm_footer_cat img{width:70px;height:70px;}
#sm_footer_cat h3{padding: 10px 0;background: #d0ebff;}
#sm_footer_cat ul li{padding: 10px 0;border-bottom: 1px dotted #ccc;}
#sm_footer_menu .entry_ranking{width:calc(100% - 40px) ;}
#sm_footer_menu .entry_ranking h4.ranking_title{
  background: #d0ebff;
  padding: 5px 10px;
  margin-bottom: 10px;
}
#sm_footer_menu .entry_ranking h4.ranking_title::before{
  font-family: "FontAwesome";
  content: '\f0a4';
  padding-left: 5px;
}
#sm_footer_menu .entry_ranking .ranking_list{
  overflow: hidden;
  clear: both;
  border-bottom: 1px dotted #ccc;
  padding-bottom: 10px;
  margin-bottom: 10px;
}
#sm_footer_menu .entry_ranking .ranking_list dt img{
  width: 70px;height: 70px;
  border-radius: 50%;
  float: left;
  margin-right: 10px ;
}
#sm_footer_menu .entry_ranking .ranking_list dd{
  display: flex;
  align-items: center;     /*上下中央揃え*/
  line-height: 1.3;
  height: 70px;
}
.smt_foot_link{position: fixed;bottom:0;background: #eee;width: 100%;z-index: 10000;display:none;}
.home-btn,.pop-btn,.cat-btn,#top-btn{display: block;width: 25%;float: left;text-align: center;cursor: pointer;}
.pih {
    font-size: 1.2rem;
    background: #fc0;
    text-align: center;
}
#headbox{
	background:transparent;
}
#header-l{
height: 125px;
background:transparent;
overflow: hidden;
width: 1000px;
max-width: 1000px;
padding: 0;
margin: 20px auto;
text-align: center;
}
#header-l  img{
	max-height:100%;
	width:auto;
}
.home .post h3{
	padding: 0;
	color: #1a1a1a;
	line-height: 2rem;
	background-repeat: no-repeat;
	background-position: left center;
	border-bottom: 0; }
.home main .mainbox nav.kanren h3{
	background: transparent;
	text-shadow: none;
	margin-bottom: 0;
	clear: none;
}
.home main .mainbox .kanren{display: flex;flex-wrap: wrap;justify-content: space-between;}
.home main .mainbox .kanren a{
	display:block;
	margin-bottom:0;
	width:49%;
	text-decoration: none;
	color:#0070bb;
  transition: transform 0.5s ease-out;
}
.home main .mainbox .kanren a:hover{transform: scale(1.05);}
.home main .mainbox .kanren a:hover img{opacity: 1;}
	.top_main_list li:hover{transform: scale(1.05);border:solid 2px #6189c4;}

.home .post h3.news{text-align:center;padding:5px 0;margin-top:20px;}
.home .kanren{margin-top:0;padding-top:0;}
.home .entry-content h2{background:transparent;text-align: center;border:0;margin:50px 0 30px;position: relative;}
.home .entry-content h2::after{
	content:"";
	display: block;
	position: absolute;
	width:80px;
	height:2px;
	background:linear-gradient(to right,#09f, #0070bb);
	bottom:0;
	left:50%;
	margin-left: -40px;
}
article .kanren.shita{
	display: flex;
	flex-wrap:wrap;
	justify-content: space-between;
}
article .kanren.shita dl{
	width: 155px;
	margin-bottom:10px;
	padding-bottom:10px;
}
article .kanren.shita dt{
	float:none;
	width: auto;
	height: 107px;
	overflow: hidden;
	margin-bottom: 10px;
}
article .kanren.shita dd{
	padding-left: 0;
}
article .kanren.shita .clearfix dd h5 a{
	font-size: .85rem;
}
article .kanren.shita dt img{
	width: 100%;
}
article .post .kanren.shita h5,article .kanren.shita .clearfix dd h5 a{
	line-height: 20px;
}
#side aside ul li{
	display: inline-block;
}
#side aside ul li a {
    padding: 0 10px;
    margin-right: 10px;
    display: inline-block;
    background: #ff9;
    border-radius: 20px;
    margin-bottom: 10px;
		text-decoration: none;
		font-weight: bold;
		box-shadow:1px 1px 1px #ccc;
}
#side aside ul li a:hover {text-decoration: underline;}

/*media Queries タブレットサイズ（960px以下）
----------------------------------------------------*/
@media only screen and (max-width: 600x) {
.choko-info dt{
width:30%;
}
.choko-info dd{
width:65%;
}
/*-- ここまで --*/
}

/*media Queries タブレットサイズ（600px以上）
----------------------------------------------------*/
@media only screen and (min-width: 600px) {


/*-- ここまで --*/
}

/*media Queries PCサイズ（960px以上）
----------------------------------------------------*/
@media print, screen and (min-width: 960px) {


/*-- ここまで --*/
}


@media screen and (max-width: 960px){

.kaerebalink-image{width:40%;}
#header-l{
  width: auto;
  height: auto;
  max-width: auto;
  text-align: center;
  margin: 0;
}
header .sitename{margin-top: 0;}
#footer .footerlogo{font-size:auto;}
.sub_footer_box{width:auto;}
#sub_footer ul{
  background:#fff;
  border-radius: 5px;
  -webkit-border-radius: 5px;
  margin:10px;
  list-style-type: none;
  width: 100%;
  padding: 0;
}
#sub_footer ul li a{
  display:block;
  height:44px;
  line-height:44px;
  padding:0 20px;
  border-bottom: 1px solid #ccc;
  text-decoration: none;
  position: relative;
}
#sub_footer ul li:last-child a{
  border-bottom: none;
}
#sub_footer ul li a:after{
  display: block;
  content: "";
  position: absolute;
  -webkit-transform: rotate(45deg);
  transform: rotate(45deg);
  top: 50%;
  right: 20px;
  width: 10px;
  height: 10px;
  margin-top: -8px;
  border-top:3px solid #999;
  border-right:3px solid #999;
}
#sub_footer a:link {
  color: #333;
}
#sub_footer a:visited {
  color:#444;
}
#sub_footer{background: #09f;}
#sub_footer h5{margin: 0 10px;color: #fff;}
#sub_footer_left, #sub_footer_center, #sub_footer_right {width: 95%;float: none;margin: 0;}
.entry{width: auto;float: none;}
#entrybox{width: auto;float: none;}
.sub_footer_box{padding:20px 0;}
#sub_footer2 .sub_footer_box{padding:10px 10%;color: #fff;background: #000;}
#sub_footer_center .mailaddress{color:#666;padding: 5px 20px;}
img.alignleft,img.alignright{width:95%;}
#page-top{bottom:100px;}
#s-navi dd.acordion_tree .menu li a{
  display:block;
  padding:10px;
  border-bottom:1px solid #ccc;
  text-decoration:none;
  color:#666;
}
.dot_bor{
  margin:0 0 20px 0;
}
dl.intro_product dt{
  width: 100px;
}
dl.intro_product dd{
  position: relative;
  margin-left: 120px;
  padding: 0;
}
.smt_foot_link{display:block;}
#header-l  img{
	max-height:20vh;
	width:auto;
}
	#s-navi dt.trigger .op{
    position: fixed;
    right: 0;
    top: 0;
    z-index: 1000;
	}
	#s-navi dd.acordion_tree{
    position: fixed;
    background: #fff;
    overflow: scroll;
    padding: 50px 0;
		z-index:999;
		max-height:99vh;
	}
	#s-navi dd.acordion_tree menu{
    overflow: scroll;
	}
	.home .entry-content h2{margin:30px 0 20px;}
	.home main .mainbox .kanren dt{float:none;margin: auto;}
	.home main .mainbox .kanren dd{padding-left: 0;}
	.home main .mainbox .kanren dd h3{text-align: center;}
}
@media screen and (max-width:768px) {
	#sub_footer_right {
		width: 86%;
		float: none;
		margin: 0 auto;}

	article .kanren.shita{
		display: block;
	}
	article .kanren.shita dl{
		width: auto;
		margin-bottom: 2vw;
		padding-bottom: 2vw;
	}
	article .kanren.shita dt{
		float:left;
		width: 161px;
		height: 85px;
		overflow: hidden;
		margin-right: 3vw;
		margin-bottom: 0;
	}
	article .kanren.shita .clearfix dd h5 a{
		font-size: 4vw;
	}
}
