@charset "UTF-8";

*,
*::before,
*::after {
    box-sizing: border-box;
}

/*メインビジュアル*/
#mv {
    padding: 0;
}

.mv_inner {
    width: 100%;
    margin: 0 auto;
    position: relative;
}

.mv_text {
    position: absolute;
    top: 50%;
    left: 8vw;
    transform: translateY(-50%);
    z-index: 2;
    white-space: nowrap;
}

.mv_text h1 {
    position: relative;
    display: inline-block;
    font-size: clamp(16px, 1.56vw, 30px);
    font-weight: bold;
    margin-bottom: clamp(15px, 1.56vw, 30px);
    padding-bottom: 5px;
}

.mv_text h1::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: clamp(2px, 0.26vw, 5px);

    background: linear-gradient(90deg,
            #005EAE 0%,
            #005EAE 50%,
            #66AE03 50%,
            #66AE03 100%);
}

.mv_copy p {
    font-size: clamp(14px, 1.46vw, 28px);
    margin-bottom: clamp(15px, 1.56vw, 30px);
    font-weight: 500;
}

.mv_copy p:last-child {
    margin-bottom: 0;
}

.mv_copy span {
    color: #005EAE;
    font-size: clamp(22px, 2.60vw, 50px);
    font-weight: bold;
}

.mv_copy_line {
    display: inline;
}

.mv_img {
    width: 100%;
    height: auto;
}

.mv_img picture,
.mv_img img {
    display: block;
    width: 100%;
    height: auto;
}

/* ここからサービス詳細 */
#service {
    background: linear-gradient(90deg, #eff7e5 0%, #eff7e5 50%, #ffffff 50%, #ffffff 100%);
    padding: clamp(40px, 4.17vw, 80px) 0;
}

.service_heading::before {
    display: block;
    content: "";
    width: clamp(20px, 2.08vw, 40px);
    height: clamp(10px, 1.04vw, 20px);
    margin: 0 auto;
    margin-bottom: clamp(5px, 0.93vw, 18px);
    background: linear-gradient(90deg, #005EAE 0%, #005EAE 50%, #66ae03 50%, #66ae03 100%);
}

.service_heading {
    margin-bottom: clamp(20px, 3.13vw, 60px);
    text-align: center;
    font-size: clamp(30px, 2.08vw, 40px);
    font-weight: bold;
}

.service_heading span {
    font-size: clamp(13px, 0.78vw, 15px);
    font-weight: normal;
    display: block;
    line-height: 1.5;
}

/*サービスタブ*/
.service_tab {
    max-width: 1366px;
    width: 95%;
    display: flex;
    margin: 0 auto;
    padding: 0;
    filter: drop-shadow(0px 4px 2px rgba(0, 0, 0, 0.2));
}

.tab {
    flex: 1;
    position: relative;
    border: none;
    background: none;
    cursor: pointer;
    padding: 0;
    margin: 0;
    z-index: 2;
}

.tab:not(:last-child) {
    margin-right: -1.9%;
}

.tab img {
    display: block;
    height: auto;
    width: 100%;
    min-height: 39px;
}

.tab_label {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #8C8A8A;
    font-size: clamp(12px, 1.5vw, 26px);
    font-weight: bold;
    white-space: nowrap;
}

.tab_line {
    display: inline;
}

.tab_label::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -4px;
    width: 100%;
    height: 2px;
    background: currentColor;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .3s ease;
}

@media (hover: hover) and (pointer: fine) {
    .tab:hover .tab_label::after {
        transform: scaleX(1);
    }

    .tab:hover .tab_line::after {
        transform: scaleX(1);
    }
}

.tab.active .tab_label {
    color: #ffffff;
}

.tab:focus {
    text-decoration: none;
}

/*コンテンツ全体*/
.service_contents {
    background-color: #ffffff;
    max-width: 1366px;
    width: 95%;
    margin: clamp(30px, 3.13vw, 60px) auto;
    padding: clamp(40px, 4.17vw, 80px) 0;
    box-shadow: 0px 0px 7px rgba(0, 0, 0, 0.6);
    border-radius: 10px;
    text-align: center;
}

.service_inner {
    display: none;
}

.service_inner.active {
    display: block;
}

/*悩み*/
.problem {
    padding-bottom: 30px;
    text-align: center;
}

.problem h2 {
    font-size: clamp(24px, 2.08vw, 40px);
    margin-bottom: clamp(20px, 2.08vw, 40px);
    font-weight: bold;
}

