/*
 * Campana 4施設共通フォームUI CSS
 *
 * html/common/inc/_reservation-modal.php が出力する予約モーダルの
 * .c-form__* / #checkin_date 関連ルールのうち、4施設で完全一致することを
 * 確認できた安全部分集合のみを収録する（90セレクタ／宣言キー233件）。
 *
 * 対象外（施設側に残置、意図的にここへ含めない）:
 *   - url()依存5セレクタ（.c-form__validationText::before 等の相対画像参照。
 *     参照先が現状どの施設にも実在せず、実効表示は /common/css/reservation.css
 *     側の同名クラスが形成している）
 *   - 旧日付レンジピッカー関連の死亡5セレクタ（dt_yyyymm/dt_dd/dp_from/dp_to系）
 */

.c-form__wrapper {
  width: 100%;
  max-width: 945px;
  margin: 0 auto;
}
.c-form__validation {
  display: none;
  width: 100%;
  border-radius: 5px;
  padding: 16.5px 25px;
  border: 2px solid #d34b49;
  background: #fceced;
  margin-bottom: 29px;
}
@media screen and (max-width: 768px) {
  .c-form__validation {
    padding: 10px 15px 10px 15px;
  }
}
.c-form__validationText {
  font-size: 14px;
  font-weight: bold;
  color: #d34b49;
  letter-spacing: 0.1em;
  line-height: 1;
  position: relative;
  display: flex;
  align-items: center;
}
@media screen and (max-width: 768px) {
  .c-form__validationText {
    font-size: 13px;
  }
}
.c-form__validationText:nth-child(2) {
  margin-top: 8.5px;
}
.c-form__common {
  display: flex;
}
@media screen and (max-width: 768px) {
  .c-form__common {
    flex-wrap: wrap;
  }
}
.c-form__common:nth-child(2) {
  margin-top: 17.15px;
}
@media screen and (max-width: 768px) {
  .c-form__common:nth-child(2) {
    margin-top: 14.2px;
  }
}
.c-form__item {
  width: 40%;
  display: flex;
  flex-direction: column;
  cursor: pointer;
}
.c-form__title {
  font-size: 13px;
  margin-bottom: 11.85px;
}
.c-form__checkin {
  width: 100%;
  max-width: 380px;
}
@media screen and (max-width: 768px) {
  .c-form__checkin {
    max-width: 100%;
    margin-bottom: 14.2px;
  }
}
.c-form__checkin input {
  border-radius: 5px;
  height: 48px;
  border: 0;
}
@media screen and (max-width: 768px) {
  .c-form__checkin input {
    height: 45px;
  }
}
.c-form__checkin2 {
  width: 100%;
  max-width: 285px;
  margin-left: auto;
}
@media screen and (max-width: 768px) {
  .c-form__checkin2 {
    max-width: 100%;
    margin-bottom: 14.2px;
    margin-top: 14.2px;
  }
}
.c-form__checkin2 input {
  border-radius: 5px;
  height: 48px;
  border: 0;
}
@media screen and (max-width: 768px) {
  .c-form__checkin2 input {
    height: 45px;
  }
}
.c-form__select1 {
  width: 100%;
  max-width: 272px;
  margin-left: 10.5px;
}
@media screen and (max-width: 768px) {
  .c-form__select1 {
    margin: 0;
    max-width: calc(50% - 5px);
  }
}
.c-form__select1 select {
  width: 100%;
  border: none;
  height: 48px;
  padding-left: 20.4px;
  border-radius: 5px;
  border: 0;
}
@media screen and (max-width: 768px) {
  .c-form__select1 select {
    height: 45px;
  }
}
.c-form__select2 {
  width: 100%;
  max-width: 200px;
}
.c-form__select2:nth-child(n + 2) {
  margin-left: 10.5px;
}
@media screen and (max-width: 768px) {
  .c-form__select2 {
    margin: 0;
    max-width: calc(50% - 5px);
  }
  .c-form__select2:nth-child(n + 2) {
    margin-left: 0;
  }
}
.c-form__select2 select {
  width: 100%;
  border: none;
  height: 48px;
  padding-left: 20.4px;
  border-radius: 5px;
  border: 0;
}
@media screen and (max-width: 768px) {
  .c-form__select2 select {
    height: 45px;
  }
}
.c-form__select3 {
  width: 100%;
  max-width: 120px;
}
.c-form__select3:nth-child(n + 2) {
  margin-left: 10.5px;
}
@media screen and (max-width: 768px) {
  .c-form__select3 {
    margin: 0;
    max-width: calc(50% - 5px);
  }
  .c-form__select3:nth-child(n + 2) {
    margin-left: 0;
  }
  .c-form__select3:nth-child(n + 3) {
    margin-top: 14.2px;
  }
}
.c-form__select3 select {
  width: 100%;
  border: none;
  height: 48px;
  padding-left: 20.4px;
  border-radius: 5px;
  border: 0;
}
@media screen and (max-width: 768px) {
  .c-form__select3 select {
    height: 45px;
  }
}
.c-form__select4 {
  width: 100%;
  max-width: 320px;
}
.c-form__select4:nth-child(n + 2) {
  margin-left: 10.5px;
}
@media screen and (max-width: 768px) {
  .c-form__select4 {
    margin: 0;
    max-width: 100%;
  }
  .c-form__select4:nth-child(n + 2) {
    margin-left: 0;
    margin-top: 14.2px;
  }
}
.c-form__select4 select {
  width: 100%;
  border: none;
  height: 48px;
  padding-left: 20.4px;
  border-radius: 5px;
  border: 0;
}
@media screen and (max-width: 768px) {
  .c-form__select4 select {
    height: 45px;
  }
}
.c-form__inputWrapper,
.c-form__selctWrapper {
  position: relative;
}
.c-form__submit {
  width: 100%;
  max-width: 270px;
  height: 48px;
  align-self: flex-end;
  margin-left: auto;
  position: relative;
  overflow: hidden;
}
@media screen and (max-width: 768px) {
  .c-form__submit {
    margin-left: auto;
    margin-top: 25.5px;
    max-width: 100%;
  }
}
.c-form__bottomNav {
  width: 100%;
  max-width: 1090px;
  margin: 35px auto 0;
  display: flex;
}
@media screen and (max-width: 768px) {
  .c-form__bottomNav {
    flex-wrap: wrap;
  }
}
.c-form__bottomNavFirst {
  width: 100%;
  max-width: 320px;
  background-color: #868686;
  transition: opacity 0.3s;
}
@media screen and (max-width: 768px) {
  .c-form__bottomNavFirst {
    max-width: 100%;
    height: 80px;
  }
}
.c-form__bottomNavItem {
  width: 100%;
  max-width: 190px;
  border: 1px solid #888888;
  border-right: none;
  height: 120px;
}
@media screen and (max-width: 768px) {
  .c-form__bottomNavItem {
    max-width: 33.333%;
    height: 80px;
    padding-bottom: 18.3px;
    border-top: none;
  }
  .c-form__bottomNavItem:nth-child(2) {
    border-left: none;
  }
}
.c-form__bottomNavItem:nth-child(4) {
  border-right: 1px solid #888888;
}
@media screen and (max-width: 768px) {
  .c-form__bottomNavItem:nth-child(4) {
    padding-bottom: 8.3px;
    border-right: none;
  }
}
.c-form__bottomNavItem:last-child {
  border-right: 1px solid #888888;
  margin-left: 11px;
}
@media screen and (max-width: 768px) {
  .c-form__bottomNavItem:last-child {
    margin-left: 0;
    max-width: 100%;
    border-top: none;
    padding-bottom: 0;
    height: 48.5px;
    border-left: none;
    border-right: none;
    border-bottom: none;
  }
  .c-form__bottomNavItem:last-child a {
    align-items: center;
  }
}
.c-form__bottomNavItem a {
  position: relative;
  display: flex;
  width: 100%;
  height: 100%;
  text-align: center;
  text-decoration: none;
  letter-spacing: 0.1em;
  font-size: 13px;
  color: #000000;
  justify-content: center;
  align-items: flex-end;
  transition: background 0.3s;
}
.c-form__bottomNavItem a span {
  padding-bottom: 34px;
}
@media screen and (max-width: 768px) {
  .c-form__bottomNavItem a span {
    padding-bottom: 0;
  }
}
.c-form__bottomHead {
  text-align: center;
  color: #fff;
  font-size: 18px;
  line-height: 1.55;
  font-family: "Noto Serif JP", serif;
  margin-top: 17px;
}
@media screen and (max-width: 768px) {
  .c-form__bottomHead {
    margin-top: 13.2px;
  }
}
.c-form__bottomLink span {
  transition: opacity 0.3s;
}
.c-form__bottomLink span:hover {
  opacity: 0.5;
}
@media screen and (max-width: 768px) {
  .c-form__bottomLink {
    margin-top: 7px;
  }
}
.c-form__subWrapper {
  padding: 50px 0 35px;
  background: #efefef;
}
@media screen and (max-width: 768px) {
  .c-form__subWrapper {
    padding: 28.5px 0 27.7px;
  }
}
.c-form__travelItems {
  width: 100%;
  max-width: 940px;
  margin: 0 auto;
  display: flex;
}
@media screen and (max-width: 768px) {
  .c-form__travelItems {
    flex-direction: column;
  }
}
.c-form__travelItem {
  width: 100%;
  padding-bottom: 40px;
  position: relative;
}
@media screen and (max-width: 1060px) {
  .c-form__travelItem {
    padding: 0 25px;
  }
}
.c-form__travelItem:first-child {
  border-right: 1px solid #888888;
}
@media screen and (max-width: 768px) {
  .c-form__travelItem:first-child {
    border-right: none;
    padding-bottom: 26px;
    border-bottom: 1px solid #868686;
  }
}
.c-form__travelItem:last-child {
  position: relative;
  transform: translateX(50px);
}
@media screen and (max-width: 1060px) {
  .c-form__travelItem:last-child {
    transform: none;
  }
}
@media screen and (max-width: 768px) {
  .c-form__travelItem:last-child {
    padding-bottom: 0;
    margin-top: 22.5px;
  }
}
.c-form__travelTitle {
  font-size: 14px;
  font-weight: bold;
  margin-bottom: 22.3px;
  position: relative;
}
.c-form__travelButton {
  width: 100%;
  max-width: 420px;
  height: 54px;
}
.c-form__travelButton a {
  display: inline-block;
  background-color: #000000;
  border-radius: 5px;
  width: 100%;
  height: 100%;
  font-size: 13px;
  color: #fff;
  text-align: center;
  line-height: 54px;
  text-decoration: none;
  font-weight: bold;
}
@media screen and (max-width: 768px) {
  .c-form__travelCaptionInner {
    padding: 0 40px;
  }
}
.c-form__travelCaption {
  display: block;
  font-size: 13px;
  text-align: right;
  padding-right: 36.5px;
  margin-top: 30px;
  line-height: 1.61;
}
@media screen and (max-width: 768px) {
  .c-form__travelCaption {
    padding-right: 0;
    text-align: left;
    padding-left: -1em;
    text-indent: -1em;
  }
}
.c-form__close {
  width: 61px;
  height: 61px;
  background: #efefef;
  position: absolute;
  cursor: pointer;
  top: 0;
  right: 0;
}
@media screen and (max-width: 768px) {
  .c-form__close {
    width: 54px;
    height: 54px;
  }
}
.c-form__closeWrapper {
  width: 100%;
  height: 100%;
}
@media screen and (max-width: 768px) {
  .portal-form.c-form__common {
    margin-top: 0 !important;
  }
}
.c-form__bottomLink {
  color: #fff !important;
}
@media screen and (max-width: 768px) {
  #checkin_date {
    font-size: 13px;
  }
}
