@charset "utf-8";

@media all{

/* header
=============================================*/
#header_wrp #header{
	width:910px;
	margin:0 auto;
}

#header_wrp #header .logo{
	position: relative;
	/*overflow:hidden;*/
	height: 30px;
	padding:9px 0;
	font-size:125%;
	font-weight:bold;
}

#header_wrp #header .logo p{
	float:left;
	margin: 5px 15px 0;
}

#header_wrp #header .logo h1{
	float:left;
}

#header_wrp #header .logo h1 img{
	height: 30px;
}

.link_block_wrap {
	position: absolute;
	z-index: 5;
	right: 0;
	top: 55px;
	border: 2px solid #3fa9f5;
	background: #fff;
	font-weight: bold;
}

.link_block_wrap a{
  display: none;
  position: relative;
  padding: 3px 27px 0 7px;
  font-size: 18px;
  line-height: 1.1;
}

.link_block_wrap a:after{
  content: "";
  height: 16px;
  width: 16px;
  background: url(../images/nav_arrow_disc01.svg);
  background-size: 16px 16px;
  position: absolute;
  right: 6px;
  top: 50%;
  transform: translate(0,-50%);
}

#kokugo .link_block_wrap a.upper_grade_kokugo,
#syakai .link_block_wrap a.upper_grade_shakai,
#math .link_block_wrap a.upper_grade_sugaku,
#science .link_block_wrap a.upper_grade_rika,
#syodo .link_block_wrap a.upper_grade_shodo,
#eigo .link_block_wrap a.upper_grade_eigo,
#katei .link_block_wrap a.upper_grade_katei,
#joho .link_block_wrap a.upper_grade_joho,
#hs1 .link_block_wrap a.upper_grade_top {
  display: block;
}

.link_block_wrap .nav_text_new {
	color: #3fa9f5;
}

/* title
-------------------------- */
.title_wrp{
	padding: 1px 0 0;
	background: #0071bc;
}

.title_wrp .title{
	position:relative;
	border-top: 1px solid #0098ed;
	border-bottom: 1px solid #005e87;
}

.title_wrp .title p{
	width:910px;
	height:57px;
	margin:0 auto;
	line-height:61px;
	letter-spacing: 0.05em;
	font-size:160%;
	font-weight:bold;
	color:#ffffff;
}
.ie7 .title_wrp .title p{
	line-height:37px;
}

.title_wrp .title .title_img{
}

/* text
-------------------------- */
.text_wrp{
	background:url(../images/text_wrp_bg.gif) repeat center top;
}

.text_wrp .text{
	width:930px;
	margin:0 auto;
	padding:15px 0 15px;
}

.text_wrp .text p.title_img{
	margin: 0;
}

.text_wrp .text p.title_img_sp{
	display: none;
}

.text_wrp .text .text_box{
	margin: 0 auto;
	width:910px;
	font-size: 89%;
	line-height:1.6em;
}


/* main
=============================================*/
#main{
	width:910px;
	margin:20px auto;
	overflow:hidden;
}

#main ul{
	overflow:hidden;
	width:910px;
	margin:0 auto;
}

.ie7 #main ul{
	width:932px;
}

#main ul:first-child{
	margin-bottom:30px;
}

/* btn1
--------------------- */
#main ul li{
	float:left;
	font-size:21px;
	font-weight:bold;
	width:208px;
	height:72px;
	line-height:76px;
	text-indent:72px;
	margin:23px 23px 0 0;
	border: 1px solid #005e87;
	border-radius: 2px;
	behavior: url(/text/hs/common/js/PIE.htc);
}
.ie7 #main ul li,
.ie8 #main ul li{
	line-height:72px;
}

#main ul li:nth-child(4),
#main ul li:nth-child(8){
	margin-right:0px;
}
.ie7 #main ul li:nth-child(4){
	margin-right:23px;
}
.ie7 #main ul li:nth-child(8),
.ie7 #main ul li:nth-child(16),
.ie8 #main ul li:nth-child(8),
.ie8 #main ul li:nth-child(16){
	margin-right:0px;
}

