﻿@charset "UTF-8";

/*================================================
 *  CSSリセット
 ================================================*/
html,body,div,span,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,abbr,address,cite,code,del,dfn,em,img,ins,kbd,q,samp,small,strong,sub,sup,var,b,i,dl,dt,dd,ol,ul,li,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td,article,aside,canvas,details,figcaption,figure,footer,header,hgroup,main,menu,nav,section,summary,time,mark,audio,video{margin:0;padding:0;border:0;outline:0;font-size:100%;vertical-align:baseline;background:transparent;font-weight:normal;}body{line-height:1}article,aside,details,figcaption,figure,footer,header,hgroup,menu,nav,section{display:block}ul{list-style:none}blockquote,q{quotes:none}blockquote:before,blockquote:after,q:before,q:after{content:none}a{margin:0;padding:0;font-size:100%;vertical-align:baseline;background:transparent}del{text-decoration:line-through}abbr[title],dfn[title]{border-bottom:1px dotted;cursor:help}table{border-collapse:collapse;border-spacing:0}hr{display:block;height:1px;border:0;border-top:1px solid #ccc;margin:1em 0;padding:0}input,select{vertical-align:middle}

/*================================================
 *  一般・共通設定
 ================================================*/
body {
    width:800px;
    margin:0 auto;
		background:#e2e2e2;
		border: 1px solid #c0c0c0;
    font-size:14px;
    color:#382400;
    font-family:"メイリオ",Meiryo,"ヒラギノ角ゴ Pro W3","Hiragino Kaku Gothic Pro",Osaka,"ＭＳ Ｐゴシック","MS PGothic",sans-serif;
    line-height:1.6;
}

#main {
		background: #ffffff;
    float:left;
    width:75%;	/*600px*/
}

#sub {
		background: #ffffff;
    float:right;
    width:25%;	/*200px*/
}

#subnav {
    display:none;
}

section {
		background:#f5f5f5;
    display: block;
		margin:8px 8px 8px 8px;
 		padding: 8px 8px 8px 8px;
		border: 1px solid #c0c0c0;
}

a {
    color:#082d89;
}
a:hover {
    background:#289de1;
}

h1 {
		background: #ffffff;
    color:#082d89;
    font-size:28px;
    line-height:1;
		font-family: "ＭＳ Ｐゴシック",sans-serif;
}
h1 a {
    color:#082d89;
    text-decoration:none;
		background: #ffffff;
}
h1 a:hover {
    color:#85d1c6;
}

h2 {
    margin-top:5px;
    margin-bottom:0.5em;
    font-size:18px;
    color:#082d89;
    border-bottom:3px solid #f80;
}

h3 {
    margin-bottom:0.25em;
    padding:2px 5px;
    color:#fff;
    font-size:16px;
    background:#c88d8b;
}

h4 {
    margin-bottom:0.25em;
    font-size:16px;
    color:#382400;
}
h4:before {
    content:"\002665";
    color:#9b2f3d;
}

h5 {
    margin-bottom:0.25em;
    padding:2px;
    color:#382400;
    font-size:16px;
    border-top:1px dotted #382400;
    border-bottom:1px dotted #382400;
    background:#b7af9c;
}

h6 {
    margin-bottom:0.25em;
    color:#382400;
    font-size:14px;
    font-weight:bold;
}

p {
    margin:0 0 1em 0;
}

img {
    vertical-align:bottom;
}

span {
	font-weight:900;	/*bolder*/
}
/*=======================/
iframe
/=======================*/
#INFO{
	display:block;
	margin:0 auto;
	width:95%;
	height:200px;
	border: 2px #289de1 solid;
}

#map{
	display:block;
	margin:0 auto;
	width:95%;
	height:500px;
	border: 2px #289de1 solid;
}
/***********************/
em {
    font-weight:bold;
}

strong {
    font-weight:bold;
    color:#fff;
}

pre {
    margin:1em 0;
    padding:1em;
}

blockquote {
    margin-bottom:1em;
    padding:1em;
    border:1px dotted #ddd;
    border-left:5px solid #ddd;
}
/**********************************************/

/*==================================================/
	応募の入力範囲の幅
/==================================================*/

#team {
	width:90%;
}

#representative {
	width:90%;
}

#robotname {
	width:90%;
}

#schoolname {
	width:90%;
}

#email {
	width:90%;
}

#tel  {
	width:90%;
}
/******************************************************/

