@charset "utf-8";

/* rem設定用 */
html {
  font-size: max(12px, min(2vw, 15px));
  font-size: clamp(12px, 2vw, 15px);
}

/*============================
#layout
margin、paddingなどは親コンテナの幅を基準に％指定
30pxなら30/640*100=4.69%、通常4.69%に設定
画像は左右paddingとmax-widthでコントロール
============================*/

#wrapper {
  width: 100%;
  background-color: #fffeef;
}

#wrapper .mainCont {
  position: relative;
  max-width: 100%;
  /* デザインデータ幅を最大幅に設定 */
  margin: 0 auto;
  overflow: hidden;
}

#wrapper img {
  max-width: 100%;
}

/* 依頼書で画像・テキストなど指定 */
#wrapper .header {
  width: min(1000px, 100%);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  overflow: hidden;
}

#wrapper .header .header-logo {
  width: min(219px, 21.9vw);
  margin: min(17px, 1.7vw) 0 min(10px, 1vw) min(1px, 0.1vw);
}

#wrapper .header .header-text {
  width: min(381px, 38.1vw);
  margin-right: min(1px, 0.1vw);
}

/*============================
txt
font-size、line-heightは
基本デザインデータの2/3から半分程度に設定
(画面幅320pxのiPhone5で段落ちしない程度)
============================*/

#wrapper a {
  text-decoration: none;
  color: #000;
}

#wrapper a:hover {
  opacity: 0.7;
}

/* 本文用のpはここで一括指定しています */
#wrapper p {
  font-size: 1rem;
  line-height: 1;
  text-align: left;
}

/*============================
q-bg
============================*/
.q-bg01 {
  padding-bottom: 9%;
  background-color: #fffeef;
  box-sizing: border-box;
}

/*============================
q-content
============================*/
#wrapper .q-content {
  /* display: none; */
}

#wrapper #q1 {
  display: block;
}

/*============================
q-box
============================*/
#wrapper .q-step img {
  margin: 0 auto;
}

#wrapper .q-box .q-title img {
  margin: 0 auto;
}

#wrapper .q-box label:hover {
  cursor: pointer;
}

#wrapper .q-box select:hover,
#wrapper .q-box .select-box:hover {
  cursor: pointer;
}

#wrapper .q-box .btn-back:hover {
  cursor: pointer;
}

/*============================
button
============================*/

#wrapper .q-box .btn-area {
  width: 100%;
}

#wrapper .q-box .btn-area-single {
  padding-bottom: 6%;
}

#wrapper .q-box .btn-area-single .btn-next {
  display: block;
  width: min(494px, 49.4vw);
  margin: 0 auto;
}

#wrapper .q-box .btn-area02 {
  width: min(726px, 72.6vw);
  margin: 0 auto;
  padding-bottom: 9.5%;
  display: flex;
  align-items: center;
  justify-content: center;
}

#wrapper .q-box .btn-area02 .btn-back {
  width: min(224px, 22.4vw);
}

#wrapper .q-box .btn-area02 .btn-back img {
  width: 100%;
}

#wrapper .q-box .btn-area02 .btn-next {
  width: min(458px, 45.8vw);
}

#wrapper .q-box .btn-area02 .btn-next img {
  width: 100%;
}

#wrapper .q-box .btn-area03 {
  width: min(794px, 79.4vw);
  margin: 0 auto;
  padding-bottom: 9%;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
}

#wrapper .q-box .btn-area03 .btn-back {
  display: inline-block;
  width: auto;
  /* ボタンのreset css */
  background-color: transparent;
  border: none;
  cursor: pointer;
  outline: none;
  padding: 0;
  appearance: none;

  font-size: min(18px, 1.8vw);
  margin-top: min(20px, 2vw);
  text-decoration: underline;
}

#wrapper .q-box .btn-area03 .btn-back:hover {
  text-decoration: none;
}

#wrapper .q-box .btn-area03 .btn-post {
  width: 100%;
}

#wrapper button[data-validate-for],
#wrapper button[data-validate-group-for] {
  filter: grayscale(0);
  transition: all 0.4s ease-in-out;
  cursor: none;

  background-color: transparent;
  border: none;
  cursor: pointer;
  outline: none;
  padding: 0;
  appearance: none;
}

#wrapper button[data-validate-for].disabled,
#wrapper button[data-validate-group-for].disabled {
  filter: grayscale(1);
  cursor: pointer;
}

.w_100 {
  width: 100% !important;
}

