html,
body,
div,
input,
select,
ul,
li {
  margin: 0px;
  padding: 0px;
  font-family: Yu Gothic Medium, 游ゴシック Medium, YuGothic, 游ゴシック体, Meiryo, メイリオ, MS Pゴシック, sans-serif;
  font-weight: normal;
  font-size: 16px;
  color: #666;
}

input[type="color"],
input[type="date"],
input[type="datetime"],
input[type="datetime-local"],
input[type="email"],
input[type="month"],
input[type="number"],
input[type="password"],
input[type="search"],
input[type="tel"],
input[type="text"],
input[type="time"],
input[type="url"],
input[type="week"],
select:focus,
textarea {
  font-size: 16px;
}

ol,
ul {
  list-style-type: none;
  margin: 0;
  padding: 0;
}

input:focus {
  outline: none;
}


/* header css*/

.header {
  width: 100%;
  border-top: 4px solid #eb67a2;
}

.header_inner {
  width: 1130px;
  margin: 20px auto 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.header_inner .logo img {
  width: 110%;
}


/* banner css */

.banner img {
  width: 100%;
}

.banner .sp_banner {
  display: none;
}


/* contents css */

.entryContents {
  width: 1130px;
  margin: 0 auto;
}

/* entryFirst css */

.entryFirst {
/*   width: 1130px;
  margin: 0 auto; */
  margin-top: 20px;
  text-align: center;
  background-color: #fdeff2;
  padding: 30px 0 20px;
}

.entryFirst h3 {
  color: #e6003f;
  font-size: 2em;
  margin-top: 0;
  margin-bottom: 0;
  margin-top: 0;
  line-height: 1;
}

.entryFirst p {
  margin-bottom: 5px;
  font-size: 16px;
}

.entryFirst .phone_section {
  font-size: 30px;
}

.entryFirst .phone_section img {
  width: 45px;
}

.entryFirst .phone_section span.phone_number {
  font-size: 40px;
  color: #e6003f!important;
  font-weight: 600;
  padding-left: 14px;
}

.entryFirst .phone_section span.phone_number a {
  color: #e6003f!important;
}

.entryFirst .phone_section span.phone_number a{
  text-decoration: none;
}


/*1 chat_box css */

.chat_box {
  display: flex;
  display: -ms-flexbox;
  display: -webkit-box;
  display: -webkit-flex;
  align-items: flex-start;
  padding: 80px 0px;
  animation: fadeIn 0.4s ease;
  animation-fill-mode: forwards;
  opacity: 0;
}

.highlight {
  color: #e6003f;
  font-weight: 600;
}

.chat_container {
  display: none;
}

.show {
  display: block!important;
}

.chat_container .question_box .img_icon {
  height: 160px;
  width: 160px;
  background-size: 100%;
  background-repeat: no-repeat;
}

.avatar_1 {
  background-image: url(../img/avatar_1.png);
}

.chat_container .chat_box .message {
  background-image: url(../img/message_shape.png);
  font-size: 16px;
  background-size: 100%;
  background-repeat: no-repeat;
  padding: 25px 0px 30px 70px;
  width: 600px;
  height: 120px;
}

@keyframes fadeIn {
  0% {
    opacity: 1;
    transform: scale(0.8, 0.8)
  }
  100% {
    opacity: 1;
    transform: scale(1.0, 1.0)
  }
}


/* 1 button_box answer_box*/

.answer_box {
  padding: 0px;
  flex-flow: row-reverse wrap;
  -ms-flex-flow: row-reverse wrap;
  -webkit-flow: row-reverse wrap;
  animation-delay: 0.5s;
  transform-origin: top right;
}

.button_box {
  width: 350px;
  text-align: center;
  border-radius: 50px;
  border: 2px solid #9acf72;
  padding: 12px;
  margin-bottom: 25px;
  background-color: #fff;
  transition: background-color 0.2s linear;
  display: block;
  color: #666;
  cursor: pointer;
}

.first_btn {
  border: 2px solid #f08843;
}

.next_btn {
  border: 2px solid #ff7da3;
  background-color: #ff7da3;
  color: #fff;
}

.next_btn:hover {
  background-color: #ffa9c3;
  border: 2px solid #ffa9c3;
}

.first_btn:hover {
  background-color: #f08843;
  color: #fff;
  cursor: pointer;
}

.second_btn:hover {
  background-color: #9acf72;
  color: #fff;
  cursor: pointer;
}

.next_btn:hover {
  cursor: pointer;
}

.answer_box_inner_wrp {
  background-image: url(../img/button_sec_bg_1.png);
  background-size: 100%;
  background-repeat: no-repeat;
  padding: 44px 80px 50px 50px;
}

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

.error_msg {
  color: red;
  text-align: center;
  display: none;
}


/* 2 chat_box css */

.avatar_2 {
  background-image: url(../img/avatar_2.png);
}

.select_section {
  width: 100%;
  border: 2px solid #ff7da3;
  background: #fff;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  font-size: 13px;
  padding: 16px 10%;
  border-radius: 50px;
  cursor: pointer;
  font-size: 16px;
  color: #666;
  font-family: Yu Gothic Medium, 游ゴシック Medium, YuGothic, 游ゴシック体, Meiryo, メイリオ, MS Pゴシック, sans-serif;
  font-weight: normal;
}

.select_wrp {
  position: relative;
  margin-bottom: 25px;
}

.select_wrp::after {
  position: absolute;
  right: 30px;
  top: 50%;
  -ms-transform: translateY(-50%);
  transform: translateY(-50%);
  content: "";
  display: block;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 8px 6px 0 6px;
  border-color: #ff7da3 transparent transparent transparent;
}

select:focus {
  outline: 0;
}

.time_answer_box_bg {
  background-image: url(../img/button_sec_bg_2.png);
}


/* 3 chat_box css */

.avatar_3 {
  background-image: url(../img/avatar_3.png);
}

.check_box_wrp ul li {
  width: calc(50% - 20px);
  display: inline-block;
  vertical-align: top;
  margin: 0 0 20px 10px;
}

.check_box_wrp ul li input[type=checkbox] {
  display: none;
}

.chat_box .checkbox {
  transition: background-color 0.2s linear;
  position: relative;
  display: block;
  text-align: center;
  line-height: 42px;
  border-radius: 5px;
  background-color: #fff;
  border: 2px solid #ff7da3;
  cursor: pointer;
  font-size: 16px;
  color: #ff7da3;
  font-weight: bold;
  padding: 0 5px;
}

.chat_box .checkbox:before {
  transition: opacity 0.2s linear;
  position: absolute;
  z-index: 2;
  top: 50%;
  left: 22px;
  display: block;
  margin-top: -12px;
  width: 5px;
  height: 13px;
  border-right: 3px solid #fff;
  border-bottom: 3px solid #fff;
  content: '';
  opacity: 0;
  -ms-transform: rotate(45deg);
  transform: rotate( 45deg);
}

.chat_box .checkbox:after {
  transition: border-color 0.2s linear;
  position: absolute;
  z-index: 1;
  top: 50%;
  left: 15px;
  display: block;
  margin-top: -8px;
  width: 12px;
  height: 12px;
  border: 2px solid #ff7da3;
  content: '';
}

.condition_answer_box_bg {
  background-image: url(../img/button_sec_bg_3.png);
}

.chat_box .checked {
  background-color: #ff7da3;
  color: #fff;
}

.chat_box .checked::before {
  opacity: 1;
}

.chat_box .checked::after {
  border: 2px solid #fff;
}


/* 4 chat_box css */

.avatar_4 {
  background-image: url(../img/avatar_4.png);
}

.city_selection_box_bg {
  background-image: url(../img/button_sec_bg_4.png);
  background-size: 100% 92%;
}

.city_selection {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  color: #666;
  padding: 14px;
  width: 270px;
  margin-left: 30px;
  border: 2px solid #FF7DA3;
  border-radius: 6px;
  font-family: 16px;
  background-color: #fff;
}

.input_section {
  color: #666;
  padding: 14px;
  width: 270px;
  margin-left: 62px;
  border: 2px solid #FF7DA3;
  border-radius: 50px;
  margin-bottom: 25px;
  background-color: #fff;
}

span.label_txt {
  padding-left: 10px;
}


/* 5 .chat_box css */

.name_birth_selection_box_bg {
  background-image: url(../img/button_sec_bg_5.png);
}

.birth_select_wrp .select-wrap {
  display: inline-block;
  position: relative;
}

.birth_select_wrp .select-wrap select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  width: 80px;
  padding: 12px;
  border-radius: 6px;
  border: 2px solid #ff7da3;
  margin-right: 10px;
  background-color: #fff;
}

