/*
 * HTML5 Boilerplate
 *
 * What follows is the result of much research on cross-browser styling.
 * Credit left inline and big thanks to Nicolas Gallagher, Jonathan Neal,
 * Kroc Camen, and the H5BP dev community and team.
 */

/* ==========================================================================
   Base styles: opinionated defaults
   ========================================================================== */

html,
button,
input,
select,
textarea {
    color: #fff;
}

body {
/* add1120 background 変更 #000から*/
	background: #434343;
    font-size: 62.5%;
    line-height: 1.4;
    font-family:sans-serif;
}

a {
	color: #fff;
	text-decoration: none;
}

a.top,
a.top:visited {
	color:#ccc; !important;
	text-decoration: none;
}

a:visited {
	color: #fff;
	text-decoration: none;
}

a:active,
a:hover {
	color: #f04faf !important;
	text-decoration: none;
}

/* link定義　contentsエリア*/


div#contents section#top a {
	color: #00f;
}

div#contents section#contents-area a {
	color: #00f;
}



/*
 * Remove text-shadow in selection highlight: h5bp.com/i
 * These selection declarations have to be separate.
 * Customize the background color to match your design.
 */

::-moz-selection {
    background: #b3d4fc;
    text-shadow: none;
}

::selection {
    background: #b3d4fc;
    text-shadow: none;
}

/*
 * A better looking default horizontal rule
 */

hr {
    display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid #ccc;
    margin: 0;
    padding: 0;
}

/*
 * Remove the gap between images and the bottom of their containers: h5bp.com/i/440
 */

img {
    vertical-align: middle;
}

/*
 * Remove default fieldset styles.
 */

fieldset {
    border: 0;
    margin: 0;
    padding: 0;
}

/*
 * Allow only vertical resizing of textareas.
 */

textarea {
    resize: vertical;
}

/* ==========================================================================
   Chrome Frame prompt
   ========================================================================== */

.chromeframe {
    margin: 0.2em 0;
    background: #ccc;
    color: #000;
    padding: 0.2em 0;
}

/* ==========================================================================
   Author's custom styles
   ========================================================================== */


/* Author:2013TOKYO International Smartphone App Award Committee */

==========================================================================
   Helper classes
   ========================================================================== */

/*
 * Image replacement
 */

.ir {
    background-color: transparent;
    border: 0;
    overflow: hidden;
    /* IE 6/7 fallback */
    *text-indent: -9999px;
}

.ir:before {
    content: "";
    display: block;
    width: 0;
    height: 100%;
}

/*
 * Hide from both screenreaders and browsers: h5bp.com/u
 */

.hidden {
    display: none !important;
    visibility: hidden;
}

/*
 * Hide only visually, but have it available for screenreaders: h5bp.com/v
 */

.visuallyhidden {
    border: 0;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
}

/*
 * Extends the .visuallyhidden class to allow the element to be focusable
 * when navigated to via the keyboard: h5bp.com/p
 */

.visuallyhidden.focusable:active,
.visuallyhidden.focusable:focus {
    clip: auto;
    height: auto;
    margin: 0;
    overflow: visible;
    position: static;
    width: auto;
}

/*
 * Hide visually and from screenreaders, but maintain layout
 */

.invisible {
    visibility: hidden;
}

/*
 * Clearfix: contain floats
 *
 * For modern browsers
 * 1. The space content is one way to avoid an Opera bug when the
 *    `contenteditable` attribute is included anywhere else in the document.
 *    Otherwise it causes space to appear at the top and bottom of elements
 *    that receive the `clearfix` class.
 * 2. The use of `table` rather than `block` is only necessary if using
 *    `:before` to contain the top-margins of child elements.
 */

.clearfix:before,
.clearfix:after {
    content: " "; /* 1 */
    display: table; /* 2 */
}

.clearfix:after {
    clear: both;
}

/*
 * For IE 6/7 only
 * Include this rule to trigger hasLayout and contain floats.
 */

.clearfix {
    *zoom: 1;
}

/* ==========================================================================
   EXAMPLE Media Queries for Responsive Design.
   Theses examples override the primary ('mobile first') styles.
   Modify as content requires.
   ========================================================================== */
