﻿@charset "utf-8";
/*
Theme Name: labo
Author: ACPlanet
Author URI: http://www.acplanet.co.jp/
Description: 名城大学研究室サイト用テーマです。
Version: 0.1
*/

/*初期化
----------------------------------------*/
*{
	margin: 0;
	padding: 0;
	font-size: 100%;
}
body {
	font-family: "メイリオ", Meiryo, "ヒラギノ丸ゴ Pro W4", "Hiragino Maru Gothic Pro", "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
	font-size: 0.9em;
	line-height: 1.6em;
	color: #000;
	background-color: #FFFFFF;
	width: 100%;
	min-width:970px;
	background:url(imgs/base/bg_body.gif);
	-webkit-text-size-adjust:100%;
}
p {
	margin: 10px 0;
}
ul {
	list-style-type: none;
	margin: 0 0 10px 10px;
}
ol {
	margin: 0 0 10px 30px;
}
hr {
	border:0;
	border-bottom:1px solid #999;
	margin:20px 0;
}
img {
	vertical-align:top;
	border: 0;
	font-size:1px;
	line-height:1px;
}
/*リンク
----------------------------------------*/
a,
a img{
	-webkit-transition:color 0.3s,opacity 0.3s,background 0.3s;
	transition:color 0.3s,opacity 0.3s,background 0.3s;
}
a:link{
	color: #8C4600;
}
a:visited{
	color: #666;
}
a:active{
	color: #97263C;
}
a:hover{
	color: #97263C;
	text-decoration:none;
}
a:hover img{
	filter: alpha(opacity=80); /* IE7以下用 */
	-ms-filter: “alpha(opacity=80)”; /* IE8用 */
	opacity:0.8; /* Firefox 1.5以上, Opera, Safari用 */
}
/*ClearFix
----------------------------------------*/
.clear:after {
	content: "";
	display: block;
	height: 0;
	visibility: hidden;
	clear: both;
}
.clear {
	/zoom:1;
} /* ie6,ie7 */

.hidden{
	display:none;
}
.block{
	display:block;
}
.inline{
	display: inline;
}


/*コンテンツボックス
----------------------------------------*/
#all {
	border:1px solid #d6d6d6;
	box-shadow: 0 0 2px 2px #d6d6d6;
	width:970px;
	margin:20px auto;
	background:#FFF;
}

/*ヘッダー
----------------------------------------*/
#header{
	border-top:4px solid #97263C;
	border-bottom:1px solid #DDD;
}

#header h1{
	margin:25px 20px;
	font-size:20px;
	width:730px;
	float:left;
}
#header h1 a {
	display:block;
	text-decoration:none;
	color:#000;
}
#header h1 a span {
	display: block;
	float:left;
}

#header h1 a span.logo{
	width:136px;
}
#header h1 a span.sitetitle{
	padding:5px 0 0 20px;
	width:574px;
}

/*----- ヘッダーリンク -----*/
#headerlink {
	float:right;
	width:200px;
	margin:0;
}
#headerlink li{
	border-left:1px solid #DDD;
	float:left;
}
#headerlink li a {
	text-decoration: none;
	color:#000;
	background-repeat:no-repeat;
	background-position:center 17px;
	background-color:#FFF;
	text-align:center;	
	padding:60px 2px 8px;
	display:block;
	width:95px;
	font-size:13px;
	line-height:13px;
}
#headerlink li a:hover{
	background-color:#FBFBFB;
}
#headerlink li#he01 a {
	background-image:url(imgs/base/he_01.png);
}
#headerlink li#he02 a {
	background-image:url(imgs/base/he_02.png);
}


/*メインコンテンツ
----------------------------------------*/
#main{
	background:url(imgs/base/bg_main.gif) repeat-y;
	position:relative;
	min-height:400px;
}
#maincontents{
	padding:20px 30px 30px 260px;
}

