@charset "utf-8";
/*全端末（PC・タブレット・スマホ）共通設定
------------------------------------------------------------------------------------------------------------------------------------------------------*/

/*全体の設定
---------------------------------------------------------------------------*/
body {
	padding: 0px;
	color: #333;
	font-family: "メイリオ", Meiryo, "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", Osaka, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
	font-size: 14px;
	line-height: 180%;
	background: #a28c8d url(../images/bg.jpg) no-repeat; /*背景画像*/
	background-position: center top;
	background-attachment: fixed;
	-webkit-text-size-adjust: none;
	max-width: 1400px;
	margin: 0 auto;

}
h1, h2, h3, h4, h5, {
  margin: 0px;
  padding: 0px;
  font-size: 100%;
  font-weight: normal;
}
ul {
	margin: 1em 0;
}
ol {
	padding-left: 40px;
	padding-bottom: 15px;
}
img {
	border: none;
	max-width: 100%;
	height: auto;
	vertical-align: middle;
}
iframe {
	width: 100%;
}
/*コンテンツ全体
---------------------------------------------------------------------------*/
#container {
}
/*リンク（全般）設定
---------------------------------------------------------------------------*/
a {
	color: #001888;
	-webkit-transition: 0.5s;
	transition: 0.5s;
}
a:hover {
	color: #B40003;	
	text-decoration: none;
}
/*inner共通
---------------------------------------------------------------------------*/
.inner {
	overflow: auto;
	max-width: 1400px;
	margin: 0 auto;
	padding: 0 3%;
}
.inner1 {
/*	height: 45px;*/
	clear: both;
	max-width: 1400px;
	margin: 0 auto;
	padding: 0 5%;
	background: rgba(0,0,0,0.7);
}
/*ヘッダー（タイトルが入った最上段のブロック）
---------------------------------------------------------------------------*/
/*ヘッダーブロック*/
#hmarea {
	width: 100%;
	height: 150px;
}
header {
	padding: 0 5% 0 5%;
}
header .inner {
	height: 100px;	/*高さ*/
}
header p {
	float: left;
	display: block;
}
header p.subtitle { /* サブタイトル　「玉川大学工学部　デザインサイエンス学科　知能機械研究室」*/
	color: #fff; /*　文字の色 */
	margin-top: 20px; /* 上部空きスペース */
	font-size: 12px; /* フォントサイズ */
	line-height: 12px; /* 行間 */
}
header img {
	margin-top: 5px;
	float: left;
}
.htitle {
	margin-left: 10px;
	float: left;
}
header p.maintitle { /* メインタイトル　「玉川大学工学部　デザインサイエンス学科　知能機械研究室」*/
	margin-top: 10px; /* 上部空きスペース */
	color: #fff; /*　文字の色 */
	clear: both; /* 改行用 */
	font-size: 36px; /* フォントサイズ */
	margin-bottom: 15px; /* 下部空きスペース */
	letter-spacing: 8px; /* 行間 */
	font-weight: bold; /* フォントの太さ */
	text-shadow: 0px 1px #333; /* 影付き */
}
header img {
	float: left;
}
header a {
	color: #fff;
	text-decoration: none;
}

/*breadclumbs
---------------------------------------------------------------------------*/
#breadclumbs {
	color: #fff;
	font-size: 11px;
}
#breadclumbs a {
	color: #fff;
	text-decoration: none;
}
#breadclumbs a:hover {
	color: #ff0;
	text-decoration: none;
}

/*メインメニュー
---------------------------------------------------------------------------*/
/*メニューブロック*/
#menubar {
	clear: both;
	margin-top: 5px;
	padding: 0 5%;
	margin-bottom: 1em;
	position: relative;
	z-index: 999;
	transform: translate3d(0, 0, 0);
}

/*メニュー位置固定用*/
.fixed {
	position: fixed;
	top: 0;
	width: 100%;
	max-width: 1400px;
	margin: auto;
	z-index: 10000;
	overflow: scroll-y;
	background: url(../images/bg.jpg) no-repeat; /*背景画像*/
	background-position: center top;
	background-attachment: fixed;
}
/*トップページスライドショー
---------------------------------------------------------------------------*/
#mainimg {
	clear: both;
	padding: 0 5%;
	margin: 0 auto 1.5em auto;
}
#mainimg img {
	/*max-width:800px;*/
	margin: 0 auto;
}