.problem_list {
    list-style: none;
    width: fit-content;
    margin: 0 auto;
}

.problem_list li {
    display: flex;
    align-items: flex-start;
    gap: clamp(5px, 0.72vw, 14px);
    margin-bottom: clamp(20px, 2.08vw, 40px);
}

.problem_list li:last-child {
    margin-bottom: 0;
}

.problem_list p {
    font-size: clamp(14px, 1.25vw, 24px);
    font-weight: 500;
    text-align: left;
}

.problem_list img {
    width: clamp(20px, 2.60vw, 50px);
    height: auto;
    flex-shrink: 0;
    margin-top: 2px;
}

/*効果*/
.effect {
    position: relative;
    background: #F8FCFF;
    padding: clamp(1px, 1vw, 40px) 0 clamp(40px, 4.17vw, 80px);

    clip-path: polygon(0 0px,
            50% clamp(25px, 3.12vw, 60px),
            100% 0px,
            100% 100%,
            0 100%);
}

.effect.ai_data {
    background: #F9FEF2;
}

.effect.web_system {
    background: #FFFBF4;
}

.effect_label {
    position: relative;
    width: clamp(100px, 10.41vw, 200px);
    margin: 40px auto 0;
}

.effect_label img {
    display: block;
    width: 100%;
    height: auto;
    margin-top: clamp(20px, 4.17vw, 80px);
}

.effect_label span {
    position: absolute;
    top: 35%;
    left: 50%;
    transform: translate(-50%, -50%);
    white-space: nowrap;
    font-size: clamp(12px, 1.04vw, 20px);
    font-weight: bold;
    color: #fff;
}

.effect h2 {
    font-size: clamp(24px, 2.08vw, 40px);
    font-weight: bold;
    margin: 0 0 clamp(20px, 2.08vw, 40px);
}

.effect_list {
    list-style: none;
    width: fit-content;
    margin: 0 auto;
}

.effect_list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: clamp(20px, 2.08vw, 40px);
}

.effect_list li:last-child {
    margin-bottom: 0;
}

.effect_list p {
    font-size: clamp(14px, 1.25vw, 24px);
    font-weight: 500;
    text-align: left;
}

.effect_list span {
    color: #005EAE;
    font-weight: 500;
}

.effect_list.ai_data span {
    color: #5A9804;
}

.effect_list.web_system span {
    color: #E09300;
}

.effect_list img {
    width: clamp(16px, 1.56vw, 30px);
    height: auto;
    position: relative;
    top: 5px;
}

/*支援内容*/
.support {
    margin-top: clamp(40px, 4.69vw, 90px);
}

.support_item {
    display: flex;
    align-items: center;
    gap: 70px;
    margin: 0 100px 60px;
}

.support_item.reverse {
    flex-direction: row-reverse;
}

.support_item:last-child {
    margin-bottom: 0;
}

.support_image {
    width: clamp(250px, 20vw, 400px);
}

.support_image img {
    width: 100%;
    display: block;
    margin: 0 auto;
}

.support_content {
    flex: 1;
    min-width: 0;
    box-sizing: border-box;
    height: auto;
    background: #F8FCFF;
    border-radius: 10px;
    padding: clamp(20px, 2.08vw, 40px) clamp(10px, 1.75vw, 60px);
    text-align: left;
}

.support_content.ai_data {
    background: #F9FEF2;
}

.support_content.web_system {
    background: #FFFBF4;
}

.support_content h3 {
    --highlight-extension: clamp(4px, 0.52vw, 10px);
    position: relative;
    font-size: clamp(20px, 1.67vw, 32px);
    font-weight: bold;
    margin-bottom: clamp(15px, 1.04vw, 20px);
    display: inline-block;
    z-index: 1;
}

.support_content h3::after {
    content: "";
    position: absolute;
    bottom: 4px;
    left: calc(var(--highlight-extension) * -1);
    width: calc(100% + var(--highlight-extension) * 2);
    height: clamp(10px, 0.83vw, 20px);
    z-index: -1;
    border-radius: 3px;
    background: #fff;
}

.support_content>p {
    line-height: 1.43;
    margin-bottom: clamp(15px, 1.04vw, 25px);
    min-width: 0;
}

.support_text {
    font-size: clamp(14px, 1.25vw, 24px);
    font-weight: 500;
    overflow-wrap: anywhere;
}

