@import url(http://fonts.googleapis.com/css?family=Noto+Sans+JP:400,700&subset=japanese);
@import url("https://fonts.googleapis.com/css?family=Roboto");
.mainvisual {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  padding-top: 168px; }
  .mainvisual > img {
    width: 100%; }
  @media screen and (max-width: 1024px) {
    .mainvisual {
      padding-top: 60px; }
  }

/*slider*/
.slider{
  width: 100%;
  z-index: -1;
}

 
  .mainvisual h1 {
    width: 100%;
    text-align: center;
    position: absolute;
    top:14%;
    }
    .mainvisual h1 span {
      display: block;
      width: 100%;
    }
    .mainvisual h1 span:first-child {
      margin-bottom: 50px; }
    @media screen and (max-width: 896px) {
      .mainvisual h1 {
        width: 75%;
        margin: auto;
        left: 0;
        right: 0;
        top:16%;
        }
        .mainvisual h1 span:first-child {
          margin-bottom: 10px; } }
  .mainvisual h2 {
    width: 100%;
    text-align: center;
    position: absolute;
    top:46%;
  }
  .mainvisual h2 img{
    width: 536px;
  }
  @media screen and (max-width: 1500px) {
    .mainvisual h2 {top:50%;}
  }
  @media screen and (max-width: 1024px) {
    .mainvisual h2 {top:60%;}
  }
  @media screen and (max-width: 896px) {
    .mainvisual h2 {top:auto;bottom:12%;}
    .mainvisual h2 img{ width:60%;}
  }
.category {
  padding: 80px 0; }
  @media screen and (max-width: 480px) {
    .category {
      padding: 40px 0; }
  }
.category h2 {
  margin-bottom: 80px; }
@media screen and (max-width: 480px) {
      .category h2 {
        margin-bottom: 40px; }
}
.category ul li {
  font-size: 128.5%;
  color: #1f328c;
  background: #fafcfe;
}
.category ul li p {
  padding: 18px 15px 25px;
}
@media screen and (max-width: 480px) {
  .category ul li {
    font-size: 100%;
  }
  .category ul li p {
    padding: 15px;
  } 
}
.category li a .imgBox{
  height:70%;
}

.innerMv {
  width: 100%;
  height: 555px;
  position: absolute;
  top: -380px; }
  @media screen and (max-width: 896px) {
    .innerMv {
      height: 350px;
      top: -350px; } }
  @media screen and (max-width: 480px) {
    .innerMv {
      height: 250px;
      top: -250px; } }
  .innerMv::after {
    position: absolute;
    width: 70%;
    height: 100%;
    content: "";
    display: block; }
    @media screen and (max-width: 480px) {
      .innerMv::after {
        width: 100%; } }
  .innerMv .inner {
    position: relative; }
  .innerMv h2 {
    background: #fff;
    width: 351px;
    height: 351px;
    display: flex;
    flex-direction: column;
    align-content: center;
    justify-content: center;
    position: absolute;
    top: 95px;
    z-index: 1; }
    .innerMv h2 span {
      min-height: 0%;
      /*IE*/ }
    @media screen and (max-width: 480px) {
      .innerMv h2 {
        width: 70%;
        height: auto;
        padding: 30px 0;
        margin: auto;
        right: 0;
        left: 0;
        top: 180px; } }

.recommendMv::after {
  background: url("../img/top/recommendBg.jpg") no-repeat;
  background-size: cover;
  right: 0; }

.troubledMv::after {
  background: url("../img/top/troubleBg.jpg") no-repeat left;
  background-size: cover; }

.recommend {
  background: #ebf1f9;
  padding: 250px 0 80px;
  margin-top: 380px;
  position: relative; }
  @media screen and (max-width: 896px) {
    .recommend {
      padding: 150px 0 80px; } }
  @media screen and (max-width: 480px) {
    .recommend {
      padding: 110px 0 40px;
      margin-top: 250px; } }
  .recommend h2 {
    left: 0; }

.trouble {
  background: #ebf1f9;
  padding: 250px 0 80px;
  margin-top: 380px;
  position: relative;
  margin-top: 460px; }
  @media screen and (max-width: 896px) {
    .trouble {
      padding: 150px 0 80px; } }
  @media screen and (max-width: 480px) {
    .trouble {
      padding: 110px 0 40px;
      margin-top: 250px; } }
  .trouble h2 {
    right: 0; }

.recommend ul li h3 {
  font-size: 114.3%;
  font-weight: bold; }

.trouble ul li {
  display: flex;
  justify-content: space-between;
  font-size: 142.9%;
  color: #1f328c; }
  @media screen and (max-width: 480px) {
    .trouble ul li {
      font-size: 100% !important; } }
  .trouble ul li .txtBox {
    width: 50%;
    display: flex;
    align-items: center;
    padding: 0 15px; }
    @media screen and (max-width: 480px) {
      .trouble ul li .txtBox {
        width: 60%;
        padding: 0 5px; } }
    .trouble ul li .txtBox::after {
      content: "\f054";
      font-weight: bold;
      font-size: 64.3%;
      font-family: "Font Awesome 5 Free";
      position: absolute;
      right: 0;
      top: 0;
      bottom: 0;
      margin: auto;
      height: 1em; }
  .trouble ul li .imgBox {
    width: 45%;
    border-radius: 50%; }
    @media screen and (max-width: 480px) {
      .trouble ul li .imgBox {
        width: 35%; } }
    .trouble ul li .imgBox img {
      top: 50%;
      left: 50%;
      -webkit-transform: translate(-50%, -50%);
      transform: translate(-50%, -50%);
      width: 100%;
      height: auto;
      min-width: 160%; }
    .trouble ul li .imgBox::before {
      padding-top: 98%; }
  .trouble ul li h3 {
    font-size: 114.3%;
    font-weight: bold; }
  .trouble ul li:hover .imgBox img {
    -webkit-transform: translate(-50%, -50%) scale(1.2);
    transform: translate(-50%, -50%) scale(1.2); }

.aboutSec {
  border-top: 0px; }
