@charset"UTF-8";

/************************ Layout ***************************/
html,body,input,button,textarea,select,address{
	font: 14px/2 "メイリオ",Verdana, "Hiragino Kaku Gothic ProN", "游ゴシック", YuGothic, Meiryo, sans-serif;
	color: #333;
}
html{
	margin-top: 0 ! important;
	margin: 0px;
	padding: 0px;
}
body{
	flex-direction: column;
	min-height: 100vh;
	width: 100%;
}
header, footer { 
	flex-shrink: 0;
}

/************************ Wrapper ***************************/
#wrapper {
	min-height: 100%;
	height: auto !important;
	position: relative;
	overflow: hidden;
}

/*****************************ヘッダー***************************************/

#header {
	background: #fff;
	width: 100%;
	z-index: 9999;
	border-bottom: 1px solid #cacaca;
}
#head-inner {
	display: flex;
	max-width: 1024px;
	margin: 0 auto;
	padding-top: 1em;
}

#header .siteTitle {
	color: #074B94;
	font-size: 0.6em;
}
#logo{
	padding-bottom: 1em;
	display: inline-block;
	box-sizing: border-box;
}
#head-r{
	display: flex;
	margin-left: auto;
}
.f-right{
	padding-top: 1.2rem;
	width: 500px;
}
.btn{
	background: #124D96;
	padding: 1em;
	border-radius: 3px;
	text-decoration: none;
}
.btn2{
	background: #961212;
	padding: 1em;
	border-radius: 3px;
	text-decoration: none;
}
ul.right-bottom{
	margin-top: 2em;
}
ul.right-bottom li{
	border-right: 1px solid #cacaca;
	padding: 0 1em;
	text-align: center;
	width: 33.33%;
}
ul.right-bottom li:last-child{
	border: none;
}


ul.right-bottom li a{
	color: #4e4e4e;
	text-decoration: none;
}
ul.right-bottom li a:hover{
	color: #036eb8;
}

#head-phone{
	color: #fff;
}
#head-contact{
	color: #fff;
}

#ch-link{
	color: #fff;
}

@media only screen and (max-width: 767px) {
	#header{
		position: fixed;
		height: 6em;
	}
}

/************************ #nav ***************************/

@media only screen and (max-width: 767px) {
	#head-inner {
		padding-top: 0;
	}
	#header .siteTitle a {
		display: none;
	}
	#logo{
		padding-top: 1em;
		width: 20%;
		margin: 0 auto;
		display: block;
	}
	#head-phone{
		width: 100%;
	}
	ul.right-bottom{
		display: none;
	}

	#head-inner, #head-r {
		display: block;
		text-align: center;
		width: 100%;
		box-sizing: border-box;
	}
	.f-right{
		text-align: center;
	}
	.f-right #head-contact{
		display: none;
	}
	.f-right #head-phone{
		width: 48%;
	}
	.f-right #ch-link{
		width: 48%;
	}
	.f-right{
		padding-right: 0;
		margin-bottom: 2em;
	}
}

/************************ #eyeCatch ***************************/



@media screen and (max-width: 767px) {
	#eyeCatch{
		display: none;
	}
}


