@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;}

html {
/* これだとタッチで背景固定されない
  background: url('./bg.jpg') no-repeat center center fixed;
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
*/
    background-color        : #455b8c;
}
.background-hack {
    z-index                 : -1;
    background-image        : url('./images/bg_denim.jpg');
/*
    background-repeat       : no-repeat;
    background-size         : cover;
*/
    background-position     : center;
    position                : fixed;
    top                     : 0;
    left                    : 0;
    right                   : 0;
    bottom                  : 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;
	-webkit-text-size-adjust: none;
}


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


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

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


/*************
/* ヘッダー
*************/
#header .inner{
	margin-top:20px;
	overflow:visible;
}

* html #header{
	height:1%;
}


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

#footer .logo{
	position:relative;
}

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

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

.logo .logo_sub1{
	display:none;	/* 隠す */
	top:0px;
	left:-50px;
	position:absolute;
}

.logo .logo_sub2{
	display:none;	/* 隠す */
	top:0px;
	left:830px;
	position:absolute;
}

.logo .logo_sub3{
	display:none;	/* 隠す */
	top:-30px;
	left:30px;
	position:absolute;
}

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




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

* html .gridWrapper{
	height:1%;
}
	
.grid{
	float:left;
	background:#fff;
}

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

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

.grid p.img{
	padding:0;
}

#top_gallery {
	position:relative;
}

#top_gallery p, #top_gallery a{
	color:#405a8a;
}


#top_gallery .readmore{
	text-align:right;
	margin-right:-25px;
}
#top_gallery p.facebook{
	float:left;
	text-align:left;
}
#top_gallery .facebook img{
	margin-right:5px;
}

#top_gallery p.new{
	top:20px;
	right:-10px;
	position:absolute;
}


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

#footer .grid p{
border:1px solid #ff0000;
	padding:0;
	color:#ffffff;
}


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

    border-radius: 10px;        /* CSS3草案 */  
    -webkit-border-radius: 10px;    /* Safari,Google Chrome用 */  
    -moz-border-radius: 10px;   /* Firefox用 */ 
}

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

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

h3.heading{
	padding:5px 10px;
	margin:20px 10px 10px;
	font-size:16px;
	color:#fff;
	background:#DD6A37;
	text-align:center;
}

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;
	border:0;
}

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

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

#top_gallery{
    border-radius: 10px;        /* CSS3草案 */  
    -webkit-border-radius: 10px;    /* Safari,Google Chrome用 */  
    -moz-border-radius: 10px;   /* Firefox用 */ 
}
/* topの一覧 */
#top_gallery .grid{
	float:left;
	background:#fff;
	box-shadow:0 0 3px #ddd;
}
#top_gallery h3{
	padding:10px 20px;
	color:#DD6A37;
	text-align:left;
	font-weight:normal;
}
#top_gallery p.img{
	padding:0px 20px 0px;
}
/*************
ログイン
*************/
.login {
	padding: 30px 0px 60px;
	text-align:center;
	
}
.login li{
	margin-top:10px;
}

.login a:hover img{
    opacity:0.5;
    -moz-opacity:0.5;
    filter:alpha(opacity = 50);}

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

table.table th,table.table td{
	padding:5px;
	border:5px solid #ddd;
}

table.table th{
	text-align:right;
	font-weight:bold;
	letter-spacing:1px;
	white-space:nowrap;
	color:#fff;
	background:#888888;
	text-align:center;
	vertical-align:top;
}

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

table.table td{
	border-left:#b99253 3px double
}
tablearea{
width:100%; max-width:600px;
min-width:250px;}

/************
サブメニュー
*************/
#subNav {
	float:left;
	width:30%;
}
#subNav ul{
	padding:0px 10px 10px 10px;
}

#subNav .btn{
    background: #EEE;
    border: 1px solid #DDD;
    border-radius: 5px;
    -moz-border-radius: 5px;
    -webkit-border-radius: 5px;
    color: #888;
    padding: 10px 0;	margin-bottom:10px;
	padding-bottom:10px;
	text-align:center;
	display:block
}
#subNav li a:hover, #subNav .active{
    background:#ffbc73;
    color: #fff;
}
#subNav li:last-child{
	margin-bottom:0;
}


