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

/**{
	outline: 1px solid #f00;
}*/
:root {
  --table-th-color: #87c1d3;
  --table-td-color: #e8f4f7;
}

html {
  position: relative;
  margin: 0;
  padding: 0;
  font-family: "微軟正黑體", Arial, "sans-serif";
  /*font-size: min(1.04167vw, 15px);*/
  font-size: min(1.5942vw, 14px);
  font-weight: normal;
  color: #333;
}

body {
  width: 100%;
  margin: 0;
  padding: 0;
  background: #999;
}

img {
  width: 100%;
  border: none;
}

div {
  box-sizing: border-box;
}


samp {
  font-family: "微軟正黑體", Arial, "sans-serif";
  color: #F00;
}

header {
  width: 100%;
  max-width: 64rem;
  height: 9rem;
  margin: 0 auto;
  background: url("../images/header.jpg");
  background-repeat: no-repeat;
  background-position: 0 -3rem;
  background-size: cover;
}

header .content {
  width: 100%;
  height: 100%;
  padding: 0.8rem 2rem;
  box-sizing: border-box;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  background: rgba(0, 0, 0, .7);
}

header .logo {
  width: 30rem;
}

header .title {
  font-size: 3rem;
  color: #FFF;

}

footer {
  position: relative;
  width: 100%;
  max-width: 64rem;
  height: 4rem;
  box-sizing: border-box;
  margin: 0 auto;
  padding: 1rem;
  text-align: center;
  font-size: 1.4rem;
  background: #333;
  color: #FFF;
}

section {
  position: relative;
  width: 100%;
  max-width: 64rem;
  /*height: calc(100vh - (9rem + 4rem + 4rem));*/
  height: auto;
  min-height: 50rem;
  margin: 0 auto;

  box-sizing: border-box;
  background: #FFF;
}

section .index {
  display: flex;
  flex-direction: column;
  align-items: center;
}

section .start_btn {
  position: absolute;
  width: 14rem;
  left: 50%;
  bottom: 1rem;
  transform: translate(-50%, 0);
  box-sizing: border-box;
  text-align: center;
  cursor: pointer;
  /* opacity: 0; */
}

section .step {
  position: relative;
  width: 100%;
  padding: 2rem;
}

section .content {
  position: relative;
  width: 100%;
  box-sizing: border-box;
  font-size: 1.4rem;
  background: #FFF;
  margin-bottom: 2rem;
}

section .chapter {
  font-size: 1.4rem;
  font-weight: bold;
  color: #333;
  display: flex;
  align-items: center;
}

section .ditto {
  font-size: 1.4rem;
  font-weight: bold;
  display: inline-flex;
  align-items: center;
}

section .title {
  font-size: 1.6rem;
  font-weight: bold;
  margin: 1rem 0;
  display: flex;
  align-items: center;
}

section .title p {
  white-space: nowrap;
}

section .control {
  width: 100%;
  padding: 1rem;
  text-align: center;
  border: 1px solid #CCC;
  border-radius: 0.5rem;
  box-sizing: border-box;
}

.note {
  display: inline-block;
  font-size: 1.2rem;
  font-weight: normal;
  /*font-style: italic;*/
  line-height: 1.6rem;
  color: #666;
}

.table_demand {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 2rem;
  margin: 0 auto;
}

.table_demand caption {
  font-size: 1.4rem;
  font-weight: bold;
  color: #333;
  text-align: left;
  padding: 0.5rem 0;
  /*margin-bottom: 0.5rem;	*/
}

.table_demand th,
.table_demand td {
  font-size: 1.4rem;
  padding: 1rem;
  border: 1px solid #999;
}

.table_demand th {
  width: 4.5rem;
  font-weight: bold;
  line-height: 1.4;
  white-space: nowrap;
  background: #EEE;
  vertical-align: middle;
}

.table_demand input,
.table_demand select,
.table_demand textarea {
  font-size: 1.4rem;
  padding: 0.2rem;
  border-radius: 4px;
  border: 1px solid #999;
}

