﻿@charset "utf-8";

a,
abbr,
acronym,
address,
applet,
article,
aside,
audio,
b,
big,
blockquote,
body,
canvas,
caption,
center,
cite,
code,
dd,
del,
details,
dfn,
div,
dl,
dt,
em,
embed,
fieldset,
figcaption,
figure,
footer,
form,
h1,
h2,
h3,
h4,
h5,
h6,
header,
hgroup,
html,
i,
iframe,
img,
ins,
kbd,
label,
legend,
li,
mark,
menu,
nav,
object,
ol,
output,
p,
pre,
q,
ruby,
s,
samp,
section,
small,
span,
strike,
strong,
sub,
summary,
sup,
table,
tbody,
td,
tfoot,
th,
thead,
time,
tr,
tt,
u,
ul,
var,
video {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font: inherit;
	vertical-align: baseline;
}
article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section {
	display: block;
}
body {
	line-height: 1;
}
ol,
ul {
	list-style: none;
}
blockquote,
q {
	quotes: none;
}
blockquote:after,
blockquote:before,
q:after,
q:before {
	content: "";
	content: none;
}
table {
	border-collapse: collapse;
	border-spacing: 0;
}

* {
	box-sizing: border-box;
}

body {
	font-family: "M PLUS Rounded 1c", -apple-system, sans-serif;
	color: #141414;
	font-size: 4vw;
	height: 100%;
}

a,
a::before,
a::after {
	transition: all 0.3s;
}
a.blank {
	pointer-events: none;
	color: #666;
}

img {
	max-width: 100%;
}
.bold {
	font-weight: bold;
}

/* clearfix */
.clearfix:after,
.clearfix:before {
	display: table;
	content: " ";
}
.clearfix:after {
	clear: both;
}

/* btn */
.btn {
	text-align: center;
}
.btn a,
.btn input {
	-webkit-appearance: none;
	display: inline-block;
}

/* header */
header {
	background: #09a7a1;
	padding: 5px;
	height: 60px;
}
header img {
	width: 30px;
	height: 48px;
	margin:0 6px;
	vertical-align: bottom;
}
header .confi img {
	width: 25px;
	height: 45px;
}
header a {
	display: inline-block;
	line-height: 0;
}
header ul {
	display: flex;
	justify-content: space-between;
}
header a {
	padding: 0 2px;
}
header .confi a {
	padding: 3px 5px 0;
}

#wrap {
	width: 80vw;
	margin: 0 auto;
	padding: 10% 0;
}
h1 {
	text-align: center;
	padding: 5vw;
	font-size: 6vw;
	line-height: 1.6;
	letter-spacing: 2px;
	margin: 0 0 12%;
}
h2 {
	color: #674830;
	font-size: 7vw;
	font-weight: 600;
	letter-spacing: 1px;
	padding: 0 0 8%;
}
#login h2 {
	font-size: 5vw;
	padding: 0 0 5%;
}
h2 img {
	width: 6vw;
	margin: 0 5px 0 0;
	vertical-align: -1px;
}
#login h2 img {
	width: 4.8vw;
}
h3 {
	font-size: 5.5vw;
	letter-spacing: 1px;
	padding: 0 0 6%;
}
h2 + h3 {
	font-size: 4.5vw;
	padding: 0 0 8%;
}
h2 + h3 {
	padding: 0 0 8% 5%;
}

.text {
	padding: 0 0 5%;
	line-height: 1.3;
}
.text p {
	padding: 0 0 2%;
}
h3 + .text {
	border-bottom: 1px solid #707070;
	padding: 0 10vw 10%;
	margin: 0 -10vw 13%;
}

