/* SP 初めての方へ（Figma n4yYGNw… / 45:3・51:14・168:2） */

body.sp-beginner-renewal-body {
    background: #fff;
}

body.sp-beginner-renewal-body .wrrp {
    background: #fff;
}

body.sp-beginner-renewal-body .hset .shopinfo,
body.sp-beginner-renewal-body .hset nav {
    display: none;
}

body.sp-beginner-renewal-body .head_col {
    border-bottom: 1px solid #e94b65;
    margin-bottom: 8px;
}

body.is-beginner-notes-open {
    overflow: hidden;
}

.sp-beginner-renewal {
    box-sizing: border-box;
    color: #111;
    margin: 0 auto;
    max-width: 100%;
    padding: 0 0 12px;
    width: 100%;
}

.sp-beginner-renewal *,
.sp-beginner-renewal *::before,
.sp-beginner-renewal *::after {
    box-sizing: border-box;
}

.sp-beginner-renewal__viewport {
    -webkit-overflow-scrolling: touch;
    align-items: stretch;
    display: flex;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
}

.sp-beginner-renewal__viewport::-webkit-scrollbar {
    display: none;
}

.sp-beginner-renewal__panel {
    display: flex;
    flex: 0 0 100%;
    flex-direction: column;
    min-width: 100%;
    padding: 0 12px 8px;
    position: relative;
    scroll-snap-align: start;
    scroll-snap-stop: always;
}

.sp-beginner-renewal__about {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.sp-beginner-renewal__hero,
.sp-beginner-renewal__card,
.sp-beginner-renewal__step img,
.sp-beginner-renewal__step3 img {
    display: block;
    height: auto;
    max-width: 100%;
    width: 100%;
}

.sp-beginner-renewal__card--1 {
    margin-right: 12%;
    width: 88%;
}

.sp-beginner-renewal__card--2 {
    margin-left: 12%;
    width: 88%;
}

.sp-beginner-renewal__card--3 {
    margin-right: 10%;
    width: 90%;
}

.sp-beginner-renewal__swipe-hint {
    align-items: center;
    display: flex;
    justify-content: center;
    margin: 10px 2px 0 auto;
    width: 48px;
}

.sp-beginner-renewal__swipe-illust {
    animation: sp-beginner-swipe-nudge 1.6s ease-in-out infinite;
    display: block;
    height: auto;
    width: 42px;
}

@keyframes sp-beginner-swipe-nudge {
    0%, 100% { transform: translateX(0); }
    35% { transform: translateX(4px); }
    70% { transform: translateX(-4px); }
}

.sp-beginner-renewal__swipe-hint--footer {
    flex: 0 0 auto;
    margin: 8px auto 0 2px;
    min-height: 0;
}

.sp-beginner-renewal__howto-title {
    border-bottom: 3px solid #222;
    color: #333;
    display: inline-block;
    font-size: 30px;
    font-weight: 700;
    line-height: 1.3;
    margin: 8px auto 0;
    padding: 0 4px 6px;
    text-align: center;
    width: auto;
}

.sp-beginner-renewal__panel--howto {
    align-items: center;
    gap: 18px;
    justify-content: flex-start;
    padding-bottom: 0;
    padding-top: 2px;
}

.sp-beginner-renewal__panel--howto .sp-beginner-renewal__howto-title {
    margin-bottom: 0;
}

.sp-beginner-renewal__panel--howto .sp-beginner-renewal__steps,
.sp-beginner-renewal__panel--howto .sp-beginner-renewal__step3,
.sp-beginner-renewal__panel--howto .sp-beginner-renewal__footer {
    align-self: stretch;
    width: 100%;
}

.sp-beginner-renewal__steps {
    -webkit-overflow-scrolling: touch;
    align-items: stretch;
    display: flex;
    gap: 14px;
    justify-content: center;
    margin: 0;
    overflow-x: visible;
    padding: 0;
    width: 100%;
}

.sp-beginner-renewal__step {
    display: flex;
    flex: 1 1 0;
    flex-direction: column;
    margin: 0;
    max-width: none;
    min-width: 0;
}

.sp-beginner-renewal__step img {
    display: block;
    flex: 0 1 auto;
    height: auto;
    object-fit: contain;
    object-position: center top;
    width: 100%;
}

.sp-beginner-renewal__step-cap {
    color: #333;
    flex: 0 0 auto;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.35;
    margin: 0;
    margin-top: auto;
    min-height: calc(1.35em * 2);
    padding-top: 10px;
    text-align: center;
}

.sp-beginner-renewal__step3 {
    margin: 0;
}

.sp-beginner-renewal__footer {
    display: flex;
    flex-direction: column;
    gap: 0;
    margin-top: 0;
    padding: 0;
}

.sp-beginner-renewal__footer-actions {
    align-items: stretch;
    display: flex;
    gap: 8px;
    justify-content: space-between;
    width: 100%;
}

.sp-beginner-renewal__cta {
    -webkit-appearance: none;
    appearance: none;
    background: #d7c4a8;
    border: 0;
    border-radius: 8px;
    box-shadow: 0 1px 0 rgba(0, 0, 0, 0.08);
    color: #fff;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: inherit;
    font-size: 11px;
    font-weight: 700;
    line-height: 1.25;
    min-height: 52px;
    padding: 8px 10px;
    text-align: center;
    text-decoration: none;
}

.sp-beginner-renewal__cta--member {
    flex: 1 1 auto;
}

.sp-beginner-renewal__cta--notes {
    flex: 0 0 72px;
    font-size: 13px;
}

.sp-beginner-renewal__modal[hidden] {
    display: none !important;
}

.sp-beginner-renewal__modal {
    bottom: 0;
    left: 0;
    position: fixed;
    right: 0;
    top: 0;
    z-index: 10000;
}

.sp-beginner-renewal__modal-backdrop {
    background: rgba(0, 0, 0, 0.45);
    bottom: 0;
    left: 0;
    position: absolute;
    right: 0;
    top: 0;
}

.sp-beginner-renewal__modal-dialog {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.22);
    left: 50%;
    max-height: min(80vh, 560px);
    overflow: auto;
    padding: 18px 16px 20px;
    position: absolute;
    top: 50%;
    transform: translate(-50%, -50%);
    width: min(92vw, 375px);
}

.sp-beginner-renewal__modal-close {
    background: transparent;
    border: 0;
    color: #666;
    cursor: pointer;
    font-size: 24px;
    line-height: 1;
    padding: 4px 8px;
    position: absolute;
    right: 6px;
    top: 4px;
}

.sp-beginner-renewal__modal-title {
    border-bottom: 1px solid #111;
    display: inline-block;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.3;
    margin: 0 0 16px;
    padding-bottom: 4px;
}

.sp-beginner-renewal__note {
    margin: 0 0 16px;
}

.sp-beginner-renewal__note:last-child {
    margin-bottom: 0;
}

.sp-beginner-renewal__note h3 {
    font-size: 14px;
    font-weight: 700;
    line-height: 1.4;
    margin: 0 0 6px;
}

.sp-beginner-renewal__note p {
    font-size: 12px;
    line-height: 1.55;
    margin: 0;
}
