/* @override
	http://localhost:8888/kc/css/styles.css
	http://localhost:8888/kc01/css/styles.css
	http://localhost:8888/app3/css/styles.css
	http://localhost:8888/app5/css/styles.css */

/* 全体のスタイル */
* {
    box-sizing: border-box;
}
img {
    border-radius: 10px;
}
h1,h2,h3,h4 {
	margin: 0;
}
.clear {
    clear: both;
    display: block;
    width: 100%;
    height: 0;
    line-height: 0;
    font-size: 0;
    margin: 0;
    padding: 0;
}
ul li {

}
a {
	text-decoration: none;
}
/*マージ設定*/
.m_top_1rem {
	margin-top: 1rem!important;
}
.m_top_2rem {
	margin-top: 2rem!important;
}
.m_top_05rem {
	margin-top: 0.5rem!important;
}
.m_btm_05rem {
		margin-bottom: 0.5rem!important;
}
.m_top_025rem {
	margin-top: 0.25rem!important;
}
.m_btm_025rem {
		margin-bottom: 0.2rem!important;
}
.m_left_1rem {
	margin-left: 1rem;
}
.p_left_1rem {
	padding-left: 1rem;
}
.m_right_1rem {
	margin-right: 1rem;
}
.m_right_05rem {
	margin-right: 0.5rem!important;
	float: right!important;
}
.m_lr_1rem {
	margin-right: 1rem;
	margin-left: 1rem;
}
.m_lr_05rem {
	margin-right: 0.5rem;
	margin-left: 0.5rem;
}
.m_bottom_1rem {
	margin-bottom: 1rem;
}
.inline_box {
	display: block !important;
}
.pixles_5 {
	float: left!important;
	margin-top: 3px!important;
}
.mm_c {
text-align: center;
margin-right: auto;
margin-left: auto;
font-size: 1.2rem;
}
.non_r {
	margin-right: 0!important;
}
.non_l {
	margin-left: 0!important;
}
.non_b {
	margin-bottom: 0!important;
}
.kyousei_L {
	float: left!important;
	text-align: left!important;
}
.kyousei_r {
	display: inline-block !important;
	float: right;
	margin-right: 0!important;
}
.kyousei_non {
	float: left!important;
	display: inline-block;
}
.kyousei_non2 {
	float: left !important;
	display: block;
	clear: left;
}
.text_center{
	text-align: center;
	margin-right: auto;
	margin-left: auto;
	float: none;
	display: block;
	width: 100px;
}
.text_clear_l {
	clear: left!important;
}
.text_padding {
	padding-right: 1rem;
	padding-left: 1rem;
	display: block;
	text-align: center;
}
.text_l{
	text-align: left!important;
	float: left!important;
}
.text_c {
	text-align: center!important;
}
.text_wb{
	color: white!important;
	font-weight: bold!important;
}
.text_b {
	font-weight: bold!important;
}
.L_m1r {
	text-align: center;
	margin-left: 1rem;
	width: 5rem;
}
.tex_300 {
	display: inline-block;
	float: left;
}
.tex_300_2 {
	display: block;
	float: left;
	clear: left;
}

.pink_txt {
	color: #F85083!important;
}
.blue_txt {
	color: #66c0ca !important;
}
.misentaku_txt {
display: block;
padding-top: 1rem;
	padding-left: 1rem;
padding-bottom: 1rem;
}
.shinki_mondai {
	display: inline-block;
	float: left;
	width: 100%;

}
.shinki_mondai_2 {
	display: block;
	float: right;
}
.box_95pr {
	width: 98% !important;
	margin-right: auto!important;
	margin-left: auto!important;
	padding-right: 2rem!important;
	padding-left: 2rem!important;
}
.h3_yohaku {
	width: 100%;
	height: 40px;
	float: left;
}
.inline_b {
	display: inline-block;
	margin: 0.5rem 1rem 0.5rem 0 !important;
	float: left;
}
.b_box {
	width: 150px;
}

/* テキストエリア */
textarea {
  color: #555;
  width: 100%;
  min-height: 150px;
  padding: 1rem;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  background: #f9fafb;
  font-size: 1rem;
  font-weight: 300;
  line-height: 1.5;
  resize: vertical;
  transition: all 0.2s ease;
}

textarea:focus {
  outline: none;
  border-color: #3b82f6;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.25);
}
.textarea_title {
resize: none;
width: 100%;
  height: 42px;
  min-height: 50px!important;
  padding: 0 1rem;
  border: 1.5px solid #e5e7eb;
  border-radius: 6px;
  background: #f9fafb;
  font-size: 1rem;
  line-height: 42px;
  color: #F85083;
  font-weight: 500;
  transition: all 0.2s ease;
  box-sizing: border-box;
margin-bottom: 1rem;
}


body {
	font: 14px 'Noto Sans JP', 'Roboto', sans-serif;
	margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    overflow-x: hidden;
	background-color: #FAFAFA;
}

/* ヘッダーのスタイル */
#login header {
    padding: 1rem;
    position: relative;
    width: 100%;
    box-sizing: border-box;
	color: white;
    background-color: #F85083;
}
#login .nav-links a {
    color: white;
    text-decoration: none;
}

header {
    padding: 1rem;
    position: relative;
    width: 100%;
    box-sizing: border-box;
	color: white;
    background-color: #F85083;
}

nav {
	color: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: clamp(0px, 2vw, 24px) auto 0;
    padding: 0 1rem;
}

.logo {
	min-width: 120px !important;
	overflow: hidden;
	text-indent: 100%;
	white-space: nowrap;
	background: url(../img/logo.svg) no-repeat;
	float: left;
	width: 30vw;
	height: 10vw;
	max-width: 300px;
	min-height: 35px;
	max-height: 85px;
	animation: rotateZ-5 0.5s ease-in-out forwards;
	transform-origin: center;
	
}
@keyframes rotateZ-5 {
	from {
		transform: rotateZ(0deg);
	}
	to {
		transform: rotateZ(-5deg);
	}
}

.nav-links {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-links li {
	color: white;
    margin-left: 1rem;
}
.nav-links a {
    color: white;
    text-decoration: none;
}
.nav-links a {
    color: #F85083;
    text-decoration: none;
}
.modoru_b {
	float: left!important;
	display: inline-block!important;
	margin-right: 0.5rem;
}
.modoru_bl {
margin-left: 0.5rem!important;
float: left !important;
}
.modoru_ll {
display: inline-block!important;
clear: none;
}
/* ハンバーガーメニュー */
.burger {
    display: none;
    cursor: pointer;
}

.burger div {
    width: 25px;
    height: 3px;
    background-color: #F85083;
    margin: 5px;
    transition: all 0.3s ease;
}

/*ログインページのスタイル*/
.login_box {
	box-sizing: border-box;
	width: 95%;
	border-radius: 1.5rem;
	margin-right: auto;
	margin-left: auto;
	background-color: white;
	max-width: 800px;
	box-shadow: 0 0 3px rgba(0, 0, 0, 0.50);
	margin-top: -27px;
}
.login-title {
	width: 100%;
	background-color: #F85083;
	border-radius: 1.5rem 1.5rem 0 0;
	padding: 1.5rem;
	color: white;
}
.login_body {
	padding: 1.5rem;
}
.login_id_title ,.login_pass_title{
	font-weight: 600;
	list-style: none;
	border-bottom: 3px solid #F85083;
	width: 95%;
	max-width: 400px;
	color: #F85083;
	margin-right: auto;
	margin-left: auto;
	font-size: 1.5rem;
	line-height: 3rem;
}
.new_id_title{
	font-weight: 600;
	list-style: none;
	border-bottom: 3px solid #5abfc9;
	width: 95%;
	max-width: 400px;
	color: #5abfc9;
	margin-right: auto;
	margin-left: auto;
	font-size: 1.5rem;
	line-height: 3rem;
	margin-top: 2rem;
}
.login_box_in {
	width: 100%;
}
.login_id_box,.login_pass_box {
	border-radius: 5px!important;
	margin: 1rem auto 0.5rem!important;
	width: 95%!important;
	max-width: 400px!important;
	border-style: none!important;
	box-shadow: 0 0 3px rgba(0, 0, 0, 0.50)!important;
	font-size: 1.2rem!important;
	padding: 0.5rem!important;
	display: block!important;
}
.next_login,.new_id_txt {
	margin-right: auto;
	margin-left: auto;
	display: block;
	text-align: center;
	width: 95%;
	max-width: 400px;
	color: gray;
	font-size: 0.85rem;
}
.error_comment {
	color: red;
	margin-right: auto;
	margin-left: auto;
	text-align: center;
	display: block;
	font-size: 1.2rem;
}
.Forgot_password {
	list-style: none;
	margin-right: auto;
	margin-left: auto;
	display: block;
	text-align: center;
	width: 95%;
	max-width: 400px;
	font-size: 0.85rem;
}
.login_button {
	border-radius: 2rem;
	background-color: #F85083;
	color: white;
	width: 95%;
	max-width: 400px;
	margin-right: auto;
	margin-left: auto;
	display: block;
	border-style: none;
	font-size: 1.2rem;
	padding: 0.5rem;
	cursor: pointer;
    transition: all 0.3s ease;
	 transform-style: preserve-3d; 
    backface-visibility: hidden; 
}
.login_button:hover {
 background-color: #fcd6e1;
    transform: scale(1.05);
 box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);  /* 影を追加 */
}
.login_button:active {
    background-color: #fe95b5;
    transform: scale(0.95);
}

.new_id_button {
	border-radius: 2rem;
	background-color: #5abfc9;
	color: white;
	width: 95%;
	max-width: 400px;
	margin-right: auto;
	margin-left: auto;
	display: block;
	border-style: none;
	font-size: 1.2rem;
	padding: 0.5rem;
	cursor: pointer;
    transition: all 0.3s ease;
	text-decoration: none;
	text-align: center;
}
.new_id_button a {
	text-decoration: none;
}
.new_id_button:hover {
    background-color: #b7e7ec;
    transform: scale(1.05);
}
.new_id_button:active {
    background-color: #b7e7ec;
    transform: scale(0.95);
}


/*キャラクター選択画面*/
.chara_sele_txt {
	font-size: 1.2rem;
	line-height: 2rem;
	margin-left: auto;
	margin-right: auto;
	text-align: center;
}



/* メインコンテンツのスタイル */
#login main {
    flex: 1;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 0;
    box-sizing: border-box;
	display: grid;
    place-items: center;
    height: 90vh;
}
main {
    width: 100%;
    margin: 0 auto;
	padding-right: 0;
	padding-bottom: 2rem;
	padding-left: 0;
	box-sizing: border-box;
}
.title_area {
	 width: 98%;
	 margin: 1rem auto 0;
}