/* 下層部title
---------------------------------------------------------------------------*/
#title {
	position: relative;
	clear: both;
	padding: 0 5%;
	margin: 0 auto ;
	height: 70px;
	z-index: -1;
	
}
#titleBg {
	width: 100%;
	height: 100%;
	background: linear-gradient(rgba(255, 255, 255, .5), rgba(220, 220, 220, .5));
	box-shadow: 2px 2px 6px rgba(0,0,0,0.2);
	border-radius: 3px;
}
#title h1 {
	float: right;
	color: #fff;
	font-size: 26px;
	margin-right: 20px;
	margin-top: 35px;
	text-shadow: 0 0 5px #333;
	font-weight: bold;
	letter-spacing: 3px;
	opacity: 1.0;
}
#title h1 span {
	font-size: 12px;
}
#breadclumbs {
	clear: both;
	padding: 0 5%;
	margin-bottom: 1em;
}

/*コンテンツ（mainとsubを囲むブロック）
---------------------------------------------------------------------------*/
#main {
	clear: both;
	overflow: hidden;
	padding: 0 5%;
	margin: 0 0 20px 0;
}
#contents {
	margin-top: 0;
	width: 100%;
	padding: 0;
	float: left;
	min-height: 400px;
}
#carea {
	background-color:rgba(255,255,255,0.9);
	padding: 1em 1.5em;
	border-radius: 4px	
}


/*コンテンツのh1タグの設定
---------------------------------------------------------------------------*/
#contents h1 {
	claer: both;
}
#contents h1 {
	margin-top: 0;
	clear: both;
	font-size: 20px;
	line-height: 1.2;
	padding: 8px 15px 5px 15px;
background: #ffffff; /* Old browsers */
background: -moz-linear-gradient(top,  #ffffff 0%, #cccccc 26%, #fcfcfc 100%); /* FF3.6-15 */
background: -webkit-linear-gradient(top,  #ffffff 0%,#cccccc 26%,#fcfcfc 100%); /* Chrome10-25,Safari5.1-6 */
background: linear-gradient(to bottom,  #ffffff 0%,#cccccc 26%,#fcfcfc 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
	border-top: 1px solid #dcdcdc;
	border-right: 1px solid #ddd;
	box-shadow: 0px 1px 3px rgba(0,0,0,0.15);
	text-shadow: 0px 1px #fff;
	color: #ce1765;
	border-radius: 3px;
}

/*コンテンツのh1タグ内のspanタグ設定（色付き文字部分）*/
#contents h1 span {
	display: block;
	color: #444;
	font-size: 11px;
	letter-spacing: 0.05em;
	padding-left: 3px;
}

/*コンテンツのh2タグの設定
---------------------------------------------------------------------------*/
#contents h2 {
	clear: both;
	margin-bottom: 20px;
	padding: 5px 20px 3px 20px;
	background: #e57144;
	border-radius: 3px;
	color: #fff;
}

/*コンテンツのh3タグの設定
---------------------------------------------------------------------------*/
#contents h3 {
	clear: both;
	margin-bottom: 20px;
	padding: 2px 20px;
	background: #e36574;
	display: inline-block;
	border-radius: 8px;
	color: #fff;
}
/*コンテンツの段落タグ設定
---------------------------------------------------------------------------*/
#contents p {
	padding: 0  0.5em 1em 0.5em;
}
#contents h3 + p, #contents h4 + p {
	margin-top: -10px;
}
/*テーブルの設定
---------------------------------------------------------------------------*/
#contents table {
	margin-bottom: 1.5em;
}
#contents td {
	padding: 2px 5px;
}
#contents td p {
	margin: 0;
	padding: 0;
}
/*1カラム時のメインコンテンツ
---------------------------------------------------------------------------*/
#contents.c1 #contents {
	float: none;
	width: auto;
}
#contents ol {
	margin-top: 0!important;
	margin-bottom: 0!important;
}
/*コラム設定
---------------------------------------------------------------------------*/
.fcolumn {
	float: left;
	margin-right: 1%;
	background: #555;
	min-height: 120px;
	box-sizing: border-box;

}
.fcolumn h2 {
	position: absolute;
	bottom: 0!important;
	margin-bottom: 0!important;
	margin-top: 0;
	margin-right: auto;
	margin-left: auto;
	font-size: 12px;
	line-height: 1.4;
	padding: 6px 14px!important;
	background: linear-gradient(rgba(20,20,20,0.8), rgba(40,40,40,0.8))!important;
	border-bottom: none;
	text-shadow: none !important;
	color: #fff !important;
	border-radius: none !important;
}