/*============================
form
============================*/
input {
  -webkit-appearance: none;
  appearance: none;
  -webkit-appearance: none;
  border-radius: 0;
}

select {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  border-radius: 0;
  margin: 0;
  padding: 0;
  background: none transparent;
  vertical-align: middle;
  text-indent: 0.01px;
  text-overflow: "";
}

#wrapper input[type="radio"] {
  display: none;
}

#wrapper .mv-text {
  background-color: #F6772E;
  text-align: center;
  padding: min(17px, 1.7vw) 0;
}

#wrapper .mv-text img {
  width: min(552px, 55.2vw);
  margin: 0 auto;
}

/*============================
q1
============================*/
#wrapper #q1 .q-step {
  padding-top: min(97px, 9.7vw);
}

#wrapper #q1 .q1-mv-image {
  background: repeating-linear-gradient(45deg, #fdd8e3, #fdd8e3 5px, #ffe8ee 5px, #ffe8ee 10px);
}

#wrapper #q1 .q1-mv-image img {
  margin: 0 auto;
}

#wrapper #q1 .q1-annotation {
  width: min(898px, 89.8vw);
  color: #686465;
  font-size: min(20px, 2vw);
  line-height: calc(24 / 20);
  letter-spacing: 0;
  font-weight: 500;
  font-family: "游ゴシック体", YuGothic, "游ゴシック", "Yu Gothic", sans-serif;
  padding-top: min(54px, 5.4vw);
  margin: 0 auto min(62px, 6.2vw);
}

#wrapper .q-box .q-select01 {
  width: min(480px, 48vw);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  align-items: flex-start;
}

#wrapper .q-box .q-select01 input+label {
  position: relative;
  display: block;
  width: 100%;
}

#wrapper .q-box .q-select01 input+label:not(:last-of-type) {
  margin-bottom: min(4px, 0.4vw);
}

#wrapper .q-box .q-select01 input+label.q-select01--2row {
  width: min(220px, 22vw);
  margin-bottom: 20px;
  ;
}

#wrapper .q-box .q-select01 input {
  display: none;
}

#wrapper .q-box .q-select01 input+label::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  /* オーバーレイを作成 */
  background: linear-gradient(rgba(0, 0, 0, 0.42), rgba(0, 0, 0, 0.42));
  border-radius: min(28px, 2.8vw);
}

#wrapper .q-box .q-select01 input+label.js-img-change::before {
  display: none;
}

#wrapper .q-box .q-select01 input:checked+label::before {
  content: none;
}

#wrapper #q1 .q1-modal-btn {
  background-color: transparent;
  border: none;
  cursor: pointer;
  outline: none;
  padding: 0;
  appearance: none;
  margin: min(53px, 5.3vw) auto min(40px, 4vw);
  position: relative;
}

#wrapper #q1 .q1-modal-btn::after {
  content: "";
  display: block;
  width: min(16px, 1.6vw);
  height: min(11px, 1.1vw);
  background-image: url(../img/q1-modal-btn-arrow.png);
  background-size: 100% 100%;
  position: absolute;
  top: 50%;
  transform: translateY(-50%) rotate(180deg);
  left: min(7px, 0.7vw);
  transition-duration: 0.3s;
}

#wrapper #q1 .q1-modal-btn.active::after {
  transform: translateY(-50%);
  transition-duration: 0.3s;
}

#wrapper #q1 .q-select01-accordion {
  display: none;
}

/*============================
q2
============================*/
#wrapper #q2 .q-step {
  padding-top: min(80px, 8vw);
}

#wrapper .q-box .q-select02 {
  width: min(726px, 72.6vw);
  margin: min(82px, 8.2vw) auto min(60px, 6vw);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}

#wrapper .q-box .q-select02-01 {
  margin: 0 auto 2%;
}

#wrapper .q-box .q-select02 input+label {
  position: relative;
  display: block;
  width: min(345px, 34.5vw);
  filter: drop-shadow(6px 6px 2px rgb(0, 0, 0, 0.15));
}

#wrapper .q-box .q-select02 input+label.q-select02--3row {
  position: relative;
  display: block;
  width: min(220px, 22vw);
  filter: drop-shadow(6px 6px 2px rgb(0, 0, 0, 0.15));
  margin-top: min(30px, 3vw);
}

#wrapper .q-box .q-select02 input+label::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  /* オーバーレイを作成 */
  background: linear-gradient(rgba(0, 0, 0, 0.42), rgba(0, 0, 0, 0.42));
  border-radius: min(28px, 2.8vw);
}

