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

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

/* cocoon通知エリアを流れる文字に変更 */
.notice-area {
    width: 100%;
    overflow: hidden;
    padding-top: 10px;
    padding-bottom: 10px;
}
.notice-area span {
    display: inline-block;
    padding-left: 100%;
    white-space: nowrap;
    animation: marquee 20s linear infinite;
	font-weight: bold;
	font-size: 20px;
}
@keyframes marquee {
    0% {
        transform: translateX(-20%);
    }    
    100% {
        transform: translateX(-80%);
    }
}


/* ロゴ周りの余白を取り除く */
.logo-image span, 
.logo-image a, 
.logo-image img {
  margin: auto;
  display: block;
}

.logo-image,
.logo-image a{
  padding: 0;
}

.content {
margin-bottom: 0;
}

.main {
margin-top: 0;
margin-bottom: 0;
}
















/* 見出しリセット */
/* 見出し2 */
.article h2 {
  padding: 0.5em;/*文字周りの余白*/
  color: #010101;/*文字色*/
  background: #f5deb3;/*背景色*/
  border-bottom: solid 3px #9D5D35;/*下線*/
}

.article h3  {
　font-size: 12px !important;/*文字のサイズ*/
  background: rgba(50,50,50,.07);/*背景色*/
  border-bottom: 0px solid #808080;/*下線*/
  color: #808080;
  padding: .5em .7em;
  margin-bottom: 15px;
  border-top: none;
}

/* 見出し4 */
.article h4{
padding: 0.5em 0;/*上下の余白*/
color: #808080;
border-top: solid 3px #969696;/*上線*/
border-bottom: solid 3px #969696;/*下線*/
}

/* 見出し5 */
.article h5{
border-bottom:none;
padding: 0;
}

/* 見出し6 */
.article h6{
border-bottom:none;
padding: 0;
}






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

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

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

@media screen and (min-width: 600px){
.wwa .box-menu {
	width: 15.8%;
}
}

@media screen and (min-width: 600px){
.wwa .box-menu{
	margin-right: 1%;
}
}

@media screen and (min-width: 600px){
.box-menu:last-child{
	margin-right: 0px;
}
}

.box-menu-icon{
	color: #9D5D35;
}

.content-top {
  margin: -10px;
  margin-bottom: -15px;
  padding: 0px;
}


@media screen and (max-width: 599px){
.wwa .box-menu {
	width: 33.3%;
}
}

/*　Googleカレンダー（スマホ表示） */

.googleCalender iframe {
width:100%;
max-width:800px;
height:460px;
}

/*　Googleカレンダー（PC表示） */

@media (min-width: 960px) {
.googleCalender iframe {
height:600px;margin: 0 auto; display: block;
}
}

	
/************************************
**　トップ新着・人気・関連記事ウィジェット 投稿日・更新日表示
************************************/
.widget-entry-card-date {
	display: block;
	font-size: 18px; /*フォントサイズ*/
}

.widget-entry-card-date::before{ /*投稿日のアイコンの変更*/
	font-family: "Font Awesome 5 Free";
	content: "\f017"; /*fa-clockアイコン*/
	font-weight: 400; /*アイコンの種類regular*/
	padding-right: 0px; /*右余白*/
	font-size: 14px; /*フォントサイズ*/
}

.post-24 .date-tags,
.post-25 .date-tags,
.post-26 .date-tags,
.post-27 .date-tags,
.post-28 .date-tags,
.post-117 .date-tags,
.post-1380 .date-tags,
.post-1418 .date-tags,
.post-141 .date-tags,
.post-167 .date-tags{
display: none;
}

.archive.category-13 .card-meta {
  display: none;
}





.page .entry-title {
display: none;
}


/*YouTube動画の中央配置*/
.video-container{
margin: 0px auto;
}

/*目次*/
.toc{
    font-size: 1em;
    padding: 1em 2em 2em;
    background-color: #d0e2be; /*←背景色*/
    box-shadow: 5px 5px 8px rgba(0,0,0,0.1);
    border: none;
}
 
.toc-title {
    font-size: 1.2em;
    font-weight: 500;
    color: #8B4513;  /*←タイトルの文字色*/
    margin: 1em;
}
 
.toc-title:before {
    font-family: FontAwesome;
    content : "\f002"; /*←アイコン*/
    font-size: 1.2em;
    border-radius: 50%;
    color: #FFF; /*←アイコンの色*/
    background-color: #DEB887; /*←アイコンの背景色*/
    padding: 0.5em;
    margin-right: 0.5em;
}
 
.toc-content ol {
    position: relative;
}
 
.toc-content ol li {
    padding: 1em 0 0 1em;
    border-bottom: dotted 1px #DEB887  ;
    list-style: none;
}
 
.toc a {
    color: #8B4513 ; /*←見出しの文字色*/
}
 
.toc-content ol li:before {
    font-family: FontAwesome;
    content: "\f105"; /*←見出しアイコン*/
    color: #DEB887; /*←見出しアイコンの色*/
    position: absolute;
    left : 1em;
}
 
.toc-content ol li:last-child {
    border-bottom: none;
}

.toc{
 width:90%;
}

/* ボタン */
.btnArea {
    text-align: center;
}

input[type="submit"]{
    background: #DEB887;
    border: 2px solid #ffffff;
    width: 500px;
    color: #ffffff;
    text-align: center;
    font-size: 2.5rem;
    line-height: 1.3;
    letter-spacing: .5em;
    text-indent: .5em;
    font-weight: bold;
    padding: 1.4rem 0;
    margin-top: 2rem;
    cursor: pointer;
    border-radius: .3rem;
    transition: all .3s;
}

