@charset "UTF-8";

header { background: repeat-x 0 bottom rgb(255,157,25);}
footer { background-color: rgb(255,157,25);}
#totop a { background-color: rgb(255,157,25);}
#pan { border-bottom: 2px solid rgb(255,157,25);}
#pageUnit h4,#singleUnit h4 { color: rgb(255,157,25);}
.categoryUnit a h3 { color: rgb(255,157,25);}


header#seika h1 {
  padding-left: 60px;
  background-image: url("../img/logo2_seikatsukagaku.png");
  background-position: 0 5px;
  background-size: 60px;
}
header#seika h1::after {
  content: "";
  display: inline-block;
  vertical-align: 15px;
  width: 93px;
  height: 40px;
  margin-left: 5px;
  background-image: url("../img/gakusyo.png");
  background-position: 0 0;
  background-repeat: no-repeat;
  background-size: 93px 40px;
}

.banner {
    display: block;
    font-size: 0;
    text-align: center;
}

#kaiho {
    padding: 0 10px 15px 20px !important;
}
#kaiho li {
    float: left;
    text-align: center;
    list-style: none !important;
    padding-right: 30px;
}
#kaiho li:last-of-type {
    padding-right: 0;
}

.table02.type2 {
    margin-bottom: 30px;
}
.table02.type2 tr td:nth-of-type(1) {
    width: 20%;
}
.table02.type2 tr td:nth-of-type(2) {
    width: 80%;
}

.table_x01 {
	width:100%;
}
.table_x01 td {
	padding: 3px 0;
}
.table_x01 td.line {
	border-bottom: 1px solid #ddd;
}

.link01 {
    color: #ff9d19 !important;
    font-weight: bold;
}
.link01:hover {
    opacity: 0.7;
}

.link01.mail {
    margin-right: 25px;
}
.mail.icon {
    display: inline-block;
  color: #ff9d19;
  position: absolute;
  margin-left: 2px;
  margin-top: 4px;
  width: 15px;
  height: 10px;
  border-radius: 2px;
  border: solid 2px currentColor;
}

.mail.icon:before {
  content: '';
  position: absolute;
  left: 7px;
  top: -4px;
  width: 2px;
  height: 10px;
  background-color: currentColor;
  -webkit-transform-origin: bottom;
          transform-origin: bottom;
  -webkit-transform: rotate(-54deg);
          transform: rotate(-54deg);
}

.mail.icon:after {
  content: '';
  position: absolute;
  left: 7px;
  top: -4px;
  width: 2px;
  height: 10px;
  background-color: currentColor;
  -webkit-transform-origin: bottom;
          transform-origin: bottom;
  -webkit-transform: rotate(54deg);
          transform: rotate(54deg);
}




.link02 {
    display: inline-block;
    color: #fff;
    font-size: 14px;
    line-height: 1em;
    font-weight: bold;
    padding: 7px 10px 7px 30px;
    margin: 10px 0;
    background-color: #ff9d19;
    background-image: url("../img/mail.png");
    background-repeat: no-repeat;
    background-position: 7px 8px;
}
.link02:hover {
    color: #fff;
    opacity: 0.7;
}

.seika_fb {
	position:relative;
	width:200px;
	height: 50px;
	margin:auto;
	border: 2px solid #3b5998;
	overflow:hidden;
}
.seika_fb img {
	position:absolute;
	left:-2px;
	top:0;
}
.seika_fb a {
	display: block;
	font-size: 11px !important;
	line-height: 1.3em;
	font-weight:bold;
	text-align: left;
	letter-spacing: 0;
	padding: 12px 0 0 45px;
}
.h4_enkaku {
	text-align: center;	
	margin-bottom: 20px !important;
}


@media screen and (max-width: 960px) {
  header#seika h1 {
    position: relative;    
  }
  header#seika h1::after {
    content: "";
    display: block;
    position: absolute;
    right: -45px;
    top: 15px;
    vertical-align: 15px;
    width: 93px;
    height: 40px;
    margin-left: 5px;
    background-image: url("../img/gakusyo.png");
    background-position: 0 0;
    background-repeat: no-repeat;
    background-size: 93px 40px;
  }
}

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

    header#seika h1 {
      overflow: hidden;
      padding-left: 40px;
      background-size: 40px;
    } 
    header#seika h1::after {            
      right: 10px;
      top: 5px;        
      vertical-align: 15px;
      width: 70px;
      height: 30px;
      margin-left: 0;
      background-size: 70px 30px;
    }
  
    #kaiho {
        padding: 0 !important;
    }
    #kaiho li {
        width: 48%;
        padding-right: 0;
    }
    #kaiho li:nth-of-type(2n) {
        float: right;
    }
    #kaiho li img {
        width: 100%;
        height: auto;
    }
    
    #singleUnit iframe {
        width: 100%;
        height: 168px;
    }
	
	.table_x01 tr td:nth-of-type(1) {
		width:20% !important;
	}
	.table_x01 tr td:nth-of-type(2) {
		width:80% !important;
	}
    
}
