@charset "UTF-8";

/*
 * 集患・MEO LP
 * 共通FV（背景・タイポ・SPの縦積みなど）は appointment.css をそのまま使用
 * .meo-feature は Figma「01　集患 / MEO」セクション（node 7320:38589）の再現
 */

/* ---------------------------------------------
 * FV
 * ------------------------------------------- */
/* ---------------------------------------------
 * ヒーロー（Figma node 7295:10186 / 1728x470）
 * ------------------------------------------- */
.meo-hero {
    /* 動画(fv-pc/fv-sp)の地色が #f1f5f8 のため、縁が出ないよう一致させる */
    background-color: #f1f5f8;
}

.meo-hero__inner {
    width: calc(100% - 160px);
    max-width: 1080px;
    margin: 0 auto;
    min-height: 470px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    padding: 60px 0;
}

.meo-hero__body {
    flex: 0 1 470px;
}

.meo-hero__eyebrow {
    font-family: Hiragino Sans;
    font-weight: 600;
    font-size: 16px;
    line-height: 1.7;
    letter-spacing: 0.16px;
    color: #363843;
    margin: 0;
}

.meo-hero__title {
    font-family: Hiragino Sans;
    font-weight: 600;
    font-size: 48px;
    line-height: 1.25;
    color: #353c56;
    margin: 12px 0 0;
}

.meo-hero__title-accent {
    /* テーマ側の span 指定で 400 に落ちるため、
       「コストは」と同じ 600 を明示する */
    color: #0076e5;
    font-weight: 600;
}

.meo-hero__lead {
    font-family: Hiragino Sans;
    font-weight: 400;
    font-size: 16px;
    line-height: 1.7;
    letter-spacing: 0.16px;
    color: #363843;
    max-width: 457px;
    margin: 24px 0 0;
}

.meo-hero__actions {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 32px 0 0;
}

.meo-hero__visual {
    flex: 0 0 569px;
    max-width: 569px;
}

.meo-hero__visual img {
    display: block;
    width: 100%;
    height: auto;
}

/* 共通ボタン（Figma 220x56 / radius 8 / グラデーション） */
.meo-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 220px;
    height: 56px;
    padding: 0 10px;
    border-radius: 8px;
    font-family: Hiragino Sans;
    font-weight: 600;
    font-size: 18px;
    line-height: 1.4;
    letter-spacing: 0.18px;
    color: #fff;
    text-align: center;
    text-decoration: none;
}

