@charset "utf-8";

.concept img {
  display: flex;
  margin-left: auto;
  margin-right: auto;
  align-items: center;  
}

.concept-text {
  margin-left: auto;
  margin-right: auto;
  margin-top: 20px;
  line-height: 2;
  text-align: center;
}

.triangle-wrap {
  display: flex;
  justify-content: center; /* 横中央 */
  align-items: center;     /* 縦中央 */
  height: 100px;           /* 中央配置したい高さ */
}

.triangle {
  width: 0;
  height: 0;
  margin: 18px auto;          /* 横中央 */
  border-left: 16px solid transparent;
  border-right: 16px solid transparent;
  border-top: 24px solid #5a331c; /* 下向き三角 */
}

/* =====================
  concept
===================== */

.concept img {
  display: block;
  margin: 0 auto;
  max-width: 100%;
  height: auto;
}

.concept-text {
  max-width: 720px;
  margin: 20px auto 0;
  line-height: 2;
  text-align: center;
  padding: 0 20px;
}

/* =====================
  triangle
===================== */

.triangle-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 30px 0;
}

.triangle {
  width: 0;
  height: 0;
  border-left: 16px solid transparent;
  border-right: 16px solid transparent;
  border-top: 24px solid #5a331c;
}

/* =====================
  tablet
===================== */
@media (max-width: 1024px) {

  .concept-text {
    max-width: 90%;
    line-height: 1.9;
  }

  .triangle {
    border-left: 14px solid transparent;
    border-right: 14px solid transparent;
    border-top: 20px solid #5a331c;
  }
}

/* =====================
  smartphone
===================== */
@media (max-width: 768px) {

  .concept-text {
    margin-top: 16px;
    line-height: 1.8;
    font-size: 14px;
  }

  .triangle-wrap {
    margin: 20px 0;
  }

  .triangle {
    border-left: 12px solid transparent;
    border-right: 12px solid transparent;
    border-top: 18px solid #5a331c;
  }
}

/* =====================
  small smartphone
===================== */
@media (max-width: 480px) {

  .concept-text {
    font-size: 13px;
    line-height: 1.7;
  }

  .triangle {
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-top: 16px solid #5a331c;
  }
}
