.about-page {
  display: flex;
  justify-content: center;
  padding: 2rem;
  width: 100%;
}

.about-page-main-image {
  max-width: 100%;
  height: auto;
  display: block;
  width: 70%;
}

@media (max-width: 768px) {
  .about-page {
    padding: 1rem;
  }

  .about-page-main-image {
    width: 100%;
    max-width: 100%;
  }
}

.return-button {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: block;
  padding: 15px 30px;
  background-color: #dec2a9;
  color: #fff;
  text-decoration: none;
  font-size: 1.2rem;
  font-weight: bold;
  border-radius: 2rem;
  text-align: center;
  white-space: nowrap;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  z-index: 1000;
  transition: background-color 0.3s ease;
}

.return-button:hover {
  background-color: #dbc8b7;
}

@media (max-width: 768px) {
  .return-button {
    bottom: 15px;
    padding: 12px 20px;
    font-size: 1rem;
    width: calc(100% - 40px);
    max-width: 300px;
  }
}

.about-btn-size {
  width: 100%;
  text-align: center;
  display: block;
  margin: 0 auto;
}

.image-link-wrapper {
  position: relative;
  display: inline-block;
  vertical-align: top;
  overflow: hidden;
  margin: 0 auto;
}

.mask {
  text-align: center;
  display: block;
}

.image-link-wrapper::before,
.image-link-wrapper .hover-text {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.3s ease;
  display: flex;
  justify-content: center;
  align-items: center;
  box-sizing: border-box;
}

.image-link-wrapper::before {
  background-color: rgba(0, 0, 0, 0.65);
  z-index: 1;
}

.image-link-wrapper .hover-text {
  color: #fff;
  font-size: 1.2em;
  font-weight: bold;
  text-decoration: none;
  z-index: 2;
  padding: 10px;
  pointer-events: none;
}

.image-link-wrapper:hover::before,
.image-link-wrapper:hover .hover-text {
  opacity: 1;
}

@media (min-width: 768px) and (max-width: 1024px) {
  .image-link-wrapper {
    display: block;
    margin: 0 auto;
  }
}

@media (max-width: 767px) {
  .image-link-wrapper {
    display: inline-block;
    vertical-align: top;
    margin: 0 auto;
    max-width: 100%;
  }
  .mask {
    text-align: center;
    display: block;
  }
}