.mobile-menu-buttons {
background: #f5deb3;
color: #9d5d35;
}

/************************************
** ■サイドバー カスタマイズ
************************************/
#sidebar .widget{
  margin-top:34px; /*サイドバー上隙間設定*/
  margin-bottom: 45px; /*サイドバー下隙間設定*/
  line-height: 120%; /*行の高さ指定*/
}


/************************************
****　サイドバー
************************************/


.sidebar h3{
background:#d0e2be;
color:#7b7b7b;
padding-bottom:0.4em;
margin-top:1em;
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:#d0e2be;/*マウスオーバー時の背景色変更はこちら*/
color:#fff!important;
}
.tagcloud a{
background-color:#f7f7f7;
}
.tagcloud a:hover{
background-color:#d0e2be;/*マウスオーバー時の背景色変更はこちら*/
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;
}

.internal-blogcard-footer{
	display: none
}

.internal-blogcard::after{
	content: '続き \00bb'; /* 内部リンク右下枠の文言 */
	position: absolute;
	bottom: 0.2rem;
	right: 0.2rem;
	font-size: 70%;
	background-color: #d0e2be; /* 内部リンク右下枠の背景色 */
	padding: .0em 2em;
	font-weight: bold;
	color: #565656; /* 内部リンク右下枠の文字色 */
	border-radius: 2px;
}

/* ブログカード　ボーダー色、枠 */
.blogcard{
	border: 3px solid #9D5D35 !important
}

/* ブログカード　背景色 */
.blogcard{
	background: #FDF5E6
}

.footer {
	margin-top: 0;
	padding-top: 1;
}
#custom_html-8,
.footer-bottom {
	margin-top: 0;
	padding-top: 0;
}

/**********************
/* 新着記事
* ********************/
.new-entry-card img{border-radius:8px;}

.new-entry-card{
background-color: #d0e2be; /*背景色*/
border: solid 1px #ccc; /*枠線形状・色*/
}
.new-entry-card img{ /*アイキャッチが左端にくっつくので少し余白*/
padding-left:3px;
}

.new-entry-card:hover { /*マウスオン時*/
background-color: #afc5dc; /*背景色*/
-webkit-transform: translateY(-3px);
-ms-transform: translateY(-3px);
transform: translateY(-3px);
box-shadow: 0 0 10px #3d5069; /*影の色*/
}
/*オンマウスで傾ける*/
.new-entry-cards img {
-webkit-transition: all 0.5s ease;
transition: all 0.5s ease;
}
.new-entry-card img:hover {
-webkit-transform: rotate(-10deg);
transform: rotate(-10deg);
}

.e-card{border: 1px solid #ccc; /*枠線の太さ、形状、色*/
border-radius: 10px;padding: 8px;} /*角の丸み*/


/**********************
/* 新着記事にNEWマーク
* ********************/
.new_ribbon {
display: inline-block;
position: absolute;
top: -17px;
right: 10px;
margin: 0;
padding: 10px 0 7px;
z-index: 2;
width: 50px;
text-align: center;
color: white;
font-size: 15px;
background-color: #ff7abc; /*リボンの背景色*/
border-radius: 2px 0 0 0;
}

.new_ribbon:before{
position: absolute;
content: '';
top: 0;
right: -5px;
border: none;
border-bottom: solid 6px #f2b3d3; /*リボンの裏側の色*/
border-right: solid 5px transparent;
}
.new_ribbon:after{
content: '';
position: absolute;
left: 0;
top: 100%;
height: 0;
width: 0;
border-left: 25px solid transparent;
border-right: 25px solid transparent;
border-top: 10px solid #ff7abc; /*リボンの下部の色*/
}

.wp-block-file a.wp-block-file__button{
  color: #331907; /*文字色*/
  font-size: 12px; /*文字サイズ*/
  padding: 0px 16px; /*内側の間隔調整*/
  background-color: #f5deb3; /*背景色*/
  border: 2px solid #9d5d35; /*枠線を付ける*/
  border-radius: 11px; /*ボタンの角*/
  box-shadow: 2px 2px 4px #696969; /*影を付ける*/
}

/*---折り畳みアーカイブウィジェット---*/
.widget_archive a.year{ /*各年*/
	cursor: pointer;
	border-bottom: 1px dotted #ccc; /*各年に下線を引く*/
}
.widget_archive a.year::after{ /*各年横のアイコン*/
	font-family: "Font Awesome 5 Free";
	content: '\f107'; /* アイコンの指定 */
	position: relative; /* 相対配置 */
	left: 5px; /* アイコンの位置 */
	font-weight: bold;
}
.widget_archive .years ul { /*各月*/
	display: flex;
	flex-flow: row wrap;
	margin-left: 5px; /*インデント*/
	font-size: 1rem;
	text-decoration: underline; /*各月に下線を引く*/
}
.widget_archive ul.years li {
	padding: 0 1px; /*各月の間隔*/
}
#sidebar .widget_archive ul.years li :hover { /*マウスホバー時*/
	background: 915DA3;
	transition: 0.1s;
	color: #915DA3;
}
.widget_archive ul.years .hide { /*各年をクリックすると開閉*/
	margin: 0;
	height: 0;
	opacity: 0;
	visibility: hidden;
}








