@charset "UTF-8";
/* CSS Document */

/* PC
---------------------------------------------------------------------- */

@media (min-width: 1001px) {

    /*---------------------------------------------page-ti*/
    #page-ti .h40 {
        background: url(../../images/main_ttl_deco.svg) no-repeat bottom center;
        background-size: 320px;
    }
      
    /*背景1*/
    #page-ti .ab1 {
        position: absolute;
        left: 10px;
        bottom: -85px;
        max-width: 437px;
        width: 28vw;
        height: auto;
    }
    
    /*背景2*/
    #page-ti .ab2 {
        position: absolute;
        right: 0;
        bottom: -63px;
        max-width: 287px;
        width: 20vw;
        height: auto;
    }

    /*---------------------------------------------aym*/
    #aym {
        margin-bottom: 122px;
    }
    
    #aym .h25p {
        margin-bottom: 52px;
        text-align: center;
    }

    #aym .flex {
        justify-content: center;
        align-items: center;
        column-gap: 50px;
        row-gap: 10px;      
    }

    #aym .flex .txt {
        width: 50%;
    }

    #aym .flex .img {
        width: calc(50% - 50px);
    }

    #aym .h30 {
        margin-bottom: 33px;
    }


    /*---------------------------------------------ktd*/
    #ktd {
        margin-bottom: 112px;
        clear: both;
    }
    
    #ktd .h30 {
        text-align: center;
        margin-bottom: 53px;
    }

    #ktd .flex {
        justify-content: space-between;
        align-items: center;
        column-gap: 40px;
        row-gap: 15px;      
    }

    #ktd .flex img {
        width: calc(100% / 2 - 40px);
        /* width: calc(100% / 3 - 25px); */
    }

    /* #ktd .flex img:nth-child(2) {
        margin-top: 58px;
    } */

    #ktd #ktd_inner01 {
        width: 80%;
        /* float: left;
        overflow: hidden; */
        /* text-align: left; */
        margin: 3rem auto;
    }

    #ktd #ktd_inner02 {
        width: 80%;
        /* float: right; */
        /* overflow: hidden; */
        /* text-align: right; */
        margin: 0 auto 10rem;
    }



    /*---------------------------------------------stf*/
    #stf {
        clear: both;
        margin-bottom: 121px;
        padding: 135px 0 150px 0;
        /* background: url(/images/stf-bg.png) no-repeat top;
        background-size: cover; */
        position: relative;
    }

    /*スタッフ*/
    #stf .h30 {
        text-align: center;
        margin-bottom: 2.5rem;
        /* margin-bottom: 70px; */
    }

    #stf .flex {
        justify-content: space-around;
        column-gap: 150px;
        row-gap: 35px;    
        margin-bottom: 55px;  
    }

    #stf .flex .box {
/*        width: calc(100% / 3 - 113px);*/
width: calc(100% / 2 - 150px);
        text-align: center;
        height: 280px;
    }
    
    #stf .flex .box img {
        max-width: 235px;
        width: 100%;
        margin-bottom: 30px;
    }

    #stf .flex .box h3 {
        font-size: 23px;
        line-height: 1.3;
        color: #e6667a;
        margin-bottom: 19px;
    }

    /* #stf .flex .box:nth-child(2) h3
    #stf .flex .box:nth-child(3) h3 { 
        margin: 1.1em 0;
    } */

    #stf .flex .box .p18 {
        text-align: left;
    }

    /*メッセージ*/
    #stf .cm {
        padding: 0 40px;
        position: relative;
    }

    #stf .cm::before {
        content: "";
        width: calc(100% - 80px);
        height: 14px;
        background: url(../images/stf-border.png) no-repeat top;
        /* background: url(/images/stf-border.png) no-repeat top; */
        position: absolute;
        top: 0;
        left: 50%;
        transform: translateX(-50%);
        margin: auto;
        background-size: cover;
    }

    #stf .cm::after {
        content: "";
        width: calc(100% - 80px);
        height: 14px;
        background: url(../images/stf-border.png) no-repeat top;
        /* background: url(/images/stf-border.png) no-repeat top; */
        position: absolute;
        bottom: 0;
        left: 50%;
        transform: translateX(-50%);
        margin: auto;
        background-size: cover;
    }

    #stf .cm p {
        padding: 40px 107px;
    }

    /*ab1*/
    #stf .cm .ab1 {
        position: absolute;
        top: -12px;
        left: 70px;
        width: 50px;
        height: auto;
    }

    /*ab2*/
    #stf .cm .ab2 {
        position: absolute;
        top: -12px;
        right: 70px;
        width: 50px;
        height: auto;
    }

        /*---------------------------------------------fixed*/
        #fixed {
            margin-bottom: 102px;
            padding: 0 0 0 57px;
            position: relative;
            left: 0;
            top: 0;
            display: block;
            height: 100%;
            width: 100%;
            height: 500px;
            overflow: hidden;
        }
    
        #fixed .fix-inner {
            position: relative;
            overflow: hidden;
            clip-path: inset(0 0 round 50px 0 0 50px);
            height: 100%;
        }

        #fixed .fix-inner img {
            position: fixed;
            width: 100%;
            min-height: 100vh;
            height: auto;
            left: 57px;
            top: 0;
            pointer-events: none;
            object-fit: cover;
        }

}













