.biz-udpgothic-regular {
  font-family: "BIZ UDPGothic", sans-serif;
  font-weight: 400;
  font-style: normal;
}

:root {
  color-scheme: light;
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 400;
  background: #f7f7f7;
  color: #111;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  line-height: 1.6;
  background-color: #f7f7f7;
  padding-bottom: 72px;
}

button,
input {
  font: inherit;
}

.content {
  width: min(100%, 1080px);
  max-width: 1080px;
  margin: 0 auto;
  padding: 24px;
}

.input-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  margin-top: 16px;
}

input#pid {
  flex: 1 1 220px;
  min-width: 180px;
  padding: 12px 14px;
  border: 1px solid #ccc;
  border-radius: 8px;
  background: #fff;
}

.big-button {
  appearance: none;
  border: none;
  border-radius: 999px;
  padding: 14px 22px;
  background-color: #222;
  color: #fff;
  cursor: pointer;
  transition: transform 0.15s ease, background-color 0.15s ease, box-shadow 0.15s ease;
}

.big-button:hover,
.big-button:focus-visible {
  background-color: #111;
  transform: translateY(-1px);
}

.hidden {
  display: none !important;
}

.question-block {
  margin-top: 28px;
  padding: 18px 16px;
  background: #fff;
  border-radius: 16px;
  border: 1px solid #e1e1e1;
}

.question-block h3 {
  margin: 0 0 14px;
  font-size: 1.05rem;
}

.choices-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.choicebox {
  display: flex;
  flex-direction: row;
  align-items: center;
  padding: 10px 14px;
  border: 2px solid rgb(33, 33, 33);
  cursor: pointer;
  min-width: 140px;
  background-color: #fff;
  transition: background-color 0.2s ease, transform 0.2s ease, border-color 0.2s ease;
}

.choicebox:not(.disabled):hover,
.choicebox:not(.disabled):focus-visible {
  background-color: #f3f3f3;
  transform: translateY(-1px);
}

.choicebox.disabled {
  opacity: 0.65;
  cursor: not-allowed;
}

.checkFrame {
  width: 20px;
  height: 20px;
  border: 2px solid rgb(33, 33, 33);
  margin-right: 10px;
  flex-shrink: 0;
}

.choiceText {
  white-space: nowrap;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (max-width: 760px) {
  .choices-row {
    flex-direction: column;
    gap: 12px;
  }

  .choicebox {
    width: 100%;
    min-width: auto;
    justify-content: flex-start;
  }
}

@media (max-width: 480px) {
  .content {
    padding: 16px;
  }

  .choicebox {
    padding: 12px 10px;
  }

  .checkFrame {
    width: 18px;
    height: 18px;
  }

  .choiceText {
    font-size: 0.95rem;
  }
}
