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

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

#header-container{
    overflow-x: hidden;
    border-top:3px #356299 solid;
}


/*ヘッダートップ小メニュー*/
ul.menu {
	overflow: hidden;
	padding: 0;
	list-style-type: none;
    margin-left:auto;
}
ul.menu li {
	float: left;
}
ul.menu li a {
	display: block !important;
	padding: 6px 16px;
	text-align: center;
	text-decoration: none;
	color: #000;
    font-size:0.6rem;
    }
ul.menu li a:hover:not(.active) {
	background-color: #a9bce2;
}
ul.menu li a.active {
	background-color: #da3c41;
}
ul.menu li.right {
	float: right;
}
@media screen and (max-width: 480px) {
	ul.menu li.right, ul.menu li {
		float: none;
	}
}

li.btn-radius-solid {
  border-bottom:1px solid #ccc;
  border-right:1px solid #ccc;
  border-left:1px solid #ccc;
  background: -webkit-gradient(linear, left top, left bottom, from(#fdfbfb), to(#ebedee));
  background: -webkit-linear-gradient(top, #fdfbfb 0%, #ebedee 100%);
  background: linear-gradient(to bottom, #fdfbfb 0%, #ebedee 100%);
  -webkit-box-shadow: inset 1px 1px 1px #fff;
  box-shadow: inset 1px 1px 1px #fff;
  border-bottom-left-radius:5px;
  border-bottom-right-radius:5px;
}

li.btn-radius-solid:hover {
  background: -webkit-gradient(linear, left bottom, left top, from(#fdfbfb), to(#ebedee));
  background: -webkit-linear-gradient(bottom, #fdfbfb 0%, #ebedee 100%);
  background: linear-gradient(to top, #fdfbfb 0%, #ebedee 100%);
}

@media only screen and ( max-width: 630px ) {  
/*ヘッダートップ小メニュー*/
ul.menu {
	 display: flex;
 flex-direction: row;
 align-items: center;
 justify-content: space-between;
 position: relative;
}
ul.menu li {
	float: none;
}
ul.menu li a {
	display: block;
	padding: 5px 4px;
	text-align: center;
	text-decoration: none;
	color: #000;
    font-size:0.6rem;
}

ul.menu li.right {
	float: none;
}

li.btn-radius-solid {
  border-bottom:1px solid #ccc;
  border-right:1px solid #ccc;
  border-left:1px solid #ccc;
}

li.btn-radius-solid:hover {
  background: -webkit-gradient(linear, left bottom, left top, from(#fdfbfb), to(#ebedee));
  background: -webkit-linear-gradient(bottom, #fdfbfb 0%, #ebedee 100%);
  background: linear-gradient(to top, #fdfbfb 0%, #ebedee 100%);
}
}


/*メインメニュー背景*/
#navi{
margin:0 -200%;
padding:0 200%;
background: #356299;
padding:0.5rem;
box-shadow: 2px 5px 5px 5px rgba(29,75,127,0.6) inset;
border-bottom:1px #1c4a7e solid;
}

#navi-in {

}

#navi-in li{
    border-left:1px #1e4b82 solid;
    border-right:1px #5a87be solid;
}

#navi-in li.first_line{
    margin-left:1px;
    border-left:1px #5a87be solid;
    box-shadow: -1px 0 1px #1e4b82;
}


#navi-in li.last_line{
    margin-right:1px;
    border-right:1px #5a87be solid;
    box-shadow: 1px 0 1px #1e4b82;
}

#navi-in li a{
    color:#fff;
    font-weight:600;
    letter-spacing: 1px;
    -webkit-transition: all 0.3s ease;
    -moz-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
    transition: all  0.3s ease;
    background:none;
}

#navi-in li a:hover{
color:#fff;
background: #617c9e;
}

/*ロゴ配置*/
.header-title{
    display:block;
}

.logo{
    text-align:left;
    width:50%;
    float:left;
    margin-top:-10px;
}

.logo img{
    width:100%;
}

.nxtlogo{
   float:right;
   display: inline-block;
   vertical-align: middle;
   margin-top:1.5rem;

}

/*検索フォーム*/
.search-box{
    margin-left:1rem;
    display:inline-block;
    width:240px;
    vertical-align: top;
    padding:0;
    margin-top:0;
}

.search-edit {
height:35px;
padding:0 10px; 
outline:0;
background:#eee;
font-size:0.5rem;
}
[type="submit"].search-submit {
height:35px;
width:50px;
top:0;
right:0;
background:#356299;
color:#fff;
border:none;
}
[type="submit"].search-submit:hover{
color:#356299;
background:#ddd;
}

/*入力欄と検索ボタンの強調の無効化*/
.search-box .search-edit:focus, .search-box .search-submit:focus {
	outline: 0;
	outline-offset: unset;
}

/*文字サイズ変更ボタン*/
.fsize{
    background-color:#f0f0f0;
    padding:6px 5px;
    font-size:0.75rem;
    display: inline-block;
    vertical-align: top;

}

.size-button {
  border:0;
  background-color: #b7b7c7;
  cursor: pointer;
  display: inline-block;
  font-size: 0.75rem;
  padding: 3px 4px;
  text-align: center;
  width:50px;

}

.big{
    font-weight:bold;
    color:#356299;
    background-color:#b7b7c7;
}
.size-button:hover,
.active{
    background-color: #356299;
    color: #fff;
  }




@media only screen and ( max-width: 630px ) {  
    .nxtlogo{
   display:none;
}
}

/*サイドバーバナー*/
#custom_html-4{
   	display: flex;
	flex-wrap:wrap;
}

#custom_html-4 img{
    width: calc(100%/2);
    border: 1px solid #f3f3f3;
    -webkit-transition: all 0.3s ease;
    -moz-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
    transition: all  0.3s ease;
}

#custom_html-4 a:hover img {
  opacity: 0.7;
  filter: alpha(opacity=70);
  -ms-filter: "alpha(opacity=70)";
}

.entry-content{
    border-radius:0;
}

/*トップページコンテンツ*/
.header-news{
  position:relative;
  width:100%;
  height:auto;
}

h1.uptodate{
     position: relative;
     padding:0.5em 0.5em 0.5em 1.4em;
     font-size:1.5rem;
}

h1.uptodate:after{
    position: absolute;
     top: 50%;
     left:0.7em;
     transform:translateY(-50%);
     content: '';
     width: 5px;
     height:25px;
     background-color: #0741b1;
}

.header-news p{
  position:absolute;
  top: 5%;
  right:0.7em;
  display:inline-block;
  border-radius: 3px;
  border:#e5e5e5 1px solid;
  padding:0.3rem 0.8rem;
  background: -moz-linear-gradient(top, #f3f3f3, #FFF);
  background: -webkit-linear-gradient(top, #f3f3f3, #FFF);
  background: linear-gradient(to bottom, #f3f3f3, #FFF);
  font-size:0.7rem;
  font-weight:600;
    
}



.news-line{
    list-style-type : none;
    padding:0;
    margin:0;
}

.news-line li{
    padding:0.5rem 1.5rem;
    font-size:1.0rem;
}

.news-line .date{
    display:inline-block;
    margin-right:1.5rem;
}

.news-line .cat{
    display:inline-block;
    margin-right:1.5rem;
    font-size:0.7rem;
    font-weight:600;
}

.news-line .cat a{
    color:#fff;
    text-decoration:none;
}

.events, .news, .seminar, .others, .op-call{
   padding:0.3rem 1rem;
}

.news{
  background:#b7c8e6;
}

.events{
  background:#ffd76a;
}

.seminar{
  background:#cb8bf7;
}

.others{
  background:#d0d0d0;
}

.op-call{
  background:#5bd580;
}




.news-line .title{
    display:inline-block;
}

.news-line li:nth-child(odd) {
  background: -moz-linear-gradient(top, #fff, #EAF6FD);
  background: -webkit-linear-gradient(top, #fff, #EAF6FD);
  background: linear-gradient(to bottom, #fff, #EAF6FD);
  border-bottom:#e7f3f9;
}
.news-line li:nth-child(even) {
  background: -moz-linear-gradient(top, #fff, #EFEFEF);
  background: -webkit-linear-gradient(top, #fff, #EFEFEF);
  background: linear-gradient(to bottom, #fff, #EFEFEF);
  border-bottom:#eae9e9;
}
 
.new{
    font-size:0.5rem;
    color:#f14010;
}

h1.entry-title{
    position:relative;
    background:#eef1f2;
    padding: 1rem 2rem;
    background: -moz-linear-gradient(top, #f8f8f8, #f2f2f2);
    background: -webkit-linear-gradient(top, #f8f8f8, #f2f2f2);
    background: linear-gradient(to bottom, #f8f8f8, #f2f2f2);
    box-shadow: 0 2px 5px 0 rgba(0, 0, 0, .5);
    color:#6e6e6e;
    font-size:1.5rem;
    padding-left:2rem;
}

h1.entry-title:before{
    position:absolute;
    top:25%;
    left:1rem;
    width:5px;
    height:50%;
    content:'';
    border-radius:3px;
    background:#0c3db1;}

.entry-content h2{
  position: relative;
  padding: 1rem 1.5rem;
  border-bottom: 6px solid #0c3db1;
  background:none;
  color:#6e6e6e;
  font-size:1.4rem;
  margin-bottom:1.5rem;
}




.entry-content h2:before{
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 12%;
  height: 6px;
  content: '';
  background: #8eb2f1;
}

.entry-content h3{
  padding: 1rem 1.5rem;
  border-bottom: 1px solid #e8e8e8;
  border-left: 1px solid #e8e8e8;
  border-top: none;
  border-right: none;
  background:none;
  color:#6e6e6e;
  margin-bottom:1.5rem;
  font-size:1.2rem;
}

.entry-content h3:before {
  font-family: "FontAwesome";
  content: "\f111";
  font-size:0.8rem;
  padding-right:1rem;
  color:#3864b2;
}

/*バックナンバーリスト*/

.wp-block-categories li, .wp-block-archives li{
    list-style: none;
}

.wp-block-categories li::before, .wp-block-archives li::before {
font-family: FontAwesome;
content: "\f0da";
color: #88ccef;
font-weight: 900;
margin-right: 0.5em;
}

span.post-count::before{
   content: "(";
}

span.post-count::after{
   content: ")";
}

/*サイトマップリスト*/
#sitemap{
    margin-left:1rem;
}

#sitemap li{
    list-style: none;
}

#sitemap li::before {
font-family: FontAwesome;
content: "\f0da";
color: #88ccef;
font-weight: 900;
margin-right: 0.5em;
}

#sitemap li ul li{
    margin-left:1rem;
}

/*研究成果カテゴリ名折り返しなし*/
.cat-achieve{
    white-space: nowrap;
}

.catno td{
    text-align:center;
}

/*研究者*/
p.theme{
    background: #2d518f;
    color:#fff;
    font-size:0.8rem;
    display:inline-block;
    padding:0.3rem 0.8rem;
    margin-bottom:0;
    font-weight:600;
    text-align:center;
}

h2.r-theme{
    margin-top:0;
}

.is-style-regular table{
    width:100%;
}

figure.is-style-regular table td{
    border-left:none;
    border-right:none;
}

/*研究者紹介親*/
/*過去の在籍状況ボタン*/
.past_btn{
    width:100%;
    text-align:right;
    clear:both;
}

.past{
    padding:0.3rem 1rem;
    border:1px #b9b9b9 solid;
    display:inline-block;
    background:#5b9bd5;
}

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

ol{

}

ol li{
 padding-left:0.8rem;
}



/*各教員カード*/

.staffs{
	width: 100%;
	display: flex;
	display: -ms-flexbox; /* IE10 */
	flex-wrap: wrap;
	-ms-flex-wrap: wrap; /* IE10 */
}

.l-wrapper {
width:30%;
margin:1.5% 1.5%;
}

@media screen and (max-width: 834px) {
.l-wrapper {
width:47%;
margin:1.5% 1.5%;
}
}

@media screen and (max-width: 500px) {
.l-wrapper {
width:97%;
margin:1.5% 1.5%;
}
}

.card-radius{
  overflow: hidden;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0,0,0,.2);
}

.card {
  background-color: #fff;
  box-shadow: 0 0 0px rgba(0, 0, 0, .16);
  color: #212121;
  text-decoration: none;
}

.card_header {

}

.card_title {
  padding: 1rem 0;
  font-size: 1rem;
  text-decoration: none;
  text-align:center;
  font-weight: bold;
  margin:0;
  order:1;
}

.card_thumbnail {
  margin-top: -1.5rem;
  order: 0;
  text-align:center;
  padding:0;
}

.card_image {

  object-fit: cover;
  height:auto;
  margin:0;
  padding:0;
}

.card_body {
  padding: 0 1rem;
}

.card_text {
  font-size: .8rem;
  text-decoration: none;
  list-style:none;
  
}
.card_text2 {
  font-size: .8rem;
  margin-top: 0;
  margin-bottom: 1.5rem;
}


/*taxnomy.php　研究成果 */
.cat-achievement{
    white-space: nowrap;
    text-align:center;
}

.cat-list{
    
}

.cat-list li {
    list-style-type: none;
    border-bottom:1px #e2e2e2 solid;
    padding:1rem;
}


figure table td{
    vertical-align: top;
}
/*カスタム投稿ページャー*/



/*通常ページャー*/
.pagination-next{
    display:none;
}


    .page-numbers { /*通常時*/
      color: #49add1;
      border: 1px solid #49add1;
    }
    .pagination .current, .pager current { /*現在のページ*/
      background-color: #49add1;
      color: #fff;
    }
    .page-numbers.dots { /*ドット「…」の部分*/
      opacity: 1;
      background: none;
    }
    .pagination a:hover { /*マウスホバー時*/
      background-color: #49add1;
      color: #fff;
    }

.pager{
    margin-top:2rem;
    text-align:center;
}

 
ul {
   -webkit-padding-start: 0px;
}

.goback{
    text-align:right;
}

.btn{
    clear:both;
    margin-top:1rem;
    padding:0.3rem 1rem;
    border:1px #b9b9b9 solid;
    display:inline-block;
}

p.add{
    width:90%;
    margin:0 auto;
}

.cat-link{
    background:none;
    border:1px #49add1 solid;
    color: #49add1;
}

.cat-link a{
    color: #49add1;
}

.entry-categories-tags a:hover, .cat-link a:hover{
    background:#49add1;
    color: #fff;
}

.kobo-date{
    white-space: nowrap;
    width: 10%;
    
}

.tax_achieve{
    float:right;
    width:880px;
}

/*サイドバー*/
.sidebar3{
  width: 272px;
  border: 1px solid transparent;
  padding: 19px;
  border-radius: 4px;
  background-color: #fff;
  float:left;
}
.sidebar3 h3{
    background:#5a87be;
    color:#fff;
    border-radius:0;
    margin-bottom:1px;
    padding:16px;
}

.sidebar-scroll h3{
    background:#5a87be;
    color:#fff;
    border-radius:0;
    margin-bottom:1px;
}

.sidebar-scroll ul, .sidebar3 ul{
margin-bottom:0;
padding-bottom:0;
}

.sidebar-scroll ul li, .sidebar3 ul li{
width:100%;
padding:0 0.5rem;
background:#f2f2f2;
margin-bottom:1px;
}
.sidebar-scroll ul li:before, .sidebar3 ul li:before {
  font-family: "FontAwesome";
  content: "\f18e";
  font-size:0.8rem;
  padding-right:0.5rem;
    display:inline-block;
  color:#49add1;
}

.sidebar-scroll ul li a, .sidebar3 ul li a{
display:inline-block;
}

/*フッターロゴサイズ*/

.logo-image{
    margin:0;
    padding:0;
}

.footer-bottom-logo .logo-image  {
    min-width: 300px;
    padding: 0;
}
.footer-bottom-logo img {
	height: auto;
}
.footer a:hover{
    background:#5180b8;
}
.footer .only{
    background:#3c469d;
}

.footer .only a{
    color:#fff;
}

.footer .only a:hover{
    color:#3c469d;
}

.copyright{
    font-size:0.7rem;
}

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

@media screen and (max-width: 1222px){
.tax_achieve{
    width:100%;
}

/*サイドバー*/
.sidebar3{
    width:100%;
}
}
}

/*834px以下*/
@media screen and (max-width: 834px){
.tax_achieve{
    width:100%;
}

/*サイドバー*/
.sidebar3{
    width:100%;
}
}

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


/************************************
** 2026/08/05 研究成果
************************************/

.teacher-table-wrap {
    width: 100%;
    margin: 30px 0;
}

.teacher-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 15px;
}

.teacher-table th {
    background: #1e4b82 !important;
    padding: 14px;
    border: 1px solid #ddd;
    text-align: center;
    font-weight: bold;
    color:#fff !important;
}

.teacher-table td {
    padding: 13px;
    border: 1px solid #ddd;
    vertical-align: middle;
}

.teacher-table .faculty {
    width: 120px;
    text-align: center;
    font-weight: bold;
    background: #fafafa;
}

.teacher-table a {
    display: inline-block;
    padding: 7px 18px;
    text-decoration: none;
    font-size: 14px;
}

.teacher-table a:hover {
    opacity: .8;
}


/* スマートフォン */
@media screen and (max-width: 767px) {

    .teacher-table,
    .teacher-table tbody,
    .teacher-table tr,
    .teacher-table td {
        display: block;
        width: 100%;
    }

    .teacher-table thead {
        display: none;
    }

    .teacher-table tr {
        margin-bottom: 20px;
        border: 1px solid #ddd;
        border-radius: 8px;
        overflow: hidden;
    }

    .teacher-table td {
        border: none;
        border-bottom: 1px solid #eee;
        padding: 12px 15px;
        position: relative;
    }

    .teacher-table td:last-child {
        border-bottom: none;
    }

    .teacher-table td:nth-child(1):before {
        content: "学部";
        font-weight: bold;
        display: block;
        color: #666;
        font-size: 12px;
        margin-bottom: 5px;
    }

    .teacher-table td:nth-child(2):before {
        content: "氏名";
        font-weight: bold;
        display: block;
        color: #666;
        font-size: 12px;
        margin-bottom: 5px;
    }

    .teacher-table td:nth-child(3):before {
        content: "採用年度";
        font-weight: bold;
        display: block;
        color: #666;
        font-size: 12px;
        margin-bottom: 5px;
    }

    .teacher-table td:nth-child(4):before {
        content: "教員データベース";
        font-weight: bold;
        display: block;
        color: #666;
        font-size: 12px;
        margin-bottom: 5px;
    }

    .teacher-table .faculty {
        background: #005bac;
        color: #fff;
        text-align: left;
    }

}
