@charset "UTF-8";
#main-visual {
    height: 34vw;
    background-color: var(--bg);
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

#main-visual .txt_box {
    width: 45%;
    display: flex;
    flex-direction: column;
    z-index: 1;
    gap: 2vw;
    margin-bottom: 2vw;
}

#main-visual .txt_box h1 {
    font-size: 3.5cqi;
    font-feature-settings: "palt";
    white-space: nowrap;
    letter-spacing: 0.05em;
    line-height: 1.3;
}

#main-visual .txt_box h1 span {
    font-size: 80%;
}

#main-visual .txt_box .service_box {
    display: flex;
}

#main-visual .txt_box .service_box a {
    margin: 0 1.5vw 0;
    padding-bottom: 0.5em;
}

#main-visual .txt_box .service_box img {
    height: 3.9vw;
}

#main-visual .txt_box .service_box .logo_wrap {
    position: relative;
    z-index: 1;
}

#main-visual .txt_box .service_box .logo_wrap:nth-child(1):before {
    content: "";
    display: block;
    height: 100%;
    width: 1px;
    background-color: #777;
    position: absolute;
    right: -1.5vw;
    top: 0;
    pointer-events: none;
}

#main-visual .txt_box .service_box .logo_wrap:after {
    content: "";
    display: block;
    background-color: #ff7;
    position: absolute;
    bottom: 0;
    left: -0.8vw;
    height: 40%;
    width: calc(100% + 1.6vw);
    z-index: -1;
    transition: all 0.2s;
}

#main-visual .txt_box .service_box .logo_wrap:hover:after {
    background-color: #ffb659;
}

#main-visual .txt_box .h1_sub {
    font-size: 1.4cqi;
    letter-spacing: 0.1em;
    line-height: 1.5;
    margin-bottom: 1em;
}

#main-visual .txt_box .btn a {
    font-size: clamp(14px,1.5vw,20px);
    background-color: var(--accent);
    color: white;
    line-height: 1;
    padding: 0.5em 4em 0.7em 3em;
    border-radius: 1.5em;
    position: relative;
    transition: all 0.2s;
}

#main-visual .txt_box .btn a:hover {
    background-color: var(--main);
}

#main-visual .txt_box .btn a::after {
    transform: rotate(45deg);
    width: 0.5em;
    height: 0.5em;
    border-top: 2px solid #fff;
    border-right: 2px solid #fff;
    content: '';
    position: absolute;
    top: calc(50% - 0.25em);
    right: 1em;
    transition: all 0.2s;
}

#main-visual .txt_box .btn a:hover::after {
    right: 0.5em;
}

#main-visual .img_box {
    width: 40%;
    position: relative;
}

#main-visual .img_box img {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 180%;
    z-index: 0;
}

@media screen and (max-width: 767px) {
    #main-visual {
        height: auto;
        flex-direction: column;
        padding: 5vw;
    }

    #main-visual .txt_box {
        width: 100%;
        gap: 3vw;
        margin-bottom: 6vw;
    }

    #main-visual .txt_box h1 {
        font-size: 6cqi;
        letter-spacing: 0.05em;
        line-height: 1.3;
        text-align: center;
    }

    #main-visual .txt_box .service_box {
        justify-content: center;
    }

    #main-visual .txt_box .service_box img {
        height: 8vw;
        padding: 0 3vw 0.5vw;
    }

    #main-visual .txt_box .service_box .logo_wrap:after {
        left: 3vw;
        width: calc(100% - 6vw);
    }

    #main-visual .txt_box .h1_sub {
        font-size: 3cqi;
        text-align: center;
    }
    
    #main-visual .txt_box .btn {
        text-align: center;
    }

    #main-visual .txt_box .btn a {
        font-size: clamp(12px, 2.2vw, 16px);
    }

    #main-visual .img_box {
        width: 100%;
        height: 50vw;
    }

    #main-visual .img_box img {
        top: 45%;
        width: 150%;
    }
}

