@charset "UTF-8";
/*-- ファーストビュー --*/
#main-visual {
    background-color: var(--bg3);
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 3vw 2vw;
}

.analytics #main-visual {
    background-color: var(--bg2);
}

#main-visual .txt_box {
    width: 48%;
}

.analytics #main-visual .txt_box {
    width: 52%;
}

#main-visual .txt_box .fv_logo {
    max-height: 60px;
    height: 5vw;
    margin-bottom: 2vw;
    position: relative;
    display: inline-block;
    z-index: 1;
}

#main-visual .txt_box .fv_logo:before {
    content: "";
    display: block;
    width: 110%;
    height: 40%;
    background-color: #ff7;
    position: absolute;
    bottom: -10%;
    left: 50%;
    transform: translateX(-50%);
    z-index: -1;
}

#main-visual .txt_box .fv_logo img {
    height: 100%;
}

#main-visual .txt_box h1 {
    font-size: 3.5cqi;
    line-height: 1.3;
    font-feature-settings: "palt";
    margin-bottom: 0.3em;
    white-space: nowrap;
}

#main-visual .txt_box h1 span {
    font-size: 80%;
}

#main-visual .txt_box .h1_sub {
    position: relative;
    display: inline-block;
    color: #fff;
    line-height: 1.2;
    font-size: clamp(13px, 1.5vw, 20px);
    padding: 0.3em 0.6em 0.4em;
    letter-spacing: 0.1em;
    font-feature-settings: "palt";
    overflow: hidden;
}

#main-visual .txt_box .h1_sub::before {
    content: "";
    position: absolute;
    inset: 0;
    background: var(--gd3);
    transform: scaleX(0);
    transform-origin: left center;
    animation: h1sub-bg 1.0s ease-out forwards;
    z-index: 0;
    animation-delay: 0.5s;
}

#main-visual .txt_box .h1_sub > span {
    position: relative;
    z-index: 1;
    display: inline-block;
    clip-path: inset(0 100% 0 0);
    animation: h1sub-reveal 0.8s ease-out forwards;
    animation-delay: 0.6s;
}

@keyframes h1sub-bg {
    to {
        transform: scaleX(1);
    }
}

@keyframes h1sub-reveal {
    to {
        clip-path: inset(0 0 0 0);
        transform: translateX(0);
    }
}

#main-visual .txt_box .kome {
    font-size: 1.4rem;
    color: #777;
    margin: 1em 0;
}

#main-visual .txt_box .btn {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 15em;
    padding: 0.5em 1.2em 0.6em;
    border-radius: 1em;
    background-color: var(--accent);
    color: #fff;
    font-size: clamp(15px,1.5vw,18px);
    line-height: 1;
    transition: all 0.2s;
    position: relative;
    padding-right: 2em;
    margin-top: 1.5em;
}

#main-visual .txt_box .btn::after {
    transform: rotate(45deg);
    width: 10px;
    height: 10px;
    border-top: 1.5px solid #fff;
    border-right: 1.5px solid #fff;
    content: '';
    position: absolute;
    right: 1.5em;
    transition: all 0.2s;
}

#main-visual .txt_box .btn:hover::after {
    right: 1em;
}

#main-visual .txt_box .btn:hover {
    background-color: var(--sub);
}

#main-visual .img_box {
    width: 35%;
    position: relative;
    z-index: 1;
}

#main-visual .img_box img {
    width: 140%;
    max-width: 740px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -47%);
}