#wrapper .q-box .q-select02 input+label.js-img-change::before {
  display: none;
}

#wrapper .q-box .q-select02 input:checked+label::before {
  content: none;
}

#wrapper .q-box .q-select02 input+label.first-colom {
  margin-right: 2.5%;
}

/*============================
q3
============================*/
#wrapper #q3 .q-step {
  padding-top: min(80px, 8vw);
}

#wrapper .q-box .q-select03 {
  width: min(726px, 72.6vw);
  margin: min(82px, 8.2vw) auto min(60px, 6vw);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}

#wrapper .q-box .q-select03 input+label {
  position: relative;
  display: block;
  width: min(345px, 34.5vw);
  filter: drop-shadow(6px 6px 2px rgb(0, 0, 0, 0.15));
}

#wrapper .q-box .q-select03 input+label.q-select03--3row {
  position: relative;
  display: block;
  width: min(220px, 22vw);
  filter: drop-shadow(6px 6px 2px rgb(0, 0, 0, 0.15));
  margin-top: min(30px, 3vw);
}

#wrapper .q-box .q-select03 input+label.js-img-change-group01::before {
  display: none;
}

#wrapper .q-box .q-select03 input+label::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  /* オーバーレイを作成 */
  background: linear-gradient(rgba(0, 0, 0, 0.42), rgba(0, 0, 0, 0.42));
  border-radius: min(28px, 2.8vw);
}

#wrapper .q-box .q-select03 input:checked+label::before {
  content: none;
}

/*============================
q4
============================*/
#wrapper #q4 .q-step {
  padding-top: min(80px, 8vw);
}

#wrapper #q4 .q4-text {
  width: min(640px, 64vw);
  margin: 0 auto max(-20px, -2vw);
}

#wrapper .q-box .q-select04 {
  display: block;
  width: min(602px, 60.2vw);
  margin: 0 auto;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
}

#wrapper .q-box .q-select04 .select-box-year {
  width: min(220px, 22vw);
  margin-right: 3%;
}

#wrapper .q-box .q-select04 .select-box {
  position: relative;
  color: #4a2f00;
  font-family: "Noto Sans JP", sans-serif;
  cursor: pointer;
  background: #FAEDE5;
  border: min(2px, 0.2vw) solid #F6772E;
  border-radius: min(28px, 2.8vw);
  overflow: hidden;
}

#wrapper .q-box .q-select04 .select-box::after {
  content: "";
  position: absolute;
  top: 36%;
  right: 14%;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 14px 9.5px 0 9.5px;
  border-color: #000000 transparent transparent transparent;
}

#wrapper .q-box .q-select04 .select-box select {
  background: #FAEDE5;
  border: none;
  font-size: min(30px, 3vw);
  color: #000000;
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 400;
  line-height: 1;
  text-align: left;
  width: 100%;
  padding: min(20px, 2vw) 0 min(20px, 2vw) 30%;
}

#wrapper .q-box .q-select04 .select-box-month {
  width: min(168px, 16.8vw);
  margin-right: 3%;
}

#wrapper .q-box .q-select04 .select-box-day {
  width: min(168px, 16.8vw);
}

#wrapper .q-box .select-name {
  display: block;
  width: min(600px, 60vw);
  margin: 0 auto;
  padding: 1.5% 0 1.5% 4%;
  background: #FAEDE5;
  border: min(2px, 0.2vw) solid #F6772E;
  padding: min(14px, 1.4vw) min(28px, 2.8vw);
  border-radius: min(28px, 2.8vw);
  font-size: min(30px, 3vw);
  color: #000000;
  font-family: "Noto Sans JP", sans-serif;
}

/*============================
q5
============================*/
#wrapper #q4 .q-step {
  padding-top: min(80px, 8vw);
}

#wrapper #q4 .q5-text {
  width: min(591px, 59.1vw);
  margin: min(34px, 3.4vw) auto max(-20px, -2vw);
}

#wrapper .q-box .q-select05 {
  display: block;
  width: min(600px, 60vw);
  margin: 0 auto;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
}

#wrapper .q-box .q-select05 .select-box {
  width: 100%;
  position: relative;
  display: block;
  font-size: min(30px, 3vw);
  color: #4a2f00;
  font-family: "Noto Sans JP", sans-serif;
  overflow: hidden;
  cursor: pointer;
  background: #FAEDE5;
  border: min(2px, 0.2vw) solid #F6772E;
  border-radius: min(28px, 2.8vw);
}

