@charset "UTF-8";
/*
$black: #221E1D;
$dblack:#0A0606;
$blue:  #247090;
$skyb:  #59AAD3;
$l-skyb: #00b3ff15;
$l-skyb2:#EFF8FC;
$gray:  #8F999F;
$l-gray:#D5D5D5;
*/
* {
  box-sizing: border-box;
}

html {
  font-size: 10px;
}

body {
  margin: 0;
  background: #fff;
  color: #ccc;
  font-size: 1.6rem;
  letter-spacing: 0.1em;
}

.container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100vh;
  padding: 0;
  background-color: #fff;
}

.outer {
  position: relative;
  width: clamp(300px, 100%, 600px);
  height: 420px;
  overflow: hidden;
  border: 1px solid #ccc;
  border-radius: 0;
  background-color: #b1b1b1;
}

#panzoom {
  display: flex;
  position: relative;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
}

#panzoom .inner {
  position: relative;
}

#panzoom img {
  width: auto;
  height: auto;
  vertical-align: bottom;
}

.bg {
  position: absolute;
  pointer-events: none;
  transition: opacity 0.3s ease-in-out; /* フェードアニメーションを追加 */
  opacity: 1; /* 初期は表示 */
}

.zoom {
  position: absolute;
  right: 6px;
  bottom: 6px;
}

#compass {
  position: absolute;
  top: 6px;
  left: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
}
#compass img {
  -o-object-fit: cover;
     object-fit: cover;
  width: 100%;
}

.zoom > * {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  margin: 2px;
  color: #fff;
  line-height: 1;
  letter-spacing: 0;
  cursor: pointer;
}
.zoom > * img {
  -o-object-fit: cover;
     object-fit: cover;
  width: 100%;
}

.print {
  display: flex;
}

@media screen and (min-width: 768px) {
  .container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100vh;
    margin: 0;
    padding: 1em;
    background-color: #fff;
  }
  .outer {
    position: relative;
    width: clamp(300px, 100%, 600px);
    height: 420px;
    overflow: hidden;
    border: 1px solid #ccc;
    border-radius: 5px;
    background-color: #eee;
  }
}