@charset "UTF-8";

/* page-hero(代理店版は帯が深緑) */
.page-hero--agency {
    --page-hero-band: var(--c-deep);
}

/* fit(代理店版: 見出しは吹き出しなし。写真はSP=横長/PC=円形で /liver/ と同じ切り替え) */
.fit {
    padding: 3rem var(--s-20) 4rem;
}
.fit__title {
    margin-top: var(--s-40);
    color: var(--c-deep);
    font-size: var(--fs-20);
    font-weight: 700;
    letter-spacing: 0.04em;
    text-align: center;
}
.fit__list {
    margin-top: var(--s-24);
}
@media screen and (min-width: 768px) {
    .fit {
        padding: 4rem var(--s-40) 7.5rem;   /* Figma: 帯下端y688〜リードy749 / 写真下端y1445〜次セクションy1565 */
    }
    .fit__title {
        margin-top: 5.25rem;
        font-size: var(--fs-24);
    }
    .fit__lead {
        font-size: var(--fs-16);
    }
    .fit__list {
        grid-template-columns: repeat(auto-fit, minmax(27rem, 35.4375rem));   /* 1200pxで(写真210 + 16 + 本文341)×2列。狭い画面では1列に落とす */
        gap: 2.625rem 3.5rem;
        margin-top: 3rem;
    }
    .fit-item__photo {
        flex-basis: 13.125rem;
        width: 13.125rem;
    }
    .fit-item__body {
        flex: 1 1 21.3125rem;
        min-width: 0;
    }
    .fit-item__label {
        font-size: var(--fs-16);
        line-height: 1.4;
        white-space: normal;
    }
}

/* role */
.role {
    padding: 3rem var(--s-20) 0;
}
.role__title {
    display: flex;
    justify-content: center;
    margin-bottom: var(--s-16);
}
.role__title span {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    width: 19rem;
    height: 4.8125rem;
    padding-top: 1.375rem;
    background: url("../img/fit_bubble.svg") center top / 100% auto no-repeat;
    color: var(--c-deep);
    font-size: var(--fs-14);
    font-weight: 800;
    letter-spacing: 0.02em;
    line-height: 1;
    white-space: nowrap;
}
.role__inner {
    max-width: 52rem;   /* 832px */
    margin: 0 auto;
}
.role__boxes {
    position: relative;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--s-16);
}
.role-box {
    min-width: 0;
    border: 2px solid var(--c-deep);
    border-radius: 16px;
    background: var(--c-white);
    overflow: hidden;
}
.role-box__head {
    padding: var(--s-8);
    background: var(--c-deep);
    color: var(--c-white);
    font-size: var(--fs-16);
    font-weight: 700;
    line-height: 1.5;
    text-align: center;
}
.role-box__list {
    display: flex;
    flex-direction: column;
    gap: var(--s-8);
    padding: var(--s-16) var(--s-12);
    font-size: var(--fs-14);
    font-weight: 500;
    letter-spacing: 0;   /* SPで「・ライバー登録手続き」を1行に収める */
    line-height: 1.5;
    white-space: nowrap;
}
.role__plus {
    position: absolute;
    top: 50%;
    left: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    background: var(--c-coral);
    color: var(--c-white);
    font-size: var(--fs-20);
    font-weight: 800;
    line-height: 1;
    transform: translate(-50%, -50%);
}
.role__arrow {
    position: absolute;
    top: -2.25rem;   /* 上の左枠の下端から結果枠の中へ(旧LPの構成) */
    left: 25%;
    z-index: 1;
    width: 3rem;
    transform: translateX(-50%);
}
.role__result {
    position: relative;
    margin-top: var(--s-24);
    padding: 3.5rem var(--s-20) var(--s-24);
    border-radius: 24px;
    background: var(--g-colorful);
    text-align: center;
}
.role__result-title {
    color: var(--c-deep);
    font-size: var(--fs-20);
    font-weight: 700;
    line-height: 1.5;
}
.role__result-text {
    margin-top: var(--s-8);
    font-size: var(--fs-14);
    line-height: 1.6;
}
.role__note {
    margin-top: var(--s-8);
    font-size: var(--fs-12);
    font-weight: 400;
    line-height: 1.5;
    text-align: right;
}
@media screen and (min-width: 768px) {
    .role {
        padding: 5.375rem var(--s-40) 0;   /* Figma: 推す理由の下端y2303〜吹き出しy2389 */
    }
    .role__title {
        margin-bottom: var(--s-32);
    }
    .role__title span {
        width: 27.1875rem;
        height: 6.5rem;
        padding-top: 2.0625rem;
        font-size: var(--fs-20);
    }
    .role__boxes {
        gap: var(--s-32);
    }
    .role-box {
        min-height: 15.25rem;   /* 244px */
        border-radius: 24px;
    }
    .role-box__head {
        padding: 0.9375rem var(--s-8);
        font-size: var(--fs-20);
    }
    .role-box__list {
        padding: var(--s-24) var(--s-32);
        font-size: var(--fs-18);
    }
    .role__plus {
        width: 4rem;
        height: 4rem;
        font-size: var(--fs-32);
    }
    .role__arrow {
        top: -4.0625rem;   /* Figma: 矢印は上の枠と結果枠にまたがる(y2728〜2871) */
        left: 6.9375rem;
        width: 6rem;
        transform: none;
    }
    .role__result {
        margin-top: var(--s-24);
        padding: 3.5rem var(--s-40) 3rem;
    }
    .role__result-title {
        font-size: var(--fs-28);
    }
    .role__result-text {
        margin-top: 0.9375rem;
        font-size: var(--fs-18);
    }
    .role__note {
        margin-top: 0.625rem;
    }
}