/************
投稿ページ コンテンツ
*************/
section.subcontent{
	margin-left:30%;
	margin-right:10px;
	padding:20px 0px;
	background:#ddd;
    border-radius: 10px;        /* CSS3草案 */  
    -webkit-border-radius: 10px;    /* Safari,Google Chrome用 */  
    -moz-border-radius: 10px;   /* Firefox用 */ 
    min-width:270px;
}
.subcontent .bottom{
	text-align:center;
	margin-right:5px;
}
textarea {
    resize: vertical;
    width:450px;
    height:200px;
}
/************
マイページ コンテンツ
*************/
.mypage {
	margin:20px 10px;
	padding:20px 0px;
	background:#eee;
    border-radius: 10px;        /* CSS3草案 */  
    -webkit-border-radius: 10px;    /* Safari,Google Chrome用 */  
    -moz-border-radius: 10px;   /* Firefox用 */ 
	overflow : hidden;
	
}
.mypage img{
	margin:0 20px;
}
.mypage p{
	margin:0 20px;
}
.mypage .facebook img{
	margin:0 5px 0 0;
}

/*************
過去の履歴コンテンツ
*************/
.subcontent ul{
	padding:0px 10px 10px 20px;
}
.subcontent ul.list li img{
	float:left;
	margin:0 10px 0 0;
}

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

.subcontent li:last-child{
	border:0;
	margin-bottom:0;
}

.subcontent li a{
	display:block;
}

.subcontent ul.list{
	padding-bottom:7px;
}
.subcontent ul.list li{
	height:1%;
}

.subcontent ul.list li{
	margin-bottom:6px;
	padding:5px 0;
	overflow:hidden;
}
/*************
サブ（フッター前）コンテンツ
*************/
#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 {
	z-index:-1;
}

#footer .inner{
	color: #ffffff;
	clear:both;
	padding:20px 0 0;
	margin-bottom:20px;
	    overflow: visible;
}

* html #footer .inner{
	height:1%;
}

#footer p.logo{
	padding-left:20px;
}

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

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

#footer .copyright{
		text-align:center;
		font-size:11px;
}
	#footer .footer_bottom{
		height:100px;
		background: url('./images/ill_wata_ai.png')  center bottom;
		background-repeat: repeat-x;
		width:100%;
	}
	#footer .footer_menu {
		text-align:center;
	}


    
/* PC用 */
@media only screen and (min-width:960px){	
	#wrapper, .inner{
		width:940px;
		padding:0;
	}

	.logo .logo_sub1{
		display:block;	/* 表示 */
	}
	.logo .logo_sub2{
		display:block;	/* 表示 */
	}
	.logo .logo_sub3{
		display:block;	/* 表示 */
	}
	
	#wrapper{
		padding-bottom:20px;
	}
	
	nav div.panel{
		display:block !important;
		float:left;
	}

	a#menu{
		display:none;	/* 隠す */
	}
	
	#header #mainNav ul{
		float:left;
		overflow:hidden;
	}

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

