@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.gnav,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.gnav,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 {
	font-size: 15px;
	font-family: "メイリオ",Meiryo,"ヒラギノ角ゴ Pro W3","Hiragino Kaku Gothic Pro",Osaka,"ＭＳ Ｐゴシック","MS PGothic",sans-serif;
	line-height: 1.6;
	-webkit-text-size-adjust: 100%;
}
#paper table {
/*Androidブラウザフォントバグ対策*/
	max-height:  100%;
}
#contents {
	width: 980px;
	margin: 0 auto;
}

header + #contents {
	padding-top: 70px;
}
/*表を狭く表示する為追加　add-M*/
#contentsnrw {
	width: 700px;
	margin: 0 auto;
}

header + #contentsnrw {
	padding-top: 70px;
}
/*表を狭く表示する為追加　ここまで　add-M*/
.spacein {/*行スペースをいれるためのクラス　add-M*/
	height:10px;
}
.spaceinem {/*行スペースをいれるためのクラス　add-M*/
	height:35px;
}
.spaceinadd {/*行スペースをいれるためのクラス　add-M*/
	height:0px;
}
@media screen and (max-width: 568px) {
    .spaceinadd{/*行スペースをいれるためのクラス　add-M*/
	height:10px;
    }
}
.danrakusp {/*テキストのインデント　add-M*/
	text-indent: 2em;
}
.line-h-narrow {/*行間狭く*/
	line-height: 1.2;
}
.inner {
	position: relative;
	width: 980px;
	margin: 0 auto;
}

a {
	color: #043771;
}
a:hover {
	color: #144d8d;
}

h1 {
	font-size: 28px;
}
h2 {
	margin-top: 50px;
	margin-bottom: 0.5em;
	font-size: 28px;
	/*color: #333;変更　add-M*/
	color: #404058;
	text-align: center;
	line-height: 1.0;
}

h2 span {
	position: relative;
	font-size: 12px;
}

h2 span:before {
	position: absolute;
	top: 50%;
	left: -20px;
	z-index: 1;
	content: '';
	display: block;
	width: 1em;
	margin-top: -1px;
	border-top: 1px solid #404058;
	/*border-top: 1px solid #333;変更　add-M*/
}

h2 span:after {
	position: absolute;
	top: 50%;
	right: -20px;
	z-index: 1;
	content: '';
	display: block;
	width: 1em;
	margin-top: -1px;
	border-top: 1px solid #404058;
	/*border-top: 1px solid #333;変更　add-M*/
}

h3 {
	margin-bottom: 0.25em;
	font-size: 20px;
}
h3 span {
	position: relative;
	font-size: 12px;
}
h4 {
	margin-top: 0.25em;
	margin-bottom: 0.25em;
	font-size: 16px;
	font-weight: bold;
}

h5 {
	margin-bottom: 0.25em;
	padding-left: 25px;
	font-size: 20px;
	background: url('../images/bg_arrow_black.png') 0 50% no-repeat;
}

h6 {
	margin-bottom: 0.25em;
	padding-left: 5px;
	font-size: 16px;
	font-weight: bold;
}

p {
	margin:0 0 0 0;
}

img {
	max-width: 100%;
	vertical-align: bottom;
}
.boxtitle {/*タイトル用囲み枠　add-M　追加*/
    padding: 0.5em 1em;
    margin: 2em 0 5px 0;
    color:  #404058;
    background: white;
    border-left: solid 5px #5d627b;
    box-shadow: 0 3px 5px rgba(0, 0, 0, 0.22);
}
.jisage{/*add-M　追加*/
	padding-left:1em;
	text-indent:-1em;
}
.eng-font {/*add-M　追加*/
	font-family: "Times New Roman";
	font-size: 17px;
}
.bold-font{/*add-M　追加*/
	font-weight: bold;
}

.font-small{
	font-size: 12px;
}
.engori{/*add-M　英単語途中で折り返し追加*/
	word-break: break-all;
}
.headerhosoku {/*add-M　追加*/
	margin-top:1em;
	color:#fff;
	font-size:14px;
}
em {
	font-weight: bold;
	font-style: oblique;
}

strong {
	font-weight: bold;
	color: #ff0000;
}

pre {
	margin:1em 0;
	padding:1em;
}