.H1_title {
    font-size: 2rem;
    text-align: left;
    margin: 0;
	display: block;
	clear: both;
}
.H2_title {
    font-size: 2rem;
    text-align: left;
    margin: 0;
    color: gray;
	display: block;
	clear: both;
}
.H3_title {
    text-align: left;
	margin-top: 0;
	margin-right: 0;
	margin-left: 0;
	color: gray;
	display: inline-block;
	font-size: 1.2rem;
}
.H4_title {
	text-align: left;
    margin: 0;
    color: #F85083;
	display: block;
	font-size: 1.2rem;
}
.H4_title_blu {
	text-align: left;
    margin: 0;
    color: #5abfc9;
	display: block;
	font-size: 1.2rem;
}
.H4_title_1rem {
	text-align: left;
    margin: 0;
    color: #F85083;
	display: block;
	clear: both;
	font-size: 1rem;
}
.H4_title_l {
	text-align: left;
    margin: 0;
    color: #F85083;
	display: block;
	clear: both;
	font-size: 1.2rem;
	float: left;
}
.H4_title_r{
	text-align: left;
    margin: 0;
    color: #F85083;
	display: block;
	clear: both;
	font-size: 1.2rem;
	float: left;
}
.modoru_m {
	clear: left;
	margin-left: 58px;
	float: left;
	display: inline-block!important;
}
.day_title {
	color: gray;
	font-size: 0.9rem;
	text-align: left;
	display: inline-block;
	margin: 5px 0 0 1rem;
}
.info_day_time {
	font-weight: 500!important;
	margin: 0;
}
.info_txt {
	margin: 0.5rem 0 0;
}
.info_txt_p {

}
/*罫線の設定*/
.border-example {
    /* 基本的な罫線 */
    border: 1px solid black;
    width: 100%;
    margin: 10px auto;
}

.styled-border {
    width: 100%;
    /* スタイリングされた罫線 */
    border: 2px dashed #F85083;
    margin: 10px auto;
}
.B_title {
	width: 100%;
	margin-right: 1rem;
	margin-left: auto;
	border-bottom: 3px solid #F85083;
	padding-bottom: 0.5rem;
}
.box_title {
	width: 100%;
	margin-right: auto;
	margin-left: auto;
	background-color: #F85083;
	color: white!important;
	padding-left: 1rem;
	padding-top: 0.5rem;
	padding-bottom: 0.5rem;
}
/*メニュー関係*/
    .menu_area {

            box-shadow: 0 2px 5px rgba(0,0,0,0.1);
        }
        .menu_bk {
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 20px;
			float: left;
		}
        .site_title {
            margin: 0;
			padding: 0.5rem 0 15px;
			font-size: 24px;
            color: white;
			float: left;
		}
        .main-menu {
            list-style: none;
            padding: 0;
            margin: 0;
            display: flex;
		}
        .main-menu > li {
            position: relative;
        }
        .main-menu > li > a {
            display: block;
			padding: 15px 0.5rem;
			color: white;
            text-decoration: none;
            transition: background-color 0.3s;
		}
        .main-menu > li:hover > a {
            background-color: #f7a9c1;
        }
        .sub-menu {
            display: none;
            position: absolute;
            top: 100%;
            left: 0;
            background: white;
            list-style: none;
            padding: 0;
            min-width: 200px;
            box-shadow: 0 2px 5px rgba(0,0,0,0.1);
            z-index: 1000;
        }
        .main-menu > li:hover .sub-menu {
            display: block;
        }
        .sub-menu li a {
            display: block;
            padding: 12px 20px;
            color: #333;
            text-decoration: none;
            transition: background-color 0.3s;
        }
        .sub-menu li a:hover {
            background-color: #f8f9fa;
        }

        /* サブメニューを持つ項目の矢印表示 */
        .has-submenu > a::after {
            content: '▼';
            font-size: 0.8em;
            margin-left: 5px;
        }

        /* ハンバーガーメニューのスタイル */
        .burger-menu {
            display: none;
            cursor: pointer;
            position: absolute;
            right: 20px;
            top: 20px;
            width: 30px;
            height: 20px;
		}
        .burger-menu span {
            display: block;
            position: absolute;
            width: 100%;
            height: 2px;
            background-color: white;
            transition: all 0.3s;
        }
        .burger-menu span:nth-child(1) { top: 0; }
        .burger-menu span:nth-child(2) { top: 9px; }
        .burger-menu span:nth-child(3) { top: 18px; }

        /* ハンバーガーメニューがアクティブ時のスタイル */
        .burger-menu.active span:nth-child(1) {
            transform: rotate(45deg);
            top: 9px;
        }
        .burger-menu.active span:nth-child(2) {
            opacity: 0;
        }
        .burger-menu.active span:nth-child(3) {
            transform: rotate(-45deg);
            top: 9px;
        }

 /* 既存のCSSはそのまま保持し、モバイル部分のみ修正 */
        @media (max-width: 768px) {
            .burger-menu {
                display: block;
				margin: clamp(0px, 2.5vw, 24px) auto 0;
            }
            .main-menu {
                display: none;
                flex-direction: column;
                position: absolute;
                top: 100%;
                left: 0;
                right: 0;
                z-index: 1000;
                background-color: rgba(240, 122, 157, 0.96);
            }
            .main-menu.active {
                display: flex;
            }
            .main-menu > li {
                width: 100%;
            }
            /* サブメニューのスタイルを変更 */
            .sub-menu {
                display: block !important; /* 常に表示 */
                position: static;
                width: 100%;
                box-shadow: none;
                background-color: rgba(255, 255, 255, 0.1); /* 半透明の白色背景 */
            }
            .main-menu > li > a {
                padding: 15px;
                border-bottom: 1px solid rgba(255, 255, 255, 0.2);
                color: white;
            }
            .sub-menu li a {
                padding: 12px 30px; /* 左パディングを増やしてインデント */
                color: white; /* サブメニューの文字色も白に */
                border-bottom: 1px solid rgba(255, 255, 255, 0.1);
            }
            .sub-menu li:last-child a {
                border-bottom: none; /* 最後の項目のボーダーを削除 */
            }
            /* 矢印を非表示に */
            .has-submenu > a::after {
                display: none;
            }
            /* ホバー効果の調整 */
            .main-menu > li:hover > a {
                background-color: rgba(247, 169, 193, 0.5);
            }
            .sub-menu li a:hover {
                background-color: rgba(247, 169, 193, 0.3);
            }
        }

        /*メニューここまで*/


/*生徒ホーム画面*/

.tabs {
    display: flex;
	box-sizing: border-box;
	width: 95%;
	margin: 1rem auto -2px;
}

	
.tab-button {
    background: #f1f1f1;
    border: none;
    border-radius: 5px 5px 0 0;
    cursor: pointer;
    padding: 10px 20px;
    margin-right: 5px;
    font-size: 16px;
    transition: background-color 0.3s;
}

.tab-button:hover {
    background-color: #ddd;
}

.tab-button.active_tab {
    background-color: #F85083;
    color: white;
}

