@charset "utf-8";

/*------------------------------------------------------------------------------------------------------------*/
/* Header */
header{
    left: 0;
    top: 0;
    z-index: 10;
    width: 100%;
    height: 100px;
    display: flex;
    justify-content: center;
    align-items: center;

    & .header-wrapper{
        width: 100%;
        max-width: 1264px;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }
}
/* Grobal Navigation */
header{
    .header-logo {

        @media (max-width: 1264px) {
            margin-left: calc((134 / 1534) * 100vw);
            
            @media (max-width: 769px) {
                margin-left: 35px;
    
                @media (max-width: 480px) {
                    margin-left: 30px;
                }
            }
        }

        h1 {
            margin: 95px 0px 20px;
            width: 144px;
            height: 36px;

            @media (max-width: 769px) {
                margin: 71px 0px 15px;
                width: 120px;

                @media (max-width: 480px) {
                    margin: 41px 0px 7px;
                    width: 110px;
                }
            }
        }

        p {
            color: #3a489b;
            font-size: 21.6px;
            margin-bottom: -5px;

            @media (max-width: 769px) {
                font-size: 18px;

                @media (max-width: 480px) {
                    font-size: 16px;
                }
            }
        }
    }

    nav{
        width: auto;
        @media (min-width: 769px){ 
            & ul.first_menu {
                gap: 0;
                margin-right: 82px;
                > li{
                    a{
                        display: block;     
                        padding-left: 30px;                 
                        color: #292929;
                        font-size: 14.4px;
                        font-weight: bold;
                        text-decoration: none; 
                        text-align: center;                       
                    }

                    &.menu-inquiry{
                        background: #fc9fc0;
                        min-width: 120px;
                        height: 100px;

                        > a{
                            color: #ffffff;
                            line-height: 80px;
                            font-size: 16px;
                        }
                    }
                    &.menu-estimate{
                        background: #3a489b;  
                        min-width: 120px;
                        height: 100px;

                        > a{
                            color: #ffffff;
                            line-height: 80px;
                            font-size: 16px;
                        } 
                    }
                }
            }   
        }
        @media (max-width: 768px){
            &.menu-inquiry{
                background: #fc9fc0;
                text-align: center;
                margin: 20px 0;
                font-weight: bold;

            }
            &.menu-inquiry{
                background: #3a489b;
                text-align: center;
                margin: 20px 0;
                font-weight: bold;
            }
        }
    }
}