@media (max-width: 1000px) {

        /*---------------------------------------------page-ti*/
        #page-ti {
            margin-bottom: 14vw;
        }


        #page-ti .h40 {
            background: url(../../images/main_ttl_deco.svg) no-repeat bottom center;
            background-size: auto 7.8px;
        }
          
        /*背景1*/
        #page-ti .ab1 {
            position: absolute;
            left: -17.5px;
            bottom: -40px;
            min-width: 140px;
            width: 25vw;
            height: auto;
        }
        
        /*背景2*/
        #page-ti .ab2 {
            position: absolute;
            right: -7.5px;
            bottom: -18.5px;
            min-width: 101px;
            width: 15vw;
            height: auto;
        }
    
            /*---------------------------------------------aym*/
    #aym {
        margin-bottom: 85px;
    }
    
    #aym .h25p {
        margin-bottom: 42px;
        text-align: center;
    }

    #aym .flex {
        justify-content: center;
        align-items: center;
        column-gap: 50px;
        row-gap: 10px;      
    }

    #aym .flex .txt {
        width: 100%;
    }

    #aym .h30 {
        margin-bottom: 19px;
    }

        /*---------------------------------------------ktd*/
        #ktd {
            margin-bottom: 66px;
        }
        
        #ktd .h30 {
            text-align: center;
            margin-bottom: 25px;
        }
    
        #ktd .flex {
            justify-content: center;
            align-items: center;
            column-gap: 25px;
            row-gap: 15px;      
        }
    
        #ktd .flex img {
            width: 100%;
            max-width: 341px;
            margin: 1.5rem auto;
        }

    /*---------------------------------------------stf*/
    #stf {
        margin-bottom: 45px;
        /* background: url(/images/stf-bg-sp.png) no-repeat top center;
        background-size: cover; */
        position: relative;
        padding: 60px 0 78px 0;
    }

    /*スタッフ*/
    #stf .h30 {
        text-align: center;
        margin-bottom: 19.5px;  
    }

    #stf .flex {
        justify-content: center;
        padding: 0 28px;
        row-gap: 35px;    
        margin-bottom: 55px;  
    }

    #stf .flex .box {
        width: 100%;
        text-align: center;
    }

    #stf .inner p.ta_c {
        font-size: 1.1rem!important;
        margin-bottom: 2rem;
    }
    
    #stf .flex .box img {
        max-width: 235px;
        width: 100%;
        margin-bottom: 22px;
    }

    #stf .flex .box h3 {
        font-size: 23px;
        line-height: 1.3;
        color: #e6667a;
        margin-bottom: 15px;
    }

    #stf .flex .box .p18 {
        text-align: left;
    }

    /*メッセージ*/
    #stf .cm {
        position: relative;
    }

    #stf .cm::before {
        content: "";
        width: 100%;
        height: 11px;
        background: url(../images/stf-border.png) no-repeat top;
        /* background: url(/images/stf-border.png) no-repeat top; */
        position: absolute;
        top: 0;
        left: 50%;
        transform: translateX(-50%);
        margin: auto;
        background-size: cover;
        border-radius: 10px;
    }

    #stf .cm::after {
        content: "";
        width: 100%;
        height: 11px;
        background: url(../images/stf-border.png) no-repeat top;
        /* background: url(/images/stf-border.png) no-repeat top; */
        position: absolute;
        bottom: 0;
        left: 50%;
        transform: translateX(-50%);
        margin: auto;
        background-size: cover;
        border-radius: 10px;
    }

    #stf .cm p {
        padding: 45px 30px;
    }

    /*ab1*/
    #stf .cm .ab1 {
        position: absolute;
        top: -5px;
        left: 10px;
        width: 37px;
        height: auto;
    }

    /*ab2*/
    #stf .cm .ab2 {
        position: absolute;
        top: -5px;
        right: 10px;
        width: 37px;
        height: auto;
    }
    
        /*---------------------------------------------fixed*/
        #fixed {
            margin-bottom: 34px;
            padding: 0 0 0 54px;
            position: relative;
            left: 0;
            top: 0;
            display: block;
            height: 100%;
            width: 100%;
            height: 250px;
            overflow: hidden;
        }
    
        #fixed .fix-inner {
            position: relative;
            overflow: hidden;
            clip-path: inset(0 0 round 20px 0 0 20px);
            height: 100%;
        }

        #fixed .fix-inner img {
            position: fixed;
            width: 100%;
            min-height: 100vh;
            height: auto;
            left: 54px;
            top: 0;
            pointer-events: none;
            object-fit: cover;
        }
    
}