@charset "utf-8";
@import url(http://fonts.googleapis.com/css?family=Righteous);

body {
    font-family: "Righteous";
}

#header {
    width: 100%;
    height: 80px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    padding: 0px 30px;
    box-sizing: border-box;

    position: fixed;
    z-index: 2;
}

#header img {
    width: 100px;
    height: 15px;
}

#header .sns {
    width: 80px;
    display: flex;
    justify-content: space-between;

    color: #777;
}

#nav {
    position: fixed;

    width: 180px;
    height: 200px;

    left: 0;
    top: 300px;

    font-size: 19px;
    z-index: 3;
}

#nav li {
    position: relative;

    margin-bottom: 30px;
    text-align: end;

    cursor: pointer;
}

#nav li.on {
    color: red;
    font-weight: bold;
    font-size: 22px;
}

#nav li::before {
    content: " ";
    position: absolute;
    width: 100%;
    height: 2px;

    left: 0;
    top: -5px;

    background-color: red;
    z-index: 4;
}

#wrap {
    width: 100%;
    height: 100%;
    z-index: 1;
}

#wrap .contents {
    width: 100%;
    height: 700px;

    background-position: right center;
    background-repeat: no-repeat;
    background-size: cover;
    background-attachment: fixed;

    overflow: hidden;
    transition: all 0.5s;
    position: relative;
}

#wrap .contents img {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0.5;
}

#wrap .contents img:nth-child(1) {
    bottom: 20px;
    right: 20px;
}

#wrap .contents img:nth-child(2) {
    bottom: -40px;
    right: 130px;
}

#wrap .contents img:nth-child(3) {
    top: 180px;
    right: 60px;
}

#wrap .contents:nth-child(1) {
    background-image: url("../img/bg1.jpg");
}

#wrap .contents:nth-child(2) {
    background-image: url("../img/bg2.jpg");
}

#wrap .contents:nth-child(3) {
    background-image: url("../img/bg3.jpg");
}

#wrap .contents:nth-child(4) {
    background-image: url("../img/bg4.jpg");
}
