/* エラー表示 */
.error-info{
  border : 2px solid #ff0000;
  font-size: 1.3rem;
  padding: 0.75em;
  color: #ff0000;
  font-weight: bold;
  margin-bottom: 1em;
  background: rgb(250, 245, 245);
}

#reserveInputForm table, #reserveInputForm th, #reserveInputForm td {
  box-sizing: border-box;
}

/* ======== 入力画面 ========= */
#reserveInputForm {
  font-size: 1rem;
}

.webReservationNotes {
  background: #f1f1f1;
  padding: 1.2em;
  margin-bottom: 20px;
  line-height: 1.5;
}

.webReservationNotes > div {
  margin-bottom: 5px;
  font-weight: bold;
  font-size: 18px;
}

#reserveInputForm table tr {
  border-top: 1px solid #999999;
  border-left: 1px solid #999999;
  border-right: 1px solid #999999;
  border-bottom: 1px solid #999999;
}

#reserveInputForm input {
  font-size: 1rem;
}

#reserveInputForm select {
  font-size: 1rem;
  border: 1px solid #0d0509;
  background-color: #fff;
}

#reserveInputForm textarea {
  font-size: 1rem;
  width: 100%;
  border: 1px solid #0d0509;
  resize: none;
  box-sizing: border-box;
  color: #343434;
  font-family: "メイリオ", Meiryo, "ヒラギノ角ゴ ProN", "Hiragino Kaku Gothic ProN", sans-serif;
  height: 200px;
  line-height: 1.3;
  padding: 10px;
}

#reserveInputForm table th {
  color: #565656;
  font-weight: bold;
  width: 297px;
  padding: 20px 10px 20px 20px;
  box-sizing: border-box;
  background-color: #ffeeee;
  border-right: 1px solid #999999;
}

#reserveInputForm table td {
  padding: 20px;
}

.required-item {
  color: #f00;
  float: right;
  font-weight: bold;
  font-size: 12px;
  margin: 2px 0 0;
  vertical-align: middle;
}

.reserveNotes {
  font-size: 0.8em;
  line-height: 1.5em;
  padding-bottom: 0.5em;
}

.reserveNotes li {
  margin-bottom: 0.5em;
}

/* 名前、メールアドレス */
input[type="text"], input[type="email"] {
  width: 330px;
  height: 40px;
  line-height: 40px;
  padding: 0 10px;
  border: 1px solid #0d0509;
}

/* 当店メディア */
.row-media input[type="text"] {
  width: 162px;
  margin-left: 10px;
  box-sizing: border-box;
}

/* ご予約の日＆ご指名 */
.row-rsv_date select,
.row-girl_rid select,
.row-course select {
  min-width: 200px;
  max-width: 353px;
}

select[name="place"] {
  width: 100px;
}

/* 希望時間 */
.row-rsv_time select {
  width: 70px;
}

/* オプション */
.row-play_options td {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

.row-play_options label {
  font-size: 14px;
  display: inline-block;
  width: 49%;
  padding: 0.5em 0;
  box-sizing: border-box;
}

.row-play_options label input[type="checkbox"] {
  transform: scale(1.4);
}

input[type="radio"] {
  margin-top: 0;
  transform: scale(1.4);
  margin-right: 0.4em;
  vertical-align: initial;
  margin: 0 0.4em 0 0;
}

td label:not(:first-of-type) input[type="radio"] {
  margin-left: 1em;
}

select {
  border: 1px solid #0d0509;
  box-sizing: border-box;
  color: #343434;
  font-family: "メイリオ", Meiryo, "ヒラギノ角ゴ ProN", "Hiragino Kaku Gothic ProN", sans-serif;
  font-size: 16px;
  height: 40px;
  padding: 0;
}

/* 確認ボタン */
button {
  background-color: #ff4055;
    border: 0 none;
    border-radius: 2px;
    color: #ffffff;
    cursor: pointer;
    font-size: 21px;
    font-weight: bold;
    line-height: 50px;
    margin: 0 10px;
    padding: 0;
    text-align: center;
    width: 250px;
    display: block;
    margin: 20px auto 0;
}

@media screen and (min-width: 769px) {
  button:hover {
    opacity: 0.7;
  }
}


/* ======== 確認画面 ========= */

#reserveConfirm {
  font-size: 1rem;
  width: 100%;
  color: #565656;
}

#reserveConfirm .row {
  display: flex;
  border: 1px solid #7f7f7f;
  border-top: none;
}

#reserveConfirm .row:first-of-type {
  border-top: 1px solid #7f7f7f;
}

