@charset "utf-8";
/* CSS Document */

.body_fixed {/*展開時Bodyのスクロール禁止*/
  position: fixed;
  width: 100%;
  height: 100%;
}

#area_faq{
  position: fixed;
  right: 0;
  top:0;
  z-index: 12;
}
#area_faq.op_area_faq{
  height: 100%;
  width: 100%;
  background:rgba(0,0,0,0.5);
}
.faq_label{
  position: fixed;
  bottom: 0;
  width: 43%;
  z-index: 9;
  right: 0;
  background-color: #F7F8FC;
  color: #00125E;
  height: 5.6rem;
  display: flex;
  justify-content: space-around;
  align-items: center;
  cursor: pointer;
  padding: 0 1.5rem;
}


#area_faq_msgbox,.faq_msgbox .head_faq_msgbox,.faq_msgbox .bt_cmn{
  right: -50rem;
  position: fixed;
  width: 95%;
}
#area_faq_msgbox{
  height: 100%;
  background-color: #FFF;
  z-index: 12;
}
.faq_msgbox .head_faq_msgbox{
  display: flex;
  line-height: 1;
  align-items: center;
  height: 4rem;
  background: #FFF;
  z-index: 1;
  padding: 0 2rem;
  margin-top: -2rem;
}
.faq_msgbox .bt_cmn{
  bottom: 0;
  margin-left: -2rem;
  padding: 1.1em 0;
}
.faq_msgbox{
  width: 100%;
  height: 100%;
  height: calc(100% - 10.7rem);
  position: relative;
  padding: 2rem 2rem 0;
  overflow: auto;
}

.head_faq_msgbox *{
  line-height: 1;
}
.head_faq_msgbox #refresh_faq{
  cursor: pointer;
  color: #0F41B2;
}
.head_faq_msgbox .material-icons{
  font-size: 3rem;
  line-height: 1;
  color: #262626;
  cursor: pointer;
}

.conts_faq_msgbox{
  padding-top: 4rem;
}

/*fixed_form*/
#fixed_form .head_faq_msgbox{
  justify-content: space-between;
  margin-top: -2rem;
}
#fm_chat{
  display: flex;
  flex-direction: column;
  position: absolute;
  width: calc(100% - 4rem);
}
.speak_disco,.select_fixed_faq,.speak_user{
  margin-bottom: 2rem;
}

.speak_disco{
  display: flex;
  align-items: flex-end;
  
}
.speak_disco::before{
  font-family: 'Material Icons';
  content: "\e7fd";
  color: #00125E;
  background: #F7F8FC;
  border-radius: 3rem;
  width: 3.2rem;
  height: 3.2rem;
  text-align: center;
  font-size: 2rem;
  line-height: 1.5;
}
.speak_disco p{
  background-color:#F7F8FC ;
  padding: 1rem;
  position: relative;
  border-radius: 0.5rem;
  margin-left: 2rem;
  max-width: 85%;
}
.speak_disco p::before{
  content: '';
  color: #F7F8FC;
  position: absolute;
  display: block;
  width: 0;
  height: 0;
  bottom: 0.5rem;
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
  left: -12px;
  border-right: 20px solid;
}

.item_fixed_faq{
  text-align: center;
  padding: .8rem 2rem;
  border: solid .1rem;
  color: #00125E;
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
  cursor: pointer;
}
.item_fixed_faq:last-of-type{
  margin-bottom: 0;
}
.speak_user{
  background-color:#00125E ;
  padding: 1rem 2rem;
  position: relative;
  border-radius: 0.5rem;
  color: #FFF;
  width: max-content;
  align-self: flex-end;
  max-width: calc(100% - 1rem);
  margin-right: 1rem
}
.speak_user::before{
  color: #00125E;
  content: '';
  position: absolute;
  display: block;
  width: 0;
  height: 0;
  bottom: 0.5rem;
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
  right: -8px;
  border-left: 20px solid;
}


/*free_form__mail*/
#free_form{
  display: none;
}
#free_form .head_faq_msgbox{
  justify-content: flex-end;
  margin-top: -2rem;
}



