/* 実績紹介用の静的な宿泊日選択画面 */
.stay-screen { max-width: 330px; margin: 0 auto; padding: 16px 12px 26px; box-sizing: border-box; background: #fff; border: 1px solid #e5e5e5; color: #111; font-family: 'Noto Sans JP', sans-serif; font-size: 12px; line-height: 1.5; text-align: left; letter-spacing: 0; }
.stay-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 36px; }
.stay-header > span { color: #246335; font-size: 13px; font-weight: 700; letter-spacing: 1px; }
.stay-header i { width: 20px; height: 12px; border-top: 1px solid #111; border-bottom: 1px solid #111; position: relative; }
.stay-header i::after { content: ''; position: absolute; top: 5px; left: 0; right: 0; border-top: 1px solid #111; }
.stay-title { text-align: center; font-size: 20px; font-weight: 700; letter-spacing: 1px; margin: 0 0 40px; }
.stay-title::after { content: ''; display: block; width: 54px; height: 3px; margin: 9px auto 0; background: #467950; }
.stay-screen .stay-lead { text-align: center; margin: 0 0 26px; font-size: 15px; font-weight: 700; }
.stay-month { display: flex; align-items: center; justify-content: space-between; margin: 0 8px 18px; font-size: 17px; }
.stay-month > span { color: #ccc; font-size: 25px; font-weight: 400; }
.stay-calendar { display: grid; grid-template-columns: repeat(7,minmax(0,1fr)); gap: 2px; }
.stay-weekday { color: #888; font-size: 10px; font-weight: 700; text-align: center; padding-bottom: 6px; }
.stay-day { display: flex; flex-direction: column; justify-content: center; align-items: center; min-height: 40px; border-radius: 3px; background: #f6f6f6; font-size: 15px; line-height: 1.2; }
.stay-day--muted { background: #fff; color: #d4d4d4; }
.stay-status { display: block; font-size: 9px; line-height: 1; }
.stay-status--open { color: #467950; }
.stay-status--limited { color: #e05073; }
.stay-day--selected { background: #467950; border-radius: 50%; color: #fff; }
.stay-day--middle { background: #467950; }
.stay-day--selected small { color: #fff; }
.stay-original-fields { margin-top: 14px; }
.stay-original-fields > div { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; }
.stay-original-fields b { font-size: 11px; white-space: nowrap; }
.stay-original-fields span { flex: 1; border: 1px solid #d8d8d8; border-radius: 2px; padding: 12px 10px; font-size: 14px; color: #ccc; letter-spacing: 1px; }
.stay-cta { width: fit-content; max-width: 100%; margin: 28px auto 0; padding: 14px 26px; border: 1px solid #33673e; border-radius: 2px; background: #467950; color: #fff; font-size: 13px; font-weight: 700; text-align: center; box-sizing: border-box; }
.stay-screen--after .stay-header { margin-bottom: 20px; }
.stay-progress { display: grid; grid-template-columns: repeat(5,minmax(0,1fr)); gap: 3px; margin: 0 -5px 36px; }
.stay-progress span { display: flex; align-items: center; justify-content: center; text-align: center; padding-right: 5px; height: 48px; background: #d7d7d7; color: #fff; clip-path: polygon(0 0,83% 0,100% 50%,83% 100%,0 100%); font-size: 10px; }
.stay-progress span:first-child { background: #3f6848; }
.stay-screen--after .stay-title { margin-bottom: 24px; }
.stay-screen--after .stay-lead { font-size: 14px; margin-bottom: 12px; }
.stay-conditions { margin-bottom: 20px; }
.stay-people { display: grid; grid-template-columns: 28% 72%; border: 1px solid #cdbfbe; border-radius: 3px; padding: 7px 8px; }
.stay-conditions b { display: block; font-size: 11px; font-weight: 700; }
.stay-conditions span { display: block; font-size: 12px; white-space: nowrap; }
.stay-people > div + div { padding-left: 8px; border-left: 1px solid #d9d1d1; }
.stay-date-fields { display: grid; grid-template-columns: 1.8fr 1fr; gap: 16px; margin-top: 10px; }
.stay-date-fields > div { border: 1px solid #cdbfbe; border-radius: 3px; padding: 6px 3px; text-align: center; }
.stay-date-fields span { font-size: 11px; margin-top: 3px; }
.stay-legend { display: flex; justify-content: center; gap: 10px; margin: 18px 0 24px; font-size: 9px; white-space: nowrap; }
.stay-legend i { color: #467950; font-style: normal; }
.stay-legend span:nth-child(2) i { color: #e05073; }
.stay-nearby > b { display: block; margin-bottom: 10px; font-size: 12px; }
.stay-screen .stay-nearby-navigation { position: relative; padding: 0 11px; }
.stay-screen .stay-nearby-navigation::before,
.stay-screen .stay-nearby-navigation::after { content: ''; position: absolute; top: 50%; width: 6px; height: 6px; border-top: 1.5px solid #343731; border-right: 1.5px solid #343731; }
.stay-screen .stay-nearby-navigation::before { left: 2px; transform: translateY(-50%) rotate(-135deg); }
.stay-screen .stay-nearby-navigation::after { right: 2px; transform: translateY(-50%) rotate(45deg); }
.stay-nearby-cards { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 7px; }
.stay-nearby-cards > div { border: 1px solid #d8d8d8; border-radius: 2px; padding: 8px 2px; text-align: center; font-size: 11px; line-height: 1.8; }
.stay-nearby-cards > .is-current { border-color: #467950; }
.stay-nearby-cards span { display: block; }
@media (max-width: 360px) { .stay-screen { padding-left: 8px; padding-right: 8px; } .stay-legend { gap: 6px; font-size: 8px; } .stay-conditions span { font-size: 10px; } .stay-date-fields { gap: 8px; } .stay-date-fields span { font-size: 10px; } }

/* 支給アイコン：予約条件の表示 */
.stay-conditions .stay-field-value { display: flex; align-items: center; justify-content: center; gap: 4px; }
.stay-screen .stay-field-icon { display: inline-block; flex: 0 0 auto; width: 17px; height: 17px; object-fit: contain; }
.stay-screen .stay-field-icon--arrow { width: 10px; height: 7px; margin-left: 2px; }
.stay-date-fields .stay-field-value { gap: 2px; }
@media (max-width: 360px) {
 .stay-screen .stay-field-icon { width: 13px; height: 13px; }
 .stay-screen .stay-field-icon--arrow { width: 8px; height: 6px; }
 .stay-conditions .stay-field-value { gap: 2px; }
}

/* 宿泊人数の操作とモーダル */
.stay-guest-trigger { display: block; width: 100%; text-align: left; border-radius: 2px; }
.stay-guest-trigger:hover { background: #f2f7f2; }
.stay-guest-trigger:focus-visible, .stay-guest-dialog button:focus-visible { outline: 2px solid #467950; outline-offset: 3px; }
body.stay-guests-open { overflow: hidden; }
.stay-guest-dialog { position: fixed; inset: 0; margin: auto; width: min(600px, calc(100% - 32px)); max-height: calc(100dvh - 32px); overflow-y: auto; padding: 60px 44px 64px; border: 0; border-radius: 8px; background: #fff; color: #111; font-family: 'Noto Sans JP', sans-serif; text-align: left; }
.stay-guest-dialog::backdrop { background: rgb(0 0 0 / 35%); }
.stay-guest-dialog h2 { margin: 0 0 32px; font-size: 28px; font-weight: 700; }
.stay-guest-close { position: absolute; top: 12px; right: 16px; width: 32px; height: 32px; font-size: 26px; color: #555; }
.stay-guest-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 28px; font-size: 21px; }
.stay-guest-counter { display: flex; align-items: center; gap: 16px; flex-shrink: 0; }
.stay-guest-counter button { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: #f6f6f6; font-size: 32px; color: #343731; line-height: 1; }
.stay-guest-counter button img { display: block; width: 26px; height: auto; }
.stay-guest-counter button:disabled img { opacity: .35; }
.stay-guest-counter output { min-width: 28px; text-align: center; font-size: 26px; }
.stay-guest-note { margin: 18px 0 0; color: #e85078; font-size: 19px; font-weight: 700; line-height: 1.7; }
.stay-guest-confirm { display: block; margin: 60px auto 0; padding: 22px 48px; background: #4b7d55; border-radius: 4px; color: #fff; font-size: 24px; font-weight: 700; }
@media (max-width: 640px) {
 .stay-guest-dialog { padding: 40px 20px; }
 .stay-guest-dialog h2 { font-size: 23px; }
 .stay-guest-row { font-size: 15px; gap: 8px; }
 .stay-guest-counter { gap: 8px; }
 .stay-guest-counter button { width: 36px; height: 36px; font-size: 26px; }
 .stay-guest-counter button img { width: 20px; }
 .stay-guest-counter output { min-width: 20px; font-size: 22px; }
 .stay-guest-note { font-size: 15px; }
 .stay-guest-confirm { margin-top: 36px; padding: 16px 36px; font-size: 20px; }
}
