@charset "utf-8";

.hero-overlay-text {
  position: absolute;
  bottom: 60px;
  left: 60px;
  transform: none;
  color: #fff;
  font-family: 'Noto Serif JP', serif;
  font-weight: 500;
  font-size: 24px;
  line-height: 1.5;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.7);
  width: auto;
  text-align: left;
  max-width: calc(100% - 120px);
}
.hero-overlay-text p {
  margin: 0;
}

.spacer-30px {
  height: 30px;
}

.about-content-box {
  width: 80%;
  margin: 0 auto;
  padding: 20px;
  background-color: white;
  border-radius: 8px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  margin-bottom: 50px;
  color: #333;
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 16px;
  line-height: 1.8;
  font-weight: 300;
}
.about-content-box p {
  margin-bottom: 1em;
}
.about-content-box p:last-child {
  margin-bottom: 0;
}
.about-content-box strong {
  font-weight: 700;
}

.about-text-columns {
  display: flex;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 30px;
}

.about-text-column {
  flex: 1;
}

.about-image-box {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  border-radius: 10px;
}

.about-image-box img {
  display: block;
  max-width: 100%;
  height: auto;
  border-radius: 10px;
}

@media (max-width: 768px) {
  .hero-overlay-text {
    display: none;
  }

  .about-content-box {
    width: 90%;
    padding: 15px;
  }
  .about-text-columns {
    flex-direction: column;
    gap: 20px;
  }
}

@media (min-width: 769px) and (max-width: 1024px) {
  .hero-overlay-text {
      font-size: 20px;
      left: 40px;
      bottom: 40px;
      max-width: calc(100% - 80px);
  }
  .about-content-box {
      width: 85%;
  }
}

@media (min-width: 1025px) {
  .hero-overlay-text {
      font-size: 24px;
      left: 60px;
      bottom: 60px;
      max-width: calc(100% - 120px);
  }
  .about-content-box {
      width: 80%;
  }
}