@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,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,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 {
    width:940px;
    margin:0 auto;
    font-size:14px;
    color:#0d0015;
    font-family:"メイリオ",Meiryo,"ヒラギノ角ゴ Pro W3","Hiragino Kaku Gothic Pro",Osaka,"ＭＳ Ｐゴシック","MS PGothic",sans-serif;
    line-height:1.6;
}
body {
 background-image: url("../image/back.png");
 background-repeat: repeat-x;
 background-position: bottom
 }
#contents {
  float: left;
  margin: 15px 0;
  padding: 0;
    width:940px;
}

#main {
    float:left;
    width:620px;
    margin:30px 0;
}

#sub {
    float:right;
    width:300px;
    margin:30px 0;
}

#subnav {
    display:none;
}

section {
    margin-bottom:50px;
}

a {
    color:#0d0015;
}
a:hover {
    color:#1e50a2;
}

h1 {
    color:#85d1c6;
    font-size:28px;
    line-height:1.2;
}
h1 a {
    color:#85d1c6;
    text-decoration:none;
}
h1 a:hover {
    color:#85d1c6;
    text-decoration:underline;
}

h2 {
	padding-left:5px;
    margin:0 0 0.5em 0;
    font-size:18px;
    color:#ffffff;
	background:#1e50a2;
	border-top:3px solid #84a2d4;
	border-bottom:3px solid #84a2d4;
}
h2 a {
    color:#ffffff;
}
h2 a:hover {
    color:#ffffff;
}

h3 {
    margin-bottom:0.25em;
    padding:2px 5px;
    color:#fff;
    font-size:16px;
    background:#84a2d4;
	border-bottom:solid 3px #1e50a2;
}

h3:before {
    content:"\002668";
	color:#ffffff;
}


h4 { 
	padding-left:5px;
    margin-bottom:0.25em;
    font-size:16px;
    background:#eaf4fc;
	border-left:solid 5px #1e50a2;
	border-bottom:solid 1px #1e50a2;
}


h5 {
    margin-bottom:0.25em;
    padding:2px;
    font-size:16px;
    border-bottom:2px solid #ec6d71;
}
h5:before {
	content:"\002668";
	color:#ec6d71;
}


h6 {
    margin-bottom:0.25em;
    color:#382400;
    font-size:14px;
    font-weight:bold;
}

p {
    margin:0 0 1em 5px;
}

img {
    vertical-align:bottom;
}
small {
    font-size:12px;
    line-height:1.4;
}

em {
    font-weight:bold;
}

strong {
    font-weight:bold;
    color:#7fb6ae;
}

pre {
    margin:1em 0;
    padding:1em;
}

blockquote {
    margin-bottom:1em;
    padding:1em;
    border:1px dotted #ddd;
    border-left:5px solid #ddd;
}

ul,dl {
    margin:0 0 1em 0;
}
ol{
    margin:0 0 1em 25px;
}

ul li {
    list-style:none;
}
ol li {
    list-style:decimal;
}


dt {
    margin-bottom:0.5em;
    border-bottom:1px dotted #84a2d4;
}
dt:before {
    content:"\0025a0";
}
dd {
    margin-bottom:0em;
}

table {
	max-width:100%;
	margin:10px 0;
    border-collapse:collapse;
    border:1px solid #ddd;
}
th {
    padding:10px;
    text-align:center;
    vertical-align:middle;
    border:1px solid #ddd;
    background:#eaf4fc;
}
td {
    padding:10px;
    text-align:center;
    vertical-align:middle;
    border:1px solid #ddd;
}
td.left {
	text-align: left;
}
caption {
	text-align: right;
}


img{
	max-width: 100%; 
	height:auto;
}

.modal-content {
    position:fixed;
    display:none;
    z-index:2;
    max-width:80%;
    margin:0;
    padding:10px 20px;
    border:2px solid #aaa;
    background:#fff;
}

.modal-content p {
    margin:0;
    padding:0;
}

.modal-overlay {
    z-index:1;
    display:none;
    position:fixed;
    top:0;
    left:0;
    width:100%;
    height:120%;
    background-color:rgba(0,0,0,0.75);
}

.modal-open {
    color:#00f;
    text-decoration:underline;
}

.modal-open:hover {
    cursor:pointer;
    color:#f00;
}

.modal-close {
    color:#00f;
    text-decoration:underline;
}

.modal-close:hover {
    cursor:pointer;
    color:#f00;
}


/*================================================
 *  ヘッダー
 ================================================*/
header {
    position:relative;
    margin:0;
}
header h1 {
    margin-bottom:20px;
}
.tel {
	position:absolute;
	top:0;
	right:0;
	vertical-align:top;
	text-align:right;
    line-height:1.2;
}

