@charset "UTF-8";

/*--------------
　フォーム（contact.php）
--------------*/
#wrapper {
  padding-bottom: 0;
}
/*--------------
　フォームの流れ説明
--------------*/
.form_flow {
  width: 90%;
  margin: 0 auto;
  font-size: 16px;
  line-height: 1.5;
}
  .form_flow h2 {
    text-align: center;
    font-size: 2em;
    font-family:  '游明朝','Yu Mincho',YuMincho,'Hiragino Mincho Pro',serif;
    font-weight: normal;
    margin: 20px 0;
    padding-bottom: 10px;
    border-bottom: 1px solid #967921;
  }
  .form_flow h3 {
    text-align: center;
    font-size: 1.5em;
    font-family:  '游明朝','Yu Mincho',YuMincho,'Hiragino Mincho Pro',serif;
    font-weight: normal;
    margin: 30px 0;
  }
  .form_flow .flow_box {
    width: 100%;
    border-radius: 10px;
    padding: 15px 15px 30px 15px;
    margin: 30px 0;
  }
  .form_flow .flow_box.orange {
    background-color: #ffefd3;
  }
  .form_flow .flow_box.gray {
    background-color: #f0f3f3;
  }
  .form_flow .flow_box .flow_number,
  .form_flow .flow_box h4 {
    font-family: '游明朝','Yu Mincho',YuMincho,'Hiragino Mincho Pro',serif;
    text-align: center;
    margin-bottom: 0.5em;
    font-weight: normal;
    font-size: 1.5em;
  }
  .form_flow .flow_box .flow_number span {
    display: inline-block;
    width: 30px;
    line-height: 30px;
    border-radius: 50%;
    background-color: #fff;
  }
  .form_flow .flow_arrow {
    text-align: center;
  }

  .sp {
    display: none;
  }
  .pc {
    display: block;
  }

@media (max-width:750px) {
  .sp {
    display: block;
  }
  .pc {
    display: none;
  }
}


/*--------------
　フォーム
--------------*/
::placeholder {
  color: #a9a9a9;
}
form {
  padding: 5% 0;
  line-height: 1.5;
}

#form {
  background-color: #fff;
}

#form table {
  width: 90%;
  margin: 0 auto;
  background-color: #fff;
}

#form table tr {
  display: inline-flex;
  flex-direction: column;
  width: 100%;
}

#form table tr td {
  display: inline-flex;
  padding: 15px;
  /* vertical-align: top; */
  font-size: 16px;
  align-items: flex-end;
  flex-wrap: wrap;
  align-items: baseline;
}
  #form table tr td.store {
    padding: 30px 15px;
  }
  #form table tr td p.text-right {
    margin-left: auto;
    font-size: 0.9em;
    text-align: right;
  }
@media (max-width:750px) {
#form table tr td p.text-right {
  text-align: left;
}

}


#form table tr th {
  padding: 15px 15px;
  width: 100%;
  vertical-align: top;
  font-size: 18px;
  text-align: left;
  font-weight: normal;
}
  #form table tr th.border {
    padding-bottom: 10px;
    border-bottom: 1px solid #967921;
  }


#form table th .hissu {
  font-size: 16px;
  background: #967921;
  padding: 1px 15px;
  margin-right: 15px;
  color: #FFFFFF;
}

#form select {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background: url(../img/arrow_select.webp) center right 10px no-repeat;
  background-size: 12px;
  border: 1px solid #8d8181;
  border-radius: 10px;
  padding: 15px 35px 15px 15px;
  font-family: "Hiragino Kaku Gothic Pro", "メイリオ", "ヒラギノ角ゴ Pro W3", Meiryo, Osaka, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
  font-size: 16px;
  width: 100%;
}

#form input[type="text"],
#form input[type="mail"],
#form input[type="tel"],
#form textarea {
/*  background: #ffefee;*/
  padding: 15px;
  border: 1px solid #8d8181;
  border-radius: 10px;
  width: 100%;
  font-size: 16px;
}
  #form input:varid,
  #form select:varid {
    background-color: #fff;
  }
  #form input:invalid,
  #form select:invalid {
    background-color: #ffefee;
  }
#form input[type="text"]#hope_date,
#form input[type="text"]#hope_date2,
#form input[type="text"]#hope_date-ueno,
#form input[type="text"]#hope_date-ueno2 {
  width: 50%;
}
#form select.hope_time {
  width: 20%;
  margin-left: 10px;
}

input,
select {
  vertical-align: middle;
}

#form .btn {
  text-align: center;
  margin: 50px 0;
}

#form .mr05,#form .mr5 {
  width: 24%;
  margin-left: 8px;
  margin-bottom: 10px;
}

