@charset "utf-8";

/* =Reset default browser CSS.
Based on work by Eric Meyer: http://meyerweb.com/eric/tools/css/reset/index.html
-------------------------------------------------------------- */
html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, font, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td {border: 0;font-family: inherit;font-size: 100%;font-style: inherit;font-weight: inherit;margin: 0;outline: 0;padding: 0;vertical-align: baseline;}
:focus {outline: 0;}

ol, ul {list-style: none;}
table {border-collapse: separate;border-spacing: 0;}
caption, th, td {font-weight: normal;text-align: left;}
blockquote:before, blockquote:after,q:before, q:after {content: "";}
blockquote, q {quotes: "" "";}
a img{border: 0;}
figure{margin:0}
article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section {display: block;}
/* -------------------------------------------------------------- */

body{
color:#555;
font:12px verdana,"ヒラギノ丸ゴ ProN W4","Hiragino Maru Gothic ProN","メイリオ","Meiryo","ＭＳ Ｐゴシック","MS PGothic",Sans-Serif;
line-height:1.5;
border-top:5px solid #6A78B5;
background:#f4f4f4;
-webkit-text-size-adjust: none;
}
.bg { position:fixed; top:50%; left:50%; margin:-600px 0 0 -900px; }
.remove_cookie {
    display:block;
    position:fixed;
    width:200px;
    height:40px;
    top:90%;
    left:50%;
    margin:-20px 0 0 -100px;
    color:#999;
    font-weight:bold;
    text-align:center;
    text-decoration:none;
    line-height:40px;
    background:#FFF;
    border:1px solid #CCC;
    border-radius:20px;
    box-shadow:0 5px 10px rgba(0,0,0,0.4); cursor:pointer;
}
.remove_cookie:hover { color:#333; }

/* リンク設定
------------------------------------------------------------*/
a{color:#F00000;text-decoration:none;}
a:hover{color:#F00000;}
a:active, a:focus{outline:0;}


/* 全体
------------------------------------------------------------*/
#wrapper{
margin:0 auto;
padding:0 1%;
width:98%;
position:relative;
}

.inner{
margin:0 auto;
width:100%;
}

/*************
/* ヘッダー
*************/
#header{
overflow:hidden;
padding:20px 0;
background:#6A78B5;
}

* html #header{height:1%;}


/*************
/* ロゴ
*************/
#header .logo{
float:left;
padding:20px 0 0;
}

.logo a{
font-size:20px;
font-weight:bold;
line-height:1;
color:#fff;
font-family:"Palatino Linotype", "Book Antiqua", Palatino, serif;
}

.logo span{
font-size:12px;
font-weight:normal;
}

#header h1{
font-size:11px;
color:#fff;
}


/**************************
/* メイン画像（トップページ+サブページ）
**************************/
#mainBanner{
margin:0 auto 30px;
padding:0;
width:100%;
line-height:0;
background:#fff;
}

#mainBanner .inner{position:relative;}

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

.slogan{
position:absolute;
max-width:100%;
height:auto;
bottom:0;
left:0;
padding:5px 10px;
line-height:1.4;
z-index:100;
}

.slogan h2{
padding-bottom:5px;
background-color: rgba(242,217,172,0.5);
color:#333;
font-size:20px;
}

.slogan h3{
font-size:14px;
background-color: rgba(242,217,172,0.5);
color:#333;
}

/**************************
/* グリッド
**************************/
.gridWrapper{
padding-bottom:20px;
overflow: hidden;
}

* html .gridWrapper{height:1%;}
	
.grid{
float:left;
background:#F4F4F4;
box-shadow:0 0 3px #F4F4F4;
}

.grid h3{
padding:10px 0;
font-weight:bold;
color:#fff;
background:#6A78B5;
text-align:center;
}

.grid8 h3{
padding:10px 0;
font-weight:bold;
color:#fff;
background:#6A78B5;
text-align:center;
}

.grid p{
padding:5px 10px;
}

.grid p.img{
padding:0;
}

.readmore{clear:both;}

p.readmore{
padding:10px;
}


/* フッター内のグリッド(3カラム) */
#footer .grid{
color:#fff;
border:0;
background:transparent;
box-shadow:none;
}

#footer .grid p{padding:0;}


/*************
メイン コンテンツ
*************/
section.content{
padding:0 10px 10px;
margin-bottom:20px;
overflow:hidden;
font-size:14px;
background:#fff;
box-shadow:0 0 3px #ddd;
}

* html section.content{height:1%;}

section.content p{margin-bottom:5px;}

h3.heading{
padding:5px 10px;
margin:0 -10px 20px;
font-size:16px;
color:#fff;
background:#6A78B5;
}

section.content img{
max-width:90%;
height:auto;
}

img.frame,#gallery img{
padding:3px;
box-shadow:0 0 3px #ddd;
}

#gallery .grid{
margin-bottom:10px;
box-shadow:none;
}

