.main-ttl {
    font-size: 250%;
}

#hero {
    padding: 3em 0;
}

.contact-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  list-style: none;
  padding: 0;
  margin: 5rem 0 3rem;
}

.contact-list-item {
  /* box-shadow: 0 0 6px 1px rgba(0, 0, 0, 0.15); */
  box-shadow: var(--box-shadow);
  display: flex;
  position: relative;
  transition: var(--transition-ease);
}

@media (hover: hover) {
  .contact-list-item:hover {
    transform: var(--move-up);
    background-color: rgb(0 0 0 / 5%);
  }
}

.contact-list-item:before {
  content: "";
  position: absolute;
  right: 1.5rem;
  top: 50%;
  transform: translateY(-50%) rotate(-30deg);
  width: 16px;
  height: 3px;
  background-color: #bfbfbf;
  transform-origin: right center;
  border-radius: 1rem;
}

.contact-list-item:after {
  content: "";
  position: absolute;
  right: 1.5rem;
  top: 50%;
  transform: translateY(-50%) rotate(30deg);
  width: 16px;
  height: 3px;
  background-color: #bfbfbf;
  transform-origin: right center;
  border-radius: 1rem;
}

.contact-list-item a {
  display: block;
  text-decoration: none;
  color: inherit;
  width: 100%;
  padding: 1rem 1.5rem;
}

.contact-list-item__figure {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 0;
}

.contact-list-item__image {
  width: auto;
  max-width: 50%;
}

.contact-list-item__caption {
  font-weight: bold;
  font-size: 1.125rem;
  margin-top: 0;
  line-height: 1;
  margin-bottom: .75rem;
}

.contact-list-item__description {
  text-align: left;
  font-size: 1rem;
  line-height: 1.5;
}

.contact-note {
  font-size: 0.875rem;
  margin-bottom: 3rem;
}

.contact-note a {
  color: #777;
  text-decoration: none;
}

@media (max-width: 1024px) {
  .contact-list {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .contact-list-item::before,
  .contact-list-item::after {
    width: 12px;
    height: 2px;
    right: .75rem;
  }

  .contact-list-item__description {
    font-size: 0.875rem;
  }
}

@media (max-width: 480px) {
  .contact-list-item::before,
  .contact-list-item::after {
    display: none;
  }

  .contact-list-item a {
    padding: .875rem;
  }

  .contact-list-item__caption {
    font-size: 1rem;
    line-height: 1.2;
  }
  
  .contact-list-item__image {
    max-width: 70%;
  }

  .contact-list-item__description {
    font-size: 0.75rem;
  }
}