#wrapper .q-box .q-select05 .select-box::after {
  content: "";
  position: absolute;
  top: 36%;
  right: 14%;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 14px 9.5px 0 9.5px;
  border-color: #000000 transparent transparent transparent;
}

#wrapper .q-box .q-select05 .select-box select {
  background: #FAEDE5;
  border: none;
  font-size: min(30px, 3vw);
  color: #000000;
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 400;
  line-height: 1;
  text-align: left;
  width: 100%;
  padding: min(20px, 2vw) 0 min(20px, 2vw) 30%;
}

/*============================
q6
============================*/
#wrapper #q6 .q-step {
  padding-top: min(80px, 8vw);
}

#wrapper #q6 .q6-link {
  width: min(1000px, 100vw);
  margin: min(28px, 2.8vw) auto min(32px, 3.2vw);
  color: #458dd5;
  font-family: "游ゴシック体", YuGothic, "游ゴシック", "Yu Gothic", sans-serif;
  font-size: min(20px, 2vw);
  line-height: 1;
  text-align: center;
}

#wrapper #q6 .q6-link a,
#wrapper #q6 .q6-link span {
  color: #458dd5;
  text-decoration: underline;
}

#wrapper #q6 .q6-link a:hover {
  text-decoration: none;
  opacity: 1;
}

#wrapper #q5 .q6-text {
  width: min(1000px, 100vw);
  margin: 0 auto;
}

#wrapper .q-box .q-select06 {
  display: block;
  width: min(600px, 60vw);
  margin: 0 auto;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
}

#wrapper .q-box .select-email {
  position: relative;
  display: block;
  margin: 0 auto;
}

#wrapper .q-box .select-email.has-mb {
  margin-bottom: min(22px, 2.2vw);
}

#wrapper .q-box .select-email input,
#wrapper .q-box .input-tel {
  display: block;
  width: min(600px, 60vw);
  margin: 0 auto;
  padding: 2% 0 2% 4%;
  background: #FAEDE5;
  border: min(2px, 0.2vw) solid #F6772E;
  padding: min(14px, 1.4vw);
  border-radius: min(28px, 2.8vw);
  font-size: min(30px, 3vw);
  color: #000000;
  font-family: "Noto Sans JP", sans-serif;
}

/*============================
txt-error
============================*/
#wrapper .txt-error {
  margin-bottom: 4%;
  text-align: center;
  font-size: min(2.4vw, 24px);
  font-weight: 700;
  font-family: "Kiwi Maru", serif;
  color: #ff1e00;
  opacity: 0;
  transition: all 0.4s ease-in-out;
}

#wrapper .txt-error.show {
  opacity: 1;
}

#wrapper .txt-error02 {
  margin-bottom: 2%;
}

#wrapper .txt-error03 {
  margin-bottom: min(15px, 1.5vw);
}

#wrapper .txt-error04 {
  margin-bottom: min(9px, 0.9vw);
  text-align: left;
}

#wrapper .txt-error05 {
  margin: min(5px, 0.5vw) 0;
  text-align: left;
}

#wrapper .txt-error05-twocolom {
  font-size: min(2vw, 15px);
}

#wrapper .txt-error06 {
  width: min(600px, 60vw);
  margin: min(20px, 2vw) auto;
  text-align: left;
}

#wrapper .txt-error06-after {
  margin-top: min(20px, 2vw);
}

#wrapper .txt-error-name,
#wrapper .txt-error-kana {
  width: min(600px, 60vw);
  margin: min(3px, 0.3vw) auto min(35px, 3.5vw);
  text-align: left;
}

#wrapper .box-txt-error {
  width: min(600px, 60vw);
  margin: min(21px, 2.1vw) auto;
  display: flex;
  justify-content: space-between;
}

#wrapper .box-txt-error .txt-error07 {
  display: block;
  width: 31.8%;
}

#wrapper .box-txt-error .txt-error08,
#wrapper .box-txt-error .txt-error09 {
  display: block;
  margin: 0;
}

#wrapper .txt-error10 {
  margin-bottom: 8%;
  padding-left: 14%;
  text-align: left;
}

#wrapper .txt-error11 {
  margin: 2% auto 8%;
  padding-left: 14%;
  text-align: left;
}

#wrapper .txt-error-tel {
  text-align: center;
}

/* responsive */