/*グローバルナビゲーション
----------------------------------------*/
#menu-globalnavi {
	width: 240px;
	margin:0;
	padding:0 0 10px;
	background:url(imgs/base/bg_nv.gif) no-repeat bottom left;
	position:absolute;
	top:0;
	left:-10px;
}
#menu-globalnavi li{
	display:inline;
}
#menu-globalnavi li a {
	display:block;
	border-right:4px solid #671b29;
	border-bottom:1px solid #671b29;
	font-weight:bold;
	font-size:110%;
	text-decoration: none;
	overflow: hidden;
	color:#FFF;
	background:url(imgs/base/ic_nv.gif) no-repeat 20px 0.9em #8c2338;
	padding:10px 10px 10px 43px;
	-webkit-transition: none;
	transition: none;	
}

/*----- マウスオーバー用 -----*/
#menu-globalnavi li a:hover,
#menu-globalnavi li.current-menu-item a,
#menu-globalnavi li.current-page-ancestor a,
#menu-globalnavi li.on a{
	background:url(imgs/base/ic_nv_hover.gif) no-repeat 25px 1.15em #671b29!important;
}


/*フッター
----------------------------------------*/
#footer{
	border-top:3px solid #97263c;
	padding:30px 20px;
}
#footer #footerlogo{
	font-size:18px;
	width:620px;
	margin:0;
	float:left;
}

#footer #footerlogo span {
	display: block;
	float:left;
}

#footer #footerlogo span.logo{
	width:109px;
}
#footer #footerlogo span.sitetitle{
	padding:2px 0 0 20px;
	width:490px;
	font-weight:bold;
}

#copyright{
	float:right;
	text-align:right;
	margin:0;
}

/*トップへ戻る
----------------------------------------*/
#pagetop {
	position:relative;
	width:100%;
	max-width:970px;
	height:0;
	margin:0 auto;
}
#pagetop a {
	position: fixed;
	bottom: 50px;
	left:auto;
	display: block;
	width:29px;
	height:120px;
	margin-left:970px;
	/* 以下リンク装飾 */
	font-size:1px;
	line-height:1px;
	text-indent:-9999px;
	background:url(imgs/base/bt_pagetop.gif) no-repeat;
	overflow: hidden;
}
#pagetop a:hover {
	filter: alpha(opacity=80); /* IE7以下用 */
	-ms-filter: “alpha(opacity=80)”; /* IE8用 */
	opacity: 0.8; /* Firefox 1.5以上, Opera, Safari用 */
}



/*common
----------------------------------------*/
#pannavi{
	margin:0 0 10px;
	font-size:85%;
}
#pannavi ul{
	margin:0;
}
#pannavi ul li{
	float: left;
	margin-right: 5px;
	width: auto;
}
#pannavi ul li a{
	display: block;
	width: auto;
	float: left;
}


#main h1 {
	background:url(imgs/kasou/bg_h1.gif) repeat-x bottom #fcfcfc;
	border:1px solid #eaeaea;
	color:#333;
	padding:12px 10px 12px 17px;
	font-size:145%;
	line-height:1.3em;
	margin:0 0 15px 0;
}
#main h2 {
	background:url(imgs/kasou/bg_h2.gif) repeat-x bottom;
	color:#97263b;
	padding:0 10px 10px 2px;
	font-size:130%;
	line-height:1.3em;
	margin:30px 0 15px 0;
}
#main h3 {
	background:url(imgs/kasou/bg_h3.gif) no-repeat 2px 0;
	border-bottom:1px solid #BBB;
	color:#333;
	font-size:120%;
	margin:20px 0 10px 0 ;
	line-height:1.3em;
	padding:0 10px 8px 14px;
}
#main h4 {
	background:#f3f3f3;
	color:#333;
	font-size:110%;
	line-height:1.3em;
	padding:7px 10px 5px 12px;
	margin:15px 0 10px 0;
}
#main h5 {
	background:url(imgs/kasou/bg_h5.gif) no-repeat 4px 0.3em;
	border-bottom:2px solid #CCC;
	color:#333;
	font-size:110%;
	padding:0 10px 5px 15px;
	margin:15px 0 10px 0;
}

