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

/************************************
** 子テーマ用のスタイルを書く
************************************/
/*必要ならばここにコードを書く*/
/*font変更*/
@font-face{
font-family: “myfont”;
src: url('utsunomiya-ichigo.com/public_html/wp-content/themes/cocoon-child-master/Fonts/Boku2-Regular.otf ');
}
/* @font-faceのfont-familyでつけた名前を指定 */
 h1 {
  font-family: 'myfont';
}
  /*サブメニューのサブメ/************************************
** グローバルメニュー
************************************/
.navi {
  background-color: #fff;
}
.navi .item-label,
.navi .item-description {
  display: -webkit-box;
  overflow: hidden;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
}

.navi-in a {
  position: relative;
}
.navi-in .has-icon {
  position: absolute;
  right: 6px;
  top: 0;
  display: inline-block;
  opacity: 0.7;
  font-size: 11px;
}
.navi-in > ul {
  padding: 0;
  margin: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  text-align: center;
  /*サブメニュー*/
}
.navi-in > ul li {
  display: block;
  width: 176px;
  height: 60px;
  line-height: 60px;
  position: relative;
}
.navi-in > ul li:hover > ul {
  display: block;
}
.navi-in > ul .menu-item-has-description > a > .caption-wrap {
  line-height: 21.4285714286px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  align-content: center;
  height: 80px;
}
.navi-in > ul .menu-item-has-description > a > .caption-wrap > div {
  width: 100%;
}
.navi-in > ul .sub-menu {
  display: none;
  position: absolute;
  margin: 0;
  min-width: 240px;
  list-style: none;
  padding: 0;
  background-color: #fafbfc;
  z-index: 99;
  text-align: left;ニュー*/
}
.navi-in > ul .sub-menu li {
  width: auto;
}
.navi-in > ul .sub-menu a {
  padding-left: 16px;
  padding-right: 16px;
}
.navi-in > ul .sub-menu ul {
  top: -60px;
  left: 240px;
  position: relative;
}
.navi-in a {
  color: #333;
  text-decoration: none;
  display: block;
  font-size: 16px;
  transition: all 0.3s ease-in-out;
}
.navi-in a:hover {
  background-color: #f5f8fa;
  transition: all 0.3s ease-in-out;
  color: #333;
}
.navi-in a:hover > ul {
  display: block;
}


/*日付消す*/
.page .date-tags,
.page .author-info {
display: none;
}

/* コンタクトフォーム７ */
.cf7 {
	max-width: 80%;
	box-sizing: border-box;
}
.cf7 dt i {
	margin-right: .5em;
}
.cf7 dd {
	margin: 0 0 2vh 0;
}
.cf7 .rqd {
	color: #ff6666;
	font-size: .8em;
	margin-left: .5em;
}
.btn_cf7 {
	text-align: center;
}
.btn_cf7 input {
	width: 100%;
}
@media screen and (min-width: 768px) {
	.cf7 dt {
	float: left;
	clear: left;
	width: 35%;
	padding: .5em 1em .5em 0;
	}
.cf7 dd {
	margin-left: 35%;
	}
	.cf7 .rqd {
	float: right;
	margin-left: 0;
	margin-top: .2em;
	}
	.btn_cf7 input {
	width: 70%;
}
}

/************************************
****　サイドバー
************************************/
#sidebar>.widget{
border-radius:10px;
}
.widget_search{
padding:0;
}
span.fas.fa-search::before{
color:#90C31F;/*検索マーク色変更はこちら*/
}
.sidebar h3{
color:#7b7b7b;
border-radius: 0%;
border-bottom:3px dotted;
border-color:#90C31F;/*タイトル下のライン色変更はこちら*/
padding-bottom:0.3em;
margin-top:-0.5em;
margin-bottom:1em;
}
.widget_recent_entries ul li a, .widget_categories ul li a, .widget_archive ul li a, .widget_pages ul li a, .widget_meta ul li a, .widget_rss ul li a, .widget_nav_menu ul li a {
background-color:#f7f7f7;
margin: 6px 0;
padding: 4px 10px;
border-radius:20px;
transition: 0.4s
}
.widget_recent_entries ul li a:hover, .widget_categories ul li a:hover, .widget_archive ul li a:hover, .widget_pages ul li a:hover, .widget_meta ul li a:hover, .widget_rss ul li a:hover, .widget_nav_menu ul li a:hover{
background-color:#90C31F;/*マウスオーバー時の背景色変更はこちら*/
color:#fff!important;
}
.tagcloud a{
background-color:#f7f7f7;
}
.tagcloud a:hover{
background-color:#90C31F;/*マウスオーバー時の背景色変更はこちら*/
color:#fff!important;
transition: 0.4s ;
}
.nwa .recommended.rcs-card-margin a {
margin: 0 0 1em;
width: 90%;
}
.widget-entry-cards .widget-entry-card-content{
color: #565656;
}

/* サイドバー新着記事一覧カスタム＝＝＝ここから↓↓ */

.widget-entry-cards .a-wrap { /* ブログカード風にする */
  border: 1px solid #EAEAEA;
  box-shadow: 0px 2px 2px rgba(0,0,0,0.2);
  border-radius: 10px;
  padding-bottom: 20px;
}

.widget-entry-cards .a-wrap:hover { /* マウスオーバーで浮かせる */
  box-shadow: 0px 2px 2px rgba(0,0,0,0.2);
  transform: translateY(-5px);
  background-color: white; 
  transition: all .3s ease;
}
.widget-entry-cards .a-wrap:hover img { /* サムネイル画像の透過を無効に */
  opacity: 1;
}


a:hover {
　 text-decoration: underline;
}
/************************************
** アイキャッチ画像を記事タイトルの上に移動する
************************************/

/*記事ヘッダーの枠組み*/
.article-header {
	display: flex; /*フレックスボックスレイアウト*/
	flex-direction: column; /*ブロック要素を縦に並べる*/
}

/*アイキャッチの枠組み*/
.eye-catch-wrap {
	order: -1; /*順番*/
	overflow: hidden; /*はみ出した部分を非表示 ※IE対策*/
}

/*アイキャッチ*/
.eye-catch {
	margin-bottom: 0; /*下の余白*/
}
