/* ==========================================================================
   common
========================================================================== */
body {
    color: #333;
    background-color: #fff;
    font-size: 1.4rem;
    font-family: "Noto Sans JP", "Roboto", YuGothic, "Yu Gothic", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
    font-weight: 400;
    max-width: 100vw;
    width: 100%;
    overflow-x: hidden;
    letter-spacing: 0.05em;
}

main {
    display: block;
}

.heading {
    display: block;
    margin: 0 auto 32px;
    font-size: 36px;
    font-weight: bold;
    text-align: center;
    line-height: 1.4;
}

img {
    width: 100%;
    height: auto;
}

@media (max-width: 960px) {
    .heading {
        font-size: 24px;
    }
}

.is-pc {
    display: block;
}

.is-tab,
.is-sp {
    display: none !important;
}

@media screen and (max-width: 768px) {
    .is-pc {
        display: none !important;
    }

    .is-tab {
        display: block !important;
    }
}

@media screen and (max-width: 480px) {
    .is-sp {
        display: block !important;
    }
}

.l-section {
    padding: 0 20px;
}

/* ==========================================================================
   header
========================================================================== */

.l_container {
    width: 100%;
    max-width: 1184px;
    margin: 0 auto;
}

.header {
    position: fixed;
    padding: 0 20px;
    width: 100%;
    top: 0;
    left: 0;
    right: 0;
    border-bottom: 1px solid #C4C4C4;
    ;
    background-color: #fff;
    z-index: 1000;
}

.header_inner {
    position: relative;
    padding: 16px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    max-width: 1200px;
}

.header_logo {
    width: 382px;

    @media (max-width: 768px) {
        width: 264px;
    }
}

.header-button {
    display: flex;
    min-width: 160px;
    height: 39px;
    justify-content: center;
    align-items: center;
    gap: 8px;
    padding: 0 8px;
    border-radius: 8px;
    background: #2686E3;
    color: #FFF;
    font-size: 16px;
    font-weight: 700;
    line-height: 22.4px;
    letter-spacing: 0.8px;
    transition: background-color 0.3s ease, transform 0.2s ease, box-shadow 0.2s ease;

    @media (max-width: 768px) {
        display: none;
    }
}

.header-button:hover {
    background-color: #1a73cb;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(33, 133, 232, 0.4);
}

.fv {
    margin-top: 68px;
    background: url("../images/bg_mv.webp");
    background-size: cover;
    background-repeat: no-repeat;

    @media screen and (max-width: 768px) {
        background: url("../images/bg_mv_mobile.webp");
        background-size: cover;
        background-repeat: no-repeat;
    }
}

.fv .l_container {
    height: 100%;
}

.fv-inner {
    padding: 56px 0 80px;
    height: 100%;

    @media (max-width: 768px) {
        padding: 40px 0;
    }
}

.fv-row {
    display: flex;
    height: 100%;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    width: 100%;
    max-width: 1210px;
    margin: 0 auto;

    @media (max-width: 768px) {
        display: block;
    }
}

.fv-col_l {
    flex-shrink: 0;

    @media (max-width: 768px) {
        margin-bottom: 40px;
    }
}

.fv-col-r {
    flex-shrink: 1;

    @media (max-width: 768px) {
        width: fit-content;
        margin: 0 auto;
    }
}


.fv-img {
    display: block;
    width: 100%;
    max-width: 588px;
    height: auto;

    @media (max-width: 768px) {
        max-width: 400px;
    }
}

/* ==========================================================================
   MV
========================================================================== */

.mv {
    text-align: center;
}

