﻿/*
 * Memorial LP - Figma 640px composition
 * All selectors are scoped under .memorial_lp.
 * Site-wide heading, header and footer styles are not modified.
 */
.memorial_lp {
    --memorial_brown: #8c614c;
    --memorial_yellow: #fff7c6;
    --memorial_pink: #f08c9f;
    --memorial_blue: #60cde3;
    --memorial_green: #d8f3df;
    width: 100%;
    max-width: 720px;
    margin: 0 auto;
    color: var(--memorial_brown);
    font-family: 'Noto Sans JP', sans-serif;
    line-height: 1.5;
}

.memorial_lp *,
.memorial_lp *::before,
.memorial_lp *::after {
    box-sizing: border-box;
    font-weight: 600;
}

.memorial_lp .memorial_canvas {
    width: 640px;
    margin: 0;
    transform-origin: top left;
    background: #fff;
}

.memorial_lp h2,
.memorial_lp h3,
.memorial_lp p,
.memorial_lp ol {
    margin: 0;
}

.memorial_lp a {
    color: inherit;
    text-decoration: none;
}

.memorial_lp a:focus-visible {
    outline: 3px solid #69442e;
    outline-offset: 5px;
}

.memorial_lp img {
    display: block;
    height: auto;
    max-width: 100%;
}

.memorial_lp .memorial_wave {
    display: block;
    width: 640px;
    max-width: none;
    pointer-events: none;
}

.memorial_lp .memorial_wave_block {
    width: 640px;
    height: 50px;
}

.memorial_lp .memorial_wave_block img {
    width: 640px;
    height: 50px;
    max-width: none;
}

/* ---------------------- HERO ---------------------- */
.memorial_lp .memorial_hero,
.memorial_lp .memorial_hero img {
    display: block;
    width: 640px;
    height: 865px;
}

/* ---------------------- UGC / Visumo ---------------------- */
.memorial_lp .memorial_ugc {
    background: var(--memorial_yellow);
    margin-top: 50px;
}

.memorial_lp .memorial_ugc_wave {
}

/* Achievement balloon (Figma node 179:157). Values remain editable HTML text. */
.memorial_lp .memorial_ugc_speech {
    width: 380px;
    color: var(--memorial_brown);
    margin: 0 auto;
}

.memorial_lp .memorial_ugc_speech_body {
    position: relative;
    width: 350px;
    height: 89px;
    border-radius: 50px;
    background-color: #ffdc8e;
    white-space: nowrap;
    text-align: center;
    margin-top: -80px;
}

.memorial_lp .memorial_ugc_speech_body::after {
    position: absolute;
    top: 89px;
    left: 165px;
    width: 0;
    height: 0;
    border-top: 14px solid #ffdc8e;
    border-right: 10px solid transparent;
    border-left: 10px solid transparent;
    content: "";
}

.memorial_lp .memorial_ugc_speech_prefix {
    position: absolute;
    top: 30px;
    left: 53px;
    width: 19px;
    font-family: "Hiragino Kaku Gothic ProN", "Hiragino Kaku Gothic Pro", "Yu Gothic", Meiryo, sans-serif;
    font-size: 19px;
    font-weight: 600;
    line-height: 20px;
    writing-mode: vertical-rl;
    text-orientation: upright;
}

.memorial_lp .memorial_ugc_speech_number,
.memorial_lp .memorial_ugc_speech_unit,
.memorial_lp .memorial_ugc_speech_breakthrough {
    position: absolute;
    font-weight: 700;
    text-align: center;
}

.memorial_lp .memorial_ugc_speech_number {
    top: 0;
    left: 71px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 106px;
    height: 89px;
    font-size: 55px;
    line-height: 1;
    font-variant-numeric: tabular-nums;
}

.memorial_lp .memorial_ugc_speech_unit {
    top: 26.5px;
    left: 179px;
    width: 60px;
    height: 48px;
    font-size: 30px;
    line-height: 48px;
}

.memorial_lp .memorial_ugc_speech_breakthrough {
    top: 32.5px;
    left: 239px;
    width: 48px;
    height: 39px;
    font-size: 24px;
    line-height: 39px;
}

.memorial_lp .memorial_ugc_speech_date {
    position: absolute;
    top: 14.5px;
    left: 177px;
    width: 112px;
    height: 22px;
    font-size: 13px;
    font-weight: 300;
    line-height: 22px;
    text-align: right;
}