blockquote {
	margin-bottom: 1em;
	padding: 1em;
	border: 1px dotted #ddd;
	border-left: 5px solid #ddd;
}

ul,ol,dl {
	margin: 0 0 1em 0;
}
ul li {
	list-style: disc;
}
ol li {
	list-style: decimal;
}
li {
	margin-left: 2em;
}
.lstnormal{/*・なしリスト　add-M追加*/
	list-style-type: none;
}
.lstkasen > li{/*リストに点線下線　add-M追加*/
	list-style-type : disc;
	padding:10px 10px;
	border-bottom:1px  dotted #404058;
}
/*リストに括弧つき数字　add-M追加*/
ol.list_parentheses li{
  list-style-type:none;
  list-style-position:inside;
  counter-increment: cnt;
}
ol.list_parentheses li:before{
  display: marker;
  content: "(" counter(cnt) ") ";
}

dt {
	margin-bottom: 0.5em;
	border-bottom: 1px dotted #ddd;
}
dd {
	margin-bottom: 1em;
}

table {
	width: 100%;
	margin-bottom: 1em;
	border-collapse: collapse;
	border: 1px solid #ddd;
}
th {
	padding: 10px;
	text-align: center;
	vertical-align: middle;
	border: 1px solid #ddd;
	/*background: #f1f1f1;　変更　add-M*/
	background: #f1f1f9;
}
td {
	padding: 10px;
	text-align: left;
	border: 1px solid #ddd;
}

/*=========下に点線のみのテーブル　add-M=================*/
.kasen table {
	border:none;
}
.kasen td {
	border:none;
	border-bottom: 1px dotted #404058;
}
.kasenfno td:nth-child(1){
	border:none;
}
/*=========線無、行幅狭いテーブル　add-M=================*/
.narrowt table {
	border:none;
}
.narrowt td {
	border:none;
	padding:2px;
}
.colthree tr td:nth-child(1) {/*左列幅のみ固定*/
  width:1em;
}
.colfive tr td:nth-child(1) {/*左列幅のみ固定*/
  width:5em;
}
.coleight tr td:nth-child(1) {/*左列幅のみ固定*/
  width:8em;
}
.coleleven tr td:nth-child(1) {/*左列幅のみ固定*/
  width:11em;
}
.coltwelve tr td:nth-child(1) {/*左列幅のみ固定*/
  width:12em;
}
.colsec tr td:nth-child(1) {/*1列目のみ固定*/
  width:7em;
}
.colsectwelve tr td:nth-child(2) {/*左列幅のみ固定*/
  width:12em;
}
.colthirfort tr td:nth-child(2) {/*2列目のみ固定*/
  width:14em;
}
.colseceite tr td:nth-child(2) {/*2列目のみ固定*/
  width:18em;
}
.colthireite tr td:nth-child(3) {/*3列目のみ固定*/
  width:18em;
}

@media screen and (max-width: 568px) {
 .colsectwelve tr td:nth-child(2) {/*列幅解除*/
  width:auto;
 }
}

/*=========テーブル行カウンター　add-M=================*/
.tableno {
  counter-reset: rowCount;
}

.tableno > tbody > tr {
  counter-increment: rowCount;
}

