section {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 20px;
}

section h1,
section h2,
section h3,
section button {
  max-width: 800px;
  width: 100%;
  margin: 20px auto;
  text-align: center;
}

.section-image {
  height: 200px;
  width: 33%;
  margin: 20px;
  border: #333 1px solid;
}

.section-image img {
  height: 100%;
  width: 100%;
  display: block;
}

@media screen and (max-width: 1280px) {
  .section-image {
    width: 50%;
    height: 200px;
  }
}

@media screen and (max-width: 768px) {
  .section-image {
    height: 150px;
    width: 90%;
  }
}

.section-text h2 {
  font-size: 3.2rem;
  color: #333;
}

.section-text h1 {
  font-size: 1.3rem;
  color: #333;
}

.section-text h3 {
  font-size: 1.5rem;
  font-weight: bold;
  color: #333;
  margin: 10px 0;
}

.section-text p {
  font-size: 1.1rem;
  color: #333;
  line-height: 1.6;
  margin: 0 8px;
  text-align: center;
}

@media screen and (max-width: 768px) {
  .section-text h2 {
    font-size: 2.0rem;
  }

  .section-text h1 {
    font-size: 1.0rem;
  }

  .section-text h3 {
    font-size: 1.2rem;
  }

  .section-text p {
    font-size: 0.8rem;
    margin: 0 4px;
  }
}

.section-button-wrapper:hover {
  background-color: #333;
}

.section-button {
  color: #fff;
  font-weight: bold;
  text-decoration: none;
}

section.section-hero {
  position: relative;
  width: 100vw;
  height: 100vh;
  margin: 0;
  padding: 0;
  overflow: hidden;
}

.section-hero-image {
  position: relative;
  width: 100%;
  height: 100%;
}

.section-hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

@media screen and (max-width: 768px) {
  .section-hero-image {
    height: 100vh;
  }
}

.hero-text {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  transform: translate(-50%, -50%);
  color: white;
  text-align: center;
  font-size: 2.5rem;
  text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.8);
  line-height: 1.8;
  padding: 0 20px;
  border-radius: 8px;
}

.hero-text .highlight {
  font-size: 2.8rem;
  font-weight: bold;
}

@media screen and (max-width: 768px) {
  .hero-text {
    font-size: 1.0rem;
  }
  .hero-text .highlight {
    font-size: 1.3rem;
  } 
}

.section-about {
  padding-top: 84px;
}


.section-service {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding-top: 84px;
  margin-bottom: 20px;
}

.section-service-text-red {
  color: red;
}

.services-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}

.service h3 {
  font-size: 1.5rem;
  color: #333;
}

.service li {
  font-size: 1.2rem;
  color: #333;
  line-height: 1.6;
}

@media screen and (max-width: 768px) {
  .service h3 {
    font-size: 1.0rem;
  }
  .service li {
    font-size: 0.8rem;
  }
  
}


.message {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 24px 16px 64px;
  background: var(--bg);
  color: var(--fg);
  align-items: center;
  justify-content: center;
}

.message-head {
  margin-bottom: 16px;
}
.message-eyebrow {
  font-size: 12px;
  letter-spacing: .25em;
  color: var(--muted);
  margin: 0 0 4px;
  text-transform: uppercase;
}
.message-title {
  font-size: 28px;
  font-weight: 800;
  margin: 0;
  line-height: 1.3;
}

.message-hero {
  margin: 0 0 16px;
  overflow: hidden;
  background: #f3f4f6;
  border: #0d0d0d solid 1px;
  border-radius: 12px;
}

.message-hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.message-content {
  font-size: 12px;
  line-height: 1.9;
  text-align: left;
}
.message-content p {
  margin: 0 0 1em;
}

.message-sig {
  margin-top: 20px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
  font-size: 14px;
  color: var(--muted);
  text-align: center;
}

.message-sig-person {
  font-size: 16px;
  color: var(--fg);
  font-weight: 600;
  margin-top: 4px;
}

/* PC */
@media (min-width: 768px) {
  .message {
    background: var(--bg);
    padding: 48px 48px 80px;
    margin-top: 40px;
    margin-bottom: 40px;
    width: 50%;
    margin: 0 auto;
  }

  .message-title {
    font-size: 32px;
  }

  .message-content {
    font-size: 15px;
  }
}
