@charset "utf-8";

.home {
    background-color: #cddfe8;
}

.mainhd {
    width: 100%;
    height: calc(100vh - 70px);
    /*    max-height: 720px;*/
    /*    background-color:#cddfe8;*/
    position: fixed;
    top: 70px;
    left: 0;
    z-index: 1
}

.maincontents {
    /*    margin-top: 720px;*/
    margin-top: calc(100vh - 70px);
    background-color: #fff;
    position: relative;
    z-index: 2
}

.home .h2title {
    font-size: 1.8em;
    padding: 1em 0 2em
}

.home .h3title {
    font-size: 1.4em;
    padding: 1em 0 2em
}

/*keyframe animation */
@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}
@keyframes fadeIn2 {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}
@keyframes fadeOut {
    from {
        opacity: 1;
    }

    to {
        opacity: 0;
    }
}
@keyframes hellobound {
    0% {
        transform: translateY(-120px);
    }

    50% {
        transform: translateY(0);
    }

    75% {
        transform: translateY(-20px);
    }

    100% {
        transform: translateY(0);
    }
}

@keyframes scale15 {
    0% {
        transform: scale(1.5);
    }

    100% {
        transform: scale(1);
    }
}

@keyframes scale12 {
    0% {
        transform: scale(1.2);
    }

    100% {
        transform: scale(1);
    }
}

@keyframes hi {
    0% {
        transform: translateY(-400px);
    }

    100% {
        transform: translateY(0);
    }
}

@keyframes hirev {
    0% {
        transform: translateY(100px);
    }

    100% {
        transform: translateY(0);
    }
}

@keyframes scl {
    0% {
        transform: translateY(0px);
    }

    100% {
        transform: translateY(-60px);
    }
}

@keyframes sclarrowbound {
    0% {
        transform: translateY(-60px);
    }

    50% {
        transform: translateY(-50px);
    }

    100% {
        transform: translateY(-50px);
    }
}

.overview {
    position: relative;
}

.scrollbtn {
    position: absolute;
    top: 0;
    left: calc(50% - 45px);
    width: 90px;
    height: 90px;
    background-color: #fff;
    border-radius: 100%;
    animation: fadeIn 0.5s 3s both, scl 0.5s 3s, sclarrowbound 1s 3.5s alternate infinite;
}

.scrollbtn::before {
    content: 'SCROLL';
    display: block;
    text-align: center;
    font-size: 0.6em;
    color: #766e65;
    padding: 0.8em 0 0;
    font-family: 'Open Sans', sans-serif
}

.scrollbtn::after {
    content: '';
    position: absolute;
    top: 28px;
    left: calc(50% - 4px);
    width: 8px;
    height: 8px;
    border-left: 2px solid #766e65;
    border-bottom: 2px solid #766e65;
    transform: rotate(-45deg);
}

.overview .h2title,
.overview .lead,
.overview .h3title {
    opacity: 0;
}

.overview.on .h2title {
    animation: fadeIn 1s both, hirev 1s both;
}

.overview.on .lead {
    animation: fadeIn 1s .25s both, hirev 1s .25s both;
}

.overview.on .h3title {
    animation: fadeIn 1s .5s both, hirev 1s .5s both;
}

.overview .overview-wrp {
    max-width: 960px;
    margin: 1em auto;
    /*    opacity: 0;*/
}

.overview.on .overview-wrp {
    max-width: 960px;
    margin: 1em auto;
}

.overview li {
    text-align: left;
    width: 29%;
    padding-bottom: 5em;
    position: relative;
    color: #766e65;
}

.overview .thumb {
    width: 80%;
    padding-bottom: 80%;
    display: block;
    margin: 1em auto 2em;
    border-radius: 100%;
    background-color: #ede7df;
    position: relative;
    overflow: hidden;
    transform-origin: center center;
}

.overview.on li.ov1 .thumb {
    animation: fadeIn 1s .75s both, scale15 .5s .75s both;
}

.overview.on li.ov2 .thumb {
    animation: fadeIn 1s 1.25s both, scale15 .5s 1.25s both;
}

.overview.on li.ov3 .thumb {
    animation: fadeIn 1s 1.5s both, scale15 .5s 1.5s both;
}

.overview .thumb img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.overview li .btn {
    display: block;
    width: 100%;
    border-radius: 3em;
    margin: 0 auto;
    text-align: center;
    position: absolute;
    bottom: 1em;
    left: 0;
    border: none;
}

.info {
    background-color: #f9f9f9;
}

.info .info-wrp {
    width: 100%;
    max-width: 730px;
    margin: 0 auto;
}

.info .info-wrp li {
    /*
    border:1px solid #ccc;
    background-color:#fff;
*/
    border-bottom: 1px solid #ccc;
    padding: 1em 0;
    color: #766e65;
    position: relative;
    display: none;
    justify-content: space-between;
}

