﻿@import url('https://fonts.googleapis.com/css?family=Roboto:400,700');
@import url('https://fonts.googleapis.com/css?family=Noto+Sans+JP:400,700&subset=japanese');

/* reset */

body,div,dl,dt,dd,ul,ol,li,h1,h2,h3,h4,h5,h6,pre,form,fieldset,input,textarea,p,blockquote,th,td,figure,figcaption{
	margin: 0;
	padding: 0;
}

address,caption,cite,code,dfn,em,strong,th,var{
	font-style: normal;
}

ul{
	list-style: none;
}

table{
	border-collapse: collapse; 
	border-spacing: 0;
}

caption{
	text-align: left;
}
th{
	text-align: center;
}


q:before,q:after{
	content: '';
}

object,embed{
	vertical-align: top;
}

legend{
	display: none;
}
h1,h2,h3,h4,h5,h6{
	font-size: 100%;
}


img,abbr,acronym,fieldset{
	border: 0;
}


body{
	font-size: 0.9em;
	line-height: 1.9;
	font-weight: normal;
	font-family: "Roboto", "Noto Sans JP", "游ゴシック Medium", "游ゴシック体", "Yu Gothic Medium", YuGothic, "ヒラギノ角ゴ ProN", "Hiragino Kaku Gothic ProN",  "メイリオ", Meiryo, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
	-webkit-text-size-adjust: 100%;
	overflow-x: hidden;
	color: #333333;
	background: #fff;

}


a{
	color: #0066ff;

	text-decoration: none;

}


a:hover, .active{

	color: #ff6600;

	text-decoration: none;

}


a:active, a:focus,input:active, input:focus{
	outline: 0;
}



/* ヘッダー
------------------------------------------------------------*/

#mainnav a{
	color: #fff;
	font-family: "Roboto", "Noto Sans JP", "游ゴシック Medium", "游ゴシック体", "Yu Gothic Medium", YuGothic, "ヒラギノ角ゴ ProN", "Hiragino Kaku Gothic ProN", "メイリオ", Meiryo, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
}



/* フッター
------------------------------------------------------------*/

#footer{
	clear: both;
	padding: 10px 10px 10px 0;
	text-align: center;
	font-size: 0.7em;

}



/* 共通
------------------------------------------------------------*/

h1,h2,h3,h4,h5,h6{
	font-family: "Roboto", "Noto Sans JP", "游ゴシック Medium", "游ゴシック体", "Yu Gothic Medium", YuGothic, "ヒラギノ角ゴ ProN", "Hiragino Kaku Gothic ProN", "メイリオ", Meiryo, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
}
#sidebar a:hover, #sidebar .active{
	color: #ffcc33;
}
#sidebar h1{
	color: #fff;
	font-size: 1.7em;
}
#sec h1{
	width: 100%;
	margin: 20px auto;
	font-size: 1.6em;
	font-weight: normal;
	text-align: center;

}
#sec h1 span {
	padding-bottom: 5px;
	border-bottom: 5px solid #333333;
}
#sec h2{
	font-size: 1.3em;
	padding: 0em 0.5em;/*上下 左右の余白*/
	margin-bottom: 0.4em;
	background: transparent;/*背景透明に*/
	border-left: solid 5px #8e1728;/*左線*/
}
#sec h3{
	font-size: 1.2em;
	padding: 0em 0.5em;/*上下 左右の余白*/
	margin-bottom: 0.4em;
    position: relative;
    padding-left: 1.3em;/*アイコン分のスペース*/
    line-height: 1.4;
}
#sec h3:before {
  font-family: "Font Awesome 5 Free";
  content: "\f3c5";/*アイコンのユニコード*/
  position: absolute;/*絶対位置*/
  font-size: 1.2em;/*サイズ*/
  left: 0.1em;/*アイコンの位置*/
  top: -0.1em;/*アイコンの位置*/
  color: #8e1728; /*アイコン色*/
}
#sec h4{
	font-size: 1.2em;
	padding: 0em 0.5em;/*上下 左右の余白*/
	margin-bottom: 0.4em;
    position: relative;
    padding-left: 1.3em;/*アイコン分のスペース*/
    line-height: 1.4;
}
#sec h4:before {
  font-family: "Font Awesome 5 Free";
  content: "\f276";/*アイコンのユニコード*/
  position: absolute;/*絶対位置*/
  font-size: 1.2em;/*サイズ*/
  left: 0.2em;/*アイコンの位置*/
  top: -0.1em;/*アイコンの位置*/
  color: #8e1728; /*アイコン色*/
}

