@charset "utf-8";

.cont .container {
    width: 100%;
}

.cont .primary .inner {
    width: 1040px;
    margin: auto;
}

.deco {
    text-align: center;
}

@media only screen and (max-width: 768px) {
    .primary {
        width: 100%;
    }

    .cont .container {}

    .cont .primary .inner {
        width: 90.625%;
    }

    .deco {}
}

/*============================
スライド
============================*/

#slide {
    background: url(../images/bg_penki.png)no-repeat top center;
    background-size: cover;
    padding-bottom: 100px;
}

#slide h2 {
    line-height: 1.5;
}

/*ギャラリー*/

#service .gallery {}

/*IE11対策
-----------------------------*/

_:-ms-lang(x)::-ms-backdrop,
.slide {
    display: -ms-grid;
    overflow: hidden;
}

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

.slide_wrap {
    display: flex;
    overflow: hidden;
}

.slide_list {
    display: flex;
    list-style: none;
}

.rigth-to-left {
    animation: infinity-scroll-left 90s infinite linear 0.5s both;
}

/*右から左へ*/

@keyframes infinity-scroll-left {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-100%);
    }
}

.slide_item {
    width: 100%;
    min-width: 400px;
    height: 400px;
    margin-right: 40px;
    border-radius: 50px;
    overflow: hidden;
}

.slide_item:nth-child(even) {
    margin-top: 80px;
}

.slide_item > img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

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

    #slide {
        padding-bottom: 60px;
    }

    #slide h2 {
        text-align: left;
        font-size: 18px;
        width: 90.625%;
        margin: 0 auto 20px;
    }

    /*ギャラリー*/
    #service .gallery {}

    .slide_wrap {}

    .slide_list {}

    .rigth-to-left {}

    .slide_item {
        width: 100%;
        min-width: 250px;
        height: 200px;
        margin-right: 20px;
    }

    .slide_item:nth-child(even) {
        margin-top: 40px;
    }

    .slide_item > img {}
}

/*============================
point
============================*/
#point {
    padding-top: 0;
}

#point .inner {}

#point .flex {
    align-items: center;
    position: relative;
}

#point .flex:not(:last-of-type) {
    margin-bottom: 40px;
}

#point .photo {
    width: 300px;
    height: 300px;
    background: var(--bg01-color);
    border-radius: 30px;
    overflow: hidden;
}

#point .photo img {
    width: 100%;
}

#point .num > p {
    background: var(--bg02-color);
    width: 200px;
    height: 200px;
    border-radius: 50%;
    display: block;
    position: absolute;
    left: 200px;
    top: calc(50% - 100px);
    text-align: center;
    font-family: "Josefin Sans", sans-serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
    font-size: 18px;
    line-height: 1.2;
    padding-top: 77px;
}

#point .num > p span {
    display: block;
    font-size: 28px;
}

#point dl {
    width: 500px;

}

#point dt {
    font-size: 20px;
    font-weight: 700;
    border-bottom: 1px solid var(--bg01-color);
    padding-bottom: 15px;
    margin-bottom: 15px;
}

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

    #point {}

    #point .inner {}

    #point .flex {}

    #point .flex:not(:last-of-type) {
        margin-bottom: 30px;
    }

    #point .photo {
        width: 100%;
        height: 0;
        padding-top: 80%;
        position: relative;
        margin-bottom: 10px;
    }

    #point .photo img {
        width: 100%;
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
    }

    #point .num > p {
        width: 100px;
        height: 100px;
        position: absolute;
        left: auto;
        right: 10px;
        top: 10px;
        font-size: 16px;
        padding-top: 30px;
    }

    #point .num > p span {
        font-size: 28px;
    }

    #point dl {
        width: 100%;
    }

    #point dt {
        font-size: 18px;
        padding-bottom: 10px;
        margin-bottom: 10px;
    }
}


/*============================
募集要項
============================*/

#recruit_info .inner {
    overflow: visible;
}

@media only screen and (max-width: 768px) {}