.memorial_lp .memorial_ugc_heading {
    width: 500px;
    height: 125px;
    margin: 0 auto;
}

.memorial_lp .memorial_ugc_heading img {
    width: 500px;
    height: 125px;
    max-width: none;
}

.memorial_lp .memorial_visumo {
    width: 590px;
    background: #fff;
    border-radius: 10px;
    margin: 0 auto 50px;
    padding: 14px 0;
}

.memorial_lp .memorial_visumo .vsm-tile {
    width: 590px;
}

/* Static CTA placed immediately after the Visumo widget. */
.memorial_lp .memorial_ugc_cta {
    display: block;
    width: 520px;
    margin: 0 auto 60px;
}

.memorial_lp .memorial_ugc_cta img {
    display: block;
    width: 520px;
    max-width: none;
}

/* ---------------------- WISHES ---------------------- */
.memorial_lp .memorial_wishes {
    position: relative;
    width: 640px;
    height: 782px;
}

.memorial_lp .memorial_wishes_bg {
    width: 640px;
    height: 782px;
    max-width: none;
}

.memorial_lp .memorial_wish {
    position: absolute;
    transform: translateX(-50%);
    color: var(--memorial_brown);
    text-align: center;
    font-size: 22px;
    font-weight: 600;
    line-height: 33px;
    letter-spacing: 0.44px;
    white-space: nowrap;
}

.memorial_lp .memorial_wish span {
    display: block;
}

.memorial_lp .memorial_wish_one {
    top: 155px;
    left: 319px;
    font-size: 25px;
    letter-spacing: 0.5px;
}

.memorial_lp .memorial_wish_two {
    top: 300px;
    left: 132px;
}

.memorial_lp .memorial_wish_three {
    top: 300px;
    left: 502px;
}

/* ---------------------- OFFER TITLE / CARDS ---------------------- */
.memorial_lp .memorial_offers {
    position: relative;
    width: 640px;
    height: 2006px;
    background: var(--memorial_yellow);
}

.memorial_lp .memorial_offers_wave {
    width: 640px;
    height: 190px;
}

.memorial_lp .memorial_offers_heading {
    position: absolute;
    top: 200px;
    left: 48px;
    width: 544px;
    height: 135px;
}

.memorial_lp .memorial_offers_heading img {
    width: 544px;
    height: 135px;
    max-width: none;
}

.memorial_lp .memorial_offer_list {
    position: absolute;
    top: 395px;
    left: 90px;
    display: flex;
    flex-direction: column;
    gap: 60px;
    width: 460px;
}

.memorial_lp .memorial_offer_item {
    width: 460px;
    height: 735.55px;
}

.memorial_lp .memorial_offer_top {
    position: relative;
    width: 460px;
    height: 335.55px;
    overflow: hidden;
    border-radius: 10px 10px 0 0;
}

/* Exact '上' artwork only, supplied as a 2x PNG (920 x 671px).
 * Product title, price, tax and both buttons below are editable HTML. */
.memorial_lp .memorial_offer_top img {
    display: block;
    width: 460px;
    height: 335.55px;
    max-width: none;
    object-fit: cover;
}

.memorial_lp .memorial_offer_body {
    position: relative;
    width: 460px;
    margin-bottom: 10px;
    padding: 0 0 30px;
    background: var(--memorial_pink);
    border-radius: 0 0 10px 10px;
    color: #fff;
    text-align: center;
}

.memorial_lp .memorial_offer_poster .memorial_offer_body {
    background: var(--memorial_blue);
}

.memorial_lp .memorial_offer_product {
    width: 460px;
    padding: 10px 0 0;
}

.memorial_lp .memorial_offer_sub {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 460px;
    height: 30px;
    color: #fadce2;
    font-size: 20px;
    font-weight: 600;
    white-space: nowrap;
}

.memorial_lp .memorial_offer_poster .memorial_offer_sub {
    color: #e8fbff;
}

.memorial_lp .memorial_offer_sub img {
    width: 16px;
    height: 15px;
    max-width: none;
}

.memorial_lp .memorial_offer_product h3 {
    width: 460px;
    color: #fff;
    font-size: 40px;
    font-weight: 600;
    line-height: 60px;
}

