@charset "UTF-8";

/*!
Theme Name: Cocoon Child
Template:   cocoon-master
Version:    1.0.6
*/

/************************************
** 子テーマ用のスタイルを書く
************************************/
/*必要ならばここにコードを書く*/

/************************************
** レスポンシブデザイン用のメディアクエリ
************************************/
/*1240px以下*/
@media screen and (max-width: 1240px){
  /*必要ならばここにコードを書く*/
}

/*1030px以下*/
@media screen and (max-width: 1030px){
  /*必要ならばここにコードを書く*/
}

/*768px以下*/
@media screen and (max-width: 768px){
  /*必要ならばここにコードを書く*/
}

/*480px以下*/
@media screen and (max-width: 480px){
  /*必要ならばここにコードを書く*/
}


/* リセット */
.entry-content > div {
padding-bottom: 0;
margin-bottom: 0;
}



/* 記事見出し2装飾 */
#main .entry h2 a {
    background-color: #848484; /*背景色*/
    font-size:22px;
    text-decoration:none;
    font-weight:bold;
}

/* シンプリシティー2　記事区切り */
#main .entry {
border-bottom: 2px dotted #ddd;
padding-bottom: 15px;
}
	
/* シンプリシティー2　関連記事区切り */
#main .related-entry {
border-bottom: 2px dotted #ddd;
padding-bottom: 15px;
}

/* 見出し2装飾 */
.article h2 {
    background-color: #848484; /*背景色*/
    border-left: 0 none;
    color: #ffffff;  /*文字色*/
    padding: 15px 30px;
}
	
/* 見出し3装飾 */
.article h3 {
    font-size: 23px;
    border-bottom: 5px solid #8491c3;
    padding: 10px 0;
}
	
/* ウィジェットタイトル部分 */
#sidebar h3{
    text-align:center;
    line-height: 24px;
    font-size: 18px;
    color: #ffffff;    /*文字色*/
    background-color: #848484;    /*背景色*/
    border-radius: 10px;
    padding: 2px 10px;
}

	
/*人気記事リスト*/
.widget_popular_ranking ul li, .widget_new_popular ul li {
 font-size: 12px; 
}
	
/* 新着記事リスト下線と高さ */
#sidebar li.new-entry {
 font-size: 12px; 
}


/* BlogRoll
----------------------------------------------- */
/*全体の設定*/
.rss-blogroll:after{
     display: block;
     visibility: hidden;
     clear: both;
     height: 0;
     content: ".";
}

.rss-blogroll{

}

/*チャンネル単位の設定*/
.rss-blogroll .blogroll-channel{
	float: left;
	overflow: auto;
	margin-bottom: 0;
	padding: 0;
	font-size: 12px;
}

/*リストの設定*/
.rss-blogroll .blogroll-channel .blogroll-list {
	padding: 3px 0;
	padding-top: 0;
	border-bottom: 1px dashed #c2c2c2;
	list-style-type: none;
	font-size: 13px;
	line-height: 1.3;
}

/*テキスト部分の設定*/
.rss-blogroll .blogroll-channel .blogroll-list a{
	padding-left: 5px;
	text-decoration: none;
}

.rss-blogroll .blogroll-channel .blogroll-list a:hover{
	text-decoration: underline;
}

/*NEWの文字の設定*/
.rss-blogroll .blogroll-new-entry{
	color: #ff0a00;
	font-weight: bold;
	font-size: 11px;
}



/* ch_list
----------------------------------------------- */
/* 画像の絶対値指定
----------------------------------------------- */
.zettai {
  position: absolute;
  top: 0px;
  right: 10px;
}

.kotei {
  position: fixed;
  top: 0px;
  right: 10px;
}

.tsuibi { 
 position: fixed; 
 right: 20px;
}


/* perl 出力テーブル用
----------------------------------------------- */
.labelbox{
    background:#fff;
    padding:5px;
    width:440px;
    margin-bottom:5px;
    font-size: 14px; 
    line-height: 1.2;
    color: #565656; /* 文字色 */
    /* clear:both; これは不要 */
    overflow : hidden;
    box-shadow: 0 3px 5px rgba(0, 0, 0, 0.22);
}

