@charset "utf-8";
/* CSS Document */

#header{
	margin-bottom:20px;
	border-top:5px solid #d86f77;
	border-bottom:1px solid #efeaea;}

a.logo span {
    display: none;
}

a.applyLink span {
    display: none;
}

a.studyLink span {
    display: none;
}

a.searchLink span {
    display: none;
}

.headerTel span {
    display: none;
}

.applyBt {
    display: table-cell;
}

.studyBt {
    display: table-cell;
}

@media only screen and (min-width:940px) {
    /* ロゴの設定 */

    .headerBox {
		width:980px;
		margin:0 auto;
		
        display: box;
        display: -webkit-box;
        display: -moz-box;
        display: -ms-flexbox;
		display: flex;

    }

    .headerBoxL {
        width: 238px;
		margin-right:40px;
        height: 100px;
    }

    .headerBoxC {
		display:table;
        width: 309px;
		
		margin-top:47px;
		margin-right:138px;
    }

   .headerBoxR {
	   	/*margin-top:26px;*/
        margin-top:40px;
        width: 254px;
    }
	
	
	 .headerBoxL .seotitle{
		margin-top:22px;
		margin-bottom:5px;
    }
	
    a.logo {
        display: block;
		margin-bottom:32px;
		
        width: 238px;
        height: 33px;
        background: url(../img/common/header/pclogo.jpg) 0 0 no-repeat;
    }
	
.applyBt {
	border-right:#ebe7e7 1px solid;
	border-left:#ebe7e7 1px solid;
}

.studyBt {
	border-right:#ebe7e7 1px solid;
}
	
	a.applyLink {
        display: block;
        width: 146px;
        height: 35px;
        background: url(../img/common/header/pchapply.gif) 0 0 no-repeat;
		
    }

    a.studyLink {
        display: block;
        width: 158px;
        height: 35px;
        background: url(../img/common/header/pchstudy.gif) 0 0 no-repeat;
    }
	
	.applyBt a:hover {
        display: block;
        width: 146px;
        height: 35px;
        background: url(../img/common/header/pchapply.gif) 0 0 no-repeat;
		background-color:#f0eeee;
    }

	
    .studyBt a:hover {
        display: block;
        width: 160px;
        height: 35px;
        background: url(../img/common/header/pchstudy.gif) 0 0 no-repeat;
		background-color:#f0eeee;
    }
	
	.headerTel {
        display: block;
        width: 254px;
        height: 54px;
        background: url(../img/common/header/pchtel.gif?2603) 0 0 no-repeat;
    }
}

@media only screen and (max-width:939px) {

    .headerBox {
		padding:10px 0px 15px 12px;
		margin-bottom:30px;
    }

    .headerBoxL {
        float: left;
    }
    .headerBoxC {
        float: right;
    }
    .headerBoxR {
        display: none;
    }
	
    .headerBoxL .seotitle {
        display: none;
    }

    .headerBoxR {
        display: none;
    }

    a.logo {
        display: block;
		margin-top:5px;

		width: 190px;
   		height: 26px;

        background: url(../img/common/header/splogo.gif) 0 0 no-repeat;
		background-size: 190px 26px;

    }
	
	.applyBt{
		padding:0 15px 0 0;
	}
	
	.studyBt{
		padding:0 10px 0 0;
	}
	
	a.applyLink {
        display: table-cell;
        width: 36px;
        height: 34px;
        background: url(../img/common/header/sphapply.gif) 0 0 no-repeat;
		background-size: 36px 34px;
    }


    a.studyLink {
        display: table-cell;
        width: 41px;
        height: 34px;
        background: url(../img/common/header/sphheart.gif) 0 0 no-repeat;
		background-size: 41px 34px;
    }
}


@media only screen and (max-width:320px) {
    a.logo {
        display: block;
		margin-top:5px;

		width: 152px;
   		height: 21px;

        background: url(../img/common/header/splogo.gif) 0 0 no-repeat;
		background-size: 152px 21px;

    }
}







@media only screen and (max-width:639px){
  #header{
	  padding-bottom:0;
	  margin-bottom: 10px;
	}	

	#header h1{text-align:center;}
	
	#header .logo{
	float:none;
	text-align:center;
	padding:10px 5px 20px;
	}

}