@charset "utf-8";

#header {
    width: 100%;
    padding: 10px 0;
    position: relative;
}
#header .inner {
    max-width: 1080px;
    margin: 0 10px;
}
ul#menu > li > a {
	color: #000;
}
ul#menu > li a:before {
  content: "";
  position: absolute;
  z-index: -1;
  left: 50%;
  right: 50%;
  bottom: 0;
  background: rgba(255,255,255,0);
  height: 4px;
  -webkit-transition-property: left, right;
  transition-property: left, right;
  -webkit-transition-duration: 0.1s;
  transition-duration: 0.1s;
  -webkit-transition-timing-function: ease-out;
  transition-timing-function: ease-out;
}
ul#menu > li a:hover:before,
ul#menu > li a.active:before {
  left: 0;
  right: 0;
  background: #E50012;
}
ul#menu li a:hover {
    text-decoration: none;
    color: #000;
	background: none;
}
#head {
	background: url(../images/head.jpg) no-repeat center;
	background-size: 100% auto;
	padding: 80px 0;
}
#head h1 {
	font-weight: bold;
	color: #fff;
	font-size: 42px;
	letter-spacing: 0.1em;
	width: 1080px;
	margin: 0 auto;
}
#header .inner {
    max-width: 1080px;
	height:auto;
    margin: 0 auto;
}
table {
	width:100%;
	border-collapse:collapse;
	margin-bottom:1em;
}
table.info th,
table.info td {
	border: 1px solid #ddd;
	padding: 8px;
}
table.info th {
	background: #f6f6f6;
	text-align: center;
}
table.info td a {
	display: inline-block;
}
img.fright {
	float:right;
	margin-left:20px;
}
img.fleft {
	float:left;
	margin-right:20px;
}
.contents img {
	max-width: 100%;
}
.contents ol {
	margin-left: 0;
	padding-left: 1.5em;
	list-style: decimal;
}
.contents ol li {
	margin-bottom: .75em;
}
dl.profile {
	display: flex;
	flex-wrap: wrap;
	margin-bottom: 40px;
}
dl.profile dt {
	width: 15%;
	border:4px solid #FFF;
	background: #E6E6E6;
	padding: 8px;
	box-sizing: border-box;
}
dl.profile dt:before {
	font-family: FontAwesome;
	content: "\f138";
	color:  #0069B2;
	margin-right: .5em;
}
dl.profile dd {
	width: 85%;
	border:4px solid #FFF;
	background: #F2F2F2;
	padding: .5em 1em;
	box-sizing: border-box;
}
.staff h3 {
	background: #f3f3f3;
	border-left: 5px solid #0069B2;
	padding: 6px 8px 6px 12px;
	font-size:20px;
	margin-bottom: 1em;
}
.staff h4 {
	font-weight: bold;
	border-bottom: 1px solid #ccc;
	margin-bottom: .5em;
}
.staff-content{
	display: flex;
	margin-bottom: 2em;
}
.staff-content .photo {
	width: 17%;
}
.staff-content .prof {
	width: 83%;
}
.report-content ul {
	display: flex;
	flex-wrap: wrap;
}
.report-content ul li {
	width: 23%;
	margin: 0 1% 25px;
}

.news-content {
	margin-bottom: 20px;
}
.news-content dl {
	display: flex;
	justify-content:flex-start;
	border-bottom: 1px solid #ddd;
}
.news-content dl dt {
	padding: .5em .25em;
}
.news-content dl dd {
	padding: .5em  .25em;
	margin-left: 2em;
}
.news-content dl dd a {
}
.list {
	text-align: right;
}
.list select {
	font-size: 16px;
	padding: 5px;
	float: right;
}
.btn2 a {
	display: inline-block;
	color: #0069B2;
	border: 1px solid #0069B2;
	padding: .5em 3em .5em 3em;
	position: relative;
	margin-right: 1em;
}
.btn2 a:after {
	font-family: FontAwesome;
	content:"\f101";
	position: absolute;
	right: .75em;
}
.btn2 a:hover {
	background: #0069B2;
	color: #fff;
	text-decoration: none;
}

