/*========全体設定========*/
/*文書全体の要素をセンタリング*/
body{
	text-align: center;
    background-image:url("bg.jpg");
    background-repeat: repeat;
}

/*文書全体を囲むブロックの設定*/
div.main{
    width: 1000px; /*幅*/
    margin:0 auto 0 auto; /*余白設定*/
	/*font-family: sans-serif;*/ /*フォント設定*/
	text-shadow: 1px 2px 2px #ffffff; /*文字装飾。影付け*/
	text-align: left; /*文字配置。左寄せ*/
    box-shadow: 3px 3px 3px gray; /*ブロック全体の影付け*/
    background-color: #eeeeee;
}

.center{
    text-align:center;
}

/*========リンク関連========*/
/*リンクの基本設定*/
a{
	font-family: sans-serif; /*フォントの種類*/
	text-decoration: none;  /*文字の装飾*/
	color: #3366ff; /*文字の色*/
}

/*訪問済みリンクの設定*/
a:visited{
	font-family: sans-serif;
	text-decoration: none;
	color: #3366ff;
}

/*マウスが上に乗った場合のリンク*/
a:hover{
	color: #dddddd;
	background-color: #666666;
    background-image: url(gray-background.gif);
	font-family: sans-serif;
}

/*リンクをクリックした時の設定*/
a:active{
	text-decoration: none;
	color: #003300;
    background-color: #66ffff;
	font-family: sans-serif;
}





/*========共通アニメーション動作設定========*/

.blur1{
    -webkit-animation: 'blur1' 5s,  ease, 0.5s,1, normal;
    -moz-animation: 'blur1' 5s,  ease, 0.5s,1, normal;
    -o-animation: 'blur1' 5s,  ease, 0.5s,1, normal;
    -ms-animation: 'blur1' 5s,  ease, 0.5s,1, normal;
    animation: 'blur1' 5s,  ease, 0.5s,1, normal;
}

.blur2{
    -webkit-animation: 'blur1' 0.5s,  ease, 0.5s,1, normal;
    -moz-animation: 'blur1' 0.5s,  ease, 0.5s,1, normal;
    -o-animation: 'blur1' 0.5s,  ease, 0.5s,1, normal;
    -ms-animation: 'blur1' 0.5s,  ease, 0.5s,1, normal;
    animation: 'blur1' 0.5s,  ease, 0.5s,1, normal;
}



@-webkit-keyframes 'blur1' {
	0% {opacity:0.0;}
	100% {opacity:1.0;}
}
@-moz-keyframes 'blur1' {
	0% {opacity:0.0;}
	100% {opacity:1.0;}
}
@-o-keyframes 'blur1' {
	0% {opacity:0.0;}
	100% {opacity:1.0;}
}
@-ms-keyframes 'blur1' {
	0% {opacity:0.0;}
	100% {opacity:1.0;}
}
@keyframes 'blur1' {
	0% {opacity:0.0;}
	100% {opacity:1.0;}
}


@-webkit-keyframes 'slide1' {
    0% {background-position: 1000px 0px;}
    50%  {background-position: 1000px 0px;}
    100% {background-position: 625px 0px;}
}
@-moz-keyframes 'slide1' {
    0% {background-position: 1000px 0px;}
    50%  {background-position: 1000px 0px;}
    100% {background-position: 625px 0px;}
}
@-o-keyframes 'slide1' {
    0% {background-position: 1000px 0px;}
    50%  {background-position: 1000px 0px;}
    100% {background-position: 625px 0px;}
}
@-ms-keyframes 'slide1' {
    0% {background-position: 1000px 0px;}
    50%  {background-position: 1000px 0px;}
    100% {background-position: 625px 0px;}
}
@keyframes 'slide1' {
    0% {background-position: 1000px 0px;}
    50%  {background-position: 1000px 0px;}
    100% {background-position: 625px 0px;}
}