header div#header_inner {
	background: #252525;
}

header h1 {
	float: left;
	margin: 6px 0 6px 0;
	text-align: center;
	width: 25%;
}

header h1 img {
	width: 100%;
}

header nav#g_navi ul {
	color: #000;
	float: right;
	font-size: 120%;
	list-style-type: none;
	margin: 5px 0 0 3%;
	padding: 0;
	width: 72%
}

header nav#g_navi ul li {
	display: block;
	float: left;
	list-style-type: none;
	padding: 5px 8px 5px 0;
}

header nav#g_navi ul li#login {
	padding: 0 3px 5px 0;
}

h2 {
	background: #9B1468;
	padding: 4px 3%;
	text-shadow: 1px 2px 5px #000;
	text-shadow: 1px 2px 5px #000;
}

h2 img {
	width: 27.5%;
}

h3 {
	background: url(../img/sh_maker_s.gif) no-repeat left 10px;
	border-bottom: 1px solid #000;
	font-size: 140%;
	font-weight: normal;
	padding: 10px 0 10px 20px;
}




div#content_inner {
	background: #000;
}

div#contents {
	background: #EBEBEB;
	color: #000;
	padding: 0 5px 20px 5px;
}



h4 {
	font-size: 140%;
	font-weight: bold;
	margin: 10px 0px 5px 0px;
}
/* 1120 add*/
.award {
	font-size: 170%;
	color:#666;
	font-weight: bold;
	margin: 10px 0px 5px 0px;
	padding:8px;
}


h5 {

}

h6 {

}


nav#l_navi {
	background: #434343;	
	padding: 10px 0;
}

nav#l_navi ul li {
	color: #fff;
	font-size: 180%;
	padding: 10px 10%;
}

div#footer_inner {
	background: #9d9d9d;
}

footer ul#sns {
	background: #000;
	margin: 0 auto;
	text-align: center;
	width: 100%;
}

footer ul#sns li {
	display: inline;
	width: auto;
}

footer ul#sns li img {
	width: 18%;
}

footer div#privacy {
	background: #9D9D9D;
}

footer div#privacy p {
	color: #fff;
	line-height: 2.0;
	margin: 0 5px 0 5px;
}

/*
 * top page
 */
 
div#main_visual p {
	padding: 10px 0;
	text-align: center;
}

div#main_visual p img {
	width: 95%;
}

div#prize {
	margin: 10px 0;
	text-align: center;
	width: 100%;
}

div#prize p#prize_catch img {
	width: 94.4%;
}

div#prize p#prize_money img {
	margin: 8px 0 0 0;
	width: 62.5%;
}

div#main_text {
	margin: 10px 0 0 0;
	text-align: left;
	width: 100%;
}

div#main_text p#main_title img {
	width: 92%;
}

div#main_text p#introduction {
	margin: 15px 10px 0 10px;
	text-align: left;
	/* add1126*/
	color:#CCC;
}

/* add1117*/
div#main_text p#ambassador img {
	width: 92%;
}

/*end*/

div#detail_text table#detail_table {
	margin: 20px auto 0 0;
}

div#detail_text table#detail_table th {
	padding: 3px 0;
	text-align: right;
	vertical-align: top;
	width: 26%;
}

div#detail_text table#detail_table td {
	padding: 3px 0 3px 5px;
	text-align: left;
	/* add1126 */
	color:#CCC;
	vertical-align: top;
}


/* add1129 */

div#detail_text#support {
	padding: 3px 0;
	font-size:200%;
	text-align: left;
	width: 26%;
}

div#detail_text table#detail_table td {
	padding: 3px 0 3px 5px;
	text-align: left;
	/* add1126 */
	color:#CCC;
	vertical-align: top;
}


/* add1124 */

div#detail_text table#detail_table td ul li{
/*	padding: 3px 0 3px 5px;*/
	text-align: left;
	vertical-align: top;
}

div#detail_text table#detail_table td img#prize_money_s {
	width: 85px;
}



/* add1129 sponcer */

