@charset "utf-8";
body{
    background: url(../images/bg-line-top.png);
    background-color: rgba(255, 255, 255, 0.6);
    background-blend-mode: lighten;
    background-repeat: no-repeat;
    background-size: 100%;
    background-position: top center;
}

img{
    width: 100%;
}

.pc-view{
    display: block;
}

.smp-view{
    display: none;
}

span.red{
    color: #ff4859;
}

span.blue{
    color: #1f77c5;
}

span.bold{
    font-weight: bold;
}

section {
    padding: 120px 0 80px;
    box-sizing: border-box;
}

section:nth-of-type(even){
    background: #F8F9FA;
}

p.fv-catch {
    padding: 0 40px 40px;
    font-size: 32px;
    font-weight: bold;
}

p.fv-catch span {
    color: #1F77C5;
}

.fv-wrap {
    display: flex;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    align-items: center;
}

.fv-txt {
    width: 50%;
    margin: 0 0 40px 0;
}

.fv-txt h1 {
    text-align: left;
    font-size: 48px;
    font-weight: 600;
}

.fv-txt h1 span{
    color: #1F77C5;
    display: block;
}

.fv-txt h1 + p{
    text-align: left;
    padding: 24px 0 40px 0;
    font-size: 18px;
}

figure.fv-autholity {
    margin: 32px 0 0 0;
    max-width: 520px;
}

.fv-img {
    width: 50%;
}

.fv-cta a {
    background: #1F77C5;
    font-size: 24px;
    color: #fff;
    line-height: 1;
    padding: 24px 0;
    border-radius: 50px;
    display: block;
    max-width: 520px;
    box-sizing: border-box;
}

.contents-wrap {
    max-width: 1200px;
    margin: 0 auto;
}

section h2{
    text-align: center;
    font-size: 48px;
    font-weight: bold;
    padding: 24px 0 48px 0;
    line-height: 1.6;
}

section h2 + p {
    font-size: 18px;
    font-weight: 500;
    padding: 0 0 60px 0;
}

h3.content-ttl-sub {
    font-size: 36px;
    font-weight: 600;
}

p.content-caption {
    font-size: 26px;
    line-height: 2.2;
    text-align: center;
}

.image-area {
    padding: 40px;
    width: 100%;
    max-width: 1200px;
    box-sizing: border-box;
    position: relative;
    background: #fff;
    margin: 40px auto 80px;
    border-radius: 16px;
}

.image-area img {
    max-width: 1024px;
    margin: 0 auto;
}

.contents-3clmn {
    display: flex;
    justify-content: space-between;
    padding: 0 0 80px;
}

.contents-3clmn .box{
    width: 30%;
}

.box img {
    overflow: hidden;
    border-radius: 24px;
    background: #fff;
}

.contents-3clmn .box h3.box-ttl{
    font-size: 24px;
    font-weight: 600;
    padding: 16px 0;
}

.contents-3clmn .box p.box-text{
    font-size: 16px;
    line-height: 1.8;
    text-align: left;
}

section.worries .contents-3clmn .box img{
    box-shadow: 0px 5px 15px 0px rgba(0,0,0,0.15);
}

.apeal-line {
    background: #1f77c5;
    color: #fff;
    font-size: 40px;
    font-weight: 600;
    line-height: 1;
    padding: 56px 0 40px;
    position: relative;
}

.apeal-line:before{
    content: "";
    position: absolute;
    width: 0px;
    height: 0px;
    border-style: solid;
    border-width: 24px 32px 0 32px;
    border-color: #F8F9FA transparent transparent transparent;
    transform: rotate(0deg);
    top: 0;
    left: 50%;
    transform: translateX(-50%);
}

section.automation{
    background: url(../images/bg-line3.png);
    background-color: rgba(255, 255, 255, 0.9);
    background-blend-mode: lighten;
    background-position: bottom left;
    background-repeat: no-repeat;
    background-size: 100%;
}