.nameSelect {
	position: relative;
	margin: 0 0 5%;
}
.nameSelect::before {
	content: "\f107";
	font-family: "FontAwesome";
	position: absolute;
	right: 10px;
	top: 50%;
	color: #333;
	line-height: 0;
	font-size: 20px;
	z-index: -1;
}
.formBox dl dt input,
.formBox dl dd input,
.nameSelect select {
	width: 100%;
	padding: 10px;
	font-size: 4vw;
	border: 1px solid #707070;
	border-radius: 8px;
}
.nameSelect select {
	line-height: 1.8;
}
.formBox dl dt input,
.formBox dl dd input {
	padding: 12px;
}
.formBox dl dt {
	padding: 0 0 2.5%;
}
.formBox dl dd {
	padding: 0 0 5%;
}

/* カテゴリを選択 */
#listCategory > a {
	display: block;
	background: #09a7a1;
	color: #fff;
	text-decoration: none;
	font-size: 4vw;
	border-radius: 10px;
	padding: 0 6%;
	letter-spacing: 1px;
	position: relative;
	margin: 0 0 5%;
}
#listCategory > a p {
	padding: 7% 0;
	width: 85%;
	border-right: 1px solid rgba(255, 255, 255, 0.5);
}
#listCategory > a p span.title {
	display: inherit;
	padding: 0 0 3%;
	font-size: 5.5vw;
}
#listCategory > a::before {
	content: "\f105";
	font-family: "FontAwesome";
	position: absolute;
	right: 7.5%;
	top: 50%;
	color: #fff;
	line-height: 0;
	font-size: 9vw;
}
#listCategory > a:active {
	background: #ffb300;
}

/* 共通設定画面 */
#listVoice > form {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	padding: 0 0 7.5%;
}
#listVoice > form input[type="radio"] {
	display: none;
}
#listVoice > form label {
	background: #fcfcfc;
	width: 47.5%;
	display: block;
	border-radius: 10px;
	box-sizing: border-box;
	border: 4px solid #fcfcfc;
	margin: 0 0 5%;
	text-align: center;
	text-decoration: none;
	color: #174d9f;
	font-size: 3vw;
	box-shadow: 2px 2px 3px rgba(0, 0, 0, 0.15);
	padding: 5% 0;
}
#listVoice > form label .country.w {
	color: #b11313;
}
#listVoice > form label .voice {
	width: 42%;
	margin: 0 auto;
	padding: 0 0 10%;
}
#listVoice > form label .country {
	display: flex;
	justify-content: center;
	align-items: center;
}
#listVoice > form label .country .ico {
	display: flex;
	line-height: 0;
	width: 18px;
	border-radius: 100%;
	overflow: hidden;
	height: 18px;
	justify-content: center;
	align-items: center;
	margin: 0 5px 0 0;
}
#listVoice > form label .country .ico img {
	max-width: 200%;
	height: 100%;
}
#listVoice > form input[type="radio"]:checked + label {
	border: 4px solid #ffb300;
}

/* 6.共通設定画面→単語リスト画面1 */
#listWord {
	border-top: 1px solid #707070;
}
#listWord > a {
	position: relative;
	display: flex;
	border: 1px solid #707070;
	border-top: none;
	padding: 3% 4.5%;
	color: #141414;
	text-decoration: none;
	align-items: center;
	font-size: 5vw;
}
#listWord > a::before {
	content: "\f105";
	font-family: "FontAwesome";
	position: absolute;
	right: 4.5%;
	top: 50%;
	line-height: 0;
}
#listWord > a .fa-check-circle::before {
	color: #999;
}
#listWord > a .ph {
	line-height: 0;
	width: 10vw;
	margin: 0 7px;
}
#listWord > a.active .fa-check-circle::before {
	color: #ffb300;
}

