@charset "UTF-8";

/* ============================================================
   2026-09 FV改修: LP-101 m-hero / m-topics2
   フォーム見た目は m-hero-fv.css を流用
   - FV画像と .m-hero__inner は重ねない
   - inner は幅が狭まると折り返して下に伸びる
   - フォームは画像の右側
   - m-topics2 は TOP (cheerup/assets/css/app.css) と同じルールのみ
   ============================================================ */

html body .site-header {
    z-index: 100000 !important;
}

html body .m-hero.m-hero--lp101[data-type=a] {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 330px 120px;
    grid-template-rows: auto auto;
    column-gap: 0;
    width: 100%;
    max-width: 1440px;
    height: auto;
    min-height: 0;
    max-height: none;
    aspect-ratio: auto;
    overflow: visible;
    margin: 0 auto;
    padding: 0 0 24px;
    box-sizing: border-box;
    background: #fff;
    background-image: none;
}

html body .m-hero.m-hero--lp101[data-type=a] .m-hero__bg-wrap {
    grid-column: 1 / -1;
    grid-row: 1;
    position: relative;
    top: auto;
    left: auto;
    transform: none;
    width: 100%;
    max-width: 1440px;
    height: auto;
    aspect-ratio: 1440 / 243;
    margin: 0;
    overflow: hidden;
    z-index: 0;
    pointer-events: none;
}

/* Figma mask: 1440x485, fade y=181 → y=243 */
html body .m-hero.m-hero--lp101[data-type=a] .m-hero__bg-wrap::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(255, 255, 255, 0) 74.5%,
        #fff 100%
    );
    pointer-events: none;
}

html body .m-hero.m-hero--lp101[data-type=a] .m-hero__bg {
    display: block;
    position: absolute;
    inset: 0;
    top: 0;
    left: 0;
    transform: none;
    width: 100%;
    max-width: none;
    height: 100%;
    min-height: 0;
    object-fit: cover;
    object-position: center top;
}

html body .m-hero.m-hero--lp101[data-type=a] .m-hero__filter,
html body .m-hero.m-hero--lp101[data-type=a] .m-hero__edge {
    display: none;
}

html body .m-hero.m-hero--lp101[data-type=a] .m-hero__outer {
    display: contents;
    height: auto;
    min-height: 0;
    max-width: none;
    margin: 0;
    padding: 0;
}

html body .m-hero.m-hero--lp101[data-type=a] .m-hero__inner {
    grid-column: 1;
    grid-row: 2;
    display: block;
    width: auto;
    max-width: none;
    height: auto;
    min-width: 0;
    padding: 16px 20px 0;
    background: none;
    background-image: none;
}

html body .m-hero.m-hero--lp101[data-type=a] .m-hero__head {
    display: block;
    position: relative;
    width: 100%;
    max-width: 832px;
    height: auto;
    margin: 0 auto;
    padding: 0;
    background: none;
    background-image: none;
}

html body .m-hero.m-hero--lp101[data-type=a] .m-hero__head,
html body .m-hero.m-hero--lp101[data-type=a] .m-hero__head * {
    font-family: "Noto Sans JP", sans-serif;
}

html body .m-hero.m-hero--lp101[data-type=a] .m-hero__catch {
    display: block;
    font-size: 32px;
    font-weight: 700;
    line-height: normal;
    height: auto;
    letter-spacing: 2.56px;
    text-align: center;
    white-space: normal;
    color: #242424;
    text-shadow: none;
    margin: 0;
}

html body .m-hero.m-hero--lp101[data-type=a] .m-hero__catch + .m-hero__catch {
    margin-top: 0;
}

html body .m-hero.m-hero--lp101[data-type=a] .m-hero__em {
    font-size: 32px;
    font-weight: 700;
    letter-spacing: 2.56px;
    line-height: normal;
    color: #f46201;
}

