body {
    margin: 0px;
    padding: 0px;
    background-color: #EDEDED;
}
.img {
    border: 0;
}
#main_2 #button-51 {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100px;
    margin:0 auto;
    padding: .9em 2em;
    border: 1px solid #de2012;
    border-radius: 5px;
    background-color: #fff;
    color: #de2012;
    font-size: 1em;
}
#main_2 #button-51:after {
    position: absolute;
    bottom: -3px;
    left: 0;
    transform: scaleX(0);
    transform-origin: center left;
    width: 100%;
    height: 2px;
    background-color:#E71619;
    content: '';
    transition: transform .3s ease;
}
#main_2 #button-51:hover::after {
    transform: scaleX(1);
}
ul {
  padding: 0;
}

ul li, ol li {
  color: #404040;
  border-left: solid 6px #1fa67a;/*左側の線*/
  border-bottom: solid 2px #dadada;/*下に灰色線*/
  background: whitesmoke;
  padding: 0.5em;
  list-style-type: none!important;/*ポチ消す*/
  font-weight: bold;
}
.h-box {
    border: 0.5px solid #000; /* 黒のボーダー */
    padding: 3px 3px;     /* 内側の余白 */
    font-weight: lighter;
    border-radius: 5px;
}
.h-boxred {
    border: 1px solid #F9090D; /* 赤のボーダー */
    padding: 3px 3px;     /* 内側の余白 */
    font-weight: bolder;
    border-radius: 5px;
}
#imgbox {
	float: right;
	margin: 5px 5px 5px 10px;
	padding: 0px;
	height: auto;
	width: 250px;
}
#imgbox280 {
	float: right;
	margin: 15px 5px 5px 20px;
	padding: 0px;
	height: 100px;
	width: 280px;
}
a{
	text-decoration: none;
}
a.a1:link {
	text-decoration: none;
	color:#000099;
	font-size: 12px/1.5em;
}
a.a1:visited {
	text-decoration: none;
	color:#000099;
	font-size: 12px/1.5em;
}
a.a1:hover {
	text-decoration: none;
	color:#0033ff;
	font-size: 12px/1.5em;
}
a.a1:active {
	text-decoration: none;
	font-size: 12px/1.5em;
	
}
#main a {
  text-decoration: underline; /* 下線を表示 */
  text-underline-offset: 5px;   /* 文字と線の距離を5pxに設定 */
  text-decoration-thickness: 10px; /* 線の太さを2pxに設定 */
  text-decoration-color: white;    /* 線の色を指定 */
}
p {
    line-height: 150%;
    font-size: medium;
    color: #3F3F3F;
}
p.indent{
  text-indent: 1em;
}
.circle-marker1 {
    background-color: #FF9191; /* マーカーの色 */
    border-radius: 50%;         /* 丸にする */
    padding: 2px 6px;           /* 文字周りの余白 */
    display: inline-block;      /* インライン要素に余白を適用 */
    text-align: center;
}
.circle-marker2 {
    background-color: #BADAEE; /* マーカーの色 */
    border-radius: 80%;         /* 丸にする */
    padding: 2px 6px;           /* 文字周りの余白 */
    display: inline-block;      /* インライン要素に余白を適用 */
    text-align: center;
}
.circle-marker3 {
    background-color:#D1EABF; /* マーカーの色 */
    border-radius: 80%;         /* 丸にする */
    padding: 2px 6px;           /* 文字周りの余白 */
    display: inline-block;      /* インライン要素に余白を適用 */
    text-align: center;
}
#block800 {
    margin-top: 5px;
    margin-right: 5px;
    margin-left: 26px;
    margin-bottom: 5px;
    padding-top: 10px;
    padding-right: 15px;
    padding-left: 15px;
    padding-bottom: 15px;
    height: auto;
    width: 800px;
    border: 2px dotted #070707;
    float: left;
}
#block880 {
    margin-top: 5px;
    margin-right: 5px;
    margin-left: 26px;
    margin-bottom: 5px;
    padding-top: 10px;
    padding-right: 15px;
    padding-left: 15px;
    padding-bottom: 15px;
    height: auto;
    width: 880px;
    border: 2px dotted #070707;
    float: left;
}
#block800nb {
    margin-top: 3px;
    margin-right: 5px;
    margin-left: 26px;
    margin-bottom: 5px;
    padding-top: 5px;
    padding-right: 15px;
    padding-left: 15px;
    padding-bottom: 15px;
    height: auto;
    width: 800px;
    float: left;
}
.dnv11e {
	font: 11px/1.5em Geneva, Arial, Helvetica, sans-serif;
    color: #000033;
}
.dnv11 {
	font: 11px/1.5em "ＭＳ Ｐゴシック", sans-serif;
    color: #000033;}
.dnv12 {
	font: 12px/1.5em "ＭＳ Ｐゴシック", Osaka, "ヒラギノ角ゴ Pro W3";
	color: #000033;
}
.dnv13 {
	font: 13px/1.5em "ＭＳ Ｐゴシック", Osaka, "ヒラギノ角ゴ Pro W3";
	color: #000033;
}
.dnv12e {
	font: 12px/1.5em Geneva, Arial, Helvetica, sans-serif;
	color: #000033;
}
.dnv15e {
	font: 15px/1.5em Geneva, Arial, Helvetica, sans-serif;
	color: #000033;
}   
.honbun12 {
	font: 12px/1.5em "ＭＳ Ｐゴシック", Osaka, "ヒラギノ角ゴ Pro W3";
}
.honbun13 {
	font: 13px/1.5em "ＭＳ Ｐゴシック", Osaka, "ヒラギノ角ゴ Pro W3";
}
.honbun16red {
	font: 16px/1.5em  "ＭＳ Ｐゴシック", Osaka, "ヒラギノ角ゴ Pro W3";
    color:#EB0105;
}
.honbun14e {
	font: 14px/1.5em  "Geneva, Arial, Helvetica, sans-serif";
    color:#5F5C5C;
}
.honbun15 {
	font: 15px/1.5em  "ＭＳ Ｐゴシック", Osaka, "ヒラギノ角ゴ Pro W3";
    color:#8C8686;
}
.honbun16e {
	font: 16px/1.5em  "Geneva, Arial, Helvetica, sans-serif";
    color:#5F5C5C;
}
.nav13 {
    font: 13px/1.5em "ＭＳ Ｐゴシック", Osaka, "ヒラギノ角ゴ Pro W3";
    color:#1E4D94;
}
.nav16 {
    font: 16px/1.5em "ＭＳ Ｐゴシック", Osaka, "ヒラギノ角ゴ Pro W3";
    color:#1E4D94;
}
.heading06 {
	position: relative;
	padding-top: 50px;
	padding-bottom: 50px;
	font-size: 26px;
	text-align: center;
}
.heading06 span {
	position: relative;
	z-index: 2;
}
.heading06::before {
	content: attr(data-en);
	position: absolute;
	top: -20px;
	left: 50%;
	transform: translateX(-50%);
	color: rgba(224,66,114,0.2);
	font-size: 80px;
	font-style: italic;
}

.heading06::after {
	content: '';
	position: absolute;
	bottom: 0;
	left: 50%;
	transform: translate(-50%) rotate(30deg);
	width: 1px;
	height: 40px;
	background-color: rgba(224,66,114,1);
}
.heading09 {
	font-size: 24px;
}

.heading09::before {
	content: attr(data-en);
	display: block;
	color: #498ee0;
	font-size: 18px;
}

.heading09::after {
	content: '';
	display: block;
	width: 80px;
	height: 1px;
	background-color: #498ee0;
}
h3 {
    padding: 0.5rem 0.5rem;
    border-bottom: solid 1.5px #ff0000;
    color:#5F5F5F;
}
/*start_layout*/
#contentWrapper {
    width: 1000px;
    font-size: small;
    background-color: #ffffff;
    color: #4C4948;
    margin: 0 auto;
    padding-top: 15px;
    padding-right: 15px;
    padding-left: 15px;
    padding-bottom: 15px;
}

