﻿@charset "utf-8";

/* --- リセット--- */

* {
  margin:0;
  padding:0;
}
 
body {
  line-height:1.5em;
}
 
article,aside,details,figcaption,figure,main,
footer,header,hgroup,menu,nav,section {
  display:block;
}
 
li {
  list-style:none;
}
 
table {
  border-collapse:collapse;
  border-spacing:0;
}

a {
  text-decoration:none;
  border-style:none;
  color:#555;
}

li img {
  display:block;
  vertical-align:bottom;
}


/* --- 共通--- */

body{
  font-family:"ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, Osaka, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
  font-size: 15px;
  line-line-height:1.6em;
  color:#555;
  background-color:#fff;
  /*min-width: 1380px;*/
  -webkit-text-size-adjust: 100%;/*iPhone文字対策*/
}

.ro :hover {
    opacity: 0.6;
    transition: all 0.3s ease;
}

/* --- 共通header--- */

header {
  width: 100%;
  background: rgba(255,255,255,0.8);
}

#headerInner {
  width: 960px;
  height: 80px;
  margin:0 auto 0;
}

#headerInner h1 {
  float: left;
  margin:27px 0 0 0;
}

#gNavi {
  float: right;
  font-weight: 700;
  font-size:14px;
  letter-spacing: 1px;
}

#home a {
  letter-spacing: .01em;
}

.dropmenu{
  zoom: 1;
  height: 60px;
  margin: 33px 0 0;
  width: 500px;
}

.dropmenu:before, .dropmenu:after{
  content: "";
  display: table;
}

.dropmenu:after{
  clear: both;
}

.dropmenu li{
  display: inline;
  padding: 15.5px;
  border-bottom: 10px solid #dcdcdc;
  position: relative;
}

.dropmenu li:hover {
  border-bottom: 10px solid #3fa7df; 
  transition: all 0.3s ease;
}

.dropmenu .active {
  border-bottom: 10px solid #3fa7df; 
}

/*
.dropmenu li:hover > a{
  background: #0e5cb1;
  color:#FFF;
  font-weight: 150%;
  transition: all 0.3s ease;
}*/

.dropmenu li ul{
  position: absolute;
  z-index: 9999;
  top: 100%;
  left: 0;
  margin: 10px 0 0;
  padding: 0;
  width: 100%;
}

.dropmenu li ul li{
  width: 100%;
  display: block;
  border:none;
  padding:0;
}

.dropmenu li ul li:hover {
  /*border-bottom: 10px solid #dcdcdc;
    transition: all 0.1s ease;*/
  border: none;
}

.dropmenu li ul li:hover>a {
 background-color:rgba(63,167,223,0.8);
 color: #fff;
  /*color:#3fa7df;*/
}

.dropmenu li ul li a{
  display: block;
  margin: 0;
  line-height: 1;
  padding: 13px 15px;
  border-top: 1px solid #ccc;
  text-align: left;
  background-color:rgba(0,0,0,0.5);
  color:#FFF; 
}

/*ドロップダウンの動き*/
#fade-in li ul{
  visibility: hidden;
  opacity: 0;
  transition: 0s;
}

#fade-in li:hover ul{
  visibility: visible;
  opacity: 1;
}

#fade-in li ul li a{
  visibility: hidden;
  opacity: 0;
  transition: .2s;
}

#fade-in li:hover ul li a{
  visibility: visible;
  opacity: 1;
}


/* --- 共通footer--- */

address{
  font-style:normal;
  font-size:13px;
}

footer {
  width: 100%;
  clear:both;
  background-color:#424242;
}

#footerInner {
  background:rgba(255,255,255,0.1); 
  border-bottom: 1px solid rgba(0,0,0,0.2);
  border-top: 1px solid rgba(255, 255, 255, 0.1); 
/*background: #717171;*/
}

#fNavi {
  width: 600px;
  height: 20px;
  margin:0 auto 0;
  padding: 8px 0;
}

#fNavi li {
  display: inline;
  margin-left: 45px;
}

