@charset "utf-8";
@media screen and (min-width: 1021px) {
  /**************************************************PC メイン画像**************************************************/
  #h_main2 h2 img {
    width: 264px;
  }
  #nav {
    text-align: center;
    margin-top: 110px;
  }
  #nav li {
    display: inline-block;
    margin-right: 50px;
    margin-left: 50px;
    font-size: 15px;
    line-height: 17px;
  }
  #nav li a .off {
    color: #cdcdcd;
  }
  #nav li a .on {
    color: #ff3800;
  }
  #photo {
    background-image: url(https://www.nichiei-kogyo.co.jp/wordpress/wp-content/uploads/2023/02/photo1R1-01.jpg);
    background-repeat: no-repeat;
    background-position: center 103px;
    min-height: 1268px;
  }
  .border {
    border-top: 1px dashed #dbd9d9;;
}
  .border2 {
    border-top: 1px dashed #dbd9d9;;
}
  #block1 {
    width: 720px;
    margin-left: auto;
    margin-right: auto;
    margin-top: 120px;
  }
  #block1 h2 {
    color: #f73b09;
    font-size: 16px;
    line-height: 26px;
    font-weight: 300;
    margin-bottom: 20px;
  }
  #block1 p {
    margin-top: 30px;
  }
#block1 .list_table, .list_table > dt, .list_table > dd {
    box-sizing: border-box;
  }
#block1 .list_table > dt, .list_table > dd {
  }
#block1 .list_table > dd {
    background-color: #fff;
  }
#block1 .list_table {
    display: flex;
    flex-wrap: wrap;
    margin-top: 40px;
  }
#block1 .list_table > dt, .list_table > dd {
    display: flex;
    flex-direction: column;
    /*border-top: 1px dashed #dbd9d9;*/
  }
#block1 .list_table > dt {
    width: 160px;
    line-height: 54px;
    padding-left: 5px;
  }
#block1 .list_table > dd {
    width: 360px;
    line-height: 54px;
  }

#block1 dl {
    width: 520px;
}
#block1 .list_table .line_no {
    border-top-style: none;
}
#block1 dt {
    border-top: 1px dashed #dbd9d9;;
}
#block1 dd {
    border-top: 1px dashed #dbd9d9;;
}


#block2 {
    position: relative;
    font-size: 16px;
    line-height: 37px;
    overflow: hidden;
    padding-bottom: 10px;
}
#block2 h3 {
    color: #ff6033;
    font-weight: 300;
    text-align: center;
    background-image: url(../images/company/pc/title1.png);
    width: 117px;
    height: 202px;
    position: absolute;
    right: 0px;
    left: 0px;
    margin-right: auto;
    margin-left: auto;
    margin-top: 160px;
    padding-top: 40px;
    font-size: 16px;
}
#block2 .box{
    background-color: #f2efef;
    margin-top: 340px;
    padding-top: 120px;
    padding-bottom: 120px;
    box-shadow: 4px 4px 7px 0px rgba(0, 0, 0, 0.1);
    width: 920px;
    margin-right: auto;
    margin-left: auto;
    padding-left: 100px;
    padding-right: 100px;
}
#block2 .box .photo {
    float: left;
    width: 250px;
    margin-right: 20px;
}
#block2 .box.cf .txt,.txt2 {
    margin-top: 40px;
}
#block2 .box.cf .txt2 {
    text-align: right;
}




#block3 {
    overflow: hidden;
    font-size: 16px;
    line-height: 37px;
    width: 720px;
    margin-right: auto;
    margin-left: auto;
    margin-top: 150px;
}
#block3 h3 {
    color: #ff6033;
    font-weight: 300;
    text-align: center;
    background-image: url(../images/company/pc/title2.png);
    width: 253px;
    height: 156px;
    padding-top: 30px;
    margin-right: auto;
    margin-left: auto;
    font-size: 16px;
}