.memorial_lp .memorial_offer_price {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 460px;
    color: var(--memorial_yellow);
    text-align: center;
    padding-bottom: 20px;
}

.memorial_lp .memorial_offer_price_line {
    display: flex;
    align-items: baseline;
    justify-content: center;
    font-size: 28px;
    font-weight: 600;
    line-height: 1;
}

.memorial_lp .memorial_offer_price_line strong {
    font-size: 73px;
    font-weight: bold;
    line-height: 1;
}

.memorial_lp .memorial_offer_price small {
    color: #fadce2;
    font-size: 16px;
    line-height: 24px;
    letter-spacing: 1px;
}

.memorial_lp .memorial_offer_poster .memorial_offer_price small {
    color: #d9f8ff;
}

.memorial_lp .memorial_offer_create {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 17px;
    width: 410px;
    height: 86px;
    margin: 0 auto;
    border-radius: 43px;
    background: #fff;
    color: var(--memorial_pink);
    font-size: 24px;
    font-weight: 600;
    white-space: nowrap;
}

.memorial_lp .memorial_offer_poster .memorial_offer_create {
    color: var(--memorial_blue);
}

.memorial_lp .memorial_offer_create img {
    width: 30px;
    height: 29px;
    max-width: none;
    flex: 0 0 auto;
}

.memorial_lp .memorial_offer_more {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    width: 460px;
    height: 62px;
    border: 2px solid var(--memorial_pink);
    border-radius: 31px;
    background: transparent;
    color: var(--memorial_pink);
    font-size: 24px;
    font-weight: 600;
    white-space: nowrap;
}

.memorial_lp .memorial_offer_poster .memorial_offer_more {
    border-color: var(--memorial_blue);
    color: var(--memorial_blue);
}

.memorial_lp .memorial_offer_more img {
    width: 12px;
    height: 12px;
    max-width: none;
    flex: 0 0 auto;
}

/* ---------------------- GALLERY ---------------------- */
.memorial_lp .memorial_series {
    position: relative;
    width: 640px;
    overflow: hidden;
    background: var(--memorial_green);
}

.memorial_lp .memorial_series_wave_top {
    top: 0;
    left: 0;
    height: 118px;
    z-index: 1;
}

.memorial_lp .memorial_series_wave_bottom {
    height: 159px;
}

.memorial_lp .memorial_series_heading {
    width: 500px;
    height: 125px;
    margin: 0 auto;
}

.memorial_lp .memorial_series_heading img {
    width: 500px;
    height: 125px;
    max-width: none;
}

/* Automatic horizontal gallery (CL.sp.cshtml autoslider_wrap approach). */
.memorial_lp .autoslider_wrap {
    width: 640px;
    height: 600px;
    background-image: url("/Images/memorialseries/clmmp500/autoslider.jpg");
    background-repeat: repeat-x;
    background-position: 0 center;
    background-size: auto 600px;
}

/* ---------------------- HOW TO CREATE ---------------------- */
.memorial_lp .memorial_steps {
    width: 556px;
    height: 996px;
    margin: 0 42px;
    background: #fff;
}

.memorial_lp .memorial_steps_heading {
    width: 500px;
    margin: 0 auto;
}

.memorial_lp .memorial_steps_heading img {
    width: 500px;
    height: 125px;
    max-width: none;
}

.memorial_lp .memorial_step_list {
    top: 145px;
    left: 18px;
    width: 520px;
    padding: 0;
    overflow: hidden;
    border: 41px solid #cff0f7;
    border-radius: 80px;
    background: #ecfcff;
    list-style: none;
    margin: 0 auto;
}

.memorial_lp .memorial_step {
    position: relative;
    width: 400px;
    margin: 50px auto;
}

.memorial_lp .memorial_step_one {
}

.memorial_lp .memorial_step_two {
}

.memorial_lp .memorial_step_three {
}

.memorial_lp .memorial_step_pill {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    width: 400px;
    height: 150px;
    border-radius: 75px;
    background: #fff;
}

.memorial_lp .memorial_step_no {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 80px;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: #ffcbd5;
    color: #fff;
    font-size: 50px;
    font-weight: 700;
    line-height: 1;
}

.memorial_lp .memorial_step_two .memorial_step_no {
    background: var(--memorial_blue);
}

.memorial_lp .memorial_step_three .memorial_step_no {
    background: #cca2e2;
}