.black{
	color: #333333;
}
#title{
	position: fixed;
	top: 30px;
	left: 3%;
}
#title h1{
	color: #fff;
	font-size: 2.5em;
	line-height: 1.3;
}
#title h2{
	color: #fff;
	font-size: 1.5em;
	line-height: 1.3;
}
#title h3{
	color: #fff;
	font-size: 1em;
	line-height: 1.3;
	font-weight: normal;
}
#book h2, #news h2{
	color: #fff;
	font-size: 1.1em;
    line-height: 1.3;
    font-weight: normal;
    position: relative;
    padding-left: 1.3em;/*アイコン分のスペース*/
}
#book h2:before {
    font-family: "Font Awesome 5 Free";
    content: "\f02d";/*アイコンのユニコード*/
    position: absolute;/*絶対位置*/
    font-size: 1.1em;/*サイズ*/
    left: 0.1em;/*アイコンの位置*/
    top: -0.1em;/*アイコンの位置*/
    color: #fff; /*アイコン色*/
    font-weight: bold;
}
#news h2:before {
    font-family: "Font Awesome 5 Free";
    content: "\f14e";/*アイコンのユニコード*/
    position: absolute;/*絶対位置*/
    font-size: 1.1em;/*サイズ*/
    left: 0.1em;/*アイコンの位置*/
    top: -0.1em;/*アイコンの位置*/
    color: #fff; /*アイコン色*/
    font-weight: normal;
}

img{
	max-width: 100%;
	height: auto;

}
section{
	clear: both;
}


.inner{
	width: 80%;
	max-width: 1000px;
	margin: 0 auto;
	padding-bottom: 10px;

}
.innerS{
	width: 60%;
	max-width: 750px;
	margin: 0 auto;
	padding-bottom: 10px;

}
span.name_p{
    font-size: 1.5em;
    font-weight: bold;
}

#top{

	background-image: url("../images/mainImg.jpg");
	background-position: top left;
	background-repeat: no-repeat;
	background-attachment: fixed;
	background-size: 82% auto;
	background-color: #000;
}
#book{
	position: fixed;
	bottom: 30px;
	left: 3%;
	width: 40%;
}
#book p{
	color: #fff;
	font-size: 1em;
	line-height: 1.5;
}
#book a{
	color: #fff;
	text-decoration: underline;
}
#book img{
	height: 200px;
	width: auto;
    margin-right: 15px;
}

#news{
	position: fixed;
	bottom: 30px;
	right: 23%;
	max-width: 500px;
	width: 33%
}

#news p{
	color: #fff;
	font-size: 1.1em;
	line-height: 1.5;
}
#news a{
	color: #fff;
}
#news #footer{
	color: #fff;
	padding: 5px 0px 0px 0;
	text-align: right;
	line-height: 1.2;
}
#news #footer a{
	color: #fff;
}
#book a:hover, #book .active, #news a:hover, #news .active, #news #footer a:hover, #news #footer .active{
	color: #ff6600;
}
.photo_left{
	float: left;
	width: 70%;
}
.photo_right{
	float: right;
	width: 28%;
}
.photo_l{
	float: left;
	width: 32%;
    margin-right: 2%;
}
.photo_r{
	float: right;
	width: 32%;
}
/*ボックス全体*/
.photo_accbox {
    margin: 0;
    padding: 0;
}
/*ラベル*/
.photo_accbox label {
    display: block;
    margin: 1.5px 0;
    padding : 3px 5px;
    color: #0066ff;
    font-weight: bold;
    background: #f1d9d7;
    cursor :pointer;
    transition: all 0.5s;
    font-size: 1em;
}
/*アイコンを表示*/
.photo_accbox label:before {
    content: '\f07c';
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    color: #333333;
    padding-right: 0.2em;
}
.photo_accbox label.no_list {
    padding-left: 1.65em;
}
.photo_accbox label.no_list:before {
    display: none;
}
/*ラベルホバー時*/
.photo_accbox label:hover {
    color: #ff6600;;
}
/*チェックは隠す*/
.photo_accbox input {
    display: none;
}
/*中身を非表示にしておく*/
.photo_accbox .photo_accshow {
    height: 0;
    padding: 0;
    overflow: hidden;
    opacity: 0;
    transition: 0.8s;
}
/*クリックで中身表示*/
.photo_cssacc:checked + label + .photo_accshow {
    height: auto;
    padding: 0 0 0 0px;
    opacity: 1;
}
.photo_accbox .photo_accshow p {
    margin: 3px 0px;
    padding: 1px 5px 1px 25px;
    background: #ddd;
}
span.geo100, span.geopark, span.geo100_p, span.geopark_p{
    display: inline-block;
	padding: 0px 3px;
	font-weight: normal;
	color: #fff;
	border-radius: 7px;
}
span.geo100, span.geopark{
    position: relative;
    cursor: pointer;
    margin: 0 0 0 5px;
    font-size: 0.8em;
}
span.geo100, span.geo100_p{
	background: #000080;
}
span.geopark, span.geopark_p{
	background: #376d1d;
}
.description {
    display: none;
    position: absolute;
    cursor: default;
    padding: 7px;
    font-size: 0.8em;
    line-height: 1.4em;
    text-align: center;
    color: #fff;
    border-radius: 5px;
    background: #333333;
    width: 90px;
}
.description:before {
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    border: 10px solid transparent;
    border-top: 10px solid #333333;
    margin-left: -10px;
}
span.geo100:hover .description, span.geopark:hover .description{
    display: inline-block;
    bottom: 40px;
    left: -35px;
}