@media (max-width: 768px) {
  #wrapper .header .header-logo {
    width: calc(219 / 750 * 100vw);
    margin: calc(23 / 750 * 100vw) 0 calc(15 / 750 * 100vw) calc(34 / 750 * 100vw);
  }

  #wrapper .header .header-text {
    width: calc(381 / 750 * 100vw);
    margin-right: calc(30 / 750 * 100vw);
  }

  /*============================
  q-box
  ============================*/
  #wrapper .q-step img {
    margin: 0 auto;
  }

  #wrapper .q-box .q-title img {
    margin: 0 auto;
  }

  /*============================
  button
  ============================*/
  #wrapper .q-box .btn-area-single .btn-next {
    width: calc(471 / 750 * 100vw);
    margin: 0 auto;
  }

  #wrapper .q-box .btn-area02 {
    width: calc(694 / 750 * 100vw);
    margin: 0 auto;
    padding-bottom: 9.5%;
  }

  #wrapper .q-box .btn-area02 .btn-back {
    width: calc(232 / 750 * 100vw);
    font-size: calc(18 / 750 * 100vw);
  }

  #wrapper .q-box .btn-area02 .btn-back img {
    width: 100%;
  }

  #wrapper .q-box .btn-area02 .btn-next {
    width: calc(438 / 750 * 100vw);
  }

  #wrapper .q-box .btn-area02 .btn-next img {
    width: 100%;
  }

  #wrapper .q-box .btn-area03 {
    width: calc(456 / 750 * 100vw);
    margin: 0 auto;
    padding-bottom: 9%;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
  }

  #wrapper .q-box .btn-area03 .btn-back {
    width: calc(578 / 750 * 100vw);
  }

  #wrapper .q-box .btn-area03 .btn-post {
    width: 100%;
  }

  /*============================
  form
  ============================*/
  #wrapper .mv-text {
    padding: calc(14 / 750 * 100vw) 0 calc(20 / 750 * 100vw);
  }

  #wrapper .mv-text img {
    width: calc(539 / 750 * 100vw);
  }

  #wrapper input {
    display: none;
  }

  /*============================
  q1
  ============================*/
  #wrapper #q1 .q1-annotation {
    width: calc(630 / 750 * 100vw);
    font-size: calc(18 / 750 * 100vw);
    line-height: calc(24 / 18);
    padding-top: calc(22 / 750 * 100vw);
    margin: 0 auto calc(41 / 750 * 100vw);
  }

  #wrapper .q-box .q-select01 {
    width: calc(466 / 750 * 100vw);
  }

  #wrapper .q-box .q-select01 input+label:not(:last-of-type) {
    margin-bottom: calc(13 / 750 * 100vw);
  }

  #wrapper .q-box .q-select01 input+label.q-select01--2row {
    width: calc(217 / 750 * 100vw);
  }

  #wrapper .q-box .q-select01 input+label::before {
    border-radius: calc(28 / 750 * 100vw);
  }

  #wrapper #q1 .q1-modal-btn {
    width: calc(289 / 750 * 100vw);
  }

  #wrapper #q1 .q1-modal-btn::after {
    width: calc(16 / 750 * 100vw);
    height: calc(11 / 750 * 100vw);
    left: calc(7 / 750 * 100vw);
  }

  /*============================
  q2
  ============================*/
  #wrapper #q2 .q-step {
    padding-top: calc(32 / 750 * 100vw);
  }

  #wrapper .q-box .q-select02 {
    width: calc(694 / 750 * 100vw);
  }

  #wrapper .q-box .q-select02 input+label {
    width: calc(331 / 750 * 100vw);
  }

  #wrapper .q-box .q-select02 input+label.q-select02--3row {
    width: calc(217 / 750 * 100vw);
    margin-top: calc(28 / 750 * 100vw);
  }

  #wrapper .q-box .q-select02 input+label::before {
    border-radius: calc(28 / 750 * 100vw);
  }

  /*============================
  q3
  ============================*/
  #wrapper #q3 .q-step {
    padding-top: calc(32 / 750 * 100vw);
  }

  #wrapper .q-box .q-select03 {
    width: calc(694 / 750 * 100vw);
  }

  #wrapper .q-box .q-select03 input+label {
    width: calc(331 / 750 * 100vw);
    /* margin-bottom: calc(22 / 750 * 100vw); */
  }

  #wrapper .q-box .q-select03 input+label::before {
    border-radius: calc(28 / 750 * 100vw);
  }

  /*============================
  q4
  ============================*/
  #wrapper #q4 .q-step {
    padding-top: calc(32 / 750 * 100vw);
  }

  #wrapper #q4 .q4-text {
    width: calc(640 / 750 * 100vw);
    margin: 0 auto calc(-55 / 750 * 100vw);
  }

  #wrapper .q-box .q-select04 {
    width: calc(578 / 750 * 100vw);
    justify-content: space-between;
  }

  #wrapper .q-box .q-select04 .select-box {
    padding: 0;
    border-radius: calc(28 / 750 * 100vw);
    font-size: calc(24 / 750 * 100vw);
  }

  #wrapper .q-box .q-select04 .select-box-year {
    width: calc(214 / 750 * 100vw);
    margin-right: 0;
  }

  #wrapper .q-box .q-select04 .select-box-year::after {
    border-width: calc(14 / 750 * 100vw) calc(9.5 / 750 * 100vw) 0 calc(9.5 / 750 * 100vw);
  }

  #wrapper .q-box .q-select04 .select-box select {
    font-size: calc(24 / 750 * 100vw);
    padding: calc(17 / 750 * 100vw) 0 calc(17 / 750 * 100vw) 15%;
  }

  #wrapper .q-box .q-select04 .select-box-month {
    width: calc(171 / 750 * 100vw);
    margin-right: 0;
  }

  #wrapper .q-box .q-select04 .select-box-day {
    width: calc(171 / 750 * 100vw);
    margin-right: 0;
  }

  #wrapper .q-box .q-select04 .select-box-month::after,
  #wrapper .q-box .q-select04 .select-box-day::after {
    border-width: calc(14 / 750 * 100vw) calc(9.5 / 750 * 100vw) 0 calc(9.5 / 750 * 100vw);
  }

  #wrapper .q-box .select-name {
    width: calc(578 / 750 * 100vw);
    padding: calc(19 / 750 * 100vw);
    border-radius: calc(28 / 750 * 100vw);
    font-size: calc(24 / 750 * 100vw);
  }

  /*============================
  q5
  ============================*/
  #wrapper #q5 .q-step {
    padding-top: calc(32 / 750 * 100vw);
  }

  #wrapper #q5 .q5-text {
    width: calc(591 / 750 * 100vw);
    margin: 0 0 calc(-70 / 750 * 100vw) calc(37 / 750 * 100vw);
  }

  #wrapper .q-box .q-select05 {
    display: block;
    width: calc(578 / 750 * 100vw);
    margin: 0 auto;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
  }

  #wrapper .q-box .q-select05 .select-box {
    padding: 0;
    border-radius: calc(28 / 750 * 100vw);
    font-size: calc(24 / 750 * 100vw);
  }

  #wrapper .q-box .q-select05 .select-box::after {
    border-width: calc(14 / 750 * 100vw) calc(9.5 / 750 * 100vw) 0 calc(9.5 / 750 * 100vw);
  }

  #wrapper .q-box .q-select05 .select-box select {
    font-size: calc(24 / 750 * 100vw);
    padding: calc(17 / 750 * 100vw) 0 calc(17 / 750 * 100vw) 5%;
  }

  /*============================
  q6
  ============================*/
  #wrapper #q5 .q-step {
    padding-top: calc(32 / 750 * 100vw);
  }

  #wrapper #q5 .q6-link {
    width: calc(578 / 750 * 100vw);
    margin: calc(23 / 750 * 100vw) auto calc(26 / 750 * 100vw);
    color: #458dd5;
    font-family: "游ゴシック体", YuGothic, "游ゴシック", "Yu Gothic", sans-serif;
    font-size: calc(18 / 750 * 100vw);
    line-height: 1;
    text-align: center;
    text-decoration: underline;
  }

  #wrapper #q5 .q6-text {
    width: min(1000px, 100vw);
    margin: 0 auto;
  }

  #wrapper .q-box .q-select06 {
    display: block;
    width: calc(578 / 750 * 100vw);
    margin: 0 auto;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
  }

  #wrapper .q-box .select-email {
    position: relative;
    display: block;
    margin: 0 auto;
  }

  #wrapper .q-box .select-email input,
  #wrapper .q-box .input-tel {
    width: calc(578 / 750 * 100vw);
    border: calc(2 / 750 * 100vw) solid #F6772E;
    padding: calc(18 / 750 * 100vw);
    border-radius: calc(28 / 750 * 100vw);
    font-size: calc(24 / 750 * 100vw);
  }

  /*============================
  txt-error
  ============================*/
  #wrapper .txt-error {
    margin-bottom: 4%;
    text-align: center;
    font-size: calc(20 / 750 * 100vw);
    font-weight: 700;
    font-family: "Kiwi Maru", serif;
    color: #ff1e00;
    opacity: 0;
    transition: all 0.4s ease-in-out;
  }

  #wrapper .txt-error-active {
    opacity: 1;
  }

  #wrapper .txt-error02 {
    margin: 2.3% 0;
  }

  #wrapper .txt-error03 {
    margin-bottom: min(15px, 1.5vw);
  }

  #wrapper .txt-error04 {
    margin-bottom: calc(3 / 750 * 100vw);
    text-align: left;
  }

  #wrapper .txt-error05 {
    margin: calc(3 / 750 * 100vw) 0;
    text-align: left;
  }

  #wrapper .txt-error05-after {
    margin: calc(5 / 750 * 100vw) 0;
  }

  #wrapper .txt-error05-twocolom {
    font-size: min(2vw, 15px);
  }

  #wrapper .txt-error06 {
    width: min(600px, 60vw);
    margin: calc(12 / 750 * 100vw) auto;
    text-align: left;
  }

  #wrapper .txt-error-name,
  #wrapper .txt-error-kana {
    width: min(600px, 60vw);
    margin: calc(3 / 750 * 100vw) auto;
    text-align: left;
  }

  #wrapper .box-txt-error {
    width: 84%;
    margin: calc(20 / 750 * 100vw) auto;
    display: flex;
    justify-content: space-between;
  }

  #wrapper .box-txt-error .txt-error07 {
    display: block;
    width: 31.8%;
  }

  #wrapper .box-txt-error .txt-error08,
  #wrapper .box-txt-error .txt-error09 {
    display: block;
    margin: 0;
  }

  #wrapper .txt-error10 {
    margin-bottom: 8%;
    padding-left: 14%;
    text-align: left;
  }

  #wrapper .txt-error11 {
    margin: 2% auto 8%;
    padding-left: 14%;
    text-align: left;
  }
}