#header #mainNav{
	float:left;
	padding-top:70px;
}
	#header #mainNav ul li{
		float:left;
		text-align:center;
	}

	#header #mainNav ul a{
		display:block;
	}
	
	
	/* メニュー */
	#header #mainNav li{
		margin-left:10px;
	}

	#header #mainNav .menu_info,
	#header #mainNav .menu_info_on,
	#header #mainNav .menu_sodatekata,
	#header #mainNav .menu_sodatekata_on,
	#header #mainNav .menu_campaign,
	#header #mainNav .menu_campaign_on,
	#header #mainNav .menu_sanka,
	#header #mainNav .menu_sanka_on,
	#header #mainNav .menu_touko,
	#header #mainNav .menu_touko_on,
	#header #mainNav .menu_contest,
	#header #mainNav .menu_contest_on,
	#header #mainNav .menu_mypage,
	#header #mainNav .menu_mypage_on{
		text-indent:-5000px;
		text-decoration:none;
		width:112px;
		height:108px;
		margin-left:5px;
	}
	#header #mainNav .menu_first,
	#header #mainNav .menu_first_on{
		text-indent:-5000px;
		text-decoration:none;
		width:148px;
		height:17px;
		margin-top:90px;
		margin-left:-35px;
	}
	#header #mainNav .menu_info{
		background-image:url(./images/menu_info.png);
	}
	#header #mainNav .menu_sodatekata{
		background-image:url(./images/menu_sodatekata.png);
	}
	#header #mainNav .menu_campaign{
		background-image:url(./images/menu_campaign.png);
	}
	#header #mainNav .menu_sanka{
		background-image:url(./images/menu_sanka.png);
	}
	#header #mainNav .menu_touko{
		background-image:url(./images/menu_touko.png);
	}
	#header #mainNav .menu_contest{
		background-image:url(./images/menu_contest.png);
	}
	#header #mainNav .menu_mypage{
		background-image:url(./images/menu_mypage.png);
	}
	#header #mainNav .menu_first{
		background-image:url(./images/menu_first.png);
	}
	#header #mainNav .menu_info:hover,#header #mainNav .menu_info_on{
		background-image:url(./images/menu_info_on.png);
	}
	#header #mainNav .menu_sodatekata:hover,#header #mainNav .menu_sodatekata_on{
		background-image:url(./images/menu_sodatekata_on.png);
	}
	#header #mainNav .menu_campaign:hover,#header #mainNav .menu_campaign_on{
		background-image:url(./images/menu_campaign_on.png);
	}
	#header #mainNav .menu_sanka:hover,#header #mainNav .menu_sanka_on{
		background-image:url(./images/menu_sanka_on.png);
	}
	#header #mainNav .menu_touko:hover,	#header #mainNav .menu_touko_on{
		background-image:url(./images/menu_touko_on.png);
	}
	#header #mainNav .menu_contest:hover,#header #mainNav .menu_contest_on{
		background-image:url(./images/menu_contest_on.png);
	}
	#header #mainNav .menu_mypage:hover,#header #mainNav .menu_mypage_on{
		background-image:url(./images/menu_mypage_on.png);
	}
	#header #mainNav .menu_first:hover,#header #mainNav .menu_first_on{
		background-image:url(./images/menu_first_on.png);
	}
	

	/* グリッド全体 */
	.gridWrapper{
		width:960px;
		margin:0 0 0 -20px;
	}
	
	/* グリッド共通 ベース:トップページ4カラム */
	.grid{
		float:left;
		margin-left:20px;
		margin-bottom:20px;
	}
	
	/* サブコンテンツ + フッター グリッド */
	#sub .grid, #footer .grid{
	}
	#footer .grid{
		border:0;
	}
	#footer .footer_menu {
	    padding: 10px;
	    overflow: hidden;
	    position: relative;
	}
	#footer .footer_menu ul {
	    float: left;
	    margin: 0 0 0 0;
	    padding: 0;
	    position: relative;
	    left: 50%;
	}
	#footer .footer_menu ul li {
	    float: left;
	    margin-right: 5px;
	    padding: 5px;
	    position: relative;
	    left: -50%;
	}

	#footer .logo{
		float:none;
		text-align:center;
	}

	table.table{
		width:95%;
	}	

}


/* モニター幅940px以下 */
@media only screen and (max-width:940px){
	*{
    -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 .inner,#footer .inner{
		margin:0;padding: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:#DD6A37;
	}

	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 dotted #1e1e1e;
		color:#fff;
		background:#b99253;
	}
	
	nav#mainNav ul li a span{padding-left:10px;}
	
	nav#mainNav ul li:first-child a{border-top:1px dotted #1e1e1e;}
	
	nav#mainNav ul li:last-child a{border:0;}
	
	nav#mainNav ul li.active a,nav#mainNav ul li a:hover{background:#866326;}

	nav div.panel{float:none;}
	
	.grid{
	float:left;
	width:48%;
	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;
	}
	
	#subNav {}
	table.table{
		width:95%;
	}	

	#top_gallery {
		padding-bottom:20px;
	}

	#footer .grid:last-child{padding-top:20px;}

	textarea {
	    resize: vertical;
	    width:300px;
	}
}


/* 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;
	}
}


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

	.mypage img{
	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;
	width:auto;
	height:auto;
	}


	#subNav {
		float:none;
		width:100%;
	}
	section.subcontent{
		margin-left:10px;
		margin-right:10px;
		text-align:center;
	}
	table.table{
		width:95%;
	}	
}


/* スマートフォン 縦(ポートレート) */
@media only screen and (max-width:480px){
	#mainBanner h2,#mainBanner h3{font-size:75%;}
	
	#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;
	}

	.readmore{
		text-align:right;
		margin-right:-80px;
	}
	textarea {
	    resize: vertical;
	    width:170px;
	}
}