@charset "utf-8";

/* PC ================================================== */
@media all and (min-width:960px){
#building{
  margin: 90px auto 0 auto;
  font-family: "源ノ角ゴシック JP",sans-serif;
  letter-spacing: 0.075em;
}
.building--top {
  width: 100%;
  position: relative;
}
  .building--top img {
    width: 100%;
  }
    .top-txt {
      width:800px;
      display: inline-block;
      color: #ffffff;
      font-size: 32px;
      font-weight: bold;
      text-align: center;
      position: absolute;
      top: 50%;
      left: 50%;
      transform: translate(-50%,-50%);
    }
.building--container {
  width: 860px;
  margin: 0 auto 40px;
  color: #333333;
}
  .building--container h2 {
    font-size: 28px;
    font-weight: bold;
    margin: 50px 0 0 0;
  }
  .building-txt {
    font-size: 16px;
    margin: 20px 0 20px;
    line-height:2;
  }
  .image01 {
    width: 100%;
    margin-top: 20px;
  }
  .building--box {
    width: 100%;
    margin: 70px 0;
  }
    .building--box h3 {
      font-size: 24px;
      color: #100C39;
      margin-bottom: 10px;
    }
    .flex-reverse {
      display: flex;
      flex-direction: row-reverse;
      justify-content: space-between;
      margin: 30px auto 45px;
    }
    .flex {
      display: flex;
      justify-content: space-between;
    }
    .image02 {
      width: 437px;
    }
    .txt-flex h3 {
      font-size:20px;
      display: inline-block;
    }
    .txt-flex {
      width: 380px;
      line-height:2;
      
    }
    .line {
      width: 100%;
      border-top: 1px solid #CCCCCC;
      position: relative;
      margin-bottom: 40px;
    }
    .line::before {
      content: "";
      position: absolute;
      top: -1px;
      left: 0;
      width: 192px;
      height: 1px;
      display: inline-block;
      background-color: #1F1D59;
    }
.column2--area {
  display: flex;
  justify-content: space-between;
  margin-bottom: 90px;
}
  .building--box-01 {
    width: 425px;
    margin: 70px 0;
  }
  .building--box-02 {
    width: 362px;
    margin: 70px 0;
  }
  .prog-list {
    width: 100%;
    display: flex;
    justify-content: space-between;
    list-style: none;
  }
  .prog-list ul {
    width: 100%;
    display: flex;
    justify-content: space-around;
    list-style: none;
  }
  .list {
    width: 90px;
    height: 120px;
    text-align: center;
  }
    .list:nth-of-type(1) img {
      width: 91px;
    }
    .list:nth-of-type(2) img {
      width: 90px;
    }
    .list:nth-of-type(3) img {
      width: 86px;
    }
    .list:nth-of-type(4) img {
      width: 89px;
    }
  .image-box {
    width: 100px;
    height: 70px;
  }
  .list p {
    font-size:14px;
    color: #100C39;
    margin-top: 6px;
    letter-spacing: 0;
    white-space: nowrap;
  }
  .s-left {
    position: relative;
    left: -10px;
  }
  .harf-line {
    margin-bottom:20px;
  }
  .harf-sec-txt {
    font-size: 14px;
    color: #100C39;
    margin-bottom: 20px;
  }
  .kurume-research-img {
    width: 368px;
  }
}
/* Tablet ================================================== */
@media all and (min-width:560px) and (max-width:959px){
#building{
  margin: 90px auto 0 auto;
  font-family: "源ノ角ゴシック JP",sans-serif;
  letter-spacing: 0.075em;
}
.building--top {
  width: 100%;
  position: relative;
}
  .building--top img {
    width: 100%;
  }
    .top-txt {
      width:800px;
      display: inline-block;
      color: #ffffff;
      font-size: 32px;
      font-weight: bold;
      text-align: center;
      position: absolute;
      top: 50%;
      left: 50%;
      transform: translate(-50%,-50%);
    }
.building--container {
  width: 90%;
  margin: 0 auto 40px;
  color: #333333;
}
  .building--container h2 {
    font-size: 28px;
    font-weight: bold;
    margin: 50px 0 0 0;
  }
  .building-txt {
    font-size: 14px;
    margin: 20px 0 20px;
    line-height:2;
  }
  .image01 {
    width: 100%;
    margin-top: 20px;
  }
  .building--box {
    width: 100%;
    margin: 70px 0;
  }
    .building--box h3 {
      font-size: 24px;
      color: #100C39;
      margin-bottom: 10px;
    }
    .flex-reverse {
      display: flex;
      flex-direction: row-reverse;
      justify-content: space-between;
      margin: 30px auto 45px;
    }
    .flex {
      display: flex;
      justify-content: space-between;
    }
    .image02 {
      width: 45%;
    }
    .txt-flex h3 {
      font-size:20px;
      display: inline-block;
    }
    .txt-flex {
      width: 50%;
      line-height:2;
    }
    .line {
      width: 100%;
      border-top: 1px solid #CCCCCC;
      position: relative;
      margin-bottom: 40px;
    }
    .line::before {
      content: "";
      position: absolute;
      top: -1px;
      left: 0;
      width: 192px;
      height: 1px;
      display: inline-block;
      background-color: #1F1D59;
    }
    .box-txt02 {
      font-size: 14px;
    }