html body .m-hero.m-hero--lp101[data-type=a] .m-hero__note {
    display: block;
    position: absolute;
    top: -6px;
    right: 0;
    margin: 0;
    padding: 0;
    font-size: 14px;
    font-weight: 500;
    line-height: 1;
    letter-spacing: 0.7px;
    text-align: right;
    color: #242424;
    z-index: 1;
}

html body .m-hero.m-hero--lp101[data-type=a] .m-hero__license {
    display: block;
    margin: 12px 0 0;
    text-align: center;
    letter-spacing: 0;
}

html body .m-hero.m-hero--lp101[data-type=a] .m-hero__license-name,
html body .m-hero.m-hero--lp101[data-type=a] .m-hero__license-no {
    display: inline;
    margin: 0;
    padding: 0;
}

html body .m-hero.m-hero--lp101[data-type=a] .m-hero__license-name {
    font-family: "Noto Sans JP", sans-serif;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 1.12px;
    color: #f46201;
    text-shadow: none;
}

html body .m-hero.m-hero--lp101[data-type=a] .m-hero__license-no {
    font-family: "Noto Sans JP", sans-serif;
    font-size: 14px;
    font-weight: 400;
    letter-spacing: 0.7px;
    color: #242424;
}

html body .m-hero.m-hero--lp101[data-type=a] .m-hero__disclaimer {
    display: block;
    margin: 14px 0 0;
    font-family: "Noto Sans JP", sans-serif;
    font-size: 10px;
    font-weight: 400;
    line-height: 1.5;
    letter-spacing: 0.5px;
    text-align: left;
    color: #242424;
}

html body .m-hero.m-hero--lp101[data-type=a] .m-hero__form {
    grid-column: 2;
    grid-row: 1 / span 2;
    display: block;
    position: relative;
    z-index: 2;
    flex: none;
    width: 330px;
    align-self: start;
    margin-top: 20px;
}

/* ------------------------------------------------------------
   m-topics2：TOP (cheerup/assets/css/app.css) と同じ
   img の max-width は theme style.css の img { max-width: 100% } に任せる
   ------------------------------------------------------------ */
html body .m-topics2 {
    background: #F7F7F7;
}

html body .m-topics2 .m-topics__inner2 {
    width: 100%;
    max-width: 1240px;
    margin: 0 auto;
    padding: 30px 30px;
}

html body .m-topics2 .carousel {
    display: flex;
    gap: 1rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
}

html body .m-topics2 .carousel::-webkit-scrollbar {
    display: none;
}

html body .m-topics2 .carousel .card:last-child {
    display: block;
}

html body .m-topics2 .carousel .card p {
    text-align: center;
    line-height: 1.6;
    font-size: 0.9rem;
    padding: 1vw 0 0 0;
}

html body .m-topics2 .card_s_text {
    font-size: 18px !important;
    font-weight: bold;
}

html body .m-topics2 .fas_link_after {
    text-decoration: none;
}

html body .m-topics2 .fas_link_after02 {
    font-size: 15px !important;
    text-align: left !important;
}

@media screen and (max-width: 1239px) {
    html body .m-hero.m-hero--lp101[data-type=a] {
        grid-template-columns: minmax(0, 1fr) 330px 20px;
    }
}

