@charset "utf-8";

/* ===================================================================
QUIZ
=================================================================== */

/* HEADER
--------------------*/

body.quiz header {
	position: relative;
	width: 100%;
	padding: 20px 0;
}

body.quiz header .enquete-title {
	max-width: 100%;
	margin: 0 0 20px;
}

body.quiz header .enquete-detail-present {
    position: relative;
	margin: 0;
    padding: 5px 10px;
	font-family: 'nicoca';
	color: #f00;
    font-size: 14px;
	text-align: center;
	text-shadow:
		rgba(255, 255, 255, 1) 2px 0px,
		rgba(255, 255, 255, 1) -2px 0px,
		rgba(255, 255, 255, 1) 0px -2px,
		rgba(255, 255, 255, 1) 0px 2px,
		rgba(255, 255, 255, 1) 2px 2px,
		rgba(255, 255, 255, 1) -2px 2px,
		rgba(255, 255, 255, 1) 2px -2px,
		rgba(255, 255, 255, 1) -2px -2px,
		rgba(255, 255, 255, 1) 1px 2px,
		rgba(255, 255, 255, 1) -1px 2px,
		rgba(255, 255, 255, 1) 1px -2px,
		rgba(255, 255, 255, 1) -1px -2px,
		rgba(255, 255, 255, 1) 2px 1px,
		rgba(255, 255, 255, 1) -2px 1px,
		rgba(255, 255, 255, 1) 2px -1px,
		rgba(255, 255, 255, 1) -2px -1px;
}

body.quiz header .enquete-detail-present strong {
    font-size: 30px;
}

/* DETAIL
--------------------*/

body.quiz .desc {
    margin: 0 0 10px;
	max-width: 100%;
	text-align: center;
	font-weight: bold;
    line-height: 1.66;
}

body.quiz .desc .img {
	margin: 0 0 10px;
}

body.quiz .desc .img img {
    width: 100% !important;
    height: auto !important;
	border: 10px solid #e8dacf;
	box-shadow: 3px 3px 10px 3px rgba(0, 0, 0, .25);
}

body.quiz .desc .caption {
	display: inline-block;
    margin: 0 0 10px;
    padding: 0px 20px;
	font-family: "logotype";
    color: #fff;
    font-size: 20px;
    font-weight: bold;
    background: #000;
	border-radius: 25px;
	text-shadow: none;
}

body.quiz .desc .ques {
	margin: 0 0 10px;
	font-family: "logotype";
	color: #02a0ea;
    font-size: 20px;
	font-weight: bold;
	text-shadow:
		rgba(255, 255, 255, 1) 2px 0px,
		rgba(255, 255, 255, 1) -2px 0px,
		rgba(255, 255, 255, 1) 0px -2px,
		rgba(255, 255, 255, 1) 0px 2px,
		rgba(255, 255, 255, 1) 2px 2px,
		rgba(255, 255, 255, 1) -2px 2px,
		rgba(255, 255, 255, 1) 2px -2px,
		rgba(255, 255, 255, 1) -2px -2px,
		rgba(255, 255, 255, 1) 1px 2px,
		rgba(255, 255, 255, 1) -1px 2px,
		rgba(255, 255, 255, 1) 1px -2px,
		rgba(255, 255, 255, 1) -1px -2px,
		rgba(255, 255, 255, 1) 2px 1px,
		rgba(255, 255, 255, 1) -2px 1px,
		rgba(255, 255, 255, 1) 2px -1px,
		rgba(255, 255, 255, 1) -2px -1px;
}

/* ===================================================================
ENQUETE
=================================================================== */

/* HEADER
--------------------*/

body.normal header {
	position: relative;
	width: 100%;
	padding: 20px 0;
}

/* DETAIL
--------------------*/

body.normal .desc {
	position: relative;
	display: block;
	padding: 15px;
	color: #fff;
	text-align: center;
	background: #19b2ab;
	border-radius: 20px;
}

body.normal .desc .img {
	margin: 0 0 10px;
}

body.normal .desc .img img {
    width: 100% !important;
	height: auto !important;
	border-radius: 5px;
}

body.normal .desc .text {
	display: block;
}

body.normal .desc .text .tit {
	padding: 5px 10px;
	font-size: 24px;
	color: #000;
    background: #ffda00;
    border-radius: 10px;
    text-align: center;
}

body.normal .desc .text .ques {
	width: 100%;
}

body.normal .desc .text .ques p {
	margin: 5px 0 0;
    color: #fff;
    font-size: 22px;
	text-align: left;
	font-weight: bold;
}

/* ===================================================================
MULTI, PRIZE
=================================================================== */

/* HEADER
--------------------*/

body.multi header,
body.apply header {
    position: relative;
    width: 100%;
}

body.multi header .header-title,
body.apply header .header-title {
	position: relative;
    width: 100%;
	margin: 0 auto 20px;
	padding: 15px 10px;
	font-size: 24px;
    text-align: center;
    font-weight: bold;
    background: #01bcb5;
    color: #fff;
}

/* ===================================================================
DETAIL PARTS
=================================================================== */

/* DESCRIPTION
--------------------*/

.desc {
	margin: 0 0 20px;
}

/* ===================================================================
FORM PARTS
=================================================================== */

/* SUP
--------------------*/

sup {
	color: #f00;
}

/* LAYOUT
--------------------*/

.form-content {
	margin: 0 0 20px;
}

/* LABEL
--------------------*/

.form-content label {
	display: block;
}

.form-content > label:not(.file-label) {
	display: block;
	margin: 0 0 5px;
	font-weight: bold;
}

/* COMMON
--------------------*/

