@charset "utf-8";
/* CSS Document */

/*cssリセット：どのブラウザでも適切なレイアウトで表示されるための初期設定*/
html,
html * {
	padding: 0;
	margin: 0;
	box-sizing: border-box;
	font-family: "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, Osaka, "ＭＳ Ｐゴシック", "MS PGothic", "sans-serif";
}

/*ホームページ全体のデザイン*/
body{
	margin-left: auto;
	margin-right: auto;
	min-width: 350px;
	background-color: #FFFFFF;
}

header{
	padding: 32px;
}

/*超重要*/
/*行と列の初期定義*/
.row:before, .row:after{
	content: "";
	display: table;
}

.row:after{
	clear: both;
}

/*colの設定*/
.col{
	width: 100%;
}

/*ロゴの定義*/
.style-logo{
	float: left;
	width: 200px;
	display: block;
}

.style_nav{
	display: none;
}

/*リストの黒点を消す*/
.style_nav ul{
	list-style-type: none;
}

/*リスト項目の設定*/
.style_nav ul li a{
	text-decoration: none;
	color: #514E4D;
	text-align: center;
	display: block;
	padding: 8px;
	font-size: 16px;
}

.style_nav ul li a:hover{
	background-color: #80CDDE;
	border-radius: 10px;
	color: #FFFFFF;
}

/*main*/

main{
	max-width: 500px;
	margin-left: auto;
	margin-right: auto;
}

/*span*/
span{
	font-size: 12px;
}

/*news*/
.database_home{
	padding: 20px;
	color: #514E4D;
	font-size: 12px;
}

h2{
	text-align: center;
	color: #514E4D;
	font-size: 20px;
}

h4{
	text-align: center;
	margin-bottom: 10px;
	color: #514E4D;
	font-size: 14px;
}

b{
	font-size: 18px;
}

.award-text{
	padding: 10px;
	font-size: 14px;
}

#database img{
	width: 11px;
	height: 11px;
	float: left;
	border-style: none;
	margin: 2px;
}

#database button{
	width: 100%;
	margin-top: 10px;
	background-color: #ffffff;
	border-radius: 5px;
	border: solid 1px #514E4D;
	padding: 10px;
}

#database .title{
	font-size: 18px;
}

#database p{
	text-align: left;
	font-size: 12px;
	color: #514E4D;
}

#database button:hover{
	background-color: rgba(90,95,112,0.10);
}

/*ボタン設定*/
.button-text{
	margin-top: 30px;
	text-align: center;
}

.button{
	background-color: #80CDDE;
	color: #FFFFFF;
	padding: 12px 25px;
	border-radius: 30px;
	text-decoration: none;
	font-size: 12px;
}


h3{
	text-align: center;
	font-weight: 300;
}

/*フッター*/
footer{
	background-color: #80cdde;
	margin-top: 10px;
}

footer a{
	color: #FFFFFF;
}

.nameh2{
	text-align: center;
}

.footertext{
	padding: 10px;
	color: #FFFFFF;
	text-align: center;
	font-size: 12px;
}

/*　ハンバーガーボタン　*/
.hamburger {
  display : block;
  position: fixed;
  z-index : 3;
  margin-top: 15px;
  right : 20px;
  top   : 12px;
  width : 80px;
  height: 80px;
  padding-left: 20px;
  padding-right: 20px;
  padding-top: 20px;
  cursor: pointer;
  text-align: center;
  background-color: #80cdde;
  border-radius: 40px;
}
.hamburger span {
  display : block;
  position: absolute;
  width   : 40px;
  height  : 2px;
  margin-top: 18px;
  margin-bottom: auto;
  margin-left: auto;
  margin-right: auto;
  background : #FFFFFF;
  -webkit-transition: 0.3s ease-in-out;
  -moz-transition   : 0.3s ease-in-out;
  transition        : 0.3s ease-in-out;
}
.hamburger span:nth-child(1) {
  top: 10px;
}
.hamburger span:nth-child(2) {
  top: 20px;
}
.hamburger span:nth-child(3) {
  top: 30px;
}