/*----- その他基本設定 -----*/
/*表示しない*/
.hidden {
	display:none;
}
/*外部リンクアイコン*/
.icon {
	display:inline;
	vertical-align:-2px;
	margin:0 2px;
}
/*テーブル設定
--------------------------------------------------*/
table {
	margin: 10px 0;
}
table {
	border-bottom: solid 1px #C8C8C8;
	border-left: solid 1px #C8C8C8;
	border-right: none;
	border-top: none;
	border-collapse: collapse;
}
table caption {
	color: #97263c;
	font-weight: bold;
	text-align: left;
	padding: 0;
	margin-top:10px;
}
table thead th {
	background-color: #97263c;
	color: #FFF;
	font-weight: bold;
}
table th {
	padding: 5px;
	border-bottom: none;
	border-left: none;
	border-right: solid 1px #C8C8C8;
	border-top: solid 1px #C8C8C8;
	background-color: #666;
	color:#FFF;
	font-weight: bold;
}
table td {
	padding: 5px;
	border-bottom: none;
	border-left: none;
	border-right: solid 1px #C8C8C8;
	border-top: solid 1px #C8C8C8;
}


/*リスト設定
--------------------------------------------------*/
.list-f:after,
.list-two:after,
.list-three:after,
.list-four:after,
.list-fs:after,
.linklist-f:after,
.linklist-two:after,
.linklist-three:after,
.linklist-four:after,
.linklist-fs:after{
	content: ".";
	display: block;
	height: 0;
	clear: both;
	visibility: hidden;
}
.list-f,
.list-two,
.list-three,
.list-four,
.list-fs,
.linklist-f,
.linklist-two,
.linklist-three,
.linklist-four,
.linklist-fs {
	display: inline-table;
	min-height: 1%;
}
/* Hides from IE-mac \*/
* html .list-f,
* html .list-two,
* html .list-three,
* html .list-four,
* html .list-fs,
* html .linklist-f,
* html .linklist-two,
* html .linklist-three,
* html .linklist-four,
* html .linklist-fs{
	height: 1%;
}
.list-f,
.list-two,
.list-three,
.list-four,
.list-fs,
.linklist-f,
.linklist-two,
.linklist-three,
.linklist-four,
.linklist-fs {
	display: block;
}

/*---- リストアイコン基本設定 ----*/
/*リスト大*/
.list li,
.list-f li,
.list-two li,
.list-three li,
.list-four li{
	background-image: url(imgs/common/ic_list.png);
	background-repeat: no-repeat;
	background-position: 0 0.4em;
	padding: 1px 0 1px 18px;	
}
/*リスト小*/
.list-s li,
.list-fs li{
	background-image: url(imgs/common/ic_list_s.gif);
	background-repeat: no-repeat;
	background-position: 6px 0.6em;
	padding: 1px 0 1px 18px;
}

/*---通常リスト---*/
.list li {
}
/*通常リスト:横並び*/
.list-f li {
 white-space: nowrap;
 float: left;
	padding-right: 20px;
}
/*通常リスト:2カラム*/
.list-two li{
	float:left;
	width:45%;
	margin-right:1%;
}
/*通常リスト:3カラム*/
.list-three li{
	float:left;
	width:28%;
	margin-right:1%;
}
/*通常リスト:4カラム*/
.list-four li{
	float:left;
	width:21%;
	margin-right:1%;
}

/*通常リスト:小さめ*/
.list-s li {
}
/*通常リスト:横並び(小さめ)*/
.list-fs li {
	white-space: nowrap;
	float: left;
	padding-right: 20px;
}
/*入れ子にしたとき、画像が出てしまうのを防ぐ*/
.none li {
	background:none;
	padding-left:0px;
}
/*---- リンクリストアイコン基本設定 ----*/
/* リンクリスト大 */
.linklist li,
.linklist-f li,
.linklist-two li,
.linklist-three li,
.linklist-four li,
p.link {
	background-image: url(imgs/common/ic_linklist.png);
	background-repeat: no-repeat;
	background-position: 0px 0.3em;
	padding: 1px 0 1px 18px;
}
/* リンクリスト小 */
.linklist-s,
.linklist-fs{
}
.linklist-s li,
.linklist-fs li{
	background-image: url(imgs/common/ic_linklist_s.png);
	background-repeat: no-repeat;
	background-position: 6px 0.55em;
	padding: 1px 0 1px 18px;
}
/*リンクリスト：横並び*/
.linklist-f li,
.linklist-fs li {
	white-space: nowrap;
	float: left;
	padding-right: 20px;
}
/*リンクリスト：2カラム*/
.linklist-two li{
	float:left;
	width:45%;
	margin-right:1%;
}
/*リンクリスト：3カラム*/
.linklist-three li{
	float:left;
	width:28%;
	margin-right:1%;
}
/*リンクリスト：4カラム*/
.linklist-four li{
	float:left;
	width:21%;
	margin-right:1%;
}