/*2カラム設定
---------------------------------------------------------------------------*/
.tcolumn {
	margin-top: 1em;
	float: left;
	width: 48%;
	margin-bottom: 1em;
	margin-right: 1%;
	min-height: 220px;
	background: #eee;
	padding-bottom: 1em;
}
.m0 {
	float: right;
}
.tcolumn h1 {
	clear: both;
	font-size: 14px;
	line-height: 1.4;
	margin-bottom: 10px!important;
	padding: 6px 14px;
	background: linear-gradient(#999, #777);
	border-bottom: 4px solid #003d88;
	text-shadow: none;
	color: #ff0;
	border-radius: none;
}
/*コンテンツのh1タグ内のspanタグ設定（色付き文字部分）*/
.tcolumn h1 span {
	display: block;
	color: #ddd;
	font-size: 11px;
	letter-spacing: 0.05em;
	padding-left: 3px;
}

.tcolumn h2 {
	margin-top: 0;
	clear: both;
	font-size: 12px;
	line-height: 1.4;
	margin-bottom: 10px;
	padding: 6px 14px!important;
	background: linear-gradient(rgba(20,20,20,0.8), rgba(40,40,40,0.8))!important;
	border-bottom: none;
	text-shadow: none !important;
	color: #fff !important;
	border-radius: none !important;	/*角丸のサイズ*/
}
.tcolumn table td {
	font-size: 12px;
	line-height: 18px!important;
	padding: 3px 5px!important;
}

/*トップ研究室紹介
---------------------------------------------------------------------------*/
#toplab  {
	background: rgba(255, 10, 10, 0.2);
	padding: 1em;
	border-radius: 3px;
	font-size: 16px;
	color:#fff;
	border:1px solid #999;
	margin-bottom: 1em;

}
/*新着情報
---------------------------------------------------------------------------*/
#yTube , #whatsnewCon {
	padding: 1em;
	margin: 0;
	min-height: 370px;
	overflow: auto;
	background: rgba(255, 255, 255, 0.8);
}
#whatsnewCon {
    max-height: 400px;

}
#yTube {
	height: auto;
}
#yt {
	width: 40%;
    float: right
}
#wn {
/*	width: 58%;
*/	width: 100%;
    float: left;
}

#yt h1, #wn h1  {
    margin-bottom:8px!important;
}
/*下層部ページの戻る設定
---------------------------------------------------------------------------*/
.under {
	clear: both;
	margin-top: 1em;
	margin-right: 1em;
	height: 20px;
	text-align: right;
	margin-bottom: 0.5em;
}
.backarrow  {
	display: inline-block;
	width: 20px; height: 20px;
	border-radius: 50%;
	background: #ce1765;
	color: #fff;
	text-align:center;
	line-height: 20px;
	font-weight: bold;
	font-size:11px;
}
.back a {
	padding: 0px 0px 2px 5px;
	font-size: 12px;
}
.back a {
	color: #333333;
	text-decoration: none;
}
.back a:hover {
	color: #bb0000;
}
.back a:hover {
	color: #bb0000;
}
/*フッター設定
---------------------------------------------------------------------------*/
footer {
	clear: both;
	background: #905f5b;
	color: #fff;
	font-size: 85%;
}
footer a {
	color: #fff;
}
footer a:hover {
	color: #fff;
}
footer .pr {
	display: block;
	font-size: 80%;
}
/*フッターメニュー
---------------------------------------------------------------------------*/
/*ボックス全体*/
#footermenu {
	overflow: hidden;
	padding: 20px 5%;
}
/*１行分の設定*/

#footermenu .honly {
	display: none;
}
#footermenu ul {
	list-style: none;
	padding: 0;
}
#footermenu ul li {
	padding: 0;
	float: left;
	width: 17%;	 
	line-height: 17px;
	font-weight: bold;
	margin-right: 2em;
}
#footermenu ul li a {
	margin-bottom: 5px!important;
	text-decoration: none;
	color: #ffff00;
	font-size: 12px;
	border-bottom: 1px solid #aaa;
	display: block;
	margin-bottom: 0;
}
#footermenu ul li a:hover {
	color: #ffff00!important;
}
#footermenu ul li a span {
	font-size: 9px;
}
#footermenu ul li ul li {
	text-align: left;
	clear: both;
	width: 100%;
	font-weight: normal;
	font-size: 11px;
	line-height: 16px;
}
#footermenu ul li ul li:last-child {
	margin-bottom: 10px!important;
}
#footermenu ul li ul li a {
	border-bottom: none!important;
	color: #ffffff!important;
	font-size: 11px!important;
}
#footermenu ul li ul li a:hover {
	color: #ffff00!important;
}
#footermenu ul li ul li ul li {
	text-align: left;
	clear: both;
	width: 100%;
	font-weight: normal;
}
#footermenu ul li ul li ul li a {
	margin-bottom: 0!important;
	color: #ffffff!important;
	padding-left: 1em;
	font-size: 11px!important;
}
#footermenu ul li ul li ul li a:hover {
	color: #ffff00!important;
}
/*コピーライト
---------------------------------------------------------------------------*/
#copyright {
	padding: 5px 5%;
	clear: both;