.tableno > tbody > tr > td:first-child::before {
  content: counter(rowCount);
}
/*=========テーブル行最初の列に・を入れる　add-M=================*/
.tabledisc > tbody > tr > td:first-child::before {
  content: "\02022";
}
/*=========文字用box　add-M=================*/
.simple-box {
    background-color: #e0e0e8;
    margin: 0;
    padding: 1em;
}
.simple-box2 {
    margin: 0;
    padding: 1em 2em;
}
.simple-box3 {
    background-color: #e0e0e8;
    margin: 0 0 0 50px;
    padding: 1em;
    font-size: 12px;
}
.engttl-box{
    margin: 0;
    padding: 2em 0;
}
.backcolor{
    background-color: #e0e0e8;
}
.box4{
    margin:4em 0;
    position: relative;
    padding: 1em 1em;
    border: solid 2px #d0d0d8;
    border-radius: 3px 0 3px 0;
}
.box4:before,.box4:after
{
    content: '';
    position: absolute;
    width:10px;
    height: 10px;
    border: solid 2px #d0d0d8;
    border-radius: 50%;
}
.box4:after {
    top:-12px;
    left:-12px;
}
.box4:before {
    bottom:-12px;
    right:-12px;
}
.box4 p {
    margin: 0;
    padding: 0;
}
/* トリプル　囲み枠 */
.kakomi-triple1 {
 position: relative;
 border: 1px solid #606068; /*左枠線*/
 width: 90%;
 margin: 2em auto;
 padding: 20px 15px 15px 20px;
 z-index: 0;
}
.kakomi-triple1::before,
.kakomi-triple1::after {
 position: absolute;
 content: '';
 width: 100%;
 height: 100%;
}
.kakomi-triple1::before {
 border: 1px solid #909068; /*中枠線*/
 bottom: -4px;
 right: -4px;
 z-index: 1;
}
.kakomi-triple1::after {
 border: 1px solid #d0d0d8; /*右枠線*/
 bottom: -7px;
 right: -7px;
 z-index: 2;
}
/*=========テーブルスマホ対応　add-M=================*/

/*=========スマホでは表を列を縦に並べて表示====*/
@media screen and (max-width: 568px) {
  .tbl-tate {
    width: 100%;
  }
  .tbl-tate .thead {
    display: none;
  }
  .tbl-tate tr {
    width: 100%;
  }
  .tbl-tate td {
    display: block;
    text-align: left;
  }
  .tbl-tate td:first-child {
    background: #f1f1f1;
    color: #000000;
    text-align: center;
  }
 .tbl-tate tr td:nth-child(n) {/*列幅解除*/
  width:auto;
 }
/*ただ縦に並べるだけ*/
  .tbl-tatepl {
    width: 100%;
  }
  .tbl-tatepl .thead {
    display: none;
  }
  .tbl-tatepl tr {
    width: 100%;
  }
  .tbl-tatepl td {
    display: block;
    text-align: left;
  }
 .tbl-tatepl tr td:nth-child(n) {/*列幅解除*/
  width:auto;
 }

 .tablepadding {
   padding-left:20px;
 }
}
/*=========テーブルスマホ対応　add-M===============*/

/*================================================
 *  汎用クラス
 ================================================*/
/* 中央寄せ */
.center {
	text-align: center;
}

/* 左寄せ */
.left {
	text-align: left;
}

/* 右寄せ */
.right {
	text-align: right;
}

/* 中央寄せの中で要素を左から並べる　　add-M　追加 */
.innerC{
  display: inline-block;
  text-align: left;
  padding: 10px;
}
.cb{/* float解除　　add-M　追加 */
	clear: both;
}
@media screen and (max-width:767px) {
	.cbscreen{
		clear: both;
	}

}

/* 写真中央寄せ */
.imgC {
	clear:both;
	overflow:hidden;
	margin: 0 auto 50px auto;
	margin-bottom:50px;
	text-align:center;
}
.imgC img {
	margin-bottom:10px;
}

/* 写真左寄せ */
.imgL {
	clear:both;
	overflow:hidden;
	margin-bottom:50px;
}
.imgL img {
	float:left;
	margin:0 10px 0 0;
}

@media screen and (max-width:767px) {
	.imgL {
		margin-bottom:20px;
	}
	.imgL img {
		float:none;
		margin:0 0 10px 0;
	}
}

/* 写真右寄せ */
.imgR {
	clear:both;
	overflow:hidden;
	margin-bottom:50px;
}
.imgR img {
	float:right;
	margin:0 0 0 10px;
}

@media screen and (max-width:767px) {
	.imgR {
		clear:both;
		overflow:hidden;
		margin-bottom:20px;
	}
	.imgR img {
		float:right;
		margin:0 0 10px 0;
	}
}

/* 写真ズーム */
.zoom {
	overflow: hidden;
}
.zoom img {
	display: block;
	-moz-transition: -moz-transform 0.8s linear;
	-webkit-transition: -webkit-transform 0.8s linear;
	-o-transition: -o-transform 0.8s linear;
	-ms-transition: -ms-transform 0.8s linear;
	transition: transform 0.8s linear;
}
.zoom img:hover {
	-webkit-transform: scale(1.05);
	-moz-transform: scale(1.05);
	-o-transform: scale(1.05);
	-ms-transform: scale(1.05);
	transform: scale(1.05);
}
.zoom img {
	margin-bottom: 0;
}

