
h1 {
  background-color: f9f9f9;
  margin-bottom: 20px;
  text-align: center;
  color: rgba(0, 136, 34);
}

h2 {
  border-left: 5px solid rgb(0,136,34);
  padding: 10px;
  margin: 30px 0;
}

p {
  line-height: 200%;
}

hr {
  margin-top: 21.44px;
  width: 85%;
  border: none;
  border-bottom: 1px solid #ccc;
}


.content-section {
  display: flex;
  justify-content: center;
  margin-top: 20px;
  background: #f9f9f9; /* セクション全体の背景色 */
}

/* それぞれのコンテンツのコンテナ */
.content-box {
  display: flex;
  margin-bottom: 21px;
  flex-direction: row;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  max-width: 85%;
  width: 100%;
  height: 50%;
  overflow: hidden;
}

.image-box {
  flex: 1;
}

.text-box {
  flex: 1;
  padding: 30px;
  font-size: 16px;
  color: #333;
}

.text-box h2 {
  color: #007f30; /* 緑系の見出し */
  font-size: 20px;
  margin-bottom: 16px;
}

.content-box.reverse {
  flex-direction: row-reverse;
}

/* サイズ変更 */
.image-box img {
  width: 100%;
  height: 101%;
  object-fit: cover;
  display: block;
}

@media (max-width: 768px) {  
  .text-left {
    margin-left: 10px;
  }
  
  .content-box,
  .content-box.reverse {
    flex-direction: column-reverse;
  }

  .image-box img {
    height: auto;
    max-height: 300px;
  }
}