@charset "UTF-8";

/*------------------------ 見出し------------------------*/

/* ページタイトル */
#top .main {
    height: calc(100vh - 80px);
    position: relative;
    overflow: hidden;
}


#top .main .heading {
  position: absolute;
  width: 100%;
  max-width: 800px;
  left: 0;
  bottom: 165px;
  padding: 0 80px 70px;
  color: #fff;
  font-size: 60px;
  font-size: 6rem;
  font-weight: bold;
  z-index: 100;
}

#top .main .heading::before {
  position: absolute;
  content: "";
  background: #fff;
  height: 1px;
  width: 100%;
  max-width: 800px;
  left: 80px;
  bottom: 0;
}

#top .main .heading::after{
  content: "";
    /*描画位置*/
  position: absolute;
  bottom: 0;
    /*線の形状*/
  width: 100px;
  height: 1px;
  background: #004a98;
    /*線の動き1.4秒かけて動く。永遠にループ*/
  animation: pathmove 5s ease-in-out infinite;
  opacity:0;
}

/*高さ・位置・透過が変化して線が上から下に動く*/
@keyframes pathmove{
  0%{
    width:0;
    bottom:0;
    opacity: 0;
    }
  90%{
    width:800px;
    opacity: 1;
    }
  100%{
    width:800px;
    opacity: 0;
    }
}


#top .main .heading span {
  display: block;
  line-height: 1;
  overflow: hidden;
}

#top .main .heading .en {
  padding-bottom: 50px;
}

#top .main .heading .jp {
  display: block;
  font-size: 24px;
  font-size: 2.4rem;
}

#top .main .bg-wrap .inn {
  opacity: 0;
  transform: matrix(1, 0, 0, 1, 0, 100);
  transition: 1.2s cubic-bezier(0.22, 1, 0.36, 1);
}

#top .main.is-animated .bg-wrap {
  opacity: 1;
}

#top .main.is-animated .bg-wrap .inn {
  opacity: 1;
  transform: matrix(1, 0, 0, 1, 0, 0);
}


#top .main {
  position: relative;
}


#top .slider .img img {
  width: 100%;
}

#top .slide-animation{
    animation: fadezoom 15s 0s forwards;
}
@keyframes fadezoom {
  0% {
    transform: scale(1.15);
  }
  100% {
    transform: scale(1);
  }
}

#top .container .m-heading {
  margin-bottom: 30px;
}

#top .container .block {
  max-width: 560px;
}

#top .p-about {
    padding: 100px 0;
}

#top .p-about .flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

/* #top .p-about .flex .img {
    overflow: hidden;
    background: #164a98;
    max-width: 500px;
    width: 100%;
    height: 500px;
} */


#top .p-business {
    padding: 120px 0 80px;
    background: url("../img/top/bg_business_pc.jpg")no-repeat;
    background-position: center;
    background-size: cover;
}

#top .p-other {
    padding: 100px 0 140px;
}

#top .p-other .flex {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

#top .p-other .flex .p-2col {
    width: 48%;
    max-width: 560px;
}

#top .p-other .flex .p-2col .img {
  margin: 0 auto 40px;
}

#top .p-topics {
  margin-bottom: 150px;
}

#top .p-topics .flex {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

#top .p-topics .ttl {
  max-width: 260px;
  width: 22%;
  border-top: solid 1px #000;
  padding-top: 30px;
}

#top .p-topics .content {
  max-width: 916px;
  width: 75%;
}

#top .p-topics .content table {
  width: 100%;
  font-size: 14px;
  font-size: 1.4rem;
  line-height: 2.2;
  border-bottom: solid 1px #000;
}

#top .p-topics .content table th {
  padding: 35px 0;
  font-weight: bold;
  text-align: left;
  width: 170px;
  color: #004a98;
  vertical-align: top;
}

#top .p-topics .content table td {
  padding: 35px;
}

#top .p-topics .content table tr {
  border-top: solid 1px #000;
}

/* タブレット */
@media screen and (max-width: 1100px){
  #top .main {
      height: 55vw;
  }

  #top .main .heading {
      bottom: 50px;
      padding: 0 40px 30px;
      font-size: 4rem;
  }

  #top .main .heading::before {
      width: calc(100% - 80px);
      left: 40px;
  }

  #top .main .heading .jp {
      font-size: 1.8rem;
  }

  #top .main .heading .en {
      padding-bottom: 20px;
  }

  #top .container .block {
      width: 50%;
  }

  #top .p-about .flex .img {
      width: 48%;
  }

  #top .p-about {
      padding: 80px 0;
  }

  #top .p-other .flex .p-2col .block {
      width: 100%;
  }
  #top .p-topics .content table th {
      width: 100px;
  }

  #top .p-topics .content {
      width: 71%;
  }


}
/* タブレットここまで */

/* スマホ */
@media screen and (max-width: 767px) {


  #top .main {
      height: 375px;
  }

  #top .main .heading {
      padding: 0 0 111px;
      bottom: 40px;
      font-size: 3.6rem;
      width: calc(100% - 40px);
      left: 20px;
  }

  #top .main .heading::after{
    content: "";
      /*描画位置*/
    position: absolute;
    bottom: 0;
      /*線の形状*/
    width: 100px;
    height: 1px;
    background: #004a98;
      /*線の動き1.4秒かけて動く。永遠にループ*/
    animation: pathmove 5s ease-in-out infinite;
    opacity:0;
  }

  /*高さ・位置・透過が変化して線が上から下に動く*/
  @keyframes pathmove{
    0%{
      width:0;
      bottom:0;
      opacity: 0;
      }
    60%{
      width:374px;
      opacity: 1;
      }
    100%{
      width: 0;
      opacity: 0;
      }
  }

  #top .main .heading .jp {
      font-size: 1.8rem;
  }

  #top .main .heading .en {
      padding-bottom: 20px;
  }

  #top .main .heading::before {
      left: 0;
  }


  #top .container .m-heading {
      margin-bottom: 15px;
  }

  #top .p-about {
    padding: 50px 0 100px;
  }

  #top .container .block {
    width: 100%;
  }


  #top .p-about .flex .img {
      margin: 20px auto 0;
      width: 100%;
  }


    #top .p-business {
      padding: 60px 0 50px;
      background: url("../img/top/bg_business_sp.jpg")no-repeat;
      background-position: center;
      background-size: cover;
    }

    #top .p-other {
        padding: 100px 0;
    }


    #top .p-other .flex .p-2col {
      width: 100%;
      margin: 0 auto 100px;
  }

  #top .p-other .flex .p-2col:last-child {
      margin: 0 auto;
  }
  #top .p-topics .ttl {
      width: 100%;
      max-width: inherit;
      padding: 50px 0;
  }

  #top .p-topics .content {
      width: 100%;
  }

  #top .p-topics .content table th {
      display: block;
      width: 100%;
      padding: 30px 0 20px;
  }

  #top .p-topics .content table td {
      display: block;
      padding: 0 0 30px;
  }

  #top .p-topics .content table {
      font-size: 1.2rem;
      line-height: 2;
  }

  #top .p-topics {
      margin-bottom: 100px;
  }


}

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

  #top .main {
      height: 320px;
  }

  #top .main .heading {
      padding: 0 0 80px;
      font-size: 3rem;
  }

  #top .main .heading .jp {
      font-size: 1.6rem;
  }

}