/* オーバーレイ */
.overlay {
	position: relative;
}
.overlay::after{
	background: rgba(0,0,0,.5);
	content: "　";
	display: block;
	height: 100%;
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	transition: all .3s ease-out;
	pointer-events: none;
}
.overlay:hover::after {
	background: rgba(0,0,0,.1);
	transition: all .3s ease-out;
}
.overlay img {
	margin-bottom: 0;
}

/* ボタン */
.btn a {
	position: relative;
	display: inline-block;
	padding: 8px 40px 8px 40px;
	color: #fff !important;
	text-align: center;
	text-decoration: none;
	-moz-transition: 0.5s;
	-webkit-transition: 0.5s;
	-o-transition: 0.5s;
	-ms-transition: 0.5s;
	transition: 0.5s;
	z-index: 1;
	background: #000;
}
.btn a:hover {
	color: #fff;
	/*background: #333;変更　add-M*/
	background: #404058;
}
/* ボタンsmall--add-M　追加 */
.btnsm {
	display: inline-block;/* 右よせで、次のボタンが横に回り込むようにfloatを設定 */
	float: right;
	margin: 2px 2px;
	}
.btnsm a {
	position: relative;
	display: inline-block;
	padding: 1px 6px 1px 6px;
	color: #fff !important;
	text-align: center;
	text-decoration: none;
	-moz-transition: 0.5s;
	-webkit-transition: 0.5s;
	-o-transition: 0.5s;
	-ms-transition: 0.5s;
	transition: 0.5s;
	z-index: 1;
	background: #808080;
}
.btnsm a:hover {
	color: #fff;
	background: #C0C0C0;
}

/* 2カラム（スマートフォンでは1カラム) */
.twoCol {
	display: -ms-flexbox;
	display: -webkit-box;
	display: -webkit-flex;
	display: flex;
	-ms-flex-pack: justify;
	-webkit-box-pack: justify;
	-webkit-justify-content: censpace-betweenter;
	justify-content: space-between;
	-ms-flex-wrap: wrap;
	-webkit-flex-wrap: wrap;
	flex-wrap: wrap;
	position:relative;
	overflow:hidden;
	margin-bottom:60px;
}
.twoCol .inner {
	position: relative;
	overflow:hidden;
	display: -ms-flexbox;
	display: -webkit-box;
	display: -webkit-flex;
	display: flex;
	-ms-flex-align: center;
	-webkit-box-align: center;
	-webkit-align-items: center;
	align-items: center;
	-ms-flex-pack: justify;
	-webkit-box-pack: justify;
	-webkit-justify-content: censpace-betweenter;
	justify-content: space-between;
	-ms-flex-direction: column-reverse;
	-webkit-box-direction: reverse;
	-webkit-flex-direction: column-reverse;
	flex-direction: column;
	width: 48.98%;
	width: calc((480 / 980) *100%);
	height: auto;
	margin:0 0 20px 0;
}
.twoCol .inner div:nth-child(2n+1) {
	clear:both;
}
.twoCol .inner .image {
	width: 100%;
	min-height: 0%;
}
.twoCol .inner .imageplane {/*写真そのまま*/
	max-width: 100%;
	min-height: 0%;
}
.twoCol .inner img {
	width:100%;
}


@media screen and (max-width:600px) {/*max-width:767px*/
	.twoCol {
		display: block;
		margin-bottom:20px;
	}
	.twoCol .inner {
		width :100%;
		margin:0 0 10px 0;
	}
}