div#detail_text h2 {
	background: #000;
	font-size: 10px;
	margin: 10px 0 0 0;
	padding: 0;
}

/* add1216 sponcership */

div#detail_text ul.sponsorship_box {
	background: #cccccc;
	list-style-type: none;
	margin: 5px 0 10px 3%;
	/* change 1206 10px-5px*/
	padding: 5px 0;
	width: 93%;
}

div#detail_text ul.sponsorship_box li {
	color: #000;
	float: left;
	font-size: 14px;
	list-style-position: inside;
	margin: 0 0 0 10px;
	width: auto;
}

div#detail_text ul.sponsorship_box li a {
	color: #000;
}

/* end*/



div#detail_text ul#sponsor {
	list-style-type: none;
	margin: 10px 0 10px 0;
}

div#detail_text ul#sponsor li {
	float: left;
	list-style-type: none;
	text-align: center;
	width: 25%;
}

.lt-ie8 div#detail_text ul#sponsor li {
	width: 24%;
}

div#detail_text ul#sponsor li img {
	width: 90%;
}


div#detail_text ul#sub-sponsor {
	list-style-type: none;
	margin: 10px 0 10px 0;
}

div#detail_text ul#sub-sponsor li {
	float: left;
	list-style-type: none;
	text-align: center;
	/* add 20130118 */
	margin: 0 20px 10px 0;
	width: 25%;
}

div#detail_text ul#sub-sponsor li.clear {
	clear: both;
}

.lt-ie8 div#detail_text ul#sub-sponsor li {
	width: 24%;
}

div#detail_text ul#sub-sponsor li img {
	width: 80%;
}

div#detail_text ul.sponsor_box {
	background: #cccccc;
	list-style-type: none;
	margin: 5px 0 10px 3%;
	/* change 1206 10px-5px*/
	padding: 5px 0;
	width: 93%;
}

div#detail_text ul.sponsor_box li {
	color: #000;
	float: left;
	font-size: 9px;
	list-style-position: inside;
	margin: 0 0 0 10px;
	width: auto;
}

div#detail_text ul.sponsor_box li a {
	color: #000;
}




div#detail_text ul#sub-sponsor2 {
	margin: 10px 0 10px 0;
}

div#detail_text ul#sub-sponsor2 li {
	display: block;
	float: left;
	text-align: center;
	width: 25%;
}

.lt-ie8 div#detail_text ul#sub-sponsor2 li {
	width: 24%;
}

div#detail_text ul#sub-sponsor2 li img {
	width: 80%;
}

/* add1128 support */

div#detail_text table#support {
	background-color:#FFFFFF;
	/*change 0-10px */
	margin: 10px auto 10px auto;
}

div#detail_text table#support th {
	font-size:14px;
	font-color:#fff;
	/* add1126*/
	background-color:#666;
	padding: 3px 0 3px 5px;
	text-align: left;
	vertical-align: top;
	width: 20%;
}

div#detail_text table#support td {
	color:#000;
	/*padding: 8px 1%;*/
	text-align: left;
	font-size:14px;
	/* add1126*/
	background-color:#ebebeb;
	padding: 3px 0 3px 5px;
	text-align: left;
}



section#news {
/*	background: #C5C5C5;*/
	background: #ebebeb;
		/* add1124 height140pxから変更*/
	height: 246px;
	width: 100%;
}

section#news p#news_title img {
	padding: 5px 0 0 5px;
	width: 18.8%;
}	

section#news div#news_contents {
	color: #000;
	/* add1124 height100pxから変更*/
	height: 213px;
	margin: 10px 5%;
	overflow-y: auto;
}

/*add 1122 */

section#news div#news_contents a{
	color: #00f;
	text-decoration: none;
}

section#news div#news_contents ul {
	list-style-position: inside;
	list-style-type: square;
}

section#news div#news_contents ul li {
	list-style-position: inside;
	list-style-type: square;
}

/*end*/

section#facebook {
	background: #fff;
	height: 314px;
	width: 100%;
}

section#facebook p#facebook_title img {
	padding: 5px 0 0 5px;
	width: 27%;
}

/* 1121 add */

