.hotelSearchSection {
  width: 100%;
  /* margin-top: 32px;
  padding-top: 28px; */
  /* border-top: 1px solid #dbe3e8; */
}

.hotelSearchSection__heading {
  width: 90%;
  margin: 0 auto 18px;
}

.hotelSearchSection__heading h2 {
  margin-top: 8px;
  color: #12344a;
  font-size: 22px;
  font-weight: 700;
  line-height: 1.35;
}
.hotelAreaTrigger::before {
    content: "目的地（宿泊エリア）";
    z-index: 1;
    position: absolute;
    top: var(--pdd);
    left: var(--pdd);
    font-size: 12px;
    color: #666;
    pointer-events: none;
  }

.hotelSearchSection__heading p {
  margin-top: 6px;
  color: #5c6d78;
  font-size: 13px;
  line-height: 1.6;
}

.hotelSearchSection__badge {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 999px;
  background: #e7f4fb;
  color: #00689f;
  font-size: 12px;
  font-weight: 700;
}

.hotelSearchBox {
  padding: 20px;
  border: 1px solid #c9dce7;
  border-radius: 12px;
  background: #f7fbfd;
  box-shadow: 0 8px 24px rgba(20, 66, 91, 0.08);
}

.hotelSearchBox .sbw__box_col1:first-child {
  margin-top: 0;
}

.hotelAreaTrigger {
  position: relative;
  display: block;
  width: 100%;
  min-height: 58px;
  /* padding: 8px 36px 8px 10px; */
  border: 1px solid #aaa;
  border-radius: 6px;
  background: #fff;
  color: #222;
  text-align: left;
  cursor: pointer;
}

.hotelAreaTrigger::before {
  /* content: none; */
}

.hotelAreaTrigger::after,
.hotelStayField::after {
  position: absolute;
  top: 50%;
  right: 14px;
  width: 8px;
  height: 8px;
  border-right: 2px solid #56717f;
  border-bottom: 2px solid #56717f;
  content: "";
  transform: translateY(-65%) rotate(45deg);
}

.hotelAreaTrigger.err {
  border-color: #c33b3b;
}

.hotelFieldLabel,
.hotelAreaTrigger__value {
  display: block;
}

.hotelFieldLabel {
  color: #67757e;
  font-size: 11px;
}