.info .info-wrp li.on {
    display: flex;
}

/*
.info .info-wrp li.off{
    display: none;
}
*/
.info .info-wrp .entrybody {
    width: calc(100% - 100px);
}

.info .info-wrp .entrytitle {
    font-size: 0.9em;
    text-align: left;
}

.info .info-wrp .date {
    display: block;
    width: 100%;
    text-align: center;
    font-size: 0.8em;
    padding: 0.5em 0;
    text-align: left;
}

.info .info-wrp .thumb {
    width: 80px;
    height: 80px;
    /*    padding-bottom: 60%;*/
    display: block;
    margin-right: 20px;
    ;
    background-color: #f3f3f3;
    position: relative;
    overflow: hidden;
}

.info .info-wrp .thumb img {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    object-fit: contain;
}

.info a.entrylink {
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.info a.infolink {
    display: block;
    font-size: 0.9em;
    text-decoration: underline;
}

@media screen and (max-width:736px) {
    #manegement .mainbg {
        height: calc(100vh - 120px);
    }

    .mainhd {
        height: calc(100vh - 120px);
        top: 60px;
    }

    .maincontents {
        margin-top: calc(100vh - 120px);
    }

    .scrollbtn {
        position: absolute;
        top: 0;
        left: calc(50% - 35px);
        width: 65px;
        height: 65px;
    }

    .scrollbtn::before {
        font-size: 0.4em;
    }

    .scrollbtn::after {
        content: '';
        position: absolute;
        top: 28px;
    }

    .home .h2title {
        font-size: 1.3em;
        padding: 0.5em 0 1em;
    }

    .home .h3title {
        font-size: 1.05em;
    }

    .home .lead {
        font-size: .95em;
        line-height: 1.6em;
    }

    .overview {}

    .overview-wrp li {
        width: 100%;
        padding: 20px;
    }

    .overview-wrp li p {
        font-size: 0.9em;
        padding-bottom: 1em;
    }

    .overview li .btn {
        position: static;
    }

    .tel {
        font-size: 2em;
        padding-bottom: 0.5em;
    }

    address {
        font-size: 0.8em;
        padding-top: 1em;
    }
}

/* teams e-prohect */
.teams_epro_bnr-wrp {
    width: 100%;
}

@keyframes bannerUp {
    from {
        opacity: 0;
        transform: translateY(4em);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes bannerDown {
    from {
        opacity: 1;
        transform: translateY(0);
    }

    to {
        opacity: 0;
        transform: translateY(4em);
    }
}

.teams_epro_bnr {
    width: calc(100% - 2em);
    max-width: 340px;
    color: #4652a2;
    background-color: #fff;
    position: fixed;
    bottom: 1em;
    right: 1em;
    z-index: 3;
    border-radius: 8px;
    box-shadow: 0 0 2px rgba(0, 0, 0, .4);
    /* opacity: 1; */
    opacity: 0;
    /* transform: translateY(0); */
    /* transform: translateY(4em); */
    /* transition: all .3s 0 ease; */
    /* animation: bannerUp .3s 4.2s forwards; */
    /* animation: bannerUp .3s 6s forwards; */
    animation: fadeIn 1.5s 5s forwards;
}

.teams_epro_bnr.up {
    /* opacity:0; */
    animation:none;
    animation: fadeIn2 1s 0s forwards;
    /* transition: all 1s ease; */
}

.teams_epro_bnr.down {
    animation: fadeOut 1s 0s forwards;
    /* transition: all 1s ease; */
}

@media screen and (max-width:767px) {
    .teams_epro_bnr {
        max-width: 32%;
    }
}

.teams_epro_bnr .logo {
    display: inline-block;
    width: 3.8em;
    margin-left: -5%;
    vertical-align: middle;
    transform: translateY(-3%);
}

.teams_epro_bnr .logo img {
    width: 100%;
    height: auto;
}

@media screen and (max-width:767px) {
    .teams_epro_bnr .logo {
        display:block;
        width: 3.2em;
        margin:0 auto;
        transform: translateY(0);
    }
}

.teams_epro_bnr .btn {
    color: #fff;
    border-radius: 3em;
    border: none;
    margin: 1.3em auto;
    transition: all .3s ease;
    opacity:0;
    animation: fadeIn 1s 6s forwards;
}
.teams_epro_bnr.up .btn{
    animation: fadeIn 1s 0s forwards;
}

.teams_epro_bnr.down .btn{
    animation: fadeOut 1s 0s forwards;
}

@media screen and (max-width:767px) {
    .teams_epro_bnr .btn {
        width: 86%;
        padding: .4em 1em;
        margin: 0 auto 1em;
        font-size: .75em;
        line-height: 1.5;
    }
}

.teams_epro_bnr .btn:hover {
    background-color: #222 !important;
}