#main ul li a{
	width:208px;
	height:70px;
	display:block;
	background:url(../images/btn_arrow_disc.gif) no-repeat 178px center #0071bc;
	border-top: 1px solid #0098ed;
	border-bottom: 1px solid #005e87;
	color: #fff;
	letter-spacing: 0.3em;
}

#main ul li a:hover{
	opacity:0.7;
	filter: alpha(opacity=70);
	-webkit-transition: opacity 0.2s ease-in-out;
	-moz-transition: opacity 0.2s ease-in-out;
	transition: opacity 0.2s ease-in-out;
	behavior: url(/text/hs/common/js/PIE.htc);
}

/* btn2 
-------------------*/
#main ul .btn2{
	text-indent:46px;
}
.ie8 #main ul .btn2{
	margin-right: 23px;
}

#main ul .btn2 a{
	width:208px;
	height:70px;
	display:block;
	background:url(../images/btn_arrow_disc.gif) no-repeat 178px center #0071bc;
	letter-spacing: 0;
}

#main ul .btn2 a:hover{
	width:208px;
	height:70px;
	display:block;
}

/* middle_wrp 
=============================================*/
#middle_wrp {
	padding: 20px 0;
	background-color: #f5f4ee;
}

#middle_wrp a:hover{
	opacity:0.7;
	filter: alpha(opacity=70);
	-webkit-transition: opacity 0.2s ease-in-out;
	-moz-transition: opacity 0.2s ease-in-out;
	transition: opacity 0.2s ease-in-out;
}

/* btn3
------------------ */
#middle_wrp .btn3{
	width:440px;
	margin:0 auto ;
	overflow:hidden;
	letter-spacing: 0.2em;
}

#middle_wrp .btn3 p{
	margin: 0;
	font-size: 120%;
	font-weight: bold;
	line-height: 1.5em;
}

#middle_wrp .btn3 p a{
	display: block;
	padding: 13px 0 13px 62px;
	background-color: #fff;
	border:1px solid #bfbfbf;
}

#middle_wrp .btn3 p span{
	margin: 0 20px 0 0;
}

#middle_wrp .btn3 p span.cap{
	letter-spacing: 0.55em;
}

#middle_wrp .btn3 p:first-child{
}

#middle_wrp .btn3 p:last-child{
}

#middle_wrp .btn3 p:first-child a{
	border-top:6px solid #134eb1;
}

#middle_wrp .btn3 p:last-child a{
	border-top:6px solid #35b84a;
}

#middle_wrp .btn3 p:first-child span.cap{
	color: #0097e0;
}

#middle_wrp .btn3 p:last-child span.cap{
	color: #35b84a;
}


/* contact 
=============================================*/
#contact_wrp{
	padding: 32px 0;
	background:url(../common/images/contact_bg.gif) repeat-x;
	border-top:5px solid #134eb1;
}

#contact_wrp #contact{
	width:910px;
	margin:0 auto;	
}

#contact_wrp #contact h3{
	padding:8px 0 8px 0;
	font-size:14px;
	font-weight:bold;
	color:#ffffff;
	text-align: center;
}

#contact_wrp #contact .contact_box{
	overflow:hidden;
	width:904px;
	margin:0 auto;
	padding:28px 0;
	background-color: #fff;
	border: 3px solid #e5e1da;
}

#contact_wrp #contact .contact_box .contact_right{
	width:340px;
	margin:0 auto;
}

#contact_wrp #contact .contact_box .contact_right p{
	margin:0;
}

#contact_wrp #contact .contact_box .contact_right a{
	display: inline-block;
	padding: 10px 0;
	width: 340px;
	background-color: #ff9433;
	border-radius: 3px;
	color: #fff;
	font-size: 120%;
	font-weight: bold;
	text-align: center;
}

#contact_wrp #contact .contact_box .contact_right a i{
    position: relative;
    top: 2px;
    font-size: 150%;
}

