/*
 * HTML5 Boilerplate
 *
 * What follows is the result of much research on cross-browser styling.
 * Credit left inline and big thanks to Nicolas Gallagher, Jonathan Neal,
 * Kroc Camen, and the H5BP dev community and team.
 */

/* ==========================================================================
   Base styles: opinionated defaults
   ========================================================================== */
article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
nav,
section {
  display: block;
}

audio,
canvas,
video {
  display: inline-block;
  *display: inline;
  *zoom: 1;
}

audio:not([controls]) {
  display: none;
}

html,
button,
input,
select,
textarea {
    color: #333;
}

body {
    font-size: 1em;
    line-height: 1.4;
}

/*
 * Remove text-shadow in selection highlight: h5bp.com/i
 * These selection rule sets have to be separate.
 * Customize the background color to match your design.
 */

::-moz-selection {
    background: #b3d4fc;
    text-shadow: none;
}

::selection {
    background: #b3d4fc;
    text-shadow: none;
}

/*
 * A better looking default horizontal rule
 */

hr {
    display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid #ccc;
    margin: 1em 0;
    padding: 0;
}

/*
 * Remove the gap between images, videos, audio and canvas and the bottom of
 * their containers: h5bp.com/i/440
 */

audio,
canvas,
img,
video {
    vertical-align: middle;
}

/*
 * Remove default fieldset styles.
 */

fieldset {
    border: 0;
    margin: 0;
    padding: 0;
}

/*
 * Allow only vertical resizing of textareas.
 */

textarea {
    resize: vertical;
}

/* ==========================================================================
   Browse Happy prompt
   ========================================================================== */

.browsehappy {
    margin: 0.2em 0;
    background: #ccc;
    color: #000;
    padding: 0.2em 0;
}
h1,h2,h3,h4,h5,h6 {
	font-family: inherit;
	font-weight: 500;
	line-height: 1.1;
	color: inherit;
}
h1 {
  font-size: 3em;
}
h2 {
  font-size: 2em;
}
h3 {
  font-size: 1.8em;
}
h4 {
  font-size: 1.4em;
}
h5 {
  font-size: 1.2em;
}
h6 {
  font-size: 1em;
}
p {
  margin: 0 0 10px;
}


#page-top{
	width:50px;
	height:50px;
	display:none;
	position:fixed;
	right:16px;
	bottom:32px;
}
 
#page-top p {
	margin:0;
	padding:0;
	text-align:center;
	background:#3b3b3b;
	-webkit-transition:all 0.3s;
	-moz-transition:all 0.3s;
	transition:all 0.3s;
}
 
#page-top p:hover{
	background:#8b8b8b;
}
 
#move-page-top {
	color:#fff;
	line-height:50px;
	text-decoration:none;
	display:block;
	cursor:pointer;
}
/* ==========================================================================
   Author's custom styles
   ========================================================================== */

body {
	font-family: 'Hiragino Maru Gothic Pro', 'ヒラギノ丸ゴ Pro W4','Osaka','メイリオ','Meiryo','ＭＳ Ｐゴシック','MS PGothic',sans-serif;
/*	font-size: 18/16em; */
	font-size: 18px;
	margin: 0px;
	padding: 0;
	line-height: 1.8em;
	position: relative;
	color: #333;
	background: #fff;
}
/*	---
	header
	-----------------------*/
header:before,
header:after {
	display: table;
	content: "";
	line-height: 0;
}
header:after {
	clear: both;
}

header {
	display: block;
	position: fixed;
	top: 0px;
	left: 0px;
	width: 100%;
	background-image: url(../images/bg_header.png);
	background-repeat: no-repeat;
	background-size: 100% auto;
	height: 170px;
	height: auto;
	min-height: 170px;
	width: 100%;
	margin-left: 0px;
	z-index: 9999;
}
.gh-content {
	display: block;
	margin: 0 auto;
	margin-bottom: 2em;
	width: 1280px;
}
/*	---
	logo
	-----------------------*/
header hgroup {
	float: left;
}
header hgroup h1 {
	margin: 0;
	padding: 0;
	margin-left: 12px;
	padding: 8px;
}
/*	---
	navi
	-----------------------*/
