/**
 ---------------------
 interior-360
 ---------------------
**/

.s-interior.s-interior__4 {
  padding: 0;
}

#interiorView {
  position: absolute;
  width: 100%;
  height: 100%;
}

/* header */
#interiorView .header {
  display: flex;
  align-items: flex-end;
  height: 7.4vw;
  padding-bottom: 1vw;
  padding-left: 4.61vw;
  font-size: 1.5vw;
  letter-spacing: 0.06em;
}

/* stageWrap */
#interiorView .stageWrap {
  position: relative;
  width: 100%;
  padding-top: 56.25%;
}

#interiorView .stageWrap::before {
  content: '';
  position: absolute;
  top: 2vw;
  left: 3vw;
  width: 5vw;
  aspect-ratio: 1;
  background-image: url(../../IMAGES/interior/interior360/rotate_360.png);
  background-repeat: no-repeat;
  background-size: contain;
  background-position: top;
  z-index: 10;
  pointer-events: none;
}

#interiorView .stageWrap canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  cursor: -webkit-grab;
  cursor: grab;
}

#interiorView .stageWrap .stage-label {
  position: absolute;
  bottom: 22px;
  right: 22px;
  display: inline-block;
  padding: 8px 16px;
  color: #fff;
  font-size: 18px;
  background-color: rgba(0, 0, 0, 0.5);
}

#interiorView .stageWrap .stage-label > span {
  font-size: 14px;
  font-weight: 700;
}

#interiorView .stageWrap .stage-tooltip {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  overflow: hidden;
  pointer-events: none;
}

#interiorView .stageWrap .stage-tooltip li {
  position: absolute;
  left: 0;
  top: 0;
  will-change: transform;
  -webkit-animation: flash 1.6s linear infinite;
  animation: flash 1.6s linear infinite;
}

#interiorView .stageWrap .stage-tooltip li img {
  width: 70px;
  height: 70px;
  transform: translate(-50%, -50%);
  transition: 0.2s ease-out all;
  will-change: transform;
  pointer-events: auto;
  cursor: pointer;
}

#interiorView .stageWrap .stage-tooltip li img:hover {
  transform: translate(-50%, -50%) scale(1.2);
}

/**
 * sub
**/
#interiorView .sub {
  position: relative;
  padding: 1.8vw 4.61vw 0;
}
#interiorView .subWrap {
  display: flex;
  gap: 3.24vw;
  width: 100%;
}
#interiorView .grades {
  width: 11.6vw;
  flex-shrink: 0;
  flex-grow: 0;
}
#interiorView .colors {
}

/**
 * grades
**/
#interiorView .grades .category {
  font-size: 1.01vw;
  letter-spacing: 0.1em;
}
#interiorView .grades .select {
  position: relative;
  margin-top: 1vw;
  width: 100%;
}
#interiorView .grades .select:after {
  content: '';
  position: absolute;
  z-index: 2;
  right: 1vw;
  top: 50%;
  display: block;
  width: 8px;
  aspect-ratio: 12 / 8;
  transform: translateY(-50%);
  background-image: url(../../IMAGES/exterior/bodyColor/down_white.png);
  background-repeat: no-repeat;
  background-size: contain;
}
#interiorView .grades select {
  position: relative;
  z-index: 1;
  appearance: none;
  -moz-appearance: none;
  -webkit-appearance: none;
  width: 100%;
  padding: 0.8rem 1.5rem;
  border: 1px solid #000;
  border-radius: 0;
  outline: none;
  font-size: 1.01vw;
  line-height: 1.1;
  color: #fff;
  background-color: #000;
}

/* #interiorView .buttonWrap {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding-bottom: 2vw;
  margin-top: 1vw;
}

#interiorView .button {
  position: relative;
  width: 100%;
  height: 2vw;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #eee;
  color: #000;
  cursor: pointer;
  pointer-events: auto;
  transition: background-color 0.2s ease, color 0.2s ease;
}

#interiorView .button::before {
  content: '';
  position: absolute;
  bottom: 0.1vw;
  left: 50%;
  width: 2.2vw;
  aspect-ratio: 2 / 1;
  background-image: url(../../IMAGES/interior/interior360/rotate_tri.svg);
  background-repeat: no-repeat;
  background-size: contain;
  transform: translate(-50%, 100%);
  opacity: 0;
  transition: opacity 0.2s ease;
}

#interiorView .button > span {
  position: relative;
  display: inline-block;
  font-size: 1.29vw;
  text-align: center;
  line-height: 1.3;
}

#interiorView .button > span::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 0;
  width: 4vw;
  aspect-ratio: 210 / 147;
  background-image: url(../../IMAGES/interior/interior360/rotate_eye.svg);
  background-repeat: no-repeat;
  background-size: contain;
  transform: translate(0, -50%);
  opacity: 0;
  transition: opacity 0.2s ease;
}

#interiorView .button > span > span {
  font-size: 1.29vw;
}

#interiorView .button > span small {
  font-size: 1.01vw;
  white-space: nowrap;
  line-height: 1.2;
}

#interiorView .button.active {
  pointer-events: none;
  color: #fff;
  background-color: #343434;
}

#interiorView .button.active::before {
  opacity: 1;
} */