/* promise(代理店版: ラベルが1文字長いのでSPは16pxで1行に収める。PCは役割分担の注釈ぶん上余白を詰める) */
.promise-item__label {
    font-size: var(--fs-16);
    white-space: nowrap;
}
@media screen and (min-width: 768px) {
    .promise-item__label {
        font-size: var(--fs-20);
    }
    .promise {
        padding-top: 5.8125rem;
    }
    .promise__bulb {
        top: 3.75rem;
    }
}

/* reward */
.reward {
    padding: 4rem var(--s-20) 0;
}
.reward__inner {
    display: flex;
    flex-direction: column;
    gap: var(--s-32);
    max-width: 56.25rem;
    margin: 0 auto;
}
.reward__title {
    display: table;
    margin: 0 auto;
    padding: var(--s-4) var(--s-24);
    border: 2px solid var(--c-deep);
    color: var(--c-deep);
    font-size: var(--fs-16);
    font-weight: 700;
    letter-spacing: 0.02em;
    line-height: 1.6;
}
.reward__text {
    margin-top: var(--s-16);
    font-size: var(--fs-14);
    font-weight: 400;
    letter-spacing: 0.02em;
    line-height: 1.7;
}
/* 図はFigma(380×264)の座標を%にしてパネル基準で配置。中身の大きさはrem */
.reward-flow {
    position: relative;
    width: 100%;
    max-width: 23.75rem;
    margin: var(--s-16) auto 0;
}
.reward-flow__label {
    position: absolute;
    top: -1.0625rem;
    left: 50%;
    z-index: 1;
    padding: 0.375rem var(--s-20);
    border-radius: 20px;
    background: var(--c-deep);
    color: var(--c-white);
    font-size: var(--fs-14);
    font-weight: 700;
    line-height: 1.5;
    white-space: nowrap;
    transform: translateX(-50%);
}
.reward-flow__panel {
    position: relative;
    aspect-ratio: 380 / 264;
    border-radius: 16px;
    background: var(--c-white);
}
.reward-flow__node,
.reward-flow__arrow,
.reward-flow__tag {
    position: absolute;
}
.reward-flow__node {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 0;
    font-size: var(--fs-14);
    font-weight: 600;
    letter-spacing: 0.02em;
    line-height: 1.6;
    white-space: nowrap;
}
.reward-flow__node--tiktok {
    left: 45.26%;
    top: 13.64%;
    font-size: var(--fs-18);
    font-weight: 500;
}
.reward-flow__node--tiktok img {
    width: 2.9375rem;
}
.reward-flow__node--office {
    left: 15.26%;
    top: 61.74%;
    gap: 0.1875rem;
}
.reward-flow__node--office img {
    width: 4.625rem;
}
.reward-flow__node--liver {
    left: 71.58%;
    top: 54.17%;
}
.reward-flow__node--liver img {
    width: 3.75rem;
}
.reward-flow__arrow {
    width: 2.78rem;
    height: 2.78rem;
}
.reward-flow__arrow--office {
    left: 34.8%;
    top: 47.3%;
    transform: translate(-50%, -50%) rotate(-144.33deg);
}
.reward-flow__arrow--liver {
    left: 67.2%;
    top: 47.3%;
    transform: translate(-50%, -50%) rotate(150deg);
}
.reward-flow__arrow--none {
    left: 52.4%;
    top: 72.5%;
    transform: translate(-50%, -50%) rotate(90deg);
}
.reward-flow__tag {
    padding: 2px 0.25rem;
    background: var(--c-yellow-l);
    font-size: var(--fs-12);
    font-weight: 700;
    letter-spacing: 0.04em;
    line-height: 1.6;
    white-space: nowrap;
}
.reward-flow__tag--office {
    left: 10.8%;
    top: 33.3%;
}
.reward-flow__tag--liver {
    left: 72.1%;
    top: 33.3%;
}
.reward-flow__tag--none {
    left: 52.4%;
    top: 80.3%;
    color: var(--c-coral);
    transform: translateX(-50%);
}
@media screen and (min-width: 768px) {
    .reward {
        padding: 4rem var(--s-40) 0;   /* Figma: 約束の下端y3668〜y3788 */
    }
    .reward__inner {
        flex-direction: row;
        justify-content: space-between;
        gap: var(--s-40);
    }
    .reward__body {
        flex: 1 1 30rem;   /* 480px */
        min-width: 0;
    }
    .reward__title {
        padding: 0.375rem var(--s-24);
        font-size: var(--fs-18);
    }
    .reward__text {
        margin-top: var(--s-20);
        font-size: var(--fs-16);
    }
    .reward-flow {
        flex: 0 1 23.75rem;
        margin: 0;
    }
    .reward-flow__label{
        font-size: var(--fs-16);
    }
    .reward-flow__tag{
        font-size: var(--fs-14);
    }
}

