@charset "utf-8";

/*
color palet

color: #_ffe471;
color: #_cbb479;
color: #0dbcbc;
color: #9f191e;

*/

#contents {
	width: 100%;
	background-color: #fff;
	overflow: hidden;
}
#contents .contentsFrame {
	padding: 10px;
	box-sizing: border-box;
}
.inner {
	width: 977px;
	margin: 0 auto;
	padding: 30px 0 40px 0;
	position: relative;
	text-align: center;
	box-sizing: border-box;
}
.bgwhite {
	background-color: #f7f4ed;
	background-color: #f3f3f3;
}
.en {
	font-family: 'Barlow', sans-serif;
	font-size: 1.2em;
	vertical-align: baseline;
}
.sml {
	font-size: 0.8em;
}
#contents a.tlink {
	color: #9f191e;
	text-decoration: underline;
}
#contents a.tlink:hover {
	color: #333;
}
#contents * {
	box-sizing: border-box;
}



/* rules */

#contents #rules {
	background-color: #f3f3f3;
	padding: 60px 0 80px;
}
#contents #rules .inner {
	background-color: #fff;
	padding: 10px 0;
	box-sizing: border-box;
	border-radius: 5px;
	margin-bottom: 20px;
}
#contents #rules h1 {
	text-align: center;
	font-size: 1.7em;
	letter-spacing: 0.1em;
	color: #000;
	font-weight: bold;
	cursor: pointer;
	padding: 0 0 30px;
	box-sizing: border-box;
}
#contents #rules .inner p {
	font-size: 1em;
	line-height: 1.8em;
	box-sizing: border-box;
	text-align: left;
	padding-bottom: 1.8em;
}

#contents #rules .inner p.text-indent-1 {
	text-indent: -1em;
	padding-left: 1em;
	padding-bottom: 0;
	font-size: 0.94em;
}
#contents #rules h2 {
	text-align: center;
	font-size: 1.6em;
	color: #000;
	cursor: pointer;
	padding: 10px 80px;
	box-sizing: border-box;
}
#contents #rules h2:after {
	display: block;
	position: absolute;
	top: 20px;
	right: 20px;
	content: '＋';
}
#contents #rules h2.on:after {
	content: '×';
}
#contents #rules .policy {
	font-size: 1.1em;
	line-height: 1.8em;
	padding: 0.5em 0;
	margin-left: 1.8em;
}
#contents #rules .policy p {
	text-align: left;
}
#contents #rules ul.policy li {
	list-style: disc;
	border-bottom: 1px dotted #ccc;
	margin-bottom: 0.5em;
	text-align: left;
}
#contents #rules ol.policy li {
	list-style: decimal;
	border-bottom: 1px dotted #ccc;
	margin-bottom: 0.5em;
	text-align: left;
}
#contents #rules .display {
	display: none;
	margin-top: 20px;
	padding: 10px 60px;
}
#contents #rules table.display {
	width: auto;
	margin: 30px 50px 20px;
	border-collapse: collapse;
	counter-reset: number 0;
}
#contents #rules th {
	width: 15%;
	padding: 1em;
	border-bottom: 1px solid #ccc;
	text-align: left;
	vertical-align: top;
	font-size: 1.1em;
	font-weight: bold;
	line-height: 1.5em;
	color: #444;
}
#contents #rules td {
	width: 80%;
	padding: 1em;
	border-left: 1px solid #ccc;
	border-bottom: 1px solid #ccc;
	vertical-align: top;
	font-size: 1.1em;
	line-height: 1.5em;
	text-align: left;
}
#contents #rules td ul {
	display: block;
	text-align: left;
	width: 100%;
	padding-bottom: 0;
	margin-bottom: 0;
}
#contents #rules td li {
	padding: 0 0;
	margin-bottom: 0.5em;
	text-align: left;
	width: 100%;
	text-indent: -1em;
	padding-left: 1em;
}
#contents #rules td li:last-child {
	border-bottom: none;
}
#contents #rules td li:before {
	content: "・";
	color: #444;
	font-weight: bold;
}
#contents #rules .note {
	padding-top: 1em;
	font-size: 0.9em;
}
#contents .toilet_info {
	margin-top: 0 !important;
}
#contents .toilet_info:after {
	border: none !important;
	width: 0;
	margin: 0 auto;
}