input.btn1 {
  width: 400px;
  border: none;
  background: url(../img/arrow_right.png) no-repeat right 20px center #f25a5a;
  background-size: 12px;
  color: #FFFFFF;
  text-decoration: none;
  font-size: 26px;
  font-weight: bold;
  padding: 20px 0;
  display: inline-block;
  cursor: pointer;

}
  input.btn1:disabled {
    width: 400px;
    border: none;
    background: url(../img/arrow_right.png) no-repeat right 20px center #ccc;
    background-size: 12px;
    color: #FFFFFF;
    text-decoration: none;
    font-size: 26px;
    font-weight: bold;
    padding: 20px 0;
    display: inline-block;
    cursor: not-allowed;
  }

div.error_box {
  width: 100%;
  margin: 20px 0;
}
p.error {
  color: #f25a5a;
  font-weight: normal;
  margin-bottom: 0.5em;
}
@media (max-width:750px) {
input.btn1,
input.btn1:disabled {
  width: 80%;
}
}


.notes {
  width: 100%;
  text-align: right;
  font-size: 0.8em;
  color: #f25a5a;
}
#form table tr td p.attention {
  color: #f25a5a;
  font-size: 1.1em;
  margin-bottom: 20px;
}


#form input[type=checkbox]{
  display: none;
  margin: 0;
}
#form input[type=checkbox] + label{
  padding: 10px 20px;
  font-size: 1.2em;
  text-align: center;
  display: block;
  margin-bottom: 20px;
  margin-right: 3%;
  width: 30%;
  background-color: #fff;
  border: 1px solid #8d8181;
  border-radius: 10px;
}
#form input[type=checkbox]:checked + label{
  background-color: #ffefd3;
}

#form input[type=checkbox]:disabled + label{
  color: #8d8181;
  background-color: #f0f3f3;
}

@media (max-width:750px) {
/* 院選択 */
#form input[type=checkbox] + label{
  /* font-size: 1em;  */
  font-size: 2.5vmin;
  padding: 10px;
}
#form input[type=checkbox] + label.col2{
  width: 47%;
  /* font-size: 1em; */
  font-size: 4vmin;
}
input.btn1 {
  width: 200px;
}
#form input[type="text"]#hope_date,
#form input[type="text"]#hope_date2,
#form input[type="text"]#hope_date-ueno,
#form input[type="text"]#hope_date-ueno2 {
  width: 100%;
}
#form select.hope_time {
  width: 40%;
  margin: 10px;
}

}

#form table tr.policy_box {
  background: #ffefd3;
  margin-top: 30px;
}
  #form table tr.policy_box th {
    text-align: center;
    font-family:  '游明朝','Yu Mincho',YuMincho,'Hiragino Mincho Pro',serif;
    font-size: 2em;
  }

iframe.inline_policy {
  width: 100%;
  height: 200px;
  border: 1px solid #8d8181;
  margin-top: 20px;
  background: #fff;
}
  #form input[type=checkbox] + label.agree{
    padding: 0 0 0 30px;
    position:relative;
    font-size: 1.2em;
    text-align: left;
    display: block;
    margin: 20px auto;
    width: 6em;
    border: none;
    border-radius: 0px;
    background-color: inherit;
  }
  #form input[type=checkbox] + label.agree::before {
    content: "";
    position: absolute;
    top: 4px;
    left: 0;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    width: 18px;
    height: 18px;
    background: #FFF;
    border: 3px solid #8d8181;
  }
  #form input[type=checkbox]:checked + label.agree::after{
    content: "";
    position: absolute;
    top: 5px;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    display: block;
    left: 3px;
    width: 14px;
    height: 10px;
    border-left: 3px solid #000;
    border-bottom: 3px solid #000;
    -webkit-transform: rotate(-45deg);
    -ms-transform: rotate(-45deg);
    transform: rotate(-45deg);
  }

.submit_attention {
  display: block;
  background: url(../img/form/img_attention.webp) no-repeat left 20px center #f25a5a;
  background-size: 50px;
  width: 400px;
  margin: 30px auto;
  border: none;
  color: #FFFFFF;
  font-size: 26px;
  font-weight: bold;
  padding: 20px 0 20px 100px;
}
@media (max-width:750px) {
.submit_attention {
  width: 80%;
  font-size: 20px;
}

}

.ui-datepicker { /*幅いっぱいにする*/
  width: 80% !important;
  max-width: 650px !important;
}
.ui-datepicker td span, .ui-datepicker td a {
  padding: 1em .2em !important;
}
@media (max-width:750px) {
.ui-datepicker {
  width: 80% !important;
}
.ui-datepicker td span,
.ui-datepicker td a {
  padding: .6em;
  font-size:2em;
}
}


/* datepicker 4日分だけ色つける */
.ui-datepicker-calendar td.custom-color a {
  background: #ffafae;
}

#form input {
  position: relative;
}

/* 院非表示 */
.invisible {
  display: none!important;
}