/* 7.画像選択画面 */
#wordSet .title {
	background: #f3f3f3;
	text-align: center;
	padding: 3%;
	line-height: 1.4;
	letter-spacing: 1px;
	font-size: 5vw;
	position: relative;
	border-radius: 5px;
	margin: 0 0 8%;
}
#wordSet .title .num {
	position: absolute;
	left: 0;
	top: -5vw;
	line-height: 1;
	font-size: 4vw;
}
#wordSet .title .close {
	position: absolute;
	width: 25px;
	height: 24px;
	top: -10px;
	right: -5px;
	box-shadow: 1px 1px 3px rgba(0, 0, 0, 0.15);
	background: #fff;
	border-radius: 50px;
}
#wordSet .title .close::before,
#wordSet .title .close::after {
	top: 11px;
	width: 16px;
	height: 2.5px;
	position: absolute;
	background: #141414;
	content: "";
	border-radius: 5px;
	left: 5px;
}
#wordSet .title .close::before {
	-moz-transform: rotate(-45deg);
	-webkit-transform: rotate(-45deg);
	transform: rotate(-45deg);
}
#wordSet .title .close::after {
	-moz-transform: rotate(45deg);
	-webkit-transform: rotate(45deg);
	transform: rotate(45deg);
}
#wordSet .ph {
	background: #f9f9f9;
	/*width: 35vw;*/
	height: 35vw;
	display: flex;
	justify-content: center;
	align-items: center;
	line-height: 0;
	margin: 0 auto 6%;
	border-radius: 10px;
}
#wordSet .ph img {
	height: 96%;
	width:auto;
	margin:0 auto;
}
#wordSet .text {
	text-align: center;
	letter-spacing: 1px;
}
#wordSet .btn {
	text-align: center;
	padding: 0 0 5%;
}
#wordSet .btn a,
#wordSet .btn button {
	font-size: 4.5vw;
	padding: 8% 5%;
}
.listSelect {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-around;
	padding: 0 0 8%;
}
.listSelect input[type="radio"] {
	display: none;
}

.listSelect > label {
	background: #fcfcfc;
	width: 30%;
	display: block;
	border-radius: 10px;
	box-sizing: border-box;
	border: 3px solid #fcfcfc;
	box-shadow: 2px 2px 3px rgba(0, 0, 0, 0.15);
	padding: 4% 0;
	text-align: center;
	line-height: 0;
}
.listSelect > label img {
	width: 65%;
}
.listSelect input[type="radio"]:checked + label {
	border: 3px solid #ffb300;
}

/* 7.画像選択画面1 */
#wordSet.add {
	text-align: center;
}
#wordSet.add > .ico {
	display: inline-block;
	line-height: 1;
	padding: 2% 6%;
	background: #f3f3f3;
	border-radius: 50px;
	letter-spacing: 2px;
	margin: 0 0 4%;
}
#wordSet.add h4 {
	font-size: 5.5vw;
	letter-spacing: 2px;
	border-bottom: 1px solid #707070;
	padding: 0 10vw 11%;
	margin: 0 -10vw 11%;
}
#wordSet.add .text {
	font-size: 4.5vw;
}
#wordSet.add .ph {
	background: #dffcff;
	border-radius: 100%;
	overflow: hidden;
}
#wordSet.add .ph a {
	display: block;
}
#wordSet.add .ph img {
	width: 60%;
}
#wordSet.add .btn a {
	font-size: 4.5vw;
	padding: 4% 5%;
}

/* 答え①日本語訳 */
.confi p {
	display: inline-block;
	background: #fff;
	height: 50px;
	width: 50px;
	border-radius: 5px;
	position: relative;
	font-size: 20px;
	line-height:1.1em;
	text-align: center;
	margin: -1px 10px 0 0;
}
.confi p span.label {
	display: inherit;
	font-size: 80%;
	vertical-align: 0.1em;
	/*padding: 0 0 1px;*/
}
.confi p.new {
	background: #f8ff2c;
}
/*
.confi p.new span {
	font-size: 11px;
	padding: 0 1px 1px;
}
*/
.confi p::after {
	content: " ";
	border-style: solid;
	border-color: #fff transparent transparent transparent;
	border-width: 5px;
	position: absolute;
	bottom: -10px;
	left: 0;
	height: 0px;
	width: 0px;
	right: 0;
	display: block;
	margin: 0 auto;
}
.confi p.new::after {
	border-color: #f8ff2c transparent transparent transparent;
}