.agreement_check {
  display: none;
}

.agreement_check_label:after {
  position: absolute;
  content: "";
  display: block;
  top: 50%;
  left: 15px;
  margin: -10px 0 0 -2px;
  width: 20px;
  height: 20px;
  border: 1px solid #ccc;
  border-radius: 2px;
  background-color: #fff;
}

.agreement_check_label {
  position: relative;
  padding: 0 0 0 40px;
}

.agreement_check_label:after,
.agreement_check_label:before {
  position: absolute;
  content: "";
  display: block;
  top: 50%;
}

.agreement_check_label:before {
  left: 20px;
  margin-top: -10px;
  width: 8px;
  height: 15px;
  border-right: 3px solid #F6772E;
  border-bottom: 3px solid #F6772E;
  transform: rotate(45deg);
  opacity: 0;
  z-index: 2;
}

.agreement_check:checked+.agreement_check_label:before {
  opacity: 1;
}

.u_line {
  text-decoration: underline !important;
}

.footer_link_wrap {
  padding: 10px 16px;
  background-color: #8e8e8e;
}

.footer_link_wrap .footer_link {
  display: block;
  text-align: center;
  font-size: 13px;
  color: #fff !important;
  line-height: 1.3;
  text-decoration: underline !important;
}

/*thanks_page*/
.thanks_page {
  padding: 80px 0;
}

