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

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

/* リンクの下線を消す */
a{
text-decoration: none;
}

/******************
グローバルメニューの設定
*******************/
/* ヘッダーメニューをホバーしたときに下部に中央から線を出す */
#navi .navi-in a:after{
  position: absolute;
  content: "";
  left: 0%;
  bottom: 0px;
  height: 6px; /*線の高さを指定する*/
  width: 100%;
  background: #fcbc74; /*線の色を指定する*/
  opacity: 0.5; /*線の透明度を指定する*/
  transform: scale(0,1);
  transition: 0.3s;
}
#navi .navi-in a:hover:after{
  transform: scale(1);
}

/* PCグローバルナビメニュー背景色 */
/* グラデーション 表示 */
#navi .navi-in > ul { 
   background: linear-gradient(to bottom, #67696e, #48494d);
}

/*グローバルメニューのフォントサイズ等変更*/
#navi .navi-in .menu-header .item-label{
font-size: 14px;
font-weight: bold;
}

/*グローバルメニューの高さを変更*/
#navi .navi-in > ul li{
	height: 50px;
	line-height: 20px;
}



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

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

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

/************************************
** サイドバーのデザイン設定
************************************/

/* サイドバーの見出しを変更する */
.sidebar h3 {
background-color: #99A3A4 ;
padding: 3px 10px;
margin: 10px 0 3px;
color: #fff;
border-radius: 5px ;
font-size: 1em;
}

.info-list-item{
padding: 3px 1px;
}

.is-style-divider-line{
	padding: 4px 3px;
}
/* サイドバーの「学術会議」の文字サイズを変更する */
#sidebar .text-pc{
line-height: 1.5em;
font-size: 15px;
}
#sidebar .text-pc a.cf{
  padding: 2px;
  border-bottom:2px dotted #EEEEEE;
}

/* サイドバーの「メニュー」の文字サイズを変更する */
#sidebar .menu-primary-container{
line-height: 0.4em;
font-size: 15px;
}
#sidebar .menu-primary-container a.cf{
  padding: 2px;
  border-bottom:2px dotted #EEEEEE;
}

/************************************
** ■サイドバー・ナビゲーションのカスタマイズ
************************************/
.widget_nav_menu ul li a{ /*親カテゴリー設定*/
  text-decoration: none; /*テキスト装飾無し*/
  color: #333; /*文字色*/
  font-size: 15px; /*フォントサイズ*/
  display: block; /*ブロックボックス生成*/
  padding: 0px 0px 0px 0px; /*上下左右空間*/
  border-bottom: 1px dashed #ffc5e0; /*親カテゴリー下側にボーダーライン*/
}
.widget_nav_menu ul li a::before{ /*親カテゴリーのアイコン設定*/
  font-family: 'Font Awesome\ 5 Free';
  content: "\f249";
  color: #fe619a;
  padding-right: 6px; /*アイコン右側空間*/
}
.widget_nav_menu > ul > li > a:first-child{ 
  border-top: none; /*最初の親カテゴリー上側のボーダー削除*/
}

.widget_nav_menu ul li ul li a{ /*子カテゴリー設定*/
  text-decoration: none; /*テキスト装飾無し*/
  color: #333; /*文字色*/
  display: block; /*ブロックボックス生成*/
  padding: 0px 0px 0px 0px; /*上下左右空間*/
  border-bottom: 0px dashed #ffc5e0; /*子カテゴリー下側にボーダーライン*/
}
.widget_nav_menu ul li ul li a::before{ /*子カテゴリーのアイコン*/
  font-family: 'Font Awesome\ 5 Free';
  content: "\f534";
  color: #ffe5ff;
  padding: 0px 8px 0px 0px; /*アイコン右側空間*/
}