@media screen and (max-width: 767px) {
    #main-visual {
        flex-direction: column;
        padding: 8vw 5vw;
        gap: 5vw;
    }

    #main-visual .txt_box,.analytics #main-visual .txt_box {
        width: 100%;
        text-align: center;
    }

    #main-visual .txt_box .fv_logo {
        height: 10vw;
        margin-bottom: 5vw;
    }

    #main-visual .txt_box h1 {
        font-size: 6.5cqi;
        margin-bottom: 0.5em;
    }

    #main-visual .txt_box .h1_sub {
        line-height: 1.5;
        font-size: clamp(12px, 2vw, 16px);
        padding: 0.3em 2em 0.4em;
        letter-spacing: 0.2em;
    }

    #main-visual .txt_box .kome {
        font-size: 1rem;
    }

    #main-visual .txt_box .btn {
        font-size: clamp(13px, 2vw, 15px);
        margin: 1em auto 0;
    }

    #main-visual .txt_box .btn::after {
        transform: rotate(45deg);
        width: 10px;
        height: 10px;
        border-top: 1.5px solid #fff;
        border-right: 1.5px solid #fff;
        content: '';
        position: absolute;
        right: 1.5em;
        transition: all 0.2s;
    }

    #main-visual .txt_box .btn:hover::after {
        right: 1em;
    }

    #main-visual .img_box {
        width: 100%;
        aspect-ratio: 700 / 411;
    }

    #main-visual .img_box img {
        width: 100%;
        transform: translate(-50%, -50%);
    }
}

/*-- 悩み --*/
#problem-solution {
    padding: 4vw 0 0;
}

#problem {
    display: flex;
    justify-content: center;
    gap: 2vw;
}

#problem .ttl_box {
    width: 28vw;
    min-height: 19vw;
    background-image: url(../journal/img/problem_img.webp);
    background-repeat: no-repeat;
    background-size: 23vw auto, cover;
    background-position: left 0 bottom 0;
    display: flex;
    justify-content: flex-end;
    transition: all 0.2s;
}

#problem.analytics .ttl_box {
    background-image: url(../analytics/img/problem_img.webp);
}

#problem .ttl_box p {
    font-size: 2.4vw;
    line-height: 1.3;
    font-feature-settings: "palt";
    transition: all 0.2s;
}

#problem .ttl_box p span {
    font-size: 130%;
}

#problem .list_box {
    width: 60vw;
}

#problem .list_box ul {
    border-top: 1px solid var(--main);
    border-bottom: 1px solid var(--main);
    font-size: clamp(14px, 1.3vw, 18px);
    padding: 2em 1em 2em 0;
    text-align: justify;
}

#problem .list_box ul li {
    line-height: 1.3;
    padding-left: calc(1.5em + .5em);
    background-image: url(../img/problem_check.svg);
    background-repeat: no-repeat;
    background-size: 1.5em 1.5em;
    background-position: 0 0em;
}

#problem .list_box ul li span {
    color: var(--main);
    font-size: 110%;
}

#problem .list_box ul li:not(:last-child) {
    border-bottom: 1px dotted #ddd;
    padding-bottom: 0.7em;
    margin-bottom: 0.7em;
}

@media screen and (max-width: 999px) {
    #problem .ttl_box {
        background-size: 23vw auto, cover;
    }

    #problem .ttl_box p {
        font-size: 3vw;
    }
}

@media screen and (max-width: 767px) {
    #problem-solution {
        padding: 8vw 0 0;
    }

    #problem {
        flex-wrap: wrap;
        gap: 5vw;
        padding: 0 5vw 5vw;
    }

    #problem .ttl_box {
        width: 100%;
        min-height: 50vw;
        background-size: auto 100%, cover;
    }

    #problem .ttl_box p {
        font-size: 6vw;
    }

    #problem .list_box {
        width: 100%;
    }

    #problem .list_box ul {
        font-size: clamp(13px, 2vw, 16px);
        padding: 1em 0.5em 1em 0;
    }

    #problem .list_box ul li {
        line-height: 1.3;
        padding-left: calc(1.5em + .5em);
        background-image: url(../img/problem_check.svg);
        background-repeat: no-repeat;
        background-size: 1.5em 1.5em;
        background-position: 0 0em;
    }
}

/*-- 解決 --*/
#solution {
    margin-top: 2vw;
    padding: 5vw 0;
    position: relative;
    background: var(--gd1);
    overflow: hidden;
}

