html, body {
  height: 100%;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Arial, Helvetica, sans-serif;
  color: #333;
  background-image: url("../background/background.webp");
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
  background-attachment: fixed;
}

@media (max-width: 768px) {
  html, body {
    background-image: url("../background/phone.webp");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center top;
    background-attachment: fixed;
  }
}

/* PC 共通 */
header h1 {
  padding-top: 46px;
  padding-bottom: 35px;
  text-align: center;
  font-size: 39px;
}

.expired-message {
  width: 90%;
  max-width: 759px;
  background-color: white;
  border-radius: 33px;
  padding: 43px;
  margin: 0 auto 40px;
  min-height: 400px;
  box-sizing: border-box;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  text-align: center;
}

.expired-box .date {
  font-size: 26px;
  margin-bottom: 20px;
}

.expired-box .thanks {
  font-size: 32px;
  line-height: 1.4;
}

.labelbetty-logo {
  text-align: center;
  margin: 100px 0;
}

.labelbetty-logo img {
  width: 240px;
  height: auto;
}

.sns-colored-icons {
  display: flex;
  justify-content: center;
  gap: 40px;
  margin: 100px 0;
  flex-wrap: nowrap;
}

.sns-colored-item-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.sns-colored-item {
  width: 150px;
  height: 150px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 0;
}

.sns-colored-item img {
  width: 81px;
  height: 81px;
}

.sns-label {
  font-size: 18px;
  font-weight: bold;
  color: #333;
  margin-top: 10px;
}

.event-logo {
  display: block;
  margin: 100px auto;
  max-width: 400px;
  width: 100%;
}

footer {
  background-color: #BF2A2A;
  max-height: 10px;
  height: 100%;
  padding: 20px 0;
  margin-top: 0;
}

.footer-logo {
  display: block;
  margin: -5px auto 10px;
  max-width: 130px;
  width: 100%;
  height: auto;
}

/* 📱 モバイル用表示 */
@media (max-width: 768px) {
  header h1 {
    padding: 40px 0;
    font-size: 24px;
  }

  .expired-message {
    width: calc(100% - 64px);
    padding: 20px;
    border-radius: 19px;
    margin: 20px auto;
    min-height: 200px;
  }

  .expired-box .date {
    font-size: 13px;
  }

  .expired-box .thanks {
    font-size: 15px;
  }

  .labelbetty-logo {
    margin: 40px 0 10px;
  }

  .labelbetty-logo img {
    width: 120px;
  }

  .sns-colored-icons {
    display: none;
  }

  .mobile-only {
    display: block;
  }

  .sns-colored-button {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    width: 287px;
    height: 56px;
    padding: 0 16px;
    color: #fff;
    font-weight: bold;
    font-size: 14px;
    text-decoration: none;
    margin: 8px auto;
    box-sizing: border-box;
    overflow: hidden;
  }
  
  .sns-colored-button img {
    width: 32px;
    height: 32px;
    z-index: 2;
  }
  
  .sns-colored-button span {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    white-space: nowrap;
    z-index: 1;
    font-weight: bold;
  }
  
  .event-logo {
    margin: 60px auto;
    max-width: 220px;
  }

  .footer-logo {
    max-width: 100px;
    text-align: center;
  }

  .pc-only {
    display: none;
  }
}

/* 💻 PC表示でモバイル要素を非表示に */
@media (min-width: 769px) {
  .mobile-only {
    display: none;
  }

  .pc-only {
    display: flex;
  }
}