/*------------------------------------------------------------------------------------------------------------*/
/* Main / Common */
section{
    padding-bottom: 100px;

    @media (max-width: 680px) {
        padding-bottom: 50px;
    }

    & .underline{
        position: relative;

        &::after{
            content:"";
            margin: 20px 0;
            display: block;
            width: 100%;
            height: 6px;
            background: linear-gradient(90deg, #f6c1c8 0%, #f6c1c8 30%, #5388c7 100%);
        }
    }
}
/* Page Heading */
.page-heading{
    width: 100%;
    height: 300px;
    display: flex;
    justify-content: center;
    background: linear-gradient(90deg, #f6c1c8 0%, #f6c1c8 50%, #5388c7 50%, #5388c7 100%);
    padding-bottom: 0;

    & .page-heading-wrapper{
        width: 100%;
        height:100%;
        max-width: 1500px;
        background: linear-gradient(90deg, #f6c1c8 0%, #f6c1c8 30%, #5388c7 100%);

        & .page-headeing-bk{
            width: 100%;
            height:100%;
            max-width: 1200px;
            margin: 0 auto;
            background-position: center center;
            background-repeat: no-repeat;
            background-size: cover; 
            padding: 0 10px;
            display: flex;
            align-items: center;

            & h2{
                color: #ffffff;
                font-style: italic;
                font-size: 54px;
                font-weight: bold;
                line-height: 1.4;
                display: inline-block;
                position: relative;

                &::after{
                    content:"";
                    display: block;
                    width: 100px;
                    border: 0;
                    border-top: 2px solid #ffffff;
                    margin: 0;
                    padding: 0;
                    transform: rotate(-50deg);
                    position: absolute;
                    left: 88%;
                    bottom: 10px;
                }

                > span{
                    position: absolute;
                    bottom: -20px;
                    left: 120%;
                    font-size: 0.5em;
                    font-weight: bold;
                    white-space: nowrap;
                }
            }

        }
    }

    @media (max-width: 480px){
        height: 150px;
        & .page-headeing-bk{
            background-position: center right !important;
        }
        & h2{
            font-size: 36px !important;

            &::after{
                content: none !important;
            }
            > span{
                left: 0 !important;
                bottom: -30px !important;
            }
        }
    }
}

/* Background color */
.bk-lightbeige{
    background: #fff8f2;
}

/* Text*/
.text-blue{
    color: #3a489b;
}

/* Contents contaier*/
.contaier{
    width: 100%;
    max-width: 1100px;
    padding: 0 10px;
    margin: 0 auto;
}

/* Table */
table{
    width: 100%;
    border: unset;
    vertical-align: center;

    & tr{        

        > th,
        > td{
            padding: 20px 20px 20px 0;
            line-height: 1.4;
            border-bottom: solid 1px #cccccc;
        }
        
        > th{
            font-size: 16px;
            text-align: left;            
        }
        > td{
            font-size: 16px;

            > span{
                color: #666666;

                 &::before{
                    content: "\a";
                    white-space: pre;
                 }
            }
    
        }

        &:nth-of-type(even){
            > th{
                background: #f5f5f5;
            }
        }
        
    }

    &.bk-reset{
        & tr{
            > th,
            >td{
                background: unset !important;
            }
        }
    }
}
/* Button */
.btn{    
    background: #3a489b;
    border-radius: 35px;
    border-color: #3a489b;
    position: relative;

    > a{
        font-size: 20px;
        font-weight: bold;
        letter-spacing: 0.1rem;
        color: #ffffff;      
        border-radius: 35px;          
        background: none;
    }

    &::after{
        content: "";
        width: 12px;
        height: 12px;
        border-top: solid 2px #ffffff;
        border-right: solid 2px #ffffff;
        display: block;
        position: absolute;
        right: 10px;
        top: calc(50% - 6px);
        transform: rotate(45deg);   
        -webkit-transform: rotate(45deg);
        transition: all 0.3s linear;
    }

    &:hover{
        background: #ffffff;

        > a{
            color: #3a489b;            
        }

        &::after{
        border-top-color: #3a489b;
        border-right-color: #3a489b;  
        }
    }
    &.btn-white{
        background: #ffffff !important;
        > a{
            color: #3a489b !important; 
        }
        &:hover{
            background: #3a489b !important;
            > a{
                color: #ffffff !important; 
            }
        }
    }
}

/* AnkerLink */
.ankerlink{
    overflow-x: auto;

    & a{
        color: #292929;
        text-decoration: none;
        border-bottom: solid 3px #ffffff;
        transition: all 0.3s linear;

        &:hover{
            color: #3a489b;
            border-color: #3a489b;
        }
    }
}

/* SP用*/
@media (min-width: 481px){
    .sp{display: none;}
}

/*------------------------------------------------------------------------------------------------------------*/
/* Footer */
footer{
    background: #000000;    
    color: #ffffff;
    padding: 10px;

    > .footer-nav{
        display: flex;
        gap: 10px 60px;
        justify-content: center;

        > li{
            > a{
                color: #ffffff;
                text-decoration: underline;
                font-size: 12px;
            }
        }
    }

    > small{
        text-align: center;
        display: block;
        margin: 20px auto 10px;
    }

    @media (max-width: 480px){
        & .footer-nav{
            flex-flow: column;
            gap: 20px;
            & a{
                font-size: 14px;
            }
        }
    }
}
#pagetop{
    background: ;
    & .icon_arrowUp{
        &::after{
            color: #ffffff;
            background: #3a489b;
        }
    }
}

/*------------------------------------------------------------------------------------------------------------*/
/* Top Page */


/* Section Title */
.section-title {
    width: 100%;
    max-width: 1140px;
    padding: 0px;
    margin: 61px auto 63px;

    & h2{
        color: #f091a3;
        font-style: italic;
        font-size: 54px;
        font-weight: bold;
        line-height: 1.4;
        display: inline-block;
        position: relative;
        letter-spacing: 4px;

        @media (max-width: 480px) {
            font-size: calc((54 / 480) * 100vw);
            letter-spacing: calc((4 / 480) * 100vw);
        }
    
        &::after{
            content:"";
            display: block;
            width: 100px;
            border: 0;
            border-top: 2px solid #3a489b;
            margin: 0;
            padding: 0;
            transform: rotate(-50deg);
            position: absolute;
            left: 86%;
            bottom: 10px;

            @media (max-width: 480px) {
                width: calc((100 / 480) * 100vw);
                bottom: calc((10 / 480) * 100vw);
            }
        }
    
        > span{
            color: #3a489b;
            position: absolute;
            bottom: -20px;
            left: calc(100% + 25px);
            font-size: 0.5em;
            font-weight: bold;
            white-space: nowrap;
            letter-spacing: normal;

            @media (max-width: 480px) {
                bottom: calc((20 / 480) * -100vw);
                left: calc(100% + ((25 / 480) * 100vw));
            }
        }
    }
}

/* Top Page - Service */

#service {
    margin-top: -100px;
    padding-top: 50px;
}

.mainvisual-container {
    width: 100%;
    max-width: 1535px;
    margin: 0 auto;
    position: relative;
    font-size: 100px;

    @media (max-width: 1534px) {
        font-size: calc((100 / 1534) * 100vw);
    }

    img {
        width: auto;
        height: 100%;
        margin-left: 75px;
        display: block;

        @media (max-width: 1534px) {
            margin-left: calc((75 / 1534) * 100vw);
        }
    }

    .overlay-image {
        position: absolute;
        top: calc((181 / 1040.52) * 100%);
        left: calc((534 / 1460) * 100%);
        width: calc((629 / 1460) * 100%);
        height: calc((654 / 1040.52) * 100%);
    }

    .overlay-text {
        position: absolute;
        top: calc((333 / 1040.52) * 100%);
        left: calc((216 / 1460)* 100%);
        color: #3a489b;
        z-index: 2;
        font-size: 100%;

        .mainvisual-title {
            font-size: 149%;
            font-style: italic;
            letter-spacing: 8px;

            @media (max-width: 1534px) {
                letter-spacing: calc((8 / 1534) * 100vw);
            }
        }

        .mainvisual-caption {
            font-size: 29%;
            font-weight: bold;
            margin-top: -30px;
            margin-bottom: 13px;

            @media (max-width: 1534px) {
                margin-top: calc((30 / 1534) * -100vw);
                margin-bottom: calc((13 / 1534) * 100vw);
            }
        }

        .mainvisual-paragraph {
            margin-top: 44px;
            font-size: 100%;

            @media (max-width: 1534px) {
                margin-top: calc((44 / 1534) * 100vw);
            }

            p {
                font-size: 33.6%;
                font-weight: bold;
                margin-bottom: 5px;

                @media (max-width: 1534px) {
                    margin-bottom: calc((5 / 1534) * 100vw);
                }
            }
        }
    }
}

.service-section-1 {
    display: flex;
    margin-top: 75px;

    .service-section-1-shape {

        img {
            width: 106px;
            height: 74px;
            margin-top: 15px;
        }
    
        .service-section-1-line {
            width: 1px;
            height: 807px;
            background-color: #3a489b;
            margin: 32px 0px 0px 19px;

            @media (max-width: 973px) {
                height: calc((807 / 932.39) * 100%);
            }
        }
    }    

    .service-section-1-sentence {
        display: inline;
        margin-left: 40px;

        .service-section-1-caption {

            p {
                font-size: 42.4px;
                font-weight: bold;
                letter-spacing: 3px;
                color: #3a489b;
                margin-bottom: 8px;

                @media (max-width: 769px) {
                    font-size: 28px;
                }
            }
        }

        .service-section-1-paragraph {
            margin: 20px 0px 0px 8px;
    
            p {
                font-size: 28px;
                color: #3a489b;
                letter-spacing: 1px;

                @media (max-width: 769px) {
                    font-size: 18px;
                }
            }
        }

        img {
            width: 807px;
            height: Auto;
            margin-top: 111px;
            
            @media (max-width: 973px) {
                margin-top: calc((111 / 973) * 100vw);
            }
        }
    }
}

.service-section-2 {

    p {
        font-size: 24px;
        letter-spacing: 1px;
        color: #3a489b;
        margin-bottom: 3px;
    }
}

.service-section-3 {
    margin: 42px auto 0px;

    .service-section-3-line {
        width: 1px;
        height: 171px;
        background-color: #3a489b;
        margin: 0px 0px 30px 19px;

        @media (max-width: 680px) {
            height: 85px;
        }
    }

    .service-section-3-caption {
        display: flex;
        align-items: center;
        font-style: italic;
        font-weight: bold;
        letter-spacing: 2px;

        .service-section-3-number {
            font-size: 48px;
            color: #f091a3;
        }
    
        .service-section-3-title {
            margin: 5px 0px 0px 20px;
            font-size: 37.6px;
            color: #3a489b;
        }
    }

    .service-section-3-heading {
        margin-top: 20px;

        p {
            margin-bottom: 5px;
            font-size: 30.4px;
            color: #3a489b;
        }
    }

    .service-section-3-paragraph {
        margin-top: 30px;

        p {
            margin-bottom: 7px;
            font-size: 17.6px;
            color: #292929;
        }
    }

    .service-section-3-1 {
        display: flex;
        justify-content: space-between;

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

        .service-section-3-1-left {
            margin-bottom: 151px;

            @media (max-width: 680px) {
                margin-bottom: 20px;
            }
        }

        .service-section-3-1-right {
            position: relative;
            width: 571px;
            height: 392px;
            margin-top: 120px;

            @media (max-width: 680px) {
                width: 100%;
                height: auto;
                margin-top: 20px;
            }

            &::after {
                position: absolute;
                content: "";
                background: #fff8f2;
                width: 95px;
                height: 324px;
                bottom: -5px;
                left: -5px;

                @media (max-width: 680px) {
                    content: none;
                }
            }  
        }
    }

    .service-section-3-2 {
        display: flex;
        justify-content: space-between;

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

        .service-section-3-2-left {
            position: relative;
            width: 592px;
            height: 392px;

            @media (max-width: 680px) {
                width: 100%;
                height: auto;
            }

            &::after {
                position: absolute;
                content: "";
                background: #fff8f2;
                width: 78px;
                height: 349px;
                bottom: -5px;
                right: -1px;

                @media (max-width: 680px) {
                    content: none;
                }
            }
        }

        .service-section-3-2-right {
            margin: 85px 0px 137px 0px;

            @media (max-width: 680px) {
                margin: 40px 0px;
            }
        }
    }

    .service-section-3-3 {
        display: flex;
        justify-content: space-between;

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

        .service-section-3-3-left {
            margin-top: 93px;

            @media (max-width: 680px) {
                margin: 40px 0px;
            }
        }

        .service-section-3-3-right {
            position: relative;
            width: 571px;
            height: 392px;

            @media (max-width: 680px) {
                width: 100%;
                height: auto;
            }

            &::after {
                position: absolute;
                content: "";
                background: #fff8f2;
                width: 91px;
                height: 344px;
                bottom: -5px;
                left: -5px;

                @media (max-width: 680px) {
                    content: none;
                }
            }  
        }
    }
}

/* Top Page - More */

#more {
    .underline {
        text-align: center;
        font-size: 20px;
        color: #3A489B;

        &::after{
            margin: 10px 0 20px;
        }
    }
}