#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;
    min-height: 0px;
}
#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; }
#header{
    background: #08142E url("../image/head333.jpg") repeat-x;
    border-bottom-width: 0.5px;
    border-bottom-style: solid;
    border-top-width: 0.5px;
    border-top-style: solid;
    /* [disabled]margin-top: 50px; */
    margin-right: 0;
    margin-left: 0;
    margin-bottom: 0;
    padding: 0px;
    height: 79px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    line-height: 2em;
    color: inherit;
    border-color:#091838;
}
#header h1{
    font: 20px "ＭＳ Ｐゴシック", Osaka, "ヒラギノ角ゴ Pro W3";
	margin: 0.5px;
    font-family:"Geneva, Arial, Helvetica";
	color:#363636;/*文字色*/
  background: transparent;/*背景透明に*/
  border-left: solid  8px #F4171B; 
padding: 0.25em 0.5em;/*上下 左右の余白*/
  margin-left: 12px;
}
#main-title h1{
  font: 18px;
  font-family:"Geneva, Arial, Helvetica";
  padding: 0.25em 0.5em;/*上下 左右の余白*/
  color:#363636;/*文字色*/
  background: transparent;/*背景透明に*/
  border-left: solid  8px #F4171B; 
margin-left: 12px;
}
.h2{
    font: 16px "ＭＳ Ｐゴシック", Osaka, "ヒラギノ角ゴ Pro W3";
	margin: 2px;
    padding: 1px;
    font-family:"Geneva, Arial, Helvetica"
}
#update{
	padding: 0px;
	margin: 5px 0 0;
}
#contents{
    margin-top: 20px;
    display: flex;
    flex-direction: row;
}