.tab-content {
	box-sizing: border-box;
	box-shadow: 0 0 5px rgba(0, 0, 0, 0.5);
	border-radius: 0.5rem 0.5rem 1rem 1rem;
	width: 98%;
	margin-right: auto;
	margin-left: auto;
    display: none;
    padding: 1rem 20px 20px;
    border-top: none;
    animation: fadeIn 0.5s;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.tab-content.active {
    display: block;
}


.info_chara {
	box-sizing: border-box;
	background-color: gray;
	max-width: 500px;
	max-height: 500px;
	width: 40%;
	height: 50vw;
	display: inline-block;
	float: left;
	margin-right: 1em;
	margin-bottom: 1em;
}
.sensei_h4 {
	text-align: left;
    margin: 0;
    color: #5abfc9;
	display: block;
	font-size: 1.2rem;
}
.shinchoku_step_box {
	width: 100%;
	margin-top: 1rem;
	margin-bottom: 1rem;
}
.shinchoku_step_group {
	display: inline-block;
	border-radius: 1rem;
	box-shadow: 0 0 5px rgba(0, 0, 0, 0.5);
	margin-right: 0.8rem;
	margin-top: 0;
	margin-bottom: 1rem;
	float: left;
}
.shinchoku_step_title {
	clear: left;
	margin-right: auto;
	margin-left: auto;
	text-align: center;
	padding-top: 0.5rem;
	padding-bottom: 0.5rem;
}
.shinchoku_step_b {
	text-align: center;
	margin-right: auto;
	margin-left: auto;
	padding-bottom: 0.5rem;
	padding-top: 0.5rem;
}
.level_txt {
	color: #F85083!important;
	font-size: 1.1rem;
	font-weight: bold!important;
	display: inline-block;
	margin: 0.5rem 0 0 1rem;
	float: left;
}
.battery {
	display: inline-block;
	margin-top: 0.5rem;
	margin-left: 0.5rem;
	float: left;
}
.star {
	background: url(../img/star.svg) center center no-repeat;
	display: inline-block;
	float: left;
	margin-left: 1rem;
	margin-bottom: 0;
	width: 30px;
	height: 30px;
	text-align: center;
	color: #ff7900 !important;
	margin-top: 0.2rem;
	line-height: 30px;
	font-weight: bold!;
}
.next_level {
	clear: left;
	margin-right: auto;
	margin-left: auto;
	display: block;
	text-align: center;
	width: 100%;
	padding-top: 0.25rem;
}
.status {
	margin-right: auto;
	margin-left: auto;
	display: block;
	width: 60%;
}
.info_message_box_in {
	float: left;
	display: inline-block;
	width: 70%;
}
.info_message_box_img {
	width: 30%;
}




/*マイルストン*/
.shinchoku_step1 {
	background: url(../img/red-button.svg) center 50px no-repeat transparent;
	background-size: 50px 50px !important;
	display: block;
	border-radius: 1rem;
	align-items: center;
	justify-content: center;
	border: none;
	cursor: pointer;
	transition: all 0.3s ease;
	margin: -50px auto 0;
	text-decoration: none;
	width: 120px;
	height: 120px;
	position: static;

    /* 追加：背景を透明に */
    
    /* 追加：デフォルトのボタンスタイルを削除 */
	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;
	overflow: hidden;
	text-indent: 300%;
	white-space: nowrap;
	top: 0;
	float: left;
	left: 0;
}
.shinchoku_step1:hover {
	transform: scale(1.1);
	background-color: transparent;
}
.shinchoku_step2 {
	background: url(../img/gray-button.svg) center 50px no-repeat transparent;
	background-size: 50px 50px !important;
	display: block;
	border-radius: 1rem;
	align-items: center;
	justify-content: center;
	border: none;
	cursor: pointer;
	transition: all 0.3s ease;
	margin: -50px auto 0;
	text-decoration: none;
	width: 120px;
	height: 120px;
	position: static;

    /* 追加：背景を透明に */
    
    /* 追加：デフォルトのボタンスタイルを削除 */
	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;
	overflow: hidden;
	text-indent: 300%;
	white-space: nowrap;
	top: 0;
	float: left;
	left: 0;
}

.shinchoku_step2:hover {
	transform: scale(1.1);
	background-color: transparent;
}
.shinchoku_step3 {
	background: url(../img/star-button.svg) center 50px no-repeat transparent;
	background-size: 50px 50px !important;
	display: block;
	border-radius: 1rem;
	align-items: center;
	justify-content: center;
	border: none;
	cursor: pointer;
	transition: all 0.3s ease;
	margin: -50px auto 0;
	text-decoration: none;
	width: 120px;
	height: 120px;
	position: static;

    /* 追加：背景を透明に */
    
    /* 追加：デフォルトのボタンスタイルを削除 */
	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;
	overflow: hidden;
	text-indent: 300%;
	white-space: nowrap;
	top: 0;
	float: left;
	left: 0;
}

.shinchoku_step3:hover {
	transform: scale(1.1);
	background-color: transparent;
}





.chara_b_box {
position: absolute;
  top: 0;          /* 上端に配置 */
  right: 0;        /* 右端に配置 */
  z-index: 1;      /* 画像の上に表示されるように */
}
.custom-button {
    display: block;
    align-items: center;
    justify-content: center;
    padding: 10px 20px;
    border: none;
	cursor: pointer;
    transition: all 0.3s ease;
    margin: 5px;
    text-decoration: none;
    width: 50px;
    height: 50px;
    position: static;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    /* 追加：背景を透明に */
    background-color: transparent;
    /* 追加：デフォルトのボタンスタイルを削除 */
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
	clear: left;
	float: left;
	overflow: hidden;
text-indent: 300%;
white-space: nowrap;
}
.custom-button:hover {
	transform: scale(1.1);
	background-color: transparent;
}

.character-button {
    background-image: url(../img/Group1.svg);
}

.achievement-button {
    background-image: url(../img/Group2.svg);
}
.test_box {
	box-sizing: border-box;
	background-color: #f4f4f4;
	width: 100%;
	padding: 1rem;
	border-radius: 1rem;
	min-height: 120px;
}
.test-button {
	align-items: center;
	justify-content: center;
	border: none;
	cursor: pointer;
	transition: all 0.3s ease;
	text-decoration: none;
	width: 200px;
	height: 30px;
	background-size: contain;
	background-repeat: no-repeat;
	background-position: center;
	/* 追加：背景を透明に */
	background-color: transparent;
	/* 追加：デフォルトのボタンスタイルを削除 */
	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;
	overflow: hidden;
	text-indent: 300%;
	white-space: nowrap;
	float: right;
	display: inline-block;
	padding: 0;
	margin-right: 1rem;
}
.pick_test-button {
    background-image: url(../img/test_b_2.svg);
}

.select_test-button {
    background-image: url(../img/test_b_1.svg);
}
.test-button:hover {
    transform: translateY(-10px);
	transform: scale(1.1);
	background-color: transparent;
}

.oshirase_button {
	align-items: center;
	justify-content: center;
	border: none;
	cursor: pointer;
	transition: all 0.3s ease;
	text-decoration: none;
	width: 100px;
	height: 30px;
	background-size: contain;
	background-repeat: no-repeat;
	background-position: center;
	/* 追加：背景を透明に */
	background-color: transparent;
	/* 追加：デフォルトのボタンスタイルを削除 */
	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;
	overflow: hidden;
	text-indent: 300%;
	white-space: nowrap;
	float: right;
	display: inline-block;
	padding: 0;
	margin-right: 1rem;
}
.oshirase_button {
    background-image: url(../img/oshirase.svg);
}
.oshirase_button:hover {
	transform: scale(1.1);
	background-color: transparent;
}

.seiseki_tb {
	border-radius: 1rem;
	width: 95%;
	padding-right: 0;
	padding-left: 0;
	margin-top: 0;
	margin-right: auto;
	margin-left: auto;
	border-style: none;
	border-spacing: 0px;
	overflow: hidden;
}
.seiseki_th {
	padding-top: 0.5rem;
	padding-bottom: 0.5rem;
}
.seiseki_td {
	font-weight: 400;
	color: #555;
	text-align: center;
	padding-top: 0.5rem;
	padding-bottom: 0.5rem;
}
.seiseki_tb tr:nth-child(even) {
background-color: #f2f2f2; /* グレーの背景色 */
}
/*キャラクター一覧系*/
.zisseki_p {

	font-weight: 300;
	color: #555;
	margin: 1rem 0 0 2rem;
	display: inline-block;
}
.zisseki_txt_pnk {
	color: #F85083;
	display: inline-block;
	line-height: 60px;
	margin: 0;
	font-weight: bold;
	font-size: 1.2rem;
}
.zisseki_txt_mikan {
	color: #999999;
	display: inline-block;
	line-height: 60px;
	margin: 0;
	font-weight: bold;
	font-size: 1.2rem;
}
.zisseki_day {
	color: #999999;
	display: inline-block;
}

/*模擬テスト一覧ページ*/
.main_table_area {
	margin-bottom: 1rem;
	float: left;
	width: 100%;
}
.main_table_area p {
	font-weight: 400;
	color: #555;
	margin: 0;
}
.sub_table_area {
	margin-bottom: 1rem;
}

.main_table {
	 border-radius: 1rem;
	 padding: 0;
	margin-top: 0;
	margin-right: auto;
	margin-left: auto;
	border-style: none;
	border-spacing: 0px;
	overflow: hidden;
	box-shadow: 0 0 5px rgba(0, 0, 0, 0.5);
	width: 98%;
}
.main_table_admin {
	 border-radius: 1rem;
	 padding: 0;
	margin-top: 0;
	margin-right: auto;
	margin-left: auto;
	border-style: none;
	border-spacing: 0px;
	overflow: hidden;
	box-shadow: 0 0 5px rgba(0, 0, 0, 0.5);
	width: 100%;
}

.main_table_can {
	width: 100%!important;
	margin-top: 1rem!important;
}

.main_table tbody tr:nth-child(even) {
  background-color: #f2f2f2!important;
  transition: background-color 0.3s ease;
}
.main_table tbody tr:nth-child(even) {
  background-color: #f2f2f2!important;
  transition: background-color 0.3s ease;
}
.main_table thead tr.main_table_head{
	border-radius: 10px;
	background-color: #F85083;
	height: 3rem;
	color: white;
	text-align: left;
}
.main_table thead th{
padding-left: 1rem;
}

.main_table_body td {
	padding: 0!important;
}
/*.main_table_body tr:nth-child(even) {
  background-color: #f2f2f2!important; /* グレーの背景色 *!/
}*/
.sub_box {
	border-radius: 1rem;
	width: 98%;
	margin-right: auto;
	margin-left: auto;
	background-color: white;
	box-shadow: 0 0 5px rgba(0, 0, 0, 0.5);
}
.sub_text_box {
	padding: 1rem;
}

.sub_text_box_p,.sub_text_box p {
	font-weight: 400;
	color: #555;
	margin: 0;
}
.test_start_b {
	border-radius: 1.5rem;
	background-color: #F85083;
	border: 3px solid #F85083;
	padding-right: 1rem;
	padding-left: 1rem;
	margin: 0.5rem auto;
	display: block;
	font-size: 1rem;
	color: white;
	cursor: pointer;
    transition: all 0.3s ease;
	text-decoration: none;
	text-align: center;
	right: auto;
	left: auto;
}
.bb {
	border: 2px solid #72c0cb !important;
	background-color: #72c0cb !important;
}
.test_start_b:hover {
transform: scale(1.05);
}
.test_start_b:active {
transform: scale(0.95);
}

/*テスト実施ページ*/
.question_box {
	width: 95%;
	border-radius: 1rem;
	padding: 1rem;
	border: 3px solid #F85083;
	background-color: white;
	margin-top: 1rem;
	margin-right: auto;
	margin-left: auto;
}
.question_box_next {
	width: 95%;
	border-radius: 1rem;
	padding: 1rem;
	background-color: white;
	margin-top: 1rem;
	margin-right: auto;
	display: block;
	margin-left: auto;
}

.mondai_txt_p {
padding-top: 1rem;
margin-left: 2rem!important;
font-size: 1.2rem;
}
.mondai_sentaku_p {
font-size: 1.1rem;
display: inline;
margin-right: 1rem!important;
}
.mondai_select_no {
	float: left;
	margin-top: 1rem;
}
.mondai_box {
display: inline-block;
margin-top: 1rem;
width: 80%;
}
.zyoukyou_mondai {
	margin-top: 1rem;
	text-align: justify;
}
.mondai_image {
	width: 100%;
	max-width: 400px;
	float: left;
	display: block;
	margin-right: auto;
	margin-left: auto;
}
/*テストページボタン関連*/
.next_button {
	border-radius: 1.5rem;
	background-color: #F85083;
	border: 3px solid #F85083;
	padding: 0.5rem 2rem;
	margin-right: auto;
	margin-left: auto;
	font-size: 1rem;
	color: white;
	cursor: pointer;
    transition: all 0.3s ease;
	text-decoration: none;
	text-align: center;
	display: inline-block;
	float: right;
}
.scoring_button {
	border-radius: 1.5rem;
	background-color: white;
	border: 3px solid #F85083;
	padding: 0.5rem 2rem;
	margin-right: auto;
	margin-left: auto;
	display: block;
	font-size: 1rem;
	color: #F85083;
	cursor: pointer;
    transition: all 0.3s ease;
	text-decoration: none;
	text-align: center;
	float: right;
}
.before_button {
	border-radius: 1.5rem;
	background-color: white;
	border: 3px solid #F85083;
	padding: 0.5rem 2rem;
	margin-right: auto;
	margin-left: auto;
	font-size: 1rem;
	color: #F85083;
	cursor: pointer;
    transition: all 0.3s ease;
	text-decoration: none;
	text-align: center;
	display: inline-block;
	float: left;
}
.before_button2 {
	border-radius: 1.5rem;
	background-color: white;
	border: 3px solid gray;
	padding: 0.5rem 2rem;
	margin-right: auto;
	margin-left: auto;
	display: inline-block;
	font-size: 1rem;
	color: gray;
	cursor: pointer;
    transition: all 0.3s ease;
	text-decoration: none;
	text-align: center;
	float: left;
}
.cancel_button {
	border-radius: 1.5rem;
	background-color: white;
	border: 3px solid gray;
	padding: 0.5rem 2rem;
	margin-right: auto;
	margin-left: auto;
	font-size: 1rem;
	color: gray;
	cursor: pointer;
  transition: all 0.3s ease;
	text-decoration: none;
	text-align: center;
  display: block;
}
.cancel_button2 {
	border-radius: 1.5rem;
	background-color: white;
	border: 3px solid gray;
	padding: 0.5rem 2rem;
	margin-right: auto;
	margin-left: auto;
	display: inline-block;
	font-size: 1rem;
	color: gray;
	cursor: pointer;
  transition: all 0.3s ease;
	text-decoration: none;
	text-align: center;
  position: absolute;
  left: 50%;
}
@media (max-width: 550px) {
		.question_box_next {
		width: 95%;
		border-radius: 1rem;
		padding: 1rem;
		background-color: white;
		margin-right: auto;
		margin-left: auto;
		display: block;
		margin-top: 0;
		}
		.inline_box {
		display: block !important;
		margin-top: 0;
			padding: 0!important;
		}
		.cancel_button {
		border-radius: 1.5rem;
		background-color: white;
		border: 3px solid gray;
		margin-right: auto !important;
		margin-left: auto !important;
		font-size: 1rem;
		color: gray;
		cursor: pointer;
		transition: all 0.3s ease;
		text-decoration: none;
		text-align: center;
		width: 80%;
		display: block;
		float: none!important;
		margin-top: 0.5rem;
		}
		
		.before_button {
		border-radius: 1.5rem;
		background-color: white;
		border: 3px solid #F85083;
		margin-right: auto !important;
		margin-left: auto !important;
		font-size: 1rem;
		color: #F85083;
		cursor: pointer;
		transition: all 0.3s ease;
		text-decoration: none;
		text-align: center;
		width: 80%;
		float: none!important;
		display: block;
		margin-top: 0.5rem;
		}
		.next_button {
		border-radius: 1.5rem;
		background-color: #F85083;
		border: 3px solid #F85083;
		margin-right: auto;
		margin-left: auto;
		font-size: 1rem;
		color: white;
		cursor: pointer;
		transition: all 0.3s ease;
		text-decoration: none;
		text-align: center;
		width: 80%;
		float: none;
		display: block;
		}
		
		
}

.next_button:hover ,.scoring_button:hover,.cancel_button:hover ,.before_button:hover {
transform: scale(1.05);
}
.next_button:active,.scoring_button:active,.before_button:active {
transform: scale(0.95);
}
.next_button2:hover ,.scoring_button2:hover,.cancel_button2:hover ,.before_button2:hover {
transform: scale(1.05);
}
.next_button2:active,.scoring_button2:active,.before_button2:active {
transform: scale(0.95);
}

/*結果ページ*/
.fuseikai_title_b {
  padding-top: 10px;
	color: #59c0c9!important;
	font-weight: bold;
	margin-bottom: 0!important;
	font-size: 1.4rem!important;
}
.seikai_title_b {
  padding-top: 10px;
	color: #f85083 !important;
	font-weight: bold;
	margin-bottom: 0!important;
	font-size: 1.4rem!important;
}
.result_top_box {
	width: 95%;
	margin-right: auto;
	margin-left: auto;
	background-color: lime;
}
.score_title {
	text-align: center;
	margin-right: auto !important;
	margin-left: auto !important;
	display: block;
	font-size: 1.5rem!important;
	margin-bottom: 0.5rem;
}
.score_table {
	background-color: red;
	margin-right: auto;
	margin-left: auto;
}
.score_body {
	width: 50%;
	float: left;
	display: inline-block;
}
.score_body_title {
	font-size: 1.5rem;
	font-weight: 300;
	color: #555;
	margin-right: auto;
	margin-left: auto;
	margin-right: auto;
	display: block;
	text-align: center;
	width: 100%;
}
.score_body_p {
	font-size: 1.2rem;
	font-weight: 300;
	color: #555;
	margin-right: auto;
	margin-left: auto;
	margin-right: auto;
	display: block;
	text-align: center;
	width: 100%;
}
.score_select {
	border: 1px solid #59c0c9;
	background-color: rgba(89, 192, 201, 0.6);
	float: left!important;
	display: block!important;
}
.score_wrong {
	margin: 1rem auto 1rem 2rem !important;
	font-weight: 300;
	font-size: 1.1rem;
	box-sizing: border-box;
	width: 90%;
	display: block;
	border-radius: 0.5rem;
	padding: 1rem;
	border: 1px solid #59c0c9;
	background-color: rgb(89 192 201 / 20%);
}
.score_right {
	margin: 1rem auto 1rem 2rem !important;
	font-weight: 300;
	font-size: 1.1rem;
	box-sizing: border-box;
	width: 90%;
	display: block;
	border-radius: 0.5rem;
	padding: 1rem;
	border: 1px solid rgba(254, 0, 0, 0.6);
	background-color: rgb(248 80 131 / 20%);
}
.score_normal {
	margin: 1rem auto 1rem 2rem !important;
	font-weight: 300;
	font-size: 1.1rem;
	box-sizing: border-box;
	width: 90%;
	display: block;
	border-radius: 0.5rem;
	padding: 1rem;
}
.score_normal2 {
	margin: 1rem auto 1rem 2rem !important;
	font-weight: 300;
	font-size: 1.1rem;
	box-sizing: border-box;
	width: 90%;
	display: block;
	border-radius: 0.5rem;
	padding: 1rem;
}
.score_kaisetu_box {
width: 95%;
	border-radius: 1rem;
	padding: 1rem;
	border: 3px solid #F85083;
	background-color: white;
	margin-top: 1rem;
	margin-right: auto;
	display: block;
	margin-left: auto;
}
.score_kaisetu_p {
	font-weight: 300;
	color: #555;
	margin: 0.5rem auto !important;
	display: block;
	text-align: left;
	width: 100%;
	font-size: 1rem;
	float: left;
	clear: left;
}
.kaisetsu {
	color: #F85083;
}
.score_img {
	box-sizing: border-box;
	float: left;
	width: 100%;
}
.score_teacher_img {
	width: 25%;
	max-width: 500px;
	margin-right: auto;
	margin-left: auto;
	float: left;
	display: inline-block;
}
.score_student_img {
	width: 25%;
	max-width: 500px;
	margin-right: auto;
	margin-left: auto;
	float: left;
	display: inline-block;
}
.nigate_body_p {
	text-align: left;
	margin: 0.5rem auto 0!important;
	font-size: 1.1rem;
	display: inline-block;
	width: 220px;
	clear: left;
	float: left;
}
.nigate_txt_list {
	text-align: right;
	margin: 0.5rem auto 0!important;
	font-size: 1.1rem;
	display: block;
	float: left;
}
.nigate_b_box {
	margin-right: auto;
	margin-left: auto;
	display: block;
	clear: left;
	top: -30px;
	position: relative;
	margin-bottom: -30px;
}
.good_txt {
	margin-right: auto;
	margin-left: auto;
	color: #59c0c9!important;
	font-weight: bold;
}
.analysis_detail_b_div {
	float: left;
	margin-right: 0.5rem;
	margin-bottom: 0.5rem;
}
.analysis_detail_b_div p {
	line-height: 2.8rem;
	margin-right: 1rem;
	margin-bottom: 0.5rem;
}
.analysis_detail_count {

	text-align: center;
	padding-right: 0.25rem!important;
	padding-left: 0.25rem!important;
}
.kaitou_txt {
	display: inline-block;
}
.kaitou_mark {
	background: url(../img/kaitou.svg) 0 bottom no-repeat;
	display: inline-block;
	overflow: hidden;
	text-indent: 100%;
	white-space: nowrap;
	height: 1.5rem;
	margin-top: 0.1rem;
	margin-left: 1rem;
}
.sentakumondai_box {
	width: 200px;
	float: right;
}
.title_description::before{
	content:'●';
}
.title_description {
	display: inline-block;
	margin: 0 1rem 0 0;
	font-size: 0.8rem;
}







/*講師インデックス*/
.seito_table {
	border-radius: 1rem;
	width: 100%;
	background-color: white;
	border-spacing: 0;
	margin-right: auto;
	margin-left: auto;
	overflow: hidden;
}
.seito_table_hed {
	background-color: #F85083;
	color: white;
	border-style: none;
	padding-top: 1em;
}
.seito_table_hed_th {
	padding-top: 0.5em;
	padding-bottom: 0.5em;
}
.seito_table td {
	padding-top: 1rem;
	padding-bottom: 1rem;
	padding-left: 1rem;
	text-align: center;
}
.tantou_seito_p {
	margin: 0;
}
.gakuseki_no_p {
	color: #F85083!important;
	font-weight: bold!important;
	margin-top: 0;
	margin-bottom: 0;
}
.gakuseki_no {
	width: 150px;
}
.seito_name {
	width: 250px;
	text-align: left;
}
.seito_table tr:nth-child(even) {
background-color: #f2f2f2; /* グレーの背景色 */
}
.sensei_name {
	float: left;
	display: block;
	margin-bottom: 0.25rem;
}
.character_list_b {
	border-radius: 0.5rem;
	float: right;
	background-color: white;
	display: inline-block;
	border: 2px solid #F85083;
	color: #F85083;
	font-size: 0.9rem;
	padding: 0.2rem 0.5rem;
	transition: all 0.3s ease;
}
.info_txt_new_oreng {
	border-radius: 0.5rem;
	float: right;
	background-color: orange!important;
	display: inline-block;
	border: 2px solid orange!important;
	color: white;
	font-size: 0.9rem;
	padding: 0.2rem 2rem !important;
	transition: all 0.3s ease;
	margin-right: 1rem;
}

.info_txt_new {
	border-radius: 0.5rem;
	float: right;
	background-color: #F85083;
	display: inline-block;
	border: 2px solid #F85083;
	color: white;
	font-size: 0.9rem;
	padding: 0.2rem 2rem !important;
	transition: all 0.3s ease;
	margin-right: 1rem;
}
.character_list_b:hover,.info_txt_new:hover,.info_txt_new_oreng:hover {
transform: scale(1.2);
}
.character_list_b:active,.info_txt_new:active{
transform: scale(0.95);
}
.character_view {
	box-sizing: border-box;
	border-radius: 1rem;
	width: 100%;
	background-color: white;
	box-shadow: 0 0 5px rgba(0, 0, 0, 0.5);
	margin-top: 1rem;
	overflow: hidden;
	padding-bottom: 0.5rem;
}
.character_view_an{
	box-sizing: border-box;
	border-radius: 1rem;
	width: 100%;
	background-color: #dcdcdc;
	box-shadow: 0 0 5px rgba(0, 0, 0, 0.5);
	margin-top: 1rem;
	overflow: hidden;
	padding-bottom: 0.5rem;
}
.character_view_an img{
	opacity: 0.5;
}
.character_view_inn {
	padding: 1rem;
	float: left;
}
.character_view_inn img {
	float: left;
}
.character_view_inn_box {
	float: left;
	display: inline-block;
	width: 25%;
}
.character_view_b {
	border-radius: 1rem;
	border: 2px solid #F85083;
	background-color: #F85083;
	padding: 0.25rem 0.5rem;
	font-size: 0.8rem;
	color: white;
	margin-right: auto;
	margin-left: auto;
	display: block;
	transition: all 0.3s ease;
}
.character_view_b:hover {
transform: scale(1.2);
}
.user_setting_bb {
	border-radius: 1rem;
	background-color: orange;
	padding: 0.25rem 0.5rem;
	font-size: 0.8rem;
	color: white;
	margin-right: auto;
	margin-left: auto;
	display: block;
	transition: all 0.3s ease;
	float: right;
	border: 2px solid orange;
}
.user_setting_bb:hover {
transform: scale(1.2);
}
.character_view_hed {
	background-color: #F85083;
	color: white;
	padding-top: 0.5rem;
	padding-bottom: 0.5rem;
}
.my_chara_txt {
	float: left;
	display: inline-block;
	margin: 0 0.5rem 0 1rem;
	color: white!important;
	font-size: 0.9rem;
}
.my_chara_image_box {
	position: relative;  /* 親要素に relative を設定 */
	border-radius: 0 0 1rem 1rem;
	box-sizing: border-box;
	width: 95%;
	background-color: #f4f4f4;
	margin-right: auto;
	margin-left: auto;
	text-align: center;
}
.my_chara_image_box img {
	width: 100%;
}
.info_message_box {
	border-radius: 1rem;
	width: 100%;
	background-color: white;
	padding: 1rem;
	box-shadow: 0 0 5px rgba(0, 0, 0, 0.5);
	margin-top: 0;
}
.info_message_box_of {
	overflow: hidden;
	text-align: justify;
	height: 100px;
}
.info_message_box_of_teacher {
	overflow: hidden;
	text-align: justify;
}

/*講師ページお知らせ関連*/
.touroku_box {
	width: 270px;
	float: right;
}
.oshirase_day {
	font-size: 1.1rem;
	 font-weight: 300;
	color: #555;
}
.oshirase_textarea{
	width: 100%;
	margin-left: 1rem;
	margin-bottom: 1rem;
	margin-right: 1rem;
	display: block;
	border-style: none;
	padding: 1rem;
	font-size: 1rem;
	font-weight: 300;
	color: #555;
	overflow: auto;
}
.edit_textarea{
	box-sizing: border-box!;
	border-radius: 1rem;
	background-color: #f4f4f4;
	width: 100%;
	margin-bottom: 1rem;
	display: block;
	border-style: none;
	padding: 1rem;
	font-size: 1rem;
	 font-weight: 300;
	color: #555;
	overflow: auto;
	min-height: 200px;
}


/* モダンなドロップダウンスタイル */
select[name="message_to"] {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-color: white;
  border: 2px solid #F85083;
  border-radius: 8px;
  padding: 12px 16px;
  width: 100%;
  font-size: 16px;
  color: #333;
  cursor: pointer;
  box-shadow: 0 2px 5px rgba(248, 80, 131, 0.2);
  transition: all 0.3s ease;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23F85083' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 20px;
  margin-bottom: 15px;
}

select[name="message_to"]:hover {
  border-color: #F85083;
  box-shadow: 0 4px 8px rgba(248, 80, 131, 0.3);
}

select[name="message_to"]:focus {
  outline: none;
  border-color: #F85083;
  box-shadow: 0 0 0 3px rgba(248, 80, 131, 0.25);
}

/* オプションのスタイリング (これはブラウザによって制限がありますが、一部サポートされています) */
select[name="message_to"] option {
  padding: 12px;
  background-color: white;
  color: #333;
}

select[name="message_to"] option:hover,
select[name="message_to"] option:focus,
select[name="message_to"] option:checked {
  background-color: #F85083;
  color: white;
}

/* "送信先を選択してください" のプレースホルダースタイル */
select[name="message_to"] option[hidden] {
  color: #999;
}

/* ボタンスタイルの統一 */
button.info_txt_new,
button.info_txt_new_oreng {
  background-color: #F85083;
  color: white;
  border: none;
  border-radius: 6px;
  padding: 8px 16px;
  cursor: pointer;
  font-weight: bold;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

button.info_txt_new:hover,
button.info_txt_new_oreng:hover {
  background-color: #e03968;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(248, 80, 131, 0.3);
}

/* アイコンのスペーシング */
button i {
  margin-right: 6px;
}



.t_main_table {
    /* テーブル全体を表示ブロックとして扱う */
    display: block;
    /* テーブル全体の幅を設定 */
    width: 100%;
	margin-top: 1rem;
}

.t_main_table thead {
    /* ヘッダーを表示ブロックとして扱う */
    display: block;
}

.t_main_table tbody {
    /* ボディを表示ブロックとして扱う */
    display: block;
    /* 高さを200pxに固定 */
    /* 縦方向のスクロールを有効にする */
    overflow-y: auto;
    /* 横方向のスクロールを必要な場合のみ表示 */
    overflow-x: hidden;
/*	overflow: scroll;*/
}
.system_tbl tbody{
max-height: 600px!important;
}
.sys_tr {
	width: calc(100% - 17px)!important;
	background-color: #ffffff;
}

.t_main_table thead tr,
.t_main_table tbody tr {
    /* 行を表形式で表示 */
    display: table;
    /* 行の幅を100%に設定 */
    width: 100%;
    /* テーブルレイアウトを固定 */
    table-layout: fixed;
}

/* スクロールバーの幅を考慮してヘッダーの幅を調整 */
.t_main_table thead {
    /* スクロールバーの幅（通常17px）分だけ幅を広げる */
    width: calc(100% - 17px);
}

/* セル内の長いテキストを適切に処理 */
.t_main_table td,
.t_main_table th {
    /* テキストを省略する場合は以下を追加 */
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.t_main_table thead tr.t_main_table_head{
	border-radius: 10px 10px 0 0;
	background-color: #F85083;
	height: 2rem;
	color: white;
	text-align: left;
}


/*講師ページ問題作成ページ関連
.t_main_table {
	border-radius: 0.5rem;
	width: 100%;
	padding: 0;
	margin: 0.5rem auto 1rem;
	border-style: none;
	border-spacing: 0px;
	overflow: hidden;
}
.t_main_table thead tr.t_main_table_head{
	border-radius: 10px;
	background-color: #F85083;
	height: 2rem;
	color: white;
	text-align: left;
}
.t_main_table thead th{
}

.t_main_table_body{
	padding: 0 1rem;
	text-align: center;
}*/
.t_main_table tr:nth-child(even) {
background-color: #f2f2f2; /* グレーの背景色 */
}
.t_sub_box {
	border-radius: 1rem;
	width: 100%;
	margin-right: auto;
	margin-left: auto;
	background-color: white;
	box-shadow: 0 0 5px rgba(0, 0, 0, 0.5);
	margin-top: 1rem;
}
.t_sub_box table {
	width: 100%;
}
.t_sub_box_td_title {
	margin-right: 1rem;
	width: 160px;
	text-align: right;
}
.t_sub_box_td_title p {
	text-align: right;
	padding-right: 0.5rem;
}
.t_sub_box_td_con {
	padding-left: 1rem;
}
.t_sub_box tr:nth-child(odd) {
background-color: #f2f2f2; /* グレーの背景色 */
}
.t_sub_box p {
	margin: 0;
}
.t_sub_txt_box {
	padding: 1rem;
}
/*新規問題ページ*/
.shinki_mondai_kirikae_box {
	display: inline-block;
	width: 250px;
}
.image_box {
  border-radius: 1rem;
    width: 100%;
    position: relative;
    padding-top: 75%;
    background: url(.././img/image_icon.svg) center center no-repeat #f5f5f5;
	background-size: 20%;
	margin-top: 1rem;
    text-align: center;
}
.shinki_mondai_kirikae_b {
	border-radius: 1rem!important;
	border: 2px solid #F85083!important;
	background-color: white!important;
	color: #F85083!important;
padding: 0.25rem 0.5rem!important;
	font-size: 0.8rem!important;
	transition: all 0.3s ease!important;
	display: inline-block !important;
	float: left;
margin-right: 1rem;
}
.shinki_mondai_kirikae_b_selected {
	border-radius: 1rem!important;
	border: 2px solid #F85083;
	background-color: #F85083;
	padding: 0.25rem 0.5rem!important;
	font-size: 0.8rem!important;
	transition: all 0.3s ease!important;
	display: inline-block !important;
	float: left;
	color: white;
	margin-right: 1rem;
}

.image_add_b {
	border-radius: 1rem;
	border: 2px solid #F85083!important;
	background-color: #F85083!important;
	padding: 0.25rem 0.5rem;
	font-size: 0.8rem;
	color: white;
	margin-right: auto;
	margin-left: auto;
	display: block;
	transition: all 0.3s ease;
	float: right;
	margin-top: 1rem;
}
.shinki_mondai_kirikae_b_selected :hover,.shinki_mondai_kirikae_b:hover,.image_add_b:hover {
transform: scale(1.2);
}
.sentakushi_box {
	box-sizing: border-box;
	border-radius: 10px;
	width: 100%;
	background-color: #feeef6;
	margin-top: 1rem;
	box-shadow: 0 0 5px rgba(0, 0, 0, 0.30);
}

.sentakushi_box_hed {
    border-radius: 10px 10px 0 0;
    background-color: #F85083;
    width: 100%;
	padding-left: 0.5rem;
	padding-top: 0.5rem;
	padding-bottom: 0.5rem;
}
.seikai_title {
	font-weight: bold;
	color: white;
	margin: 0;
	display: inline-block;
	width: 20%;
	text-align: center;
}
.kaitou_title {
	font-weight: bold;
	color: white;
	margin: 0;
	display: inline-block;
	width: 79%;
	text-align: center;
}
.seitou_check_box {
	box-sizing: border-box;
	width:18%;
	background-color: white;
	height: 350px;
	float: left;
	margin: 0 1% 1rem;
}
.seitou_con_box {
box-sizing: border-box;
	width: 79%;
	float: left;
margin-right: 1%;
	margin-bottom: 1rem;
}
.seitouTT {
	width: 60px;
	max-width: 60px;
	min-width: 60px;
}
.sentakushiTT {
	width: 20%;
}
.sentakushiDD {
	min-height: 3rem;
	height: 3rem;
}
/* ラジオボタンの基本スタイル */
.radio-input {
    display: none; /* デフォルトのラジオボタンを非表示 */
}

/* カスタムラジオボタン */
.radio-label {
	/* テキストとラジオボタンの間隔 */
    cursor: pointer;
    margin-right: auto; /* ラジオボタン同士の間隔 */
	display: block;
	height: 100%;
	text-align: center;
	position: relative;
	margin-left: auto;
	width: 100%;
}

/* ラジオボタンの円を作成 */
.radio-label:before {
    content: '';
	top: 50%;
    transform: translateY(-50%);
	height: 40px;
	border-radius: 0.5rem;
    background: #efefef;
	position: absolute;
	width: 40px;
	left: 50%;
	margin-right: auto;
	margin-left: auto;
}

/* 選択時の中心の丸 */
.radio-input:checked + .radio-label:after {
	background: url(../img/check-solid.svg) center center no-repeat;
    content: '';
    position: absolute;
	top: 50%;
    transform: translateY(-50%);
	

    /* 選択時の色 */
	width: 40px;
	height: 40px;
	left: 50%;
}

/* ホバー時のスタイル */
.radio-label:hover:before {
    border-color: #F85083;
}
.submit_box {
	float: left;
	margin-bottom: 1rem;
	display: inline-block;
	width: 100%;
}
.mondai_submit_b {
	border-radius: 1rem;
	border: 2px solid #F85083!important;
	background-color: #F85083!important;
	padding: 0.25rem 2rem;
	font-size: 0.8rem;
	color: white;
	margin-right: auto;
	margin-left: auto;
	display: block;
	transition: all 0.3s ease;
	float: right;
}
.mondai_cancel_b {
	border-radius: 1rem;
	border: 2px solid #F85083!important;
	background-color: white !important;
	padding: 0.25rem 2rem;
	font-size: 0.8rem;
	color: #F85083;
	margin-right: auto;
	margin-left: auto;
	display: block;
	transition: all 0.3s ease;
	float: left;
}
.mondai_submit_b:hover,.mondai_cancel_b:hover{
transform: scale(1.2);
}








/*模擬テスト管理画面*/
.mogikanri_title {
	color: #F85083!important;
}
.test_reloda {
	border-radius: 1rem;
	border: 2px solid #72c0cb !important;
	background-color: #72c0cb !important;
	padding: 0.25rem 2rem;
	font-size: 0.8rem;
	color: white;
	margin-right: auto;
	margin-left: auto;
	display: block;
	transition: all 0.3s ease;
	float: right;
}
.test_reloda:hover{
transform: scale(1.2);
}
.mogi_table_name_hed {
	width: 25%;
}
.mogi_table_name {
	width: 25%;
}
.mogi_table_suu {
	width: 15%;
}
.mogi_table_kizyun {
	width: 15%;
}
.mogi_table_sakusya {
	width: 15%;
}
.mogi_table_nitizi {
	width: 20%;
}
.sentaku_a_box {
text-align: center!important;
}
.sentaku_a_box input{
margin-right: auto;
	margin-left: 30%;
}
.mogi_table_mondaisuu {

}
.mogi_table_con {
width: 15%;
}
.mogi_table_p {
	text-align: left!important;
}
/*行のクリック反応*/
/* テーブル行の基本スタイル（theadは除外） */
.t_main_table tbody tr {
    transition: all 0.3s ease;
    cursor: pointer;
}

/* ホバー時の行全体のスタイル（theadは除外） */
.t_main_table tbody tr:hover {
    background-color: #fedede !important;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* 偶数行の背景色を維持 */
.t_main_table tbody tr:nth-child(even) {
  background-color: #f2f2f2;
}

/* チェックボックスセルのスタイル */
.checkbox-cell {
    text-align: center;
}

/* チェックボックス自体のスタイル */
.checkbox-cell input[type="checkbox"] {
    cursor: pointer;
}
.main_table tbody tr:hover {
    background-color: #fedede !important;
}

/*模擬テスト管理・新規*/
.sumi {
	background-color: #f2f2f2;
	padding: 0.5rem;
	border-radius: 0.5rem;
}
.mondai_hyouzi_box {
	padding: 0.5rem;
	border-radius: 0.5rem;
	box-shadow: 0 0 5px rgba(0, 0, 0, 0.3);
}
.sumi img {

}
.sumi_icon {
	border-radius: 0.5rem;
	background-color: #F85083;
	color: white;
	font-size: 0.9rem;
	padding-right: 0.5rem;
	padding-left: 0.5rem;
	margin-bottom: 0.5rem;
	display: block;
	float: left;
}
.mondai_kare {
	border-radius: 0.5rem;
	background-color: gray;
	color: white;
	font-size: 0.9rem;
	padding-right: 0.5rem;
	padding-left: 0.5rem;
	margin-right: 0.5rem;
	white-space: nowrap;
	display: inline-block;
	margin-top: 0.5rem;
}
.check_txt {
	font-size: 1.2rem;
	padding-top: 0.5rem;
	padding-bottom: 1rem;
	float: left;
	width: 100%;
}
.narabikae_txt {
	float: left;
	margin-top: 0;
	margin-bottom: 0;
	margin-right: 0.5rem;
}
.narabikae {
	float: left;
}
.narabikae_form {
	float: left;
}
.pick_box {
	width: 100%;
	clear: left;
}
.pick_up_b {
	border-radius: 1rem;
	border: 2px solid #F85083;
	background-color: #F85083;
	padding: 0.25rem 0.5rem;
	font-size: 0.8rem;
	color: white;
	margin-left: 0;
	transition: all 0.3s ease;
}
.pick_up_check_b{
	border-radius: 1rem;
	border: 2px solid #F85083;
	background-color: white;
	padding: 0.25rem 0.5rem;
	font-size: 0.8rem;
	margin-left: 1rem;
	float: right;
	transition: all 0.3s ease;
	color: black!important;
}
.pick_up_b:hover, .pick_up_check_b:hover{
transform: scale(1.2);
}
/*問題作成*/
.ryouiki_title {
	display: block;
	clear: left;
}
.mondaibun_kaisetu_ippan {
	max-height: 100px!important;
}


/*問題選択編集画面*/
.mondai_sendaku_nav {
	width: 95%;
	margin-right: auto;
	margin-left: auto;
	margin-bottom: 1rem;
}
.mondai_sendaku_nav_b {
	border-radius: 1rem;
	border: 2px solid #F85083;
	background-color: #F85083;
	padding: 0.25rem 0.5rem;
	font-size: 0.8rem;
	color: white;
	margin-left: 0;
	float: left;
}
.question-text {
	margin: 1rem;
}
.situation-question {
	margin: 2rem 1rem 0;
}
.mondai_no {
	font-weight: 500;
	margin-right: 0.5rem;
}
.mondai_txt {
	float: left;
	clear: left;
	padding-bottom: 0.5rem;
}
.mondai_txt2 {
	float: left;
	clear: left;
	padding-bottom: 0.5rem;
	width: 100%;
}
.mondai_txt_box {
	border-radius: 0.5rem;
	font-size: 1rem;
	border-style: none;
	background-color: #f2f2f2;
	padding: 0.5rem;
}
.mondai_txt_box2 {
	border-radius: 0.5rem;
	font-size: 1rem;
	border-style: none;
	background-color: #f2f2f2;
	padding: 0.5rem;
	width: 90% !important;
	max-width: 400px;
}
.mondai_txt_m {
	width: 100px !important;
	display: inline-block;
}

/* モダンなデザインのチェックボックス */
input[type="submit"] {
     -webkit-appearance: button;
}
.checkbox_l {
	display: inline-block;
	font-size: 1rem;
}
input[type="checkbox"] {
    appearance: none;
    -webkit-appearance: none;
	border: 2px solid #ddd;
    border-radius: 6px;
    background-color: white;
    cursor: pointer;
    position: relative;
    transition: all 0.3s ease;
	display: inline-block;
	width: 1.5rem;
	height: 1.5rem;
	float: left;
}

input[type="checkbox"]:checked {
    background-color: #4CAF50;
    border-color: #4CAF50;
}

input[type="checkbox"]:checked::before {
    content: '✓';
    position: absolute;
    color: white;
    font-size: 16px;
    font-weight: bold;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}

input[type="checkbox"]:hover {
    border-color: #4CAF50;
}

/*カリキュラム系*/
.curriculum_edit_box {
float: right;
}
.curriculum_no {
	width: 50px;
	padding: 0!important;
	text-align: center;
}
.curriculum_co {
	text-align: center;
	width: 7%;
	padding: 0 0.25rem !important;
}
.curriculum_name {
padding: 0 !important;
text-align: center;
}
.curriculum_co_main {
	text-align: center;
	width: 7%;
	padding: 0 0.25rem !important;
}
.curriculum_sakuzyo {
	width: 5%;
	padding: 0!important;
}
.henkou_b {
float: left;
margin: 0.25rem 0;
}
.curriculum_list_p {

	font-weight: 400;
	color: #555;
	text-align: center;
	margin: 0;
}
.curriculum_hnkou_box {
	width: 60px !important;
}

/*学生結果分析系*/
.select_list {
	background-color: rgba(255, 0, 0, 0.28) !important;
}
.grade_table_p {
	font-weight: 400;
	color: #555;
	text-align: center;
	margin-top: 0.5rem;
	margin-bottom: 0;
	word-break: break-all!important;
}
.grade_no {
	width: 70px;
	text-align: center;
	margin: 0!important;
	padding: 0!important;
	min-width: 70px;
}
.grade_no2 {
	width: 140px;
	text-align: center;
	margin: 0!important;
	padding: 0!important;
	min-width: 140px;
}
.grade_name {
	width: 120px;
	text-align: center;
	margin: 0!important;
	padding: 0!important;
	min-width: 120px;
}
.grade_bb {
	width: 50px;
	text-align: center;
	margin: 0!important;
	padding: 0!important;
	min-width: 50px;
}
.grade_co {
	text-align: center;
	margin: 0!important;
	padding: 0 0.25rem 0 0.25px !important;
	width: 7%;
}
.grade_co2 {
	text-align: center;
	margin: 0!important;
	padding: 0 0.25rem 0 0.25px !important;
	width: 15%;
}
.grade_co_title {
	width: 150px;
	text-align: left;
}
.grade_co_title2 {
text-align: center;
}
.grade_co_p {
text-align: center;
}
.face0_0 {
	width: 40px;
	height: 40px;
	margin: 0 auto;
	display: block;
	line-height: 40px;
	text-align: center;
	font-size: 40px;
}
.face0_30 {
	width: 40px;
	height: 40px;
	margin: 0 auto;
	display: block;
	line-height: 40px;
	text-align: center;
	font-size: 40px;
}
.face0_30 {
	width: 40px;
	height: 40px;
	margin: 0 auto;
	display: block;
	line-height: 40px;
	color: blue;
	text-align: center;
	font-size: 40px;
}
.face30_70 {
		width: 40px;
	height: 40px;
	margin: 0 auto;
	display: block;
	line-height: 40px;
	color: #ff2500;
	text-align: center;
	font-size: 40px;
}
.face70_100 {
		width: 40px;
	height: 40px;
	margin: 0 auto;
	display: block;
	line-height: 40px;
	color: orange;
	text-align: center;
	font-size: 40px;
}
.gakusei_info_title {
	display: block;
	font-size: 1.2rem;
	font-weight: bold!important;
	color: #F85083!important;
}
.gakusei_info_name_title {
	display: inline-block;
	font-size: 1rem;
	color: #F85083!important;
	margin: 0;
	width: 120px;
	float: left;
}
.gakusei_info_name {
	display: block;
	font-size: 1rem;
	margin: 0;
}
.gakusei_info_cara_title {
	display: block;
	font-size: 1.2rem;
	font-weight: bold!important;
	color: #4fb0f8 !important;
}
.gakusei_info_c_title {
	display: inline-block;
	font-size: 1rem;
	color: #4fb0f8 !important;
	float: left;
	margin: 0;
	width: 220px;
}
.kirikae_title {
	display: inline-block;
}
.kirikae_box {
	display: inline-block;
	width: 70%;
}
.kirikae_b {
	display: inline-block!important;
	margin: 0 1rem 0 0 !important;
	float: left;
}
.inline_b_selected {
	border: 2px solid #F85083!important;
	background-color: #F85083!important;
}
.inline_b {
	border: 2px solid #F85083!important;
	background-color: white!important;
	color: #F85083!important;
}
.kirikae_hist {
	display: inline-block!important;
}
.histogram_0 {
	background-color: black;
	color: white;
	display: inline-block;
	height: 30px;
	text-align: center;
	margin: 0 0 0 -3px !important;
	padding: 0;
	line-height: 30px;
	width: 100%;
}
.histogram_20 {
	background-color: rgba(0, 0, 0, 0.70);
	color: white;
	display: inline-block;
	height: 30px;
	text-align: center;
	margin: 0 0 0 -3px !important;
	padding: 0;
	line-height: 30px;
	width: 100%;
}
.histogram_40 {
	background-color: rgba(0, 0, 0, 0.50);
	color: white;
	display: inline-block;
	height: 30px;
	text-align: center;
	margin: 0 0 0 -3px !important;
	padding: 0;
	line-height: 30px;
	width: 100%;
}
.histogram_60 {
	background-color: rgba(0, 0, 0, 0.30);
	color: white;
	display: inline-block;
	height: 30px;
	text-align: center;
	margin: 0 0 0 -3px !important;
	padding: 0;
	line-height: 30px;
	width: 100%;
}
.histogram_80 {
	background-color: rgba(0, 0, 0, 0.10);
	display: inline-block;
	height: 30px;
	text-align: center;
	margin: 0 0 0 -3px !important;
	padding-top: 0;
	padding-right: 0;
	padding-bottom: 0;
	line-height: 30px;
	width: 100%;
}
.histogram_100 {
	background-color: white;
	display: inline-block;
	height: 30px;
	text-align: center;
	margin: 0 0 0 -3px !important;
	padding: 0;
	line-height: 30px;
	width: 100%;
}
.list_icon {
	width: 30px!important;
	height: 30px!important;
}

/*試験問題解析*/
.mogishiken_title {
	margin: 0!important;
	text-align: center;
	width: 40%;
}
.mogishiken_saikou {
	margin: 0!important;
	text-align: center;
	width: 20%;
}
.mogishiken_heikin {
	margin: 0!important;
	text-align: center;
	width: 20%;
}
.mogishiken_btn {
	margin: 0!important;
	text-align: center;
	width: 20%;
}
.sentakushi_td {
padding: 0!important;
width: 12%;

}
.mogishiken_no_title {
	text-align: center;
	padding: 0!important;
	width: 50px !important;
}
.mogishiken_seitouritu_title {
	text-align: center;
	width: 60px;
	padding: 0!important;
}
.mogishiken_mondai_title {
	text-align: center;
	padding: 0 .25rem !important;
	width: 20%;
}
.mogishiken_par {
	text-align: center;
	width: 10px!important;
	padding: 0px!important;
}
.mogishiken_pa_set {
	background-color: rgba(250, 80, 130, 0.05);
	250 80 130 / 5%
}
.battery_box {
	width: 95%;
	margin: 2rem auto 1rem;
}
/*ユーザー設定関連*/
.user_main_box {
	box-sizing: border-box;
	width: 98%;
	margin-right: auto;
	margin-left: auto;
}
.user_setting_table {
	max-width: 1000px;
	box-shadow: 0 0 5px rgba(0, 0, 0, 0.2);
}
.user_setting_tr {
	line-height: 2.3rem;
}
.user_setting_th {
	text-align: right;
	width: 50%;
}
.p-region,.p-street-address,.p-extended-address,.p-postal-code {
	border-radius: 0.5rem;
	margin-right: auto;
	margin-left: auto;
	width: 95%;
	max-width: 200px;
	display: block;
	border-style: none;
	box-shadow: 0 0 3px rgba(0, 0, 0, 0.50);
	font-size: 1rem;
	padding: 0.5rem;
	float: left;
}
.user_setting_pass,.user_setting_name {
	border-radius: 0.5rem;
	margin-right: auto;
	margin-left: auto;
	width: 95%;
	max-width: 200px;
	display: block;
	border-style: none;
	box-shadow: 0 0 3px rgba(0, 0, 0, 0.50);
	font-size: 1rem;
	padding: 0.5rem;
	float: left;
}
.user_setting_id {
padding-left: 0.5rem;
}

select[name="user_schoolclass"] {
    border-radius: 0.5rem;
    margin-right: auto;
    margin-left: auto;
    width: 95%;
    max-width: 200px;
    display: block;
    border-style: none;
    box-shadow: 0 0 3px rgba(0, 0, 0, 0.50);
    font-size: 1rem;
    padding: 0.5rem;
    float: left;
    /* セレクトボックス特有の追加スタイル */
    appearance: none;  /* デフォルトの矢印を消す */
    background-color: white;
    background-image: url("data:image/svg+xml;utf8,<svg fill='black' height='24' viewBox='0 0 24 24' width='24' xmlns='http://www.w3.org/2000/svg'><path d='M7 10l5 5 5-5z'/></svg>");
    background-repeat: no-repeat;
    background-position: right 0.5rem center;
    background-size: 1.5em;
    padding-right: 2rem;  /* 矢印アイコンのためのスペース */
    cursor: pointer;
}

.user_setting_seito_name {
	text-align: left!important;
}


/* ホバー時の見た目 */
select[name="user_schoolclass"]:hover {
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.60);
}

/* フォーカス時の見た目 */
select[name="user_schoolclass"]:focus {
    outline: none;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.60);
}
.user_setting_b_wapper {
	width: 98%;
	max-width: 1000px;
	margin-right: auto;
	margin-left: auto;
}
.user_setting_b {
	padding-right: 2rem;
	padding-left: 2rem;
	float: right;
}
.user_setting_seito_table {
	margin-top: 2rem;
}
.user_setting_seito_table th{
	text-align: center;
	padding: 0!important;
}
.user_setting_seito_table td{
	text-align: center;
	padding: 0!important;
}

/*adminページ*/
.admin_table_p {
	font-weight: 400;
	color: #555;
	text-align: right;
	word-break: break-all!important;
}
.admin_table_p2 {
	font-weight: 400;
	color: #555;
	text-align: left;
	word-break: break-all!important;
	margin-left: 1rem;
}
.main_table_admin {
	 border-radius: 1rem;
	 padding: 0;
	margin-top: 0;
	margin-right: auto;
	margin-left: auto;
	border-style: none;
	border-spacing: 0px;
	overflow: hidden;
	box-shadow: 0 0 5px rgba(0, 0, 0, 0.5);
	width: 100%;
}
.admin_edit_th {
	width: 10%;
}

.main_table_admin tbody tr:nth-child(even) {
  background-color: #f2f2f2!important;
  transition: background-color 0.3s ease;
}
.admin_setting{
	color: #555;
	border-radius: 0.5rem;
	margin-right: auto;
	margin-left: auto;
	width: 95%;
	max-width: 400px;
	display: block;
	border-style: none;
	box-shadow: 0 0 3px rgba(0, 0, 0, 0.50);
	font-size: 1rem;
	padding: 0.5rem;
	float: left;
}
.admin_setting_b_wapper {
	width: 98%;
	margin-right: auto;
	margin-left: auto;
}
.main_table_admin thead tr.main_table_head{
	border-radius: 10px;
	background-color: #F85083;
	height: 3rem;
	color: white;
	text-align: left;
}
.del_b_admin {
	border-radius: 1rem;
	border: 2px solid #F85083;
	background-color: #F85083;
	padding: 0.25rem 0.75rem;
	font-size: 0.8rem;
	margin-left: auto;
	color: white;
	transition: all 0.3s ease;
	margin-right: auto;
	display: block;
}
.edit_admin_b {
	border-radius: 1rem;
	border: 2px solid orange!important;
	background-color: orange!important;
	padding: 0.25rem 0.75rem;
	transition: all 0.3s ease;
	display: block;
	color: white;
	font-size: 0.8rem;
	margin-right: auto;
	margin-left: auto;
}
.del_b_admin:hover,.edit_admin_b:hover{
transform: scale(1.2);
}






/*ページネーション関係 */
#pagination_box {
	margin-right: auto;
	margin-left: auto;
	margin-top: 1rem;
	clear: left;
	display: flex;
    justify-content: center;
    align-items: center;
    width: fit-content;
    margin: 1rem auto;
}
#pagination_box form {
    display: inline-block;
    margin: 0 0.2em;
}