.floatright{
    border: 1px;
    width: 290px;
    float: right;
}


/* twitter設定
----------------------------------------------- */
.twitter-tweet{
  border: #e1e8ed 1px solid; 
  border-radius:6px;
  width:500px; 
  box-sizing: border-box;
  margin-left: auto;
  margin-right: auto;
}

.twitter-tweet-error{
  border: #e1e8ed 1px solid; 
  border-radius:6px;
  width:500px; 
  box-sizing: border-box;
  margin-left: auto;
  margin-right: auto;
}

.twitter-tweet2{
  border: #e1e8ed 1px solid; 
  border-radius:6px;
  margin:  30px 0; 
  width:500px; 
  box-sizing: border-box;
}

.video-container, 
.instagram-container, 
.facebook-container,
.twitter-tweet {
  margin-left: auto;
  margin-right: auto;
} 

.awase{
  width:550px;
  max-width:100%;
  margin-left: auto;
  margin-right: auto;
} 


.link1{
   margin-left:1%;
   max-width: 100%;
   width:550px; 
} 

.video1{
   margin-left:1%;
   max-width: 100%;
   width:520px; 
} 

/* 本文横幅
----------------------------------------------- */
#main {
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 4px;
  margin-left: auto;
  margin-right: auto;
    box-sizing: border-box;
    margin-bottom: 30px;
    padding: 20px 29px;
/* width: 740px; */
	max-width: 100%;
    width: 800px;
}

/* タイトル中央寄せ*/
.page .entry-title,
.single .entry-title {
	text-align: center;
}


/************************************
** ■bbPress CSS
************************************/

/* ##配色
 * 
 * - white: white
 * - gray: whitesmoke
 * - black: slategray
 * - sub: #DFDFDF
 * - main: #4C4C4C
 * 
 * 上のカラーコードで検索かけて一括変換すればお好みの色に変えられます。cssの辛いとこね、これ
 *
*/

/*bbPressフォーラム一覧画面*/

#bbpress-forums ul.bbp-forums {
  border: none;
}

#bbpress-forums li.bbp-header, #bbpress-forums li.bbp-footer, #bbpress-forums li.bbp-body li.bbp-forum-reply-count, #bbpress-forums li.bbp-body li.bbp-forum-freshness {
  display: none;
}

#bbpress-forums li.bbp-body ul.forum {
  border-top: none;
  background: white;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
}

#bbpress-forums li.bbp-forum-info {
  -webkit-box-flex: 2;
  -ms-flex-positive: 2;
  flex-grow: 2;
}

#bbpress-forums .bbp-forum-info .bbp-forum-content {
  position: relative;
  display: inline-block;
  padding: .5em 1em .5em 5px;
  min-width: 200px;
  max-width: 100%;
  border-radius: 3px;
  color: slategray;
  background: whitesmoke;
}

#bbpress-forums .bbp-forum-info .bbp-forum-content::before {
  content: "";
  position: absolute;
  top: -20px;
  left: 30px;
  margin-left: -15px;
  border: 10px solid transparent;
  border-bottom: 10px solid whitesmoke;
}

#bbpress-forums .bbp-forum-info a.bbp-forum-title {
  display: block;
  font-size: 1.2em;
  font-weight: 900;
  color: #4C4C4C;
  /*カテゴリー名の文字色*/
  text-decoration: none;
  padding: 15px 15px 15px 0;
}

#bbpress-forums li.bbp-body li.bbp-forum-topic-count {
  text-align: center;
  vertical-align: middle;
  margin-top: 15px;
  width: 25px;
  min-width: 25px;
  height: 25px;
  line-height: 25px;
  border-radius: 50%;
  background: whitesmoke;
  color: slategray;
}


/*bbPressトピック一覧画面*/

