﻿/*
Theme Name: hiromasu
Theme URI: http://hiromasu-test.lvsn.net/
Description: 廣升健生公式WPテーマ
Version: 1.0
*/

* html ul li{
  margin-left:1px;
}
html,body{
  font-family:'ヒラギノ角ゴ Pro W3','Hiragino Kaku Gothic Pro','メイリオ',Meiryo,'ＭＳ Ｐゴシック',sans-serif;
  line-height: 1.4;
  color: #555;
}
.container{
  position: relative;
  width: 980px;
  margin: auto;
}
#wrap .container {
  z-index: 20; /* for obi */
}
/* for obi */
.container:after{
  content: "";
  display: block;
  clear: both;
}
.clearfix:after{
  content: "";
  display: block;
  clear: both;
}
.hide{display: none;}
input[type="submit"]{-webkit-appearance: none;}
.social{
  clear: both;
  /*padding: 100px 0 !important;*/
  padding: 30px 0 20px !important;
}
.social.p50{
  padding: 50px 0  30px !important;
}
.social li{
  list-style: none;
  display: inline-block;
  vertical-align: top;
  margin: 0 10px 0 0;
  padding: 0;
}
.social li iframe{
  display: inline-block;
  max-width: 100%;
  margin: 0 !important;
}
.fb_iframe_widget iframe{
  position: static !important;
}
.social li span{
  vertical-align: inherit !important;
}
.mb20{margin-bottom:20px !important;}
.tubepress_thumb{
  min-height: 240px !important;
}
.tubepress_thumb a{
  display: block;
  overflow: hidden;
  height: 123px !important;
  margin-bottom: 15px !important;
}
.tubepress_meta_title{
  margin-top: 5px !important;
}
.tubepress_meta_views,
.tubepress_meta_runtime{
  display: none;
}

/* ifr style */
.ifr_list{
  overflow: hidden;
  margin-bottom: 20px;
  font-size: 14px;
}

.ifr_list img{
  float: left;
  display: block;
  width: 40%;
  margin: 0 !important;
  margin-right: 2%;
  vertical-align: top;
}

.ifr_list a{
  display: block;
  float: right;
  width: 56%;
  line-height: 1.4;
}

/*---------------------------- Header -----------------------------------*/
#header{
  margin-bottom: 20px;
  padding: 10px 0;
  background-color: #fff;
}
#logo{
  width: 440px;
  height: auto;
}
#logo:hover{
  opacity: 0.8;
}

#tel,#chatwork{
  position: absolute;
  width: 190px;
  height: auto;
}
#toiawase{
  position: absolute;
  width: 432px;
  height: auto;
}

#tel{
  top: -10px;
  right: 0;
}

#chatwork{
  top: -10px;
  right: 200px;
}

#toiawase{
  top: -10px;
  right: 0;
}

#freee_video{
  position: absolute;
  width: 420px;
  height: auto;
  top: -10px;
  right: 0;
}

/*---------------------------- Main Visual -----------------------------------*/
#main_visual{
  position: relative;
  overflow: hidden;
  margin-bottom: 20px;
}
#main_visual img{
  position: relative;
  width: 100%;
  height: auto;
  z-index: 20;
}

#main_visual.main_visual-b img{
  display: block;
  width: auto;
  margin: auto;
}

#main_visual_before_link {
  position: absolute;
  left: -10%;
  top:0;
  width: 59%;
  height: 100%;
  z-index: 10;
  background: transparent;
}

#main_visual_after_link {
  position: absolute;
  right: -10%;
  top:0;
  width: 59%;
  height: 100%;
  z-index: 10;
  background: transparent;
}

#main_visual_before_link a,
#main_visual_after_link a {
  display: block;
  width: 100%;
  height: 100%;
}

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

  #main_visual.main_visual-b{
    background: none !important;
  }
  #main_visual.main_visual-b img{
    width: 100%;
    height: auto;
  }
}


/* カテゴリー　ミニ帯 */
.post_top-bnr{
  margin: 20px 0;
}
.post_top-bnr a{
  display: block;
}
.post_top-bnr img{
  display: block;
  margin: auto;
}




/*---------------------------- Global Nav -----------------------------------*/

#global_nav ul li{
  position: relative;
  float: left;
  width: 160px;
  margin-right: 4px;
  margin-bottom: 4px;
  text-align: center;
  font-size: 14px;
}
#global_nav ul li:nth-child(6n){
  margin-right: 0;
}
#global_nav ul li a{
  display: block;
  padding: 15px 0;
  background-color: #1993d5;
  color: #fff;
  text-decoration: none;
}
.wantbemenu ul li > a{
  background-color: #cccccc!important;
}
#global_nav ul li:nth-child(n+7) a{
  background-color: #36c5ea;
}
#global_nav ul li a:hover{
  background-color: #a8e2fd;
  color: #1993d5;
}
.wantbemenu ul li > a:hover{
  color: #000!important;
}
#global_nav ul li:nth-child(n+2) .current-menu-item a{
  background-color: #a8e2fd;
  color: #1993d5;
}

/* サブメニュー */
#global_nav ul li .sub-menu{
  display: none;
  position: absolute;
  top: 100%;
  left: 50%;
  z-index: 999999;
  width: 90%;
  margin-left: -45%;
  padding-top: 5px;
}
#global_nav ul li .sub-menu li{
  float: none;
  width: 100%;
  margin: 0;
  font-size: 12px;
}
#global_nav ul li .sub-menu li a{
  background-color: rgba(68,94,161,0.9);
  color: #fff;
}
#global_nav ul li .sub-menu li a:hover{
  background-color: rgba(68,94,161,0.8);
  color: #fff;
}
.wantbemenu ul li .sub-menu li > a{
  background-color: #888888!important;
}
.wantbemenu ul li .sub-menu li > a:hover{
  color: #000;
}

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

