.tokyo-point-page {
  color: #30343b;
}

.tokyo-point-stage {
  position: relative;
  padding: 104px 0 84px;
  background:
    radial-gradient(circle at 8% 22%, rgb(12 170 145 / 9%) 0 7px, transparent 8px),
    radial-gradient(circle at 92% 36%, rgb(240 82 112 / 8%) 0 9px, transparent 10px),
    linear-gradient(180deg, #f7ffff 0%, #fff 42%, #fff 100%);
}

.tokyo-point-stage__inner {
  width: min(calc(100% - 40px), 1080px);
}

.tokyo-point-heading {
  position: relative;
  margin-bottom: 34px;
  text-align: center;
}

.tokyo-point-heading img {
  width: 58px;
  height: auto;
  margin-bottom: 6px;
  animation: tokyo-point-bulb 2.5s ease-in-out infinite;
}

.tokyo-point-heading p {
  margin: 0 0 7px;
  color: #078673;
  font-size: 0.9375rem;
  font-weight: 800;
}

.tokyo-point-heading h1 {
  margin: 0;
  color: #17268f;
  font-size: clamp(1.75rem, var(--font-fluid-vw-3, 3vw), 2.625rem);
  line-height: 1.35;
}

.tokyo-point-heading > span {
  display: block;
  width: 72px;
  height: 5px;
  margin: 16px auto 0;
  background: linear-gradient(90deg, #16b59c 0 45%, transparent 45% 55%, #16b59c 55%);
  border-radius: 99px;
}

.tokyo-point-qr-card {
  position: relative;
  width: min(100%, 720px);
  margin-inline: auto;
  padding: 38px 42px 32px;
  text-align: center;
  background: rgb(255 255 255 / 96%);
  border: 2px solid #9adfd5;
  border-radius: 26px;
  box-shadow: 0 18px 45px rgb(36 93 113 / 13%);
}

.tokyo-point-qr-card__badge {
  position: absolute;
  top: -17px;
  left: 50%;
  min-width: 140px;
  padding: 8px 24px;
  color: #fff;
  background: linear-gradient(135deg, #17baa1, #078e79);
  border-radius: 999px;
  box-shadow: 0 5px 0 #087867;
  font-size: 1rem;
  font-weight: 900;
  transform: translateX(-50%);
}

.tokyo-point-qr-card h2 {
  margin: 8px 0 10px;
  color: #17268f;
  font-size: clamp(1.3125rem, var(--font-fluid-vw-2-2, 2.2vw), 1.8125rem);
}

.tokyo-point-qr-card > p {
  margin: 0 auto;
  max-width: 560px;
  font-size: 0.875rem;
  font-weight: 700;
  line-height: 1.8;
}

.tokyo-point-qr-frame {
  display: block;
  width: min(74vw, 330px);
  margin: 24px auto 15px;
  padding: 18px;
  background: #fff;
  border: 2px solid #dbe8ed;
  border-radius: 22px;
  box-shadow: 0 10px 26px rgb(24 40 80 / 10%);
}

.tokyo-point-qr-frame img {
  display: block;
  width: 100%;
  height: auto;
}

.tokyo-point-qr-card .tokyo-point-qr-card__limit {
  color: #596269;
  font-size: 0.75rem;
  font-weight: 600;
}

.tokyo-point-info-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin-top: 30px;
  gap: 24px;
}

.tokyo-point-notice,
.tokyo-point-guide {
  padding: 28px 30px;
  background: #fff;
  border: 2px solid #d7e4e9;
  border-radius: 20px;
  box-shadow: 0 12px 32px rgb(36 93 113 / 8%);
}

.tokyo-point-notice h2,
.tokyo-point-guide h2 {
  margin: 0 0 18px;
  color: #17268f;
  font-size: 1.25rem;
}

.tokyo-point-notice h2::before,
.tokyo-point-guide h2::before {
  display: inline-grid;
  width: 28px;
  height: 28px;
  margin-right: 9px;
  place-items: center;
  color: #fff;
  background: #12aa92;
  border-radius: 50%;
  content: "!";
  font-size: 0.9375rem;
  vertical-align: 2px;
}

.tokyo-point-guide h2::before {
  content: "✓";
}

.tokyo-point-notice ul {
  margin: 0;
  padding-left: 1.4em;
}

.tokyo-point-notice li {
  margin-top: 9px;
  font-size: 0.8125rem;
  line-height: 1.7;
}

.tokyo-point-notice li::marker {
  color: #f05270;
}

.point-notices li:first-child{
  font-weight: bold;
  text-decoration: underline;
  text-decoration-color: #ff6;
  text-decoration-thickness: 5px;
}

.tokyo-point-guide ol {
  display: grid;
  margin: 0;
  padding: 0;
  gap: 13px;
  list-style: none;
}

.tokyo-point-guide li {
  display: flex;
  align-items: flex-start;
  gap: 13px;
}

.tokyo-point-guide li > span {
  display: grid;
  width: 36px;
  height: 36px;
  flex: 0 0 36px;
  place-items: center;
  color: #fff;
  background: linear-gradient(145deg, #27c4ad, #078c78);
  border: 3px solid #dbf7f2;
  border-radius: 50%;
  box-shadow: 0 2px 0 #087867;
  font-size: 0.9375rem;
  font-weight: 900;
}

.tokyo-point-guide strong {
  display: block;
  margin: 1px 0 3px;
  color: #343a3f;
  font-size: 0.875rem;
}

.tokyo-point-guide p {
  margin: 0;
  color: #626a70;
  font-size: 0.75rem;
  line-height: 1.65;
}

.tokyo-point-history-link {
  display: flex;
  width: min(100%, 390px);
  min-height: 54px;
  margin: 34px auto 0;
  align-items: center;
  justify-content: center;
  gap: 14px;
  color: #17268f;
  background: #fff;
  border: 2px solid #17268f;
  border-radius: 999px;
  box-shadow: 0 5px 0 #dce0f4;
  font-size: 1rem;
  font-weight: 900;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.tokyo-point-history-link:hover,
.tokyo-point-history-link:focus-visible {
  transform: translateY(-3px);
  box-shadow: 0 8px 0 #dce0f4;
}

.tokyo-point-history-link span {
  font-size: 1.75rem;
  line-height: 1;
}

.learning-completion--tokyo-point {
  background-color: #fff;
}

@keyframes tokyo-point-bulb {
  0%, 100% { transform: scale(1) rotate(0); }
  45% { transform: scale(1.08) rotate(-5deg); }
  65% { transform: scale(1.02) rotate(4deg); }
}

@media (max-width: 767px) {
  .tokyo-point-stage {
    padding: 86px 0 58px;
  }

  .tokyo-point-stage__inner {
    width: min(calc(100% - 24px), 560px);
  }

  .tokyo-point-heading {
    margin-bottom: 28px;
  }

  .tokyo-point-heading h1 {
    font-size: 1.625rem;
  }

  .tokyo-point-qr-card {
    padding: 35px 16px 24px;
    border-radius: 20px;
  }

  .tokyo-point-qr-card > p {
    font-size: 0.75rem;
  }

  .tokyo-point-info-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .tokyo-point-notice,
  .tokyo-point-guide {
    padding: 22px 18px;
    border-radius: 16px;
  }

  .tokyo-point-notice h2,
  .tokyo-point-guide h2 {
    font-size: 1.0625rem;
  }

  .tokyo-point-history-link {
    min-height: 50px;
    font-size: 0.875rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .tokyo-point-heading img {
    animation: none;
  }

  .tokyo-point-history-link {
    transition: none;
  }
}

.tokyo-point-page [hidden], .tokyo-point-result[hidden] { display: none !important; }
.tokyo-point-page { overflow-wrap: anywhere; }
.nlp-point-checkbox {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}
.nlp-point-checkbox-mark {
  display: inline-block;
  position: relative;
  box-sizing: border-box;
  width: 20px;
  height: 20px;
  margin: 0 .5em 0 0;
  border: 2px solid #526273;
  border-radius: 4px;
  background-color: #fff;
  vertical-align: -4px;
  cursor: pointer;
}
.nlp-point-checkbox-mark::after {
  content: "";
  display: none;
  position: absolute;
  left: 6px;
  top: 2px;
  width: 5px;
  height: 10px;
  box-sizing: border-box;
  border: solid #fff;
  border-width: 0 3px 3px 0;
  transform: rotate(45deg);
}
.nlp-point-checkbox:checked + .nlp-point-checkbox-mark {
  border-color: #087e68;
  background-color: #087e68;
}
.nlp-point-checkbox:checked + .nlp-point-checkbox-mark::after {
  display: block;
}
.nlp-point-checkbox:focus-visible + .nlp-point-checkbox-mark {
  outline: 3px solid #1d4ed8;
  outline-offset: 3px;
}
.nlp-point-checkbox:disabled + .nlp-point-checkbox-mark {
  cursor: not-allowed;
  opacity: .55;
}
@media (forced-colors: active) {
  .nlp-point-checkbox:checked + .nlp-point-checkbox-mark {
    border-color: Highlight;
    background-color: Highlight;
  }
  .nlp-point-checkbox:checked + .nlp-point-checkbox-mark::after {
    border-color: HighlightText;
  }
}
.tokyo-point-survey { margin-block: 28px; padding: 24px; background: #fff; border: 2px solid #192896; border-radius: 20px; }
.tokyo-point-survey fieldset { min-width: 0; margin-block: 20px; padding: 16px; border: 1px solid #ccc; }
.tokyo-point-survey legend { font-weight: 700; }
.tokyo-point-survey label { display: block; padding-block: 8px; }
.tokyo-point-survey label input { margin-right: 0.5em; }
.tokyo-point-survey textarea { display: block; width: 100%; max-width: 100%; min-height: 120px; padding: 12px; border: 1px solid #a9b6c2; border-radius: 8px; font: inherit; }
.tokyo-point-survey button { width: min(100%, 600px); min-width: 0; white-space: normal; margin: 24px auto; }
.tokyo-point-survey-complete { margin-block: 28px; padding: 28px; text-align: center; background: #fff; border: 2px solid #9adfd5; border-radius: 20px; }
.tokyo-point-survey-complete h2 { margin: 0 0 12px; color: #17268f; }
.tokyo-point-survey-complete p { margin: 0; }
.tokyo-point-result { overflow-wrap: anywhere; }
.tokyo-point-result .point-notices { padding-left: 1.5em; line-height: 1.7; }
.tokyo-point-result .tokyo-point-survey { max-width: 960px; margin-inline: auto; }
.tokyo-point-result #point-result-title { scroll-margin-top: clamp(72px, 8vw, 96px); }
.tokyo-point-result .tokyo-point-survey h3 { margin: 0 0 12px; color: #17268f; }
.tokyo-point-result .tokyo-point-survey fieldset { display: block; margin-block: 20px; padding: 16px; border: 1px solid #ccc; }
.tokyo-point-result .tokyo-point-survey fieldset[data-points-invalid] { border: 2px solid #b71c1c; }
.tokyo-point-result .tokyo-point-survey legend { float: none; width: auto; padding: 0 4px; }
.tokyo-point-result .tokyo-point-survey label { display: block; font-size: 0.9375rem; line-height: 1.6; overflow-wrap: anywhere; }
.tokyo-point-result .tokyo-point-survey .point-survey-error { margin: 8px 0 0; color: #a31818; font-weight: 700; }
.tokyo-point-result .lower-exam-button { display: flex; box-sizing: border-box; width: min(100%, 600px); min-width: 0; margin: 20px auto; white-space: normal; text-align: center; }
.tokyo-point-page [data-points-qr-retry] { display: flex; width: min(100%, 390px); margin: 20px auto; }
.tokyo-point-page .tokyo-point-qr-frame img { max-width: 100%; height: auto; }
.tokyo-point-related { max-width: 800px; margin: 24px auto; line-height: 1.8; }
.tokyo-point-page [data-points-status]:not(:empty), .tokyo-point-page [data-points-expired] { color: #b71c1c; margin-block: 20px; }
@media (max-width: 767px) {
  .tokyo-point-survey { padding: 16px; }
  .tokyo-point-survey fieldset { padding: 12px; }
  .tokyo-point-survey-complete { padding: 20px 16px; }
}
