

/*--------------------------------------
  index.html
--------------------------------------*/

.all,
.all-b {
  width: 100%;
  padding: 32px 0;
  border-bottom: 1px solid #cce9cf;
}
.all-b {
  border-width: 10px;
  border-color: #7ab852;
}

.home-h2 {
  margin-bottom: 28px;
  text-align: center;
}


/* メインイメージ */
.slider li {
  width: 100%;
  /*height: 450px; */
}

#slider01 {
  /*background: url("../images/home/main_image01.jpg") center 0 no-repeat;*/
}

#slider02 {
  /*background: url("../images/home/main_image02.jpg") center 0 no-repeat;*/
}

#slider03 {
  /*background: url("../images/home/sp-main-summer.png") center 0 no-repeat;
  background-size: cover;*/
}

.slider li img {
  /*display: none;*/
  width: 100%;
  height: auto;
}

.slider li img.slider_pc {
  display: inline;
}

.slider li img.slider_sp {
  display: none;
}

@media screen and (max-width:750px) {
  #main_image {
    border-bottom: 1px solid #CCE9CF;
  }

  .slider li {
    height: auto;
  }

  #slider01,
  #slider02,
  #slider03 {
    background-image: none;
  }

  .slider li img {
    /*display: block;*/
  }

  .slider li img.slider_pc {
    display: none;
  }

  .slider li img.slider_sp {
    display: inline;
  }

}

/* 特集 */
#home-special {
  background: #f4ffe5;
}

#home-special.all {
  padding: 0;
}

#home-special .container {
  overflow: hidden;
  width: 1106px;
  padding: 32px 0;
}

.home-special-area {
  float: left;
  width: 250px;
}

.home-special-area.special01 {
  margin-left: 13px;
}

.home-special-area.special02,
.home-special-area.special04 {
  margin-left: 27px;
}

.home-special-area.special03 {
  margin-left: 26px;
}

.circle_special {
  position: relative;
  width: 166px;
  height: 166px;
  margin: 0 auto 20px;
}

.circle_special_inner {
  overflow: hidden;
  position: absolute;
  left: 0;
  top: 0;
  width: 166px;
  height: 166px;

  -webkit-border-radius: 50%;
  -moz-border-radius: 50%;
  border-radius: 50%;

  -webkit-transition: top .15s ease-in-out,left .15s ease-in-out,width .15s ease-in-out,height .15s ease-in-out;
  -moz-transition: top .15s ease-in-out,left .15s ease-in-out,width .15s ease-in-out,height .15s ease-in-out;
  -o-transition: top .15s ease-in-out,left .15s ease-in-out,width .15s ease-in-out,height .15s ease-in-out;
  -ms-transition: top .15s ease-in-out,left .15s ease-in-out,width .15s ease-in-out,height .15s ease-in-out;
  transition: top .15s ease-in-out,left .15s ease-in-out,width .15s ease-in-out,height .15s ease-in-out;
}

.circle_special_inner:hover {
  width: 120%;
  height: 120%;
  top: -10%;
  left: -10%;
}

.circle_special_inner.special01 {
  box-shadow: 0 0 0 4px #f4ffe5, 0 0 0 6px #fae572;
}

.circle_special_inner.special02{
  box-shadow: 0 0 0 4px #f4ffe5,  0 0 0 6px #93e58c;
}

.circle_special_inner.special03{
  box-shadow: 0 0 0 4px #f4ffe5,  0 0 0 6px #faccd8;
}

.circle_special_inner.special04{
  box-shadow: 0 0 0 4px #f4ffe5,  0 0 0 6px #93ccd8;
}

.circle_special img {
  width: 200px;
  max-width: 200px;
  height: auto;
  position: absolute;
  top: 50%;
  left: 50%;
  margin-left: -100px;
  margin-top: -100px;
}

.home-special-area h2 {
  margin: 15px 0 10px;
}

.home-special-area .br:before {
  white-space: pre;
  content: '\A';
}

.home-special-area a {
  font-size: 16px;
}

.home-h2.special01 a {
  color: #f60;
}
.home-h2.special01 a:after {
  margin-left: 5px;
  content: url("../images/home/special-arrow01.png");
}

.home-h2.special02 a {
  color: #690;
}
.home-h2.special02 a:after {
  margin-left: 5px;
  content: url("../images/home/special-arrow02.png");
}

.home-h2.special03 a {
  color: #f66;
}
.home-h2.special03 a:after {
  margin-left: 5px;
  content: url("../images/home/special-arrow03.png");
}

.home-h2.special04 a {
  color: #39c;
}
.home-h2.special04 a:after {
  margin-left: 5px;
  content: url("../images/home/special-arrow04.png");
}

.home-special-area p {
  margin: 0;
  text-align: center;
}

@media screen and (max-width:750px) {
  #home-special .container {
    width: 100%;
  }

  .home-special-area {
    float: none;
  }

  .home-special-area.special01 {
    margin: auto;
  }

  .home-special-area.special02,
  .home-special-area.special03,
  .home-special-area.special04 {
    margin: 32px auto 0;
  }
}

