@charset "UTF-8";

/*!
Theme Name: Cocoon Child
Description: Cocoon専用の子テーマ
Theme URI: https://wp-cocoon.com/
Author: わいひら
Author URI: https://nelog.jp/
Template:   cocoon-master
Version:    1.1.3
*/

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


.article h2 {
  color: #fff;
  background: #1c9d82;
}
.article h3 {
  border-left: 7px solid #1c9d82;
  border-right: 0px solid #ddd;
  border-top: 0px solid #ddd;
  border-bottom: 0px solid #ddd;
}
.article h4 {
  border-top: 2px solid #1c9d82;
  border-bottom: 2px solid #1c9d82;
}
a:hover {
  filter:alpha(opacity=65);
  -moz-opacity: 0.65;
  opacity: 0.65;
  -webkit-transition: all 0.3s ease;
  -moz-transition: all 0.3s ease;
  -o-transition: all 0.3s ease;
  transition: all 0.3s ease;
}

.header .site-name-text {
  font-weight: bold;
}
.tagline {
  margin: 0 1em 16px 1em;
  color: #333;
}
table tr:nth-of-type(2n+1) {
  background: none;
}
#h-top  {
  min-height: 80px;
}
@media only screen and (max-width: 568px) {
  #h-top  {
    min-height:66px;
  }
}


@media only screen and (max-width: 568px) {
  #body  {
    margin-top:0;
  }
}

.logo-text {
  padding: 10px 0 0 0px;
  font-size: 1em;
  line-height: 1.4;
}
#navi {
  background-color: #0068b7;
  padding: 8px 0;
}
#navi ul li a {
  font-size: 16px;
  color: #fff;
}
.navi-in > ul li {
  border-right: 1px solid #f7b0b0;
  height: 50px;
  line-height: 50px;
}
.navi-in > ul li:first-child {
  border-left: 1px solid #f7b0b0;
}
.navi-in a:hover {
  background:none;
}


@media only screen and (max-width: 568px) {
  div#main {
    padding: 0 10px 10px 10px;
  }
}

p {
  margin-block-start: 1.5em;
  margin-block-end: 1.5em;
}
.article {
  font-size: 17px;
  line-height: 177%;
}

.aligncenter {
  clear: none;
}


/*トップ掲示板*/

.widget-index-bottom-title {
  font-weight: bold;
  position: relative;
  display: inline-block;
  margin: 1rem 0 1rem -10px;
  padding: 1rem 3rem;
  color: #fff;
  border-radius: 0 100vh 100vh 0;
  background: #557bc9;
  -webkit-box-shadow: 3px 3px 5px rgba(0, 0, 0, .2);
  box-shadow: 3px 3px 5px rgba(0, 0, 0, .2);
}

.widget-index-bottom-title:before {
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 0;
  height: 0;
  content: '';
  border-top: 10px solid #005276;
  border-left: 10px solid transparent;
}
.new_topic .wpforo-widget-wrap {
  background-color: #f9f9f9;
  border: 1px solid #eee;
}

#wpforo #wpf-widget-recent-replies .wpforo-list-item-right p.posttext, #wpf-widget-recent-replies .wpforo-list-item-right p.posttext {
  font-size: 16px;
}

.wpforo-list-item p {
  margin: 0;
}


/*カスタム投稿タイプ記事一覧ページ*/

.custum-list ol {
  margin-bottom: 60px;
}

.custum-list li {
  margin: 20px;
}

.custum-list li a {
  text-decoration: none;
  color: #333;
  font-size: 20px;
}
.custum-list ol {
  counter-reset:number; /*数字をリセット*/
  list-style-type: none!important; /*数字を一旦消す*/
  padding:0.5em;
}

.custum-list ol li {
  position: relative;
  line-height: 1.7em;
  padding: 20px 16px 20px 68px;
  background: #f8f8f8;
}

.custum-list ol li:before{
  /* 以下数字をつける */
  position: absolute;
  counter-increment: number;
  content: counter(number);
  /*数字のデザイン変える*/
  display:inline-block;
  background: #1c9d82;
  color: white;
  font-family: 'Avenir','Arial Black','Arial',sans-serif;
  font-weight:bold;
  font-size: 24px;
  left: 0;
  width: 40px;
  height: 40px;
  line-height: 40px;
  text-align: center;
  /*以下上下中央寄せのため*/
  top: 50%;
  -webkit-transform: translateY(-50%);
  transform: translateY(-50%);
  margin-left: 20px;
}

/*勉強会一覧ページ*/

.study_session ul {
  margin-bottom: 60px;
}

.study_session li {
  margin: 16px;
}

.study_session li a {
  text-decoration: none;
  color: #333;
  font-size: 20px;
}


/*wpForo添付イメージリンク用*/
.wpforo-attached-file{
  position: relative;
}

.wpforo-attached-file .paperclip{
  position: absolute;
  font-size: 40px !important;
  opacity: 0.6;
  top: -12px;
  left: -13px;
}


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

}



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


  ol, ul {
    padding-left: 0;
  }
  .custum-list li {
    margin: 16px 0px;
  }

  #wpforo .wpforo-widget-wrap .wpforo-widget-content .wpforo-list-item-left, .wpforo-widget-wrap .wpforo-widget-content .wpforo-list-item-left {
    float: left;
    width: 16%;
    margin: 0px 0px 0 0px;
  }
  #wpforo .wpforo-widget-wrap .wpforo-widget-content .wpforo-list-item-left img, .wpforo-widget-wrap .wpforo-widget-content .wpforo-list-item-left img {
    width: 80%;
    height: 100%;
  }
  .logout {
    border: 1px solid #fff;
    float: left;
    padding: 4px 10px;
    border-radius: 8px;
    background: #fff;
  }
  .logout a {
    text-decoration: none;
    color: #1c9d82 !important;
  }
  .footer-bottom {
    margin-top: 8px;
  }

}

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