/* 3カラム（スマートフォンでは1カラム) */
.threeCol {
	display: -ms-flexbox;
	display: -webkit-box;
	display: -webkit-flex;
	display: flex;
	-ms-flex-pack: justify;
	-webkit-box-pack: justify;
	-webkit-justify-content: censpace-betweenter;
	justify-content: space-between;
	-ms-flex-wrap: wrap;
	-webkit-flex-wrap: wrap;
	flex-wrap: wrap;
	position: relative;
	overflow: hidden;
	margin-bottom:60px;
}
.threeCol .inner {
	position: relative;
	overflow: hidden;
	display: -ms-flexbox;
	display: -webkit-box;
	display: -webkit-flex;
	display: flex;
	-ms-flex-align: center;
	-webkit-box-align: center;
	-webkit-align-items: center;
	align-items: center;
	-ms-flex-pack: justify;
	-webkit-box-pack: justify;
	-webkit-justify-content: censpace-betweenter;
	justify-content: space-between;
	-ms-flex-direction: normal;
	-webkit-box-orient: vertical;
	-webkit-box-direction: normal;
	-webkit-flex-direction: column;
	flex-direction: column;
	width: 32.14%;
	/*width: calc((315 / 980) *100%);
	margin: 0 0 20px 0;写真の間狭くするため　add-M*/
	width: calc((325 / 980) *100%);
	margin: 0 0 2px 0;
}
.threeCol .inner:nth-child(3n+1) {
	clear:both;
}
.threeCol .inner h4 {
	width: 100%;
	margin-top: 0.5em;
	text-align: left;
}
.threeCol .inner p {
	width: 100%;
	margin-bottom: 0;
	text-align: justify;
}
.threeCol .inner > a {
	width: 100%;
	height: 100%;
}
.threeCol .inner .image {
	width: 100%;
	min-height: 0%;
}
.threeCol .inner img {
	width: 100%;
}
.threeCol .inner .btn {
	margin-top: auto;
	padding-top: 20px;
}
.threeCol .inner .text {
	position: absolute;
	top: 50%;
	left: 50%;
	-webkit-transform: translateY(-50%) translateX(-50%);
	transform: translateY(-50%) translateX(-50%);
	font-size: 22px;/*16px→に書き換え　add-M*/
	font-weight: bold;
	color: #fff;
	text-align: center;
	vertical-align: middle;
	pointer-events: none;
	white-space:nowrap;/*add-M*/
}

@media screen and (max-width:700px) {/*max-width:767px*/
	.threeCol {
		display: block;
		margin-bottom: 20px;
	}
	.threeCol .inner {
		width : 100%;
		margin: 0 0 10px 0;
	}
}

/* 4カラム（スマートフォンでは2カラム) */
.fourCol {
	display: -ms-flexbox;
	display: -webkit-box;
	display: -webkit-flex;
	display: flex;
	-ms-flex-pack: justify;
	-webkit-box-pack: justify;
	-webkit-justify-content: censpace-betweenter;
	justify-content: space-between;
	-ms-flex-wrap: wrap;
	-webkit-flex-wrap: wrap;
	flex-wrap: wrap;
	position: relative;
	overflow: hidden;
	margin-bottom: 60px;
}
.fourCol .inner {
	position: relative;
	overflow: hidden;
	display: -ms-flexbox;
	display: -webkit-box;
	display: -webkit-flex;
	display: flex;
	-ms-flex-align: center;
	-webkit-box-align: center;
	-webkit-align-items: center;
	align-items: center;
	-ms-flex-pack: justify;
	-webkit-box-pack: justify;
	-webkit-justify-content: censpace-betweenter;
	justify-content: space-between;
	-ms-flex-direction: column-reverse;
	-webkit-box-direction: reverse;
	-webkit-flex-direction: column-reverse;
	flex-direction: column;
	width: 23.46%;
	width: calc((230 / 980) *100%);
	margin: 0 0 20px 0;
}
.fourCol .inner .image {
	width: 100%;
	min-height: 0%;
}
.fourCol .inner img {
	width: 100%;
}
/* add-M　追加　4列画像でも画面上に文字出せるように */
.fourCol .inner .text {
	position: absolute;
	top: 50%;
	left: 50%;
	-webkit-transform: translateY(-50%) translateX(-50%);
	transform: translateY(-50%) translateX(-50%);
	font-size: 16px;
	font-weight: bold;
	color: #fff;
	text-align: center;
	vertical-align: middle;
	pointer-events: none;
}
/* add-M　追加　4列画像でも画面上に文字出せるように---ここまで */
@media screen and (max-width:767px) {
	.fourCol {
		display: block;
		margin-bottom: 20px;
	}
	.fourCol .inner {
		box-sizing: border-box;
		width: 50%;
		margin: 0;
	}
	.fourCol .inner:nth-child(odd) {
		clear: both;
		float: left;
		padding: 0 5px 10px 0;
	}
	.fourCol .inner:nth-child(even) {
		float: right;
		padding: 0 0 10px 5px;
	}
}

