@charset "utf-8";
@media screen and (min-width: 1021px) {
  /**************************************************PC メイン画像**************************************************/
  #h_main h2 img {
    width: 315px;
  }
  #top {
    padding-top: 150px;
    background-image: url(../images/service/top_bg.jpg);
    background-position: right bottom;
    background-repeat: no-repeat;
    height: 556px;
    width: 100%;
    margin-right: auto;
    margin-left: auto;
    max-width: 1240px;
  }
  #top .wrap {
    width: 720px;
    margin-right: auto;
    margin-left: auto;
    padding-right: 300px;
    box-sizing: border-box;
  }
  #top .wrap h2 {
    font-size: 16px;
    line-height: 18px;
    font-weight: 300;
    color: #ff6033;
  }
  #top .wrap h2 img {
  }
   #top .txt {
    margin-top: 20px;
  }
  #block1 {
    background-image: url(../images/service/pc/box01_bg.jpg);
    background-repeat: no-repeat;
    background-position: center top;
    height: 823px;
    margin-top: 120px;
    margin-right: auto;
    width: 100%;
    max-width: 1440px;
    margin-left: auto;
  }
  #block1 .wrap {
    width: 740px;
    background-image: url(../images/service/pc/bg01.png);
    height: 700px;
    float: right;
    margin-top: 140px;
    padding-left: 90px;
    filter: drop-shadow(2px 2px 3px rgba(0, 0, 0, 0.3));
  }
  #block1 h3 {
    font-size: 27px;
    line-height: 36px;
    font-weight: 400;
    margin-top: 100px;
  }
  #block1 p {
    width: 520px;
    margin-top: 35px;
  }
  #block2 {
    background-image: url(https://www.nichiei-kogyo.co.jp/wordpress/wp-content/uploads/2023/02/box2_bgR1-01-1.jpg);
    background-repeat: no-repeat;
    background-position: center top;
    height: 677px;
    margin-top: 80px;
    margin-right: auto;
    width: 100%;
    max-width: 1440px;
    margin-left: auto;
  }
  #block2 .wrap {
    width: 740px;
    background-image: url(../images/service/pc/bg02.png);
    height: 700px;
    margin-top: 113px;
    padding-left: 180px;
    filter: drop-shadow(5px 5px 5px rgba(0, 0, 0, 0.3));
    transform: translateZ(0);
    overflow: hidden;
  }
  #block2 h3 {
    font-size: 27px;
    line-height: 36px;
    font-weight: 400;
    margin-top: 90px;
  }
  #block2 p {
    width: 520px;
    margin-top: 35px;
  }
  #block3 {
    background-image: url(../images/service/pc/box03_bg.jpg);
    background-repeat: no-repeat;
    background-position: center top;
    height: 677px;
    margin-top: 80px;
    margin-right: auto;
    width: 100%;
    max-width: 1440px;
    margin-left: auto;
  }
  #block3 .wrap {
    width: 740px;
    background-image: url(../images/service/pc/bg03.png);
    height: 417px;
    float: right;
    margin-top: 110px;
    padding-left: 90px;
    filter: drop-shadow(5px 5px 5px rgba(0, 0, 0, 0.3));
    transform: translateZ(0);
  }
  #block3 h3 {
    font-size: 27px;
    line-height: 36px;
    font-weight: 400;
    margin-top: 100px;
  }
  #block3 p {
    width: 520px;
    margin-top: 35px;
  }
  #block1 li {
    list-style-position: outside;
    margin-left: 16px;
  }
  #block1 li:before {
    content: '';
    width: 3px;
    height: 3px;
    display: inline-block;
    border-radius: 100%;
    background: #000000;
    position: relative;
    left: -10px;
    top: -3px;
  }
  #block2 li {
    list-style-position: outside;
    margin-left: 16px;
  }