#global_nav ul li{
  float:left;
  width: 49.8%;
  margin-right: 0;
  margin-bottom: 1px;
}
#global_nav ul li:nth-child(2n){
  float: right;
}
#global_nav ul li .sub-menu{
  width: 90%;
  margin-left: -45%;
}


}

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

#header,#main_visual{
  margin:0 0 10px 0;
  padding: 0;
}

#chatwork,#tel{
  position: static;
  width:35%;
}
#toiawase{
  position: static;
  width:90%;
  margin-left:5%;
}
#chatwork{float:left;}
#tel{float:right;}

#freee_video {
    display: none;
}
#freee_video_sp {
    display: block!important;
    width: 100%;
}

#global_nav ul li a{
  padding: 10px 0;
}

}

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

#header{
  margin: 0 0 5px 0;
}
#global_nav ul li{
  font-size: 13px;
}
#global_nav ul li a{
  padding: 8px 0;
}

}

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

#header{
  margin: 0;
}
#global_nav ul li a{
  padding: 6px 0;
}

}


/*---------------------------- News -----------------------------------*/
#news_area{
  clear: both;
  overflow: hidden;
  margin-bottom: 8px;
  padding-top: 8px;
}
#news_title img{
  width: auto;
  height: 30px;
  margin-bottom: 10px;
}
.entry{
  overflow: hidden;
  float: left;
  width: 156px;
  margin-right: 6px;
  border: solid 1px #e8e7e3;
}
.entry:last-child{
  margin-right: 0;
}
.entry a{
  overflow: hidden;
  display: block;
  /*min-height: 207px;*/
  min-height: 230px;
  padding: 10px;
  text-decoration: none;
}
.entry a:hover{
  opacity: 0.5;
}
.entry figure{
  overflow: hidden;
  width: 139px;
  /*height: 100px;*/
  /* height: 139px;*/
  margin: 0 auto 10px auto;
}
.entry figure img{
  width: 100%;
  height: auto;
}
.entry a h3{
  font-size: 14px;
  font-weight: 400;
  color: #1993d5;
}

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

#news_area{
  text-align: center;
}
#news_title{
  text-align: left;
}
.entry{
  float: left;
  width: 32%;
  margin-right: 1%;
  margin-bottom: 3px;
  vertical-align: top;
  display: block;
  text-align: left;
}
/*
.entry:nth-of-type(6){
  display: none;
}
*/
}

@media screen and (max-width:850px){
/*
.entry:nth-of-type(5){
  display: none;
}
*/
}

@media screen and (max-width:680px){
/*
.entry:nth-of-type(4){
  display: none;
}
*/
}

@media screen and (max-width:500px){
/*
.entry:nth-of-type(3){
  display: none;
}
.entry:nth-of-type(2){
  margin-right: 0;
}
*/
}


/*---------------------------- PCタイル(2カラム) -----------------------------------*/

.pc_tile-item{
  overflow: hidden;
  float: left;
  width: 49.5%;
  margin-bottom: 20px;
}
.pc_tile-item:nth-child(2n){
  float: right;
}
.pc_tile-item:nth-child(2n+1){
  clear: both;
}
.pc_tile-img{
  width: 100%;
  height: auto;
}
.pc_tile-img:hover{
  opacity: 0.5;
}
.pc_top_popular-title{
  padding: 12px 0;
  text-align: center;
  font-size: 20px;
  color: #000;
}
.pc_top_popular-post .wpp-list li{
  list-style: none;
  clear: none;
  float: left;
  width: 48.5%;
  margin-right: 1.5%;
  margin-bottom: 13px;
  line-height: 1.1;
}
.pc_top_popular-post li a{
  color: #333;
}
.pc_top_popular-post .wpp-post-title{
  font-size: 13px;
}
.pc_top_popular-post .wpp-views{
  display: block;
  margin-top: 3px;
  font-size: 12px;
}

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

.pc_top_popular-title{
  min-height: 78px;
  font-size: 18px;
}
.pc_top_popular-post .wpp-post-title{
  font-size: 11px;
}
.pc_top_popular-post .wpp-views{
  display: block;
  margin-top: 3px;
  font-size: 10px;
}

}

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

.pc_top_popular-post .wpp-list li{
  list-style: none;
  clear: none;
  float: left;
  line-height: 0.8;
}

.pc_top_popular-post .wpp-thumbnail{
  width: 60px;
  height: auto;
}

}

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

.pc_top_popular-post .wpp-list li{
  overflow: hidden;
  clear: both;
  float: none;
  width: 100%;
  line-height: 1;
}
.pc_top_popular-post .wpp-post-title{
  font-size: 12px;
}
.pc_top_popular-post .wpp-views{
  font-size: 12px;
}

}



/*---------------------------- Footer -----------------------------------*/
#footer{
  padding: 20px 0 0;
}
#footer img{
  width: auto;
  height: 90px;
}
#footer img:hover{
  opacity: 0.5;
}

/*---------------------------- Page -----------------------------------*/
#wrap{
  clear: both;
  overflow: hidden;
  padding-top: 30px;
  position:relative;
}
#search_box{
  width: 80%;
  margin: auto;
}
#search_box input[type="text"]{
  outline: none;
  width: 56%;
  padding: 10px;
  font-size: 16px;
}
#search_box input[type="submit"]{
  outline: none;
  border: 0;
  width: 60px;
  height: 40px;
  background-color: #1993d5;
  color: #fff;
  cursor: pointer;
}
#search_box input[type="submit"]:hover{
  background-color: #a8e2fd;
  color: #1993d5;
}
#page{
  overflow: hidden;
  position: relative;
  float: left;
  width: 725px;
  font-size: 16px;
}
#page table td {
  vertical-align: top;
}
#page table td img.aligncenter {
  margin-bottom: 0!important;
}