section#facebook .fb-like-box {
    height: 274px !important;
	margin: 10px 5% !important;
    width: 90% !important;
}

section#facebook .fb-like-box span,
section#facebook .fb-like-box iframe {
    height: 274px !important;
    width: 100% !important;
}

div#footer_inner ul#banner {
	background: #EBEBEB;
	border-top: 1px solid #7e7e7e;
	border-bottom: 1px solid #7e7e7e;
	margin: 0;
	padding: 10px 0;
}

div#footer_inner ul#banner li {
	display: block;
	float: left;
	text-align: center;
	width: 25%;
}

div#footer_inner ul#banner li img {
	width: 90%;
	max-width: 110px;
	max-height: 35px;
}
.lt-ie8 div#footer_inner ul#banner li {
	width: 24%;
}

/*
 * inquiry
 */

div#contents p#inquiry_lead {
	font-size: 120%;
	font-weight: bold;
	padding: 10px 0 0 0;
}

div#contents table#inquiry_table {
	margin: 10px 0 40px 0;
	width: 100%;
}

div#contents table#inquiry_table th {
	font-size: 140%;
	padding: 5px 5px 5px 0;
	text-align: left;
	vertical-align: top;
	width: 40%;
}

div#contents table#inquiry_table th span {
	color: #E00C79;
}

div#contents table#inquiry_table td {
	color: #000;
	font-size: 120%;
	padding: 5px 0;
	text-align: left;
	vertical-align: top;
}

div#contents table#inquiry_table td input {
	border-style: none;	
	color: #000;
}

div#contents table#inquiry_table td select {
	border-style: none;	
	color: #000;
}

div#contents table#inquiry_table td input.text_long {
	width: 95%;
}

div#contents table#inquiry_table td input.text_short {
	width: 80%;
	font-size:12px;
}



div#contents table#inquiry_table td input.text_more_short {
	font-size:12px;
	color:#000;
	width: 20%;
}

div#contents table#inquiry_table td input.inquiry_btn {
	background: #666666;
	color: #fff;
	font-size: 80%;
	margin: 10px 5px 0 0;
	padding: 2px 0;
	width: 80px;
}

div#contents table#inquiry_table td textarea {
	border-style: none;	
	color: #000;
	height: 80px;
	width: 95%;
}


/*
 * faq add1116
 */
 
div#contents article p {
	font-size: 140%;
	margin: 10px 0 20px 0;
}
.q {
	font-size: 140%;
	margin: 0px 0 0px 0;
	text-align:left;
	color:#9b1468;
}

.a {
	font-size: 140%;
	margin: 0px 0 0px 0;
	text-align:left;
	color:#333;
}
.qa_navi{
	font-size: 140%;
	padding: 10px 0px 0px 0px;
	text-align:left;
	color:#333;
	}
	
.qa_top{
	font-size: 140%;
	margin: 20px 0 0px 0;
	text-align:left;
	color:#333;
	}	
	
/*
 * faq add1116
 */
 
 div#contents article p {
	font-size: 140%;
	margin: 10px 0 20px 0;
}

.credit{
	font-size: 140%;
	margin: 20px 0 0px 0;
	text-align:right;
	color:#333;
}



/* mini-width: 640px start */

