/*
Theme Name: STINGER8 Child
Template: stinger8
Version: 20170614
*/
#fsize p {
  float: left;
  font-size: 18px;
  padding: 0 20px;
  position: relative;
  top: 14px;
}
#fsize ul li {
  list-style-type: none;
  float: left;
  margin: 0px;
  padding: 0px;
  font-size: 100%;
  font-weight: normal;
  display: list-item;
  text-align: -webkit-match-parent;
}
#fsize {
  position: absolute;
    height: 3em;
    right: 0%;
    top: 0px;
    width: 18em;
    background: #fff;
    box-shadow: 0px 0px 8px rgba(0,0,0,0.15);
    border-radius: 0px 0px 4px 4px;
    padding: 10px 0px;
}
#fsize ul li#small a::before {
    display: block;
    content: "小";
    font-size: 18px;
    background: #af0000;
    width: 40px;
    line-height: 40px;
    margin-top: 5px;
    margin-right: 10px;
}
#fsize ul li#large a::before {
    display: block;
    content: "大";
    font-size: 30px;
    background: #ccc;
    width: 50px;
    line-height: 50px;
}
#fsize ul a {
  margin-left: 1em;
  list-style-type: none;
  overflow: hidden;
  display: block;
  text-decoration: none;
  text-align: center;
  color: #fff;
}


/*メニュー文字サイズ＆カテゴリーを見る
----------------------------------------------------*/
header .smanone ul.menu li a:hover {
    color:  #1a1a1a94;
}
header .smanone ul.menu li {
    box-sizing: border-box;
    list-style-type: none;
    float: left;
    width: 25%;
    height: 63px;
    text-align: center;
    border-right: solid 1px #E0DEDE;
    position: relative;
}
header .smanone ul.menu li a {
  display: block;
    font-size: 25px;
    /* overflow: hidden; */
    width: auto;
    height: 100%;
    line-height: 2.5em;
    color: #1a1a1a;
    text-decoration: none;
    position: relative;
    z-index: 100;
    font-weight: 800;
}
.smanone {
    display: block;
    background: transparent;

}
button.btn_menus {
  width: 13em;
  margin-left: 1em;
  background-color: #cfe9f7;
}
.fa-align-justify:before {
  left: 3em;
  margin-top: -13px;
margin-top: -1em;
position: absolute;
content: "\f039カテゴリーお勧め";
}

nav.catg {
  position: relative;
      display: block;
      transform: translateX(0);
      background-color: #527dc6;
      left: -2000px;
}

	nav.open {
    position: relative;
    top: 0;
    left: 10%;
    width:81%;
    max-width: 100%;
    height: 100%;
    background-color: #f2f2f2;
    transition: all 5.2s;
    transform: translateX(300);
    z-index: 1;
	}
		nav ul {
			margin: 0;
			padding: 1em;
			list-style-type: none;
		}
		nav ul li {
			padding: 1em 0;
			border-bottom: 1px solid #cecece;
		}
		nav ul li a {
			display: block;
			text-align: center;
			text-decoration: none;
			color: #1a1a1a;
		}

/*サイドカテゴリーメニュー&メニュー文字ここより73行上
----------------------------------------------------*/
#page-top a {
    text-decoration: none;
    background: #0d0ae6;
    color: #fff;
    padding: 12px 16px;
    text-align: center;
    display: block;
    -moz-opacity: 1;
    opacity: 1;
}
#footer .copy, #footer .rcopy {
    font-size: 12px;
    color: #fff;
    line-height: 18px;
    padding: 20px 10px 0;
}
#footer .footermenust a {
    padding: 0px;
    margin: 0px;
    font-size: 12px;
    color: #fff;
}
#footer {
    background-color: #527dc6;
    padding: 20px 15px;
    text-align: center;
}
/*
ここまでの変更点、5行上でfooterに色付け. 8行上でフォントカラー変更,15行上でcopyrightフォントカラー変更25行上で、トップに戻るカラー変更
*/
#st-header >img {
	border: 0px solid #cccccc;
    background: transparent;
}
.kanren-tside a
{
    color: #000;
    text-decoration: none;
    font-size: 100%;
    line-height: 1.5;
    font-weight: bold;
    padding-bottom: 20px;
}
.smanone2>p {
    line-height: 39px !important;
    font-size: 18px !important;
}
.kanren .clearfix dd .kanren-t a {
    color: #000;
    text-decoration: none;
    font-size: 150%;
    line-height: 1.5;
    font-weight: bold;
    padding-bottom: 5px;
}
.kanren .clearfix dd .kanren-t {
    padding-bottom: 0px;
}
#headbox {
    background-color: #527dc6;
    padding: 10px;
    margin: 0 auto;
    text-align: left;
    max-width: 1040px;
}
div#headbox-bg {
    background-color: #527dc6;
}
header .sitename a {
    font-size: 40px;
    color: #333;
    text-decoration: none;
    font-weight: bold;
}
/*
ここまでの変更点タイトル文字大きさ変更は6行上。背景に色を入れる場合　8,15行上を変更。フロントページの記事タイトルは、24行上、文字の間隔は31行上、抜粋の文字の大きさ変更は、30行上になります。
*/
@media(max-width:1024px)
{
  nav#s-navi {
    background-color:#527dc6;
}
.smanone {
     display: block; 
    background: transparent;
}	
#fsize {
    position: relative;
    height: 3em;
    right: 0;
    left: -12px;
    top: -6px;
    width: 50em;
    background: #fff;
    box-shadow: 0px 0px 8px rgba(0,0,0,0.15);
    border-radius: 0px 0px 4px 4px;
    padding: 10px 0px;
    /* z-index: 1000; */
    opacity: 1;
}
button.btn_menus {
    margin-left: 47%;
    background-color: #cfe9f7;
    position: relative;
    width: 2em;
    height: 2em;
    font-size: 37px;
  }
  .fa-align-justify:before {
    left: 18px;
    margin-top: -13px;
    margin-top: -1em;
     content: "\f039";
}
/*-- ここまで --*/
}
@media(max-width:764px)
{
.smanone {
    display: none;
    background: transparent;
}
header .sitename a {
    position: relative;
    font-size: 40px;
    color: #333;
    text-decoration: none;
    font-weight: bold;
    white-space: pre-wrap;
    /*line-height: 50px;*/
   /* top: -100px;*/
}
#st-header >img {
    width: 129%;
    max-width: 2000px;
    margin: 0 auto 10px;
    position: relative;
    margin-left: -6em;
    height: 100%;
    opacity: 1;
    background: transparent;
}
#fsize {
  position: absolute;
  height: 47px;
  right: 46px;
  left: auto;
  top: 7px;
  width: 18em;
  background: #527dc6;
  box-shadow: 0px 0px 8px rgb(82, 125, 198);;
  border-radius: 0px 0px 4px 4px;
  padding: 10px 0px;
  opacity: 1;
}
button.btn_menus {
    margin-left: 0;
    width: 7%;
    height: 7%;
    font-size: 16px;
    background-color: #cfe9f7;
    text-align: center;
}
.fa-angle-right:before {
    content: "";
}
.fa-align-justify:before {
    left: 4px;
    margin-top: -13px;
    margin-top: -1em;
    content: "\f039";
}
/*-- ここまで --*/
}
