
@page {
    size: auto!important;
	/*size: A4 landscape;*/
}
@media print {
	body{
		visibility: hidden;
		overflow-y: visible;
		overflow-x: visible;
	}
	canvas {
		visibility: visible;
	}
	.printarea{
		visibility: visible;
	}
	.notprintarea{
		display:none;
	}
	/* ページ区切りを指定する例 */
	.page-break {
		page-break-before: always;
	}
}

/*/////////////////////////////////////////////////////////////テキストエリア*/
.textarea_ex {
border: 1px solid #686868;  /* 枠線 */
border-radius: 0.3em;   /* 角丸 */
padding: 0.5em;          /* 内側の余白量 */
background-color: #ffffff;  /* 背景色 */
font-size: 1em;          /* 文字サイズ */
line-height: 1.2;        /* 行の高さ */
}

.textarea_ex_readonly {
border: 1px solid #c7c4c4;  /* 枠線 */
border-radius: 0.3em;   /* 角丸 */
padding: 0.5em;          /* 内側の余白量 */
background-color: #fff4d5;  /* 背景色 */
font-size: 1em;          /* 文字サイズ */
line-height: 1.2;        /* 行の高さ */
}

/*並び順のCombobox*/
.select_order {
	width: 100%;
	height: 30px;
	border: 1px solid #000066;
	border-radius: 0.3em;
	background-color: #d4feff;
	color: #000000;
	font-size: 15px;
	margin 	: 0px 0px 10px 0px;   /* 余白       */
}
/*デジパルのリンクボタン*/
.dejipal_btn{
	display       : inline-block;
	border-radius: 0.67em;   /* 角丸 */
	font-size     : 12pt;        /* 文字サイズ */
	text-align    : center;      /* 文字位置   */
	cursor        : pointer;     /* カーソル   */
	padding       : 8px 50px;   /* 余白       */
	margin       : 0px 20px 10px 20px;   /* 余白       */
	background    : #2d5dce;     /* 背景色     */
	color         : #ffffff;     /* 文字色     */
	line-height   : 1em;         /* 1行の高さ  */
	transition    : .3s;         /* なめらか変化 */
	border        : 0px solid #000066;    /* 枠の指定 */
}
/*ログイン後のトップページの選択ボタン*/
.choicebtn_admini{
	width: 300px;
	height: 100px;
	display: inline-block;
	border-radius: 1.0em;   /* 角丸 */
	font-size     : 16pt;        /* 文字サイズ */
	text-align    : center;      /* 文字位置   */
	cursor        : pointer;     /* カーソル   */
	padding       : 5px 5px;   /* 余白       */
	margin       : 5px;   /* 余白       */
	background    : #f2f2f2;     /* 背景色     */
	color         : #000000;     /* 文字色     */
	line-height   : 1em;         /* 1行の高さ  */
	transition    : .3s;         /* なめらか変化 */
	border        : 2px solid #333333;    /* 枠の指定 */

	color: #FFF;
	text-decoration :none;
	background: #87b9eb;
	box-shadow: 0 4px 4px rgba(0,0,0,0.2), 0 -8px 10px -4px #6d95ce inset;
}

.choicebtn{
	width: 150px;
	height: 100px;
	display: inline-block;
	border-radius: 1.0em;   /* 角丸 */
	font-size     : 16pt;        /* 文字サイズ */
	text-align    : center;      /* 文字位置   */
	cursor        : pointer;     /* カーソル   */
	padding       : 5px 5px;   /* 余白       */
	margin       : 5px;   /* 余白       */
	background    : #f2f2f2;     /* 背景色     */
	color         : #000000;     /* 文字色     */
	line-height   : 1em;         /* 1行の高さ  */
	transition    : .3s;         /* なめらか変化 */
	border        : 2px solid #333333;    /* 枠の指定 */

	color: #FFF;
	text-decoration :none;
	background: #87b9eb;
	box-shadow: 0 4px 4px rgba(0,0,0,0.2), 0 -8px 10px -4px #6d95ce inset;
}

.button_container {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: center;  /* 中央揃え */
}

.category_box{
    padding: 0.5em;
    font-weight: bold;
    color: #6091d3;/*文字色*/
    background: #FFF;
    border: solid 2px #6091d3;/*線*/
    border-radius: 10px;/*角の丸み*/
}
.category_box p {
    margin: 0; 
    padding: 0;
	font-size: 25px;
}