.meo-btn--orange {
    background-image: linear-gradient(to right, #ff9e30, #ff7503);
}

.meo-btn--blue {
    background-image: linear-gradient(to right, #0096e7, #0076e5);
}

@media (max-width: 1100px) {
    .meo-hero__visual {
        flex: 1 1 46%;
        max-width: 46%;
    }

    .meo-hero__body {
        flex: 1 1 50%;
    }

    .meo-hero__title {
        font-size: 38px;
    }
}

@media (max-width: 768px) {
    .meo-hero__inner {
        width: calc(100% - 60px);
        flex-direction: column;
        align-items: stretch;
        min-height: 0;
        gap: 32px;
        padding: 40px 0;
    }

    .meo-hero__body,
    .meo-hero__visual {
        flex: 1 1 auto;
        max-width: 100%;
    }

    .meo-hero__title {
        font-size: 30px;
    }

    .meo-hero__actions {
        flex-wrap: wrap;
    }

    .meo-btn {
        width: 100%;
        max-width: 320px;
    }
}


/* ---------------------------------------------
 * セクション共通（見出し・リスト）
 * ------------------------------------------- */
.meo-section__inner {
    width: calc(100% - 160px);
    max-width: 1080px;
    margin: 0 auto;
    padding: 80px 0;
}

.meo-section__head {
    text-align: center;
    margin: 0 auto 48px;
    max-width: 720px;
}

.meo-section__eyebrow {
    font-family: Hiragino Sans;
    font-weight: 600;
    font-size: 14px;
    line-height: normal;
    color: #0076e5;
    margin: 0;
}

.meo-section__title {
    font-family: Hiragino Sans;
    font-weight: 600;
    font-size: 32px;
    line-height: 1.5;
    color: #16283a;
    margin: 12px 0 0;
}

.meo-section__lead {
    font-family: Hiragino Sans;
    font-weight: 400;
    font-size: 14px;
    line-height: 1.7;
    letter-spacing: 0.14px;
    color: #2f4152;
    margin: 20px 0 0;
}

.meo-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.meo-list__item {
    display: flex;
    align-items: center;
    gap: 4px;
}

.meo-list__item img {
    flex: 0 0 20px;
    width: 20px;
    height: 20px;
    display: block;
}

.meo-list__item span {
    font-family: Hiragino Sans;
    font-weight: 600;
    font-size: 14px;
    line-height: 20px;
    color: #2c2c30;
    word-break: break-word;
}

/* ---------------------------------------------
 * marchが選ばれる理由（2カード / Figma 449x531）
 * ------------------------------------------- */
.meo-reason {
    background-color: #fff;
}

.meo-reason__cards {
    display: flex;
    justify-content: center;
    gap: 22px;
}

.meo-reason__card {
    flex: 1 1 449px;
    max-width: 449px;
    background-color: #f4f7fb;
    border-radius: 16px;
    padding: 36px 32px 0;
    overflow: hidden;
}

.meo-reason__label {
    font-family: Hiragino Sans;
    font-weight: 600;
    font-size: 14px;
    color: #0076e5;
    margin: 0;
}

.meo-reason__title {
    font-family: Hiragino Sans;
    font-weight: 600;
    font-size: 26px;
    line-height: 1.4;
    color: #16283a;
    margin: 10px 0 0;
}

.meo-reason__text {
    font-family: Hiragino Sans;
    font-weight: 400;
    font-size: 14px;
    line-height: 1.7;
    letter-spacing: 0.14px;
    color: #2f4152;
    margin: 20px 0 0;
}

.meo-reason__img {
    display: block;
    width: 100%;
    height: auto;
    margin: 24px auto 0;
}

/* ---------------------------------------------
 * 患者の流れは、すべてmarchで
 * ------------------------------------------- */
.meo-flow {
    background-color: #f4f7fb;
}

.meo-flow__label {
    font-family: Hiragino Sans;
    font-weight: 600;
    font-size: 14px;
    line-height: normal;
    color: #0076e5;
    margin: 0;
}

.meo-flow__title {
    font-family: Hiragino Sans;
    font-weight: 600;
    font-size: 28px;
    line-height: 1.5;
    color: #16283a;
    margin: 10px 0 0;
}

.meo-flow__text {
    font-family: Hiragino Sans;
    font-weight: 400;
    font-size: 14px;
    line-height: 1.7;
    letter-spacing: 0.14px;
    color: #2f4152;
    margin: 24px 0 0;
}

.meo-flow__more {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: 24px 0 0;
    font-family: Hiragino Sans;
    font-weight: 600;
    font-size: 14px;
    line-height: 20px;
    color: #0076e5;
    text-decoration: none;
}

.meo-flow__more::after {
    content: "";
    width: 12px;
    height: 1px;
    background-color: #0076e5;
}

/* 横長行（01 / 05） */
.meo-flow__wide {
    display: flex;
    align-items: center;
    gap: 43px;
    /* 動画(meo-google)の地色 #fefefe に合わせる */
    background-color: #fefefe;
    border-radius: 16px;
    padding: 40px;
}

.meo-flow__wide + .meo-flow__cards,
.meo-flow__cards + .meo-flow__wide {
    margin-top: 30px;
}

.meo-flow__wide-body {
    flex: 1 1 506px;
    max-width: 506px;
}

.meo-flow__wide-body .meo-list {
    margin-top: 24px;
}

.meo-flow__wide-visual {
    flex: 0 1 464px;
    max-width: 464px;
}

.meo-flow__wide-visual img {
    display: block;
    width: 100%;
    height: auto;
}

/* 01 は画像を左に大きくはみ出させる（Figma: x=-147） */
.meo-flow__wide--reverse .meo-flow__wide-visual--bleed {
    flex: 0 0 481px;
    max-width: 481px;
    overflow: visible;
}

.meo-flow__wide--reverse .meo-flow__wide-visual--bleed img {
    width: 628px;
    max-width: none;
    margin-left: -107px;
}

/* 3カラムカード（02 / 03 / 04） */
.meo-flow__cards {
    display: flex;
    gap: 20px;
}

.meo-flow__card {
    flex: 1 1 0;
    min-width: 0;
    background-color: #fff;
    border-radius: 16px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.meo-flow__card-visual {
    background-color: #eef3f9;
}

.meo-flow__card-visual img {
    display: block;
    width: 100%;
    height: auto;
}

.meo-flow__card-body {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
}

.meo-flow__card-title {
    font-family: Hiragino Sans;
    font-weight: 600;
    font-size: 20px;
    line-height: 1.5;
    color: #16283a;
    margin: 10px 0 0;
}

.meo-flow__card-body .meo-list {
    margin-top: 20px;
}

.meo-flow__card-body .meo-flow__more {
    margin-top: auto;
    padding-top: 20px;
}

.meo-flow__actions {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin: 48px 0 0;
}

@media (max-width: 1000px) {
    .meo-flow__cards {
        flex-wrap: wrap;
    }

    .meo-flow__card {
        flex: 1 1 calc(50% - 10px);
    }

    .meo-flow__wide--reverse .meo-flow__wide-visual--bleed {
        flex: 1 1 45%;
        max-width: 45%;
    }

    .meo-flow__wide--reverse .meo-flow__wide-visual--bleed img {
        width: 100%;
        margin-left: 0;
    }
}

@media (max-width: 768px) {

    .meo-section__inner {
        width: calc(100% - 60px);
        padding: 56px 0;
    }

    .meo-section__title {
        font-size: 24px;
    }

    .meo-reason__cards {
        flex-direction: column;
    }

    .meo-reason__card {
        max-width: 100%;
    }

    .meo-flow__wide {
        flex-direction: column;
        align-items: stretch;
        gap: 28px;
        padding: 28px 20px;
    }

    .meo-flow__wide--reverse {
        flex-direction: column-reverse;
    }

    .meo-flow__wide-body,
    .meo-flow__wide-visual,
    .meo-flow__wide--reverse .meo-flow__wide-visual--bleed {
        flex: 1 1 auto;
        max-width: 100%;
    }

    .meo-flow__card {
        flex: 1 1 100%;
    }

    .meo-flow__title {
        font-size: 22px;
    }

    .meo-flow__actions {
        flex-wrap: wrap;
    }
}

/* ---------------------------------------------
 * 無料相談CTA（Figma node 7384:42212 / 1728x775）
 * ------------------------------------------- */
.meo-contact {
    background-color: #0076e5;
}

.meo-contact__inner {
    width: calc(100% - 160px);
    max-width: 1080px;
    margin: 0 auto;
    padding: 72px 0;
    display: flex;
    align-items: flex-start;
    gap: 60px;
}

.meo-contact__body {
    flex: 1 1 430px;
    max-width: 430px;
    padding-top: 8px;
}

.meo-contact__eyebrow {
    font-family: Hiragino Sans;
    font-weight: 600;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.85);
    margin: 0;
}

.meo-contact__title {
    font-family: Hiragino Sans;
    font-weight: 600;
    font-size: 32px;
    line-height: 1.45;
    color: #fff;
    margin: 12px 0 0;
}

.meo-contact__lead {
    font-family: Hiragino Sans;
    font-weight: 400;
    font-size: 14px;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.92);
    margin: 20px 0 0;
}

.meo-contact__points {
    list-style: none;
    margin: 24px 0 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.meo-contact__points li {
    position: relative;
    padding-left: 26px;
    font-family: Hiragino Sans;
    font-weight: 600;
    font-size: 14px;
    line-height: 1.5;
    color: #fff;
}

.meo-contact__points li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 1px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background-color: #ffb020;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5 10.2 8.4 13.6 15 7' fill='none' stroke='%23fff' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-size: 14px 14px;
    background-position: center;
    background-repeat: no-repeat;
}

/* フォームカード */
.meo-form {
    flex: 1 1 520px;
    max-width: 520px;
    background-color: #fff;
    border-radius: 16px;
    padding: 32px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
}

.meo-form__title {
    font-family: Hiragino Sans;
    font-weight: 600;
    font-size: 20px;
    line-height: 1.5;
    color: #16283a;
    margin: 0;
}

.meo-form__note {
    font-family: Hiragino Sans;
    font-weight: 400;
    font-size: 13px;
    line-height: 1.6;
    color: #6b7a89;
    margin: 8px 0 0;
}

.meo-form__form {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-top: 20px;
}

.meo-form__row {
    display: flex;
    gap: 16px;
}

.meo-form__field {
    flex: 1 1 0;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.meo-form__label {
    display: flex;
    align-items: center;
    gap: 6px;
    font-family: Hiragino Sans;
    font-weight: 600;
    font-size: 13px;
    color: #16283a;
}

.meo-form__req {
    display: inline-block;
    padding: 1px 6px;
    border-radius: 3px;
    background-color: #ff5a5a;
    font-size: 10px;
    font-weight: 600;
    line-height: 1.6;
    color: #fff;
}

.meo-form__input {
    width: 100%;
    height: 44px;
    padding: 0 12px;
    border: 1px solid #d7dee6;
    border-radius: 6px;
    background-color: #f7f9fb;
    font-family: Hiragino Sans;
    font-size: 14px;
    color: #16283a;
    box-sizing: border-box;
}

.meo-form__input::placeholder {
    color: #a8b4c0;
}

.meo-form__input:focus {
    outline: 2px solid #0076e5;
    outline-offset: -1px;
    background-color: #fff;
}

.meo-form__textarea {
    height: auto;
    padding: 10px 12px;
    resize: vertical;
    line-height: 1.6;
}

.meo-form__consent {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-family: Hiragino Sans;
    font-size: 12px;
    line-height: 1.6;
    color: #6b7a89;
}

.meo-form__consent input {
    margin-top: 2px;
    flex: 0 0 auto;
}

.meo-form__submit {
    width: 100%;
    height: 52px;
    border: 0;
    border-radius: 8px;
    background-image: linear-gradient(to right, #0096e7, #0076e5);
    font-family: Hiragino Sans;
    font-weight: 600;
    font-size: 16px;
    color: #fff;
    cursor: pointer;
}

@media (max-width: 1000px) {
    .meo-contact__inner {
        gap: 32px;
    }

    .meo-contact__title {
        font-size: 26px;
    }
}

@media (max-width: 768px) {
    .meo-contact__inner {
        width: calc(100% - 60px);
        flex-direction: column;
        padding: 48px 0;
    }

    .meo-contact__body,
    .meo-form {
        flex: 1 1 auto;
        max-width: 100%;
        width: 100%;
        box-sizing: border-box;
    }

    .meo-contact__title {
        font-size: 22px;
    }

    .meo-form__row {
        flex-direction: column;
    }
}

/* ---------------------------------------------
 * 背景色の上書き
 * appointment.css には
 *   .appointment>section:nth-child(odd|even of ...)
 * という白/グレー交互の背景指定があり、詳細度 (0,4,1) と非常に強い。
 * 本ページは <main class="meo-lp"> として .appointment を付けないため
 * この指定は適用されない。各セクションの背景はここで明示する。
 * ------------------------------------------- */
.meo-lp>section.meo-hero {
    /* 動画(fv-pc/fv-sp)の地色が #f1f5f8 のため、縁が出ないよう一致させる */
    background-color: #f1f5f8;
}

.meo-lp>section.meo-reason {
    background-color: #ffffff;
}

.meo-lp>section.meo-flow {
    background-color: #f4f7fb;
}

.meo-lp>section.meo-faq {
    background-color: #f4f7fb;
}

.meo-lp>section.meo-dash {
    /* 動画(dashboard)の地色 #fefefe に合わせる */
    background-color: #fefefe;
}

.meo-lp>section.meo-cost {
    background-color: #f4f7fb;
}

.meo-lp>section.meo-kpi {
    background-color: #f4f7fb;
}

.meo-lp>section.meo-step {
    background-color: #ffffff;
}

.meo-lp>section.meo-case {
    background-color: #f4f7fb;
}

.meo-lp>section.meo-contact {
    background-color: #0076e5;
}

@media (max-width: 768px) {

    .meo-lp .cta-blue,
    .meo-lp .cta-white {
        font-size: calc(14 * var(--vw));
    }
}

/* ---------------------------------------------
 * 運営・数値ダッシュボード
 * ------------------------------------------- */
.meo-dash__grid {
    display: flex;
    align-items: center;
    gap: 48px;
}

.meo-dash__body {
    flex: 1 1 470px;
    max-width: 470px;
}

.meo-dash__metrics {
    margin: 28px 0 0;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.meo-dash__metric {
    display: flex;
    align-items: baseline;
    gap: 12px;
    padding-bottom: 12px;
    border-bottom: 1px solid #e3eaf2;
}

.meo-dash__metric dt {
    flex: 0 0 150px;
    font-family: Hiragino Sans;
    font-weight: 600;
    font-size: 14px;
    line-height: 1.6;
    color: #0076e5;
}

.meo-dash__metric dd {
    flex: 1 1 auto;
    margin: 0;
    font-family: Hiragino Sans;
    font-weight: 400;
    font-size: 13px;
    line-height: 1.6;
    color: #2f4152;
}

.meo-dash__visual {
    flex: 1 1 560px;
    max-width: 620px;
}

.meo-dash__visual img {
    display: block;
    width: 100%;
    height: auto;
}

/* ---------------------------------------------
 * 外注コスト比較（Figma node 7348:39960 / 7352:40077）
 * 文字はすべてHTMLテキスト。図版は画像化していない。
 * パネルは 520x338 を基準に % で配置し、比率を保ったまま伸縮させる。
 * ------------------------------------------- */
.meo-cost__compare {
    display: flex;
    align-items: stretch;
    justify-content: center;
    gap: 20px;
}

.meo-cost__panel {
    flex: 1 1 520px;
    max-width: 520px;
    background-color: #fff;
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.meo-cost__items {
    margin-top: auto;
}

.meo-cost__panel-head {
    margin: 0;
    /* Figma のヘッダー帯は 61px（text-box-trim 前提の py24）。
       ブラウザは行ボックスを詰めないので padding を 20px にして高さを合わせる */
    padding: 20px 16px;
    background-color: #e6e8ed;
    font-family: Hiragino Sans;
    font-weight: 600;
    font-size: 16px;
    line-height: 1.3;
    letter-spacing: -0.16px;
    color: #383b42;
    text-align: center;
}

.meo-cost__panel-head--blue {
    background-color: #ddeafd;
    color: #0b45b4;
}

/* 左：バラバラに外注 */
.meo-cost__total {
    display: flex;
    align-items: flex-end;
    justify-content: center;
    gap: 4px;
    margin: 28px 0 0;
    font-family: Hiragino Sans;
    font-weight: 600;
    line-height: 1.3;
}

.meo-cost__total-label {
    font-size: 20px;
    letter-spacing: -0.2px;
    color: #383b42;
}

.meo-cost__total-unit {
    font-size: 20px;
    letter-spacing: -0.2px;
    color: #0076e5;
}

.meo-cost__total-num {
    font-size: 32px;
    letter-spacing: -0.32px;
    color: #0076e5;
}

.meo-cost__items {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 3px 4px;
    list-style: none;
    margin: 24px;
    padding: 0;
}

.meo-cost__item {
    background-color: #eff0f3;
    padding: 18px 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    font-family: Hiragino Sans;
    font-weight: 600;
    line-height: 1.3;
    color: #383b42;
}

.meo-cost__item-name {
    font-size: 14px;
    letter-spacing: -0.14px;
    text-align: center;
}

.meo-cost__item-price {
    display: flex;
    align-items: flex-end;
    justify-content: center;
    gap: 2px;
}

.meo-cost__yen {
    font-size: 16px;
    letter-spacing: -0.16px;
}

.meo-cost__num {
    font-size: 22px;
    letter-spacing: -0.22px;
}

/* 右：ひとつに集約 */
.meo-cost__after-title {
    margin: 21px 0 0;
    font-family: Hiragino Sans;
    font-weight: 600;
    font-size: 20px;
    line-height: 1.4;
    color: #0b45b4;
    text-align: center;
}

.meo-cost__arrow {
    flex: 0 0 auto;
    align-self: center;
    font-size: 24px;
    color: #9db2c6;
}

.meo-cost__note {
    margin: 16px 0 0;
    font-family: Hiragino Sans;
    font-size: 11px;
    line-height: 1.6;
    color: #7b8a99;
}


/* ---------------------------------------------
 * 導入効果 3つの数字
 * ------------------------------------------- */
.meo-kpi__cards {
    display: flex;
    gap: 20px;
}

.meo-kpi__card {
    flex: 1 1 0;
    min-width: 0;
    background-color: #fff;
    border: 1px solid #e3eaf2;
    border-radius: 12px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.meo-kpi__no {
    font-family: Hiragino Sans;
    font-size: 12px;
    color: #9db2c6;
    margin: 0;
}

.meo-kpi__name {
    font-family: Hiragino Sans;
    font-weight: 600;
    font-size: 15px;
    color: #0076e5;
    margin: 6px 0 0;
}

.meo-kpi__value {
    display: flex;
    align-items: baseline;
    gap: 4px;
    margin: 8px 0 0;
    color: #0076e5;
}

.meo-kpi__num {
    font-family: Hiragino Sans;
    font-weight: 600;
    font-size: 40px;
    line-height: 1.1;
}

.meo-kpi__unit {
    font-family: Hiragino Sans;
    font-weight: 600;
    font-size: 15px;
}

.meo-kpi__chart {
    display: block;
    max-width: 100%;
    height: auto;
    margin: 16px 0;
}

.meo-kpi__desc {
    font-family: Hiragino Sans;
    font-weight: 400;
    font-size: 13px;
    line-height: 1.7;
    color: #2f4152;
    text-align: left;
    margin: auto 0 0;
}

.meo-kpi__assume {
    margin: 24px 0 0;
    background-color: #fff;
    border: 1px solid #e3eaf2;
    border-radius: 12px;
    padding: 24px;
}

.meo-kpi__assume-title {
    font-family: Hiragino Sans;
    font-weight: 600;
    font-size: 13px;
    color: #0076e5;
    margin: 0 0 12px;
}

.meo-kpi__assume-cols {
    display: flex;
    gap: 32px;
}

.meo-kpi__assume-cols ul {
    flex: 1 1 0;
    min-width: 0;
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.meo-kpi__assume-cols li {
    position: relative;
    padding-left: 14px;
    font-family: Hiragino Sans;
    font-size: 12px;
    line-height: 1.7;
    color: #4a5b6b;
}

.meo-kpi__assume-cols li::before {
    content: "–";
    position: absolute;
    left: 0;
    color: #9db2c6;
}

.meo-kpi__disclaimer {
    margin: 16px 0 0;
    font-family: Hiragino Sans;
    font-size: 11px;
    line-height: 1.7;
    color: #7b8a99;
}

/* ---------------------------------------------
 * 導入の流れ
 * ------------------------------------------- */
.meo-step__cards {
    display: flex;
    gap: 20px;
}

.meo-step__card {
    flex: 1 1 0;
    min-width: 0;
    background-color: #f4f7fb;
    border-radius: 12px;
    padding: 24px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.meo-step__icon {
    display: block;
    width: auto;
    height: 64px;
    margin-bottom: 12px;
}

.meo-step__no {
    font-family: Hiragino Sans;
    font-weight: 600;
    font-size: 12px;
    letter-spacing: .04em;
    color: #0076e5;
    margin: 0;
}

.meo-step__title {
    font-family: Hiragino Sans;
    font-weight: 600;
    font-size: 17px;
    line-height: 1.5;
    color: #16283a;
    margin: 6px 0 0;
}

.meo-step__desc {
    font-family: Hiragino Sans;
    font-weight: 400;
    font-size: 13px;
    line-height: 1.7;
    color: #2f4152;
    text-align: left;
    margin: 12px 0 0;
}

@media (max-width: 1000px) {
    .meo-dash__grid {
        gap: 28px;
    }

    .meo-kpi__cards,
    .meo-step__cards {
        flex-wrap: wrap;
    }

    .meo-kpi__card,
    .meo-step__card {
        flex: 1 1 calc(50% - 10px);
    }
}

@media (max-width: 768px) {
    .meo-dash__grid {
        flex-direction: column;
        align-items: stretch;
    }

    .meo-dash__body,
    .meo-dash__visual {
        flex: 1 1 auto;
        max-width: 100%;
    }


    .meo-dash__metric {
        flex-direction: column;
        gap: 2px;
    }

    .meo-dash__metric dt {
        flex: 1 1 auto;
    }

    .meo-cost__compare {
        flex-direction: column;
    }

    .meo-cost__arrow {
        transform: rotate(90deg);
    }

    .meo-kpi__card,
    .meo-step__card {
        flex: 1 1 100%;
    }

    .meo-kpi__assume-cols {
        flex-direction: column;
        gap: 8px;
    }
}

/* ---------------------------------------------
 * 動画（FV / 01 集患・MEO / 運営・数値）
 * PC・SPの出し分けは page-self-pay.php と同じ流儀
 * ------------------------------------------- */
.meo-video {
    display: block;
    width: 100%;
    height: auto;
}

.meo-hero__visual .meo-video--sp {
    display: none;
}

@media (max-width: 768px) {
    .meo-hero__visual .meo-video--pc {
        display: none;
    }

    .meo-hero__visual .meo-video--sp {
        display: block;
    }
}

/* 01 は画像と同じく左へはみ出させる */
.meo-flow__wide--reverse .meo-flow__wide-visual--bleed .meo-video {
    width: 628px;
    max-width: none;
    margin-left: -107px;
}

@media (max-width: 1000px) {
    .meo-flow__wide--reverse .meo-flow__wide-visual--bleed .meo-video {
        width: 100%;
        margin-left: 0;
    }
}

/* 再生を好まない利用者には静止（poster）のまま見せる */
@media (prefers-reduced-motion: reduce) {
    .meo-video {
        display: none;
    }

    .meo-hero__visual::after {
        content: "";
        display: block;
        width: 100%;
        aspect-ratio: 569 / 346;
        background: url("../img/function/meo/hero-visual.png") center / contain no-repeat;
    }
}

/* 入力エラー表示（js/meo-contact.js） */
.meo-form__error {
    display: block;
    margin-top: 4px;
    font-family: Hiragino Sans;
    font-size: 12px;
    line-height: 1.5;
    color: #e02020;
}

.meo-form__input.error-border {
    border-color: #e02020;
    background-color: #fff7f7;
}

.meo-form__submit[disabled] {
    opacity: .6;
    cursor: default;
}

/* CTAはページ内アンカー。固定ヘッダー分の余白を確保する */
#meo-contact {
    scroll-margin-top: 80px;
}

/* ---------------------------------------------
 * 動画の外周トリミング
 * 読み込み〜再生開始の瞬間に外周が線状に見えることがあるため、
 * 外側をわずかに切り落とす。背後の背景色は動画の地色と一致させて
 * あるので（#f1f5f8 / #fefefe）、切った分は視覚的に出ない。
 * 再エンコードはしていないので、この指定を消せば元に戻る。
 * ------------------------------------------- */
.meo-video {
    clip-path: inset(0.7%);
}

/* poster と動画の切り替わりでの発色差を目立たせない */
.meo-hero__visual .meo-video {
    background-color: #f1f5f8;
}

.meo-flow__wide-visual .meo-video,
.meo-dash__visual .meo-video {
    background-color: #fefefe;
}


/* アンカー位置が固定ヘッダーに隠れないようにする */
.meo-lp > section[id],
#meo-contact {
    scroll-margin-top: 90px;
}

/* ---------------------------------------------
 * 収益シミュレーション（Figma node 7384:42307）
 * 値は試作 meo_lp_trial_2026_08 の :root トークンに準拠
 *   card #f4f7fb / card-line #e4eaf2 / cta #1869e3
 *   result #0b45b4 / dash #c9d6e4 / gray #9fa8b7
 * ------------------------------------------- */
.meo-lp>section.meo-sim {
    background-color: #ffffff;
}

.meo-sim__card {
    width: min(920px, 100%);
    margin: 0 auto;
    background-color: #f4f7fb;
    border: 1px solid #e4eaf2;
    border-radius: 20px;
    padding: 34px 36px;
    display: grid;
    grid-template-columns: 1fr 405px;
    gap: 38px;
    align-items: start;
}

.meo-sim__field {
    margin-bottom: 20px;
}

.meo-sim__field label {
    display: block;
    margin-bottom: 6px;
    font-family: Hiragino Sans;
    font-weight: 600;
    font-size: 14px;
    color: #383b42;
}

.meo-sim__field label span {
    color: #5a6b7b;
}

.meo-sim__field input {
    width: 100%;
    height: 44px;
    padding: 11px 13px;
    border: 1px solid rgba(56, 59, 66, .13);
    border-radius: 6px;
    background-color: #fff;
    font-family: inherit;
    font-size: 14px;
    color: #383b42;
    box-sizing: border-box;
}

.meo-sim__field input::placeholder {
    color: #9fa8b7;
}

.meo-sim__field input.is-error {
    border-color: #b03a2e;
    background-color: #fff7f6;
}

.meo-sim__btn {
    display: block;
    width: 100%;
    padding: 15px 22px;
    border: 0;
    border-radius: 12px;
    background-color: #1869e3;
    box-shadow: 0 8px 10px rgba(15, 43, 71, .18);
    font-family: inherit;
    font-weight: 600;
    font-size: 16px;
    color: #fff;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
}

.meo-sim__btn:disabled {
    background-color: #8aa4c8;
    box-shadow: none;
    cursor: not-allowed;
}

.meo-sim__err {
    margin: 10px 0 0;
    font-size: 12px;
    line-height: 1.6;
    color: #b03a2e;
}

.meo-sim__err:empty {
    display: none;
}

.meo-sim__note {
    margin: 10px 0 0;
    font-size: 10px;
    line-height: 1.65;
    color: #4a5c6e;
}

/* 右側パネル */
.meo-sim__prompt {
    background-color: #fff;
    border: 1px dashed #c9d6e4;
    border-radius: 12px;
    min-height: 476px;
    padding: 32px 24px;
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
}

.meo-sim__prompt[hidden] {
    display: none;
}

.meo-sim__prompt--idle {
    justify-content: center;
    text-align: center;
}

.meo-sim__prompt--idle p {
    margin: 0;
    font-size: 13px;
    line-height: 1.8;
    color: #5a6b7b;
}

.meo-sim__prompt-kicker {
    margin-bottom: 8px !important;
    font-weight: 600;
    color: #383b42 !important;
}

.meo-sim__result-label {
    margin: 0;
    font-family: Hiragino Sans;
    font-weight: 600;
    font-size: 14px;
    color: #5a6b7b;
}

.meo-sim__result-value {
    display: flex;
    align-items: baseline;
    gap: 4px;
    margin: 8px 0 0;
    color: #0b45b4;
}

.meo-sim__sign {
    font-size: 24px;
    font-weight: 600;
}

.meo-sim__num {
    font-family: Inter, Hiragino Sans, sans-serif;
    font-size: 56px;
    font-weight: 600;
    line-height: 1.1;
    letter-spacing: -0.02em;
}

.meo-sim__unit {
    font-size: 16px;
    font-weight: 600;
}

.meo-sim__breakdown {
    margin: 24px 0 0;
    padding: 16px 0 0;
    border-top: 1px solid #e4eaf2;
    font-size: 13px;
    line-height: 1.8;
    color: #5a6b7b;
}

.meo-sim__breakdown div {
    display: flex;
    justify-content: space-between;
    gap: 12px;
}

.meo-sim__breakdown dt {
    font-weight: 400;
}

.meo-sim__breakdown dd {
    margin: 0;
    font-weight: 600;
    color: #383b42;
    white-space: nowrap;
}

.meo-sim__btn--sub {
    margin-top: auto;
    font-size: 14px;
}

@media (max-width: 900px) {
    .meo-sim__card {
        grid-template-columns: 1fr;
        gap: 24px;
        padding: 24px 20px;
    }

    .meo-sim__prompt {
        min-height: 0;
    }

    .meo-sim__num {
        font-size: 44px;
    }
}

/* ===============================================
 * 修正まとめ
 * =============================================== */

/* (1)(3) 横長行（01 / 05）
 *  - 画像・動画がカード外／セクション外へはみ出していたので overflow で止める
 *  - ビジュアルはカード下端に接地させる
 * ------------------------------------------- */
.meo-flow__wide {
    align-items: flex-end;
    overflow: hidden;
}

.meo-flow__wide-body {
    padding-bottom: 40px;
}

.meo-flow__wide-visual {
    display: flex;
    align-items: flex-end;
    margin-bottom: -40px;
    /* カード内で切り取る（セクションへはみ出させない） */
    overflow: hidden;
}

.meo-flow__wide-visual img,
.meo-flow__wide-visual .meo-video {
    display: block;
    vertical-align: bottom;
}

/* 01 の左はみ出しはカード内に収める */
.meo-flow__wide--reverse .meo-flow__wide-visual--bleed {
    overflow: hidden;
}

.meo-flow__wide--reverse .meo-flow__wide-visual--bleed img,
.meo-flow__wide--reverse .meo-flow__wide-visual--bleed .meo-video {
    width: 100%;
    max-width: 100%;
    margin-left: 0;
}

/* (4) 運営・数値バンド
 *  Figma（1728幅）: テキスト 434px / ビジュアル 855px / 間隔 108px
 *  標準の 1080px より広い構成なので、この節だけコンテナを広げる
 * ------------------------------------------- */
.meo-dash .meo-section__inner {
    max-width: 1400px;
}

.meo-dash__grid {
    align-items: center;
    gap: 108px;
}

.meo-dash__body {
    flex: 0 1 434px;
    max-width: 434px;
}

.meo-dash__visual {
    flex: 1 1 855px;
    max-width: 855px;
}

@media (max-width: 1500px) {
    .meo-dash__grid {
        gap: 6%;
    }

    .meo-dash__body {
        flex: 0 1 34%;
        max-width: 34%;
    }

    .meo-dash__visual {
        flex: 1 1 60%;
        max-width: 60%;
    }
}

@media (max-width: 768px) {

    .meo-dash__body,
    .meo-dash__visual {
        flex: 1 1 auto;
        max-width: 100%;
    }

    .meo-flow__wide-body {
        padding-bottom: 0;
    }

    .meo-flow__wide-visual {
        margin-bottom: -28px;
    }
}

/* ---------------------------------------------
 * (5) 収益シミュレーションの演出
 * 試作 meo_lp_trial_2026_08 の円ゲージ・進行リスト・
 * shutter-board・cta-pulse を踏襲
 * ------------------------------------------- */
.meo-sim__prompt--scan {
    align-items: center;
    justify-content: center;
    gap: 20px;
}

.meo-sim__scan-kicker {
    margin: 0;
    font-family: Hiragino Sans;
    font-weight: 600;
    font-size: 14px;
    color: #5a6b7b;
}

.meo-sim__gauge {
    position: relative;
    width: 160px;
    height: 160px;
}

.meo-sim__gauge svg {
    width: 100%;
    height: 100%;
    transform: rotate(-90deg);
}

.meo-sim__gauge circle {
    fill: none;
    stroke-width: 10;
}

.meo-sim__gauge-track {
    stroke: #e4eaf2;
}

.meo-sim__gauge-fill {
    stroke: #0076e5;
    stroke-linecap: round;
    stroke-dasharray: 427;
    stroke-dashoffset: 427;
    transition: stroke-dashoffset .3s linear;
}

.meo-sim__gauge-num {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: Inter, Hiragino Sans, sans-serif;
    font-weight: 600;
    font-size: 32px;
    color: #0b45b4;
}

.meo-sim__gauge-num span {
    font-size: 16px;
    margin-left: 2px;
}

.meo-sim__scan-list {
    list-style: none;
    margin: 0;
    padding: 0;
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.meo-sim__scan-list li {
    position: relative;
    padding-left: 22px;
    font-family: Hiragino Sans;
    font-size: 13px;
    line-height: 1.6;
    color: #9fa8b7;
    transition: color .2s;
}

.meo-sim__scan-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 4px;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    border: 2px solid #e4eaf2;
    box-sizing: border-box;
}

.meo-sim__scan-list li.is-active {
    color: #383b42;
}

.meo-sim__scan-list li.is-active::before {
    border-color: #0076e5;
    animation: meo-sim-tick .9s ease-in-out infinite;
}

.meo-sim__scan-list li.is-done {
    color: #383b42;
}

.meo-sim__scan-list li.is-done::before {
    border-color: #1e7e4a;
    background-color: #1e7e4a;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5 10.2 8.4 13.6 15 7' fill='none' stroke='%23fff' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-size: 11px 11px;
    background-position: center;
    background-repeat: no-repeat;
    animation: none;
}

@keyframes meo-sim-tick {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(.86); opacity: .65; }
}

/* 結果の出現（試作の shutter-board 相当） */
.meo-sim__prompt--result.is-revealed {
    animation: meo-sim-board .78s cubic-bezier(.16, .84, .32, 1) both;
}

@keyframes meo-sim-board {
    0% { opacity: 0; transform: scale(.96); }
    100% { opacity: 1; transform: none; }
}

/* 結果CTAの波紋（試作の cta-pulse / cta-wave 相当） */
.meo-sim__btn--sub {
    position: relative;
    overflow: hidden;
    animation: meo-sim-pulse 2.4s ease-in-out infinite;
}

.meo-sim__btn--sub::after {
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .45);
    transform: translate(-50%, -50%) scale(0);
    animation: meo-sim-wave 2.4s ease-out infinite;
}

@keyframes meo-sim-pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.02); }
}

@keyframes meo-sim-wave {
    0% { transform: translate(-50%, -50%) scale(0); opacity: .5; }
    70% { transform: translate(-50%, -50%) scale(22); opacity: 0; }
    100% { opacity: 0; }
}

@media (prefers-reduced-motion: reduce) {

    .meo-sim__prompt--result.is-revealed,
    .meo-sim__scan-list li.is-active::before,
    .meo-sim__btn--sub,
    .meo-sim__btn--sub::after {
        animation: none;
    }

    .meo-sim__gauge-fill {
        transition: none;
    }
}

/* ===============================================
 * スマホ版FV（Figma node 8051:854 / 390x844）
 *  - アイキャッチとタイトルは中央揃え
 *  - タイトル 36px / リードは左右24px
 *  - 映像は画面幅いっぱい
 *  - ヒーロー内のボタンは出さず、下部固定CTAに集約
 * =============================================== */
@media (max-width: 768px) {
    .meo-hero__inner {
        width: 100%;
        box-sizing: border-box;
        padding: 48px 24px 0;
        gap: 24px;
    }

    /* 100vw 指定のビジュアルで横スクロールが出ないようにする */
    .meo-lp,
    .meo-hero {
        overflow-x: hidden;
    }

    .meo-hero__eyebrow {
        font-size: 14px;
        line-height: 1.4;
        color: #363843;
        text-align: center;
    }

    .meo-hero__title {
        margin-top: 20px;
        font-size: 36px;
        line-height: 1.25;
        color: #353c56;
        text-align: center;
    }

    .meo-hero__lead {
        margin-top: 24px;
        max-width: 100%;
        font-size: 14px;
        line-height: 1.7;
        letter-spacing: 0.14px;
        color: #363843;
    }

    /* SPでは下部固定CTAに集約するため、ヒーロー内のボタンは出さない */
    .meo-hero__actions {
        display: none;
    }

    /* 映像は画面幅いっぱいに */
    .meo-hero__visual {
        width: 100vw;
        max-width: none;
        margin-left: calc(50% - 50vw);
        margin-right: calc(50% - 50vw);
    }

    /* 固定CTAのぶんだけ最後に余白を足す */
    body.page-meo-sticky {
        padding-bottom: 72px;
    }
}

/* ---------------------------------------------
 * SP固定CTAバー
 * ------------------------------------------- */
.meo-sp-cta {
    display: none;
}

@media (max-width: 768px) {
    .meo-sp-cta {
        position: fixed;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 90;
        display: block;
        height: 72px;
        padding: 12px;
        background-color: #fff;
        box-shadow: 0 -2px 12px rgba(15, 43, 71, .10);
        box-sizing: border-box;
    }

    .meo-sp-cta__btn {
        position: relative;
        display: flex;
        align-items: center;
        justify-content: center;
        width: 100%;
        height: 48px;
        border-radius: 8px;
        background-image: linear-gradient(to right, #0096e7, #0076e5);
        font-family: Hiragino Sans;
        font-weight: 600;
        font-size: 15px;
        color: #fff;
        text-decoration: none;
    }

    .meo-sp-cta__btn::after {
        content: "";
        position: absolute;
        right: 16px;
        width: 15px;
        height: 15px;
        border-radius: 50%;
        background-color: rgba(255, 255, 255, .28);
        background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M6 3.5 10.5 8 6 12.5' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
        background-size: 10px 10px;
        background-position: center;
        background-repeat: no-repeat;
    }

    /* 固定CTAと重ならないように末尾に余白 */
    .meo-lp {
        padding-bottom: 72px;
    }
}

/* ===============================================
 * 追加調整
 * =============================================== */

/* SP固定CTA：内側の span にテーマ側の文字色(#212730)が
   当たって黒く見えていたので、白を明示する */
.meo-sp-cta__btn,
.meo-sp-cta__btn span {
    color: #fff;
}

/* CTAは「無料相談を申し込む」1つに絞った。
   ヒーローは本文が左寄せなのでボタンも左寄せ、
   セクション途中のCTAは見出しが中央なので中央寄せにする。 */
.meo-hero__actions {
    justify-content: flex-start;
}

.meo-flow__actions {
    justify-content: center;
}

@media (max-width: 768px) {

    /*
     * SP版の映像トリミング
     * fv-sp.mp4 は 1280x1160 で、上に172px・下に156pxの余白が
     * 焼き込まれている（実コンテンツは y=172〜1004）。
     * 表示幅は 100vw なので、余白を vw 換算した負マージンで切り落とす。
     *   上: 172 / 1280 = 13.4375%
     *   下: 156 / 1280 = 12.1875%
     */
    .meo-hero__visual {
        overflow: hidden;
    }

    .meo-hero__visual .meo-video--sp {
        display: block;
        width: 100%;
        height: auto;
        aspect-ratio: auto;
        object-fit: fill;
        margin-top: calc(-100vw * 0.134375);
        margin-bottom: calc(-100vw * 0.121875);
    }
}

/* 運営・数値：各指標のアイコン */
.meo-dash__metric {
    align-items: center;
    gap: 14px;
}

.meo-dash__icon {
    flex: 0 0 44px;
    width: 44px;
    height: 44px;
    object-fit: contain;
    display: block;
}

.meo-dash__metric dt {
    flex: 0 0 136px;
}

@media (max-width: 768px) {
    .meo-dash__metric {
        display: grid;
        grid-template-columns: 44px 1fr;
        grid-template-rows: auto auto;
        column-gap: 12px;
        row-gap: 2px;
        align-items: center;
    }

    .meo-dash__icon {
        grid-row: 1 / 3;
    }

    .meo-dash__metric dt {
        flex: none;
    }
}

/* FAQ見出し：SPで「FAQ」ラベルまで24pxになり大きすぎたので、
   他セクション（ラベル14px / 見出し24px）と揃える */
@media (max-width: 768px) {
    .meo-faq .section-title .title-en {
        font-size: 14px;
        line-height: normal;
    }

    .meo-faq .section-title .title-ja,
    .meo-faq .section-title .title-ja .ja-black {
        font-size: 24px;
        line-height: 1.5;
    }
}

/* ---------------------------------------------
 * march：ひとつに集約（支給画像に差し替え）
 * ------------------------------------------- */
.meo-cost__ring {
    margin: auto 0;
    padding: 0 24px 28px;
}

.meo-cost__ring-img {
    display: block;
    width: 100%;
    height: auto;
}

@media (max-width: 900px) {
    .meo-cost__ring {
        padding: 8px 16px 24px;
    }
}

/* SPでは .meo-cost__compare が縦積みになるため、
   flex: 1 1 520px の 520px が「高さ」として効いてしまい
   パネル下部に大きな余白ができていた。内容なりの高さに戻す。 */
@media (max-width: 768px) {
    .meo-cost__panel {
        flex: 0 0 auto;
        width: 100%;
        max-width: 100%;
    }

    .meo-cost__ring {
        margin: 0;
    }

    .meo-cost__items {
        margin-bottom: 20px;
    }
}

/* FAQ本文：SPで質問文18px・Qラベル28pxと大きかったので、
   本文（14px）基準に寄せて読みやすくする。
   section-faq.css の `dl.faq .faq-q-text`（詳細度 0-2-1）が
   meo.css より後に読み込まれるため、上回る詳細度で指定する。 */
@media (max-width: 768px) {
    .meo-faq dl.faq .faq-q-text {
        font-size: 15px;
        line-height: 1.6;
    }

    .meo-faq dl.faq .faq-q-label {
        font-size: 20px;
        line-height: 1.4;
    }

    .meo-faq dl.faq .answer {
        font-size: 14px;
        line-height: 1.8;
    }
}