.pro1_left{
	float: left;
	width: 30%;
	text-align: center;
}
.pro1_right{
	float: right;
	width: 68%;
}
.pro2_left{
	float: left;
	width: 40%;
	text-align: center;
}
.pro2_right{
	float: right;
	width: 58%;
}

#map{

	position: relative;

	padding-bottom: 75%;
	height: 0;
	overflow: hidden;
	z-index: 0;
	margin-bottom: 15px;

}
#map iframe{

	position: absolute;
	top: 0;
	left: 0;
	width: 100% !important;
	height: 100% !important;
	border: 0;

}

ul.pmenu, ul.pmenu_s, ul.pmenu_404 {
	background: #ececec;
	margin: 10px 0 30px;
	padding: 10px;
	position: relative;
	font-size: 1.2em;
	font-weight: bold;
	color: #8e1728;
}
ul.pmenu li, ul.pmenu_s li, ul.pmenu_404 li {
	list-style-type: none !important;
	display: inline;
	white-space:nowrap;
	margin: 0 20px 0 10px;
}
ul.pmenu li a, ul.pmenu_s li a, ul.pmenu_404 li a{
	color: #8e1728;
}
ul.pmenu li a:hover, ul.pmenu li .active, ul.pmenu_s li a:hover, ul.pmenu_s li .active, ul.pmenu_404 li a:hover, ul.pmenu_404 li .active{
	color: #ff6600;
}
ul.pmenu li:before, ul.pmenu_s li:before {
	font-family: "Font Awesome 5 Free";
	content: "\f13a";/*アイコンの種類*/
	position: relative;
	right: 5px;
}
ul.pmenu_404 li:before {
	font-family: "Font Awesome 5 Free";
	content: "\f138";/*アイコンの種類*/
	position: relative;
	right: 5px;
}
ul.stepflow {
	border: none;
	margin: 10px 0 25px;
	padding: 0;
	list-style: none;
}
ul.stepflow > li:before, ol.stepflow > li:before {
	background-color:#aaa!important;
}
.stepflow li {
    position: relative;
    padding: 0 0 3px 20px;
}
.stepflow>li:before {
	content: "";
	width: 3px;
	background: #aaa;
	display: block;
	position: absolute;
	top: 28px;
	bottom: 0;
	left: 5px;
}
.stepflow-p {
	content: '';
	display: inline-block;
	position: absolute;
	top: 9px;
	left: 1px;
	width: 5px;
	height: 5px;
	border-radius: 50%;
	border: solid 3px #8e1728;
	background-color: #8e1728;
}
.stepflow_label {
	padding: 3px 0px 4px 0px;
	font-size: 0.9em;
	font-weight: bold;
}
.stepflow_title {
	font-size: 1em;
	font-weight: bold;
	line-height: 1.5;
}
.stepflow_content {
	font-size: 0.9em;
	line-height: 1.5;
	padding: 0 0 5px;
	border-bottom: dashed 2px #aaa;
}

