body{
	padding-top: 70px;
	/*background-color: #feffda;*/
	background-color: #c3f1f9;
	/*background-image: url(../img/backillustsub.png);*/
    background-size: 100%;
	font-family: 'UD デジタル 教科書体 NP-R', sans-serif; /* フォールバックフォントとしてsans-serifを追加 */
}
/*教師用、生徒用トップページ*/
.classability_title {
	color: #383a4a;
    font-size: 40px; /* 文字の大きさ */
	text-shadow: #a2cdf5 -1px 0, #a2cdf5 1px 0, #a2cdf5 0 -1px, #a2cdf5 0 1px, #a2cdf5 -1px -1px, #a2cdf5 1px -1px, #a2cdf5 -1px 1px, #a2cdf5 1px 1px;
}

.name_area_bgcolor{
	background-color: #ffffff;
	width: 70%;
}
.name_area {
	width: 50%;
	height: 80px;
	/*相対パスで画像ファイルを指定*/
	background-image: url(../img/teacher/3.png);
    background-repeat: no-repeat;
    background-position: center center;
    background-size: 80% 80%;
}
.menu_back {
    display: flex;
    flex-direction: column; /* 縦並びに設定 */
    width: 100%;
    max-width: 1100px;
    height: auto;
    border: 4px solid #0090d7;
    background: #ffffff;
    letter-spacing: .1rem;
    text-decoration: none;
    border-radius: 20px;
    text-align: center;
    justify-content: center;
    align-items: center;
    margin: 0 auto; /* 中央揃え */
    padding: 20px; /* パディングを追加して内容が詰まらないようにする */
}
.menu_back_right, .menu_back_left {
    width: 100%;
    height: auto;
	background:#ffffff;
    background-repeat: no-repeat;
    background-position: center center;
	background-size: contain; /* コンテナに収まるように背景画像を調整 */
    margin-bottom: 20px; /* 下部にスペースを追加して内容が詰まらないようにする */
}
/*理想科学を入れた場合teacherフォルダのindex_riso.php
.menu_back_right {
    background-image: url(../img/teacher/5.png);
    max-width: 500px;
    margin-left: 20px;
}
*/
.menu_back_right {
    background-image: url(../img/teacher/5-1.png);
    max-width: 450px;
}
.menu_back_left {
    background-image: url(../img/teacher/4.png);
    max-width: 450px;
}
/* For medium screens */
@media (min-width: 768px) {
    .menu_back {
        flex-direction: row;
        flex-wrap: wrap;
    }
    .menu_back_right {
        width: 45%;
        max-width: none;
        height: 400px;
        margin-bottom: 0; /* 下部のスペースを削除 */
    }
    .menu_back_left {
        width: 45%;
        max-width: none;
        height: 400px;
        margin-bottom: 0; /* 下部のスペースを削除 */
    }
}
/* For large screens */
@media (min-width: 992px) {
    .menu_back {
        flex-direction: row;
        flex-wrap: nowrap;
    }
    .menu_back_right {
        width: 350px;
        height: 400px;
        margin-bottom: 0;
    }
    .menu_back_left {
        width: 350px;
        height: 400px;
        margin-bottom: 0;
    }
}
.max100{
	max-width: 80px;
	padding       : 10px 25px;
}
/*教師用、生徒用トップページ ここまで*/

/*スマイルクラス タイトル*/
.title_area {
	width: 40%;
	height: 50px;
	/*相対パスで画像ファイルを指定*/
	background-image: url(../img/backillusttop.png);
    background-repeat: no-repeat;
    background-position: center center;
    background-size: 70%;
	
}

.bottom_area{
	width: 100%;
	height: 60px;
	/*相対パスで画像ファイルを指定*/
	background-image: url(../img/backillustbottom.png);
    background-repeat: no-repeat;
    background-position: center center;
    background-size: 80%;
}

/*回答のラジオボタン*/
input[type="radio"]{
  position: relative;
  top: 2px;
  margin: 2px, 0px, 0px, 0px; /*追加*/
}
label{
  position: relative;
}

.anser_no_bgcolor{
	background-color: #a6feff;
}
.anser_title_bgcolor{
	background-color: #a6feff;
	padding       : 10px;   /* 余白       */
}
.anser_explanation_bgcolor{
	background-color: #dfb6fc;
	padding       : 10px 30px;   /* 余白       */
}
.anser_question_bgcolor{
	background-color: #a7fcc6;
	padding: 10px 10px;
}
.anser_ans_bgcolor{
	background-color: #ffffff;
	padding: 10px 10px 0px 50px;
}
.anser_name_bgcolor{
	display       : inline-block;
	border-radius: 1.50em;   /* 角丸 */
	font-size     : 12pt;        /* 文字サイズ */
	text-align    : center;      /* 文字位置   */
	cursor        : pointer;     /* カーソル   */
	padding       : 28px 50px;   /* 余白       */
	margin       : 0px;   /* 余白       */
	background    : #ffffff;     /* 背景色     */
	line-height   : 1em;         /* 1行の高さ  */
	transition    : .3s;         /* なめらか変化 */
}

.q_title{
	background-color: #f9ffe9;
	padding: 10px 10px;
}
.q_naiyo{
	background-color: #dde5ff;
	padding: 10px 10px;
}
.q_no{
	background-color: #e0e0e0;
}
.table_bottom_m{
	margin-bottom: 10px;
}

/*棒グラフの大きさ*/
.canvas-container_bar {
    position: relative;
    width:  700px;
    height: 400px;
    overflow: hidden;
}
