@charset "UTF-8";
html,
body {
  height: 100%;
  font-family: 'Roboto', sans-serif;
  font-weight: 900;
  font-style: normal;
}
.wrp {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

main {
  flex: 1;
}
.loader {
  border: 16px solid #f3f3f3;
  border-radius: 50%;
  border-top: 16px solid #3498db;
  width: 120px;
  height: 120px;
  animation: spin 2s linear infinite;
  color: #333;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

.mv_wrp {
  display: flex;
  align-items: center;
  flex-direction: column;
  height: 100vh;
  width: 100%;
  background: url(../img/bg.jpg);
  background-size: cover;
  overflow: auto;
}

.logo_mv img {
  width: 80vw;
  max-width: 820px;
  margin-top: 12px;
  filter: hue-rotate(-358deg);
  filter: drop-shadow(1px 1px 4px #340);
}

nav {
  color: crimson;
  font-size: clamp(26px, 3vw, 42px);
  font-weight: 700;
  text-align: center;
  margin: 16px 0;
}

nav ul {
  display: flex;
}

nav li:first-child::after {
  content: '';
  padding: 0 16px;
}

nav a:hover {
  color: rgb(221 255 102);
}

#copyEmailBtn {
  cursor: pointer;
}

#copyEmailBtn:hover {
  color: rgb(221 255 102);
}

.leaflets {
  display: flex;
}

.leaflets .item {
  margin: 8px;
  height: 100%;
  text-align: center;
}

.leaflets img {
  max-height: 600px;
  width: auto;
}

footer {
  position: absolute;
  bottom: 8px;
  width: 100%;
}

.footer_copy {
  text-align: center;
  color: #111;
  font-size: 10px;
}

@media screen and (max-width: 768px) {
  .leaflets {
    flex-direction: column;
  }
  .leaflets img {
    width: 100%; /* モバイルデバイスでは画像の幅を100%に */
    height: auto;
    object-fit: contain;
  }
}

@media screen and (max-width: 540px) {
  .logo_mv img {
    width: 97vw;
    margin-top: 46px;
  }
  nav {
    margin: 24px 0 32px 0;
  }
}