/*========メニュー設定========*/
/*メニュー・ヘッダー部分確保*/
div.header{
    width: 1000px;
    height: 150px;
    background-image: URL("back_logo.png");
    background-position: right top;
    background-repeat: no-repeat;
    background-color: #cccccc;
    padding: 0px;
    margin: 0px;
    /*border-bottom: solid 1px #333333;*/
    position: relative;

    -webkit-animation: 'slide1' 1s,  ease, 0.5s,1, normal;
    -moz-animation: 'slide1' 1s,  ease, 0.5s,1, normal;
    -o-animation: 'slide1' 1s,  ease, 0.5s,1, normal;
    -ms-animation: 'slide1' 1s,  ease, 0.5s,1, normal;
    animation: 'slide1' 1s,  ease, 0.5s,1, normal;
}
@media screen and (max-width: 1020px) {
  div.header{height: 205px;}
}


/*メニュー設置部分確保*/
div.header div.menu{
        position: absolute; bottom:0px;
}

/*メニュー項目レイアウト共通*/
div.header a.menus{
    font-size: 14px;
    width: 123px;
    height: 25px;
    display: block;
    float: left;
    text-align: center;
     padding: 5px 0px;
    margin-top:0px;
    margin-bottom: 0px;
    border: solid 1px #999999;
    overflow: hidden;

    -moz-transition: all 0.2s linear;
    -webkit-transition: all 0.2s linear 0;
    -o-transition: all 0.2s linear 0;
    -ms-transition: all 0.2s linear 0;
    transition: all 0.2s linear 0;
}
@media screen and (max-width: 1020px) {
  div.header a.menus{font-size: 24px;width: 248px;height: 40px;}
}