#overview {
    background-image: url(../img/overview_bg.webp);
    padding: 4vw 2vw;
}

#overview p {
    text-align: center;
    color: white;
    line-height: 2.2;
    letter-spacing: 0.1em;
    font-size: clamp(14px,1.5vw,18px);
}

@media screen and (max-width: 767px) {
    #overview {
        background-image: url(../img/overview_bg_sp.webp);
        padding: 8vw 10vw;
    }

    #overview p {
        text-align: justify;
        line-height: 2;
        letter-spacing: 0.05em;
        font-size: clamp(12px, 2vw, 16px);
    }
}

/*===========================================
       生成AIオプション
===========================================*/
.option_link {
    margin-top: 6vw;
    display: flex;
    justify-content: center;
    gap: 5%;
}

.option_link li {
    width: 40%;
    min-width: 330px;
    border: 1px solid #666;
    font-size: clamp(13px,1.5vw,16px);
    padding: 2.5em 0.5em 1.5em;
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-direction: column;
}

.option_link li img {
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    height: 40px;
    background-color: white;
    padding: 0 1em;
}

.option_link li p {
    text-align: center;
    line-height: 1.7;
}

.option_link li a {
    margin-top: 1em;
    display: inline-block;
    background-color: var(--main);
    color: white;
    line-height: 1;
    padding: 0.5em 4em 0.7em 3em;
    border-radius: 1.5em;
    position: relative;
    transition: all 0.2s;
}

.option_link li:nth-child(2) a {
    background-color: var(--sub);
}

.option_link li a:hover {
    background-color: var(--accent);
}

.option_link li a::after {
    transform: rotate(45deg);
    width: 0.5em;
    height: 0.5em;
    border-top: 2px solid #fff;
    border-right: 2px solid #fff;
    content: '';
    position: absolute;
    top: calc(50% - 0.25em);
    right: 1em;
    transition: all 0.2s;
}

.option_link li a:hover::after {
    right: 0.5em;
}

@media screen and (max-width: 767px) {
    .option_link {
        margin-top: 8vw;
        flex-direction: column;
        align-items: center;
        gap: 8vw;
    }

    .option_link li {
        width: 100%;
        font-size: clamp(12px, 2vw, 15px);
    }

    .option_link li img {
        top: -15px;
        height: 30px;
    }
}

/*===========================================
       フロー
===========================================*/
.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_flex {
    display: flex;
    gap: 2%;
}

.flow_flex .img_box {
    width: 48%;
}

.flow_flex .img_box img {
    width: 100%;
}

.flow_flex .txt_box {
    flex: 1;
}

.flow_flex .txt_box .dot_list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5em;
    line-height: 1.5;
}

.flow_flex .txt_box .dot_list li {
    min-width: calc(50% - 0.25em);
    text-indent: -1.2em;
    padding-left: 1.2em;
    font-feature-settings: "palt";
}

.flow_flex .txt_box .dot_list li:before {
    content: "●";
    margin-right: 0.2em;
    color: var(--sub);
}

.flow_flex .txt_box .note {
    margin-top: 1em;
    line-height: 1.5;
    background-color: var(--bg2);
    padding: 1em;
}

@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%;
    }

    .flow_flex .txt_box {
        flex: 1;
    }

    .flow_flex .txt_box .dot_list {
        display: flex;
        flex-wrap: wrap;
        gap: 0.5em;
        line-height: 1.5;
    }

    .flow_flex .txt_box .dot_list li {
        min-width: calc(50% - 0.25em);
        text-indent: -1.2em;
        padding-left: 1.2em;
    }

    .flow_flex .txt_box .dot_list li:before {
        content: "●";
        margin-right: 0.2em;
        color: var(--sub);
    }

    .flow_flex .txt_box .note {
        margin-top: 1em;
        line-height: 1.5;
        background-color: var(--bg2);
        padding: 1em;
    }
}

/*===========================================
       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 .sub {
    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 25%;
    display: flex;
    align-items: center;
    max-height: 240px;
}

.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;
    }
}