@charset "UTF-8";
html {
  font-size: 62.5%;
}

* {
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  letter-spacing: 0.05em;
  line-height: 1.5;
}

body {
  background: white;
  margin: 0;
  /* 水色の背景 */
}

#myCanvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

/* ホットスポットアイコンのスタイル */
#hotspot-icon {
  position: absolute;
  background-color: rgba(255, 209, 209, 0.7);
  /* 薄いピンクの半透明 */
  border-radius: 50%;
  width: 45px;
  height: 45px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  font-size: 28px;
  cursor: pointer;
  -webkit-box-shadow: 0 0 8px rgba(0, 0, 0, 0.3);
          box-shadow: 0 0 8px rgba(0, 0, 0, 0.3);
  z-index: 1000;
  -webkit-transform: translate(-50%, -50%);
          transform: translate(-50%, -50%);
  -webkit-animation: pulse 1.5s infinite alternate;
          animation: pulse 1.5s infinite alternate;
  user-select: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
}

#hotspot-icon span {
  display: block;
  border-radius: 50%;
  width: 25px;
  height: 25px;
  background-color: #9e3535;
  /* 中央の濃い赤 */
}

/* ホットスポットアイコンのアニメーション */
@-webkit-keyframes pulse {
  from {
    -webkit-transform: translate(-50%, -50%) scale(1);
            transform: translate(-50%, -50%) scale(1);
    opacity: 1;
  }
  to {
    -webkit-transform: translate(-50%, -50%) scale(1.2);
            transform: translate(-50%, -50%) scale(1.2);
    opacity: 0.8;
  }
}
@keyframes pulse {
  from {
    -webkit-transform: translate(-50%, -50%) scale(1);
            transform: translate(-50%, -50%) scale(1);
    opacity: 1;
  }
  to {
    -webkit-transform: translate(-50%, -50%) scale(1.2);
            transform: translate(-50%, -50%) scale(1.2);
    opacity: 0.8;
  }
}
/* リセットボタンのスタイル */
#resetViewButton {
  position: absolute;
  top: 10px;
  left: 10px;
  background-color: rgba(255, 255, 255, 0.8);
  color: #333;
  border: none;
  border-radius: 8px;
  padding: 8px 15px;
  cursor: pointer;
  font-size: 14x;
  font-weight: bold;
  -webkit-box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
          box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
  z-index: 1000;
  /* ホットスポットと同じか、それより手前に表示 */
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  /* アイコンとテキストを横並びに */
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  gap: 8px;
  /* アイコンとテキストの間隔 */
  -webkit-transition: background-color 0.3s ease, -webkit-box-shadow 0.3s ease;
  transition: background-color 0.3s ease, -webkit-box-shadow 0.3s ease;
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
  transition: background-color 0.3s ease, box-shadow 0.3s ease, -webkit-box-shadow 0.3s ease;
  /* ホバーアニメーション */
}

#resetViewButton:hover {
  background-color: rgb(255, 255, 255);
  /* ホバーで不透明に */
  -webkit-box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
          box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
  /* ホバーで影を強調 */
}

#resetViewButton .icon {
  font-size: 20px;
  /* アイコンのサイズ */
}

#resetViewButton .text {
  font-size: 14px;
  /* テキストのサイズ */
}

.vr-wrapper {
  width: 100%;
  height: 0;
  padding-bottom: 56.25%;
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  background-color: #ADD8E6;
  z-index: 1;
}

.vr-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none; /* iframeのデフォルトの枠線を削除 */
}

.operation-guide {
  width: 100%;
  padding: 1em;
  border-radius: 8px;
  background-color: #f9f9f9;
}

.operation-guide .mouse-instructions {
  display: block;
}

.operation-guide .touch-instructions {
  display: none;
}

/* デフォルト：縦並び（〜1259px） */
.vr-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2em;
    width: 90%;
    max-width: 2000px;  /* ← 追加 */
    margin: 2em auto 0;
    align-items: start;
}

/* 1260px以上：横並び */
@media (min-width: 1260px) {
    .vr-container {
        grid-template-columns: 1fr 220px;
    }
}

/* 599px以下：vr-wrapperの縦比率変更 */
@media (max-width: 599px) {
    .vr-wrapper {
        padding-bottom: 130%;
    }
}

@media (max-width: 768px) {
  .operation-guide .mouse-instructions {
    display: none;
  }
  .operation-guide .touch-instructions {
    display: block;
  }
  .separate-containers .inside-article, .separate-containers .comments-area, .separate-containers .page-header, .separate-containers .paging-navigation, .one-container .site-content, .inside-page-header {
    padding: 0;
  }
}