/* お知らせ */
.information {
	margin-bottom: 80px;
}

.information dt {
	clear: both;
	float: left;
	margin: 0;
	padding: 10px 0;
	vertical-align: top;
	border-bottom: none;
}

.information dd {
	margin: 0;
	padding: 10px 0 10px 13em;
	vertical-align: top;
	/*border-bottom: 1px dotted #333;変更　add-M*/
	border-bottom: 1px dotted #404058;
}

@media screen and (max-width:767px) {
	.information {
		margin-bottom: 40px;
	}

	.information dt {
		float: none;
		margin: 0;
		padding: 10px 0 0 0;
		vertical-align: top;
		border-bottom: none;
	}

	.information dd {
		margin: 0;
		padding: 0 0 10px 0;
		vertical-align: top;
		border-bottom: 1px dotted #404058;
		/*border-bottom: 1px dotted #333;変更　add-M*/
	}
}

/*================================================
 *  ヘッダー
 ================================================*/
header {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	/*background: #000;変更　add-M*/
	background: #000033;/*#222240*/
	z-index: 100;
}

header:after {
	content: "";
	display: block;
	clear: both;
}

header h1 {
	float: left;
	/*height: 50px;変更　add-M*/
	height: 60px;
	font-size: 17px;
	line-height: 50px;
	color: #fff;
	margin-right:10px;
}

header h1 img {
	vertical-align: middle;
}

@media screen and (max-width:768px) {
	header h1 {
		padding: 0 0 0 10px;
	}
}

/*================================================
 *  グローバルナビゲーション
 ================================================*/
/* PC用 */
/*@media print, screen and (min-width:769px) {*/
@media print, screen and (min-width:945px) {/*830px*/
	nav.gnav:after {
		content: '';
		display: block;
		clear: both;
	}
	nav.gnav {
		float: right;
	}

	/* 共通 */
	nav.gnav ul {
		margin: 0;
		padding: 0;
	}
	nav.gnav ul li {
		position:  relative;
		/*line-height: 50px;変更　add-M*/

		margin: 0;
		padding: 0;
		list-style: none;
	}
	nav.gnav ul li a {
		display: block;
		/*background: #000;変更　add-M*/
		background: #000033;
		color: #fff;
		/*font-size: 14px;変更 指導学生研究テーマがはみ出すから　add-M*/
		font-size: 15px;
		/*font-weight: bold;変更　add-M*/
		text-decoration: none;
	}
	/*ナビの選択画面の部分、薄く 追加　add-M*/
	nav.gnav ul li a.selected {
		background: #505068;
	}
	nav.gnav ul li:hover > a {
		color: #fff;
		background: #404058;
		/*background: #333;変更　add-M*/
	}

	/* 1段目 */
	nav.gnav > ul > li {
		position: relative;
		/* width: 120px; 変更　add-M*/
		width: 130px;
		float: left;
		margin: 0;
		padding: 0;
		text-align: center;
		list-style: none;
		/*line-height: 50px;変更　add-M*/
		line-height: 18px;
	}
	nav.gnav > ul > li > a { 	/* 追加　add-M*/
		padding-top: 20px;
		height:40px;
	}
	nav.gnav > ul > li.subnav a {
		padding-right: 20px;
	}
	nav.gnav > ul > li.subnav > a:after {
		position: absolute;
		content: "";
		/*top: 50%;変更　add-M*/
		top: 50%;
		width: 0;
		height: 0;
		margin-top:  -2.5px;
		margin-left: 10px;
		border: 5px solid transparent;
		border-top-color: #fff;
	}

	/* 2段目 */
	nav.gnav ul li ul {
		position: absolute;
		z-index: 3;
		top: 100%;
		left: 0;
		width: 180px;
		margin: 0;
		padding: 0;
	}
	nav.gnav ul li ul li {
		overflow: hidden;
		height: 0;
		color: #fff;
		transition: .2s;
line-height: 50px;
	}
	nav.gnav ul li ul li a {
		padding: 0 15px;
		text-align: left;
		background: #404068;
		/*background: #333;変更　add-M*/
		font-weight: normal;
	}
	nav.gnav ul li ul li a:hover {
		background: #505068;
		/*background: #444;変更　add-M*/
	}
	nav.gnav ul li:hover > ul > li {
		overflow: visible;
		height: 40px;
		line-height:  40px;
		border-bottom: 1px solid #555;
	}
	nav.gnav ul li:hover ul li:last-child {
		border-bottom: none;
	}
	nav.gnav > ul > li:last-child > ul {
		left: -60px;
	}
	nav.gnav ul li ul li ul:before {
		position: absolute;
		content: "";
		top: 17.5px;
		left: -20px;
		width: 0;
		height: 0;
		border: 5px solid transparent;
		border-left-color: #fff;
	}
	nav.gnav > ul > li:last-child ul li ul:before {
		position: absolute;
		content: "";
		top: 17.5px;
		left: 200%;
		margin-left: -20px;
		border: 5px solid transparent;
		border-right-color: #fff;
	}

	/* 3段目 */
	nav.gnav ul li ul li ul {
		top: 0;
		left: 100%;
	}
	nav.gnav ul li ul li ul li {
		width: 100%;
	}
	nav.gnav ul li ul li:hover > ul > li {
		border-bottom: 1px solid #555;
	}
	nav.gnav > ul > li:last-child > ul li ul {
		left: -100%;
	}
	nav.gnav ul li ul li ul li a {
		/*background: #444;変更　add-M*/
		background: #404048;
	}
	nav.gnav ul li ul li ul li a:hover {
		background: #666;
	}

	/* 3段目 */
	nav.gnav > ul {
		display: block !important;
	}
	#spMenu {
		display: none;
	}
}

