﻿﻿/* A Modern CSS Reset */
*,
*::before,
*::after {
  box-sizing: border-box;
}
body,
h1,
h2,
h3,
h4,
p,
figure,
blockquote,
dl,
dd {
  margin: 0;
}
ul[role="list"],
ol[role="list"] {
  list-style: none;
}
html:focus-within {
  scroll-behavior: smooth;
}
body {
  /*min-height:100vh;*/
  text-rendering: optimizeSpeed;
  line-height: 1.5;
}
a:not([class]) {
  text-decoration-skip-ink: auto;
}
img,
picture {
  max-width: 100%;
  height: auto;
  display: block;
}
input,
button,
textarea,
select {
  font: inherit;
}
@media (prefers-reduced-motion: reduce) {
  html:focus-within {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

html,
body {
  height: 100%;
}
body {
  font-family: Roboto Regular, Helvetica Neue, sans-serif;
}
model-viewer {
  width: 100vw !important;
  height: 100% !important;
  background-color: #eee;
  overflow: hidden;
  --poster-color: #eee;
}

:not(:defined) > * {
  display: none;
}

.btn-ar {
  display: inline-block;

  padding: 0.5em 1em;
  font-family: Roboto Regular, Helvetica Neue, sans-serif;
  font-size: 1rem;
  color: #333;
  line-height: 1em;
  white-space: nowrap;

  background-color: rgb(255, 255, 255);
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
  border-radius: 18px;
  border: 1px solid #dadce0;
  position: absolute;
  top: 16px;
  right: 16px;
}

.btn-ar:active {
  background-color: #e8eaed;
}

.btn-ar:focus {
  outline: none;
}

.btn-ar:focus-visible {
  outline: 1px solid #4285f4;
}

@keyframes circle {
  from {
    transform: translateX(-50%) rotate(0deg) translateX(50px) rotate(0deg);
  }
  to {
    transform: translateX(-50%) rotate(360deg) translateX(50px) rotate(-360deg);
  }
}

@keyframes elongate {
  from {
    transform: translateX(100px);
  }
  to {
    transform: translateX(-100px);
  }
}

model-viewer > #ar-prompt {
  position: absolute;
  left: 50%;
  bottom: 175px;
  animation: elongate 2s infinite ease-in-out alternate;
  display: none;
}

model-viewer[ar-status="session-started"] > #ar-prompt {
  display: block;
}

model-viewer > #ar-prompt > img {
  animation: circle 4s linear infinite;
}

model-viewer > #ar-failure {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: 175px;
  display: none;
}

model-viewer[ar-tracking="not-tracking"] > #ar-failure {
  display: block;
}

.ar-hint {
  position: fixed;
  left: 50%;
  bottom: 16px;
  transform: translateX(-50%);
  padding: 10px 14px;
  background: rgba(0, 0, 0, 0.7);
  color: #fff;
  border-radius: 12px;
  font-size: 14px;
  line-height: 1.4;
  z-index: 1000;
  display: none;
  pointer-events: none;
  white-space: nowrap;
}

.ar-guide {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1200;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.ar-guide.is-visible {
  opacity: 1;
}

.ar-guide__panel {
  width: min(70vw, 420px);
  background: rgba(0, 0, 0, 0.35);
  border-radius: 6px;
  padding: 72px 24px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25);
  text-align: center;
  font-family: "Noto Sans JP", "Hiragino Sans", sans-serif;
}

.ar-guide__panel figure {
  width: 60%;
  margin: 0 auto 24px;
}

.ar-guide__panel figure img {
  display: block;
  width: 20%;
  margin: 0 auto;
  animation: guideHandSway 5.8s ease-in-out infinite;
}

@keyframes guideHandSway {
  0% {
    transform: translateX(-72px);
  }
  10% {
    transform: translateX(-72px);
  }
  50% {
    transform: translateX(72px);
  }
  60% {
    transform: translateX(72px);
  }
  100% {
    transform: translateX(-72px);
  }
}

