@charset "UTF-8";

/* コンテンツ */
#content_area {
  
}

div.case_subtitle {
  font-weight: bold;
  font-size: 1.4em;
  margin-bottom: 20px;
}

/* Before、After */
.txt-before { color: #FF0000; }
.txt-after { color:#0000B2; }
.txt-before, .txt-after { font-size: 1.5rem; }


/* PC用 */
@media screen and (min-width: 768px) , print {
  
  #content_area > p {
    padding-left: 10px;
    margin-bottom: 20px;
  }
  
  #content_area > section {
    padding-left: 10px;
    margin-bottom: 60px;
  }
  
  
  /* 導入事例用 */
  #content_area > section {
    & > .case_list {
      display: flex;
      justify-content: flex-start;
      align-items: flex-start;
      flex-wrap: wrap;
      width: 100%;
      margin-bottom: 40px;
      & > div.case_photo {
        margin-right: 20px;
        max-width: 300px;
        & > figure {
          display: block;
        }
        & > figcaption {
          width: 100%;
          text-align: center;
        }
      }
      & > div.case_main {
        width: calc(100% - 300px - 40px);
        padding: 10px;
        & > p {
          width: 100%;
        }
        & > a {
          padding: 5px 20px;
          text-align: center;
          line-height: 2.5em;
          color: #FFF;
          background-color: #FF0000;
        }
      }
      & > div.case_products {
        width: 100%;
        margin-top: 40px;
        & > .products-link {
          display: flex;
          justify-content: flex-start;
          align-items: flex-start;
          flex-wrap: wrap;
          width: 100%;
          margin-left: 20px;
          & > li {
            width: calc(100% / 4);
            text-align: center;
          }
        }
      }
    }
  }
  
  
}
 
/* 小さい画面用 */
@media screen and (max-width: 767px) {
  
  #content_area > p {
    padding-left: 10px;
    width: calc(100% - 20px);
    margin: 0 10px 20px;
  }
  
  #content_area > section {
    padding-left: 10px;
    margin-bottom: 20px;
  }
  
  
  /* 導入事例用 */
  #content_area > section {
    & > .case_list {
      width: 100%;
      margin-bottom: 20px;
      & > div.case_photo {
        display: block;
        width: 100%;
        & > figure {
          display: block;
        }
        & > figcaption {
          width: 100%;
          text-align: center;
        }
      }
      & > div.case_main {
        width: calc(100% - 20px);
        padding: 10px;
        & > p {
          width: 100%;
        }
        & > a {
          padding: 5px 20px;
          text-align: center;
          line-height: 2.5em;
          color: #FFF;
          background-color: #FF0000;
        }
      }
      & > div.case_products {
        width: 100%;
        margin-top: 40px;
        & > .products-link {
          display: flex;
          justify-content: flex-start;
          align-items: flex-start;
          flex-wrap: wrap;
          width: 100%;
          & > li {
            width: calc(100% / 2);
            margin-bottom: 20px;
            text-align: center;
          }
        }
      }
    }
  }
  
  
}