#fNavi a {
  color: #fff;
  font-size: 12px;
}

#footerInner2 {
  /*background: #666;*/
  height: auto;
}

#footerUnder {
  width: 600px;
  height: auto;
  margin:0 auto 0;
  padding:35px 50px 30px;
  color: #fff;
}

#fName {
  font-size: 110%;
  text-align: center;
  padding: 0 0 0.6em 0;
}

#fAddress {
  text-align: center;
  line-height: 1.4em;
}

#copy {
  font-size: 12px;
  text-align: center;
  line-height: 3.5em;
}

/* --- TOP ページ--- */

main {
  width: 100%;
  clear: both;
}

#mainVisual {
  height: 521px;
  width: 100%;
  /*min-width: 1380px;*/
  background: url(../../images/hanawa_lab_mv_01.png) no-repeat top center;
  z-index: -1;
  position: absolute;
  top:0;
}

#catch {
  color: #fff;
  margin-left: 20px;
  /*padding:30px 50px;*/
  padding: 25px 25px 25px;
  width: 550px;
  height: 125px;
  position: absolute;
  top: 290px;
  right: 0px;
  /*left: 50%;*/
  z-index: 1;
  /*text-shadow: 3px 3px 19px #000;*/
  background: rgba(0,0,0,0.55);
}

#catch h1 {
  font-size: 20px;
}

#catch p {
  margin:10px 0 0 0px;
  font-size: 15px;
  line-height: 2em;
}

#topMain {
  clear:both;
  width: 960px;
  height: auto;
  margin:0 auto 0;
}

.sideNav {
  float:left;
  margin:470px 0 0 0;
  width:30%;
  height: 300px;
}

.sideNav ul {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 1px;
}

.sideNav li {
  height: 20px;
  margin:0 0 0 20px;
  padding: 25px 15px 25px 55px;
  text-align: left;
}

.sideNav li:hover{
  opacity: 0.5;
  transition: all 0.3s ease;
}

#mail {
  background:url(../../images/icons_contact.png) no-repeat left center;
}

#album {
  background:url(../../images/icons_album.png) no-repeat left center;
}

.Info {
  float:right;
  margin: 470px 0 60px;
  width:70%;
  height: auto;
}

.Info h2 {
  font-weight: normal;
  margin:20px 0 0 0; 
  padding:10px 0;
  border-bottom: 1px solid #ccc;
}

.Info h3 { 
  width: 13%;
  height: 20px;
  color: #fff;
  font-size:100%;
  font-weight: normal;
  letter-spacing: 1px;
  text-align: center;
  margin:20px 0 0 0;
  padding:7px 30px;
  background: #3fa7df;
}

.Info ul {
  width:100%;
  height: 310px;
  overflow-y: scroll;
  border:1px solid #ccc;
  /*background: #fbfaf0;*/
}

.Info li {
  border-bottom: 1px dotted #ccc;
  min-height: 20px;
  padding: 15px 20px;
}

.bnr {
  clear:both;
  margin:0 0 60px;
}

.bnr ul {
  overflow: hidden;
  width:57%;
  margin:0 auto 0;
}

.bnr li {
  float:left;
  margin-left:10px;
}

.bnr img {
  border:1px solid #e1e1e1;
}


/* --- 下層共通--- */

.header2 {
  box-shadow: 0 1px 1px rgba(0, 0, 0, 0.1);
  height: auto;
}

/*
#hWrapper {
  width: 100%;
  border-bottom: 1px solid #ccc;
}

.header2:after {
  position: absolute;
  top:79px;
  content: '';
  border-bottom: 1px solid #ccc;
  width: 100%;
  z-index: -1;
}*/

#SecondMain {
  width: 960px;
  height: auto;
  margin:25px auto 0;
  overflow: hidden;
}

.pankuzu {
  margin:0 0 27px;
  font-size: 13px;
}

.pankuzu li {
  display: inline;
}

