.form-container {
    min-width: 320px;
    margin-inline: auto;
    border: 1px solid #999;
    padding: 30px 30px 0 30px;
    font-size: 0.8em;
  	max-width:700px;
}

.form-container a {
    text-decoration: underline;
}

.form .formRow {
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
}
.form .formRow:not(:has(.formTd)) .col {
    margin-bottom: 30px;
    margin-left: -15px;
}

.form .requiredText {
    color: #fff;
    background: #c1272d;
    font-size: 0.8em;
    padding: 2px 10px;
    margin-left: 10px;
}

.form .formTh .label {
    font-weight: bold;
}

.form .formTd textarea,
.form .formTd input:not([type=radio]):not([type=checkbox]) {
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 6px;
    background-color: #fff;
    padding: 0.5em 1em;
    width: 100%;
}

.form .formTd textarea {
    field-sizing: content;
    min-height: 10em;
}

.form input[type=checkbox]+.label {
    margin-left: 5px;
}

input[type=checkbox],
input[type=radio] {
    margin-right: 5px;
}

.radioArea {
    display: flex;
    flex-wrap: wrap;
    gap: 0 15px;
}

.h3_tit {
    margin-bottom: -20px;
}

.h2_tit.contactend {
    margin-bottom: 20px;
}

.formBtnTd .btn-primary {
    padding: 1em;
    font-size: 0.85em;
    font-weight: bold;
    letter-spacing: 0.1em;
    text-indent: -0.1em;
    width: 100%;
}

.form {
    background-color: #fff;
    border: 1px solid #D9D9D9;
    padding:15px;
}

.scroll-box {
    background-color: #fff;
    border: 1px solid #D9D9D9;
    padding:15px;
    overflow-y: auto;
    height: 10em;
}
.scroll-box p:last-of-type {
    margin-bottom: 0;
}

.privacyLabel {
    font-size: 0.8em;
}

.formWrap {
  max-width:700px;
}

.formHeader {
  max-width:700px;
}
.form-heading {
  border-left:5px solid #736357;
  padding-left:8px;
  margin-bottom:16px;
}
.bg-reserve-bottom {
  background-image:url('/system_panel/uploads/images/reserve-bottom-bg.jpg');
  background-size:cover;
}


.reserve-tab {
  max-width:700px;
  margin:auto;
  width:100%;
  display:grid;
  grid-template-columns:1fr 1fr 1fr;
  gap:16px;
}
.btn-reserve {
  margin:0;
  height:100%;
}
.btn-reserve a {
  height:100%;
  border:1px solid #BE3E3E;
  background:#fff;
  color:#BE3E3E;
  text-align:center;
  font-size:10px;
  font-weight:bold;
  display:flex;
  align-items: center;
  justify-content: center;
  padding:8px 4px;
}
@media(min-width:768px){
  .btn-reserve a {
    font-size:16px;
    padding:16px;
  }
}
.btn-reserve.is-current a {
  background:#BE3E3E;
  color:#fff;
  position:relative;
  pointer-events:none;
}
.btn-reserve.is-current a::after {
  content:"";
  position:absolute;
  bottom:-30px;
  left:calc(50% - 15px);
  width:30px;
  height:30px;
  border-top:15px solid #BE3E3E;
  border-right:15px solid transparent;
  border-bottom:15px solid transparent;
  border-left:15px solid transparent;
}

.reserve-phone-group {
}
.reserve-phone-group .detail-row {
  margin-top:16px;
  margin-bottom:32px;
}
.reserve-phone-group .detail-label {
  background:#fff;
  color:#000;
}
.reserve-phone-group .link-phone a {
  font-size:28px;
}
@media(min-width:768px){
  .reserve-phone-group .link-phone a {
  font-size:40px;
}
}

html {
  scroll-behavior: unset;
}