/* 20260730 Sec01-07 SP adjustment implementation v1.0 */
/* 20260731 Sec04-06 SP visual refinement v1.4 */
/* ==========================================================================
   Zero Next One BASE NIIKAPPU
   top-sec05.css
   Section 05 smartphone comp override
   --------------------------------------------------------------------------
   Section 05 / Stay & Rest
   - Full background image
   - HTML text / cards / CTA
   - Smartphone comp first
   - Phase 1 typography refinement
   ========================================================================== */

@media (max-width: 767px) {
  .page-top .p-stay {
    position: relative;
    width: 100%;
    min-height: max(100svh, 177.78vw);
    min-height: max(100dvh, 177.78vw);
    padding: 0 0 56px;
    color: #1f1c16;
    background: #efe4cf;
    overflow: hidden;
    isolation: isolate;
  }

  .page-top .p-stay::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background-image: url("../img/top/sec05/sec05_bg_room_sp.png");
    background-repeat: no-repeat;
    background-size: 100% 100%;
    background-position: center top;
  }

  .page-top .p-stay__bg,
  .page-top .p-stay__decor,
  .page-top .p-stay__layout,
  .page-top .p-stay__window-shadow,
  .page-top .p-stay__lamp-light {
    display: none !important;
  }

  .page-top .p-stay__inner {
    position: relative;
    z-index: 2;
    width: 100%;
    margin: 0;
    padding: clamp(76px, 19vw, 94px) 34px 0;
  }

  .page-top .p-stay__heading {
    position: relative;
    isolation: isolate;
    width: min(100%, 302px);
    margin: 0;
  }

  .page-top .p-stay__heading::before {
    content: "";
    position: absolute;
    left: -18px;
    top: -20px;
    z-index: -1;
    width: min(116%, 340px);
    height: calc(100% + 34px);
    pointer-events: none;
    background:
      radial-gradient(
        ellipse at 34% 36%,
        rgba(244, 235, 216, 0.78) 0%,
        rgba(244, 235, 216, 0.54) 48%,
        rgba(244, 235, 216, 0.18) 72%,
        rgba(244, 235, 216, 0) 100%
      );
    filter: blur(2.3px);
  }

  .page-top .p-stay__kicker {
    position: relative;
    margin: 0 0 clamp(16px, 4vw, 21px);
    color: #171511;
    font-family: var(--font-label);
    font-size: clamp(0.72rem, 2.84vw, 0.84rem);
    font-weight: 800;
    line-height: 1;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    text-shadow:
      0 1px 6px rgba(244, 235, 216, 0.78),
      0 0 12px rgba(244, 235, 216, 0.36);
  }

  .page-top .p-stay__kicker::after {
    content: "";
    display: block;
    width: 54px;
    height: 1px;
    margin-top: 11px;
    background: currentColor;
    opacity: 0.62;
  }

  .page-top .p-stay__title {
    margin: 0;
    color: #15273d;
    font-family: var(--font-heading);
    font-size: clamp(2.06rem, 8.55vw, 2.62rem);
    font-weight: 700;
    line-height: 1.31;
    letter-spacing: 0.07em;
    text-shadow:
      0 2px 10px rgba(244, 235, 216, 0.48),
      0 0 18px rgba(244, 235, 216, 0.24);
  }

  .page-top .p-stay__title span {
    display: inline-block;
    white-space: nowrap;
  }

  .page-top .p-stay__lead {
    margin: 0;
    color: #16140f;
    font-family: var(--font-body);
    font-size: clamp(0.8rem, 3.12vw, 0.94rem);
    font-weight: 500;
    line-height: 1.78;
    letter-spacing: 0.034em;
    text-shadow:
      0 1px 7px rgba(244, 235, 216, 0.68),
      0 0 12px rgba(244, 235, 216, 0.28);
  }

  .page-top .p-stay__lead--first {
    margin-top: clamp(17px, 4.1vw, 22px);
  }

  .page-top .p-stay__lead--second {
    margin-top: clamp(13px, 3.3vw, 18px);
  }

  .page-top .p-stay__cards {
    position: relative;
    display: grid;
    grid-auto-rows: 1fr;
    gap: 9px;
    width: calc(100% + 10px);
    max-width: none;
    margin: clamp(24px, 5.8vw, 32px) 0 0 -10px;
  }

  .page-top .p-stay-card {
    --stay-thumb-expand-left: clamp(14px, 4.2vw, 18px);
    position: relative;
    display: grid;
    height: 100%;
    grid-template-columns: minmax(0, 1fr) minmax(148px, 45%);
    align-items: stretch;
    gap: 3px;
    min-height: 108px;
    padding: 12px;
    border: 1px solid rgba(74, 55, 32, 0.105);
    border-radius: 14px;
    background:
      linear-gradient(180deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0)),
      rgba(247, 239, 221, 0.91);
    box-shadow:
      0 7px 16px rgba(42, 32, 18, 0.075),
      inset 0 1px 0 rgba(255, 255, 255, 0.42);
    overflow: hidden;
  }

  .page-top .p-stay-card--group {
    min-height: 108px;
  }

  .page-top .p-stay-card__body {
    align-self: center;
    min-width: 0;
  }

  .page-top .p-stay-card__head {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0 0 5px;
  }

  .page-top .p-stay-card__num {
    color: #43513d;
    font-family: var(--font-label);
    font-size: clamp(1.04rem, 4.12vw, 1.24rem);
    font-weight: 800;
    line-height: 1;
    letter-spacing: 0.075em;
  }

  .page-top .p-stay-card__icon,
  .page-top .p-stay-card__icon picture,
  .page-top .p-stay-card__icon img {
    display: block;
    width: 19px;
    height: 19px;
  }

  .page-top .p-stay-card__icon img {
    object-fit: contain;
  }

  .page-top .p-stay-card__title {
    margin: 0;
    color: #1f1c16;
    font-family: var(--font-ui);
    font-size: clamp(0.92rem, 3.62vw, 1.08rem);
    font-weight: 700;
    line-height: 1.36;
    letter-spacing: 0.028em;
  }

  .page-top .p-stay-card--group .p-stay-card__title {
    line-height: 1.2;
  }

  .page-top .p-stay-card__title::after {
    content: "";
    display: block;
    width: 100%;
    height: 1px;
    margin: 5px 0 6px;
    background: rgba(65, 50, 32, 0.18);
  }

  .page-top .p-stay-card__text {
    margin: 0;
    color: #27231b;
    font-family: var(--font-ui);
    font-size: clamp(0.64rem, 2.54vw, 0.76rem);
    font-weight: 500;
    line-height: 1.5;
    letter-spacing: 0.016em;
  }

  .page-top .p-stay-card--group .p-stay-card__text {
    line-height: 1.5;
  }

  .page-top .p-stay-card__thumb {
    align-self: stretch;
    justify-self: end;
    width: calc(100% + var(--stay-thumb-expand-left));
    height: auto;
    min-width: 0;
    min-height: 88px;
    margin-left: calc(var(--stay-thumb-expand-left) * -1);
    border-radius: 8px;
    overflow: hidden;
    background: #ded1b4;
  }

  .page-top .p-stay-card__thumb picture,
  .page-top .p-stay-card__thumb-img {
    display: block;
    width: 100%;
    height: 100%;
  }

  .page-top .p-stay-card__thumb-img {
    aspect-ratio: auto;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
  }

  .page-top .p-stay-card--room .p-stay-card__thumb-img {
    object-position: center center;
  }

  .page-top .p-stay-card--meal .p-stay-card__thumb-img {
    object-position: center center;
  }

  .page-top .p-stay-card--group .p-stay-card__thumb-img {
    object-position: center center;
  }

  .page-top .p-stay__actions {
    display: grid;
    justify-items: center;
    gap: 11px;
    width: min(100%, 326px);
    margin: clamp(18px, 4.5vw, 25px) auto 0;
  }

  .page-top .p-stay__primary-button {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 24px;
    align-items: center;
    column-gap: 10px;
    width: 100%;
    min-height: 52px;
    padding: 0 23px;
    border-radius: 999px;
    color: #fffaf0;
    background:
      linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0)),
      #243a2e;
    box-shadow: 0 8px 16px rgba(32, 29, 19, 0.15);
    font-family: var(--font-ui);
    font-size: clamp(0.96rem, 3.76vw, 1.1rem);
    font-weight: 700;
    line-height: 1;
    letter-spacing: 0.065em;
    text-decoration: none;
  }

  .page-top .p-stay__primary-button span:first-child {
    justify-self: center;
    transform: translateX(9px);
    white-space: nowrap;
  }

  .page-top .p-stay__primary-button span[aria-hidden="true"] {
    justify-self: end;
    font-size: 1.18em;
    line-height: 1;
  }

  .page-top .p-stay__sub-link {
    position: relative;
    display: inline-grid;
    grid-template-columns: auto auto;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 30px;
    padding: 0 0 5px;
    color: #171511;
    font-family: var(--font-ui);
    font-size: clamp(0.82rem, 3.22vw, 0.96rem);
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: 0.055em;
    text-decoration: none;
  }

  .page-top .p-stay__sub-link::after {
    content: "";
    position: absolute;
    left: 0;
    right: 32px;
    bottom: 0;
    height: 1px;
    background: #8f7d30;
  }

  .page-top .p-stay__sub-link span[aria-hidden="true"] {
    display: grid;
    place-items: center;
    width: 27px;
    height: 27px;
    border: 1px solid rgba(37, 31, 19, 0.46);
    border-radius: 999px;
    font-size: 1rem;
    line-height: 1;
  }

  @supports not (height: 100dvh) {
    .page-top .p-stay {
      min-height: max(100vh, 177.78vw);
    }
  }
}

