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

main {
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
}
@media screen and (max-width: 767px) {
  main {
    height: 100svh;
  }
}

.contents {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.box {
  width: 100%;
  height: 50%;
}
.box.black {
  background-color: #000;
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  gap: 40px;
}
.box.white {
  background-color: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
}

.black_inner {
  max-width: 420px;
  margin: 0 auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 30px;
  margin-bottom: 40px;
}
@media screen and (max-width: 767px) {
  .black_inner {
    padding-inline: 20px;
  }
}

.white_inner {
  max-width: 410px;
  margin: 0 auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-top: 40px;
}
@media screen and (max-width: 767px) {
  .white_inner {
    padding-inline: 20px;
    width: 90%;
  }
}

.logo {
  max-width: 230px;
  margin: 0 auto;
  width: 80%;
}
.logo img {
  max-width: 100%;
  height: auto;
}

.website_text {
  font-size: 26px;
  text-align: center;
  line-height: 1.5;
  font-weight: bold;
}
@media screen and (max-width: 767px) {
  .website_text {
    font-size: 18px;
  }
}

.instagram_text {
  font-size: 16px;
  color: #000;
  text-align: center;
  line-height: 1.5;
  margin-bottom: 30px;
  font-weight: bold;
}
@media screen and (max-width: 767px) {
  .instagram_text {
    font-size: 12px;
  }
}

a {
  transition: opacity 0.3s ease;
}
a:hover {
  opacity: 0.7;
}

.sp_visible {
  display: none;
}
@media screen and (max-width: 767px) {
  .sp_visible {
    display: block;
  }
}