.column2--area {
  margin-bottom: 90px;
}
  .building--box-01 {
    width: 100%;
    margin: 70px 0;
  }
  .building--box-02 {
    width: 100%;
    height: 260px;
    margin: 70px 0 0px;
    position: relative;
  }
  .prog-list {
    width: 100%;
    display: flex;
    justify-content: space-around;
    list-style: none;
  }
  .prog-list ul {
    width: 100%;
    display: flex;
    justify-content: space-around;
    list-style: none;
  }
  .list {
    width: 90px;
    height: 120px;
    text-align: center;
  }
    .list:nth-of-type(1) img {
      width: 91px;
    }
    .list:nth-of-type(2) img {
      width: 90px;
    }
    .list:nth-of-type(3) img {
      width: 86px;
    }
    .list:nth-of-type(4) img {
      width: 89px;
    }
  .image-box {
    width: 100px;
    height: 70px;
  }
  .list p {
    font-size:14px;
    color: #100C39;
    margin-top: 6px;
    letter-spacing: 0;
    white-space: nowrap;
  }
  .s-left {
    position: relative;
    left: -10px;
  }
  .harf-line {
    margin-bottom:20px;
  }
  .harf-sec-txt {
    font-size: 14px;
    color: #100C39;
    margin-bottom: 20px;
  }
  .building--box-02 img{
    position: absolute;
    top: 100px;
    left: 50%;
    transform: translateX(-50%);
  }
  .kurume-research-img {
    width: 70%;
  }
}
/* SP ================================================== */
@media all and (max-width:559px){
#building{
  margin: 24px auto 0 auto;
  font-family: "源ノ角ゴシック JP",sans-serif;
  letter-spacing: 0.075em;
}
.building--top {
  width: 100%;
  position: relative;
}
  .building--top img {
    width: 100%;
  }
    .top-txt {
      display: inline-block;
      color: #ffffff;
      font-size: 24px;
      white-space: nowrap;
      font-weight: bold;
      text-align: center;
      letter-spacing: 0;
      position: absolute;
      top: 50%;
      left: 50%;
      transform: translate(-50%,-50%);
    }
.building--container {
  width: 90%;
  margin: 0 auto 40px;
  color: #333333;
}
  .building--container h2 {
    font-size: 20px;
    font-weight: bold;
    margin: 50px 0 0 0;
  }
  .building-txt {
    font-size: 14px;
    margin: 20px 0 20px;
    line-height:2;
  }
  .image01 {
    width: 100%;
    margin-top: 20px;
  }
  .building--box {
    width: 100%;
    margin: 70px 0;
  }
    .building--box h3 {
      font-size: 18px;
      color: #100C39;
      margin-bottom: 10px;
    }
    .txt-area-marign {
      margin: 20px auto 30px;
    }
    .image02 {
      width: 100%;
    }
    .txt-flex h3 {
      font-size:18px;
      display: inline-block;
    }
    .txt-margin {
      width: 100%;
      margin: 5px auto 10px;
      line-height:2;
    }
    .line {
      width: 100%;
      border-top: 1px solid #CCCCCC;
      position: relative;
      margin-bottom: 20px;
    }
    .line::before {
      content: "";
      position: absolute;
      top: -1px;
      left: 0;
      width: 192px;
      height: 1px;
      display: inline-block;
      background-color: #1F1D59;
    }
    .box-txt02 {
      font-size: 14px;
    }
.column2--area {
  margin-bottom: 90px;
}
  .building--box-01 {
    width: 100%;
    margin: 70px 0;
  }
  .building--box-02 {
    width: 100%;
    height: 150px;
    margin: 70px 0;
    position: relative;
  }
  .prog-list {
    width: 100%;
    display: flex;
    justify-content: space-around;
    list-style: none;
  }
  .prog-list ul {
    width: 100%;
    display: flex;
    justify-content: space-around;
    list-style: none;
  }
  .list {
    width: 90px;
    height: 120px;
    text-align: center;
  }
    .list:nth-of-type(1) img {
      width: 91px;
    }
    .list:nth-of-type(2) img {
      width: 90px;
    }
    .list:nth-of-type(3) img {
      width: 86px;
    }
    .list:nth-of-type(4) img {
      width: 89px;
    }
  .image-box {
    width: 100px;
    height: 70px;
  }
  .list p {
    font-size:14px;
    color: #100C39;
    margin-top: 6px;
    letter-spacing: 0;
    white-space: nowrap;
  }
  .s-left {
    position: relative;
    left: -10px;
    letter-spacing: -0.025em!important;
  }
  .harf-line {
    margin-bottom:20px;
  }
  .harf-sec-txt {
    font-size: 14px;
    color: #100C39;
    margin-bottom: 20px;
  }
  .building--box-02 img{
    position: absolute;
    top: 90px;
    left: 50%;
    transform: translateX(-50%);
  }
  .kurume-research-img {
    width: 95%;
  }
}