/* Page Content */
#page h1{
  margin-bottom: 30px;
  padding: 10px 20px 10px 32px;
  background: url(https://hiromasu.com/wp/wp-content/uploads/2015/07/h1.png) no-repeat left 14px;
  background-size: 25px;
  font-size: 24px;
  color: #333;
}
#page h2{
  margin-bottom: 30px;
  padding: 5px 13px;
  border-left: solid 5px #1855a1;
  border-bottom: solid 1px #1855a1;
  font-size: 20px;
}
#page h3{
  margin-bottom:  15px;
  padding: 0 20px;
  background: url(img/h3.jpg) no-repeat left center;
  -webkit-background-size: 10px;
  background-size: 10px;
  font-size: 18px;
}
#page h4{
  margin-bottom: 10px;
  padding: 10px 15px;
  background: url(img/h4.png) no-repeat left center;
  -webkit-background-size: 5px;
  background-size: 5px;
  font-size: 16px;
}
#page img.aligncenter,
#g_map{
  display: block;
  margin: 0 auto 30px!important;
}
#page p{padding-bottom: 35px;line-height: 2em;}
#page p.hasimg{padding-bottom: 0;}
#page a{text-decoration: underline;color: #3595ce;}
#page a:hover{text-decoration: none;}
#page ul,
#page ol{
  padding: 0 0 35px 25px;
}

#page ul li,
#page ol li{
  margin-bottom: 10px;
}
#page ul li a{text-decoration: underline;color: #3595ce;}
#page ul li a:hover{text-decoration: none;}
#page iframe{display:block;max-width: 100%;}
#page img{max-width: 100%;height: auto;}
#page a img:hover{opacity: 0.5;}
#pagetop{
  z-index: 9999;
  position: fixed;
  bottom: 50px;
  width: 80px;
  margin-left: 600px;
  padding: 5px 0;
  background-color: #1993d5;
  color: #fff !important;
  text-align: center;
  text-decoration: none !important;
  opacity: 0.9;
}
#pagetop:hover{
  background-color: #a8e2fd;
  color: #1993d5 !important;
}
/* Pagination */
#pagination{
  /*padding: 50px 0 10px;*/
  padding: 20px 0 10px;
  font-size: 18px;
}
#pagination span:nth-child(1){
  float: left;
}
#pagination span:nth-child(2){
  float: right;
}

#page pre{
  display: block;
  white-space: normal;
}

/* 関連記事 */

#relate_post{
  padding: 100px 0;
}
#relate_post h5{
  margin-bottom:20px;
  font-size: 24px;
}
#relate_post ul{
  padding: 0;
}
#relate_post ul li{
  overflow: hidden;
  display: inline-block;
  vertical-align: top;
  width: 28%;
  margin-right: 20px;
  margin-bottom: 20px;
  padding: 5px;
  background-color: #eee;
  box-shadow: 1px 1px 5px #555;
}
#relate_post ul li a{
  overflow: hidden;
  display: block;
  height: 215px;
  padding: 0 10px;
  background-color: #fff;
}
#relate_post ul li a:hover{
  text-decoration: none;
}
#relate_post ul li a figure{
  padding: 10px 0;
}
#relate_post ul li a img{
  display: block;
  width: 90%;
  margin: auto;
}
#relate_post ul li a p{
  padding-top: 5px;
  line-height: 1.6;
  font-size: 13px;
}

/*---------------------------- Search Page -----------------------------------*/
.s_post_title{
  padding: 10px;
  border-top: solid 3px #1993d5;
  font-size: 25px;
  background-color: #a8e2fd;
  color: #000;
}
.s_post_content{
  overflow: hidden;
  height: 0;
  padding: 0;
  transition: .3s;
}
.s_post_content.open{
  height: auto;
  padding: 50px 0;
}
.s_post_content.close{
  height: 0;
  padding: 0;
}
.excerpt{
  overflow: hidden;
  padding:10px;
  cursor: pointer;
}
.excerpt img{
  display: block;
  width: 500px;
  height: auto;
}
.more{
  float: right;
  padding: 10px;
  background-color: #1993d5;
  color: #fff;
  cursor: pointer;
}
.close{
  float: right;
  padding: 10px;
  background-color: #1993d5;
  color: #fff;
  cursor: pointer;
}
.more:hover,
.close:hover{
  background-color: #a8e2fd;
  color: #1993d5;
}

/*---------------------------- Sidebar -----------------------------------*/
#sidebar{
  float: right;
  width: 215px;
}
#sidebar .widget{
  margin-bottom: 10px;
}
#sidebar input[type="text"]{
  outline: none;
  width: 120px;
  padding: 10px;
  font-size: 16px;
}
#sidebar input[type="submit"]{
  outline: none;
  border: 0;
  width: 60px;
  height: 40px;
  background-color: #1993d5;
  color: #fff;
  cursor: pointer;
}
#sidebar input[type="submit"]:hover{
  background-color: #a8e2fd;
  color: #1993d5;
}
#sidebar img{
  width: 100%;
  height: auto;
}
#sidebar a img:hover{opacity: 0.5;}
#sidebar iframe{
  width: 100%;
  height: auto;
}
.fb-like-box iframe{
  width: 100% !important;
}
.fb_iframe_widget{
  width: 100% !important;
}
.fb_iframe_widget span{
  width: 100% !important;
}

/************** Popular Posts ************/
#sidebar .widget { /*margin-top: 50px;*/ font-size: 13px; color: #ccc; }
#sidebar .widget ul.wpp-list {}
#sidebar .widget ul.wpp-list li { list-style: none; min-height: 50px; margin-top: 20px; font-size: 13px; color: #008000; }
#sidebar .widget ul.wpp-list li a { text-decoration: none; display: block; color: #008000}
#sidebar .widget ul.wpp-list li a:hover { text-decoration: underline; }
#sidebar .widget ul.wpp-list li img { width: 46px; height: auto; border: 1px solid #ddd; padding: 1px; margin-right: 10px; }