/*メニュー項目レイアウト（現在のページ）*/
div.header a.present, div.index_menu_area a.present{
    color: #000000;
    background-color: #ffffff;
/*    border-top: solid 0px #eeffff;
    border-left: solid 0px #eeffff;
    border-right: solid 0px #eeffff;
    border-bottom: solid 0px #ccffff;*/
    margin-bottom: 0px;
    background: linear-gradient(top, #eeeeee, #cccccc 70%, #999999); 
    background: -webkit-linear-gradient(top, #eeeeee, #cccccc 70%, #999999); 
    background: -moz-linear-gradient(top, #eeeeee, #cccccc 70%, #999999); 
    background: -o-linear-gradient(top, #eeeeee, #cccccc 70%, #999999); 
    background: -ms-linear-gradient(top, #eeeeee, #cccccc 70%, #999999); 
/*    box-shadow: 2px -1px 1px gray; ブロック全体の影付け*/
}

div.header a:before, div.index_menu_area a:before{
    content:url("link.png");
}

/*メニュー項目レイアウト（他ページ）*/
div.header a.others, div.index_menu_area a.others{
    color: #ffffff;
    background-color: #33ccff;
    background: linear-gradient(top, #33ccff, #003399 50%, #22bbee); 
    background: -webkit-linear-gradient(top, #33ccff, #003399 50%, #22bbee); 
    background: -moz-linear-gradient(top, #33ccff, #003399 50%, #22bbee); 
    background: -o-linear-gradient(top, #33ccff, #003399 50%, #22bbee); 
    background: -ms-linear-gradient(top, #33ccff, #003399 50%, #22bbee); 
}

div.header a.others:hover, div.index_menu_area a.others:hover{
    color: #333333;
    background-color: #66ffff;
    background: linear-gradient(top, #66ffff, #ffffff 50%, #66ffff); 
    background: -webkit-linear-gradient(top, #66ffff, #ffffff 50%, #66ffff); 
    background: -moz-linear-gradient(top, #66ffff, #ffffff 50%, #66ffff); 
    background: -o-linear-gradient(top, #66ffff, #ffffff 50%, #66ffff); 
    background: -ms-linear-gradient(top, #66ffff, #ffffff 50%, #66ffff); 
}


/*========↓ヘッダー関連↓========*/

div.running{
    padding-top: 10px;
    padding-left: 10px;
}

div.running span.faculty{
	font-family: sans-serif;
	font-size: 16px; 
    color: #ffffff;
    text-shadow: -1px -1px 0px rgba(0,0,0,1);
}

div.running span.faculty:after{
    font-family: serif;
    font-style: italic;
    font-size: 12px;
    color: #ffffff;
    text-shadow: -1px -1px 0px rgba(0,0,0,1);
    content: "  Faculty of Engineering, Shizuoka University";
}

div.running span.department{
    display: block;
	font-family: sans-serif;
	font-size: 16px; 
    line-height: 24px;
    color: #ffffff;
    text-shadow: -1px -1px 0px rgba(0,0,0,1);
}

div.running span.department:after{
    font-family: serif;
    font-size: 12px;
    color: #ffffff;
    text-shadow: -1px -1px 0px rgba(0,0,0,1);
    font-style: italic;
    content: "  Department of Applied Chemistry and Biochemical Engineering";
}

div.running span.lab{
    display: block;
	font-family: sans-serif;
	font-size: 30px; 
    line-height: 32px;
    color: #ffffff;
    text-shadow: -1px -1px 0px rgba(0,0,0,1);
 }

div.running span.lab:after{
    font-family: serif;
    font-size: 18px;
    color: #ffffff;
    text-shadow: -1px -1px 0px rgba(0,0,0,1);
    font-style: italic;
    content: "  KOHNO LAB.";
}

/*========↑ヘッダー関連↑========*/





/*========コンテンツ部分設定========*/


/*主たる文章を書く部分の設定*/
div.sub{
	background-color: #ffffff; /*背景色*/
	padding: 10px 40px; /*内側の余白 上下・左右の値*/
	margin-bottom: 5px; /*外側の余白*/
    line-height: 1.5em; /*行間の設定*/
    background: linear-gradient(top, #999999, #eeeeee 10%, #ffffff); 
    background: -webkit-linear-gradient(top, #999999, #eeeeee 10%, #ffffff); 
    background: -moz-linear-gradient(top, #999999, #eeeeee 10%, #ffffff); 
    background: -o-linear-gradient(top, #999999, #eeeeee 10%, #ffffff); 
    background: -ms-linear-gradient(top, #999999, #eeeeee 10%, #ffffff); 

    -webkit-animation: 'blur1' 0.5s,  ease, 0.5s,1, normal;
    -moz-animation: 'blur1' 0.5s,  ease, 0.5s,1, normal;
    -o-animation: 'blur1' 0.5s,  ease, 0.5s,1, normal;
    -ms-animation: 'blur1' 0.5s,  ease, 0.5s,1, normal;
    animation: 'blur1' 0.5s,  ease, 0.5s,1, normal;
}

div.sub p{
    text-indent: 1em;
}

/*主たる文章中の，リストの設定*/
div.sub ul{
    list-style-type: none;
	background-color: #fefefe; /*背景色*/
	padding: 10px; /*外側の余白*/
	margin-bottom: 0px; /*内側の余白*/
	border-radius:10px; /*ブロック全体の角の丸み*/
}

/*ページの表題部分の設定*/
h1.title{
    font-size: 21px; /*文字の大きさ*/
    background-color: #33ccff; /*背景色*/
    color: #333333; /*文字の色*/
    padding: 5px; /*内側の余白*/
    padding-left: 15px; /*内側の余白*/
    text-align: center; /*文字の配置*/
	margin-bottom: 5px; /*外側の余白*/
	font-family: sans-serif; /*フォントの種類*/
    box-shadow: 3px 3px 10px gray;  /*ブロック全体の影付け*/
	border-radius:10px; /*ブロック全体の角の丸み*/
    background: linear-gradient(top, #33ccff, #66ffff 50%, #22bbee); 
    background: -webkit-linear-gradient(top, #33ccff, #66ffff 50%, #22bbee); 
    background: -moz-linear-gradient(top, #33ccff, #66ffff 50%, #22bbee); 
    background: -o-linear-gradient(top, #33ccff, #66ffff 50%, #22bbee); 
    background: -ms-linear-gradient(top, #33ccff, #66ffff 50%, #22bbee); 
}

/*各項目の見出しの設定*/
h2.subindex{
    color: #6633ff;
	font-size: 120%; /*文字の大きさ*/
	border-left: solid 10px #6633ff; /*「囲み」の設定（左側だけ）*/
	padding-left: 5px; /*余白の設定*/
	font-family: sans-serif; /*フォントの種類*/
}

/*各項目のsub見出しの設定*/
h2.subindex-sub{
    color: #6633ff;
	font-size: 100%; /*文字の大きさ*/
	padding-left: 90px; /*余白の設定*/
	font-family: sans-serif; /*フォントの種類*/
}

/*小見出しの設定*/
h3.subtitle{
	font-size: 100%; /*文字の大きさ*/
	border-left: solid 5px #6633ff; /*「囲み」の設定（左側だけ）*/
	padding-left: 5px; /*余白の設定*/
	font-family: sans-serif; /*フォントの種類*/
    color: #333333;
}

/*強調部分の設定*/
em{
	font-family: sans-serif; /*フォントの種類*/
	text-decoration: underline; /*文字の装飾*/
}

/*「上に戻る」等の設定。文字が小さく，右寄せ*/
.return{
    text-align: right;
    font-size: 70%;
}


/*挿絵・挿入写真関連*/
img.ins_right{
    display: box;
    float: right;
    margin-left: 10px;
}
img.ins_left{
    display: box;
    float: left;
    margin-right: 10px;
}
img.ins_box{
    border: solid 1px #ffffff;
    box-shadow: 2px 2px 2px gray;
}
img.ins_large{
    width: 320px;
    height: 240px;
}
img.ins_small{
    width: 160px;
    height: 120px;
}
img.ins_tate_small{
    width: 120px;
    height: 160px;
}

/*ドロップキャップ（テーマ説明）*/
div.theme_desc p{
    text-indent: 0;
}

div.theme_desc p:first-child:first-letter{
    font-size: 250%;
    float: left;
    line-height: 1;
    /*background-color: #cccccc;*/
    color: #333333;
    padding: 2px;
    margin-right: 1px;
	text-shadow: 2px 2px 2px #666666;
}

/*ドロップキャップ（テーマ説明）*/


/*========CSS3関連========*/
.move{
    transition:all 0.3s ease-in-out;
    -o-transition:all 0.3s ease-in-out;
    -ms-transition:all 0.3s ease-in-out;
    -moz-transition:all 0.3s ease-in-out;
    -webkit-transition:all 0.3s ease-in-out;
}

img.move:hover{
    transform-origin:50% 50%;
    transform:scale(1.1,1.1) rotate(10deg);
    -moz-transform-origin:50% 50%;
    -moz-transform:scale(1.1,1.1) rotate(10deg);
    -webkit-transform-origin:50% 50%;
    -webkit-transform:scale(1.1,1.1) rotate(10deg);
    -o-transform-origin:50% 50%;
    -o-transform:scale(1.1,1.1) rotate(10deg);
}

div.theme img{
    transition:all 0.3s ease-in-out;
    -moz-transition:all 0.3s ease-in-out;
    -webkit-transition:all 0.3s ease-in-out;
    -o-transition:all 0.3s ease-in-out;
    -ms-transition:all 0.3s ease-in-out;
}

div.theme img:active{
    /*border-style: solid;*/
    /*border-color:#99ff99;*/
    transform-origin:50% 50%;
    transform:scale(1.8,1.8) rotate(0deg);
    -moz-transform-origin:50% 50%;
    -moz-transform:scale(1.8,1.8) rotate(0deg);
    -webkit-transform-origin:50% 50%;
    -webkit-transform:scale(1.8,1.8) rotate(0deg);
    opacity: 0.8;
}