.more-paragraph {
    margin-top: 40px;

    p {
        font-size: 17.6px;
        line-height: 1.8;
        color: #292929;  
        gap: 20px;
        margin: -3px 0px;
        position: relative;
    }
}


.more-h1 {
    font-size: 36px;
    font-style: italic;
    font-weight: bold;
    letter-spacing: 2px;
    color: #F091A3;


}

.more-frex-1 {
    display: flex;
    align-items: center;
    margin-top: 5px;

    @media (max-width: 680px) {
        display: block;
    }

    .more-h2 {
        font-size: 48px;
        font-style: italic;
        font-weight: bold;
        letter-spacing: 2px;
        color: #3A489B;
    }
    
    .more-h3 {
        font-size: 26.4px;
        font-style: normal;
        font-weight: bold;
        letter-spacing: 2px;
        color: #3A489B;
        margin: 4px 0px 0px 15px;
    }
}

.more-frex-2 {
    display: flex;
    flex-wrap: wrap;
    max-width: 1060px;
    width: 100%;
    margin: 66px auto 0px;
    justify-content: space-between;
    gap: 0px 20px;

    .more-frex-2-item {
        text-align: center;
        margin-bottom: 45px;

        @media (max-width: 1079px) {
            width: 31.5%;

            @media (max-width: 746px) {
                width: 46%;

                @media (max-width: 269px) {
                    width: 100%;
                }
            }
        }
    }
    
    .more-frex-2-box {
        width: 250px;
        height: 177px;

        @media (max-width: 1079px) {
            aspect-ratio: 250 / 177;
            width: Auto;
            height: Auto;
        }

        img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }
    }
    
    .more-frex-2-caption {
        margin-top: 20px;
        font-size: 16px;
        color: #3A489B;
    }
}

