﻿/*
// 2022/02/22 增加 D14_內頁_4欄2組圖左文右_多項,rob4c2PTs ... by Robin
// 220310 改為 IE 相容，不使用 display:grid
*/

.rob4c2PTs {
  max-width: 1280px; /*1440*/
  margin-left: auto;
  margin-right: auto;
}

  .rob4c2PTs .title {
    *border-bottom: solid 1px #808080;
    margin-left: 10px;
    margin-bottom: 60px;
  }

    .rob4c2PTs .title span {
      font-size: 24px;
      line-height: 50px;
      font-weight: bold;
      padding-right: 80px;
      padding-bottom: 20px;
      border-bottom: solid 1px #808080;
    }

  .rob4c2PTs .box {
    /*display: grid;
    grid-template-columns: 25% 25% 25% 25%; */
  }

  .rob4c2PTs .section.pic {
    /*padding-left: 10px;
          padding-right: 10px;*/
    padding-bottom: 25px;
    text-align: center; /*圖片居中時要加上*/
    width: 21%;
    padding-left: 1.5%;
    padding-right: 1.5%;
    display: inline-block;
    vertical-align: top;
  }

  .rob4c2PTs .section.txt {
    /*padding-left: 10px;
          padding-right: 10px;*/
    padding-bottom: 25px;
    text-align: center; /*圖片居中時要加上*/
    width: 21%;
    padding-left: 1.5%;
    padding-right: 1.5%;
    display: inline-block;
    vertical-align: top;
  }

    .rob4c2PTs .section img {
      width: 85%;
    }

    .rob4c2PTs .section h3 {
      font-size: 24px;
      line-height: 28px;
      text-align: left;
      margin-block-start: 0px;
    }

    .rob4c2PTs .section h4 {
      font-size: 20px;
      line-height: 24px;
      text-align: left;
    }

    .rob4c2PTs .section p {
      font-size: 18px;
      line-height: 22px;
      text-align: left;
    }

@media screen and (max-width: 1300px) {
  .rob4c2PTs .box {
    /*display: grid;
    grid-template-columns: 17% 33% 17% 33%;*/
  }
  .rob4c2PTs .section.pic {
    width: 15%;
    padding-left: 0.5%;
    padding-right: 0.5%;
  }

  .rob4c2PTs .section.txt {
    width: 29%;
    padding-left: 1.5%;
    padding-right: 1.5%;
  }

  .rob4c2PTs .section img {
    *width: 100%;
  }
}

@media screen and (max-width: 700px) {
  .rob4c2PTs .title {
    *width: 40%;
    margin-bottom: 20px;
  }

  .rob4c2PTs .box {
    /*display: grid;
          grid-template-columns: 100%; */
  }

  .rob4c2PTs .section.pic {
    width: 97%;
    padding-left: 1%;
    padding-right: 1%;
  }

  .rob4c2PTs .section.txt {
    width: 97%;
    padding-left: 1%;
    padding-right: 1%;
  }

  .rob4c2PTs .section img {
    width: 85%;
  }

  .rob4c2PTs .section h3 {
    font-size: 22px;
    line-height: 26px;
  }

  .rob4c2PTs .section h4 {
    font-size: 18px;
    line-height: 22px;
  }

  .rob4c2PTs .section p {
    font-size: 16px;
    line-height: 20px;
  }
}