/**********************トップside ********************/
#side{
	padding-left: 2em;
	box-sizing: border-box;
}
#side .bn-btn{
	width: 200px;
	margin-bottom: 1em;
	text-indent: -1000%;
	white-space: nowrap;
	overflow: hidden;
}
#side .bn-btn02{
	width: 200px;
	margin-bottom: 1em;
	text-indent: -1000%;
	white-space: nowrap;
	overflow: hidden;
}
#side .bn-btn03{
	width: 200px;
	margin-bottom: 1em;
	text-indent: -1000%;
	white-space: nowrap;
	overflow: hidden;
}
#bn-President{
	background: url("../images/bn/pc_sidePresident.png") no-repeat 0 0;
	height: 120px;
}
#bn-ocul-online{
	background: url("../images/bn/pc_t.ocul_online.png") no-repeat 0 0;
	height: 100px;
}
#bn-waza-online{
	background: url("../images/bn/pc_waza_online.png") no-repeat 0 0;
	height: 100px;
}
#bn-kyoukoku{
	background: url("../images/bn/pc_kyoukoku.png") no-repeat 0 0;
	height: 200px;
}
#bn-news-history2020{
	background: url("../images/bn/pc_news-his2020.png") no-repeat 0 0;
	height: 100px;
}
#bn-news-history2019{
	background: url("../images/bn/pc_news-his2019.png") no-repeat 0 0;
	height: 50px;
}
#bn-news-history2018{
	background: url("../images/bn/pc_news-his.png") no-repeat 0 0;
	height: 50px;
}
#bn-naikainter{
	background: url("../images/bn/pc_naikainter.png") no-repeat 0 0;
	height: 100px;
}
#bn-bussan{
	background: url("../images/bn/pc_bussan.png") no-repeat 0 0;
	height: 100px;
}
#bn-gujyo{
	background: url("../images/bn/pc_gujyo.png") no-repeat 0 0;
	height: 100px;
}
#bn-hayatabi-kurobe{
	background: url("../images/bn/pc_hayatabi-kurobe.png") no-repeat 0 0;
	height: 100px;
}
#bn-hayatabi_takaoka{
	background: url("../images/bn/pc_hayatabi_takaoka.png") no-repeat 0 0;
	height: 100px;
}
#bn-foods{
	background: url("../images/bn/pc_foods.png") no-repeat 0 0;
	height: 100px;
}
#bn-jfkurobe{
	background: url("../images/bn/pc_jfkurobe.png") no-repeat 0 0;
	height: 100px;
}
#bn-shichihoukan{
	background: url("../images/bn/pc_shichihoukan.png") no-repeat 0 0;
	height: 230px;
}
#bn-yamanomura{
	background: url("../images/bn/pc_yamanomura.png") no-repeat 0 0;
	height: 230px;
}
#bn-kigyonavi{
	background: url("../images/bn/pc_kigyonavi.png") no-repeat 0 0;
	height: 100px;
}
#bn-contact-cunsul{
	background: url("../images/bn/pc_contact-cunsul.png") no-repeat 0 0;
	height: 210px;
}
#bn-contact-cunsul{
	background: url("../images/bn/pc_contact-cunsul.png") no-repeat 0 0;
	height: 210px;
}
#bn-contact-rec{
	background: url("../images/bn/pc_contact-rec.png") no-repeat 0 0;
	height: 210px;
}
#tel-btn{
	display: none;
}
#contact-sp{
	display: none;
}


@media screen and (min-width: 768px) {
	#side-wrap-sp{
		display: none;
	}
}
@media screen and (max-width: 767px) {
	#side-wrap{
		display: none;
	}
	#side{
		width: 100%;
		padding: 0 1em;
	}
	#side-wrap-sp ul{
		column-count: 2;
	}
	#bn-ocul-online,#bn-waza-online,#bn-kyoukoku,#bn-news-history2020,#bn-news-history2019,#bn-news-history2018,#bn-naikainter,#bn-bussan,#bn-gujyo,#bn-hayatabi-kurobe,#bn-hayatabi_takaoka,#bn-btn f-item,#bn-jfkurobe,#bn-foods,#bn-shichihoukan,#bn-yamanomura,#bn-kigyonavi{
		height: auto;
		margin-bottom: 1em;
		padding-top: 1em;
		padding-bottom: 1em;
		background: #4e4e4e;
		text-align: center;
		color: #fff;
	}

}

/************************main_メイン***************************/
#main{
	flex: 1;
	background: #fff;
	padding: 2rem 1em;
	box-sizing: border-box;
}
#main article{
	padding-bottom: 2em;
}
@media screen and (max-width: 767px) {
	#main{
		padding-right: 1em;
		box-sizing: border-box;
	}
}