/**
 * colors
**/
#interiorView .colors {
  display: none;
}

#interiorView[data-grade='M1'] .colors[data-grade='M1'],
#interiorView[data-grade='M2'] .colors[data-grade='M2'] {
  display: block;
}

#interiorView .colors .category {
  font-size: 1.01vw;
  letter-spacing: 0.1em;
}
#interiorView .colorsWrap {
  margin-top: 1vw;
  display: flex;
  flex-direction: column;
  gap: 1vw;
}
#interiorView .colorsWrap dl {
  display: flex;
  gap: 1vw;
}
#interiorView .colorsWrap dt {
  width: 10.4vw;
  flex-shrink: 0;
  flex-grow: 0;
  aspect-ratio: 225 / 106;
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
}
#interiorView .colors[data-grade='M1'] .colorsWrap dl:nth-child(1) dt {
  background-image: url(../../IMAGES/interior/interior360/colors_1.png);
}
#interiorView .colors[data-grade='M1'] .colorsWrap dl:nth-child(2) dt {
  background-image: url(../../IMAGES/interior/interior360/colors_2.png);
}
#interiorView .colors[data-grade='M2'] .colorsWrap dl:nth-child(1) dt {
  background-image: url(../../IMAGES/interior/interior360/colors_3.png);
}
#interiorView .colors[data-grade='M2'] .colorsWrap dl:nth-child(2) dt {
  background-image: url(../../IMAGES/interior/interior360/colors_4.png);
}
#interiorView .colorsWrap dd {
  font-size: 1.01vw;
  line-height: 1.4;
}

/**
 * modal
**/
/* #interiorView .stage-modal {
  display: none;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  z-index: 11;
}

#interiorView .stage-modal .stage-modal-close {
  position: absolute;
  right: 0;
  top: 0;
  cursor: pointer;
  transition: 0.2s ease-out all;
}

#interiorView .stage-modal .stage-modal-close:hover {
  opacity: 0.6;
}

#interiorView .stage-modal .stage-modal-left {
  position: absolute;
  left: 40px;
  top: calc(50% - 100px);
  cursor: pointer;
  background: url(../../IMAGES/interior/interior360/left-btn_on.svg) center center/cover;
}

#interiorView .stage-modal .stage-modal-left:hover img {
  opacity: 0;
}

#interiorView .stage-modal .stage-modal-left img {
  transition: 0.2s ease-out all;
}

#interiorView .stage-modal .stage-modal-right {
  position: absolute;
  right: 40px;
  top: calc(50% - 100px);
  cursor: pointer;
  transition: 0.2s ease-out all;
  background: url(../../IMAGES/interior/interior360/right-btn_on.svg) center center/cover;
}

#interiorView .stage-modal .stage-modal-right:hover img {
  opacity: 0;
}

#interiorView .stage-modal .stage-modal-right img {
  transition: 0.2s ease-out all;
}

#interiorView .stage-modal .stage-modal-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #fff;
  opacity: 0;
  transition: 0.1s ease-out all;
}

#interiorView .stage-modal .stage-modal-content.-left {
  transform: translate(-53%, -50%);
}

#interiorView .stage-modal .stage-modal-content.-left.-show {
  transform: translate(-50%, -50%);
}

#interiorView .stage-modal .stage-modal-content.-right {
  transform: translate(-47%, -50%);
}

#interiorView .stage-modal .stage-modal-content.-right.-show {
  transform: translate(-50%, -50%);
}

#interiorView .stage-modal .stage-modal-content.-show {
  transition: 0.4s ease-out all;
  opacity: 1;
}

#interiorView .stage-modal .stage-modal-content .stage-modal-media {
  width: 53.34vw;
  max-width: 800px;
  height: 30vw;
  max-height: 450px;
  background: #ccc;
  margin-bottom: 18px;
}

#interiorView .stage-modal .stage-modal-content .stage-modal-media iframe {
  width: 100%;
  height: 100%;
}

#interiorView .stage-modal .stage-modal-content .stage-modal-media img {
  width: 100%;
  height: 100%;
}

#interiorView .stage-modal .stage-modal-content .stage-modal-ttl {
  font-size: 1.2vw;
  margin-bottom: 8px;
}

@media screen and (min-width: 1500px) {
  #interiorView .stage-modal .stage-modal-content .stage-modal-ttl {
    font-size: 18px;
  }
}

#interiorView .stage-modal .stage-modal-content .stage-modal-text {
  font-size: 0.94vw;
  line-height: 1.4;
}

@media screen and (min-width: 1500px) {
  #interiorView .stage-modal .stage-modal-content .stage-modal-text {
    font-size: 14px;
  }
} */

