/*----------------------------------------------------------------------------******************************************************************************PC******************************************************************************----------------------------------------------------------------------------*/
@media screen and (min-width: 769px){
/*----------------------------------------------------------------------------
******************************************************************************
Layout
******************************************************************************
----------------------------------------------------------------------------*/
/* ==== Base === */
body {
}
.layout {
	max-width: 960px;
	margin: 0 auto;
	overflow: hidden;
}
/* ==== Backgraund === */
#wrap {
	background: #fff;
	border-top: 3px solid #222;
}
/* ==== Header === */
#hd {
    height: 160px;
    position: relative;
}
/* ==== Navigation === */
#nav {
	height: 50px;
}
#nav ul {
}
#nav li {
	float: left;
	width: 20%;
	line-height: 50px;
}
#nav li a {
	color: #222;
	text-decoration: none;
	display: block;
	text-align: center;
	font-size: 14px;
	font-weight: bold;
	border-top:1px solid #222;
	-webkit-transition: All 0.5s ease;
	-moz-transition: All 0.5s ease;
	-o-transition: All 0.5s ease;
	-ms-transition: All 0.5s ease;
	transition: All 0.5s ease;
}
#nav li a:hover {
	border-top:6px solid #005B98;
	letter-spacing:0.2em;
}
.current {
	border-top:6px solid #005B98!important;
	letter-spacing:0.2em;
}
#menu {
	display:none;
}
/* ==== Content === */
#con_bg {
}
#con {
	margin-top:20px;
}
#sidenav {
	width:23%;
	max-width: 220px;
	float: left;
	margin-top: 20px;
	border:1px solid #222;
}
#sidenav ul {
	padding: 0px;
}
#sidenav li {
}
#sidenav li a {
	width:100%;
	box-sizing: border-box;
	height: auto;
	padding: 12px 5px 5px 23px;
	display: block;
	text-decoration: none;
	background: url(/~fukihara/images/common/sidenav_icon.png) no-repeat 6px 16px;
	font-size: 12px;
	color: #222333;
	border-bottom: dotted 1px #CCC;
}
#main {
	width:75%;
	max-width: 720px;
	float: right;
	margin-top: 20px;
}
/* ol,ul */