/*********************コンテンツ******************************/
#contents, #top-contents {
	margin: 0 auto;
	box-sizing: border-box;
}

#contents{
	background: url("../images/wp-bg.jpg") repeat-x;
}

 
.container {
	display: flex;
	max-width: 1024px;
	margin: 0 auto;
	padding: 0 1em;
}

@media screen and (max-width: 767px) {
	.container {
		flex-direction: column;
	}
}



/*****************************新着情報*************************/
n
#top-news {
	width: auto;
}
#top-news h2{
	padding-left: 10px;
	border-left: 10px solid #191970;
	font-weight: bold;
	font-color: #191970;
	font-size: 1.2em;
}
#top-news .go-infolist{
	text-align: right;
	margin: 10px 0;
}
#top-news .go-infolist a{
	color: #4e4e4e;
	text-decoration: none;
}
#top-news .go-infolist a:hover{
	color: #d1007f;
}


#top-news ul.tab{
	display: -webkit-box; /* Android -4.3 */
	display:flex;
	-webkit-box-pack:justify;/*--- Android -4.3 ---*/
	justify-content:space-between;
}

#top-news ul li {
	list-style-type: none;
	width: 100%;
	justify-content: center;
}
#top-news ul li a {
	color: #666;
	display: block;
	padding: 4% 0;
	text-align: center;
	background: #f2f2f2;
	border-top: 1px solid #cacaca;
	border-left: 1px solid #cacaca;
	white-space: nowrap; /****この3行でタブの文字数制限***/
	overflow: hidden;
	text-overflow: ellipsis;
	text-decoration: none;
}
#top-news ul li a.last{
	border-right: 1px solid #999;
}
#top-news ul li a:hover{
	background: #009fc4;
	color: #FFF;
}
#top-news ul li a.current {
	background: white;
	color: #009fc4;
}
#news-main{
	border: 1px solid #cacaca;
	padding: 10px;
}
#news-main dl{
	display: flex;
	padding: 0.4em 0;
	border-bottom: 1px dotted #191970;
} 
#news-main dt{
	color: #191970;
	width: 20%;
}
#news-main dd{
	padding-left: 1em;
}

#news-main dd a:hover {
	color: #666666;
}

#bottom-contact{
	position: relative;
	margin-top: 2em;
	height: 76px;
	background: url("../images/bottom-contact.png") no-repeat top center;
	
}
#bottom-contact p {
	position: absolute;
	right: 14%;
	top: 20%;
}
@media screen and (max-width: 580px) {
	#news-main dl{
		display: block;
	}
	#news-main dd{
		padding-left: 0;
	}
}

/*********************ボトムコンタクト******************************/

h4.contact-message{
	position: relative;
	font-size: 1.4em;
	font-weight: bold;
	padding-top: 3rem;
	padding-bottom: 1rem;
	margin-bottom: 1em;
	border-top: 1px solid #cacaca;
	text-align: center;
}
h4.contact-message::after {
	position: absolute;
	content: '';
	bottom: 0;
	left: 50%;
	width: 100px;
	margin-left: -50px;
	height: 2px;
	background: #cacaca;
}


.contact-tel-pc {
	font-family: 'arial';
	font-size: 2.4em;
	margin: 0 auto;
	margin-bottom: 1em;
	text-align: center;
}
.contact-tel-mobile {
	font-size: 1.6em;
	font-weight: bold;
	padding: 30px 10px;
	background: #730000;
	border-radius: 4px;
	line-height: 2rem;
	margin: 1em 0.5em;
	color: #fff;
	text-align: center;
}

ul.bt-form-btn li{
	padding: 1em;
	box-sizing: border-box;
}
@media screen and (max-width: 768px) {	
	.contact-tel-pc{
		display: none;
	}
}
@media screen and (min-width: 767px) {	
	.contact-tel-mobile {
		display: none;
	}
}


/*********************フッター******************************/