.thanks_page .thanks_title {
  text-align: center;
  font-family: 'Zen Maru Gothic', sans-serif;
  font-weight: 700;
  font-size: 30px;
  color: #F6772E;
  line-height: 1.5;
  margin: 0 0 40px;
}

.thanks_page .back_btn {
  width: 100%;
  max-width: 400px;
  height: 60px;
  background-color: #63C1F3;
  border-radius: 30px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-box-shadow: 0 6px 10px rgba(0, 0, 0, 0.1);
  box-shadow: 0 6px 10px rgba(0, 0, 0, 0.1);
  font-family: 'Zen Maru Gothic', sans-serif;
  font-weight: 700;
  font-size: 20px;
  color: #fff !important;
  line-height: 1.5;
  text-align: center;
  margin: 0 auto;
}

.thanks_page .thanks_text {
  text-align: center !important;
  font-family: 'Zen Maru Gothic', sans-serif;
  font-weight: 500;
  font-size: 18px !important;
  color: #000;
  line-height: 2 !important;
  margin: 0 0 50px;
}

@media only screen and (max-width: 640px) {
  .thanks_page {
    padding: 48px 0;
  }

  .thanks_page .thanks_title {
    font-size: 24px;
  }

  .thanks_page .thanks_text {
    font-size: 16px;
    margin: 0 0 40px;
  }

  .thanks_page .back_btn {
    font-size: 18px;
  }
}