#my_photo{
	width: 250px;
	margin: 0 40px 0 10px;
}

#my_photo img {
	max-width: 250px;
	height: auto;
}

#main{
    width: auto;
    padding-left: 5px;
    padding-right: 10px;
    padding-bottom: 10px;
    margin-top: 0px;
    margin-left: 10px;
    min-height: 900px;
}
#main2{
    width: auto;
	height: 80%;
    padding-left: 25px;
    padding-right:25px;
    padding-bottom: 10px;
    margin-top: 0px;
	margin-left: 15px;
}
#main3{
    width: 800px;
    padding-left: 25px;
    padding-right: 25px;
    padding-bottom: 10px;
    margin-top: 0px;
    margin-left: 15px;
    background: #10257F;
    color: #FFFFFF;
    padding-top: 10px;
    min-height: 0px;
	height: auto;
}
#main800{
    width: 800px;
    padding-left: 25px;
    padding-right: 25px;
    padding-bottom: 10px;
    margin-top: 0px;
    margin-left: 5px;
    background: #10257F;
    color: #FFFFFF;
    padding-top: 10px;
    height: 75%;
    min-height: 0px;
}
#photobox840{
    width: 840px;
	padding-left: 50px;
	
}
#main4{
    width: 800px;
    height: 90%;
    padding-left: 25px;
    padding-right: 25px;
    padding-bottom: 10px;
    margin-top: 0px;
    margin-left: 15px;
    background: #F6EAEB;
    color: #FFFFFF;
    padding-top: 10px;
}
#contentWrapper dt {
    color:#EF1014;
    font-size: medium;
    font-style:normal;
    text-align: left;
    padding: 0px;
}