.memorial_lp .memorial_step_pill p {
    width: 230px;
    color: var(--memorial_brown);
    font-size: 24px;
    font-weight: 700;
    line-height: 1.18;
    letter-spacing: 1.1px;
    text-align: left;
}

.memorial_lp .memorial_step_illust {
    width: auto;
    max-width: none;
}

.memorial_lp .memorial_step_one .memorial_step_illust {
    height: 93px;
    margin: -42px auto 0;
}

.memorial_lp .memorial_step_two .memorial_step_illust {
    height: 95px;
    margin: -40px auto 0;
}

.memorial_lp .memorial_step_three .memorial_step_illust {
    height: 70px;
    margin: -40px auto 0;
}

/* Decorative chevrons are CSS pseudo-elements, not list items. */
.memorial_lp .memorial_step_one::after,
.memorial_lp .memorial_step_two::after {
    content: "";
    position: absolute;
    z-index: 3;
    left: 174px;
    width: 51px;
    height: 28px;
    background: url("/Images/memorialseries/clmmp500/arrow_step.svg") center / contain no-repeat;
}

.memorial_lp .memorial_step_one::after {
    top: 212px;
}

.memorial_lp .memorial_step_two::after {
    top: 215px;
}

/* ---------------------- SHIPPING ---------------------- */
.memorial_lp .memorial_shipping {
    width: 640px;
    height: 515px;
    background: #fff;
    color: var(--memorial_brown);
    text-align: center;
}

.memorial_lp .memorial_shipping_card {
    width: 556px;
    border-radius: 20px;
    background: #fdf6e4;
    padding: 10px 10px 14px;
    margin: 20px auto;
}

.memorial_lp .memorial_shipping_regular {
    height: 140px;
}

.memorial_lp .memorial_shipping_free {
    height: 212px;
}

.memorial_lp .memorial_shipping_header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
    width: 536px;
    min-height: 78px;
    border-radius: 10px;
    background: #fbe7b2;
}

.memorial_lp .memorial_shipping_regular .memorial_shipping_header {
    height: 78px;
}

.memorial_lp .memorial_shipping_free .memorial_shipping_header {
    height: 96px;
}

.memorial_lp .memorial_shipping_badge {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 124px;
    height: 40px;
    border-radius: 20px;
    background: #fff;
    font-size: 20px;
    font-weight: 600;
}

.memorial_lp .memorial_shipping_price {
    display: flex;
    align-items: baseline;
    white-space: nowrap;
}

.memorial_lp .memorial_shipping_price strong {
    font-size: 30px;
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: 1.2px;
}

.memorial_lp .memorial_shipping_price span {
    font-size: 16px;
}

.memorial_lp .memorial_shipping_note {
    padding-top: 10px;
    font-size: 15px;
    line-height: 1.5;
    font-weight: 300;
}

.memorial_lp .memorial_shipping_chevrons {
    width: 157px;
    height: 13px;
    max-width: none;
    margin: 0 auto;
}

.memorial_lp .memorial_shipping_condition {
    display: flex;
    flex-direction: column;
    align-items: center;
    font-size: 15px;
    line-height: 1.5;
}

.memorial_lp .memorial_shipping_condition strong {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 222px;
    height: 40px;
    border-radius: 20px;
    background: #fff;
    font-size: 15px;
    font-weight: 600;
    white-space: nowrap;
}

.memorial_lp .memorial_shipping_free .memorial_shipping_note {
    padding-top: 9px;
}

.memorial_lp .memorial_shipping_emphasis {
    margin-top: 8px;
    color: var(--memorial_pink);
    font-size: 18px;
    font-weight: 600;
    white-space: nowrap;
}

/* ---------------------- CALENDAR / POSTER DETAILS ---------------------- */
.memorial_lp .memorial_detail {
    width: 640px;
    background: #fff0f0;
}

.memorial_lp .memorial_detail_calendar {
    background: #fff0f0;
    padding-bottom: 10px;
}

.memorial_lp .memorial_detail_poster {
    background: #eefdff;
}

.memorial_lp .memorial_detail_wave {
    width: 640px;
    height: 50px;
}

.memorial_lp .memorial_detail_heading {
    height: 124px;
    margin: 0 auto;
}

.memorial_lp .memorial_detail_calendar .memorial_detail_heading {
    width: 455px;
}

