/* Base */
:root {
    /* Colors */
    --clr-black: #1d1d1d;
    --clr-white: #ffffff;
    --clr-text: #4d4d4d;

    --clr-red-main: #ED1C24;
    --clr-red-grad-start: #FF4B2B;
    --clr-red-grad-end: #FF8C3B;

    --clr-gray-bg: #EFF2F5;
    --clr-gray-darkbg: #242424;

    --clr-gdadient: linear-gradient(89.66deg, #ED1C24 13.78%, #F06500 90.89%);

    /* Font sizes */
    --fs-h1: 3rem;
    --fs--xxl: 2.5rem;
    --fs--xl: 2.2rem;
    --fs--lg: 1.5rem;
    --fs--md: 1.25rem;
    --fs--sm: 1.132rem;
    --fs--xs: 1rem;
    --fs--2xs: 0.875rem;
    --fs--3xs: 0.795rem;


    /* Radius / Shadow */
    --radius-panel: 20px;
    --shadow-panel: 0 12px 24px rgba(0, 0, 0, 0.12);

    /* Layout */
    --inner-max: 1440px;
    --inner-padding-pc: 68px 0;
    --inner-padding-sp: 20px;
}

@media (max-width: 768px) {
    :root {
        --fs-h1: 1.8rem;
        --fs--xxl: 2.5rem;
        --fs--xl: 2.0rem;
        --fs--lg: 1.58rem;
        --fs--ml: 1.24rem;
        --fs--md: 0.9rem;
        --fs--sm: 0.87rem;
        --fs--xs: 0.86rem;
        --fs--2xs: 0.84rem;
        --fs--3xs: 0.76rem;
    }
}

*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'ヒラギノ角ゴ ProN', 'Hiragino Kaku Gothic ProN',
        'Hiragino Sans', 'Yu Gothic', YuGothic, sans-serif;
    line-height: 1.7;
    color: var(--clr-black);
    background: var(--clr-white);
    -webkit-font-smoothing: antialiased;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Utility */
.only-pc {
    display: none;

    @media (min-width: 769px) {
        display: block;
    }
}

.only-sp {
    display: block;

    @media (min-width: 769px) {
        display: none;
    }
}

.inner {
    width: 100%;
    max-width: var(--inner-max);
    margin: 0 auto;
    padding: 0 var(--inner-padding-pc);

    @media (max-width: 768px) {
        padding: 0 var(--inner-padding-sp);
    }
}

@keyframes scroll-ul-left {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

.point-text {
  display: block;
  font-family: 'Roboto', sans-serif;
  font-size: .875rem;
  font-weight: 600;
  font-variation-settings: "wght" 600;
  line-height: 1.2;
  background: linear-gradient(90deg, #ED1C24 13.78%, #F06500 90.89%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin: 0 auto 0.5rem;
  & span {
    font-size: 1.25rem;
    background: linear-gradient(90deg, #ED1C24 13.78%, #F06500 90.89%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
  }
}

/* ==========================================================
    Hero
========================================================== */

section.hero {
    position: relative;
    width: 100%;
    min-height: 620px;
    padding-top: 59.6528%;
    overflow: hidden;
    background: var(--clr-gray-bg);

    @media (max-width: 768px) {
        min-height: inherit;
        padding-top: 0;
    }

    div.hero__bg {
        position: absolute;
        inset: 0;
        z-index: 10;
        width: 100%;
        height: 100%;
        max-inline-size: none;
        max-block-size: none;
        overflow: hidden;
        pointer-events: none;

        .hero__bg-main {
            position: absolute;
            top: 0;
            left: 50%;
            transform: translateX(-50%);
            width: auto;
            height: 100%;
            max-width: none;
            max-inline-size: none;
            max-block-size: none;
            user-select: none;
        }

        .hero__bg-circles {
            position: absolute;
            bottom: 0;
            left: 95px;
            width: 91.4583%;
            height: auto;
            max-width: none;
            max-inline-size: none;
            max-block-size: none;
            user-select: none;
        }
    }

    div.hero__bg-sp {
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
        pointer-events: none;
        z-index: 10;

        & img {
            position: absolute;
            top: 0;
            left: 0;
            width: 75vw;
        }
    }

    div.hero__inner {
        position: absolute;
        left: 0;
        right: 0;
        top: 0;
        z-index: 150;
        padding: 0;
        padding-top: 6.25vw;
        padding-left: 8.3333%;
        padding-right: 8.3333%;
        display: flex;
        align-items: center;
        justify-content: flex-start;
        letter-spacing: 0;
        margin: 0 auto;

        @media (max-width: 768px) {
            text-align: left;
            z-index: 10;
            position: relative;
            padding: 16.1538vw 4.1026% 0;
        }

        div.hero__txt {
            color: var(--clr-black);

            @media (max-width: 768px) {
                position: relative;
                z-index: 20;

                &::before {
                    content: "";
                    position: absolute;
                    top: 41px;
                    left: -315px;
                    width: 520px;
                    height: 520px;
                    background-image: url(../images/hero_shadow.png);
                    background-size: contain;
                    background-repeat: no-repeat;
                    background-position: top center;
                    z-index: -1;
                    pointer-events: none;
                }

                img.hero__txt-deco {
                    position: absolute;
                    width: 16vw;
                    height: auto;
                    top: -8vw;
                    right: 2vw;

                    @media (min-width: 540px) {
                        width: 10vw;
                    }
                }
            }

            p.hero__eyebrow {
                font-size: max(1.38888vw, 1rem);
                font-weight: 600;
                font-variation-settings: "wght" 600;
                margin-bottom: 12px;

                @media (max-width: 768px) {
                    font-size: 3.8462vw;
                    margin-bottom: 0;
                }
            }

            h1.hero__title {
                font-size: max(3.0556vw, 1.75rem);
                font-weight: 700;
                font-variation-settings: "wght" 700;
                line-height: 1.3;
                letter-spacing: 0;
                margin-bottom: max(.97222vw, .875rem);

                @media (max-width: 768px) {
                  font-size: 7.1795vw;
                  margin-bottom: .9375rem;
                }

                span.geniac {
                    font-family: 'Poppins', sans-serif;
                    font-weight: 600;
                    font-variation-settings: "wght" 600;
                    font-size: max(4.4444vw,4rem);
                    line-height: 1.2;
                    @media (max-width: 768px) {
                      font-size: 14.3589vw;
                    }
                }

                span.sub {
                    font-size: max(2.2222vw, 2rem);
                    position: relative;
                    display: inline-block;

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

                    .sub-note {
                        position: absolute;
                        top: -0.9em;
                        right: 1.08em;
                        font-size: max(.9722vw, .875rem);
                        line-height: 1;
                        @media (max-width: 768px) {
                          font-size: 3.5897vw;
                          top: -1.5em;
                          right: .4em;
                        }
                    }
                }
            }

            p.hero__lead {
                font-size: max(1.1111vw, .75rem);
                line-height: 1.8;
                max-width: 41.6667%;

                @media (max-width: 768px) {
                  font-size: 3.5897vw;
                  max-width: 100%;
                }
            }
        }
    }

    div.hero__sp-mv {
        width: 100%;
        overflow: hidden;
        height: auto;
        margin: 0 auto;
        margin-top: -1.75rem;
        z-index: 100;
        position: relative;

        &::before {
            content: "";
            position: absolute;
            bottom: -2.875rem;
            left: 50%;
            transform: translateX(-50%);
            width: 94.1026%;
            height: 100%;
            background-image: url(../images/hero_sp_mv_dot.png);
            background-size: contain;
            background-repeat: no-repeat;
            background-position: top center;
            z-index: 200;
            pointer-events: none;
        }

        & img {
            width: 110%;
            max-inline-size: none;
            max-block-size: none;
        }
    }
}

/* ==========================================================
   trouble / AI活用
========================================================== */

section.trouble {
    background: var(--clr-gray-bg);
    padding-bottom: 2.2rem;
    overflow: visible;

    @media (max-width: 768px) {
        padding: 0 1.25rem 1.2rem;
    }


    div.trouble__inner {
        text-align: center;
        margin-bottom: 3.5rem;
        position: relative;
        color: var(--clr-black);
        padding: 0;

        @media (max-width: 768px) {
            padding: 0;
            margin-bottom: 2.4rem;
        }

        h2.trouble__title {
            font-size: var(--fs--lg);
            font-weight: 700;
            font-variation-settings: "wght" 700;
            margin-bottom: 0.75rem;
            line-height: 1.4;
        }

        p.trouble__eyebrow {
            font-size: var(--fs--sm);
            margin-bottom: 2.4rem;
        }

    }

    div.trouble__panels {
        display: flex;
        justify-content: center;
        flex-wrap: wrap;
        overflow: hidden;
        gap: 1.2rem;
        z-index: 10;
        position: relative;
        padding: 0 var(--inner-padding-pc);

        @media (max-width: 768px) {
            flex-direction: column;
            gap: 1.5rem;
            padding: 0;
        }
    }

    article.trouble__panel {
        background: var(--clr-white);
        flex: 1 1 0;
        border-radius: 0.5rem;
        box-shadow: 0px 9px 0px 0px #D3D6E1;
        margin-bottom: 12px;
        position: relative;
        min-width: 286px;
        max-width: 380px;

        @media (max-width: 768px) {
            max-width: 100%;
            border-radius: 1.1rem;
        }

        div.trouble__panel-head {
            display: flex;
            justify-content: center;
            align-items: center;
            background: linear-gradient(90deg, #EBB2B8 0%, #FCE2E4 100%);
            height: 108px;
            border-radius: 0.5rem 0.5rem 0 0;
            position: relative;

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

            &::after {
                content: "";
                position: absolute;
                bottom: -18px;
                left: 50%;
                transform: translateX(-50%);
                width: 40px;
                height: 24px;
                background: #f3c9cd;
                clip-path: polygon(0 0, 86% 0, 86% 101%);
                border-radius: 1rem
            }

            & img {
                position: absolute;
                width: 42px;
                opacity: .75;

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

            img.trouble__quote-left {
                top: 1.6rem;
                left: 2.4rem;

                @media (max-width: 768px) {
                    top: 1.6rem;
                    left: 0.75rem;
                }
            }

            img.trouble__quote-right {
                bottom: 1.6rem;
                right: 2.4rem;

                @media (max-width: 768px) {
                    top: 1.6rem;
                    right: 0.75rem;
                }
            }

            p.trouble__panel-problem {
                font-size: var(--fs--md);
                font-weight: 700;
                font-variation-settings: "wght" 700;
                line-height: 1.28;
                color: #333;

                @media (max-width: 768px) {
                    font-size: 1.25rem;
                }
                @media (max-width: 374px) {
                  font-size: 1.125rem;
                }
            }
        }

        div.trouble__panel-body {
            display: grid;
            grid-template-rows: 1fr auto;
            min-height: 240px;
            flex-direction: column;
            padding: 1.4rem 12px 1.8rem;
            text-align: center;
            justify-content: center;

            @media (max-width: 768px) {
                display: flex;
                flex-direction: column;
                justify-content: flex-end;
                align-items: center;
                padding: 2rem 0.95rem 1.8rem;
                height: auto;
                min-height: auto;
            }

            h3.trouble__panel-solution {
                flex: 1;
                align-content: center;
                font-size: 1.25rem;
                font-weight: 700;
                font-variation-settings: "wght" 700;
                color: var(--phy-primary-color);
                line-height: 1.5;
                margin-bottom: 1.2rem;

                @media (max-width: 768px) {
                    font-size: 1.2rem;
                    letter-spacing: -0.09rem;
                }

                span.trouble__panel-solution-ttl {
                    font-size: var(--fs--xl);
                    font-weight: bolder;
                    font-variation-settings: "wght" 900;
                    line-height: 1.2;
                    letter-spacing: -0.09rem;
                    background: var(--clr-gdadient);
                    -webkit-background-clip: text;
                    -webkit-text-fill-color: transparent;

                    span.sub {
                        font-size: 1.3rem;
                    }

                    span.fa {
                        font-family: 'Roboto', sans-serif;
                        letter-spacing: -0.025rem;
                    }
                }
            }

            .trouble__panel-btn {
                display: flex;
                flex-direction: row;
                justify-content: center;
                align-items: center;
                padding: 12px 16px;
                width: 260px;
                background: var(--clr-gdadient);
                box-shadow: 0px 6px 0px rgba(0, 0, 0, 0.1);
                border-radius: 0px;
                color: var(--clr-white);
                font-weight: 700;
                font-variation-settings: "wght" 700;
                text-decoration: none;
                position: relative;
                margin: 0 auto;
                overflow: hidden;

                &::before {
                    content: "";
                    position: absolute;
                    inset: 0;
                    background: rgba(255, 255, 255, 0.25);
                    transform: scaleX(0);
                    transform-origin: left;
                    transition: transform 0.3s ease;
                    z-index: 0;
                }

                &:hover::before {
                    transform: scaleX(1);
                }

                @media (max-width: 768px) {
                    width: 100%;
                    padding: 10px;
                    font-size: 1.05rem;
                    font-weight: normal;
                    font-variation-settings: "wght" 400;
                }

                img.trouble__panel-btn-icon {
                    margin-left: .4rem;
                    transform: translateY(1px);
                    position: absolute;
                    top: 42%;
                    right: 15%;

                    @media (max-width: 768px) {
                        top: 42%;
                        right: 5%;
                    }
                }
            }
        }
    }

    img.trouble__character {
        position: absolute;
        bottom: 12px;
        z-index: 50;
        pointer-events: none;
        height: 238px;
    }

    img.trouble__character--man {
        left: 3%;
        transform: translateY(12px);
    }

    img.trouble__character--woman {
        right: 3%;
        transform: translateY(12px);
    }

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


/* ==========================================================
    kokaryoku / 高火力シリーズ
========================================================== */

section.kokaryoku {
    position: relative;
    background: #323232;
    color: var(--clr-white);
    overflow: hidden;

    div.kokaryoku__bg-wrapper {
        position: absolute;
        inset: 0;
        overflow: hidden;
        z-index: 1;

        width: 100%;
        height: 100%;

        img.kokaryoku__bg-pc,
        img.kokaryoku__bg-pc-circles,
        img.kokaryoku__bg-sp-top,
        img.kokaryoku__bg-sp-bottom,
        img.kokaryoku__bg-sp-circles {
            max-inline-size: none;
            max-block-size: none;
        }

        img.kokaryoku__bg-pc {
            position: absolute;
            top: -420px;
            left: 46%;
            transform: translateX(-50%);
            width: 1480px;
            height: auto;
            user-select: none;
            pointer-events: none;
            z-index: 100;

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

        img.kokaryoku__bg-pc-circles {
            position: absolute;
            top: 100px;
            left: 53%;
            transform: translateX(-50%);
            width: 1240px;
            height: auto;
            user-select: none;
            z-index: 100;

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

        img.kokaryoku__bg-sp-top,
        img.kokaryoku__bg-sp-bottom,
        img.kokaryoku__bg-sp-circles {
            display: none;

            @media (max-width: 768px) {
                display: block;
                height: auto;
                position: absolute;
            }
        }

        @media (max-width: 768px) {
            img.kokaryoku__bg-sp-top {
                width: 540px;
                top: -36vw;
                z-index: 10;
                right: calc(50% - 46vw);
            }

            img.kokaryoku__bg-sp-bottom {
                width: 560px;
                bottom: -40vw;
                z-index: 10;
                left: calc(50% - 102vw);
            }

            img.kokaryoku__bg-sp-circles {
                width: 90%;
                top: 11vw;
                z-index: 20;
                right: calc(50% - 45vw);
            }
        }
    }

    div.kokaryoku__inner {
        display: flex;
        justify-content: center;
        flex-direction: column;
        align-items: center;
        position: relative;
        z-index: 5;
        padding: 4.8rem 68px 2.5rem;

        @media (max-width: 768px) {
            padding: 6rem 1.25rem 4.5rem;
        }


        div.kokaryoku__head {
            text-align: center;
            margin-bottom: 3rem;

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

            img.kokaryoku__logo {
                width: 200px;
                margin: 0 auto;

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

            h2.kokaryoku__title {
                font-size: var(--fs--xxl);
                font-weight: 700;
                font-variation-settings: "wght" 700;
                margin-bottom: 1.2rem;
            }

            p.kokaryoku__lead {
                font-size: var(--fs--xs);
                line-height: 1.9;
                color: #e6e6e6;
                margin: 0 auto;

                @media (max-width: 768px) {
                    text-align: left;
                }
            }
        }

        article.kokaryoku__point {
            max-width: 994px;
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 3.5rem;
            margin-bottom: 3.5rem;

            @media (max-width: 768px) {
                flex-direction: column;
                text-align: left;
                gap: 1.8rem;
                margin-bottom: 2rem;
            }

            &:nth-of-type(even) {
                flex-direction: row-reverse;

                @media (max-width: 768px) {
                    flex-direction: column;
                }
            }

            div.kokaryoku__point-text {
                flex: 2;

                h3.kokaryoku__point-title {
                    font-size: var(--fs--md);
                    font-weight: normal;
                    font-variation-settings: "wght" 400;
                    margin-bottom: 0.8rem;

                    @media (max-width: 768px) {
                        font-size: 1.24rem;
                        line-height: 1.5;
                    }
                }

                p.kokaryoku__point-desc {
                    font-size: var(--fs--2xs);
                    line-height: 1.9;
                    color: #ddd;
                }
            }

            div.kokaryoku__point-img {
                flex: 1;

                img {
                    width: 322px;
                    height: auto;
                    border-radius: 12px;

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

/* ==========================================================
   aibooster / Fixstars AIBooster
========================================================== */

section.aibooster {
    background: #f2f4fa;
    padding: 7rem 0 8rem;
    color: #333;

    @media (max-width: 768px) {
        padding: 5.5rem 0 4.5rem;
    }

    div.aibooster__inner {
        margin: 0 auto;

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

    div.aibooster__head {
        max-width: 994px;
        text-align: center;
        margin: 0 auto 3.8rem;
        color: var(--clr-black);

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

        img.aibooster__logo {
            width: 148px;
            margin: 0 auto;

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

        h2.aibooster__title {
            font-family: 'Roboto', sans-serif;
            font-size: var(--fs--xxl);
            font-weight: 700;
            font-variation-settings: "wght" 700;
            margin-bottom: 1.8rem;

        }

        p.aibooster__lead {
            font-size: var(--fs--xs);
            line-height: 1.9;
            max-width: 760px;
            margin: 0 auto;

            @media (max-width: 768px) {
                text-align: left;
            }
        }
    }

    div.aibooster__center-img {
        max-width: 994px;
        margin: 3rem auto 5rem;

        @media (max-width: 768px) {
            margin: 1.8rem auto 2.5rem;
        }

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

    .aibooster__points {
        max-width: 994px;
        display: flex;
        justify-content: space-between;
        gap: 3rem;
        margin: 0 auto 5.5rem;

        @media (max-width: 768px) {
            flex-direction: column;
            gap: 2.5rem;
            margin-bottom: 4rem;
        }

        div.aibooster__point {
            flex: 1;
            position: relative;

            @media (max-width: 768px) {
                padding: 0 0 2rem;
                border-bottom: 1px solid #ddd;
            }

            &:not(:last-child)::after {
                content: "";
                position: absolute;
                right: -25px;
                top: 0;
                width: 1.5px;
                height: 100%;
                background: #ddd;

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

            h3.aibooster__point-title {
                font-size: var(--fs--md);
                font-weight: 700;
                font-variation-settings: "wght" 700;
                margin-bottom: 0.8rem;

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

            p.aibooster__point-desc {
                font-size: var(--fs--2xs);
                line-height: 1.8;
                color: #444;

                @media (max-width: 768px) {
                    font-size: var(--fs--xs);
                    line-height: 1.7;
                }
            }
        }
    }

    div.aibooster__case {
        max-width: 994px;
        position: relative;
        background: #ffecec;
        border: 2px solid var(--clr-white);
        border-radius: 0 10px 10px 10px;
        padding: 1.5rem 2.2rem;
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 2.5rem;
        margin: 0 auto;

        @media (max-width: 768px) {
            flex-direction: column;
            padding: 1.5rem 1.2rem;
            gap: 1rem;
        }

        div.aibooster__case-tab {
            position: absolute;
            top: -37px;
            left: 0;
            background: linear-gradient(89.66deg, #ED1C24 13.78%, #F06500 90.89%);
            color: var(--clr-white);
            padding: .25rem 1.3rem;
            font-size: var(--fs--xs);
            font-weight: 700;
            font-variation-settings: "wght" 700;
            border-radius: 8px 8px 0 0;

            @media (max-width: 768px) {
                left: 0;
                font-size: 1rem;
                top: -34px;
                padding: .15rem 1.3rem;
            }
        }

        div.aibooster__case-text {
            flex: 1;

            p.aibooster__case-headline {
                font-size: var(--fs--lg);
                font-weight: 700;
                font-variation-settings: "wght" 700;
                line-height: 1.45;
                background: var(--clr-gdadient);
                -webkit-background-clip: text;
                -webkit-text-fill-color: transparent;
                margin-bottom: 0.75rem;

                @media (max-width: 768px) {
                    font-size: 1.14rem;
                    line-height: 1.3;
                }
            }

            p.aibooster__case-desc {
                font-size: var(--fs--2xs);
                line-height: 1.7;
                color: #222;

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

        div.aibooster__case-img {
            width: 300px;
            flex-shrink: 0;

            & img {
                width: 100%;
                display: block;
            }

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

/* ==========================================================
    CTA / Contact Us
========================================================== */

section.cta {
    background: #323232;
    color: var(--clr-white);
    padding: 6rem 68px;
    overflow: hidden;

    div.cta__inner {
        max-width: 994px;
        margin: 0 auto;
        position: relative;
        z-index: 10;
        text-align: center;

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

        div.cta__content {
            display: flex;
            flex-direction: row;
            justify-content: center;
            align-items: flex-end;
            gap: 2.8rem;
            z-index: 20;

            @media (max-width: 768px) {
                flex-direction: column;
                gap: unset;
            }

            div.cta__content-txt {
                display: flex;
                flex-direction: column;
                align-items: flex-start;
                justify-content: flex-end;
                text-align: left;

                p.cta__lead {
                    font-size: var(--fs--2xs);
                    color: var(--clr-white);

                    @media (max-width: 768px) {
                        font-size: var(--fs--md);
                    }
                }

                h2.cta__title {
                    font-size: 3.4rem;
                    font-weight: 400;
                    font-variation-settings: "wght" 400;
                    margin-bottom: 0.25rem;
                    letter-spacing: -0.025em;

                }

                p.cta__desc {
                    font-size: var(--fs--xs);
                    line-height: 1.9;
                    max-width: 680px;
                    margin: 0 auto;
                    color: var(--clr-white);

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

            a.cta__button {
                display: inline-flex;
                height: 64px;
                width: 378px;
                align-items: center;
                justify-content: center;
                padding: 1.2rem 22px;
                font-size: var(--fs--xs);
                font-weight: 700;
                font-variation-settings: "wght" 700;
                color: var(--clr-white);
                background: linear-gradient(89.66deg, #ED1C24 13.78%, #F06500 90.89%);
                box-shadow: 0px 6px 0px rgba(0, 0, 0, 0.2);
                text-decoration: none;
                transition: opacity 0.25s ease;
                position: relative;
                overflow: hidden;

                &::before {
                    content: "";
                    position: absolute;
                    inset: 0;
                    background: rgba(255, 255, 255, 0.28);
                    transform: scaleX(0);
                    transform-origin: left;
                    transition: transform 0.3s ease;
                    z-index: 0;
                }

                &:hover::before {
                    transform: scaleX(1);
                }

                @media (max-width: 768px) {
                    width: 100%;
                    font-size: 1.18rem;
                    padding: 1.1rem;
                }

                img.cta__button-arrow {
                    width: 15px;
                    height: auto;
                    display: block;
                    position: absolute;
                    top: 37%;
                    right: 5%;
                }
            }
        }
    }

    div.cta__decor-circles {
        position: absolute;
        z-index: 150;
        width: 64px;
        aspect-ratio: 1/1;
        background: url("../images/cta_circles_pc.png") no-repeat;
        background-size: contain;

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

    div.cta__decor-curve {
        position: absolute;
        pointer-events: none;
        transform: translateX(-50%);
        width: 1100px;
        height: auto;
        user-select: none;
        aspect-ratio: 16/9;
        background-repeat: no-repeat;
        background-size: contain;
    }

    div.cta__wrapper-first,
    div.cta__wrapper-second {
        position: relative;
    }

    div.cta__wrapper-first {
        .cta__decor-circles {
            top: -50px;
            left: -80px;
        }

        .cta__decor-curve {
            background-image: url("../images/cta01_curve_pc.png");
            top: -220px;
            left: calc(50% + 660px);

            @media (max-width: 768px) {
                top: -210px;
                left: calc(50% + 180px);
                width: 720px;
                background-image: url("../images/cta_curve_sp.png") !important;
            }
        }
    }

    div.cta__wrapper-second {
        .cta__decor-circles {
            bottom: -28px;
            right: -120px;
        }

        .cta__decor-curve {
            background-image: url("../images/cta02_curve_pc.png");
            top: -220px;
            left: calc(50% + -340px);

            @media (max-width: 768px) {
                top: -210px;
                left: calc(50% + 180px);
                width: 720px;
                background-image: url("../images/cta_curve_sp.png") !important;
            }
        }
    }

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

/* ==========================================================
    subsidy / 補助金クラウド
========================================================== */

section.subsidy {
    background: #eef1f7;
    padding: 6rem 0;
    color: #111;
    position: relative;

    @media (max-width: 768px) {
        padding: 5rem 0 5.5rem;
    }

    div.subsidy__inner {
        margin: 0 auto;
        text-align: center;

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

    }

    div.subsidy__head {
        max-width: 994px;
        margin: 0 auto;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;

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

        img.subsidy__logo {
            width: 160px;

            @media (max-width: 768px) {
                width: 45vw;
                margin-bottom: 0.25rem;
            }
        }

        h2.subsidy__title {
            font-family: 'Roboto', sans-serif;
            font-size: var(--fs--xxl);
            font-weight: 700;
            font-variation-settings: "wght" 700;
            margin-bottom: 1.5rem;

        }

        p.subsidy__lead {
            font-size: var(--fs--xs);
            line-height: 1.9;
            color: #444;
            max-width: 760px;
            margin: 0 auto;

            @media (max-width: 768px) {
                text-align: left;
            }
        }
    }

    div.subsidy__contents {
        max-width: 994px;
        display: flex;
        align-items: flex-start;
        justify-content: space-between;
        gap: 2rem;
        margin: 3rem auto 0;
        position: relative;

        @media (max-width: 768px) {
            flex-direction: column;
            margin: 0 0 1rem;
            gap: 1rem;
        }

        div.subsidy__divider {
            width: 0.125rem;
            height: 284px;
            background: #dcdcdc;

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

        .subsidy__item {
            flex: 1;
            text-align: center;

            @media (max-width: 768px) {
                width: 100%;
                display: flex;
                flex-direction: column-reverse;
            }

            .subsidy__img {
                margin-bottom: 1.5rem;

                & img {
                    width: 100%;
                    max-width: 460px;
                    border-radius: 14px;
                    display: block;
                    margin: 0 auto;

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

            .subsidy__text {
                margin-top: .5rem;

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

                h3.subsidy__point-title {
                    font-size: var(--fs--md);
                    font-weight: 400;
                    font-variation-settings: "wght" 400;
                    color: #111;

                    @media (max-width: 768px) {
                        font-size: var(--fs--ml);
                        font-weight: 700;
                        font-variation-settings: "wght" 700;
                    }
                }
            }
        }
    }

    div.subsidy__note {
        max-width: 994px;
        background: var(--clr-white);
        border-radius: 12px;
        padding: 2.2rem 2rem;
        margin: 0 auto;

        @media (max-width: 768px) {
            padding: 1.7rem 1.3rem;
        }

        p.subsidy__note-title {
            font-size: var(--fs--sm);
            font-weight: 700;
            font-variation-settings: "wght" 700;
            margin-bottom: 1rem;
            color: #111;

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

        p.subsidy__note-main {
            font-size: var(--fs--lg);
            font-weight: 700;
            font-variation-settings: "wght" 700;
            background: var(--clr-gdadient);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;

            @media (max-width: 768px) {
                line-height: 1.4;
                letter-spacing: -0.05rem;
            }
        }
    }
}

/* ==========================================================
   seminar / 特別経営塾
========================================================== */

section.seminar {
    background: #f5f7fc;
    padding: 6rem 0;
    color: var(--clr-black);
    position: relative;

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

    div.seminar__inner {
        margin: 0 auto;

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

        div.seminar__content {
            max-width: 994px;
            display: flex;
            align-items: center;
            justify-content: space-between;
            margin: 0 auto;
            gap: 54px;
            letter-spacing: -0.02rem;

            @media (max-width: 768px) {
                flex-direction: column;
                gap: 8vw;
            }

            div.seminar__text {
                flex: 1;
                text-align: left;
                max-width: 600px;

                h2.seminar__title {
                    font-family: 'Roboto', sans-serif;
                    font-size: var(--fs--xxl);
                    font-weight: 700;
                    font-variation-settings: "wght" 700;
                    line-height: 1.3;
                    margin-bottom: 0.3rem;

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

                p.seminar__subtitle {
                    font-size: var(--fs--md);
                    font-weight: 700;
                    font-variation-settings: "wght" 700;
                    margin-bottom: 1.8rem;
                    letter-spacing: 0.02em;

                    @media (max-width: 768px) {
                        font-size: var(--fs--ml);
                        margin-bottom: 1.25rem;
                    }
                }

                p.seminar__lead {
                    font-size: var(--fs--xs);
                }
            }

            .seminar__image {
                flex-shrink: 0;
                width: 360px;
                max-width: 38%;

                & img {
                    width: 100%;
                    height: auto;
                    display: block;
                    border-radius: 16px;
                }

                @media (max-width: 768px) {
                    width: 100%;
                    max-width: 100%;
                    border-radius: 8px;
                }
            }

            .seminar__note {
                font-size: .75rem;
                color: #666;
                margin-top: 0.25rem;
                text-align: center;
            }
        }
    }
}


/* ==========================================================
    customer / 多くのお客様にご利用いただいております
========================================================== */

div.customer {
    padding: 85px 0 96px;
    box-sizing: border-box;
    background-color: var(--clr-white);
    overflow: hidden;

    @media (width <=768px) {
        padding: 50px 0 64px;
    }

    p.message {
        padding: 0 32px;
        box-sizing: border-box;
        text-align: center;
        font-size: 1.5rem;
        color: var(--color-black);
        font-weight: 700;
        font-variation-settings: "wght" 700;

        @media (width <=768px) {
            padding: 0 24px;
            font-size: 1rem;
        }
    }

    ul.customer-list {
        display: flex;
        width: fit-content;
        height: 56px;
        margin-top: 56px;
        overflow: hidden;
        transform: translateX(0%);
        animation: scroll-ul-left 60s linear infinite;

        @media (width <=768px) {
            width: fit-content;
            height: 38px;
            margin-top: 40px;
        }

        li {
            flex-shrink: 0;
            margin-right: 56px;
            background-color: #4a4f57;
            width: fit-content;
            text-indent: 100%;
            white-space: nowrap;
            overflow: hidden;

            @media (width <=768px) {
                margin-right: 44px;
            }
        }

        li.daikin {
            width: 171px;
            background: url("../images/customer/daikin.svg")0 0 no-repeat;
            background-size: contain;
            background-position: center;
        }

        li.astellas {
            width: 158px;
            background: url("../images/customer/astellas.svg")0 0 no-repeat;
            background-size: contain;
            background-position: center;
        }

        li.sakana {
            width: 146px;
            background: url("../images/customer/sakana.svg")0 0 no-repeat;
            background-size: contain;
            background-position: center;
        }

        li.tier {
            width: 132px;
            background: url("../images/customer/tierⅣ.svg")0 0 no-repeat;
            background-size: contain;
            background-position: center;
        }

        li.awl {
            width: 130px;
            background: url("../images/customer/awl.svg")0 0 no-repeat;
            background-size: contain;
            background-position: center;
        }

        li.preferred {
            width: 147px;
            background: url("../images/customer/preferred-networks.svg")0 0 no-repeat;
            background-size: contain;
            background-position: center;
        }

        li.fairy {
            width: 171px;
            background: url("../images/customer/fairy-devices.svg")0 0 no-repeat;
            background-size: contain;
            background-position: center;
        }

        li.aihub {
            width: 123px;
            background: url("../images/customer/aihub.svg")0 0 no-repeat;
            background-size: contain;
            background-position: center;
        }

        li.newspace {
            width: 126px;
            background: url("../images/customer/nsi.svg")0 0 no-repeat;
            background-size: contain;
            background-position: center;
        }

        li.signate {
            width: 168px;
            background: url("../images/customer/signate.svg")0 0 no-repeat;
            background-size: contain;
            background-position: center;
        }

        li.githouse {
            width: 158px;
            background: url("../images/customer/githouse.svg")0 0 no-repeat;
            background-size: contain;
            background-position: center;
        }

        li.tellus {
            width: 160px;
            background: url("../images/customer/tellus.svg")0 0 no-repeat;
            background-size: contain;
            background-position: center;
        }

        li.solafune {
            width: 154px;
            background: url("../images/customer/solafune.svg")0 0 no-repeat;
            background-size: contain;
            background-position: center;
        }

        li.fixstars {
            width: 148px;
            background: url("../images/customer/fixstars.svg")0 0 no-repeat;
            background-size: contain;
            background-position: center;
        }

        li.matsuo-institute {
            width: 182px;
            background: url("../images/matsuo-institute.png")0 0 no-repeat;
            background-size: contain;
            background-position: center;
        }
    }
}

/* ==========================================================
    related-services / 関連サービス
========================================================== */

section.related-services {
    background: #323232;
    color: var(--clr-white);
    padding: 0 68px 140px;
    overflow: hidden;

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

    div.related-services__cta {
        position: relative;
        padding: 6rem 0;

        @media (max-width: 768px) {
            padding: 6rem 0 3.2rem;
        }

        div.cta__inner {
            max-width: 994px;
            margin: 0 auto;
            position: relative;
            z-index: 10;
            text-align: center;

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

            div.cta__content {
                display: flex;
                flex-direction: row;
                justify-content: center;
                align-items: flex-end;
                gap: 2.8rem;
                z-index: 20;

                @media (max-width: 768px) {
                    flex-direction: column;
                    gap: unset;
                }

                div.cta__content-txt {
                    display: flex;
                    flex-direction: column;
                    align-items: flex-start;
                    justify-content: flex-end;
                    text-align: left;

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

                    p.cta__lead {
                        font-size: var(--fs--2xs);
                        color: var(--clr-white);

                        @media (max-width: 768px) {
                            font-size: var(--fs--md);
                        }
                    }

                    h2.cta__title {
                        font-size: 3.4rem;
                        font-weight: normal;
                        font-variation-settings: "wght" 400;
                        margin-bottom: 0.25rem;
                        letter-spacing: -0.025em;
                    }

                    p.cta__desc {
                        font-size: var(--fs--xs);
                        line-height: 1.9;
                        max-width: 680px;
                        margin: 0 auto;
                        color: var(--clr-white);

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

                a.cta__button {
                    display: inline-flex;
                    height: 64px;
                    width: 378px;
                    align-items: center;
                    justify-content: center;
                    padding: 1.2rem 22px;
                    font-size: var(--fs--xs);
                    font-weight: 700;
                    font-variation-settings: "wght" 700;
                    color: var(--clr-white);
                    background: linear-gradient(89.66deg, #ED1C24 13.78%, #F06500 90.89%);
                    box-shadow: 0px 6px 0px rgba(0, 0, 0, 0.2);
                    text-decoration: none;
                    transition: opacity 0.25s ease;
                    position: relative;
                    overflow: hidden;

                    &::before {
                        content: "";
                        position: absolute;
                        inset: 0;
                        background: rgba(255, 255, 255, 0.28);
                        transform: scaleX(0);
                        transform-origin: left;
                        transition: transform 0.3s ease;
                        z-index: 0;
                    }

                    &:hover::before {
                        transform: scaleX(1);
                    }

                    @media (max-width: 768px) {
                        width: 100%;
                        font-size: 1.18rem;
                        padding: 1.1rem;
                    }

                    img.cta__button-arrow {
                        width: 15px;
                        height: auto;
                        display: block;
                        position: absolute;
                        top: 37%;
                        right: 5%;
                    }
                }
            }

            div.cta__decor-circles {
                position: absolute;
                z-index: 150;
                width: 64px;
                aspect-ratio: 1 / 1;
                background: url(../images/cta_circles_pc.png) no-repeat;
                background-size: contain;
                top: -50px;
                left: -80px;

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

        div.cta__decor-curve {
            position: absolute;
            pointer-events: none;
            transform: translateX(-50%);
            width: 1000px;
            height: auto;
            user-select: none;
            aspect-ratio: 16 / 9;
            background-repeat: no-repeat;
            background-size: contain;
            background-image: url(../images/cta03_curve_pc.png);
            top: -100px;
            left: calc(50% + 870px);

            @media (max-width: 768px) {
                top: -120px;
                left: calc(50% + 180px);
                width: 720px;
                background-image: url("../images/cta_curve_sp.png") !important;
            }
        }
    }

    div.related-services__inner {
        max-width: 994px;
        margin: 0 auto;
        text-align: center;
        position: relative;

        h2.related-services__title {
            font-size: var(--fs--lg);
            font-weight: 700;
            font-variation-settings: "wght" 700;
            padding-top: 4rem;
            margin-bottom: 38px;
            border-top: 1px solid #4b4b4b;

            @media (max-width: 768px) {
                margin-bottom: 24px;
                text-align: left;
            }
        }

        div.related-services__list {
            display: flex;
            justify-content: space-between;
            align-items: flex-start;
            gap: 32px;
            margin-bottom: 4rem;

            @media (max-width: 768px) {
                flex-direction: column;
                gap: 32px;
                align-items: center;
            }

            a.related-services__item {
                flex: 1;
                text-align: center;


                div.related-services__item-img {
                    width: 100%;
                    margin-bottom: 18px;
                    border-radius: 8px;
                    overflow: hidden;

                    & img {
                        border-radius: 8px;
                        transition: transform .9s cubic-bezier(.19, 1, .22, 1);
                        transform-origin: center;

                        &:hover {
                            transform: scale(1.1);
                        }
                    }

                }

                p.related-services__text {
                    font-size: var(--fs--3xs);
                    color: var(--clr-white);
                    line-height: 1.65;

                    @media (max-width: 768px) {
                        font-size: var(--fs--sm);
                        text-align: left;
                    }
                }
            }
        }

        div.related-services__sub {
            border-top: 1px solid #4b4b4b;
            padding-top: 4rem;
            padding-left: 12px;
            color: var(--clr-white);
            font-size: var(--fs--3xs);

            ul {
                text-align: left;

                li {
                    padding-left: 10px;

                    &::marker {
                        content: "※";
                    }
                }
            }
        }
    }

    div.related-services__bottom {
        position: absolute;
        right: calc(50% + -108px);
        bottom: -236px;
        width: 920px;
        aspect-ratio: 16 / 9;
        background: url(../images/service_pc.png) no-repeat;
        background-size: contain;
        pointer-events: none;

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