#topbutton {
	z-Index:15;
	position: fixed;
	bottom: 5px;
	right: 21%;
	display: none;   /* 最初は非表示にしておく */
}
#topbutton img {
	height: 50px;
	width: 50px;
}
.e404_l{
	float: left;
	width: 30%;
	text-align: center;
}
.e404_r1{
	float: right;
	width: 68%;
}
span.new {
	background: red;
	padding: 2px 5px;
	margin: 0 0 0 5px;
	font-size: 0.8em;
	font-weight: normal;
	color: #fff;
	border-radius: 5px;
}

.article{
	clear: both;
	overflow: hidden;
}
.article p{
	margin-bottom: 20px;
}
.article p.c_list{
	margin: 10px 0px;
	text-align: center;
	font-size: 1.1em;
	font-weight: bold;
}
span#redb{
	color: red;
	font-weight: bold;
}
p.right{
	text-align: right;
}
.view{
    width: 94%;
    margin: 0 auto 15px;
	background: #EFEFDC;
    padding: 3px;
}
a.doi{
	background: #8e1728;
	padding: 2px 5px;
	margin: 0px;
	font-size: 0.9em;
	font-weight: normal;
	color: #fff;
	border-radius: 3px;
}
a.doi:hover, a.doi:active{
	background: #dc2740;
}

/* 研究室受賞歴
------------------------------------------------------------*/
span.a_time{
	font-size: 1em;
    margin-left: 5px;
    position: relative;
    padding-left: 1.2em;/*アイコン分のスペース*/
}
span.a_time:before {
    font-family: "Font Awesome 5 Free";
    content: "\f073";/*アイコンのユニコード*/
    font-weight: bold;
    position: absolute;/*絶対位置*/
    font-size: 1em;/*サイズ*/
    left: 0.1em;/*アイコンの位置*/
    top: -0.35em;/*アイコンの位置*/
}
span.a_belong{
	font-size: 1em;
    margin-left: 5px;
    position: relative;
    padding-left: 1.5em;/*アイコン分のスペース*/
}
span.a_belong:before {
    font-family: "Font Awesome 5 Free";
    content: "\f2bb";/*アイコンのユニコード*/
    font-weight: bold;
    position: absolute;/*絶対位置*/
    font-size: 1em;/*サイズ*/
    left: 0.1em;/*アイコンの位置*/
    top: -0.35em;/*アイコンの位置*/
}
span.award{
	font-size: 1.1em;
    margin-left: 5px;
	font-weight: bold;
    position: relative;
    padding-left: 1.1em;/*アイコン分のスペース*/
}
span.award:before {
    font-family: "Font Awesome 5 Free";
    content: "\f559";/*アイコンのユニコード*/
    font-weight: bold;
    position: absolute;/*絶対位置*/
    font-size: 1.1em;/*サイズ*/
    left: 0.1em;/*アイコンの位置*/
    top: -0.5em;/*アイコンの位置*/
    color: #8e1728; /*アイコン色*/
}