header nav.gNav {
	float: left;
	display: block;
	margin-top: 1.5em;
	width: 100%;
	text-align: center;
}
#g-navi {
	margin: 0 auto;
}
header nav.gNav ul li {
	float: left;
	width: 170px;
	list-style-type: none;
	text-align: center;
}
header nav.gNav ul li a {
	width: 136px;
	color: #000;
	text-decoration: none;
}
header nav.gNav ul li a:hover {
	color: #999;
}
.e-link {
	float: right;
	margin-top: 1em;
	margin-right: 2em;
	color: #000;
	text-decoration: none;
}
.e-link:hover {
	color: #999;
}
/*	---
	footer
	-----------------------*/
footer {
	position: fixed;
	bottom: 0;
	left: 0;
	display: block;
	float: left;
	width: 100%;
	font-size: 0.6em;
	background: #333;
	color: #fff;
}
.footer-sosumi {
	float: right;
	margin: 0 1em;
}
.footer-sosumi>p {
	margin: 0;
	padding: 0;
}
/* --------------------------------------------------------------------------
   main content
   -------------------------------------------------------------------------- */
#main-content {
	float: left;
	display:block;
	width: 100%;
	margin: 0 auto;
	margin-top: 180px;
	margin-bottom: 40px;
}
/*	---
	1column content
	-----------------------*/
.sub-content {
	padding: 0 10em;
	line-height: 2.1em;
}

/*	---
	2column content
	-----------------------*/
.table-content {
	display: table;
/*	height: auto; */
/*	padding: 0 2em; */
	width: 100%;
	max-width: 1280px;
	
}
.table-content .content-title,
.table-content .content-main {
	display: table-cell;
}
.table-content .content-title {
/*	vertical-align: middle; */
	vertical-align: top;
	width: 25%;
}
#title-wrap {
	position: relative;
	margin-left: 2em;
	margin-top: 1em;
}
.table-content .content-title h1 {
	font-size: 1.8em;
	margin: 0;
	text-align: center;
}
.table-content .content-title h2 {
	font-size: 1em;
	margin-top: 0.2em;
	line-height: 1.8em;
	text-align: center;
}

.table-content .content-main {
	padding: 0 3em;
	line-height: 2.1em;
}
.table-content .content-main h2 {
	margin-top: 0.4em;
	margin-bottom: 0.2em;
}
/*	---
	top page
	-----------------------*/
#news-area {
  width: 100%;
  padding: 1em 0;
  color: #fff;
  background-image: url(../images/footnote.png);
  background-repeat: no-repeat;
  background-size: 100% auto;
}
#news-title {
	text-align: center;
	margin: 0 5em;
	padding-bottom: 0.2em;
	border-width: 0 0 2px 0;
	border-style: solid;
	border-color: #fff;
}
#news-list {
	margin: 1em 10em;
}
#news-list dt, #news-list dd {
	text-align: center;
}
#news-list dt {
	margin-top: 1em;
}
#news-list a {
	color: #fff;
	text-decoration: none;
}
#news-list a:hover {
	color: #999;
	text-decoration: none;
}
#news-link {
	text-align: center;
}
#news-link a {
	color: #fff;
	text-decoration: none;
}
#news-link a:hover {
	color: #999;
	text-decoration: none;
}
/*	---
	research content page
	-----------------------*/
#research-content-area {
  width: 100%;
  padding: 2em 0;
  color: #fff;
  background-image: url(../images/footnote.png);
  background-repeat: no-repeat;
  background-size: 100% auto;
}
#research-title {
/*	text-align: center; */
	text-align: left;
	margin: 0 5em;
	padding-bottom: 0.2em;
}
#research-list {
	margin: 1em 10em;
	font-size: 140%;
}
#research-list li {
	margin-bottom: 1em;
}
#research-list .sub-list {
	margin: 1em;
}
#research-list .sub-list li {
	list-style: none;
}
#research-list a {
	color: #fff;
	text-decoration: none;
}
#research-list a:hover {
	color: #999;
/*	text-decoration: underline; */
}

.fig {
	margin: 0 auto;
	text-align: center;
}
.fig img {
	margin: 0 auto;
	width: 100%;
}
.fig-title p {
	font-size: 0.8em;
}
.fig img.per75 {
	width: 75%;
	height:75%;
}
.fig img.per80 {
	width: 80%;
	height:80%;
}
/*	---
	member page
	-----------------------*/