/* タブレット・スマートフォン用 */
/*@media screen and (max-width:768px) { */
@media screen and (max-width:944px) {/*829px*/
	nav.gnav {
		display:  none;
	}
	nav.gnav ul {
		margin: 0;
		padding: 0;
	}
	nav.gnav > ul {
		z-index: 2;
		overflow: auto;
		position: fixed;
		top: 50px;
		right: 0;
		width: 100%;
		height: 88%;
		height: -webkit-calc(100% - 50px);
		height: calc(100% - 50px);
	}
	nav.gnav li {
		position: relative;
		width: 100%;
		float: none;
		margin: 0;
		text-align: left;
		list-style: none;
		/*border-bottom: 1px solid #333;変更　add-M*/
		border-bottom: 1px solid #404058;
		/*background: #000;変更　add-M*/
		background: #000033;
	}
	nav.gnav li:first-child {
		border-top: 0;
	}
	nav.gnav li:last-child {
		border-bottom: 0;
	}
	nav.gnav li a {
		display: block;
		padding: 10px 20px;
		color: #fff;
		text-decoration: none;
		/*background: #000;変更　add-M*/
		background: #000033;
	}
	nav.gnav li a:hover {
		color: #fff;
		background: #222;
	}
	nav.gnav ul ul {
		display: none;
		position: relative;
	}
	nav.gnav li li a {
		box-sizing: border-box;
		width: 100%;
		padding: 10px 30px 10px 34px;
		text-align: left;
	}
	nav.gnav li li li a {
		padding: 10px 20px 10px 48px;
	}

	nav.gnav .subnav > a:before {
		display: block;
		content: "";
		position: absolute;
		-webkit-transform: rotate(45deg);
		transform: rotate(45deg);
		top: 20px;
		right: 20px;
		width: 10px;
		height: 10px;
		margin-top: -5px;
		background: #f1f1f1;
	}
	nav.gnav .subnav > a:after {
		display: block;
		content: "";
		position: absolute;
		-webkit-transform: rotate(45deg);
		transform: rotate(45deg);
		top: 20px;
		right: 20px;
		width: 10px;
		height: 10px;
		margin-top: -10px;
		/*background: ;変更　add-M*/
		background: #000033;
	}
	nav.gnav .subnav a:hover:after {
		background: #222;
	}
	nav.gnav .subnav.active > a:before {
		margin-top: 0;
	}
	nav.gnav .subnav.active > a:after {
		margin-top: 5px;
	}

	.spMenuWrap {
		display: block;
		position: fixed;
		top: 0;
		right: 0;
		-webkit-transition:  all 1s;
		-moz-transition:  all 1s;
		-ms-transition:  all 1s;
		-o-transition:  all 1s;
		transition:  all 1s;
		background: transparent;
	}

	#spMenu {
		position: absolute;
		top: 10px;
		right: 10px;
	}

	#spMenu:hover {
		cursor: pointer;
	}

	#navBtn {
		display: inline-block;
		position: relative;
		width: 30px;
		height: 30px;
		border-radius: 5%;
		/*background: #333;変更　add-M*/
		background: #404058;
	}
	#navBtnIcon {
		display: block;
		position: absolute;
		top: 50%;
		left: 50%;
		width: 14px;
		height: 2px;
		margin: -1px 0 0 -7px;
		background: #f1f1f1;
		transition: .2s;
	}
	#navBtnIcon:before,
	#navBtnIcon:after {
		display: block;
		content: '';
		position: absolute;
		top: 50%;
		left: 0;
		width: 14px;
		height: 2px;
		background: #f1f1f1;
		transition: 0.3s;
	}
	#navBtnIcon:before {
		margin-top: -6px;
	}
	#navBtnIcon:after {
		margin-top: 4px;
	}
	#navBtn .close {
		background: transparent;
	}
	#navBtn .close:before,
	#navBtn .close:after {
		margin-top: 0;
	}
	#navBtn .close:before {
		transform: rotate(-45deg);
		-webkit-transform: rotate(-45deg);
	}
	#navBtn .close:after {
		transform: rotate(-135deg);
		-webkit-transform: rotate(-135deg);
	}
}