.support_text p {
    margin-bottom: clamp(10px, 1.30vw, 25px);
}

.support_content span {
    color: #005EAE;
    font-weight: 500;
}

.support_content.ai_data span {
    color: #5A9804;
}

.support_content.web_system span {
    color: #E09300;
}

.support_title {
    display: flex;
    align-items: center;
    gap: clamp(5px, 0.625vw, 12px);
    margin-bottom: clamp(10px, 0.93vw, 18px);
}

.support_title::after {
    content: "";
    flex: 1;
    height: 1px;
    background: #8C8A8A;
}

.support_title img {
    width: clamp(15px, 1.56vw, 30px);
    height: auto;
}

.support_work ul {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(15px, 1.04vw, 20px) clamp(9px, 2.60vw, 50px);
    width: fit-content;
    font-size: clamp(12px, 1.04vw, 20px);
    font-weight: normal;
}

.support_work li {
    list-style: none;
    position: relative;
    padding-left: 1em;
}

.support_work li::before {
    content: "・";
    position: absolute;
    left: 0;
    top: 0;
}

/* ここからお問い合わせ */
#inquiry {
    background: linear-gradient(90deg, #eff7e5 0%, #eff7e5 50%, #ffffff 50%, #ffffff 100%);
    padding: 0 0 clamp(40px, 4.17vw, 80px);
}

.inquiry_text {
    text-align: center;
    font-size: clamp(13px, 1.87vw, 36px);
    font-weight: 500;
    line-height: 1.46;
    margin: 0 0 clamp(20px, 3.13vw, 60px);
}

.inquiry_text p:not(:last-child) {
    margin-bottom: clamp(10px, 1.78vw, 15px);
}

.inquiry_text.dx span {
    color: #005EAE;
}

.inquiry_text.ai_data span {
    color: #5A9804;
}

.inquiry_text.web_system span {
    color: #E09300;
}

.inquiry_button {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.inquiry_btn {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    width: fit-content;
    height: auto;
    margin: 0 auto;
    padding: clamp(7px, 1.04vw, 20px) clamp(45px, 4.69vw, 90px);
    background: #005EAE;
    color: #ffffff;
    font-size: clamp(13px, 1.87vw, 36px);
    white-space: nowrap;
    font-weight: bold;
    text-decoration: none;
    cursor: pointer;
}

.inquiry_btn::after {
    content: '';
    background-image: url(../images/arrow.png);
    background-size: cover;
    position: absolute;
    width: clamp(6px, 0.83vw, 16px);
    height: clamp(10px, 1.46vw, 28px);
    z-index: 9999;
    top: 50%;
    right: 5%;
    transform: translateY(-50%);
}

.pc_indention {
    display: block;
}

.sp_indention {
    display: none;
}

@media screen and (max-width: 830px) {
    #mv {
        width: 100%;
        padding: 0;
    }

    .mv_inner {
        position: relative;
        overflow: hidden;
    }

    .mv_text {
        position: absolute;
        top: 30px;
        left: 25px;
        z-index: 2;
        width: auto;
        text-align: left;
        white-space: nowrap;
        transform: none;
    }

    .mv_copy p {
        white-space: normal;
    }

    .mv_img {
        width: 100%;
        height: 580px;
        overflow: hidden;
    }

    .mv_img picture,
    .mv_img img {
        width: 100%;
        height: 100%;
    }

    .mv_img img {
        object-fit: cover;
        object-position: center 80%;
    }

    .support_item {
        flex-direction: column;
        gap: 0;
        margin: 0 10px 30px;
    }

    .support_item.reverse {
        flex-direction: column;
    }

    .support_content {
        max-width: 430px;
        width: 100%;
    }
}

@media screen and (max-width: 768px) {
    .tab_line {
        display: block;
        position: relative;
    }

    .tab.web_system .tab_label::after {
        display: none;
    }

    .tab_line::after {
        content: "";
        position: absolute;
        left: 0;
        bottom: -1px;
        width: 100%;
        height: 2px;
        background: currentColor;

        transform: scaleX(0);
        transform-origin: left;
        transition: transform .3s ease;
    }

    .support_work ul {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .support_work li {
        white-space: normal;
        overflow-wrap: break-word;
    }

    .pc_indention {
        display: none;
    }

    .sp_indention {
        display: block;
    }

    .mv_copy_line {
        display: block;
        margin-bottom: clamp(15px, 1.56vw, 30px);
    }
}