@media (max-width: 374px) {
  .page-top .p-stay {
    min-height: max(100svh, 184vw);
    min-height: max(100dvh, 184vw);
  }

  .page-top .p-stay__inner {
    padding-top: 72px;
    padding-left: 28px;
    padding-right: 28px;
  }

  .page-top .p-stay__heading {
    width: min(100%, 282px);
  }

  .page-top .p-stay__title {
    font-size: 1.9rem;
  }

  .page-top .p-stay__lead {
    font-size: 0.74rem;
  }

  .page-top .p-stay__cards {
    width: calc(100% + 8px);
    max-width: none;
    margin-left: -8px;
    margin-right: 0;
    gap: 8px;
  }

  .page-top .p-stay-card {
    --stay-thumb-expand-left: 12px;
    grid-template-columns: minmax(0, 1fr) minmax(126px, 42%);
    align-items: stretch;
    gap: 2px;
    min-height: 102px;
    padding: 10px;
  }

  .page-top .p-stay-card--group {
    min-height: 102px;
  }

  .page-top .p-stay-card__num {
    font-size: 0.98rem;
  }

  .page-top .p-stay-card__icon,
  .page-top .p-stay-card__icon picture,
  .page-top .p-stay-card__icon img {
    width: 18px;
    height: 18px;
  }

  .page-top .p-stay-card__title {
    font-size: 0.82rem;
  }

  .page-top .p-stay-card__text {
    font-size: 0.58rem;
  }

  .page-top .p-stay__primary-button {
    min-height: 48px;
    font-size: 0.88rem;
  }

  .page-top .p-stay__sub-link {
    font-size: 0.76rem;
  }

  @supports not (height: 100dvh) {
    .page-top .p-stay {
      min-height: max(100vh, 184vw);
    }
  }
}