/* ================== smart phone  ================== */

@media only screen and (max-device-width: 1280px) and (max-width: 640px) {
	/* main image */
	#contents #mainImg {
		width: 100%;
		height: auto;
	}

	#contents #mainImg #scrlBtn {
		width: 90%;
		margin: 0 auto;
		font-size: 1em;
		top: 89%;
		left: 5%;
		margin-left:0;
	}
	@media (max-width: 320px) {
		#contents #mainImg #scrlBtn {
			font-size: 0.9em;
		}
	}
	#contents #mainImg #winnerLink{
		width: 38%;
		right: -2%;
		top: calc(50% - 6.5em);
		font-size: 3.1vw;
	}
	.inner {
		width: 90%;
		margin: 0 auto;
		position: relative;
		padding: 0;
	}
	#contents .inner h1 {
		font-size: 24px;
	}
	#contents .inner h1:before {
		content: '';
		width: 50px;
		height: 50px;
		display: block;
		margin: 0 auto 10px;
		background-size: contain !important;
	}
	/* photo */
	#contents #photo {
		padding: 20px 0;
	}
	/* contest */
	#contents #contest {
		display: block;
		width: 100%;
		padding: 20px 0;
		position: relative;
	}
	#contents #contest .inner h1 {
		font-size: 24px;
	}
	#contents #contest .inner h2 {
		font-size: 18px;
		line-height: 1.6em;
		font-weight: bold;
	}
	#contents #contest .inner .subject {
		/*        display: block;*/
		margin-bottom: 30px;
	}
	#contents #contest .inner .subject>div {
		/*        width: 48%;*/
		width: 80%;
		border: 3px solid #000;
		background-color: #fff;
		padding: 10px 10px 5px;
		display: flex;
		justify-content: center;
		align-items: center;
	}
	#contents #contest .inner .subject>div:after {
		border-color: rgba(255, 255, 255, 0);
		border-top-color: #fff;
		border-width: 20px;
		margin-left: -20px;
	}
	#contents #contest .inner .subject>div:before {
		border-color: rgba(0, 0, 0, 0);
		border-top-color: #000;
		border-width: 24px;
		margin-left: -24px;
	}
	#contents #contest .inner h2 {
		display: block;
		font-size: 1.1em;
		line-height: 1.6em;
		margin: 20px auto;
	}
	#contents #contest .inner h2 span.bold {
		font-weight: bold;
		letter-spacing: 0.1em;
		font-size: 1.3em;
		display: block;
		padding: 0.5em;
		position: relative;
	}
	#contents #contest .inner h2 span.bold:before {
		content: '';
		display: block;
		width: 100%;
		height: 20px;
		background-image: url(../images/star.svg);
		background-repeat: no-repeat;
		background-position: center center;
		background-size: contain;
		margin-bottom: 10px;
	}
	#contents #contest .inner span.bold2 {
		font-size: 30px;
	}
	#contents #contest .presentInfo.flex {
		display: flex;
		justify-content: space-around;
		flex-wrap: wrap;
		margin: 20px auto;
	}
	#contents #contest .presentInfo.flex>div {
		width: 100%;
		padding: 20px;
		margin-bottom: 10px;
	}
	#contents #contest .presentInfo.flex>div h3 span {
		font-size: 1.2em;
		color: #000;
	}
	#contents #contest .presentInfo.flex>div p.large {
		font-size: 0.9em;
		color: #000;
		margin: 0;
		padding: 0;
	}
	#contents #contest .presentInfo.flex>div p.sml {
		font-size: 0.8em;
		color: #000;
		margin: 0;
		padding: 0;
		text-align: left;
	}
	#contents #contest .term {
		width: 100%;
		padding: 5px 0;
		margin: 10px auto 20px;
		display: inline-block;
	}
	#contents #contest .term p {
		font-size: 15px;
		line-height: 1.5em;
		text-align: center;
	}
	#contents #contest .term p span {
		display: inline-block;
	}
	#contents #contest .ex {
		width: 100%;
		margin: 30px auto 0;
		align-items: center;
		display: block;
	}
	#contents #contest .smartphone {
		width: 100%;
		border: none;
		padding: 0;
		border-radius: 0;
		box-sizing: content-box;
		background-color: transparent;
	}
	#contents #contest .smartphone .inner {
		display: block;
		width: 100%;
		margin-bottom: 20px;
	}
	#contents #contest .smartphone .inner:before {
		display: none;
	}
	#contents #contest .smartphone .inner:after {
		display: none;
	}
	#contents #contest .smaple {
		width: 100%;
		margin-bottom: 20px;
	}
	#contents #contest .thumb {
		width: 100%;
		padding-bottom: 100%;
		background-repeat: no-repeat;
		background-position: center center;
		background-size: cover;
		background-color: #f3f3f3;
	}
	#contents #contest .ex p {
		font-size: 1em;
		line-height: 1.5em;
		font-weight: normal;
		text-align: left;
		color: #000;
	}
	#contents #contest .ex p span {
		display: block;
		font-size: 0.9em;
		color: #002f7b;
		font-weight: bold;
		margin-top: 0.5em;
	}
	#contents #contest .entry {
		width: 140px;
		margin: 10px auto;
		bottom: -120px;
		left: -40px;
	}
	/* banner area */
	#rakutekuBannerArea {
		display: block;
		width: 100%;
		border-radius: 0;
		margin-top: 10px;
		padding: 0;
	}
	#rakutekuBannerArea .inner {
		padding: 0;
		width: 100%;
	}
	#rakutekuBannerArea a {
		display: block;
		width: 100%;
		padding: 60px;
		border: 1px solid #ccc;
		background-color: #fff;
		margin: 10px auto 0;
	}
	/* present */
	#contents #present {
		padding: 20px 0;
		background-size: 36% auto;
	}
	#contents #present h2 {
		width: 100%;
	}
	#contents #present .present {
		display: block;
		width: 100%;
		margin: 20px auto 30px;
		background-color: #fff;
		position: relative;
		border-radius: 20px;
	}
	#contents #present .present.present1 {
		display: block;
		width: 100%;
		margin: 20px auto 30px;
	}
	#contents #present .present p {
		font-size: 1em;
		line-height: 1.8em;
	}
	#contents #present .present p.ptitle {
		border: 1px solid #000;
		padding: 0.5em 1em 0.3em;
		display: block;
		line-height: 1;
		width: 90%;
		margin: 0 auto 0.5em;
		position: relative;
		margin-bottom: 50px;
	}
	#contents #present .present .presentFukidashi {
		width: 100px;
		height: 100px;
	}
	/* banner area */
	#contents .bannerArea {
		padding: 0;
		margin-bottom: 10px;
	}
	#contents .bannerArea .inner {
		padding: 0;
		width: 100%;
	}
	#contents .bannerArea a.banner {
		width: 100%;
		padding:0;
		display: block;
		height: auto;
		overflow: hidden;
		border: none;
		background-color:transparent;
	}
	#contents .bannerArea a.banner:after{
		display: none;
	}
	#contents .bannerArea a.banner .thumb {
		width: 100%;
		padding-bottom: 60%;
		display: block;
	}
	#contents .bannerArea a.banner .title {
		display: block;
		width: 100%;
		padding: 20px;
		font-size: 0.7em;
		font-weight: bold;
		line-height: 1.4em;
		background-color: transparent;
	}
	#contents .bannerArea a.banner .title span{
		display: block;
		width:80%;
		margin:20px auto;
		background-color:#000;
		color:#fff;
		padding:0.5em;
		border-radius: 4em;
	}
	#contents .bannerArea a.banner .title img{
		width:100%;
	}
	
	#contents .bannerArea a.banner .showroom {
		padding:20px 5px;
		font-size:0.75em;
	}
	#contents .bannerArea a.banner .showroom span{
		letter-spacing: 0;
	}
	/* first */
	#contents #first {
		padding: 40px 0;
	}
	#contents #first h1 {
		padding: 0 0 30px;
		font-size: 21px;
		line-height: 1.3em;
	}
	#contents #first h1:before {
		content: none;
	}
	#contents #first .flex {
		justify-content: center;
		align-items: center;
	}
	#contents #first .flex div {
		width: 100%;
	}
	#contents #first .flex div:first-child {
		width: 80%;
		margin: 0 auto 20px;
	}
	#contents #first .flex div p {
		font-size: 14px;
	}
	#contents #first .flex div p br {
		display: none;
	}
	#contents #first .flex div p:last-child {
		text-align: center;
	}
	#contents #first .flex div a {
		display: inline-block;
		margin: 15px auto 0;
		padding: 10px 2em;
		color: #fff;
		background-color: #0dbcbc;
		font-size: 1em;
		line-height: 1em;
		border-radius: 5px;
		margin-top: 15px;
		transition: background-color 0.3s 0s ease;
	}
	#contents #first .flex div a::after {
		font-family: 'myfav';
		content: '\e93f';
		display: inline-block;
		margin-left: 5px;
		font-weight: normal;
		/* Better Font Rendering =========== */
		-webkit-font-smoothing: antialiased;
		-moz-osx-font-smoothing: grayscale;
	}
	/* apply */
	#contents #apply .inner {
		padding: 10px 0 0px;
	}
	#contents #apply .inner h1 {
		font-weight: bold;
		font-size: 1.5em;
		color: #000;
		text-align: center;
		margin-bottom: 1em;
	}
	#contents #apply .inner h1+p {
		width: 100%;
		padding: 0.5em 0.5em 0.3em;
		font-size: 14px;
		box-sizing: border-box;
		line-height: 1.4em;
	}
	#contents #apply .inner ul.step li {
		flex-wrap: wrap;
		width: 100%;
		box-sizing: border-box;
		position: relative;
		margin-bottom: 50px;
		padding: 20px;
	}
	#contents #apply .inner ul.step li>div:nth-child(2) {
		width: 100%;
		margin-right: 0;
	}
	#contents #apply .inner ul.step li .thumb {
		width: 100%;
		height: 180px;
		margin-bottom: 10px;
		background-repeat: no-repeat;
		background-position: center bottom;
		background-size: contain;
		text-align: left;
	}
	#contents #apply .inner ul.step li p {
		font-size: 13px;
	}
	#contents #apply .inner ul.step li h4 {
		display: flex;
		justify-content: center;
		align-items: center;
		position: absolute;
		top: -20px;
		left: -10px;
		font-size: 22px;
		width: 40px;
		height: 40px;
		padding: 6px;
		background-color: #9f191e;
		border-radius: 50%;
		margin: 0;
		color: #fff;
		border: none;
	}
	#contents #apply .inner ul.step li h4:after {
		display: none;
	}
	
	#contents #apply .inner ul.step li .hash {
		padding: 20px 10px;
	}
	#contents #apply .inner ul.step li .hash .flex > div{
		padding: 10px;
		width:49%;
		margin-bottom:10px;
	}
	#contents #apply .inner ul.step li .hash .copy {
		position: static;
		border-radius: 0;
		margin-bottom: 20px;
		font-size: 0.9em;
	}
	#contents #apply .inner ul.step li .hash h5 {
		/*		text-align: center !important;*/
		font-size: 0.8em;
		line-height: 1.4em;
		font-weight: bold;
		padding: 0;
	}
	#contents #apply .inner ul.step li .hash p {
		/*		text-align: left !important;*/
		font-size: 0.8em;
		padding: 5px 0;
	}
	#contents #apply .inner h2 {
		font-size: 26px;
		margin: 10px auto 0;
	}
	#contents #apply .inner ul.basis {
		margin: 10px auto;
	}
	#contents #apply .inner ul.basis li {
		display: flex;
		justify-content: center;
		flex-wrap: wrap;
		align-items: center;
		width: 100%;
		height: auto;
		border-radius: 10px;
		padding: 20px;
		box-sizing: border-box;
		text-align: center;
		margin-bottom: 20px;
	}
	#contents #apply .inner ul.basis li h3 {
		font-size: 40px;
		margin-bottom: 20px;
	}
	#contents #apply .inner ul.basis li p {
		display: block;
		width: 100%;
		height: auto;
		min-height: auto;
		text-align: center;
		font-size: 14px;
		line-height: 1.8em;
		font-weight: bold;
		padding-bottom: 0;
		text-indent: 0.5em;
	}
	#contents #apply .inner .contestNote {
		padding: 0 0 30px;
		font-size: 0.86em;
		line-height: 1.5em;
		text-align: left;
	}
	/* rules */
	#contents #rules {
		background-color: #f3f3f3;
		padding: 40px 0 20px;
	}
	#contents #rules .inner {
		background-color: #fff;
		padding: 10px 0;
		box-sizing: border-box;
		border-radius: 5px;
		margin-bottom: 10px;
	}
	#contents #rules h1 {
		text-align: center;
		font-size: 1.7em;
		color: #000;
		font-weight: bold;
		cursor: pointer;
		padding: 0 0 30px;
		box-sizing: border-box;
	}
	#contents #rules .inner p {
		font-size: 0.8em;
		line-height: 1.8em;
		box-sizing: border-box;
		text-align: left;
		padding-bottom: 1.8em;
	}
	#contents #rules .inner p {
		font-size: 0.8em;
		line-height: 1.8em;
		box-sizing: border-box;
		text-align: left;
		padding-bottom: 0;
	}
	#contents #rules h2 {
		text-align: center;
		font-size: 1em;
		color: #000;
		cursor: pointer;
		padding: 10px 20px;
		box-sizing: border-box;
	}
	#contents #rules h2:after {
		display: block;
		position: absolute;
		top: 20px;
		right: 20px;
		content: '＋';
	}
	#contents #rules h2.on:after {
		content: '×';
	}
	#contents #rules .policy {
		font-size: 0.8em;
		line-height: 1.8em;
		padding: 0.5em 0;
		margin-left: 1.8em;
	}
	#contents #rules .policy p {
		text-align: left;
	}
	#contents #rules ul.policy li {
		list-style: disc;
		border-bottom: 1px dotted #ccc;
		margin-bottom: 0.5em;
		text-align: left;
	}
	#contents #rules ol.policy li {
		list-style: decimal;
		border-bottom: 1px dotted #ccc;
		margin-bottom: 0.5em;
		text-align: left;
	}
	#contents #rules .display {
		display: none;
		margin-top: 20px;
		padding: 10px 20px;
		box-sizing: border-box;
	}
	#contents #rules table.display {
		width: auto;
		margin: 20px 20px 20px;
		border-collapse: collapse;
		counter-reset: number 0;
	}
	#contents #rules th {
		display: none;
	}
	#contents #rules td {
		width: 100%;
		padding: 1em 0;
		border-left: none;
		border-bottom: 1px solid #ccc;
		vertical-align: top;
		font-size: 0.8em;
		line-height: 1.5em;
		text-align: left;
	}
	#contents #rules td h3 {
		font-size: 1.1em;
		font-weight: bold;
		padding-bottom: 0.5em;
	}
	#contents #rules td ul {
		display: block;
		text-align: left;
		width: 100%;
		padding-bottom: 0;
		margin-bottom: 0;
	}
	#contents #rules td li {
		padding: 0.5em 0;
		border-bottom: 1px dotted #ccc;
		margin-bottom: 0.5em;
		text-align: left;
		width: 100%;
	}
	#contents #rules td li:last-child {
		border-bottom: none;
	}
	#contents #rules td li:before {
		counter-increment: number 1;
		content: "Step " counter(number);
		margin-right: 1em;
		color: #444;
		font-weight: bold;
	}
	#contents #rules .note {
		font-size: 0.9em !important;
		padding-top: 1em;
		padding-bottom: 0 !important;
	}
	#contents .toilet_info {
		font-size: 90%;
	}
}
@media screen and (max-width:320px) {
	.forSPS {
		display: block !important;
	}
	#contents #judge h1 {
		font-size: 32px;
	}
	#contents #judge p {
		font-size: 14px;
	}
	#contents #judge .judge {
		position: absolute;
		width: 100px;
		top: -18px;
		right: 5px;
	}
	#contents #contest .inner h2 {
		font-size: 18px;
	}
	#contents #contest .inner p {
		font-size: 12px;
	}
	#contents #present .inner li h2 {
		font-size: 18px;
	}
	#contents #present .inner li p {
		font-size: 12px;
	}
	#contents .toilet_info {
		font-size: 86%;
	}
}