body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
  line-height: 1.8;
  color: #333;
}

.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: #fff;
  z-index: 1000;
  border-bottom: 1px solid #ddd;
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1000px;
  margin: 0 auto;
  padding: 0.5rem 1rem;
}

.site-title {
  margin: 0;
}

.site-title a {
  text-decoration: none;
  color: #000;
}

.site-sub {
  margin: 5px 0 0;
  color: #666;
}

.header-tel {
  text-align: right;
}

.header-tel a {
  font-size: 1.2rem;
  font-weight: bold;
  color: #000;
  text-decoration: none;
}

.tel-label {
  font-size: 0.8rem;
  color: #666;
}

.nav {
  background: #00654C;
  box-shadow: 0 2px 4px rgba(0,0,0,0.15);
  position: fixed;
  top: 90px;
  left: 0;
  width: 100%;
  z-index: 999;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0;
  height: 60px;
}

.nav a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  line-height: 1;
  padding: 0;
  margin: 0 15px;
  color: #fff;
  text-decoration: none;
  position: relative;
  top: 5px;
}

.main {
  max-width: 1000px;
  margin: 160px auto 0;
  padding: 0 1rem;
}

@media (max-width: 768px) {
  .header-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .header-tel {
    margin-top: 0.3rem;
    text-align: left;
  }

  .nav {
    box-shadow: 0 2px 4px rgba(0,0,0,0.15);
    top: 120px;
    padding: 10px 0;
  }

  .main {
    margin-top: 200px;
  }
}

.footer {
  background: #f5f5f5;
  text-align: center;
  padding: 20px;
  margin-top: 40px;
}

.signature {
  text-align: right;
  margin-top: 20px;
}

.greeting-inner {
  display: flex;
  gap: 30px;
  align-items: flex-start;
}

.greeting-image {
  flex: 0 0 250px; /* 画像の幅 */
}

.greeting-image img {
  width: 100%;
  height: auto;
  border-radius: 4px;
}

.greeting-text {
  flex: 1;
}

.service-box {
  margin-bottom: 2rem;
  padding: 1.5rem;
  border-left: 5px solid #666;
  background: #f9f9f9;
}

.service-box h3 {
  margin-top: 0;
}

.contact-link {
  text-align: center;
  margin-top: 3rem;
  font-weight: bold;
}

.service-img {
  width: 100%;
  max-width: 280px;
  height: auto;
  display: block;
  margin: 1rem 0;
  border-radius: 6px;
}

@media screen and (max-width: 768px) {
  .greeting-inner {
    flex-direction: column;
  }

  .greeting-image {
    width: 100%;
  }
}

.required::after {
  content: "必須";
  background-color: #ff762f;
  color: #fff;
  font-size: 12px;
  font-weight: bold;
  min-width: 10px;
  padding: 3px 7px;
  margin: 0px 5px;
  line-height: 1;
  vertical-align: middle;
  white-space: nowrap;
  text-align: center;
  border-radius: 10px;
  display: inline-block;
}

textarea {
  width: 100%;
  min-height: 200px;
  max-width: 100%;
  box-sizing: border-box;
}

label {
  font-weight: bold;
}

input {
  width: 100%;
  max-width: 400px;
  padding: 8px;
  box-sizing: border-box;
}