.link {
	text-align: center;
	margin-bottom: 60px;
}
.link a {
    background: #E50012;
    color: #fff;
    display: inline-block;
    padding: 3px 3em 3px 3px;
    transition: all 0.25s;
    margin: 0 10px 20px;
	line-height: 40px;
}
.link a:hover {
    text-decoration: none;
    background: #90000D;
}
.link a:after {
    font-family: "FontAwesome";
    content:"\f08e";
    position: absolute;
    right: 10px;
}
.link img {
	width: 90px;
	margin-right: 15px;
	display: inline-block;
}

.gmap {
	width: 100%;
	height: 400px;
}
.slider {
	padding: 0 0 20px;
}
.slider ul li {
}
.slider ul li img {
	max-width: 100%;
	width: 100%;
}
.slider ul li a:hover {
	opacity: 0.8;
}
#profile table {
    margin-bottom: 40px;
    border: 1px solid #ddd;
    border-collapse: collapse;
}
#profile table th {
    background: #eee;
    border: 1px solid #ddd;
    padding: 8px;
}
#profile table td {
    border: 1px solid #ddd;
    padding: 8px;
}
table.links {
}
table.links th,
table.links td {
	padding: 5px;
	border-bottom: 1px solid #ddd;
}
table.links td a {
	color: #0069B2;
}
table.mailform {
	border-top: 2px solid #DDD;
}
table.mailform th,
table.mailform td {
	padding: 5px;
}
table.mailform th {
	width: 25%;
	line-height: 200%;
	font-weight: normal;
	text-align: left;
	border-bottom: 2px solid #0069B2;
	padding: 12px;
	vertical-align: middle;
}
table.mailform th span {
	font-weight: bold;
	color: #F00;
}
table.mailform td {
	text-align: left;
	line-height: 200%;
	border-bottom: 2px solid #DDD;
	padding: 12px;
}
table.mailform td strong {
	font-weight: normal;
	color: #F00;
}
table.mailform td input,table.mailform td textarea {
	font-size: 15px;
	margin: 8px 5px;
	padding: 5px;
}

.form-style input[type="checkbox"] {
	margin: 0 0.5em;
}
.form-style input[type="text"],
.form-style textarea {
	font-size: 15px;
	border: 1px solid #999;
	border-radius: 4px;
	background: #EEE;
	margin: 1%;
	padding: 0.5%;
}
.form-style input:focus,.form-style textarea:focus {
	background: #eaf6fd;
}
.form-style select {
	border: 1px solid #CCC;
	margin: 5px 0;
}
.formwidth-ss {
	width: 5%;
}
.formwidth-s {
	width: 15%;
}
.formwidth-ms {
	width: 25%;
}
.formwidth-m {
	width: 45%;
}
.formwidth-l {
	width: 80%;
}
.regi-buttun {
	text-align: center;
	margin: 3% 0 0;
}

.entry-area {
	width: 500px;
	margin: 5% auto;
	padding-bottom: 40px;
}
.r-button1 {
	-webkit-appearance: none;
	cursor: pointer;
	color: #FFF;
	text-align: center;
	background: #E50012;
	border: none;
	padding: 2% 80px;
}
.r-button2 {
	-webkit-appearance: none;
	color: #FFF;
	cursor: pointer;
	text-align: center;
	background: #b5b5b5;
	border: none;
	padding: 2% 80px;
}
.r-button1:hover {
	 background: #90000D;
}
.r-button2:hover {
	background: #999;
}

.button-rd {
	-webkit-appearance: none;
	cursor: pointer;
}
.button-gr {
	-webkit-appearance: none;
	cursor: pointer;
}
.button-rd {
	width: 47%;
	display: block;
	float: left;
	text-align: center;
	color: #FFF;
	background: #0069B2;
	border: none;
	padding: 2.5% 0;
}
.button-rd:hover {
	opacity: 0.8;
}
.button-rd-n {
	float: none;
	margin: 0 auto;
}
.button-gr {
	width: 47%;
	display: block;
	float: right;
	text-align: center;
	color: #FFF;
	background: #b5b5b5;
	border: none;
	padding: 2.5% 0;
}
.button-gr:hover {
	opacity: 0.8;
}

