@charset "UTF-8";
/* ===================================================================
CSS information

 file name  :homepage.css
 author     :Ability Consultant
style info  :トップページ
=================================================================== */
#gnav_sp .nav_bn, #gnav_sp .nav_bn2 {
  display: block;
}

/*----------------------------------------------------
	.con_home
----------------------------------------------------*/
.con_home {
  width: 98%;
  padding: 0 1%;
}
.con_home .box_main {
  width: 61.5%;
  float: left;
  position: relative;
  text-align: center;
}
.con_home .box_main .img img {
  width: 100%;
  height: auto;
  vertical-align: top;
}
.con_home .box_main h2 {
  position: absolute;
  top: 50%;
  left: 40%;
  z-index: 100;
  font-size: 42px;
  color: #FFF;
  margin-left: -200px;
  margin-top: -168px;
}
.con_home .box_sub {
  width: 38.5%;
  float: right;
}
.con_home .box_sub ul li {
  position: relative;
  width: 50%;
  float: left;
  overflow: hidden;
}
.con_home .box_sub ul li .wrp_img {
  display: block;
}
.con_home .box_sub ul li .wrp_img img {
  width: 100%;
  height: auto;
  vertical-align: top;
}
.con_home .box_sub ul li .wrp_img h3 {
  position: absolute;
  z-index: 100;
  font-size: 18px;
  line-height: 1.2em;
  color: #FFF;
  bottom: 8px;
  left: 16px;
  text-shadow: 0 0 6px #000;
}
.con_home .box_sub ul li .wrp_text {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  bottom: 0;
  display: block;
  background: transparent url("../images/home/bg_text.png") left top repeat;
  z-index: 200;
  text-decoration: none;
}
.con_home .box_sub ul li .wrp_text .text_area {
  padding: 8%;
  background: transparent url("../images/home/ic_arrow.png") 95% 100% no-repeat;
  padding-bottom: 33px;
}
.con_home .box_sub ul li .wrp_text .text_area h3 {
  color: #FFF;
  font-size: 20px;
  line-height: 1.2em;
}
.con_home .box_sub ul li .wrp_text .text_area .text {
  margin-top: 1em;
  word-break: break-all;
  color: #FFF;
  font-size: 15px;
  line-height: 1.4em;
}

/* PC小専用
----------------------------------------------------------- */
@media only screen and (min-width: 1025px) and (max-width: 1280px) {
  .con_home .box_main h2 {
    position: absolute;
    top: 50%;
    left: 38%;
    z-index: 100;
    font-size: 36px;
    color: #FFF;
    margin-left: -154px;
    margin-top: -120px;
  }
  .con_home .box_sub ul li .wrp_img h3 {
    font-size: 16px;
    line-height: 1.2em;
  }
  .con_home .box_sub ul li .wrp_text .text_area {
    padding: 5%;
    background: transparent url("../images/home/ic_arrow.png") 95% 100% no-repeat;
    padding-bottom: 33px;
  }
  .con_home .box_sub ul li .wrp_text .text_area h3 {
    font-size: 18px;
    line-height: 1.2em;
  }
  .con_home .box_sub ul li .wrp_text .text_area .text {
    margin-top: 1em;
    font-size: 13px;
    line-height: 1.4em;
  }
}
/* 高さ：660以下の場合
----------------------------------------------------------- */
/* #タブレット専用
----------------------------------------------------------- */
@media only screen and (min-width: 751px) and (max-width: 1024px) {
  .con_home .box_main {
    width: 61.5%;
    float: left;
    position: relative;
    text-align: center;
  }
  .con_home .box_main .img img {
    width: 100%;
    height: auto;
    vertical-align: top;
  }
  .con_home .box_main h2 {
    font-size: 28px;
    color: #FFF;
    margin-left: -180px;
    margin-top: -110px;
  }
  .con_home .box_sub {
    width: 38.5%;
    float: right;
  }
  .con_home .box_sub ul li .wrp_img h3 {
    font-size: 12px;
    line-height: 1.2em;
    bottom: 8px;
    left: 8px;
  }
  .con_home .box_sub ul li .wrp_text .text_area {
    padding: 3%;
    background: transparent url("../images/home/ic_arrow.png") 95% 100% no-repeat;
    -moz-background-size: auto 20%;
    -o-background-size: auto 20%;
    -webkit-background-size: auto 20%;
    background-size: auto 20%;
    padding-bottom: 30px;
  }
  .con_home .box_sub ul li .wrp_text .text_area h3 {
    font-size: 14px;
    line-height: 1.2em;
  }
  .con_home .box_sub ul li .wrp_text .text_area .text {
    margin-top: 1em;
    font-size: 12px;
    line-height: 1.4em;
  }
}
/* #スマートフォン専用
----------------------------------------------------------- */
@media only screen and (min-width: 0) and (max-width: 750px) {
  .con_home {
    width: 100%;
    margin: 0 auto;
    padding: 0;
  }
  .con_home .box_main {
    width: 100%;
    float: none;
  }
  .con_home .box_main .img img {
    width: 100%;
    height: auto;
    vertical-align: top;
  }
  .con_home .box_main h2 {
    position: absolute;
    top: 10%;
    left: 5%;
    z-index: 100;
    font-size: 2.4em;
    line-height: 1.4em;
    color: #FFF;
    margin-left: 0;
    margin-top: 0;
    text-shadow: 0 0 6px #000;
  }
  .con_home .box_sub {
    width: 100%;
    float: none;
  }
  .con_home .box_sub ul li .wrp_img h3 {
    font-size: 1.2em;
    line-height: 1.2em;
    bottom: 8px;
    left: 8px;
  }
  .con_home .box_sub ul li .wrp_text {
    display: none;
  }
}
@media only screen and (min-width: 321px) and (max-width: 480px) {
  .con_home .box_main h2 {
    position: absolute;
    top: 10%;
    left: 5%;
    z-index: 100;
    font-size: 1.4em;
    line-height: 1.4em;
    color: #FFF;
    margin-left: 0;
    margin-top: 0;
    text-shadow: 0 0 6px #000;
  }
  .con_home .box_sub {
    width: 100%;
    float: none;
  }
  .con_home .box_sub ul li .wrp_img h3 {
    font-size: 0.8em;
    line-height: 1.2em;
  }
}
@media only screen and (min-width: 0px) and (max-width: 320px) {
  .con_home .box_main h2 {
    position: absolute;
    top: 10%;
    left: 5%;
    z-index: 100;
    font-size: 1.4em;
    line-height: 1.4em;
    color: #FFF;
    margin-left: 0;
    margin-top: 0;
    text-shadow: 0 0 6px #000;
  }
  .con_home .box_sub {
    width: 100%;
    float: none;
  }
  .con_home .box_sub ul li .wrp_img h3 {
    font-size: 0.7em;
    line-height: 1.2em;
  }
}