.member {
	display: block;
	float: left;
	width: 100%;
	margin-bottom: 0.8em;
}
.member .position {
	float: left;
	width: 30%;
}
.member .name {
	float: left;
	font-size: 1.2em;
	width: 30%;
}
.member .mail {
	float: left;
	width: 20%;
	text-align: right;
	margin-right: 20px;
}
/*	---
	publication page
	-----------------------*/
.publication-member {
	float: left;
	width: 100%;
	margin-bottom: 2em;
}
.publication-member .name {
	font-size: 1.2em;
	float: left;
	width: 40%;
	margin-left: 2em;
	text-align: left;
}
.publication-member .name a {
	color: #333;
	text-decoration: none;
}
.publication-member .name a:hover {
	color: #999;
	text-decoration: none;
}
.publication-member .eng-name {
	display: table-cell;
	width: 30%;
	text-align: left;
}
.publication-member .eng-name a {
	color: #333;
	text-decoration: none;
}
.publication-member .eng-name a:hover {
	color: #999;
	text-decoration: none;
}
#map-area {
	display: block;
	margin: 0 auto;
}
.link-list {
	list-style: none;
}
.link-list li {
	margin-bottom: 1em;
}
.link-list a {
	font-size: 140%;
	color: #000;
	text-decoration: none;
}
.link-list a:hover {
	color: #999;
}
/* ==========================================================================
   Helper classes
   ========================================================================== */

/*
 * Image replacement
 */

.ir {
    background-color: transparent;
    border: 0;
    overflow: hidden;
    /* IE 6/7 fallback */
    *text-indent: -9999px;
}

.ir:before {
    content: "";
    display: block;
    width: 0;
    height: 150%;
}

/*
 * Hide from both screenreaders and browsers: h5bp.com/u
 */

.hidden {
    display: none !important;
    visibility: hidden;
}

/*
 * Hide only visually, but have it available for screenreaders: h5bp.com/v
 */

.visuallyhidden {
    border: 0;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
}

/*
 * Extends the .visuallyhidden class to allow the element to be focusable
 * when navigated to via the keyboard: h5bp.com/p
 */

.visuallyhidden.focusable:active,
.visuallyhidden.focusable:focus {
    clip: auto;
    height: auto;
    margin: 0;
    overflow: visible;
    position: static;
    width: auto;
}

/*
 * Hide visually and from screenreaders, but maintain layout
 */

.invisible {
    visibility: hidden;
}

/*
 * Clearfix: contain floats
 *
 * For modern browsers
 * 1. The space content is one way to avoid an Opera bug when the
 *    `contenteditable` attribute is included anywhere else in the document.
 *    Otherwise it causes space to appear at the top and bottom of elements
 *    that receive the `clearfix` class.
 * 2. The use of `table` rather than `block` is only necessary if using
 *    `:before` to contain the top-margins of child elements.
 */

.clearfix:before,
.clearfix:after {
    content: " "; /* 1 */
    display: table; /* 2 */
}

.clearfix:after {
    clear: both;
}

/*
 * For IE 6/7 only
 * Include this rule to trigger hasLayout and contain floats.
 */

.clearfix {
    *zoom: 1;
}

/* ==========================================================================
   EXAMPLE Media Queries for Responsive Design.
   These examples override the primary ('mobile first') styles.
   Modify as content requires.
   ========================================================================== */

@media only screen and (min-width: 35em) {
    /* Style adjustments for viewports that meet the condition */
}

@media print,
       (-o-min-device-pixel-ratio: 5/4),
       (-webkit-min-device-pixel-ratio: 1.25),
       (min-resolution: 120dpi) {
    /* Style adjustments for high resolution devices */
}

/* ==========================================================================
   Print styles.
   Inlined to avoid required HTTP connection: h5bp.com/r
   ========================================================================== */

