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

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

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

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

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

/*
Theme Name: Hestia Child
Theme URI: https://www.themeisle.com/
Description: This is a custom child theme I have created.
Author: ThemeIsle
URI: https://www.themeisle.com/
Template: hestia    
Version: 0.1
*/
/* header nav {
	background: linear-gradient(to right, #004ea2 0%, #004ea2 40%, #01cfbb 100%);
} */

.header-filter {
/* 	background: linear-gradient(to right, #112fb2 0%, #112fb2 0%, #01cfbb 100%) !important; */
/* 	background: linear-gradient(45deg, #112fb2 0%, #112fb2 40%, #01cfbb 50%) !important; */
	background: linear-gradient(45deg, #001a62 0%, #112fb2 20%, #01cfbb 90%) !important;
}

/* h1 {
	position:relative;
}
h1::before {
	position: absolute;
	display: block;
	bottom: 0;
	left: 0;
	z-index: 0;
	content: "";
    width: 100%;
    height: 2px;
    background: repeating-linear-gradient(90deg, var(--color_htag) 0%, var(--color_htag) 29.3%, rgba(150, 150, 150, .2) 29.3%, rgba(150, 150, 150, .2) 100%);
} */

/* rainbow border */
/* h1{
  width: 300px;
  height: auto;
  padding: 0;
  text-align: center;
  border-left: 2px solid #43C6AC;
  border-right: 2px solid #d9e653;
}
h1::before,
h1::after{
  content: "";
  display: block;
  height: 2px;
  background: linear-gradient(to right, #43C6AC 0%, #d9e653 100%);
} */

/* rainbow-bottom-border */
/* h1{
	text-align: left;
}
h1::after{
  content: "";
  display: block;
  height: 2px;
  background: linear-gradient(to right, #43C6AC 0%, #d9e653 100%);
} */

h1.hestia-title {
	font-size: 3.5rem;
}

h2.wp-block-heading {
	padding: 0;
	text-align: left;
	background-color: transparent;
}
h2.wp-block-heading::after{
  content: "";
  display: block;
  height: 2px;
  background: linear-gradient(to right, black 30%, #eee 30%, #eee 100%);
}

h3.wp-block-heading {
/* 	padding-left: 12px; */
	border: none;
	padding: 8px 0 8px 12px;
	border-left: 5px solid #e5e5e5;
	background-color: transparent;
}

h4.wp-block-heading {
	border: 1px solid #eee;
    font-size: .95em;
    margin: 1.5em 0;
	padding: .50rem .75rem;
    background-color: #f5f5f5;
    border-radius: 4px;
}

#sidebar h4.wp-block-heading {
	text-align: left;
/* 	font-size: 1.75rem; */
	border:none;
	background:none;
	padding: 0;
}
#sidebar h4.wp-block-heading::after{
  content: "";
  display: block;
  height: 1px;
  background: linear-gradient(to right, black 30%, #eee 30%, #eee 100%);
}

#sidebar h3.widget-title {
	text-align: left;
/* 	font-size: 1.75rem; */
	border:none;
	background:none;
	padding: 0;
}
#sidebar h3.widget-title::after{
  content: "";
  display: block;
  height: 1px;
  background: linear-gradient(to right, black 30%, #eee 30%, #eee 100%);
}

/* .wp-block-search__inside-wrapper.form-group {
	display: flex;
	flex-direction: column;
}
.wp-block-search__inside-wrapper.form-group button {
	margin: 0;
} */
.wp-block-search__inside-wrapper  {
	display: flex;
	flex-direction: column;
}
.wp-block-search__inside-wrapper input {
	outline: none;
}
.wp-block-search__inside-wrapper input:focus {
	border: 1px solid #01cfbb;
	transition: all 0.3s;
}
.wp-block-search__inside-wrapper button {
	width: 100%;
	margin: 0;
	margin-top: 8px;
	transition: all 0.3s;
}
#content button {
/* 	background: linear-gradient(to right, #112fb2 0%, #112fb2 0%, #01cfbb 100%); */
	background: linear-gradient(45deg, #001a62 0%, #112fb2 20%, #01cfbb 90%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
	font-weight: bold;
/* 	box-shadow: 0 0px 0px 0 rgba(28, 28, 28, 0.42), 0 3px 1px -2px rgba(0, 0, 0, 0.12), 0 1px 5px 0 rgba(28, 28, 28, 0.2) !important; */
}
#content button:hover {
/* 	box-shadow: 0 14px 26px -12px rgba(28,28,28, 0.42), 0 4px 23px 0 rgba(0, 0, 0, 0.12), 0 8px 10px -5px rgba(28,28,28, 0.2) !important; */
	box-shadow: 0 0 4px 2px rgba(0,0,0,0.1);
}
/* .blog-posts-wrap .flex-row {
	justify-content: space-around;
}
.blog-posts-wrap .flex-row article {
	flex-basis: 40%;
} */
#header-container {
	box-shadow: 0 0 8px 4px rgba(0,0,0,0.1);
	transition: all 0.3s;
}
#header-container nav a {
	font-weight: bold;
}
#header-container nav a:hover {
	background: linear-gradient(45deg, #001a62 0%, #112fb2 20%, #01cfbb 90%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.toc {
	margin: 0;
	padding: 0;
	width: 100%;
	transition: none;
}
.toc-title {
	padding: 4px;
	background-color: black;
	color: white;
}
.toc-content {
	padding: 8px 24px;
}
span.site-name-text img {
	padding: 4px;
}
#container {
/* 	background-color: rgb(237, 242, 247); */
	background-color: #f4f8f9;
}
tbody tr:first-child td {
	background-color: #e8eaed;
    font-weight: bold;
}
th, td {
	border-color: #ccc !important;
}
.wp-block-image {
	    box-shadow: 0 0 8px rgba(0, 0, 0, 0.5);
}

