@charset "utf-8";
body {
	margin:0px;
	padding:0px;
	}

img {
	border:0;
}

/*start_layout*/
#contentWrapper {
	width: 1000px;
	font-size: 90%;
	background-color: #ffffff;
	color: #4C4948;
	margin: 0 auto;
	padding: 0;
}

#contentWrapper a { color:#0000cc; text-decoration:none;}
#contentWrapper a:visited { color:purple; text-decoration:none; }
#contentWrapper a:active { color:#0000cc; text-decoration:none; }
#contentWrapper a:hover { color:#0000cc; text-decoration:underline; }
#contentWrapper a.uline { color:#0000cc; text-decoration:underline;}
#contentWrapper a:visited.uline { color:purple; text-decoration:underline; }
#contentWrapper a:active.uline { color:#0000cc; text-decoration:underline; }
#contentWrapper a:hover.uline { color:#0000cc; text-decoration:underline; }

#contents a[target="_blank"]::after{
	content: url(../image/icon_url.png);
	vertical-align: middle;
	margin-left: 5px;
}

#hedaer{
	background-color: #ffffff;
	border-bottom-width: 2px;
	border-bottom-style: solid;
	border-bottom-color: #4C4948;
	margin: 50px 0 0;
	padding: 0px;
	height: 50px;
	display: flex;
	justify-content: space-between;
	align-items: center;
	line-height: 2em;
}

#header h1{
	margin: 0px;
}

#update{
	padding: 0px;
	margin: 5px 0 0;
}

#contents{
	margin-top: 30px;
	display: flex;
	flex-direction: row;
}

#my_photo{
	width: 250px;
	margin: 0 40px 0 10px;
}

#my_photo img {
	max-width: 250px;
	height: auto;
}

.my_fig{
    display: flex;        /* Flexboxを使用 */
    justify-content: center; /* 横方向に中央寄せ */
    align-items: center;     /* 縦方向に中央寄せ */
    width: 100%;             /* 必要に応じて親要素の幅を設定 */
    height: 100%;            /* 必要に応じて高さを設定 */
}

.my_fig img {
    max-width: 100%;        /* 親要素に合わせて画像をリサイズ */
    height: auto;           /* アスペクト比を維持 */
}

/* Google Mapを囲う要素 */
.map {
  position: relative;
  width: 100%;
  height: 0;
  padding-top: 75%; /* 比率を4:3に固定 */
}
 
/* Google Mapのiframe */
.map iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

#main{
	width: 700px;
}

#main dt{
	background-color: #4C4948;
	width: 100px;
	color: #ffffff;
	font-size: medium;
	text-align: center;
	padding: 5px;
}

#main dd{
	border-top-width: 1px;
	border-top-style: solid;
	border-top-color: #4C4948;
	margin: 0px;
	padding-top: 15px;
	padding-bottom: 15px;
}

.name{
	list-style: none;
	padding: 0;
	font-size: large;
	font-weight: bold;
	margin-bottom: 15px;
}

.department  {
	margin-bottom: 15px;
	line-height: 120%;
}

.address  {
	margin-bottom: 15px;
	line-height: 120%;
}

.list  {
	margin: 0px;
	padding: 0px;
	list-style-type: none;
}

.list li{
	margin-top: 0;
	margin-right: 0;
	margin-bottom: 5px;
	margin-left: 0;
	padding: 0px;
}

#footer {
	border-top-width: 5px;
	border-top-style: solid;
	border-top-color: #4C4948;
	padding: 5px 0 50px;
	text-align: center;
}

/* スマホ 768px以下 */
@media screen and (max-width:768px) {
	#hedaer {
		margin: 10px 0 0;
		padding: 15px 10px;
	}

	#hedaer h1{
		font-size: 150%;
	}

	#aist_home {
		text-align: right;
	}

	#aist_home img {
		width: 80%;
		height: auto;
	}

	#update{
		margin: 5px 10px 0;
	}

	#contentWrapper {
		width: 100%;
		padding: 0;
	}
	#contents{
		flex-direction: column;
		padding: 0 20px;
	}
	
	#my_photo{
		width: 100%;
		margin: 0 0 50px;
		text-align: center;
	}
	#my_photo img {
		max-width: 250px;

	}
	.my_fig{
	    display: flex;        /* Flexboxを使用 */
	    justify-content: center; /* 横方向に中央寄せ */
	    align-items: center;     /* 縦方向に中央寄せ */
	    width: 100%;             /* 必要に応じて親要素の幅を設定 */
	    height: 100%;            /* 必要に応じて高さを設定 */
	}

	.my_fig img {
	    max-width: 100%;        /* 親要素に合わせて画像をリサイズ */
	    height: auto;           /* アスペクト比を維持 */
	}	
	.my_fig iframe {
	    max-width: 100%;        /* 親要素に合わせて画像をリサイズ */
	    height: auto;           /* アスペクト比を維持 */
	}

	#main{
		width: 100%;
	}

	#footer {
		padding: 5px 10px 30px;
	}
}