#sidebar .widget .popular-posts { clear: both;  padding-top: 50px; }
/****************************************/


/*---------------------------- Content Area -----------------------------------*/
#content{
  overflow: hidden;
}
.pc_tile a{
  float: left;
  display: block;
  margin-right: 4px;
}
.pc_tile a:nth-child(6n+1){
  margin-right: 0;
}
.pc_tile img:hover{
  opacity: 0.5;
}

@media screen and (min-width:528px){

.pc_tile img{
  width: 15%;
}

}

@media screen and (min-width:601px){

.pc_tile img{
 max-width:100%;
  width: 16%;
  margin-bottom: 15px;
}

}

@media screen and (min-width:981px){

.pc_tile img{
 width: 160px;
  height: auto;
  margin-bottom: 15px;
}

}



/*---------------------------- Banner Area -----------------------------------*/
section#bn_area{
  overflow: hidden;
  padding: 20px 0;
  background-color: #edeef0;
}
#bn_area figure a{
  float: left;
  display: block;
  margin-right: 4px;
}
#bn_area figure a:last-child{
  margin-right: 0;
}
#bn_area figure img{
  width: 242px;
}
#bn_area figure img:hover{
  opacity: 0.5;
}

/*----------------------------Contact -----------------------------------*/
#contact input,
#contact textarea{
  background-color: #FFFCF0;
  border: solid 1px #bababa;
}
#contact dl{
  overflow:hidden;
  padding:10px;
}
#contact dt{
  clear:both;
  float:left;
  width:200px;
  padding-top:10px;
  font-size:17px;
}
#contact dd{
  float:right;
  width:480px;
  margin-bottom:20px;
}
#contact dd input[type="text"],
#contact dd input[type="email"],
#contact dd textarea,
#contact dd select {
  width:90%;
  padding:10px;
  font-size:17px;
  color:#555;
}
#contact dd input:focus,
#contact dd textarea:focus{
  outline:none;
  border:solid 1px #3595ce;
}
#contact dd textarea{
  height:200px;
}
#contact input[type="submit"]{
  clear: both;
  width:100px;
  padding:10px 0;
  background-color:#666;
  color:#fff;
  box-shadow:2px 4px 0 #222;
  border-radius:5px;
  font-size:16px;
  cursor:pointer;
  border:0;
}
#contact input[type="submit"]:hover{
  box-shadow:none;
  margin:4px 0 0;
}

/* Add Style 20150107 ITFUNPEOPLE */

#contact .wpcf7-list-item {
  margin-left:0;
  margin-right:.8em;
}
#contact .last {
  margin-left:0;
  margin-right:0;
}

/* End */

/* Add Style 20150727 ITFUNPEOPLE */
.tag-list {margin:0 0 40px; padding:0; overflow:hidden;}
.tag-list .tag-list-item {vertical-align: top; display: inline-block; width:33%; margin-bottom: 30px; overflow:hidden;}
.tag-list .tag-list-item .tag-list-item-wrap {margin:0 10px;}
.tag-list .tag-list-item .tag-list-item-wrap img {margin:0 !important; width:100%;}
.tag-list .tag-list-item .tag-list-item-wrap h5 {margin:10px 0; text-align:center; font-size:.85em;}
.tag-list .tag-list-item .tag-list-item-wrap p {padding-bottom:0 !important; font-size:.85em; line-height:1.5em !important;}
/* End */


/* Add Style 20150116 ITFUNPEOPLE */

/*---------------------------- Polls -----------------------------------*/

.wp-polls {
}

.wp-polls .wp-polls-ul li {
  display: inline-block;
  margin-right: 10px;
}

.wp-polls-ans .wp-polls-ul li {
  display: block;
  margin-right: 0;
}

.poll_answer {
  background: #1993d5;
  padding: 0 5px;
  font-size: 11px;
  color: #fff;
  border-radius: 10px;
    -webkit-border-radius: 10px;
    -moz-border-radius: 10px;
}

.wp-polls .Buttons {
  padding: 10px 15px !important;
  outline: none !important;
  border: 0 !important;
  background-color: #1993d5 !important;
  color: #fff !important;
  cursor: pointer !important;
  text-decoration: none !important;
}

.wp-polls p {
  padding-bottom: 10px !important;
}

.wp-polls ul {
  padding: 0 10px 10px !important;
}

.wp-polls .button_block {
  text-align: center;
}

.wp-polls .text-small {
  font-size: .8em !important;
}

.wp-polls .revers {
  background-color: #a8e2fd !important;
  color: #1993d5 !important;
}

.wp-polls-loading .wp-polls-image {
  margin: 0 10px 0 !important;
}

.wp-polls-ans .wp-polls-ul li {
  margin-bottom: 10px !important;
  padding-bottom: 10px !important;
  border-bottom: 1px #ddd dashed;
}


.wp-polls .pollbar-out {
  background: url('img/wp-polls_bar_out.png') 0 0 repeat !important;
  border-radius: 10px;
    -webkit-border-radius: 10px;
    -moz-border-radius: 10px;
}

.wp-polls .pollbar {
  background: #1993d5 url('img/wp-polls_bar.png') 0 0 repeat !important;
  border-radius: 10px;
    -webkit-border-radius: 10px;
    -moz-border-radius: 10px;
}

/* End */

/*--- blockquote ---*/

div#page blockquote {
  font-size: 1em;
  position: relative;
  border: 1px solid #CCC;
  border-radius: 10px;
  margin: 0em 0.9em 2em;
  padding: 1.5em 1.75em;
}