.automation-block {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.automation-mov-wrap {
    width: 60%;
    overflow: hidden;
    box-sizing: border-box;
    padding: 16px;
}

.automation-mov {
    width: 100%;
    aspect-ratio: 2 / 1.3;
    position: relative;
    box-sizing: border-box;
    padding: 24px;
    background: #f7f7f7;
    border-radius: 24px;
    box-shadow: 0px 5px 15px 0px rgba(0,0,0,0.15);
}

.automation-mov-box video {
    position: absolute;
    top: 70px;
    left: 50%;
    transform: translateX(-50%);
    width: 72%;
}

/* ...既存の.automation-mov-box... */
.automation-mov-box {
    position: absolute;
    top: 4%;
    left: 2%;
    width: 96%;
    transition: transform 0.5s cubic-bezier(.77,0,.18,1), opacity 0.5s;
    opacity: 0;
    pointer-events: none;
}
.automation-mov-box.active {
    transform: translateX(0);
    opacity: 1;
    pointer-events: auto;
    z-index: 2;
}
.automation-mov-box.to-left {
    transform: translateX(-100%);
    opacity: 0;
    z-index: 1;
}
.automation-mov-box.to-right {
    transform: translateX(100%);
    opacity: 0;
    z-index: 1;
}

.automation-txt {
    width: 40%;
    display: flex;
    flex-wrap: wrap;
    gap: 32px;
    box-sizing: border-box;
    padding: 32px;
}

.automation-txt dl{
    width: 100%;
    text-align: left;
}

.automation-txt dl dt {
    font-size: 22px;
    font-weight: 600;
    padding: 4px 0 4px 8px;
    line-height: 1;
    border-left: 8px solid #1f77c5;
    margin: 0 0 8px 0;
}

.automation-txt dl dd{
    font-size: 16px;
    line-height: 1.8;
}

.mov-switch {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 32px;
    padding: 16px;
}

.mov-switch span{
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
}

.toggle-button-1 {
    display: inline-block;
    position: relative;
    width: 87px;
    height: 40px;
    border-radius: 50px;
    background-color: #dddddd;
    cursor: pointer;
    transition: background-color .4s;
}

.toggle-button-1:has(:checked) {
    background-color: #4bd865;
}

.toggle-button-1::after {
    position: absolute;
    top: 3px;
    left: 3px;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    box-shadow: 0 0 5px rgb(0 0 0 / 20%);
    background-color: #fff;
    content: '';
    transition: left .4s;
}

.toggle-button-1:has(:checked)::after {
    left: 50px;
}

.toggle-button-1 input {
    display: none;
}


.easy-3steps .contents-3clmn .box {
    position: relative;
    background: #fff;
    box-sizing: border-box;
    padding: 16px;
    border-radius: 16px;
    box-shadow: 0px 5px 15px 0px rgba(0,0,0,0.15);
}

.easy-3steps .contents-3clmn .box::before {
    content: counter(box-counter, decimal-leading-zero); /* ナンバーを01, 02, 03形式に */
    counter-increment: box-counter;
    color: #007bff;
    font-size: 56px;
    font-weight: bold;
    width: 100%;
    height: auto;
    line-height: 1;
    text-align: center;
    padding: 0 0 24px 0;
    display: block;
}

.easy-3steps .contents-3clmn .box::after {
    content: "";
    display: block;
    background: #007bff;
    width: 10%;
    height: 5px;
    position: absolute;
    top: 80px;
    left: 50%;
    transform: translate(-50%, 0);
}

.easy-3steps .contents-3clmn .box img{
    width: 35%;
    box-sizing: border-box;
    padding: 8px 16px;
}


/* カウンターの初期化 */
.easy-3steps .contents-3clmn {
    counter-reset: box-counter;
}

.easy-3steps .contents-3clmn .box p.box-text {
    text-align: center;
}


/****** case ******/
section.case-area{
    background: url(../images/bg-line3.png);
    background-color: rgba(255, 255, 255, 0.9);
    background-blend-mode: lighten;
    background-position: bottom left;
    background-repeat: no-repeat;
    background-size: 100%;
}

.casestudy-slide{
    padding: 0 5% 5%;
    margin: 0 0 5% 0;
    position: relative;
}

.casestudy-slide .swiper-slide{
    transition: all 0.2s ease-out;
    box-sizing: border-box;
    padding: 16px;
}

.casestudy-slide .swiper-slide:hover{
    scale: 1.05;
    transition: all 0.2s ease-out;
    background: #fff;
    border-radius: 24px;
    box-shadow: 0px 2px 5px 5px rgba(0,0,0,0.1);
}

.casestudy-slide .swiper-slide figure{
    overflow: hidden;
    border: 4px solid #ededed;
    border-radius: 16px;
    box-sizing: border-box;
}

.casestudy-slide .swiper-slide figure img{
    width: 100%;
}

.casestudy-slide .swiper-slide p.genre{
    width: fit-content;
    background: #5CB7CC;
    color: #fff;
    margin: 16px 0;
    font-size: 0.9rem;
    line-height: 1;
    padding: 8px 16px;
    border-radius: 8px;
}

.casestudy-slide .swiper-slide h3.case-name{
    padding: 0 0 16px 0;
    font-size: 1.5rem;
}

.casestudy-slide .swiper-slide p.case-caption{
    text-align: left;
    min-height: 10rem;
}

.cta-area.yellow-cta a{
    background: #FABA24;
    margin: 0 auto;
    width: 60%;
    max-width: 420px;
    padding: 24px;
    display: block;
}

/****** case ******/


/*料金*/
.fee-box {
    width: 90%;
    margin: 0 auto;
    max-width: 640px;
    border-radius: 16px;
    box-shadow: 0px 3px 15px 0px rgba(0, 0, 0, 0.15);
    box-sizing: border-box;
    padding: 24px;
    background: #fff;
}

.fee-box h3 {
    font-size: 32px;
    font-weight: 600;
    line-height: 1;
    padding: 0 0 24px 0;
    border-bottom: 1px solid #c9c9c9;
}

p.reccommend-mail-fee {
    line-height: 1;
    padding: 40px 0;
    font-size: 24px;
}

p.reccommend-mail-fee span{
    font-size: 180%;
    font-weight: 600;
}

.fee-box ul{
    width: 55%;
    margin: 0 auto 32px;
}

.fee-box ul li{
    text-align: left;
    font-size: 18px;
    font-weight: 600;
    line-height: 1;
}

.fee-box ul li + li{
    padding: 24px 0 0 0;
}

.fee-box ul li span {
    color: #fff;
    background: #007bff;
    border-radius: 4px;
    padding: 0px 6px;
    margin: 0 8px 0 0;
    font-size: 110%;
}

.cta-area {
    padding: 24px 0;
}

.cta-area a{
    margin: 0 auto;
    background: #1F77C5;
    font-size: 24px;
    color: #fff;
    line-height: 1;
    padding: 24px 0;
    border-radius: 50px;
    display: block;
    max-width: 520px;
    box-sizing: border-box;
}

/*比較*/
section.comparison-area{
    background: url(../images/bg-line4.png);
    background-color: rgba(255, 255, 255, 0.9);
    background-blend-mode: lighten;
    background-position: top left;
    background-repeat: no-repeat;
    background-size: 100%;
}
.comparison-box{
    box-sizing: border-box;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0px 5px 15px 0px #00000020;
    width: 80%;
    max-width: 960px;
    margin: 0 auto;
}

.comparison-box table {
    width: 100%;
    border-collapse: collapse;
    border-radius: 8px;
    overflow: hidden;
}

.comparison-box table thead {
    background: #f5f5f5;
    border-bottom: 1px solid #d6d6d6;
}

.comparison-box table tbody tr{
    border-bottom: 1px solid #d6d6d6;
}

.comparison-box table tbody tr:last-child {
    border-bottom: none;
}

.comparison-box table tr th {
    font-weight: 600;
    padding: 16px 8px;
    text-align: center;
    font-size: 16px;
}

.comparison-box table tbody tr td {
    line-height: 1;
    padding: 16px 32px;
    width: 33.333%;
}

.comparison-box table tbody tr th + td{
    border-left: 1px solid #d6d6d6;
    border-right: 1px solid #d6d6d6;
}

.comparison-box table tbody tr td:last-child{
    font-weight: 600;
}

.comparison-box table tbody tr span{
    font-size: 150%;
    padding: 0 8px 0 0 ;
}

.comparison-box table tbody tr th + td span{
    color: #FF5757;
}

.comparison-box table tbody tr td + td span{
    color: #007bff;
}

/**faq**/
.faq{
    background: #e5f4ff;
    background: linear-gradient(180deg, #cfeaff, #86cbf5);
}

.faq-wrap {
    width: 80%;
    max-width: 960px;
    margin: 0 auto;
    background: #fff;
    box-sizing: border-box;
    padding: 16px 24px;
    border-radius: 16px;
}

.faq-wrap dl {
    border-bottom: 1px solid #e0e0e0;
    margin-bottom: 0;
    padding: 16px 0;
    text-align: left;
}

.faq-wrap dl:last-child {
    border-bottom: none;
}

.faq-wrap dt {
    cursor: pointer;
    font-weight: bold;
    font-size: 18px;
    position: relative;
    padding-right: 32px;
    transition: color 0.2s;
}

.faq-wrap dt::after {
    content: "＋";
    position: absolute;
    right: 0;
    top: 0;
    font-size: 20px;
    color: #1f77c5;
    transition: transform 0.2s;
}

.faq-wrap dl.open dt::after {
    content: "－";
}

.faq-wrap dd {
    display: none;
    padding: 12px 0 0 0;
    font-size: 16px;
    color: #333;
    line-height: 1.7;
    transition: all 0.3s ease;
    padding: 16px;
    border-radius: 16px;
}

.faq-wrap dl.open dd {
    display: block;
}

span.underline {
    position: relative;
}

span.underline:after {
    content: "";
    width: 100%;
    aspect-ratio: 100 / 2;
    background: #1f77c5;
    display: block;
    position: absolute;
    bottom: -8px;
    left: 0;
}


@media screen and (max-width: 1280px){
    .fv-wrap {
        padding: 0 5%;
    }
    .fv-txt h1 {
        font-size: 42px;
    }
    .fv-txt h1 + p {
        padding: 16px 0 32px 0;
        font-size: 16px;
    }
    .fv-img {
        width: 50%;
    }
    .contents-wrap {
        padding: 0 40px;
    }
    section h2 {
        font-size: 40px;
    }
}

@media screen and (max-width: 1024px){
    .fv-txt h1 {
        font-size: 36px;
    }
    .fv-cta a {
        font-size: 18px;
        max-width: 370px;
    }
    figure.fv-autholity {
        max-width: 370px;
    }
    p.content-caption {
        font-size: 16px;
    }
}

/*----------------------------------------------------------------

smartphone

----------------------------------------------------------------*/

@media screen and (max-width: 820px){
    .fv-wrap {
        flex-direction: column;
    }
    .fv-txt {
        width: 100%;
        margin: 0 0 40px 0;
        order: 2;
    }
    .fv-txt h1 {
        font-size: 38px;
        text-align: center;
    }
    .fv-txt h1 + p{
        text-align: center;
    }
    .fv-txt h1 br{
        display: block;
    }
    .fv-img {
        width: 70%;
        order: 1;
        margin: 0 0 32px 0;
    }
    .fv-cta a {
        font-size: 16px;
        margin: 0 auto;
        width: 90%;
    }
    figure.fv-autholity {
        width: 90%;
        max-width: 370px;
        margin: 32px auto 0;
    }
    section h2 {
        font-size: 32px;
    }
    .contents-3clmn .box h3.box-ttl {
        font-size: 18px;
    }
    .contents-3clmn .box p.box-text {
        font-size: 14px;
    }
    .automation-mov-wrap {
        width: 100%;
    }
    .automation-txt {
        width: 100%;
    }
    .easy-3steps .contents-3clmn .box img {
        width: 70%;
    }
    .comparison-box {
        width: 100%;
    }
}

@media screen and (max-width: 640px){
    .pc-view{
        display: none;
    }
    .smp-view{
        display: block;
    }
    article {
        padding-top: 50px;
    }
    p.fv-catch {
        padding: 0 24px 24px;
        font-size: 19px;
        font-weight: bold;
        text-shadow: 2px 2px 3px rgba(255, 255, 255, 1), -2px -2px 3px rgba(255, 255, 255, 1);
    }
    .fv-txt .fv-copy {
        font-size: 14px;
    }
    .fv-txt h1 {
        font-size: 28px;
    }
    .fv-img {
        width: 90%;
    }
    section {
        padding: 40px 0;
    }
    .contents-wrap {
        padding: 0 25px;
    }
    p.content-caption {
        font-size: 14px;
    }
    .image-area {
        padding: 8px;
        margin: 20px auto 40px;
    }
    section h2 {
        font-size: 26px;
        padding: 0 0 24px 0;
    }
    section h2 + p {
        font-size: 15px;
        padding: 0 0 24px;
    }
    .contents-3clmn {
        padding: 20px 0 30px;
        flex-direction: column;
        row-gap: 24px;
    }
    .contents-3clmn .box {
        width: 80%;
        margin: 0 auto;
    }
    .apeal-line {
        background: #1f77c5;
        font-size: 20px;
        padding: 40px 0 24px;
    }
    .mov-switch {
        gap: 16px;
        padding:16px 0 0 0;
    }
    .toggle-button-1 {
        width: 64px;
        height: 32px;
    }
    .toggle-button-1::after {
        top: 2px;
        left: 2px;
        width: 28px;
        height: 28px;
    }
    .toggle-button-1:has(:checked)::after {
        left: 34px;
    }
    .automation-mov-box video {
        top: 28px;
    }
    .mov-switch span {
        font-size: 15px;
    }
    .automation-txt dl dt {
        font-size: 18px;
        border-left: 6px solid #1f77c5;
    }
    .automation-txt dl dd {
        font-size: 14px;
    }
    .easy-3steps .contents-3clmn .box::before {
        font-size: 40px;
        padding: 0 0 16px 0;
    }
    .easy-3steps .contents-3clmn .box::after {
        top: 60px;
    }
    .easy-3steps .contents-3clmn .box img {
        width: 50%;
    }

    .casestudy-slide .swiper-slide p.genre {
        margin: 8px 0;
        font-size: 0.7rem;
        padding: 6px 12px;
    }

    .casestudy-slide .swiper-slide h3.case-name {
        padding: 0 0 8px 0;
        font-size: 1rem;
    }

    .casestudy-slide .swiper-slide p.case-caption{
        font-size: 0.8rem;
    }
    .fee-box h3 {
        font-size: 20px;
    }
    p.reccommend-mail-fee {
        padding: 24px 0 32px;
        font-size: 18px;
    }
    .fee-box ul {
        width: 100%;
        margin: 0 auto 24px;
    }
    .fee-box ul li {
        font-size: 14px;
    }
    .comparison-box {
        overflow-x: scroll;
    }
    .comparison-box table {
        width: 150%;
    }
    .comparison-box table tr th {
        font-size: 14px;
    }
    .comparison-box table tbody tr td {
        line-height: 1.4;
        padding: 16px;
        width: 40%;
        font-size: 13px;
    }
    .faq-wrap {
        width: 100%;
    }
    .faq-wrap dt {
        font-size: 15px;
    }
    .faq-wrap dd {
        font-size: 14px;
        padding: 8px;
    }
    section.go-next h2 br{
        display: none;
    }
    .cta-area {
        padding: 16px 0 0 0;
    }
    .cta-area a {
        font-size: 16px;
        padding: 16px;
        width: 100%;
        line-height: 1.4;
    }

}



@media screen and (max-width: 375px){

}