.mv_inner {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.mv_title {
    margin: 0 0 32px;
    font-weight: bold;
    text-align: left;
    font-size: 44px;

    @media (max-width: 960px) {
        font-size: 32px;
    }

    @media (max-width: 768px) {
        font-size: 26px;
        text-align: center;
    }
}

.mv_title-line {
    display: inline-flex;
    align-items: baseline;
    justify-content: center;
    gap: 12px;

    @media (max-width: 388px) {
        align-items: end;
    }
}

.mv_logo {
    height: auto;
    max-width: 177px;
    vertical-align: middle;

    @media (max-width: 768px) {
        width: auto;
        height: 40px;
    }
}

.mv_title-main {
    display: block;
    margin-top: 12px;
    letter-spacing: 0;

    @media (max-width: 768px) {
        font-size: 30px;
    }
}

/* CTAボタン */
/* ======================================== */
.mv_cta {
    margin-left: 0;
    margin-right: auto;
    width: 100%;
    max-width: 386px;

    @media (max-width: 768px) {
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .mv_cta a {
        padding: 0 16px;
    }
}

.mv_button {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 102px;
    background-color: #2686E3;
    color: #ffffff;
    font-size: 24px;
    font-weight: 700;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(33, 133, 232, 0.3);
    transition: background-color 0.3s ease, transform 0.2s ease, box-shadow 0.2s ease;
    line-height: 1.3;

    @media (max-width: 960px) {
        font-size: 20px;
    }
}

.mv_button::after {
    content: "";
    background-image: url("../images/icon_arrow.svg");
    width: 18px;
    height: 18px;
    background-size: contain;
    background-repeat: no-repeat;
    margin-left: 12px;
}

.mv_button:hover {
    background-color: #1a73cb;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(33, 133, 232, 0.4);
}

.mv_button:active {
    transform: translateY(0);
    box-shadow: 0 2px 6px rgba(33, 133, 232, 0.3);
}

.mv_button_icon {
    position: absolute;
    right: 10px;
    font-size: 18px;
    transition: transform 0.3s ease;
}

.mv_button:hover .mv_button_icon {
    transform: translateX(4px);
}

.mv-image-mobile {
    display: block;
    margin-bottom: 40px;
}

/* ==========================================================================
   anxiety
========================================================================== */

.anxiety {
    display: block;
    margin: 0 auto;
    padding: 80px 16px;

    @media (min-width: 1321px) {
        padding: 80px 16px 104px;
    }

    @media (max-width: 960px) {
        display: block;
        margin-bottom: 20px;
        padding: 40px 20px 20px;
    }
}

.anxiety-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    width: fit-content;
    margin: 0 auto;
    padding-bottom: 0;

    @media (max-width: 960px) {
        display: flex;
        flex-direction: column;
        gap: 16px;
        list-style: none;
        padding: 0;
        margin: 0 auto 32px;
        max-width: 560px;
    }
}

.anxiety-cards {
    position: relative;
    margin: 0 auto;
}

.anxiety-item {
    display: flex;
    max-width: 520px;
    align-items: center;
    gap: 16px;
    padding: 32px 48px;
    background-color: #EFF1F7;
    border-radius: 12px;
    flex-direction: column;
    justify-content: center;
    text-align: center;
    gap: 12px;
    min-height: 160px;

    &:nth-child(n+3) {
        width: 100%;
        max-width: 470px;
    }

    @media (max-width: 1320px) {
        max-width: 336px;

        &:nth-child(n+3) {
            max-width: 360px;
        }
    }

    @media (max-width: 960px) {
        max-width: 100%;

        &:nth-child(n+3) {
            max-width: 100%;
        }
    }

    @media (max-width: 768px) {
        flex-direction: row;
        justify-content: space-between;
        padding: 16px 24px;
        min-height: auto;
        gap: 8px;
    }
}

.anxiety-item:nth-child(3) {
    position: relative;
    right: 81px;
}

.anxiety-item:nth-child(4) {
    position: relative;
    left: 114px;
}

@media (max-width: 1320px) {
    .anxiety-item:nth-child(1) {
        position: relative;
        right: -24px;
    }

    .anxiety-item:nth-child(3) {
        right: 80px;
    }

    .anxiety-item:nth-child(4) {
        left: 80px;
    }
}

@media (max-width: 960px) {
    .anxiety-item:nth-child(1) {
        right: 0;
    }

    .anxiety-item:nth-child(3) {
        right: 0;
    }

    .anxiety-item:nth-child(4) {
        left: 0;
    }
}

.anxiety-label {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: #1a73cb;
    min-width: 60px;
}

.anxiety-label-text {
    width: auto;
    height: 16px;
}

.anxiety-label-num {
    font-size: 40px;
    font-weight: bold;
    font-style: italic;

    @media (max-width: 768px) {
        font-size: 36px;
    }
}

.anxiety-text {
    margin: 0;
    font-size: 24px;
    font-weight: bold;
    letter-spacing: normal;
    line-height: 1.5;

    @media (max-width: 768px) {
        margin: 0 auto;
        font-size: 20px;
    }
}

.anxiety-person {
    position: absolute;
    left: 50%;
    bottom: -76px;
    transform: translateX(-50%);
    text-align: center;

    @media (max-width: 1320px) {
        bottom: -16px;
    }

    @media (max-width: 960px) {
        position: relative;
    }
}

.anxiety-person img {
    width: 211px;
    height: auto;
    margin: 0 auto;

    @media (max-width: 1320px) {
        width: 151px;
        height: auto;
        margin: 0 auto;
    }
}

/* --------------------------------------------------------------------------
   service
-------------------------------------------------------------------------- */

.service_inner {
    padding: 40px 0 80px;

    @media (max-width: 768px) {
        padding: 20px 0 40px;
    }
}


.service_img {
    display: block;
    width: 100%;
    margin-bottom: 24px;

    @media (max-width: 768px) {
        margin-bottom: 12px;
    }
}

.service_attention {
    display: block;
    margin-bottom: 80px;
    text-align: center;
    font-size: 32px;
    font-weight: bold;
    color: #E46500;

    @media (max-width: 768px) {
        margin-bottom: 40px;
        font-size: 24px;
    }
}

/* 音声から帳票形式にAIが自動作成 */
/* ======================================== */

.service_voice {
    position: relative;
    background-color: #FFF5EA;
    border-radius: 16px;
    padding: 40px 48px;
    box-sizing: border-box;
    max-width: 984px;
    margin: 0 auto 24px;
    display: grid;
    grid-template-columns: auto 1fr auto;
    grid-template-rows: auto 1fr;
    column-gap: 48px;
    row-gap: 44px;
    align-items: center;

    @media screen and (max-width: 960px) {
        display: flex;
        flex-direction: column;
        align-items: center;
        padding: 28px;
        gap: 20px;
    }
}

.service_feature_heading {
    grid-column: 1;
    grid-row: 1 / 3;
    font-size: 28px;
    font-weight: bold;
    text-align: left;

    @media screen and (max-width: 960px) {
        font-size: 20px;
        text-align: center;
    }

    @media (max-width: 768px) {
        line-height: 1.5
    }
}

.service_voice_heading {
    position: absolute;
    top: 0;
    right: 175px;
    grid-column: 2;
    grid-row: 1;
    justify-self: start;
    font-size: 24px;
    font-weight: bold;
    margin: 0;
    text-align: left;

    @media (max-width: 960px) {
        position: relative;
        top: 0;
        right: 0;
        font-size: 16px;
        text-align: center;
    }
}

.service_brand_group {
    grid-column: 2;
    grid-row: 2;
    justify-self: start;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    margin-left: 56px;

    @media screen and (max-width: 960px) {
        margin: 0 auto;
    }
}

.service_brand_logo {
    height: 32px;
    width: auto;
    display: block;

    @media screen and (max-width: 960px) {
        height: 24px;
    }
}

.service_partner_wrapper {
    grid-column: 3;
    grid-row: 1 / 3;
}

.service_voice_partner_logo {
    position: relative;
    top: 26px;
    width: 250px;
    height: auto;
    display: block;

    @media (max-width: 960px) {
        top: 0;
        width: 180px;
    }
}

/* AIが訪問スケジュールを最適化 */
/* ======================================== */

.service_schedule {
    display: flex;
    background-color: #FFF5EA;
    border-radius: 16px;
    padding: 28px 48px;
    box-sizing: border-box;
    max-width: 984px;
    margin: 0 auto;
    align-items: center;
    justify-content: flex-start;

    @media screen and (max-width: 960px) {
        display: block;
        padding: 28px 20px;
    }
}

.service_schedule_heading {
    display: block;
    margin-right: 220px;
    font-size: 28px;
    font-weight: bold;

    @media screen and (max-width: 960px) {
        margin: 0 0 32px 0;
        text-align: center;
        font-size: 20px;
    }
}

.service_schedule_detail {
    display: block;
    font-size: 24px;
    font-weight: bold;
    text-align: center;
    margin-bottom: 20px;

    @media screen and (max-width: 960px) {
        font-size: 20px;
    }
}

.service_schedule_partner_logo {
    display: block;
    width: 190px;
    margin: 0 auto;

    @media screen and (max-width: 960px) {
        width: 130px;
    }
}

/* --------------------------------------------------------------------------
   cta
-------------------------------------------------------------------------- */

.cta {
    text-align: center;
    box-sizing: border-box;
    width: 100%;
    background: url("../images/bg_cta.webp");
    background-size: cover;
    background-repeat: no-repeat;

    @media screen and (max-width: 768px) {
        background: url("../images/bg_cta_mobile.webp");
    }
}

.cta-inner {
    padding: 80px 0;
}

.cta_lead {
    font-size: 24px;
    font-weight: bold;
    margin: 0 auto 20px;
    display: block;
    position: relative;

    @media screen and (max-width: 768px) {
        font-size: 20px;
        margin-bottom: 16px;
    }
}

.cta_lead::before {
    content: "＼";
    margin-right: 8px;

    @media screen and (max-width: 768px) {
        .cta_lead::before {
            margin-right: 4px;
        }
    }
}

.cta_lead::after {
    content: "／";
    margin-left: 8px;

    @media screen and (max-width: 768px) {
        .cta_lead::after {
            margin-left: 4px;
        }
    }
}

.cta_btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 336px;
    height: 79px;
    margin: 0 auto;
    background-color: #2686E3;
    color: #ffffff;
    font-size: 20px;
    font-weight: bold;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(37, 137, 230, 0.25);
    box-sizing: border-box;
    transition: background-color 0.3s ease, transform 0.2s ease, box-shadow 0.2s ease;

    @media screen and (max-width: 768px) {
        max-width: 100%;
        width: 280px;
        height: 66px;
        font-size: 20px;
        padding: 14px 20px;
        gap: 8px;
    }
}