#block1 {
	margin: 10px 5px 5px;
	padding: 3px;
	height: 172px;
	width: 220px;
	border: 1px dotted #FF0033;
	float: left;
}
#block240 {
	margin: 10px 5px 5px;
	padding: 3px;
	height: 172px;
	width: 240px;
	border: 1px dotted #FF0033;
	float: left;
}
#block400r{
	margin: 10px 5px 5px;
	padding: 3px;
	height: 200px;
	width: 400px;
	border: 1px dotted #FF0033;
	float: right;
}
#photo1 {
	margin: 5px 5px 5px;
	padding: 3px;
	width: 380px;
	border: 1px dotted #FFFFFF;
	float: left;
}
#photo2 {
	margin: 5px 5px 5px;
	padding: 3px;
	width: 800px;
	border: 1px dotted #FFFFFF;
	float: left;
}
#photo640 {
	margin: 5px 5px 5px;
	padding: 3px;
	width: 640px;
	height: 280px;
	border: 1px dotted #FFFFFF;
	background: #10257F;
	float: left;
}
#photo800 {
	margin: 5px 5px 5px;
	padding: 3px;
	width: 800px;
	height: 200px;
	border: 1px dotted #FFFFFF;
	background: #10257F;
	float: left;
}
#photo800long {
	margin: 5px 5px 5px;
	padding: 3px;
	width: 800px;
	height: 240px;
	border: 1px dotted #FFFFFF;
	background: #10257F;
	float: left;
}
#photo900 {
	margin: 5px 5px 5px;
	padding: 3px;
	width: 900px;
	height: 200px;
	border: 1px dotted #FFFFFF;
	background: #10257F;
	float: left;
}
#photo900long {
	margin: 5px 5px 5px;
	padding: 3px;
	width: 900px;
	height: 240px;
	border: 1px dotted #FFFFFF;
	background: #10257F;
	float: left;
}
#photo260 {
	margin: 2px 2px 2px;
	padding: 1px;
	width: 260px;
	height: 230px;
	border: 1px dotted #FFFFFF;
	background: #10257F;
	float: left;
}
#photo300 {
	margin: 2px 2px 2px;
	padding: 1px;
	width: 300px;
	height: 200px;
	border: 1px dotted #FFFFFF;
	background: #10257F;
	float: left;
}
#photo360 {
	margin: 2px 2px 2px;
	padding: 1px;
	width: 360px;
	height: 240px;
	border: 1px dotted #FFFFFF;
	background: #10257F;
	float: left;
}
#photo395 {
	margin: 2px 2px 2px;
	padding: 1px;
	width: 395px;
	height: 240px;
	border: 1px dotted #FFFFFF;
	background: #10257F;
	float: left;
}
#photo300long {
	margin: 2px 2px 2px;
	padding: 1px;
	width: 300px;
	height: 320px;
	border: 1px dotted #FFFFFF;
	background: #10257F;
	float: left;
}
#photo300md {
	margin: 2px 2px 2px;
	padding: 1px;
	width: 300px;
	height: 240px;
	border: 1px dotted #FFFFFF;
	background: #10257F;
	float: left;
}
#photo820 {
	margin: 2px 2px 2px;
	padding: 1px;
	width: 820px;
	height: 180px;
	border: 1px dotted #FFFFFF;
	background: #10257F;
	float: left;
}
#figblock {
    padding: 3px;
    height: auto;
    width: 90%;
    border: none;
    margin-top: 10px;
    margin-right: 5px;
    margin-bottom: 5px;
    margin-left: 5px;
    clear: both;
    font-size: x-small;
    align-self: center;
}
#figpack {
	margin: 10px 5px 5px;
	padding: 3px;
	height: auto;
	width: 250px;
	border: none;
	clear: both;
}
#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;
    margin-top: 25px;
    padding: 15px 10px 50px;
    text-align: center;
	border-color: #C6C3DE;
}
a.a1:link {
	text-decoration: none;
	color:#000099;
}
a.a1:visited {
	text-decoration: none;
	color:#000099;
}
a.a1:hover {
	text-decoration: none;
	color:#0033ff;
}
a.a1:active {
	text-decoration: none;	
}
a.red:link{
	text-decoration: none;
	color:#0066FF;
}
a.red:visited {
	text-decoration: none;
	color:#0066FF;
}
 a.red:hover { 
 text-decoration: none;
	color:#FF0033;
}
 a.red:active {
	text-decoration: none;
	color:#0066FF;
}
/* スマホ 420px以下 */
@media screen and (max-width:420px) {
	#header {
		margin: 10px 0 0;
		padding: 15px 10px;
	}

	#header h1{
		font-size: 100%;
	}

	#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;
	}
	
	#main{
		width: 100%;
	}

	#footer {
		padding: 5px 10px 30px;
    }
	.img-frame{
   position: relative;
   width: 70%;
   height: 300px;
   overflow: hidden;
   margin: 0 auto;}
}