div#page blockquote::before {
  font-family: "FontAwesome";
  content: "\f10d";
  position: absolute;
  width: 1em;
  height: 1em;
  border-radius: 50%;
  display: block;
  text-align: center;
  font-size: 25px;
  line-height: 1;
  color: #999;
  left: -0.5em;
  top: -0.2em;
}

div#page blockquote p {
  padding-bottom: 0;
  line-height: 2em;
}

div#page blockquote::after {
  font-family: "FontAwesome";
  content: "\f10e";
  position: absolute;
  width: 1em;
  height: 1em;
  border-radius: 50%;
  display: block;
  text-align: center;
  font-size: 25px;
  line-height: 1;
  color: #999;
  right: -0.5em;
  bottom: -0.2em;
}

/*--- end ---*/



/* ------------------------------------------
 この記事を書いた人
--------------------------------------*/

.author_box{
  overflow: hidden;
  margin: 50px auto;
  border: solid 1px #1993d5;
}
.author_box ul{
  position: relative;
  padding: 15px 0 !important;
  background-color: #1993d5;
}
.author_box li{
  list-style: none;
  margin-bottom: 0 !important;
  font-weight: bold;
  text-align: center;
  font-size: 18px;
  color: #fff;
}
.author_box li .fa{
  margin-right: 5px;
  font-size: 18px;
}
.author_box-inner{
  overflow: hidden;
  padding: 20px;
}
.author_box-left{
  display: inline-block;
  vertical-align: middle;
  overflow: hidden;
  width: 180px;
  height: 180px;
  margin-right: 16px;
}
.author_box-left img{
  width: 100%;
  height: auto;
  margin: 0 !important;
}
.author_box-right{
  display: inline-block;
  vertical-align: middle;
  width: 480px;
}
.author_box h5{
  margin-bottom: 10px;
  font-size: 16px;
}
.author_box h5 span{
  vertical-align: middle;
  display: inline-block;
  margin-right: 15px;
}
.author_box h5 a{
  vertical-align: middle;
  display: inline-block;
}
.author_box h5 a + a{
  margin-left: 5px;
}
.author_box h5 img{
  width: 70px;
  margin: 0 !important;
}
.author_box p{
  padding: 0 !important;
  line-height: 1.5 !important;
  font-size: 14px;
  color: #333;
}
.author_box-bnr{
  padding-top: 20px;
  text-align: center;
}
.author_box-bnr img{
  display: block;
  width: 100%;
  height: auto;
  margin: 0 auto !important;
}





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

.author_box{
  width: 95%;
}
.author_box ul{
  padding: 10px 0 !important;
}
.author_box-inner{
  padding: 10px 18px 20px 20px;
}
.author_box-left{
  float: none;
  display: block;
  margin: 10px auto 15px;
}
.author_box-right{
  float: none;
  display: block;
  width: auto;
}
.author_box h5{
  font-size: 17px;
}
.author_box p{
  text-align: justify;
  font-size: 13px;
}
.author_box-bnr img{
  height: auto !important;
}


}

/*---------------------------- 記事吹き出し -----------------------------------*/
/* BUBBLE LEFT ############################################################## */
.balloon-bubble-left {
  width: 80%;
  position: relative;
  padding: 18px !important;
  background: #BEF18C;
  border-radius: 18px;
  z-index: 0;
  margin-top: 25px;
  margin-left: 7%;
  margin-bottom: 40px;
}
.balloon-bubble-left:before {
  content: "";
  position: absolute;
  top: -25px;
  left: 25px;
  display: block;
  width: 8px;
  height: 8px;
  background: inherit;
  border-radius: 50%;
  z-index: -1;
}
.balloon-bubble-left:after {
  content: "";
  position: absolute;
  top: -17px;
  left: 15px;
  display: block;
  width: 15px;
  height: 15px;
  background: inherit;
  border-radius: 50%;
  z-index: -1;
}




/* BUBBLE CENTER ############################################################ */
.balloon-bubble-center {
  width: 80%;
  position: relative;
  padding: 18px !important;
  background: #BEF18C;
  border-radius: 18px;
  z-index: 0;
  margin: 36px 10% 40px;
}
.balloon-bubble-center:before {
  content: "";
  position: absolute;
  top: -27px;
  left: 50%;
  display: block;
  width: 8px;
  height: 8px;
  background: inherit;
  border-radius: 50%;
  z-index: -1;
  margin-left: -4px;
}
.balloon-bubble-center:after {
  content: "";
  position: absolute;
  top: -17px;
  left: 50%;
  display: block;
  width: 15px;
  height: 15px;
  background: inherit;
  border-radius: 50%;
  z-index: -1;
  margin-left: -7px;
}




/* BUBBLE RIGHT ############################################################# */
.balloon-bubble-right {
  position: relative;
  padding: 18px !important;
  background: #BEF18C;
  border-radius: 18px;
  z-index: 0;
  margin-top: 36px;
  margin-left: 13%;
  margin-right: 7%;
  margin-bottom: 40px;
}
.balloon-bubble-right:before {
  content: "";
  position: absolute;
  top: -25px;
  right: 25px;
  margin-right: 0;
  display: block;
  width: 8px;
  height: 8px;
  background: inherit;
  border-radius: 50%;
  z-index: -1;
}
.balloon-bubble-right:after {
  content: "";
  position: absolute;
  top: -17px;
  right: 15px;
  margin-right: 0;
  display: block;
  width: 15px;
  height: 15px;
  background: inherit;
  border-radius: 50%;
  z-index: -1;
}




/* LINE LEFT ################################################################ */
.balloon-line-left {
  width: 80%;
  position: relative;
  padding: 18px !important;
  background: #BEF18C;
  border-radius: 18px;
  margin-top: 36px;
  margin-left: 7%;
  margin-bottom: 40px;
}