.top1 {
    display: inline-block;
    margin: 0 0.5em;
    padding: 0 0.5rem;
    background-color: white;
    color: #F85083 !important;
    font-size: 1rem;
    font-weight: bold !important;
    /* floatを削除 */
}

.page_nation_no {
    margin: 0;
    border-style: none;
    background-color: #f1f1f1;
    /* floatを削除 */
}

.page_nation_no_dot {
    margin: 0 0.5em;
    display: inline-block;
    /* floatを削除 */
}




/*サーチページレイアウト*/
.select_b {
	background-color: #F85083!important;
	color: white!important;
}
.select_count_h3 {
	display: block !important;
	float: left!important;
}
.select_count_h4 {
	display: inline-block!important;
	float: left!important;
}
.select_count {
	color: gray !important;
	display: inline-block;
	float: left;
	margin: 0;
	font-size: 1.2rem;
}
.hyouzizyun_txt {
	color: #F85083;
	display: inline-block;
	float: left;
	font-size: 1.1rem;
	margin-top: 0.6rem;
	margin-bottom: 0.7rem;
}
select[name="sort_flg"] {
    border-radius: 0.5rem;
    margin-right: auto;
	margin-top: 0.4rem;
	width: 95%;
    max-width: 100px;
    display: block;
    border-style: none;
    box-shadow: 0 0 3px rgba(0, 0, 0, 0.50);
	float: left;
    /* セレクトボックス特有の追加スタイル */
    appearance: none;  /* デフォルトの矢印を消す */
    background-color: white;
    background-image: url("data:image/svg+xml;utf8,<svg fill='black' height='24' viewBox='0 0 24 24' width='24' xmlns='http://www.w3.org/2000/svg'><path d='M7 10l5 5 5-5z'/></svg>");
    background-repeat: no-repeat;
    background-position: right 0.5rem center;
    background-size: 1.5em;
    /* 矢印アイコンのためのスペース */
    cursor: pointer;
	padding: 0.4rem;
	margin-left: 0.5rem;
	font-size: 0.9rem;
}

