img {
  max-width: 100%;
  height: auto;
}

.brand-logo {
  display: block;
  object-fit: contain;
}

.brand-logo-header {
  width: 240px;
  max-width: 42vw;
}

.brand-logo-footer {
  width: 220px;
}

.brand-logo-footer-wrap {
  display: inline-flex;
  align-items: center;
  padding: 10px 14px;
  border-radius: 16px;
  background: #fff;
}

.title {
  position: relative;
  margin-bottom: 32px;
  padding: 28px 28px 24px;
  border: 3px solid #0f172a;
  border-radius: 20px;
  background: #ffffff;
  box-shadow: 10px 10px 0 #dbe4ea;
}

.title::after {
  content: "";
  position: absolute;
  right: 20px;
  bottom: 18px;
  width: 56px;
  height: 56px;
  border-right: 3px solid #0f172a;
  border-bottom: 3px solid #0f172a;
  border-radius: 0 0 16px 0;
  pointer-events: none;
}

.title p {
  position: relative;
  z-index: 1;
  display: inline-block;
  margin: 0 0 16px;
  padding: 5px 12px 4px;
  border: 2px solid #3fb5a7;
  border-radius: 999px;
  background: #69d7c9;
  color: #ffffff;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.title h2 {
  position: relative;
  z-index: 1;
  margin: 0;
  color: #0f172a;
  max-width: 700px;
  font-size: clamp(1.9rem, 1.55rem + 1vw, 2.85rem);
  line-height: 1.28;
  font-weight: 700;
}

#message .title {
  border-color: #ffffff;
  background: transparent;
  box-shadow: 10px 10px 0 rgba(255, 255, 255, 0.12);
}

#message .title::after {
  border-right-color: #ffffff;
  border-bottom-color: #ffffff;
}

#message .title p,
#message .title h2 {
  color: #ffffff;
}

#message .title p {
  border-color: #3fb5a7;
  background: #69d7c9;
}

@media (max-width: 640px) {
  .title {
    padding: 24px 18px 20px;
    box-shadow: 7px 7px 0 #dbe4ea;
  }

  .title::after {
    right: 14px;
    bottom: 14px;
    width: 36px;
    height: 36px;
  }

  .title h2 {
    font-size: 1.7rem;
  }

  #message .title {
    box-shadow: 7px 7px 0 rgba(255, 255, 255, 0.1);
  }
}

.message-photo {
  max-width: 180px;
}