/* plan */
.plan {
    padding: 4rem var(--s-20) 1.5rem;
}
.plan .section-title {
    margin-bottom: var(--s-24);
}
.plan__lead {
    margin-bottom: var(--s-32);
    font-size: var(--fs-14);
    letter-spacing: 0.04em;
    line-height: 1.6;
}
.plan__list {
    display: grid;
    gap: var(--s-24);
    max-width: var(--w-content);
    margin: 0 auto;
}
.plan-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--s-24);
    padding: var(--s-32) var(--s-20);
    border-radius: 24px;
    background: var(--c-white);
}
.plan-card__title {
    padding: var(--s-8) var(--s-24);
    background: var(--c-coral);
    color: var(--c-white);
    font-size: var(--fs-18);
    font-weight: 700;
    letter-spacing: 0.03em;
    line-height: 1.4;
}
.plan-card__text {
    width: 100%;
    font-size: var(--fs-14);
    font-weight: 400;
    letter-spacing: 0.03em;
    line-height: 1.7;
}
.plan-card__scope {
    display: flex;
    justify-content: center;
    align-items: flex-end;
    gap: var(--s-24);
    width: 100%;
    padding: var(--s-16) var(--s-12);
    border-radius: 6px;
    background: var(--c-bg-soft);
}
.scope-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--s-4);
    color: var(--c-deep);
    font-size: var(--fs-12);
    font-weight: 700;
    line-height: 1.4;
}
.scope-item--off {
    color: var(--c-gray-l);
}
.scope-item img {
    width: auto;
    height: 2.25rem;
}
.plan-card__table {
    display: grid;
    grid-template-columns: 7.5rem 1fr;
    width: 100%;
    font-size: var(--fs-12);
    line-height: 1.3;
    text-align: center;
}
.plan-card__th,
.plan-card__td {
    display: flex;
    justify-content: center;
    align-items: center;
}
.plan-card__th {
    padding: var(--s-8);
    background: var(--c-deep);
    color: var(--c-white);
    font-weight: 600;
}
.plan-card__th + .plan-card__td + .plan-card__th {
    border-top: 1px solid var(--c-white);
}
.plan-card__td {
    padding: var(--s-8) var(--s-16);
    border: 1px solid var(--c-deep);
    font-weight: 500;
}
.plan-card__td + .plan-card__th + .plan-card__td {
    border-top: 0;
}
.plan-card__td--strong {
    font-weight: 700;
}
@media screen and (min-width: 768px) {
    .plan {
        padding: 6rem var(--s-40) 1.5rem;   /* Figma: 報酬の下端y4069〜PLAN y4149 / カード下端y4845〜SUPPORT y4965 */
    }
    .plan__lead {
        font-size: var(--fs-16);
        text-align: center;
    }
    .plan__list {
        grid-template-columns: repeat(auto-fit, minmax(17.5rem, 24rem));   /* 1200pxで384×3列。狭い画面では列数を落とす */
        justify-content: center;
    }
    .plan-card {
        padding: var(--s-40) var(--s-20);
    }
    .plan-card__title {
        padding: var(--s-12) var(--s-40);
        font-size: var(--fs-20);
    }
    .plan-card__text {
        font-size: var(--fs-16);
    }
}