/*	background: #333;*/
background: #555;
}
#copyright a {
	text-decoration: none;
}
#copyright p.ftitle {
	line-height: 22px;
	font-size: 18px;
}
#copyright p.ftitle span {
	font-size: 12px;
}
#copyright p {
	font-size: 12px;
}
#copyright a {
	text-decoration: underline;
}
#copyright p.ftitle a {
	text-decoration: none;
}

/*PAGE TOP設定
---------------------------------------------------------------------------*/
#pagetop {
	position: fixed;
	bottom: 10px;
	right: 10px;
}
#pagetop {
	clear: both;
}
#pagetop a {
	color: #fff;
	font-size: 20px;
	background: linear-gradient(#ce1765, #a00849);
	text-decoration: none;
	text-align: center;
	display: block;
	float: right;
	width: 40px;
	height: 40px;
	line-height: 34px;
	border-radius: 50%;
	border: 3px solid #fff;
	box-shadow: 0px 5px 15px rgba(0,0,0,0.2);
	margin-bottom: 20px;
	opacity: 0.7;
}
/*マウスオン時*/
#pagetop a:hover {
	background: #fff;
	color: #0b6759;
	border: 3px solid #ce1765;
}
/*トップページのNEWアイコン
---------------------------------------------------------------------------*/
.newicon {
	background: #F00;
	color: #FFF;
	font-size: 70%;
	line-height: 1.5;
	padding: 2px 5px;
	border-radius: 2px;
	margin: 0px 5px;
	vertical-align: text-top;
}

/*ヘッダをfixにしたときに内部リンクにずれが生じるための対策*/
:target:before {
	content: "";
	display: block;
	height: 260px;
	margin: -260px 0 0;
}

/*その他
---------------------------------------------------------------------------*/
.clear {
	clear: both;
}
ul.disc {
	padding: 0em 25px 15px;
	list-style: disc;
}

/* tableのline */
td.line, th.line {
	border-bottom: 1px dotted #666666;
}
td.uline, th.uline {
	border-bottom: 1px dotted #666666;
	border-top: 1px dotted #666666;
}
td.tline, th.tline {
	border-top: 1px dotted #666666;
}
table.line td {
	border-bottom: 1px dotted #666666;
}
table.line tr:first-child td {
	border-top: 1px dotted #666666;
}
td.date {
	color: #bd0000;
}

/* 赤い文字 */
.red {
	color: #CC3300;
}
.button {
	background: #CC3300;
	padding: 2px 11px 0 11px;
	color: #fff !important;
	text-decoration: none;
	border-radius: 30px;
	box-shadow: inset 0 1px 0 rgba(255,255,255,0.2);
	text-shadow: 0 1px 0 rgba(0,0,0,0.2);
}
p.box  {
	padding: 1em 2em!important;
	border: 1px dashed #999;
	border-radius: 3px;
}

.large  {
	font-size:large;
}
video {
	width: 100%;
}

.baward, .bnews {
	padding: 1px 10px;
	margin: 2px 0!important;
	height: 18px;
	color: #fff !important;
	border-radius: 3px;
	text-shadow: 0 1px 0 rgba(0,0,0,0.4);
	font-size:11px;
	white-space: nowrap;
}
a.baward, a.bnews {
	color: #fff !important;
	text-decoration: none;
}
.baward  {
	background: #E80003;
}

.bnews  {
	background: #DC6600;
}