/*テーブル内リスト設定*/
td ul {
	margin:0 0 0 0;
}

td ol {
	margin:0 0 0 30px;
}

/*---- 単体リンク ----*/
p.link {
}

/*----- カラーボックス -----*/

/*補足ボックス*/
.box01 {
	padding:15px;
	margin:20px 0;
	border:1px solid #CCC;
	background:#f5f5f5;
}
/*リンクボックス*/
.box02 {
	padding:15px;
	margin:20px 0;
	border:1px solid #ebb469;
	background:#fff8e8;
}
/*強調ボックス*/
.box03 {
	padding:15px;
	margin:20px 0;
	border:1px solid #b3d68b;
	background:#edfae4;
}
/*注意・警告ボックス*/
.box04 {
	padding:15px;
	margin:20px 0;
	border:1px solid #f17971;
	background:#fdf1f0;
}
.box01 .box-midashi,
.box02 .box-midashi,
.box03 .box-midashi{
	border:none !important;
	background:url(imgs/common/bg_box_midashi.gif) no-repeat 0 0.15em transparent !important;
	margin:0 0 10px 0 !important;
	font-size:120% !important;
	padding:0 0 0 14px !important;
	color:#333!important;
}
.box04 .box-midashi{
	border:none !important;
	background:url(imgs/common/bg_box_midashi04.gif) no-repeat 0 0.15em transparent !important;
	margin:0 0 0 0 !important;
	font-size:120% !important;
	padding:0 0 0 14px !important;
	color:#C00!important;
}


/*----- 位置設定 -----*/
/*1/2サイズ*/
.harf-l {
	float: left;
	width: 49%;
}
.harf-r {
	float: right;
	width: 49%;
}
/*1/3サイズ*/
.three-l {
	width: 32%;
	float: left;
}
.three-c {
	width: 32%;
	float: left;
	padding-left: 10px;
}
.three-r {
	width: 32%;
	float: right;
}
/*フロート左*/
.float-l {
	float:left;
	width:auto;
}
/*フロート右*/
.float-r {
	float:right;
	width:auto;
}
/*画像フロート左*/
.img-l {
	float:left;
	width:auto;
	margin:0 20px 20px 0;
}
/*フロート右*/
.img-r {
	float:right;
	width:auto;
	margin:0 0 20px 20px;
}