#timer {
	position: relative;
	margin: -3% 0 6%;
}
#scale {
	height: 3px;
	position: absolute;
	width: 100%;
	text-align: center;
	z-index: 10;
	display: flex;
	justify-content: center;
}
#scale li {
	width: 20%;
	border-right: 1px solid #707070;
}
#scale li:first-child {
	border-left: 1px solid #707070;
}
.progress {
	height: 11px;
	background: #fff;
	border: 1px solid #707070;
	border-radius: 10px;
	overflow: hidden;
}
.progress .progress-bar {
	position: relative;
	height: 11px;
	background: #20b6ee;
}
.progress .progress-bar.progress-bar-warning {
	background: #11bb4f;
}
.progress .progress-bar.progress-bar-danger {
	background: #f1c000;
}

#answer h2 {
	color: #141414;
	font-size: 10vw;
	font-weight: 600;
	text-align: center;
}

.illust {
	text-align: center;
	padding: 0 0 8%;
	font-size: 4vw;
}
.illust .ph {
	line-height: 0;
	width: 65%;
	margin: 0 auto 5%;
}

#status {
	position: absolute;
	bottom: 0;
	left: 0;
	display: flex;
	justify-content: center;
	width: 100%;
}
#status li {
	width: 25%;
	background: #f86592;
}
#status li .face {
	width: 35%;
	margin: 0 auto;
	padding: 12% 0;
	line-height: 0;
}
#status li:nth-child(2) {
	background: #f1c000;
}
#status li:nth-child(3) {
	background: #11bb4f;
}
#status li:nth-child(4) {
	background: #20b6ee;
}
#status li .txt {
	background: rgba(0, 0, 0, 0.2);
	color: #fff;
	padding: 14% 5%;
	line-height: 1;
	text-align: center;
	font-size: 3.5vw;
}
#status li:nth-child(1) .txt {
	font-size: 5vw;
	line-height: 0.7;
	padding: 13.5% 5% 14.5%;
}
.speaker {
	width: 14vw;
	margin: 0 auto;
	background: #e5e5e5;
	height: 14vw;
	border-radius: 100%;
	display: flex;
	justify-content: center;
	align-items: center;
}
.speaker img {
	width: 55%;
}

/* 問題①日本語訳 */
.quest #status {
	position: absolute;
	bottom: 0;
	left: 0;
	display: flex;
	justify-content: center;
	width: 100%;
	/*background: #09a7a1;*/
	color: #fff;
	padding: 0s;
	letter-spacing: 2px;
	font-size: 4vw;
	line-height: 1;
}

.quest .leadQuest {
	font-size: 4.5vw;
	letter-spacing: 2px;
	text-align: center;
}
.quest .leadQuest {
	padding: 1% 0 0;
}
.quest h2 .leadQuest {
	padding: 0;
}
.quest .questBox {
	min-height: 62vw;
}
.quest .btn {
	text-align: center;
	padding: 6% 0 0;
}
.quest .btn a {
	background: #f5f5f5;
	padding: 9% 5%;
	border-radius: 100px;
}
.quest .questBox .ph {
	line-height: 0;
	width: 65%;
	margin: 8% auto 0;
}