.ar-guide__panel p {
  color: #fff;
  margin-bottom: 12px;
  font-size: 1.1rem;
}
.ar-guide__panel p.txt-en {
  padding-top: 12px;
  border-top: 1px solid #ccc;
  font-size: 0.9rem;
}

model-viewer[ar-status="object-placed"] .ar-guide {
  opacity: 0 !important;
  pointer-events: none !important;
}

.ar-state-debug {
  position: fixed;
  left: 16px;
  bottom: 16px;
  padding: 6px 10px;
  font-size: 12px;
  font-family: monospace;
  background: rgba(0, 0, 0, 0.65);
  color: #fff;
  border-radius: 4px;
  z-index: 1300;
  display: none;
}

.slider {
  width: 100%;
  padding: 0 16px;
  position: absolute;
  bottom: 16px;
  left: 0;
  right: 0;
  box-sizing: border-box;
  transition: transform 0.3s ease;
}

.slider.hidden {
  transform: translateY(calc(100% + 20px));
}

.slider__product-btn {
  position: absolute;
  top: -42px;
  left: 50%;
  transform: translateX(-50%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35em;
  padding: 8px 14px;
  font-family: Roboto Regular, Helvetica Neue, sans-serif;
  font-size: 0.8rem;
  line-height: 0;
  color: #fff;
  background: rgba(0, 0, 0, 0.6);
  border: none;
  border-radius: 24px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.25);
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  z-index: 9;
  transition: background 0.2s ease;
}

.slider__product-btn:hover {
  background: rgba(0, 0, 0, 0.8);
}

.slider__product-btn:focus {
  outline: none;
}

.slider__product-btn:focus-visible {
  outline: 1px solid #fff;
}

.slider__product-btn .slider__product-icon {
  width: 17px;
  height: 17px;
}

.slider__close-btn {
  position: absolute;
  top: -40px;
  right: 10px;
  width: 30px;
  height: 30px;
  background: rgba(0, 0, 0, 0.6);
  border-radius: 50%;
  border: none;
  cursor: pointer;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease;
}

.slider__close-btn:hover {
  background: rgba(0, 0, 0, 0.8);
}

.slider__close-btn::before,
.slider__close-btn::after {
  content: "";
  position: absolute;
  width: 16px;
  height: 2px;
  background: #fff;
  left: 50%;
  top: 50%;
  margin-left: -8px;
  margin-top: -1px;
}

.slider__close-btn::before {
  transform: rotate(45deg);
}

.slider__close-btn::after {
  transform: rotate(-45deg);
}

.slider__close-btn.open::before {
  transform: rotate(0deg);
  width: 12px;
  margin-left: -6px;
}

.slider__close-btn.open::after {
  transform: rotate(90deg);
  width: 12px;
  margin-left: -6px;
}

.slider__toggle-area {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 40px;
  cursor: pointer;
  display: none;
}

.slider.hidden .slider__toggle-area {
  display: block;
}

/* @media (min-width: 820px) {
  .slider .swiper-container {
    width: min(100%, 700px);
    margin: 0 auto;
  }
} */

.debug-panel {
  position: fixed;
  top: 20px;
  left: 20px;
  background: rgba(0, 0, 0, 0.8);
  color: #fff;
  padding: 15px;
  border-radius: 8px;
  font-family: Arial, sans-serif;
  font-size: 12px;
  z-index: 1001;
  min-width: 250px;
  transition: transform 0.3s ease;
}

.debug-panel.collapsed {
  transform: translateX(-220px);
}