#block3 .list_table, .list_table > dt, .list_table > dd {
    box-sizing: border-box;
  }
#block3 .list_table > dt, .list_table > dd {
  }
#block3 .list_table > dd {
    background-color: #fff;
  }
#block3 .list_table {
    display: flex;
    flex-wrap: wrap;
    margin-top: 0px;
  }
#block3 .list_table > dt, .list_table > dd {
    flex-direction: column;
    /*border-top: 1px dashed #dbd9d9;*/
  }
#block3 .list_table > dt {
    width: 160px;
    line-height: 26px;
    padding-top: 10px;
    padding-bottom: 10px;
    padding-left: 5px;
  }
#block3 .list_table > dd {
    width: 560px;
    line-height: 26px;
    padding-top: 10px;
    padding-bottom: 10px;
  }
#block3 .list_table .line_no {
    border-style: none;
}
.list_table span {
    color: #fff;
}
#block3 .list_table .no_pc {
    display: none;
}
#block3 .no_line {
    border-bottom-style: none;
}
}
@media screen and (max-width:1020px) {
  /**************************************************SP メイン画像**************************************************/
  #h_main2 h2 img {
    width: 141px
  }
   #nav {
    text-align: center;
    margin-top: 65px;
  }
  #nav li {
    display: inline-block;
    margin-right: 20px;
    margin-left: 20px;
    font-size: 13px;
    line-height: 23px;
  }
  #nav li a .off {
    color: #cdcdcd;
  }
  #nav li a .on {
    color: #ff3800;
  }
  
.border {
    border-top: 1px dashed #dbd9d9;;
}
  
  #block1 {
    margin-left: 7.7%;
    margin-right: 7.7%;
    margin-top: 50px;
}
#block1 h2 {
    color: #f73b09;
    font-size: 13px;
    line-height: 26px;
    font-weight: 300;
    margin-bottom: 20px;
}
#block1 p {
    margin-top: 40px;
}
#block1 dl {

}
#block1 .list_table .line_no2 {
    border-bottom-style: none;
}

#block1 dl dt {
    width: 100%;
    padding-top: 20px;
}
#block1 dl dd {
    width: 100%;
    border-bottom: 1px dashed #dbd9d9;
    padding-bottom: 20px;
}
.photo01 {
    margin-top: 30px;
}
#block2 {
    position: relative;
    overflow: hidden;
}
#block2 h3 {
    color: #ff6033;
    font-weight: 300;
    text-align: center;
    background-image: url(../images/company/sp/title1.png);
    width: 87px;
    height: 115px;
    position: absolute;
    right: 0px;
    left: 0px;
    margin-right: auto;
    margin-left: auto;
    margin-top: 75px;
    padding-top: 20px;
    background-size: 87px 115px;
    font-size: 13px;
}
#block2 .box{
    background-color: #f2efef;
    margin-top: 170px;
    padding-top: 20px;
    padding-bottom: 50px;
    padding-left: 7.7%;
    padding-right: 7.7%;
}
#block2 .box .photo {
    width: 42%;
    margin-top: 40px;
    margin-right: auto;
    margin-left: auto;
}
#block2 .box.cf .txt,.txt2 {
    margin-top: 40px;
}



#block3 {
    overflow: hidden;
    margin-right: 7.7%;
    margin-left: 7.7%;
    margin-top: 70px;
}
#block3 h3 {
    color: #ff6033;
    font-weight: 300;
    text-align: center;
    background-image: url(../images/company/sp/title2.png);
    width: 190px;
    height: 73px;
    margin-right: auto;
    margin-left: auto;
    padding-top: 20px;
    background-size: 190px 73px;
    font-size: 13px;
}

#block3 dl {

}


#block3 dl dt {
    width: 100%;
    padding-top: 20px;
}
#block3 dl dd {
    width: 100%;
   /* border-bottom: 1px dashed #dbd9d9;*/
    padding-bottom: 20px;
}

.list_table span {
    color: #fff;
}
}