/* support(代理店版: 写真付きカード4枚 + 共通のアイコンカード4枚) */
.support__features {
    display: grid;
    gap: var(--s-16);
    max-width: var(--w-content);
    margin: 0 auto var(--s-16);
}
.support-feature {
    display: flex;
    flex-direction: column;
    gap: var(--s-16);
    padding: var(--s-24) var(--s-20);
    border-radius: 24px;
    background: var(--c-white);
}
.support-feature__photo {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    border-radius: 16px;
    object-fit: cover;
}
.support-feature__title {
    color: var(--c-deep);
    font-size: var(--fs-18);
    font-weight: 700;
    line-height: 1.45;
}
.support-feature__text {
    margin-top: var(--s-12);
    font-size: var(--fs-14);
    font-weight: 500;
    line-height: 1.6;
}
@media screen and (min-width: 768px) {
    .support__features {
        grid-template-columns: repeat(auto-fit, minmax(27rem, 1fr));   /* 1200pxで2列。狭い画面では1列に落とす */
        gap: var(--s-24);
        margin-bottom: var(--s-24);
    }
    .support-feature {
        flex-direction: row;
        gap: var(--s-20);
        padding: var(--s-40) var(--s-24);
    }
    .support-feature__photo {
        flex: 1 1 15rem;
        width: 15rem;
        min-width: 9rem;
        height: auto;
        align-self: flex-start;
        aspect-ratio: auto;
    }
    .support-feature__body {
        flex: 1.2 1 17.5rem;
        min-width: 0;
        padding-top: var(--s-8);
    }
    .support-feature__title {
        font-size: var(--fs-18);
    }
    .support-feature__text {
        margin-top: var(--s-16);
    }
    .support-card__text{
        font-size: var(--fs-14);
    }
}

/* case */
.case {
    padding: 1.5rem var(--s-20) 1rem;
}
.case__list {
    display: grid;
    gap: var(--s-40);
    max-width: 56.25rem;
    margin: 1.5rem auto 0;
}
/* SP: 写真は枠の下端に合わせて絶対配置し、上と外側に少しはみ出させる(旧LPの構成)。2枚目は左右反転 */
.case-item {
    position: relative;
    min-height: 10.5rem;
    padding: 1rem 0.75rem 1rem 9.75rem;
    border: 1px solid var(--c-deep);
    background: var(--c-white);
}
.case-item--reverse {
    padding: 1rem 9.75rem 1rem 0.75rem;
}
.case-item__photo {
    position: absolute;
    left: 0rem;
    bottom: 0px;
    width: 9.5rem;
    height: auto;
}
.case-item--reverse .case-item__photo {
    left: auto;
    right: 0rem;
}
.case-item__body {
    min-width: 0;
    padding-top: var(--s-4);
}
.case-item__num {
    display: flex;
    align-items: center;
    gap: var(--s-8);
    color: var(--c-deep);
    font-family: "Share", var(--font-en);
    font-size: var(--fs-16);
    line-height: 1;
}
.case-item__tag {
    padding: 2px var(--s-8);
    border: 1px solid var(--c-deep);
    font-family: var(--font-base);
    font-size: var(--fs-12);
    font-weight: 500;
    line-height: 1;
}
.case-item__label {
    display: inline-flex;
    align-items: center;
    min-height: 2.0625rem;
    margin-top: var(--s-8);
    padding: var(--s-4) var(--s-16) var(--s-4) var(--s-12);
    background: var(--c-deep);
    color: var(--c-white);
    font-size: var(--fs-14);
    font-weight: 700;
    letter-spacing: 0;
    line-height: 1.3;
    clip-path: polygon(0 0, 100% 0, calc(100% - 10px) 100%, 0 100%);   /* 右端を斜めに */
}
.case-item__text {
    margin-top: var(--s-8);
    font-size: var(--fs-12);
    line-height: 1.6;
}
.case-item__text strong {
    color: var(--c-deep);
    font-weight: 700;
}
.case__note {
    max-width: 56.25rem;
    margin: var(--s-8) auto 0;
    font-size: var(--fs-12);
    line-height: 1.6;
    text-align: right;
}
@media screen and (min-width: 768px) {
    .case {
        padding: 1.5rem var(--s-40) 5rem;   /* Figma: 注釈下端y6570〜FLOW背景y6663 */
    }
    .case__list {
        grid-template-columns: repeat(2, minmax(0, 27.5rem));
        justify-content: center;
        gap: var(--s-20);
        margin-top: 0;
    }
    .case-item,
    .case-item--reverse {
        display: flex;
        gap: 1.0625rem;
        min-height: 0;
        padding: 1rem 0.75rem 0;
    }
    .case-item__photo,
    .case-item--reverse .case-item__photo {
        position: static;
        flex: 0 0 9.8125rem;
        width: 9.8125rem;
    }
    .case-item__body {
        flex: 1;
        padding-top: 0.625rem;
    }
    .case-item__num {
        font-size: var(--fs-20);
    }
    .case-item__tag {
        font-size: var(--fs-14);
    }
    .case-item__label {
        margin-top: 0.5625rem;
        padding: var(--s-4) var(--s-24);
        font-size: var(--fs-16);
    }
    .case-item__text {
        margin-top: 0.75rem;
        font-size: var(--fs-16);
    }
}
