/* Landing page — Figma: introduction/desktop + introduction/mobile */
.c-home {
    font-family: var(--font-sans);
    color: var(--color-text);
    background-color: var(--color-bg);
}

.c-home img {
    max-width: 100%;
    height: auto;
}

.l-contents--home {
    padding-bottom: 0;
}

.c-home__inner {
    box-sizing: border-box;
    width: 100%;
    max-width: 1440px;
    margin-inline: auto;
    padding-inline: 100px;
}

.c-home__section {
    padding-block: 64px;
    background-color: var(--color-bg);
}

.c-home__title {
    margin: 0;
    font-size: var(--font-size-48);
    font-weight: var(--font-weight-semibold);
    line-height: var(--line-height-base);
    color: var(--color-text-title);
    text-align: center;
}

.c-home__lead {
    margin: 0;
    font-size: var(--font-size-20);
    font-weight: var(--font-weight-title-3);
    line-height: var(--line-height-base);
    color: var(--color-text);
    text-align: center;
}

.c-home__lead-em {
    color: var(--color-primary-dark);
}

.c-home__head {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    margin-bottom: 64px;
}

.c-home-icon {
    display: block;
    flex-shrink: 0;
    overflow: hidden;
    aspect-ratio: 1 / 1;
}

.c-home-icon img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.c-home-icon--24 {
    width: 24px;
    height: 24px;
}

.c-home-icon--scan {
    width: 24px;
    height: 24px;
}

.c-home-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    min-height: 56px;
    padding: 12px 32px;
    border-radius: 55px;
    font-family: var(--font-sans);
    font-size: var(--font-size-16);
    font-weight: var(--font-weight-medium);
    line-height: var(--line-height-base);
    text-align: center;
    cursor: pointer;
}

.c-home-btn--fill {
    background-color: var(--color-primary);
    color: var(--color-text-inverse);
    border: 1px solid var(--color-primary);
}

.c-home-btn--ghost {
    background-color: var(--color-white);
    color: var(--color-primary);
    border: 1px solid var(--color-primary);
}

.c-home-btn--small {
    min-height: 40px;
    padding: 8px 16px;
    border-radius: 24px;
    font-size: var(--font-size-20);
    font-weight: var(--font-weight-bold);
}

@media (hover: hover) and (pointer: fine) {
    .c-home-btn--fill:hover {
        background-color: var(--color-primary-dark);
        border-color: var(--color-primary-dark);
    }
    .c-home-btn--ghost:hover {
        background-color: var(--color-primary-lighter);
    }
}

/* Hero */
.c-home-hero {
    position: relative;
    overflow: hidden;
    box-sizing: border-box;
    height: 788px;
    background-color: var(--color-bg);
}

.c-home-hero__bg {
    position: absolute;
    inset: 0;
    height: 100%;
    pointer-events: none;
}

.c-home-hero__bg img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
}

.c-home-hero__inner {
    position: relative;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 24px;
    box-sizing: border-box;
    height: 100%;
    padding: 47px 47px 0 100px;
}

.c-home-hero__copy {
    flex: 0 1 524px;
    max-width: 524px;
    align-self: flex-start;
    margin-top: 53px;
}

.c-home-hero__title {
    margin: 0;
    font-size: var(--font-size-64);
    font-weight: var(--font-weight-semibold);
    line-height: var(--line-height-base);
    color: var(--color-text-title);
}

.c-home-hero__title-accent {
    color: var(--color-primary);
}

.c-home-hero__sub {
    margin: 32px 0 0;
    font-size: var(--font-size-24);
    font-weight: var(--font-weight-title-2);
    color: var(--color-text);
}

.c-home-hero__actions {
    display: flex;
    align-items: center;
    flex-shrink: 0;
    gap: 32px;
    margin-top: 32px;
}

.c-home-hero__actions--sp {
    display: none;
    flex-direction: column;
    gap: 12px;
    width: 100%;
}

.c-home-hero__actions--sp .c-home-btn {
    width: 100%;
}

.c-home-hero__fig {
    flex: 1 1 480px;
    min-width: 0;
    max-width: 736px;
    align-self: flex-start;
    display: flex;
    align-items: flex-start;
    justify-content: flex-end;
    margin-top: 0;
    background: transparent;
}

.c-home-hero__fig img {
    width: 100%;
    height: auto;
    max-height: 100%;
    object-fit: contain;
    object-position: center center;
    background: transparent;
}

.c-home-visual {
    position: relative;
    width: 100%;
    height: auto;
    aspect-ratio: 8000 / 5772;
    overflow: visible;
    container-type: inline-size;
    container-name: landing-visual;
}

.c-home-visual__mockup {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.c-home-visual__mockup picture {
    display: block;
    width: 100%;
    height: 100%;
}

.c-home-visual__mockup img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    max-width: none;
    object-fit: contain;
    object-position: center center;
}