.tel span {
	display:inline-block;
    color:#ec6d71;
    font-size:24px;
    font-weight:bold;
    vertical-align:middle;
}

/*=== グローバルナビゲーション ===*/

#nav-wrap {
	margin: 20px 0 0 0;
}
 
/* menu icon */
#menu-icon {
    display: none; /* hide menu icon initially */
}
 
#nav, 
#nav li {
    margin: 0;
    padding: 0;
}
#nav li {
    list-style: none;
    float: left;
    margin: 0px;
    width: 235px;
    text-align:center;
    background:#1e50a2;
}   
 
/* nav link */
#nav li a {
    padding: 10px ;
    display: block;
    font-size:18px;
    font-weight:bold;
    color: #ffffff;
    text-decoration:none;
}

#nav li a:hover {
    background: #84a2d4;
}

/* nav dropdown */
#nav ul {
    background:#eaf4fc;
    position: absolute;
    display: none; /* hide dropdown */
}

#nav ul a {
    background:#84a2d4;
}

#nav ul a:hover {
    background:#eaf4fc;
    color:#1e50a2;
}

#nav ul li {
    float: none;
    margin: 0;
    padding: 0;
}
#nav li:hover > ul {
    display: block; /* show dropdown on hover */
}

/*================================================
 *  フッター
 ================================================*/
footer {
    clear:both;
}

footer a {
	text-decoration:none;
}

.footmenu {
    width:100%;
    padding:30px 0;
    overflow:hidden;
    border-top:1px dotted #1e50a2;
}
.footmenu ul {
    position:relative;
    float:left;
    left:50%;
    margin:0;
}
.footmenu li {
    position:relative;
    left:-50%;
    float:left;
    list-style:none;
    padding:0 10px;
    font-size:14px;
    font-weight:bold;
    text-align:center;
}
.submenu li {
    position:relative;
    left:-50%;
    float:none;
    list-style:none;
    padding:0 10px;
    font-size:14px;
    font-weight:normal;
    text-align:center;
}
.copyright {
    clear:both;
    padding:70px 0 100px 0;
    font-size:13px;
    text-align:center;
}

.copyright span {
	display:inline-block;
}

/*================================================
 *  ページトップへの戻り
 ================================================*/
.totop {
    position:fixed;
    bottom:15px;
    right:15px;
}
.totop a {
    display:block;
    text-decoration:none;
}
.totop img {
    background:#1e50a2;
}
.totop img:hover {
    background:#84a2d4;
}

/*================================================
 *  クラス
 ================================================*/
.close{
	background:#333333;
}

.textL {
    text-align:left;
}

.textR {
    text-align:right;
}

.list {
    padding:0 0 0 2em;
}

.list li {
    margin:0;
    padding:0;
    list-style:none;
    text-indent:-1.3em;
}
.list li:before {
    content:"\002668";
    color:#1e50a2;
}

.temp {
    clear:both;
    overflow:hidden;
    margin-bottom:50px;
}

.img {
    float:left;
	width:300px;
}

.text {
    float:right;
    width:450px;
}

.photo {
    overflow:hidden;
    margin:10px 0;
    padding:10px;
    border:3px solid #ddd;
    background:#fff;
}
.imgL {
	max-width: 100%; 
	height:auto;
    float:left;
    margin:0 10px 10px 0;
}

.imgR {
	max-width: 100%; 
	height:auto;
	float:right;
	margin:0 0 10px 10px;
}

.info dt {
    border-bottom:none;
}
.info dd {
    padding-bottom:1em;
    border-bottom:1px solid #ddd;
}

.catalog {
    overflow:hidden;
    border-top:2px solid #ddd;
	padding:0 5px 0 5px;
    margin-top:8px;
    margin-right:-10px;
}
.catalog li {
    list-style:none;
    float:left;
    margin:10px 5px 10px 5px;
}
.catalog li img {
    width:95px;
}

.links {
    text-align:right;
}


/*================================================
 *  スライドショー
 ================================================*/
.slide {
     width:100%;
     overflow:hidden;
     position:relative;
     margin-bottom:20px;
}

.slideInner {
     list-style:none;
     margin:0 0 5px 0;
     padding:0;
}
.slideInner li {
     position:absolute;
     background:#fff;
     margin:0;
     padding:0;
}
.slideInner li img {
   width:100%;
}

.slidePrev {
      position:absolute;
      width:50px;
      height:60px;
      left:0;
      cursor:pointer;
      z-index:100;
}

.slideNext {
      position:absolute;
      display:block;
      width:50px;
      height:60px;
      right:0;
      cursor:pointer;
      z-index:100;
}

