@charset "UTF-8";
/* optima.css */
.dm {}

.rsv--optima {
  min-width: 1080px;
  margin: auto;
}

.rsv--optima > h2 {
  font-size: var(--fz-l);
  font-weight: 400;
  text-align: center;
  margin-bottom: 10px;
  letter-spacing: 0.1em;
  text-indent: 0.1em;
}
@media (min-width: 769px) {
  .rsv--optima > h2 {
    font-size: var(--fz-m);
  }
}

fieldset {
  border: none;
  padding: 0;
  margin: 0; 
  min-inline-size: auto;
}

#searchBox {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  gap: 30px 60px;
  font-size: var(--fz-16);
  line-height: 1;
}

#searchBox h3 {
  font-size: var(--fz-14);
  font-weight: 400;
  text-align: center;
  padding-bottom: 7px;
  letter-spacing: 0.1em;
  text-indent: 0.1em;
}
#searchBox h3::before {
  display: block;
  font-family: 'Material Icons';
  content: "\e8b6";
  font-size: var(--fz-21);
  font-weight: 900;
  color: #636160;
  margin-right: .5em;
}

#searchBox .checkin-wrap {
  padding-bottom: 8px;
}
#searchBox .nights-wrap,
#searchBox .rooms-wrap,
#searchBox .adults-wrap {
  position: relative;
  display: flex;
  gap: 20px;
  padding-bottom: 11px;
}

#searchBox .checkin,
#searchBox .nights,
#searchBox .rooms,
#searchBox .adults {
  display: contents;
}

#searchBox .nights legend::before,
#searchBox .rooms legend::before,
#searchBox .adults legend::before {
  display: inline-block;
  content: '';
  height: 120%;
  width: 1px;
  background-color: #999 !important;
  position: absolute;
  top: -8px;
  left: -26px;
}
@media (max-width: 768px) {
  #searchBox .adults legend::after {
    display: inline-block;
    content: '';
    height: 120%;
    width: 1px;
    background-color: #999 !important;
    position: absolute;
    top: -8px;
    right: -26px;
  }
}

#searchBox .formtagwrap {
  position: relative;
}
#searchBox .checkin legend {
  font-size: var(--fz-14);
  letter-spacing: 0;
}
#searchBox .checkin .formtagwrap {
  position: relative;
  display: inline-block;
}
#searchBox .checkin .formtagwrap::after,
#searchBox .nights .formtagwrap::after,
#searchBox .rooms .formtagwrap::after,
#searchBox .adults .formtagwrap::after {
  display: block;
  content: '';
  width: 100%;
  height: 1px;
  background-color: #999;
  position: absolute;
  left: 0;
  bottom: -6px;
}

#searchBox .checkin input#checkin_date {
  width: 8em;
  padding: 0 10px;
}
#searchBox #no_checkin {
  font-size: var(--fz-12);
  margin-left: 10px;
}


fieldset.children,
fieldset.sort {
  display: none !important;
}

#searchBox input[type="text"],
#searchBox select {
  background: transparent !important;
  background-color: transparent !important;
  border: none;
  outline: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  -webkit-font-smoothing: antialiased;
  font-family: "Zen Old Mincho", serif;
  font-size: var(--fz-16);
  color: var(--text);
  text-align-last: center;
  width: 100%;
  padding: 3px 10px;
}


#searchBox .field-button input {
  background-color: transparent;
  border: 1px solid #999;
  padding: 12px 40px;
  letter-spacing: 0.15em;
  text-indent: 0.15em;
  cursor: pointer;
  transition: all 1.2s;
}
#searchBox .field-button:hover input {
  background-color: #c0bbb6 !important;
}

/* fieldset.nights が style="display: none;" になった時、親の .nights-wrap も非表示にする */
#searchBox .nights-wrap:has(fieldset.nights[style*="display: none"]),
#searchBox .nights-wrap:has(fieldset.nights[style*="display:none"]) {
  display: none !important;
}

@media (max-width: 768px) {
  .rsv--optima {
    width: 90%;
    min-width: auto;
    margin: auto;
  }
  #searchBox {
    flex-wrap: wrap;
    justify-content: center;
  }
  #searchBox h3 {
    padding: 0;
  }
  #searchBox .checkin-wrap {
    width: 100%;
    text-align: center;
  }
  #searchBox .nights-wrap,
  #searchBox .rooms-wrap,
  #searchBox .adults-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
  }
  #searchBox .checkin {
    display: block;
    width: max-content;
    margin: auto;
  }
  #searchBox legend {
    font-size: var(--fz-m);
    margin-bottom: 5px;
  }
  #searchBox .field-button {
    width: 100%;
    text-align: center;
  }
  #searchBox .field-button input {
    margin: auto;
    color: var(--text);
  }
}

