html,
body,
div,
span,
applet,
object,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
a,
abbr,
acronym,
address,
big,
cite,
code,
del,
dfn,
em,
img,
ins,
kbd,
q,
s,
samp,
small,
strike,
strong,
sub,
sup,
tt,
var,
b,
u,
i,
center,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td,
article,
aside,
canvas,
details,
embed,
figure,
figcaption,
footer,
header,
hgroup,
menu,
nav,
output,
ruby,
section,
summary,
time,
mark,
audio,
video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
  scroll-behavior: smooth;
}

/* HTML5 display-role reset for older browsers */
article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section {
  display: block;
}

li {
  list-style-type: none;
}

blockquote,
q {
  quotes: none;
}

blockquote:before,
blockquote:after,
q:before,
q:after {
  content: "";
  content: none;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
}

button {
  background-color: transparent;
  border: none;
  cursor: pointer;
  outline: none;
  padding: 0;
  -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none;
}

@font-face {
  font-family: "Poppins";
  src: url("../font/Poppins-SemiBold.woff") format("woff"), local(sans-serif);
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "DIN";
  src: url("../font/DINAlternate-Bold.woff") format("woff"), local(sans-serif);
  font-weight: 700;
  font-display: swap;
  font-style: normal;
}
html {
  font-family: "Noto Sans JP", sans-serif;
}