@media screen and (min-width: 768px) and (max-width: 1024px) {
    html body .m-hero.m-hero--lp101[data-type=a] {
        max-width: 1440px;
        height: auto;
        min-height: 0;
        max-height: none;
        padding: 0 0 20px;
        column-gap: 0;
        grid-template-columns: minmax(0, 1fr) 330px 20px;
    }

    html body .m-hero.m-hero--lp101[data-type=a] .m-hero__bg-wrap {
        position: relative;
        max-width: 1440px;
        aspect-ratio: 1440 / 303;
    }
    html body .m-hero.m-hero--lp101[data-type=a] .m-hero__bg-wrap::before {
        content: "";
        position: absolute;
        top: 0;
        right: 0;
        width: 100%;
        height: 100%;
        background: #C8D6D1;
    }

    html body .m-hero.m-hero--lp101[data-type=a] .m-hero__bg {
        left: -7%;
    }

    html body .m-hero.m-hero--lp101[data-type=a] .m-hero__inner {
        max-width: none;
        height: auto;
        padding: 0 20px 0;
        background: none;
        background-image: none;
    }

    html body .m-hero.m-hero--lp101[data-type=a] .m-hero__head {
        max-width: 832px;
        height: auto;
        margin: 0 auto;
        padding: 0;
        background: none;
        background-image: none;
    }

    html body .m-hero.m-hero--lp101[data-type=a] .m-hero__note {
        font-size: 11px;
        letter-spacing: 0.55px;
        top: -6px;
        right: 0;
    }

    html body .m-hero.m-hero--lp101[data-type=a] .m-hero__catch,
    html body .m-hero.m-hero--lp101[data-type=a] .m-hero__em {
        font-size: 22px;
        letter-spacing: 1.76px;
        line-height: normal;
        height: auto;
        white-space: normal;
        color: #242424;
    }

    html body .m-hero.m-hero--lp101[data-type=a] .m-hero__em {
        color: #f46201;
    }

    html body .m-hero.m-hero--lp101[data-type=a] .m-hero__license {
        margin-top: 16px;
    }

    html body .m-hero.m-hero--lp101[data-type=a] .m-hero__license-name,
    html body .m-hero.m-hero--lp101[data-type=a] .m-hero__license-no {
        font-size: 12px;
        letter-spacing: 0;
        display: block;
        text-align: center;
    }

    html body .m-hero.m-hero--lp101[data-type=a] .m-hero__form {
        display: block;
        width: 330px;
        margin-top: 10px;
    }
}

@media screen and (max-width: 768px) {
    html body .m-topics2 .carousel {
        display: block;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        padding-left: 10vw;
        padding-right: 10vw;
    }
}

@media screen and (max-width: 767px) {
    html body .m-hero.m-hero--lp101[data-type=a] {
        display: block;
        height: auto;
        min-height: 0;
        max-height: none;
        max-width: none;
        padding: 0;
        overflow: visible;
        background: #fff;
        background-image: none;
    }

    html body .m-hero.m-hero--lp101[data-type=a] .m-hero__bg-wrap {
        position: relative;
        width: 142%;
        height: auto;
        aspect-ratio: 1440 / 400;
    }

    html body .m-hero.m-hero--lp101[data-type=a] .m-hero__bg {
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center top;
    }

    html body .m-hero.m-hero--lp101[data-type=a] .m-hero__outer {
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 100%;
        height: auto;
        padding: 20px 16px 28px;
        gap: 24px;
    }

    html body .m-hero.m-hero--lp101[data-type=a] .m-hero__inner,
    html body .m-hero.m-hero--lp101[data-type=a] .m-hero__head {
        display: block;
        width: 100%;
        max-width: 100%;
        height: auto;
        padding: 0;
        background: none;
        background-image: none;
    }

    html body .m-hero.m-hero--lp101[data-type=a] .m-hero__note {
        font-size: 11px;
        top: -6px;
        right: 0;
    }

    html body .m-hero.m-hero--lp101[data-type=a] .m-hero__catch,
    html body .m-hero.m-hero--lp101[data-type=a] .m-hero__em {
        font-size: clamp(18px, 5vw, 24px);
        letter-spacing: 0.08em;
        line-height: normal;
        height: auto;
        white-space: normal;
        color: #242424;
        text-shadow: none;
    }

    html body .m-hero.m-hero--lp101[data-type=a] .m-hero__em {
        color: #f46201;
    }

    html body .m-hero.m-hero--lp101[data-type=a] .m-hero__license {
        margin-top: 12px;
    }

    html body .m-hero.m-hero--lp101[data-type=a] .m-hero__disclaimer {
        font-size: 10px;
    }

    html body .m-hero.m-hero--lp101[data-type=a] .m-hero__form {
        display: none;
    }
}
