@charset "utf-8";
/* CSS Document */
html {
	overflow-y: scroll;
	scroll-behavior: smooth;
}
#wrapper {
	width: 100%;
	max-width: 1350px;
	min-width: 320px;
	line-height: 1.7;
	margin: 0 auto;
}
a {
	display: block;
	text-decoration: none;
}
a:hover {
	text-decoration: none;
}
header {
	display: grid;
	grid-template-columns: repeat(13, 1fr);
	margin: 30px 0; 
}
h1 {
	grid-column: 4/11;
	max-width: 100%;
	height: auto;
	margin: 40px auto 40px;
	text-align: center;
	font-family: 'Poiret One','Sen','manifesto','Avenir','Helvetica Neue','Helvetica','Arial','Hiragino Sans','ヒラギノ角ゴシック','YuGothic','Yu Gothic','メイリオ', 'Meiryo','ＭＳ Ｐゴシック','MS PGothic';
	font-size: 200%;
	font-weight: 100;
}
h1 a {
	color: #000;
}
.contact {
	line-height: 1.2em;
	font-size: 90%;
	grid-column: 11/16;
}
.contact a {
	display: inline-block;
	color: #000;
}
.contact a:hover {
	color: #BFAF83;
	text-decoration: underline 1px #BFAF83;	
}
/*----------ナビゲーション----------*/
nav ul li{
	float: left;
	width: 25%;
	margin: 0;
	padding: 0;
}
nav ul li a{
	color: #000;
}
nav ul li a{
	display: block;
	text-align: center;
	line-height: 40px;
	border-right: solid #D3C7B4 1px;
	color: #000;
}
nav ul li a:hover{
	background: #A39774;
	color: #fff;
}

nav ul li:last-child a {
	border-right-style: none;
}
/*----------カレント設定----------*/
#profilePage nav ul .profile a,
#researchPage nav ul .research a,
#publicationPage nav ul .publication a {
	text-decoration: underline 2px #A89E86;
	color: #000;
}

#profilePage .f_nav .profile a,
#homePage .f_nav .home a,
#researchPage .f_nav .research a,
#publicationPage .f_nav .publication a {
	text-decoration: underline #fff;
}
/*----------コンテンツ----------*/
.contents {
	color: #1E1908;
}
h2 {
	text-align: center;
	font-size: 230%;
	padding-top: 70px;
	margin-bottom: 20px;
	font-family: 'Dawning of a New Day','Antro Vectra','Avenir','Helvetica Neue','Helvetica','Arial','Hiragino Sans','ヒラギノ角ゴシック','YuGothic','Yu Gothic','メイリオ', 'Meiryo','ＭＳ Ｐゴシック','MS PGothic';
	font-weight: lighter;
	color: #1E1908;
}
.co2 {
	font-size: 80%;
}
.brsp {
	display: none;
}

/*----------フッター----------*/
footer {
	margin: 0 auto;
	padding-bottom: 20px;
	text-align: center;
	background: #2a220a;
	color: #fff;
}
footer a, footer h1 a, footer .contact a {
	color: #fff;
}
.sns li {
	display: inline-block;
	margin: 20px 6px 30px;
}
footer h1 {
	font-size: 110%;
	margin: 10px auto 10px;
}
.f_nav li {
	display: inline-block;
	margin: 30px 0;	
	border-right: solid 1px #fff;
	text-align: center;
	padding-right: 5px;
}
.phone, .mail {
	color: #fff;
}
.f_nav li:last-child {
	border-right-style: none;
}
footer p small{
	font-size: 80%;
}
footer h1 a:hover, footer .sns a:hover {
	color: #BFAF83;
}
.f_nav li a:hover {
	color: #BFAF83;
	text-decoration: underline #BFAF83;
}
.sns a {
	transition: all 0.7s;
}
.sns a:hover {
	transform: rotate(360deg);
}
/*----------トップに戻る----------*/
.pos{
	position: fixed;	
	left: 5px;
	bottom: 10px;
}
.back-to-top{
	position: fixed;
	right: 3% ;
	bottom: 2%;
	z-index: 2;
}
.back-to-top a {
	color: #807171;
	opacity: 0.7;
}
.back-to-top a:hover {
	color: #807171;
	opacity: 1;
}

/*---------- メディアクエリ ----------*/
@media only screen and (max-width : 982px ){
	nav ul li a{
		font-size: 66%;	
	}
	.brsp {
	display: block;
}
	.f_nav li {
		font-size: 85%;
	}
}
@media only screen and (max-width: 900px) {
	h1 {
		font-size: 160%;
		grid-column: 1/8;
		margin-top: 0;
	}
	.contact {
		grid-column: 10/15;
		font-size: 85%;
		margin-top: 10px;
	}
}
@media only screen and (max-width: 555px) {
	html {
 	-webkit-overflow-scrolling: touch;
	}
	header .contact {
		display: none;
	}
	header {
		display: block;
	}
	h1 {
		text-align: center;
		margin-bottom: -5px;
	}
}