.balloon-line-left:before {
  content: "";
  position: absolute;
  top: -10px;
  left: 10px;
  display: block;
  width: 30px;
  height: 30px;
  background: inherit;
  border-radius: 30px 0 30px 0;
  z-index: -1;
  -webkit-transform: rotate(-25deg);
     -moz-transform: rotate(-25deg);
      -ms-transform: rotate(-25deg);
       -o-transform: rotate(-25deg);
          transform: rotate(-25deg);
}

.balloon-line-left:after {
  content: "";
  position: absolute;
  top: -10px;
  left: 25px;
  display: block;
  width: 30px;
  height: 30px;
  background: #fff;
  border-radius: 30px 0 30px 0;
  z-index: -1;
  -webkit-transform: rotate(-65deg);
     -moz-transform: rotate(-65deg);
      -ms-transform: rotate(-65deg);
       -o-transform: rotate(-65deg);
          transform: rotate(-65deg);
}




/* LINE RIGHT ############################################################### */
.balloon-line-right {
  position: relative;
  padding: 18px !important;
  background: #BEF18C;
  border-radius: 18px;
  margin-top: 36px;
  margin-left: 13%;
  margin-right: 7%;
  margin-bottom: 40px;
}

.balloon-line-right:before {
  content: "";
  position: absolute;
  top: -10px;
  right: 10px;
  display: block;
  width: 30px;
  height: 30px;
  background: inherit;
  border-radius: 30px 0 30px 0;
  z-index: -1;
  -webkit-transform: rotate(-65deg);
     -moz-transform: rotate(-65deg);
      -ms-transform: rotate(-65deg);
       -o-transform: rotate(-65deg);
          transform: rotate(-65deg);
}

.balloon-line-right:after {
  content: "";
  position: absolute;
  top: -10px;
  right: 25px;
  display: block;
  width: 30px;
  height: 30px;
  background: #fff;
  border-radius: 30px 0 30px 0;
  z-index: -1;
  -webkit-transform: rotate(-25deg);
     -moz-transform: rotate(-25deg);
      -ms-transform: rotate(-25deg);
       -o-transform: rotate(-25deg);
          transform: rotate(-25deg);
}




/* LINE CENTER ############################################################## */
.balloon-line-center {
  width: 80%;
  position: relative;
  padding: 18px !important;
  background: #BEF18C;
  border-radius: 18px;
  margin: 36px 10% 40px;
}

.balloon-line-center:before {
  content: "";
  margin: 0px auto;
  margin-bottom: -30px;
  position: relative;
  top: -25px;
  display: block;
  width: 30px;
  height: 30px;
  background: inherit;
  border-radius: 30px 0 30px 0;
  z-index: -1;
  -webkit-transform: rotate(-45deg);
     -moz-transform: rotate(-45deg);
      -ms-transform: rotate(-45deg);
       -o-transform: rotate(-45deg);
          transform: rotate(-45deg);
}


.nextone{
text-align:center;
}

#copyright {
    text-align: center;
    font-size: 12px;
    margin: 0 0 20px;
}




/* Time Line ############################################################## */

.cbp_tmtimeline {
   margin: 15px 0 0 0;
    padding: 0 !important;
    list-style: none;
    position: relative;
}

/* The line */
.cbp_tmtimeline:before {
        content: '';
    position: absolute;
    top: 0;
    bottom: 40px;
    width: 10px;
    background: #afe4f1;
    left: 19.8%;
    margin-left: -10px;
}

.cbp_tmtimeline > li {
    position: relative;
}

/* The date/time */
.cbp_tmtimeline > li .cbp_tmtime {
    display: block;
    width: 14%;
    padding-right: 100px;
    position: absolute;
    font-size: 1.3rem;
    top: 0px;
    left: 0;
}

.cbp_tmtimeline > li .cbp_tmtime div.age {
       font-size: .65em;
    color: #666;
    text-align: right;
}
.cbp_tmtimeline > li .cbp_tmtime div.age2 {
    display: block;
    text-align: right;
       font-size: .9em;
    color:#36c5ea;
}

.cbp_tmtimeline > li:nth-child(odd) .cbp_tmtime div.age2 {
  color: #1993d5;
}

.cbp_tmtimeline > li .cbp_tmtime span:first-child {
    font-size: 0.9em;
    color: #666;
}

.cbp_tmtimeline > li .cbp_tmtime span:last-child {
    font-size: 1.5em;
    color: #d0a028;
}

.cbp_tmtimeline > li:nth-child(odd) .cbp_tmtime span:last-child {
    color: #E9913B;
}

/* Right content */
.cbp_tmtimeline > li .cbp_tmlabel {
    margin: 0 0 15px 25%;
    background: #36c5ea;
    color: #fff;
    padding: 1.2em 1.5em;
    font-size: 1.2em;
    font-weight: 300;
    line-height: 1.4;
    position: relative;
    border-radius: 5px;
}

.cbp_tmtimeline > li:nth-child(odd) .cbp_tmlabel {
    background: #1993d5;
}

.cbp_tmtimeline > li .cbp_tmlabel h3 {
    margin-top: 0px;
    padding: 0 0 10px 0 !important;
    border-bottom: 1px solid rgba(255,255,255,0.4);
    color: #fff;
    background: none !important;
    font-size: 20px !important;
    margin-bottom: 10px !important;
}

.cbp_tmtimeline > li .cbp_tmlabel p {
    margin-bottom: 0;
    font-size: 14px;
    line-height: 1.5 !important;
    padding-bottom: 0 !important;
}
.cbp_tmtimeline > li .cbp_tmlabel p.small {
   font-size: small;
  margin: 0 0 1px;
}

/* The triangle */
.cbp_tmtimeline > li .cbp_tmlabel:after {
    right: 100%;
    border: solid transparent;
    content: " ";
    height: 0;
    width: 0;
    position: absolute;
    pointer-events: none;
    border-right-color: #36c5ea;
    border-width: 10px;
    top: 10px;
}