/*マージン
---------------------------------------*/
/*マージン設定*/
/*マージン全方向0*/
.m0 {
	margin:0 !important;
}
/*マージン全方向10*/
.m10 {
	margin:10px !important;
}
/*マージン全方向20*/
.m20 {
	margin:20px !important;
}
/*マージン全方向30*/
.m30 {
	margin:30px !important;
}
/*マージン左右0*/
.mrl0 {
	margin-right:0 !important;
	margin-left:0 !important;
}
/*マージン左右10*/
.mrl10 {
	margin-right:10px !important;
	margin-left:10px !important;
}
/*マージン左右20*/
.mrl20 {
	margin-right:20px !important;
	margin-left:20px !important;
}
/*マージン左右30*/
.mrl30 {
	margin-right:30px !important;
	margin-left:30px !important;
}
/*マージン左右 中央*/
.mrlauto {
	margin-right:auto !important;
	margin-left:auto !important;
}
/*マージン上下0*/
.mtb0 {
	margin-top:0 !important;
	margin-bottom:0 !important;
}
/*マージン上下10*/
.mtb10 {
	margin-top:10px !important;
	margin-bottom:10px !important;
}
/*マージン上下20*/
.mtb20 {
	margin-top:20px !important;
	margin-bottom:20px !important;
}
/*マージン上下30*/
.mtb30 {
	margin-top:30px !important;
	margin-bottom:30px !important;
}
/*マージン上0*/
.mt0 {
	margin-top:0 !important;
}
/*マージン上5*/
.mt5 {
	margin-top:5px !important;
}
/*マージン上10*/
.mt10 {
	margin-top:10px !important;
}
/*マージン上15*/
.mt15 {
	margin-top:15px !important;
}
/*マージン上20*/
.mt20 {
	margin-top:20px !important;
}
/*マージン上30*/
.mt30 {
	margin-top:30px !important;
}
/*マージン上40*/
.mt40 {
	margin-top:40px !important;
}
/*マージン下0*/
.mb0 {
	margin-bottom:0 !important;
}
/*マージン下5*/
.mb5 {
	margin-bottom:5px !important;
}
/*マージン下10*/
.mb10 {
	margin-bottom:10px !important;
}
/*マージン下20*/
.mb20 {
	margin-bottom:20px !important;
}
/*マージン下30*/
.mb30 {
	margin-bottom:30px !important;
}
/*マージン左0*/
.ml0 {
	margin-left:0 !important;
}
/*マージン左10*/
.ml10 {
	margin-left:10px !important;
}
/*マージン左20*/
.ml20 {
	margin-left:20px !important;
}
/*マージン左30*/
.ml30 {
	margin-left:30px !important;
}
/*マージン右0*/
.mr0 {
	margin-right:0 !important;
}
/*マージン右10*/
.mr10 {
	margin-right:10px !important;
}
/*マージン右20*/
.mr20 {
	margin-right:20px !important;
}
/*マージン右30*/
.mr30 {
	margin-right:30px !important;
}

/*インデント幅*/
/*1em*/
ul.indent-1 li, p.indent-1 {
	text-indent: -1em;
	margin-left: 1em;
}
/*1.1em*/
ul.indent-1-1 li, p.indent-1-1 {
	text-indent: -1.1em;
	margin-left: 1.1em;
}
/*1.2em*/
ul.indent-1-2 li, p.indent-1-2 {
	text-indent: -1.2em;
	margin-left: 1.2em;
}
/*1.3em*/
ul.indent-1-3 li, p.indent-1-3 {
	text-indent: -1.3em;
	margin-left: 1.3em;
}
/*1.4em*/
ul.indent-1-4 li, p.indent-1-4 {
	text-indent: -1.4em;
	margin-left: 1.4em;
}
/*1.5em*/
ul.indent-1-5 li, p.indent-1-5 {
	text-indent: -1.5em;
	margin-left: 1.5em;
}
/*1.6em*/
ul.indent-1-6 li, p.indent-1-6 {
	text-indent: -1.6em;
	margin-left: 1.6em;
}
/*1.7em*/
ul.indent-1-7 li, p.indent-1-7 {
	text-indent: -1.7em;
	margin-left: 1.7em;
}
/*1.8em*/
ul.indent-1-8 li, p.indent-1-8 {
	text-indent: -1.8em;
	margin-left: 1.8em;
}
/*1.9em*/
ul.indent-1-9 li, p.indent-1-9 {
	text-indent: -1.9em;
	margin-left: 1.9em;
}
/*2em*/
ul.indent-2 li, p.indent-2 {
	text-indent: -2em;
	margin-left: 2em;
}

/*ライン*/
/*ブロック要素の下にラインがつく*/
.li1 {
	border-bottom:2px solid #099;
}

/*テキスト位置設定
--------------------------------------------------*/
.text-center {
	text-align:center;
}
.text-right {
	text-align:right;
}
.text-left {
	text-align:left;
}
.text-middle {
	vertical-align:middle;
}
.text-top {
	vertical-align:top;
}
.text-bottom {
	vertical-align:bottom;
}
/*テキスト設定
--------------------------------------------------*/
/*---- 強調見出し ----*/
p.midashi {
	font-size:130%;
}
p.midashi strong {
	color: #d96d00;
}