.memorial_lp .memorial_detail_poster .memorial_detail_heading {
    width: 417px;
    height: 127px;
}

.memorial_lp .memorial_detail_heading img {
    width: 100%;
    height: 100%;
    max-width: none;
}

.memorial_lp .memorial_detail_showcase {
    position: relative;
    z-index: 1;
    display: block;
    width: 640px;
    max-width: none;
}

.memorial_lp .memorial_detail_calendar .memorial_detail_showcase {
}

.memorial_lp .memorial_detail_poster .memorial_detail_showcase {
    height: 400px;
}

/* The dotted background is a CSS recreation of the exact Figma 20 x 20px
 * PATTERN tile: 4px dots at (0,0) and (10,10), on opaque white. */
.memorial_lp .memorial_detail_features {
    --memorial_dot_color: #fadce2;
    position: relative;
    z-index: 2;
    background-color: #fff;
    background-image:
        radial-gradient(circle 2px at 2px 2px, var(--memorial_dot_color) 98%, transparent 100%),
        radial-gradient(circle 2px at 12px 12px, var(--memorial_dot_color) 98%, transparent 100%);
    background-position: 0 0;
    background-size: 20px 20px;
    border-radius: 320px 320px 40px 40px;
    padding: 90px 0 40px;
    margin: -80px auto 20px;
}

.memorial_lp .memorial_detail_calendar .memorial_detail_features {
    width: 580px;
    margin-top: -200px;
}

.memorial_lp .memorial_detail_poster .memorial_detail_features {
    --memorial_dot_color: #dff5f9;
    width: 600px;
    margin-top: -80px;
}

.memorial_lp .memorial_detail_features_heading {
    width: 500px;
    margin: 0 auto;
}

.memorial_lp .memorial_detail_poster .memorial_detail_features_heading {
    left: 50px;
}

.memorial_lp .memorial_detail_features_heading img {
    width: 500px;
    height: 49px;
    max-width: none;
}

.memorial_lp .memorial_feature_grid {
    width: 520px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin: 0 auto;
}

.memorial_lp .memorial_detail_poster .memorial_feature_grid {
    height: 650px;
}

.memorial_lp .memorial_feature_link {
    display: block;
    width: 260px;
}

.memorial_lp .memorial_feature_link img {
    display: block;
    max-width: none;
}

.memorial_lp .memorial_feature_link:focus-visible {
    border-radius: 20px;
    outline: 3px solid var(--memorial_brown);
    outline-offset: 2px;
}

.memorial_lp .memorial_detail_calendar .memorial_feature_01 {
}

.memorial_lp .memorial_detail_calendar .memorial_feature_02 {
    top: 0;
    left: 260px;
    height: 314.1px;
}

.memorial_lp .memorial_detail_calendar .memorial_feature_03 {
    height: 301px;
}

.memorial_lp .memorial_detail_calendar .memorial_feature_04 {
    height: 313.4px;
}

.memorial_lp .memorial_detail_poster .memorial_feature_01 {
    top: 0.14px;
    left: 0;
    height: 291.49px;
}

.memorial_lp .memorial_detail_poster .memorial_feature_02 {
    top: 0;
    left: 260px;
    height: 291.77px;
}

.memorial_lp .memorial_detail_poster .memorial_feature_03 {
    top: 321.77px;
    left: 0;
    height: 291px;
}

.memorial_lp .memorial_detail_poster .memorial_feature_04 {
    top: 321.77px;
    left: 260px;
    height: 301.03px;
}

.memorial_lp .memorial_detail_link {
    display: block;
    width: 390px;
    height: 86px;
    margin: 0 auto;
}

.memorial_lp .memorial_detail_calendar .memorial_detail_link {
}

.memorial_lp .memorial_detail_poster .memorial_detail_link {
}

.memorial_lp .memorial_detail_link img {
    width: 390px;
    height: 86px;
    max-width: none;
}

.memorial_lp .memorial_last_wave {
    background: #fff;
}

@media (prefers-reduced-motion: reduce) {
    .memorial_lp *,
    .memorial_lp *::before,
    .memorial_lp *::after {
        scroll-behavior: auto !important;
        transition-duration: 0s !important;
    }
}


/* ----------------------------------------------------------------------
   Legacy CL / MMP detail content, copied from the designated page ranges.
   Values scoped from calender.css to prevent affecting other LP sections.
   Slick's framework styles are loaded separately in PageCss.
   ---------------------------------------------------------------------- */