/* 地学を学べる学校
------------------------------------------------------------*/
.school_pref {
	display: -webkit-flex;
	display: flex;
	-webkit-flex-flow: row wrap;
	flex-flow: row wrap;
	margin-bottom: 15px;
}
.school{
	display: -webkit-flex;
	display: flex;
	-webkit-align-items: center;
	align-items: center;
	text-align: left;
	vertical-align: middle;
	width: 29%;
	margin: 0 5px 5px 0;
	padding: 10px 1%;
	border:solid 1px #333;
	font-size: 1em;
	line-height: 1.5;
}
/* ジオパーク
------------------------------------------------------------*/
.geosite_list {
	display: -webkit-flex;
	display: flex;
	-webkit-flex-flow: row wrap;
	flex-flow: row wrap;
	margin-bottom: 15px;
}
span.gs_legend1, span.gs_legend2{display: inline-block;
	padding: 0px 5px;
	margin: 0 5px 0 0;
	font-weight: normal;
	border-radius: 3px;
}
span.gs_legend1{
	color: #FFF;
}
span.gsmp_c1{
	background: #c2185b;
}
span.gsmp_c2{
	background: #f57c00;
}
span.gsmp_c3{
	background: #0f9d58;
}
span.gsmp_c4{
	background: #3949ab;
}
.geosite_list a{
	width: 31%;
	margin: 0 5px 5px 0;
	padding: 0;
	border:solid 1px #333;
	border-radius: 5px;	
	font-size: 1em;
	line-height: 1.5;
}
.geosite_list a.gslist_c1, span.le_c1{
	background: #f5b1cc;
}
.geosite_list a.gslist_c2, span.le_c2{
	background: #ffd3a8;
}
.geosite_list a.gslist_c3, span.le_c3{
	background: #b4f8d7;
}
.geosite_list a.gslist_c4, span.le_c4{
	background: #c5caeb;
}
.geosite_list a:hover, .geosite_list .active {
	-webkit-transition: 0.5s;
	transition: 0.5s;
	background: #ffefbf;
}
.geosite_list a:hover.gslist_c1, .geosite_list .active.gslist_c1 {
	background: #ea5791;
}
.geosite_list a:hover.gslist_c2, .geosite_list .active.gslist_c2 {
	background: #ffad5b;
}
.geosite_list a:hover.gslist_c3, .geosite_list .active.gslist_c3 {
	background: #3fed99;
}
.geosite_list a:hover.gslist_c4, .geosite_list .active.gslist_c4 {
	background: #7985d2;
}
.geosite_list .geosite h4{
	margin: 5px 5px 0;
	font-weight: bold;
	font-size: 1.1em;
	text-align: center;
}
.geosite_list a .geosite h4{
	color: #333;
}
.geosite_list a:hover .geosite h4, .geosite_list .active .geosite h4{
	color: #333;
}
.geosite_list .geosite figure#gs img {
	width: 46%;
	margin: 5px 2% 0px;
	height: auto;
	object-fit: cover;
}
.geosite_list a .geosite figure#gs figcaption, .geosite_list a:hover .geosite figure#gs figcaption, .geosite_list .active .geosite figure#gs figcaption{
	font-weight: normal;
	font-size: 0.9em;
	margin: 0 5px 5px;
	color: #333;
}
.geosite_score h4{
	margin: 0;
	font-weight: bold;
	font-size: 1.1em;
	color: #333;
}
.geosite_score p{
	margin: 0;
}
.geosite_score p span{
	display: inline-block;
	overflow: hidden;
	margin: 0;
	padding: 0;
	font-weight: bold;
	text-align: center;
	color: #FFF;
}
.geosite_score span.gssc_10{
	width: 3.6%;
}
.geosite_score span.gssc_13{
	width: 4.8%;
}
.geosite_score span.gssc_17{
	width: 6.0%;
}
.geosite_score span.gssc_20{
	width: 7.2%;
}
.geosite_score span.gssc_23{
	width: 8.4%;
}
.geosite_score span.gssc_27{
	width: 9.6%;
}
.geosite_score span.gssc_30{
	width: 10.8%;
}
.geosite_score span.gssc_33{
	width: 12.0%;
}
.geosite_score span.gssc_37{
	width: 13.2%;
}
.geosite_score span.gssc_40{
	width: 14.4%;
}
.geosite_score span.gssc_total{
	width: 13.6%;
	font-weight: normal;
	text-align: left;
	color: #333;
}
.geosite_score span.gssc_Vsc{
	background: #00b050;
}
.geosite_score span.gssc_Vcs{
	background: #92d050;
}
.geosite_score span.gssc_Ved{
	background: #0070c0;
}
.geosite_score span.gssc_Vsa{
	background: #00b0f0;
}
.geosite_score span.gssc_Vtr{
	background: #ff0000;
}
.geosite_score span.gssc_Vti{
	background: #ffc000;
}



.geosite_left {
	float: left;
	width: 40%;
	margin-bottom: 15px;
}
.geosite_left img{
	width: 100%;
	height: auto;
}
.geosite_right {
	width: 59%;
	float: right;
	margin-bottom: 15px;
}

/* table
------------------------------------------------------------*/

