body {
  font-family: "Yu Gothic", "Hiragino Kaku Gothic ProN", sans-serif;
  background-color: #fff0d6;
  color: #333;
  margin: 0;
  padding: 0;
}

header {
  text-align: center;
  background-color: #fff0d6;
  padding: 2em 1em;
}

.logo {
  width: 300px;
  margin-bottom: 1em;
}

h1 {
  font-size: 2em;
  margin: 0.2em 0;
}

.opening {
  font-size: 2.0em;
  color: #4a7c59;
}

main {
  max-width: 800px;   /* ← ここで幅を狭くする */
  margin: 0 auto;     /* 中央寄せ */
  padding: 2em;
  background-color: #fff0d6;
  text-align: left;
}


.services, .contact {
  margin-bottom: 2em;
}

.services h2, .contact h2 {
  border-left: 6px solid #4a7c59;
  padding-left: 0.5em;
  margin-bottom: 1em;
  color: #4a7c59;
}

.services-wrapper {
  display: flex;
  align-items: stretch; /* 高さを揃える */
  gap: 2em;
}


.services-text {
  flex: 1;
  font-size: 1.4em;
}

.services-image img {
  width: 220px; /* 好みで調整OK */
  max-width: 100%;
  border-radius: 8px; /* 角丸で柔らかい印象に */

}
.services-image {
  display: flex;
  align-items: flex-end; /* ← これで画像が下に揃う */
}


ul {
  list-style: none;
  padding-left: 1em;
}

ul li::before {
  content: "🌱";
  margin-right: 0.5em;
}

.note {
  margin-top: 1em;
  font-style: italic;
}

.contact a {
  color: #2a6f97;
  text-decoration: none;
}

.representative {
  margin-top: 1em;
  font-weight: bold;
}

footer {
  text-align: center;
  background-color: #ffffff;
  padding: 1em;
  font-size: 0.9em;
}

@media (max-width: 1024px) {
  .services-wrapper {
    flex-direction: column;
    align-items: center;
  }

  .services-image img {
    width: 70%;
    display: block;
    margin: 0 auto;

  }
  main :not(.contact) {
    font-size: 1.1em; /* 好みで調整してOK */
  }

  /* 見出しは別で調整したい場合はここで指定 */
  .services h2 {
    font-size: 1.4em;
  }

  /* リスト内の文字も少し小さく */
  .services-text ul li {
    font-size: 1.0em;
  }

  /* 段落も小さく */
  .services-text p {
    font-size: 0.9em;
  }
}