﻿@charset "utf-8";

/* ----------------------------------------------------
	全端末共通
---------------------------------------------------- */
body{
	background: none;
}

figure{
	margin: 0;
	padding: 0;
}
img{
	max-width: 100%;
	height: auto;
	display:inline;
}
.inner{
	position: relative;
}
main .inner p,
main .inner li{
	text-align: left;
}
main .note li,
p.note{
	padding-left:1em;
	text-indent:-1em;
}

header p:last-child{
	position: absolute;
	right: 0;
	top: 0;
}


/* index
-----------------------------------------------------------------------------*/
#booth {
	background: #ddf5ff;
}
#booth .titArea p{
	color: #008dc8;
	border-color: #008dc8;
}
#booth section{
	border: 1px solid #008dc8;
	border-radius: 5px;
	background: #fff;
	box-sizing: border-box;
}
#booth section h3{
	color: #008dc8;
	border-bottom: 1px solid #008dc8;
}
#booth section a{
	color: #008dc8;
	text-decoration: underline;
}
#booth .btn a{
	display: block;
	margin: 0 auto;
	color: #fff;
	font-weight: bold;
	background: #008dc8;
	border-radius: 5px;
}
.btn a:hover{
	text-decoration: none;
	opacity: 0.7;
}
#challenge {
	background: #eef6e5;
}
#challenge .titArea p{
	color: #76bc1b;
	border-color: #76bc1b;
}
#challenge .btn a{
	display: block;
	margin: 0 auto;
	color: #fff;
	font-weight: bold;
	background: #76bc1b;
	border-radius: 5px;
}
#twitter {
	background: #dff3f6;
}
#twitter .titArea p{
	color: #03bac9;
	border-color: #03bac9;
}
#twitter span{
	color: #03bac9;
}
#before {
	background: #fff5ed;
}
#before .titArea p{
	color: #fc7100;
	border-color: #fc7100;
}

/* #answer 
-----------------------------------------------------------------------------*/
#answer h1,
#quiz h1{
	background: #e6e6e6;
	line-height: 1;
}
#answer p,
#quiz p{
	text-align: center;
}
#answer b{
	color: #e20000;
}
#answer span,
#quiz span{
	color: #cc0952;
	font-weight: bold;
}
#answer strong{
	background: #fffc00;
}
#answer .btn a{
	display: block;
	margin: 0 auto;
	color: #fff;
	font-weight: bold;
	background: #fc7100;
	border-radius: 5px;
}
#answer .btn a:hover{
	text-decoration: none;
	opacity: 0.7;
}

/* #quiz 
-----------------------------------------------------------------------------*/
#quiz .movieArea {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
}
#quiz .movieArea iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}
#quiz li{
	border: 2px solid #d1d1d1;
	background: -moz-linear-gradient(top,  #e9e9e9 0%, #ffffff 100%); /* FF3.6-15 */
	background: -webkit-linear-gradient(top,  #e9e9e9 0%,#ffffff 100%); /* Chrome10-25,Safari5.1-6 */
	background: linear-gradient(to bottom,  #e9e9e9 0%,#ffffff 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#e9e9e9', endColorstr='#ffffff',GradientType=0 ); /* IE6-9 */
	font-weight: bold;
	text-align: center;
	border-radius: 5px;
}
#quiz li a{
	color: #e00c57;
	display: block;
}
#quiz li a:hover{
	text-decoration: none;
}
#quiz li:nth-of-type(2) a{
	color: #37abc4;
}
#quiz li:nth-of-type(3) a{
	color: #f98700;
}
.remodal dt{
	color: #068ed4;
}
.remodal .btn{
	color: #fff;
	font-weight: bold;
	background: #fc7100;
	border-radius: 5px;
	border: 0 none;
    cursor: pointer;
    padding: 0;
    outline: 0 none;
    overflow: visible;
    text-decoration: none;
}
.remodal-close{
	left: auto !important;
	right: 0!important;
}

/* ----------------------------------------------------
メディアクエリ設定 768～ PC
---------------------------------------------------- */
@media screen and (min-width: 769px) {
.pc{display:block;}
.sp{display:none;}
html{
	overflow:auto;
}
body{
	overflow: hidden;
	min-width:768px;
}
.inner{
	max-width: 1000px;
	margin: 0 auto;
}
main .inner p{
	font-size: 18px;
	line-height: 1.66;
	margin-bottom: 20px;
}
.note{
	font-size: 13px !important;
	line-height: 1.8;
}
.titArea{
	padding-top: 50px;
	margin-bottom: 10px;
}
.titArea h2{
	float: left;
	width: 25%;
}
.titArea h2 img{
	width: 100%;
	height: auto;
}
.titArea p{
	font-size: 35px !important;
	font-weight: bold;
	display: block;
	width: 71%;
	float: right;
	border-bottom: 1px solid #000;
}

header .inner{
	max-width: 1200px;
}
header p:first-child{
	padding: 30px 0;
}
footer{
	margin-top: 100px;
	background:#eeeeee url(/jgf2017/img/bg_footer.png) repeat-x;
}
footer p{
	text-align: right;
	padding-top: 3px;
}
footer a{
	color: #fff;
	font-size: 12px;
}
footer a::after{
	content: "▲";
}
footer small{
	padding: 10px 0;
	display: inline-block;
}

/* index
-----------------------------------------------------------------------------*/
#mainvis h1{
	margin-bottom: 30px;
}