/*管理者のactive_user_listの管理者部分のボタン*/
.adminimenubtn1{
	display       : inline-block;
	border-radius: 0.67em;   /* 角丸 */
	font-size     : 12pt;        /* 文字サイズ */
	text-align    : center;      /* 文字位置   */
	cursor        : pointer;     /* カーソル   */
	padding       : 8px 20px;   /* 余白       */
	margin       : 0px 20px 10px 20px;   /* 余白       */
	background    : #d8ffd8;     /* 背景色     */
	color         : #000000;     /* 文字色     */
	line-height   : 1em;         /* 1行の高さ  */
	transition    : .3s;         /* なめらか変化 */
	border        : 2px solid #000066;    /* 枠の指定 */
}
/*管理者のactive_user_listの教員部分のボタン*/
.adminimenubtn2{
	display       : inline-block;
	border-radius: 0.67em;   /* 角丸 */
	font-size     : 12pt;        /* 文字サイズ */
	text-align    : center;      /* 文字位置   */
	cursor        : pointer;     /* カーソル   */
	padding       : 8px 20px;   /* 余白       */
	margin       : 0px 20px 10px 20px;   /* 余白       */
	background    : #cdd5ff;     /* 背景色     */
	color         : #000000;     /* 文字色     */
	line-height   : 1em;         /* 1行の高さ  */
	transition    : .3s;         /* なめらか変化 */
	border        : 2px solid #000066;    /* 枠の指定 */
}
/*削除ボタン*/
.deletebtn{
	display       : inline-block;
	border-radius: 0.67em;   /* 角丸 */
	font-size     : 12pt;        /* 文字サイズ */
	text-align    : center;      /* 文字位置   */
	cursor        : pointer;     /* カーソル   */
	padding       : 8px 20px;   /* 余白       */
	margin       : 0px 20px 10px 20px;   /* 余白       */
	background    : #c0c0c0;     /* 背景色     */
	color         : #000000;     /* 文字色     */
	line-height   : 1em;         /* 1行の高さ  */
	transition    : .3s;         /* なめらか変化 */
	border        : 2px solid #000066;    /* 枠の指定 */
}
	
/*登録・更新ボタン*/
.updatebtn{
	display       : inline-block;
	border-radius: 0.67em;   /* 角丸 */
	font-size     : 12pt;        /* 文字サイズ */
	text-align    : center;      /* 文字位置   */
	cursor        : pointer;     /* カーソル   */
	padding       : 18px 50px;   /* 余白       */
	margin       : 0px 20px 10px 20px;   /* 余白       */
	background    : #a8e0cb;     /* 背景色     */
	color         : #000000;     /* 文字色     */
	line-height   : 1em;         /* 1行の高さ  */
	transition    : .3s;         /* なめらか変化 */
	border        : 2px solid #000066;    /* 枠の指定 */
}
	
/*戻るボタン*/
.listbackbtn{
	display       : inline-block;
	border-radius: 0.67em;   /* 角丸 */
	font-size     : 12pt;        /* 文字サイズ */
	text-align    : center;      /* 文字位置   */
	cursor        : pointer;     /* カーソル   */
	padding       : 18px 50px;   /* 余白       */
	margin       : 0px 20px 10px 20px;   /* 余白       */
	background    : #d3f3ff;     /* 背景色     */
	color         : #000000;     /* 文字色     */
	line-height   : 1em;         /* 1行の高さ  */
	transition    : .3s;         /* なめらか変化 */
	border        : 2px solid #000066;    /* 枠の指定 */
}

/*次の10件、前の10件ボタン*/
.nextbtn{
	display       : inline-block;
	border-radius: 0.67em;   /* 角丸 */
	font-size     : 12pt;        /* 文字サイズ */
	text-align    : center;      /* 文字位置   */
	cursor        : pointer;     /* カーソル   */
	padding       : 8px 50px;   /* 余白       */
	margin       : 0px 20px 10px 20px;   /* 余白       */
	background    : #eaffe0;     /* 背景色     */
	color         : #000000;     /* 文字色     */
	line-height   : 1em;         /* 1行の高さ  */
	transition    : .3s;         /* なめらか変化 */
	border        : 2px solid #000066;    /* 枠の指定 */
}
	