.widget_nav_menu ul li a .post-count{ /*記事数設定*/
  display: inline-block; /*インラインボックス生成*/
  float: right; /*右寄せ配置*/
  margin-left: 8px; /*右側空間*/
  color: #fe619a; /*文字色*/
  background: #ffddee; /*背景色*/
  font-weight: bold; /*強調フォント*/
  font-style: oblique; /*斜体フォント*/
  font-size: 12px; /*フォントサイズ*/
  white-space: nowrap; /*1つの空白にまとめて表示。折り返し無し。*/
  line-height: 0.5; /*行の高さ*/
  padding: 10px 10px; /*上下左右空白*/
  text-decoration: none; /*テキスト装飾無し*/
  border-radius: 2px; /*角丸コーナー*/
}

.widget_nav_menu ul li a:hover{ /*マウスホバー時設定*/
  background: #ffddee; /*背景色*/
  color: #333; /*文字色*/
  transition: all 0.8s ease; /*アニメーション*/
}
.widget_nav_menu ul li a:hover .post-count{ /*記事数のマウスホバー時設定*/
  background: #fe619a; /*背景色*/
  color: #fff; /*文字色*/
  transition: all 0.8s ease; /*アニメーション*/
}

/************************************
#sidebar {
  font-size: 14px;
}
#sidebar a.cf{
  padding: 2px;
  border-bottom:2px dotted #EEEEEE;
}
************************************/

/************************************
** TOPPAGE表示時の設定
************************************/

/* TOPPAGE表示の時、更新日時を表示しない */
.post-23 .date-tags {
display: none;
}

/* TOPPAGE表示の時、上の余白を表示しない */
.post-23 .eye-catch-wrap {
display: none;
}


/* TOPPAGE表示の時、上の余白を表示しない */
.post-23 .article h2, .article h3, .article h4, .article h5, .article h6 {
  margin-top: 0;
}


/* 見出しのデザイン設定 */
/* H2 */
.entry-content h2{
color: #ffffff; /* 文字色 */
font-size: 2.0em; /* 文字サイズ */
background-color: #94b0d1; /* 背景色 */
padding-top:20px; /* 文字と上部の間隔 */
padding-left:10px;/* 文字と左線の間隔 */
padding-bottom:20px;/* 文字と下部の間隔 */
border-left: solid 10px #00375e; /* 左側に実線・色*/
}

/* H3 */
.entry-content h3{
color: #000; /* 文字色 */
font-size: 1.5em; /* 文字サイズ */
background-color: #ebebeb;/* 背景色 */
padding: 10px;
border-left: solid 10px #29295D; /* 左側に実線・色*/
}

/* H4 */
.entry-content h4{
color: #000; /* 文字色 */
font-size: 1.2em; /* 文字サイズ */
padding: 10px;
border-top: solid 3px #29295D;/* 上側に実線・色 */
border-bottom: solid 3px #29295D;/* 下側に実線・色*/
}

/* H5 */
.entry-content h5{
color: #000; /* 文字色 */
font-size: 1.0em; /* 文字サイズ */
padding: 10px;
border-bottom: dotted 3px #008000;/* 下側に点線・色*/
}

/* H6 */
.entry-content h6{
color: #000; /* 文字色 */
font-size: 1.0em; /* 文字サイズ */
padding: 5px;
border-left: solid 7px #008000; /* 左側に実線・色*/
}

/*サイトロゴのフォント等を変更*/
.logo-header a span{
font-family: font-family: 'Noto Serif JP','Helvetica Neue';
font-size:30px;
font-weight: 400;
}
/*サイトロゴのフォント変更（スマホ）*/
@media screen and (max-width: 480px){
#header .site-name-text {
    font-size:30px;
}
}