select[name="target_student_grade"] {
    border-radius: 0.5rem;
    margin-right: auto;
    margin-top: 0.4rem;
    width: 100%;
    max-width: 150px;
    display: block;
    border-style: none;
    box-shadow: 0 0 3px rgba(0, 0, 0, 0.50);
    float: left;
    /* セレクトボックス特有のスタイル */
    appearance: none;
    background-color: white;
    background-image: url("data:image/svg+xml;utf8,<svg fill='black' height='24' viewBox='0 0 24 24' width='24' xmlns='http://www.w3.org/2000/svg'><path d='M7 10l5 5 5-5z'/></svg>");
    background-repeat: no-repeat;
    background-position: right 0.5rem center;
    background-size: 1.5em;
    cursor: pointer;
    padding: 0.4rem;
    margin-left: 0.5rem;
    font-size: 0.9rem;
}
select[name="question_field"] {
    border-radius: 0.5rem;
	margin-top: 0.4rem;
	margin-left: 0.5rem;
	display: block;
    border-style: none;
    box-shadow: 0 0 3px rgba(0, 0, 0, 0.50);
    float: left;
    /* セレクトボックス特有のスタイル */
    appearance: none;
    background-color: white;
    background-image: url("data:image/svg+xml;utf8,<svg fill='black' height='24' viewBox='0 0 24 24' width='24' xmlns='http://www.w3.org/2000/svg'><path d='M7 10l5 5 5-5z'/></svg>");
    background-repeat: no-repeat;
    background-position: right 0.5rem center;
    background-size: 1.5em;
    cursor: pointer;
	padding: 0.4rem 1.5rem 0.4rem 0.8rem;
	font-size: 0.9rem;
	margin-right: 0.5rem;
}
.test_cate_box {
	float: left;
	width: 195px;
	margin-top: 0.5rem;
	margin-bottom: 0.5rem;
}
.search_area_box {
	width: 100%;
	border-radius: 1rem;
	padding: 1rem;
	box-shadow: 0 0 3px rgba(0, 0, 0, 0.40);
}
.search_area_field {
	border-bottom: 1px solid #F85083;
	margin-right: auto;
	margin-left: auto;
	display: block;
	margin-bottom: 1rem;
	padding-bottom: 0.5rem;
	width: 100%;
}
.search_area_title {
	color: #F85083;
	font-weight: normal;
	font-style: normal;
}
.search_b_box {
	margin-bottom: 0.5rem;
	text-align: right;
	float: right;
	width: 270px;
	margin-top: 0.5rem;
}
.search_title_p {
	font-size: 1.3rem;
	margin: 0 1rem 0 0;
	float: left;
	clear: both;
	display: inline-block;
}
.search_area_check {
	display: inline-block;
	margin-left: 1rem;
	margin-top: 0.25rem;
	margin-bottom: 0.25rem;
	float: left;
}
.input_checkbox {
	float: left!important;
	display: inline-block!important;
	margin-left: 0.25rem;
}
.search_area_check_txt {
	display: inline-block;
	margin-top: 0.25rem;
	margin-bottom: 0.25rem;
	float: left;
}
.search_kazu {
	margin: 0 0 0.5rem;
}
.kanri_p {
	display: inline-block;
	margin-bottom: 1rem!important;
}
.kaizyo {
	display: inline-block;
	float: right;
}
.shinkii_b {
	border-radius: 1rem;
	border: 2px solid orange!important;
	background-color: orange!important;
	padding: 0.25rem 0.75rem;
	transition: all 0.3s ease;
	display: inline-block;
	float: right;
	color: white;
	font-size: 0.8rem;
	height: 31px;
}
.shinkii_b2 {
	border-radius: 1rem;
	border: 2px hidden transparent !important;
	padding-right: 0.75rem;
	padding-left: 0.75rem;
	transition: all 0.3s ease;
	display: block;
	color: white;
	font-size: 0.8rem;
	float: right;
	margin: 0;
	height: 31px !important;
	background-color: transparent;
}
.hensyu_txt {
font-size: 0.85rem;
bottom: -1px;
position: relative;
}
.shinkii_b_non {
	border-radius: 1rem;
	border-style: none;
	padding: 0.25rem 0.5rem;
	font-size: 0.8rem;
	transition: all 0.3s ease;
	display: inline-block;
	float: right;
	color: gray;
	background-color: white;
}
.shinkii_b:hover,.shinkii_b_non:hover{
transform: scale(1.2);
}
.question_number {
	float: left;
	margin-right: 1rem;
	font-weight: bold;
}
.t_main_table p {
	margin-top: 0;
	margin-bottom: 0;
}
.tag1 {
	display: inline-block;
	float: left;
	background-color: #fbd5d9;
	color: #ea2d41;
	padding-right: 0.5rem;
	padding-left: 0.5rem;
	margin-right: 0.5rem;
}
.table10{
}
.tag2 {
	display: inline-block;
	float: left;
	background-color: #d4effb;
	color: #00a7f2;
	padding-right: 0.5rem;
	padding-left: 0.5rem;
	margin-right: 0.5rem;
}
.tag3 {
	display: inline-block;
	float: left;
	background-color: #fbdd9d;
	color: #e34601;
	padding-right: 0.5rem;
	padding-left: 0.5rem;
	margin-right: 0.5rem;
}
.tag4 {
	display: inline-block;
	float: left;
	background-color: #8cfba0;
	color: #009b1b;
	padding-right: 0.5rem;
	padding-left: 0.5rem;
	margin-right: 0.5rem;
}
.touroku_day {
	color: #777;
	margin-right: 1rem;
	margin-bottom: 0.5rem;
	display: inline-block;
}
.touroku_organization {
	color: #777;
	margin-right: 1rem;
	margin-bottom: 0.5rem;
	display: inline-block;
}
.touroku_user {
	color: #777;
	margin-right: 1rem;
	margin-bottom: 0.5rem;
	display: inline-block;
}
.dokuzi_edit_box {
	float: right;
	display: block;
}
.check_reset_b {
	border-radius: 1rem;
	border: 2px solid #F85083;
	background-color: white;
	padding: 0.25rem 0.5rem;
	font-size: 0.8rem;
	margin-left: 1rem;
	float: right;
	transition: all 0.3s ease;
	color: black;
}
.check_reset_b_admin {
	border-radius: 1rem;
	border: 2px solid #F85083;
	background-color: white;
	padding: 0.25rem 0.5rem;
	font-size: 0.8rem;
	transition: all 0.3s ease;
	color: black;
	margin-left: auto!important;
	margin-right: auto!important;
	display: block;
}
.check_reset_b_non_m {
	margin-left: auto !important;
	display: block!important;
	margin-right: 0.25rem!important;
}
.check_reset_b_non_m2 {
	margin-left: auto !important;
	margin-right: auto!important;
	text-align: center!important;
	display: block;
	float: none;
}
.search_b {
	border-radius: 1rem;
	border: 2px solid #F85083;
	background-color: #F85083;
	padding: 0.25rem 0.5rem;
	font-size: 0.8rem;
	margin-left: 1rem;
	color: white;
	transition: all 0.3s ease;
}
.mondaitsuika_b {
	border-radius: 1rem;
	border: 2px solid #F85083;
	background-color: #F85083;
	padding: 0.25rem 0.5rem;
	font-size: 0.8rem;
	margin-left: 1rem;
	color: white;
	transition: all 0.3s ease;
	float: right;
}

