/* --- Reset CSS --- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html, body {
  height: 100%;
  font-family: sans-serif;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

img, picture, video, canvas, svg {
  /* max-width: 100%; */
  width: 100%;
  height: auto;
}

input, button, textarea, select {
  font: inherit;
}

a {
  text-decoration: none;
  color: inherit;
}

body {
  font-family: "zen-maru-gothic", sans-serif;
  font-weight: 400;
  font-style: normal;
  margin: 0; padding: 0;
  line-height: 1.6;
}

.footer {
  position: relative;
  width: 100%;
  margin: 0;
  padding: 0;
  overflow: hidden;
  background: none;
}
.footer__bg {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  z-index: 0;
  pointer-events: none;
}
.footer__bg-img {
  width: 100%; height: 100%; object-fit: cover; display: block;
}
.footer__content {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
  padding: 48px 0 24px 0;
  text-align: center;
}
.footer__btns {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin-bottom: 32px;
}
.footer__btn {
  display: inline-block;
  border-radius: 32px;
  overflow: hidden;
}
.footer__btn img {
  display: block;
  height: 42px;
  width: auto;
}
@media (max-width: 768px) {
  .footer__btn img {
    height: 30px;
  }
}
.footer__copyright {
  color: #234;
  font-size: 1.0rem;
  line-height: 1.7;
  margin-top: 16px;
  text-align: center;
  letter-spacing: 0.02em;
}
@media (max-width: 768px) {
  .footer__copyright {
    font-size: 0.8rem;
    padding: 0 10px;
  }
}

/* animate */
.animate {
  opacity: 0;
}
.animate.bounce {
  animation: bounceInUp 1s ease forwards;
  opacity: 1;
}

/*
@keyframes bounceInUp {
  0% {
    opacity: 0;
    transform: translateY(3000px);
  }
  60% {
    opacity: 1;
    transform: translateY(-20px);
  }
  75% {
    transform: translateY(10px);
  }
  90% {
    transform: translateY(-5px);
  }
  100% {
    transform: translateY(0);
  }
}
*/

@keyframes bounceInUp {
  0% {
    opacity: 0;
    transform: translateY(500px);
  }
  60% {
    opacity: 1;
    transform: translateY(-8px);
  }
  75% {
    transform: translateY(4px);
  }
  90% {
    transform: translateY(-2px);
  }
  100% {
    transform: translateY(0);
  }
}

/* privacy policy style */
.privacy {
  background: #f8f5ff;
  border-radius: 24px;
  padding: 40px;
  margin: 20px;
  box-shadow: 0 8px 32px rgba(139, 92, 246, 0.15);
  position: relative;
  overflow: hidden;
  max-width: 100%;
  overflow-wrap: break-word;
  word-break: break-word;
}

.privacy h1 {
  color: #8B5CF6;
  font-size: 1.8rem;
  font-weight: bold;
  text-align: center;
  margin-bottom: 30px;
  text-shadow: 0 2px 4px rgba(139, 92, 246, 0.1);
}

.privacy h2 {
  color: #6B46C1;
  font-size: 1.3rem;
  font-weight: bold;
  margin: 25px 0 15px 0;
  padding-left: 15px;
  border-left: 4px solid #D0BDE5;
}

.privacy h3 {
  color: #7C3AED;
  font-size: 1.1rem;
  font-weight: bold;
  margin: 20px 0 10px 0;
}

.privacy p {
  line-height: 1.8;
  margin: 15px 0;
  color: #374151;
}

.privacy a {
  color: #8B5CF6;
  text-decoration: underline;
  word-break: break-all;
  overflow-wrap: break-word;
  transition: color 0.3s ease;
}

.privacy a:hover {
  color: #6B46C1;
  text-decoration: none;
}

.privacy a[rel="modal:close"] {
  text-decoration: none;
}

.privacy .close-btn {
  display: block;
  background: transparent;
  border: 2px solid #D0BDE5;
  color: #8B5CF6;
  padding: 12px 30px;
  border-radius: 10px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  min-width: 120px;
  text-align: center;
  margin: 40px auto 20px;
  width: 40%;
}

.privacy .close-btn:hover {
  transform: translateY(-2px);
  text-decoration: none;
}

/* modal style */
.modal {
  border: 2px solid #D0BDE5 !important;
  border-radius: 24px !important;
  padding: 0 !important;
  max-width: 750px!important;
}

.modal a.close-modal {
  display: none;
}
.blocker {
  z-index: 20;
}

/* responsive style */
@media (max-width: 768px) {
  .pc-only {
    display: none!important;
  }
  
  .privacy {
    padding: 10px;
    margin: 10px;
    border-radius: 16px;
  }
  
  .privacy h1 {
    font-size: 1.5rem;
  }
  
  .privacy h2 {
    font-size: 1.2rem;
  }
}

@media (min-width: 769px) {
  .sp-only {
    display: none!important;
  }
}

/* hover common style */
.button-default {
  opacity: 1;
  z-index: 1;
}

.button-hover {
  opacity: 0;
  z-index: 2;
}