.cta_btn::after {
    content: "";
    background-image: url("../images/icon_arrow.svg");
    width: 18px;
    height: 18px;
    background-size: contain;
    background-repeat: no-repeat;
    margin-left: 12px;
}

.cta_btn:hover {
    background-color: #1a73cb;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(33, 133, 232, 0.4);
}

.cta_btn:active {
    transform: translateY(0);
    box-shadow: 0 2px 6px rgba(33, 133, 232, 0.3);
}

/* --------------------------------------------------------------------------
   flow
-------------------------------------------------------------------------- */

.flow_section {
    padding: 80px 20px;
    max-width: 1024px;
    margin: 0 auto;
    box-sizing: border-box;
}

.flow_title {
    font-size: 36px;
    font-weight: bold;
    text-align: center;
    margin: 0 0 32px;
    line-height: 1.4;

    @media screen and (max-width: 768px) {
        font-size: 24px;
        letter-spacing: 0;
    }
}

.flow_container {
    display: flex;
    flex-direction: column;
    align-items: center;

    @media screen and (max-width: 768px) {
        width: 100%;
    }
}

.flow_card {
    position: relative;
    width: 100%;
    background-color: #FFF5EA;
    border-radius: 16px;
    padding: 56px 64px 32px;
    box-sizing: border-box;

    @media screen and (max-width: 768px) {
        padding: 52px 20px 32px;
    }
}