/* --------------------------------------------------------------------------
   Section 05 / PC v3.1 - Quiet Recovery refinement
   --------------------------------------------------------------------------
   - Preserve the completed smartphone layout above.
   - Keep the existing room background and content assets.
   - Treat the room as the primary visual; meal and group stay as supporting notes.
   - Refine the right-side supporting notes so they read as editorial columns, not a sidebar.
   - Remove the equal-card / booking-site appearance on tablet and desktop.
   - Keep Header, Footer, main.css, PHP structure, and JavaScript untouched.
   -------------------------------------------------------------------------- */

@media (min-width: 768px) {
  .page-top .p-stay {
    --sec05-paper: var(--color-paper-warm, #f6eedc);
    --sec05-paper-base: var(--color-paper, #efe4cf);
    --sec05-ink: var(--color-ink, #1f1c16);
    --sec05-heading: var(--color-blue-niikappu, #15273d);
    --sec05-line: rgba(74, 55, 32, 0.17);
    --sec05-route: var(--color-forest-deep, #243a2e);
    --sec05-accent: var(--color-amber-deep, #7a471d);
    --sec05-scene-height: clamp(570px, 66vw, 680px);
    --sec05-paper-start: clamp(480px, 56vw, 580px);

    position: relative;
    width: 100%;
    min-height: 0;
    padding: 0 0 clamp(78px, 8vw, 104px);
    color: var(--sec05-ink);
    background:
      linear-gradient(
        180deg,
        var(--sec05-paper-base) 0%,
        var(--sec05-paper) 54%,
        var(--sec05-paper-base) 100%
      );
    overflow: hidden;
    overflow: clip;
    isolation: isolate;
  }

  .page-top .p-stay::before {
    content: "";
    position: absolute;
    inset: 0 0 auto;
    z-index: 0;
    height: var(--sec05-scene-height);
    pointer-events: none;
    background:
      linear-gradient(
        90deg,
        rgba(246, 238, 220, 0.95) 0%,
        rgba(246, 238, 220, 0.81) 31%,
        rgba(246, 238, 220, 0.34) 58%,
        rgba(246, 238, 220, 0.055) 100%
      ),
      linear-gradient(
        180deg,
        rgba(246, 238, 220, 0.035) 0%,
        rgba(246, 238, 220, 0.035) 53%,
        rgba(246, 238, 220, 0.66) 80%,
        rgba(246, 238, 220, 0.96) 100%
      ),
      url("../img/top/sec05/sec05_bg_room_pc.png");
    background-repeat: no-repeat;
    background-size: 100% 100%, 100% 100%, cover;
    background-position: center top, center top, 58% top;
  }

  .page-top .p-stay::after {
    content: "";
    position: absolute;
    inset: var(--sec05-paper-start) 0 0;
    z-index: 0;
    pointer-events: none;
    background:
      linear-gradient(
        180deg,
        rgba(246, 238, 220, 0) 0%,
        rgba(246, 238, 220, 0.72) 9%,
        rgba(246, 238, 220, 0.96) 24%,
        rgba(239, 228, 207, 0.98) 56%,
        var(--sec05-paper-base) 100%
      );
  }

  .page-top .p-stay__bg,
  .page-top .p-stay__decor,
  .page-top .p-stay__layout,
  .page-top .p-stay__window-shadow,
  .page-top .p-stay__lamp-light {
    display: none !important;
  }

  .page-top .p-stay__inner {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas:
      "heading"
      "cards"
      "actions";
    width: min(var(--pc-visual-max, 1240px), 100%);
    margin: 0 auto;
    padding: clamp(96px, 10vw, 120px) var(--side-padding) 0;
  }

  .page-top .p-stay__heading {
    position: relative;
    z-index: 2;
    grid-area: heading;
    isolation: isolate;
    width: min(100%, 470px);
    margin: 0;
  }

  .page-top .p-stay__heading::before {
    content: "";
    position: absolute;
    top: -34px;
    left: -34px;
    z-index: -1;
    width: min(128%, 600px);
    height: calc(100% + 70px);
    pointer-events: none;
    background:
      radial-gradient(
        ellipse at 35% 41%,
        rgba(255, 248, 232, 0.84) 0%,
        rgba(247, 239, 221, 0.58) 48%,
        rgba(247, 239, 221, 0.2) 72%,
        rgba(247, 239, 221, 0) 100%
      );
    filter: blur(1.2px);
  }

  .page-top .p-stay__kicker {
    position: relative;
    margin: 0 0 clamp(24px, 3vw, 32px);
    color: rgba(31, 28, 22, 0.74);
    font-family: var(--font-label);
    font-size: clamp(0.72rem, 0.9vw, 0.8rem);
    font-weight: 800;
    line-height: 1;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    text-shadow: none;
  }

  .page-top .p-stay__kicker::after {
    content: "";
    display: block;
    width: clamp(56px, 6vw, 68px);
    height: 1px;
    margin-top: 13px;
    background:
      linear-gradient(
        90deg,
        currentColor,
        rgba(122, 71, 29, 0.46),
        rgba(122, 71, 29, 0)
      );
    opacity: 0.72;
  }

  .page-top .p-stay__title {
    margin: 0;
    color: var(--sec05-heading);
    font-family: var(--font-heading);
    font-size: clamp(2.62rem, 5.5vw, 3.5rem);
    font-weight: 700;
    line-height: 1.29;
    letter-spacing: 0.04em;
    text-shadow: 0 2px 12px rgba(247, 239, 221, 0.38);
  }

  .page-top .p-stay__title span {
    display: inline-block;
    white-space: nowrap;
  }

  .page-top .p-stay__lead {
    width: min(100%, 44ch);
    margin: 0;
    color: var(--sec05-ink);
    font-family: var(--font-body);
    font-size: clamp(0.94rem, 1.18vw, 1.04rem);
    font-weight: 500;
    line-height: 1.96;
    letter-spacing: 0.03em;
    text-shadow: 0 1px 8px rgba(247, 239, 221, 0.34);
  }

  .page-top .p-stay__lead br {
    display: none;
  }

  .page-top .p-stay__lead--first {
    margin-top: clamp(24px, 3vw, 32px);
  }

  .page-top .p-stay__lead--second {
    margin-top: clamp(14px, 2vw, 20px);
    color: rgba(31, 28, 22, 0.8);
  }

  .page-top .p-stay__cards {
    position: relative;
    z-index: 2;
    grid-area: cards;
    isolation: isolate;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-areas:
      "room room"
      "meal group";
    gap: 0;
    width: 100%;
    margin: clamp(84px, 10vw, 116px) auto 0;
    border-top: 1px solid var(--sec05-line);
    border-bottom: 1px solid var(--sec05-line);
    background:
      linear-gradient(180deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0)),
      rgba(247, 239, 221, 0.42);
  }

  .page-top .p-stay__cards::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    background:
      repeating-linear-gradient(
        8deg,
        rgba(74, 55, 32, 0.012) 0,
        rgba(74, 55, 32, 0.012) 1px,
        transparent 1px,
        transparent 6px
      );
    opacity: 0.42;
  }

  .page-top .p-stay-card {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: auto 1fr;
    grid-template-areas:
      "thumb"
      "body";
    min-width: 0;
    min-height: 100%;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    overflow: hidden;
  }

  .page-top .p-stay-card--room {
    grid-area: room;
    grid-template-columns: minmax(0, 1.3fr) minmax(250px, 0.7fr);
    grid-template-rows: minmax(310px, 1fr);
    grid-template-areas: "thumb body";
    border-bottom: 1px solid var(--sec05-line);
  }

  .page-top .p-stay-card--meal {
    grid-area: meal;
    border-right: 1px solid var(--sec05-line);
  }

  .page-top .p-stay-card--group {
    grid-area: group;
  }

  .page-top .p-stay-card__body {
    grid-area: body;
    display: flex;
    flex-direction: column;
    min-width: 0;
    padding: clamp(22px, 3.4vw, 32px);
    background: rgba(255, 250, 240, 0.12);
  }

  .page-top .p-stay-card--room .p-stay-card__body {
    justify-content: center;
    padding: clamp(25px, 3.5vw, 35px);
  }

  .page-top .p-stay-card__head {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0 0 14px;
    color: var(--sec05-route);
  }

  .page-top .p-stay-card__num {
    color: var(--sec05-accent);
    font-family: var(--font-label);
    font-size: clamp(0.88rem, 1.2vw, 1.06rem);
    font-weight: 700;
    line-height: 1;
    letter-spacing: 0.1em;
  }

  .page-top .p-stay-card__icon,
  .page-top .p-stay-card__icon picture,
  .page-top .p-stay-card__icon img {
    display: block;
    width: clamp(21px, 2.4vw, 26px);
    height: clamp(21px, 2.4vw, 26px);
  }

  .page-top .p-stay-card__icon img {
    object-fit: contain;
  }

  .page-top .p-stay-card__title {
    margin: 0;
    color: var(--sec05-ink);
    font-family: var(--font-ui);
    font-size: clamp(1.06rem, 1.7vw, 1.3rem);
    font-weight: 700;
    line-height: 1.45;
    letter-spacing: 0.02em;
  }

  .page-top .p-stay-card--room .p-stay-card__title {
    font-size: clamp(1.24rem, 2vw, 1.55rem);
  }

  .page-top .p-stay-card__title br,
  .page-top .p-stay-card__text br {
    display: none;
  }

  .page-top .p-stay-card__title::after {
    content: "";
    display: block;
    width: clamp(46px, 5vw, 64px);
    height: 1px;
    margin: 14px 0 14px;
    background:
      linear-gradient(
        90deg,
        rgba(122, 71, 29, 0.54),
        rgba(74, 55, 32, 0.14)
      );
  }

  .page-top .p-stay-card__text {
    max-width: 38ch;
    margin: 0;
    color: rgba(31, 28, 22, 0.82);
    font-family: var(--font-ui);
    font-size: clamp(0.84rem, 1.12vw, 0.96rem);
    font-weight: 500;
    line-height: 1.82;
    letter-spacing: 0.012em;
  }

  .page-top .p-stay-card__thumb {
    position: relative;
    grid-area: thumb;
    min-width: 0;
    min-height: 165px;
    margin: 0;
    border: 0;
    border-radius: 0;
    overflow: hidden;
    background: #ded1b4;
  }

  .page-top .p-stay-card__thumb::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    border: 1px solid rgba(255, 250, 240, 0.16);
    box-shadow: inset 0 0 0 1px rgba(74, 55, 32, 0.04);
  }

  .page-top .p-stay-card__thumb picture,
  .page-top .p-stay-card__thumb-img {
    display: block;
    width: 100%;
    height: 100%;
  }

  .page-top .p-stay-card__thumb-img {
    object-fit: cover;
    object-position: center center;
    transition: transform 0.45s var(--ease-out-craft);
  }

  .page-top .p-stay-card--room .p-stay-card__thumb {
    min-height: clamp(310px, 40vw, 390px);
  }

  .page-top .p-stay-card--room .p-stay-card__thumb-img {
    object-position: center center;
  }

  .page-top .p-stay-card--meal .p-stay-card__thumb,
  .page-top .p-stay-card--group .p-stay-card__thumb {
    aspect-ratio: 3 / 2;
    min-height: 0;
  }

  .page-top .p-stay-card--meal .p-stay-card__thumb-img,
  .page-top .p-stay-card--group .p-stay-card__thumb-img {
    object-position: center center;
  }

  .page-top .p-stay__actions {
    position: relative;
    z-index: 2;
    grid-area: actions;
    display: grid;
    justify-items: start;
    gap: 12px;
    justify-self: end;
    width: min(100%, 390px);
    margin: clamp(30px, 4.2vw, 46px) 0 0;
  }

  .page-top .p-stay__primary-button {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    column-gap: 18px;
    width: 100%;
    min-height: 48px;
    padding: 7px 0 9px;
    border: 0;
    border-bottom: 1px solid rgba(36, 58, 46, 0.84);
    border-radius: 0;
    color: var(--sec05-route);
    background: transparent;
    box-shadow: none;
    font-family: var(--font-ui);
    font-size: clamp(0.96rem, 1.23vw, 1.06rem);
    font-weight: 700;
    line-height: 1.4;
    letter-spacing: 0.045em;
    text-decoration: none;
    transition:
      color 0.3s var(--ease-out-craft),
      border-color 0.3s var(--ease-out-craft);
  }

  .page-top .p-stay__primary-button span:first-child {
    justify-self: start;
    transform: none;
    white-space: normal;
  }

  .page-top .p-stay__primary-button span[aria-hidden="true"] {
    justify-self: end;
    color: var(--sec05-accent);
    font-size: 1.1em;
    line-height: 1;
    transition: transform 0.3s var(--ease-out-craft);
  }

  .page-top .p-stay__sub-link {
    position: relative;
    display: inline-grid;
    grid-template-columns: auto auto;
    align-items: center;
    justify-content: start;
    gap: 10px;
    min-height: 44px;
    padding: 6px 0 8px;
    color: rgba(31, 28, 22, 0.76);
    font-family: var(--font-ui);
    font-size: clamp(0.88rem, 1.08vw, 0.96rem);
    font-weight: 600;
    line-height: 1.4;
    letter-spacing: 0.04em;
    text-decoration: none;
    transition: color 0.3s var(--ease-out-craft);
  }

  .page-top .p-stay__sub-link::after {
    content: "";
    position: absolute;
    right: 28px;
    bottom: 5px;
    left: 0;
    height: 1px;
    background: rgba(122, 71, 29, 0.64);
    transform: scaleX(0.82);
    transform-origin: left center;
    transition:
      right 0.3s var(--ease-out-craft),
      transform 0.3s var(--ease-out-craft);
  }

  .page-top .p-stay__sub-link span[aria-hidden="true"] {
    display: inline-block;
    width: auto;
    height: auto;
    border: 0;
    border-radius: 0;
    color: var(--sec05-accent);
    font-size: 1.02em;
    line-height: 1;
    transition: transform 0.3s var(--ease-out-craft);
  }

  .page-top .p-stay__primary-button:focus-visible,
  .page-top .p-stay__sub-link:focus-visible {
    outline: 2px solid var(--color-amber, #b68b16);
    outline-offset: 5px;
  }
}

@media (min-width: 1024px) {
  .page-top .p-stay {
    --sec05-scene-height: clamp(610px, 58vw, 720px);
    --sec05-paper-start: clamp(515px, 49vw, 610px);
    padding-bottom: clamp(84px, 7vw, 110px);
  }

  .page-top .p-stay::before {
    background-position: center top, center top, 55% top;
  }

  .page-top .p-stay__inner {
    width: min(var(--pc-visual-max, 1240px), 100%);
    padding-top: clamp(108px, 9vw, 134px);
  }

  .page-top .p-stay__heading {
    width: min(100%, 500px);
  }

  .page-top .p-stay__title {
    font-size: clamp(3rem, 4.6vw, 3.85rem);
  }

  .page-top .p-stay__cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: auto auto;
    grid-template-areas:
      "room room"
      "meal group";
    margin-top: clamp(78px, 7.2vw, 102px);
  }

  .page-top .p-stay-card--room {
    grid-template-columns: minmax(0, 1.34fr) minmax(280px, 0.66fr);
    grid-template-rows: minmax(300px, auto);
    grid-template-areas: "thumb body";
    border-right: 0;
    border-bottom: 1px solid var(--sec05-line);
  }

  .page-top .p-stay-card--meal,
  .page-top .p-stay-card--group {
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: auto 1fr;
    grid-template-areas:
      "thumb"
      "body";
    align-items: stretch;
  }

  .page-top .p-stay-card--meal {
    border-right: 1px solid var(--sec05-line);
    border-bottom: 0;
  }

  .page-top .p-stay-card__body {
    padding: clamp(22px, 2.5vw, 30px);
  }

  .page-top .p-stay-card--room .p-stay-card__body {
    justify-content: center;
    padding: clamp(25px, 2.7vw, 34px);
  }

  .page-top .p-stay-card--room .p-stay-card__thumb {
    min-height: clamp(300px, 29vw, 380px);
  }

  .page-top .p-stay-card--meal .p-stay-card__thumb,
  .page-top .p-stay-card--group .p-stay-card__thumb {
    aspect-ratio: 16 / 9;
    min-height: 0;
  }

  .page-top .p-stay-card--meal .p-stay-card__body,
  .page-top .p-stay-card--group .p-stay-card__body {
    padding: clamp(20px, 2.1vw, 26px);
  }

  .page-top .p-stay-card--meal .p-stay-card__title,
  .page-top .p-stay-card--group .p-stay-card__title {
    font-size: clamp(1.08rem, 1.38vw, 1.24rem);
  }

  .page-top .p-stay-card--meal .p-stay-card__text,
  .page-top .p-stay-card--group .p-stay-card__text {
    font-size: clamp(0.84rem, 0.98vw, 0.94rem);
    line-height: 1.72;
  }

  .page-top .p-stay__actions {
    width: min(100%, 410px);
    margin-top: clamp(32px, 3.4vw, 44px);
  }
}

@media (min-width: 1280px) {
  .page-top .p-stay {
    --sec05-scene-height: clamp(650px, 51vw, 740px);
    --sec05-paper-start: clamp(550px, 43vw, 625px);
  }

  .page-top .p-stay::before {
    background-position: center top, center top, 52% top;
  }

  .page-top .p-stay__inner {
    width: min(1280px, calc(100% - 72px));
    padding-right: clamp(0px, 1vw, 12px);
    padding-left: clamp(0px, 1vw, 12px);
  }

  .page-top .p-stay__heading {
    width: min(100%, 520px);
  }

  .page-top .p-stay__cards {
    grid-template-columns: minmax(0, 1.65fr) minmax(390px, 0.9fr);
    grid-template-rows: repeat(2, minmax(315px, auto));
    grid-template-areas:
      "room meal"
      "room group";
    margin-top: clamp(78px, 6.2vw, 96px);
  }

  .page-top .p-stay-card--room {
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: auto 1fr;
    grid-template-areas:
      "thumb"
      "body";
    border-right: 1px solid var(--sec05-line);
    border-bottom: 0;
  }

  .page-top .p-stay-card--meal,
  .page-top .p-stay-card--group {
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: auto 1fr;
    grid-template-areas:
      "thumb"
      "body";
  }

  .page-top .p-stay-card--meal {
    border-right: 0;
    border-bottom: 1px solid var(--sec05-line);
  }

  .page-top .p-stay-card--room .p-stay-card__thumb {
    min-height: clamp(350px, 28vw, 430px);
  }

  .page-top .p-stay-card--room .p-stay-card__body {
    padding: 28px 34px 32px;
  }

  .page-top .p-stay-card--meal .p-stay-card__thumb,
  .page-top .p-stay-card--group .p-stay-card__thumb {
    aspect-ratio: 16 / 9;
    min-height: 0;
  }

  .page-top .p-stay-card--meal .p-stay-card__body,
  .page-top .p-stay-card--group .p-stay-card__body {
    padding: 22px 24px 24px;
  }
}

@media (min-width: 1440px) {
  .page-top .p-stay__title {
    font-size: clamp(3.65rem, 4.45vw, 4.15rem);
  }

  .page-top .p-stay__lead {
    font-size: clamp(1rem, 1.08vw, 1.08rem);
  }

  .page-top .p-stay__cards {
    grid-template-columns: minmax(0, 1.65fr) minmax(420px, 0.9fr);
  }

  .page-top .p-stay-card--meal .p-stay-card__title,
  .page-top .p-stay-card--group .p-stay-card__title {
    font-size: clamp(1.14rem, 1.28vw, 1.32rem);
  }

  .page-top .p-stay-card--meal .p-stay-card__text,
  .page-top .p-stay-card--group .p-stay-card__text {
    font-size: clamp(0.88rem, 0.94vw, 1rem);
  }

  .page-top .p-stay-card--room .p-stay-card__title {
    font-size: clamp(1.4rem, 1.55vw, 1.62rem);
  }

  .page-top .p-stay-card--room .p-stay-card__text {
    font-size: clamp(0.9rem, 0.98vw, 0.98rem);
  }
}

@media (min-width: 1800px) {
  .page-top .p-stay {
    --sec05-scene-height: 760px;
    --sec05-paper-start: 635px;
  }

  .page-top .p-stay__inner {
    width: min(1320px, calc(100% - 160px));
  }

  .page-top .p-stay__cards {
    grid-template-columns: minmax(0, 1.65fr) minmax(440px, 0.9fr);
  }

  .page-top .p-stay-card--room .p-stay-card__thumb {
    min-height: 440px;
  }
}

@media (min-width: 1024px) and (max-height: 820px) {
  .page-top .p-stay {
    --sec05-scene-height: 560px;
    --sec05-paper-start: 470px;
    padding-bottom: 66px;
  }

  .page-top .p-stay__inner {
    padding-top: 92px;
  }

  .page-top .p-stay__heading {
    width: min(100%, 470px);
  }

  .page-top .p-stay__kicker {
    margin-bottom: 22px;
  }

  .page-top .p-stay__title {
    font-size: clamp(2.72rem, 4vw, 3.38rem);
    line-height: 1.24;
  }

  .page-top .p-stay__lead {
    font-size: clamp(0.86rem, 0.94vw, 0.94rem);
    line-height: 1.78;
  }

  .page-top .p-stay__lead--first {
    margin-top: 20px;
  }

  .page-top .p-stay__lead--second {
    margin-top: 11px;
  }

  .page-top .p-stay__cards {
    grid-template-rows: repeat(2, minmax(195px, auto));
    margin-top: 52px;
  }

  .page-top .p-stay-card--room .p-stay-card__thumb {
    min-height: 260px;
  }

  .page-top .p-stay-card--room .p-stay-card__body {
    padding: 22px 28px 24px;
  }

  .page-top .p-stay-card--meal .p-stay-card__body,
  .page-top .p-stay-card--group .p-stay-card__body {
    padding: 18px 20px;
  }

  .page-top .p-stay-card--meal .p-stay-card__thumb,
  .page-top .p-stay-card--group .p-stay-card__thumb {
    aspect-ratio: 2 / 1;
  }

  .page-top .p-stay-card__title {
    font-size: 1rem;
  }

  .page-top .p-stay-card--room .p-stay-card__title {
    font-size: 1.3rem;
  }

  .page-top .p-stay-card__text {
    font-size: 0.78rem;
    line-height: 1.62;
  }

  .page-top .p-stay__actions {
    margin-top: 26px;
  }
}

@media (hover: hover) and (pointer: fine) and (min-width: 1024px) {
  .page-top .p-stay__primary-button:hover {
    color: var(--sec05-heading);
    border-bottom-color: var(--sec05-accent);
  }

  .page-top .p-stay__primary-button:hover span[aria-hidden="true"] {
    transform: translateX(4px);
  }

  .page-top .p-stay__sub-link:hover {
    color: var(--sec05-route);
  }

  .page-top .p-stay__sub-link:hover::after {
    right: 22px;
    transform: scaleX(1);
  }

  .page-top .p-stay__sub-link:hover span[aria-hidden="true"] {
    transform: translateX(3px);
  }
}

@media (prefers-reduced-motion: reduce) and (min-width: 768px) {
  .page-top .p-stay-card__thumb-img,
  .page-top .p-stay__primary-button,
  .page-top .p-stay__primary-button span[aria-hidden="true"],
  .page-top .p-stay__sub-link,
  .page-top .p-stay__sub-link::after,
  .page-top .p-stay__sub-link span[aria-hidden="true"] {
    transition: none !important;
  }
}
