@charset "UTF-8";

/*--------------
　フォーム（form.php）
--------------*/
/*--------------
　フォーム
--------------*/
form {
  padding: 5% 0;
}

#form {
  background-color: #F8F5EF;
}

#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 th {
  padding: 15px 15px;
  width: 100%;
  vertical-align: top;
  font-size: 18px;
  text-align: left;
}

#form table th .hissu {
  font-size: 16px;
  background: #ff1562;
  padding: 5px 15px;
  border-radius: 5px;
  float: right;
  color: #FFFFFF;
}

#form select {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background: url(../img/arrow_select.webp) center right 10px no-repeat #eeeeee;
  background-size: 12px;
  border: none;
  border-radius: 0px;
  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: #eeeeee;
  padding: 15px;
  border: none;
  width: 100%;
  font-size: 16px;
}
#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;
  border-radius: 5px;
  background: url(../images/arrow01.png) no-repeat right 20px center #ff3c64;
  background-size: 12px;
  color: #FFFFFF;
  text-decoration: none;
  font-size: 26px;
  font-weight: bold;
  padding: 20px 0;
  display: inline-block;
  box-shadow: 0 5px 0 #c62042;
}

div.error_box {
  width: 90%;
  margin: 20px auto;
}
p.error {
  color: #ff1562;
  font-weight: normal;
  margin-bottom: 0.5em;
}

@media (max-width:750px) {

  #form table tr th,
  #form table tr td {
    display: block;
  }

  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-left: 10px;
  margin-top: 10px;
}

}

.notes {
  width: 100%;
  text-align: right;
  font-size: 0.8em;
  color: #ff3c64;
}
#form table tr td p.attention {
  color: #f00;
  width: calc(100% - 20px);
  margin:10px;
  line-height: 1.5;
}

.btn_entry a {
  display: block;
  width: 200px;
  margin: 20px auto;
  border: none;
  border-radius: 5px;
  color: #FFFFFF;
  text-decoration: none;
  font-size: 26px;
  font-weight: bold;
  padding: 20px 0;
  background-color: #ccc;
  box-shadow: 0 5px 0 #999;
}

label.radio {
  cursor:pointer;
  position:relative;
  overflow:hidden;
  display:inline-block;
  margin:6px 20px 0 0;
  padding:0px 0 10px 30px;
}
label.radio:before {
  position:absolute;
  width:24px;
  height:24px;
  border:2px solid #eeeeee;
  border-radius:50%;
  left:0px;
  content:'';
  z-index:3;
}
label.radio:after {
  content:'';
  position:absolute;
  width:16px;
  height:16px;
  border-radius:100%;
  left:4px;
  top:4px;
  background-color:#279edf;
  z-index:1;
}
label.radio input[type="radio"] {
  -moz-appearance:none;
  -webkit-appearance:none;
  position:absolute;
  z-index:2;
  width:20px;
  height:20px;
  left:-23px;
  top:1px;
  margin:0px!important;
  box-shadow:26px 2px #FFFFFF;
}
label.radio input[type="radio"]:checked {
  box-shadow:none;
}
label.radio input[type="radio"]:focus {
  opacity:0.2;
  box-shadow:26px 2px #FFF;
}
#form input[type=checkbox]{
  display: none;
  margin: 0;
}
#form input[type=checkbox] + label{
  padding: 0 0 0 30px;
  position:relative;
  font-size: 1.2em;
  display: block;
  margin: 20px auto;
  width: 9em;
}
#form input[type=checkbox] + label.select.umeda {
  width: 8em;
}
#form input[type=checkbox] + label.select {
  margin: 20px 20px;
}
#form input[type=checkbox] + label.select_all{
  width: 15em;
  margin: 20px 20px;
}
#form input[type=checkbox] + label::before{
  content: "";
  position: absolute;
  top: 4px;
  left: 0;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  width: 18px;
  height: 18px;
/*	margin-top: -7px;*/
  background: #FFF;
  border: 3px solid #888888;
}
#form input[type=checkbox]:checked + label::after{
  content: "";
  position: absolute;
  top: 5px;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  display: block;
  left: 3px;
  width: 14px;
  height: 10px;
/*	margin-top: -6px;*/
  border-left: 3px solid #112649;
  border-bottom: 3px solid #112649;
  -webkit-transform: rotate(-45deg);
  -ms-transform: rotate(-45deg);
  transform: rotate(-45deg);
}
#form input[type=checkbox]:disabled + label::before{
  background: #ccc;
  border: none;
}
#form input[type=checkbox]:disabled + label{
  color: #ccc;
}

iframe.inline_policy {
  width: 100%;
  height: 200px;
  border: 1px solid #ccc;
  margin-top: 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;
}

.comment_red {
  color: #f00;
  width: 100%;
  margin-bottom: 10px;
}

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