@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.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.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:#333;/*文字の色*/
font-size:12px;
font-family:verdana,"ヒラギノ丸ゴ ProN W4","Hiragino Maru Gothic ProN","メイリオ","Meiryo","ＭＳ Ｐゴシック","MS PGothic",Sans-Serif;
line-height:1.5;
-webkit-text-size-adjust: none;
background-color:beige;
/*background-image:url("img/top/back2.jpg");*/

}


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


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

}

.inner{
margin:0 auto;
width:100%;
background-color:white;/*tomo追加*/
}

.inner p{
padding:0px 0px 0px 15px; /*頭揃えのためtomo追加*/
}



/*************
/* ヘッダー
*************/
#header{
/*height:240px;*/
background-color:orange;/*tomo追加*/

}

#header h1{
padding:20px 0px 0px 15px;
font-size:10px;
font-weight:normal;
text-align:center; /* 中央揃えにするため追加 tomo */
}

#header a{
color:#333;
}

#header a:hover{
color:#888;
}

/*************
/* ロゴ padding : 記述した順に[上][右][下][左]
*************/
.logo{
/*float:left; 中央揃えにするためコメント化 tomo*/
}

.logo p{
/*float:left; 中央揃えにするためコメント化 tomo */
text-align:center; /* 中央揃えにするため追加 tomo */
padding:2px 10px 0 15px; /*頭揃えのためtomo 追加*/

}

.logo img{
width:auto;
/*float:left;*/
padding:2px 10px 0 10px;
}

.logo span{display:block;}

/*************
/* 電話番号
*************/
.info{
float:right;
padding-right:20px;
text-align:right;
}

.info .open{font-size:11px;}


/*************
/* ロゴ+電話番号
*************/
.logo,.info .tel{
margin-top:6px;
font-size:20px;
font-weight:bold;
}

.logo span,.info span{
color:#333;
font-size:.6em;
font-weight:normal;
}


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

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


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

* html .gridWrapper{height:1%;}
	
.grid{
float:left;
border-radius:5px;
background:#fff;
}

.box{
margin:0 5px;
}

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

.box h3{
padding:10px 0 5px;
font-weight:bold;
/*color: blue;*/
}

.box h3, .box p{text-align:left;}

.box p.readmore{
padding:10px 5px 5px;
text-align:right;
}



/*************
メイン コンテンツ
*************/
#main{
margin-top:10px;/*ここの数値は★マークのものと同じにする*/
}

section.content article{
padding-top:10px;
margin-bottom:30px;
overflow:hidden;
}

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

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

section.content img{
max-width:100%; /*90% -> 100% に変更　tomo*/
height:auto;
}

/*ページトップへ行くための設定　tomo追加*/
section.content p.gotop{
padding:10px 5px 5px;
text-align:right;
}


/* ↓キャラクターの紹介部分で使用class about　新設。tomo*/

section.about article{
padding-top:10px;
margin-bottom:10px;
overflow:hidden;
}

* html section.about article{
height:1%;
}

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

section.about img{
max-width:100%; /*90% -> 100% に変更　tomo*/
height:auto;
}

section.about p.gotop{
padding:10px 5px 5px;
text-align:right;
}

/*↑ここまで　tomo*/


/*main内の見出しで使用。*/
h3.heading{
font-weight:bold; /* normal->bold 変更*/
line-height:36px;
border-bottom:1px solid #D6D6D6;
font-size:13px; /*追加　tomo*/
color:orange; /*#555 ->orange tomo */
padding:0px 0px 0px 0px;

}

/*キャラクター名の強調に使用。新設　tomo*/
h4.heading{
font-weight:bold; /* normal->bold 変更*/
font-size:14px; /*追加　tomo*/
padding:10px 0px 10px 0px;
}

/*左側のlist部分の設定を新設 tomo */
h3.list{
font-weight:normal; 
line-height:36px;
border-bottom:1px solid #D6D6D6;
font-size:13px;
color:tomato; 
}

.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;
margin:5px auto 15px auto;
}

table.table td{
border-collapse:collapse;
background-color:#F9F9F9;
text-align:left;
padding:8px;
border:1px solid #D6D6D6;
line-height:20px;
}

