@charset "utf-8";
/*
*  photoswipe custom CSS
*/

.pswp {
    display: none;
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    overflow: hidden;
    touch-action: none;
    z-index: 1500;
    text-size-adjust: 100%;
    backface-visibility: hidden;
    outline: none;

    & img {
        max-width: none; 
    }  
}

.pswp * {
    box-sizing: border-box; 
}

/* style is added when JS option showHideOpacity is set to true */
.pswp--animate_opacity {
    /* 0.001, because opacity:0 doesn't trigger Paint action, which causes lag at start of transition */
    opacity: 0.001;
    will-change: opacity;
    /* for open/close transition */
    transition: opacity 333ms cubic-bezier(0.4, 0, 0.22, 1); 
}

.pswp--open {
    display: block; 
}

.pswp--zoom-allowed .pswp__img {
    cursor: zoom-in; 
}

.pswp--zoomed-in .pswp__img {
    cursor: grab; 
}

.pswp--dragging .pswp__img {
    cursor: grabbing; 
}

/*
	Background is added as a separate element.
	As animating opacity is much faster than animating rgba() background-color.
*/
.pswp__bg {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: #000;
    opacity: 0;
    transform: translateZ(0);
    backface-visibility: hidden;
    will-change: opacity; 
}

.pswp__scroll-wrap {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: hidden; 
}

.pswp__container,
.pswp__zoom-wrap {
    touch-action: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0; 
}

/* Prevent selection and tap highlights */
.pswp__container,
.pswp__img {
    user-select: none;
    -webkit-tap-highlight-color: transparent;
    -webkit-touch-callout: none; 
}

.pswp__zoom-wrap {
    position: absolute;
    width: 100%;
    transform-origin: left top;
    /* for open/close transition */
    transition: transform 333ms cubic-bezier(0.4, 0, 0.22, 1); 
}

.pswp__bg {
    will-change: opacity;
    /* for open/close transition */
    transition: opacity 333ms cubic-bezier(0.4, 0, 0.22, 1); 
}

.pswp--animated-in .pswp__bg,
.pswp--animated-in .pswp__zoom-wrap {
    transition: none; 
}

.pswp__container,
.pswp__zoom-wrap {
    backface-visibility: hidden; 
}

.pswp__item {
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    overflow: hidden; 
}

.pswp__img {
    position: absolute;
    width: auto;
    height: auto;
    top: 0;
    left: 0; 
}

/*
	stretched thumbnail or div placeholder element (see below)
	style is added to avoid flickering in webkit/blink when layers overlap
*/
.pswp__img--placeholder {
    backface-visibility: hidden; 
}

/*
	div element that matches size of large image
	large image loads on top of it
*/
.pswp__img--placeholder--blank {
    background: #222; 
}

/*
	Error message appears when image is not loaded
	(JS option errorMsg controls markup)
*/
.pswp__error-msg {
    position: absolute;
    left: 0;
    top: 50%;
    width: 100%;
    text-align: center;
    font-size: 14px;
    line-height: 16px;
    margin-top: -8px;
    color: #CCC; 

    & a {
        color: #CCC;
        text-decoration: underline; 
    }
}


/* スキンスタイル */
/*
	Buttons
*/
/* <button> css reset */
.pswp__button {
    width: 44px;
    height: 44px;
    position: relative;
    background: none;
    cursor: pointer;
    overflow: visible;
    -webkit-appearance: none;
    display: block;
    border: 0;
    padding: 0;
    margin: 0;
    float: right;
    opacity: 0.75;
    transition: opacity 0.2s;
    box-shadow: none;

    &:focus,
    &:hover {
        background: none !important;
        opacity: 1;
    }
    &:active {
        outline: none;
        opacity: 0.9; 
    }          
}

/* pswp__ui--over-close class it added when mouse is over element that should close gallery */
.pswp__ui--over-close .pswp__button--close {
    opacity: 1; 
}

