@import url("https://fonts.googleapis.com/css2?family=Montserrat:wght@600&display=swap");

:root {
  --rnw-display: var(--rnw-font-educare-title, "M PLUS Rounded 1c", "Noto Sans JP", sans-serif);
  --rnw-body: var(--rnw-font-jp, "Zen Kaku Gothic New", "Noto Sans JP", sans-serif);
  --rnw-search-blue: #507cb8;
  --rnw-search-deep-blue: #00429a;
  --rnw-search-pale-blue: #e7effb;
  --rnw-search-orange: #ec6e43;
  --rnw-search-accent: #bc326c;
  --rnw-search-pink: #fdf6f4;
  --rnw-search-cream: #faf7f2;
  --rnw-search-text: #444;
  --rnw-search-gray: #626262;
}

/* 検索直後だけ、位置が決まる前の画面を見せない。JSに解除のタイムアウトあり。 */
html.rnw-search-position-pending,
html.rnw-search-position-pending body {
  scroll-behavior: auto !important;
}

html.rnw-search-position-pending body {
  visibility: hidden !important;
}

.rnw-page--search {
  width: 100%;
  max-width: none;
  min-width: 0;
  background: var(--rnw-search-cream);
}

.rnw-search-page,
.rnw-search-page * {
  box-sizing: border-box;
}

/* 施設詳細と同じパンくず。固定ヘッダーの高さはこの外枠で一度だけ確保する。 */
.rnw-search-breadcrumb-wrap {
  padding-top: var(--rnw-header-h-sp, 70px);
  background: #fff;
}
#container .rnw-page--search .rnw-breadcrumb {
  position: relative; max-width: 1440px; box-sizing: border-box;
  font-family: var(--rnw-font-noto, "Noto Sans JP", sans-serif);
  color: var(--rnw-text, #555); font-size: 12px; line-height: 1.8;
  text-align: left; margin: 0 auto; padding: 16px 24px; background: transparent;
}
:where(.rnw-page--search .rnw-breadcrumb) ol {
  display: flex; flex-wrap: wrap; gap: 4px 12px;
  width: auto; margin: 0; padding: 0; list-style: none;
}
:where(.rnw-page--search .rnw-breadcrumb) li {
  display: flex; align-items: baseline; gap: 12px; min-width: 0;
  margin: 0; padding: 0; overflow-wrap: anywhere;
}
:where(.rnw-page--search .rnw-breadcrumb) li + li::before {
  content: "›"; flex: none; color: #999;
}
.rnw-breadcrumb:where(.rnw-page--search *) a {
  color: inherit; text-decoration: underline; text-underline-offset: 4px;
}
.rnw-breadcrumb:where(.rnw-page--search *) a:hover { text-decoration: none; }
@media (min-width: 768px) {
  #container .rnw-page--search .rnw-breadcrumb {
    font-size: 13px; padding: 20px clamp(24px, 5.56vw, 80px);
  }
}
@media (min-width: 1024px) {
  .rnw-search-breadcrumb-wrap { padding-top: var(--rnw-header-h-pc, 90px); }
}

.rnw-search-page {
  color: var(--rnw-search-text);
  background-color: var(--rnw-search-pink);
  background-image: linear-gradient(rgb(253 246 244 / 96%), rgb(253 246 244 / 96%)), url("../img/room-search/rnw-pc-allrooms-bg.png");
  background-repeat: repeat;
  background-size: auto, 1228.8px 819.3px;
}

.rnw-search-hero {
  position: relative;
  height: 450px;
  overflow: hidden;
  background: var(--rnw-search-cream);
}

.rnw-search-hero::before,
.rnw-search-hero::after {
  content: "";
  position: absolute;
  display: none;
  pointer-events: none;
}

.rnw-search-hero__decoration {
  display: none;
}

.rnw-search-hero__photo {
  width: 100%;
  height: 400px;
  object-fit: cover;
  object-position: 48% center;
}

.rnw-search-hero__title-wrap {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 120px;
}