.analytics #solution {
    background: var(--gd4);
}

#solution:before {
    content: "";
    display: block;
    background: #ffffff;
    height: calc(tan(60deg) * 30px / 2);
    width: 40px;
    clip-path: polygon(0 0, 100% 0, 50% 100%);
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    z-index: 0;
}

#solution:after {
    content: "";
    display: block;
    position: absolute;
    top: -1px;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    height: 2px;
    background-color: white;
    z-index: 0;
}

#solution canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    mix-blend-mode: screen; 
    pointer-events: none;
    z-index: -9999;
}

#solution h2 {
    font-size: clamp(15px, 2.2vw, 24px);
    color: white;
    text-align: center;
    letter-spacing: 0.1em;
    margin-bottom: 3vw;
}

.solution_list {
    display: flex;
    justify-content: center;
    gap: 2vw;
}

.solution_list li {
    width: 17vw;
    background-color: white;
    text-align: center;
}

.solution_list li p:nth-child(1) {
    font-size: clamp(12px, 1.5vw, 14px);
    color: var(--sub);
    padding: 1em 1em 0.5em;
    position: relative;
    line-height: 1;
    letter-spacing: 0.1em;
}

.solution_list li p:nth-child(1):after {
    content: "";
    display: block;
    width: 10em;
    height: 1px;
    background-color: var(--sub);
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
}

.solution_list li p:nth-child(2) {
    font-size: clamp(14px, 1.5vw, 24px);
    line-height: 1.2;
    padding: 1em 0.5em;
    letter-spacing: 0.1em;
    min-height: 4.5em;
    display: flex;
    justify-content: center;
    align-items: center;
}

.analytics .solution_list li p:nth-child(2) {
    font-size: clamp(13px, 1.4vw, 20px);
    letter-spacing: 0em;
}

.solution_list li p:nth-child(3) {
    font-size: clamp(13px, 1.5vw, 15px);
    background-color: var(--sub);
    color: white;
    line-height: 1;
    padding: 1em 0.5em;
    letter-spacing: 0.05em;
    font-feature-settings: "palt";
}

.analytics .solution_list li p:nth-child(3) {
    background-color: var(--dark);
}

@media screen and (max-width: 1250px) {
    .solution_list {
        flex-wrap: wrap;
        gap: 2vw;
    }

    .solution_list li {
        width: 17vw;
        background-color: white;
        text-align: center;
        display: flex;
        flex-direction: column;
    }

    .solution_list li p:nth-child(1) {
        font-size: 1.1cqi;
        color: var(--sub);
        padding: 1em 1em 0.5em;
        position: relative;
        line-height: 1;
        letter-spacing: 0.1em;
    }

    .solution_list li p:nth-child(1):after {
        content: "";
        display: block;
        width: 10em;
        height: 1px;
        background-color: var(--sub);
        position: absolute;
        bottom: 0;
        left: 50%;
        transform: translateX(-50%);
    }

    .solution_list li p:nth-child(2) {
        font-size: 1.6cqi;
        line-height: 1.2;
        padding: 1em 0.5em;
        letter-spacing: 0.1em;
        min-height: 4.5em;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .solution_list li p:nth-child(3) {
        font-size: 1.2cqi;
        background-color: var(--sub);
        color: white;
        line-height: 1;
        padding: 1em 0.5em;
        letter-spacing: 0.05em;
        margin-top: auto;
    }
}

@media screen and (max-width: 767px) {
    #solution {
        padding: 10vw 5vw;
        position: relative;
        background: var(--gd1);
        overflow: hidden;
    }

    #solution:before {
        height: 20px;
        width: 30px;
    }

    #solution h2 {
        font-size: clamp(14px, 2.2vw, 20px);
        margin-bottom: 5vw;
    }

    .solution_list {
        flex-wrap: wrap;
        justify-content: flex-start;
        gap: 5vw 4%;
    }

    .solution_list li {
        width: 48%;
    }

    .solution_list li p:nth-child(1) {
        font-size: 2.5cqi;
    }

    .solution_list li p:nth-child(2) {
        font-size: 3.8cqi;
        line-height: 1.4;
        min-height: 5em;
    }
    
    .solution_list li p:nth-child(3) {
        font-size: 3cqi;
    }
}