/* Top Page - Purpose */

#purpose {
    @media (max-width: 680px) {
        padding-bottom: 10px;
    }
}

.purpose-paragraph p {
    font-size: 17.6px;
    line-height: 1.8;
    color: #292929;  
    gap: 20px;
    margin: -3px 0px;
    position: relative;
}

.flex-container {
    display: flex;
    justify-content: space-between;
    width: 100%;
    max-width: 1060px;
    margin: 60px auto;
    gap: 20px;

    @media (max-width: 680px) {
        flex-wrap: wrap;
        justify-content: space-around;
        gap: 60px 40px;
    }
}

.flex-item {
    width: 250px;
    height: 328px;
    display: flex;
    justify-content: center;
    align-items: center;

    img {
        border: solid 1px #666666;
    }
}

/* Top Page - Price */

#price {
    padding-bottom: 0px;

    .section-title {
        @media (max-width: 680px) {
            margin-top: 0px;
        }
    }

    .btn_large{
        width: 550px;
    }
}

.price-paragraph p {
    font-size:20px;
    line-height: 1.8;
    color: #292929;  
    gap: 20px;
    margin: -3px 0px;
    position: relative;

    .blue {
        font-size:20px;
        line-height: 1.8;
        color: #3a489b;
        gap: 20px;
        margin-top: 5px;
        position: relative;
    }

    .small {
        font-size:17.6px;
        line-height: 1.8;
        color: #292929;  
        gap: 20px;
        margin-top: 5px;
        position: relative;
    }
}