#i_main ol, #i_main ul {
	padding: 5px 0px 5px 25px;
}
#i_main ul {
	list-style-type: disc;
}
#i_main ol li, #i_main ul li {
	padding: 5px 0px;
}
#main ol, #main ul {
	padding: 5px 0px 5px 25px;
}
#main ul {
	list-style-type: disc;
}
#main ol li, #main ul li {
	padding: 5px 0px;
}
/* table */
#main table {
	margin: 10px 0px;
}
#main table th, #main table td {
	padding: 5px;
}
/* img */
#main img {
	max-width:100%
}
#main a img {
	display: inline-block;
	-webkit-transition-duration: 0.3s;
	transition-duration: 0.3s;
	-webkit-transition-property: transform;
	transition-property: transform;
	-webkit-transform: translateZ(0);
	transform: translateZ(0);
	box-shadow: 0 0 1px rgba(0, 0, 0, 0);
}
#main a img:hover, .shrink:focus, .shrink:active {
	-webkit-transform: scale(0.9);
	transform: scale(0.9);
}
/* ==== Footer === */
#ft {
	margin-top: 20px;
	padding-top: 35px;
	padding-bottom: 35px;
	text-align: center;
	color: #fff;
	background: #005B98;
}
/*----------------------------------------------------------------------------
******************************************************************************
Head
******************************************************************************
----------------------------------------------------------------------------*/
h1, h2, h3, h4, h5, h6 {
}
h1 {
    font-size: 2.5em;
    line-height: 1.0em;
    position: absolute;
    top: 5px;
}
h1 a {
	color: #222!important;
	text-decoration: none;
}
h1 span {
    display: block;
    font-size: 0.45em;
    line-height: 1.5em;
}
h2 {
	color: #333;
	border-bottom:4px double #222;
	border-top:4px double #222;
	font-size: 34px;
	font-weight:normal;
	height:80px;
	padding: 0.9em 0 0.0em 0.5em;
}
#sidenav h2 {
	color: #fff;
	border:1px solid #005B98;
	text-align: center;
	font-size: 16px;
	font-weight:bold;
	padding:10px;
	height:50px;
	text-shadow : 1px 2px 0px rgba(0,0,0,1.0), 2px 2px 2px rgba(255,255,255,0.5);
	background: url(/~fukihara/images/nav_bag.png) top center #005B98;
}
h3 {
	margin: 0.8em 0 0.4em 0;
	font-size: 1.4em;
	font-weight: normal;
	padding: 0.6em 0 0.6em 0.8em;
	border-left:8px double #fff;
	background:#005B98;
	color:#fff;
}
h4 {
	font-size: 1.2em;
	font-weight: normal;
	padding: 0.0em 0 0.0em 0.4em;
	border-left: 5px double #222;
	margin: 0.6em 0 0.4em 0;
}
h5 {
    font-size: 1.1em;
    margin: 5px;
    border-bottom: 1px solid black;
    display: inline-block;
}
h1.img, h2.img, h3.img, h4.img, h5.img, h6.img {
	margin: 0;
	padding: 0;
	background: none;
	border: none;
}
/*----------------------------------------------------------------------------
******************************************************************************
Original
******************************************************************************
----------------------------------------------------------------------------*/
/* ==== Index === */
#i_img {
}
#i_img img {
	width: 100%;
}
#i_main {
	width:75%;
	max-width: 720px;
	float: left;
	margin-top: 20px;
}
#i_news {
	height: 300px;
	overflow:auto;
	border: none;
}
#i_news table {
  font-size: 0.95rem;
}
#i_news table td {
	vertical-align: top;
	font-size: 0.8em;
	padding: 10px;
}
#i_news table tr {
	border-bottom: 1px dotted #CCC;
}
#i_news table td.date {
	width: 175px;
	background: url(/~fukihara/images/common/news_icon.gif) 4px 14px no-repeat;
	padding-left: 20px;
}
#i_bnr {
	margin-top: 20px;
	width:23%;
	max-width: 220px;
	float: right;
}
#i_bnr ul {
}
#i_bnr li {
	float: left;
	margin-bottom: 4px;
	width:100%;
}
#i_bnr li a {
	display: block;
	width: 100%;
	text-decoration: none;
	color: #222;
	padding: 15px 0 15px 30px;
	border-bottom: 1px solid #222;
	background: url(/~fukihara/images/common/bnr_bg.png) 8px center no-repeat;
	-webkit-transition: All 0.5s ease;
	-moz-transition: All 0.5s ease;
	-o-transition: All 0.5s ease;
	-ms-transition: All 0.5s ease;
	transition: All 0.5s ease;
}
#i_bnr li a:hover {
	color: #fff;
	background: url(/~fukihara/images/common/bnr_bg_hover.png) 8px center no-repeat #222;
	border-radius:6px
}

#i_bnr .bnr_img{
  margin-bottom: 20px;
}
#i_bnr .bnr_img figure {
  border: 1px solid #c11732;
  border-radius: 5px;
  background: #c1173217;
}
#i_bnr .bnr_img figure a {
  color: #000;
  text-decoration: none;
  font-size: 1rem;
  text-align: center;
  padding: 10px;
  display: block;
  transition: .5s;
}

#i_bnr .bnr_img figure a:hover {
  opacity: 0.8;
  transition: .5s;
}

#i_bnr .bnr_img img{
  width: 100%;
  margin-bottom: 5px;
}

/*----pagetop----*/
#page-top {
	position: fixed;
	bottom: 10px;
	right: 20px;
	font-size: 77%;
}
#page-top a {
	background: #005B98;
	border: #fff 1px solid;
	text-decoration: none;
	color: #fff;
	width: 120px;
	padding: 20px 0;
	text-align: center;
	display: block;
	border-radius: 5px;
}
#page-top a:hover {
	text-decoration: none;
}
header {}
header h1 a {
	display: flex;
    align-items: center;
}
header h1 a .logo {
	width: 80px;
    margin-right: 10px;
}
header h1 a .logo img {
	width: 100%;
}
header h1 .lab-name {}
header h1 .lab-name span {
    margin: 7px 0;
}
}