/* ナビ開いてる時のボタン */
.hamburger.active span:nth-child(1) {
  top : 20px;
  background :#fff;
  -webkit-transform: rotate(-45deg);
  -moz-transform   : rotate(-45deg);
  transform        : rotate(-45deg);
}

.hamburger.active span:nth-child(2),
.hamburger.active span:nth-child(3) {
  top: 20px;
  background :#fff;
  -webkit-transform: rotate(45deg);
  -moz-transform   : rotate(45deg);
  transform        : rotate(45deg);
}

nav.style_hamb {
  position: fixed;
  overflow-y: scroll;
  z-index : 2;
  top  : 0;
  left : 0;
  color: #fff;
  background: #80cdde;
  text-align: center;
  width: 100%;
  height: 100%;
  display: none;
  opacity: 0;
  transition: opacity .6s ease, visibility .6s ease;
}

nav.style_hamb ul {
  margin-top: 120px;
  padding: 0;
  width: 100%;
}

nav.style_hamb ul li {
  list-style-type: none;
  padding: 0;
  width: 100%;
  transition: .4s all;
  border-bottom: 1px solid rgba(255,255,255,1.00);
}
nav.style_hamb ul li:last-child {
  padding-bottom: 0;
}
nav.style_hamb ul li:hover{
  background :#ddd;
}

nav.style_hamb ul li a {
  display: block;
  color: #fff;
  padding: 1em 0;
  text-decoration :none;
}

/* このクラスを、jQueryで付与・削除する */
nav.style_hamb.active {
  display: block;
  opacity: 1;

}

.col-md-projects{
	padding-top: 10px;
}

.col-md-projects img{
	width: 96px;
	height: 96px;
	float: left;
	border-radius: 10px;
	border: 3px #80CDDE solid;
}

.col-projects-text{
	height: 96px;
	padding-left: 120px;
	padding-top: 10px;
	font-size: 14px;
}

#memberprojects a{
	text-decoration: none;
	color: #514E4D;
}

.professor{
	text-align: center;
	margin-top: 10px;
	font-size: 14px;
}

/*タブレット用*/
@media (min-width: 768px){
	
	main{
		max-width: 900px;
	}
	
	.style-logo{
		float: none;
		margin-left: auto;
	    margin-right: auto;
		width: 300px;
	}
	
	.hamburger{
		display: none;
	}
	
	.style_hamb{
		display: none;
	}
	
	.style_nav{
		display: inline;
		
	}
	
	.style_nav ul li{
		display: inline-block;
	}
	
	.style_nav ul{
		text-align: center;
	}
	
	.col{
		float: left;
	}
	
	.col-md-projects{
		width: 33%;
		padding: 30px;
	}
	
	.col-md-projects img{
		width: 100%;
		height: 100%;
		margin-bottom: 10px;
	}
	
	.col-projects-text{
		height: auto;
		padding-left: 0px;
		font-size: 16px;
	}
	
	h2{
		text-align: left;
		float: left;
		margin-left: 15px;
	}
	
	h4{
		text-align: left;
		padding: 7px;
		margin-left: 190px;
	}
	
	.nameh2{
		text-align: center;
	}
	
	.professor{
		text-align: left;
		margin-left: 15px;
		margin-top: 30px;
	}
}

/*デスクトップ用*/
@media (min-width: 1024px){
	
	main{
		max-width: 1200px;
	}
	
	.style-logo{
		float: left;
		width: 300px;
	}
	
	.style_nav{
		float: right;
	}
	
}

.search-container {
    margin: 20px auto;
    text-align: start;
}

.search-box {
    display: inline-flex;
    gap: 10px;
    align-items: start;
	flex-wrap: wrap;
}

#searchInput {
    padding: 8px 15px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 16px;
    width: 300px;
}

#searchButton {
    padding: 8px 20px;
    background-color: #4CAF50;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
}

#searchButton:hover {
    background-color: #45a049;
}


@media (max-width: 420px) {
    #searchInput {
        display: block;
        margin:  auto; 
    }
    #searchButton {
        display: block;
        margin: auto; 
    }
}