.alignleft{
float:left;
clear:left;
margin:3px 10px 10px 0;
}

.alignright{
float:right;
clear:right;
margin:3px 0 10px 10px;
}



/*************
テーブル
*************/
table.table{
/* border-collapse:collapse; */
border: double
width:100%;
margin:10px auto;
}

table.table th,table.table td{
padding:5px;
border:1px solid #6A78B5;
}

table.table th{
text-align:right;
font-weight:bold;
letter-spacing:1px;
white-space:nowrap;
color:#fff;
background:#6A78B5;
border-left:#6A78B5 5px solid
}

a{color:#F00000;text-decoration:none;}
a:hover{color:#F00000;}

table.table td{border-left:#6A78B5 3px double}

/*================================================
 *  Saleテーブル
 ================================================*/
.sale {
    width:100%;
}

.sale table {
    width:98%;
    margin-bottom:1em;
	vertical-align:middle;
    border-collapse:collapse;
}
.sale th {
    padding:10px;
    text-align:middle;
    background:#D0D0D0;
}
.sale td {
    padding:10px;
	vertical-align:middle;
    text-align:middle;
    border: solid 1px #333;
}

/*************
サブ（フッター前）コンテンツ
*************/
#sub ul{padding:10px;}

#sub li{
margin-bottom:10px;
padding-bottom:10px;
border-bottom:1px dashed #ebebeb;
}

#sub li:last-child{
border:0;
margin-bottom:0;
}

#sub li a{display:block;}

#sub ul.list{padding-bottom:7px;}

#sub ul.list li{
clear:both;
margin-bottom:6px;
padding:5px 0;
overflow:hidden;
}

* html #sub ul.list li{height:1%;}

#sub ul.list li img{
float:left;
margin:0 10px 0 0;
}

#sub ul.list li{
font-size:12px;
line-height:1.35;
}


/*************
/* フッター
*************/
#footer{
clear:both;
padding:20px 0;
overflow:hidden;
background:#6A78B5;
}

* html #footer{height:1%;}

.tel strong{
font-size:20px;
font-weight:bold;
}

#footer a{color:#fff;}
#footer a:hover{color:#F00000;}

#footer .copyright{font-size:11px;}


/* PC用 */
@media only screen and (min-width:960px){	
	#wrapper,.inner{
	width:940px;
	padding:0;
	}
	
	#wrapper{padding-bottom:20px;}
	
  nav div.panel{
	display:block !important;
	float:right;
	}

	a#menu{display:none;}

	nav#mainNav ul{
	float:right;
	overflow:hidden;
	}

	* html nav#mainNav ul{height:1%;}

	nav#mainNav ul li{
	float:left;
	text-align:center;
	border-right:1px solid #eee;
	}
	
	nav#mainNav ul li:last-child{border:0;}

	nav#mainNav ul a{
	font-size:13px;
	display:block;
	padding:30px 15px;
	line-height:1.2;
	color:#6A78B5;
	background:#fff;
	}
	
	nav#mainNav ul span{
	font-size:10px;
	}

	nav#mainNav ul li.active a,nav#mainNav ul a:hover{
	color:#fff;
	background:#3C5D93;
	}
	
	/* グリッド全体 */
	.gridWrapper{
	width:960px;
	margin:0 0 0 -20px;
	}
	
	/* グリッド共通 ベース:トップページ6カラム */
	.grid{
	float:left;
	width:14%;
	margin-left:2%;
	}

    /* グリッド共通 ベース:トップページ8カラム */
	.grid8{
	float:left;
	width:10%;
	margin-left:2%;
	}

	/* サブコンテンツ + フッター グリッド(3カラム) */
	#sub .grid, #footer .grid{width:298px;}
	#footer .grid{border:0;}

    /* modal */
    .modal { 
    position:fixed;
    display:none;
    z-index:9999;
    top:40%;
    left:50%;
    width:450px;
    height:190px;
    margin:-116px 0 0 -221px;
    padding:20px;
    color:#FFF;
    text-align:center;
    border:1px solid #FFF;
    border-radius:10px; 
    }
    .modal img { vertical-align:bottom; }
    .modal p { margin-bottom:10px; }
    .modal ul { text-align:center; }
    .modal li { display:inline; }
    .modal a { cursor:pointer; }

}