.bbp-template-notice, #bbpress-forums li.bbp-topic-title p.bbp-topic-meta, #bbpress-forums li.bbp-topic-voice-count, #bbpress-forums li.bbp-topic-freshness, #bbpress-forums .bbp-pagination {
  display: none;
}

#bbpress-forums ul.bbp-topics, #bbpress-forums li.bbp-header {
  border: none;
}

#bbpress-forums div.odd, #bbpress-forums ul.odd {
  background: white;
}

#bbpress-forums li.bbp-body ul.topic {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
}

#bbpress-forums li.bbp-body ul.topic li.bbp-topic-title {
  -webkit-box-flex: 2;
  -ms-flex-positive: 2;
  flex-grow: 2;
}

#bbpress-forums li.bbp-body ul.topic li.bbp-topic-title a.bbp-topic-permalink {
  display: block;
  font-weight: 900;
  color: #4C4C4C;
  /*カテゴリー名の文字色*/
  text-decoration: none;
  padding: 15px 15px 15px 0;
}

#bbpress-forums li.bbp-body ul.topic li.bbp-topic-reply-count {
  text-align: center;
  vertical-align: middle;
  margin-top: 15px;
  width: 25px;
  min-width: 25px;
  height: 25px;
  line-height: 25px;
  border-radius: 50%;
  background: whitesmoke;
  color: slategray;
}


/*トピック作成フォーム*/

#bbpress-forums div.bbp-topic-form form#new-post fieldset.bbp-form {
  background: white;
  border: none;
  padding: 0;
}

#bbpress-forums div.bbp-topic-form form#new-post fieldset.bbp-form legend {
  position: relative;
  padding: 10px 40px 10px 10px;
  margin: 0 0 1em;
  line-height: 20px;
  background: #DFDFDF;
  border-left: 40px solid #4C4C4C;
}

#bbpress-forums div.bbp-topic-form form#new-post fieldset.bbp-form legend::before {
  content: "\f5ad";
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  font-size: 2em;
  color: white;
  position: absolute;
  left: -32px;
}

#bbpress-forums div.bbp-topic-form form#new-post fieldset.bbp-form label, #bbpress-forums div.bbp-topic-form form#new-post fieldset.bbp-form select, #bbpress-forums div.bbp-topic-form form#new-post fieldset.bbp-form br {
  display: none;
}

#bbpress-forums div.bbp-topic-form form#new-post fieldset.bbp-form>div>p:nth-of-type(1)::before{
  content: "タイトル";
}

#bbpress-forums div.bbp-topic-form form#new-post fieldset.bbp-form>div>div.bbp-the-content-wrapper::before {
  content: "本文";
}

#bbpress-forums div.bbp-topic-form form#new-post fieldset.bbp-form>div>p:nth-of-type(1)::before,
#bbpress-forums div.bbp-topic-form form#new-post fieldset.bbp-form>div>div.bbp-the-content-wrapper::before {
  color: slategray;
  line-height: 50px;
  background: #DFDFDF;
  padding: .5em 1.5em;
  border-radius: 30px;
}

#bbpress-forums div.bbp-topic-form form#new-post fieldset.bbp-form input#bbp_topic_title, #bbpress-forums div.bbp-topic-form form#new-post fieldset.bbp-form textarea#bbp_topic_content {
  width: 100%;
  background: whitesmoke;
  border: none;
  box-shadow: none;
  outline: none;
  -webkit-appearance: none;
  appearance: none;
}

#bbpress-forums div.bbp-topic-form form#new-post fieldset.bbp-form .bbp-submit-wrapper {
  float: none;
  text-align: center;
}

#bbpress-forums div.bbp-topic-form form#new-post fieldset.bbp-form .bbp-submit-wrapper button#bbp_topic_submit {
  width: 100%;
  max-width: 600px;
  margin: auto;
  background: #4C4C4C;
  color: white;
  border: none;
  border-radius: 3px;
}


/*トピック詳細画面*/

#bbpress-forums ul.bbp-replies {
  border: none;
}

