@charset "utf-8";
/* --------------------------------
ファイル名 btp ← by the page

top用css
-------------------------------- */

#g-cts .cou-bg {
    background: transparent url(../img/geihinkan/g-course/cou-bg-g.jpg) top left / 100% auto no-repeat;
}
#y-cts .cou-bg {
    background: transparent url(../img/yachiyo/y-course/cou-bg-y.jpg) top left / 100% auto no-repeat;
}
.cg-tblbox {
    display: table;
    border-spacing: 0;
    border-collapse: collapse;
    width: 93%;
    margin-left: 3.5%;
}

.cg-hd {
    position: relative;
    top: 10px;
}


.cg-ft {
    margin-bottom: 40px;
}

.cg-cellbox {
    display: table-cell;
    width: 33.3%;
}

.cg-tblbox .cg-cellbox:nth-child(1) {
    padding-right: 2%;
}

.cg-tblbox .cg-cellbox:nth-child(2) {
    padding-left: 1%;
    padding-right: 1%;
}

.cg-tblbox .cg-cellbox:nth-child(3) {
    padding-left: 2%;
}

.cg-cellbox a {
    display: block;
    box-shadow: inset 2px 1px 1px rgba(255, 255, 255, 0.7), 2px 1px 1px rgba(0, 0, 0, 0.3);
    border-radius: 4px;
    background-color: #EEEEEE;
    text-decoration: none;
    color: #000000;
    font-size: 16px;
    text-align: center;
    position: relative;
}

.cg-hd a {
    height: 62px;
    line-height: 62px;
}

.cg-ft a {
    height: 58px;
    line-height: 60px;
}
.cg-cellbox a.cg-n-on {
    box-shadow: inset 2px 1px 1px rgba(255, 255, 255, 0.4), 2px 1px 1px rgba(0, 0, 0, 0.6);
    color: #FFFFFF;
    z-index: 50;
}
#g-cts .cg-cellbox a.cg-n-on {
    background-color: #BB4343;
}
#y-cts .cg-cellbox a.cg-n-on {
    background-color: #349D71;
}
.cg-cellbox a::before {
    content: "";
    display: block;
    -ms-transform: rotate(45deg);
    -webkit-transform: rotate(45deg);
    transform: rotate(45deg);
    width: 6px;
    height: 6px;
    border-top: 2px solid #AAAAAA;
    border-right: 2px solid #AAAAAA;
    position: absolute;
    top: 28px;
}

.cg-cellbox a.cg-n-on::before {
    -ms-transform: rotate(0deg);
    /*cg-n-onでない時のリセット*/
    -webkit-transform: rotate(0deg);
    /*cg-n-onでない時のリセット*/
    transform: rotate(0deg);
    /*cg-n-onでない時のリセット*/
}

.cg-cellbox a::before {
    left: 15px;
}

.cg-cellbox a.cg-nav1::before {
    left: 5px;
}

.cgtxt {
    display: inline-block;
    white-space: none;
}

.cgtxt-t {
    transform: scale(0.8, 1);
    position: relative;
    left: 5px;
}
.cg-n-on .cgtxt-t {
    left: 0px !important;
}
.cg-hd .cg-cellbox a.cg-n-on::before {
    content: "";
    display: block;
    position: absolute;
    border-top: 9px solid rgba(0, 0, 0, 0.6);
    border-right: 9px solid transparent;
    border-bottom: 9px solid transparent;
    border-left: 9px solid transparent;
    top: 61px;
    left: 42%;
    left: calc( 50% - 7px);
}

.cg-ft .cg-cellbox a.cg-n-on::before {
    content: "";
    display: block;
    position: absolute;
    border-top: 9px solid transparent;
    border-right: 9px solid transparent;
    border-bottom: 9px solid rgba(0, 0, 0, 0.6);
    border-left: 9px solid transparent;
    top: auto;
    bottom: 56px;
    left: 42%;
    left: calc( 50% - 7px);
}

.cg-hd a::after {
    content: "";
    display: block;
    width: 100%;
    height: 2px;
    position: absolute;
    top: 50px;
    left: 0px;
    background: #CCCCCC;
}

.cg-hd a.cg-n-on::after {
    background: transparent;
    /*cg-n-onでない時のリセット*/
    width: auto;
    /*cg-n-onでない時のリセット*/
    height: auto;
    /*cg-n-onでない時のリセット*/
}

.cg-hd .cg-cellbox a.cg-n-on::after {
    content: "";
    display: block;
    position: absolute;
    border-right: 9px solid transparent;
    border-bottom: 9px solid transparent;
    border-left: 9px solid transparent;
    top: 61px;
    left: 40%;
    left: calc( 50% - 9px);
}