.flow_badge {
    position: absolute;
    top: 0;
    left: 0;
    background-color: #E46500;
    color: #ffffff;
    font-size: 20px;
    font-weight: bold;
    padding: 16px 32px;
    border-top-left-radius: 16px;
    border-bottom-right-radius: 16px;

    @media screen and (max-width: 768px) {
        font-size: 18px;
        padding: 16px 24px;
    }
}

.flow_card_inner {
    display: grid;
    grid-template-columns: 1fr auto;
    column-gap: 16px;
    align-items: flex-start;
    padding-top: 32px;

    @media screen and (max-width: 768px) {
        grid-template-columns: 1fr;
        row-gap: 16px;
    }
}

.flow_text_content {
    display: flex;
    flex-direction: column;
    gap: 16px;

    @media screen and (max-width: 768px) {
        order: 2;
        gap: 12px;
    }
}

.flow_description {
    font-size: 20px;
    margin: 0;
    line-height: 1.7;

    @media screen and (max-width: 768px) {
        font-size: 16px;
    }
}

.flow_check_list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
    line-height: 1.7;

    @media screen and (max-width: 768px) {
        gap: 6px;
    }
}

.flow_check_list li {
    position: relative;
    padding-left: 28px;
    font-size: 20px;
    background: url(../images/icon_check_circle.svg) no-repeat 0px 4px / 24px 24px;

    @media screen and (max-width: 768px) {
        font-size: 16px;
        background: url(../images/icon_check_circle.svg) no-repeat 0px 0px / 24px 24px;
    }
}

.flow_note {
    grid-column: 1 / -1;
    text-align: right;
    font-size: 12px;
    margin: 16px 0 0;
    letter-spacing: 0.01em;

    @media screen and (max-width: 768px) {
        order: 3;
        text-align: left;
        line-height: 1.7
    }
}

.flow_image_wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    max-width: 320px;

    @media screen and (max-width: 768px) {
        order: 1;
        width: 100%;
        margin: 0 auto;
    }
}

.flow_image {
    max-width: 100%;
    height: auto;
    display: block;

    @media screen and (max-width: 768px) {
        width: 100%;
    }
}

.flow_dots {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    width: 8px;
    height: 68px;
    gap: 4px;
    margin: 8px auto 8px 92px;
}

.flow_dots span {
    display: block;
    width: 8px;
    height: 8px;
    background-color: #EE6A00;
    border-radius: 50%;
}

/* --------------------------------------------------------------------------
   footer
-------------------------------------------------------------------------- */

.footer {
    display: block;
    padding: 16px 8px;
    text-align: center;
    background: #15192C;
    font-size: 14px;
    color: #fff;
}