@charset "utf-8";
/* CSS Document */
/* ==========================
下層ページ共通
============================= */


main p {
    line-height: 28px;
}

.contents-box {
    overflow: hidden;
}
.flex-box {
  overflow: hidden;
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
}



/*=========================================*/


/* maincontents
=========================================*/

.section {
    margin-bottom: 40px;
}

.right-box {
    display: table;
    float: right;
    text-align: left;
    overflow: hidden;
    width: 550px;
    height: 135px;
    margin-left: 20px;
}
.right-box p{
    display: table-cell;
    vertical-align: top;
}

.left-box {
	width:auto;
    margin-bottom: 60px;
    margin-top: 5px
}
.left-box img {
    border: 1px solid #ccc;
    padding: 1px;
}
.situation{
    text-align: center;
    margin-top: 50px;
    margin-bottom: 60px;
}
.situation p{
    font-weight: bold;
    font-size: 143%;
    color: #000000;
    margin-bottom: 20px;
}

.image_box{
    display: flex;
    justify-content: space-between;
    margin-bottom: 30px;
    margin-top: 20px;
}
.image_text{
  max-width: 460px;
    margin-top: 25px;
}
.image_text h3{
    color:#000000;
    border: none;
    font-weight: bold;
    margin-bottom: 0;
    font-size:2rem;
}
.image_text p{
    padding: 0 0 0 4px;
}

.space_loss{
    margin-bottom: 10px;
}


/* こんなサイトにオススメ
=========================================*/
.push_box{
    display: flex;
    justify-content: space-between;
    margin-bottom: 60px;
}
.push_box li {
  width: calc(50% - 20px);
}
.push_box_l{
    background-color: #b7dee8;
    padding: 15px;
}
.push_box_r{
    background-color: #d7e4bd;
    padding: 15px;
}
.push_box p{
    padding: 0 10px;
}
.push_box_l h3 {
    font-weight: bold;
    margin:0 auto 10px;
    border: none;
    border-bottom: 2px solid #4a7ebb;
    font-size: 2.4rem;
    color: #254061;
    text-align: center;
}
.push_box_r h3 {
    font-weight: bold;
    margin:0 auto 10px;
    border: none;
    border-bottom: 2px solid #4f6228;
    font-size: 2.4rem;
    color: #4f6228;
    text-align: center;
}


/* 制作実績
=========================================*/
p.txt-link {
    margin-top: 10px;
}

.works-box {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    margin-bottom: 40px;
}
.main-contents .works {
  padding: 40px;
  height: auto;
  width: calc(50% - 10px);
  margin-bottom: 30px;
}
.works-img {
    float: none;
    margin-right: 0;
    margin-bottom: 20px;
    text-align: center;
}
.works-cap {
    overflow: hidden;
    float: none;
    width: auto;
}
.works-txt{
    margin-top: 10px;
}
.works:last-child {
    margin-bottom: 20px;
}
/* スマートフォン */
/* ---------------------------------------- */
@media screen and ( max-width: 767px ){
.left-box {
    width: auto;
    margin-bottom: 15px;
    margin-top: 5px;
    text-align: center;
    float: none;
}
  .right-box{
    display: block;
    float: none;
    width: 100%;
    height: auto;
    margin-left:0px;
    margin-bottom: 30px;
  }
  .right-box br{
    display: none;
  }
  .image_box{
    display: block;
  }
  .image_box div{
    margin-bottom: 30px;
    text-align: center;
  }
  .image_text {
    width: 100%;
    margin-top: 25px;
    text-align: left;
  }
  .push_box{
    display: block;
  }
  .push_box li {
    width: 100%;
    box-sizing: border-box;
  }
  .push_box_l h3,.push_box_r h3{
    width: 100%;
  }
  .push_box br{
    display: none;
  }
      .works {
    padding: 30px 5%;
    height: auto;
    width: 100%;
    margin-bottom: 20px;
      box-sizing: border-box;
    }
  .works-cap {
    overflow: hidden;
    float: none;
    width: 100%;
  }
  .works-img {
    float: none;
    margin-right: 0px;
    margin-bottom: 15px;
    text-align: center;
  }
.main-contents .works {
  width: 100%;
  padding: 20px;
}
}