/*form*/
#fm_mail{
  padding-top: 2rem;
}
#fm_mail label{
  font-size: 1.3rem;
  margin-right: 1rem;
}
#area_faq .input_group{
  display: flex;
  flex-direction: column;
  margin-bottom: 1.3rem;
}
#area_faq textarea {
  height: 10rem;
  line-height: 1.3;
  border-radius: 0;
}
#area_faq input[type="text"],
#area_faq input[type="email"],
#area_faq textarea
{
  font-size: 1.5rem;
  padding: 0.2em .5em;
  background-color: #fff;
  border: solid .1rem #CCCFDF;
}
#area_faq input[type="radio"] {
  display: none;
}
#area_faq .radio_box:before {
  content: "";
  display: inline-block;
  width: 1.5rem;
  height: 1.5rem;
  margin-right: 0.5rem;
  margin-bottom: -0.2rem;
  border: 1px solid #00125E;
  border-radius: 50%;
  padding: 2px;
  background-clip: content-box;
  cursor: pointer;
}
#area_faq input[type="radio"]:checked + .radio_box:before {
  background-color: #00125E;
}
#errMsg_mail, 
#errMsg_to_address, 
#errMsg_section {
  display: block;
}
#area_faq .box_check label{
  cursor: pointer;
  display: flex;
  align-items: center;
}
#area_faq .box_check input{
  width: 1.3rem;
  height: 1.3rem;
  border: solid 0.1rem #00125E;
  outline: none;
  -webkit-appearance: none;
  appearance: none;
  display: flex;
  align-items: center;
  margin-right: 1rem;
  background-color:#FFF;
}
#area_faq .box_check input:checked {
  background-color:#00125E;
}
#area_faq .box_check input:checked::before {
  font-family: Material Icons;
  content: "\e876";
  font-size: 1.3rem;
  color: #FFF;
}

#sm_freeform{
  cursor: unset;
}
#sm_freeform.sm_on{
  background-color: #00125E;
  color: #FFF;
  cursor: pointer;
}
#sm_freeform.sm_on:hover{
  background-color: #4D5A8F;
  border: solid 0.2rem #4D5A8F;
}
/*個人情報保護方針*/
.box_prchk {
  display: flex;
  flex-wrap: wrap;
}
.box_prchk .reason_detail {
  margin-left: 2rem;
  margin-top: 0;
  font-size: 1.2rem;
  line-height: 1.3;
}
.box_privacy {
  margin-bottom: 1rem;
}
.box_privacy .outer {
  margin-bottom: 0.5rem;
  overflow-y: scroll;
  width: 100%;
  border: solid .1rem #CCCFDF;
  font-size: 1.3rem;
  padding: 0 1rem 2rem;
  height: 10rem;
}
.outer::-webkit-scrollbar {
  height: 10rem;
  width: 0.7rem;
}
.outer::-webkit-scrollbar-track {
  background: #dddddd;
}
.outer::-webkit-scrollbar-thumb {
  background: #898989;
  border-radius: 0.3rem;
}
.box_privacy .outer {
  overflow: auto;
  -webkit-overflow-scrolling: touch;
}
#area_faq .box_check input:disabled {
  background-color: #f3f3f3;
}

/*complete_form*/
#complete_form .head_faq_msgbox {
  justify-content: flex-end;
  margin-top: -2rem;
}
#complete_form{
  display: none;
}
.area_complete_msg #back_to_top {
  cursor: pointer;
  color: #0F41B2;
  margin-top: 2rem;
}
.area_complete_msg>p {
  margin-bottom: 2rem;
}
.area_complete_msg>.note {
  margin-top: 4rem;
}
.msg_top {
  font-size: 2.2rem;
}

@media (min-width: 600px) {/*PC*/
  .faq_label{
    width: 4rem;
    height: 16rem;
    top:65%;
    border-radius: 0.3rem 0 0 .3rem;
    box-shadow: 0rem 0.2rem 0.5rem 0.1rem #cecece;
    display: flex;
    flex-direction: column;
    line-height: 1;
    padding: 1rem;
  }
  .material-icons.person {
    font-size: 24px;
  }
  .faq_label span{
    -ms-writing-mode: tb-rl;
    -webkit-writing-mode: vertical-rl;
    writing-mode: vertical-rl;
    line-height: 1.5;
  }
  .faq_msgbox {
    height: calc(100% - 5rem);
  }
  .faq_msgbox .head_faq_msgbox{
    top: 0; 
  }
  #fixed_form .head_faq_msgbox, 
  #area_faq_msgbox, 
  #free_form .head_faq_msgbox, 
  #complete_form .head_faq_msgbox {
    margin-top: 0;
  }
  #area_faq_msgbox,.faq_msgbox .head_faq_msgbox,.faq_msgbox .bt_cmn{
    width: 41.6rem;
  }
  #errMsg_mail, 
  #errMsg_to_address, 
  #errMsg_section {
    display: inline-block;
  }
  #fm_mail label ,.box_prchk .reason_detail{
    font-size: 1.4rem;
    margin-right: 1rem;
  }
  #area_faq textarea ,.box_privacy .outer{
    height: 20rem;
  }
  .area_complete_msg {
    padding: 10rem 2rem 0;
  }

}