/* --- js --- */
ol.toc-list {
    max-height: 500px;
    overflow-y: auto;
/*     width: 260px; */
}

/* h1 */
aside .toc-list li a.current {
	font-weight: bold;
}

/* h2 */
aside .toc-list ol > li:has(a.current)  {
}

aside .toc-list li a:not(.current) {
    color: #ccccbe;
}


aside .toc-list li a:hover {
 	font-weight: bold;
	text-decoration: none;
	color: black;
}

aside .toc-list.open::before {
	position: absolute;
    top: 60px;
    bottom: 8px;
    left: 47px;
    width: 2px;
    content: "";
    background: #ccc;
    border-radius: 0 0 5px 5px
}
aside .toc-list.open {
	padding-left: 20px !important;
}
aside .toc-list.open li {
	position: relative;
}
aside .toc-list.open li::after {
	content: "";
	position: absolute;
	top: 4px !important;
    left: -20px !important;
    width: 12px;
    height: 12px;
/* 	background: #9ddfe0; */
	background: #b4e0e0;
    border: 2px solid #fff;
	border-radius: 100%;
}
aside .toc-list.open li > ol > li::after {
	left: -18px !important;
	width: 8px;
	height: 8px;
}
aside .toc-list.open li > ol > li > ol > li::after {
	left: -16px !important;
	width: 4px;
	height: 4px;
}
aside .toc-list li:has(a.current)::after {
	background: #30aebc;
}
aside .toc-list li::marker {
	content: "";
}
aside .toc-content ol {
	padding-left: 0px !important;
}

/* alert系 */
.alert.warning {
	padding: 8px 16px;
	background-color: yellow;
	color: orange;
}

/* .summary {
	border: 2px solid #efba33;
	border-radius: 4px;
	padding: 8px 16px;
	position: relative;
}
.summary span {
	font-weight: bold;
	position: absolute;
	top: -16px;
	background: white;
} */
.summary {
/* 	border: 2px solid #efba33; */
/* 	border-radius: 4px; */
	padding: 8px 16px;
	position: relative;
}
.summary::before {
	content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 4px;
    border: 2px solid transparent;
/*     background: linear-gradient(135deg,rgb(74,234,220) 0%,rgb(151,120,209) 20%,rgb(207,42,186) 40%,rgb(238,44,130) 60%,rgb(251,105,98) 80%,rgb(254,248,76) 100%) 		border-box border-box; */
/* 	background: linear-gradient(45deg, #001a62 0%, #112fb2 20%, #01cfbb 90%) border-box border-box; */
	background: linear-gradient(135deg, #01cfbb 0%, #112fb2 20%,#01cfbb 60% ,#112fb2 80% , #01cfbb 100%) border-box border-box;
    -webkit-mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0) border-box;
    -webkit-mask-composite: destination-out;
    mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0) border-box;
    mask-composite: exclude;
}
.summary span {
	font-weight: bold;
	position: absolute;
	top: -16px;
	background: white;
}
.summary ul {
	margin: 0;	
	padding: 0;
}
.summary ul li {
	list-style: none;
	position: relative;
	margin-left: 32px;
}
.summary ul li::before {
    content: "";
    display: block;
    font-family: icomoon;
    position: absolute;
	left: -26px;
    top: 3px;
    border-bottom: 2px solid blue;
    transform: rotate(45deg);
    border-right: 2px solid blue;
    height: 20px;
    width: 12px;
}