/* ご利用のお願い（rules.html）専用
 *
 * ご退室チェックリストのカードと、箇条書きの装飾。 */

/* ライトボックスの拡大表示（画像タップで2.4倍・はみ出した分はスクロール） */
.lightbox-scroll {
    width: 100%; max-height: 78vh;
    display: flex; justify-content: center;
    overflow: auto; -webkit-overflow-scrolling: touch;
}

/* チェックリスト：行頭に小さなチェックボックス風の印 */
.checklist > li {
    position: relative;
    padding-left: 2rem;
}

.checklist > li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.62em;
    width: 15px;
    height: 15px;
    border-radius: 4px;
    border: 1px solid #463829;
    background: rgba(199, 154, 62, 0.06);
}

.checklist > li::after {
    content: "";
    position: absolute;
    left: 4px;
    top: 0.85em;
    width: 7px;
    height: 4px;
    border-left: 1.5px solid #c79a3e;
    border-bottom: 1.5px solid #c79a3e;
    transform: rotate(-45deg);
}

/* 退室手順カード（写真＋見出し。クリックで拡大） */
.step-card {
    display: block;
    width: 100%;
    text-align: left;
    cursor: zoom-in;
}

.step-thumb {
    position: relative;
    display: block;
    aspect-ratio: 3 / 2;
    overflow: hidden;
    border-radius: 0.6rem;
    background: #0c0907;
    box-shadow: inset 0 0 0 1px rgba(230, 205, 146, 0.16);
}

.step-thumb img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease, filter 0.5s ease;
}

.step-card:hover .step-thumb img {
    transform: scale(1.05);
    filter: brightness(1.08);
}

.step-card:focus-visible .step-thumb {
    box-shadow: 0 0 0 2px #e6cd92;
}

.step-card:focus { outline: none; }

.step-label {
    display: block;
    position: relative;
    margin-top: 0.6rem;
    padding-left: 1.35rem;
    font-size: 0.8125rem;
    font-weight: 700;
    line-height: 1.6;
    color: #d9cdb8;
}

/* 行頭のチェックマーク */
.step-label::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.42em;
    width: 8px;
    height: 4px;
    border-left: 1.5px solid #c79a3e;
    border-bottom: 1.5px solid #c79a3e;
    transform: rotate(-45deg);
}

.rule-list > li {
    position: relative;
    padding-left: 1.35rem;
}

.rule-list > li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.85em;
    width: 5px;
    height: 5px;
    border-radius: 999px;
    background: #7c6c54;
}