/*質問を追加ボタン*/
.addbtn{
	display       : inline-block;
	border-radius: 0.3em;   /* 角丸 */
	font-size     : 12pt;        /* 文字サイズ */
	text-align    : center;      /* 文字位置   */
	cursor        : pointer;     /* カーソル   */
	padding       : 8px 20px;   /* 余白       */
	margin       : 0px 20px 10px 20px;   /* 余白       */
	background    : #e6e6e6;     /* 背景色     */
	color         : #000000;     /* 文字色     */
	line-height   : 1em;         /* 1行の高さ  */
	transition    : .3s;         /* なめらか変化 */
	border        : 2px solid #000066;    /* 枠の指定 */
}
/*/////////////////////////////////////////////////////////////リスト用テーブル*/
/* 奇数行のスタイル */
.list tr:nth-child(odd){
	background-color:lightgray;
	text-align: center;
}
/* 偶数行のスタイル */
.list tr:nth-child(even){
	background-color:white;
	text-align: center;
}
/* テーブルヘッダ行のスタイル */
.list th {
	background-color: #ffd78c;
	height: 40;
}
/* テーブル列のスタイル */
.list td {
	height: 60;
}
/*ボタンの高さを中央揃え*/
.list td input[type="submit"] {
	float: left;
	margin: 0 auto;
	width: 100%;
}
/* テーブルのスタイル */
.list table, td, th {
	border-collapse: collapse;
	border:1px solid gray;
	padding-left:5px;
	padding-right:5px;
	font-size: 13px;
	margin-left: auto;
	margin-right: auto;
}
/*/////////////////////////////////////////////////////////////回答の登録、編集用テーブル*/
/* 奇数行のスタイル */
.edit tr:nth-child(odd){
	background-color:white;
}

/* 偶数行のスタイル */
.edit tr:nth-child(even){
	background-color:white;
}

/* テーブルヘッダ行のスタイル */
.edit th {
	background-color: #ffd78c;
	text-align: center;
}
/* テーブル列のスタイル */
.edit td {
	height: 60;
}
/*ボタンの高さを中央揃え*/
.edit td input[type="submit"] {
	float: left;
	margin: 0 auto;
	width: 100%;
}
	
/* テーブルのスタイル */
.edit table, td, th {
	border-collapse: collapse;
	border:1px solid gray;
	padding-left:5px;
	padding-right:5px;
	font-size: 13px;
	margin-left: auto;
	margin-right: auto;
}
/*/////////////////////////////////////////////////////////////集計表示用テーブル*/	
/* 奇数行のスタイル */
.spread tr:nth-child(odd){
	background-color:lightgray;
	text-align: center;
}
/* 偶数行のスタイル */
.spread tr:nth-child(even){
	background-color:white;
	text-align: center;
}
/* テーブルヘッダ行のスタイル */
.spread th {
	background-color: #ffd78c;
	height: 30;
}
/* テーブル列のスタイル */
.spread td {
	height: 30;
}
/*ボタンの高さを中央揃え*/
.spread td input[type="submit"] {
	float: left;
	margin: 0 auto;
	width: 100%;
}
/* テーブルのスタイル */
.spread table, td, th {
	border-collapse: collapse;
	border:1px solid gray;
	padding-left:5px;
	padding-right:5px;
	font-size: 13px;
	margin-left: auto;
	margin-right: auto;
}
/*/////////////////////////////////////////////////////////////質問作成用テーブル*/
/* テーブルヘッダ行のスタイル */
.q_table th {
	background-color: #ffd78c;
	height: 30;
	text-align: center;
}
/* テーブル列のスタイル */
.q_table td {
	height: 30;
}
.q_subtitle td {
	background-color: #f1c3c0;
	padding: 10px 10px;
	height: 30;
}/* テーブルのスタイル */
.spread table, td, th {
	border-collapse: collapse;
	border:1px solid gray;
	padding-left:5px;
	padding-right:5px;
	font-size: 13px;
	margin-left: auto;
	margin-right: auto;
}
/*////////////////////////////////////////////////////////教師用、生徒用メインメニューのボタン*/
.menu_btn{
	border: none; /* ここで枠線をなくす */
    padding: 0; /* 余白をなくす */
    background: none; /* 背景色を透明に */
}
/*///////////////////////////////////////////////////////////メインメニューのボタン　ここまで*/

/*生徒用indexメニューのボタン*/
.topmenubtn_blue{
	display: block;
	text-align: center;
	text-decoration: none;
	font-size: 1.2em;
	width: 250px;
	height: 70px;
	margin: auto;
	padding: 1rem 0.5rem;
	font-weight: bold;
	background: #0000ff;
	border: 6px outset #0000a8;
	color: #fff;
	transition: 0.5s;
	border-radius:15px;
}
.topmenubtn_blue:hover {
	background: #44c6f2;
	border: 6px outset #27acd9;
	color: #fff;
}
/*生徒用indexメニューのボタン ここまで*/
