@charset "utf-8";

/* 会社概要 */

.company-profile .innerWrap {
  max-width: 960px;
  margin: 0 auto;
  padding-top: 0;
  padding-bottom: 135px;
  box-sizing: border-box;
}

.profile-row {
  display: flex;
  border-bottom: 1px solid #999999; /* 行の区切り線 */
}

.profile-row:last-child {
  border-bottom: none; /* 最後の行の下線は不要 */
}

.profile-item-title {
  flex: 1;
  background-color: #e8e8e8;
  color: #7E6551;
  font-weight: 600;
  font-size: 16px;
  border-right: 1px solid #999999;
  box-sizing: border-box;

  display: flex; 
  align-items: center;    
  justify-content: center; 
  text-align: center; 
  padding: 0 10px; 

}


.profile-item-content {
  flex: 3;
  background-color: #ffffff;
  text-align: left;
  font-size: 16px;
  color: #7E6551;
  line-height: 1.8;
  padding: 20px 15px;
  box-sizing: border-box;
}





/* ===========================================
   RESPONSIVE STYLES - スマートフォン対応
   =========================================== */

@media screen and (max-width: 768px) {

/* 会社概要 */

  .profile-row {
    display: flex;
    flex-direction: column; /* 縦並びに変更 */
    border-bottom: 1px solid #999999;
  }

  .profile-item-title {
    width: 100%;
    padding: 15px;
    font-size: 15px;
    border-right: none; /* 横の線は不要 */
    border-bottom: 1px solid #999999; /* 下線で区切り */
    text-align: center;
  }

  .profile-item-content {
    width: 100%;
    padding: 20px;
    font-size: 15px;
    text-align: left;
  }


}

/* ===========================================
   RESPONSIVE STYLES - 小さなスマートフォン対応
   =========================================== */

@media screen and (max-width: 480px) {
  /* 会社概要 */

  .profile-row {
    display: flex;
    flex-direction: column;
    border-bottom: 1px solid #999999;
  }

  .profile-item-title {
    width: 100%;
    padding: 10px;
    font-size: 14px;
    border-right: none;
    border-bottom: 1px solid #999999;
    text-align: center;
  }

  .profile-item-content {
    width: 100%;
    padding: 15px;
    font-size: 14px;
    text-align: left;
  }
 
  
}

