@charset "UTF-8";

.pc {
  display: block;
}

.sp {
  display: none;
}

.error dt,
.error select,
.error input,
.error textarea {
  background-color: #F1B8B9;
}

.error select[name="tokyoigai"] {
  background-color: #FFF;
}

.error input,
.error textarea {
  border: 1px solid #AAA;
}

.page_box {
  margin-bottom: 55px;
}

.required {
  display: inline-block;
  margin-top: 1px;
  padding: 0px 8px;
  background: #881B1D;
  font-size: 12px !important;
  font-weight: bold;
  color: #FFF;
  vertical-align: top;
  -webkit-border-radius: 3px;
          border-radius: 3px;
}

.page_description .required {
  margin-right: 5px;
}

#content {
  margin: 0 auto;
  max-width: 640px;
}

#content p {
  margin: 5px 0 0 0;
}

.ui_form {
  border-collapse: collapse;
}

.ui_form dl {
  margin-bottom: 0;
  position: relative;
}

.uc_cell {
  width: 68%;
  padding: 13px 15px;
  display: table-cell;
  border: 1px solid #747474;
  border-top: none;
  vertical-align: middle;
}

.uc_cell input,
.uc_cell select,
.uc_cell textarea {
  padding: 5px;
}

.is_th_cell {
  width: 32%;
  background: #EEE;
}

.is_th_cell .required {
  position: absolute;
  left: 150px;
}

.uc_row {
  width: 100%;
  display: table;
}

.uc_row:first-of-type {
  border-top: 1px solid #747474;
}

.uc_row #furigana,
.uc_row #name,
.uc_row #number,
.uc_row #mail,
.uc_row #tel,
.uc_row #tel2,
.uc_row #keyword,
.uc_row #website,
.uc_row #counseling,
.uc_row #address {
  width: 100%;
}

.uc_row #month,
.uc_row #day,
.uc_row #time {
  width: 20%;
}

.uc_row #age,
.uc_row #height,
.uc_row #weight,
.uc_row #prefectures {
  width: 30%;
}

.uc_row #clinic,
.uc_row #post {
  width: 40%;
}

.uc_row #tokyo {
  width: 50%;
}

.uc_row #requested {
  width: 60%;
}

.m1 select,
.m2 select,
.m3 select {
  width: 20%;
}

.m1 dd span,
.m2 dd span,
.m3 dd span {
  margin-right: 10px;
}

.ui_radio_list {
  margin: 0;
  list-style: none;
}

.ui_radio_list li {
  display: inline-block;
  margin-right: 20px;
}

.ui_radio_list li input {
  margin-right: 7px;
}

span.error {
  margin: 3px 0;
  display: block;
  color: #881B1D;
}

.btn {
  margin: 30px 0 80px 0;
  text-align: center;
}

.btn li {
  margin: 0 5px;
  display: inline-block;
  list-style: none;
  text-align: center;
}

.btn li button {
  padding: 9px 26px;
  font-size: 18px;
  font-weight: bold;
  line-height: 1.2;
  letter-spacing: 1px;
  color: #FFF;
  background: #881B1D;
  border: none;
  -webkit-border-radius: 6px;
          border-radius: 6px;
}

.btn li button[name="__retry_input__"] {
  background-color: #9C9B9B;
}

.topPage {
  margin: 0 auto;
  padding-left: 13px;
  width: 160px;
  display: block;
  font-weight: normal;
  position: relative;
}

.topPage:hover {
  text-decoration: underline;
}

.thanks #content {
  margin-bottom: 60px;
}
.mb0{
	margin-bottom: 0 !important;
}
dl dd .note{font-size: 14px}
.pt16{
  padding-top: 16px;
}
/*------------------------------------------------------------
  PCオンリー
------------------------------------------------------------*/

@media (min-width: 641px) {

  .todoufuken select:nth-of-type(1) {
    width: 30%;
  }

  .todoufuken select:nth-of-type(2) {
    width: 50%;
  }

  .ope select {
    width: 60%;
  }

  .p-bottom img {
    margin: 170px 0 20px 0;
  }

  .topPage:before {
    margin-top: -3px;
    width: 6px;
    height: 6px;
    border-top: 2px solid #9C9B9B;
    border-right: 2px solid #9C9B9B;
    -webkit-transform: rotate(45deg);
    transform: rotate(45deg);
    position: absolute;
    top: 50%;
    left: 0;
    content: "";
  }

}

/*------------------------------------------------------------
  スマホレイアウト
------------------------------------------------------------*/

@media (max-width: 640px) {

  .pc {
    display: none;
  }

  .sp {
    display: block;
  }

  #content p,
  #content label,
  #content dl {
    font-size: 14px!important;
  }

  #content dl dt {
    font-weight: normal;
  }

  .uc_cell input,
  .uc_cell select {
      padding: 8px 5px;
  }

  .page_box {
    margin-bottom: 30px;
  }

  .todoufuken select:nth-of-type(1) {
    margin-bottom: 10px;
  }

  .uc_cell {
    width: 100%;
    display: block;
    border-width: 1px 0;
  }

  dl dt,
  dl dd {
    margin-bottom: 0;
  }

  .is_th_cell {
    border-bottom: none;
  }

  .is_th_cell .required {
    position: relative;
    top: 2px;
    left: 15px;
  }

  .uc_row #clinic,
  .uc_row #age,
  .uc_row #prefectures,
  .uc_row #tokyo,
  .uc_row #requested {
    width: 100%;
  }

  .btn {
    margin: 20px 0 60px;
  }

  .btn li {
    display: block;
  }

  .btn li button {
    padding: 12px 24px;
    width: 70%;
    font-size: 16px;
  }

  .btn li:nth-of-type(2) {
    margin-top: 15px;
  }

  .foot_tel_sp {
    padding: 0 10px;
  }

  .thanks #content {
    margin-bottom: 30px;
    padding: 0 10px;
  }

  .topPage:before {
    box-sizing: border-box;
    margin-top: -4px;
    width: 10px;
    height: 8px;
    border: 4px solid transparent;
    border-left: 6px solid #9C9B9B;
    position: absolute;
    top: 50%;
    left: 3px;
    content: "";
  }
}


/* 追加 */

.uc_row .uc_cell ul.name_area{
  margin: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.uc_row .uc_cell ul.name_area li{
  list-style: none;
  display: flex;
  align-items: center;
  width: 48%;
}
.uc_row .uc_cell ul.name_area li p{
  width: 40px;
}
.uc_row .uc_cell ul.name_area li input{
  list-style: none;
  display: flex;
  align-items: center;
  width: calc(100% - 50px) !important;
}

.uc_row .uc_cell ul.tel_area {
  margin: 0;
}

.uc_row .uc_cell ul.tel_area li {
  list-style: none;
  display: flex;
  align-items: center;
  width: 100%;
}

.uc_row .uc_cell ul.tel_area li:first-child {
  margin-bottom: 20px;
}

.uc_row .uc_cell ul.tel_area li p {
  width: 80px;
}

.uc_row .uc_cell ul.tel_area li input {
  list-style: none;
  display: flex;
  align-items: center;
  width: calc(100% - 90px) !important;
}

/* .uc_row .uc_cell .dr_select{
  display: none;
} */

.yoyaku_btn{
  max-width: 250px;
  width: 70%;
  margin: 0 auto 40px;
  list-style-type: none;
  transition: all .3s;
}

.yoyaku_btn:hover{
  opacity: 0.8;
}
