@charset "UTF-8";

#menu {
  display: flex;
  justify-content: space-between;
}
#menu section {
  width: 28%;
}
#menu h2 {
  flex-direction: column;
  align-items: start;
}
#menu .detail-button {
  display: flex;
  justify-content: center;
}
#menu .detail-button a {
  color: var(--primary-color);
  display: flex;
  align-items: center;
  gap: 24px;
}
#menu .detail-button a span {
  width: 100px;
  height: 100px;
  background: var(--primary-color);
  border-radius: 100vw;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
#menu .detail-button a:hover span img {
  transform: translateX(4px);
}
#menu .separator {
  width: 1px;
  background: #a7a3a3;
}

@media screen and (max-width: 768px) {
  #menu {
    flex-direction: column;
    gap: 40px 0;
  }
  #menu section {
    width: auto;
  }
  #menu h2 {
    margin-bottom: 20px;
    align-items: center;
  }
  #menu .detail-button a span {
    width: 60px;
    height: 60px;
  }
  #menu .detail-button a span img {
    width: 50%;
    height: auto;
  }
  #menu .separator {
    width: 100%;
    height: 1px;
  }
}