@media print {
    * {
        background: transparent !important;
        color: #000 !important; /* Black prints faster: h5bp.com/s */
        box-shadow: none !important;
        text-shadow: none !important;
    }
body {
	font-size: 10px;
}
header hgroup img {
	width: 100%;
}
    a,
    a:visited {
        text-decoration: underline;
    }
/*
    a[href]:after {
        content: " (" attr(href) ")";
    }

    abbr[title]:after {
        content: " (" attr(title) ")";
    }
*/
    /*
     * Don't show links for images, or javascript/internal links
     */

    .ir a:after,
    a[href^="javascript:"]:after,
    a[href^="#"]:after {
        content: "";
    }

    pre,
    blockquote {
        border: 1px solid #999;
        page-break-inside: avoid;
    }

    thead {
        display: table-header-group; /* h5bp.com/t */
    }

    tr,
    img {
        page-break-inside: avoid;
    }

    img {
        max-width: 100% !important;
    }

    @page {
        margin: 0.5cm;
    }

    p,
    h2,
    h3 {
        orphans: 3;
        widows: 3;
    }

    h2,
    h3 {
        page-break-after: avoid;
    }
    #main-content {
    	margin: 0px;
    }
	#main-content div {
		display: block;
		float: left;
		width: 100%;
		margin: 0 auto;
		padding: 0;
	}
	#change-header {
		display: none !important;
	}
	#title-wrap {
		position: relative !important;
		top:0 !important;
	}
	#page-top {
		display: none !important;
	}
	footer {
		position: relative !important;
		width: 100% !important;
	}
}
/* Responsive
-------------------------------------------------- */

/* Desktop
------------------------- */
@media (min-width: 960px) {

}


/* Tablet
------------------------- */
@media (max-width: 1279px) {
	#news-area,#research-content-area {
		background-image: url(../images/i-footnote.png);
	}
/*	---
	navi
	-----------------------*/
header nav.gNav {
	float: left;
	display: block;
	margin-top: 0.5em;
	width: 100%;
}
#g-navi {
	margin: 0 auto;
}
header nav.gNav ul li {
	margin: 0;
	width: 14%;
}
.gh-content {
	display: block;
	margin: 0 auto;
	width: 100%;
}
/*	---
	1column content
	-----------------------*/
.sub-content {
	padding: 0 1em;
}
/*	---
	2column content
	-----------------------*/
.table-content {
	padding: 1em;
}
.table-content .content-title h1 {
	font-size: 1.4em;
}
.table-content .content-title h2 {
	font-size: 1em;
}
.table-content .content-main {
	padding: 0 1em;
}
/*	---
	top page
	-----------------------*/
#news-title {
	margin: 0 1em;
}
#news-list {
	margin: 1em;
}
#research-title {
	margin: 0 1em;
}
#research-list {
	margin: 1em 4em;
}
}

@media (max-width: 840px) {
header nav.gNav ul li,
#change-header nav.gNav ul li {
	float: left;
	width: 14%;
	list-style-type: none;
	text-align: center;
}
header nav.gNav ul li a,
#change-header nav.gNav ul li a {
	width: auto;
	color: #000;
	text-decoration: none;
}
}
/* Landscape phones
------------------------- */
/* @media (max-width: 480px) { */
@media (max-width: 680px) {
	#news-area,#research-content-area {
		background-image: url(../images/i-footnote.png);
	}
	header {
		position: relative;
		background-image: url(../images/i-bg_header.png);
		min-height: 400px;
	}
	header hgroup img {
		width: 100%;
	}
	header nav.gNav {
		padding: 0;
		margin: 0 auto;
	}
	header ul.g-navi li {
		width: 100%;
		margin: 0 auto;
		padding: 0;
	}
	
	header nav.gNav ul li,
	#change-header nav.gNav ul li {
		float: left;
		width: 100%;
		text-align: center;
	}
	header nav.gNav ul li a,
	#change-header nav.gNav ul li a {
		display: block;
		margin-top: 1em;
		width: 90%;
		text-decoration: none;
		margin-bottom: 2px;
	}
	
	#change-header {
		display: none !important;
	}
	#main-content {
		width: auto;
		margin: 0 1em !important;
	}
	#main-content img {
		margin: 0 auto;
	}
/*	---
	2column content
	-----------------------*/
#main-content div {
	display: block !important;
	float: left !important;
	margin: 0 auto;
	padding: 0 !important;
	width: 100%;
}
.sub-content,
.table-content .content-title,
.table-content .content-main {
	margin-top: 2em !important;
}
	#title-wrap {
		position: relative !important;
		top:0 !important;
		margin-bottom: 1em !important;
	}
	#research-list {
		margin: 0 auto;
	}
	#research-title {
		margin: 1em;
	}
	#research-content-area {
		font-size: 80%;
	}
.member,
.member .position,
.member .name,
.member .mail {
	float: left;
	width: 100%;
	margin: 0;
}
.member .mail {
	text-align: left;
	margin-bottom: 1em;
}
p {

}
footer {
	position: relative !important;
	width: 100% !important;
}
}