/*----------------------------------------------------------------------------******************************************************************************スマートフォン******************************************************************************----------------------------------------------------------------------------*/
@media screen and (max-width:769px){
/*----------------------------------------------------------------------------
******************************************************************************
Layout
******************************************************************************
----------------------------------------------------------------------------*/
/* ==== Base === */
header {}
header h1 a {
	display: flex;
    align-items: center;
}
header h1 a .logo {
	width: 80px;
    margin-right: 10px;
}
header h1 a .logo img {
	width: 100%;
}
header h1 .lab-name {}
header h1 .lab-name span {
    margin: 8px 0;
}

body {
	background: url(/~fukihara/images/body_bg.jpg);
	width:99%;
	margin:0 0.5%;
}
.layout {
	width: 100%;
	overflow: hidden;
}
/* ==== Backgraund === */
#wrap {
	background: #fff;
	border-top: 3px solid #222;
}
/* ==== Header === */
#hd {
    height: 130px;
    position: relative;
    background: url(/~fukihara/images/hd_bg.jpg) no-repeat;
}
/* ==== Navigation === */
#nav {
	position: fixed;
	top: 0px;
	right: -200px;
	height: 100%;
	z-index: 100;
	width: 200px;
	overflow-x: none;
	overflow-y: auto;
	font-size: 16px;
	background: url(/~fukihara/images/common/nav_bg.png) top center #222;
	color: #fff;
	-webkit-box-shadow: inset 0 0 5px 5px #222;
	-moz-box-shadow: inset 0 0 5px 5px #222;
	box-shadow: inset 0 0 5px 5px #222;
}

#nav ul {
	display: block;
	margin: 0 0 15px;
	padding: 0;
	border-top: 1px solid #1a1a1a;
	border-bottom: 1px solid #4d4d4d
}
#nav ul li {
	display: block;
	margin: 0;
	line-height: 48px;
	border-top: 1px solid #4d4d4d;
	border-bottom: 1px solid #1a1a1a;
}

#nav ul li img {
	max-width:100%;
	margin: 0 auto;
	padding:10px 0;
}

#nav ul li:hover {
	border-top: none;
	line-height: 49px;
}
#nav ul li:hover>a {
	-webkit-box-shadow: inset 0 0 15px 3px #222;
	-moz-box-shadow: inset 0 0 15px 3px #222;
	box-shadow: inset 0 0 15px 3px #222;
}
#nav ul li a {
	padding: 0 15px;
	display: block;
	text-decoration: none;
	color: #fff;
	text-shadow: 2px 2px 0 rgba(0,0,0,1.0);
}
#nav ul li ul {
	border-bottom: none;
	margin: 0;
}
#nav ul li ul li {
	line-height: 40px;
	font-size: 13px;
}
#nav ul li ul li:last-child {
	border-bottom: none;
}
#menu {
	cursor:pointer;
	position:fixed;
	top:10px;
	right:10px;
	z-index: 1000;
}
/* ==== Content === */
#con_bg {
}
#con {
}
#sidenav {
	width: 220px;
	float: left;
	margin-top: 20px;
	border:1px solid #222;
	display:none;
}
#main {
    width: 100%;
}
/* ol,ul */
#main ol, #main ul {
	padding: 5px 0px 5px 25px;
}
#main ul {
	list-style-type: disc;
}
#main ol li, #main ul li {
	padding: 5px 0px;
}
/* table */
#main table {
	margin: 10px 0px;
}
#main table th, #main table td {
	padding: 5px;
}
/* img */
#main img {
	max-width:100%;
	display:block;
	margin:5px auto;
	float:none;
}

