.event-quiz li {
  border-radius: 20px;
  background-color: #f0f5fc;
  padding: 30px;
}

.event-quiz li h5.q-title {
  font-size: 22px;
  text-align: center;
  line-height: 1.4;
  word-break: keep-all;
  text-wrap: balance;
  padding-bottom: 30px;
}

.sub .event-quiz li p {
  text-wrap: balance;
  text-align: center;
  word-break: keep-all;
  padding-bottom: 30px;
}

.sub .event-quiz li p.hint {
  color: #3b82c5;
  flex: 1;
}

.q-circle {
  width: 2.5em;
  aspect-ratio: 1 / 1;
  padding: 10px;
  margin-bottom: 0.5em;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 32px;
  font-weight: 800;
  color: #fff;
  background-color: #3d86c6;
  border-radius: 50%;
}

@media screen and (max-width: 768px) {
  .event-quiz li h5.q-title {
    font-size: 18px;
  }

  .q-circle {
    font-size: 28px;
  }

  .sub .event-quiz li p,
  .sub .event-quiz li p.hint {
    font-size: 16px;
  }
}

.form-layout {
  --input-height: 50px;
  width: 100%;
}

.form-layout .tag {
  min-width: 150px;
  display: flex;
  background-color: #000;
}

.form-layout .tag-wrap {
  margin-block: 40px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-inline: 20px;
}

.form-layout .tag-wrap .tag-box {
  display: flex;
}

.sub .crawling-contents-textbox .form-layout .flex > span {
  display: flex;
  margin: 0;
}

@media screen and (max-width: 768px) {
  .form-layout .tag-wrap p {
    text-align: center;
    text-wrap: balance;
    word-break: keep-all;
  }
  .form-layout .tag-wrap .tag-box {
    flex-direction: column;
  }
}

.form-layout .comment {
  padding: 40px;
  background-color: #f0f5fc;
  border-radius: 5px;
}

.form-layout .comment .comment-inner {
  background-color: #fff;
  padding: 40px;
  border-radius: 20px;
}

.form-layout .winner .tag {
  background-color: #003399;
  color: #fff;
  margin-inline: auto;
  margin-bottom: 40px;
}

.form-layout .winner-list {
  width: 720px;
  max-width: 100%;
  margin-inline: auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}

.form-layout .winner-list li {
  width: calc(20% - 20px);
}

.form-layout .winner-list p {
  text-align: center;
  display: block;
}

@media screen and (max-width: 1024px) {
  .form-layout .comment {
    padding: 15px;
  }
  .form-layout .comment .comment-inner {
    padding: 30px 15px;
  }

  .form-layout .winner-list {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
  }

  .form-layout .winner-list li {
    width: 100%;
  }

  .form-layout .winner .tag {
    margin-bottom: 20px;
  }
}

@media screen and (max-width: 475px) {
  .form-layout .winner-list {
    grid-template-columns: 1fr 1fr;
  }
}

.form-layout .comment-form {
  position: relative;
}

.form-layout .comment-form .input-line2 {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}

.form-layout .comment-form .input-line2 > * {
  flex: 1;
}

.form-layout .comment-form .input-box {
  display: flex;
  border-radius: 10px;
  overflow: hidden;
}

.form-layout .comment-form .input-box input {
  flex: 1;
}

.form-layout label {
  cursor: pointer;
}

.form-layout .comment-form .input-box label {
  min-width: 120px;
  background-color: #8d8d8d;
  color: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 16px;
}

.form-layout .comment-form .input-box input[type="text"] {
  width: 100%;
  padding-inline: 15px;
  height: var(--input-height);
  background-color: #f4f3f3;
  border: 0;
}

.form-layout .comment-form .input-box input[type="text"]:focus,
.form-layout .comment-form .input-box input[type="text"]:active {
  border: 0;
  background-color: #f0f5fc;
  outline: 0;
}

.form-layout .agree_wrap {
  margin-top: 40px;
  display: flex;
  flex-direction: column;
}

.form-layout .agree_box {
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  position: absolute;
  padding-inline: 5px;
  top: 0;
  left: 0;
  display: none;
  background-color: #fff;
}

.form-layout .agree_box > div {
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: start;
  flex-direction: column;
}

.form-layout .agree_box b {
  font-weight: 700;
}

.form-layout .agree_core .check {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  font-size: 18px;
  margin-bottom: 20px;
}

.form-layout .agree_core input[type="checkbox"] {
  display: block;
  width: 1.2em;
  height: 1.2em;
}

.form-layout .show_agree {
  color: #888;
  text-decoration: underline;
  text-underline-offset: 5px;
  cursor: pointer;
  font-size: 16px;
}

.form-layout .agree_box_close {
  height: max-content;
  font-size: 15px;
  color: #fff;
  background-color: #000;
  padding: 5px 10px;
  cursor: pointer;
  white-space: nowrap;
}

.form-layout .secure {
  width: max-content;
  max-width: 100%;
  margin-inline: auto;
  display: flex;
  align-items: center;
  gap: 10px;
}

.form-layout .secure b {
  font-weight: 700;
  font-size: 17px;
}

.form-layout .secureimage,
.form-layout .secure input[type="text"] {
  height: var(--input-height);
  border: 1px solid #ccc;
  padding: 10px;
}

.form-layout .secure input[type="text"] {
  width: 160px;
  max-width: 100%;
}

.form-layout .secureimage {
  display: flex;
  justify-content: center;
  align-items: center;
}

.form-layout .event-submit {
  min-width: 150px;
  padding: 15px 30px;
  background-color: #003399;
  color: #fff;
  border-radius: 20vw;
  margin-inline: auto;
  margin-top: 50px;
}

.form-layout .event-submit:hover {
  filter: brightness(0.85);
  cursor: pointer;
}

@media screen and (max-width: 768px) {
  .form-layout .comment-form .input-line2 {
    flex-direction: column;
  }

  .form-layout .comment-form .input-box {
    width: 100%;
  }

  .form-layout .comment-form .input-box label {
    min-width: 100px;
    font-size: 14px;
  }

  .form-layout .agree_core .check {
    flex-wrap: wrap;
  }

  .form-layout .secure {
    width: 100%;
    flex-direction: column;
    margin-top: 50px;
  }
}

@media screen and (max-width: 475px) {
  .form-layout .agree_box h3 {
    font-size: 1.1rem;
    word-break: keep-all;
    text-align: left;
    line-height: 1.5;
  }

  .form-layout .agree_box_close {
    margin-top: 5px;
  }
}