table.table th{
background-color:#F5F5F5;
text-align:right;
padding:8px;
white-space:nowrap;
color: #151515;
border-top:1px solid #D4D4D4;
border-right:4px solid #D4D4D4;
border-bottom:1px solid #D4D4D4;
border-left:1px solid #D4D4D4;
font-size:13px;
font-weight:normal;
letter-spacing:1px;
background-repeat:repeat-x;
background-position:top;
}


/*************
/* サイドバー
*************/
#sidebar ul{padding-top:0px;}

#sidebar li{
margin-bottom:0px;
padding-bottom:10px;
list-style:none;
border-bottom:1px dashed #f1f1f1;
}

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

#sidebar li a{
font-size:12px;
display:block;
color:#333;
}

#sidebar li a:hover{
color:#888;
}

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

ul.list li{height:1%;}

ul.list li img{
float:left;
margin-right:10px;
}

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


/*************
/* フッター
*************/
#footer{
clear:both;
overflow:hidden;
padding:10px 10px 20px 10px;
}

* html #footer{height:1%;}

#footer .grid{
padding:10px 0 5px;
margin:0;
background:transparent;
}

#footer #info .logo, #footer #info .info{float:none;}

#footer #info .info{
clear:both;
padding:10px 0 0 15px;
text-align:left;
}

#footer .logo{font-size:18px;}

#footer .info .tel,#footer .info .tel span,#footer #info .open{
font-size:12px;
color:#333;
}

ul.footnav{
float:left;/*right -> left tomo*/
/*width:650px; tomo削除 */
padding:10px 0px 0px 10px; /*tomo追加*/
/*padding:10px 0; tomo削除*/
}

ul.footnav li{
float:left;
margin-bottom:10px;
padding:0 7px 0 8px;
font-size:11px;	
border-right:1px solid #b6b6b6;
}

#footer a{color:#333;}
#footer a:hover{color:#888;}

address{
clear:both;
padding:20px 0 50px 0;
text-align:center;
font-style:normal;
font-size:10px;
color:#333;
background-color:orange;/*tomo追加*/	

}


/* PC用
------------------------------------------------------------*/
@media only screen and (min-width: 810px){
	#wrapper,.inner,#footer{
	width:810px; /*グリッドと合わせて　960→810に変更*/
	padding:0;
	margin:0 auto;
	background-color:white;/*tomo追加*/	
	}
	
	#wrapper{padding-bottom:20px;
	overflow:hidden;
	}
	
	nav#mainNav{
	clear:both;
	overflow:hidden;
	/*position:relative; tomo削除*/
	width:810px; /*グリッドと合わせて810に指定　tomo追加*/
	padding:0;
	margin:0 auto;	
	background-color:white;/*tomo追加*/	
	}
	
	nav#mainNav .inner{
	width:728px; /*932->728に変更（内訳120*6＝720＋8）　tomo*/
	padding:0 14px;
	}

	nav#mainNav ul li{
	float: left;
	position: relative;
	}

	nav#mainNav li:last-child{border-right:1px dotted #ebebeb;}

	nav#mainNav ul li a{
	display: block;
	text-align: center;
	_float:left;
	font-size:13px;
	width:144px; /*154->144に変更（5個項目）　項目を6個にするときには120pxにする。tomo*/
	height:60px; /*newアイコンをつけるために高さを変更　45->60に変更　tomo>*/
	padding-top:9px;
	color:#333;
	border-left:1px dotted #ebebeb;
	}

	nav#mainNav ul li a span,nav#mainNav ul li a strong{
	display:block;
	}

	nav#mainNav ul li a span{
	color:#cdcdcd;
	font-size:10px;
	}

	nav div.panel{
	display:block !important;
	float:left;
	background-color:white;/*tomo追加*/
	
	}

	a#menu{display:none;}

	nav#mainNav li.active a, nav#mainNav li a:hover{
	color:#909090;
    background:#f9f9f9;
	padding-top:9px;
	}
	