table{
	text-align: center;
	vertical-align: middle;
	border-left: 1px solid #ccc;
}
table thead th{
	font-weight: bold;
	border-top: 1px solid #ccc;
	border-right: 1px solid #ccc;
	border-bottom: 2px solid #b11c31;
	background: #dcdcd1;
	padding: 0 5px;
}
table tbody th{
	font-weight: bold;
	border-right: 1px solid #ccc;
	border-bottom: 1px solid #ccc;
	background: #ececec;
	padding: 0 5px;
}
table tbody td{
	text-align: left;
	border-right: 1px solid #ccc;
	border-bottom: 1px solid #ccc;
    background: #FFF;
	padding: 0 5px;
}
table.history{
	width: 100%;
}
table.history th{
	width: 120px;
}
table.history,table.history th,table.history td{
	background-color: transparent;
	text-align: left;
	vertical-align: top;
	font-weight: normal;
	border: none;
	padding: 0;
}
table.news th{
	width: 65px;
}
table.news, table.news th, table.news td{
	background-color: transparent;
	text-align: left;
	vertical-align: top;
	border: none;
	color: #fff;
	font-weight: normal;
	line-height: 1.2;
	padding: 0;
}
table.member{
	margin: 0 auto;
}
table.member tbody th{
	width: 80px;
}
table.member tbody td.name{
	width: 96px;
	text-align: center;
	font-weight: bold;
}
table.photo1{
	width: 100%;
}
table.photo1 tbody th{
	width: 34%;
}
table.photo1 tbody td{
	width: 33%;
	text-align: center;
}
table.photo2{
	width: 100%;
}
table.photo2 tbody th{
	width: 100%;
}
table.book{
	margin: 0 auto;
	border: 2px solid #ccc;
}
table.book tbody th{
	width: 65px;
}
table.book tbody td{
	width: auto;
}
table.book tbody th.title, table.book tbody td.title{
	border-top: 2px solid #ccc;
}
table.book tbody td.img{
	width: 120px;
	text-align: center;
	vertical-align: middle;
	padding: 10px;
	border-right: 2px solid #ccc;
	border-bottom: 2px solid #ccc;
	border-top: 2px solid #ccc;
}
table.book tbody td.img img{
	margin: 0;
	padding: 0;
	width: 100%;
}
table.research{
	margin: 0 auto;
	width: 100%;
	max-width: 460px;
	border: none;
}
table.research td{
	width: 50%;
	max-width: 230px;
	padding: 0 10px;
	vertical-align: top;
	border: none;
}
table.research td.img{
	text-align: center;
	vertical-align: middle;
	margin: 0;
	padding: 0 10px;
}
table.research td img{
	width: 200px;
	margin: 0;
	padding: 0;
}
table.geosite_table{
	width: 100%;
}
table.geosite_table, table.geosite_table th, table.geosite_table td{
	border: 1px solid #333;
}
table.geosite_table tr.title, table.geosite_table tr.title th, table.geosite_table tr.title td{
	background: #ffff99;
	text-align: center;
	font-weight: bold;
}
table.geosite_table th{
	text-align: center;
	font-weight: bold;
	width: 30px;
}
table.geosite_table td{
	text-align: left;
	font-weight: normal;
}
table.geosite_table td.score{
	text-align: center;
	font-weight: normal;
	width: 40px;
}
table.geosite_table th.Ved, table.geosite_table th.Vsa{
	background: #ccffff;
}
table.geosite_table th.Vsc, table.geosite_table th.Vcs{
	background: #ccffcc;
}
table.geosite_table th.Vtr, table.geosite_table th.Vti{
	background: #ffcc99;
}
table.geosite_table tr.total, table.geosite_table tr.total th, table.geosite_table tr.total td{
	background: #ececec;
	text-align: center;
	font-weight: bold;
}
table.geosite_table tr.total th{
	text-align: right;
	padding: 0 10px 0 0;
}
/* RESPONSIVE 設定
------------------------------------------------------------*/
@media only screen and (min-width: 800px){
body{
	font-size:0.9em;
}
#wrapper{
	width: 100%;
}
#content{
	width: 80%;
}
#sidebar{
	width: 17%;
	height: 100%;
	position: fixed;
	padding: 0px 0px 0px 3%;
	top: 0;
	right: 0;
	background: #8e1728;
}
a#menu{
	display:none;
}
.panel{
	display:block !important;
}
#sidebar h1{
	padding: 20px 0 0 0;
}
#mainnav li{
	font-size: 1em;
	padding: 2px 0;
}
ul.pmenu_s {
	display:none;
}
#news {
	background-color: rgba(0,0,0,0.4);
}
/*縦が狭い時用の設定
*/
	@media only screen and (max-height: 480px){
	#book img{
		width: 130px;
	}

	#mainnav li{
		padding: 0;
	}
	}
	@media only screen and (max-height: 420px){
	#book, #news{	
		bottom: 10px;
	}
	#book img{
		width: 115px;
	}
	#mainnav li{
		font-size: 0.9em;
	}
	#sidebar h1{
		font-size: 1.6em;
	}
	}
	@media only screen and (max-height: 360px){
	#book{
		display:none;
	}
	