@media only screen and (min-width: 640px) {
	header h1 {
		margin: 6px 0 6px 1%;
		width: 9%;
	}
		
	header nav#g_navi ul {
		margin: 35px 0 30px 3%;
		max-width: 87%;
		width: auto;
	}
	
	header nav#g_navi ul li {
		padding: 5px 20px 5px 0;
	}

	header nav#g_navi ul li#login {
		padding: 0 20px 0 0;
	}


	h2 {
		padding: 12px 5%;
		font-size:30px;
		color:#fff;
		text-shadow: 1px 2px 5px #000;
		text-shadow: 1px 2px 5px #000;
	}

	h2 img {
		width: 22.5%;
	}
	
	div#layout {
		background: #EBEBEB;
		overflow: hidden;
	}
	
	div#contents {
		display: block;
		float: right;
		padding: 0 3% 20px 3%;
		width: 68%;
	}

	.lt-ie8 div#contents {
		width: 67%;
	}

	.lt-ie7 div#contents {
		width: 66%;
	}
	.lt-ie6 div#contents {
		width: 66%;
	}

	nav#l_navi {
		display: block;
		float: left;
		padding: 10px 0 32767px 0;
		margin: 0 0 -32767px 0;
		width: 26%;
	}
	
	.lt-ie7 nav#l_navi ul {
		width: 90%;
	}

	.lt-ie7 nav#l_navi ul li {
		width: 90%;
	}
	
	.lt-ie6 nav#l_navi ul {
		width: 90%;
	}

	.lt-ie6 nav#l_navi ul li {
		width: 90%;
	}

	footer {
		background: #9D9D9D;
	}

	footer ul#sns {
		background: #333333;
		float: right;
		margin: 0;
		width: 12.4%;
	}
	
	footer ul#sns li {
		display: block;
		float: left;
		width: 50%;
	}

	.lt-ie8 footer ul#sns li {
		width: 49%;
	}

	footer ul#sns li img {
		width: 100%;
	}

	footer div#privacy {
		float: left;
		padding: 20px 2%;
		width: 71.6%;
	}
	
	footer div#privacy p {
		display: block;
		float: left;
		width: auto;
	}

	/*
	 * top page
	 */

	div#main_visual p {
		padding: 40px 0;
	}
	
	div#main_visual p img {
		width: 53%;
	}
	
	div#prize {
		border-top: 1px solid #686868;
		padding: 20px 0 0 0;
	}

	div#prize p#prize_catch {
		display: block;
		float: left;
		margin: 0 0 0 3%;
		width: 63%;
	}

	div#prize p#prize_catch img {
		margin: 0;
		width: 100%;
	}
	
	div#prize p#prize_money {
		display: block;
		float: left;
		margin: 0 0 0 3%;
		width: 27.5%;
	}

	div#prize p#prize_money img {
		margin: 0;
		width: 100%;
	}
	
	div#main_text {
		display: block;
		float: left;
		margin: 20px 0 0 0;
		width: 50%;
	}
	
	.lt-ie8 div#main_text {
		width: 49%;
	}
	
	div#main_text p#main_title img {
		width: 92%;
	}
	
/* add1123 */
	div#main_text p#ambassador img {
		width: 92%;
	}
	
	div#main_text p.introduction {
		font-size: 140%;
	
		color:#CCC;
		text-align:left;
		margin: 15px 20px 10px 20px;
	}


	
	div#detail_text {
		display: block;
		float: left;
		margin: 20px 0 0 0;
		width: 50%;
	}
	
/* add124 PC用協賛LOGO表示　*/
/*	div#detail_text table#sponcer td img {
		float: left;
		width: 97px;
	}
	*/
	
	div#detail_text table#sub-sponcer td img {
		float: left;
		width: 90%;
	}