.cbp_tmtimeline > li:nth-child(odd) .cbp_tmlabel:after {
    border-right-color: #1993d5;
}

/* The icons */
.cbp_tmtimeline > li .cbp_tmicon {
    width: 40px;
    height: 40px;
    font-family: 'ecoico';
    speak: none;
    font-style: normal;
    font-weight: normal;
    font-variant: normal;
    text-transform: none;
    font-size: 1.4em;
    line-height: 40px;
    -webkit-font-smoothing: antialiased;
    position: absolute;
    color: #fff;
    background: #fff;
    border-radius: 50%;
    box-shadow: 0 0 0 8px #afe4f1;
    text-align: center;
    left: 20%;
    top: 0;
    margin: 0 0 0 -25px;
}

.cbp_tmlabel ul {
  margin: 10px 2em;
  font-size: 1em;
}

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

/* time line */

.cbp_tmtimeline {
  padding: 0 !important;
}

.cbp_tmtimeline > li .cbp_tmtime span:last-child {
  font-size: 1.3em;
}

.cbp_tmtimeline:before {
  display: none;
}

.cbp_tmtimeline > li .cbp_tmtime {
    width: 100%;
    position: relative;
    padding: 0 0 15px 0;
    left: 0;
}

.cbp_tmtimeline > li .cbp_tmtime span {
  text-align: left;
}

.cbp_tmtimeline > li .cbp_tmlabel {
    margin: 0 0 30px 0 !important;
    padding: 1em !important;
    font-weight: 400;
    font-size: 100%;
}

.cbp_tmtimeline > li .cbp_tmlabel:after {
  right: auto;
  left: 20px;
  border-right-color: transparent;
  border-bottom-color: #36c5ea;
  top: -20px;
}

.cbp_tmtimeline > li:nth-child(odd) .cbp_tmlabel:after {
  border-right-color: transparent;
  border-bottom-color: #1993d5;
}

.cbp_tmtimeline > li .cbp_tmicon {
  position: relative;
  float: right;
  left: auto;
  margin: -55px 15px 0 0px;
}

.cbp_tmtimeline > li .cbp_tmtime div.age {
       text-align: left;
}
.cbp_tmtimeline > li .cbp_tmtime div.age2 {
       text-align: left;
}


}

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

*{
-webkit-box-sizing: border-box;
box-sizing: border-box;
}
.container{
  width: 100%;
}

#news_area{
  padding: 15px 1% 0;
}
#content_area{
  padding: 0 2%;
}
#content_area a{
  float: none;
  display: inline;
  margin-right: 0.2%;
}
#content_area a:nth-child(6n){
  margin-right: 0;
}

#content_area img:hover{
  opacity: 0.5;
}
#bn_area figure a{
  width:24.5%;
}
#bn_area figure img{
  display: block;
  width: 100%;
  margin: 0 auto 10px;
}
#footer{text-align: center;}
#footer img{
  display: inline-block;
  width: auto;
  height: 120px;
  margin: 0 auto 10px;
}
#wrap{
  padding: 25px 20px;
}
#page{
  float: left;
  width: 65%;
  color: #555;
  font-size: 14px;
}
#page h1{
  padding: 0 0 0 30px;
  background-position: left 5px;
}
#sidebar{
  width: 30%;
}
#contact dt{
  float:none;
  width:100%;
  padding-top:10px;
}
#contact dd{
  float:none;
  width:100%;
  margin-bottom:20px;
}
#contact dd input,
#contact dd textarea{
  width:100%;
  padding:10px;
}
#contact dd textarea{
  height:150px;
}
#contact input[type="submit"]{
  float: right;
  margin: 0;
}

.entry:nth-child(3n+2) {
  clear: both;
}

.entry a {
  min-height: 245px;
}

}

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

.ifr_list{
  width: 85%;
  margin: 0 auto 20px;
}
.ifr_list p{
  margin-bottom: 10px;
  padding: 0 !important;
}
.ifr_list img{
  float: none;
  width: 100%;
}
.ifr_list a{
  width: 100%;
}


#header h1{
  clear: both;
  padding: 10px 0;
}
#logo{
  display: block;
  width: 90%;
  margin: auto;
}
#main_visual{
  overflow: hidden;
}
#pagetop{
  right: 35%;
  margin: auto;
}

#content_area a{
  margin-right: 0;
}
.tubepress_normal_embedded_wrapper, .tubepress_thumbnail_area {
width:auto!important;
}

.tubepress_container {
width: 100% !important;
height: 75% !important;
}

.tubepress_normal_embedded_wrapper{
position: relative !important;
padding-bottom: 56.25% !important;
width:100% !important;
padding-top: 30px !important;
height: 0 !important;
overflow: hidden !important;
clear:both !important;
margin-bottom:20px !important;
}

.youtube-player {
position: absolute !important;
top: 0 !important;
left: 0 !important;
width: 100% !important;
height: 100% !important;
}

}

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

#relate_post ul li a p{
  height: 100px;
  font-size: 10px;
}
#relate_post ul li a{
  height: auto;
}
#relate_post ul li figure{
  overflow: hidden;
  height: 62px;
}

}

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

#content_area a{
  margin: 0;
}
#wrap{
  padding: 15px 10px;
}
#search_box{
  width: 90%;
}
#search_box input[type="text"]{
  width: 75%;
}
#page{
  float: none;
  width: 100%;
}
#relate_post ul li figure{
  height: 70px;
}
#g_map{
  height: auto;
}
#sidebar{
  float: none;
  width: 100%;
}
#sidebar img{
  width:33.33%;
  float: left;
}
#sidebar iframe{
  width: 100%;
  height: 230px;
}
#bn_area figure a{
  width: 24.4%;
}

}