/*==================================================/
	問い合わせの入力範囲の幅
/==================================================*/
#subject {
	width:90%;
}

#from {
	width:90%;
}

#message {
	width:90%;
}
/******************************************************/
/*form_CSS*/
form#smpl46 fieldset {
	border:dotted 2px #289de1;
	margin:8px 8px 8px 8px;
	padding:8px;
	margin-bottom:1em;
}
form#smpl46 fieldset legend {
	font-size: 12px;
	font-weight: bold;
	color: #000;
}

/*P_CSS*/
form#smpl46 p {
	margin:0px;
	padding:10px;
	border-bottom: 2px solid #fff;
	font-size: 12px;
	background: #082d89;	/*入力フォームの背景色*/
	/*background-gradient*/
	background: -moz-linear-gradient(top, /*#FFF*/, #FFFFFF);
	background: -webkit-linear-gradient(top, /*#FFF*/, #FFFFFF);
	background: linear-gradient(/*#FFF*/, #FFFFFF);
}
form#smpl46 p span {
	display: inline-block;
	color: #fff;
	/*IE用スターハック*/
    *display: inline;
    *zoom: 1;
	width: 90%;
	text-align: left;
	padding-right:1em;
	margin:0px;
}
form#smpl46 p span sup {
	color: #c00;
}
form#smpl46 p input, select, textarea, button {
	padding:3px 5px;
	margin:0px;
	color:#666;
	border:none;
	/*テキストエリア内にシャドウをつける。最初にbackground初期化が必要*/
    background: #fff;
	-webkit-box-shadow: 2px 3px 5px -2px #CCC inset;
	-moz-box-shadow: 2px 3px 5px -2px #CCC inset;
	box-shadow: 2px 3px 5px -2px #CCC inset;
	/*角丸にする*/
	border-radius:9px;
	-webkit-border-radius:9px;
	-moz-border-radius:9px;
}
form#smpl46 p label {
	margin-right:1em;
}
form#smpl46 p label input {
	margin-right:0.5em;
}
form#smpl46 p textarea {
	color:#666;
	font-size:12px;
	font-weight:normal;
}
/***********************************************/


/********************************/
/* clearfix */

.clearfix:after{
	.content:".";
	display:block;
	height:0;
	clear:both;
	visiblity:hidden;
}

.clearfix{display:inline-block;}
*.html.clearfix{height:1%}
.clearfix{display:block;}

/******************************/
ul,ol,dl {
    margin:0 0 1em 0;
}
ul li {
    list-style: none;
}
ol li {
    list-style:decimal;
}
li {
    margin-left:2em;
}

dt {
    margin-bottom:0.5em;
    border-bottom:1px dotted #ddd;
}
dt:before {
    content:"\0025a0";
}
dd {
    margin-bottom:1em;
}

table {
    width:100%;
    margin-bottom:1em;
    border-collapse:collapse;
    border:2px solid #333;
}
th {
    padding:10px;
    text-align:center;
    vertical-align:middle;
    border:2px solid #333;
    background:#eebfb9;
}
td {
    padding:10px;
    text-align:left;
    border:2px solid #333;
}

/*================================================
 *  ヘッダー
 ================================================*/
header {
		background-color: #ffffff;
    vertical-align:middle;
		padding: 15px 15px 5px 15px;
    position:relative;
    margin: 0;
}
header h1 {
    margin-bottom:10px;
}

.lang {
    position:absolute;
    top:10px;
    right:10px;
    vertical-align:middle;
}
.lang span {
    color:#705c0b;
    font-family:Century, "MS 明朝","Hiragino Mincho Pro W3","ヒラギノ明朝 Pro W3",serif;
    font-size:15px;
    font-weight:bold;
    vertical-align:middle;
}

#kiyaku {
	padding-left:40px;
	font-size:20px;
	color:red;
}
/*================================================
 *  グローバルナビゲーション
 ================================================*/
nav {
  display:block;
  margin: 0px;
  height: 40px;
  padding: 0px;
  border: 1px solid #082d89;
  position: relative;
  background: #082d89;
  font-size: 13px;
	z-index:2;
}

nav ul li {
	display: red;
  position: relative;
	margin:0;
	padding:0;
  float: left;
  list-style-type: none;
  margin-left:0em;
	width:114px;
	text-align:center;
	line-height:25px;
}
/*メニュの幅　padding: 上px 左px 下px 右px;*/
  nav ul li a {
	display: block;
	padding: 8px 5px 8px 5px;
	color: #fff;				/*文字の色*/
	text-decoration: none;
  }