.controlNav {
      position:relative;
      float:left;
      left:50%;
}
.controlNav span {
      position:relative;
      left:-50%;
      float:left;
      margin:5px;
      -webkit-border-radius:5px;
      -moz-border-radius:5px;
      border-radius:5px;
      width:10px;
      height:10px;
      overflow:hidden;
      -webkit-box-shadow:1px 1px 2px rgba(0, 0, 0, 0.5) inset;
      -moz-box-shadow:1px 1px 2px rgba(0, 0, 0, 0.5) inset;
      box-shadow:1px 1px 2px rgba(0, 0, 0, 0.5) inset;
      background:#eee;
      text-indent:-9999px;
      vertical-align:middle;
}
.controlNav span:hover {
      background:#ccc;
      cursor:pointer;
}
.controlNav span.current {
      -webkit-box-shadow:1px 1px 2px rgba(0, 0, 0, 0.5) inset, 0 0 2px rgba(133, 209, 198, 0.5);
      -moz-box-shadow:1px 1px 2px rgba(0, 0, 0, 0.5) inset, 0 0 2px rgba(133, 209, 198, 0.5);
      box-shadow:1px 1px 2px rgba(0, 0, 0, 0.5) inset, 0 0 2px rgba(133, 209, 198, 0.5);
      background:#85d1c6;
}

/*================================================
 *  ブログ
 ================================================*/
#calendar_wrap{
        text-align:center;
}
#calendar_wrap .next {text-align: right;}
#calendar_wrap .prev {text-align: left;}

.calendar_table {
 margin:10px auto;
	max-width:100%;
    border-collapse:collapse;
    border:1px solid #ddd;
}
.calendar_table  th {
    padding:5px;
    text-align:center;
    vertical-align:middle;
    border:1px solid #ddd;
    background:#eaf4fc;
}
.calendar_table td {
    padding:5px;
    text-align:center;
    vertical-align:middle;
    border:1px solid #ddd;
}
.navi  {
    text-align:center;
}

.pager  {
    text-align:center;
}


/*================================================
 *  スマートフォン向けデザイン
 ================================================*/
@media screen and (max-width:779px) {
    body {
        box-sizing: border-box;
        width:100%;
        padding:0 10px;
    }

    header h1 {
        margin-bottom:0;
    }
    .tel {
        position:relative;
        text-align:right;
    }	
	br { display : none ; }

	#contents {
        float:none;
        width:100%;
    margin:10px 0;
    }

    #main {
        float:none;
        width:100%;
    margin:10px 0;
    }

    #sub {
        float:none;
        width:100%;
    margin:10px 0;
    }

/* メインメニュー */
	/* nav-wrap */
	#nav-wrap {
        position: relative;
    }
 
    /* menu icon */
    #menu-icon {
        color: #000;
        width: 80%;
        height: 30px;
        background: #ecebeb url(image/menu-icon.png) no-repeat 10px center;
        padding: 8px 10px 0 42px;
        cursor: pointer;
        display: block; /* show menu icon */
    }
    #menu-icon:hover {
        background-color: #f8f8f8;
    }
    #menu-icon.active {
        background-color: #bbb;
    }
     
    /* main nav */
    #nav {
        clear: both;
        position: absolute;
        top: 38px;
        width: 90%;
        z-index: 10000;
        padding: 5px;
        background: #ffffff;
        display: none; /* visibility will be toggled with jquery */
    }
    #nav li {
        clear: both;
        float: none;
        background: #84a2d4;
        padding: 5px;
        margin: 0;
        width: 90%;
    border:1px solid #ddd;
    }
    #nav a, 
    #nav ul a {
        font: inherit;
        background: none;
        display: inline;
        padding: 0;
        border: none;
    }
    #nav a:hover, 
    #nav ul a:hover {
        background: none;
    }
     
    /* dropdown */
    #nav ul {
        width: auto;
        position: static;
        display: block;
        border: none;
        background: inherit;
    }
    #nav ul li {
        margin: 15px;
    }

	.footmenu ul {
	    float:none;
	}

	.footmenu li {
	    float:none;
	}

	.submenu li {
	    float:none;
	}

    .catalog {
        margin-right:-2%;
    }
    .catalog li {
        float:left;
        width:23%;
        margin:2% 2% 2% 0;
    }

    .catalog li img {
        width:100%;
    }

    .bnr {
        overflow:hidden;
        margin-right:-2%;
    }

    .bnr li {
        float:left;
        width:48%;
        margin:0 2% 2% 0;
    }

    .bnr li img {
        width:100%;
    }

   .totop {
    display:none !important;
    }

}