.price-table-1 {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 10px;
    align-items: center;

    .price-table-column-1,
    .price-table-column-2,
    .price-table-column-3 {
        padding: 10px 0px;
        line-height: 1.8;
        gap: 20px;
        margin-top: 5px;
        position: relative;

        @media (max-width: 573px) {
            padding-left: calc((10 / 573) * 100vw);
            padding-right: calc((10 / 573) * 100vw);
            gap: calc((20 / 573) * 100vw);
            margin-top: calc((5 / 573) * 100vw);
        }
    }

    .price-table-column-1 {
        text-align: left;
        font-weight: 600;
        font-size: 24px;
        color: #292929;

        @media (max-width: 573px) {
            font-size: calc((24 / 573) * 100vw);
        }
    }

    .price-table-column-2 {
        text-align: left;
        font-size:16px;
        color: #696969;  

        @media (max-width: 573px) {
            font-size: calc((16 / 573) * 100vw);
        }
    }

    .price-table-column-3 {
        text-align: right;   
        font-weight: 600;
        font-size:28px;
        color: #3A489B;

        @media (max-width: 573px) {
            font-size: calc((28 / 573) * 100vw);
        }
    }
}

.price-table-2 {
    margin: 0px 2px 11px 13px;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    gap: 10px;
    align-items: center;

    @media (max-width: 573px) {
        margin-right: calc((2 / 573) * 100vw);
        margin-bottom: calc((11 / 573) * 100vw);
        margin-left: calc((13 / 573) * 100vw);
        gap: calc((10 / 573) * 100vw);
    }

    .price-table-column-1 {
        text-align: left;
        font-size: 20px;
        color: #292929;

        @media (max-width: 573px) {
            font-size: calc((20 / 573) * 100vw);
        }
    }

    .price-table-column-2 {
        text-align: left;
        font-size: 20px;
        color: #696969;

        @media (max-width: 573px) {
            font-size: calc((20 / 573) * 100vw);
        }
    }

    .price-table-column-3 {
        text-align: left;
        font-size: 20px;
        color: #696969;

        @media (max-width: 573px) {
            font-size: calc((20 / 573) * 100vw);
        }
    }

    .price-table-column-4 {
        text-align: right;
        font-size: 20px;
        color: #292929;

        @media (max-width: 573px) {
            font-size: calc((20 / 573) * 100vw);
        }
    }

    .price-table-column-1:nth-child(1),
    .price-table-column-2:nth-child(2),
    .price-table-column-3:nth-child(3),
    .price-table-column-4:nth-child(4) {
        font-size: 14px;
        color: #696969;

        @media (max-width: 573px) {
            font-size: calc((14 / 573) * 100vw);
        }
    }

    .price-table-column-3:nth-child(3) {
        margin-left: 10px;

        @media (max-width: 573px) {
            margin-left: calc((10 / 573) * 100vw);
        }
    }
}

.price-line {
    width: 100%;
    height: 1px;
    background-color: #CCCCCC;
}