.seikai_gyou {
	border-radius: 0.25rem;
	background-color: #fbd5d9;
	float: left;
	width: 100%;
	margin-top: 0;
	padding-top: 0.25rem;
	padding-right: 0.25rem;
	padding-bottom: 0.25rem;
}
.seikai_p {

	font-size: 0.8rem;
	margin-left: 1rem;
	color: #d40000;
	white-space: nowrap;
	display: inline-block;
	float: right;
}
.search_b:hover, .check_reset_b:hover{
transform: scale(1.2);
}

#hero {
    border-radius: 5px;
    text-align: center;
    padding: 4rem 1rem;
    margin-bottom: 2rem;
	margin-right: 1rem;
	background-color: white;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.30);
	margin-left: 1rem;
}

/* 2コラムと3コラムレイアウトの調整 */
#two-column, #three-column {
    display: flex;
    justify-content: space-between;
	margin-right: auto;
	margin-left: auto;
	flex-wrap: wrap;
	width: 98%;
}

.column {
    flex: 1;
    margin-bottom: 1rem;
    min-width: 200px;
    padding-top: 0;
    padding-bottom: 0;
    box-sizing: border-box;

}

.column img {
    max-width: 100%;
    height: auto;
}
.column p,#one-two-layout p,#two-one-layout p,#hero p ,#editor p{
    font-weight: 400;
	color: #555;
}
.honbun {
	line-height: 2rem;
	text-align: left;
	clear: both;
}
#one-layout {
	justify-content: space-between;
    margin-bottom: 2rem;
	margin-left: 1rem;
	flex-wrap: wrap;
	margin-right: 1.25rem;
}
/* 1:2（横3分割）レイアウトの調整 */
#one-two-layout {
    display: flex;
    justify-content: space-between;
    margin-bottom: 2rem;
	margin-right: 1rem;
	flex-wrap: wrap;
	margin-left: 1rem;
}