.cg-ft .cg-cellbox a.cg-n-on::after {
    content: "";
    display: block;
    position: absolute;
    border-top: 9px solid transparent;
    border-right: 9px solid transparent;
    border-left: 9px solid transparent;
    top: auto;
    bottom: 56px;
    left: 40%;
    left: calc( 50% - 9px);
}

#g-cts .cg-hd a.cg-n-on::after {
    border-top: 9px solid #BB4343;
}

#y-cts .cg-hd a.cg-n-on::after {
    border-top: 9px solid #349D71;
}

#g-cts .cg-ft a.cg-n-on::after {
    border-bottom: 9px solid #BB4343;
}

#y-cts .cg-ft a.cg-n-on::after {
    border-bottom: 9px solid #349D71;
}

.cg-nav1 {}

.cg-nav2 {}

.cg-nav3 {}

.cg-cts {
    background: #FFFFFF;
    position: relative;
}



@media (min-width: 360px) {
    .cgtxt-t {
        transform: scale(0.9, 1);
    }

}

/*end min-width: 360px*/

@media (min-width: 420px) {
    .cgtxt-t {
        transform: scale(1, 1);
    }
    .cg-cellbox a.cg-nav1::before {
        left: 10px;
    }
}

/*end min-width: 420px*/

@media (min-width: 500px) {
    .cg-cellbox a::before {
        left: 28%;
        left: calc( 50% - 2.5em);
    }
    .cg-cellbox a.cg-nav1::before {
        left: 22%;
        left: calc( 50% - 3.5em);
    }
}

/*end min-width: 500px*/

@media (min-width: 640px) {
    #y-cts .cou-bg {
    background: transparent url(../img/yachiyo/y-course/cou-bg-y.jpg) 0vw -10vw / 100% auto no-repeat;
}
}

/*end min-width: 640px*/

@media (min-width: 800px) {

    .cg-ft {
        margin-bottom: 60px;
    }
}

/*end min-width: 800px*/

@media (min-width: 960px) {
    /* md */
    .cg-tblbox,
    .cg-cts {
        width: 88%;
        margin-left: 6%;
    }

    .cou-bg::after {
        content: "";
        display: block;
        width: 100%;
        height: 400px;
        /*192px*/
        background: -moz-linear-gradient(top, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 1) 30%, rgba(255, 255, 255, 1) 100%);
        background: -webkit-linear-gradient(top, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 1) 30%, rgba(255, 255, 255, 1) 100%);
        background: linear-gradient(to bottom, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 1) 30%, rgba(255, 255, 255, 1) 100%);
        position: absolute;
        top: 34vw;
        left: 0px;

    }
    .cg-cts {
        z-index: 30;
    }

    .cg-ft {
        margin-top: 40px;
    }
    /*    .cg-cellbox a::before,
.cg-cellbox a.cg-nav1::before{
    left:30%;
}*/
}

/*end min-width: 960px*/

@media (min-width: 1280px) {
    /* lg */
    .cg-ft {
        margin-bottom: 80px;
    }

}

/*end min-width: 1280px*/


@media (min-width: 1472px) {

    .cg-tblbox,
    .cg-cts {
        width: 1280px;
        margin-left: auto;
        margin-right: auto;
    }
    #y-cts .cou-bg {
    background: transparent url(../img/yachiyo/y-course/cou-bg-y.jpg) 0vw -12vw / 100% auto no-repeat;
}
}

/*end min-width: 1472px*/



@media (min-width: 1600px) {
    /* xl */
    .cou-bg::after {
        content: "";
        display: block;
        width: 100%;
        height: 1200px;
        background: -moz-linear-gradient(top, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 1) 10%, rgba(255, 255, 255, 1) 100%);
        background: -webkit-linear-gradient(top, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 1) 10%, rgba(255, 255, 255, 1) 100%);
        background: linear-gradient(to bottom, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 1) 10%, rgba(255, 255, 255, 1) 100%);
    }
#g-cts .cou-bg {
    background: transparent url(../img/geihinkan/g-course/cou-bg-g.jpg) 0vw -2vw / 100% auto no-repeat;
}

}

/*end min-width: 1600px*/

@media (min-width: 1870px) {
#g-cts .cou-bg {
    background: transparent url(../img/geihinkan/g-course/cou-bg-g.jpg) 0vw -4vw / 100% auto no-repeat;
}

}

/*end min-width: 1870px*/