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

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

body {
  background: #fdfbf2;
}

.card-thumb img {
  width: 100%;
  border-radius: 5px;
  box-shadow: 0 0 1px 2px #ddd;
  padding: 5px;
}

.entry-card-thumb {
  margin-right: 3%;
}

.entry-card-snippet,
.related-entry-card-snippet {
  line-height: 1.8;
}

h2.entry-card-title,
h1.entry-title {
  /* position: relative; */
  background: #dfefff;
  box-shadow: 0px 0px 0px 5px #dfefff;
  border: dashed 2px white;
  padding: 0.4em 0.5em;
  color: #454545;
  margin-left: 10px;
  margin-bottom: 20px;
}


.sidebar h2 {
  background-color: #dfefff;
}

.logo {
  max-width: 250px;
  width: 80%;
  margin-bottom: 0.5rem;
  margin-top: 1rem;

}

.tagline {
  text-align: left;
  margin: 0rem;
}

.site-description {
  font-size: 0.9rem;
  padding: 5px 0;
}

ul.wp-block-latest-posts__list.wp-block-latest-posts li,
ul.wp-block-categories-list.wp-block-categories li {
  border-bottom: 1px dashed #ddd;
  font-size: 1rem;
}

nav#navi {
  background-color: #4b9b37;
  margin-top: 10px;
  background: -webkit-repeating-linear-gradient(-45deg, #62c649, #80b972 3px, #80b972 3px, #62c649 7px);
  background: repeating-linear-gradient(-45deg, #62c649, #80b972 3px, #80b972 3px, #62c649 7px)
}

nav#navi li a {
  color: white;
  font-weight: bold;
  text-align: center;
  text-decoration: none;
}

nav#navi li {
  padding: 10px 0;
}

nav#navi ul,
ul#sub-navi {
  list-style-type: none;
}

.item-label:hover {
  background-color: #337e21;
}


nav#navi li a:hover {
  text-decoration: underline;
}

nav#navi li a {
  display: flex;
  align-items: center;
}

.flex {
  display: flex;
}

.items-center {
  align-items: center;
}

.justify-between {
  justify-content: space-between;
}

.justify-around {
  justify-content: space-around;
}

label.wp-block-search__label {
  display: none;
}

#sub-navi li {
  font-size: 0.9rem;
  padding: 0 10px;
}

ul#sub-navi a {
  text-decoration: none;
  font-weight: bold;
  color: #778274;
}

.mb-2 {
  margin-bottom: 0.5rem;
}

.mb-4 {
  margin-bottom: 1rem;
}

a svg {
  height: 1.5rem;
  margin-right: 0.2rem;
}

#sub-navi li a svg {
  height: 0.9rem;
}

.side-book {
  padding: 5px;
  border: 1px solid #eee;
}

button.forschool {
  /* background-color: #ebf4ff;
  color: #2b6cb0;
  border: 0px; */
  /* font-weight: bold; */
  padding: 10px 15px;
  border-radius: 5px;
  font-size: 1rem;
  box-shadow: none;
  background-color: #4d90fe;
  background-image: -webkit-linear-gradient(top, #4d90fe, #4787ed);
  background-image: -moz-linear-gradient(top, #4d90fe, #4787ed);
  background-image: -ms-linear-gradient(top, #4d90fe, #4787ed);
  background-image: -o-linear-gradient(top, #4d90fe, #4787ed);
  background-image: linear-gradient(top, #4d90fe, #4787ed);
  border: 1px solid #3079ed;
  color: #fff;


}

.sm-block {
  display: none;
}

.sm-none {
  display: block;
}

.sm-none-flex {
  display: flex;
}


.soft-box {
  background: #fff100;
  padding: 30px;
  text-align: center;
}

.soft-box img {
  width: 150px;
}

strong {
  background: yellow;
}

li.cat-item {
  display: flex;
  justify-items: center;
  align-items: center;
}

li.cat-item::before {
  content: '';
  display: inline-block;
  width: 1.5em;
  height: 1.5em;
  background-image: url('data:image/svg+xml;utf-8,<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke-width="1.5" stroke="currentColor" class="w-6 h-6">  <path stroke-linecap="round" stroke-linejoin="round" d="M21 12a9 9 0 11-18 0 9 9 0 0118 0z" />  <path stroke-linecap="round" stroke-linejoin="round" d="M15.91 11.672a.375.375 0 010 .656l-5.603 3.113a.375.375 0 01-.557-.328V8.887c0-.286.307-.466.557-.327l5.603 3.112z" /></svg>');
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
}

.widget_block ul li.cat-item a {
  display: inline-block;
}

.cur-list {
  margin: 0;
  padding: 10px;

}

.cur-list svg {
  height: 25px;
  margin-right: 5px;
  color: #3079ed;
}

.cur-list li {
  list-style-type: none;
  display: flex;
  align-items: center;
  padding-left: 0;
  font-weight: bold;
  margin-bottom: 10px;
  border-radius: 5px;
  padding: 20px;
  border: 3px dashed #dfefff;
}

.cur-list li.active {
  background-color: #dfefff;
}

.footer-bottom-logo img {
  height: auto;
}

#block-6 li.cat-item a {
  display: inline-block;
  width: 100%;
  transition: .5s;
}

#block-6 li.cat-item a:hover {
  opacity: 0.6;
}

.article h2 {
  margin-bottom: 0.5rem;
}

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

/*834px以下*/
@media screen and (max-width: 834px) {

  /*必要ならばここにコードを書く*/
  .sm-block {
    display: block;
  }

  .sm-none {
    display: none;
  }

  .sm-none-flex {
    display: none;
  }

  .mobile-menu {
    display: flex;
    justify-content: flex-end;
    padding-top: 10px;
  }

  .mobile-menu a svg {
    color: white;
    height: 40px;
    margin-right: 10px;
  }

  #header {
    text-align: center;
  }

  #header .flex.logo-box {
    display: block;
  }

  .logo {
    margin-bottom: 0;
  }
}

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