@charset "utf-8";

html{
    color: #000;
    background: #FFF;
}
body,div,dl,dt,dd,ul,ol,li,h1,h2,h3,h4,h5,h6,
pre,code,form,fieldset,legend,input,textarea,blockquote,th,td{
    margin: 0;
    padding: 0;
}
table{
    border-collapse: collapse;
    border-spacing: 0;
}
fieldset,img{ border:0; }
address,caption,cite,code,dfn,em,strong,th,var{
    font-style: normal;
    font-weight: normal;
}
li { list-style:none; }
caption,th{ text-align:left; }
h1,h2,h3,h4,h5,h6{
    font-size:100%;font-weight:normal;
}
q:before,q:after{ content:''; }
abbr,acronym{ border:0;font-variant:normal; }
sup{ vertical-align:text-top; }
sub{ vertical-align:text-bottom; }
input,textarea,select{ font-family:inherit;font-size:inherit;font-weight:inherit; }
input,textarea,select{ *font-size:100%; }
legend{ color:#000; }

#wrap{
  text-align: center;
  font-family: Osaka,sans-serif;
}

#wrap a{
  text-decoration: none;
  color: #8cc63f;
}

.page-id-8790 .pagehead,
.parent-pageid-8790 .pagehead {
	background:url(../../img/pagehead/pagehead_rental.png) no-repeat;
}

h1.title{
  display: none;
}

.none{
  display: none;
}

div#left{
  float: none;
  width: 100%;
  position: relative;
  padding-bottom: 50px;
}


.clearfix{
  clear: both;
}

#wrap{
  width: 900px;
  margin: 0 auto;
}

#introduction{
  margin-top: 50px;
}

#introduction img{
  margin-top: 40px;
}

#title{
  width: 100%;
  padding: 20px 0;
  background-color: #8cc63f;
  outline: 1px solid #fff;
  outline-offset: -10px;
}

#title > p{
  text-align: center;
  font-size: 1.2em;
  font-family: oswald;
  color: #4d4d4d;
}

#title h1{
  font-size: 2.3em;
  color: #fff;
  margin-top: 10px;
  padding-bottom: 10px;
}

p.box{
  display: block;
  width: 100%;
  margin: 50px 0;
  text-align: justify;
  line-height: 1.7em;
}

p.box a{
  display: inline;
}

#AboutUsing > h1{
  font-size: 1.5em;
  font-weight: bold;
  color: #8cc63f;
}

#UsingBox{
  position: relative; top: 30px;
  border: 2px solid #8cc63f;
  border-radius: 10px;
  padding: 20px 0 40px;
}

#UsingBox h1{
  position: relative; top: -40px;
  background-color: #fff;
  border: 2px solid #8cc63f;
  width: 300px;
  display: inline;
  padding: 20px 40px;
  font-size: 1.5em;
  color: #8cc63f;
}

#UsingBox ul{
  margin: 10px auto 40px;
  width: 300px;
  text-align: left;
  line-height: 1.7em;
}

#UsingBox ul li{
  list-style: disc;
}

#UsingBox a{
  margin: 0 auto;
  padding: 10px 40px;
  background-color: #8cc63f;
  color: #fff;
  font-weight: bold;
  border-radius: 8px;
  text-decoration: none;
  display: block;
  line-height: 1.2;
  max-width: 90%;
}

#institutions{
  margin-top: 100px;
  width: 100%;
  text-align: left;
}

.blocks{
  padding: 10px 0 60px;
}
.blocks + .blocks {
  padding-top: 120px;
}

.school_name {
  display: flex;
}
.school_name h2 {
  font-weight: bold;
}
.school_name span {
  display: block;
  margin-right: 15px;
}

#institutions > ul > li{
  margin-top: 80px;
}

#institutions h1{
  font-size: 1.7em;
  text-align: center;
  color: #8cc63f;
  padding-bottom: 50px;
}

#institutions span{
  font-size: 1em;
}