/*	#mainBanner{margin-left:15px;}tomo削除*/
/*	#subpage #mainBanner{margin:17px auto;} tomo削除*/
	
	#main{
	float:right;
	width:557px; /*657-> 557 全体幅を810に変更したのでバランス調整tomo*/
	/*記述した順に[上][右][下][左]*/
	padding:0px 15px 0 23px;
	background-color:white;/*tomo追加*/
	}
	
	#sidebar{
	float:left;
	width:190px; /*245->195 全体幅を810に変更したのでバランス調整tomo*/
	padding:10px 0px 0px 25px; /*1つめの値はmainの★と同じにする必要あり*/
	/*padding-bottom: 32768px;*/
	margin-bottom: -32768px;
	overflow:hidden;
	background-color:white;/*tomo追加*/
	}
	
	#sidebar article{
	padding-top:7px;
	margin-bottom:20px;
	overflow:hidden;
	}
	
	/* グリッド全体 */
	.gridWrapper{
	width:810px; /*960->810 (内訳270*3)tomo変更*/
	margin:0 0 0 -10px;
	}
	
	#gallery article{
	padding:10px 0 10px 0px;
	background-color:white;/*tomo追加*/
	}
	
	/* グリッド */
	.grid{
	float:left;
	width:250px; /*300->250 画像を小さく変更tomo*/
	margin-left:20px;
	}
	
	#subpage .grid{width:auto;}


	/*ギャラリーページのグリッド指定*/	
	#gallery .grid{ 
	width:auto;
	margin:10px 10px 2px 0px;
	/*background:black*/;
	}
}


@media only screen and (max-width:809px){
	*{
    -webkit-box-sizing: border-box;
       -moz-box-sizing: border-box;
         -o-box-sizing: border-box;
        -ms-box-sizing: border-box;
            box-sizing: border-box;
	}
	
	nav#mainNav{
	clear:both;
	width:100%;
	margin:0 auto;
	padding:0;
  border:1px solid #e4e4e4;
	}

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

	nav#mainNav a#menu span{
	padding-left:10px;
	color:#333;
	}
	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{
	color:#333;
	display: block;
	padding:15px 10px;
	text-align:left;
	border-bottom:1px dashed #ccc;
	}
	
	nav#mainNav ul li a span{padding-left:10px;}
	
	nav#mainNav ul li:first-child a{
	border-top:1px solid #e4e4e4;
	}
	
	nav#mainNav ul li:last-child a{border:0;}
	
	nav#mainNav ul li.active a{color:#888;}

	nav div.panel{float:none;}
	
	#subpage #mainBanner{max-width:668px;}
	
	#sidebar{padding-bottom:30px;}
	
	#sidebar article{padding:7px 0 15px;}
	
	#footer .grid,#footer ul.footnav{
	float:none;
	width:100%;
	text-align:center;
	}

	ul.footnav li{float:none;display:inline-block;}
	
	.grid{
	width:32%;
	margin:10px 0 0 1%;
	}
	
	#gallery .grid{
	float:left;
	width:31%;
	margin:0 0 0 1%;
	}
	
	#footer .grid img, #footer .info{float:none;}
	#footer .grid p{display:block;}
	#footer #info .info{float:none;text-align:center;}
	
	#footer .logo,#footer .info{
	width:100%;
	float:none;
	}
	
	#footer .logo p{float:none;display:block;}
	#footer .logo img{float:none;padding:0;}
}


/* スマートフォン 横(ランドスケープ) */
@media only screen and (max-width:640px){
	#header{
	height:auto;
	padding-bottom:20px;
	}
	
	#header h1,.logo,.info{text-align:center;}
	
	.logo,.info{
	clear:both;
	width:100%;
	float:none;
	}
	
	.logo p{float:none;display:block;}
	.logo img{float:none;padding:0;}
	
	.box img{
	float:left;
	margin-right:5px;
	}
	
	.box h3{padding-top:0;}

  .alignleft,.alignright{
	float:none;
	display:block;
	margin:0 auto 10px;
	}
	
	#gallery .grid{float:left;}
}


/* スマートフォン 縦(ポートレート) */
@media only screen and (max-width:480px){
	.grid{width:100%;}
	.box img{max-width:100px;}
	#mainBanner h2,#mainBanner p{font-size:80%;}
}