@charset "utf-8";

.qre_container {
  margin-bottom: 48px;
}

.qre_question .qre_label span {
  font-size: 2rem;
  /* font-weight: bold; */
  line-height: 1.4;
}

.label-required{
  font-size: 1.4rem !important;
  margin-left: 16px;
  color: #e20000;
}

.label-tel {
  font-size: 1.4rem !important;
  margin-left: 16px;
}

.qre_answer {
  margin-top: 16px;
  width: 100%;
}

.textarea {
  width: 100%;
  border: 1px solid #a0a0a0;
  border-radius: 4px;
  padding: 4px 8px;
}

input {
  appearance: revert !important;
}

input[type="text"]:focus {
  outline: 2px solid var(--color-main);
}

@media screen and (max-width: 768px) {
  .qre_question .qre_label span {
    font-size: 18px;
    font-weight: 600;
  }
}

.radios {
  display: grid;
}

.radios__1col {
  display: grid;
}

.radios__1col .radio:first-child {
  border-radius: 4px 4px 0 0;
}

.radios__1col .radio:last-child {
  border-radius: 0 0 4px 4px;
}

.radios__1col .radio:not(:last-child) {
  border-bottom: none;
}

input[type="radio"] {
  /* margin: 0 0 0 27px; */
  transform: scale(1.5);
  cursor: pointer;
  margin-right: 16px;
}

.radio {
  border: 1px solid #a0a0a0;
  transition: background-color 0.2s;
  display: flex;
}

.radio:hover {
  background-color: #f0f0f0;
  transition: background-color 0.2s;
}

.radioLabel {
  cursor: pointer;
  display: flex;
  align-items: center;
  padding: 8px 16px 8px 20px;
  /* height: 32px; */
  width: 100%;
}

.basic {
  margin-top: 24px;
  box-sizing: border-box;
}

.qre_basic {
  margin-top: 16px;
  width: 100%;
}

.affiliation {
  display: flex;
  justify-content: flex-start;
  gap: 8px;
  align-items: end;
  max-width: 800px;
}

.basic_area {
  max-width: 100%;
  box-sizing: border-box;
  resize: vertical;
}

::placeholder {
  color: #ccc;
}


/*送信ボタン----------*/

.submit_btn {
  display: block;
  padding: 18px 0;
  border-radius: 4px;
  cursor: pointer;
  background-color: var(--color-main);
  color: #fff;
  transition: all 0.2s;
  border: none;
  font-weight: bold;
  width: 100%;
  max-width: 280px;
  margin: 64px auto 0;
  text-align: center;
}

.submit_btn:hover {
  background-color: var(--color-sub);
  transition: all 0.2s;
}

@media screen and (max-width: 500px) {
  .submit_btn {
    margin: 32px auto 0;
  }
}


/*thanksページ----------*/
.thanks_top{
text-align: center;
font-size: 2.4rem;
margin-bottom: 24px;
}

.thanks_p {
  text-align: center;
}

.thanks_topBtn {
  text-align: center;
  margin-top: 64px;
}

.thanks_topBtn a {
  color: #0216B2;
  font-weight: 500;
}

.thanks_topBtn a:hover {
  color: #031177;
}

@media screen and (max-width: 500px) {
  .thanks_h2 {
    font-size: 24px;
  }

  .thanks_topBtn {
    margin-top: 48px;
  }
}

/*-----------thanksページ*/