.cost {
    display :flex;
    justify-content :space-between;
    margin-top: 70px;
    gap: 54px;

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

    .underline {
        color: #f091a3;
        font-style: italic;
        font-size: 20px;

        &::after{
            margin: 10px 0;
        }
    }

    .cost-content{
        width: 513px;

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

        .price-table-column-1:nth-child(1),
        .price-table-column-1:nth-child(4),
        .price-table-column-2:nth-child(2),
        .price-table-column-2:nth-child(5),
        .price-table-column-3:nth-child(3),
        .price-table-column-3:nth-child(6) {
            margin-top: 20px;

            @media (max-width: 573px) {
                margin-top: 0px;
            }
        }
    
        .price-table-column-1:nth-child(4),
        .price-table-column-2:nth-child(5),
        .price-table-column-3:nth-child(6) {
            margin-bottom: 15px;
        }
    
        .price-paragraph p {
            font-size: 16px;
            color: #696969;
            margin-top: 10px;
        }
    }

    .cost-option{
        width: 513px;

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

        .price-table {
            gap: 0px;
        }
        
        .price-table-column-1:nth-child(1),
        .price-table-column-2:nth-child(2),
        .price-table-column-3:nth-child(3),
        .price-table-column-1:nth-child(4),
        .price-table-column-2:nth-child(5),
        .price-table-column-3:nth-child(6),
        .price-table-column-1:nth-child(7),
        .price-table-column-2:nth-child(8),
        .price-table-column-3:nth-child(9) {
            margin-top: 0px;
            padding: 0px 0px;
        }
        
        .price-table-column-1 {
            width: 230px;
            font-size:20px;

            @media (max-width: 573px) {
                width: calc((230 / 573) * 100vw);
                font-size: calc((20 / 573) * 100vw);
            }
        }
        
        .cost-option-2 {
            margin-bottom: 30px;
    
            .price-table-column-2,
            .price-table-column-3 {
                grid-row: span 2;
            }
        }
        
        .price-line {
            width: 100%;
            height: 1px;
            background-color: #CCCCCC;
            margin: 10px 0px;
        }
        
        .price-paragraph p {
            font-size: 16px;
        }
    }
}

.estimate {
    display :flex;
    height: 310px;
    margin-top: 45px;
    padding: 40px 32px 35px 43px;

    @media (max-width: 742px) {
        height: 347px;

        @media (max-width: 680px) {
            flex-direction: column;
            height: Auto;
    
            @media (max-width: 573px) {
                padding: calc((40 / 573) * 100vw);
            }
        }
    }

    .estimate-case {
        position: relative;
        display: inline-block;

        .estimate-case-img {
            display: block;
        }

        .overlay-text {
            width: calc((239 / 298.22) * 100%);
            height: 105px;
            top: 48px;
            left: calc((25 / 298.22) * 100%);
            position: absolute;
            right: 0;
            color: white;
        
            display: grid;
            grid-template-columns: 27% 1fr;
            column-gap: 10px;
            row-gap: 10px;
            text-align: left;

            @media (max-width: 1077px) {
                height: calc((105 / 1077) * 100vw);
                top: calc((48 / 1077) * 100vw);
                column-gap: calc((10 / 1077) * 100vw);
                row-gap: calc((10 / 1077) * 100vw);

                @media (max-width: 680px) {
                    height: calc((105 / 680) * 100vw);
                    top: calc((98 / 680) * 100vw);
                    column-gap: calc((10 / 680) * 100vw);
                    row-gap: calc((50 / 680) * 100vw);
                }
            }
        
            p {
                font-size: 19px;
                font-style: italic;
                letter-spacing: 2px;

                @media (max-width: 1077px) {
                    font-size: calc((19 / 1077) * 100vw);

                    @media (max-width: 680px) {
                        font-size: calc((37 / 680) * 100vw);
                    }
                }
            }

            .section-title-small {
                width: 100%;
                max-width: 1140px;
            
                & p {
                    color: #EEEEEE;
                    font-style: italic;
                    font-size: 14.4px; 
                    line-height: 1.4;
                    display: inline-block;
                    position: relative;
                    letter-spacing: 2px;
            
                    @media (max-width: 1077px) {
                        font-size: calc((14.4 / 1077) * 100vw);
                        letter-spacing: calc((2 / 1077) * 100vw);
            
                        @media (max-width: 680px) {
                            font-size: calc((28 / 680) * 100vw);
                            letter-spacing: calc((2 / 680) * 100vw);
                        }
                    }
            
                    &::after{
                        content:"";
                        display: block;
                        width: 60px;
                        border: 0;
                        border-top: 1px solid #FFFFFF;
                        margin: 0;
                        padding: 0;
                        transform: rotate(-50deg);
                        position: absolute;
                        left: 67%;
                        bottom: -7px;

                        @media (max-width: 1077px) {
                            width: calc((60 / 1077) * 100vw);
                            left: calc((44 / 1077) * 100vw);
                            bottom: calc((7 / 1077) * -100vw);

                            @media (max-width: 680px) {
                                width: calc((85 / 680) * 100vw);
                                left: calc((85 / 680) * 100vw);
                                bottom: calc((7 / 680) * -100vw);
                            }
                        }
                    }
            
                    > span{
                        color: #FFFFFF;
                        position: absolute;
                        bottom: -30px;
                        left: calc(100% + 25px);
                        font-size: 16px;
                        white-space: nowrap;
                        letter-spacing: normal;
                        
                        @media (max-width: 1077px) {
                            bottom: calc((30 / 1077) * -100vw);
                            left: calc((90 / 1077) * 100vw);
                            font-size: calc((16 / 1077) * 100vw);

                            @media (max-width: 680px) {
                                bottom: calc((30 / 680) * -100vw);
                                left: calc((152 / 680) * 100vw);
                                font-size: calc((31 / 680) * 100vw);
                            }
                        }
                    }
                }
            
                .shift-right-small {
                    margin-left: 15px;
                }
            
                .font-size-1 {
                    font-size: 22px;

                    @media (max-width: 1077px) {
                        font-size: calc((22 / 1077) * 100vw);

                        @media (max-width: 680px) {
                            font-size: calc((43 / 680) * 100vw);
                        }
                    }
                }
            }
        
            .section-title-small {
                grid-column: 2;
            }
            
            .section-title-small:first-child {
                grid-row: 1;
            }
            
            .section-title-small:last-child {
                grid-row: 2;
            }
        }
    }

    .estimate-example {
        position: relative;
        width: 627px;
        height: 234px;
        margin-left: 56px;
        letter-spacing: 2px;

        @media (max-width: 680px) {
            margin-left: 0px;
            width: 100%;

            @media (max-width: 573px) {
                height: calc((234 / 573) * 100vw);
            }
        }
    
        .price-line {
            background-color: #3A489B;
        }
    
        & p:first-child {
            color: #F091A3;
            font-size: 24px;
            font-style: italic;

            @media (max-width: 573px) {
                font-size: calc((24 / 573) * 100vw);
            }
        }
    
        & p:last-child {
            position: absolute;
            font-size: 24px;
            bottom: 0;
            right: 0;

            @media (max-width: 855px) {
                bottom: auto;

                @media (max-width: 573px) {
                    font-size: calc((24 / 573) * 100vw);
                }
            }
        }
    }
}