.form-content input:not([type=file]),
.form-content select,
.form-content textarea {
	display: block;
	width: 100%;
	font: unset;
	font-family: 'Noto Sans JP', sans-serif;
	color: #000;
	font-weight: normal;
	background: #FFF;
    border: 1px solid #01bcb5;
}

/* INPUT, SELECT
--------------------*/

.form-content input:not([type=file]),
.form-content select {
	min-height: 40px;
	padding: 5px;
}

/* TEXTAREA
--------------------*/

.form-content textarea {
	min-height: 120px;
	padding: 10px 5px;
}

/* KEYWORD, COMMENT
--------------------*/

.form-content label[for=input_keyword],
.form-content label[for=comment],
.form-content label[for=keyword] {
	display: inline-block;
	margin: 0 0 5px;
	color: #fff;
	font-weight: bold;
	text-align: center;
	background: #02a0ea;
	border-radius: 25px;
}

.form-content label[for=input_keyword],
.form-content label[for=keyword] {
    padding: 5px 20px 5px 10px;
}

.form-content label[for=comment] {
	padding: 5px 20px;
}

/* PLACEHOLDER
--------------------*/

:placeholder-shown {
	color: #c5c5c5;
}

::-webkit-input-placeholder {
	color: #c5c5c5;
}

:-moz-placeholder {
	color: #c5c5c5;
	opacity: 1;
}

::-moz-placeholder {
	color: #c5c5c5;
	opacity: 1;
}

:-ms-input-placeholder {
	color: #c5c5c5;
}

/* RADIO
--------------------*/

.form-content input[type="radio"] {
    display: none;
}

/* ENQUETE, QUIZ RADIO LABEL
--------------------*/

.form-content .form-content-radio:not(.form) label {
	position: relative;
	display: flex;
	justify-content: center;
	align-items: center;
    margin: 0 0 20px;
    min-height: 40px;
	width: 100%;
	font-weight: bold;
	background: #fff;
	border: 1px solid #01bcb5;
	border-radius: 20px;
}

.form-content .form-content-radio:not(.form) input[type="radio"]:checked + label {
	background: #bfffe9;
}

/* PRESENT RADIO LABEL
--------------------*/

.form-content .form-content-radio.prize {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.form-content .form-content-radio.prize label {
	display: block;
	width: 47.5%;
	padding: 10px;
	border-radius: 10px;
}

.form-content .form-content-radio.prize label > img {
    display: block;
    margin: 0 0 10px;
    border-radius: 7.5px;
}

.form-content .form-content-radio.prize .radio-prize-label {
	text-align: center;
}

/* FORM RADIO LABEL
--------------------*/

.form-content .form-content-radio.form label {
	position: relative;
	display: block;
	width: 100%;
	margin: 10px 0;
	padding: 0 0 0 30px;
}

.form-content .form-content-radio.form label:before {
	content: '';
	display: block;
	position: absolute;
	top: 50%;
	left: 0;
	transform: translateY(-50%);
	width: 20px;
	height: 20px;
	border: 1px solid #BCBCBC;
	border-radius: 50%;
}

.form-content .form-content-radio.form input[type="radio"]:checked + label:before {
	border: 1px solid #01bcb5;
}

.form-content .form-content-radio.form input[type="radio"]:checked + label:after {
	content: '';
	display: block;
	position: absolute;
	top: 50%;
	left: 5px;
	transform: translateY(-50%);
	width: 12px;
	height: 12px;
	background: #01bcb5;
	border-radius: 50%;
}

/* SELECT
--------------------*/

.form-content-select {
	position: relative;
}

.form-content-select:after {
    content: '';
    position: absolute;
    top: 50%;
    transform: translate(0, -50%) rotate(45deg);
    right: 15px;
    width: 8px;
	height: 8px;
	border-right: 1px solid #01bcb5;
	border-bottom: 1px solid #01bcb5;
    pointer-events: none;
}

/* CHECK
--------------------*/

.form-content .form-content-check label {
	position: relative;
	display: block;
	width: 100%;
	margin: 10px 0;
	padding: 0 0 0 30px;
}

.form-content .form-content-check label:before {
	content: '';
	display: block;
	position: absolute;
	top: 2px;
	left: 0;
	width: 18px;
	height: 18px;
	border: 1px solid #BCBCBC;
	background: none;
}

.form-content .form-content-check input[type="checkbox"]:checked + label:before {
	border: 1px solid #01bcb5;
	background: #01bcb5;
}

.form-content .form-content-check input[type="checkbox"]:checked + label:after {
    content: '';
    display: block;
    position: absolute;
    top: 4px;
    left: 6px;
    width: 4px;
    height: 9px;
    transform: rotate(40deg);
    border-bottom: 3px solid #FFF;
    border-right: 3px solid #FFF;
}

/* FILE
--------------------*/

.form-content .form-content-file {
    width: 1px;
    height: 1px;
}

.form-content .form-content-file input[type=file] {
    opacity: 0;
    width: 1px;
    height: 1px;
    padding: 0;
}

.form-content > label.file-label {
    display: block;
	width: 100%;
	min-height: 40px;
	padding: 5px;
    font: unset;
    font-weight: normal;
    border: 1px solid #BCBCBC;
}

/* HR
--------------------*/

.form-content-hr {
	display: block;
    padding: 5px 0 0;
	font-weight: bold;
	border-top: 1px solid #BCBCBC;
}

/* ===================================================================
BUTTON
=================================================================== */

.btn {
	display: block;
	color: #fff;
	font-size: 16px;
	font-weight: bold;
	text-align: center;
	width: 100%;
	padding: 15px;
	background: #01bcb5;
	border: 2px solid #fff;
}

.btn.btn-cancel {
	background: #999;
}

/* ===================================================================
LOADING ICON
=================================================================== */

#curtain {
	text-align: center;
	padding: 25% 0 0;
}