/* ドロップダウンメニューのレイアウト */
  nav ul li ul li a {
	  margin-left:0em;
    display: block;
    padding: 0;
    color: #fff;			/*文字の色*/
    text-decoration: none;
  }


    nav ul li a:focus {
      outline: none;
      text-decoration: underline;
    }

  nav ul li:first-child a {
    border-left: none;
  }

  nav ul li:last-child a {
    border-right: none;
  }

  nav ul li a span {
    display: block;
    float: left;
  }

  nav ul li:hover ul {
    display:block;
  }

nav#topNav ul ul {

 	display:none;
  width: 100%;
  position: absolute;
  left: 0;
  background: #082d89;　　/*ドロップダウンメニューの背景色*/
}

  nav ul ul li {
    float: none;
  }

  nav ul ul a {
    padding: 5px 10px;
    border-left: none;
    border-right: none;
    font-size: 14px;
  }

    nav ul ul a:hover {
      background: #289de1;   /*文字の色*/
    }
/*================================================
 *  サブコンテンツ
 ================================================*/
.submenu li {
    margin:0;
    padding:0;
    list-style:none;
}
.submenu li a:before {
    content:"\0025a0";
    color:#5b4111;
}


.submenu li a {
    display:block;
    padding:5px 2px;
    border-bottom:1px dotted #ddd;
    text-decoration:none;
}
.submenu li a:hover {
    background:#f7d0cb;
}

.bnr li {
    text-align:left;
    margin:8px 0px 0px 0px;
    width:192px;
}
.bnr li a:hover {
/*    opacity:0.8;
    filter:alpha(opacity=80);
    -ms-filter:"alpha( opacity=80 )";
*/
}
.bnr img {
　　text-align:left;
    margin:8px 0px 0px 0px;
    width:192px;
}
/*
.yanmar img  {
    margin:8px 0px 0px 0px;
	width:292px;
}
*/
/*================================================
 *  フッター
 ================================================*/
footer {
		background: #ffffff;
    clear:both;
}

.footmenu {
    width:100%;
    padding:20px 0;
    overflow:hidden;
    border-top:1px dotted #ccc;
    border-bottom:1px dotted #ccc;
}
.footmenu ul {
    position:relative;
    float:left;
    left:50%;
    margin:0;
}
.footmenu li {
    position:relative;
    left:-50%;
    float:left;
    list-style:none;
    padding:0 10px;
    font-size:12px;
    text-align:center;
}

.copyright {
    clear:both;
    padding:20px 0;
    font-size:11px;
    text-align:center;
}

/*================================================
 *  ページトップへの戻り
 ================================================*/
.totop {
    position:fixed;
    bottom:15px;
    right:15px;
}
.totop a {
    display:block;
    text-decoration:none;
}
.totop img {
    background:#7dbdb4;
}
.totop img:hover {
    background:#85d1c6;
}

/*================================================
 *  クラス
 ================================================*/
.textL {
    text-align:left;
}

.textR {
    text-align:right;
}

.list {
    padding:0 0 0 2em;
}

.list li {
    margin:0;
    padding:0;
    list-style:none;
    text-indent:-1.3em;
}
.list li:before {
    content:"\002618\00a0";
    color:#9b2f3d;
}

.temp {
    clear:both;
    overflow:hidden;
    margin-bottom:50px;
}

.img {
    float:left;
    width:100%;
}

.text {
    float:right;
    width:450px;
}

.photo {
    margin:20px 0;
    padding:10px;
    box-shadow:rgba(113, 135, 164, 0.8) 0 3px 15px 0;
    background:#fff;
}

.info dt {
    border-bottom:none;
}
.info dd {
    padding-bottom:1em;
    border-bottom:1px solid #ddd;
}

.catalog {
    overflow:hidden;
    margin-top:8px;
    margin-right:-10px;
}
.catalog li {
    list-style:none;
    float:left;
    margin:0 10px 10px 0;
}
.catalog li img {
    width:95px;
}

/*================================================
 *  スライドショー
 ================================================*/
.slide {
		 background: #ffffff;
     width:50%;
     overflow:hidden;
     position:relative;
     margin-bottom:0px;
     padding-bottom:25px;
		 z-index:1;
}