#footer {
	width: 100%;
	height: 100%;
	background: #f5f5dc;
}
#footer-inner {
	display: flex;
	max-width: 1024px;
	margin: 0 auto;
	padding: 2rem;
	box-sizing: border-box;
}
#footer-inner a{
	color: #4e4e4e;
	text-decoration: none;
}
#footer-inner a:hover{
	color: #d1007f;
}

#footer-address {
	display: flex;
}
#footer-address section{
	padding: 1em;
}

#footer-address h2{
	font-weight: bold;
}


@media only screen and (max-width: 767px) {
	#footer-inner {
		flex-direction: column;
	}
	#footer-info{
		border: none;
		border-bottom: 1px solid #8c8c8c;
	}
}

@media only screen and (max-width: 480px) {
	#footer-address {
		display: block;
	}
	#footer-sitemap section{
		display: none;
	}
}

/*********************copyright******************************/

#copyright{
	clear: both;
	width: 100%;
	height: 40px;
	color: #FFF;
	background: #333;
	text-align: center;
	line-height: 3em;
	letter-spacing: 0.1em;
}
/* ------------------------------
   MEDIAQUERIES LAYOUT
------------------------------ */
@media only screen and (max-width: 767px) {
	#copyright{
		font-size: 1rem;
		line-height: 2em;
		letter-spacing: 0.1em;
	}
}

/**********************ぱんくずリスト**********************/

#pagenav-top, #pagenav {
	height: 2.4rem;
	width: 100%;
	background: url("../images/pagenav-bg.jpg") repeat-x ;
	border-bottom: 1px solid #eee;
	padding-top: 0.2em;
}
#pagenav-inner ul{
	display: flex;
	padding-left: 1rem;
}
#pagenav-inner li {
	background: url("../images/mark.png") no-repeat scroll right 11px;
	font-size: 0.8em;
	line-height: 12px;
	margin-right: 8px;
	padding-right: 16px;
	padding-top: 10px;
}
#pagenav-inner li.now-page{
	color: #287166;
	background: none;
}


@media only screen and (max-width: 767px) {
	#pagenav-top, #pagenav{
		margin-top: 8rem;
		background: none;
	}
}

@media only screen and (min-width: 768px) {
	#pagenav-top{
		display: none;
	}
}
@media only screen and (max-width: 580px) {
	#pagenav-top, #pagenav{
		margin-top: 6rem;
	}
}

/********************セカンドサイドナビ************************/

#second-sidebar{
	width: 20%;
	padding: 1rem;
	boxsizing: border-box;
	background: #fff;
}
#second-side-nav{
	padding-bottom: 2rem;
	margin-bottom: 2rem;
}

#second-side-nav .second-snav-ttl {
	border-bottom: solid 3px #cacaca;
	position: relative;
	text-align: center;
	color: #287166;
	font-weight: bold;
}

#second-side-nav .second-snav-ttl:after {
	position: absolute;
	content: " ";
	display: block;
	border-bottom: solid 3px #287166;
	bottom: -3px;
	width: 20%;
}
#second-side-nav li{
	font-size: 0.9em;
	padding: 1em;
	line-height: 2.6em;
	border-bottom: 1px dotted #cacaca;
	box-sizing: border-box;
}
#second-side-nav li a{
	color: #4E4E4E;
	text-decoration: none;
}
#second-side-nav ul li:hover > a {
	color: #036eb8;
}


h4.second-side-message{
	position: relative;
	font-size: 1.4em;
	font-weight: bold;
	padding-top: 3rem;
	padding-bottom: 1rem;
	margin-bottom: 1em;
}
h4.second-side-message::after {
	position: absolute;
	content: '';
	bottom: 0;
	left: 50%;
	width: 100px;
	margin-left: -50px;
	height: 2px;
	background: #cacaca;
}
.second-side-tel{
	text-align :center;
	font-size: 1.4em;
	font-weight: bold;
}
.second-side-contact img{
	margin-top: 1em;
}