.rnw-search-hero__wave {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.rnw-search-hero__title-body {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding-top: 52px;
  text-align: center;
}

.rnw-search-hero__en,
.rnw-search-results__en,
.rnw-search-guide__en {
  margin: 0;
  color: var(--rnw-search-accent);
  font-family: "Krona One", sans-serif;
  font-size: 12px;
  line-height: 1.3;
  letter-spacing: 3.7px;
}

.rnw-search-hero__title {
  margin: 0;
  color: var(--rnw-search-blue);
  font-family: var(--rnw-display);
  font-size: 32px;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: 1.2px;
}

.rnw-search-hero__lead {
  display: none;
  margin: 0;
}

.rnw-search-intro {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  padding: 24px 24px 0;
}

.rnw-search-intro__text {
  margin: 0;
  width: min(100%, 720px);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.8;
  letter-spacing: 1.2px;
}

.rnw-search-intro__divider {
  width: calc(100% + 48px);
  max-width: none;
  height: 89px;
  object-fit: cover;
}

.rnw-search-filter {
  width: calc(100% - 48px);
  max-width: 720px;
  margin: 44px auto;
}

.rnw-search-filter__head {
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  min-height: 112px;
  padding: 42px 24px 24px;
  border-radius: 20px 20px 0 0;
  color: #fff;
  background: var(--rnw-search-blue);
}

.rnw-search-filter__mark {
  position: absolute;
  top: -40px;
  left: 50%;
  width: 56px;
  height: 80px;
  transform: translateX(-50%) rotate(42deg);
}

.rnw-search-filter__title {
  color: #fff;
  font-family: var(--rnw-display);
  font-size: 24px;
  font-weight: 700;
  line-height: 1.6;
  letter-spacing: 1.2px;
}

.rnw-search-form {
  padding: 24px;
  border-radius: 0 0 20px 20px;
  background: var(--rnw-search-pale-blue);
}

.rnw-search-form__fields {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.rnw-search-form__group {
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

.rnw-search-form__label {
  display: block;
  width: 100%;
  margin-bottom: 12px;
  font-family: var(--rnw-display);
  font-size: 20px;
  font-weight: 700;
  line-height: 1.6;
  letter-spacing: 1.2px;
}

.rnw-search-form__control,
.rnw-search-form__select-wrap {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 50px;
  border: 1px solid var(--rnw-search-gray);
  border-radius: 4px;
  background: #fff;
}

.rnw-search-form__control--keyword {
  /* セレクト用の右余白は不要。狭い幅でもプレースホルダーを切らさない。 */
  padding: 8px 12px;
}

.rnw-search-form__control--keyword .rnw-search-form__field-icon {
  flex: 0 0 auto;
  width: 24px;
  height: 24px;
  margin-right: 8px;
}

.rnw-search-form__input,
.rnw-search-form__select {
  width: 100%;
  min-width: 0;
  border: 0;
  outline: 0;
  color: var(--rnw-search-text);
  background: transparent;
  font-family: var(--rnw-body);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.8;
  letter-spacing: .6px;
}

.rnw-search-form__input::placeholder {
  color: rgb(98 98 98 / 50%);
  opacity: 1;
}

.rnw-search-form__area-grid {
  display: grid;
  gap: 12px;
}

.rnw-search-form__select-wrap {
  padding: 8px 44px 8px 12px;
}

.rnw-search-form__select {
  appearance: none;
  cursor: pointer;
}

.rnw-search-form__select-icon {
  position: absolute;
  top: 50%;
  right: 12px;
  width: 32px;
  height: 32px;
  transform: translateY(-50%);
  pointer-events: none;
}

.rnw-search-form__checks {
  display: grid;
  gap: 10px;
}

.rnw-search-check {
  position: relative;
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  min-height: 34px;
  cursor: pointer;
}

.rnw-search-check__input {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
}

.rnw-search-check__box {
  position: relative;
  width: 34px;
  height: 34px;
  border: 1px solid var(--rnw-search-text);
  border-radius: 8px;
  background: #fff;
}

.rnw-search-check__input:checked + .rnw-search-check__box {
  border-color: var(--rnw-search-deep-blue);
  background: var(--rnw-search-deep-blue);
}

.rnw-search-check__input:checked + .rnw-search-check__box::after {
  content: "";
  position: absolute;
  top: 7px;
  left: 11px;
  width: 9px;
  height: 15px;
  border: solid #fff;
  border-width: 0 3px 3px 0;
  transform: rotate(45deg);
}

.rnw-search-check__input:focus-visible + .rnw-search-check__box,
.rnw-search-form__input:focus-visible,
.rnw-search-form__select:focus-visible,
.rnw-search-form__submit:focus-visible,
.rnw-search-form__reset:focus-visible {
  outline: 3px solid rgb(236 110 67 / 45%);
  outline-offset: 2px;
}

.rnw-search-check__label {
  color: var(--rnw-search-gray);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.6;
  letter-spacing: .7px;
}

.rnw-search-form__actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  margin-top: 32px;
}

.rnw-search-form__submit {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(100%, 311px);
  min-height: 56px;
  padding: 14px 32px;
  border: 1px solid var(--rnw-search-deep-blue);
  border-radius: 66px;
  color: var(--rnw-search-deep-blue);
  background: #fff;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 1.2px;
  cursor: pointer;
}

.rnw-search-form__submit-arrow {
  position: static;
  flex: 0 0 auto;
  width: 22px;
  height: 22px;
  transform: rotate(-90deg);
}

.rnw-search-form__reset {
  padding: 4px 8px;
  border: 0;
  border-bottom: 1px solid currentColor;
  color: var(--rnw-search-gray);
  background: transparent;
  font-family: inherit;
  font-size: 13px;
  line-height: 1.6;
  cursor: pointer;
  transition: color .2s ease;
}

.rnw-search-form__reset:hover {
  color: var(--rnw-search-deep-blue);
}

.rnw-search-form__visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.rnw-search-results {
  position: relative;
  padding: 56px 24px 96px;
  background: #fff;
}

.rnw-search-results::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -1px;
  left: 0;
  height: 72px;
  background: url("../img/room-search/svg/rnw-search-svg-12.svg") center bottom / 100% 72px no-repeat;
  pointer-events: none;
}

.rnw-search-results__head {
  position: relative;
  left: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 24px;
  width: min(343px, calc(100vw - 32px));
  height: 170px;
  margin: 0 0 16px;
  padding: 24px;
  border-radius: 20px;
  background: var(--rnw-search-pale-blue);
  text-align: center;
  transform: translateX(-50%);
}

.rnw-search-results__heading-text {
  display: flex;
  flex-shrink: 0;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.rnw-search-results__heading-icon {
  order: -1;
  display: flex;
  flex-shrink: 0;
  align-items: center;
  width: 42.222px;
  height: 40px;
  overflow: hidden;
  background: url("../img/room-search/rnw-search-result-crayons.png") center / 42.222px 40px no-repeat;
}

.rnw-search-results__heading-icon img {
  display: none;
}

.rnw-search-results__count {
  margin: 0 auto 16px;
  color: var(--rnw-search-blue);
  font-family: var(--rnw-display);
  font-size: 24px;
  font-weight: 700;
  line-height: 1.6;
  letter-spacing: 1.2px;
  text-align: center;
}

.rnw-search-results__count span {
  color: var(--rnw-search-accent);
  font-size: 33px;
}

.rnw-search-results__title {
  margin: 0;
  color: var(--rnw-search-blue);
  font-family: var(--rnw-display);
  font-size: 24px;
  font-weight: 700;
  line-height: 1.45;
  letter-spacing: 1.2px;
}

.rnw-search-results__summary {
  display: none;
  margin-bottom: 24px;
  color: var(--rnw-search-gray);
  font-size: 13px;
  text-align: center;
}

.rnw-search-results__grid {
  display: grid;
  grid-template-columns: minmax(0, 327px);
  justify-content: center;
  gap: 32px;
  width: 100%;
  max-width: 1126px;
  margin: 0 auto;
}

.rnw-facility-card {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 24px 16px;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 3.771px 28.279px rgb(153 115 51 / 8%);
}

.rnw-facility-card__content {
  display: contents;
}

.rnw-facility-card__head {
  display: flex;
  flex-direction: column;
  order: -1;
  gap: 8px;
}

.rnw-facility-card__title {
  margin: 0;
  padding: 0;
  color: var(--rnw-search-blue);
  background: transparent;
  font-family: var(--rnw-display);
  font-size: 20px;
  font-weight: 700;
  line-height: 1.45;
  letter-spacing: .9px;
  text-align: center;
}

.rnw-facility-card__title span {
  display: block;
}

.rnw-facility-card__meta {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.rnw-facility-card__meta-row {
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr);
  align-items: center;
  gap: 8px;
  width: auto;
  margin: 0;
  padding: 0;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.6;
}

.rnw-facility-card__meta-icon {
  width: 20px;
  max-height: 22px;
  object-fit: contain;
}

.rnw-facility-card__photo {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 4px;
  object-fit: cover;
}

.rnw-facility-card__media {
  position: relative;
  width: 100%;
  aspect-ratio: 311 / 207;
  overflow: hidden;
  border-radius: 4px;
  background: #e2e2e2;
}

.rnw-facility-card__photo--empty {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #7a7a7a;
  background: #e2e2e2;
  font-family: "Krona One", sans-serif;
  font-size: 12px;
  letter-spacing: 1.2px;
}

.rnw-facility-card__badges {
  position: absolute;
  top: 12px;
  left: 12px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  max-width: calc(100% - 24px);
  margin: 0;
  padding: 0;
  list-style: none;
}

.rnw-facility-card__badge {
  padding: 5px 10px;
  border-radius: 999px;
  color: #fff;
  background: var(--rnw-search-deep-blue);
  box-shadow: 0 2px 6px rgb(0 0 0 / 12%);
  font-size: 11px;
  font-weight: 700;
  line-height: 1.4;
}

.rnw-facility-card__tags {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.rnw-facility-card__tag {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 12px;
  border: 1px solid var(--rnw-search-blue);
  border-radius: 8px;
  color: var(--rnw-search-blue);
  background: #fff;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.3;
  text-align: center;
  list-style: none;
}

.rnw-facility-card__info {
  display: flex;
  flex-direction: column;
  margin: 0;
  padding: 12px 24px;
  border-radius: 8px;
  overflow: hidden;
  background: var(--rnw-search-pale-blue);
}

.rnw-facility-card__info-item {
  display: grid;
  grid-template-columns: 60px minmax(0, 1fr);
  align-items: center;
  column-gap: 24px;
  border-bottom: 1px dashed var(--rnw-search-gray);
}

.rnw-facility-card__info-item:last-child {
  border-bottom: 0;
}

.rnw-facility-card__key,
.rnw-facility-card__value {
  min-height: 0;
  padding: 12px 0;
  border: 0;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.8;
  letter-spacing: 1.2px;
}

.rnw-facility-card__key {
  color: var(--rnw-search-blue);
  white-space: nowrap;
}

.rnw-facility-card__value {
  margin: 0;
  color: var(--rnw-search-text);
}

.rnw-facility-card__actions {
  display: grid;
  gap: 8px;
}

.rnw-facility-card__actions--single {
  grid-template-columns: minmax(0, 1fr);
}

.rnw-facility-card__actions.rnw-facility-card__actions--single {
  grid-template-columns: minmax(0, 1fr);
}

.rnw-facility-card__button {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 55px;
  padding: 16px 32px;
  border: 2px solid var(--rnw-search-deep-blue);
  border-radius: 999px;
  color: var(--rnw-search-deep-blue);
  background: #fff;
  font-family: "Zen Kaku Gothic New", sans-serif;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: 1.2px;
}

.rnw-facility-card__button--primary {
  border-color: #fff;
  border-width: 1px;
  color: #fff;
  background: var(--rnw-search-deep-blue);
}

.rnw-facility-card__button-arrow {
  position: static;
  flex: 0 0 22px;
  width: 22px;
  height: 22px;
  transform: rotate(-90deg);
}

.rnw-facility-card__button--primary .rnw-facility-card__button-arrow {
  filter: brightness(0) invert(1);
}

.rnw-search-results__empty {
  width: min(100%, 720px);
  margin: 24px auto 0;
  padding: 32px 24px;
  border-radius: 8px;
  background: #fff;
  text-align: center;
}

.rnw-search-results__empty p {
  margin: 0;
  color: var(--rnw-search-gray);
  font-size: 14px;
  line-height: 1.8;
}

.rnw-search-results__clear {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 220px;
  min-height: 48px;
  margin-top: 24px;
  padding: 10px 28px;
  border: 2px solid var(--rnw-search-deep-blue);
  border-radius: 999px;
  color: var(--rnw-search-deep-blue);
  background: #fff;
  font-weight: 700;
}

.rnw-search-pagination {
  display: flex;
  justify-content: center;
  width: 100%;
  margin-top: 48px;
}

.rnw-search-pagination .page-numbers {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.rnw-search-pagination a,
.rnw-search-pagination span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  min-height: 42px;
  padding: 6px 10px;
  border: 1px solid var(--rnw-search-blue);
  border-radius: 50%;
  color: var(--rnw-search-deep-blue);
  background: #fff;
  font-size: 14px;
  font-weight: 700;
}

.rnw-search-pagination .current {
  color: #fff;
  background: var(--rnw-search-deep-blue);
}

.rnw-search-pagination .prev,
.rnw-search-pagination .next {
  width: auto;
  padding-inline: 18px;
  border-radius: 999px;
}

.rnw-search-guide {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  padding: 64px 24px 56px;
}

.rnw-search-guide__card {
  position: relative;
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr) 40px;
  align-items: center;
  gap: 14px;
  width: min(100%, 327px);
  min-height: 148px;
  padding: 22px 18px;
  border-radius: 8px;
  color: #fff;
  background: var(--rnw-search-blue);
}

.rnw-search-guide__mark {
  width: 50px;
  height: 72px;
  transform: rotate(42deg);
}

.rnw-search-guide__body {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.rnw-search-guide__en {
  color: #fdff9c;
  font-size: 10px;
}

.rnw-search-guide__title {
  font-family: var(--rnw-display);
  font-size: 20px;
  font-weight: 700;
}

.rnw-search-guide__text {
  margin-top: 8px;
  font-size: 12px;
  line-height: 1.6;
}

.rnw-search-guide__arrow {
  width: 40px;
  height: 40px;
  transform: rotate(-90deg);
}

.rnw-search-guide__note {
  width: min(100%, 327px);
  font-size: 12px;
  line-height: 1.8;
  letter-spacing: 1.2px;
  text-align: center;
}

.rnw-search-guide__note-break {
  display: none;
}

.rnw-all-rooms {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
  padding: 64px 24px;
  background: #fff;
}

.rnw-all-rooms__heading {
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  width: min(100%, 400px);
  padding: 24px;
  border-radius: 20px;
  background: var(--rnw-search-pale-blue);
  text-align: center;
}

.rnw-all-rooms__en {
  margin: 0;
  color: var(--rnw-search-accent);
  font-family: "Krona One", sans-serif;
  font-size: 14px;
  line-height: 1.3;
  letter-spacing: 3.7px;
}

.rnw-all-rooms__title {
  margin: 0;
  color: var(--rnw-search-blue);
  font-family: var(--rnw-display);
  font-size: 28px;
  line-height: 1.6;
  letter-spacing: 1.2px;
}

.rnw-all-rooms__panel {
  display: flex;
  flex-direction: column;
  gap: 48px;
  width: min(100%, 1200px);
  padding: 32px 16px;
  border-radius: 20px;
  background-color: var(--rnw-search-pink);
  background-image: linear-gradient(rgb(253 246 244 / 96%), rgb(253 246 244 / 96%)), url("../img/room-search/rnw-pc-allrooms-bg.png");
  background-repeat: repeat;
  background-size: auto, 1228.8px 819.3px;
}

.rnw-all-rooms__anchor-nav {
  display: grid;
  gap: 8px;
}

.rnw-all-rooms__anchor {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  padding: 12px 24px;
  border-radius: 8px;
  color: var(--rnw-search-text);
  background: #fff;
  box-shadow: 0 4px 28px rgb(0 0 0 / 8%);
  font-size: 16px;
  font-weight: 700;
}

.rnw-all-rooms__anchor::after {
  content: "";
  flex: 0 0 14px;
  width: 14px;
  height: 14px;
  margin-left: 8px;
  background: url("../img/room-search/rnw-pc-arrow-down.svg") center / contain no-repeat;
}

.rnw-room-directory,
.rnw-room-types {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  min-width: 0;
}

.rnw-room-directory__content,
.rnw-room-directory__regions {
  display: flex;
  flex-direction: column;
  width: 100%;
}

.rnw-all-rooms__subheading {
  width: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  font-family: var(--rnw-display);
  font-size: 22px;
  line-height: 1.6;
  letter-spacing: 1.2px;
  text-align: center;
  background: transparent;
  box-shadow: none;
}

.rnw-all-rooms__subheading::before,
.rnw-all-rooms__subheading::after {
  content: none;
}

.rnw-room-tabs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  width: 100%;
  max-width: 700px;
}

.rnw-room-tabs__button {
  min-height: 52px;
  padding: 8px;
  border-right: 8px solid var(--rnw-search-cream);
  border-radius: 4px 4px 0 0;
  color: var(--rnw-search-deep-blue);
  background: #eef1f9;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}

.rnw-room-tabs__button--active {
  color: #fff;
  background: var(--rnw-search-deep-blue);
}

.rnw-room-directory__body {
  display: flex;
  flex-direction: column;
  gap: 32px;
  width: 100%;
  padding: 24px 16px;
  background: #fff;
}

.rnw-room-prefectures {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.rnw-room-prefectures__link {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 10px 16px;
  border-radius: 8px;
  color: var(--rnw-search-text);
  background: #fff;
  box-shadow: 0 4px 28px rgb(0 0 0 / 8%);
  font-weight: 700;
}

.rnw-room-prefectures__link::after {
  content: "";
  width: 14px;
  height: 14px;
  margin-left: 8px;
  background: url("../img/room-search/rnw-pc-arrow-down.svg") center / contain no-repeat;
}

.rnw-room-prefecture,
.rnw-room-city,
.rnw-room-kind {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.rnw-room-prefecture__heading {
  padding: 8px 16px;
  background: var(--rnw-search-pale-blue);
  font-size: 18px;
  font-weight: 600;
}

.rnw-room-city__heading {
  font-size: 18px;
  font-weight: 600;
}

.rnw-room-kind {
  padding-left: 16px;
}

.rnw-room-kind__heading {
  position: relative;
  padding: 4px 8px;
  background: #fce9f0;
  font-size: 16px;
  font-weight: 700;
}

.rnw-room-kind__heading::before {
  content: "";
  position: absolute;
  top: 50%;
  left: -4px;
  width: 8px;
  height: 1px;
  background: var(--rnw-search-deep-blue);
}

.rnw-room-kind__heading--office {
  background: #dbe2cd;
}

.rnw-room-kind__heading--temporary {
  background: #dbe2cd;
}

.rnw-room-kind__heading--other {
  background: #e7effb;
}

.rnw-room-kind__link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 52px;
  padding: 10px 16px;
  border: 1px solid var(--rnw-search-deep-blue);
  border-radius: 4px;
  color: var(--rnw-search-deep-blue);
  background: #fff;
  font-weight: 700;
  line-height: 1.6;
}

.rnw-room-kind__link span {
  flex: 0 0 auto;
  width: 14px;
  height: 14px;
  margin-left: 8px;
  overflow: hidden;
  background: url("../img/room-search/rnw-pc-arrow-right.svg") center / contain no-repeat;
  font-size: 0;
}

.rnw-room-directory__placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 160px;
  color: #fff;
  background: #444;
  font-size: 18px;
  font-weight: 700;
}

.rnw-room-types__table {
  width: 100%;
  margin: 0;
}

.rnw-room-types__row {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr);
  border-bottom: 2px solid #fff;
}

.rnw-room-types__row dt,
.rnw-room-types__row dd {
  padding: 16px 12px;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.8;
}

.rnw-room-types__row dt {
  display: flex;
  align-items: flex-start;
  background: #fce9f0;
}

.rnw-room-types__row dd {
  margin: 0;
  background: #fff;
}

.rnw-room-types__row--child-center dt { background: #d6d2e9; }
.rnw-room-types__row--certified dt { background: #c0e4f9; }
.rnw-room-types__row--office dt { background: #fde8c0; }
.rnw-room-types__row--sick dt { background: #dbe2cd; }

.rnw-footer--search {
  height: auto;
}

.rnw-footer--search .rnw-footer-nav,
.rnw-footer--search .rnw-footer-nav__menus,
.rnw-footer--search .rnw-footer-bottom {
  height: auto;
}

@media (max-width: 374px) {
  .rnw-search-intro,
  .rnw-search-results,
  .rnw-search-guide {
    padding-right: 16px;
    padding-left: 16px;
  }

  .rnw-search-filter {
    width: calc(100% - 32px);
  }

  .rnw-search-form {
    padding-right: 16px;
    padding-left: 16px;
  }
}

@media (min-width: 375px) {
  .rnw-search-page {
    min-width: 0;
  }
}

@media (min-width: 768px) {
  .rnw-search-hero {
    height: 520px;
  }

  .rnw-search-hero__photo {
    height: 460px;
  }

  .rnw-search-hero__title-wrap {
    height: 150px;
  }

  .rnw-search-hero__title-body {
    padding-top: 64px;
  }

  .rnw-search-hero__title {
    font-size: 40px;
  }

  .rnw-search-intro {
    padding-top: 40px;
  }

  .rnw-search-filter {
    width: calc(100% - 80px);
    margin-block: 72px;
  }

  .rnw-search-form {
    padding: 40px;
  }

  .rnw-search-form__area-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .rnw-search-form__checks {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px 24px;
  }

  .rnw-search-results {
    padding: 72px 40px 112px;
  }

  .rnw-search-results__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .rnw-search-guide__card,
  .rnw-search-guide__note {
    width: min(100%, 560px);
  }

  .rnw-footer--search .rnw-footer-nav,
  .rnw-footer--search .rnw-footer-bottom {
    padding-right: max(48px, calc((100% - 720px) / 2));
    padding-left: max(48px, calc((100% - 720px) / 2));
  }

  .rnw-footer--search .rnw-footer-bottom__certs {
    justify-content: center;
  }
}

/* SP〜タブレットはFigmaの上下構成を保ち、固定高による写真・見出し切れを防ぐ。 */
@media (max-width: 1023.98px) {
  .rnw-all-rooms {
    padding-right: 0;
    padding-left: 0;
    background-color: var(--rnw-search-pink);
    background-image: linear-gradient(rgb(253 246 244 / 96%), rgb(253 246 244 / 96%)), url("../img/room-search/rnw-pc-allrooms-bg.png");
    background-repeat: repeat;
    background-position: 0 0;
    background-size: auto, 1228.8px 819.3px;
  }

  .rnw-all-rooms__heading {
    width: min(calc(100% - 48px), 400px);
  }

  .rnw-all-rooms__panel {
    width: 100%;
    padding-right: 24px;
    padding-left: 24px;
    border-radius: 0;
    background-color: transparent;
    background-image: none;
  }

  .rnw-all-rooms__anchor-nav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: 100%;
  }

  .rnw-all-rooms__anchor {
    min-height: 56px;
    padding: 12px 8px;
    font-size: clamp(13px, 1.56vw, 16px);
    white-space: nowrap;
  }

  .rnw-facility-card__tag {
    border-color: var(--rnw-search-deep-blue);
    color: var(--rnw-search-deep-blue);
  }

  .rnw-facility-card__key {
    color: var(--rnw-search-deep-blue);
  }

  .rnw-search-hero {
    --rnw-search-sp-photo-height: clamp(400px, 66.66vw, 682px);
    height: calc(var(--rnw-search-sp-photo-height) + clamp(50px, 7.82vw, 60px));
    padding-top: 0;
    background-color: var(--rnw-search-pink);
    background-image: none;
  }

  .rnw-search-hero__photo {
    display: block;
    width: 100%;
    height: var(--rnw-search-sp-photo-height);
    object-fit: cover;
    object-position: center center;
  }

  .rnw-search-hero__title-wrap {
    height: clamp(120px, calc(23.8vw + 31px), 275px);
    overflow: visible;
  }

  .rnw-search-hero__wave {
    inset: 0 0 auto;
    height: auto;
    aspect-ratio: 375.192 / 89.307;
    content: "";
    background-color: var(--rnw-search-pink);
    background-image: linear-gradient(rgb(253 246 244 / 96%), rgb(253 246 244 / 96%)), url("../img/room-search/rnw-pc-allrooms-bg.png");
    background-repeat: repeat;
    background-size: auto, 1228.8px 819.3px;
    -webkit-mask: url("../img/room-search/svg/rnw-search-svg-12.svg") 0 0 / 100% 100% no-repeat;
            mask: url("../img/room-search/svg/rnw-search-svg-12.svg") 0 0 / 100% 100% no-repeat;
  }

  .rnw-search-hero__title-body {
    position: absolute;
    right: 16px;
    bottom: 2px;
    left: 16px;
    height: auto;
    padding-top: 0;
    overflow: visible;
    background-color: var(--rnw-search-pink);
    background-image: linear-gradient(rgb(253 246 244 / 96%), rgb(253 246 244 / 96%)), url("../img/room-search/rnw-pc-allrooms-bg.png");
    background-repeat: repeat;
    background-position: 0 0;
    background-size: auto, 1228.8px 819.3px;
  }

  .rnw-search-hero__title {
    display: block;
    height: auto;
    margin: 0;
    padding-bottom: 0;
    overflow: visible;
    font-size: 32px;
    white-space: nowrap;
  }

  .rnw-search-intro {
    padding-top: 12px;
  }

  .rnw-search-intro__divider {
    height: auto;
    aspect-ratio: 375.192 / 89.307;
    object-fit: contain;
  }
}

@media (min-width: 1024px) {
  /* Figma 5:1675 / 5:1748：PCの絞り込み・検索結果背景は無地。 */
  .rnw-search-page {
    background-color: #fff;
    background-image: none;
  }

  .rnw-search-hero {
    height: 630px;
    padding-top: 52px;
  }

  .rnw-search-hero__photo {
    position: absolute;
    top: 52px;
    right: 0;
    width: 56%;
    height: 510px;
    border-radius: 20px 0 0 20px;
    object-position: center;
  }

  .rnw-search-hero__title-wrap {
    inset: 0;
    height: auto;
  }

  .rnw-search-hero__wave {
    top: auto;
    bottom: -1px;
    height: clamp(240px, 24.27vw, 291px);
    object-fit: fill;
    content: url("../img/room-search/rnw-search-hero-base.svg");
  }

  .rnw-search-hero__title-body {
    position: absolute;
    top: 126px;
    left: max(48px, calc((44% - 450px) / 2));
    align-items: flex-start;
    width: min(38%, 450px);
    padding: 0;
    text-align: left;
  }

  .rnw-search-hero__en {
    font-size: 20px;
  }

  .rnw-search-hero__title {
    font-size: 48px;
    line-height: 1.6;
  }

  .rnw-search-hero__lead {
    display: block;
    margin-top: 20px;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.8;
    letter-spacing: 1.2px;
  }

  .rnw-search-intro {
    display: none;
  }

  .rnw-search-layout {
    display: grid;
    grid-template-columns: 340px minmax(0, 1fr);
    align-items: stretch;
    max-width: 1440px;
    margin-inline: auto;
    background: #fff;
  }

  .rnw-search-filter {
    align-self: stretch;
    width: auto;
    max-width: none;
    margin: 0;
    padding: 76px 16px 40px;
    background: var(--rnw-search-cream);
  }

  .rnw-search-filter__head {
    min-height: 116px;
    padding: 24px;
  }

  .rnw-search-filter__mark {
    top: -34px;
    width: 50px;
    height: 72px;
  }

  .rnw-search-filter__title {
    padding-top: 30px;
    font-size: 24px;
  }

  .rnw-search-form {
    padding: 24px;
  }

  .rnw-search-form__fields {
    display: flex;
    gap: 32px;
  }

  .rnw-search-form__area-grid,
  .rnw-search-form__checks {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .rnw-search-form__label {
    font-size: 20px;
  }

  .rnw-search-form__input,
  .rnw-search-form__select,
  .rnw-search-check__label {
    font-size: 18px;
  }

  .rnw-search-check {
    grid-template-columns: 32px minmax(0, 1fr);
    min-height: 32px;
  }

  .rnw-search-check__box {
    width: 32px;
    height: 32px;
    border-radius: 8px;
  }

  .rnw-search-check__input:checked + .rnw-search-check__box::after {
    top: 6px;
    left: 10px;
  }

  .rnw-search-form__submit {
    min-height: 55px;
    color: var(--rnw-search-deep-blue);
    background: #fff;
    border: 1px solid var(--rnw-search-deep-blue);
    font-size: 18px;
  }

  .rnw-search-results {
    min-width: 0;
    padding: 80px 48px 104px;
    background: #fff;
  }

  .rnw-search-results::after {
    display: none;
  }

  .rnw-search-results__head {
    flex-direction: row;
    justify-content: center;
    gap: 40px;
    width: min(100%, 520px);
    height: 200px;
    margin-bottom: 80px;
    padding: 24px;
    border-radius: 20px;
    background: var(--rnw-search-pale-blue);
  }

  .rnw-search-results__en {
    font-size: 20px;
  }

  .rnw-search-results__title {
    font-size: 32px;
  }

  .rnw-search-results__heading-icon {
    order: 0;
    display: flex;
    align-items: center;
    width: 84.444px;
    height: 80px;
    overflow: hidden;
    background-size: 84.444px 80px;
  }

  .rnw-search-results__heading-icon img {
    display: none;
  }

  .rnw-search-results__count span {
    font-size: inherit;
  }

  .rnw-search-results__count {
    height: 53px;
    margin-bottom: 80px;
    font-size: 32px;
    line-height: 1.6;
  }

  .rnw-search-results__summary {
    display: none;
  }

  .rnw-search-results__grid {
    display: flex;
    flex-direction: column;
    max-width: 880px;
    gap: 24px;
  }

  .rnw-facility-card {
    display: grid;
    grid-template-columns: 200px minmax(0, 1fr);
    column-gap: 24px;
    row-gap: 0;
    width: 100%;
    min-height: 414px;
    padding: 40px;
    border-radius: 8px 8px 0 0;
    box-shadow: 0 4px 28px rgb(153 115 51 / 8%);
  }

  .rnw-facility-card__content {
    display: contents;
  }

  .rnw-facility-card__media {
    grid-column: 1;
    grid-row: 1 / 3;
    align-self: start;
    width: auto;
    aspect-ratio: auto;
    overflow: visible;
    border-radius: 0;
    background: transparent;
  }

  .rnw-facility-card__head {
    grid-column: 2;
    grid-row: 1;
    min-width: 0;
    gap: 0;
  }

  .rnw-facility-card__photo {
    width: 200px;
    height: 240px;
    border-radius: 0;
  }

  .rnw-facility-card__title {
    height: 76px;
    font-size: 24px;
    line-height: 1.6;
    text-align: left;
  }

  .rnw-facility-card__meta {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    align-items: start;
    min-height: 25px;
    margin-top: 16px;
    gap: 4px;
  }

  .rnw-facility-card__meta-row {
    display: grid;
    grid-template-columns: 24px minmax(0, 1fr);
    align-items: start;
    min-width: 0;
    gap: 8px;
    font-size: 14px;
    line-height: 1.8;
    overflow-wrap: anywhere;
  }

  .rnw-facility-card__meta-icon {
    width: 24px;
    height: 24px;
  }

  .rnw-facility-card__tags {
    grid-column: 2;
    grid-row: 2;
    align-self: start;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    min-height: 29px;
    margin-top: 12px;
  }

  .rnw-facility-card__tag {
    min-height: 29px;
    padding: 8px;
    border-radius: 8px;
    font-size: 10px;
  }

  .rnw-facility-card__info {
    grid-column: 1 / -1;
    grid-row: 3;
    display: flex;
    flex-direction: column;
    min-height: 0;
    margin-top: 24px;
    padding: 12px 24px;
    border-radius: 8px;
  }

  .rnw-facility-card__info-item {
    display: grid;
    grid-template-columns: 60px minmax(0, 1fr);
    align-items: center;
    column-gap: 24px;
    min-width: 0;
    padding: 0;
    border-right: 0;
    border-bottom: 1px dashed var(--rnw-search-gray);
  }

  .rnw-facility-card__info-item:last-child {
    border-bottom: 0;
  }

  .rnw-facility-card__key,
  .rnw-facility-card__value {
    min-height: 0;
    padding: 12px 0;
    border: 0;
    font-size: 12px;
    overflow-wrap: anywhere;
    word-break: normal;
    white-space: normal;
  }

  .rnw-facility-card__actions {
    grid-column: 1 / -1;
    grid-row: 4;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
    height: 79px;
    margin-top: 16px;
    padding-top: 24px;
  }

  .rnw-facility-card__button {
    height: 55px;
    padding: 16px 32px;
    font-size: 18px;
  }

  .rnw-facility-card__button-arrow {
    width: 22px;
    height: 22px;
  }

  .rnw-search-guide {
    display: flex;
    gap: 8px;
    min-height: 384px;
    padding: 80px;
    border: 3px solid #e2e2e2;
    background: #fff;
  }

  .rnw-search-guide__card {
    grid-template-columns: minmax(0, 1fr) 50px;
    gap: 24px;
    width: 600px;
    min-height: 166px;
    padding: 24px;
    border-radius: 20px;
    background: #507cb8;
  }

  .rnw-search-guide__mark {
    position: absolute;
    top: -45.67px;
    left: 50%;
    width: 55.56px;
    height: 80px;
    transform: translateX(-50%) rotate(41.78deg);
  }

  .rnw-search-guide__body {
    gap: 4px;
  }

  .rnw-search-guide__en {
    font-size: 16px;
    line-height: 1.3;
    letter-spacing: 3.7px;
  }

  .rnw-search-guide__title {
    font-size: 32px;
    line-height: 1.6;
    letter-spacing: 1.2px;
  }

  .rnw-search-guide__text {
    margin-top: 6px;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.8;
    letter-spacing: 1.2px;
  }

  .rnw-search-guide__arrow {
    width: 50px;
    height: 50px;
  }

  .rnw-search-guide__note {
    width: 600px;
    color: #626262;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.8;
  }

  .rnw-search-guide__note-break {
    display: inline;
  }
}

@media (min-width: 1126px) {
  .rnw-search-layout {
    grid-template-columns: 368px minmax(0, 1fr);
  }

  .rnw-search-results {
    padding-inline: 64px;
  }

}

@media (min-width: 1200px) {
  .rnw-search-hero {
    --rnw-search-pc-pad: max(24px, calc((100% - 1280px) / 2));
    height: 750px;
    padding-top: 80px;
    background: #fff;
  }

  .rnw-search-hero__photo {
    z-index: 2;
    top: 80px;
    width: min(800px, 55.556%);
    height: 590px;
  }

  .rnw-search-hero__title-body {
    z-index: 3;
    top: 50%;
    left: var(--rnw-search-pc-pad);
    gap: 0;
    width: min(450px, calc(44.444% - var(--rnw-search-pc-pad) - 24px));
    transform: translateY(-50%);
  }

  .rnw-search-hero__title {
    margin-top: 16px;
    line-height: 1.3;
  }

  .rnw-search-hero__lead {
    margin-top: 20px;
    font-size: 18px;
  }

  .rnw-search-hero__wave {
    z-index: 0;
    height: 349.447px;
    content: url("../img/room-search/rnw-search-hero-base.svg");
  }

  .rnw-search-layout {
    grid-template-columns: 400px minmax(0, 1fr);
  }

  .rnw-search-filter {
    padding: 84px 16px 40px;
  }

  .rnw-search-filter__head,
  .rnw-search-form {
    width: 320px;
    margin-inline: auto;
  }

  .rnw-search-results {
    padding: 80px 65px 80px 80px;
  }

  .rnw-facility-card__value {
    font-size: 14px;
  }

  .rnw-all-rooms {
    height: auto;
    gap: 80px;
    padding: 120px max(0px, calc((100% - 1200px) / 2));
  }

  .rnw-all-rooms__heading {
    width: 400px;
    height: 129px;
  }

  .rnw-all-rooms__en {
    font-size: 20px;
  }

  .rnw-all-rooms__title {
    font-size: 32px;
  }

  .rnw-all-rooms__panel {
    flex: 0 0 auto;
    gap: 80px;
    width: min(100%, 1200px);
    height: auto;
    padding: 80px 0;
    background-color: var(--rnw-search-pink);
    background-image: linear-gradient(rgb(253 246 244 / 96%), rgb(253 246 244 / 96%)), url("../img/room-search/rnw-pc-allrooms-bg.png");
    background-repeat: repeat;
    background-position: 0 0;
    background-size: auto, 1228.8px 819.3px;
  }

  .rnw-all-rooms__anchor-nav {
    grid-template-columns: repeat(2, 400px);
    justify-content: center;
  }

  .rnw-all-rooms__anchor {
    min-height: 64.4px;
    padding: 15.5px 40px 16.5px;
    font-size: 18px;
    line-height: 1.8;
  }

  .rnw-room-directory,
  .rnw-room-types {
    width: 100%;
    margin: 0;
    padding-inline: 80px;
  }

  .rnw-room-directory {
    align-items: stretch;
    gap: 24px;
  }

  .rnw-room-directory__content {
    align-items: flex-start;
  }

  .rnw-room-directory__regions {
    gap: 56px;
  }

  .rnw-all-rooms__subheading {
    font-size: 24px;
  }

  .rnw-room-tabs__button {
    height: 61px;
    min-height: 61px;
    padding: 8px 10px;
    font-size: 18px;
    line-height: 1.8;
  }

  .rnw-room-directory__body {
    gap: 40px;
    width: 100%;
    padding: 40px;
  }

  .rnw-room-prefectures {
    grid-template-columns: repeat(6, 153px);
  }

  .rnw-room-prefectures__link {
    min-height: 64.4px;
    padding: 15.5px 40px 16.5px;
    font-size: 18px;
    line-height: 1.8;
  }

  .rnw-room-prefecture {
    gap: 32px;
  }

  .rnw-room-city {
    gap: 16px;
  }

  .rnw-room-city + .rnw-room-city {
    margin-top: 24px;
  }

  .rnw-room-kind {
    gap: 16px;
    padding-left: 16px;
  }

  .rnw-room-kind + .rnw-room-kind {
    margin-top: 8px;
  }

  .rnw-room-kind__link + .rnw-room-kind__link {
    margin-top: -8px;
  }

  .rnw-room-prefecture__heading {
    padding: 8px 16px;
    font-size: 20px;
    line-height: 1.8;
  }

  .rnw-room-city__heading {
    font-size: 20px;
    line-height: 1.8;
  }

  .rnw-room-kind__heading,
  .rnw-room-kind__link {
    font-size: 18px;
    line-height: 1.8;
    letter-spacing: 1.2px;
  }

  .rnw-room-kind__heading {
    padding: 4px 8px;
  }

  .rnw-room-kind__link {
    min-height: 0;
    padding: 12px 16px;
  }

  .rnw-room-kind__link span {
    transform: rotate(-90deg);
  }

  .rnw-room-directory__placeholder {
    min-height: 209.34px;
    height: 209.34px;
    font-size: 20px;
  }

  .rnw-room-types__row {
    grid-template-columns: 300px minmax(0, 1fr);
  }

  .rnw-room-types__row dt {
    padding: 40px 12px;
  }

  .rnw-room-types__row dd {
    padding: 16px;
  }

  .rnw-room-types__row dt,
  .rnw-room-types__row dd {
    font-size: 18px;
  }

  .rnw-footer--search .rnw-footer-nav,
  .rnw-footer--search .rnw-footer-bottom {
    padding-right: max(64px, calc((100% - 1126px) / 2));
    padding-left: max(64px, calc((100% - 1126px) / 2));
  }
}

@media (min-width: 1024px) and (max-width: 1199.98px) {
  /* ナーサリースクールFVと同じ合成画像・配置ロジックを使用する。 */

  .rnw-search-hero {
    height: 750px;
    padding-top: 80px;
  }

  .rnw-search-hero__photo {
    top: 80px;
    width: 55.556%;
    height: 590px;
  }

  .rnw-search-hero__title-body {
    top: 50%;
    left: 5.556vw;
    width: 31.25vw;
    transform: translateY(-50%);
  }

  .rnw-search-hero__wave {
    height: 349.447px;
  }

  .rnw-search-hero__photo { z-index: 2; }
  .rnw-search-hero__title-body { z-index: 3; }

  .rnw-search-form__group--keyword .rnw-search-form__input {
    font-size: 16px;
    letter-spacing: .3px;
  }

  .rnw-search-results {
    padding: 64px 32px 80px;
  }

  .rnw-search-results__head {
    width: min(100%, 520px);
  }

  .rnw-facility-card {
    grid-template-columns: 160px minmax(0, 1fr);
    min-height: 0;
    padding: 24px;
  }

  .rnw-facility-card__photo {
    width: 160px;
    height: 192px;
  }

  .rnw-facility-card__title {
    height: auto;
    font-size: 18px;
  }

  .rnw-facility-card__meta {
    height: auto;
    flex-wrap: wrap;
  }

  .rnw-facility-card__meta-row {
    font-size: 10px;
  }

  .rnw-facility-card__tags {
    height: auto;
  }

  .rnw-facility-card__actions {
    height: auto;
    grid-template-columns: 1fr;
  }

  .rnw-facility-card__button {
    height: 55px;
    font-size: 18px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .rnw-search-page {
    scroll-behavior: auto;
  }
}

/* 2026-09-25 Figma update: shared colors and responsive card layout. */
.rnw-search-results__heading-icon {
  position: relative;
  overflow: visible;
  background: none;
}

.rnw-search-results__heading-icon::before,
.rnw-search-results__heading-icon::after {
  content: "";
  position: absolute;
  top: 7.23%;
  width: 28.79%;
  height: 92.90%;
  background: center / contain no-repeat;
}

.rnw-search-results__heading-icon::before {
  left: 15.45%;
  background-image: url("../img/room-search/rnw-search-crayon-pink.svg");
}

.rnw-search-results__heading-icon::after {
  left: 57.40%;
  background-image: url("../img/room-search/rnw-search-crayon-blue.svg");
  transform: rotate(-165deg);
}

.rnw-search-hero__en,
.rnw-search-results__en,
.rnw-all-rooms__en {
  font-family: "Montserrat", sans-serif;
  font-weight: 600;
}

.rnw-facility-card__title,
.rnw-facility-card__tag,
.rnw-facility-card__key {
  color: var(--rnw-search-deep-blue);
}

.rnw-facility-card__tag { border-color: var(--rnw-search-deep-blue); }
.rnw-facility-card__title { height: auto; overflow-wrap: anywhere; }
.rnw-facility-card__meta { gap: 8px; }

@media (max-width: 1023.98px) {
  .rnw-search-results {
    padding-top: 0;
    padding-inline: 16px;
  }
  .rnw-search-results::before {
    /* Figma 126:2134: embed the original SVG so CSS-only uploads retain the arch. */
    content: "";
    position: relative;
    inset: auto;
    z-index: 0;
    display: block;
    width: calc(100% + 32px);
    height: auto;
    aspect-ratio: 375 / 89.3064;
    margin: 0 -16px;
    transform: none;
    background-color: var(--rnw-search-pink);
    background-image: url("data:image/svg+xml;base64,PHN2ZyBwcmVzZXJ2ZUFzcGVjdFJhdGlvPSJub25lIiBvdmVyZmxvdz0idmlzaWJsZSIgc3R5bGU9ImRpc3BsYXk6IGJsb2NrOyIgd2lkdGg9IjM3NSIgaGVpZ2h0PSI4OS4zMDY0IiB2aWV3Qm94PSIwIDAgMzc1IDg5LjMwNjQiIGZpbGw9Im5vbmUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+CjxnIGlkPSJGcmFtZSAxMzIxMzE1NDg0IiBjbGlwLXBhdGg9InVybCgjY2xpcDBfMF80KSI+CjxjaXJjbGUgaWQ9IkVsbGlwc2UgNiIgY3g9IjE4Ni4yMjEiIGN5PSIzNjkuNTEiIHI9IjM2OS41MSIgZmlsbD0id2hpdGUiLz4KPC9nPgo8ZGVmcz4KPGNsaXBQYXRoIGlkPSJjbGlwMF8wXzQiPgo8cmVjdCB3aWR0aD0iMzc1IiBoZWlnaHQ9Ijg5LjMwNjQiIGZpbGw9IndoaXRlIi8+CjwvY2xpcFBhdGg+CjwvZGVmcz4KPC9zdmc+Cg=="), linear-gradient(rgb(253 246 244 / 96%), rgb(253 246 244 / 96%)), url("../img/room-search/rnw-pc-allrooms-bg.png");
    background-position: center top, 0 0, 0 0;
    background-repeat: no-repeat, repeat, repeat;
    background-size: 100% auto, auto, 1228.8px 819.3px;
    pointer-events: none;
  }
  .rnw-search-results__grid {
    grid-template-columns: minmax(0, 343px);
    gap: 16px;
  }
  .rnw-facility-card { gap: 12px; }
  .rnw-facility-card__head { gap: 16px; }
  .rnw-facility-card__title { line-height: 1.6; letter-spacing: 1.2px; }
  .rnw-facility-card__meta-row { font-size: 14px; line-height: 1.8; }
  .rnw-facility-card__meta-icon { width: 24px; max-height: 24px; }
  .rnw-facility-card__media { aspect-ratio: 311 / 200; border-radius: 0; }
  .rnw-facility-card__photo { border-radius: 0; }
  .rnw-facility-card__actions { padding-top: 32px; gap: 10px; }
  .rnw-all-rooms { padding-top: 56px; gap: 56px; }
  .rnw-all-rooms__heading { width: calc(100% - 32px); max-width: 400px; }
  .rnw-all-rooms__en { font-size: 12px; }
  .rnw-all-rooms__title { font-size: 24px; }
  .rnw-all-rooms__panel { padding: 0 16px; gap: 56px; }
}

@media (min-width: 1024px) {
  .rnw-search-hero__decoration {
    position: absolute;
    z-index: 1;
    display: block;
    inset: auto 0 1.5px;
    width: 100%;
    height: auto;
    aspect-ratio: 1440 / 184;
    background: url("../img/room-search/rnw-search-hero-pink.svg") center / contain no-repeat;
    pointer-events: none;
  }
  .rnw-facility-card {
    container-type: inline-size;
    container-name: search-card;
    align-items: start;
    align-content: start;
    min-height: 0;
  }
  .rnw-facility-card__media { grid-row: 1 / 5; }
  .rnw-facility-card__photo { width: 100%; height: auto; aspect-ratio: 200 / 240; }
  .rnw-facility-card__title { height: auto; }
  .rnw-facility-card__meta { grid-template-columns: minmax(0, 1fr); gap: 8px; }
  .rnw-facility-card__info {
    grid-column: 2;
    margin-top: 12px;
    padding: 12px 24px;
  }
  .rnw-facility-card__info-item {
    grid-template-columns: 60px minmax(0, 1fr);
    column-gap: 12px;
    border-bottom-color: var(--rnw-search-blue);
  }
  .rnw-facility-card__key { font-size: 12px; font-weight: 700; white-space: nowrap; }
  .rnw-facility-card__value { font-size: 14px; }
  .rnw-facility-card__actions {
    grid-column: 2;
    height: auto;
    margin-top: 16px;
  }
  .rnw-facility-card__button { min-width: 0; }
  .rnw-search-results__count { font-size: 24px; }
  .rnw-search-results__count span { font-size: 33px; }
}

/* Keep full-size labels when the right column cannot hold two buttons. */
@container search-card (max-width: 743px) {
  .rnw-facility-card__actions { grid-template-columns: minmax(0, 1fr); gap: 10px; }
}

@media (min-width: 1200px) {
  .rnw-search-results { padding-right: 80px; }
}