/* モニター幅960px以下 */
@media only screen and (max-width:960px){
	*{
    -webkit-box-sizing: border-box;
       -moz-box-sizing: border-box;
         -o-box-sizing: border-box;
        -ms-box-sizing: border-box;
            box-sizing: border-box;
	}
	
	#header{padding:10px 0 0;}
	
	#header .logo,#footer .logo{
	float:none;
	text-align:center;
	padding:10px 5px;
	}
	
	nav#mainNav{
	clear:both;
	width:100%;
	margin:0 auto;
	padding:0;
	background:#6A78B5;
	}

	nav#mainNav a.menu{
	width:100%;
	display:block;
	height:40px;
	line-height:40px;
	font-weight: bold;
	text-align:left;
	color:#fff;
	}

	nav#mainNav a#menu span{padding-left:10px;}
	nav#mainNav a.menu span:before{content: "→ ";}
	nav#mainNav a.menuOpen span:before{content: "↓ ";}

	nav#mainNav a#menu:hover{cursor:pointer;}

	nav .panel{
	display: none;
	width:100%;
	position: relative;
	right: 0;
	top:0;
	z-index: 1;
	}

	nav#mainNav ul li{
	float: none;
	clear:both;
	width:100%;
	height:auto;
	line-height:1.2;
	}

	nav#mainNav ul li a,nav#mainNav ul li.current-menu-item li a{
	display: block;
	padding:15px 10px;
	text-align:left;
	border-bottom:1px dashed #fff;
	color:#fff;
	background:#6A78B5;
	}
	
	nav#mainNav ul li a span{padding-left:10px;}
	
	nav#mainNav ul li:first-child a{border-top:1px dashed #fff;}
	
	nav#mainNav ul li:last-child a{border:0;}
	
	nav#mainNav ul li.active a,nav#mainNav ul li a:hover{background:#C24F64;}

	nav div.panel{float:none;}
	
	.grid{
	float:left;
	width:18%;
	margin:10px 2% 0 0;
	}

	.grid8{
	float:left;
	width:14%;
	margin:10px 2% 0 0;
	}
    
	.grid img{
	float:left;
	margin-right:5px;
	}
	
	#gallery{padding-left:1px;}
	
	#gallery .grid{
	width:23%;
	margin:0 2% 0 0;
	padding:0;
	}
	
	#gallery .grid img{
	float:none;
	margin:0;
	}
	
	#sub .grid{
	width:32%;
	margin:10px 1%;
	}
	
	#sub .grid:first-child{
	margin-left:0;
	}
	
	#sub .grid:last-child{
	margin-right:0;
	}
	
	#footer .grid, #footer .grid p{
	float:none;
	width:100%;
	text-align:center;
	border:0;
	}
	
	#footer .grid:last-child{padding-top:20px;}

    /* modal */
    .modal { 
    position:fixed;
    display:none;
    z-index:9999;
    top:40%;
    left:50%;
    width:450px;
    height:250px;
    margin:-116px 0 0 -221px;
    padding:20px;
    color:#FFF;
    text-align:center;
    border:1px solid #FFF;
    border-radius:10px; 
    }
    .modal img { vertical-align:bottom; }
    .modal p { margin-bottom:10px; }
    .modal ul { text-align:center; }
    .modal li { display:inline; }
    .modal a { cursor:pointer; }

}


/* iPad 縦 */
@media only screen and (max-width:768px){
  #header{padding-bottom:0;}	

	#header h1{text-align:center;}
	
	#header .logo{
	float:none;
	text-align:center;
	padding:10px 5px 20px;
	}
	
	#sub ul.list{padding:10px 10px 11px;}
	
	#sub ul.list li{
	padding-bottom:10px;
	margin-bottom:8px;
	}
}


/* スマートフォン 横(ランドスケープ) */
@media only screen and (max-width:640px){
	#footer .grid p{text-align:center;}
	
	.grid img{
	float:none;
	margin:0 auto;
	}
	
	.grid p,#sub .grid li{text-align:left;}

  .alignleft,.alignright{
	float:none;
	display:block;
	margin:0 auto 10px;
	}
	
	#sub ul.list li img{margin:0 5px 0 0;}
}


/* スマートフォン 縦(ポートレート) */
@media only screen and (max-width:480px){
	#mainBanner h2,#mainBanner h3{font-size:75%;}
	.subImg .slogan{right:-30px;}
	
/*	.grid img{max-width:90%;height:auto;}  */
    
    /* グリッド全体 */
	.gridWrapper{
	width:100%;
	margin:0 0 0 0;
	}
	
	/* グリッド 4カラム */
	.grid{
	float:left;
	width:20%;
	margin-left:3%;
	}

	#sub .grid{
	float:none;
	width:98%;
	}
	
	#sub .grid h3{padding:10px 5px;}
	
	#sub ul.list{padding:10px;}
	
	#sub ul.list li{
	padding-bottom:3px;
	margin-bottom:3px;
	}
    
    /* modal */
    .modal { 
    position:fixed;
    display:none;
    z-index:9999;
    top:20%;
    left:5%; 
    width:300px;
    height:250px;
    margin: 0 0 0 20px;
    padding:20px;
    color:#FFF;
    text-align:center;
    border:1px solid #FFF;
    border-radius:10px; 
    }
    .modal img { vertical-align:bottom; }
    .modal p { margin-bottom:10px; }
    .modal ul { text-align:center; }
    .modal li { display:inline; }
    .modal a { cursor:pointer; }

}