/*
	 * application requirements
	 */
	
	h3 {
		background: url(../img/sh_marker.gif) no-repeat left 20px;
		padding: 25px 0 25px 40px;
	}

	.lt-ie8 div#detail_text {
		width: 49%;
	}

	div#detail_text table#detail_table {
		font-size: 140%;
		margin: 0 auto;
	}
	
	div#detail_text table#detail_table th {
		padding: 5px 0;
	}
	
	div#detail_text table#detail_table td {
		padding: 5px 0 5px 10px;
	}
	
	div#detail_text table#detail_table td img#prize_money_s {
		width: 137px;
	}

	div#detail_text ul#sponsor {
		margin: 50px 0 20px 0;
	}
	
	/* add 1129 後援　協力 */

	div#detail_text table#detail_table2 {
		font-size: 140%;
		float:left;
		margin: 0 auto;
	}
	
	div#detail_text table#detail_table2 th {
		padding: 5px 0;
	}
	
	div#detail_text table#detail_table2 td {
		padding: 5px 0 5px 10px;
	}
	
	div#detail_text table#detail_table2 td img#prize_money_s {
		width: 137px;
	}

	div#detail_text h2 {
		font-size: 14px;
	}
	
	div#detail_text ul.sponsor_box li {
		/* change 1206 */
		font-size: 12px;
	}

	div#detail_text ul#sponsor {
		/* change 1129*/
		/*margin: 50px 0 20px 0;*/
		margin: 5px 0 5px 3px;
	}
	div#detail_text ul#sub-sponsor {
		/* change 1129*/
		/*margin: 50px 0 20px 0;*/
		margin: 5px 0 5px 3px;
	}

	

	
	div#footer_inner div.two_col {
		background: #fff;
	}

	section#news {
		display: block;
		float: left;
		height: 314px;
		width: 50%;
	}
	
	section#news p#news_title img {
		padding: 5px 0 0 5px;
		width: 17.4%;
	}
	
	section#news div#news_contents {
		font-size: 140%;
		height: 264px;
	}

	section#facebook {
		display: block;
		float: right;
		height: 314px;
		width: 50%;
	}
	
	.lt-ie8 section#facebook {
		width: 49%;
	}

	section#facebook p#facebook_title img {
		padding: 5px 0 0 5px;
		width: 27.2%;
	}


	

	/*
	 * inquiry
	 */

	div#contents p#inquiry_lead {
		padding: 30px 0 0 0;
	}
	
	div#contents table#inquiry_table {
		margin: 30px 0 0 0;
		width: 100%;
	}
	
	div#contents table#inquiry_table th {
		width: 25%;
	}
	
	div#contents table#inquiry_table td input.text_long {
		width: 80%;
	}

	div#contents table#inquiry_table td input.text_short {
		width: 40%;
	}
	
	div#contents table#inquiry_table td input.inquiry_btn {
		font-size: 90%;
		margin: 20px 10px 0 0;
		padding: 2px 5px;
		width: 100px;
	}

	div#contents table#inquiry_table td textarea {
		width: 80%;
	}
}

/*
* overview* add1116 *
*/

div#contents table#overview {
	margin: 10px auto 0 auto;
	width:100%;
}

div#contents table#overview td.left {
	padding: 3px 0 3px 5px;
	text-align: left;
	vertical-align: top;
	width: 15%;
}

div#contents table#overview td.right {
	padding: 3px 0 3px 5px;
	text-align: left;
	vertical-align: top;
	width: 65%;
}

div#contents p.midashi{
	font-size:130%;
	font-weight:bold;
	text-align="left";
	color:#000;
}

div#contents p.overview-attntion{
	font-size:120%;
	text-align="left";
}
/* end */

@media only screen and (min-width: 965px) {
	header {
		background: #434343;
	}

	header div#header_inner,
	div#content_inner,
	div#footer_inner {
		margin: 0 auto;
		width: 965px;
	}

	div#content_outer {
		background: #333333;
	}

	div#footer_outer {
		background: #7e7e7e;
	}
}

@media only screen and (-webkit-min-device-pixel-ratio: 1.5),
       only screen and (min-resolution: 144dpi) {
    /* Style adjustments for high resolution devices */
}

/* ==========================================================================
   Print styles.
   Inlined to avoid required HTTP connection: h5bp.com/r
   ========================================================================== */

@media print {
    * {
        background: transparent !important;
        color: #000 !important; /* Black prints faster: h5bp.com/s */
        box-shadow: none !important;
        text-shadow: none !important;
    }

    a,
    a:visited {
        text-decoration: underline;
	color: #00f;
    }

    a[href]:after {
        content: " (" attr(href) ")";
    }

    abbr[title]:after {
        content: " (" attr(title) ")";
    }

    /*
     * Don't show links for images, or javascript/internal links
     */

    .ir a:after,
    a[href^="javascript:"]:after,
    a[href^="#"]:after {
        content: "";
    }

    pre,
    blockquote {
        border: 1px solid #999;
        page-break-inside: avoid;
    }

    thead {
        display: table-header-group; /* h5bp.com/t */
    }

    tr,
    img {
        page-break-inside: avoid;
    }

    img {
        max-width: 100% !important;
    }

    @page {
        margin: 0.5cm;
    }

    p,
    h2,
    h3 {
        orphans: 3;
        widows: 3;
    }

    h2,
    h3 {
        page-break-after: avoid;
    }
}