@charset "UTF-8";
/* ver1.0.0 2025/07/26 */
/******************** 問題文 *********************/
/* 設問 */
.question-title{
    position: relative;
    padding: 3px 10px 5px 45px;
	margin-bottom: 2em;
    box-sizing: border-box;
    color: #fff;
    background: rgba(50,100,255,0.2);
    border-top: solid 3px rgba(50,100,255,0.5);
}



.question-title::before{
    display: inline-block;
    position: absolute;
    top: 0;
    left: 0;
    width: 38px;
    height: 30px;
	font-size: 1.4em;
    text-align: center;
    content: "問";
    color: #fff;
    line-height: 30px;
    background: rgba(50,100,255,0.5);
    font-weight: 900;
	padding-top: 3px;
}

/* 問題文エリア */
.question-area{
	position: relative;
}

/* 問題文テーブル */
.question-table{
	table-layout: fixed;
}
.question-table th{
	width: 10%;
}
@media screen and (max-width: 480px){
	.question-table th{
		width: 15%;
	}
}
/* フォントの見た目 */
.question-text,
.answer,
.meaning,
.gogun-word,
.judgement-tr{
	font-family: 'Klee One','LXGW WenKai TC', sans-serif;
	font-weight: 600;
	font-style: normal;
}

/* 問題文・解答・意味の文字・語群 */
.question-text,
.answer,
.meaning,
.gogun-word,
.judgement-tr{
	font-size:1.4em;
	padding-left: .5em;
}

/* 文字サイズ大きい */
.question-text.big,
.answer.big{
	font-size:2em;
}

/* 解答表示 */
.answer{
	color: #ff3333;
	font-weight: bold;
	text-shadow: 1px 1px 2px #000;
}

/* 解答・意味欄を表示するまでは縮めておく */
.answer.hidden,
.meaning.hidden{
	max-height: 6.436rem;
}

/* 熟語訓の答え */
.jukugo-kun-answer1,
.gojiteisei-answer1{
	border-bottom: 1px solid #808080;
}

.jukugo-kun-answer1 span:first-of-type,
.jukugo-kun-answer2 span:first-of-type{
	color: #fff;
}


.jukugo-kun-answer1::before{
	content: '熟語';
	color: #fff;
	display: inline-block;
}

.jukugo-kun-answer2::before{
	content: '訓';
	display: inline-block;
	padding: 0 .5em;
	color: #fff;

}

/* 誤字訂正の答え */
.gojiteisei-answer1::before{
	content: '誤：';
	color: #fff;
	display: inline-block;
}

.gojiteisei-answer2::before{
	content: '正：';
	display: inline-block;
	color: #fff;

}

/******************** カテゴリーラベル *********************/
.category-label{
	margin-bottom: 0;
	display: inline-block;
	background-color: rgba(255,255,255,0.1);
	padding: 0 7px;
	border-radius: 3px;
	text-shadow: 0px 0px 2px #000;
	box-shadow: 0px 0px 5px #808080;

}

/* 音読み */
.category-label.onyomi{
	color: #64c8ff;
	border: solid 2px #64c8ff;
	background-color: rgba(70,130,180, 0.3);
}

/* 訓読み */
.category-label.kunyomi{
	color: #c8ff64;
	border: solid 2px #c8ff64;
	background-color: rgba(130,180,70, 0.3);
}

/* 表外読み */
.category-label.hyogaiyomi{
	color: #ffc864;
	border: solid 2px #ffc864;
	background-color: rgba(180,130,70, 0.3);
}

/* 国字 */
.category-label.kokuji{
	color: #c864ff;
	border: solid 2px #c864ff;
	background-color: rgba(130,70,180, 0.3);
}

/* 対義語 */
.category-label.taigigo{
	color: #ff64c8;
	border: solid 2px #ff64c8;
	background-color: rgba(180,70,130, 0.3);
}


/* 類義語 */
.category-label.ruigigo{
	color: #64ffc8;
	border: solid 2px #64ffc8;
	background-color: rgba(70,180,130, 0.3);
}


/******************** 語群エリア *********************/
.gogun-area{
    position: sticky;
    margin: 3em 5% 2em 5%;
    justify-content: center;
    align-items: center;
    bottom: 15px;
    border: 1px solid rgba(255,255,255,0.5);
    background-color: rgba(0,0,30,0.8);
}
.gogun-area-title{
    position: absolute;
    display: inline-block;
    top: -25px;
    left: -1px;
    padding: 0 20px;
    height: 25px;
    line-height: 25px;
    background:rgba(200,100,100, 0.8);
    color: #ffffff;
    border-radius: 5px 5px 0 0;
}

.gogun-word{
	font-size:1em;
	font-weight: 600;
	font-style: normal;
    white-space: nowrap;
    margin: 0.5em;
    cursor: pointer;
}


/******************** 全ての解答・意味表示ボタン *********************/
.button-area{
	margin-bottom: 1.8em;
}
.answer-button{
	display: inline-block;
	width: 12em;
	font-size: 0.8em;
	padding: 0.5em 1em;
	background-color: rgba(255,105,180, 0.5);
	color: #fff;
	border: none;
	border-bottom: solid 4px rgba(255, 200, 230, 0.2);
	border-radius: 3px;
	transition: .2s;
	cursor: pointer;
	text-shadow: 0px 0px 2px #000;
	box-shadow: 0px 0px 5px #808080;
}

.answer-button:active{
	-webkit-transform: translateY(4px);
	transform: translateY(4px);/*下に動く*/
	box-shadow: 0px 0px 1px rgba(0, 0, 0, 0.2);/*影を小さく*/
	border-bottom: none;
	box-shadow: 0px 0px 10px #fff;

}

.answer-button:hover{
	box-shadow: 0px 0px 10px #fff;
	
}


/******************** 問題一覧へ・次の問題へのボタン *********************/
.move-button,
input[type=submit].move-button{
	/* position: relative;
	display: inline-block;
	font-weight: bold;
	padding: 5px 20px;
	text-decoration: none;
	color: #fff;
	background-color: rgba(0, 188, 212, 0.5);
	transition: .2s;
	text-shadow: 0px 0px 2px #000;
	box-shadow: 0px 0px 5px #808080; */

	font-size: 1em;
	font-weight: bold;
	padding: .5em 1em;
	color: #fff;
	border: none;
	background-color: rgba(0, 188, 212, 0.5);
	transition: .2s;
}

.move-button:hover {
	box-shadow: 0px 0px 10px #fff;
}




/******************** 模擬試験モード *********************/
/* 解答欄 */
.exam-question-area{
    font-size: .9em;
    border: 1px solid #fff;
}

.answer-text{
    width: 10em !important;
    text-align: center;
	padding: .7rem !important;
	margin: 1rem !important;
	font-size: 3rem !important;
}

.answer-text-area{
	text-align: center;
}


.result-marking{
	cursor: default !important;
}

.judgement-tr{
	display: none;
}

.judgement-tr td div{
	display: inline-block;
	padding-left: .5em;
}