@media screen and (max-width: 768px) {
	#second-sidebar{
		display: none;
	}
}






/* ------------------------------
   MEDIAQUERIES[SP]LAYOUT
------------------------------ */
@media only screen and (max-width: 767px) {
	#side-nav {
		display: none;
	}
	#menuOverlay {
		top: 0;
		left: 0;
		width: 100%;
		height: 100%;
		background-color: rgba(0,0,0,0.6);
		display: none;
		position: fixed;
		z-index: 9997;
	}
	#switchBtnArea {
		width: 100%;
		height: 60px;
		background: #3c3c3c;
		border-bottom: #aaa 1px solid;
		position: relative;
	}
	#switchBtnArea #switchBtn {
		top: 10px;
		left: 10px;
		width: 40px;
		height: 40px;
		display: block;
		background: #a7a7a7;
		position: absolute;
		border-radius: 5px;
		z-index: 9998;
	}
	#switchBtnArea #switchBtn span {
		left: 20%;
		width: 60%;
		height: 4px;
		display: block;
		position: absolute;
		background-color: #fff;
		border-radius: 5px;
		transition: all 0.2s linear;
	}
	#switchBtnArea #switchBtn span:nth-of-type(1) {
		top: 10px;
		-webkit-transform: rotate(0);
		transform: rotate(0);
	}
	#switchBtnArea #switchBtn span:nth-of-type(2) {
		top: 18px;
		-webkit-transform: scale(1);
		transform: scale(1);
	}
	#switchBtnArea #switchBtn span:nth-of-type(3) {
		bottom: 10px;
		-webkit-transform: rotate(0);
		transform: rotate(0);
	}
	#switchBtnArea #switchBtn.btnClose {
		background: transparent;
	}
	#switchBtnArea #switchBtn.btnClose span:nth-of-type(1) {
		top: 18px;
		-webkit-transform: rotate(-45deg);
		transform: rotate(-45deg);
	}
	#switchBtnArea #switchBtn.btnClose span:nth-of-type(2) {
		-webkit-transform: scale(0);
		transform: scale(0);
	}
	#switchBtnArea #switchBtn.btnClose span:nth-of-type(3) {
		bottom: 18px;
		-webkit-transform: rotate(45deg);
		transform: rotate(45deg);
	}
	#rwdMenuWrap {
		top: 0;
		left: -200px;
		width: 200px;
		height: 100%;
		background: #3c3c3c;
		overflow: auto;
		position: fixed;
		z-index: 9999;
	}

	#rwdMenuWrap ul {
		width: 100%;
	}

	#rwdMenuWrap ul li {
		width: 100%;
		border-bottom: #aaa 1px solid;
	}

	#rwdMenuWrap ul li a {
		padding: 15px 20px;
		text-align: left;
		display: block;
		background: #ebebeb;
		position: relative;
	}

	#rwdMenuWrap ul li a:after {
		content: '';
		margin-top: -4px;
		top: 50%;
		right: 15px;
		width: 8px;
		height: 8px;
		color: #888;
		font-size: 1em;
		font-weight: bold;
		line-height: 1.2em;
		display: block;
		position: absolute;
		border-top: 2px solid #b0b0b0;
		border-right: 2px solid #b0b0b0;
		-webkit-transform: rotate(45deg);
		transform: rotate(45deg);
	}

	#contents, #top-contents {
		width: 100%;
	}
	.has-padding-btm{
		padding-bottom: 2em;
	}

/* ------------------------------
   CLEARFIX ELEMENTS
------------------------------ */
#side-nav > ul:before,
#side-nav > ul:after {
	content: " ";
	display: table;
}
#side-nav > ul:after {clear: both;}
#side-nav > ul {*zoom: 1;}

/* ------------------------------
  link
------------------------------------------------------------*/
a{
	color:#4e4e4e;
	text-decoration:none;
}
a:hover{
	color:#2980b9;
	text-decoration:none;
}

.right {
	text-align: right !important;
}