/*===========================================
       悩み　-　解決
===========================================*/
#flow {
    background-color: var(--bg3);
}

.flow_list > li {
    max-width: 1100px;
    margin: 0 auto;
    background-color: white;
    border: 2px solid #ccc;
    font-size: clamp(14px,1.5vw,18px);
    padding: 2em;
    position: relative;
    z-index: 1;
}

.flow_list > li:not(:last-child) {
    margin-bottom: 5vw;
}

.flow_list > li:not(:last-child):after {
    content: "";
    display: block;
    position: absolute;
    bottom: calc(-5vw - 2px);
    left: 50%;
    transform: translateX(-50%);
    width: 10px;
    height: calc(5vw + 2px);
    background-color: #ccc;
    z-index: -1;
}

.flow_list > li .flow_no {
    text-align: center;
    line-height: 1;
    color: var(--sub);
    font-size: 120%;
    margin-bottom: 0.5em;
}

.flow_list > li h3 {
    font-size: 150%;
    text-align: center;
    font-feature-settings: "palt";
    letter-spacing: 0.1em;
    line-height: 1.5;
    margin-bottom: 1em;
}

.flow_list > li .h3_sub {
    font-size: 90%;
    margin-bottom: 2em;
}

.flow_flex {
    display: flex;
    gap: 4%;
    justify-content: center;
}

.flow_flex .img_box {
    width: 48%;
}

.flow_flex .img_box img {
    width: 100%;
}

@media screen and (max-width: 767px) {
    .flow_list > li {
        border: 1px solid #ccc;
        font-size: clamp(12px, 2.2vw, 15px);
        padding: 2em 1em;
    }

    .flow_list > li:not(:last-child) {
        margin-bottom: 8vw;
    }

    .flow_list > li:not(:last-child):after {
        bottom: calc(-8vw - 1px);
        width: 7px;
        height: calc(8vw + 1px);
    }

    .flow_list > li h3 {
        font-size: 140%;
    }

    .flow_flex {
        flex-wrap: wrap;
        gap: 3vw;
    }

    .flow_flex .img_box {
        width: 100%;
        text-align: center;
    }

    .flow_flex .img_box img {
        width: 80%;
    }
}

/*===========================================
       ポイント
===========================================*/
.point_wrap {
    max-width: 1100px;
    margin: 0 auto;
}

.point_wrap dl {
    display: flex;
    font-size: clamp(14px, 1.5vw, 18px);
    gap: 1em;
}

.point_wrap dl:not(:last-of-type) {
    margin-bottom: 5vw;
}

.point_wrap dl dt {
    width: 4em;
    height: 4em;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    line-height: 1;
    background-color: white;
    border-right: 3px solid #333;
    border-bottom: 3px solid #333;
}

.point_wrap dl dt span:nth-child(1) {
    font-size: 80%;
}

.point_wrap dl dt span:nth-child(2) {
    font-size: 200%;
}

.point_wrap dl dd {
    flex: 1;
}

.point_wrap dl dd h3 {
    font-size: 120%;
    line-height: 1;
    padding: 1.15em 0;
}

.point_wrap dl dd h3 span {
    font-size: 80%;
    color: #777;
}

.p_content {
    margin-top: 1em;
    border-left: 1px solid #777;
    padding: 0.5em 0 0.5em 1em;
}

.arrow_list li {
    line-height: 1.5;
    font-feature-settings: "palt";
    text-indent: -1.5em;
    padding-left: 1.5em;
}

.arrow_list li:before {
    content: "\2192";
    margin-right: 0.5em;
    color: var(--accent);
}

