/* ------------------------------
カラーコード
------------------------------ */
:root {
    --white: #FFFEFA;
    --beige: #D5CDBB;
    --brown: #4D4034;
}

/* ------------------------------
Works
------------------------------ */
.works {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px 40px;
    margin: 120px auto;
}
.works-group{
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
}
.works-group:first-of-type{
    grid-row: 1;
    grid-column: 1/3;
}

.works-group p, .works-group ul{
    padding: 0 0 0 24px;
}
@media (max-width: 768px){
  .works{
    grid-template-columns: 1fr;
    margin: 80px 0 60px;
  }
  .works-group:first-of-type{
    grid-row: 1;
    grid-column: 1;
}
}

/* ------------------------------
History
------------------------------ */
.history > ul > li{
display: flex;
justify-content: center;
    }
.career-time{
  width: 200px;
  padding: 0 32px 0;
  position: relative;
  text-align: right;
}
.career-time::after{
  content: "";
  position: absolute;
  width: 5px;
  height: 5px;
  top: 10px;
  right: -3px;
  border-radius: 50%;
  background-color: var(--brown);
}
 .career-text{
  padding: 0 0 32px 24px;
  width: 80%;
  text-align: left;
  border-left: 0.5px solid var(--brown);
}
.career-text h6{
  margin-bottom: 16px;
}
.career-list{
  padding: 16px 0 0 24px;
}
@media (max-width: 768px){
.history > ul > li{
flex-direction: column;
    }
    .career-time{
        padding: 0 0 16px 24px;
      text-align: left;
      border-left: 1px solid var(--brown);
    }
    .career-time::after{
  left: -3px;
}
 .career-text{
  padding: 0 0 24px 24px;
  width: 100%;
}
}