#one-two-layout .column-1-3 {
    flex: 1;
    padding-right: 0.5rem;
    box-sizing: border-box;
}

#one-two-layout .column-2-3 {
    flex: 2;
	box-sizing: border-box;
}
#one-two-layout .column-2-3_3 {
    flex: 2;
	box-sizing: border-box;
}

/* 2:1（横3分割）レイアウトの調整 */
#two-one-layout {
    display: flex;
    justify-content: space-between;
    margin-bottom: 2rem;
	margin-right: 1rem;
	flex-wrap: wrap;
	margin-left: 1rem;
}

#two-one-layout .column-2-3_3 {
    flex: 2;
	box-sizing: border-box;
	margin-left: 1rem;
	padding-right: 1rem;
}

#two-one-layout .column-2-3 {
    flex: 2;
    padding-right: 0.5rem;
    box-sizing: border-box;
}

#two-one-layout .column-1-3 {
    flex: 1;
    padding-left: 0.5rem;
    box-sizing: border-box;
}

/* 共通スタイル */
#one-two-layout .column-1-3,
#one-two-layout .column-2-3,
#two-one-layout .column-1-3,
#two-one-layout .column-2-3 {
    min-width: 200px;
    margin-bottom: 1rem;
}

#one-two-layout img,
#two-one-layout img {
    max-width: 100%;
    height: auto;
}