.debug-panel h3 {
  margin: 0 0 10px 0;
  font-size: 14px;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.debug-toggle {
  background: #4caf50;
  border: none;
  color: #fff;
  padding: 4px 8px;
  border-radius: 4px;
  cursor: pointer;
  font-size: 10px;
}

.debug-toggle:hover {
  background: #45a049;
}

.debug-control {
  margin-bottom: 12px;
}

.debug-control label {
  display: block;
  margin-bottom: 4px;
  color: #ccc;
}

.debug-control input[type="range"] {
  width: 100%;
  margin-bottom: 4px;
}

.debug-control select {
  width: 100%;
  padding: 4px;
  background: #333;
  color: #fff;
  border: 1px solid #555;
  border-radius: 4px;
}

.debug-value {
  color: #4caf50;
  font-weight: 700;
}

/* @media (min-width: 820px) {
  .slider:not(.slider--left) {
    display: flex;
    padding: 0;
  }

  .slider:not(.slider--left) .swiper-container {
    width: min(100%, 1200px);
    margin: 0 auto;
  }

  .slider:not(.slider--left) .swiper-wrapper {
    justify-content: center;
  }

  .slider.slider--left .swiper-container {
    width: 100%;
    margin: 0;
  }

  .slider.slider--left .swiper-wrapper {
    justify-content: flex-start;
  }
} */

/* .slider {
  display: flex;
  justify-content: center;
  padding: 0 20px;
  width: 100%;
  text-align: center;
  overflow: hidden;
  box-sizing: border-box;
}

.slides {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
} */


.slide {
  /* scroll-snap-align: start; */
  padding: 10px 10px 10px 10px;
  flex-shrink: 0;
  width: 300px;
  /* height: 120px; */
  height: max-content;
  /* background-size: contain;
  background-repeat: no-repeat;
  background-position: center; */
  background-color: #fff;
  border-radius: 10px;
  border: none;
  display: flex;
  align-items: center;
  border: 2px solid #fff;
  box-sizing: border-box;
}

.slide.selected {
  border: 2px solid #000;
}

.slide:focus {
  outline: none;
}

.slide:focus-visible {
  outline: 1px solid #4285f4;
}

.slide__img {
  width: 100px;
  aspect-ratio: 1/1;
  background-color: #ccc;
}

.slide__txt {
  width: 100%;
  padding-left: 1em;
  font-size: 0.70rem;
  line-height: 1.2;
  color: #333;
  font-weight: 600;
  text-align: left;
}
.slide__txt .number {
    margin-bottom: 6px;
    font-size: 0.9rem;
    font-weight: 700;
    display: flex;
    flex-direction: column;
    line-height: 1.4;
}
.slide__txt .number span:last-child{
  font-size: .8rem;
  font-weight: 500;
  text-indent: -.5em;
}
.slide__txt div:nth-child(3){
  border-top: 1px solid #ccc;
  margin-top: 4px;
  padding-top: 4px;
}
.slide__txt .name_en span {
  display: block;
  font-weight: 500;

}

.slide__txt dt {
  font-size: 0.8em;
}
.slide__txt dt::after {
  display: inline-block;
  content: "：";
}
.slide__txt dd {
}
.slide__txt dd::before {
  display: inline-block;
  content: "";
  margin-right: 0.2em;
  width: 1em;
  height: 1em;
  border: 1px solid #efefef;
  position: relative;
  top: 0.1em;
}
.slide__txt dd.color-white::before {
  background-color: #e7ecef;
}
.slide__txt dd.color-rineblack::before {
  background-color: #514845;
}
.slide__txt dd.color-lightwood::before {
  background-color: #ddd6cb;
}
.slide__txt dd.color-darbrown::before {
  background-color: #896860;
}
.slide__txt dd.color-whitewood::before {
  background-color: #e1dfdb;
}
.slide__txt dd.color-mediumwood::before {
  background-color: #9e856e;
}

.btn-info {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 8em;
  height: 2em;
  border-radius: 2rem;
  font-family: Roboto Regular, Helvetica Neue, sans-serif;
  font-size: 1rem;
  line-height: 1;
  color: #333;
  border: 1px solid #dadce0;
  background-color: rgb(255, 255, 255);
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
  position: absolute;
  top: 53px;
  left: 16px;
  z-index: 100;
  cursor: pointer;
}
.btn-info:active {
  background-color: #e8eaed;
}
.btn-info:focus {
  outline: none;
}

.btn-info:focus-visible {
  outline: 1px solid #4285f4;
}

.btn-info.color-black{
  background-color: #333;
  color: #fff;
  position: absolute;
  top: 16px;
}



.sec-info > * + * {
  margin-top: 2em;
}
.info__data div {
  display: flex;
  margin-top: 0.3em;
}
.info__data div > * + * {
}
.info__data dt{
    white-space: nowrap;
}
.info__data dt::after {
  display: inline-block;
  content: "：";
}
.info__link {
  font-size: 0.8em;
}
.info__note {
  margin-top: 0.4em;
  color: #666;
  line-height: 1.2;
}

.trg-close {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 3em;
  height: 3em;
  font-size: 10px;
  font-family: Roboto Regular, Helvetica Neue, sans-serif;
  font-size: 1rem;
  color: #fff;
  background: #333;
  border-radius: 50%;
  position: absolute;
  top: -1em;
  right: -1em;
  cursor: pointer;
}
.trg-close i{
    display: flex;
    width: 20px;
    height: 20px;
    justify-content: center;
    align-items: center;
    transform: rotate(45deg);
}
.trg-close i::before {
    display: block;
    content: "";
    width: 1px;
    height: 20px;
    background-color: #fff;
    position: absolute;
}
.trg-close i::after {
    display: block;
    content: "";
    width: 1px;
    height: 20px;
    background-color: #fff;
    position: absolute;
    transform: rotate(90deg);
}


html.modalset {
  overflow: hidden;
}
.modal {
  width: 100%;
  height: 100%;
  position: fixed;
  left: 0;
  top: 0;
  z-index: 9999;
}
.modal__wrap {
  display: block;
  text-align: center;
  width: 100%;
  height: 100%;
  padding: 20px;
  overflow: auto;
  -webkit-overflow-scrolling: touch;
  -ms-overflow-style: none;
  overflow: -moz-scrollbars-none;
  white-space: nowrap;
  box-sizing: border-box;
}
.modal__wrap::-webkit-scrollbar {
  display: none;
}
.modal__wrap:after {
  content: "";
  display: inline-block;
  vertical-align: middle;
  width: 1px;
  height: 100%;
}
.modal__bg {
  width: 100%;
  height: 100%;
  background: rgba(200, 200, 200, 0.8);
  position: absolute;
  left: 0;
  top: 0;
}
.modal__container {
  width: 100%;
  max-width: 900px;
  display: inline-block;
  vertical-align: middle;
  white-space: normal;
  position: relative;
}
.modal__container .inner {
  padding: 3em;
  margin: 2em 0;
  text-align: left;
  color: #333;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);

  position: relative;
}
.modal__container .inner > :first-child {
  margin-top: 0;
}

.btn-iosAR{
  position: relative;
  opacity: 0;
  z-index: -1;
}


.modal__bg.pre{
  background: rgba(30, 30, 30, 0.4);
}
.modal__container.pre{
  max-width: 740px;
}
.modal__container.pre .inner {
  padding: 0;
  margin: 0;
  text-align: center;
  background-color: none;
  border-radius: 0;

  opacity: 0;
  transform: translateY(10px);
}

.modal.modal--ready .modal__container.pre .inner {
  animation: fadein .8s forwards;
}

.trg-close.pre{
  display: none;
  background: none;
  position: fixed;
  top: 20px;
  right: 20px;
}
.trg-close.pre i{
    width: 30px;
    height: 30px;
}
.trg-close.pre i::before {
    height: 40px;
}
.trg-close.pre i::after {
    height: 40px;
}

.modal__container.pre picture img {
  width: min(100%, 504px);
  height: auto;
}

@media (min-width: 890px) {
  .trg-close.pre{
    display: block;
  }
}
@media (min-width: 481px) {
  .modal__container.pre picture img {
    width: 774px;
  }
}

@keyframes fadein{
  0%{ transform: translateY(10px); opacity: 0;}
  100%{ transform: translateY(0);  opacity: 1;}
}


.icn-new{
  position: relative;
}
.icn-new::after{
  display: inline-block;
  content: "NEW";
  background: red;
  border-radius: 50%;
  position: absolute;
  top: -0.8rem;
  right: -1rem;
  font-size: 10px;
  width: 2rem;
  height: 2rem;
  line-height: 2rem;
}