#institutions h2{
  display: inline;
  font-size: 1.2em;
  margin-right: 25px;
}

#institutions table{
  border-spacing: 60px;
}
#institutions table + table{
  margin-top: 5px;
}

.color_kbc{
  color: #3fa9f5;
}
.box_kbc{
  background-color: #3fa9f5;
}
.border_kbc{
  border: 1px solid #3fa9f5;
}


.color_ohara{
  color: #d9283c;
}
.box_ohara{
  background-color: #d9283c;
}
.border_ohara{
  border: 1px solid #d9283c;
}


.color_lcare{
  color: #ff7bac;
}
.box_lcare{
  background-color: #ff7bac;
}
.border_lcare{
  border: 1px solid #ff7bac;
}


.color_ida{
  color: #7ac943;
}
.box_ida{
  background-color: #7ac943;
}
.border_ida{
  border: 1px solid #7ac943;
}


.color_irc{
  color: #ff931e;
}
.box_irc{
  background-color: #ff931e;
}
.border_irc{
  border: 1px solid #ff931e;
}


.color_pet{
  color: #e21480;
}
.box_pet{
  background-color: #e21480;
}
.border_pet{
  border: 1px solid #e21480;
}


.color_bmode{
  color: #e50012;
}
.box_bmode{
  background-color: #e50012;
}
.border_bmode{
  border: 1px solid #e50012;
}


.color_mirai{
  color: #0b6736;
}
.box_mirai{
  background-color: #0b6736;
}
.border_mirai{
  border: 1px solid #0b6736;
}

div.telandfax{
  display: table;
  position: relative; left: -20px;
  border-collapse: separate;
  border-spacing: 20px;
}

div.tel, div.fax{
  margin-top: 40px;
  text-align: center;
  font-size: 1.1em;
  display: table-cell;
}

div.tel{
  margin-right: 40px;
}

#wrap a.call{
  color: #fff;
  pointer-events: none;
}

div.tel span, div.fax span{
  display: block;
  width: 440px;
  color: #fff;
  font-size: 2.0em;
  padding-top: 15px;
  padding-bottom: 15px;
  border-radius: 10px;
}

div.tel i, div.fax i,
div.tel svg, div.fax svg{
  margin-right: 20px;
}
#wrap div.fax a {
  color: #fff;
}
div.school {
  display: flex;
  margin: 30px 0;
}
div.school > p {
  width: 268px;
}
div.school .gmap {
  width: calc(100% - 268px);
}
div.school > img{
  width: 268px;
  height: 330px;
  margin-right: 19px;
}

.links{
  color: #fff;
  background-color: #8cc63f;
  padding: 5px 15px;
  border-radius: 5px;
}

#institutions div table{
  text-align: center;
  border-collapse: collapse;
  border-spacing: 0px 7px;
  table-layout: fixed;
}
th,td {
  vertical-align: middle;
  padding: 15px 10px;
}
th,
td.infotitle{
  width: 268px;
  height: auto;
  text-align: center;
  color: #fff;
  font-size: 1.2em;
}

td.infotext{
  width: 632px;
}

#institutions h3{
  margin-top: 50px;
  font-size: 1.3em;
}

#institutions ul{
  position: relative; top: -30px;
}

#institutions ul li{
  width: 214px;
  height: 160px;
  float: left;
  text-align: center;
  margin-top: 60px;
  margin-right: 13px;
}

#institutions ul li:nth-child(4){
  margin-right: 0;
}

#institutions ul li img{
  position: relative;
  width: 214px;
  height: 140px;
}

#institutions ul li:nth-child(8){
    margin-right: 0;
}

#institutions ul li span{
  position: relative;
  font-size: 0.9em;
}

div#explain{
  text-align: left;
}
div#explain h1{
  font-size: 1.5em;
  font-weight: bold;
  color: #8cc63f;
}

div#explain {
  padding: 150px 0 50px;
}