/******************
表のデザインを変更
*******************/
/*--- 表全体(table) ---*/
.entry-content table {
    border-bottom: 1px solid #B0B3D1; /* 表の一番下の線 */
    border-top: 1px solid #B0B3D1;
    border-left: 1px solid #B0B3D1;
    border-right: 1px solid #B0B3D1;
}
/*--- 表全体(table)の幅 ---*/
.table {
width: 100%;
}
/*--- ヘッダーセル(th) ---*/
.entry-content th {
    border-radius: 1px 1px 0 0; /* 丸み（※ヘッダーセルが縦の場合は削除）*/
    padding: 0.4em 0.5em; /* 余白（上下　左右） */
    background-color: #565B74; /* 背景色 */
    color: #fff; /* 文字の色 */
    letter-spacing: 0.1em; /* 文字の間隔 */
    text-align: left; /* 中央揃え */
    border: 1px solid #B0B3D1; /* 線削除 */
}
.wp-block-table thead {
    border-bottom: none;
}
/*--- 行（横方向）(tr) ---*/
.entry-content tr {
    text-align:left; /* 中央揃え */
}
.entry-content tr:not(:last-child) { /* 最後の行以外に適用 */
    border-bottom: 1px solid #B0B3D1; /* 下線 */
}
/*--- ヘッダーセル以外のセル(td) ---*/
.entry-content td {
    padding: 0.3em 0.3em; /* 余白（上下　左右） */
    border: #B0B3D1; /* 線を削除 */
}
.entry-content td:last-child { /* 最後のセルのみ適用 */
    border-right: 1px solid #B0B3D1; /* 右線 */
}
.entry-content td:not(last-child) { /* 最後のセル以外に適用 */
    border-left: 1px solid #B0B3D1; /* 左線 */
}

div table th, /* テーブルの中の文字が小さくならないようにする */
div table td {
    font-size: 1em;
}
.div table th, /* テーブルの中の文字が小さくならないようにする */
.div table td {
    font-size: 1em;
}

/************************************
** ■カテゴリーのカスタマイズ
************************************/
.widget_categories ul li a{ /*親カテゴリー設定*/
  text-decoration: none; /*テキスト装飾無し*/
  color: #333; /*文字色*/
  font-size: 15px; /*フォントサイズ*/
  display: block; /*ブロックボックス生成*/
  padding: 4px 4px 2px 10px; /*上下左右空間*/
  border-bottom: 1px dashed #ffc5e0; /*親カテゴリー下側にボーダーライン*/
}
.widget_categories ul li a::before{ /*親カテゴリーのアイコン設定*/
  font-family: "Font Awesome\ 5 Free";
content: '\f07b';
  color: #fe619a;
  padding-right: 6px; /*アイコン右側空間*/
}
.widget_categories > ul > li > a:first-child{ 
  border-top: none; /*最初の親カテゴリー上側のボーダー削除*/
}

.widget_categories ul li ul li a{ /*子カテゴリー設定*/
  text-decoration: none; /*テキスト装飾無し*/
  color: #333; /*文字色*/
  display: block; /*ブロックボックス生成*/
  padding: 4px 4px 2px 10px; /*上下左右空間*/
  border-bottom: 1px dashed #ffc5e0; /*子カテゴリー下側にボーダーライン*/
}
.widget_categories ul li ul li a::before{ /*子カテゴリーのアイコン*/
  font-family: 'Font Awesome\ 5 Free';
  content: "\f07c";
  color: #f41945;
  padding: 0px 6px 0px 2px; /*アイコン右側空間*/
}

.widget_categories ul li a .post-count{ /*記事数設定*/
  display: inline-block; /*インラインボックス生成*/
  float: right; /*右寄せ配置*/
  margin-left: 8px; /*右側空間*/
  color: #fe619a; /*文字色*/
  background: #ffddee; /*背景色*/
  font-weight: bold; /*強調フォント*/
  font-style: oblique; /*斜体フォント*/
  font-size: 12px; /*フォントサイズ*/
  white-space: nowrap; /*1つの空白にまとめて表示。折り返し無し。*/
  line-height: 1.1; /*行の高さ*/
  padding: 3px 10px; /*上下左右空白*/
  text-decoration: none; /*テキスト装飾無し*/
  border-radius: 2px; /*角丸コーナー*/
}

.widget_categories ul li a:hover{ /*マウスホバー時設定*/
  background: #ffddee; /*背景色*/
  color: #333; /*文字色*/
  transition: all 0.8s ease; /*アニメーション*/
}
.widget_categories ul li a:hover .post-count{ /*記事数のマウスホバー時設定*/
  background: #fe619a; /*背景色*/
  color: #fff; /*文字色*/
  transition: all 0.8s ease; /*アニメーション*/
}