#block2 .wrap ul {
    margin-top: 35px;
}
  #block2 li:before {
    content: '';
    width: 3px;
    height: 3px;
    display: inline-block;
    border-radius: 100%;
    background: #000000;
    position: relative;
    left: -10px;
    top: -3px;
  }
  #block4 {
    width: 100%;
    margin-right: auto;
    margin-left: auto;
    margin-top: 120px;
    max-width: 1140px;
  }
  #block4 h3 {
    font-size: 16px;
    line-height: 18px;
    font-weight: normal;
    text-align: center;
  }
  #block4 table {
    width: 100%;
    border-bottom: 1px solid #dddddd;
    border-right: 1px solid #dddddd;
    border-collapse: collapse;
    margin-top: 20px;
  }
  #block4 table .no_line {
    border-top-style: none;
    border-left-style: none;
  }
  #block4 table th {
    border-top: 1px solid #dddddd;
    border-left: 1px solid #dddddd;
    color: #000;
    padding-left: 10px;
    padding-right: 10px;
    background-color: #f2f2f2;
    font-weight: normal;
    text-align: left;
    white-space: nowrap;
  }
  #block4 table td {
    border-top: 1px solid #dddddd;
    border-left: 1px solid #dddddd;
    color: #000;
    padding-left: 10px;
    padding-right: 10px;
  }
  #block4 table .center {
    text-align: center;
  }
  #gallery {
    width: 100%;
    max-width: 1140px;
    margin-right: auto;
    margin-left: auto;
  }
  #gallery h2 {
    color: #f73b09;
    font-size: 16px;
    line-height: 26px;
    font-weight: 300;
    background-image: url("../images/service/pc/gallery.png");
    width: 104px;
    height: 129px;
    text-align: center;
    background-position: center top;
    padding-top: 28px;
    margin-right: auto;
    margin-left: auto;
    margin-top: 150px;
}
  #gallery li {
    width: 30%;
    float: left;
    margin-right: 5%;
    text-align: center;
    margin-top: 40px;
  }
  #gallery li img {
    width: 100%;
  }
  #gallery .no_mpc {
    margin-right: 0px;  
  }
   #gallery .no_mpc_t {
    margin-top: 0px;  
  }
}
  @media screen and (max-width:1290px) {
    #block4 {
      padding-left: 20px;
      padding-right: 20px;
    }
    #gallery {
    padding-left: 20px;
      padding-right: 20px;
  }
  }

@media screen and (max-width:1020px) {
  /**************************************************SP メイン画像**************************************************/
  #h_main h2 img {
    width: 170px
  }
  #top{
    padding-top: 75px;
    margin-right: 7.7%;
    margin-left: 7.7%;
}
#top .wrap h2 {
    font-size: 13px;
    line-height: 15px;
    font-weight: 300;
    color: #ff6033;
}
#top .wrap h2 img {
    margin-bottom: 10px;
}
#top .wrap .txt {
    width: 100%;
    margin-top: 50px;
}
#top .wrap .img {
    width: 100%;
    max-width: 300px;
    margin-right: auto;
    margin-left: auto;
    margin-top: 10px;
}
#top .wrap .img img {
    width: 100%;
}


#block1 {
    background-image: url("../images/service/sp/w.png");
    background-repeat: repeat-x;
    background-position: center top;
    margin-top: 75px;
    background-color: #f0eeee;
    padding-bottom: 50px;
}
#block1 .wrap {
    background-image: url(../images/service/sp/01.png);
    background-position: 7.7% 0%;
    background-size: 46px auto;
}
#block1 h3 {
    font-size: 18px;
    line-height: 26px;
    font-weight: normal;
    background-image: url(../images/service/sp/icon1.png);
    background-repeat: no-repeat;
    background-size: 57px auto;
    background-position: right bottom;
    padding-top: 60px;
    margin-right: 7.7%;
    margin-left: 7.7%;
}
#block1 .txt {
    margin-top: 50px;
    margin-right: 7.7%;
    margin-left: 7.7%;
}
#block1 .img {
    margin-top: 50px;
}