.memorial_lp .memorial_legacy_detail {
    width: 640px;
    color: #68331a;
    font-family: "Hiragino Kaku Gothic ProN", "Hiragino Kaku Gothic Pro", "Yu Gothic", Meiryo, sans-serif;
    font-size: 24px;
    font-weight: normal;
    line-height: 40px;
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
}
.memorial_lp .memorial_legacy_detail * { font-weight: normal; }
.memorial_lp .memorial_legacy_detail ul { list-style: none; padding: 0; margin: 0; }
.memorial_lp .memorial_legacy_detail img { display: inline-block; vertical-align: middle; }
.memorial_lp .memorial_legacy_detail .t-center { text-align: center; }
.memorial_lp .memorial_legacy_detail .prl50 { padding: 0 50px; }
.memorial_lp .memorial_legacy_detail .prl40 { padding: 0 40px; }
.memorial_lp .memorial_legacy_detail .pt40 { padding-top: 40px; }
.memorial_lp .memorial_legacy_detail .mT30 { margin-top: 30px; }
.memorial_lp .memorial_legacy_detail .mT40 { margin-top: 40px; }
.memorial_lp .memorial_legacy_detail .mT50 { margin-top: 50px; }
.memorial_lp .memorial_legacy_detail .mB15 { margin-bottom: 15px; }
.memorial_lp .memorial_legacy_detail .line-h0 { line-height: 0; }
.memorial_lp .memorial_legacy_detail .hy365_note {
    font-size: 18px;
    margin-top: 20px;
    line-height: 30px;
}
.memorial_lp .memorial_legacy_detail .hy365_pt_ttl { padding-top: 30px; }
.memorial_lp .memorial_legacy_detail .hy365_pt_bg {
    background: #fff;
    margin: 50px 34px;
    border-radius: 20px;
    padding-bottom: 40px;
}

/* Calendar blocks: source Cl.sp.cshtml lines 137-226 */
.memorial_lp .memorial_legacy_calendar .hy365_point_wrap {
    background: #fff0f0;
    padding-top: 40px;
    color: #68331a;
    font-size: 24px;
    line-height: 40px;
}
.memorial_lp .memorial_legacy_calendar .hy365_pt_bg_top_radius {
    background: #fff;
    margin: 0 34px;
    height: 1093px;
    box-sizing: content-box; /* Old calender.css height excludes padding */
    border-radius: 20px 20px 0 0;
    padding-bottom: 40px;
    position: relative;
}
.memorial_lp .memorial_legacy_calendar .hy365_pt_bg_bottom_radius {
    background: #fff;
    margin: 0 34px;
    padding-bottom: 50px;
}
.memorial_lp .memorial_legacy_calendar .hy365_cl_design_thum {
    background: #f091a4;
    padding: 20px 15px;
    line-height: 0;
}
.memorial_lp .memorial_legacy_calendar .hy365_cl_design_thum li {
    display: inline-block;
    width: 100px !important;
    margin: 0 10px 10px 0;
    line-height: 0;
    font-size: 0;
}
.memorial_lp .memorial_legacy_calendar .hy365_cl_design_thum li:nth-child(5n) { margin-right: 0; }
.memorial_lp .memorial_legacy_calendar .hy365_cl_design_thum .slick-current { opacity: .5; }
.memorial_lp .memorial_legacy_calendar .hy365_point_wrap_under {
    background: #fff0f0;
    color: #68331a;
    font-size: 24px;
    line-height: 40px;
}
.memorial_lp .memorial_legacy_calendar .hy365_cl_pt2 {
    background: url('/Images/memorialseries/clmmp500/cl_pt2_bg.png') no-repeat;
    height: 700px;
}
.memorial_lp .memorial_legacy_calendar .hy365_cl_pt3 {
    background: url('/Images/memorialseries/clmmp500/cl_pt3_bg.png') no-repeat;
    height: 790px;
}
.memorial_lp .memorial_legacy_calendar .hy365_point_wrap_under .hy365_cl_wave {
    margin-bottom: -58px;
    line-height: 0;
}