#mainnav li{
		font-size: 0.8em;	
	}
	#sidebar h1{
		font-size: 1.4em;
	}
	}
	@media only screen and (max-height: 320px){
	#news p, table.news{
		display:none;
	}
	#sidebar h1{
		font-size: 1em;
		padding: 5px 0 0 0;
	}
	}
}

@media only screen and (min-width: 1440px){
#title h1{
	font-size: 3em;
}
#title h2{
	font-size: 1.8em;
}
#title h3{
	font-size: 1.2em;
}
#news p,table.news{
	font-size: 1.3em;
}
#footer{
	font-size: 0.8em;

}



/*縦が狭い時用の設定
*/
	@media only screen and (max-height: 480px){
	#book img{
		width: 120px;
	}
	}
	@media only screen and (max-height: 420px){
	#book img{
		width: 100px;
	}
	}
	@media only screen and (max-height: 360px){
	#book{
		display:none;
	}
	}
}

@media only screen and (min-width: 1880px){
#title h1{
	font-size: 3.5em;
}
#title h2{
	font-size: 2.1em;
}
#title h3{
	font-size: 1.4em;
}
#news p,table.news{
	font-size: 1.5em;
}
#footer{
	font-size: 0.9em;

}



/*縦が狭い時用の設定
*/
	@media only screen and (max-height: 500px){
	#book img{
		width: 120px;
	}
	}
	@media only screen and (max-height: 440px){
	#book img{
		width: 100px;
	}
	}
	@media only screen and (max-height: 390px){
	#book{
		display:none;
	}
	}
}

@media only screen and (max-width: 640px){
.innerS{
	padding-bottom: 5px;
}
.inner{
	padding-bottom: 5px;
}
.pro1_left{
	float: none;
	width: 100%;
}
.pro1_right{
	float: none;
	width: 100%;
}
.pro2_left{
	float: none;
	width: 100%;
}
.pro2_right{
	float: none;
	width: 100%;
}
.school{
	width: 45.5%;
	padding: 5px 1%;
}
.geosite_list a{
	width: 47%;
}
.geosite_left, .geosite_right {
	float: none;
	width: 100%;
	margin-bottom: 10px;
}
.geosite_left img.photo{
	width: 57.1%;
	height: auto;
}
.geosite_left img.chart{
	width: 42.9%;
	height: auto;
}
table.photo1 td::before {
	content: attr(data-label);
 	float: left;
 	font-weight: bold;
}
table.history th{
	width: 113px;
}
table.member{
	border: none;
}
table.member thead th{
	display: none;
}
table.member tbody th, table.member tbody td, table.member tbody td.name{
	width: 96%;
	display: block;
	margin: 0 auto;
	border: none;
	border-right: 1px solid #ccc;
	border-left: 1px solid #ccc;
	border-bottom: 1px solid #ccc;
}
table.member tbody th.top{
	border-top: 1px solid #ccc;
}
table.member tbody td.space{
	display: none;
}
table.photo1{
	border: none;
}
table.photo1 thead th{
	display: none;
}
table.photo1 tbody tr{
	display: block;
	margin-bottom: 5px;
}
table.photo1 tbody th{
	width: 96%;
	border: 1px solid #ccc;
	display: block;
	padding: 5px;
	text-align: center;
	margin: 0 auto;
}
table.photo1 tbody td{
	width: 96%;
	border-right: 1px solid #ccc;
	border-left: 1px solid #ccc;
	border-bottom: 1px solid #ccc;
	display: block;
	padding: 0 5px;
	text-align: right;
	margin: 0 auto;
}
table.photo1 tbody td.space{
	display: none;
}
table.photo2{
	border: none;
}
table.photo2 thead th{
	display: none;
}
table.photo2 tbody tr{
	display: block;
	margin-bottom: 5px;
}
table.photo2 tbody th{
	width: 96%;
	border: 1px solid #ccc;
	display: block;
	padding: 5px;
	text-align: center;
	margin: 0 auto;
}
table.book tbody th{
	width: 58px;
}
table.book tbody td.img{
	width: 100px;
	padding: 2px;
}
.e404_l{
	float: none;
	width: 50%;
	text-align: center;
	margin: 0 auto;
}
.e404_r1{
	float: none;
	width: 100%;
}
}