.c-home-visual__tag {
    position: absolute;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    padding: 10px 20px;
    padding: 1.36cqw 2.72cqw;
    border-radius: 20px;
    border-radius: 2.72cqw;
    box-shadow: 0 4px 5px rgba(0, 0, 0, 0.25);
    font-family: var(--font-sans);
    font-size: var(--font-size-18);
    font-size: 2.45cqw;
    font-weight: var(--font-weight-medium);
    line-height: var(--line-height-base);
    text-align: center;
    white-space: nowrap;
}

.c-home-visual__tag--pay {
    left: calc(100% * 396 / 736);
    top: calc(100% * 108 / 690);
    background-color: var(--color-primary-dark);
    color: var(--color-text-inverse);
    text-shadow: 0 4px 10px rgba(0, 0, 0, 0.25);
    animation: home-visual-float-pay 5.5s ease-in-out infinite;
}

.c-home-visual__tag--fee {
    left: 8px;
    top: calc(100% * 206 / 690);
    background-color: var(--color-primary-lighter);
    color: var(--color-primary-darker);
    white-space: normal;
    line-height: 1.25;
    text-align: center;
    animation: home-visual-float-fee 6.5s ease-in-out infinite;
}

.c-home-visual__tag--safe {
    left: calc(100% * 376 / 736);
    top: calc(100% * 429 / 690);
    background-color: var(--color-primary-lighter);
    color: var(--color-primary);
    animation: home-visual-float-safe 7s ease-in-out infinite;
}

@keyframes home-visual-float-pay {
    0%,
    100% {
        transform: translate(0, 0);
    }
    30% {
        transform: translate(10px, -14px);
    }
    60% {
        transform: translate(-6px, -8px);
    }
}

@keyframes home-visual-float-fee {
    0%,
    100% {
        transform: translate(0, 0);
    }
    35% {
        transform: translate(-12px, -8px);
    }
    65% {
        transform: translate(6px, 10px);
    }
}

@keyframes home-visual-float-safe {
    0%,
    100% {
        transform: translate(0, 0);
    }
    40% {
        transform: translate(8px, 12px);
    }
    70% {
        transform: translate(-10px, 4px);
    }
}

@keyframes home-visual-float-y {
    0%,
    100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-8px);
    }
}

/* Sticky / QR download card */
.c-home-qr {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    box-sizing: border-box;
    width: 188px;
    padding: 10px 10px 16px;
    background-color: var(--color-white);
    border: 2px solid var(--color-primary);
    border-radius: 10px;
    text-decoration: none;
    color: var(--color-text);
}

.c-home-qr__label {
    display: block;
    margin: 0;
    width: 100%;
    font-size: var(--font-size-12);
    font-weight: var(--font-weight-body-4);
    line-height: var(--line-height-tight);
    color: var(--color-text);
    text-align: center;
    white-space: nowrap;
}

.c-home-qr__label strong {
    font-weight: var(--font-weight-bold);
    color: var(--color-primary);
}

.c-home-qr__img {
    width: 140px;
    height: 140px;
}

.c-home-qr__img img {
    width: 140px;
    height: 140px;
    object-fit: contain;
}

/* Highlight cards */
.c-home-features {
    display: flex;
    gap: 36px;
    align-items: stretch;
}

.c-home-feature {
    flex: 1 1 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    text-align: center;
}

.c-home-feature__ilus {
    width: 15vw;
    max-width: 100%;
    height: auto;
    aspect-ratio: 924 / 828;
}

.c-home-feature__ilus img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.c-home-feature__ttl {
    margin: 0;
    font-size: var(--font-size-24);
    font-weight: var(--font-weight-title-2);
    color: var(--color-text-title);
}

.c-home-feature__txt {
    margin: 0;
    font-size: var(--font-size-20);
    font-weight: var(--font-weight-title-3);
    color: var(--color-text);
}

.c-home-feature__txt strong {
    font-weight: var(--font-weight-bold);
}

/* How to use */
.c-home-howto__head {
    margin-bottom: 64px;
}

.c-home-howto__head .c-home__lead {
    display: none;
}

/* switchTab — Figma 604:14656
   device=mobile (small) is the default so tablet uses it too.
   device=desktop (large) applies from 1025px, then tablet (coarse pointer ≤1366px) stays small. */
.c-home-tabs {
    --home-tab-pill-w: 100px;
    --home-tab-pill-h: 37px;
    --home-tab-pill-x: 8px;
    box-sizing: border-box;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: fit-content;
    margin: 0 auto 20px;
    padding: 8px;
    background-color: var(--color-white);
    border-radius: 100px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.05);
}

.c-home-tabs.is-checkout {
    --home-tab-pill-w: 100px;
    --home-tab-pill-x: 116px;
}

.c-home-tabs__pill {
    position: absolute;
    top: 8px;
    left: 0;
    z-index: 0;
    width: var(--home-tab-pill-w);
    height: var(--home-tab-pill-h);
    border-radius: 55px;
    background-color: var(--color-primary-dark);
    transform: translateX(var(--home-tab-pill-x));
    transition: transform 0.35s ease, width 0.35s ease, height 0.35s ease;
    pointer-events: none;
}