/*画面幅959px以下の設定 （スマホ用）
---------------------------------------------------------------------------*/
@media only screen and (max-width: 959px) {
/*inner共通
---------------------------------------------------------------------------*/
.inner {
	width: auto;
}
.inner1 {
	width: auto;
}
/*ヘッダー（ロゴが入った最上段のブロック）
---------------------------------------------------------------------------*/
/*ヘッダーブロック*/
#hmarea {
	width: 100%;
	height: 60px;
	background-size: 100% 100% !important;
}
header {
}
header #lang {
	margin-right: 50px;
}
header {
	clear: both;
	width: 100%;
}

.htitle {
	margin-left: 2px;
	float: left;
}
header p.maintitle { /* メインタイトル　「玉川大学工学部　デザインサイエンス学科　知能機械研究室」*/
	font-size: 20px;
	line-height: 12px;
	margin-top: 0;
	letter-spacing: 0;
}
header p.subtitle { /* サブタイトル　「玉川大学工学部　デザインサイエンス学科　知能機械研究室」*/
	margin-top: 8px;
	font-size: 11px;
	line-height: 12px;
	letter-spacing: 0;
}
header img {
	float: left;
}
header p.subtitle span {
	display: none;
}

#menubar {
	clear: right;
	float: none;
	margin-top:0 !important;
	margin-bottom: 0;
	width: 100%;
}
#eventsCon {
	height: auto;
}
#yTube , #whatsnewCon {
	min-height: 120px;
}

#yt {
    margin-top: 1.5em;
	width: 100%;
}
#wn {
	width: 100%;
}

/*contents,subコンテンツ
---------------------------------------------------------------------------*/
#contents {
	float: none;
	width: auto;
	min-height: 100px!important;
}

/*ページタイトル
---------------------------------------------------------------------------*/
#title {
	position: relative;
	clear: both;
	padding: 0 5%;
	margin: 0 auto ;
	height: 50px;
	z-index: -1;
	
}
#titleBg {
	width: 100%;
	height: 100%;
	background: linear-gradient(rgba(255, 255, 255, .5), rgba(220, 220, 220, .5));
	box-shadow: 2px 2px 6px rgba(0,0,0,0.2);
	border-radius: 3px;
}
#title h1 {
	float: right;
	color: #fff;
	font-size: 24px;
	margin-right: 20px;
	margin-top: 20px;
	text-shadow: 0 0 5px #333;
	font-weight: bold;
	letter-spacing: 3px;
	opacity: 0.8;

}
#title h1 span {
	font-size: 12px;
}

/*2カラム表示設定
---------------------------------------------------------------------------*/
.tcolumn {
	float: left;
	width: 100%;
}
.tcolumn {
	min-height: 200px;
}

/*その他
---------------------------------------------------------------------------*/
body.s-n .sub, body.s-n #footermenu, .m-n {
	display: none;
}
.fl-half {
	float: left;
	width: 45%;
	margin-left: 3%;
}
#lang {
	display: none;
}

/*フッターメニュー
---------------------------------------------------------------------------*/
/*ボックス全体*/
#footermenu {
	display: none;
}
/*コピーライト
---------------------------------------------------------------------------*/
#copyright {
	padding: 5px 2em;
}
#copyright p.ftitle {
	font-size: 12px;
}

/*全体の設定
---------------------------------------------------------------------------*/
body {
	font-size: 12px;
}
/*トップページメイン画像
---------------------------------------------------------------------------*/
#mainimg {
	box-shadow: none;
}

/*コンテンツ設定
---------------------------------------------------------------------------*/

/*コンテンツ
---------------------------------------------------------------------------*/
#contents {
}
/*コンテンツのh1タグの設定*/
#contents h1 {
	font-size: 16px;
	padding: 5px 10px;
	font-family: "メイリオ", Meiryo, "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", Osaka, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
	font-weight: normal;
}
/*コンテンツのh2タグの設定*/
#contents h2 {
	padding: 2px 10px;
}
/*コンテンツの段落タグ設定*/
#contents p {
}
/*その他
---------------------------------------------------------------------------*/
.fcolumn h1 {
	font-size: 12px !important;
}
.fcolumn {
	float: left;
	width: 48%;
	margin-right: 2%;
	min-height: 120px;
	margin-bottom: 1em;
	border-radius: 4px;
}
.fixed {

	position: fixed;
	top: 0;
	width: 100%;
	z-index: 10000;
	overflow: scroll-y;/*	background: #ffffff;*/

}
/*ヘッダをfixにしたときに内部リンクにずれが生じるための対策*/
:target:before {
	content: "";
	display: block;
	height: 140px;/* ヘッダの高さ = 260px */
	margin: -140px 0 0;/* ヘッダの高さ = 260px */
}
}