/* Top Page - Flow */

#flow {
    padding-bottom :50px;

    .section-title {
        padding-top :50px;
        margin-top :0px;
    }

    .flow-contaier {
        display: flex;
        height: 115px;

        @media (max-width: 1018px) {
            height: auto;
            margin-top: 10px;
        }
    
        dt {
            font-size: 28px;
            font-style: italic;
            font-weight: bold;
            color: #f091a3;   
        }
    
        dd {
            margin-left: 40px;
        }
    }

    .flow-title {
        font-size: 28px;
        font-style: italic;
        font-weight: bold;
        color: #3a489b;
    }

    .flow-paragraph {
        font-size:16px;
        line-height: 1.8;
        color: #292929;  
        gap: 20px;
        margin-top: 5px;
        position: relative;
    
        &::before {
            content:"";
            display:inline-block;
            width:1px;
            height:40px;
            background-color:#3a489b;
            position:absolute;
            top:9px;
            left:-57px;

            @media (max-width: 1018px) {
                height: calc(100% - 1px);
            }
        }
    
        &.no-line::before {
            content: none;
        }
    }
}


/* Top Page - FAQ */

#faq {
    padding-bottom: 50px
}

.faq_flex {
    display: flex;

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

.btn-white a {
    font-size: 15px;
}

/*------------------------------------------------------------------------------------------------------------*/
/* Function */
#function{
    & h3{
        &::after{
            margin-bottom: 10px;
        }
    }
}
#function{
    & .page-headeing-bk{
        background-image: url(../../images/page-heading_function.png);
    }
}
/*2column table*/
#function_option_1 table,
#requirements table{
    & tr{
        & th{
            width: 250px;
        } 
        & td{
            width: auto;
        }
    }   
}

/*3column table*/
#function_option_2 table,
#function_option_3 table{
    & tr{
        & th{
            width: 250px;
        } 
        & td:first-of-type{
            width: 150px;
            color: #3a489b;
        }
        & td:last-of-type{
            width: auto;
        }
    }   
}
/* function_dafault */
#function_dafault{
    & .item-container{
    display: flex;
    flex-wrap: wrap;
    gap: 40px;

    > .item{
        width: calc((100% - 120px) / 4);
        @media (max-width: 768px){
            width: calc((100% - 120px) / 3);
        }
        @media (max-width: 480px){
            width: 100%;
        }
        
        & dt{
            font-size: 18px;
            font-weight: bold;
            color: #3a489b;
            letter-spacing: -0.01rem;
            margin: 20px 0;
        }
        & dd{
            font-size: 14px;
        }
    }

    }
}

