@charset "UTF-8";
/* ===== 名進研実力テスト ===== */
.proficiency-box {
	border: 3px solid #ddd;
	padding: 20px 10px;
	text-align: center;
	margin-bottom: 50px;
}

.proficiency-box strong {
	font-size: 120%;
}

.red {
	color: rgb(255, 0, 0);
}

.archive_menu_box {
	border: 3px solid #eee;	
	padding: 10px;
	text-align: center;
}

.examcontact-bt {
	margin: 20px 0 70px;
	text-align: center;
}

.examcontact-bt a {
	padding: 30px 20px;
	color: #fff;
	background-color: #d31e1e;
	text-decoration: none;share_box 
}

.examcontact-bt a:link {
	color: #fff;
}

.examcontact-bt a:visited {
	color: #fff;
}

.examcontact-bt a i {
	margin-right: 3px;
}

.share_wrap {
	margin: 10px 0;
	padding: 10px 0;
	
}

.share_box  {
	width: 940px;
}

.box_l_01 {
	float: left;
	width: 600px;
}

.box_r_01 {
	float: right;
}

/* 日程などのテーブル */
.agenda-table {
	width: 100%;
}

.agenda-th th {
	background-color: #eee;
	text-align: center;
	width: auto!important;
}

.agenda-th th:last-child {
	width: 30%!important;
}

.agenda-table tr th:first-child {
	width: auto!important;
	text-align: center;
}

.agenda-table tr td {
	vertical-align: middle;
	text-align: center;
}

/* 教科のテーブル */
.subject-table {
	width: 100%!important;
}

.subject-th th {
	background-color: #eee;
	text-align: center!important;
	width: auto!important;
}

.subject-table tr th:first-child {
	width: 15%!important;
	text-align: center!important;
}

.subject-table tr td:last-child {
	width: auto!important;
}

.subject-table tr td {
	vertical-align: middle!important;
	text-align: center!important;
}

/* 出題範囲 */
.tdleft-table {
	width: 100%;
}

.tdleft-table tr th {
	background-color: #eee;
	text-align: center;
	width: 17%!important;
	text-align: center;
}

.tdleft-table tr td {
	vertical-align: middle;
	text-align: left;
}

/* お問い合わせ */
.examcontact-table {
	width: 100%;
}

.examcontact-table tr th {
	background-color: #fafafa;
	text-align: center;
}

.examcontact-table tr td:first-child {
	width: 9%!important;
	
}

.examcontact-table tr td {
	text-align: center;
	vertical-align: middle!important;
}

.right_img img {    
	float: right;
    clear: right;
    margin: 0 0 0.8em 1.5em;
    padding: 0;
}

.right_img {
	border: 3px solid #ddd;
	padding: 10px 10px; 
	width: 80%;
	margin: 0 auto; 
}

.tab_box {
	width: 100%;
	margin-bottom: 30px;
}

.tab_box dt {
	background-color: #d31e1e;
	padding: 10px;
	color: #fff;
	display: inline-block;
}

.tab_box dd {
	border: 2px solid #d31e1e;
	background-color: #FFE3E3;
	padding: 10px;
}

.table-left tr th {
	text-align: left!important;
}

.table-left tr td {
	text-align: left!important;
}

/* クラス名をつけて指定ください。 */
.fixed-7 tr th {
	width: 14%!important;
}

/* 幅768px以下から
------------------------------------------------------------*/
@media only screen and (max-width: 768px) {

.examcontact-bt	{
	width: 100%;
	margin-bottom: 5%;
}
	
.examcontact-bt a {
    padding: 5% 2%;
	width: 90%;
	display: block;
	margin: 0 auto 5%;
}
	
.share_wrap {
	margin: 1% 0;
	padding: 1% 0;
	
}

.share_box  {
	width: 100%;
}

.box_l_01 {
	float: none;
	width: 100%;
}

.box_r_01 {
	float: none;
	margin-top: 2%;
	text-align: center;
}

.right_img {
	border: 3px solid #ddd;
	padding: 1% 1%; 
	width: 100%;
	margin: 0 auto; 
}
	
.right_img img { 
    padding: 0 10%;
	width: 90%;
	float: none;
}
	
.agenda-table, .subject-table, .tdleft-table {
	font-size: 65%!important;	
}
	
.agenda-table tr td, .subject-table tr td, .tdleft-table tr td {
	padding: 3px;
}
	
.agenda-table tr th, .subject-table tr th, .tdleft-table tr td {
	padding: 3px;
}
	
	
}

/* ===== 講習LP用 ===== */

table.week7days {
	background: #fafafa;
	text-align: center;
	width: 10% !important; 
}
.grid-title-m2 {
	padding: 15px 0 15px;
	font-size: 26px;
	border: 1px solid #d31e1e;
	background-color: #d01111;
	color: #fff;
	text-align: center;
	width: 600px;
	margin: 0 auto 50px;
}

.grid-title2 {
	padding: 15px 0 15px;
	font-size: 26px;
	border: 1px solid #d31e1e;
	background-color: #d01111;
	color: #fff;
	text-align: center;
	margin-bottom: 30px;
}