.slideInner {
     list-style:none;
     margin:0;
     padding:0;
}
.slideInner li {
     position:absolute;
     background:#fff;
     margin:0;
     padding:0;
}
.slideInner li img {
   width:100%;
}

.slidePrev {
      position:absolute;
      width:50px;
      height:60px;
      left:0;
      cursor:pointer;
      z-index:100;
}

.slideNext {
      position:absolute;
      display:block;
      width:50px;
      height:60px;
      right:0;
      cursor:pointer;
      z-index:100;
}

.controlNav {
      position:absolute;
      float:left;
      left:50%;
      bottom:0;
}
.controlNav span {
      position:relative;
      left:-50%;
      float:left;
      margin:5px;
      -webkit-border-radius:5px;
      -moz-border-radius:5px;
      border-radius:5px;
      width:10px;
      height:10px;
      overflow:hidden;
      -webkit-box-shadow:1px 1px 2px rgba(0, 0, 0, 0.5) inset;
      -moz-box-shadow:1px 1px 2px rgba(0, 0, 0, 0.5) inset;
      box-shadow:1px 1px 2px rgba(0, 0, 0, 0.5) inset;
      background:#eee;
      text-indent:-9999px;
      vertical-align:middle;
}
.controlNav span:hover {
      background:#ccc;
      cursor:pointer;
}
.controlNav span.current {
      -webkit-box-shadow:1px 1px 2px rgba(0, 0, 0, 0.5) inset, 0 0 2px rgba(133, 209, 198, 0.5);
      -moz-box-shadow:1px 1px 2px rgba(0, 0, 0, 0.5) inset, 0 0 2px rgba(133, 209, 198, 0.5);
      box-shadow:1px 1px 2px rgba(0, 0, 0, 0.5) inset, 0 0 2px rgba(133, 209, 198, 0.5);
      background:#85d1c6;
}

/*================================================
 *  スマートフォン向けデザイン
 ================================================*/
@media screen and (max-width:480px) {
    body {
        width:480px;
        width:100%;
        padding:0 10px;
    }

    header h1 {
        margin-bottom:0;
    }

    .tel {
        position:relative;
        text-align:right;
    }

    #main {
        float:none;
        width:100%;
    }

    #sub {
        float:none;
        width:100%;
    }

img{
	max-width : 100%;
	height: auto;
}

h1{
	font-size:30px;
}

/*================================================
 *  スライドショー
 ================================================*/
.slide {
	margin-left:0px;
}

/*****************************************************/

nav {
	height:30px;
	font-size:11px;
}

form#smpl46 p span {
	display: inline-block;
	/*IE用スターハック*/
    *display: inline;
    *zoom: 1;
	width: 120px;
	text-align: left;
	padding-right:1em;
	margin:0px;
}

/******************/

/*=============================
	iframe
==============================*/

#INFO{
	width:100%;
	height:200px;
	border: 2px green solid;
	display: block;
	margin: 0px auto;
}

#map{
	width:100%;
	height:400px;
	border: 2px green solid;
	display: block;
	margin: 0px auto;
}



    .catalog {
        margin-right:-2%;
    }
    .catalog li {
        float:left;
        width:23%;
        margin:0 2% 2% 0;
    }

    .catalog li img {
        width:100%;
    }

    .bnr {
        overflow:hidden;
        margin-right:-2%;
    }

    .bnr li {
        float:left;
        width:48%;
        margin:0 2% 2% 0;
    }

    .bnr li img {
        width:100%;
    }

   .totop {
    display:none !important;
    width:400px;
    }

    /* 下層サブメニュー */
    #subnav {
        display:block;
        position:relative;
    }
    #subnav h3 {
        cursor:pointer;
        background:#85d1c6;
    }
    #subnav h3:after {
        position:absolute;
        content:"\0025bc";
        top:3px;
        right:5px;
    }
    #subnav h3.menuOpen:after {
        position:absolute;
        content:"\0025b2";
        top:3px;
        right:5px;
    }
    #subnav li {
        margin:0;
        padding:0;
        list-style:none;
    }
    #subnav li a:before {
        content:"\0025a0";
        color:#5b4111;
    }
    #subnav li a {
        display:block;
        padding:5px 2px;
        border-bottom:1px dotted #ddd;
        text-decoration:none;
    }
    #subnav li a:hover {
        background:#f7d0cb;
    }
}
