/* common */
img {
    max-width: 100%;
}

ul {
    padding: 0;
    margin: 0;
    list-style: none;
}

#index, #gallery {
    background: #000;
}

#mb_nav ul {
    display: flex;
}

#mb_nav ul li img {
    width: 100%;
}

.contents-nav {
    padding: 30px 0;
    text-align: center;
}

.contents-nav .inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 30px;
}

.contents-nav h3 {
    margin: 0 0 20px;
}

#angle {
    border-bottom: 1px solid #363636;
}

#angle .flex a:nth-of-type(n+2) {
    margin-left: 6px;
}

#angle .flex a img {
    width: 100%;
}

#camera2 .flex a img {
    width: 100%;
}

#series-DSC-RX100 {
    margin: 0 30px 0 0;
}

#series-DSC-RX10 {
    margin: 0 42px 0 0;
}

@media screen and (max-width: 767px) {
    #angle {
        padding: 0;
    }

    #angle .inner {
        padding: 0;
    }

    #angle h3 {
        padding: 20px 0 0;
        margin: 0;
    }

    #angle h3 img {
        width: 40%;
    }

    #angle .inner .flex {
        border-top: 1px solid #363636;
        margin-top: 20px;
    }

    #camera2 {
        padding: 20px 0;
    }

    #camera2 .inner .flex {
        flex-wrap: wrap;
    }

    #camera2 .inner .flex a {
        flex: 0 1 34%;
        padding: 0 20px;
    }

    #camera2 .inner .flex a img {
        max-width: 100% width: 100%;
    }

    #camera2 #series-DSC-RX100 {
        margin: 0;
    }

    #camera2 #series-DSC-RX10 {
        margin: 0;
    }
}

@media screen and (max-width: 379px) {
    #camera2 .inner .flex a {
        flex: 0 1 33%;
        padding: 0 20px;
    }
}

@media screen and (max-width: 319px) {
    #camera2 .inner .flex a {
        flex: 0 1 32%;
        padding: 0 14px;
    }
}

/* index */
#index #mainvisual {
    height: 800px;
    border-bottom: 1px solid #3e3e3e;
    background: url(../img/bg_index.jpg) no-repeat top center;
    overflow: hidden;
}

#index #mainvisual .inner {
    max-width: 1150px;
    margin: 0 auto;
    position: relative;
}

#index #mainvisual .inner h1 {
    position: absolute;
    top: 180px;
    left: 0;
    right: 0;
    margin: 0;
    text-align: center;
    z-index: 1;
}

#index #mainvisual .inner h2 {
    position: absolute;
    top: 553px;
    left: 0;
    right: 0;
    margin: 0;
    text-align: center;
    z-index: 1;
}

@media screen and (max-width: 1149px) {
    #index #mainvisual {
        background: url(../img/bg_index_1150.jpg) no-repeat top center;
        background-size: contain;
        height: auto;
    }

    #index #mainvisual .inner h1 img {
        width: 66.08695%;
    }

    #index #mainvisual .inner h2 img {
        width: 42.86956%;
    }
}

@media screen and (max-width: 768px) {
    #index #mainvisual {
        background: none;
    }

    #index #mainvisual .inner h1, #index #mainvisual .inner h2 {
        position: static;
    }

    #index #mainvisual .inner h1 img {
        width: 100%;
    }

    #index #mainvisual .inner h2 img {
        width: 100%;
        padding-bottom: 3%;
    }

    #mb_nav ul {
        display: block;
    }

    #mb_nav a {
        vertical-align: top;
    }

    #mb_nav a img {
        width: 100%;
    }

    #index #mainvisual #moment, #index #mainvisual #twilight, #index #mainvisual #day, #index #mainvisual #night, #index #mainvisual #timeless {
        width: 100%;
        background: none;
    }
}

/* gallery */
#gallery .rx-tcc-logo a:nth-of-type(2) img {
    max-height: 50px;
    width: auto;
}

#theme {
    border-top: 1px solid #353535;
    border-bottom: 1px solid #353535;
}