/*caption*/
.caption{
    margin-top: 20px;

    > li{
        position: relative;
        display: flex;
        align-items: start;
        gap: 5px;
        font-size: 14px;
        color: #666666;
        margin-bottom: 10px; 

        &::before{
            content: "※";
            display: block;
            width: 1rem;
            height: 1rem;
        }
    }
}




/*------------------------------------------------------------------------------------------------------------*/
/* FAQ */
#faq{
    & .page-heading {
        & .page-heading-wrapper {
            & .page-headeing-bk {
                background-image: url(../../images/page-heading_faq.png);

                & h2 {
                    > span{
                        left: 140%;
                    }
                }
            }
        }
    }
    & .qa{
        margin-bottom: 50px;
    }
    & dt{
        font-size: 24px;
        font-style: italic;
        font-weight: bold;
        color: #3a489b;  
        display: flex;
        gap: 20px;
        margin-bottom: 10px;
        
        &::before{
            content:"Q";
            font-size: 28px;
            font-style: italic;
            font-weight: bold;
            color: #3a489b;             

        }
    }
    & dd{
        font-size:16px;
        line-height: 1.8;
        color: #292929;  
        display: flex;
        gap: 20px;

        &::before{
            content:"A";
            font-size: 28px;
            font-style: italic;
            font-weight: bold;
            color: #f091a3;   
            margin-top: -10px;          

        }

    }
}




/*------------------------------------------------------------------------------------------------------------*/
/* Estimate */
#estimateform{
    h4{
        font-size: 24px;
        font-style:italic;
        font-weight: bold;
        color: #3a489b;
        margin-top: 60px;
    }
    h5{
        font-size: 20px;
        font-weight: bold;
        color: #f091a3;
    }
    label{
        color: #292929;
        font-weight: bold;
    }
    input[type="text"]{
        border-radius: 0px;
    }
    
    .simulation_tbl .for_total{
        display: none;
    }

    .required{
        margin-left: 10px;

        &::before{
            content: "必須";
            white-space: nowrap;
        }
    }
    
    .subtotal{
        text-align: right;
    }
    .option_1{
        @media (max-width: 480px){
            & td:first-child{
                background: #ffffff !important;
            }
        }
    }

    .scan_service{
        border-bottom: none !important;
    }

    .box_func_footer{
        background:#3a489b;
        color: #fff;
        width: 100%;
        display: flex;
        justify-content:center;
        gap: 20px 50px;
        align-items:  center;
        padding: 50px;
        margin-top: 30px;

        @media (max-width: 680px){
            flex-flow: column;
        }

        > h4{
            color: #ffffff;
            margin-top: 0; 
        }
        > p{
            text-align: center;
            font-size: 24px;

            > #totalPrice{
                font-size: 1.5rem;
                font-weight:bold;
            }
            > #totalPrice_tax{
                font-size: 1.5rem;
                font-weight:bold;           
            }
        }
    }

    #estimate{
        @media (max-width: 480px){
            > .btn.btn-outline-primary.btn-detail{
                font-size: 16px !important;
            }
        }
    }
}

/*------------------------------------------------------------------------------------------------------------*/
/* Inquiry */
#inquiry{
    & .page-heading {
        & .page-heading-wrapper {
            & .page-headeing-bk {
                background-image: url(../../images/page-heading_inquiry.png);

                & h2 {
                    > span{
                        left: 140%;
                    }
                }
            }
        }
    }
    
    .required{
        margin-left: 10px;

        &::before{
            content: "必須";
            white-space: nowrap;
        }
    }
}


/*LF ボタンエリア*/
.button_area{
    text-align: center;
}
/*LF 送信ボタン*/
.btn.btn-outline-primary.btn-detail{
    display: inline-block;
    padding: 0 2rem;
    color: #ffffff;
    text-decoration: none;
    font-size: 24px;
    font-weight: bold;
    height: 70px;
    line-height: 70px;
    border-radius: 35px;
    margin-top: 50px;
    transition: all 0.3s linear;

    &:hover{
        background: #ffffff;
        color: #3a489b;
    }
}
/*LF 戻るボタン*/
.btn.btn-outline-dark.btn-detail{
    display: inline-block;
    padding: 0 2rem;
    color: #292929;
    text-decoration: none;
    font-size: 20px;
    font-weight: bold;
    height: 70px;
    line-height: 70px;
    border-radius: 35px;
    margin-top: 50px;
    background: #f5f5f5;
    border-color: #666666;
    transition: all 0.3s linear;

    &:hover{
        background: #cccccc;
    }       
}