@charset "utf-8";
/* ======================================================
CSS information

 File Name  : works.css
 Style Info : 「建設事例」のCSS
====================================================== */

#list-block .flex:not(:last-child) {
  margin-bottom: 30px;
}

#list-block .photo-box {
  margin-bottom: 10px;
}

#list-block .photo-box img {
  padding: 3px;
  border: solid 1px #f0f0f0;
  box-shadow: 0 8px 5px -5px rgba(0,0,0,.1);
}

#list-block .text-box {
  line-height: 1.5;
}

#list-block .text-box dt {
  float: left;
  clear: both;
  width: 6em;
  padding: 8px 0;
}

#list-block .text-box dt:before {
  content: "\f101";
  margin-right: .3em;
  font-family: FontAwesome;
}

#list-block .text-box dd {
  padding: 8px 0 8px 6em;
  border-bottom: dashed 1px #ccc;
}

#list-block .text-box dt:first-of-type,
#list-block .text-box dd:first-of-type {
  padding-top: 0;
}

#list-block .text-box dt:last-of-type {
  padding-bottom: 0;
}

#list-block .text-box dd:last-of-type {
  padding-bottom: 0;
  border-bottom: none;
}

#list-block .text-box a {
  text-decoration: underline;
  color: #61b5d9;
}

/* 768px～（タブレット）
------------------------------------------------------ */
@media screen and (min-width: 768px) {

  #list-block .flex:not(:last-child) {
    margin-bottom: 35px;
  }

  #list-block .flex {
    display: -webkit-flex;
    display:         flex;
    -webkit-flex-wrap: wrap;
            flex-wrap: wrap;
    -webkit-justify-content: space-between;
            justify-content: space-between;
  }

  #list-block .photo-box {
    margin-bottom: 0;
    width: 49%;
  }

  #list-block .photo-box img {
    padding: 5px;
  }

  #list-block .text-box {
    line-height: 1.6;
    width: 48%;
  }

  #list-block .text-box dt {
    padding: 9px 0;
  }

  #list-block .text-box dd {
    padding: 9px 0 9px 6em;
  }

}

/* 960px～（パソコン）
------------------------------------------------------ */
@media screen and (min-width: 960px) {

  #list-block .flex:not(:last-child) {
    margin-bottom: 40px;
  }

  #list-block .photo-box {
    width: 50%;
  }

  #list-block .text-box {
    line-height: 1.7;
    width: 47%;
  }

  #list-block .text-box dt {
    padding: 10px 0;
  }

  #list-block .text-box dd {
    padding: 10px 0 10px 6em;
  }

}