#contact_wrp #contact .contact_box .contact_right a:hover{
	opacity:0.7;
	filter: alpha(opacity=70);
	-webkit-transition: opacity 0.2s ease-in-out;
	-moz-transition: opacity 0.2s ease-in-out;
	transition: opacity 0.2s ease-in-out;
}

/* footer
===================================== */
#footer_wrp{
}	

#footer_wrp #footer{
	width:910px;
	margin:10px auto 12px;
	overflow:hidden;
}

#pagetop_wrapper {
	margin: 0 auto;
	width: 910px;
	/width: 880px;
}

.pagetop {
  position: fixed;
  bottom: 40px;
  z-index: 550;
  margin: 0 0 0 870px;
}

.pagetop a{
	overflow: hidden;
    display: inline-block;
    padding: 40px 0 0;
    width: 40px;
    height: 0;
    background: url(../common/images/btn_pageTop.png) no-repeat;
    background-size: 40px 40px;
	behavior: url(/text/hs/common/js/PIE.htc);
    /overflow: hidden;
    /font-size: 0;
    /text-indent: -15px;
}

#footer_wrp #footer .footer_top{
	padding:10px 0;
	text-align: center;
}

#footer_wrp #footer .footer_top a{
	margin: 0 20px;
}

#footer_wrp #footer .footer_bottom{
	font-size: 80%;
	text-align:center;
}

#footer_wrp #footer img.enet{
	margin: -3px 0 0;
}

#footer_wrp #footer .footer_bottom .footer_logo{
	display:none;
}


/* @media all end */	
}
/* //@media all end */	


@media screen and ( max-width: 910px ) {
/* header
=============================================*/
#header_wrp #header{
	width:96%;		
}

/* title
-------------------------- */
.title_wrp .title{
	width:100%;
}

.title_wrp .title .title_img{
	display:none;	
}

.title_wrp .title p{
	width: auto;
	margin-left:10px;
    height: 60px;
    line-height: 60px;
}

/* title
-------------------------- */
.title_wrp .title{
	text-indent:0px;
}

.title_wrp .title p {
	margin-left:2%;
    font-size:110%;
}

.text_wrp .text p.title_img_sp {
	display: block;
	text-align: center;
}

.text_wrp .text p.title_img {
	display: none;
}

.link_block_wrap {
    right: 2%;
    top: 49px;
}

/* text
-------------------------- */
.text_wrp {
    height: auto;
}

.text_wrp .text{
	width:100%;
}

.text_wrp .text .text_box{
	width:94%;
	margin:0 auto;
	font-size: 90%;
}

.text_wrp .text p {
	margin: 0;
/*    padding: 8px 0 0;*/
}

/* main
=============================================*/
#main{
	width:100%;
}

#main ul{
	width:700px;
}

#main ul li:nth-child(4){
	margin-right:23px;
}

/* contact 
=============================================*/
#contact_wrp #contact{
	width:100%;
	margin:0 auto;	
}

#contact_wrp #contact .contact_box{
	width:90%;
}

/* footer
===================================== */
#footer_wrp #footer{
	width:90%;
}

.pagetop {
  margin: 0 0 0 84%;
}


/* @media screen and ( max-width: 910px )*/
}
/* //@media screen and ( max-width: 910px )*/


@media screen and ( max-width: 768px ) {
/* header
=============================================*/
	

/* main
=============================================*/
#main{
	width:100%;
}

#main ul{
	width:443px;
}

#main ul li:nth-child(2),
#main ul li:nth-child(4),
#main ul li:nth-child(6),
#main ul li:nth-child(8){
	margin-right:0px;
}

/* contact 
=============================================*/
#contact_wrp #contact{
	width:100%;
	margin:0 auto;	
}

#contact_wrp #contact h3{
	text-align:center;
	padding-left:0px;
}

#contact_wrp #contact .contact_box{
	padding: 14px 0;
	width:90%;
	text-align:center;
}