[class^="button"] {

	/* animation */

	-webkit-transition: all 0.3s;
	-moz-transition: all 0.3s;
	-ms-transition: all 0.3s;
	-o-transition: all 0.3s;
	transition: all 0.3s;
}
#wpmem_login legend, #wpmem_reg legend {
	display:none;
}
#wpmem_login, #wpmem_msg, #wpmem_reg, .wpmem_msg {
  width: 65%;
  margin:0 auto;
  padding:25px;
}

.news-content .more {
	text-align: right;
	margin:15px 0;
}
.news-content .more a {
	display: inline-block;
	background: #0069B2;
	color: #fff !important;
	padding: 5px 25px 5px 15px;
	text-decoration: none !important;
}
.news-content .more a:after {
	font-family: "FontAwesome";
	content:"\f105";
	position: absolute;
	top: 5px;
	right: 10px;
}
.news-content .more a:hover {
	opacity: 0.7;
}
@media (max-width: 767px) {
	#headerWrapper {
		background-size: 100% auto;
	}
	ul#menu > li > a {
		color: #fff !important;
	}
	#head {
		background: url(../images/head.jpg) no-repeat center;
		background-size: 100% auto;
		padding: 40px 10px;
	}
	#head h1 {
		font-size: 30px;
		width: auto;
		padding: 0 10px;
	}

	dl.profile {
		display: block;
	}
	dl.profile dt {
		width: auto;
		border:1px solid #FFF;
		background: #E6E6E6;
		padding: .25em .5em;
		box-sizing: border-box;
	}
	dl.profile dd {
		width: auto;
		border:1px solid #FFF;
		background: #F2F2F2;
		padding: .25em .5em;
		box-sizing: border-box;
	}
	.staff-content{
		display: flex;
		justify-content: space-between;
		margin-bottom: 2em;
	}
	.staff-content .photo {
		width: 22%;
	}
	.staff-content .prof {
		width: 75%;
	}
	.report-content ul {
		display: block;
	}
	.report-content ul li {
		width: auto;
		margin: 0 1% 25px;
	}

	.news-content {
		margin-bottom: 20px;
	}
	.news-content dl {
		display: block;
	}
	.news-content dl dt {
		padding: .25em .25em 0;
	}
	.news-content dl dd {
		padding: .25em  .25em .5em;
		margin-left: 0;
	}
	.link a {
		background: #E50012;
		color: #fff;
		display: block;
		padding: 2px 2em 2px 2px;
		line-height: 30px;
		text-align: left;
		white-space: nowrap;
		overflow: hidden;
		font-size: 12px;
	}
	.link a:after {
		right: 5px;
	}
	.link img {
		width: 70px;
		margin-right: 10px;
		display: inline-block;
	}
	table.mailform th {
		display: block;
		width: 100%;
		letter-spacing: 0;
		border: none;
		background: #ececec;
		text-align: center;
		border: none;
		padding: 10px 0;
	}
	table.mailform td {
		display: block;
		width: 100%;
		letter-spacing: 0;
		border: none;
		padding: 10px 0;
	}
	table.mailform td input,table.mailform td textarea {
		font-size: 100%;
		margin: 8px 5px;
		padding: 5px;
	}

	.entry-area {
		width: 90%;
	}
	.button-rd,.button-gr {
		width: 80%;
		display: block;
		float: none;
		margin: 0 auto;
	}
	.button-gr {
		float: none;
		margin-top: 3%;
	}
	#wpmem_login, #wpmem_msg, #wpmem_reg, .wpmem_msg {
	  width: 90%;
	  margin:0 auto;
	  padding:25px;
	}
}