#main a img {
	display: inline-block;
	-webkit-transition-duration: 0.3s;
	transition-duration: 0.3s;
	-webkit-transition-property: transform;
	transition-property: transform;
	-webkit-transform: translateZ(0);
	transform: translateZ(0);
	box-shadow: 0 0 1px rgba(0, 0, 0, 0);
}
#main a img:hover, .shrink:focus, .shrink:active {
	-webkit-transform: scale(0.9);
	transform: scale(0.9);
}
/* ==== Footer === */
#ft {
	margin-top: 0px;
	padding-top: 35px;
	padding-bottom: 35px;
	text-align: center;
	color: #fff;
	background: #222;
}
/*----------------------------------------------------------------------------
******************************************************************************
Head
******************************************************************************
----------------------------------------------------------------------------*/
h1, h2, h3, h4, h5, h6 {
}
h1 {
    line-height: 1.2em;
}
h1 a {
	color: #222!important;
	text-decoration: none;
}
h1 span {
    display: block;
    font-size: 0.45em;
    line-height: 1.4em;
}
h2 {
	color: #fff;
	border-bottom:4px double #222;
	border-top:4px double #222;
	font-size: 34px;
	font-weight:normal;
	text-shadow : 0px 0px 5px rgba(0,0,0,1.0), 2px 2px 2px rgba(255,255,255,0.5);
	height:80px;
	padding: 0.9em 0 0.0em 0.5em;
}
#sidenav h2 {
	color: #fff;
	border:1px solid #222;
	text-align: center;
	font-size: 16px;
	font-weight:bold;
	padding:10px;
	height:50px;
	text-shadow : 1px 2px 0px rgba(0,0,0,1.0), 2px 2px 2px rgba(255,255,255,0.5);
	background: url(/~fukihara/images/nav_bag.png) top center #222;
}
h3 {
	margin: 0.8em 0 0.4em 0;
	font-size: 1.4em;
	font-weight: normal;
	padding: 0.6em 0 0.6em 0.8em;
	border-left:8px double #666;
	background:#222;
	color:#fff;
}
h4 {
	font-size: 1.2em;
	font-weight: normal;
	padding: 0.0em 0 0.0em 0.4em;
	border-left: 5px double #222;
	margin: 0.6em 0 0.4em 0;
}
h1.img, h2.img, h3.img, h4.img, h5.img, h6.img {
	margin: 0;
	padding: 0;
	background: none;
	border: none;
}
/*----------------------------------------------------------------------------
******************************************************************************
Original
******************************************************************************
----------------------------------------------------------------------------*/
/* ==== Index === */
#i_img {
}
#i_img img {
	width: 100%;
}
#i_main {
	width: 100%;
	margin-top: 20px;
}
#i_news {
	height: 300px;
	overflow:auto;
	border: none;
}
#i_news table {
}
#i_news table td {
	vertical-align: top;
	font-size: 0.9em;
	padding: 10px;
	display:block;
}
#i_news table tr {
	border-bottom: 1px dotted #CCC;
}
#i_news table td.date {
	background: url(/~fukihara/images/common/news_icon.gif) 4px 14px no-repeat;
	padding-left: 20px;
}
#i_bnr {
	margin-top: 20px;
	width: 100%;
}
#i_bnr ul {
	
}
#i_bnr li {
	width: 100%;
	margin-bottom: 4px;
}
#i_bnr li a {
	display: block;
	width: 100%;
	text-decoration: none;
	color: #222;
	padding: 15px 0 15px 30px;
	border: 1px solid #222;
	border-radius: 0px;
	background: url(/~fukihara/images/common/bnr_bg.png) 8px center no-repeat;
	-webkit-transition: All 0.5s ease;
	-moz-transition: All 0.5s ease;
	-o-transition: All 0.5s ease;
	-ms-transition: All 0.5s ease;
	transition: All 0.5s ease;
}
#i_bnr li a:hover {
	color: #fff;
	background: url(/~fukihara/images/common/bnr_bg_hover.png) 8px center no-repeat #222;
}

#i_bnr .bnr_img{
  margin-bottom: 20px;
}
#i_bnr .bnr_img figure {
  border: 1px solid #c11732;
  border-radius: 5px;
  background: #c1173217;
  max-width: 300px;
  margin: 0 auto;
}
#i_bnr .bnr_img figure a {
  color: #000;
  text-decoration: none;
  font-size: 1rem;
  text-align: center;
  padding: 10px;
  display: block;
  transition: .5s;
}

#i_bnr .bnr_img figure a:hover {
  opacity: 0.8;
  transition: .5s;
}

#i_bnr .bnr_img img{
  width: 100%;
  margin-bottom: 5px;
}

/*----pagetop----*/
#page-top {
	width:100%;
}
#page-top a {
	background: #666;
	border: none;
	text-decoration: none;
	color: #fff;
	width: 100%;
	padding: 20px 0;
	text-align: center;
	display: block;
}
#page-top a:hover {
	text-decoration: none;
}
header h1 .lab-name span {
    margin-bottom: 5px;
}
}