@charset "UTF-8";


/*----------------------------------------------------
main
----------------------------------------------------*/

#main {
	background: url(../images/top/main_sp.jpg) no-repeat;
  background-size: cover;
  color: #ffffff;
  position: relative;
}
#main a {
  color: #ffffff;
}

#main h1 {
  margin-top: 15%;
  font-size: 30px;
  line-height: 1.333;
  letter-spacing: 0.1em;
}

#main .lead {
  padding-top: 10%;
  font-size: 14px;
  line-height: 1.71428;
  letter-spacing: 0.2em;
}
#main .slogan {
  margin-bottom: 10px;
  padding-left: 0;
  font-size: 170%;
  text-align: center;
  float: none;
}

/*-- 20周年ロゴ　--*/
#main h1 {
  margin-top: 3%!important;
}
#main .logo-20th {
  width: 114px;
  display: none;
}

#lower {
  margin-top: 50px;
}

#news .head {
  overflow: hidden;
  border-bottom: solid 1px #ffffff;
  padding-bottom: 12px;
  margin-bottom: 12px;
}
#news .head h2 {
  float: left;
  font-size: 19px;
  line-height: 1;
}
#news .head p {
  float: right;
}
#news .head p a {
  display: block;
  /* border: solid 1px #ffffff;
  padding: 8px 26px 8px 8px;
  font-size: 12px;
  line-height: 1em;*/
  background: url(../images/arrow.png) no-repeat;
  background-position: right 5px center;
  background-size: 16px auto;
}

#news .body li {
  margin-bottom: 1em;
}
#news .body .date {
  font-size: 11px;
  letter-spacing: 0.05em;
}
#news .body .title {
  margin-top: 6px;
  font-size: 12px;
  line-height: 1.5833;
  letter-spacing: 0.05em;
}

#banners {
  padding: 40px 0 60px;
}
#banners .news {
  display: none;
}
#banners ul {
  overflow: hidden;
  border: solid 1px #ffffff;
  border-width: 1px 0 0 1px;
}
#banners li {
  position: relative;
  float: left;
  width: 100%; /* 50% eSeikyu削除 */
  text-align: center;
  border: solid 1px #ffffff;
  border-width: 0 1px 1px 0;
  box-sizing: border-box;
}
#banners li a {
  display: block;
  padding: 9.6% 10px 7.4%;
}
#banners li a:hover {
  text-decoration: none;
}
#banners li a h2 img {
  width: 100%;
  max-width: 148px;
}
#banners h2 .jp {
  display: block;
  padding-top: 10px;
  font-size: 12px;
  line-height: 1.3;
  letter-spacing: 0;
  font-weight: normal;
}
#banners .text {
  display: none;
}
#banners .icon {
  display: none;
}
#banners .news {
  display: none;
}

@media screen and (min-width: 641px) {
  #main {
    position: relative;
    background: url(../images/top/main_pc.jpg) no-repeat;
    background-size: cover;
  }
  #main h1 {
    margin-top: 40px;
    font-size: 38px;
    line-height: 1;
    clear: both;
  }
  #main .lead {
    padding-top: 3.2%;
    font-size: 18px;
    line-height: 2.1111;
  }
  #main .slogan {
    padding-left: 40px;
    font-size: 150%;
    text-align: left;
    float: left;
  }

  /*-- 20周年ロゴ　--*/
  #main .logo-20th {
    margin-right: 20px;
    width: 114px;
    display: block;
    float: right;
  }

  #lower .innerWide {
    overflow: hidden;
  }
  #news {
    float: left;
    width: 50%;
  }
  #news .body {
    overflow: hidden;
    width: 105%;
    margin-left: -5%;
  }
  #news .body li {
    float: left;
    width: 45%;
    margin-left: 5%;
    margin-bottom: 0;
  }
  #news .head {
    padding-bottom: 20px;
    margin-bottom: 20px;
  }
  #news .head h2 {
    font-size: 27px;
  }
  #news .head p a {
    padding: 12px 40px 12px 12px;
    background-position: right 12px center;
    background-size: 16px auto;
    transition:background-position 0.2s ease-in-out;
  }
  #news .head p a:hover {
    text-decoration: none;
    background-position: right 5px center;
  }
  #news .body .date {
    font-size: 14px;
  }
  #news .body .title {
    margin-top: 8px;
    font-size: 14px;
  }

  #banners {
    padding: 0;
    display: block;
    float: right;
    width: 43%;
  }

  #banners li a h2 {
    transition: transform 0.2s ease-in-out;
    -webkit-transition:-webkit-transform 0.2s ease-in-out; 
  }
  #banners li a:hover h2 {
    transform: translateY(-5px);
    -webkit-transform: translateY(-5px);
  }

  #banners h2 .jp {
    display: block;
    padding-top: 0.3em;
    font-size: 14px;
    line-height: 1.3;
    letter-spacing: 0;
    font-weight: normal;
  }
  #banners .text {
    display: block;
    margin-top: 0.8em;
    font-size: 12px;
    line-height: 1.64;
    letter-spacing: 0;
  }
  #banners .icon {
    display: block;
    position: absolute;
    top: 0;
    right: 0;
    padding: 3px;
    font-size: 0;
    border: solid 1px #ffffff;
    border-width: 0 0 1px 1px;
  }
  #banners .icon img {
    width: 10px;
  }


  /* over */
  #main.over h1 {
    font-size: 30px;
  }
  #main.over .lead {
    padding-top: 2%;
    font-size: 14px;
    line-height: 1.8;
  }
  #main.over #banners .news {
    display: block;
  }
  #main.over #banners {
    width: 80%;
    margin-right: 10%;
  }
  #main.over #banners li {
    width: 50%; /*33.333% eSeikyu削除*/
  }
  #banners h2 .jp {
    margin-top: 0.2em;
    font-size: 12px;
  }
  #main.over #banners li p {
    display: none;
  }
  #main.over #banners li img {
    width: 90px;
  }
  #main.over #banners li a {
    padding: 10px;
  }
  #main.over #banners li.news a {
    padding-top: 20px;
  }
  #main.over #news {
    display: none;
  }
}

@media screen and (min-width: 881px) {
  #main h1 {
    font-size: 45px;
  }
  #banners .icon {
    padding: 5px;
  }
  #banners .icon img {
    width: 14px;
  }
  #banners h2 .jp br {
    display: none;
  }
  #banners .text {
    font-size: 14px;
    letter-spacing: 0.05em;
  }
}
@media screen and (min-width: 1041px) {
  #banners h2 .jp {
    font-size: 15px;
    letter-spacing: 0.1em;
  }
}
@media screen and (min-width: 1361px) {
  #main {
    width: 100%;
  }
  #main .lead {
    padding-top: 40px;
  }
}

/* hrzn */
#main.hrzn .eseikyu {
  display: none;
}
#main.hrzn .ekeihi {
  display: none;
}
#main.hrzn #lower {
  padding-bottom: 0;
}
#main.hrzn #banners ul {
  width: 180px;
  margin: 0 auto;
}
#main.hrzn #banners li {
  width: 100%;
}
#main.hrzn #banners li.news a {
  padding-top: 10px;
}
#main.hrzn #banners li img {
  width: 80px;
}


/*----------------------------------------------------
siteFoot fix
----------------------------------------------------*/

@media screen and (min-width: 641px) {
  #siteFoot.fix {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
  }
}