.pswp__button,
.pswp__button--arrow--left:before,
.pswp__button--arrow--right:before {
    background: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAQgAAABYCAQAAACjBqE3AAAC6klEQVR4Xu3bzWoUQRSGYRGjxitwLe5cq4tkI3gFglfhwrswPwhuzMYgJJvM3rXgzRjIQhDdBTGfNX/d1TVV6e7pUzOp8X1gSOdU1Ud3n06T6WFu3QIAAAAAAAAAAAAAYJOp0n2ku9jqWK0/7Wqk77p0r5F2w9Hl5cotRrrt6ZHuYqtjtX50R0cu5EIn2nevC7d9pK1wVn+5covS1p628evFVsdq/ehYVzrU9uy3bbd9pePmnGXkyi1KW3vaxlPG66a6j3SjHbf0fVA7dLWdZq2vXLmFaWtM23hKuu3pkW505m7m87/iWYbuudqonrMMP7eqGeQiM9ei02q7uqh0qvP59nL8XK86OBeZuVvL3uynd6fRO1025/WVKxeZjd8FVNu2d4iTsGaRi8w0yvQ/hJdb1QxyCzO/Naa0jac0b7zdRrrRrhbfDRy42sDHSLlyC9PWmLbxlHTb0yNd6aOutOc9Lzhwvy+dVsuVW5S2xrSNXy+2OlbrR1vVE8W92RPFQRfYXK7coswPevGw0yPdxVbHav1NPnM416V7TT5zGLqnc7lyizE94NhBp0e6i62O1SwM3deUXLnILlfbcuUCAAAAAAAAAAAAAAAAAAAAAACsm/33JuwTsTL236yyT8RK2TbQNg1rYddEuySslU0jbVKwYtO2xYVz+wizfOHcDRc/4Hh1/cJm+cK5fYRZvnDuRosfcrw6jHVezWZvbVI2wOKJWKxYyJE5Zre3dkmFa56IHKdFd/UsR6713tqmFaw+EfanRI/1Wb+nuebZBSQWqm6Y5elwd4YP+uNn2+aP9zusDGWfWCj7dumBvnnXgSeciRvIulm6rS/+RVALZ+IGsm+Y3viZtXAebqC6VVZN00P9mkT91Ve91Qs9sUpGds1W2TRO+5OYMz2qKgapWIHFC2Cx0pfu66d7q/m6URuUiBWJNz9e7U6v9ENPwyqKEG98vNqVPul5WMN/TC/DCgAAAAAAAAAAAAAAQ/wDRyprqDm9Js0AAAAASUVORK5CYII=') 0 0 no-repeat;
    background-size: 264px 88px;
    width: 44px;
    height: 44px; 
}