.arrow_list li:not(:last-child) {
    margin-bottom: 0.5em;
}

.arrow_list li span {
    font-size: 80%;
    color: #777;
}

.p_content .img_box {
    max-width: 800px;
}

.p_content .img_box img {
    margin-top: 2em;
    width: 100%;
}

.analytics .p_content .img_box img {
    margin-top: 0em;
}

@media screen and (max-width: 767px) {
    .point_wrap dl {
        font-size: clamp(13px, 2vw, 15px);
    }

    .point_wrap dl:not(:last-of-type) {
        margin-bottom: 8vw;
    }

    .point_wrap dl dt {
        width: 3em;
        height: 3em;
        border-right: 2px solid #333;
        border-bottom: 2px solid #333;
    }

    .point_wrap dl dt span:nth-child(1) {
        font-size: 70%;
    }

    .point_wrap dl dt span:nth-child(2) {
        font-size: 150%;
    }

    .point_wrap dl dd h3 {
        font-size: 110%;
        line-height: 1.5;
        padding: 0.65em 0;
    }
}

/*===========================================
       スキーム
===========================================*/
.img_wrap {
    text-align: center;
    max-width: 1100px;
    margin: 0 auto;
    box-shadow: 5px 5px 5px rgba(0,0,0,0.1);
}

.img_wrap img {
    width: 100%;
}

/*===========================================
       CTA
===========================================*/
.cta {
    background-color: var(--accent);
    padding: 2vw;
}

.cta_wrap {
    display: flex;
    justify-content: center;
    gap: 2vw;
    align-items: stretch;
    align-items: center;
}

.cta_wrap .txt_box {
    display: flex;
    flex-direction: column;
    font-size: clamp(14px,1.5vw,18px);
    gap: 0.5em;
    line-height: 1.5;
    font-feature-settings: "palt";
}

.cta_wrap .txt_box .ttl {
    font-size: 200%;
    color: white;
    letter-spacing: 0.1em;
}

.cta_wrap .txt_box .btn {
    margin: 1.5em 0 1em;
}

.cta_wrap .txt_box .btn a {
    color: var(--accent);
    line-height: 1;
    padding: 0.5em 4em 0.7em 3em;
    border-radius: 1.5em;
    position: relative;
    transition: all 0.2s;
    background-color: white;
}

.cta_wrap .txt_box .btn a:hover {
    background-color: var(--main);
    color: white;
}

.cta_wrap .txt_box .btn a::after {
    transform: rotate(45deg);
    width: 0.5em;
    height: 0.5em;
    border-top: 2px solid var(--accent);
    border-right: 2px solid var(--accent);
    content: '';
    position: absolute;
    top: calc(50% - 0.3em);
    right: 1em;
    transition: all 0.2s;
}

.cta_wrap .txt_box .btn a:hover::after {
    right: 0.5em;
    border-top: 2px solid white;
    border-right: 2px solid white;
}

.cta_wrap .img_box {
    flex: 0 0 20%;
    display: flex;
    align-items: center;
    max-height: 200px;
}

.cta_wrap .img_box img {
    width: 100%;
    height: 100%;
}

@media all and (max-width: 767px) {
    .cta {
        padding: 5vw;
    }

    .cta_wrap {
        display: flex;
        justify-content: center;
        gap: 2vw;
        align-items: stretch;
        align-items: center;
    }

    .cta_wrap .txt_box {
        font-size: clamp(12px, 2vw, 15px);
        gap: 0.5em;
        line-height: 1.2;
    }

    .cta_wrap .txt_box .ttl {
        font-size: 150%;
    }

    .cta_wrap .txt_box .btn {
        margin: 1.2em 0 1em;
    }

    .cta_wrap .txt_box .btn a {
        padding: 0.3em 4em 0.5em 3em;
    }

    .cta_wrap .img_box {
        flex: 0 0 30%;
        max-height: 300px;
    }
}