@media screen and (max-width:527px){
.container{
  position: static;
}

.entry{
  width:32%;
  margin-right: 1%;
  box-sizing:border-box;
}
.entry a{
  padding: 10px;
}
.entry figure{
  width:99%;
}
#pagetop{
  bottom: 10px;
  right: 10px;
}
#relate_post ul li{
  width: 33%;
  margin-right: 0;
}
#relate_post ul li{
  float: left;
}
#relate_post ul li a{
  height: 200px;
  padding: 0;
}
#relate_post ul li a figure{
  padding: 3px 0;
}
.pc_tile img{
  width: 50%;
  height: auto;
  float: left;
}
#relate_post ul li a p{
  padding: 0 5px;
}

.sp_none{
  display: none;
}
.sp_vis{
  display: block;
  width: 100% !important;
}

.top_popular-post{
  overflow: hidden;
  margin: 20px 0;
}
.top_popular-title{
  padding-top: 20px;
  text-align: center;
  font-size: 18px;
}
.top_popular-post li{
  list-style: none;
  width: 49%;
  margin-bottom: 10px;
  line-height: 0.8 !important;
}
.top_popular-post li:nth-child(odd){
  float: left !important;
}
.top_popular-post li:nth-child(even){
  float: right !important;
  clear: none !important;
}
.top_popular-post li a{
  color: #333;
}
.top_popular-post .wpp-post-title{
  font-size: 10px;
}
.top_popular-post .wpp-views{
  display: block;
  margin-top: 3px;
  font-size: 10px;
}

section#bn_area{
  padding: 2%;
}
section#bn_area figure a{
  float: left;
  width: 48%;
  margin-right: 0;
  margin-bottom: 2%;
}
section#bn_area figure a:nth-child(2n){
  float: right;
}
section#bn_area figure img{
  display: block;
  width: 100%;
  margin: 0;
}
#footer img{
  height: 65px;
  margin: 0;
}

}

#cm_areas > div {
  padding: 2em;
}
#cm_area {
  padding: 2em;
}
#cm_areas .ttl,
#cm_area .ttl {
  width: 96%;
  padding: 0.2em 2% 0.2em 2%;
  text-align: center;
}
#cm_areas .txt,
#cm_area .txt {
  margin-top: 1em;
  font-size: 80%;
}
#cm_areas .img,
#cm_area .img {
  margin-top: 1em;
  text-align: center;
}
#cm_areas .img img,
#cm_area .img img {
  max-width: 100%;
}
#cm_areas .ytt,
#cm_area .ytt {
  clear: both;
  padding-top: 1em;
  padding-bottom: 0;
  margin: auto;
  text-align: center;
}
#cm_areas .ytb,
#cm_area .ytb {
  clear: both;
  padding-top: 1em;
  padding-bottom: 0;
  margin: auto;
}
#cm_areas .ytb iframe,
#cm_area .ytb iframe {
  margin: auto;
}
#cm_areas .lnk,
#cm_area .lnk {
  clear: both;
  padding-top: 1em;
  padding-bottom: 0;
}
#cm_areas .lnk a,
#cm_area .lnk a {
  display: block;
  width: 60%;
  margin: auto;
  padding: 0.5em;
  text-align: center;
  text-decoration: none;
  font-weight: bold;
}
#cm_areas .lnk a:hover,
#cm_area .lnk a:hover {
  opacity: 0.8;
}

@media screen and (min-width: 641px){
  #cm_areas .txt,
  #cm_area .txt {
    float: left;
    width: 60%;
  }
  #cm_areas .img,
  #cm_area .img {
    float: right;
    width: 38%;
  }
}
@media screen and (max-width: 640px){
}

/*----------------- YouTube埋め込み画像用 ---------------------*/

.youtube {
	display: inline-block;
	position: relative;
	overflow: hidden;
	width: 100%;
	max-width: 640px;
	height: auto;
	white-space: nowrap;
}
.youtube::before {
	position: absolute;
	content: attr(data-name);
	color: #fff;
	text-align: center;
	font-size: 18px;
	padding-top: 8px;
	padding-left: 10px;
	background-image: url(https://hiromasu.com/wp/wp-content/uploads/2016/11/tube-b-gray.png);
	background-repeat: no-repeat;
	background-position: center;
	top: 0;
	left: 0;
	width: 100%;
	max-width: 640px;
	height: 100%;
	z-index: 10;
	transition: all 0.3s;
}
.youtube:hover::before {
	background-image: url(https://hiromasu.com/wp/wp-content/uploads/2016/11/tube-b-red.png);
	background-repeat: no-repeat;
	background-position: center;
	background-color: rgba(0, 0, 0, 0.2);
	cursor: pointer;
	transition: all 0.3s;
	max-width: 640px;
}

/*----------------- 投稿ページ背景リンク用 ---------------------*/

/* for obi */
#hai_obi {
	position:absolute;
	left:0;
	top:30px;
	width:100%;
	height:368px;
}

#hai_obi .left_obi,
#hai_obi .right_obi {
	position:absolute;
	top:0;
	width:40%;
	height:100%
}
#hai_obi .left_obi {
	left:0;
}
#hai_obi .right_obi {
	right:0;
}

#hai_obi .left_obi a,
#hai_obi .right_obi a{
	display:block;
	width:100%;
	height:100%;
	text-decoration: none;
}

@media screen and (max-width: 980px){
	#hai_obi { display: none; }
}




@media screen and (min-width: 981px){
.sp {
	display: none!important;
}
}

@media screen and (max-width: 980px){
.no-sp {
	display: none!important;
}
}

/* for kabu Youtube */

.kabuIframeWrap {
	position: relative;
	width: 100%;
	padding-top: 56.25%;
}

.kabuIframeWrap > iframe {
	position:absolute;
	top:0;
	left:0;
	width:100%;
	height:100%;
}
