 #header .close {
    margin-top: -17.5px;
}

#main {
    position: relative;
}

#main .title {
    margin-top: 50px;
    margin-bottom: 50px;
    text-align: center;
}

#main .title h2 {
    font-size: 24px;
    margin-bottom: 20px;
}

#main .title p {
    font-size: 14px;
    font-weight: bold;
    line-height: 1.7;
    padding: 0 10px;
    margin-bottom: 20px;
}

#main .title span {
    font-size: 16px;
    color: #333;
    font-family: Avenir, "Open Sans", "Helvetica Neue", Helvetica, Arial, Verdana, Roboto, 游ゴシック, "Yu Gothic", 游ゴシック体, YuGothic, "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "Meiryo UI", メイリオ, Meiryo, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
    font-weight: bold;
}

#main .title h2 br {
    display: none;
}

#main .container {
    max-width: 1180px;
    width: 100%;
    margin: 0 auto;
    padding: 0 90px;
    box-sizing: border-box;
}

#photos .photo+.photo {
    margin-top: 50px;
}

#photos .photo {
    -webkit-transition: opacity ease 1s;
    -moz-transition: opacity ease 1s;
    transition: opacity ease 1s;
    opacity: 0;
}

#photos .photo.active {
    opacity: 1;
}

#sNav {
    margin-top: 30px;
    position: relative;
    height: 13px;
}

#sNav>div {
    position: absolute;
    font-size: 12px;
}

#sNav .back {
    top: 0;
    left: 0;
}

#sNav .back a {
    padding-left: 10px;
}

#sNav .back a:after {
    content: '<';
    position: absolute;
    top: 0;
    left: 0;
}

#sNav .next {
    top: 0;
    right: 0;
}

#sNav .next a {
    padding-right: 10px;
}

#sNav .next a:after {
    content: '>';
    position: absolute;
    top: 0;
    right: 0;
}

#sNav br {
    display: none;
}

#sNav a {
    display: block;
    line-height: 1.5;
}

#nextback {
    position: fixed;
    width: 100%;
    top: 50%;
    left: 0;
    font-size: 12px;
    line-height: 2;
    opacity: 0;
    -webkit-transition: opacity ease 1s;
    -moz-transition: opacity ease 1s;
    transition: opacity ease 1s;
}

#nextback.end {
    opacity: 1;
}

#nextback a {
    display: block;
    -webkit-transition: ease .2s;
    -moz-transition: ease .2s;
    transition: ease .2s;
}

#nextback a:hover {
    color: #aa8420;
}

#nextback a:hover:after {
    color: #aa8420 !important;
}

#nextback .back {
    position: absolute;
    top: 0;
    left: 30px;
}

#nextback .back a {
    padding-left: 30px;
}

#nextback .back a:hover:after {
    left: -2%;
}

#nextback .back a:after {
    content: '';
    display: block;
    position: absolute;
    top: 50%;
    left: 0;
    margin-top: -20px;
    transform: rotate(-45deg);
    -moz-transform: rotate(-45deg);
    -webkit-transform: rotate(-45deg);
    -webkit-transition: ease .2s;
    -moz-transition: ease .2s;
    transition: ease .2s;
    width: 40px;
    height: 40px;
    color: #000;
    border-top: solid 2px;
    border-left: solid 2px;
}

#nextback .next {
    position: absolute;
    top: 0;
    right: 30px;
}

#nextback .next a {
    padding-right: 30px;
}

#nextback .next a:hover:after {
    right: -2%;
}

#nextback .next a:after {
    content: '';
    display: block;
    position: absolute;
    top: 50%;
    right: 0;
    margin-top: -20px;
    transform: rotate(45deg);
    -moz-transform: rotate(45deg);
    -webkit-transform: rotate(45deg);
    -webkit-transition: ease .2s;
    -moz-transition: ease .2s;
    transition: ease .2s;
    width: 40px;
    height: 40px;
    color: #000;
    border-top: solid 2px;
    border-right: solid 2px;
}

@media screen and (max-width: 1400px) {
    #nextback a {
        font-size: 0;
    }
}

@media screen and (max-width: 768px) {
    #main .container {
        max-width: none;
        padding: 0 15px;
    }
    #photos .photo+.photo {
        margin-top: 30px;
    }
    #nextback {
        display: none;
    }
    #sNav {
        height: 40px;
        margin-bottom: 20px;
    }
    #sNav br {
        display: inline-block;
    }
    #sNav .next a {
        padding-right: 20px;
    }
    #sNav .next a:after {
        content: '';
        display: block;
        position: absolute;
        top: 50%;
        right: 0;
        margin-top: -10px;
        transform: rotate(45deg);
        -moz-transform: rotate(45deg);
        -webkit-transform: rotate(45deg);
        -webkit-transition: ease .2s;
        -moz-transition: ease .2s;
        transition: ease .2s;
        width: 20px;
        height: 20px;
        color: #000;
        border-top: solid 2px;
        border-right: solid 2px;
    }
    #sNav .back a {
        padding-left: 20px;
    }
    #sNav .back a:after {
        content: '';
        display: block;
        position: absolute;
        top: 50%;
        left: 0;
        margin-top: -10px;
        transform: rotate(-45deg);
        -moz-transform: rotate(-45deg);
        -webkit-transform: rotate(-45deg);
        -webkit-transition: ease .2s;
        -moz-transition: ease .2s;
        transition: ease .2s;
        width: 20px;
        height: 20px;
        color: #000;
        border-top: solid 2px;
        border-left: solid 2px;
    }

    #main .title h2 {
        font-size: 15px;
    }

    #main .title p {
        font-size: 12px;
    }

}
