@charset "UTF-8";

/* タイムラインのスタイル */
.body {
  margin-top: 30px;
  margin-bottom: 30px;
}
.company {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
  padding: 20px 0;
}

.company-item {
  display: flex;
  flex-direction: column; /* 縦並びにする */
  align-items: flex-start;
  margin-bottom: 20px;
  width: 100%;
}

.company-content-container {
  width: 100%;
}

.ompany-content {
  background-color: transparent; /* 背景色をなしにする */
  padding: 10px 0px 10px 20px;
  margin-top: 10px;
  display: flex;
  flex-direction: column; /* 縦並びにする */
  align-items: flex-start;
  width: 100%;
}

.info-item {
  display: flex;
  flex-direction: row; /* 横並びにする */
  align-items: stretch; /* 高さを揃える */
  width: 100%;
  margin-bottom: 10px; /* 下に余白を追加 */
  text-align: left;
}

.label-container {
  width: 30%; /* 親クラスの30% */
  display: flex;
  justify-content: flex-start;
  align-items: center; /* 中央揃え */
  /* 下線部を黄緑色、太さを1px */
  border-bottom: 1px solid #ADFF2F;  
}

.item-container {
  width: 70%; /* 親クラスの70% */
  display: flex;
  justify-content: flex-start;
  align-items: center; /* 中央揃え */
  /* 下線部を緑色、太さを1px */
  border-bottom: 1px solid green;
  text-align: left;
}

.info-item .item {
  width: 100%; /* 親クラスと同じ幅 */
  font-size: 1.0rem;
}

@media (max-width: 768px) {
  .body {
    margin-top: 0;
    margin-bottom: 0;
  }

  .info-item {
    font-size: 0.7em;
  }

  .info-item .item {
    width: 100%;
  }
  
}