#reserveConfirm .row > div:nth-child(1) {
  background-color: #ffebf0;
  font-size: 16px;
  font-weight: bold;
  padding: 20px 10px 20px 20px;
  vertical-align: top;
  width: 297px;
  box-sizing: border-box;
  border-right: 1px solid #7f7f7f;
}

#reserveConfirm .row > div:nth-child(2) {
  font-size: 14px;
  padding: 20px;
  vertical-align: middle;
  background-color: #ffffff;
  width: calc(100% - 297px);
  line-height: normal;
}

/* ======== 送信完了画面 ========= */
.finishText p {
  font-size: 1em;
  line-height: 1.5;
}

/* ======== 入力画面 スマホ表示 ========= */ 
@media screen and (max-width: 768px) {
  .error-info {
    width: 94%;
    box-sizing: border-box;
    margin: 3vw auto 3vw;
    font-size: 4.2vw;
  }

  #reserveInputForm {
    margin-bottom: 7vw;
  }

  .webReservationNotes {
    width: 96%;
    margin: 0 auto 3.5vw;
    box-sizing: border-box;
  }
  
  .webReservationNotes > div {
    font-size: 3.8vw;
    margin-bottom: 1%;
  }

  .webReservationNotes li,
  #reserveInputForm select {
    font-size: 3.6vw;
  }

  #reserveInputForm table {
    width: 100%;
  }

  #reserveInputForm table th,
  #reserveInputForm table td {
    width: 100%;
    display: block;
    border: none;
  }

  #reserveInputForm table tr {
    border: none;
  }

  #reserveInputForm table th {
    font-size: 3.8vw;
    padding: 3.5vw 2vw 3.5vw 2vw;
    width: 100%;
    line-height: 1.5;
  }

  .reserveNotes {
    font-size: 3.6vw;
    line-height: 1.5;
    margin: 0 0 2vw;
  }

  .required-item {
    font-size: 2.8vw;
    margin: 0.3vw 0 0;
    display: inline-block;
    background-color: #ff0000;
    color: #ffffff;
    padding: 0 1.5%;
  }

  #reserveInputForm table td {
    font-size: 3.6vw;
    padding: 3vw;
    width: 100%;
    border: none;
  }

  /* オプション */
  #reserveInputForm table .row-play_options td {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
  }

  .row-play_options label {
    font-size: 3.2vw;
  }

  select {
    height: 9vw;
    line-height: 9vw;
  }

  .row-rsv_date select, .row-girl_rid select, .row-course select {
    max-width: 100%;
    width: 57%;
  }

  .row-rsv_time select {
    width: 20%;
  }

  input[type="text"], input[type="email"] {
    font-size: 3.8vw;
    height: 9vw;
    line-height: 9vw;
    padding: 0 2vw;
    width: 100%;
    margin: 2vw 0;
    box-sizing: border-box;
  }

  .row-media input[type="text"] {
    width: 45%;
  }

  #reserveInputForm textarea {
    font-size: 3.8vw;
    height: 25vw;
    line-height: 1.5;
    padding: 2vw;
  }

  button {
    font-size: 4.2vw;
    line-height: 12.5vw;
    width: 94%;
    display: block;
    margin: 2vw auto 7vw;
  }

  /* ラジオボタン縦中央配置 */
  .row-use_exp label, 
  .row-raiten label, 
  .row-chk_receipt label {
    display: inline-block;
    position: relative;
    padding-left: 1.5em;
    margin-left: 1.5em;
  }

  .row-use_exp label:first-of-type, 
  .row-raiten label:first-of-type, 
  .row-chk_receipt label:first-of-type {
    margin-left: 0;
  }

  .row-use_exp label input, 
  .row-raiten label input, 
  .row-chk_receipt label input {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    margin: auto;
    margin-left: 0!important;
  }

  /* ======== 確認画面 ========= */
  #reserveConfirm .row {
    display: block;
    border: none;
  }

  #reserveConfirm .row:first-of-type {
    border-top: none;
  }

  
  #reserveConfirm .row > div:nth-child(1) {
    width: 100%;
    font-size: 3.8vw;
    padding: 3.5vw 2vw 3.5vw 2vw;
    line-height: 1.5;
    border: none;
  }

  #reserveConfirm .row > div:nth-child(2) {
    width: 100%;
    font-size: 3.44vw;
    padding: 3vw;
    box-sizing: border-box;
  }

  /* ======== 送信完了画面 ========= */
  .finishText p {
    font-size: 3.6vw;
    padding: 0 3vw 3vw 3vw;
  }
}