.pankuzu li a {
 border-bottom: 1px solid #3fa7df;
 color:#3fa7df;
}

.sideNav2 {
  float: left;
  margin: 25px 0 0;
  padding-left: 5px;
  height: 100%;
}

.sideNav2 h2 {
  font-weight: normal;
  font-size:18px;
}

#sideNav2-1 {
  font-size: 15px;
}

#sideNav2-1 li {
  margin: 21px 0 14px 21px;
}

#sideNav2-2 {
  margin:96px 0;
}

#sideNav2-2 ul {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 1px;
}

#sideNav2-2 li {
  height: 20px;
  margin:0;
  padding: 25px 15px 25px 55px;
  text-align: left;
}

#sideNav2-2 li:hover{
  opacity: 0.5;
  transition: all 0.3s ease;
}

#MainContents {
  float: right;
  width: 682px;
  height: auto;
}

#MainContents h2 {
  font-size: 25px;
  font-weight: 600;
  margin: 0 0 38px;
  padding-bottom: 15px;
  border-bottom: 1px solid #e5e5e5;
}

#MainContents h3 {
  font-size: 22px;
  font-weight: normal;
  text-align: center;
  margin:0 0 55px;
}

#pageTop {
  position: fixed;
  bottom: 30px;
  right: 30px;
}

#pageTop a {
  background-color: rgba(0, 0, 0, 0.5);
  border-radius: 3px;
  box-shadow: 0 3px 3px rgba(255, 255, 255, 0.1);
  color: #fff;
  display: block;
  font-weight: bold;
  height: 40px;
  padding: 20px 0 0;
  text-align: center;
  width: 76px;
  z-index: 999;
}

#pageTop a:hover {
  text-decoration: none;
  opacity: 0.7;
}

/* --- about ページ--- */

#about {
  margin:0 0 68px 0;
}

#about h3 {
  line-height: 1.8;
}

#about img {
  margin:30px 0 0;
}

#lab {
  margin:0 0 78px 0;
}

#lab ul {
  width: 660px;
  padding-left:15px;
  line-height:1.8;
}

#lab ul li {
  list-style-type: inherit;
  margin:30px 0;
}

#lab h4 {
  font-size:17px;
}

#lab h5 {
  font-size:16px;
}

.lab-about{
  line-height:1.8;
}

#memb ul {
  overflow: hidden;
  line-height:1.8;
}

#memb img {
  float: left;
}

#memb ul div {
  float: left;
  width: 490px;
  min-height: 150px;
  padding: 10px 18px 15px;
}
#memb h5 {
  font-size: 16px;
}

#master {
  clear: both;
  padding:30px 0 0;
}

#master h4 {
  font-size: 17px;
}

#master table {
  margin:18px 0;
}

#master th,#master td {
  border: 1px solid #ccc;
}

#master th{
  width: 113px;
  font-weight: normal;
}

#master td{
  width: 570px;
  padding-left: 20px;
}

#master tr{
  height: 40px;
}

/*
#master tr:nth-child(5){
  height: 65px;
}

#master tr:nth-child(7){
  height: 65px;
}
*/

#theme {
  margin:75px 0 0;
}

#theme table {
  margin:20px 0 80px;
}

#theme th {
  background: #f2f2f2;
  /*font-weight: normal;*/
}

#theme th,#theme td {
  border: 1px solid #ccc;
}

#theme table thead tr th:nth-child(1),
#theme table tbody tr td:nth-child(1){
  width: 100px;
  text-align: center;
}

#theme table thead tr th:nth-child(2),
#theme table tbody tr td:nth-child(2){
  width: 135px;
  text-align: center;
}

#theme table thead tr th:nth-child(3){
  width: 450px;
}

#theme table tbody tr td:nth-child(3){
  padding-left: 5px;
}

#theme table td{
  padding-top:2px;
  padding-bottom:2px;
}

#theme table tr {
  height: 35px;
}
.row {
  text-align: left !important;
  padding-left: 5px;
}


/* --- research ページ--- */