/* 留学ニュース・スタッフブログ */
#home-info .container {
  overflow: hidden;
  position: relative;
}

#home-info section {
  width: 540px;
}

#home-info-news {
  float: left;
}

#home-info dl {
  overflow: hidden;
  width: 500px;
  margin-bottom: 33px;
}

#home-info dt {
  float: left;
  width: 135px;
}

#home-info dd {
  float: left;
  width: 365px;
  margin-bottom: 17px;
}

#home-info-news p {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 500px;
  margin: 0;
  text-align: right;
}

#home-info-blog {
  float: right;
}

#home-info-blog dl {
  margin-left: 40px;
}

#home-info-blog p {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 500px;
  margin: 0;
  text-align: right;
}

@media screen and (max-width:750px) {
  #home-info section {
    width: 94%;
    margin: 0 auto;
  }

  #home-info-news,
  #home-info-blog {
    float: none;
  }

  #home-info dl {
    width: 100%;
    margin-bottom: 7px;
  }

  #home-info dt,
  #home-info dd {
    float: none;
    width: 100%;
  }

  #home-info-news p,
  #home-info-blog p {
    position: static;
    width: 100%;
  }
  #home-info-news p {
    margin-bottom: 32px;
  }

  #home-info-blog dl {
    margin-left: 0;
  }
}

/* 留学を年齢で選ぶ */
#home-age {
  height: 421px;
  background: url("../images/home/age-bg.jpg") center 0 repeat-x;
  text-align: center;
}

#home-age.all-b {
  padding: 0;
}

#home-age .container {
  overflow: hidden;
  position: relative;
  width: 1196px;
  height: 100%;
  margin: 0 auto;
  padding: 32px 0;
}

.age-circle {
  position: relative;
  width: 388px;
  height: 388px;
}

.age-circle.elementaryschool {
  position: absolute;
  left: 39px;
  top: 66px;
}

.age-circle.juniorhighschool {
  position: absolute;
  left: 404px;
  top: 125px;
}

.age-circle.seniorhighschool {
  position: absolute;
  right: 40px;
  top: 66px;
}

.age-circle-inner {
  overflow: hidden;
  position: absolute;
  left: 0;
  top: 0;
  width: 388px;
  height: 388px;

  -webkit-border-radius: 50%;
  -moz-border-radius: 50%;
  border-radius: 50%;

  -webkit-transition: top .15s ease-in-out,left .15s ease-in-out,width .15s ease-in-out,height .15s ease-in-out;
  -moz-transition: top .15s ease-in-out,left .15s ease-in-out,width .15s ease-in-out,height .15s ease-in-out;
  -o-transition: top .15s ease-in-out,left .15s ease-in-out,width .15s ease-in-out,height .15s ease-in-out;
  -ms-transition: top .15s ease-in-out,left .15s ease-in-out,width .15s ease-in-out,height .15s ease-in-out;
  transition: top .15s ease-in-out,left .15s ease-in-out,width .15s ease-in-out,height .15s ease-in-out;
}
.age-circle-inner:hover{
  top: -2.5%;
  left: -2.5%;
  z-index: 50;
  width: 105%;
  height: 105%;
}

.circle_age01{
  background-color: #E4D652;
}

.circle_age02{
  background-color: #A4BBD3;
}

.circle_age03{
  background-color: #90AD66;
}

.age-circle-inner img{
  position: absolute;
  top: 50%;
  left: 50%;
  width: 480px;
  max-width: 480px;
  height: auto;
  margin-left: -240px;
  margin-top: -218px;
}

@media screen and (max-width:750px) {
  #home-age {
    height: auto;
    -webkit-background-size: 100% 100%;
    background-size: 100% 100%;
  }

  #home-age .container {
    width: 100%;
  }

  .age-circle {
    width: 300px;
    height: 300px;
    margin: 30px auto 0;
  }

  .age-circle.elementaryschool,
  .age-circle.juniorhighschool,
  .age-circle.seniorhighschool {
    position: static;
  }

  .age-circle-inner {
    position: relative;
    left: auto;
    width: 300px;
    height: 300px;
  }
  .age-circle-inner:hover{
    top: 0;
    left: 0;
    z-index: 50;
    width: 300px;
    height:300px;
  }

  .age-circle-inner img{
    top: 208px;
    width: 380px;
    max-width: 380px;
    margin-left: -190px;

  }
}


/* 留学を目的で選ぶ */
#home-purpose {
  height: 576px;
  background: url("../images/home/purpose-bg.jpg") center 0 repeat-x;
}

#home-purpose .containar {
  overflow: hidden;
}

#home-purpose h3 {
  background: none;
}

.home-purpose-box {
  list-style-type: none;
  position: relative;
  float: left;
  width: 260px;
  height: 214px;
  background: #fff;
  text-align: center;
  margin-left: 5px;
  margin-right: 5px;
}

.home-purpose-box:nth-child(4) ~ li {
  margin-top: 10px;
}