/* booth-----------*/
#booth {
	margin-top: 50px;
	padding-bottom: 50px;
	overflow: hidden;
}

#booth .titArea h2{
	margin-left: -35px;
}
#booth .titArea p{
	width: 74%;
	padding: 80px 0 20px 25px;
}
#booth .txtArea{
	width: 62%;
	float: left;
}
#booth .txtArea dl{
	overflow: hidden;
}
#booth .txtArea dt{
	float: left;
	margin-right: 15px;
	width: 16.4%;
}
#booth .txtArea dt img{
	width: 100%;
	height: auto;
}
#booth .btn a{
	text-align: center;
	padding: 15px 0;
	margin-bottom: 50px;
}
#booth .txtArea dd{
	float: left;
	width: 80%;
}
#booth section{
	padding: 25px;
	box-sizing: border-box;
	border-width: 8px;
	margin-bottom: 50px;
	clear: both;
}
#booth section h3{
	margin-bottom: 10px;
	padding-bottom: 10px;
	font-size: 16px;
	text-align: left;
}
#booth section p{
	font-size: 13px !important;
	margin-bottom: 15px;
	line-height: 1.8;
}
#booth section li{
	font-size: 11px !important;
	line-height: 1.8;
}
#booth .txtArea+figure{
	float: right;
	width: 43%;
	margin:-180px -60px 0 0;
}


/* challenge-----------*/
#challenge {
	padding-bottom: 70px;
}
#challenge .titArea h2{
	margin-left: -30px;
}
#challenge .titArea p{
	padding: 33px 0 10px 25px;
	width: 74%;
}
#challenge .titArea+div{
	margin-bottom: 40px;
}
#challenge .titArea+div figure{
	float: left;
	width: 53%;
}
#challenge .titArea+div figure img{
	width: 100%;
	height: auto;
}
#challenge .titArea+div p{
	float: right;
	width: 44.5%;
}
#challenge .btn a{
	text-align: center;
	padding: 15px 0;
	margin: 30px auto 0;
	width: 60%;
}

/* twitter-----------*/
#twitter {
	padding-bottom: 70px;
	overflow: hidden;
}

#twitter .titArea p{
	padding: 10px 0 10px 25px;
	line-height: 1.3;
}
#twitter .inner > figure{
	float: right;
	width: 22.%;
	margin-top: -120px;
}
#twitter .inner > figure img{
	width: 100%;
	height: auto;
}
#twitter .imgArea{
	float: left;
	width: 74%;
}
#twitter .imgArea figure{
	margin-top: 30px;
}

/* before-----------*/
#before {
	padding-bottom: 70px;
}
#before .titArea p{
	padding: 33px 0 10px 25px;
}
#before .titArea+div{
	overflow: hidden;
	margin-bottom: -50px;
}
#before figure{
	float: left;
	width: 32.7%;
}
#before figure img{
	width: 100%;
	height: auto;
}
#before figure+p,
#before ul{
	float: right;
	width: 64%;
}
/* link-----------*/
#link h2{
	padding: 80px 0 10px;
	font-size: 35px;
}