#res ul, #pre ul {
  width: 640px;
  padding-left: 15px;
}

#res ul li, #pre ul li {
  list-style-type: inherit;
  margin:30px 0;
}

#pre {
  margin:80px 0;
}

#pre h4 {
  font-size: 17px;
}

#res h4 {
  font-size: 17px;
}

#res_a ul, #pre_a ul {
  width: 640px;
  padding-left: 15px;
}

#res_a ul li, #pre_a ul li {
  list-style-type: inherit;
  margin:30px 0;
}

#pre_a {
  margin:80px 0;
}

#pre_a h4 {
  font-size: 17px;
}

#res_a h4 {
  font-size: 17px;
}

.button_to_archives {
  display: block;
  position: relative;
  width: 250px;
  padding: 0.8em;
  text-align: center;
  text-decoration: none;
  color: #555;
  background: #fff;
  border:1px solid #555;
}

.button_to_archives:hover {
  background: #555;
  color: #fff;
  cursor: pointer;
  text-decoration: none;
}

/*タブ切り替え全体のスタイル*/
.tabs {
  margin-top: 50px;
  padding-bottom: 40px;
  background-color: #fff;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
  margin: 0 auto;}

/*タブのスタイル*/
.tab_item {
  width: calc(100%/3);
  height: 50px;
  border-bottom: 3px solid #5ab4bd;
  background-color: #d9d9d9;
  line-height: 50px;
  font-size: 16px;
  text-align: center;
  color: #565656;
  display: block;
  float: left;
  font-weight: bold;
  transition: all 0.2s ease;
}
.tab_item:hover {
  opacity: 0.75;
}

/*ラジオボタンを全て消す*/
input[name="tab_item"] {
  display: none;
}

/*タブ切り替えの中身のスタイル*/
.tab_content {
  display: none;
  padding: 40px 40px 0;
  clear: both;
  overflow: hidden;
}


/*選択されているタブのコンテンツのみを表示*/
#all:checked ~ #all_content,
#programming:checked ~ #programming_content,
#design:checked ~ #design_content {
  display: block;
}

/*選択されているタブのスタイルを変える*/
.tabs input:checked + .tab_item {
  background-color: #5ab4bd;
  color: #fff;
}


/* --- link ページ--- */

#sideNav2-3 {
  margin:0;
}

#sideNav2-3 ul {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 1px;
}

#sideNav2-3 li {
  height: 20px;
  margin:0;
  padding: 25px 15px 25px 55px;
  text-align: left;
}

#sideNav2-3 li:hover{
  opacity: 0.5;
  transition: all 0.3s ease;
}


#links {
  margin:0 0 70px 0;
}


.liBox {
  width: 680px;
  height: 150px;
  padding: 25px 0;
}

.liBox div {
  width: 424px;
  min-height: 150px;
  float: left;
}

#links img {
  float: left;
}

#links h4 {
  font-weight: normal;
  font-size: 15px;
  margin: 5px 0 0 17px;
}

#links li:hover {
  transition: all 0.3s ease;
  opacity: 0.6;
}

/*#links li:hover>a h4 {
  color:#3fa7df;
  transition: all 0.3s ease;
  opacity: 0.6;
  text-decoration: underline;
}*/

/* --- contact ページ--- */

#name2 {
  font-size: 17px;
}

#ad2 {
  margin:20px 0 0;
  font-size: 15px;
  line-height: 1.7;
}

#inq {
  min-height: 220px;
  margin:0 0 50px;
}

#access {
  min-height: 1020px;
  margin-bottom:50px;
}

#access p{
  font-size: 16px;
  margin:0 0 40px;
}

#cmpsMap {
  margin:50px 0 0;
  border:1px solid #ccc;
}

#gMap {
  float: right;
  margin:0 0 110px;
  padding: 0 0 0 35px;
  line-height: 2;
  display: block;
  background:url(../../images/icons_gmap.gif) no-repeat center left;
}

/* --- 959px以下の場合--- */
@media(max-width: 959px) {

}