.btn {
	text-align: center;
	padding: 5% 0 0;
}
h2 + .btn {
	text-align: center;
	padding: 0;
}
.btn a,
.btn button {
	width: 100%;
	line-height: 1;
	font-size: 4.5vw;
	background: #f9f9f9;
	color: #141414;
	text-decoration: none;
	padding: 8% 5%;
	display: block;
	letter-spacing: 1px;
	border-radius: 10px;
	box-shadow: 2px 2px 3px rgba(0, 0, 0, 0.15);
}
.btn .btnLogin {
	background: #ffb300;
	width: 100%;
	margin: 0 auto;
	padding: 2%;
	line-height: 1;
	color: #fff;
	font-weight: 600;
	font-size: 5.5vw;
	font-family: inherit;
	letter-spacing: 2px;
	border-radius: 100px;
	box-shadow: 0 2px 3px rgba(0, 0, 0, 0.15);
	text-align: center;
}
.btn .btnAdminLogin {
	background: #f86592;;
}
.btn .arw {
	display: flex;
	justify-content: center;
	align-items: center;
}
.btn .btnLogin.arw {
	display: inherit;
	justify-content: center;
	align-items: center;
}
.btn .btnLogin.arw span.ico {
	display: inline-block;
	vertical-align: -0.5em;
}
.btn .arw span.ico {
	width: 13%;
	line-height: 0;
}
.btn .entry {
	background: #ffb300;
	color: #fff;
}
.link {
	text-align: center;
}
.link a {
	color: #141414;
	text-decoration: none;
}

@media screen and (min-width: 760px) {
	/* ログイン周り */
	.formBox dl dt {
		font-size: 3vw;
		letter-spacing: 2px;
	}
	.formBox dl dt input,
	.formBox dl dd input,
	.nameSelect select {
		padding: 2.5%;
		font-size: 3vw;
	}

	/* 下層 */
	h2 {
		font-size: 5vw;
		padding: 0 0 8%;
	}
	h2 img {
		width: 5vw;
		vertical-align: -2px;
	}
	h3 {
		font-size: 5vw;
	}
	h2 + h3 {
		font-size: 4vw;
	}
	.text {
		font-size: 3vw;
	}

	#listCategory > a {
		font-size: 3.5vw;
		margin: 0 0 4%;
	}
	#listCategory > a p {
		padding: 6% 0;
	}
	#listCategory > a p span {
		font-size: 4.5vw;
	}
	#listCategory > a::before {
		right: 7%;
		font-size: 7vw;
	}

	#listWord > a {
		font-size: 4.5vw;
	}
	#wordSet .btn a,
	#wordSet .btn button {
		font-size: 3.5vw;
		padding: 5%;
	}
	.link a {
		font-size: 3vw;
		padding: 0 0 5%;
	}

	#answer h2 {
		font-size: 8vw;
		padding: 0 0 6%;
	}
	.illust {
		text-align: center;
		padding: 0 0 5%;
		font-size: 3.5vw;
	}
	.illust .ph {
		width: 65%;
	}
	.speaker {
		width: 11vw;
		height: 11vw;
	}

	#status li .txt {
		font-size: 2.5vw;
	}
	#status li:nth-child(1) .txt {
		font-size: 3.5vw;
	}

	.quest .questBox {
		min-height: 62vw;
	}
	.quest .leadQuest {
		font-size: 4vw;
	}
	.quest .questBox .ph {
		width: 65%;
		margin: 6% auto 0;
	}
	/*
	.quest #status {
		padding: 2.5% 4%;
		font-size: 3.5vw;
	}
	*/
	.quest .btn a {
		padding: 5%;
	}
	.btn a,
	.btn button {
		font-size: 4vw;
	}

	.btn .btnLogin {
		padding: 3%;
		font-size: 4.5vw;
	}
	.btn .arw span.ico {
		width: 11%;
	}
}

/* 追加 */
.nodisp {
	display:none;
}

p {
	line-height: 1.3em;
}

.alink {
	color:#09a7a1;
	font-weight: bold;
	text-decoration: underline;
	padding:auto 0.2em;
}

p.error {
	color:red;
	text-align: center;
}

.txtPink {
	color:#f86592;
}

button[disabled], [type="button"][disabled], [type="reset"][disabled], [type="submit"][disabled] {
	opacity: 0.3;
}

/* add */
.nodisp {
	display: none;
}
.mt-1 {
	margin-top:0.5em;
}
.mt-2 {
	margin-top:1em;
}
.mt-3 {
	margin-top:1.5em;
}
.mt-4 {
	margin-top:2em;
}

.status-disabled {
	background:lightgray !important;
}
.font-weight-normal {
	font-weight:normal !important;
}