.f-leftimg {
  float: left;
  width: 300px; /* 画像の実際の幅に合わせて調整してください */
  margin-right: 20px;
  margin-bottom: 10px;
}

.po-ru {
  margin: 0;
}

section {
  background-color: white;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(76, 116, 55, 0.1);
  margin-bottom: 40px;
  padding: 40px;
}

h2 {
  margin-bottom: 30px;
}

#timeline {
  position: relative;
  max-width: 1000px;
  margin: 0 auto;
}

#timeline:after {
  content: "";
  display: table;
  clear: both;
  }

#timeline::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  width: 2px;
  height: 100%;
  background: #4c7437;
}

.entry {
  position: relative;
  width: 50%;
  padding: 20px 40px;
  box-sizing: border-box;
  clear: both;
}

.entry:nth-child(odd) {
  float: left;
  text-align: right;
}

.entry:nth-child(even) {
  float: right;
}

.entry::before {
  content: '';
  position: absolute;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #4c7437;
  top: 24px;
}

.entry:nth-child(odd)::before {
  right: -10px;
}

.entry:nth-child(even)::before {
  left: -10px;
}

.year {
  font-size: 1.4em;
  font-weight: bold;
  color: #4c7437;
  margin-bottom: 10px;
}

.description {
  background: white;
  padding: 15px;
  border-radius: 5px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.wrpper .section {
  margin-top: 50px;
  margin-bottom: 40px;
  overflow: hidden;
  background-color: #f8f5ee;
  padding: 20px;
  border-radius: 8px;
}

@media screen and (max-width: 768px) {
  .f-leftimg {
    float: none;
    width: 100%;
    margin-right: 0;
    margin-bottom: 20px;
  }
  
  .po-ru {
    clear: both;
  }

  #timeline::before {
    left: 12.5px;  /* 点の中心に合わせて調整（点の幅15pxの半分の7.5px + 左からの位置5px） */
    z-index: 1;
  }

  .entry {
    width: 100%;
    padding: 15px 15px 15px 50px;
    margin-bottom: 20px;
  }

  .entry:nth-child(odd),
  .entry:nth-child(even) {
    float: none;
    text-align: left;
  }

  .entry::before {
    left: 5px !important;  /* 左端から5pxの位置に配置 */
    width: 15px;
    height: 15px;
    z-index: 2;
  }

  .entry:nth-child(odd)::before {
    right: auto;
    left: 5px;
  }

  .year {
    margin-top: 0;
    font-size: 1.2em;
    color: #4c7437;
    margin-bottom: 8px;
  }

  .description {
    font-size: 0.95em;
    line-height: 1.6;
    padding: 12px;
    margin-left: 0;
    box-shadow: 0 2px 4px rgba(0,0,0,0.08);
  }
}