.birth_select_wrp {
  margin-bottom: 25px;
}

.birth_select_wrp .select-wrap::after {
  position: absolute;
  right: 20px;
  top: 50%;
  -ms-transform: translateY(-50%);
  transform: translateY(-50%);
  content: "";
  display: block;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 8px 6px 0 6px;
  border-color: #ff7da3 transparent transparent transparent;
  z-index: 1000;
}

.birth_select_wrp .label_txt {
  margin-right: 30px;
}


/* 5 chat_box css */

.mail_phone_bg {
  background-image: url(../img/button_sec_bg_5.png);
  background-size: 100% 90%;
}

.mail_phone_bg span.label_txt {
  padding-left: 0;
}

.mail_phone_bg p {
  text-align: center;
}

.mail_input_section {
  margin-left: 10px;
  width: 250px;
}

.phone_input_section {
  width: 250px;
  margin-left: 60px;
}

.privaciy_policy {
  text-align: center;
  margin-bottom: 16px;
}

.privaciy_policy a {
  text-align: center;
  color: #333;
  text-decoration: none;
  cursor: pointer;
}

.privaciy_policy a:hover {
  text-decoration: underline;
  color: #666
}

.submit_btn {
  margin-bottom: 0px;
  width: 100%;
  appearance: none;
  -moz-appearance: none;
  -webkit-appearance: none;
}

.footer {
  border-top: 2px solid #ff7da3;
  text-align: center;
  padding-top: 16px;
  margin-top: 30px;
  padding-bottom: 20px
}

.footer a {
  text-decoration: none;
  color: #333;
  border-right: 1px solid #333;
  padding: 0px 20px 0px 20px;
}

.contact_us {
  border: none!important;
}

.footer a:hover {
  color: #666;
}

.copyright_txt {
  margin-top: 10px;
  font-size: 15px;
}


/* result page css */

.thanks_page_footer {
  width: 100%;
  position: fixed;
  bottom: 0;
}

.thanks_content_wrp {
  text-align: center;
  margin-top: 200px;
}

.thanks_content_wrp h1 {
  color: #e6003f;
}

.thanks_content_wrp img {
  width: 50px;
}

.thanks_content_wrp span.phone_number {
  font-size: 50px;
  color: #0078d8;
  font-weight: 600;
  padding-left: 20px;
}

.thanks_content_wrp span.phone_number a{
  text-decoration: none;
}

input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:active,
input:-webkit-autofill:focus {
  background-color: #FFFFFF !important;
  color: #666 !important;
  -webkit-box-shadow: 0 0 0 1000px white inset !important;
  -webkit-text-fill-color: #666666 !important;
}