@charset "UTF-8";
/* http://meyerweb.com/eric/tools/css/reset/
   v2.0 | 20110126
   License: none (public domain)
*/
* {
  box-sizing: border-box;
}

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
}

/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
  display: block;
}

body {
  line-height: 1;
}

a {
  text-decoration: none;
  color: inherit;
}

ol, ul {
  list-style: none;
}

blockquote, q {
  quotes: none;
}

blockquote:before, blockquote:after,
q:before, q:after {
  content: '';
  content: none;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
}

input,
button,
select {
  border: none;
  padding: 0;
  margin: 0;
  display: block;
  border-radius: 0;
}

button {
  background-color: transparent;
  border: none;
  width: 100%;
  outline: none;
  cursor: pointer;
}

button:focus {
  outline: none;
}

@media print {
  body {
    display: none !important;
  }
}

html body#viewer {
  background-color: #fff;
}

html, body {
  font-family: "ヒラギノ角ゴ Pro", "Hiragino Kaku Gothic Pro", "メイリオ", "ＭＳ Ｐゴシック", "MS PGothic", Meiryo, Osaka, sans-serif;
  font-size: 16px;
  width: 100%;
  height: 100%;
  margin: 0;
  //min-width: 1000px;
  position: relative;
}

body {
  color: #fff;
  margin: 0;
  padding: 0;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  -ms-content-zooming: none;
}

img, svg {
  max-width: 100%;
}

a:focus, *:focus {
  outline: none;
}

#loading {
  position: absolute;
  z-index: 100;
  width: 100%;
  height: 100%;
  background-color: #fff;
}

span.loading {
  position: absolute;
  top: 50%;
  left: 50%;
  display: inline-block;
  width: 50px;
  height: 5px;
  margin: -25px;
  border: 1px solid #999;
  overflow: hidden;
  border-radius: 5px;
  background-repeat: repeat-x;
  background-size: 10px 100%;
  background-image: -webkit-gradient(linear, left bottom, right top, from(#999), color-stop(0.3, #999), color-stop(0.31, transparent), to(transparent)), -webkit-gradient(linear, left bottom, right top, from(transparent), color-stop(0.69, transparent), color-stop(0.7, #999), to(#999));
  background-image: -webkit-linear-gradient(20deg, #999 3px, transparent 0), -webkit-linear-gradient(200deg, #999 3px, transparent 0);
  background-image: linear-gradient(70deg, #999 3px, transparent 0), linear-gradient(250deg, #999 3px, transparent 0);
  vertical-align: middle;
  -webkit-animation: anim 1.5s linear infinite;
  animation: anim 1.5s linear infinite;
}

.wrapper {
  background-color: #cccccc;
  width: 880px;
  height: 650px;
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  margin: auto;
}

#viewer #wrap {
  width: 880px;
  height: 580px;
}


.pc { display: block !important; }
.sp { display: none !important; }
@media only screen and (max-width: 750px) {
  .pc { display: none !important; }
  .sp { display: block !important; }
}

.wrapper_video {
  width: 880px;
  float:left;
  position: absolute;
  padding: 1em;
  top: 50%;
  left: 50%;
  margin-right: -50%;
  transform: translate(-50%, -50%)
}

#viewer #wrap_video {
  background-color: #cccccc;
  text-align: center;
}

.wrapper_video_sp {
  width: 400px;
  float:left;
  position: absolute;
  padding: 1em;
  top: 50%;
  left: 50%;
  margin-right: -50%;
  transform: translate(-50%, -50%)
}

#viewer #wrap_video_sp {
  background-color: #cccccc;
  text-align: center;
}

#viewer #my-video_sp {
  width: 380px;
}


#panzoom {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  z-index: 2;
}

#panzoom img {
  position: absolute;
  top: 50%;
  left: 50%;
  max-width: none;
  transform: translate(-50%, -50%);
  z-index: 3;
}

.popup {
  position: absolute;
  bottom: 55px;
  left: 50%;
  background-color: #fff;
  box-shadow: 0 0 7px rgba(0, 0, 0, 0.5);
  border-radius: 4px;
  transform: translateX(-50%);
  animation-fill-mode: forwards;
}

.popup.active {
  animation-duration: 0.5s;
  animation-name: fade-in;
}

.popup.deactive {
  animation-duration: 0.5s;
  animation-name: fade-out;
}

.popup:after {
  position: absolute;
  top: 100%;
  left: 50%;
  margin-left: -10px;
  display: block;
  content: "";
  width: 20px;
  height: 20px;
  background-color: #fff;
  transform-origin: 50% 50%;
  transform: rotate(-45deg);
  overflow: hidden;
  margin-top: -15px;
  box-shadow: -5px 5px 5px -3px rgba(0, 0, 0, 0.1);
}

.box-tool-viewer {
  height: 40px;
  width: 100%;
  background: linear-gradient(#8e8e8e, #282828);
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#8e8e8e', endColorstr='#282828', GradientType=0);
  /* IE7,8,9 */
  z-index: 20;
}

.box-tool-viewer > ul {
  width: 124px;
  margin: auto auto;
}

.box-tool-viewer > ul > li {
  float: left;
  position: relative;
  max-width: 40px;
  min-width: 40px;
  border-left: 1px solid rgba(255, 255, 255, 0.3);
}

.box-tool-viewer > ul > li:last-child {
  border-right: 1px solid rgba(255, 255, 255, 0.3);
}

.box-tool-viewer > ul > li.disable:after {
  display: block;
  position: absolute;
  content: "";
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  z-index: 100;
  background-color: rgba(221, 221, 221, 0.8);
}

.box-tool-viewer > ul > li > button {
  width: 40px;
  height: 40px;
  text-align: center;
  line-height: 40px;
  color: #666;
}

.box-tool-viewer > ul > li > button:hover {
  opacity: 0.7;
  background-color: rgba(221, 221, 221, 0.3);
}

.box-tool-viewer > ul > li > button.deactive {
  opacity: 0.2;
  background-color: rgba(221, 221, 221, 0.3);
}

.box-tool-viewer > ul > li > button.deactive:hover {
  cursor: default;
}

.box-tool-viewer > ul > li > button img {
  width: 28px;
  vertical-align: middle;
}

.info {
  color: #000;
  font-size: 12px;
  text-align: center;
  background-color: #fff;
  padding-top: 12px;
  height: 36px;
}

.close_btn {
  width: 30px;
  position: absolute;
  font-size: 30px;
  right: 10px;
  top: 6px;
}