#bbpress-forums div.bbp-reply-header {
  background-color: white;
  border-top: none;
}

#bbpress-forums div.bbp-reply-author {
  width: 20%;
}

#bbpress-forums .bbp-author-role, #bbpress-forums .bbp-reply-ip, #bbpress-forums .bbp-reply-permalink, #bbpress-forums span.bbp-admin-links {

}

#bbpress-forums .bbp-meta {
  text-align: right;
}

#bbpress-forums .bbp-body span.bbp-reply-post-date {
  color: #ccc;
}

#bbpress-forums div.bbp-reply-author img.avatar {
  margin: 0 auto;
  border-radius: 50%;
}

#bbpress-forums div.bbp-reply-author a.bbp-author-name {
  color: slategray;
  text-decoration: none;
}

#bbpress-forums div.bbp-reply-content {
  position: relative;
  display: inline-block;
  padding: 30px;
  margin-left: 20px;
  min-width: 200px;
  max-width: calc( 80% - 20px);
  border-radius: 3px;
  color: slategray;
  background: whitesmoke;
}

#bbpress-forums div.bbp-reply-content::before {
  content: "";
  position: absolute;
  left: -20px;
  top: 30px;
  border: 10px solid transparent;
  border-right: 10px solid whitesmoke;
}

@media(max-width:480px) {
  #bbpress-forums .bbp-body div.bbp-reply-author {
    margin: 0;
    min-height: 85px;
  }
  #bbpress-forums .bbp-body div.bbp-reply-content {
    margin: 0;
  }
  #bbpress-forums .bbp-body div.bbp-reply-content p {
    padding: .5em 1em;
    margin: 0;
  }
  #bbpress-forums div.bbp-reply-content::before {
    top: -20px;
    left: 20px;
    border: 10px solid transparent;
    border-bottom: 10px solid whitesmoke;
  }
}


/*返信フォーム*/

#bbpress-forums div.bbp-reply-form form#new-post fieldset.bbp-form legend {
  position: relative;
  padding: 10px 40px 10px 10px;
  margin: 0 0 1em;
  line-height: 20px;
  background: #DFDFDF;
  border-left: 40px solid #4C4C4C;
}

#bbpress-forums div.bbp-reply-form form#new-post fieldset.bbp-form legend::before {
  content: "\f5ad";
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  font-size: 2em;
  color: white;
  position: absolute;
  left: -32px;
}

#bbpress-forums div.bbp-reply-form form#new-post fieldset.bbp-form {
  border: none;
  padding: 0;
  background: white;
}

#bbpress-forums div.bbp-reply-form form#new-post fieldset.bbp-form textarea#bbp_reply_content {
  width: 100%;
  background: whitesmoke;
  border: none;
  box-shadow: none;
  outline: none;
  -webkit-appearance: none;
  appearance: none;
}

#bbpress-forums div.bbp-reply-form form#new-post fieldset.bbp-form .bbp-submit-wrapper {
  float: none;
  text-align: center;
}

#bbpress-forums div.bbp-reply-form form#new-post fieldset.bbp-form .bbp-submit-wrapper button#bbp_reply_submit {
  width: 100%;
  max-width: 600px;
  margin: auto;
  background: #4C4C4C;
  color: white;
  border: none;
  border-radius: 3px;
}

/*匿名投稿を可能にする時用*/
fieldset.bbp-form p.form-allowed-tags,
fieldset.bbp-form>div>fieldset.bbp-form {
  display: none;
}


/* 名前を非表示 */
fieldset.bbp-form fieldset.bbp-form p:nth-child(2) {
	/*display: none;*/
}
/* メールアドレスを非表示 */
fieldset.bbp-form fieldset.bbp-form p:nth-child(3) {
	/*display: none;*/
}
/* ウェブサイトを非表示 */
fieldset.bbp-form fieldset.bbp-form p:nth-child(4) {
	/*display: none;*/
}
/* タグを非表示 */
fieldset.bbp-form p.form-allowed-tags {
	/*display: none;*/
}
