@charset "UTF-8";

/* ============================
共通 css
======================= */

/* サービス事業ページヘッダー */

.service-header {
    width: 100%;
    background-color: var(--bg-white);
    padding: 80px 0;
    overflow: hidden;
}

.service-header .inner {
    width: 90%;
    max-width: 1000px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.service-header .content {
    flex: 1;
}

.service-header .title-wrap {
    position: relative;
    display: inline-block;
    margin-bottom: 24px;
}

.service-header .title {
    font-size: 32px;
    font-weight: 600;
    line-height: 1.2;
}

.service-header .title-wrap {
    position: relative;
    display: inline-block;
}

.service-header .badge {
    position: absolute;
    left: 100%;
    top: 50%;
    width: 104px;
    transform: translate(28px, -60%);
}

.service-header.is-marketing .title   { color: var(--c-marketing); }
.service-header.is-improvement .title { color: var(--c-improvement); }
.service-header.is-medical .title     { color: var(--c-medical); }

.service-header .badge {
    position: absolute;
    left: 100%;
    top: 50%;
    width: 104px;
    transform: translate(28px, -60%);
}

.service-header .badge img {
    width: 100%;
    height: auto;
    display: block;
}

.service-header .lead {
    font-size: 17px;
    color: var(--c-text);
    line-height: 1.8;
    margin-bottom: 24px;
}

.service-header .tags {
    display: flex;
    gap: 12px;
}

.service-header .tag {
    font-size: 14px;
    font-weight: 500;
    color: var(--c-text);
    padding: 6px 20px;
    border-radius: var(--rd-s);
}

.service-header.is-marketing .tag   { background-color: var(--bg-marketing); }
.service-header.is-improvement .tag { background-color: var(--bg-improvement); }
.service-header.is-medical .tag     { background-color: var(--bg-medical); }

.service-header .illustration {
    flex: 0 0 45%;
    max-width: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-header .img {
    width: 100%;
    height: auto;
    object-fit: contain;
    display: block;
}

@media screen and (max-width: 768px) {
    .service-header {
        padding: 40px 0;
    }

    .service-header .inner {
        flex-direction: column-reverse;
        text-align: center;
        gap: 32px;
    }

    .service-header .title {
        font-size: 28px;
    }

    .service-header .lead {
        font-size: 15px;
        line-height: 1.6;
    }

    .service-header .tags {
        justify-content: center;
    }

    .service-header .illustration {
        width: 80%;
        max-width: 320px;
        margin: 0 auto;
    }
    .service-header .illustration {
        width: 80%;
        max-width: 220px;
    }
}


@media screen and (max-width: 600px) {
    .service-header .title-wrap {
        display: inline-block;
    }

    .service-header .badge {
        width: 80px;
        transform: translate(-5%, -120%);
        left: 84%;
        top: -280%;
    }
}


/* ============================
事業の特長
======================= */

.service-feature {
    width: 100%;
    padding: 100px 0;
    overflow: hidden;
    background-color: #fff;
}

.service-feature.is-marketing { background-color: var(--bg-marketing); }
.service-feature.is-improvement { background-color: var( --bg-beige); }
.service-feature.is-medical { background-color: #fff; }


.service-feature .inner {
    width: 90%;
    max-width: 1000px;
    margin: 0 auto;
}

.service-feature .section-title {
    text-align: center;
    margin-bottom: 40px;
}

.service-feature .section-title .sub {
    display: block;
    font-size: 20px;
    font-weight: 700;
    font-family: "Poppins", sans-serif;
    margin-bottom: 8px;
}

.service-feature.is-marketing .section-title .sub   { color: var(--c-marketing); }
.service-feature.is-improvement .section-title .sub { color: var(--c-improvement); }
.service-feature.is-medical .section-title .sub     { color: var(--c-medical); }

.service-feature .section-title .main {
    font-size: 28px;
    font-weight: 500;
    color: var(--c-text);
}

.service-feature .feature-box {
    background-color: var(--bg-white);
    border-radius: var(--rd-l);
    padding: 80px 40px;
    position: relative;
}

.service-feature .feature-text {
    text-align: center;
}

.service-feature .feature-text p {
    font-size: 16px;
    color: var(--c-text);
    line-height: 2;
    margin-bottom: 48px;
}

.service-feature .feature-text p:last-child {
    margin-bottom: 0;
}

.service-feature .feature-text span {
    font-weight: 700;
}

.service-feature.is-marketing .feature-text span   { color: var(--c-marketing); }
.service-feature.is-improvement .feature-text span { color: var(--c-improvement); }
.service-feature.is-medical .feature-text span     { color: var(--c-medical); }

.service-feature .character {
    position: absolute;
    bottom: 5%;
    right: 8%;
    width: 160px;
    height: auto;
}

.service-feature .character .img {
    width: 100%;
    height: auto;
    display: block;
}

@media screen and (max-width: 768px) {
    .service-feature {
        padding: 60px 0;
    }

    .service-feature .section-title {
        margin-bottom: 32px;
    }

    .service-feature .section-title .sub {
        font-size: 16px;
    }

    .service-feature .section-title .main {
        font-size: 24px;
        padding: 0 10px;
    }

    .service-feature .feature-box {
        padding: 50px 20px 80px 20px;
    }

    .service-feature .feature-text p {
        font-size: 15px;
        line-height: 1.8;
        margin-bottom: 32px;
    }

    .service-feature .character {
        width: 100px;
        right: 20px;
        bottom: -10px;
    }
}


/* ============================
提供内容
======================= */
.service-content {
    width: 100%;
    background-color: var(--bg-beige);
    padding: 100px 0;
    overflow: hidden;
}

.service-content.is-marketing { background-color: var(--bg-beige); }
.service-content.is-improvement { background-color: var(--bg-improvement); }
.service-content.is-medical { background-color: #fff; }

.service-content .inner {
    width: 90%;
    max-width: 1100px;
    margin: 0 auto;
}

.service-content .section-title {
    display: flex;
    align-items: flex-end;
    gap: 32px;
    margin-bottom: 80px;
}

.service-content .title-left {
    flex-shrink: 0;
}

.service-content .sub {
    display: block;
    font-size: 18px;
    font-weight: 700;
    font-family: "Poppins", sans-serif;
    margin-bottom: 12px;
    text-align: left;
}

.service-content.is-marketing .sub   { color: var(--c-marketing); }
.service-content.is-improvement .sub { color: var(--c-improvement); }
.service-content.is-medical .sub     { color: var(--c-medical); }

.service-content .main {
    font-size: 28px;
    font-weight: 500;
    color: var(--c-text);
    line-height: 1.2;
}

.service-content .title-line {
    flex: 1;
    height: 0;
    border-bottom: 4px dotted transparent;
    margin-bottom: 8px;
}

.service-content.is-marketing .title-line   { border-color: var(--c-marketing); }
.service-content.is-improvement .title-line { border-color: var(--c-improvement); }
.service-content.is-medical .title-line     { border-color: var(--c-medical); }

.service-content .card-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 64px 40px;
}

.service-content .card {
    background-color: var(--bg-white);
    border-radius: var(--rd-m);
    padding: 48px 32px 40px 32px;
    position: relative;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.02);
    border: solid 2px #ddd;
}

.service-content .icon {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translate(-50%, -50%);
    /* 直径を40pxに指定 */
    width: 40px;
    height: 40px;
}

.service-content .icon svg {
    width: 100%;
    height: 100%;
    display: block;
}

.service-content.is-marketing .icon ellipse   { fill: var(--c-marketing); }
.service-content.is-improvement .icon ellipse { fill: var(--c-improvement); }
.service-content.is-medical .icon ellipse     { fill: var(--c-medical); }

.service-content .card-title {
    font-size: 18px;
    font-weight: 600;
    color: var(--c-text);
    margin-bottom: 16px;
}

.service-content .card-text {
    font-size: 16px;
    color: var(--c-text);
    line-height: 1.6;
}

@media screen and (max-width: 768px) {
    .service-content {
        padding: 60px 0;
    }

    .service-content .section-title {
        flex-direction: column;
        align-items: center;
        gap: 12px;
        margin-bottom: 80px;
    }

    .service-content .title-line {
        display: none;
    }

    .service-content .main {
        font-size: 24px;
    }

    .service-content .sub {
        text-align: center;
    }

    .service-content .card-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .service-content .card {
        padding: 40px 20px 32px 20px;
    }

    .service-content .card-title {
        font-size: 18px;
    }

    .service-content .card-text {
        font-size: 14px;
    }
}

/* ============================
業務フロー
======================= */
.service-flow {
    width: 100%;
    background-color: var(--bg-white);
    padding: 100px 0;
}

.service-flow .inner {
    width: 90%;
    max-width: 950px;
    margin: 0 auto;
}

.service-flow .section-title {
    text-align: center;
    margin-bottom: 40px;
}

.service-flow .section-title .sub {
    display: block;
    font-size: 18px;
    font-weight: 700;
    font-family: "Poppins", sans-serif;
    color: var(--c-marketing);
    margin-bottom: 12px;
}

.service-flow .section-title .main {
    font-size: 28px;
    font-weight: 500;
    color: var(--c-text);
    line-height: 1.4;
}

.service-flow .section-lead {
    text-align: center;
    font-size: 16px;
    color: var(--c-text);
    margin-bottom: 60px;
}

.service-flow .phase {
    position: relative;
    padding-left: 120px;
}

.service-flow .phase.is-01 {
    --p-color: var(--c-mint-accent);
    --p-bg: var(--bg-mint);
    --p-desc-bg: rgba(22, 181, 176, 0.2);
}

.service-flow .phase.is-02 {
    --p-color: var(--c-red);
    --p-bg: var(--bg-red);
    --p-desc-bg: rgba(243, 122, 91, 0.2);
}

.service-flow .phase.is-02.is-improvement {
    --p-color: var(--c-improvement);
    --p-bg: var(--bg-improvement);
    --p-desc-bg: rgba(249, 184, 39, 0.2);
}

.service-flow .phase-num-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.service-flow .phase-aside {
    position: absolute;
    top: 0;
    bottom: -30px;
    left: 0;
    width: 85px;
    background-color: var(--p-color);
    clip-path: polygon(0 0, 100% 0, 100% calc(100% - 25px), 50% 100%, 0 calc(100% - 25px));
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 20px;
    color: var(--c-text-white);
    z-index: 2;
}

.service-flow .phase-num-sub {
    font-size: 16px;
    font-weight: 500;
}

.service-flow .phase-num-main {
    font-size: 32px;
    font-weight: 700;
    font-family: "Poppins", sans-serif;
    line-height: 1;
    margin: 4px 0 16px;
}

.service-flow .phase-num-sub,
.service-flow .phase-num-main,
.service-flow .phase-txt
{
    opacity: 0.8;
}

.service-flow .phase-txt {
    writing-mode: vertical-rl;
    font-size: 18px;
    font-weight: 500;
    letter-spacing: 0.15em;
}

.service-flow .phase-main {
    background-color: var(--p-bg);
    border-radius: var(--rd-m);
    padding: 40px 40px 50px 40px;
}

.service-flow .phase-lead {
    font-size: 16px;
    font-weight: 700;
    color: var(--p-color);
    border-bottom: 2px dotted var(--p-color);
    padding-bottom: 16px;
    margin-bottom: 32px;
}

.service-flow .step-list {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.service-flow .step {
    display: flex;
    align-items: center;
    gap: 32px;
    position: relative;
}

.service-flow .step-label {
    width: 280px;
    height: 64px;
    background-color: var(--bg-white);
    border: 1.5px solid var(--p-color);
    border-radius: var(--rd-s);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-size: 15px;
    font-weight: 700;
    color: var(--c-text);
    flex-shrink: 0;
    position: relative;
}

.service-flow .step:not(:last-child) .step-label::after {
    content: "";
    position: absolute;
    bottom: -24px;
    left: 50%;
    transform: translateX(-50%);
    border-left: 7px solid transparent;
    border-right: 7px solid transparent;
    border-top: 10px solid var(--p-color);
}

.service-flow .step.is-circle .step-label {
    width: 110px;
    height: 110px;
    border-radius: var(--rd-full);
    background-color: var(--p-color);
    color: var(--c-text-white);
    border: none;
    font-size: 13px;
    line-height: 1.4;
    margin: 0 60px;
}

.service-flow .step-desc {
    flex: 1;
    background-color: var(--p-desc-bg);
    border-radius: var(--rd-s);
    padding: 20px 24px;
    font-size: 14px;
    color: var(--c-text);
    line-height: 1.6;
    position: relative;
}

.service-flow .step-desc::before {
    content: "";
    position: absolute;
    top: 50%;
    left: -8px;
    transform: translateY(-50%);
    border-top: 8px solid transparent;
    border-bottom: 8px solid transparent;
    border-right: 8px solid var(--p-desc-bg);
}

.service-flow .step-desc .note {
    display: block;
    font-size: 12px;
    margin-top: 6px;
}

.service-flow .phase.is-improvement .step:nth-child(2) .step-label::after {
    display: none;
}

.service-flow .ai-role-box {
    --c-orange: #E69B24;
    --p-color: var(--c-orange);
    background-color: var(--bg-white);
    border: 2px dashed var(--p-color);
    border-radius: var(--rd-s);
    padding: 24px;
    position: relative;
    margin: 8px 0;
}

.service-flow .ai-role-box::after {
    content: "";
    position: absolute;
    bottom: -24px;
    left: 115px;
    transform: translateX(-50%);
    border-left: 7px solid transparent;
    border-right: 7px solid transparent;
    border-top: 10px solid var(--p-color);
}

.service-flow .ai-role-title {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: var(--p-color);
    color: var(--c-text-white);
    padding: 4px 24px;
    font-size: 13px;
    font-weight: 700;
    border-radius: var(--rd-full);
    white-space: nowrap;
}

.service-flow .ai-role-content {
    display: flex;
}

.service-flow .ai-role-col {
    flex: 1;
    text-align: center;
    padding: 0 24px;
}

.service-flow .ai-role-col:first-child {
    border-right: 2px dashed var(--p-color);
}

.service-flow .ai-role-col-title {
    color: var(--p-color);
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 8px;
}

.service-flow .ai-role-col-text {
    font-size: 13px;
    color: var(--c-text);
    line-height: 1.6;
    text-align: left;
}

.service-flow .phase-separator {
    text-align: center;
    margin: 32px 0;
}

.service-flow .phase-separator svg path {
    stroke: var(--c-mint-accent);
}

.service-flow .flow-footer {
    background-color: var(--bg-beige);
    border-radius: var(--rd-m);
    padding: 40px 20px;
    text-align: center;
    font-size: 15px;
    color: var(--c-text);
    line-height: 1.8;
    margin-top: 50px;
}

@media screen and (max-width: 768px) {
    .service-flow {
        padding: 60px 0;
    }

    .service-flow .section-title .main {
        font-size: 24px;
    }

    .service-flow .section-lead {
        font-size: 16px;
        margin-bottom: 40px;
    }

    .service-flow .phase {
        padding-left: 0;
    }

    .service-flow .phase-aside {
        position: static;
        width: 100%;
        height: auto;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 6px;
        padding: 12px 0 24px 0;
        clip-path: polygon(0 0, 100% 0, 100% calc(100% - 12px), 50% 100%, 0 calc(100% - 12px));
    }

    .service-flow .phase-num-wrap {
        flex-direction: row;
        justify-content: center;
        align-items: center;
        gap: 12px;
    }

    .service-flow .phase-num-main {
        margin: 0;
        font-size: 24px;
    }

    .service-flow .phase-txt {
        writing-mode: horizontal-tb;
        font-size: 17px;
    }

    .service-flow .phase-main {
        padding: 30px 20px;
        margin-top: 12px;
    }

    .service-flow .phase-lead {
        font-size: 14px;
        text-align: center;
    }

    .service-flow .step-list {
        gap: 48px;
    }

    .service-flow .step {
        flex-direction: column;
        gap: 16px;
    }

    .service-flow .step-label {
        width: 100%;
        height: 54px;
    }

    .service-flow .step.is-circle .step-label {
        width: 100%;
        height: 54px;
        border-radius: var(--rd-s);
        margin: 0;
    }

    .service-flow .step:not(:last-child) .step-label::after {
        display: none;
    }

    .service-flow .step-desc::before {
        display: none;
    }

    .service-flow .step:not(:last-child) .step-desc::after {
        content: "";
        position: absolute;
        bottom: -32px;
        left: 50%;
        transform: translateX(-50%);
        border-left: 6px solid transparent;
        border-right: 6px solid transparent;
        border-top: 8px solid var(--p-color);
    }

    .service-flow .phase.is-improvement .step:nth-child(2) .step-desc::after {
        display: none;
    }

    .service-flow .ai-role-box {
        margin: 0;
    }

    .service-flow .ai-role-box::after {
        content: "";
        position: absolute;
        bottom: -32px;
        left: 50%;
        transform: translateX(-50%);
        border-left: 6px solid transparent;
        border-right: 6px solid transparent;
        border-top: 8px solid var(--p-color);
    }

    .service-flow .ai-role-content {
        flex-direction: column;
        gap: 20px;
    }

    .service-flow .ai-role-col {
        padding: 0;
    }

    .service-flow .ai-role-col:first-child {
        border-right: none;
    }

    .service-flow .ai-role-col-text {
        text-align: center;
    }

    .service-flow .flow-footer {
        font-size: 15px;
          padding: 30px 20px;
    }
}

/* ============================
お問い合わせ
======================= */
.service-cta {
    width: 100%;
    background-color: var(--bg-mint);
    padding: 100px 0;
    overflow: hidden;
}

.service-cta .inner {
    width: 90%;
    max-width: 1000px;
    margin: 0 auto;
}

.service-cta .cta-box {
    background-color: var(--bg-white);
    border-radius: var(--rd-l);
    padding: 80px 40px;
    text-align: center;
    position: relative;
}

.service-cta .cta-title {
    font-size: 28px;
    font-weight: 500;
    color: var(--c-text);
    margin-bottom: 40px;
}

.service-cta .cta-btn-wrap {
    display: flex;
    justify-content: center;
}

.service-cta .cta-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    background-color: var(--c-mint-accent);
    color: var(--c-text-white);
    font-size: 18px;
    font-weight: 700;
    text-decoration: none;
    padding: 16px 48px;
    border-radius: var(--rd-full);
    transition: all 0.3s ease;
}



.service-cta .cta-btn svg {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

.service-cta .cta-character {
    position: absolute;
    bottom: 10px;
    right: 60px;
    width: 160px;
}

.service-cta .cta-character .img {
    width: 100%;
    height: auto;
    display: block;
}

@media screen and (max-width: 768px) {
    .service-cta {
        padding: 60px 0;
    }

    .service-cta .cta-box {
        padding: 60px 20px 140px 20px;
    }

    .service-cta .cta-title {
        font-size: 22px;
        line-height: 1.5;
        margin-bottom: 32px;
    }

    .service-cta .cta-btn {
        width: 100%;
        max-width: 290px;
        font-size: 16px;
        padding: 14px 24px;
    }

    .service-cta .cta-character {
        right: 50%;
        transform: translateX(50%);
        bottom: 15px;
        width: 120px;
    }
}