#contact_wrp #contact .contact_box .contact_left{
	width:90%;
	float:none;
	margin:0 auto 20px;
}

#contact_wrp #contact .contact_box .contact_right{
	width:90%;
	float:none;
	margin:0 auto;
}

#contact_wrp #contact .contact_box .contact_left .text02{
	font-size:73%;
}

#contact_wrp #contact .contact_box .contact_right a {
    display: inline-block;
    padding: 6px 0;
    background-color: #ff9433;
    border-radius: 3px;
    color: #fff;
    font-size: 120%;
    font-weight: bold;
    text-align: center;
}

/* footer
===================================== */
 #footer_wrp #footer{
	width:100%;
	text-align:center;
}

#footer_wrp #footer .footer_left{
	float:none;
	padding-top:10px;
}

#footer_wrp #footer .footer_right{
	float:none;
	text-align:center;
}

#footer_wrp #footer .footer_right .copyright{
	font-size:70%;
	text-align:center;
}

#footer_wrp #footer .footer_left{
	display:none;
}

#footer_wrp #footer .footer_right .footer_logo{
	padding:10px 0;
	display:block;
}

#footer_wrp #footer .footer_right .footer_logo img:first-child{
	margin-right:20px;
} 


/* @media screen and ( max-width: 768px )*/
}
/* //@media screen and ( max-width: 768px )*/





@media screen and ( max-width: 480px ) {
#header_wrp #header .logo {
    padding: 5px 0 4px;
    font-size: 100%;
}

#header_wrp #header .logo h1 img {
	height: 20px;
}

#header_wrp #header .logo p{
	 margin: 0 25px;
	 width:90%;
	 float:none; 
}

.link_block_wrap {
	transform: scale(.62);
	transform-origin: right top;
	right: 2%;
	top: 57px;
	font-weight: bold;
}

.link_block_wrap a {
    padding: 3px 27px 2px 7px;
}

/* main
=============================================*/
#main{
	width:100%;
}

#main ul{
	width:290px;
}

#main ul:first-child {
    margin-bottom: 5px;
}

#main ul li {
    float: left;
    font-size: 18px;
    font-weight: bold;
    width: 140px;
    height: 62px;
    line-height: 62px;
    text-indent: 42px;
    margin: 6px 6px 0 0;
}

#main ul li a{
	width:140px;
	height:60px;
	display:block;
	background:url(../images/btn_arrow_disc.gif) no-repeat 115px center #0071bc;
	background-size: 15px 15px;
	border-top: 1px solid #0098ed;
	border-bottom: 1px solid #005e87;
	color: #fff;
	letter-spacing: 0.3em;
}

/* btn2 
-------------------*/
#main ul .btn2{
	text-indent:20px;
}

#main ul .btn2 a{
	width:140px;
	height:60px;
	display:block;
	background:url(../images/btn_arrow_disc.gif) no-repeat 115px center #0071bc;
	background-size: 15px 15px;
	letter-spacing: 0;
}

#main ul .btn2 a:hover{
	width:140px;
	height:60px;
	display:block;
}

/* btn3
------------------ */
#main .btn3{
	width:200px;
}

#middle_wrp .btn3 {
    width: 290px;
	letter-spacing: 0;
}

#middle_wrp .btn3 p {
	font-size: 110%;
}

#middle_wrp .btn3 p a {
    padding: 13px 0 13px 18px;
}

#middle_wrp .btn3 p span {
    margin: 0 5px 0 0;
}

#main .btn3 p:first-child{
	float:none;
	padding-bottom:20px;
}

#main .btn3 p:last-child{
	float:none;
}

/* contact 
=============================================*/
#contact_wrp #contact .contact_box .contact_right a {
    width: 220px;
    font-size: 100%;
}

/* footer
===================================== */
#footer_wrp #footer .footer_bottom{
	font-size: 65%;
}

/* @media screen and ( max-width: 480px )*/
}
/* //@media screen and ( max-width: 480px )*/