/* #answer 
-----------------------------------------------------------------------------*/
#answer h1,
#quiz h1{
	font-size: 50px;
	padding: 30px 0px;
}
#answer p,
#quiz p{
	font-size: 18px;
	margin-bottom: 30px;
	line-height: 1.8;
}
#answer p+p{
	margin: 50px 0;
}
#answer b{
	font-size: 80px;
	padding: 50px 0 0px;
	display: inline-block;
}
#answer .btn a{
	font-size: 30px;
	line-height: 1.3;
	padding: 20px 0;
	margin-top: 50px;
	width: 60%;
}
/* #quiz 
-----------------------------------------------------------------------------*/
#quiz h1 {
	margin-bottom: 50px;
}
#quiz ul{
	overflow: hidden;
	margin-top: 30px;
}
#quiz li{
	float: left;
	width: 31%;
	box-sizing: border-box;
	line-height: 1.3;
	padding: 30px 0;
	font-size: 25px;
	cursor: pointer;
}
#quiz li:hover{
	opacity: 0.7;
}
#quiz li b{
	font-size: 35px;
}
#quiz li:nth-of-type(2){
	margin: 0 3.5%;
}
.remodal dt{
	font-size: 40px;
	margin-bottom: 10px;
}
.remodal dd{
	margin-bottom: 20px;
}
.remodal .btn{
	font-size: 24px;
	padding: 15px;
	margin-top: 30px;
}
/*PC END*/
}


 
 /* ----------------------------------------------------
メディアクエリ設定 768～960 tablet
---------------------------------------------------- */
@media screen and (min-width: 379px) and (max-width: 768px) {


/*tablet END*/
}

 /* ----------------------------------------------------
メディアクエリ設定 ～768 smartPhone
---------------------------------------------------- */
@media screen and (max-width: 768px) {
.pc{display:none;}
.sp{display:block;}
img{
	width: 100%;
	height: auto;
}

main .inner{
	margin: 0 10px;
}
main .inner p{
	margin-bottom: 15px;
}
.note{
	font-size: 12px;
}
.titArea h2{
	width: 50%;
	margin: 0 auto;
	padding-top: 20px;
}
.titArea p{
	font-size: 18px !important;
	font-weight: bold;
	padding:0 0 10px 15px;
	border-bottom: 1px solid #000;
	line-height: 1.3;
}

header p:first-child{
	padding: 15px 0;
	width: 23.7%;
	margin: 0 auto;
}
header p:last-child{
	width: 30%;
}
footer p{
	text-align: right;
	padding: 5px;
	background: #404243;
	margin-top: 30px;
}
footer a{
	color: #fff;
	font-size: 12px;
}
footer a::after{
	content: "▲";
}
footer small{
	padding: 10px 0;
	display: inline-block;
	background: #eeeeee;
	width: 100%;
}

/* index
-----------------------------------------------------------------------------*/

/* booth-----------*/

#booth {
	padding-bottom: 10px;
	overflow: hidden;
}
#booth .txtArea{
	float: left;
	width: 68%;
}
#booth .txtArea+ figure{
	float: right;
	width: 30%;
}

#booth .txtArea dl{
	overflow: hidden;
}
#booth .txtArea dt{
	float: left;
	width: 30%;
}
#booth .txtArea dd{
	float: right;
	width: 67%;
}
#booth .btn a{
	text-align: center;
	padding: 10px;
}
#booth section{
	padding: 10px;
	margin-bottom: 15px;
	border-width: 5px;
}
#booth section h3{
	margin-bottom: 10px;
}
#booth section p{
	font-size: 12px;
}
#booth section li{
	font-size: 10px;
}



/* challenge-----------*/
#challenge {
	padding-bottom: 30px;
}
#challenge .btn a{
	text-align: center;
	padding: 10px;
	width: 70%;
	margin: 15px auto 0;
}
/* twitter-----------*/
#twitter {
	padding-bottom: 30px;
	overflow: hidden;
}
#twitter .inner > figure{
	float: right;
	width: 30%;
}
#twitter .imgArea{
	float: left;
	width: 68%;
}
#twitter  ul{
	margin-bottom: 10px;
}

/* before-----------*/
#before {
	padding-bottom: 30px;
}
#before  figure{
	width: 80%;
	margin: 0 auto;
	margin-bottom: 10px;
}
/* link-----------*/
#link {
	margin: 30px 10px 0;
}
#link h2{
	font-size: 16px;
	line-height: 1.3;
	margin-bottom: 10px;
}


/* #answer 
-----------------------------------------------------------------------------*/
#answer h1,
#quiz h1{
	padding: 20px 0px;
}
#answer p,
#quiz p{
	margin-bottom:15px;
}
#answer p+p{
	margin: 30px 0 10px;
	text-align: left;
}
#answer b{
	font-size: 40px;
	padding: 30px 0 0px;
	display: inline-block;
}
#answer .btn a{
	font-size: 16px;
	line-height: 1.3;
	padding: 15px 0;
	margin: 15px 0 50px;
	width: 100%;
}

/* #quiz 
-----------------------------------------------------------------------------*/
#quiz h1 {
	margin-bottom: 20px;
}
#quiz p{
	text-align: left;
}
#quiz ul{
	margin-top: 15px;
}
#quiz li{
	padding: 10px;
	margin-bottom: 10px;
	font-size: 18px;
}
#quiz li b{
	padding-right: 5px;
	font-size: 20px;
}

.remodal dt{
	font-size: 30px;
	margin-bottom: 10px;
}
.remodal dd{
	margin-bottom: 10px;
	line-height: 1.3;
}
.remodal .btn{
	font-size: 15px;
	padding: 15px;
	margin-top: 15px;
}


/*smartPhone END*/
}

 /* ----------------------------------------------------
メディアクエリ設定 ～380 smartPhone
---------------------------------------------------- */
@media screen and (max-width: 380px) {
#booth .txtArea dl dt{
	margin-right: 10px;
}
#booth .txtArea dl:first-of-type dt{
	width: 40%;
}
#booth .txtArea dd{
	float: none;
	width: 100%;
}
#booth section,
#booth section + dl{
	width: 147%;
}


}