/**
 * 全体
 */
#photos {
    padding-bottom: 80px;
}
#bridal-photo {
    width: 100%;
    min-height: 100vh;
    padding: 0;
    margin: 0 auto;
}
#photo-contents {
    display: block;
    width: 100%;
}
.hide {
    display: none !important;
}
#photos-left,
#photos-right {
    width: 100%;
    display: none;
}
#photos-left.active,
#photos-right.active {
    display: block;
}

/**
 * ヘッダー部
 */
#photo-header {
    height: auto;
    padding: 10px;
    margin-top: 0;
    margin-bottom: 10px;
}
#photo-header #photo-back-btn {
    position: absolute;
    top: 5px;
    right: 5px;
    width: 60px;
    height: 60px;
    display: block;
    padding: 10px;
    line-height: 1.0;
    white-space: nowrap;
}
#photo-header #photo-back-btn img {
    display: block;
    width: 20px;
    height: 20px;
    margin: 0 auto 5px;
    top: 0;
}

/**
 * スイッチ部
 */
#photo-switch {
    width: 100%;
    margin-bottom: 10px;
    display: flex;
    justify-content: space-around;
    flex-wrap: nowrap;
}
#photo-switch h5 {
    width: calc(50% - 10px);
    font-size: 16px;
    vertical-align: top;
    padding: 0;
    color: #B2B9C7;
    text-align: center;
    border-radius: 4px;
    border: 1px solid #B2B9C7;
    box-sizing: border-box;
    background-color: #DFDFDF;
    color: #B2B9C7;
    font-size: 16px;
    white-space: nowrap;
    height: 35px;
    line-height: 35px;
    cursor: pointer;
}
#photo-switch h5 img {
    vertical-align: top;
    width: 20px;
    height: 20px;
    display: inline-block;
    margin-right: 10px;
    position: relative;
    top: 5px;
}
#photo-switch h5.to-clip img {
    top: 7px;
}
#photo-switch h5.active {
    background-color: #fff;
}

/**
 * 画像ブロック
 */
#image-block-wrapper-clip .image-block {
    width: 33.3vw;
    height: 33.3vw;
    margin: 0;
    border: 1.5px solid #fafafa;
}
#image-block-wrapper-clip .image-block:nth-child(1), #image-block-wrapper-clip .image-block:nth-child(2), #image-block-wrapper-clip .image-block:nth-child(3) {
    /* ios safariでborder-bottomだと消えてしまう問題があったので対応 */
    border-top: none;
}
#image-block-wrapper-clip .image-block:nth-child(3n-2) {
    border-left: none;
}
#image-block-wrapper-clip .image-block:nth-child(3n) {
    width: 33.4vw;
    height: 33.3vw;
    border-right: none;
}

#image-block-wrapper-ranking .image-block {
    width: 33.3vw;
    height: 33.3vw;
    margin: 0;
    border: 1.5px solid #fafafa;
}
#image-block-wrapper-ranking .image-block:nth-child(1), #image-block-wrapper-ranking .image-block:nth-child(2), #image-block-wrapper-ranking .image-block:nth-child(3) {
    /* ios safariでborder-bottomだと消えてしまう問題があったので対応 */
    border-top: none;
}
#image-block-wrapper-ranking .image-block:nth-child(3n-2) {
    border-left: none;
}
#image-block-wrapper-ranking .image-block:nth-child(3n) {
    width: 33.4vw;
    height: 33.3vw;
    border-right: none;
}

/**
 * ポップアップはIndexと同一UIなのでそちらを読み込んで利用しています
 */
 