@charset "UTF-8";

/*共通 --------------------------------------------------------------------------*/
.pagecontents_menu .pagecontents_item:nth-child(2n) {
  margin-right: 0;
}

section {
  position: relative;
  display: block;
  box-sizing: border-box;
  margin: 0 auto 9rem;
}

section.mae {
  margin: 0 auto 9.5rem;
}

h3 {
  font-size: 2.5rem;
  font-weight: bold;
  color: #B5272D;
  text-align: center;
  padding-bottom: 3rem;
}

h3.outside {
  position: absolute;
  top: -0.7em;
  left: 0;
  right: 0;
  margin: auto;
  padding-bottom: 0;
}

h3+p {
  text-align: center;
}

.scroll_wrap .pc-none {
  font-size: 1.3rem;
}

@media screen and (max-width: 999px) {
  .pagecontents_menu{
    justify-content: space-between;
  }
  section {
    margin: 0 auto 4.5rem;
  }

  section.mae {
    margin: 0 auto 6rem;
  }

  h3 {
    font-size: 1.6rem;
    padding-bottom: 1.5rem;
  }

  h3+p {
    text-align: left;
  }
}
/*事例*/
.case ul {
  display: flex;
  flex-wrap: wrap;
}

.case li {
  width: 23.5%;
  margin-right: 2%;
}

.case li:nth-child(4),.case li:nth-child(8) {
  margin-right: 0;
}

.case img {
  width: 100%;
  height: 191px;
  padding-bottom: 1rem;
}

.case figure {
  padding-bottom: 2rem;
  font-size: 1.4rem;
}

@media screen and (max-width: 900px) {
  .case img {
    height: auto;
  }

  .case li {
    width: 100%;
    margin-right: 0;
  }
}

/*開発請負
--------------------------------------------------------------------------*/
#deve h3{
  font-size: 1.8rem;
  text-align: left;
  border-bottom: 1px solid #B5272D;
  padding-bottom: 0;
  margin-bottom: 2rem;
}
#deve .list{
  display: flex;
  margin-bottom: 2rem;
}
#deve .list ul{
  margin-right: 3%;
  list-style: disc;
  margin-left: 1em;
  line-height: 2;
  width: 30%;
}
#deve .list ul li{
  line-height: 1.5;
}
#deve .list ul ul{
  list-style: none;
  line-height: 1.6;
  margin-left: 0;
  font-size: 13px;
  width: 100%;
}
#deve section{
  margin:0 auto 5rem;
}
#deve .flow .flex{
  display: flex;
  flex-wrap: wrap;
}
#deve .flow .flex figure{
  position: relative;
  width: 28%;
  height: 216px;
  margin-left: 2.5%;
  margin-right: 2.5%;
  margin-bottom: 6rem;
}
#deve .flow .flex figure:first-child,#deve .flow .flex figure:nth-child(4){
  margin-left: 0;
}
#deve .flow .flex figure img{
  width: 100%;
  height:216px;
  object-fit: cover;
}
#deve .flow .flex figure::after{
  position: absolute;
  content: '';
  top:50%;
  right:-13%;
  width: 19px;
  height:28px;
  background-image: url(../img/development_contract/arrow-dv.svg);
  background-size: cover;
}
#deve .flow .flex figure:nth-child(6)::after{
  display: none;
}
#deve .flow .flex figcaption{
  font-size: 1.4rem;
  margin-top: 0.5em;
}
@media screen and (max-width: 900px) {
  #deve .list{
    display: block;
  }
  #deve section{
    margin-bottom: 3rem;
  }
  #deve h3{
    font-size: 1.6rem;
  }
  #deve .flow .flex{
  }
  #deve .flow .flex figure{
    width: 42%;
    height:auto;
    margin-left: 5%;
    margin-right: 5%;
    margin-bottom: 2rem;
  }
  #deve .flow .flex figure:first-child,
  #deve .flow .flex figure:nth-child(4){
    margin-left: 5%;
    margin-right: 5%;
  }
  #deve .flow .flex figure:nth-child(odd){
    margin-left: 0;
  }
  #deve .flow .flex figure img{
    height:100px;
  }
  #deve .flow .flex figcaption{
    margin-top: 0.1em;
    line-height: 1.3;
  }
  #deve .flow .flex figure::after{
    top:30%;
    z-index: 2;
    width: 14px;
    height:20px;
    right:-15%;
  }
    #deve .list ul,#deve .list ul ul{
      width: 100%;
    }
}

/*受託製造・組立
--------------------------------------------------------------------------*/
#pro h3 {
  font-size: 1.8rem;
  text-align: left;
  border-bottom: 1px solid #B5272D;
  padding-bottom: 0;
  margin-bottom: 2rem;
}

#pro .list {
  display: flex;
  margin-bottom: 2rem;
}

#pro .list ul {
  margin-right: 3%;
  list-style: disc;
  margin-left: 1em;
  line-height: 2;
}

#pro .list ul li {
  line-height: 1.5;
}

#pro .list ul ul {
  list-style: none;
  line-height: 1.6;
  margin-left: 0;
}
#pro .flex{
  display: flex;
}
#pro section {
  margin: 0 auto 5rem;
}
#pro .flex section:last-child{
  margin:0 0 5rem 3%;
}
#pro section.jichitai{
  width: 75%;
}
#pro section.minkan {
  width: 25%;
}
#pro .flex li{
  width: 48%;
}
#pro .flex section.jichitai li {
  width: 32%;
}
#pro .flex section.jichitai li:nth-child(3){
  margin-right: 0;
}
#pro .flex section.minkan li {
  width: 100%;
  margin-right: 0;
}
@media screen and (max-width: 900px) {
#pro .list {
    display: block;
  }
#pro .flex {
  display: block;
}
#pro section {
  margin-bottom: 3rem;
}
#pro section.jichitai,#pro section.minkan{
  width: 100%;
}
#pro .flex section:last-child {
  margin: 0 0 5rem;
}
#pro .flex li,#pro .flex section.jichitai li, #pro .flex section.minkan li{
  width: 100%;
}
#pro h3 {
  font-size: 1.6rem;
}
}