@media (-webkit-min-device-pixel-ratio: 1.1), (-webkit-min-device-pixel-ratio: 1.09375), (min-resolution: 105dpi), (min-resolution: 1.1dppx) {
    /* Serve SVG sprite if browser supports SVG and resolution is more than 105dpi */
    .pswp--svg .pswp__button,
    .pswp--svg .pswp__button--arrow--left:before,
    .pswp--svg .pswp__button--arrow--right:before {
        background-image: url('data:image/svg+xml;charset=utf8,%3Csvg%20width%3D%22264%22%20height%3D%2288%22%20viewBox%3D%220%200%20264%2088%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Ctitle%3Edefault-skin%202%3C%2Ftitle%3E%3Cg%20fill%3D%22none%22%20fill-rule%3D%22evenodd%22%3E%3Cg%3E%3Cpath%20d%3D%22M67.002%2059.5v3.768c-6.307.84-9.184%205.75-10.002%209.732%202.22-2.83%205.564-5.098%2010.002-5.098V71.5L73%2065.585%2067.002%2059.5z%22%20id%3D%22Shape%22%20fill%3D%22%23fff%22%2F%3E%3Cg%20fill%3D%22%23fff%22%3E%3Cpath%20d%3D%22M13%2029v-5h2v3h3v2h-5zM13%2015h5v2h-3v3h-2v-5zM31%2015v5h-2v-3h-3v-2h5zM31%2029h-5v-2h3v-3h2v5z%22%20id%3D%22Shape%22%2F%3E%3C%2Fg%3E%3Cg%20fill%3D%22%23fff%22%3E%3Cpath%20d%3D%22M62%2024v5h-2v-3h-3v-2h5zM62%2020h-5v-2h3v-3h2v5zM70%2020v-5h2v3h3v2h-5zM70%2024h5v2h-3v3h-2v-5z%22%2F%3E%3C%2Fg%3E%3Cpath%20d%3D%22M20.586%2066l-5.656-5.656%201.414-1.414L22%2064.586l5.656-5.656%201.414%201.414L23.414%2066l5.656%205.656-1.414%201.414L22%2067.414l-5.656%205.656-1.414-1.414L20.586%2066z%22%20fill%3D%22%23fff%22%2F%3E%3Cpath%20d%3D%22M111.785%2065.03L110%2063.5l3-3.5h-10v-2h10l-3-3.5%201.785-1.468L117%2059l-5.215%206.03z%22%20fill%3D%22%23fff%22%2F%3E%3Cpath%20d%3D%22M152.215%2065.03L154%2063.5l-3-3.5h10v-2h-10l3-3.5-1.785-1.468L147%2059l5.215%206.03z%22%20fill%3D%22%23fff%22%2F%3E%3Cg%3E%3Cpath%20id%3D%22Rectangle-11%22%20fill%3D%22%23fff%22%20d%3D%22M160.957%2028.543l-3.25-3.25-1.413%201.414%203.25%203.25z%22%2F%3E%3Cpath%20d%3D%22M152.5%2027c3.038%200%205.5-2.462%205.5-5.5s-2.462-5.5-5.5-5.5-5.5%202.462-5.5%205.5%202.462%205.5%205.5%205.5z%22%20id%3D%22Oval-1%22%20stroke%3D%22%23fff%22%20stroke-width%3D%221.5%22%2F%3E%3Cpath%20fill%3D%22%23fff%22%20d%3D%22M150%2021h5v1h-5z%22%2F%3E%3C%2Fg%3E%3Cg%3E%3Cpath%20d%3D%22M116.957%2028.543l-1.414%201.414-3.25-3.25%201.414-1.414%203.25%203.25z%22%20fill%3D%22%23fff%22%2F%3E%3Cpath%20d%3D%22M108.5%2027c3.038%200%205.5-2.462%205.5-5.5s-2.462-5.5-5.5-5.5-5.5%202.462-5.5%205.5%202.462%205.5%205.5%205.5z%22%20stroke%3D%22%23fff%22%20stroke-width%3D%221.5%22%2F%3E%3Cpath%20fill%3D%22%23fff%22%20d%3D%22M106%2021h5v1h-5z%22%2F%3E%3Cpath%20fill%3D%22%23fff%22%20d%3D%22M109.043%2019.008l-.085%205-1-.017.085-5z%22%2F%3E%3C%2Fg%3E%3C%2Fg%3E%3C%2Fg%3E%3C%2Fsvg%3E'); 
    }
    .pswp--svg .pswp__button--arrow--left,
    .pswp--svg .pswp__button--arrow--right {
        background: none; 
    } 
}

.pswp__button--close {
    background-position: 0 -44px; 
}

.pswp__button--fs {
    display: none; 
}

.pswp--supports-fs .pswp__button--fs {
    display: block; 
}

.pswp--fs .pswp__button--fs {
    background-position: -44px 0; 
}

.pswp__button--zoom {
    display: none;
    background-position: -88px 0; 
}

.pswp--zoom-allowed .pswp__button--zoom {
    display: block; 
}

.pswp--zoomed-in .pswp__button--zoom {
    background-position: -132px 0; 
}

/* no arrows on touch screens */
.pswp--touch .pswp__button--arrow--left,
.pswp--touch .pswp__button--arrow--right {
    visibility: hidden; 
}

