/* IMPORT CSS */
/* IMPORT CSS */
@import url("grid2.css");

img {
	max-width:100%;
	height: auto;/*高さ自動*/
}
a {
	    display:block;
    color: #333;
}
.flat{
    display: initial;
}
a:hover { 
    color: #999;
}

a img:hover {
	opacity: 0.8;
}
.grayback {
	background-color: #ededed;
	color: #333;
	padding: 2rem;
}
.blueback {
	background-color: #008db7;
	color: #fff;
	padding: 1rem;
}
.underline {
	border-bottom: 3px solid #003399;
	padding-bottom: 0.5rem;
}
.center {
	text-align: center;
}
.fadeInUp {
  opacity : 0;
  transform: translateY(100px);
  transition: 1s;
}
.menuli {
  display: table; /*擬似table要素にする*/
  table-layout: fixed;/*liタグ幅が均一になる*/
  text-align: center;/*センタリング*/
  width: 100%;/*メニュー幅の指定*/
}
.menuli li {
  display: table-cell; /*liタグをセルに指定*/
  vertical-align: middle !important; /*縦方向の中央寄せ*/
}
/*ヘッダー
-------------------------------------*/
.head {
	display: flex;
    flex-direction: row;
    padding: 1rem 0 0 0;
}

.head h1 { 
    padding: 1rem 0;
}

.menu {
	background-color: #008db7;
	line-height: 1;
}
nav ul {
	display: flex;
    flex-direction: row;
    justify-content: space-around;
    list-style: none;
	margin-bottom: 0;
}
nav li {
    flex: 1 0 auto;
	margin-bottom: 0;
	border-right: 1px dashed #0f6898;
}
nav li a {
    text-decoration: none;
	-webkit-transition: 0.8s;
	-moz-transition: 0.8s;
	-o-transition: 0.8s;
	-ms-transition: 0.8s;
	transition: 0.8s;
    text-align: center;
	color: #fff;
}
nav a:hover {
    background-color: #0f6898;    
	color: #fff;
}
nav a {
    padding: 1.3em 1em;
	display: block;
}

@media screen and (min-width: 780px){
/* PC時はMENUボタンを非表示 */
#open,#close {
    display: none !important;
}

#navi {
    display: block !important;
}
}
@media screen and (max-width: 780px){
.head {
	flex-direction: column;
    text-align: left;
    margin-bottom: 20px;
}
.telbox {
	margin-left: 0;
	text-align: center;
}
.head #open,#close  {
    position: absolute;
    top: 20px;
    right: 12px;
    }
nav ul {
	flex-direction: column;
}
nav li {
	padding-top: 0;
	border-bottom: 1px solid #ccc;
	margin-bottom: 0;
}
	.menu li {
		display: list-item;
	}
	.mo_mig {
		width: 300px;
	}
	footer p {
		margin-bottom: 1.5em;
	}
/* スマホ時はMENUボタンを表示 */
#open,#close  {
    display: block;
    width: 50px;
    border: none;
    position: absolute;
    top: 20px;
    right: 12px;
}
/* スマホ時はメニューを非表示 */
#navi {
    display: none;
}
.pc_area{
  display:block;
}
}

