@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
*/

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

/* 本文の幅を700pxに狭めて、目の移動を少なくしたい */
@media screen and (min-width: 1024px) {
  .article {
    width: 700px;
    margin: 0 auto;
  }
}

/* サブメニューの背景色 */
.sub-menu {
  background-color: #e2f0d9!important; /*背景色*/
}

/* メニュー「イベント」の背景色 */
#menu-item-5779 {
  background-color: #eff0ae;
}

/* トップページのタイトルを非表示にする */
.front-top-page #main .entry-title{
  display: none;
}

/* 固定ページの更新日時を非表示にする　*/
.page .date-tags {
display: none;
}

/* エントリーカードで更新日を表示する */
.widget-entry-card-date {
  display: block;
	font-size: 20px
		font-weight: bold;
}

/* エントリーカードの画像サイズを本文幅の30%にする */
.widget-entry-cards figure {
width: 30%;
}

/* 本文テキスト両端揃え */
p {
  text-align: justify;
  word-break: break-all;
}

/* サブメニューをスクロール後も表示する */
}
.fixed-header .navi-in > ul li:hover > ul {
display: block!important;
}

/* サブメニュー矢印の大きさ */
.navi-in .has-icon {
  right: 5px;
  opacity: unset;
  font-size: 20px;
}

/*　リンクテキスト カスタマイズ　*/
a{ /*リンクテキスト装飾無し*/
  text-decoration: none;
}
a:hover { /*リンクテキストホバー時アンダーライン表示*/
  text-decoration: none;
}
.share-button{ /*シェアボタン装飾無し*/
  text-decoration: none!important;
}
.follow-button{ /*フォローボタン装飾無し*/
  text-decoration: none!important;
}
.cat-link{ /*カテゴリーラベル装飾無し*/
  text-decoration: none!important;
}
.tag-link{ /*タグラベル装飾無し*/
  text-decoration: none!important;
}
/* リンクテキストホバー色 */
.entry-content a:hover { color: #00a0e9; }


/* 見出しのデザインリセット */
/*H1 */
.article h1 {
 line-height: 1.25;
 font-weight: bold;
}

.entry-content h1{
 border:none;
 background:none;
 padding: 0;
}

/*H2 */
.entry-content h2{
 border:none;
 background:none;
 padding: 0;
}

/* H3 */
.entry-content h3{
 border:none;
 background:none;
 padding: 0;
}

/* H4 */
.entry-content h4{
 border:none;
 background:none;
 padding: 0;
}

/* H5 */
.entry-content h5{
 border:none;
 background:none;
 padding: 0;
}

/* H6 */
.entry-content h6{
 border:none;
 background:none;
 padding: 0;
}

/* h1の設定　*/
.article h1{
	font-size: 36px;
	padding: 0.6em;/*文字周りの余白*/
  color: #007B43;/*文字色*/
  background: none;/*背景色*/
}

/* h2の設定 */
.article h2 {
  padding: 1em;/*文字周りの余白*/
  color: #007B43;/*文字色*/
  background: none;/*背景色*/
  border-bottom: solid 3px #33ad37;/*下線*/
}

/* h3の設定 */
.article h3 {
    position: relative;
    padding: 1rem 1rem 1rem 1.5rem;
    border-radius: 5px;
    background-color: #eff0ae;
    color: #007B43;
    font-weight: bold;
}

h3:before {
    position: absolute;
    top: 100%;
    left: 40px;
    height: 0;
    width: 0;
    border-style: solid;
    border-color: transparent;
    border-top-color: #eff0ae;
    border-width: 8px;
    content: "";
}

/* h4　の設定　*/
.article h4 {
	position: relative;
	border:none;
	color: #007B43;
	padding: 0.5em;
}
.article h4:after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -5px;
  width: 100%;
  height: 5px;
  background: -webkit-repeating-linear-gradient(-45deg, #e2f0d9, #e2f0d9 2px, #fff 2px, #fff 4px);
  background: repeating-linear-gradient(-45deg, #e2f0d9, #e2f0d9 2px, #fff 2px, #fff 4px);
}

/* h5 の設定　*/
.article h5 {
  position: relative;
	color: #007B43;
  border: 1px;
	padding: 0.5em;
	border-bottom: solid 1px #33ad37;/*下線*/
}

/* h6の設定 */
.article h6{
	color: #007B43;
	border-bottom:none;
	border-left:solid 5px #d4da00;
		padding: 0.5em;
}

/* 豊田市各リンクバナーを並べる */
.top-banner{
	display: flex;
	flex-wrap:wrap;
	justify-content: center;
	width: 90%;
	height: auto;
}

/* ギャラリーのキャプションを画像と重ねないようにする */
.wp-block-gallery.has-nested-images figure.wp-block-image figcaption {
  background: none;           /* タイトル背景の影を消す */
  color: #333;                /* 文字色 */
  position: relative;         /* テキストを画像と重ねない */
}

/* ギャラリーの端数画像が大きく表示されないようにする */
.entry-content .wp-block-gallery figure.wp-block-image {
    flex-grow: 0;
}

/* ロールオーバー */
a:hover img{
opacity:0.6;
filter:alpha(opacity=70);
-ms-filter: “alpha( opacity=70 )”;
transition: 0.3s;
}

/* エントリーカードのタイトルを大きく太字にしたい */
.widget-entry-card-title {
	font-size: 18px;
	font-weight: bold;
	color: #007B43;
} 

/* 日付を大きくしたい */
.post-date,
.post-update {
 color: #666666;
 font-size: 16px;
	font-weight: bold;
}


/************************************
** 子テーマ用のスタイルを書く　ここまでend
************************************/


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

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

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


