@charset "UTF-8";

/* =========================
   Thanks page
========================= */
html,
body,
.page-thanks {
  height: 100%;
}

body.page-thanks {
  margin: 0;
  padding: 0;
  height: 100svh;
  font-family: "Agbalumo", "Noto Sans JP", sans-serif;
  overflow-y: auto;
  background: black;
  color: white;
}

/* background */
.page-thanks .background {
  position: fixed;
  inset: 0;
  background-color: black;
  z-index: -1;
}

/* layout */
/* layout（thanks専用） */
.page-thanks .thanks-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;

  min-height: 100svh;
  padding-block: 40px;
  box-sizing: border-box;

  justify-content: space-evenly;
}

/* intro-screen が出す .container.is-thanks は「入れ物」扱いにしない（中身だけ使う） */
.page-thanks .thanks-wrapper > .container.is-thanks {
  display: contents;
}

/* thanks text */
.page-thanks .thanks-copy {
  display: block;
  text-align: center;
}

.page-thanks .thanks-copy h2 {
  font-size: 80px;
  line-height: 1;
  margin-bottom: 30px;
  color: white;
}

.page-thanks .thanks-copy .sub-ttl {
  font-size: 18px;
  line-height: 1;
  color: white;
}

/* clock */
.page-thanks .clock {
  position: relative;
  width: 246px;
  height: 246px;
  border: 5px solid white;
  border-radius: 50%;
  box-sizing: border-box;
}

.page-thanks .hand {
  position: absolute;
  bottom: 50%;
  left: 50%;
  transform-origin: bottom center;
  background: white;
}

.page-thanks .hour {
  height: 64px;
  width: 5px;
}

.page-thanks .minute {
  height: 88px;
  width: 5px;
}

.page-thanks .second {
  height: 128px;
  width: 5px;
  background: #c70000;
  transform-origin: 50% 80%;
  bottom: 39%;
}

.page-thanks .center-point {
  position: absolute;
  width: 12px;
  height: 12px;
  background: #c70000;
  border-radius: 50%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

/* logo & button */
.page-thanks .logo-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.page-thanks .logo img {
  width: 148px;
}

.page-thanks .enter {
  background: white;
  border: none;
  border-radius: 20px;
  width: 148px;
  height: 36px;
  font-size: 28px;
  margin-top: 24px;
  line-height: 1;
  padding-bottom: 4px;
  font-family: "Agbalumo", sans-serif;
  cursor: pointer;
  color: black;
}

.logo {
  width: 148px;
  height: auto;
}

/* =========================
   SP
========================= */
@media screen and (max-width: 767px) {
  .page-thanks .container.is-thanks {
    gap: 64px;
  }

  .page-thanks .thanks-copy h2 {
    font-size: 60px;
    margin-bottom: 16px;
  }

  .page-thanks .thanks-copy .sub-ttl {
    font-size: 16px;
  }

  .page-thanks .clock {
    width: calc(246px * 0.75);
    height: calc(246px * 0.75);
    border: 3.75px solid white;
  }

  .page-thanks .hour {
    height: 48.75px;
    width: 3.75px;
  }

  .page-thanks .minute {
    height: 66px;
    width: 3.75px;
  }

  .page-thanks .second {
    height: 87px;
    width: 3.75px;
    bottom: 40%;
  }

  .page-thanks .center-point {
    width: 9px;
    height: 9px;
  }

  .page-thanks .logo {
    width: 111px;
  }

  .page-thanks .logo img {
    width: 111px;
  }

  .page-thanks .enter {
    width: 111px;
  }

  .page-thanks .thanks-wrapper {
    justify-content: center;
    gap: 40px;
    height: 100svb;
    padding-block: 20px;
  }
}