/*================================================
 *  フッター
 ================================================*/
footer {
	clear: both;
	margin-top: 80px;
	/*background: #ddd;変更　add-M*/
	background: #d0d0d8;
}
.fnav {
	display: -ms-flexbox;
	display: -webkit-box;
	display: -webkit-flex;
	display: flex;
	-ms-flex-pack: justify;
	-webkit-box-pack: justify;
	-webkit-justify-content: censpace-betweenter;
	justify-content: space-between;
	margin: 0 10px;/*0 50px変更　add-M*/
	padding: 20px 0;
}

.fnav  ul{
	margin: 0;
}

.fnav > div.hidari {
	width: 50%;
	margin-bottom: 0;
	font-size: 14px;/*12px→14px変更　add-M*/
}
.fnav > div.mannaka {
	width: 49%;
	margin-bottom: 0;
	font-size: 14px;/*12px→14px変更　add-M*/
}


.fnav > ul li {
	text-align: left;
}

.copyright {
	padding: 20px 0;
	color: #fff;
	font-size: 11px;
	text-align: center;
	/*background: #000;変更　add-M*/
	background: #000033;
}

@media screen and (max-width:767px) {
	footer {
		margin-top: 40px;
	}

	.fnav {
		display: block;
		margin: 0;
		width: 100%;
	}
	.fnav > ul {
		width: 100%;
	}

	.fnav > div.hidari {
		width: auto;
	}
	.fnav > div.mannaka {
		width: auto;
	}
}

/*================================================
 *  ページトップへの戻り
 ================================================*/
.totop {
	position:fixed;
	bottom:15px;
	right:15px;
	z-index:1;
}
.totop a {
	display:block;
	text-decoration:none;
}
.totop img {
	background:#111;
}
.totop img:hover {
	background:#222;
}

/*================================================
 *  スライドショー
 ================================================*/
.slide {
	padding-top: 50px;
	overflow: hidden;
	position: relative;
}
.slideInner {
	list-style: none;
	margin: 0;
	padding: 0;
}
.slideInner li {
	position: absolute;
	width: 100%;
	margin: 0;
	padding: 0;
	background-color: #fff;
	background-position: 50% 0;
	background-repeat: no-repeat;
}

/*================================================
 *  タブレット・スマートフォン向けデザイン
 ================================================*/
/* テンプレートより小さくなった場合に適用 */
@media screen and (max-width:979px) {
	.inner {
		width: 100%;
	}

	#contents,#contentsnrw {
		box-sizing: border-box;
		width: 100%;
		padding: 0 10px;
	}

	footer {
		width: 100%;
	}

	.lock {
		overflow: hidden;
	}
}