.home-purpose-box a {
  display: block;
  position: absolute;
  left: 0;
  top: 0;
  z-index: 50;
  width: 100%;
  height: 100%;
  padding-top: 8px;
  background: -5px bottom no-repeat;
  font-size: 20px;
  text-decoration: none;
}
.home-purpose-box a:hover {
  background-position: -275px bottom;
}
.home-purpose-box:nth-child(2n) a {
/*  padding-top: 148px;
  background-position: 0 top; */
}
.home-purpose-box:nth-child(2n) a:hover {
/*  background-position: -270px top; */
}

.home-purpose-box.boarding a {
  background-image: url("../images/home/purpose-boarding.jpg");
  color: #f90;
}

.home-purpose-box.public a {
  background-image: url("../images/home/purpose-public.jpg");
  color: #690;
}

.home-purpose-box.summer a {
  background-image: url("../images/home/purpose-summer.jpg");
  color: #39f;
}

.home-purpose-box.ws a {
  background-image: url("../images/home/purpose-ws.jpg");
  color: #f69;
}

.home-purpose-box.hometuition a {
  background-image: url("../images/home/purpose-hometuition.jpg");
  color: #963;
}

.home-purpose-box.language a {
  background-image: url("../images/home/purpose-language.jpg");
  color: #96c;
}

.home-purpose-box.daigaku a {
  background-image: url("../images/home/purpose-daigaku.jpg");
  color: #c36;
}

.home-purpose-box.oyako-ryugaku a {
  background-image: url("../images/home/purpose-oyako-ryugaku.jpg");
  color: #3cc;
}

.home-purpose-box p {
  position: absolute;
  left: 0;
  top: 40px;
  width: 100%;
}
.home-purpose-box:nth-child(2n) p {
/*  position: absolute;
  left: 0;
  top: 182px; */
}


@media screen and (max-width:750px) {
  #home-purpose {
    height: auto;
    background-size: auto 100%;
  }

  .home-purpose-box {
    float: none;
    margin: 20px auto;
  }
  .home-purpose-box:first-child {
    margin-top: 0;
  }


  .home-purpose-box a:hover {
    background-position: -5px bottom;
  }
  .home-purpose-box:nth-child(2n) a,
  .home-purpose-box:nth-child(2n) a:hover {
/*  padding-top: 10px;
    background-position: -540px bottom; */
  }

  .home-purpose-box:nth-child(2n) p {
/*  top: 42px; */
  }
}

/* 留学を国で選ぶ */
#home-destination {
  width: 100%;
  padding: 32px 0 0;
  background: #e6f2fb;
}

#home-destination.home-h2{
  margin: 0;
}

#home-destination img {
  display: block;
  margin: 0 auto;
}

#home-destination-sp {
  display: none;
}

.map_img_wrap{
  width: 980px;
  margin-left: auto;
  margin-right: auto;
  position: relative;
}

.tooltip{
  background-color: #666;
  display: inline-block;
  padding: 6px 8px;
  font-size: 12px;
  color: #fff;
  position: absolute;
  top: 20px;
  left: 20px;

  -webkit-border-radius: 4px;
  -moz-border-radius: 4px;
  -o-border-radius: 4px;
  border-radius: 4px;
}

.tooltip_uk{
  top: 138px;
  left: 140px;
}

.tooltip_swiss{
  top: 240px;
  left: 8px;
}

.tooltip_usa{
  top: 244px;
  left: 620px;
}

.tooltip_canada{
  top: 92px;
  left: 742px;
}

.tooltip_australia{
  top: 414px;
  left: 504px;
}

.tooltip_nz{
  top: 506px;
  left: 588px;
}

.tooltip_malaysia{
  top: 388px;
  left: 260px;
}


@media screen and (max-width:750px) {
  #home-destination .container {
    display: none;
  }

  #home-destination-sp {
    display: block;
    padding: 0 0 50px;
  }

  #home-destination-sp.home-h2{
    margin-bottom: 30px;
  }
  #home-destination-sp ul {
    list-style-type: none;
    overflow: hidden;
    width: 300px;
    margin: 0 auto;
  }

  .destination-sp-box {
    position: relative;
    float: left;
    width: 142px;
    height: 279px;
    border: 1px solid #cfcfcf;
    background: #fff;
  }
  .destination-sp-box:nth-child(2n) {
    float: right;
  }
  .destination-sp-box:nth-child(2) ~ li {
    margin-top: 30px;
  }

  .destination-sp-box img {
    border-bottom: 1px solid #cfcfcf;
  }

  .destination-sp-box h3 {
    font-size: 20px;
    text-align: center;
  }

  .destination-sp-box a {
    display: block;
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    padding-top: 104px;
    color: #000;
    text-decoration: none;
  }

  .destination-sp-box .br span {
    display: block;
    margin-top: -10px;
  }

  .destination-sp-box p {
    width: 8em;
    margin: 47px auto 0;
    line-height: 1.5;
  }

  .destination-sp-box .br + p {
    margin-top: 70px;
  }
}