@media print, only screen and (max-width: 799.9px){

.inner{
	width: 100%;
}
.innerS{
	width: 100%;
}
#content{
	width: 94%;
	margin: 0 auto;
}
#sidebar{
	position: static;
	width: 100%;
	z-index: 500;
}
#sidebarWrap{
	position: relative;
	width: 100%;
	height: 60px;
	background: #8e1728;
	border-bottom: 1px solid #333;
}
#sidebar h1{
	text-align: center;
	padding-top: 13px;
	font-size: 1.4em;
}
#sidebar h1 img{
	width: auto !important;
	max-height: 25px;
}
#topbutton {
	right: 15px;
}
a#menu{
	display: inline-block;
	position: relative;
	width: 40px;
	height: 40px;
	margin: 10px;
}
#menuBtn{
	display: block;
	position: absolute;
	top: 50%;
	left: 50%;
	width: 18px;
	height: 2px;
	margin: -1px 0 0 -7px;
	background: #fff;
	transition: .2s;
}
#menuBtn:before, #menuBtn:after{
	display: block;
	content: "";
	position: absolute;
	top: 50%;
	left: 0;
	width: 18px;
	height: 2px;
	background: #fff;
	transition: .3s;
}
#menuBtn:before{
	margin-top: -7px;
}
#menuBtn:after{
	margin-top: 5px;
}
a#menu .close{
	background: transparent;
}
a#menu .close:before, a#menu .close:after{
	margin-top: 0;
}
a#menu .close:before{
	transform: rotate(-45deg);
	-webkit-transform: rotate(-45deg);
}
a#menu .close:after{
	transform: rotate(-135deg);
	-webkit-transform: rotate(-135deg);
}
.panel{
	width: 100%;
	display: none;
	overflow: hidden;
	position: relative;
	left: 0;
	top: -10px;
	z-index: 100;
}
#mainnav{
	position: absolute;
	top: 0;
	width: 100%;
	text-align: right;
}
#mainnav ul{
	border-bottom: 1px solid #ccc;
	background: #8e1728;
	text-align: left;
}
#mainnav li a{
	position: relative;
	display: block;
	padding: 5px 25px;
	border-bottom: 1px solid #ccc;
	color: #fff;
}
#mainnav li a:before{
	display: block;
	content: "";
	position: absolute;
	top: 50%;
	left: 5px;
	width: 6px;
	height: 6px;
	margin: -4px 0 0 0;
	border-top: solid 2px #fff;
	border-right: solid 2px #fff;
	-webkit-transform: rotate(45deg);
	transform: rotate(45deg);
}
#sec h1{
	margin: 5px auto 15px auto;
}

#top{
	background: #fff;

}
#top{

	background-image: url("../images/mainImg.jpg");
	background-position: center center;
	background-repeat: no-repeat;
	background-attachment: fixed;
	background-size: cover;
	background-color: #000;
}
#title{
	position: static;
	top: 65px;
	left: 5px;
	margin: 10px 0px 50px;
}
#title h1{
	font-size: 1.7em;
}
#title h2{
	font-size: 1.4em;
}
#title h3{
	font-size: 1em;
}

#book{
	position: static;
	margin: 0px 0px 30px;
	width: 100%;
}
#book p{
	font-size: 1em;	
}
#book img{
	
}


#book a{
	text-decoration: underline;
	text-align: center;
}

#news{
	position: static;
	margin: 0px;
	max-width: initial;
	width: 100%;
}

#news p{
	font-size: 1em;
}
#news #footer{
	clear: both;
	padding: 10px 10px 10px 0;
	text-align: center;
	font-size: 0.8em;
}
.photo_l{
	float: none;
	width: 100%;
    margin: 0 0 15px 0;
}
.photo_r{
	float: none;
	width: 100%;
}
.photo_left{
	float: none;
	width: 100%;
}
.photo_right{
	float: none;
	width: 100%;
	padding: 15px 0 0 0;
}
}



@media print{
.innerS{
	width: 94%;
}
.inner{
	width: 94%;
}
#topbutton {
	display: none !important;
}
}