#theme ul {
    max-width: 1150px;
    margin: 0 auto;
    background: transparent url(../img/bg_nav_gallery.jpg) no-repeat 0 0;
    background-size: contain;
    max-height: 162px;
}

#theme li {
    cursor: pointer;
}

#theme li img {
    width: 100%;
    height: auto;
    display: block;
}

#series {
    text-align: center;
    padding: 10px 0;
}

#model {
    text-align: center;
    margin: 0 auto 75px;
    background: url(../img/nav/nav_gallery_txt_bg.png) repeat-x;
    background-position: right bottom;
    padding: 5px 0 0;
    border-top: 1px solid #373737;
}

#gallery #model img {
    vertical-align: bottom;
}

#container {
    max-width: 1080px;
    margin: 0 auto;
    justify-content: flex-start;
}

#container .newIcon {
    display: none;
    position: absolute;
    top: -4px;
    left: -4px;
    z-index: 1;
}

#container .newIcon.displayOn {
    display: inline;
}

#container .imageBox a {
    vertical-align: top;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: .5s;
}

#container .imageBox a:hover {
    opacity: .5;
}

#container .imageBox a:hover .newIcon.displayOn {
    opacity: 1;
}

#container .imageBox {
    position: relative;
    overflow: hidden;
    border: 1px solid #4d4d4d;
    width: 304px;
    height: 304px;
    margin: 0 27px 90px;
}

#container .imageBox .imageData {
    position: absolute;
    max-width: initial;
    max-width: none;
    display: none;
}

#container .imageBox .horizontal {
    height: 100%;
    width: auto;
}

#container .imageBox .vertical {
    height: auto;
    width: 100%;
}

#cameraMenu .flex a img {
    width: 100%;
}

#nodata {
    margin-top: 132px;
    margin-bottom: 132px;
    text-align: center;
    color: #ccc;
    display: none;
}

@media screen and (max-width: 1099px) {
    #container {
        max-width: 720px;
    }
}

@media screen and (max-width: 767px) {
    #gallery #box {
        position: fixed;
        z-index: 1000;
        top: 0px;
        right: -320px;
        width: 320px;
        opacity: 0;
        height: 100%;
        background-color: #fff;
        box-shadow: rgba(0, 0, 0, .75) 4px 0px 25px 0px;
        overflow: auto;
        padding: 0px;
        transition: all 800ms ease 0s;
    }

    #gallery #box.active {
        right: 0px;
        opacity: 1;
    }

    #items .closeBtn {
        padding: 5px;
        cursor: pointer;
    }

    #items .item {
        position: relative;
        cursor: pointer;
        border-bottom: 1px solid #333;
        font-size: 1.2em;
        transition: all 500ms;
    }

    #items .item a {
        width: 100%;
        display: block;
        padding: 15px 0;
        background: transparent url() no-repeat right center;
        text-decoration: none;
        text-indent: 20px;
        color: #000;
    }

    #items .subhead {
        cursor: default !important;
        padding: 15px;
        background-color: #000;
        font-weight: bold;
        color: #fff;
    }

    #gallery .rx-tcc-logo {
        flex-wrap: wrap;
        text-align: inherit;
    }

    #gallery .rx-tcc-logo a:first-of-type {
        flex: 0 0 100%;
        margin-bottom: 20px;
        text-align: center;
    }

    #gallery .rx-tcc-logo a:nth-of-type(2) {
        flex: 0 0 50%;
    }

    #gallery .rx-tcc-logo a:nth-of-type(2) img {
        max-height: initial;
        max-height: none;
        width: 80%;
        height: auto;
    }

    #gallery .rx-tcc-logo #btn {
        flex: 0 0 40%;
        margin-top: 2%;
    }

    #gallery .rx-tcc-logo #btn img {
        width: 100%;
        height: auto;
        cursor: pointer;
    }

    #refine {
        margin-bottom: 30px;
        background: url(../img/sp/border_gallery_arrow.png) 0px bottom / contain no-repeat;
    }

    #refine .inner {
        padding: 20px 20px 15px;
    }

    #refine table {
        text-align: left;
        letter-spacing: .2em;
    }

    #refine table th {
        padding: 3px 20px 20px 0;
        background: url(../img/sp/icon_gallery_arrow_g.png) no-repeat right -1px;
        font-size: 12px;
        color: #ff0100;
    }

    #refine table td {
        padding: 3px 20px 20px 10px;
        font-size: 12px;
        color: #fff;
    }

    #container {
        max-width: 600px;
    }

    #container .imageBox {
        width: 270px;
        height: 270px;
        margin: 0 14px 40px;
    }

    #photogallery {
        padding: 0 5%;
    }

    #photogallery .photo {
        margin-bottom: 15%;
    }

    #photogallery .photo img {
        display: block;
        margin: 0 auto 2%;
    }

    #photogallery .photo p {
        background: transparent;
        line-height: 1.3em;
        letter-spacing: -.3px;
        color: #ccc;
    }

    #photogallery .photo p .new {
        position: relative;
        bottom: 1px;
        display: inline-block;
        height: 16px;
        margin: 0 3px 0 0;
        vertical-align: middle;
        line-height: 16px;
    }

    #photogallery .photo p small {
        font-size: .8em
    }

    .socialbtn {
        width: 100%;
        text-align: center;
        margin-top: 3%;
    }

    .socialbtn .facebook, .socialbtn .twitter {
        display: inline-block;
        width: 40%;
        margin: 0 3% 3%;
        overflow: hidden;
    }

    .productLink {
        font-size: .8em;
        padding: 5px 0;
    }

    #gallery .productLink img {
        display: inline;
        margin: 0 10px 0 0;
    }

    .productLink a, .productLink a:visited {
        display: flex;
        align-items: center;
        outline: none;
        color: #fff;
        padding: 0;
        text-decoration: none;
    }
}