/*トップページ用
----------------------------------------*/
/*ニュース&トピックス*/
#news{
	margin:40px 0 0;
	position:relative;
}

#news h2{
	font-size:120%;
	color:#97263c;
	background:url(imgs/top/bg_news.gif) no-repeat left bottom;
	padding:0 1px 20px;
	margin:0;
}
#news p#ichiran,
#news p#rss{
	margin:0;
	position:absolute;
}
#news p#ichiran{
	top:0;
	right:80px;
}
#news p#rss{
	top:0;
	right:1px;
}
#news p#ichiran a,
#news p#rss a{
	display:block;
	background-color:#97263c;
	font-size:85%;
	color:#FFF;

	text-decoration:none;
}
#news p#ichiran a{
	padding:2px 10px;
}
#news p#rss a{
	padding:2px 10px 2px 30px;
	background-image:url(imgs/top/ic_rss.png);
	background-repeat:no-repeat;
	background-position:7px 6px;
}
#news p#ichiran a:hover,
#news p#rss a:hover{
	background-color:#671b29;
}

/*記事リスト
----------------------------------------*/
.archive dl:after {
	content: "";
	display: block;
	height: 0;
	visibility: hidden;
	clear: both;
}
.archive dl{
	/zoom:1;
} /* ie6,ie7 */

.archive dl{
	clear:both;
	padding:10px 0;
	border-bottom:1px solid #DDD;
}
.archive dl dt{
	float:left;
	width:130px;
	margin-right:10px;
}
.archive dl dd{
	float:left;
	width:540px;
}

/*個別記事用
----------------------------------------*/
.content-wrap{
	min-height:250px;
}
.entry-meta{
	text-align:right;
	font-size:85%;
	margin-bottom:20px;
}

/*ページャー*/
.navigation{
	margin:30px 0 0;
}
.nav-previous{
	float:left;
	width:49%;
}
.nav-next{
	float:right;
	width:49%;
	text-align:right;
}

/*イベント用
----------------------------------------*/
.event-box{
	border:2px solid #333;
	margin:0 5px 20px;
	background: #FBFBFB;
}
.event-box h2.post-title{
	background:#333!important;
	color:#FFF!important;
	margin:0!important;
	padding:15px!important;
}
.post-date{
	margin:10px 15px 0;
	font-size:85%;
	text-align:right;
}
.post-conts{
	padding:10px 15px;
}

/*ページャー*/
.wp-pagenavi {
	clear: both;
	margin:30px 0 0;
}

.wp-pagenavi a,
.wp-pagenavi span {
	text-decoration: none;
	border: 1px solid #C8C8C8;
	padding: 3px 8px;
	margin: 3px;
}

.wp-pagenavi a:hover,
.wp-pagenavi span.current {
	border-color: #B0B0B0;
	background: #F3F3F3;
}

.wp-pagenavi span.current {
	font-weight: bold;
	color:#FFF;
	background: #97263c;
}

/* Responsive images */
.entry-content img,
.comment-content img,
.widget img {
	max-width: 100%; /* Fluid images for posts, comments, and widgets */
}
img[class*="align"],
img[class*="wp-image-"],
img[class*="attachment-"] {
	height: auto; /* Make sure images with WordPress-added height and width attributes are scaled correctly */
}
img.size-full,
img.size-large,
img.header-image,
img.wp-post-image {
	max-width: 100%;
	height: auto; /* Make sure images with WordPress-added height and width attributes are scaled correctly */
}

/* Make sure videos and embeds fit their containers */
embed,
iframe,
object,
video {
	max-width: 100%;
}
.entry-content .twitter-tweet-rendered {
	max-width: 100% !important; /* Override the Twitter embed fixed width */
}

/* Images */
.alignleft {
	float: left;
}
.alignright {
	float: right;
}
.aligncenter {
	display: block;
	margin-left: auto;
	margin-right: auto;
}