/*メイン画像
-------------------------------------*/
.swiper-slide img {width: 100%;}
.swiper-slide a img:hover {
	opacity: 1;
}
.nms-plugin-20180424043848 .swiper-slide-active:hover,
.nms-plugin-20180424043848 .swiper-slide-next, .swiper-slide-prev { opacity: 0.4; }
.nms-plugin-20180424043848 .swiper-button-next,
.nms-plugin-20180424043848 .swiper-button-prev { background-image: none; color: #222; top:47%; opacity: 0.4; }
.nms-plugin-20180424043848 .swiper-pagination { position: initial; }
.nms-plugin-20180424043848 .swiper-pagination-bullet-active { background-color: #222; }


/*メインコンテンツ
-------------------------------------*/
main {
    margin: 2rem 0 5rem 0;
}
.head_line {
    margin:  0;             /* デフォルトCSS打ち消し */
    font-size:  24px;       /* 文字サイズ指定 */
    position:  relative;    /* 位置調整 */
    font-weight:  normal;   /* 文字の太さ調整 */
    display:  inline-block; /* インラインブロックにする */
    background-color: #fff; /* 背景色指定 */
    margin-left: 20px;      /* 周りの余白指定 */
    padding: 0 10px;        /* 余白指定 */
}
p {
    margin:  0;             /* デフォルトCSS打ち消し */
    line-height: 2;         /* 行間調整 */
}
.head_line-wrap {
    position: relative;     /* 位置調整 */
    margin-bottom:15px;     /* 周りの余白指定 */
}
.head_line-wrap:before {
    content:  '';           /* 空白の要素を作る */
    background-color: #000; /* 背景色指定 */
    display:  block;        /* ブロック要素にする */
    position:  absolute;    /* 位置調整 */
    left:  0;               /* 位置調整 */
    width:  100%;           /* 幅指定 */
    height:  1px;           /* 高さ指定 */
    top: 0;                 /* 位置調整 */
    bottom:  0;             /* 位置調整 */
    margin:  auto;          /* 位置調整 */
}
dt {
  clear: left;
  float: left;
  width: 7em;
  padding: 10px 0.5em;
}

dd {
  margin-left: 0;
  padding: 10px 0.5em 10px 8em;
  border-bottom: dotted 1px #CCC;
}

.btn-flat-border {
  display: inline-block;
  padding: 0.3em 1em;
  text-decoration: none;
  border-radius: 50px;
  transition: .4s;
  background: #10a0e0;
  color: white;
	width: 100%;
	text-align: center;
}

.btn-flat-border:hover {
  background: #67c5ff;
  color: white;
}

/*新着情報
-------------------------------------*/
.news h2 {
	font-size: 1.5em;
    background-color: #f0f0e1;
	color: #fff;
	padding: 1rem;
}
.news span {
	background-color: #ca4d7e;
	padding: 9px 160px 9px 60px;
	margin: 0 0 0 -10px;
}
.news li {
    list-style-type: none;
	border-bottom: 1px solid #ccc;
	padding: 0.5rem 0;
}

.btn-border {
  display: inline-block;
  max-width: 180px;
  text-align: left;
  border: 2px solid #f0f0e1;
  font-size: 14px;
  color: #222;
  text-decoration: none;
  font-weight: bold;
  padding: 8px 34px;
  border-radius: 4px;
  transition: .4s;
}

.btn-border:hover {
  background-color: #ca4d7e;
  border-color: #f0f0e1;
  color: #FFF;
}



/*フッター
-------------------------------------*/
footer {
    background-color: #008db7;
    padding: 5rem 0;
	color: #fff;
}
footer h5 {
    border-bottom: 1px solid #fff;
}

/*コピーライト
-------------------------------------*/
.copyright {
    text-align: center;
    padding: 1rem 0;
    background-color: #eeeeee;
}
.copyright a {
    color: #000;
    text-decoration: none;
	display: inline-block;
}

/*ページトップへ戻るボタン
-------------------------------------*/
#pagetop {
    position: fixed;
    bottom: 15px;
    right: 15px;
}
#pagetop a {
    display: block;
    background: #008db7;
    color: #fff;
    width: 50px;
    padding: 10px 5px;
    text-align: center;
	border-radius: 10px;
	text-decoration: none;
}
#pagetop a:hover {
    background: #008db7;
}
/*パンくずリスト
-----------------------------------*/
.breadcrumb {
    margin: 0 0 1em 0;
    padding: 0;	
}
.breadcrumb li {
    list-style-type: none;
}
.breadcrumb li a {
    display: inline-block;
    color: #959fa5;
}

/* 画像拡大
-----------------------------------*/
#img_rapper {
width: 100%;
height: 100%;
position: fixed;
z-index: 2;
text-align: center;
background: #000;
top: 0;
opacity: 0.6; 
}


#imgbox {
width: 100%;
height: 100%;
position: fixed;
z-index: 99;
text-align: center; 
}

#imgbox img {
height: 80%;
display: inline-block;
position: relative;
top: 0; 
}

@media screen and (max-width: 780px) {
	#imgbox img {
        width: 100%;
        height: auto;
        top: 20%; } 
    }