div#explain > dl > dt{
  margin-top: 40px;
  margin-bottom: 20px;
  font-family: "游明朝体", "Yu Mincho", YuMincho, "ヒラギノ明朝 Pro", "Hiragino Mincho Pro", "MS P明朝", "MS PMincho", serif;
  font-size: 1.4em;
  color: #0b6736;
}

div#explain dt.flow{
  font-size: 1em;
  color: #FFF;
  display: block;
  background-color: #00a300;
  width: 100%;
  padding: 5px 0;
  text-align: center;
  margin-top: 20px;
  line-height: 1.3em;
}

div#explain dt.orange{
  background-color: #f15a24;
}

div#explain dd{
  display: block;
  line-height: 1.5;
}
div#explain > dl > dd{
  padding-left: 2em;
}


div#explain a{
  box-sizing: content-box;
  display: block;
  width: 50%;
  height: 40px;
  margin: 40px auto 60px;
  color: #fff;
  background-color: #00a300;
  padding: 20px 40px 14px;
  border-radius: 8px;
  text-align: center;
  font-size: 1.3em;
}

.gmap {
position: relative;
padding-bottom: 56.25%;
padding-top: 30px;
height: 0;
overflow: hidden;
}

.gmap iframe,
.gmap object,
.gmap embed {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
}

div::after {
  display: none !important;
}
.f_box {
  padding: 0;
}
.f_box > div {
  display: flex;
  flex-wrap: wrap;
}
.f_box > div > p {
  padding: 10px 15px;
  width: 50%;
}
/*.border_kbc .f_box > div > p:nth-of-type(2n) {
  border-left: 1px solid #3fa9f5;
}
.border_kbc .f_box > div > p:nth-of-type(n+3) {
  border-top: 1px solid #3fa9f5;
}
.border_ohara .f_box > div > p:nth-of-type(2n) {
  border-left: 1px solid #d9283c;
}
.border_ohara .f_box > div > p:nth-of-type(n+3) {
  border-top: 1px solid #d9283c;
}
.border_ohara .f_box > div > p:nth-of-type(2n) {
  border-left: 1px solid #d9283c;
}
.border_ohara .f_box > div > p:nth-of-type(n+3) {
  border-top: 1px solid #d9283c;
}*/
#wrap .f_box > div > p > a {
  background: #8cc63f;
  border-radius: 5px;
  color: #fff;
  display: block;
  padding: 8px 5px;
}

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

  #wrap {
    padding: 0 10px;
    width: auto;
  }
  #title h1 {
    font-size: 1.9em;
  }
  #institutions h2 {
    display: block;
    margin: 0;
  }
  .school_name {
    display: block;
  }
  .school_name span {
    margin: 15px 0 0;
  }
  div.telandfax {
    display: block;
    margin-bottom: 20px;
    left: auto;
  }
  div.tel, div.fax {
    display: block;
    margin: 20px 0 0;
  }
  div.tel span, div.fax span {
    width: auto;
  }
  div.school {
    display: block;
  }
  div.school > p {
    padding: 20px 0;
    text-align: center;
    width: auto;
  }
  div.school .gmap {
    width: auto;
  }
  #institutions div table {
/*    display: block;*/
    width: 100%;
  }
  th,td {
    display: block;
    padding: 15px;
    width: 100%;
  }
  th,td.infotitle {
    height: auto;
    width: auto;
  }
  td.infotext {
    line-height: 1.5em;
    width: auto;
  }
  #institutions ul {
    display: flex;
    flex-wrap: wrap;
    top: auto;
  }
  #institutions ul li {
    float: none;
    height: auto;
    margin: 0;
    width: calc((100% - 10px) / 2);
  }
  #institutions ul li:nth-of-type(2n) {
    margin-left: 10px;
  }
  #institutions ul li:nth-of-type(n+3) {
    margin-top: 10px;
  }

  .f_box > div {}
  .f_box > div > p {
    border: none !important;
    width: 100%;
  }

}