/* Poster blocks: source Mmp.sp.cshtml lines 129-227 */
.memorial_lp .memorial_legacy_poster .hy365_mmp_first_point_wrap {
    background: #eefdff;
    padding: 50px 0 0;
    color: #68331a;
    font-size: 24px;
    line-height: 40px;
}
.memorial_lp .memorial_legacy_poster .hy365_mmp_first_point_wrap .hy365_bl_bg_top_radius {
    background: #fff;
    margin: 0 34px;
    border-radius: 20px 20px 0 0;
}
.memorial_lp .memorial_legacy_poster .hy365_mmp_pt1 {
    background: url('/Images/memorialseries/clmmp500/mmp_pt1_bg.jpg') no-repeat;
    height: 740px;
}
.memorial_lp .memorial_legacy_poster .hy365_mmp_first_point_wrap .hy365_bl_bg_bottom_radius {
    background: #fff;
    margin: 0 34px;
    border-radius: 0 0 20px 20px;
    padding-bottom: 60px;
}
.memorial_lp .memorial_legacy_poster .hy365_mmp_first_point_wrap .favorite_img {
    width: 419px;
    padding: 60px 0 30px;
    margin: auto;
}
.memorial_lp .memorial_legacy_poster .hy365_mmp_point_wrap {
    background: #eefdff;
    padding: 50px 0;
    color: #68331a;
    font-size: 24px;
    line-height: 40px;
}
.memorial_lp .memorial_legacy_poster .hy365_mmp_bg_top_radius {
    background: #fff;
    margin: 0 34px;
    box-sizing: content-box; /* Old calender.css height excludes padding */
    border-radius: 20px 20px 0 0;
    padding-bottom: 40px;
    height: 1307px;
    position: relative;
}
.memorial_lp .memorial_legacy_poster .hy365_mmp_bg_bottom_radius {
    background: #fff;
    margin: 0 34px;
    padding-bottom: 90px;
}
.memorial_lp .memorial_legacy_poster .hy365_mmp_design_thum {
    background: #9ed6e3;
    padding: 20px 30px;
    line-height: 0;
}
.memorial_lp .memorial_legacy_poster .hy365_mmp_design_thum li {
    display: inline-block;
    width: 116px !important;
    margin: 0 15px 15px 0;
    line-height: 0;
    font-size: 0;
}
.memorial_lp .memorial_legacy_poster .hy365_mmp_design_thum li:nth-child(4n) { margin-right: 0; }
.memorial_lp .memorial_legacy_poster .hy365_mmp_design_thum .slick-current { opacity: .5; }
.memorial_lp .memorial_legacy_poster .hy365_mmp_pt4_wrap {
    display: table;
    overflow: hidden;
    padding: 0 40px;
}
.memorial_lp .memorial_legacy_poster .hy365_mmp_pt4_wrap div {
    display: table-cell;
    width: 293px;
    vertical-align: middle;
    text-align: left;
}
.memorial_lp .memorial_legacy_poster .hy365_mmp_pt4_wrap div:nth-child(2) { width: 190px; }

/* Two independent photo carousels. Original controls retained, but scoped. */
.memorial_lp .memorial_legacy_detail .slick_wrap {
    width: 640px;
    position: absolute;
    bottom: 0;
    left: -34px;
}
.memorial_lp .memorial_legacy_detail .slider { opacity: 0; transition: opacity .3s linear; }
.memorial_lp .memorial_legacy_detail .slider.slick-initialized { opacity: 1; }
.memorial_lp .memorial_legacy_detail .cl_slick_img img,
.memorial_lp .memorial_legacy_detail .mmp_slick_img img {
    margin: 0 32px;
    box-shadow: 5px 5px 5px -2px rgba(0, 0, 0, .2);
}
/* Poster point 02 only. Slide widths are fixed from photo widths before
   Slick starts, so captions cannot change the spacing while sliding. */
.memorial_lp .memorial_legacy_poster .mmppattern .mmp_slick_img {
    width: 100%;
    padding: 0 12px;
}
.memorial_lp .memorial_legacy_poster .mmppattern .mmp_slick_img img {
    display: block;
    max-width: 100%;
    height: auto;
    margin: 0;
    border: solid 1px #eeeeee;
}
/* Preserve the caption's original scale independent of the photo width.
   Keeping every caption in the layout avoids reflow on slide changes. */
