/* 初始化 */

body {
    margin: 0;
    padding: 0;
}

* {
    box-sizing: border-box;
}

.w-100 {
    width: 100%;
}

.h-100 {
    height: 100%;
}

.vh-100 {
    height: 100vh;
}

.float-left {
    float: left;
}

.float-right {
    float: right;
}

.w-calc-100-50px {
    width: calc(100% - 50px);
}

.margin-0-auto {
    margin: 0 auto;
}

.border-radius {
    border-radius: 10px;
}

.cursor-pointer {
    cursor: pointer;
}

.d-flex {
    display: flex;
}

.flex-wrap-wrap {
    flex-wrap: wrap;
}

.justify-content-space-between {
    justify-content: space-between;
}

.justify-content-center {
    justify-content: center;
}

.align-item-center {
    align-items: center;
}

.padding-30px {
    padding: 30px 0;
}

.text-align-justify{
    text-align:justify;
}

.text-padding-0-30px{
    padding: 0 30px;
}

.mask{
    background-color: rgba(255, 255, 255, 0.3);
}

.opacity{
    opacity:0.7;
}

@media ( max-width:1500px) {}

@media ( max-width:1280px) {}

@media ( max-width:1140px) {}

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

/* 結構 */

/* NAV */
#nav-1 {
    position: fixed;
    z-index: 999999999;
    background-color: #013D64;
    width: 350px;
    height: 100vh;
}

.nav-container {
    width: 200px;
}

.logo{
    height: 200px;
    margin: 75px 0 30px 0;
    overflow: hidden;
}

.logo img{
    transform: scale(0.8,0.8);
    transition: all 1s ease-in-out;
}

.logo img:hover{
    transform: scale(1.0,1.0);
}

@media ( max-width:1500px) {
    #nav-1 {
        left: -300px;
    }
    #nav-1:hover {
        left: 0;
    }
}

@media ( max-width:1280px) {
    #nav-1 {
        width: 100%;
        height: 150px;
        left: 0;
        top: 0;
    }

    .nav-container {
        width: 1110px;
    }

    .logo {
        width: 100px;
        height: 100px;
        margin: 25px 0 25px 0;
        float: left;
        border-radius: 5px;
    }
}

@media ( max-width:1140px) {
    #nav-1 {
        height: 100px;
    }
    .nav-container {
        width: 730px;
    }

    .logo {
        width: 80px;
        height: 80px;
        margin: 10px 0 10px 0;
    }
}

@media ( max-width:768px) {
    #nav-1 {
        height: 80px;
        top: unset;
        bottom: 0;
    }
    .nav-container {
        width: 100%;
    }

    .logo {
        width: 60px;
        height: 60px;
    }
}

/* main */
main {
    margin-left: 350px;
    background-color: #F1F1EE;
}

@media ( max-width:1500px) {
    main {
        margin-left: 50px;
    }
}

@media ( max-width:1280px) {
    main {
        margin-left: 0;
        margin-top: 150px;
    }
}

@media ( max-width:1140px) {
    main {
        margin-top: 100px;
    }
}

@media ( max-width:768px) {
    main {
        margin-top: 0;
    }
}

.scrolltop {
    width: 50px;
    height: 50px;
    cursor: pointer;
    position: fixed;
    right: 50px;
    bottom: 50px;
    transition: .5s;
    opacity: 0;
}

@media ( max-width:768px) {
    .scrolltop {
        bottom: 150px;
    }
}

.scrolltop.active {
    opacity: 1;
}