.thanks-message {
  height: 100vh;
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  text-align: center;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  position: relative;
  overflow: hidden;
}
.thanks-message::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(0, 100, 255, 0.05) 0%, transparent 70%);
  -webkit-animation: float 6s ease-in-out infinite;
          animation: float 6s ease-in-out infinite;
  z-index: 0;
}
.thanks-message::after {
  content: "";
  position: absolute;
  bottom: -30%;
  left: -30%;
  width: 150%;
  height: 150%;
  background: radial-gradient(circle, rgba(0, 100, 255, 0.03) 0%, transparent 70%);
  animation: float 8s ease-in-out infinite reverse;
  z-index: 0;
}
.thanks-message .thanks-inner {
  width: -webkit-fit-content;
  width: -moz-fit-content;
  width: fit-content;
  padding: 100px 100px 80px;
  background: rgba(255, 255, 255, 0.95);
  border-radius: 20px;
  -webkit-box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
          box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  -webkit-backdrop-filter: blur(10px);
          backdrop-filter: blur(10px);
  position: relative;
  z-index: 1;
  -webkit-animation: slideUp 1s ease-out;
          animation: slideUp 1s ease-out;
}
.thanks-message .thanks-inner::before {
  content: "";
  position: absolute;
  top: -50px;
  left: 50%;
  -webkit-transform: translateX(-50%);
          transform: translateX(-50%);
  width: 100px;
  height: 100px;
  border-radius: 50%;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-animation: checkmark 0.8s ease-out 0.5s both;
          animation: checkmark 0.8s ease-out 0.5s both;
  -webkit-box-shadow: 0 10px 20px rgba(0, 100, 255, 0.3);
          box-shadow: 0 10px 20px rgba(0, 100, 255, 0.3);
  background-image: url("../images/check.svg");
  background-size: 100px 100px;
  background-position: center;
  background-repeat: no-repeat;
}
.thanks-message .thanks-inner .thanks-title {
  font-size: 1.8rem;
  font-weight: 700;
  color: #0064FF;
  -webkit-animation-delay: 0.3s;
          animation-delay: 0.3s;
}
.thanks-message .thanks-inner p {
  margin: 2rem 0;
  font-size: 1rem;
  line-height: 1.8;
  color: #000000;
  opacity: 0;
  -webkit-animation: fadeInUp 0.8s ease-out forwards;
          animation: fadeInUp 0.8s ease-out forwards;
}
@-webkit-keyframes slideUp {
  from {
    opacity: 0;
    -webkit-transform: translateY(50px);
            transform: translateY(50px);
  }
  to {
    opacity: 1;
    -webkit-transform: translateY(0);
            transform: translateY(0);
  }
}
@keyframes slideUp {
  from {
    opacity: 0;
    -webkit-transform: translateY(50px);
            transform: translateY(50px);
  }
  to {
    opacity: 1;
    -webkit-transform: translateY(0);
            transform: translateY(0);
  }
}
@-webkit-keyframes fadeInUp {
  from {
    opacity: 0;
    -webkit-transform: translateY(20px);
            transform: translateY(20px);
  }
  to {
    opacity: 1;
    -webkit-transform: translateY(0);
            transform: translateY(0);
  }
}
@keyframes fadeInUp {
  from {
    opacity: 0;
    -webkit-transform: translateY(20px);
            transform: translateY(20px);
  }
  to {
    opacity: 1;
    -webkit-transform: translateY(0);
            transform: translateY(0);
  }
}
@-webkit-keyframes checkmark {
  0% {
    opacity: 0;
    -webkit-transform: translateX(-50%) scale(0);
            transform: translateX(-50%) scale(0);
  }
  50% {
    -webkit-transform: translateX(-50%) scale(1.2);
            transform: translateX(-50%) scale(1.2);
  }
  100% {
    opacity: 1;
    -webkit-transform: translateX(-50%) scale(1);
            transform: translateX(-50%) scale(1);
  }
}
@keyframes checkmark {
  0% {
    opacity: 0;
    -webkit-transform: translateX(-50%) scale(0);
            transform: translateX(-50%) scale(0);
  }
  50% {
    -webkit-transform: translateX(-50%) scale(1.2);
            transform: translateX(-50%) scale(1.2);
  }
  100% {
    opacity: 1;
    -webkit-transform: translateX(-50%) scale(1);
            transform: translateX(-50%) scale(1);
  }
}
@-webkit-keyframes float {
  0%, 100% {
    -webkit-transform: translateY(0px) rotate(0deg);
            transform: translateY(0px) rotate(0deg);
  }
  50% {
    -webkit-transform: translateY(-20px) rotate(5deg);
            transform: translateY(-20px) rotate(5deg);
  }
}
@keyframes float {
  0%, 100% {
    -webkit-transform: translateY(0px) rotate(0deg);
            transform: translateY(0px) rotate(0deg);
  }
  50% {
    -webkit-transform: translateY(-20px) rotate(5deg);
            transform: translateY(-20px) rotate(5deg);
  }
}
@media (max-width: 768px) {
  .thanks-message {
    padding: 60px 0;
  }
  .thanks-message::before {
    top: -40%;
    right: -40%;
    width: 180%;
    height: 180%;
  }
  .thanks-message::after {
    bottom: -20%;
    left: -20%;
    width: 130%;
    height: 130%;
  }
  .thanks-message .thanks-inner {
    width: calc(100% - 40px);
    max-width: 640px;
    padding: 60px 24px 40px;
  }
  .thanks-message .thanks-inner::before {
    top: -36px;
    width: 72px;
    height: 72px;
    background-size: 72px 72px;
  }
  .thanks-message .thanks-inner .thanks-title {
    font-size: 1.6rem;
  }
  .thanks-message .thanks-inner p {
    margin: 1.25rem 0;
    font-size: 1rem;
  }
  .thanks-message .thanks-inner p:first-child {
    font-size: 1.15rem;
  }
}
@media (max-width: 480px) {
  .thanks-message {
    padding: 48px 0;
  }
  .thanks-message::before {
    top: -30%;
    right: -30%;
    width: 150%;
    height: 150%;
  }
  .thanks-message::after {
    bottom: -16%;
    left: -16%;
    width: 120%;
    height: 120%;
  }
  .thanks-message .thanks-inner {
    width: calc(100% - 32px);
    max-width: 520px;
    padding: 54px 20px 28px;
  }
  .thanks-message .thanks-inner::before {
    top: -28px;
    width: 64px;
    height: 64px;
    background-size: 64px 64px;
  }
  .thanks-message .thanks-inner .thanks-title {
    font-size: 1.1rem;
  }
  .thanks-message .thanks-inner p {
    margin: 1rem 0;
    font-size: 0.95rem;
  }
  .thanks-message .thanks-inner p:first-child {
    font-size: 1.05rem;
  }
}