/* モーダル表示部分 */
#lightcase-overlay {
    background: #000;
}

#lightcase-info {
    padding-top: 5px;
    width: 100%;
}

#lightcase-info #lightcase-sequenceInfo {
    color: #fff;
    text-align: right;
}

#lightcase-info #lightcase-title {
    color: #fff;
}

#lightcase-title .imgInfo {
    padding: 10px 0;
    align-items: center;
    justify-content: space-between;
}

#lightcase-title .imgInfo p {
    font-size: 14px;
    margin: 0;
}

#lightcase-title .imgInfo .imgInfoBtn {
    flex: 0 0 auto;
    margin-left: 10px;
}

#lightcase-title .imgInfo .imgInfoBtn .btnFb {
    margin-right: 10px;
}

#lightcase-title .rxInfo {
    border-top: 1px solid #5C5C5C;
    padding: 10px 0 0;
    justify-content: space-between;
}

#lightcase-title .rxInfo .rxTxt {
    padding-top: 20px;
    /* for IE */
    flex: 0 1 100%;
}

#lightcase-caption {
    display: none !important;
}

@media screen and (max-width: 767px) {
    #lightcase-overlay, #lightcase-case, .lightcase-icon-close, #lightcase-nav {
        display: none !important;
    }
}

@media screen and (min-width: 641px) {
    html[data-lc-type=image] #lightcase-content, html[data-lc-type=video] #lightcase-content {
        background-color: #000;
    }
}

/* photo.html */
#gallery.photo #cameraMenu {
    border-bottom: 1px solid #363636;
    margin-bottom: 40px;
}

#gallery.photo #container .item {
    display: block;
    margin: 0 auto;
    max-width: 960px;
}

#gallery.photo #container .item .photo-photo {
    display: block;
    margin: 0 auto 2%;
}

#gallery.photo #container .item .imgInfo p {
    font-size: 16px;
    line-height: 1.3em;
    letter-spacing: -0.3px;
    color: rgb(204, 204, 204);
    background: transparent;
}

#gallery.photo #container .item .imgInfo p span {
    font-size: .8em;
}

@media screen and (max-width: 1099px) {
    #gallery.photo #container {
        max-width: 960px;
        padding: 0 5%;
    }
}

@media screen and (max-width: 767px) {
    #gallery.photo #controls {
        display: none;
    }

    #gallery.photo #container .item .imgInfo {
        display: block;
    }
}