.hotelAreaTrigger__value {
  /* margin-top: 3px; */
  overflow: hidden;
  font-size: 14px;
  line-height: 1.35;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.hotelMultiToggleWrap {
  margin-top: 12px;
}

.hotelItineraryTrigger {
  width: 100%;
  margin-top: 12px;
  padding: 12px 16px;
  border: 1px solid #79a9c3;
  border-radius: 8px;
  background: #e7f4fb;
  color: #075f8d;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
}

.hotelItinerarySummary {
  margin-top: 10px;
  padding: 10px;
  border: 1px solid #d2e0e8;
  border-radius: 8px;
  background: #fff;
  color: #40545f;
  font-size: 12px;
}

.hotelItinerarySummary p {
  display: grid;
  grid-template-columns: 24px 1fr;
  gap: 1px 8px;
  margin: 0 0 8px;
}

.hotelItinerarySummary p:last-child {
  margin-bottom: 0;
}

.hotelItinerarySummary span {
  grid-row: 1 / 3;
  display: grid;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #dceff9;
  color: #075f8d;
  place-items: center;
}

.hotelItinerarySummary strong,
.hotelItinerarySummary em {
  display: block;
  font-style: normal;
  line-height: 1.4;
}

.hotelItinerarySummary em {
  color: #667985;
}

.hotelSearchBtn {
  width: 100%;
  padding: calc(var(--pdd) * 1.5) 0;
  border: 0;
  border-radius: 40px;
  background: #006fad;
  color: #fff;
  font-weight: 700;
  box-shadow: 0 5px 14px rgba(0, 84, 132, 0.22);
  cursor: pointer;
}

.hotelSearchBtn:hover {
  background: #005d92;
}

.hotelSearchBtn:focus-visible {
  outline: 3px solid rgba(0, 112, 179, 0.3);
  outline-offset: 3px;
}

.hotelSearchBtn i {
  margin-right: calc(var(--pdd) / 2);
}

.hotelSearchErrors:not(:empty) {
  margin: 10px 0;
  padding: 10px 12px;
  border: 1px solid #df3838;
  border-radius: 6px;
  background: #fff0f0;
  color: #9b1c1c;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.7;
}

.hotelSearchPreview {
  margin-top: 16px;
  padding: 14px;
  border: 1px solid #b9d6e6;
  border-radius: 8px;
  background: #fff;
}

.hotelSearchPreview__title {
  color: #12344a;
  font-weight: 700;
}

.hotelSearchPreview__note {
  margin-top: 4px;
  color: #667985;
  font-size: 12px;
}

.hotelSearchPreview pre {
  max-height: 280px;
  margin-top: 12px;
  padding: 12px;
  overflow: auto;
  border-radius: 6px;
  background: #f3f6f8;
  color: #24343d;
  font: 12px/1.55 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  white-space: pre-wrap;
  word-break: break-word;
}

[hidden] {
  display: none !important;
}

body.hotelModalOpen {
  overflow: hidden;
}

.hotelModalBackdrop {
  position: fixed;
  z-index: 90;
  inset: 0;
  background: rgba(0, 0, 0, 0.72);
}

.hotelModal {
  position: fixed;
  z-index: 91;
  top: 50%;
  left: 50%;
  display: flex;
  width: min(555px, calc(100% - 32px));
  height: min(620px, calc(100dvh - 48px));
  overflow: hidden;
  border-radius: 30px;
  background: #fff;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.35);
  color: #222;
  flex-direction: column;
  transform: translate(-50%, -50%);
}

.hotelModal--nested {
  z-index: 92;
  background: #f8f8f8;
}

.hotelModal__header {
  position: relative;
  flex: 0 0 auto;
  min-height: 44px;
  padding: 12px 48px 10px;
  border-bottom: 1px solid #d9d9d9;
  background: #fff;
}

.hotelModal__header h2 {
  margin: 0;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.3;
  text-align: center;
}

.hotelModal__close {
  position: absolute;
  top: 4px;
  left: 12px;
  width: 36px;
  height: 36px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #111;
  font-size: 28px;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
}

.hotelModal__scroll {
  flex: 1 1 auto;
  min-height: 0;
  padding: 16px;
  overflow-y: auto;
}

.hotelModal__scroll::-webkit-scrollbar {
  width: 13px;
  background: #eee;
}

.hotelModal__scroll::-webkit-scrollbar-thumb {
  border: 3px solid #eee;
  border-radius: 20px;
  background: #2584bd;
}

.hotelModal__footer {
  flex: 0 0 auto;
  padding: 14px 18px;
  border-top: 1px solid #ccc;
  background: #fff;
}

.hotelModal__primary {
  width: 100%;
  padding: 11px 18px;
  border: 0;
  border-radius: 6px;
  background: #347eb8;
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
}

.hotelModalError:not(:empty) {
  flex: 0 0 auto;
  margin: 0 16px 10px;
  padding: 9px 11px;
  border: 1px solid #df3838;
  border-radius: 6px;
  background: #fff0f0;
  color: #9b1c1c;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.55;
}

.hotelStayCard {
  margin-bottom: 22px;
}

.hotelStayCard:last-child {
  margin-bottom: 0;
}

.hotelStayCard h3 {
  margin: 0 0 7px;
  color: #626b70;
  font-size: 14px;
  font-weight: 400;
}

.hotelStayField {
  position: relative;
  display: block;
  width: 100%;
  min-height: 61px;
  margin-bottom: 10px;
  padding: 9px 38px 9px 10px;
  border: 1px solid #ccc;
  border-radius: 8px;
  background: #fff;
  color: #222;
  text-align: left;
  cursor: pointer;
}

.hotelStayField__label,
.hotelStayField__value {
  display: block;
}

.hotelStayField__label {
  color: #777;
  font-size: 12px;
}

.hotelStayField__value {
  margin-top: 2px;
  overflow: hidden;
  font-size: 15px;
  line-height: 1.35;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.hotelItineraryModal__footer {
  display: flex;
  align-items: center;
  gap: 12px;
}

.hotelItineraryModal__confirm {
  width: 100px;
}

.hotelItineraryModal__controls {
  display: flex;
  margin-left: auto;
  gap: 14px;
}

.hotelItineraryModal__controls button {
  padding: 8px 0;
  border: 0;
  background: transparent;
  color: #111;
  font-size: 13px;
  cursor: pointer;
}

.hotelItineraryModal__controls button:disabled {
  color: #aaa;
  cursor: default;
}

.hotelItineraryModal__controls i {
  margin-right: 3px;
}

.hotelAreaModal__body {
  padding: 16px 20px 80px;
}

.hotelAreaModal__prefecture span {
  display: block;
  margin-bottom: 5px;
  color: #666;
  font-size: 14px;
}

.hotelAreaModal__prefecture select {
  width: 100%;
  padding: 11px 14px;
  border: 1px solid #aaa;
  border-radius: 8px;
  background: #fff;
  color: #222;
  font-size: 16px;
}

.hotelAreaModal__required {
  margin: 18px 0 10px;
  color: #666;
  font-size: 14px;
}

.hotelAreaModal__required span {
  margin-right: 5px;
  padding: 3px 5px;
  border-radius: 3px;
  background: #d84c4c;
  color: #fff;
  font-size: 12px;
}

.hotelAreaModal__list {
  overflow: hidden;
  border: 1px solid #aaa;
  border-radius: 8px;
  background: #fff;
}

.hotelAreaGroup + .hotelAreaGroup {
  border-top: 1px solid #ccc;
}

.hotelAreaGroup__parent {
  display: flex;
  min-height: 44px;
  align-items: center;
}

.hotelAreaGroup__parent label {
  display: flex;
  flex: 1;
  padding: 10px 8px 10px 12px;
  align-items: center;
  gap: 11px;
  cursor: pointer;
}

.hotelAreaGroup__parent input,
.hotelAreaGroup__children input {
  width: 17px;
  height: 17px;
  margin: 0;
  accent-color: #2879b2;
}

.hotelAreaGroup__parent button {
  width: 48px;
  min-height: 44px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #111;
  cursor: pointer;
}

.hotelAreaGroup__parent button[aria-expanded="true"] i {
  transform: rotate(180deg);
}

.hotelAreaGroup__children {
  border-top: 1px solid #ddd;
  background: #fafafa;
}

.hotelAreaGroup__children label {
  display: flex;
  min-height: 43px;
  padding: 10px 16px 10px 34px;
  border-bottom: 1px solid #ddd;
  align-items: center;
  gap: 9px;
  cursor: pointer;
}

.hotelAreaGroup__children label:last-child {
  border-bottom: 0;
}

.hotelStayDateModal {
  height: auto;
  max-height: min(520px, calc(100dvh - 48px));
}

.hotelStayDateModal__body {
  padding: 22px;
}

.hotelStayDateModal__travel {
  margin: 0 0 18px;
  padding: 10px 12px;
  border-radius: 6px;
  background: #e7f4fb;
  color: #075f8d;
  font-size: 14px;
  font-weight: 700;
}

.hotelStayDateModal__fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.hotelStayDateModal__fields label span {
  display: block;
  margin-bottom: 6px;
  color: #666;
  font-size: 13px;
}

.hotelStayDateModal__fields input {
  width: 100%;
  padding: 11px 9px;
  border: 1px solid #aaa;
  border-radius: 6px;
  background: #fff;
  color: #222;
  font-size: 15px;
}

.hotelStayDateModal__help {
  margin: 13px 0 0;
  color: #687780;
  font-size: 12px;
}
.tabtab {
    width: 90%;
    margin: 0 auto 24px;
    display: flex;
    gap: 16px;
}
.tabtab p{
  cursor: pointer;
    /* display: inline-block; */
    /* padding: 4px 10px; */
    text-align: center;
    border-radius: 8px;
    padding: 16px 0;
    background: #e7f4fb;
    color: #00689f;
    font-size: 14px;
    font-weight: 700;
    width: calc(100% / 2);
}
.tabtab p.sel {
    background: #fff;
    border: 2px solid;
}

@media (max-width: 720px) {
  .hotelSearchSection {
    margin-top: 24px;
    padding-top: 22px;
  }

  .hotelSearchSection__heading,
  .hotelSearchBox {
    width: 94%;
  }

  .hotelSearchBox {
    padding: 15px;
  }

  .hotelModal {
    top: auto;
    bottom: 0;
    left: 0;
    width: 100%;
    height: min(90dvh, 720px);
    border-radius: 16px 16px 0 0;
    transform: none;
  }

  .hotelStayDateModal {
    height: auto;
  }

  .hotelItineraryModal__footer {
    align-items: stretch;
    flex-direction: column;
  }

  .hotelItineraryModal__confirm {
    width: 100%;
  }

  .hotelItineraryModal__controls {
    width: 100%;
    margin: 0;
    justify-content: space-between;
  }

  .hotelStayDateModal__fields {
    grid-template-columns: 1fr;
  }
}