/**
 * controller
**/
#interiorView .stage-controller {
  display: none;
  width: 200px;
  height: 60px;
  background: #000;
  position: absolute;
  right: 0;
  bottom: 0;
}

#interiorView .stage-controller .stage-controller-minus {
  position: absolute;
  left: 18px;
  top: 18px;
  cursor: pointer;
  transition: 0.2s ease-out all;
}

#interiorView .stage-controller .stage-controller-minus:hover {
  opacity: 0.6;
}

#interiorView .stage-controller .stage-controller-plus {
  position: absolute;
  right: 18px;
  top: 18px;
  cursor: pointer;
  transition: 0.2s ease-out all;
}

#interiorView .stage-controller .stage-controller-plus:hover {
  opacity: 0.6;
}

#interiorView .stage-controller .stage-controller-base {
  position: absolute;
  left: 52px;
  bottom: 26px;
  z-index: 1;
}

#interiorView .stage-controller .stage-controller-position {
  position: absolute;
  left: 94px;
  top: 0;
  cursor: pointer;
}

#interiorView .stage-toggle {
  position: absolute;
  left: 45px;
  bottom: 30px;
  width: 196px;
  height: 44px;
  background: #fff;
}

#interiorView .stage-toggle p {
  font-size: 14px;
  line-height: 44px;
  margin-left: 20px;
}

#interiorView .stage-toggle .toggle-switch label {
  width: 44px;
  border-radius: 22px;
  height: 24px;
  position: absolute;
  right: 10px;
  top: 10px;
  background-color: #ddd;
  cursor: pointer;
}

#interiorView .stage-toggle .toggle-switch label:after {
  content: '';
  position: absolute;
  width: 20px;
  height: 20px;
  border-radius: 100%;
  left: 2px;
  top: 2px;
  z-index: 2;
  background: #fff;
  transition: 0.2s;
  cursor: pointer;
}

#interiorView .stage-toggle .toggle-switch input:checked + label {
  background-color: #343434;
}

#interiorView .stage-toggle .toggle-switch input:checked + label:after {
  left: 22px;
}

#interiorView .stage-toggle .toggle-switch input {
  display: none;
}

/* #interiorView .copy {
  font-size: 15px;
  margin-bottom: 20px;
}

#interiorView .about1 {
  color: #343434;
  font-size: 15px;
  margin-bottom: 40px;
}

#interiorView .about2 {
  font-size: 15px;
  margin-bottom: 30px;
} */

/**
 * text
**/
/* #interiorView .stage-text {
  color: #000;
  margin-top: 1vw;
  font-size: 1.01vw;
  line-height: 1.6;
} */

.s-interior-360__photocaption {
  position: absolute;
  left: 0;
  bottom: -2.77vw; /*-3.2*/
  width: 12vw;
  height: 1.85vw;
  border: 1px solid #858585;
  border-radius: 0.4vw;
  display: flex;
  justify-content: center;
  align-items: center;
}
.s-interior-360__photocaption span {
  display: flex;
  align-items: center;
  height: 2.96vw;
  padding-right: 1.9vw;
  background-image: url(../../IMAGES/general/icon_modal.svg);
  background-repeat: no-repeat;
  background-position: right center;
  background-size: 1.2vw auto;
  font-size: 1.01vw;
  color: #858585;
}

/* .br-sp {
  display: none;
} */

@-webkit-keyframes flash {
  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0.6;
  }
}

@keyframes flash {
  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0.6;
  }
}

@media screen and (max-width: 767px) {
  #interiorView .button > span {
    line-height: 1;
  }

  #interiorView .button .sp {
    display: block !important;
  }
}

/* tablet */
@media screen and (min-width: 581px) and (max-width: 1279px) {
  #interiorView .stageWrap .stage-controller {
    display: none;
  }
}