.memorial_lp .memorial_legacy_poster .mmppattern .mmp_slick_txt {
    display: block !important;
    position: relative;
    left: 50%;
    width: 576px;
    max-width: none;
    margin: 25px 0 30px;
    transform: translateX(-50%);
    opacity: 0;
    visibility: hidden;
    transition: opacity 220ms ease-in-out, visibility 220ms;
}
.memorial_lp .memorial_legacy_poster .mmppattern .mmp_slick_txt img {
    display: block;
    max-width: 100%;
    height: auto;
    margin: 0 auto;
}
.memorial_lp .memorial_legacy_poster .mmppattern .slick-center .mmp_slick_txt {
    opacity: 1;
    visibility: visible;
}
.memorial_lp .memorial_legacy_poster .mmppattern .slick-track {
    will-change: transform;
}
/* When Slick is unavailable, keep the photo gap at 16px as well. */
.memorial_lp .memorial_legacy_poster .mmppattern.slider:not(.slick-initialized) {
    gap: 0;
}
.memorial_lp .memorial_legacy_poster .mmppattern.slider:not(.slick-initialized) > li:first-child .mmp_slick_txt {
    opacity: 1;
    visibility: visible;
}
.memorial_lp .memorial_legacy_detail .cl_slick_txt { margin: 25px 32px 30px; }
.memorial_lp .memorial_legacy_detail .mmp_slick_txt { margin: 25px 32px 30px; }
.memorial_lp .memorial_legacy_detail .slick-center .cl_slick_txt,
.memorial_lp .memorial_legacy_detail .slick-center .mmp_slick_txt { display: block !important; }
.memorial_lp .memorial_legacy_detail .slick-slide { outline: none; }
.memorial_lp .memorial_legacy_detail .slick-prev,
.memorial_lp .memorial_legacy_detail .slick-next {
    z-index: 2;
    width: 60px;
    height: 60px;
    top: 34%;
    padding: 0;
    border: 0;
    background: transparent;
}
.memorial_lp .memorial_legacy_calendar .slick-prev { left: 58px; }
.memorial_lp .memorial_legacy_calendar .slick-next { right: 58px; }
.memorial_lp .memorial_legacy_poster .slick-prev { left: 42px; }
.memorial_lp .memorial_legacy_poster .slick-next { right: 42px; }
.memorial_lp .memorial_legacy_detail .slick-prev::before,
.memorial_lp .memorial_legacy_detail .slick-next::before {
    content: '';
    display: inline-block;
    width: 60px;
    height: 60px;
    opacity: 1;
}
.memorial_lp .memorial_legacy_detail .slick-prev::before {
    background: url('/Images/memorialseries/clmmp500/hy365_slick_back_btn.svg') center / contain no-repeat;
}
.memorial_lp .memorial_legacy_detail .slick-next::before {
    background: url('/Images/memorialseries/clmmp500/hy365_slick_prev_btn.svg') center / contain no-repeat;
}

/* If Slick fails to load, never hide the content. */
.memorial_lp .memorial_legacy_detail .slider:not(.slick-initialized) {
    display: flex;
    overflow-x: auto;
    gap: 20px;
    opacity: 1;
}
.memorial_lp .memorial_legacy_detail .slider:not(.slick-initialized) li { flex: 0 0 auto; }
.memorial_lp .memorial_legacy_detail .slider:not(.slick-initialized) li:first-child .cl_slick_txt,
.memorial_lp .memorial_legacy_detail .slider:not(.slick-initialized) li:first-child .mmp_slick_txt { display: block !important; }

/* Separate background scrollers; do not reuse the LP's own .autoslider_wrap. */
.memorial_lp .memorial_legacy_detail .hy365_legacy_autoslider {
    height: 300px;
    width: 640px;
    margin: 0;
    background-repeat: repeat-x;
    background-position: 0 0;
}
.memorial_lp .memorial_legacy_calendar .hy365_legacy_autoslider {
    background-color: #f091a4;
    background-image: url('/Images/memorialseries/clmmp500/hy365_cl_autoslider.jpg');
}
.memorial_lp .memorial_legacy_poster .hy365_legacy_autoslider {
    background-color: #eefdff;
    background-image: url('/Images/memorialseries/clmmp500/hy365_mmp_autoslider.jpg');
}



.memorial_back_top{
    display: flex;
    align-items: flex-end;
    justify-content: center;
    gap: 6px;
    text-decoration: underline!important;
    text-underline-offset: 3px;
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 50px;
}