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

.header {
	background: yellow;
}
.navi {
	background-color: lightgreen;
}
.widget-entry-cards .a-wrap {
	display: inline-block;
	width: 49%;
	margin-bottom: 1em;
}
.widget-entry-card {
	text-align: center;
}
.a-wrap:hover {
	background-color: #ffe;
}
.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, .widget_block ul li a:hover {
	background-color: #ffe;
}

.article h1 {
	font-size: 30px;
	position: relative;
	background-color: #09f;
	margin-bottom: 1.5em;
	padding: 15px 15px 12px 15px;
	color: white;
	border-radius: 5px;
	text-shadow: 1px 1px 3px black;
}
.article h1::before {
	content: "";
	position: absolute;
	border: 12px solid transparent;
	border-top: 12px solid #09f;
	top: 100%;
	left: 5%;
}
.article h1 p {
	margin: 0;
	padding: 0;
}

.article h2 {
	position: relative;
	padding: 0.5em 1em 1em 3.5em;
	border-top: #009250 solid 1px;
	background-color: transparent;
}
.article h2::before {
	position: absolute;
	content: '';
	top: 0;
	left: 20px;
	width: 50px;
	height: 45px;
	background: #009250;
}
.article h2::after {
	position: absolute;
	content: '';
	top: 21px;
	left: 20px;
	width: 0;
	height: 0;
	border-top: 25px solid #transparent;
	border-right: 25px solid transparent;
	border-left: 25px solid transparent;
	border-bottom: 25px solid #ffffff;
}

h3.widget-sidebar-title {
    padding: 0.5rem 0 0.5rem;
    margin-bottom: 1rem;
    background: linear-gradient(90deg, lightgreen 0% 20%, orange 20% 80%, lightgreen 80%);
    background-repeat: no-repeat;
    background-size: 21rem 0.2rem;
    background-position: bottom;
    font-weight: bold;
    font-size: 26px;
    text-align: center;	
}
.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, .widget_block ul li a {
	padding: 5px 0;
}



/************************************
** レスポンシブデザイン用のメディアクエリ
************************************/
/*1023px以下*/
@media screen and (max-width: 1023px){
	  .mobile-header-menu-buttons {
		  background: yellow;
	}
}

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

/*480px以下*/
@media screen and (max-width: 480px){
	.article h2 {
		padding: 0.5em 1em 1em 4em;
	}
	.widget-entry-cards .a-wrap {
		width: 100%;
	}
}
