@charset "UTF-8";
/* ==========================================================
   ご入居者様ページ（/residents/）2026-10 作り直し
   residents.css の後に読み込む
   ========================================================== */
.rs-page { --rs-navy: #35579e; --rs-blue: #4ab6ea; --rs-deep: #154595; --rs-pale: #f4f9fc; --rs-line: #dcebf5; }

/* ページ名：右上のロゴと重ならないように（スマホ） */
@media (max-width: 767px) {
	#box_page_ttl h1 { font-size: 2.6rem !important; padding-right: 150px; box-sizing: border-box; white-space: nowrap; }
	#box_page_ttl h1 small.en { display: none !important; }
}

/* 3ページ共通のタブ */
.rs-tabs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; max-width: 1024px; margin: 24px auto 0; padding: 0 24px; box-sizing: border-box; }
.rs-tabs a { display: block; text-align: center; padding: 14px 8px 12px; border: 1px solid var(--rs-line); border-radius: 12px; background: #fff; color: var(--rs-navy); font-size: 1.6rem; font-weight: 500; text-decoration: none; line-height: 1.4; transition: background .15s, color .15s, border-color .15s; }
.rs-tabs a small { display: block; font-size: 1.2rem; font-weight: 400; color: #888; margin-top: 2px; }
.rs-tabs a:hover { border-color: var(--rs-blue); }
.rs-tabs a.on { background: var(--rs-blue); border-color: var(--rs-blue); color: #fff; }
.rs-tabs a.on small { color: rgba(255, 255, 255, .85); }

/* 本文 */
.rs-page #introduction .box_inner { padding-top: 32px; }
.rs-lead { text-align: center; padding: 8px 0 4px; }
.rs-lead h2 { font-size: 2.6rem; color: var(--rs-navy); font-weight: 400; line-height: 1.5; }
.rs-lead p { font-size: 1.5rem; line-height: 1.9; margin-top: 14px; color: #444; }
.rs-lead p b { color: var(--rs-deep); }
.rs-h { font-size: 2.1rem; color: var(--rs-navy); font-weight: 500; margin-top: 56px; padding-left: 14px; border-left: 4px solid var(--rs-blue); line-height: 1.4; scroll-margin-top: 90px; }
.rs-p { font-size: 1.5rem; line-height: 1.9; margin-top: 14px; }
.rs-note { font-size: 1.3rem; color: #777; line-height: 1.7; margin-top: 12px; }
.rs-note.center { text-align: center; }
.rs-note a, .rs-p a, .rs-box a, .rs-flow a, .rs-webstep a { color: var(--rs-deep); text-decoration: underline; }

/* 入口ボタン3つ */
.rs-actions { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 28px; }
.rs-actions a { display: flex; flex-direction: column; align-items: center; gap: 6px; height: 100%; box-sizing: border-box; padding: 22px 12px 20px; background: #fff; border: 1px solid var(--rs-line); border-radius: 16px; text-align: center; text-decoration: none; color: #333; transition: transform .15s, box-shadow .15s, border-color .15s; }
.rs-actions a:hover { transform: translateY(-3px); box-shadow: 0 8px 20px rgba(53, 87, 158, .12); border-color: var(--rs-blue); }
.rs-actions .ic { width: 56px; height: 56px; border-radius: 50%; background: #e3f3fb; color: var(--rs-navy); display: flex; align-items: center; justify-content: center; margin-bottom: 4px; }
.rs-actions .ic svg { width: 28px; height: 28px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.rs-actions b { font-size: 1.7rem; color: var(--rs-deep); font-weight: 500; }
.rs-actions small { font-size: 1.25rem; color: #777; }

/* アプリでできること */
.rs-feat { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 20px; }
.rs-feat li { background: var(--rs-pale); border-radius: 12px; padding: 14px 16px; font-size: 1.35rem; line-height: 1.7; color: #555; }
.rs-feat li b { display: block; font-size: 1.55rem; color: var(--rs-deep); font-weight: 500; }
.rs-store { display: flex; justify-content: center; align-items: center; gap: 12px; margin-top: 24px; }
.rs-store img { height: 48px; width: auto; }
.rs-code { display: flex; flex-direction: column; align-items: center; margin: 28px auto 0; max-width: 360px; border: 2px dashed var(--rs-blue); border-radius: 14px; padding: 14px 16px 12px; background: #fff; }
.rs-code span { font-size: 1.3rem; color: #666; }
.rs-code b { font-family: "Barlow", sans-serif; font-size: 4.6rem; font-weight: 600; color: var(--rs-navy); letter-spacing: .12em; line-height: 1.2; }
.rs-code small { font-size: 1.2rem; color: #888; }

/* 登録の手順 */
.rs-steps { counter-reset: rs; margin-top: 20px; }
.rs-steps > li { position: relative; padding: 18px 18px 18px 64px; border: 1px solid var(--rs-line); border-radius: 14px; background: #fff; margin-top: 12px; }
.rs-steps > li::before { counter-increment: rs; content: counter(rs); position: absolute; left: 16px; top: 16px; width: 34px; height: 34px; border-radius: 50%; background: var(--rs-blue); color: #fff; font-family: "Barlow", sans-serif; font-size: 1.8rem; font-weight: 600; display: flex; align-items: center; justify-content: center; }
.rs-steps h4 { font-size: 1.7rem; color: var(--rs-deep); font-weight: 500; line-height: 1.5; }
.rs-steps p { font-size: 1.45rem; line-height: 1.85; margin-top: 6px; }
.rs-steps b { color: var(--rs-deep); }
.rs-steps figure { margin-top: 12px; }
.rs-steps figure img { width: 100%; max-width: 280px; height: auto; border: 1px solid #eee; border-radius: 10px; }
.rs-flyer { margin: 32px auto 0; max-width: 520px; }
.rs-flyer img { width: 100%; height: auto; border-radius: 10px; box-shadow: 0 4px 16px rgba(0, 0, 0, .08); }

/* 流れ（縦のタイムライン） */
.rs-flow { margin-top: 24px; position: relative; }
.rs-flow > li { display: flex; gap: 16px; position: relative; padding-bottom: 18px; }
.rs-flow > li:not(:last-child)::before { content: ""; position: absolute; left: 19px; top: 40px; bottom: 0; width: 2px; background: #cfe6f3; }
.rs-flow .no { flex: 0 0 40px; width: 40px; height: 40px; border-radius: 50%; background: var(--rs-blue); color: #fff; font-family: "Barlow", sans-serif; font-size: 2rem; font-weight: 600; display: flex; align-items: center; justify-content: center; position: relative; z-index: 1; }
.rs-flow > li:last-child .no { background: var(--rs-navy); }
.rs-flow h4 { font-size: 1.7rem; color: var(--rs-deep); font-weight: 500; line-height: 1.5; padding-top: 7px; }
.rs-flow p { font-size: 1.45rem; line-height: 1.85; margin-top: 4px; }

/* 確認ボックス */
.rs-box { margin-top: 32px; background: #fff8ef; border: 2px solid #f3c68f; border-radius: 14px; padding: 22px 26px; }
.rs-box h3 { font-size: 1.8rem; color: #b5651d; font-weight: 500; }
.rs-box ul { margin-top: 10px; }
.rs-box li { position: relative; padding-left: 1.2em; font-size: 1.45rem; line-height: 1.85; margin-top: 6px; }
.rs-box li::before { content: "・"; position: absolute; left: 0; color: #dd8e26; }
.rs-box ul.ck li { padding-left: 28px; }
.rs-box ul.ck li::before { content: ""; left: 0; top: .35em; width: 16px; height: 16px; border: 2px solid #dd8e26; border-radius: 3px; background: #fff; box-sizing: border-box; }
.rs-box b { color: #8a4b12; }

/* 解約前に確認する3つ */
.rs-check3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 24px; }
.rs-check3 li { background: #fff8ef; border: 2px solid #f3c68f; border-radius: 14px; padding: 16px 16px 14px; font-size: 1.35rem; line-height: 1.75; color: #555; }
.rs-check3 li b { display: block; font-size: 1.65rem; color: #b5651d; font-weight: 500; margin-bottom: 4px; }

/* WEB申し込み */
.rs-web { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 20px; }
.rs-webstep { border: 1px solid var(--rs-line); border-radius: 14px; padding: 20px 20px 16px; background: #fff; }
.rs-webstep .lbl { display: inline-block; font-family: "Barlow", sans-serif; font-size: 1.3rem; font-weight: 600; color: #fff; background: var(--rs-blue); border-radius: 999px; padding: 2px 12px; letter-spacing: .05em; }
.rs-webstep h4 { font-size: 1.8rem; color: var(--rs-deep); font-weight: 500; margin-top: 8px; }
.rs-webstep ol { counter-reset: w; margin-top: 10px; }
.rs-webstep ol > li { counter-increment: w; position: relative; padding-left: 26px; font-size: 1.4rem; line-height: 1.8; margin-top: 8px; }
.rs-webstep ol > li::before { content: counter(w); position: absolute; left: 0; top: .2em; width: 19px; height: 19px; border-radius: 50%; border: 1px solid var(--rs-blue); color: var(--rs-blue); font-size: 1.1rem; display: flex; align-items: center; justify-content: center; }
.rs-webstep b.code { font-family: "Barlow", sans-serif; font-size: 1.25em; color: var(--rs-navy); letter-spacing: .05em; }
.rs-webstep details { margin-top: 12px; border-top: 1px solid #eef3f6; padding-top: 10px; }
.rs-webstep summary { cursor: pointer; font-size: 1.35rem; color: var(--rs-deep); }
.rs-webstep .shots { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 10px; }
.rs-webstep .shots img { width: 100%; height: auto; border: 1px solid #eee; border-radius: 8px; }

/* お問い合わせ窓口 */
.rs-contact { margin: 48px auto 0; max-width: 620px; text-align: center; border: 2px solid var(--rs-blue); border-radius: 16px; padding: 24px 20px 22px; background: #fff; }
.rs-contact .t { font-size: 1.5rem; color: var(--rs-navy); font-weight: 500; }
.rs-contact a.tel { display: inline-block; font-family: "Barlow", sans-serif; font-size: 3.6rem; font-weight: 500; color: var(--rs-navy); text-decoration: none; letter-spacing: .04em; margin-top: 4px; }
.rs-contact a.tel::before { content: "TEL "; font-size: .45em; color: #888; }
.rs-contact .n { font-size: 1.45rem; }
.rs-contact .n b { color: #e06b6b; font-size: 1.2em; }
.rs-contact .h { font-size: 1.3rem; color: #777; margin-top: 4px; }
.rs-contact .app { font-size: 1.3rem; color: #555; margin-top: 10px; padding-top: 10px; border-top: 1px dashed #dcebf5; }

/* 4つのタブ・入口 */
.rs-tabs { grid-template-columns: repeat(4, 1fr); }
.rs-actions { grid-template-columns: repeat(4, 1fr); }
.rs-actions.three { grid-template-columns: repeat(3, 1fr); }
#qs, #accident, #renew, #leave { scroll-margin-top: 90px; }

/* 保険の連絡先 */
.rs-ins-tel { margin: 18px auto 0; max-width: 560px; text-align: center; border: 2px solid var(--rs-blue); border-radius: 14px; padding: 16px 18px; background: #fff; box-sizing: border-box; }
.rs-ins-tel.sub { border-color: var(--rs-line); }
.rs-ins-tel p, .rs-contact p, .rs-emg p.t, .rs-emg p.who { text-align: center; }
.rs-ins-tel .t { font-size: 1.45rem; color: var(--rs-navy); font-weight: 500; }
.rs-ins-tel .who { font-size: 1.3rem; color: #666; margin-top: 2px; }
.rs-ins-tel a.tel { display: inline-block; font-family: "Barlow", sans-serif; font-size: 3rem; font-weight: 500; color: var(--rs-navy); text-decoration: none; letter-spacing: .04em; }
.rs-ins-tel a.tel::before { content: "フリーダイヤル "; font-family: "Noto Sans JP", sans-serif; font-size: .4em; color: #888; letter-spacing: 0; }
.rs-ins-tel .h { font-size: 1.3rem; color: #777; }
.rs-ins-tel .web { margin-top: 10px; padding-top: 10px; border-top: 1px dashed var(--rs-line); font-size: 1.4rem; }
.rs-ins-tel .web a { color: var(--rs-deep); text-decoration: underline; }
.rs-check3.blue li { background: var(--rs-pale); border-color: var(--rs-line); }
.rs-check3.blue li b { color: var(--rs-deep); }

/* 営業時間外の緊急連絡先 */
.rs-emg.qs { background: #fff8ef; border-color: #f3c68f; }
.rs-emg.qs .t, .rs-emg.qs a.tel { color: #b5651d; }
.rs-emg .who small { display: block; font-size: .9em; color: #888; }
.rs-emg .d a { color: #154595; text-decoration: underline; }
.rs-feat.qs3 { grid-template-columns: repeat(3, 1fr); }
.rs-emg { margin: 14px auto 0; max-width: 620px; text-align: center; background: #fdf1f1; border: 2px solid #f0b4b4; border-radius: 16px; padding: 18px 20px; box-sizing: border-box; }
.rs-emg .t { font-size: 1.5rem; color: #c94b4b; font-weight: 500; }
.rs-emg .who { font-size: 1.4rem; color: #444; margin-top: 4px; }
.rs-emg a.tel { display: inline-block; font-family: "Barlow", sans-serif; font-size: 3rem; font-weight: 500; color: #c94b4b; text-decoration: none; letter-spacing: .04em; margin-top: 2px; }
.rs-emg a.tel::before { content: "TEL "; font-size: .45em; color: #888; }
.rs-emg .d { font-size: 1.3rem; line-height: 1.8; color: #555; margin-top: 6px; text-align: left; }

@media (max-width: 767px) {
	.rs-tabs { padding: 0 5vw; gap: 6px; margin-top: 16px; grid-template-columns: 1fr 1fr; }
	.rs-tabs a { font-size: 1.35rem; padding: 10px 4px 9px; border-radius: 10px; }
	.rs-tabs a small { display: none; }
	.rs-lead h2 { font-size: 2.1rem; }
	.rs-lead p { font-size: 1.4rem; text-align: left; }
	.rs-h { font-size: 1.8rem; margin-top: 44px; }
	.rs-p { font-size: 1.4rem; }
	.rs-actions, .rs-actions.three { grid-template-columns: 1fr; gap: 10px; }
	.rs-actions a { flex-direction: row; text-align: left; padding: 14px 16px; gap: 14px; }
	.rs-actions .ic { width: 46px; height: 46px; flex: 0 0 46px; margin: 0; }
	.rs-actions a > b { font-size: 1.6rem; }
	.rs-actions a > small { display: none; }
	.rs-feat, .rs-feat.qs3 { grid-template-columns: 1fr; }
	.rs-store img { height: 42px; }
	.rs-code b { font-size: 4rem; }
	.rs-steps > li { padding: 16px 14px 16px 56px; }
	.rs-steps > li::before { left: 12px; }
	.rs-check3 { grid-template-columns: 1fr; }
	.rs-box { padding: 18px 16px; }
	.rs-web { grid-template-columns: 1fr; }
	.rs-webstep { padding: 18px 14px 14px; }
	.rs-contact a.tel { font-size: 3rem; }
	.rs-emg a.tel { font-size: 2.6rem; }
	.rs-ins-tel a.tel { font-size: 2.6rem; }
}