#block2 {
    background-image: url("../images/service/sp/w.png");
    background-repeat: repeat-x;
    background-position: center top;
    margin-top: 40px;
    background-color: #f0eeee;
    padding-bottom: 50px;
}
#block2 .wrap {
    background-image: url(../images/service/sp/02.png);
    background-position: 7.7% 0%;
    background-size: 53px auto;
}
#block2 h3 {
    font-size: 18px;
    line-height: 26px;
    font-weight: normal;
    background-image: url(../images/service/sp/icon2.png);
    background-repeat: no-repeat;
    background-size: 67px auto;
    background-position: right bottom;
    padding-top: 60px;
    margin-right: 7.7%;
    margin-left: 7.7%;
}
#block2 p {
    margin-top: 50px;
    margin-right: 7.7%;
    margin-left: 7.7%;
}



#block3 {
    background-image: url("../images/service/sp/w.png");
    background-repeat: repeat-x;
    background-position: center top;
    margin-top: 40px;
    background-color: #f0eeee;
    padding-bottom: 50px;
}
#block3 .wrap {
    background-image: url(../images/service/sp/03.png);
    background-position: 7.7% 0%;
    background-size: 51px auto;
}
#block3 h3 {
    font-size: 18px;
    line-height: 26px;
    font-weight: normal;
    background-image: url(../images/service/sp/icon3.png);
    background-repeat: no-repeat;
    background-size: 74px auto;
    background-position: right bottom;
    padding-top: 60px;
    margin-right: 7.7%;
    margin-left: 7.7%;
}
#block3 p {
    margin-top: 50px;
    margin-right: 7.7%;
    margin-left: 7.7%;
}
.margin0 {
    margin: 0px;
}
#block1 ul {
    margin-left: 10px;
}
#block1 li {
    list-style-position: outside;
    margin-right: 7.7%;
    margin-left: 7.7%;
}
#block1 li:before {
    content: '';
	width: 3px;
	height: 3px;
	display: inline-block;
	border-radius: 100%;
	background: #000000;
	position: relative;
	left: -10px;
	top: -3px;
}
#block2 ul {
    margin-left: 10px;
    margin-top: 50px;
}
#block2 li {
    list-style-position: outside;
    margin-right: 7.7%;
    margin-left: 7.7%;
}
#block2 li:before {
    content: '';
	width: 3px;
	height: 3px;
	display: inline-block;
	border-radius: 100%;
	background: #000000;
	position: relative;
	left: -10px;
	top: -3px;
}
  #block4 {
    margin-right: 7.7%;
    margin-left: 7.7%;
    margin-top: 75px;
    padding-left: 0px;
      padding-right: 0px;
  }
  #block4 h3 {
    font-size: 13px;
    line-height: 15px;
    font-weight: normal;
    text-align: center;
  }
 #block4 table {
    width: 100%;
    border-collapse: collapse;
  }
  #block4 table .no_line {
    border-top-style: none;
    border-left-style: none;
  }
  #block4 table th {
    color: #000;
    padding-left: 10px;
    padding-right: 10px;
    background-color: #f2f2f2;
    font-weight: normal;
    text-align: left;
    white-space: nowrap;
  }
  #block4 table td {
    border-bottom: 1px solid #dddddd;
    color: #000;
    padding-left: 10px;
    padding-right: 10px;
    padding-top: 10px;
    padding-bottom: 10px;
  }
  #block4 table .center {
    text-align: center;
  }
  
   #gallery {
    width: 100%;
    max-width: 1140px;
    margin-top: 165px;
    margin-right: auto;
    margin-left: auto;
    position: relative;
    padding-bottom: 30px;
    padding-left: 7.7%;
      padding-right: 7.7%;
  }
    #gallery h2 {
    color: #f73b09;
    font-size: 13px;
    line-height: 26px;
    font-weight: 300;
    background-image: url("../images/service/sp/gallery.png");
    background-size: 78px 109px;
    width: 78px;
    height: 109px;
    text-align: center;
    background-position: center top;
    padding-top: 20px;
    margin-right: auto;
    margin-left: auto;
    position: absolute;
    left: 0px;
    right: 0px;
    top: -70px;
  }
  #gallery li {
    width: 47%;
    float: left;
    margin-right: 6%;
    text-align: center;
    margin-top: 6%;
    line-height: 18px;
  }
  #gallery li img {
    width: 100%;
  }
  #gallery .no_msp {
    margin-right: 0px;  
  }
}

