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

/************************************
** 子テーマ用のスタイルを書く
************************************/
/*必要ならばここにコードを書く*/
#custom_html-4 {margin:10px 0 45px 0}
.tagline {background: transparent;margin: 0 0 0;padding: 0.6em 1em 0 1em;color: #333;line-height: 1.5em;letter-spacing: 0.2em;font-size: 11pt;font-weight: 600;}
.header-container:after, .footer:before {content: none;} 
.footer-bottom .okspact {display:none}

#new_entries-2 {clear:both}
.widget ul li a:before {content:none}
.gmap_iframe {aspect-ratio: 16 / 9;max-width: 1000px;width: 100%;height: auto;}
#sidebar .wp-block-latest-posts__list, .wp-block-latest-posts {font-size:0.9em;}
#sidebar-scroll .list-item-caption {font-size:0.9em;}
#sidebar-scroll.widget_recent_entries ul li a {padding:0 0;font-size:0.9em;}
.navi-in > ul li {display: block;height: 30px;line-height: 30px;}
.header-container, .footer {
background-color: #aaf0c9;color:white;}
#custom_html-2  .widget-title {display:none;}
#custom_html-2 {margin-top:-20px;}
.wp-block-search__label {display:none;}
.sns-buttons {margin-bottom:0}
.sns-share.ss-col-6 a {width:13%}
.sidebar h2, .sidebar h3 {padding:6px 14px;}
h1,h2,h3 {font-family:'RocknRoll One',sans-serif;font-weight:100 !important;}
.article h1,h2,h3 {font-family:'RocknRoll One',sans-serif;font-weight:100 !important;}
.entry-card-title h1,h2,h3 {font-weight:100;}
.cat-label {margin-top:-40px}
.note {font-size:0.8em;color:#666}
/*メニュー関連*/
#sidebar_mainmenu li a {text-decoration:none;color:inherit}
.sns-follow-message,.sns-share-message {font-family: "RocknRoll One", sans-serif;margin-top:10px;}
#sidebar_mainmenu,#sidebar_mainmenu ul,#sidebar_mainmenu li,#sidebar_mainmenu a { margin: 0; padding: 0; border: 0; list-style: none; font-weight: normal; text-decoration: none; line-height: 1; font-family: 'Open Sans', sans-serif; font-size: 14px; position: relative;}
#sidebar_mainmenu a { line-height: 1.3;}
#sidebar_mainmenu { width: 95%; background: #fff; -webkit-border-radius: 4px; -moz-border-radius: 4px; border-radius: 4px; padding: 3px; -moz-box-shadow: 0 0 5px rgba(0, 0, 0, 0.6); -webkit-box-shadow: 0 0 5px rgba(0, 0, 0, 0.6); box-shadow: 0 0 5px rgba(0, 0, 0, 0.6); margin-left:8px}
#sidebar_mainmenu > ul > li { margin: 0 0 2px 0;}
#sidebar_mainmenu > ul > li:last-child { margin: 0;}
#sidebar_mainmenu > ul > li > a { font-size: 15px; display: block; color: #ffffff; text-shadow: 0 1px 1px #000; background: #565656; background: -moz-linear-gradient(#999 0%, #5F5F5F 100%); background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #565656), color-stop(100%, #5F5F5F)); background: -webkit-linear-gradient(#999 0%, #5F5F5F 100%); background: linear-gradient(#999 0%, #5F5F5F 100%); border: 1px solid #000; -webkit-border-radius: 4px; -moz-border-radius: 4px; border-radius: 4px;}
#sidebar_mainmenu > ul > li > a > span {display: block; border: 1px solid #666666; padding: 6px 10px; -webkit-border-radius: 4px; -moz-border-radius: 4px; border-radius: 4px; font-weight: bold;}
#sidebar_mainmenu > ul > li > a:hover {text-decoration: none;}
#sidebar_mainmenu > ul > li.active {border-bottom: none;}
#sidebar_mainmenu > ul > li.active > a {background: #4171c4; background: -moz-linear-gradient(#4171c4 0%, #345fa8 100%); background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #4171c4), color-stop(100%, #345fa8)); background: -webkit-linear-gradient(#4171c4 0%, #345fa8 100%); background: linear-gradient(#4171c4 0%, #345fa8 100%); color: #fff; text-shadow: 0 1px 1px #000; border: 1px solid #345fa8;}
#sidebar_mainmenu > ul > li.active > a span {border: 1px solid #4171c4;}
#sidebar_mainmenu > ul > li.has-sub > a span {background: url('/wp-content/uploads/2024/09/icon_plus.png') 98% center no-repeat;}
#sidebar_mainmenu > ul > li.has-sub.active > a span {background: url('/wp-content/uploads/2024/09/icon_minus.png') 98% center no-repeat;}
/* Sub menu */
#sidebar_mainmenu ul ul { padding: 5px 12px; display: none;}
/* OKシードプロジェクトとは選択時 */
body.p4719 #sidebar_mainmenu ul ul.p4719 { padding: 5px 12px; display: block;}
body.p4719 #sidebar_mainmenu > ul > li.has-sub > a span.p4719 {background: url('/wp-content/uploads/2024/09/icon_minus.png') 98% center no-repeat;}
body.p4719 #sidebar_mainmenu > ul > li > a.p4719 {background: #4171c4; background: -moz-linear-gradient(#4171c4 0%, #345fa8 100%); background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #4171c4), color-stop(100%, #345fa8)); background: -webkit-linear-gradient(#4171c4 0%, #345fa8 100%); background: linear-gradient(#4171c4 0%, #345fa8 100%); color: #fff; text-shadow: 0 1px 1px #000; border: none;}
/* 食品表示選択時 */
body.p4650 #sidebar_mainmenu ul ul.p4650 { padding: 5px 12px; display: block;}
body.p4650 #sidebar_mainmenu > ul > li.has-sub > a span.p4650 {background: url('/wp-content/uploads/2024/09/icon_minus.png') 98% center no-repeat;}
body.p4650 #sidebar_mainmenu > ul > li > a.p4650 {background: #4171c4; background: -moz-linear-gradient(#4171c4 0%, #345fa8 100%); background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #4171c4), color-stop(100%, #345fa8)); background: -webkit-linear-gradient(#4171c4 0%, #345fa8 100%); background: linear-gradient(#4171c4 0%, #345fa8 100%); color: #fff; text-shadow: 0 1px 1px #000; border:none;}
/* ゲノム編集食品選択時 */
body.p4735 #sidebar_mainmenu ul ul.p4735 { padding: 5px 12px; display: block;}
body.p4735 #sidebar_mainmenu > ul > li.has-sub > a span.p4735 {background: url('/wp-content/uploads/2024/09/icon_minus.png') 98% center no-repeat;}
body.p4735 #sidebar_mainmenu > ul > li > a.p4735 {background: #4171c4; background: -moz-linear-gradient(#4171c4 0%, #345fa8 100%); background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #4171c4), color-stop(100%, #345fa8)); background: -webkit-linear-gradient(#4171c4 0%, #345fa8 100%); background: linear-gradient(#4171c4 0%, #345fa8 100%); color: #fff; text-shadow: 0 1px 1px #000; border:none;}
/* 重イオンビーム選択時 */
body.p4803 #sidebar_mainmenu ul ul.p4803 { padding: 5px 12px; display: block;}
body.p4803 #sidebar_mainmenu > ul > li.has-sub > a span.p4803 {background: url('/wp-content/uploads/2024/09/icon_minus.png') 98% center no-repeat;}
body.p4803 #sidebar_mainmenu > ul > li > a.p4803 {background: #4171c4; background: -moz-linear-gradient(#4171c4 0%, #345fa8 100%); background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #4171c4), color-stop(100%, #345fa8)); background: -webkit-linear-gradient(#4171c4 0%, #345fa8 100%); background: linear-gradient(#4171c4 0%, #345fa8 100%); color: #fff; text-shadow: 0 1px 1px #000; border:none;}
/* タネの権利選択時 */
body.p4791 #sidebar_mainmenu > ul > li > a.p4791 span.p4791 {background: #4171c4; background: -moz-linear-gradient(#4171c4 0%, #345fa8 100%); background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #4171c4), color-stop(100%, #345fa8)); background: -webkit-linear-gradient(#4171c4 0%, #345fa8 100%); background: linear-gradient(#4171c4 0%, #345fa8 100%); color: #fff; text-shadow: 0 1px 1px #000; border:none;}
/* サポーター登録選択時 */
body.p4772 #sidebar_mainmenu > ul > li > a.p4772 span.p4772 {background: #4171c4; background: -moz-linear-gradient(#4171c4 0%, #345fa8 100%); background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #4171c4), color-stop(100%, #345fa8)); background: -webkit-linear-gradient(#4171c4 0%, #345fa8 100%); background: linear-gradient(#4171c4 0%, #345fa8 100%); color: #fff; text-shadow: 0 1px 1px #000; border:none;}

/* ご支援選択時 */
body.p4584 #sidebar_mainmenu > ul > li > a.p4584 span.p4584 {background: #4171c4; background: -moz-linear-gradient(#4171c4 0%, #345fa8 100%); background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #4171c4), color-stop(100%, #345fa8)); background: -webkit-linear-gradient(#4171c4 0%, #345fa8 100%); background: linear-gradient(#4171c4 0%, #345fa8 100%); color: #fff; text-shadow: 0 1px 1px #000; border:none;}


#sidebar_mainmenu ul ul li {padding: 3px 0 3px 1em;}
#sidebar_mainmenu ul ul li.first {padding: 3px 0 3px 0;}
#sidebar_mainmenu ul ul a {display: block; color: #333; font-size: 1.1em; font-weight: bold;}
#sidebar_mainmenu ul ul a:hover { color: #79980d;}

/* イベント情報リスト */
#sidebar .tribe-common .tribe-common-h5, #sidebar .tribe-common .tribe-common-h6 {font-family:'RocknRoll One' ,sans-serif;font-size:21px;	box-shadow: 0px 1px 5px rgba(0,0,0,.2);padding: 6px 14px;}
.tribe-common a:not(.tribe-common-anchor--unstyle), .tribe-common a:not(.tribe-common-anchor--unstyle):active, .tribe-common a:not(.tribe-common-anchor--unstyle):focus, .tribe-common a:not(.tribe-common-anchor--unstyle):hover, .tribe-common a:not(.tribe-common-anchor--unstyle):visited {font-weight: 500;font-size: 16px;
line-height: 130%;}
.tribe-events-single-event-title {font-family: 'RocknRoll One',sans-serif;font-weight: 100 !important;}
.tribe-events-content h2, .tribe-events-content h3, .tribe-events-content h4, .tribe-events-content h5, .tribe-events-content h6 {background-color: #ffce80;color: #333;box-shadow: 0px 1px 5px rgba(0,0,0,.2);padding: 1em;font-family: 'RocknRoll One',sans-serif;font-weight: 100 !important;padding: 5px 16px;}
.tribe-common-h4--min-medium {font-size:26px !important;line-height:110% !important;font-weight:bold;}
.tribe-events-schedule h2 {font-weight:bold !important;font-size:20px}
.tribe-events-event-meta.primary, .tribe-events-event-meta.secondary {width:100%}
/************************************
** レスポンシブデザイン用のメディアクエリ
************************************/
/*1023px以下*/
@media screen and (max-width: 1023px){
#sidebar_mainmenu > ul > li.has-sub > a span {display:none}
	#sidebar_mainmenu > ul > li.has-sub > a {border:0px} 
		#sidebar_mainmenu ul ul {display:block}
			#sidebar_mainmenu > ul > li.has-sub > ul li.first {margin:0 -12px 6px -12px;font-size: 15px; display: block; color: #ffffff; text-shadow: 0 1px 1px #000; background: #565656; background: -moz-linear-gradient(#999999 0%, #AAAAAA 100%); background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #999999), color-stop(100%, #AAAAAA)); background: -webkit-linear-gradient(#999999 0%, #AAAAAA 100%); background: linear-gradient(#999999 0%, #AAAAAA 100%); border: 1px solid #000; -webkit-border-radius: 4px; -moz-border-radius: 4px; border-radius: 4px; }
				#sidebar_mainmenu > ul > li.has-sub > ul li.first span {display: block; border: 1px solid #666666; padding: 6px 10px; -webkit-border-radius: 4px; -moz-border-radius: 4px; border-radius: 4px; font-weight: bold;}
				#sidebar_mainmenu > ul > li.has-sub > ul > li.first { font-size: 15px; display: block; color: #ffffff; text-shadow: 0 1px 1px #000; background: #565656; background: -moz-linear-gradient(#999999 0%, #AAAAAA 100%); background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #999999), color-stop(100%, #AAAAAA)); background: -webkit-linear-gradient(#999999 0%, #AAAAAA 100%); background: linear-gradient(#999999 0%, #AAAAAA 100%); border: 1px solid #000; -webkit-border-radius: 4px; -moz-border-radius: 4px; border-radius: 4px;}
				#sidebar_mainmenu > ul > li.has-sub > ul > li.first a span { font-size: 15px; display: block; color: #ffffff; text-shadow: 0 1px 1px #000; background: #565656; background: -moz-linear-gradient(#999999 0%, #AAAAAA 100%); background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #999999), color-stop(100%, #AAAAAA)); background: -webkit-linear-gradient(#999999 0%, #AAAAAA 100%); background: linear-gradient(#999999 0%, #AAAAAA 100%); border: 1px solid #000; -webkit-border-radius: 4px; -moz-border-radius: 4px; border-radius: 4px;}
				#sidebar_mainmenu ul ul {padding: 0 12px;}
				#sidebar_mainmenu ul ul li {padding: 3px 0}

}

/*834px以下*/
@media screen and (max-width: 834px){
  /*必要ならばここにコードを書く*/
	#sidebar_mobilemenu {font-size:0.8em;margin-left:16px}
}

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