@charset "utf-8";
/*################## スマホ縦用　##################*/
@media screen and (min-width: 0px) and (max-width: 480px) {
  /*####### index-01 #####*/
  #index-01 {
    width: 300px;
    height: 430px;
    margin: 0 auto;
    padding-top: 120px;
    background-image: url("../image/top/mv_sp.png");
    background-repeat: no-repeat;
    background-position: center bottom;
  }
  #index-01 h1 {
    position: relative;
    top: 220px;
    text-align: center;
    font-size: 16px;
  }
  #index-01 h2 {
    font-size: 36px;
    line-height: 1.5;
  }
  #index-01 h3 {
    position: relative;
    line-height: 1.2;
    top: -30px;
  }
  #index-02 {
    width: 98%;
    padding: 50px 0 30px 0;
  }
  #index-03 { /*ABOUT*/
    padding-bottom: 0;
    margin-bottom: 0;
  }
  #index-03-01 {
    width: 90%;
    position: relative;
    top: -80px;
    left: 10%;
  }
  #index-03-01 p {
    padding-top: 20px;
  }
  #in #index-04 { /*ごあいさつ*/
    padding-top: -20px;
    padding-bottom: 50px;
  }
  #index-05 { /*採用情報*/
    margin: 0 auto;
    padding: 50px 0;
  }
  #index-05 .box-r ul {
    margin: 0 auto;
    position: relative;
    left: -15px;
    text-align: center;
  }
  #index-05 .box-r li {
    list-style: none;
    text-align: center;
    padding: 10px 0;
  }
  #index-06 p { /*会社概要*/
    position: relative;
    top: -30px;
  }
  .map {
    padding: 20px 0;
  }
  #index-07 { /*お知らせ*/
    width: 95%;
    margin: 0 auto;
    padding-top: 40px;
  }
  .topics {
    /*overflow: scroll;*/
  }
  #index-08 { /*SNS*/
    width: 95%;
    margin: 0 auto;
    padding: 50px 0;
  }
  #index-08 ul {
    position: relative;
    left: -15px;
    text-align: center;
  }
  #index-08 li {
    display: inline-block;
    list-style: none;
    text-align: center;
    padding: 20px;
  }
}
/*################## スマホ横用 #################*/
@media screen and (min-width: 481px) and (max-width: 896px) {
  #index-01 {
    clear: both;
    width: 90%;
    height: 400px;
    margin: 150px auto 0 auto;
    background-image: url("../image/top/mv_pc.png");
    background-repeat: no-repeat;
    background-position: center top;
    background-size: 100%;
  }
  #index-01 h1 {
    text-align: center;
    letter-spacing: 2px;
    font-size: 18px;
    font-weight: normal;
    position: relative;
    top: 200px;
  }
  #index-01 h2 {
    font-size: 40px;
    position: relative;
  }
  #index-01 h3 {
    position: relative;
    top: -40px;
    font-size: 16px;
    line-height: 1.5;
  }
  #index-02 {
    margin: 0 auto;
  }
  #index-03 { /*ABOUT*/
    margin: 0 auto 30px auto;
  }
  #index-03-01 {
    width: 98%;
    height: 450px;
    margin: 0 auto;
    background-image: url("../image/top/ph_top01.png");
    background-repeat: no-repeat;
    background-position: top left;
  }
  #index-03-02 {
    width: 50%;
    height: 340px;
    position: relative;
    top: 100px;
    left: 50%;
    align-content: center;
  }
  #index-03-02 p {
    text-align: center;
    font-weight: 600;
  }
  #index-04 { /*ごあいさつ*/
    width: 98%;
    margin: 0 auto;
    padding-top: 30px;
  }
  #index-04 p {
    text-align: center;
    font-weight: 600;
  }
  #index-04 .box-l {
    text-align: center;
  }
  #index-04 .box-r p img {
    width: 90%;
  }
  #index-04 .box-r {
    margin: 10px auto;
  }
  #index-05 { /*採用情報*/
    width: 98%;
    margin: 0 auto;
    padding-top: 50px;
  }
  #index-05 .box-l {
    text-align: center;
  }
  #index-05 .box-l p img {
    width: 90%;
  }
  #index-05 .box-r {
    margin: 10px auto;
  }
  #index-05 .box-r ul {
    margin: 0 auto;
    position: relative;
    left: -15px;
    text-align: center;
  }
  #index-05 .box-r li {
    display: inline-block;
    list-style: none;
    text-align: center;
    padding: 20px 5px;
  }
  #index-06 { /*会社概要*/
    width: 98%;
    margin: 0 auto;
    padding-top: 30px;
  }
  #index-06 .box-l {
    width: 98%;
    text-align: center;
    font-weight: 600;
  }
  #index-06 .box-r {
    width: 98%;
    margin-bottom: 50px;
  }
  #index-07 { /*おしらせ*/
    clear: both;
    width: 98%;
    margin: 0 auto;
    padding: 50px 0;
  }
  #index-07-01 {
    width: 650px;
    margin: 0 auto;
    border-top: solid 1px #04461e;
    border-bottom: solid 1px #04461e;
  }
  .topics {
    width: 600px;
    height: 100px;
    margin: 30px auto;
    /*overflow-y: scroll;お知らせが増えたら*/
  }
  .topics dl {
    padding-bottom: 20px;
  }
  .topics dl dt {
    padding: 0 0 0 10px;
  }
  .topics dl dd {
    padding: 0 0 0 30px;
  }
  #index-08 { /*SNS*/
    width: 98%;
    margin: 0 auto;
    padding-bottom: 100px;
  }
  #index-08 ul {
    width: 450px;
    margin: 0 auto;
  }
  #index-08 li {
    display: inline-block;
    list-style: none;
    width: 200px;
    text-align: center;
    padding: 20px 0;
  }
}
/*################## PC用 #################*/
@media print, screen and (min-width:897px) {
  #index-01 {
    clear: both;
    width: 1200px;
    height: 639px;
    margin: 150px auto 0 auto;
    background-image: url("../image/top/mv_pc.png");
    background-repeat: no-repeat;
    background-position: center top;
  }
  #index-01 h1 {
    text-align: center;
    letter-spacing: 2px;
    font-size: 18px;
    font-weight: normal;
    position: relative;
    top: 400px;
  }
  #index-01 h2 {
    font-size: 40px;
    position: relative;
    top: 40px;
    left: 100px;
  }
  #index-01 h3 {
    position: relative;
    top: 10px;
    left: 100px;
    font-size: 16px;
    line-height: 1.5;
  }
  #index-02 {
    margin: 0 auto;
    padding: 0 0 50px 0;
  }
  #index-03 { /*ABOUT*/
    margin: 0 auto 30px auto;
  }
  #index-03-01 {
    width: 950px;
    height: 450px;
    margin: 0 auto;
    background-image: url("../image/top/ph_top01.png");
    background-repeat: no-repeat;
    background-position: top left;
  }
  #index-03-02 {
    width: 400px;
    height: 340px;
    position: relative;
    top: 100px;
    left: 450px;
    align-content: center;
  }
  #index-03-02 p {
    text-align: center;
    font-weight: 600;
  }
  #index-04 { /*ごあいさつ*/
    width: 1000px;
    height: 600px;
    margin: 0 auto;
    padding-top: 30px;
  }
  #index-04 p {
    text-align: center;
    font-weight: 600;
  }
  #index-04 .box-l {
    float: left;
    width: 350px;
    height: 370px;
    align-content: center;
  }
  #index-04 .box-r {
    float: right;
    width: 600px;
    height: 360px;
  }
  #index-05 { /*採用情報*/
    clear: both;
    width: 1000px;
    height: 370px;
    margin: 0 auto;
    padding-top: 30px;
  }
  #index-05 .box-l {
    float: left;
    width: 600px;
    margin-bottom: 50px;
  }
  #index-05 .box-r {
    float: right;
    width: 350px;
    height: 360px;
    align-content: center;
    text-align: center;
    font-weight: 600;
  }
  #index-05 .box-r li {
    display: inline-block;
    list-style: none;
    text-align: center;
    padding: 20px 5px;
  }
  #index-06 { /*会社概要*/
    clear: both;
    width: 1000px;
    margin: 0 auto;
    padding-top: 30px;
  }
  #index-06 .box-l {
    float: left;
    width: 300px;
    text-align: center;
    font-weight: 600;
  }
  #index-06 .box-r {
    float: right;
    width: 700px;
    height: 360px;
    margin-bottom: 50px;
  }
  #index-07 { /*おしらせ*/
    clear: both;
    width: 1000px;
    margin: 0 auto;
    padding: 80px 0;
  }
  #index-07-01 {
    width: 650px;
    margin: 0 auto;
    border-top: solid 1px #04461e;
    border-bottom: solid 1px #04461e;
  }
  .topics {
    width: 600px;
    height: 100px;
    margin: 30px auto;
    /*overflow-y: scroll;お知らせが増えたら*/
  }
  .topics dl {
    padding-bottom: 20px;
  }
  .topics dl dt {
    padding: 0 0 0 10px;
  }
  .topics dl dd {
    padding: 0 0 0 30px;
  }
  #index-08 { /*SNS*/
    width: 600px;
    margin: 0 auto;
    padding-bottom: 100px;
  }
  #index-08 ul {
    width: 450px;
    margin: 0 auto;
  }
  #index-08 li {
    display: inline-block;
    list-style: none;
    width: 200px;
    text-align: center;
    padding: 20px 0;
  }
}
/*################## スマホ・PC共通 ##################*/
/*####### index #####*/
#index-01 h2 {
  font-weight: 600;
}
#index-02 p {
  line-height: 3;
  text-align: center;
}
#index-03-02 {
  background: rgba(251, 250, 244, 0.9);
}
.topics dl dt {
  font-weight: 600;
}
/*####### 一文字ずつ浮き上がる #####*/
.text-slide span {
  display: inline-block;
  opacity: 0;
  transform: translateX(-50px);
  animation: slideIn 3s ease forwards;
}
@keyframes slideIn {
  to {
    opacity: 1;
    transform: translateX(0);
  }
}