.c-home-tabs__btn {
    box-sizing: border-box;
    position: relative;
    z-index: 1;
    width: auto;
    min-height: 37px;
    padding: 8px 20px;
    border: 0;
    border-radius: 55px;
    background: transparent;
    font-family: var(--font-sans);
    font-size: var(--font-size-14);
    font-weight: var(--font-weight-body-3);
    line-height: var(--line-height-base);
    color: var(--color-primary-dark);
    white-space: nowrap;
    cursor: pointer;
    transition: color 0.35s ease;
}

.c-home-tabs__btn[data-home-tab="checkout"] {
    width: 100px;
}

.c-home-tabs__btn.is-active {
    background-color: transparent;
    color: var(--color-text-inverse);
}

@media screen and (min-width: 1025px) {
    .c-home-tabs {
        --home-tab-pill-w: 134px;
        --home-tab-pill-h: 43px;
        --home-tab-pill-x: 8px;
    }

    .c-home-tabs.is-checkout {
        --home-tab-pill-x: 150px;
    }

    .c-home-tabs__btn,
    .c-home-tabs__btn[data-home-tab="checkout"] {
        width: 134px;
        min-height: 43px;
        padding: 8px 24px;
        font-size: var(--font-size-18);
        font-weight: var(--font-weight-body-1);
    }
}

@media screen and (max-width: 1366px) and (pointer: coarse) {
    .c-home-tabs {
        --home-tab-pill-w: 100px;
        --home-tab-pill-h: 37px;
        --home-tab-pill-x: 8px;
    }

    .c-home-tabs.is-checkout {
        --home-tab-pill-x: 116px;
    }

    .c-home-tabs__btn {
        width: auto;
        min-height: 37px;
        padding: 8px 20px;
        font-size: var(--font-size-14);
        font-weight: var(--font-weight-body-3);
    }

    .c-home-tabs__btn[data-home-tab="checkout"] {
        width: 100px;
    }
}

.c-home-howto__panels {
    position: relative;
    flex: 0 0 auto;
    min-width: 0;
    overflow: hidden;
}

.c-home-howto__card.is-signup .c-home-howto__panels {
    flex: 0 0 426px;
    width: 426px;
    max-width: 100%;
}

.c-home-howto__card.is-checkout .c-home-howto__panels {
    flex: 0 0 auto;
    width: auto;
    max-width: 100%;
}

.c-home-howto__panel {
    display: block;
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
    transition: opacity 0.35s ease, visibility 0.35s ease;
}