.thanks_title_wrap {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  margin: 0 0 32px;
}

.thanks_title_wrap .thanks_title_img {
  width: 140px;
  margin: 0 20px 0 0;
}

@media only screen and (max-width: 640px) {
  .thanks_title_wrap .thanks_title_img {
    width: 80px;
    margin: 0 16px 0 0;
  }
}

.thanks_title_wrap .thanks_title_img img {
  width: 100%;
}

.thanks_title_wrap .thanks_title {
  max-width: calc(100% - 120px);
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 700;
  font-optical-sizing: auto;
  font-style: normal;
  font-size: 32px;
  color: #F6772E;
  line-height: 1.5;
  letter-spacing: 0.05em;
}

@media only screen and (max-width: 640px) {
  .thanks_title_wrap .thanks_title {
    max-width: calc(100% - 96px);
    font-size: 24px;
  }
}

.thanks_text {
  text-align: center !important;
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 400;
  font-optical-sizing: auto;
  font-style: normal;
  font-size: 18px !important;
  color: #333;
  line-height: 2 !important;
  letter-spacing: 0.05em;
  margin: 0 0 40px;
}

@media only screen and (max-width: 640px) {
  .thanks_text {
    font-size: 16px !important;
    margin: 0 0 24px;
  }
}

.thanks_tel_box {
  background-color: #FFF;
  border: 2px solid #F6772E;
  border-radius: 20px;
}

.thanks_tel_box .thanks_tel_box_title {
  padding: 16px;
  background-color: #F6772E;
  text-align: center;
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 700;
  font-optical-sizing: auto;
  font-style: normal;
  font-size: 18px;
  color: #FFF;
  line-height: 1.5;
  letter-spacing: 0.05em;
  border-radius: 18px 18px 0 0;
}

@media only screen and (max-width: 640px) {
  .thanks_tel_box .thanks_tel_box_title {
    font-size: 16px;
    padding: 16px 8px;
  }
}

.thanks_tel_box .thanks_tel_box_detail {
  padding: 20px 16px;
}

@media only screen and (max-width: 640px) {
  .thanks_tel_box .thanks_tel_box_detail {
    padding: 16px 8px;
  }
}

.thanks_tel_box .thanks_tel_box_detail .thanks_tel_box_text {
  text-align: center !important;
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 500;
  font-optical-sizing: auto;
  font-style: normal;
  font-size: 16px !important;
  color: #333;
  line-height: 1.5 !important;
  letter-spacing: 0.05em;
  margin: 0 0 8px;
}

.thanks_tel_box .thanks_tel_box_detail .thanks_tel_link {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 700;
  font-optical-sizing: auto;
  font-style: normal;
  font-size: 28px;
  color: #F6772E;
  line-height: 1.5;
  margin: 0 0 16px;
}

.thanks_tel_box .thanks_tel_box_detail .thanks_tel_link img {
  width: 20px;
  margin: 0 10px 0 0;
}

.thanks_tel_box .thanks_tel_box_detail .thanks_tel_box_note {
  text-align: center !important;
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 400;
  font-optical-sizing: auto;
  font-style: normal;
  font-size: 14px !important;
  color: #333;
  line-height: 2 !important;
}

@media only screen and (max-width: 640px) {
  .thanks_tel_box .thanks_tel_box_detail .thanks_tel_box_note {
    font-size: 13px !important;
  }
}

.thanks_line_banner {
  display: block;
  margin: 40px auto 0;
  width: 100%;
  max-width: 400px;
}

.thanks_line_banner img {
  width: 100%;
}

/*footer*/

.footer {
  background-color: #8e8e8e;
  padding: 40px 0 16px;
}

.footer_wrap {
  padding: 0 16px;
}

.footer_inner {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
}

.footer_list {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  width: 100%;
  margin: 0 0 12px;
}

.footer_item {
  margin: 0 10px 10px;
}

.footer_link {
  display: block;
  text-align: center;
  font-size: 13px;
  color: #fff !important;
  line-height: 1.3;
  text-decoration: underline !important;
}

.footer_text {
  text-align: center !important;
  font-size: 11px !important;
  color: #fff !important;
  line-height: 1.3 !important;
}

.common_wrap {
  padding: 0 16px;
}

.common_inner {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
}

.common_pc640 {
  display: block;
}

@media only screen and (max-width: 640px) {
  .common_pc640 {
    display: none;
  }
}

.common_sp640 {
  display: none;
}

@media only screen and (max-width: 640px) {
  .common_sp640 {
    display: block;
  }
}