.table_demand textarea {
  width: 90%;
  height: 5rem;
}


/*.table_demand input:invalid, .table_demand select:invalid, .table_demand radio:invalid{
  border: 1px solid #F00;
}*/
.rental_list {
  display: flex;
  flex-direction: column;
  margin-bottom: 1rem;
}

.list_item {
  display: flex;
  align-items: center;
  font-size: 1.4rem;
  margin-bottom: 0.5rem;
}

.list_one {
  display: flex;
  /* align-items: flex-start;
  flex-direction: column; */
  font-size: 1.4rem;
}

.list_icon {
  /* text-align: right; */
  display: flex;
  align-items: center;
}

.list_text {
  text-align: left;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
}

.list_text_disabled {
  text-align: left;
  color: #999;
}

.list_item_title {
  font-size: 1.4rem;
  font-weight: bold;
  margin: 1rem 0 0.5rem -0.5rem;
}

.isWaiting {
  color: #008430;
}

.isDisabled {
  color: #999;
}

.isPeak {
  color: #F00;
}


.calendar_control {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.calendar_control input,
.calendar_control select {
  height: 2rem;
  font-size: 1.2rem;
}


.date_item {
  display: flex;
  align-items: center;
}

.end_page {
  height: 40rem;
  display: flex;
  align-items: center;
  justify-content: center;
}



.navbar_content {
  position: relative;
  top: 0;
  width: 100%;
  height: 100%;
  box-sizing: border-box;
  display: flex;
  z-index: 1;
}

.dialog {
  position: fixed;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  /*display: none;*/
  z-index: 100;
}

.dialog .content {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.dialog .icon-loading {
  width: 50px;
  height: 50px;
}

.fixed {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translate(-50%, 0);
}

.btn {
  padding: 0.5rem 1rem;
  text-align: center;
  cursor: pointer;
}

.mb-5 {
  margin-bottom: 0.5rem;
}

.invalid {
  border: 1px solid #F00;
}

.both {
  display: block;
  height: 0px;
  clear: both;
  visibility: hidden;
}

.ul-note {
  margin-top: .4rem;
  margin-left: 1.4rem;
  list-style: none;
}

.ul-note li {
  text-indent: -1.4rem;
  font-size: 1.2rem;
  line-height: 1.6rem;
  color: #666;
}

.ul-note li::before {
  content: "※ ";
}

/* 手機橫向 */
@media screen and (max-width: 760px) {}

/* 手機直向 */
@media screen and (max-width: 640px) {
  html {
    font-size: min(1.8vw, 18px);
    /*font-size: min(2.8vw, 28px);*/
  }

  section .title {
    font-size: 2.0rem;
  }

  section .chapter {
    font-size: 1.8rem;
  }

  section .chapter p {
    white-space: nowrap;
    display: inline-block;
  }

  section .ditto {
    font-size: 1.8rem;
  }

  .table_demand caption {
    font-size: 1.8rem;
  }

  .table_demand th,
  .table_demand td {
    font-size: 2.0rem;
  }

  .table_demand input,
  .table_demand select,
  .table_demand textarea {
    font-size: 2.0rem;
  }

  .table_demand input[type="text"] {
    width: 30rem;
  }

  .list_item {
    align-items: flex-start;
  }

  .list_item,
  .list_one {
    font-size: 2.0rem;
  }

  .note {
    font-size: 1.6rem;
    line-height: 2.2rem;
  }

  .ul-note {
    margin-top: .4rem;
    margin-left: 1.6rem;
  }

  .ul-note li {
    text-indent: -1.6rem;
    font-size: 1.6rem;
    line-height: 2.2rem;
  }

  .table_layout {
    border-spacing: 1.5rem;
  }

  .table_layout p {
    line-height: 3rem;
  }

  .btn {
    font-size: 2.4rem;
  }
}

/* 手機 iPhone5(含)以下 */
@media screen and (max-width: 320px) {}