.c-home-howto__panel:not(.is-active):not(.is-leave) {
    position: absolute;
    inset: 0;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.c-home-howto__panel.is-leave {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

@media screen and (min-width: 1025px) {
    .c-home-howto__card.is-switching .c-home-howto__panel.is-active {
        animation: home-howto-in-ltr 0.35s ease;
    }

    .c-home-howto__panel.is-leave {
        animation: home-howto-out-ltr 0.35s ease forwards;
    }
}

@keyframes home-howto-in-ltr {
    from {
        opacity: 0;
        transform: translateX(-16px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes home-howto-out-ltr {
    from {
        opacity: 1;
        visibility: visible;
        transform: translateX(0);
    }

    to {
        opacity: 0;
        visibility: hidden;
        transform: translateX(16px);
    }
}

@media screen and (max-width: 1024px) {
    .c-home-howto__card.is-switching .c-home-howto__panel.is-active {
        animation: home-howto-in-ttb 0.35s ease;
    }

    .c-home-howto__panel.is-leave {
        animation: home-howto-out-ttb 0.35s ease forwards;
    }
}

@keyframes home-howto-in-ttb {
    from {
        opacity: 0;
        transform: translateY(-16px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes home-howto-out-ttb {
    from {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }

    to {
        opacity: 0;
        visibility: hidden;
        transform: translateY(16px);
    }
}

.c-home-howto__panel[data-home-panel="checkout"] .c-home-steps {
    width: max-content;
    max-width: 426px;
}

.c-home-howto__card {
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 64px;
    width: fit-content;
    max-width: 100%;
    margin-inline: auto;
    padding: 32px;
    background-color: var(--color-white);
    border-radius: 20px;
    box-shadow: 2px 6px 20px rgba(0, 0, 0, 0.1);
}

.c-home-steps {
    display: flex;
    flex-direction: column;
    gap: 20px;
    width: 426px;
    max-width: 100%;
}

.c-home-step {
    width: 100%;
    padding: 0;
    border: 0;
    background-color: var(--color-white);
    background-image:
        linear-gradient(90deg, rgba(222, 242, 239, 0.3), rgba(222, 242, 239, 0.3)),
        linear-gradient(90deg, var(--color-white), var(--color-white));
    border-radius: 20px;
    text-align: left;
    cursor: pointer;
    font-family: inherit;
    transition: background-color 0.35s ease, background-image 0.35s ease;
}

.c-home-step.is-open {
    background-color: var(--color-primary-green-20);
    background-image: none;
}

.c-home-step__inner {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 16px 20px;
    transition: gap 0.35s ease;
}

.c-home-step.is-open .c-home-step__inner {
    gap: 20px;
}

.c-home-step:not(.is-open) .c-home-step__inner {
    gap: 10px;
}

.c-home-step__num {
    flex-shrink: 0;
    min-width: 1.25em;
    font-size: var(--font-size-20);
    font-weight: var(--font-weight-title-3);
    line-height: var(--line-height-base);
    color: var(--color-grey-700);
    text-align: center;
    transition: color 0.35s ease, font-weight 0.35s ease;
}

.c-home-step.is-open .c-home-step__num {
    color: var(--color-primary-darker);
    font-weight: var(--font-weight-bold);
}

.c-home-step__body {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    align-items: stretch;
    min-width: 0;
    gap: 0;
    transition: gap 0.35s ease;
}

.c-home-step.is-open .c-home-step__body {
    gap: 8px;
}

.c-home-step__ttl {
    margin: 0;
    font-size: var(--font-size-20);
    font-weight: var(--font-weight-title-3);
    line-height: var(--line-height-base);
    color: var(--color-grey-700);
    transition: color 0.35s ease, font-weight 0.35s ease;
}

.c-home-step.is-open .c-home-step__ttl {
    color: var(--color-primary-darker);
    font-weight: var(--font-weight-bold);
}

.c-home-step__desc {
    display: block;
    max-height: 0;
    margin: 0;
    overflow: hidden;
    font-size: var(--font-size-16);
    font-weight: var(--font-weight-body-2);
    line-height: var(--line-height-base);
    color: var(--color-text-title);
    opacity: 0;
    transition: max-height 0.35s ease, opacity 0.35s ease;
}

.c-home-step.is-open .c-home-step__desc {
    max-height: 10em;
    opacity: 1;
}

.c-home-step__desc--note {
    font-size: var(--font-size-12);
    font-weight: var(--font-weight-body-4);
    line-height: var(--line-height-tight);
}

.c-home-step__note {
    display: block;
    margin-top: 8px;
    font-size: var(--font-size-14);
    line-height: var(--line-height-base);
}

/* Phone mock — desktop: 20% of browser window (20vw); do not shrink inside hug row */
.c-home-phone {
    box-sizing: border-box;
    flex: 0 0 auto;
    width: 20vw;
    max-width: 20vw;
    aspect-ratio: 385 / 785;
    height: auto;
}

.c-home-phone__stage {
    position: relative;
    width: 100%;
    aspect-ratio: 385 / 785;
    overflow: hidden;
}

.c-home-phone__img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    max-width: none;
    object-fit: contain;
    opacity: 0;
    pointer-events: none;
    transform-origin: center center;
    transform: scale(1);
    transition: opacity 0.35s ease;
}

.c-home-phone__img.is-shown {
    opacity: 1;
    z-index: 1;
}

/* Tab switch: desktop LTR (steps → phone). Mobile keeps scale-from-center. Step changes omit is-tab-switch (opacity crossfade). */
.c-home-phone.is-tab-switch .c-home-phone__img {
    transition: opacity 0.35s ease, transform 0.35s ease;
}

.c-home-phone.is-tab-switch .c-home-phone__img:not(.is-shown) {
    transform: scale(0.94);
}

@media screen and (min-width: 1025px) {
    .c-home-phone.is-tab-switch .c-home-phone__img.is-shown {
        transform: translateX(0);
    }

    /* Incoming starts left of rest (negative X), then eases right to 0. */
    .c-home-phone.is-tab-switch .c-home-phone__img.is-enter {
        transform: translateX(-28px);
    }

    .c-home-phone.is-tab-switch .c-home-phone__img.is-shown.is-enter {
        transform: translateX(0);
    }

    /* Outgoing continues further right. */
    .c-home-phone.is-tab-switch .c-home-phone__img.is-leave,
    .c-home-phone.is-tab-switch .c-home-phone__img:not(.is-shown):not(.is-enter) {
        transform: translateX(28px);
    }
}

@media (prefers-reduced-motion: reduce) {
    .c-home-step,
    .c-home-step__inner,
    .c-home-step__num,
    .c-home-step__body,
    .c-home-step__ttl,
    .c-home-step__desc,
    .c-home-tabs__pill,
    .c-home-tabs__btn,
    .c-home-howto__panel,
    .c-home-phone__img {
        transition: none;
    }

    .c-home-howto__panel:not(.is-active),
    .c-home-howto__card.is-switching .c-home-howto__panel.is-active,
    .c-home-howto__panel.is-leave,
    .c-home-step__desc,
    .c-home-step.is-open .c-home-step__desc,
    .c-home-phone.is-tab-switch .c-home-phone__img:not(.is-shown),
    .c-home-phone.is-tab-switch .c-home-phone__img.is-enter,
    .c-home-phone.is-tab-switch .c-home-phone__img.is-leave {
        transform: none;
        animation: none;
    }

    .c-home-shop__hover {
        transition: none;
    }

    .c-home-visual__tag {
        animation: none;
    }
}

/* Company */
.c-home-stats {
    display: flex;
    align-items: center;
    justify-content: stretch;
    width: 100%;
    gap: 48px;
    margin-bottom: 24px;
}

.c-home-stat {
    display: flex;
    flex: 1 1 0;
    flex-direction: column;
    align-items: center;
    min-width: 0;
    gap: 20px;
    text-align: center;
}

.c-home-stat__value {
    margin: 0;
    font-size: var(--font-size-48);
    font-weight: var(--font-weight-semibold);
    line-height: var(--line-height-base);
    color: var(--color-primary-dark);
}

.c-home-stat__label {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 4px;
    margin: 0;
    max-width: 100%;
    font-size: var(--font-size-24);
    font-weight: var(--font-weight-semibold);
    color: var(--color-text);
    white-space: nowrap;
}

.c-home-stat__name {
    white-space: nowrap;
}

.c-home-stat__ref {
    font-size: var(--font-size-12);
    font-weight: var(--font-weight-medium);
    line-height: 1;
}

.c-home-stats__rule {
    width: 1px;
    height: 48px;
    background-color: var(--color-grey-200);
}

.c-home-notes {
    margin: 0 auto;
    max-width: 717px;
    font-size: var(--font-size-12);
    font-weight: var(--font-weight-body-4);
    line-height: var(--line-height-tight);
    color: var(--color-text-muted);
    text-align: center;
}

.c-home-map {
    display: block;
    width: 100%;
    max-width: 984px;
    margin: 64px auto 0;
    padding: 40px;
    border: 0;
    background-color: var(--color-white);
    border-radius: 20px;
    box-shadow: 0 4px 29.5px rgba(0, 0, 0, 0.1);
    cursor: zoom-in;
    font: inherit;
    color: inherit;
}

.c-home-map img {
    display: block;
    width: 100%;
    pointer-events: none;
    border-radius: 20px;
}

.c-home-map-modal .c-modal__container {
    width: min(92vw, 1200px);
}

@media (orientation: landscape) {
    .c-home-map-modal .c-modal__container {
        width: min(92vw, 1200px);
    }
}

.c-home-map-modal__title {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.c-home-map-modal .c-modal__fig img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 20px;
}

@media screen and (max-width: 1024px) {
    .c-home-map-modal .c-modal__close-btn {
        top: 8px;
        right: 8px;
        z-index: 2;
    }
}

.c-home-np {
    display: flex;
    align-items: center;
    gap: 32px;
    width: 100%;
    max-width: 984px;
    margin: 64px auto 0;
    padding: 24px 32px;
    background: transparent;
    border-radius: 20px;
}

.c-home-np__logo {
    width: 306px;
    max-width: 100%;
    flex-shrink: 0;
}

.c-home-np__logo img {
    display: block;
    width: 100%;
    height: auto;
    object-fit: contain;
}

.c-home-np__name {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
    margin: 0 0 16px;
    font-size: var(--font-size-24);
    font-weight: var(--font-weight-title-2);
    color: var(--color-text);
}

.c-home-np__company {
    flex: 0 1 auto;
}

.c-home-np__ticker {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
}

.c-home-np__code {
    white-space: nowrap;
}

.c-home-np__badge {
    display: block;
    flex-shrink: 0;
    width: 36px;
    height: 46px;
}

.c-home-np__badge img {
    width: 36px;
    height: 46px;
    object-fit: contain;
}

.c-home-np__list {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.c-home-np__list li {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: var(--font-size-16);
    font-weight: var(--font-weight-body-2);
    color: var(--color-text);
}

.c-home-np__list li .c-home-icon {
    margin-top: 4px;
}

/* Shops */
.c-home-shops {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
    width: 100%;
    max-width: 100%;
    margin-inline: auto;
    padding: 30px;
    background-color: var(--color-white);
    border-radius: 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.c-home-shops__grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    width: 100%;
}

.c-home-shop {
    position: relative;
    box-sizing: border-box;
    display: flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    width: 280px;
    max-width: 100%;
    aspect-ratio: 1 / 1;
    height: auto;
    padding: 0;
    overflow: hidden;
    background-color: var(--color-white);
    border: 0;
    border-radius: 20px;
    color: inherit;
    text-decoration: none;
    cursor: pointer;
}

.c-home-shop__logo {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.c-home-shop__hover {
    position: absolute;
    inset: 0;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 16px;
    background-color: rgba(8, 8, 8, 0.8);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease;
}

@media (hover: hover) and (pointer: fine) {
    .c-home-shop:hover .c-home-shop__hover {
        opacity: 1;
    }
}

.c-home-shop__name {
    font-family: var(--font-sans);
    font-size: var(--font-size-20);
    font-weight: var(--font-weight-title-3);
    line-height: var(--line-height-base);
    color: var(--color-text-inverse);
    text-align: center;
}

.c-home-shop__arrow {
    display: block;
    width: 24px;
    height: 24px;
    margin-top: 0;
}

.c-home-shop__arrow img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    transform: rotate(-90deg);
}

.c-home-shops__soon {
    margin: 0;
    font-size: var(--font-size-16);
    font-weight: var(--font-weight-body-2);
    color: var(--color-text-60);
}

.c-home-cta .c-home__head {
    margin-bottom: 20px;
}

.c-home-cta__row {
    display: flex;
    align-items: flex-end;
    justify-content: center;
    gap: 40px;
    width: 100%;
    max-width: 904px;
    margin: 0 auto;
}

.c-home-cta__phones {
    flex: 1 1 auto;
    min-width: 0;
}

.c-home-cta__phones img {
    display: block;
    width: 100%;
    height: auto;
}

.c-home-cta__dl {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    flex: 0 0 auto;
    padding: 20px 20px 32px;
    border-radius: 20px;
    background-image: linear-gradient(-32deg, #5ac0b1 0.5%, #def0ed 88%);
}

.c-home-cta__dl-ttl {
    margin: 0;
    font-size: var(--font-size-20);
    font-weight: var(--font-weight-title-3);
    line-height: var(--line-height-base);
    color: #333;
    text-align: center;
}

.c-home-cta__qr {
    display: block;
    width: 150px;
    height: 150px;
}

.c-home-cta__qr img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.c-home-cta__stores {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.c-home .c-home-cta__stores .l-footer__app-btn,
.c-home .c-home-cta__stores .l-footer__app-btn--google {
    width: auto;
    height: 40px;
}

.c-home .c-home-cta__stores .l-footer__app-btn img,
.c-home .c-home-cta__stores .l-footer__app-btn--google img {
    width: auto;
    max-width: none;
    height: 40px;
    object-fit: contain;
}

.c-home-cta__app {
    display: none;
}

.c-home-b2b {
    display: grid;
    grid-template-columns: 1fr auto;
    grid-template-areas:
        "kicker ilus"
        "ttl ilus"
        "btn ilus";
    align-items: center;
    column-gap: 36px;
    row-gap: 8px;
    width: 100%;
    max-width: 984px;
    margin: 64px auto 0;
    padding: 24px 32px;
    background-color: var(--color-primary-lighter);
    border-radius: 24px;
}

.c-home-b2b__kicker {
    grid-area: kicker;
    margin: 0;
    font-size: var(--font-size-16);
    font-weight: var(--font-weight-body-2);
    color: var(--color-primary-darker);
}

.c-home-b2b__ttl {
    grid-area: ttl;
    margin: 0;
    font-size: var(--font-size-20);
    font-weight: var(--font-weight-title-3);
    color: var(--color-text-title);
}

.c-home-b2b__btn {
    grid-area: btn;
    justify-self: start;
    width: auto;
    min-height: 0;
    margin-top: 8px;
    padding: 10px 24px;
    border-radius: 24px;
    font-size: var(--font-size-20);
    font-weight: var(--font-weight-bold);
    line-height: var(--line-height-base);
}

.c-home-b2b__ilus {
    grid-area: ilus;
    width: 134px;
    height: 134px;
}

.c-home-b2b__ilus img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.c-home-b2b__ilus-sp {
    display: none;
}

@media screen and (max-width: 1280px) {
    .c-home__inner {
        padding-inline: 40px;
    }

    .c-home-hero__inner {
        padding-inline: 40px;
    }
}

@media screen and (max-width: 1024px) {
    .c-home__inner {
        padding-inline: 20px;
    }

    .c-home__section {
        padding-block: 24px;
    }

    .c-home__section:has(.c-home-shops) {
        padding-block: 32px;
    }

    .c-home__head {
        margin-bottom: 20px;
    }

    .c-home__title {
        font-size: var(--font-size-24);
        font-weight: var(--font-weight-title-2);
    }

    .c-home__lead {
        font-size: var(--font-size-18);
        font-weight: var(--font-weight-body-1);
    }

    .c-home-hero {
        height: auto;
        min-height: 637px;
    }

    .c-home-hero__bg,
    .c-home-hero__bg img {
        height: 100%;
    }

    .c-home-hero__inner {
        height: auto;
        min-height: 637px;
        flex-direction: column;
        align-items: flex-start;
        gap: 0;
        padding-top: 34px;
        padding-bottom: 24px;
        padding-inline: 20px;
        text-align: left;
    }

    .c-home-hero__copy {
        flex: 0 0 auto;
        max-width: 100%;
        width: 100%;
        margin-top: 0;
        padding-inline: 12px;
    }

    .c-home__section:has(.c-home-shops) .c-home__lead {
        font-size: var(--font-size-16);
        font-weight: var(--font-weight-body-2);
    }

    .c-home-hero__title {
        font-size: var(--font-size-32);
    }

    .c-home-hero__sub {
        max-width: 284px;
        margin-top: 10px;
        font-size: var(--font-size-16);
        font-weight: var(--font-weight-body-2);
    }

    .c-home-hero__actions--pc {
        display: none;
    }

    .c-home-hero__actions--sp {
        display: flex;
        margin-top: 0;
    }

    .c-home-hero__actions--sp .c-home-btn--fill {
        min-height: 56px;
        padding: 0 34px;
        box-shadow: 1px 1px 5px rgba(0, 0, 0, 0.18);
        font-weight: var(--font-weight-bold);
        letter-spacing: 1px;
    }

    .c-home-hero__fig {
        flex: 0 0 auto;
        min-width: 0;
        max-width: 100%;
        width: 100%;
        margin-top: 12px;
        margin-inline: 0;
        align-self: stretch;
        align-items: stretch;
        justify-content: flex-start;
    }

    .c-home-visual {
        width: 100%;
        height: auto;
        aspect-ratio: 8000 / 5772;
        overflow: visible;
    }

    .c-home-visual__mockup {
        left: 0;
        width: 100%;
    }

    .c-home-visual__mockup img {
        left: 0;
        top: 0;
        width: 100%;
        height: 100%;
        object-fit: contain;
        object-position: center center;
    }

    .c-home-visual__tag {
        padding: 8px 12px;
        border-radius: 16px;
        font-size: var(--font-size-12);
        max-width: calc(100% - 16px);
        animation-name: home-visual-float-y;
        animation-duration: 5.5s;
    }

    .c-home-visual__tag--pay {
        left: auto;
        right: 8px;
        top: 64%;
        animation-duration: 5.5s;
        animation-delay: 0s;
    }

    .c-home-visual__tag--fee {
        left: 8px;
        right: auto;
        top: 18%;
        animation-duration: 6.5s;
        animation-delay: 0.4s;
    }

    .c-home-visual__tag--safe {
        left: auto;
        right: 8px;
        top: 8%;
        font-weight: var(--font-weight-medium);
        animation-duration: 7s;
        animation-delay: 0.2s;
    }

    .c-home-features {
        flex-direction: column;
        gap: 40px;
    }

    .c-home-feature {
        gap: 8px;
    }

    .c-home-feature__ilus {
        width: 100%;
        max-width: 200px;
        height: auto;
        aspect-ratio: 924 / 828;
    }

    .c-home-feature__ilus img {
        width: 100%;
        height: auto;
        object-fit: contain;
    }

    .c-home-feature__ttl {
        font-size: var(--font-size-24);
        font-weight: var(--font-weight-title-2);
    }

    .c-home-feature__txt {
        font-size: var(--font-size-16);
        font-weight: var(--font-weight-body-2);
    }

    .c-home-howto__head {
        margin-bottom: 20px;
    }

    .c-home-howto__head .c-home__lead {
        display: none;
    }

    .c-home-howto__card {
        flex-direction: column;
        align-items: stretch;
        gap: 20px;
        width: 100%;
        padding: 20px;
        background-color: var(--color-white);
        box-shadow: 2px 6px 10px rgba(0, 0, 0, 0.1);
        border-radius: 20px;
    }

    .c-home-howto__card.is-signup .c-home-howto__panels,
    .c-home-howto__card.is-checkout .c-home-howto__panels {
        flex: 1 1 auto;
        width: 100%;
        max-width: 100%;
    }

    .c-home-howto__panel[data-home-panel="checkout"] .c-home-steps {
        width: 100%;
    }

    .c-home-steps {
        width: 100%;
        gap: 10px;
    }

    .c-home-step__inner,
    .c-home-step.is-open .c-home-step__inner,
    .c-home-step:not(.is-open) .c-home-step__inner {
        gap: 10px;
    }

    .c-home-step.is-open .c-home-step__body {
        gap: 4px;
    }

    .c-home-step__ttl,
    .c-home-step__num {
        font-size: var(--font-size-16);
        font-weight: var(--font-weight-body-2);
    }

    .c-home-step.is-open .c-home-step__ttl,
    .c-home-step.is-open .c-home-step__num {
        font-size: var(--font-size-16);
        font-weight: var(--font-weight-title-4);
    }

    .c-home-step__desc {
        font-size: var(--font-size-14);
        font-weight: var(--font-weight-body-3);
        transform: translateY(-8px);
        transition: max-height 0.35s ease, opacity 0.35s ease, transform 0.35s ease;
    }

    .c-home-step.is-open .c-home-step__desc {
        transform: translateY(0);
    }

    .c-home-step__note {
        margin-top: 4px;
        font-size: var(--font-size-12);
        line-height: var(--line-height-tight);
    }

    .c-home-phone {
        display: block;
        order: -1;
        box-sizing: border-box;
        flex: 0 0 auto;
        width: 30vw;
        min-width: 0;
        max-width: 30vw;
        margin-inline: auto;
        aspect-ratio: 385 / 785;
        height: auto;
    }

    .c-home-stats {
        flex-direction: column;
        align-items: stretch;
        gap: 16px;
    }

    .c-home-stats__rule {
        display: none;
    }

    .c-home-stat {
        flex: 1 1 auto;
        width: 100%;
        max-width: none;
        gap: 8px;
        padding: 12px 20px;
        background-color: var(--color-white);
        border-radius: 12px;
        box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    }

    .c-home-stat__value {
        font-size: var(--font-size-24);
        font-weight: var(--font-weight-title-2);
    }

    .c-home-stat__label {
        font-size: var(--font-size-16);
        font-weight: var(--font-weight-medium);
        gap: 4px;
    }

    .c-home-stat__ref {
        font-size: 10px;
    }

    .c-home-map {
        padding: 12px;
        margin-top: 20px;
        border-radius: 10px;
    }

    .c-home-map img {
        border-radius: 10px;
    }

    .c-home-np {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
        padding: 20px;
        margin-top: 20px;
        background: transparent;
    }

    .c-home-np__logo {
        width: 100%;
        max-width: 295px;
        margin-inline: auto;
    }

    .c-home-np__name {
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
        margin: 0 0 20px;
        font-size: var(--font-size-16);
        font-weight: var(--font-weight-title-4);
    }

    .c-home-np__badge {
        width: 24px;
        height: 31px;
    }

    .c-home-np__badge img {
        width: 24px;
        height: 31px;
    }

    .c-home-np__list li {
        align-items: center;
        font-size: var(--font-size-14);
    }

    .c-home-np__list li .c-home-icon {
        margin-top: 0;
    }

    .c-home-shops {
        width: 100%;
        padding: 16px;
        gap: 16px;
    }

    .c-home-shops__grid {
        display: flex;
        flex-wrap: wrap;
        gap: 20px;
        justify-content: center;
    }

    .c-home-shop {
        width: 120px;
        max-width: 120px;
        height: auto;
        aspect-ratio: 1 / 1;
        padding: 0;
        border-radius: 10px;
    }

    .c-home-shop__logo {
        width: 100%;
        height: 100%;
        max-width: none;
    }

    .c-home-shop__name {
        font-size: var(--font-size-12);
        font-weight: var(--font-weight-medium);
        line-height: var(--line-height-tight);
    }

    .c-home-shop__arrow {
        width: 16px;
        height: 16px;
    }

    .c-home-shops__soon {
        font-size: var(--font-size-12);
        font-weight: var(--font-weight-body-4);
        line-height: var(--line-height-tight);
    }

    .c-home-cta__row {
        flex-direction: column;
        gap: 24px;
        max-width: none;
    }

    .c-home__section.c-home-cta {
        padding-block: 32px;
    }

    .c-home-cta .c-home__inner {
        display: flex;
        flex-direction: column;
        gap: 24px;
    }

    .c-home-cta .c-home__head {
        margin-bottom: 0;
    }

    .c-home-cta__dl {
        display: none;
    }

    .c-home-cta__app {
        display: flex;
        width: 100%;
        min-height: 0;
        margin-top: 0;
        padding: 12px 24px;
        border-radius: 55px;
        font-size: var(--font-size-16);
        font-weight: var(--font-weight-title-4);
        line-height: var(--line-height-base);
        box-shadow: 1px 1px 5px rgba(0, 0, 0, 0.18);
    }

    .c-home-b2b {
        display: grid;
        grid-template-columns: 1fr;
        grid-template-areas:
            "ilus"
            "kicker"
            "ttl"
            "btn";
        justify-items: center;
        text-align: center;
        gap: 10px;
        width: 100%;
        padding: 20px;
        margin-top: 0;
        background-color: #def0ed;
    }

    .c-home-b2b__ilus {
        width: 75px;
        height: 75px;
    }

    .c-home-b2b__ilus-pc {
        display: none;
    }

    .c-home-b2b__ilus-sp {
        display: block;
    }

    .c-home-b2b__kicker {
        font-size: var(--font-size-12);
        font-weight: var(--font-weight-body-4);
        line-height: var(--line-height-tight);
    }

    .c-home-b2b__ttl {
        font-size: var(--font-size-16);
        font-weight: var(--font-weight-body-2);
        color: var(--color-text);
    }

    .c-home-b2b__btn {
        justify-self: stretch;
        width: 100%;
        min-height: 0;
        margin-top: 6px;
        padding: 12px 24px;
        border-radius: 55px;
        font-size: var(--font-size-16);
        font-weight: var(--font-weight-title-4);
        background-color: var(--color-white);
        color: var(--color-primary);
        border: 1px solid var(--color-primary-60);
    }
}

/* Phone & tablet mock width is 30vw (set in the 1024px query) */