/* フッターのスタイル */
footer {
    background-color: #F85083;
    color: white;
    text-align: center;
    margin-top: auto;
    width: 100%;
    box-sizing: border-box;
    padding: 0.5rem;
}
footer p {
    margin: 0;
}

/* エディターセクションのスタイル */
#editor {
    margin-bottom: 2rem;
	margin-right: auto;
	width: 98%;
	margin-left: auto;
}

#editor h2 {
    margin-bottom: 1rem;
}

/* TinyMCEエディターのスタイル */
.tox-tinymce {
    border: 1px solid #F85083;
    border-radius: 4px;
}

/* 保存ボタンのスタイル */
#editor button[type="submit"] {
    color: white;
	border-radius: 0.5rem;
    cursor: pointer;
    transition: background-color 0.3s ease;
    font-size: 1rem;
	transition: all 0.3s ease;
}

#editor button[type="submit"]:hover {
    background-color: #fbc0d2;
	transition: all 0.3s ease;
}

/*レーダーチャート用*/
.chart-container {
    width: 100%;
    max-width: 800px;
}
.aspect-ratio-box {
    position: relative;
    width: 100%;
    padding-top: 100%; /* 1:1 アスペクト比 */
}
.aspect-ratio-box-inside {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* レスポンシブデザイン */
@media screen and (max-width: 768px) {
    .nav-links {
        position: fixed;
        right: -100%;
        height: 100vh;
        top: 0;
        background-color: #333;
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 100%;
        transition: right 0.5s ease-in;
        padding-top: 60px;
    }

    .nav-links li {
        opacity: 0;
        margin: 1rem 0;
    }

    .burger {
        display: block;
        position: absolute;
        right: 1rem;
        z-index: 2;
    }

    #two-column, #three-column,
    #one-two-layout, #two-one-layout {
        flex-direction: column;
    }

    .column,
    #one-two-layout .column-1-3,
    #one-two-layout .column-2-3,
    #two-one-layout .column-1-3,
    #two-one-layout .column-2-3 {
        padding: 0 1rem;
        margin-bottom: 1rem;
        width: 100%;
    }
	
	#one-layout {
	justify-content: space-between;
    margin-bottom: 2rem;
	margin-right: 1.5rem;
	flex-wrap: wrap;
	margin-left: 1.5rem;
}

    #editor {
        padding: 0;
    }

    .chart-container {
        max-width: 100%;
    }
	.character_view_inn_box {
	float: left;
	display: inline-block;
	width: 50%;
}
}

/* その他のスタイル */
.nav-active {
    right: 0;
}

@keyframes navLinkFade {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0px);
    }
}

.toggle .line1 {
    transform: rotate(-45deg) translate(-5px,6px);
}

.toggle .line2 {
    opacity: 0;
}

.toggle .line3 {
    transform: rotate(45deg) translate(-5px,-6px);
}

body.no-scroll {
    overflow: hidden;
}

/*モーダル*/
/* モーダルのスタイル */
/* キャラクター表示のレイアウト */
.character_view_inn_box {
    position: relative;
    text-align: center;
}

/* 画像コンテナ */
.image-container {
    position: relative;
    overflow: visible;
    z-index: 1;
    margin-bottom: 10px; /* ボタンとの間隔 */
}

/* 画像の基本スタイル */
.character-image {
    display: block;
    max-width: 100%;
    height: auto;
    cursor: pointer;
}

/* ホバーアニメーション */
.chara_move {
    transition: all 0.3s ease;
    transform-origin: center center;
}

.chara_move:hover {
    transform: scale(1.1);
    z-index: 2; /* 拡大時に他の要素の上に表示 */
}

/* ボタンのスタイル */
.character_view_b {
    position: relative;
    z-index: 1;
}

/* モーダル関連の既存スタイル */
.modal {
    z-index: 1000; /* 必ず画像のホバー効果より上に表示されるように */
}

.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
}

.modal-content {
    position: relative;
    background-color: #fefefe;
    margin: 15% auto;
    padding: 20px;
    border: 1px solid #888;
    width: 80%;
    max-width: 500px;
    border-radius: 5px;
}

.close {
    position: absolute;
    right: 10px;
    top: 5px;
    color: #aaa;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
}

.close:hover {
    color: black;
}

.character-image {
    cursor: pointer;
}

.modal-submit {
    margin-top: 15px;
    padding: 10px 20px;
    background-color: #4CAF50;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

.modal-submit:hover {
    background-color: #45a049;
}