/*
	Arrow buttons hit area
	(icon is added to :before pseudo-element)
*/
.pswp__button--arrow--left,
.pswp__button--arrow--right {
    background: none;
    top: 50%;
    margin-top: -50px;
    width: 70px;
    height: 100px;
    position: absolute; 
}
.pswp__button--arrow--left {
    left: 0; 
}
.pswp__button--arrow--right {
    right: 0; 
}

.pswp__button--arrow--left:before,
.pswp__button--arrow--right:before {
    content: '';
    top: 35px;
    background-color: rgba(0, 0, 0, 0.3);
    height: 30px;
    width: 32px;
    position: absolute; 
}
.pswp__button--arrow--left:before {
    left: 6px;
    background-position: -138px -44px; 
}
.pswp__button--arrow--right:before {
    right: 6px;
    background-position: -94px -44px; 
}

/*
	Index indicator ("1 of X" counter)
*/
.pswp__counter {
    position: absolute;
    left: 0;
    top: 0;
    height: 44px;
    font-size: 13px;
    line-height: 44px;
    color: #FFF;
    opacity: 0.75;
    padding: 0 10px; 
}

/*
	Caption
*/
.pswp__caption {
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    min-height: 44px; 

    & small {
        font-size: 11px;
        color: #BBB; 
    }
}

.pswp__caption__center {
    text-align: left;
    max-width: 420px;
    margin: 0 auto;
    font-size: 13px;
    padding: 10px;
    line-height: 20px;
    color: #CCC; 
}

.pswp__caption--empty {
    display: none; 
}

/* Fake caption element, used to calculate height of next/prev image */
.pswp__caption--fake {
    visibility: hidden; 
}

/*
	Additional styles
*/
/* root element of UI */
.pswp__ui {
    visibility: visible;
    opacity: 1;
    z-index: 1550; 
}

/* top black bar with buttons and "1 of X" indicator */
.pswp__top-bar {
    position: absolute;
    left: 0;
    top: 0;
    height: 44px;
    width: 100%; 
}

.pswp__caption,
.pswp__top-bar,
.pswp--has_mouse .pswp__button--arrow--left,
.pswp--has_mouse .pswp__button--arrow--right {
    backface-visibility: hidden;
    will-change: opacity;
    transition: opacity 333ms cubic-bezier(0.4, 0, 0.22, 1); 
}

/* pswp--has_mouse class is added only when two subsequent mousemove events occur */
.pswp--has_mouse .pswp__button--arrow--left,
.pswp--has_mouse .pswp__button--arrow--right {
    visibility: visible; 
}

.pswp__top-bar,
.pswp__caption {
    background-color: rgba(0, 0, 0, 0.5); 
}

/* pswp__ui--fit class is added when main image "fits" between top bar and bottom bar (caption) */
.pswp__ui--fit .pswp__top-bar,
.pswp__ui--fit .pswp__caption {
    background-color: rgba(0, 0, 0, 0.3); 
}

/* pswp__ui--idle class is added when mouse isn't moving for several seconds (JS option timeToIdle) */
.pswp__ui--idle .pswp__top-bar {
    opacity: 0; 
}

.pswp__ui--idle .pswp__button--arrow--left,
.pswp__ui--idle .pswp__button--arrow--right {
    opacity: 0; 
}

/*
	pswp__ui--hidden class is added when controls are hidden
	e.g. when user taps to toggle visibility of controls
*/
.pswp__ui--hidden .pswp__top-bar,
.pswp__ui--hidden .pswp__caption,
.pswp__ui--hidden .pswp__button--arrow--left,
.pswp__ui--hidden .pswp__button--arrow--right {
    /* Force paint & create composition layer for controls. */
    opacity: 0.001; 
}

/* pswp__ui--one-slide class is added when there is just one item in gallery */
.pswp__ui--one-slide .pswp__button--arrow--left,
.pswp__ui--one-slide .pswp__button--arrow--right,
.pswp__ui--one-slide .pswp__counter {
    display: none; 
}

.pswp__element--disabled {
    display: none !important; 
}

.pswp--minimal--dark .pswp__top-bar {
    background: none; 
}
