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

/************************************
** 子テーマ用のスタイルを書く
************************************/
/*必要ならばここにコードを書く*/
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@400;500;700;900&display=swap');

body {
	color: #333;
	font-family: 'Noto Sans JP', 'ヒラギノ角ゴ Pro W3', 'Hiragino Kaku Gothic Pro', 'メイリオ', Meiryo, 'ＭＳ Ｐゴシック', sans-serif;
}

#header {
	width: 100%;
	border-top: 10px solid #8ec555;
	justify-content: space-between;
	align-items: center;
	text-align: center;
	padding: 0 0 60px 0;
}

.mini {
	font-size: 1rem;
	color: #ccc;
}

.minibl {
	font-size: 1.1rem;
	letter-spacing: 3px;
	text-align: center;
}

#header h1 {
	font-size: 2rem;
	color: #1f8859;
	padding: 20px 0;
	font-weight: bold;
	font-family: 'Noto Sans JP', sans-serif;
	font-weight: 900;
	letter-spacing: 3px;
	margin: 20px 0 10px 0;
	line-height: 100%;
}

#header h1 a {
	text-decoration: none;
	color: #1f8859;
	font-weight: bold;
	font-family: 'Noto Sans JP', sans-serif;
	font-weight: 900;
}

nav ul {
	list-style: none;
	display: flex;
	flex-wrap: wrap;
	background: #1f8859;
	opacity: 0.8;
	font-size: 1rem;
	white-space: wrap;
	font-family: 'Noto Sans JP', sans-serif;
	font-weight: 700;
	padding: 0 0 0 0 !important;
}

nav ul li {
	width: 50%;
	border: 1px solid #fff;
}

nav ul li#menu3 {
	width: 100%;
}

nav ul li:last-child {
	border-right: none;
}

nav ul li a {
	padding: 2% 10% 3% 10%;
	display: block;
	text-decoration: none;
	color: #ccc;
	transition: all 0.3s;
	height: 50px;
}

nav ul li#menu3 a {
	padding: 1% 10% 3% 10%;
}

@media screen and (max-width:300px) {
	/*galaxy fold only*/

	nav ul li a {
		padding: 8% 10% 3% 10%;
	}

	nav ul li#menu5 {
		font-size: 0.7em;
	}

	nav ul li#menu3 a {
		padding: 3% 10% 3% 10%;
	}

	nav ul li#menu5 a {
		padding: 10% 10% 3% 10%;
	}
}

nav ul li.current a,
nav ul li a:hover {
	color: #fff;
}

@media screen and (max-width:450px) {

	nav ul li a {
		padding: 5% 10% 3% 10%;
	}

	nav ul li#menu3 a {
		padding: 2% 10% 3% 10%;
	}
}

#footer {
	clear: both;
	width: 100%;
	text-align: center;
	background-color: #f9f9f8;
	color: #333;
	padding: 1em 0 0 0;
	font-family: 'Noto Sans JP', sans-serif;
}

#footer a {
	color: #fff;
	text-decoration: none;
}

.copy {
	background-color: #333;
	color: #fff;
	text-align: center;
	padding: 2% 0 2% 0;
	margin: 5% 0 0 0;
}


/**/

.widget-title,
.wp-block-heading {
	color: #378965;
	font-size: 0.8em;
	border-bottom: 1px solid green;
	padding: 3px;
	margin: 0 0 10px 0;
	background-color: #fff !important;
}

.widget-title {
	color: #378965;
	font-size: 1.2em;
}

.widget-title,
.wp-block-heading {
	font-weight: bold;
	padding: 0.3em 1em 0.5em;
	border-radius: 0 0 0 10px;
	border-left: 3px solid #57a683;
	border-bottom: 3px solid #57a683;
	position: relative;
}

.widget-title::before,
.widget-title:after,
.wp-block-heading::before,
.wp-block-heading:after {
	content: '';
	height: 0;
	width: 0;
	border: solid transparent;
	position: absolute;
	left: 30px;
}

.widget-title::before,
.wp-block-heading::before {
	border-color: transparent;
	border-top-color: #57a683;
	border-right-color: #57a683;
	border-width: 10px;
	top: 100%;
	left: 26px;
}

.widget-title:after,
.wp-block-heading:after {
	border-color: transparent;
	border-top-color: #fff;
	border-right-color: #fff;
	border-width: 6.5px;
	top: 99%;
}

/**/

.wp-block-latest-posts__list li {
	list-style-type: '▶';
	font-size: 0.6em;
	margin: 0 0 0 1em;
	color: green;
}

.wp-block-latest-posts__list li a {
	font-size: 1.5em;
}

/**/

#footer {
	background-color: #fff !important;
}

.list-item-caption,
.card-title {
	color: #333;
}

/*リンクの形状*/
#page-top strong {
	font-size: 2em;
}

#page-top a {
	display: flex;
	justify-content: center;
	align-items: center;
	background: #8ec555;
	border-radius: 30px;
	width: 60px;
	height: 60px;
	text-align: center;
	text-transform: uppercase;
	text-decoration: none;
	font-size: 0.6rem;
	transition: all 0.3s;
}

#page-top a:hover {
	background: #777;
}

/*リンクを右下に固定*/
#page-top {
	position: fixed;
	right: 20px;
	bottom: 60px;
	z-index: 2;
	/*はじめは非表示*/
	opacity: 0;
	transform: translateY(100px);
}

/*　上に上がる動き　*/

#page-top.UpMove {
	animation: UpAnime 0.5s forwards;
}

@keyframes UpAnime {
	from {
		opacity: 0;
		transform: translateY(100px);
	}

	to {
		opacity: 1;
		transform: translateY(0);
	}
}

/*　下に下がる動き　*/

#page-top.DownMove {
	animation: DownAnime 0.5s forwards;
}

@keyframes DownAnime {
	from {
		opacity: 1;
		transform: translateY(0);
	}

	to {
		opacity: 1;
		transform: translateY(100px);
	}
}

@media screen and (max-width:450px) {

	nav ul li a {
		padding: 5% 10% 3% 10%;
	}

	nav ul li#menu3 a {
		padding: 2% 10% 3% 10%;
	}
}

@media screen and (max-width:768px) {
	nav ul li a:hover {
		color: #666;
	}

	nav ul li.current a {
		color: #fff;
	}
}

@media screen and (min-width:1280px) {
	#header h1 {
		margin: 1% 0 1% 0;
	}

	nav ul {
		flex-wrap: nowrap;
	}

	nav ul li {
		width: 25% !important;
		vertical-align: middle;
		display: table-cell;
		height: 80px;
	}

	nav ul li a {
		padding: 8% 10% 3% 10%;
		border-bottom: none;
		border-left: none;
	}

	nav ul li#menu3 {
		width: 25% !important;
	}

	nav ul li#menu3 a {
		padding: 8% 10% 3% 10%;
	}

	nav ul li#menu1 a {
		padding: 8% 5% 3% 20%;
	}
}


@media screen and (min-width:1650px) {
	nav ul li a {
		padding: 6% 10% 3% 10%;
	}

	nav ul li#menu1 a {
		padding: 6% 5% 3% 23%;
	}

	nav ul li#menu3 a {
		padding: 6% 10% 3% 10%;
	}
}